Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
901.
▲
by
masklinn
1y ago
> I understand why you need the into_iter bit and why the borrow checker complains about it The borrow checker is not really involved in the first snippet (in fact the solution involves borrowing). The compiler literally just prevents a
902.
▲
by
masklinn
1y ago
Yes. The historical siesta is about mitigating the hottest part of the day, spaniards tend to work both earlier and later.
903.
▲
by
masklinn
1y ago
> But here’s the catch: you’re missing some edge cases. What about negative inputs? The docstring literally says it only works with positive integers, and the LLM is supposed to follow the docstring (per previous assertions). > The pr
904.
▲
by
masklinn
1y ago
Importantly there's all sorts of tests beyond trivial single-value unit tests. Property testing (via hypothesis, in python) for instance.
905.
▲
by
masklinn
1y ago
> it does exist in pure html [...] JavaScript with WebComponents You seem to have a rather original definition of "pure HTML".
906.
▲
by
masklinn
1y ago
Stubs are a standard python feature (PEP 561) so I'd expect them to work with any type checker which supports stubs, which should be all of them (as much of the ecosystem is typed via stubs).
907.
▲
by
masklinn
1y ago
That’s what lots of sites used to do in the late 90s and early aughts in order to have fixed elements. It was really shit. Browser navigation cues disappear, minor errors will fuck up the entire thing by navigating fixed element frames inst
908.
▲
by
masklinn
1y ago
It is, but in a pretty minor way: any can be used with no items, IN can not and will error.
909.
▲
by
masklinn
1y ago
NIMBY is by far the main problem CA has. The permitting process includes incredible amounts of public feedback, which makes it difficult to build a chemical plant and a middle school next to one another, but also makes it impossible to rezo
910.
▲
by
masklinn
2y ago
And Microsoft had to invest in Apple, as a bankrupt Apple would have left them with effectively no defense against the antitrust investigation they were undergoing.
911.
▲
by
masklinn
2y ago
Ain't no way zstd compresses at 5+, even at -1. That's the sort of throughputs you see on lz4 running on a bunch of core (either half a dozen very fast, or 12~16 merely fast).
912.
▲
by
masklinn
2y ago
Yes, however they seem to have a pretty slow internet connection > Downloading a 250MB database from my web server takes about a minute over my home Internet connection So for the original 3.4GB database that's nearly 15mn waiting f
913.
▲
by
masklinn
2y ago
If you're going to use a less universal tool for compression you might as well go with zstd.
914.
▲
by
masklinn
2y ago
> we humans are amazingly capable of inventing new and new jobs to do, because we somehow hate leisure. We don’t. We do generally crave meaning , the only people who hate leisure are the owner class, and they hate leisure for other peop
915.
▲
by
masklinn
2y ago
What would you expect "useful" to be if your codebase is basically incompatible with type checking?
916.
▲
by
masklinn
2y ago
Django has a community stubs project, are you using it?
917.
▲
by
masklinn
2y ago
Isn’t that largely just a matter of learning the hue wheel? And maybe chroma to apply saturation?
918.
▲
by
masklinn
2y ago
The administration has also been "defending" their absence of due process and trying to work around judge orders to stop, shaving as close to the letter of judicial orders as they could when they don't just ignore them entire
919.
▲
by
masklinn
2y ago
Nobody looking for a fuel efficient car would look at Aston, and nobody looking at Aston would go for a fuel efficient car. Which was borne by its sales: sold for nearly 3 times the price you'd have paid Toyota for an iQ, it sold all o
920.
▲
by
masklinn
2y ago
> All micro cargo van providers have stopped building them. The Transit Connect, Metris, Promaster City and NV200 are all now discontinued. This is an entirely american problem, because the small van is largely dead in the US. They'
921.
▲
by
masklinn
2y ago
> It is a statement that the current regime wants to discourage judicial independence. That’s not exactly new, I was recently reminded that during the governor’s meeting when Trump singled Maine out for ignoring an EO the governor replie
922.
▲
by
masklinn
2y ago
GTA was never my wheelhouse, but from what I gathered GTA Online didn't have that much support, and since it was only the initial loading time, and it would have increased over time as the shop content increased, and a very fast machin
923.
▲
by
masklinn
2y ago
They were not the only one to make that mistake e.g. rapidjson had to fix the same error, few people expect parsing one token out of sscanf to strlen the entire input (not only that but there are c++ APIs which call sscanf under the hood).
924.
▲
by
masklinn
2y ago
> Also, some languages intentionally randomize the order per program run, to avoid things like users intentionally stuffing hash tables with colliding keys. Most modern langages do that as part of hashdos mitigation, Python did that unti
925.
▲
by
masklinn
2y ago
> It is the definition of rent. In no sense of “rent”, or “definition”. > The cost is that I have to run your software on my device. I could create value for myself by running software of my choice This is an outright Orwellian redefi
926.
▲
by
masklinn
2y ago
Requiring dedicated software available for free is not rent seeking, there is no rent, and it was not exactly rare in the more lifestyle pmp space.
927.
▲
by
masklinn
2y ago
Quarks? They’re sub-units of hadrons but iirc they can’t be found on their own.
928.
▲
by
masklinn
2y ago
Logging on to their work account.
929.
▲
by
masklinn
2y ago
> The problem is writing f instead of t => and this will silently work I assume (not a Python dev just trying to understand the language design) In the fullness of time it has no reason to. Even in the worst case scenario where you ha
930.
▲
by
masklinn
2y ago
> they really do want to allow either raw strings are a template string. I’d consider that an invalid use case: 1. You can create a template string without placeholders. 2. Even if the caller does need to pass in a string (because they’r
More ›