188 karma · joined Oct 7, 2012 (14y ago) · 79 submissions
comment 4y ago · link · parent
I like the concepts and product, but when in a video chat I have to close most apps. I tried opening a JIRA ticket whilst on a video call the other day... my quads still have the scars
comment 6y ago · link · parent
Also just finished migrating something that ran on IIS to linux, and got the casing pains once again.
If the universe were to be reinvented, I ask please make everything case sensitive by default
comment 6y ago · link · parent
The real wow moment came when discovering socket activation which allowed systemd to take care of zero downtime deployments of web applications - for me that was reason enough to support the project.
Nowadays I'll use a container orchestrator to achieve the same thing, bit it was a good couple of years whilst it lasted.
comment 8y ago · link · parent
I once saw a 1000 line query - which unsurprisingly timed out - generated for getting a single user record from the database! There were several lookups to rate limit failed login attempts etc, however this should be a couple of lines of efficient sql if hand rolled.
I can tolerate something like Rails' ActiveRecord if used with restraint. E.g.
user.addresses << Address.new(blah)
Is very useful, it doesn't get in the way and does all the boring stuff for me. People just need to learn this isn't the only way to access the database, and you can drop to sql if you need to.Fortunately I started developing at a time where there were no ORMs, but I fear there is a new generation of devs who see SQL as some esoteric ASM for databases.
Also, I disagree with database portability as an argument for ORMs. All abstractions are leaky, and trying to unify everything will stop you taking full advantage of your data-store of choice
comment 8y ago · link · parent
I am really excited to see what Nat and team bring to the table
comment 8y ago · link · parent
https://github.com/codelucas/newspaper
There is also a wrapper to expose it as a rest api. Looks like it is not maintained, but easy enough to write your own
comment 9y ago · link · parent
Quite a few gems in here: https://github.com/mathiasbynens/dotfiles
comment 9y ago · link · parent
One day, we get a call that an operator couldn't send an email since the third word was classed as "offensive", however the message body was fine. After firing up the debugger, it became obvious... the customer's surname was "Dick".
We never got to the bottom of how to solve it, so hacked something in. I wonder how many times Mr. Dick has issues with false positives in profanity filters.
comment 9y ago · link · parent
One of the first articles I remember reading on HN was about an SR-71 [1], and it seems it's by the same pilot because Walter is his crewmate.
[1] http://sploid.gizmodo.com/5511236/the-thrill-of-flying-the-s...
comment 9y ago · link · parent
When I was about 7 I used to help my dad in his shop. He had a fairly basic till (this was the 80's), which he would let me punch the numbers into. One day, someone brought 10 £1 items to the counter. I remember typing £1 repeatedly when my dad stopped me and showed me what the @ key on the till was for.
My mind was blown for about 6 months before learning I could just type £10 instead.