HN user

amarraja

188 karma
Posts1
Comments77
View on HN

Not sure if electron is the issue, I believe vscode is based on it (I may be mistaken). Really wish they would sort Teams out.

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

Yep exactly this. We've gotten into messes before when people are working on - or think they are - the same branch. Some os think they are the same, others different.

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

Just want to throw a small one in there: branch names are all lower case.

Prevents strange issues when you use a case insensitive file system like on OSX or Windows

I never had strong feelings about systemd, and the first time I used it I did prefer the service files to sysvinit scripts.

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.

They are useful if you only use them for simple things. Any queries which are non-trivial or aren't cleanly expressed in your object model can lead to absolutely monstrous queries.

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

Hello, GitHub 8 years ago

I remember watching the "screencasts" (they were gifs back in those days), of Nat working on Beagle [1]. Sadly it's a dead project now, however, it shaped my attitude as a developer - how can I write software that _helps_ people.

I am really excited to see what Nat and team bring to the table

[1] https://en.wikipedia.org/wiki/Beagle_(software)

I for one am quite happy about this. Github innovation seems to have stalled, now with Nat/Scott Gu at the helm there could be exciting times to come.

Pascal, VB, Java, C#, JavaScript, Ruby, Clojure, Golang, Elixir.

I'd put SQL in there somewhere, but it spans the whole time, and I'm also biased since I believe it's the most important language any app developer should know.

We had a small bespoke customer support system we wrote back in 2000 or so. The system would allow an operator to type the message body, and would automatically generate the mail text e.g. "Dear {customer name}, {body}, Regards {operator name}". Cutting edge stuff back then!

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.

Clicked through expecting to learn something new, but instead unearthed an old memory - thanks OP!!

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.