Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
721.
▲
by
masklinn
1y ago
In some places it’s already more than viable. In Europe it’s baked into the banking system, SCT (SEPA Credit Transfer) lets you move money between any two European accounts with only as much hassle as your bank wants in your way. And EPC QR
722.
▲
by
masklinn
1y ago
Yes! I thought of equating it with famously bad real-world poetry but it felt mean. I feel ashamed that I didn’t think of vogon poetry.
723.
▲
by
masklinn
1y ago
> It is elegant as poetry is compared to prose. Not poetry that's any good though. > OTOH, later XSLT versions are just badly designed programming languages with a weird syntax. Not that XSLT 1.x was anything other than that, lat
724.
▲
by
masklinn
1y ago
Windows has always had its own versioning conventions: historically it was a one-digit major and a two-digit minor, so windows 2.1 was 2.10 in full (its predecessor was 2.03, and it was followed by 2.11), and NT 3.5 was followed by NT 3.51.
725.
▲
by
masklinn
1y ago
There's plenty of opportunities to have slow internet (and especially long roundtrips) in developed countries e.g. - rural location - roommate or sibling torrent-ing the shared connection into the ground - driving around on a road with
726.
▲
by
masklinn
1y ago
TBF that’s US media culture going back several decades.
727.
▲
by
masklinn
1y ago
Knitting spools are not jewellery.
728.
▲
by
masklinn
1y ago
That's a hypothesis amongst others, but it's just that, with essentially no hard evidence backing it up. And there's counter-evidence (if mostly circumstantial) in that the first known knitted artefacts are from centuries lat
729.
▲
by
masklinn
1y ago
I’m sorry to report your friend is a complete dumbass. Being a democratic government does not mean you can’t be proactive and have emergency services. Does he think Switzerland has a public consultation every time there’s an avalanche? In t
730.
▲
by
masklinn
1y ago
> That said, having regex around in different standard vs. crate options is not necessarily the ideal What 1: both regex and fancy-regex are crates. Regex is under the rust-lang umbrella but it’s not part of the stdlib. What 2: having di
731.
▲
by
masklinn
1y ago
The authors’ previous article (linked in this one) was about doing this in re2 ( https://systemf.epfl.ch/blog/re2-lookbehinds/ ), and they have a fork with those changes though I don’t know that they have a PR. >
732.
▲
by
masklinn
1y ago
> I'd guess it'd be enough for something like 1-2 miles a day on an electric drive train It's probably more 10~20, possibly as much as 30, if it's a long and sunny summer day FWIW. For references: - the F150 lightning
733.
▲
by
masklinn
1y ago
It’s always going to be anecdotal. I reckon a mid size RV (say upper class B) will have 1500-2000W of solar capacity, if it’s really boxy. It’s going to have the aerodynamics of a brick. Meaning you’ll be lucky to get 1mi/kwh at highwa
734.
▲
by
masklinn
1y ago
> One: I don't believe they have solved use-after-free. Marking memory freed and crashing at runtime is as good as checked bounds indexing. It’s also something allocators commonly implement already.
735.
▲
by
masklinn
1y ago
> But I also buy a lot of books I intend to read later, so I almost think it's inherent to digital copies? Nah, it also occurs plenty with physical copies. Look up tsundoku.
736.
▲
by
masklinn
1y ago
That and sales, especially the old ones with dailies, you'd see a game at 90% off and you'd go "uh that looks fine I can swing $2 for it" but might never actually get around to playing it.
737.
▲
by
masklinn
1y ago
Which should be a pretty big hint that you've misidentified the issue.
738.
▲
by
masklinn
1y ago
Python’s NewType is, confusingly, a very different thing: it’s a compile-time-only subtype of the original, rather than a Haskell-style newtype (which is an entirely separate type from its source).
739.
▲
by
masklinn
1y ago
> You get into hairy problems of definition, but you can definitely create an "async" runtime out of "sync" operations: implement an async runtime with calls to C. C doesn't have a concept of "async", a
740.
▲
by
masklinn
1y ago
It’s more like adding a runtime handle to the struct. Modulo that I’m not sure any langage with a sync/async split has an “async” runtime built entirely out of sync operations. So a library can’t take a runtime for a caller and get wha
741.
▲
by
masklinn
1y ago
You can call an async function from a function that is not async by passing in a global runtime (/ event loop). As a trivial example the main entry point in rust is never async. How’d you suppose you’d bootstrap the runtime that you’d
742.
▲
by
masklinn
1y ago
> That’s not “the normal way”, it’s just the case when the LHS is immutable. It’s the default behaviour of |= if you override |, you need to specifically override |= to do otherwise. > This behavior is congruent to C++ An excellent re
743.
▲
by
masklinn
1y ago
> The |= does exactly what it says on the tin. How could it not mutate the left side of the assignment? The normal way? If the LHS is an integer. |= updates the binding but does not mutate the object. Nothing requires that |= mutate the
744.
▲
by
masklinn
1y ago
> Does this mean that i can use? They'll both trigger a runtime error, since the key you're using in the pattern (LHS) does not match any key in the dict. Note that `'_'` is an actual string, and thus key, it's n
745.
▲
by
masklinn
1y ago
TFA looks things up by key, and allows pulling a subset of the dict.
746.
▲
by
masklinn
1y ago
No no, do forget about it: like += for lists, |= mutates “the dict”, which often makes for awkward bugs. And like += over list.extend, |= over dict.update is very little gain, and restricts legal locations (augmented assignments are stateme
747.
▲
by
masklinn
1y ago
> Have these new M3/4 MPBs gone back at all to being easy to dismantle or change the battery in? No. They're not as bad as the touchbar era (which was truly awful) but they're still a lot worse than the unibodies: ifixit s
748.
▲
by
masklinn
1y ago
> I'm not sure the "name was stolen" or the zealot concept actually never got any traction in production environments due to all the problems it creates. That is a false dichotomy. Fielding gave a name to a specific concep
749.
▲
by
masklinn
1y ago
You can also read Fielding’s old blog posts. He used to write about it a lot before before he stopped blogging.
750.
▲
by
masklinn
1y ago
> Should REST without HATEOAS classify as REST? Why not? Because what got backnamed HATEOAS is the very core of what Fielding called REST: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypert... Everyt
More ›