Thank you for contacting the White House. We are carefully reviewing your message.
What did the rest of you do today ?
I am a great American.
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.
Some work places allow that sort of thing. I've done it.
fact: bears can run 35 million miles per hour
Galactic bears
yo ass be grass
naps are gold. sometimes even a 5m one can reset my brain clearing it of accumulated fatigue :)
I've never been good at napping. I sleep maybe 10 minutes in total during day time over an entire year.
day time being the time after wake up and before going to bed at night
that's quite few 9's availability
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.
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.
TODO: go thru code and clean out all the TODOs I'm never gonna do
EN-715812: Eliminate all the old Jira tasks which we're never going to do
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.
I can adjust my problem solving strategy to the alotted time. I even use trello for solo projects for this very reason.
Yeah, I/we often have a “discuss TODOs” and then a “clean up TODOs” task
Todos are just tickets that haven’t been made yet 😛
Commit date in git blame
: 2015-02-11 03:44:10
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!
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
you can always appreciate people in person too! :)
back in 2019 at least
well, virtually in person :)
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?
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
> 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
I like that VS Code's Jira integration pops up a suggestion to create an issue in Jira any time you write ;; TODO: ...
🙂
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)
[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?
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
just write it in clojure 😉
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 😅
Are there languages other than javascript that target the web browser?
Web Assembly.... hmmmmmmmmmmmmmm
Am i taking crazy pills?
do html and css count? what do you mean by target?
Elm, coffeescript, and, um, Flash...
I've heard something about webasm but I'm not sure what that is.
sadly they just make me cranky =\
what you say resonates with the concept of "background mind" that :rich: explains in his Hammock talk