Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mrkeen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
mrkeen
1mo ago
Admittedly I read this pretty quickly, but this is just structs. The "behaviours" being modelled here were data access. Writing .name() instead of .name. You can save yourself the time of manually packing these structs by writing
32.
▲
by
mrkeen
1mo ago
Re-run the hypothetical, but this time without the LLM labels. Because LLM disclosure will always be voluntary.
33.
▲
by
mrkeen
1mo ago
Hard to tell if sarcastic, but anyway. I think the GOTOers just died out. Some day null, statements (rather than expressions) and side-effects will have always been wrong.
34.
▲
by
mrkeen
1mo ago
It will of course be theatre. Wherever they go will be LLMs too, even if there's a different social contract. Speed cameras don't stop speeding, the death penalty doesn't stop narcotics, copyright doesn't stop LLM vendo
35.
▲
by
mrkeen
1mo ago
The government is not the people. The process goes something like: A) I get voted in if I give the people what they want B) The people don't want to be spied on C) I increase spying D) ??? E) Profit! I'm still hazy on the details
36.
▲
by
mrkeen
1mo ago
Per another comment here: "Generally speaking the more important an issue is, the less it is allowed to be affected by democratic processes." The trick is to have a two party system and agree on all the important points. There are
37.
▲
by
mrkeen
1mo ago
https://www.schneier.com/blog/archives/2015/09/how_gchq_trac...
38.
▲
by
mrkeen
1mo ago
Is there actually a way to 'be careful'? The moral of this story seems that you'll step on landmines. And perhaps that 'managed' databases aren't that managed.
39.
▲
by
mrkeen
1mo ago
Good writing includes some examples or statistics. The ratio of grifters to non-grifters could have halved or risen tenfold in the last few decades. How would we know? What percentage of the population "now appears willing to devote e
40.
▲
by
mrkeen
1mo ago
'Against human nature' is where every intervention begins! Otherwise you wouldn't bother intervening.
41.
▲
by
mrkeen
2mo ago
Well, put forward your tool-chain and we'll start insulting immediately
42.
▲
by
mrkeen
2mo ago
The language dominates the tooling. Real C programmers probably can't imagine doing real programming without gdb and valgrind. Real Java programmers probably can't imagine doing real programming with gdb and valgrind.
43.
▲
by
mrkeen
2mo ago
On the other hand, value semantics are just plain easier to reason about. My 2 is your 2. We don't have different 2s because it makes no sense. But sometimes you don't just want a 2, you want a pair (2,3). All of a sudden, my (2
44.
▲
by
mrkeen
2mo ago
The big bang didn't happen at a single point, it happened everywhere. You can look out from anywhere and see the cosmic background radiation having expanded from your location, wherever that location might be.
45.
▲
by
mrkeen
2mo ago
Compare with the prior art of N+1 queries of 2014: https://github.com/facebook/Haxl/blob/main/example/sql/readm...
46.
▲
by
mrkeen
2mo ago
I love LINQ's syntax and monadic API, but that's about it. It speed-runs juniors into thinking they are writing transactional code when they aren't. And for seniors who are more aware of footguns and try to be careful, they&
47.
▲
by
mrkeen
2mo ago
Allowed to refuse search? What are you smoking?
48.
▲
by
mrkeen
2mo ago
Would you like the claim on strongly-typed programs to be true/false? Or would you like it to be true/false/null. Or 0 or not-0. Or truthy. Or uninitialised memory.
49.
▲
by
mrkeen
2mo ago
This article is no better than what it criticises. Passing a Jepsen test is great, but saying that you passed a Jepsen test is apparently some kind of hollow performance art, which has nothing to do with writing software? They've been
50.
▲
by
mrkeen
2mo ago
> There was some sense in this thesis. Type systems were in a state of flux in 1992 when that note was written. Coq (now Rocq) had only just appeared, and big changes were happening to Martin-Löf type theory. As for simple type theories,
51.
▲
by
mrkeen
2mo ago
Emphasis on: opinionated custom databases . One database might be SQL-based for periodic report generation. Another database might be a noSQL key-val store designed to effortless grow with the number of end-users. General-purpose progra
52.
▲
by
mrkeen
2mo ago
Neither Go nor Java's generics is rich enough for the problems you describe. They give you the means to turn IntList into List<I>, but not into <L>Int or <L><I>. So I doubt the famous AbstractProxyBeanIntercept
53.
▲
by
mrkeen
2mo ago
Hehe, not too popular an idea is it? Maybe there's some characteristic about a version control system that makes it qualitatively different from a file store. Maybe it has nothing to do with size or number of customers!
54.
▲
by
mrkeen
2mo ago
> My tip: Start with PostgreSQL as a queueing system. Only when that does no longer perform well switch to other systems like Kafka, RabbitMQ or SQS. My tip: store your company's source code on a samba file server. Only when that n
55.
▲
by
mrkeen
2mo ago
I disagree so hard with the notion that isolation is somehow done for you, that I don't even know how to begin arguing. I'll admit to starting this confusion by reading what I thought would be written, not what was actually there.
56.
▲
by
mrkeen
2mo ago
To be clear, the philosophy I quoted was directly from Kent Beck in TFA, i.e. this is Kent Beck's "help". I say leave both tests as is. Kent Beck says: From a purely aesthetic standpoint (& don’t discount aesthetics),
57.
▲
by
mrkeen
2mo ago
Maybe I misread. When I see a setUp() in a test suite, 9 times out of 10 it's to handle something shared and bulky, like a database. Otherwise you'd just do the thing - assert(expected, myService.run(input)); If I saw an ex
58.
▲
by
mrkeen
2mo ago
I think I disagree with Kent, but your explanation is clearer, so I'll object here. There's nothing wrong with hitting the same assertion multiple times, even if it doesn't sit nicely in your gut. From a purely philosophical
59.
▲
by
mrkeen
2mo ago
> If a test runs by first setting up its own test fixture, creating from scratch all the data it will be using as input, then that test is guaranteed to be isolated. It doesn’t matter what order you run the tests, the results will be exa
60.
▲
by
mrkeen
2mo ago
It wouldn't make sense to confuse attributes of the software with attributes of the programmer. Otherwise, one could simply declare one's IQ in a const somewhere, and have all unit tests follow the form: if the programmer's I
More ›