off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
Harley Waagmeester 2021-01-15T00:38:46.089Z

Thank you for contacting the White House. We are carefully reviewing your message.

Harley Waagmeester 2021-01-15T00:39:15.089600Z

What did the rest of you do today ?

Harley Waagmeester 2021-01-15T00:40:03.090100Z

I am a great American.

2021-01-15T01:15:18.091700Z

Well, today I was incredibly tired, and since I work from home now I decided to take an afternoon nap. I was working till about 1:30am the other morning so I thought I can take an hour to sleep without feeling guilty. 10/10 experience. I would definitely nap in the afternoon again. Even if we ever go back to working in actual offices, being allowed to have a kip in the break room should definitely be a thing.

2021-01-15T02:04:36.092600Z

Some work places allow that sort of thing. I've done it.

Harley Waagmeester 2021-01-15T03:54:13.095500Z

fact: bears can run 35 million miles per hour

2021-01-15T12:02:21.097200Z

Galactic bears

Harley Waagmeester 2021-01-15T03:54:13.095600Z

yo ass be grass

vemv 2021-01-15T12:02:14.097100Z

naps are gold. sometimes even a 5m one can reset my brain clearing it of accumulated fatigue :)

👍 1
➕ 1
borkdude 2021-01-15T12:04:04.097900Z

I've never been good at napping. I sleep maybe 10 minutes in total during day time over an entire year.

borkdude 2021-01-15T12:04:53.098700Z

day time being the time after wake up and before going to bed at night

vemv 2021-01-15T12:08:41.099300Z

that's quite few 9's availability

dgb23 2021-01-15T13:09:35.100800Z

I’ve become a “TODO: maybe refactor it this way…” programmer… I have a tendency to overthink things, this really helps to just keep going, but my code is getting littered with these comments.

Mno 2021-01-15T13:16:05.105200Z

I have that tendency as well and the best way I found to solve it was, with as many flaws as it has, agile-ish tickets with deadlines. Since it lets me adjust how much time I can put into things. Generally I’ll tend to go for a “make it once then make it better” approach.

👍 1
2021-01-15T13:16:29.105700Z

TODO: go thru code and clean out all the TODOs I'm never gonna do

😂 6
blak3mill3r 2021-01-22T00:14:57.048200Z

EN-715812: Eliminate all the old Jira tasks which we're never going to do

seancorfield 2021-01-22T00:32:14.048400Z

Heh, I regularly prune our backlog and hassle the product manager about tickets that look like we'll never get to them. I don't like to see more than 100 tickets in the backlog.

Mno 2021-01-15T13:17:18.106400Z

I can adjust my problem solving strategy to the alotted time. I even use trello for solo projects for this very reason.

dgb23 2021-01-15T13:19:23.107500Z

Yeah, I/we often have a “discuss TODOs” and then a “clean up TODOs” task

Mno 2021-01-15T13:20:23.108200Z

Todos are just tickets that haven’t been made yet 😛

Timur Latypoff 2021-01-15T15:26:40.108800Z

Commit date in git blame: 2015-02-11 03:44:10

2021-01-15T15:37:04.109700Z

I do this too for work stuff, but that's because at work we are pushed to work like that. If it comes down to coding a solution or thinking about a better solution, we've basically to always choose code something. No thinking on company time!

👍 1
😞 1
Chase 2021-01-15T16:22:54.111500Z

Any of you folks on Slack today and seeing all the super helpful people that you forgot to call out in that awesome question at the end of the survey? Preemptive apologies @borkdude, etc.! I am really glad they added that though. Such a great community

alexmiller 2021-01-15T16:41:04.111900Z

you can always appreciate people in person too! :)

bronsa 2021-01-15T16:50:00.112400Z

back in 2019 at least

😖 1
alexmiller 2021-01-15T16:50:14.112700Z

well, virtually in person :)

jumar 2021-01-15T17:32:48.115800Z

Do you use Google Tag Manager at work? What’s your take on its potential security and performance implications? Do you have a particular process in place for updating tags?

vemv 2021-01-16T14:20:50.142900Z

Luckily those jobs of mine revolved around marketing, seo, etc so it was easy to have a relationship of mutual trust. I think I also promised that any widget request would be processesed with priority

vemv 2021-01-16T14:24:20.143100Z

> They say it’s really crucial for them (in our company) Yeah these waters can be difficult to navigate :) IME sales/mkt people always make these exaggerated claims to devs, in hopes of exploiting our tendency to take things very literally (another example being deadlines) In the end what they want is a result, if you can offer sth equivalent to GTM you might succeed

seancorfield 2021-01-15T17:41:22.118Z

I like that VS Code's Jira integration pops up a suggestion to create an issue in Jira any time you write ;; TODO: ... 🙂

vemv 2021-01-15T18:37:24.119300Z

I've refrained from it in a couple jobs, since marketing people can always break UX or even global javascript execution, with the widget du jour :) Processes I've been involved in boiled down to "devs are in control of html" so any request would be inherently discussed/reviewed (assuming a typical PR workflow)

👍 1
amarnah 2021-01-15T19:10:00.123900Z

[Posting this here since its not Clojure related] Hello guys, At work we use a Redis connection pool wrapper that we implemented, that has a fixed pool size. The downside of that is that whenever the class is initiated, all connections to Redis are opened even if nothing is using them. We haven't been impacted negatively by that, but I was thinking that as an exercise I wanna add support for dynamic pool size. However I have no idea where to start. I wanna follow Java's thread architecture and I am familiar with Rails' implementation of https://github.com/rails/rails/blob/914caca2d31bd753f47f9168f2a375921d9e91cc/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb (which has a dynamic pool size configuration). Can anyone recommend any readings/resources on that? Anyone familiar with a simpler implementation of a dynamic sized connection pool in Ruby?

cmowforth 2021-01-15T19:15:40.124400Z

Previous place I worked rolled a redis-based connection pool based on ConnectionPool- IIRC it was basically copied & pasted from a high-ranking SO answer or blog post. I did some profiling on a couple of rails apps and with MRI, redis connection efficiency was so far off being the limiting perf factor I never really gave it much more attention

cmowforth 2021-01-15T19:16:23.124600Z

just write it in clojure 😉

amarnah 2021-01-15T19:26:00.124800Z

Hahaha we actually use carmine as our redis pool in Clojure, and it does support configurations like max pool size, number of idle connections and so on. I wanted to do it in Ruby because I thought it doesn't exist and it may help other people 😅

sova-soars-the-sora 2021-01-15T20:02:44.125700Z

Are there languages other than javascript that target the web browser?

sova-soars-the-sora 2021-01-16T21:52:43.146100Z

Web Assembly.... hmmmmmmmmmmmmmm

sova-soars-the-sora 2021-01-15T20:02:53.125900Z

Am i taking crazy pills?

phronmophobic 2021-01-15T20:04:14.126400Z

do html and css count? what do you mean by target?

2021-01-15T20:12:55.127400Z

Elm, coffeescript, and, um, Flash...

2021-01-15T20:15:00.128300Z

I've heard something about webasm but I'm not sure what that is.

Ben Sless 2021-01-15T20:30:15.129600Z

sadly they just make me cranky =\

vemv 2021-01-15T20:36:03.130600Z

what you say resonates with the concept of "background mind" that :rich: explains in his Hammock talk