Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mst
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
mst
2y ago
The article doesn't recommend it for LOB applications at all. Your questions would be perfectly cogent and understandably pointed in response to such a claim, but the author clearly isn't proposing that.
182.
▲
by
mst
2y ago
I've seen (and implemented myself) operator overloading based systems for query builder type things ... and the way such facilities work in every language I've seen/tried them in has had enough limitations that it wasn't
183.
▲
by
mst
2y ago
People have often said of https://p3rl.org/DBIx::Class that's it's more a Relational to Object Mapper than an Object to Relational Mapper. We've (I was the original author, bias alert) always had a policy of
184.
▲
by
mst
2y ago
The practical reality appears to be that compilers use the loose interpretation of UB and that every compiler that works hard to optimise things as much as possible takes advantage of that as much as it can. I am very much sympathetic to th
185.
▲
by
mst
2y ago
> Also, maybe in future someone will optimise the route using that currently unused hold four down from the top? This reminds me a lot of how Brood War meta changes as new 'bugs' are discovered, since the fandom loves the game
186.
▲
by
mst
2y ago
Rule 777: If you make a system secure but difficult to use, your users will find a way to make it easy to use but insecure.
187.
▲
by
mst
2y ago
\o/ looks like that won't be needed much longer: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324#c27
188.
▲
by
mst
2y ago
The default state of regulars in technical IRC channels :D
189.
▲
by
mst
2y ago
It looks to me like you can use -foptimize-sibling-calls to get it to happen on gcc below -O2. There's also https://github.com/pietro/gcc-musttail-plugin to ensure it does happen (and clang has musttail support
190.
▲
by
mst
2y ago
I do get moderately annoyed by having to write code that's fundamentally a workaround for somebody else's failure, though I usually still do it anyway. Sometimes I do so but add something to the stderr output referencing the issue
191.
▲
by
mst
2y ago
The rule of thumb back at Netcraft was to prototype in awk/sed for brevity/expressiveness and then port to perl for production use for performance reasons. Been a couple decades since I was wrangling the survey systems there thoug
192.
▲
by
mst
2y ago
Huh. My brain says logically I should find that better, but the -lack- of punctuation is making it really tricky to skim read the way I do most languages. I'm not arguing the example you found sand-in-the-eyes is necessarily good but m
193.
▲
by
mst
2y ago
I am reminded of many instances over my life of: 1) Every time I go through a particular door I try to push it when it's a pull door. 2) I notice this and ensconce in my brain that it's the opposite of what I think it is. 3) After
194.
▲
by
mst
2y ago
I think that were I to implement anything like this I would document the capability explicitly. The situation that seems useful to me is bypassing dysfunctional processes rather than circumventing inconvenient policies. (and if the device i
195.
▲
by
mst
2y ago
Meanwhile they had to fire their DBA because they kept dropping tables.
196.
▲
by
mst
2y ago
My best open source work is pretty much entirely in the 'Rage Driven Development' category. (solid post, also solid rant, mate)
197.
▲
by
mst
2y ago
I'm sure the timezone will tick over to the sheepshaggers instead shortly.
198.
▲
by
mst
2y ago
Curiosity: How did the mixture of Racket and Common Lisp come about? (there are plenty of plausible guesses but I enjoy reading about specific examples if you have a moment to explain)
199.
▲
by
mst
2y ago
> Transducers were an “invention” of Rich Hickey, the creator of Clojure. I put “invention” in quotes here because I think that a lot of the groundwork and ideas somewhat predate Rich Hickey in the literature that he references in the or
200.
▲
by
mst
2y ago
Just tried with Claude and it got it differently wrong. My first guess was that once it became a known good strategy, it proliferated, and therefore LLMs are pulling companies that did the thing but didn't pioneer the thing, but su
201.
▲
by
mst
2y ago
HN hivemind has already delivered but I've found that for "I can describe it but can't remember the name" an LLM will have a decent chance of surfacing the name given the description (and is usually a very simple case to
202.
▲
by
mst
2y ago
It's always worth checking the lit built in directives list for the one you've still missed (or at least it is for me ;). I think in this case the ref() directive - i.e. https://lit.dev/docs/templates/dir
203.
▲
by
mst
2y ago
That was in ... '04 ish? And, yes, it was indeed awesome. As with all my desktops since time immemorial, its purpose was to provide an X11 environment that I used to ssh to everything else, so I never really stressed the machine itself
204.
▲
by
mst
2y ago
My first ISP environment back in '00 was a mixture of FreeBSD and BSDi, though we did eventually acquire a Mandrake box to trial linux on.
205.
▲
by
mst
2y ago
I used an Indigo2 with a pair of 21" Sony 13w3 monitors (one rebadged as Sun, one as CGI) as my desktop for a couple years. When I finally had reason to swap it out for a more normal system, it went down to London to become a CPAN test
206.
▲
by
mst
2y ago
https://github.com/noctuid/tdrop is really rather interesting. Thank you.
207.
▲
by
mst
2y ago
If it's a single file you could just make it a download. There's also the newer file system APIs (though in Safari you'll be missing features and need to put some things in a Web Worker).
208.
▲
by
mst
2y ago
They're querying the sqlite database directly so I was thinking, possibly mistakenly, that when rqlite spawns a new WAL file to snapshot, the connection they have to said database outside of rqlite might not see the changes only in the
209.
▲
by
mst
2y ago
Presumably you'll need to either use the correct WAL file or accept some very slight data staleness during the 9.0 sync process (also the direct read trick sounds great to me where permissible - EDIT: question about how much of your wa
210.
▲
by
mst
2y ago
An attribute for functions that says "no optimisations may be applied to the body that would change timings" seems like a reasonable level of granularity here, and if you were conservative about which optimisations it allowed in v
More ›