Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ithkuil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
661.
▲
by
ithkuil
2y ago
Indeed politics, culture and posturing can be strong incentives that change the economics balance. If the Roman empire had one thing as advanced as our modern states that wasn't technology per se but the politics, the politicking the p
662.
▲
by
ithkuil
2y ago
Por que no los dos? Probably all what they said was factually true and still they may be worried that without him it would be harder to get weed in the village
663.
▲
by
ithkuil
2y ago
Because of safety concerns or because you like the idea that in principle humans should be driving? In other words, what kind of safety metrics do you think would be necessary to change your mind? If in N years 90% of your peers use self-dr
664.
▲
by
ithkuil
2y ago
People don't _feel_ comfortable but they objectively are much more comfortable that 120 years ago or more. Unfortunately being objectively more comfortable doesn't make you feel more comfortable and ultimately it matters how you f
665.
▲
by
ithkuil
2y ago
Also interesting: https://www.uiua.org/ Concateniative APL-like (with Unicode symbols but with pragmatic input method)
666.
▲
by
ithkuil
2y ago
9p is a simple network protocol for implementing filesystems. It originates from the plan9 operating system but its main usefulness nowadays is that it permits people from implementing filesystems in user space without having to integrate d
667.
▲
by
ithkuil
2y ago
We also have much much bigger single machines available for reasonable money. So a lot of reasonable workloads can fit in one machine now that used to require a small cluster
668.
▲
by
ithkuil
2y ago
I wonder why people don't use fromYaml + toJson to avoid stupid errors with indent. Yaml is for all intents and purposes a superset of JSON so if you render your subtree as JSON you can stick it in a Yaml file and you don't need t
669.
▲
by
ithkuil
2y ago
Well, if the file got ignored that would be very surprising and a source of frustration indeed A clear error message that explains that go source files cannot have underscores in them other than the supported suffixes (and a link to a page
670.
▲
by
ithkuil
2y ago
Perhaps I wasn't clear. I also like the use of the file name "pre-extension" to categorize files. There was a way to have the cake and eat it too which is: forbid _ inside the file name other than the extensions that have a w
671.
▲
by
ithkuil
2y ago
The surprise factor is only for the current generation of people who are used to it and who are used to other languages that the same kind of for loop and closures that can escape (basically only JS?) But the internal consistency between th
672.
▲
by
ithkuil
2y ago
I'm the first to argue that Go is "most reasonable" all around. Even things which are technically wrong and _could_ have been done differently are still reasonable. First and foremost because sometimes the alternatives would
673.
▲
by
ithkuil
2y ago
yeah I see; that said if for;; behaved differently than for range it would cause a different set of surprises, so I guess consistency was deemed more important.
674.
▲
by
ithkuil
2y ago
ok that makes much more sense how; thanks! follow up question: if the branch is predicted to not be taken, why does the predictor have to use resources to record its location and the destination?
675.
▲
by
ithkuil
2y ago
GP made the point a few lines below. What if Go adds support for a new OS called "FoOS" and suddenly your files named "my_foos.go" stop being compiled anywhere else? They should have forbidden using _ in file names excep
676.
▲
by
ithkuil
2y ago
For me init is magic not because it's implicitly called. It's magic because unlike any other function it can appear in multiple files in the same package. And the order of execution depends on the names of the source files!
677.
▲
by
ithkuil
2y ago
Is it magic? The reason they changed the behaviour is because the previous behaviour was surprising and thus "magical". The new behaviour is more consistent with what you think about what is a scope of a variable. The fact that a
678.
▲
by
ithkuil
2y ago
I agree about directives embedded in comments. Especially things like // go:embed But goroutines? They are a foundational language feature with clear syntactic demarcation and documented behaviour. I think that in computer science
679.
▲
by
ithkuil
2y ago
If the branch predictor to predict branches ahead it needs to know where the branches instructions are. Is there a mini decoder tasked to just decode the instruction stream just enough to handle the variable length instructions and figure o
680.
▲
by
ithkuil
2y ago
Also bear in mind that I literally say that I feel bad to even contemplate that possibility. It just feels wrong to doubt a person who tells you such tragedy. But perhaps that's how everybody felt and might be the reason why one could
681.
▲
by
ithkuil
2y ago
I always find it fascinating to hear stories like that and immediately feeling bad that my first thought is: what is the likelihood of this being an identity theft comlared with likelihood that after surviving two atomic bombs one lives up
682.
▲
by
ithkuil
2y ago
The eco chamber is real but it cuts both ways: if you want your product to be successful you need a first wave of adopters and their echo chamber will shape your product through their feedback. Once your product reaches a wider audience you
683.
▲
by
ithkuil
2y ago
Yeah currently "niche optimization" is performed when the compiler can infer that some values of the structure are illegal. This can be currently done when a type declares the range of an integer to not be complete with the rustc_
684.
▲
by
ithkuil
2y ago
Raw popularity is not the only parameter. Toolchain weight, integration cost, ease of building DSLs, error message quality ... All those things matter when choosing a language to be embedded as a DSL into another system.
685.
▲
by
ithkuil
2y ago
Interesting to see that GCL still lives on. Does it have a debugger now? I worked there a decade ago and we were trying out the "gcl2" reimplementation that was based on an actual formal specification of the languages. The semanti
686.
▲
by
ithkuil
2y ago
There are other subtle rules that language may follow in word formation. For example, in Japanese, a word like tokatokaino may mutate into tokadokaino due to a phonological effect called Rendaku (it depends on details like if "tokadok
687.
▲
by
ithkuil
2y ago
Why do we always have to end up with this false dichotomy? Why is it so hard to accept that a) yes the climate throughout the history of our planet (at geological time scales) had a lot of variation and humans didn't live during an ave
688.
▲
by
ithkuil
2y ago
> The entire EU emits around the same as India alone. Well, but India is a huge country. It has 3 times the population of the EU. Which means that pro-capita the EU is emitting 3x more than India.
689.
▲
by
ithkuil
2y ago
Yes. But unfortunately the conclusion that many people take home is that if something has been censured it must be true. It's not how logic works, but it's how human psychology seems to work. Or perhaps that's taboo too? I d
690.
▲
by
ithkuil
2y ago
There is nothing wrong to say WTF and try to persuade the interlocutor that their idea is wrong. You can also argue that some ideas are not only wrong but if believed can lead to antisocial behaviors etc etc. But unfortunately very often pe
More ›