SkillsRuby, bash, C#
Joined devRant on 12/16/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Daylight Savings Time.
Europe switches to DST this month and specs are broken because of Ruby's DateTime which isn't DST-aware so it generates invalid dates and can't do date math properly. Losing a couple days to refactoring horrendous code that uses *nested* Timecop.freeze, mixtures of Time, Date, and DateTime, math and parsing revolving around the end of the month.
Death to DateTime and death to DST.1
Every day in the office kitchen I find bottles of milk open and left out, in the fridge with no date, and empties everywhere. Yesterday I found 11 open and partially used bottles of milk. I’ve designed this flow chart to help educate people (in a way developers can understand) on how to manage milk which is apparently a real challenge for some.10
Pull requests with 900 changes across 27 files and not a single comment. But Ruby is self-explanatory!1
Fun Ruby thing. URIs escaped with URI.escape aren’t necessarily valid input for URI.parse