HackerLangs
TopNewTrendsCommentsPastAskShowJobs

ttz

no profile record

comments

ttz
·2 เดือนที่ผ่านมา·discuss
Like all things... this too shall pass.
ttz
·2 เดือนที่ผ่านมา·discuss
Savantism is a separate concept from autism, though popular culture has somehow associated the two.
ttz
·2 เดือนที่ผ่านมา·discuss
I realize my initial analysis is kind of wrong - everyone picking blue would also ensure everyone survives.

So I think the color doesn't really matter if everyone is rational. So long as they are consistent.

Blue is more tasteful here then. With the added bonus that if enough people do pick it, it's a win.

What is interesting is if you believe most people are not rational and will pick red, but at least one person will pick blue.

Do you choose certain death?

For me, who has dependents, it would rest on what I think they would choose.

A very interesting problem....
ttz
·3 เดือนที่ผ่านมา·discuss
if everyone were rational, and knew everyone else would act rationally, then obvious answer is to pick red, because everyone would pick red, and hence everyone would survive.
ttz
·8 เดือนที่ผ่านมา·discuss
modulo 2
ttz
·8 เดือนที่ผ่านมา·discuss
root cause is believing anecdotes of people on the internet
ttz
·9 เดือนที่ผ่านมา·discuss
> Alternatively, where possible set the server timezone to UTC so that no daylight savings changes will happen at all

this is the way
ttz
·9 เดือนที่ผ่านมา·discuss
NPEs are also present in a lot of languages with "stronger" type systems though. Is there a specific language you're comparing against?
ttz
·9 เดือนที่ผ่านมา·discuss
out of curiosity (not meant snidely), do you have an example of a case where the weaker type system resulted in serious problems?
ttz
·9 เดือนที่ผ่านมา·discuss
in tech? oft times you just look at your manager or skip level
ttz
·10 เดือนที่ผ่านมา·discuss
Ah, I see what you're objecting to. Yes, it is build tag trickery, and wouldn't work without it
ttz
·10 เดือนที่ผ่านมา·discuss
Yep - my point was that _test is not the only exception to the "rule"
ttz
·10 เดือนที่ผ่านมา·discuss
You can also include

package main

files in a non-main package directory (usually sed when implementing go generate)
ttz
·10 เดือนที่ผ่านมา·discuss
> contrasting craftsmanship and utility, since both are somewhat prized on HN

I'd say they're prized everywhere, though "craftsmanship" is really subjective. and the HN I usually [edit/add: see] seems to have more a meta of "criticize anything someone tries to build, and rave about IQ" tbh ;)

SQLite works and I don't have to think about it why it works (too much). That is IMO a true hallmark of solid engineering.
ttz
·10 เดือนที่ผ่านมา·discuss
It hurts because it's true

The amount of staffs at my place who build pointlessly complex bullshit that doesn't actually do anything different is too damn high
ttz
·10 เดือนที่ผ่านมา·discuss
Thank you for this relevant insight.
ttz
·10 เดือนที่ผ่านมา·discuss
You can still design for evolution and follow best practices. That's actually IMO a hallmark of good software design.

The issue is when the evolution is random and rife with special cases and rules that cannot be generalized... the unknown unknowns of reality, as you say.

Then, you just gotta patch with if elses.
ttz
·10 เดือนที่ผ่านมา·discuss
I was recently having a conversation with some coworkers about this.

IMO a lot of (software) engineering wisdom and best practices fails in the face of business requirements and logic. In hard engineering you can push back a lot harder because it's more permanent and lives are more often on the line, but with software, it's harder to do so.

I truly believe the constraints of fast moving business and inane, non sensical requests for short term gains (to keep your product going) make it nearly impossible to do proper software engineering, and actually require these if-else nests to work properly. So much so that I think we should distinguish between software engineering and product engineering.