Hacker News new | past | comments | ask | show | jobs | submit | jffhn's comments login

>burnout from having to deal with bloated software and the deadlines associated with that

I did not have the deadlines, but to bear having to deal with bloated software, my solution was vodka: since it has no color, I filled mineral water bottles with it and everyone thought I was drinking water.


Hah! Yeah I drank more alcohol that I normally do during this period, however I work from home so I never had to hide it :D

Jujutsu - I like the name.

I often see programming as going MMA with data, until you get what you want out of it.

Using brute force algorithms is going berserk, vibe coding is spamming summons in hope they get the job done, etc.


Agreed, I'd just like to complement vibe coding feels like spamming retarded Mr Meeseeks hoping they get get the job done. It's _probabilistic programming_

>My largest source of sanity in this career is to spend extra time at work doing the things that I love in my position. Ironically, I get high performance ratings because of this - but have to fight to spend my time on it.

Why do you have to fight if it's extra time? And couldn't you avoid the fighting by just doing it on regular time?


>Though abs() returning negative numbers is hilarious.

Math.abs(Integer.MIN_VALUE) in Java very seriously returns -2147483648, as there is no int for 2147483648.


You inspired me to check what .NET does in that situation.

It throws an OverflowException: ("Negating the minimum value of a twos complement number is invalid.")


Oh no, Pytorch does the same thing:

a = torch.tensor(-2*31, dtype=torch.int32) assert a == a.abs()


numpy as well. and tensorflow


Unchecked integer overflow strikes again.


Rust does the same in release, although it panics in debug.


>dozens of crocodiles attacking the soldiers en masse, and appearing out of seemingly nowhere to drag off some poor soul. The nights were said to have been filled with dire screams, gunfire, and the sounds of animal attacks.

Sounds like a metaphor for a team of unknowledgeable developpers stepping into the realm of concurrent code.


>the most weird thing they said

Reminds me of a quote from Jean Cocteau, of which I could not find the exact words, but which roughly says that if the public knew what thoughts geniuses can have, it would be more terrified than admiring.


>"programs should treat any unrecognized values as if they were “Other”"

Having such an "Other" value does not prevent from considering that the enum is open-ended, and it simplifies a lot all the code that has to deal with potentially invalid or unknown values (no need for a validity flag or null).

That's probably why in DIS (Distributed Interactive Simulation) standard, which defines many enums, all start with OTHER, which has the value zero.

In STANAGs (NATO standards), the value zero is used for NO_STATEMENT, which can also be used when the actual value is in the enum but you can't or don't need to indicate it.

I remember an "architecture astronaut" who claimed that NO_STATEMENT was not a domain value, and removed it from all the enums in its application. That did not last long.

That also reminds me of Philippe Khan (Bordland) having in some presentation the ellipse extend the circle, to add a radius. A scientist said he would do the other way around, and Khan replied: "This is exactly the difference between research and industry".


>That also reminds me of Philippe Khan (Bordland) having in some presentation the ellipse extend the circle, to add a radius. A scientist said he would do the other way around, and Khan replied: "This is exactly the difference between research and industry".

My favorite question on interviews on the OOP topic. It can be correct either way or both can be wrong, so the good answer would be "It depends". When developers rush to give a specific answer, they do not demonstrate due attention to the domain and it may mean that they will assume thousand other falsehoods from those articles on Github.


err that's Kahn


Fantastical sfumato in the first picture.


Reminds me of this quote from Schopenhauer:

"My curse upon anyone who, in future editions of my works, knowingly changes anything in them, be it a sentence, or even just a word, a syllable, a letter, a punctuation mark."


BTW, I have seen the similar in several older texts.

One example is the Jewish lawbook "Toldos Adam V'Chava"[1]. Although many old religious texts have been reprinted with clear modern typesetting, no-one wanted to re-typeset this until recently because of the curse.

On the plus side, we know exactly what the author wrote 800 years later, even if it is hard to read.

[1]: https://hebrewbooks.org/10180


>I believe I'm unsuitable to be a parent, yet everyone around me assured me it would be ok

They might just have said that not to sound alarming, and to close the subject.

You know yourself infinitely better than anyone else does, so if you have even the slightest doubt, you should never rely on others to decide what's best for you.

Be especially wary of people close to you, as proximity increases the belief of knowledge much more easily than actual knowledge.

Reminds me of a Philip Roth quote: "The fact remains that getting people right is not what living is all about anyway. It's getting them wrong that is living, getting them wrong and wrong and wrong and then, on careful reconsideration, getting them wrong again."


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: