Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mst
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
271.
▲
by
mst
2y ago
Unless I've misunderstood entirely, Eject can move you from Porter Cloud to "you bring the cloud account but some/most things are still managed through your Porter setup."
272.
▲
by
mst
2y ago
Hopefully the experience they're getting now will make increasingly more of the relevant decisions something they can bake in to their automation and defaults.
273.
▲
by
mst
2y ago
I tend to regard code generation as being something that should -feel- like a macro to use, just one that optionally materialises the results so you can ship the code without a dependency on the generation logic. I am very conscious that mo
274.
▲
by
mst
2y ago
It's blindingly obvious to me that Ruby's basically "put smalltalk and perl in a blender with a tab of good acid" (and I mean that as a compliment). The main reasons I bounced off ruby and stayed with perl were - variabl
275.
▲
by
mst
2y ago
Usefully albeit depressingly, these days you can often get significantly easier buy-in if you call it a linter instead.
276.
▲
by
mst
2y ago
It's generally quite doable to write functions for that, e.g. in perl - use IPC::System::Simple qw(capture); use Sub::Install qw(install_sub); foreach my $command (qw(foo bar baz)) { install_sub $command => sub { capt
277.
▲
by
mst
2y ago
I quite like that pattern, but I think 'with a different datatype' should result in a small gnome climbing out the back of the computer and hitting the developer with a mallet.
278.
▲
by
mst
2y ago
In this case, as in both.
279.
▲
by
mst
2y ago
Between commits when I'm still modifying things. There's plenty of stuff that I have checked by a lint test before commit but is allowed to stick around in the codebase for a while locally as I work. e.g. if I have a debugging fun
280.
▲
by
mst
2y ago
The Jon Bodner one? There seems to be a few.
281.
▲
by
mst
2y ago
It's more effort to code than a stack trace but it does tend to result in clearer errors.
282.
▲
by
mst
2y ago
This is why I tend to think 'catch' blocks would ideally run in the dynamic scope of the 'throw' such that you can decide whether or not to gather a stack trace at the point of catch rather than the point of throw. Commo
283.
▲
by
mst
2y ago
I think the reality re generics was that the authors of Go wanted to see what people did instead to understand the patterns of usage so when they -did- add generics they could provide the simplest thing required. Which is probably the only
284.
▲
by
mst
2y ago
Point. My mistake. I think ICJ giving credence to South Africa given they consider the ICC optional is still ... unfortunate, at best, but "conflict of interest" is rather less applicable.
285.
▲
by
mst
2y ago
I find it a little unfortunate that the ANC, who have explicitly stated they won't enforce the ICC warrant against Putin (and have previously ignored ICC genocide charges against a Sudanese leader), were still considered a reasonable g
286.
▲
by
mst
2y ago
Somewhat belated, but thank you - I'll probably have a play with that, it looks ... less annoying than anything else I've seen, at the very least. Losing my temper and writing my own is still on the cards at some point, I imagine,
287.
▲
by
mst
2y ago
The original D2 is still one of my favourite things for LAN play (especially with the Ancestral Recall - Skills Enhanced mod), I think the friends plus pizza plus beer combination helps bring the nostalgia back more than a graphical overhau
288.
▲
by
mst
2y ago
My most replayed game is Traffic Department 2192, as much to re-experience the 70,000 words of script as anything else (it became freeware a while back, and I'd endorse anybody reading this firing up your DOSBOX to try the first missio
289.
▲
by
mst
2y ago
I think "a compass would've been nice" is reasonable though and seems like a compromise that probably wouldn't've detracted noticeably.
290.
▲
by
mst
2y ago
Shadows of Doubt actually sounds quite interesting, seems like the sort of game where dipping in and solving one case, then putting it down for a few days/weeks, might keep it feeling at least somewhat fresh. A game that fits between &
291.
▲
by
mst
2y ago
Disappointed there wasn't a sequel so they could've called it Phantasmagorier.
292.
▲
by
mst
2y ago
Might be worth seeing if e.g. jemalloc is enough less terrible for the sort of examples you're looking at to help with that. (though note that I mention jemalloc because I've had "huh, this C code now magically runs faster&qu
293.
▲
by
mst
2y ago
The closure part was when I had to stop for a moment and go "wait, really?! ... COOL!" and I'm definitely going to try and remember to check back every so often (emphasis on 'try' given I have a brain like a sieve b
294.
▲
by
mst
2y ago
> HVM2 is finally a correct algorithm that scales. This, I think, is the key thing people are missing. Maybe your low level performance will never be as good as hoped, but for this sort of task, "the parallelisation part works and p
295.
▲
by
mst
2y ago
Perhaps consider moving the warning in the NOTE at the bottom of the README.md to a DISCLAIMER section near the top. I read the whole thing first, then commented, but people often read half of such a document, assume they've got all
296.
▲
by
mst
2y ago
The README has: > It is very important to reinforce that, while Bend does what it was built to (i.e., scale in performance with cores, up to 10000+ concurrent threads), its single-core performance is still extremely sub-par. This is the
297.
▲
by
mst
2y ago
One example that springs to mind was a vendor antivirus system that unpacked email attachments into /tmp - generally when it died on its arse the only way to figure out why was to dig into /tmp and look at what it had left, then t
298.
▲
by
mst
2y ago
It would be a point against using it in companies where the decision maker thinks they know better than the people making the charts, certainly (though if you've managed to already adopt the tech, you can often present decision makers
299.
▲
by
mst
2y ago
I might have said "oh, _clever_" out loud when that first clicked as I read through the piece.
300.
▲
by
mst
2y ago
Very very handy for people just learning (what's often referred to as "baby perl" in an affectionate rather than derogatory way). Learning to use perl -properly- is a whole other barrel of monkeys though. (it does have the ad
More ›