Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kortex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
kortex
1y ago
uv handles most, if not all, of those cases. > - else does it have a pyproject.toml? if so poetry install and then prefix all commands with poetry run That's not even correct. Not all projects with pyproject.toml use poetry (but poe
122.
▲
by
kortex
1y ago
Pants and uv are two very different tools, with very different use-cases. uv is basically souped-up pip. Pants is an entire build/tooling system, analogous to something like Bazel. It can handle multiple dependency trees, multiple type
123.
▲
by
kortex
1y ago
We use uv to compile requirements.txt from pyproject.toml to get the locked versions. # Makefile compile-deps: uv pip compile pyproject.toml -o requirements.txt compile-deps-dev: uv pip compile --extra=dev pypro
124.
▲
by
kortex
1y ago
When I see a spike in a dozen different services simultaneously, I can be pretty confident something is pretty snafu.
125.
▲
by
kortex
1y ago
"I got a shiny task!" Absolutely brilliant. It's so stupid (in that it's kind of silly how easy it is to game our mammal brain) but I can absolutely see this giving an extra kick of motivation. Have you heard of the INCU
126.
▲
by
kortex
1y ago
I love it. Using a thermal printer to print physical tasks you can crumple on completion and throw in a bin is absolute madlad goblin energy and I'm all for it. I think you've actually perfectly distilled the essence of "game
127.
▲
by
kortex
1y ago
So how does going back to multiple incompatible character sets help anything?
128.
▲
by
kortex
1y ago
Fantastic writeup! Visualizations are great, the writeup is thorough but readable.
129.
▲
by
kortex
1y ago
Then you need central coordination, either a single central server containing the counter, or something like Snowflake where you have multiple counters, each assigned orthogonal blocks ahead of time (that need to coordinate with a central s
130.
▲
by
kortex
1y ago
I would wager within a rounding error, all humans have a lifetime of experience in following directions of the form: 1. do the first step in the process 2. then do the next thing 3. followed by a third action I struggle to think of any cont
131.
▲
by
kortex
1y ago
I am pretty sure the analysis is: however the chord is notated in Ultimate Guitar, that's how it's analyzed. So if the chord sheet says C Am F G, that's exactly how it's being analyzed, even if that G is almost certainly
132.
▲
by
kortex
1y ago
Has there been a single instance where someone faced legal repercussions for not affirming someone's gender?
133.
▲
by
kortex
1y ago
The nicotine bottle size constraint is a safety concern. Spilling a 200ml bottle of nicotine easily has the potential to cause lethality or morbidity through skin absorption, particularly in children. A 10ml bottle can still cause injury, b
134.
▲
by
kortex
1y ago
> But we still import oil! Why? Because the oil we produce isn’t entirely the right kind for everything we do with it. Just wanted to elaborate a bit on this. Oil is a fantastic example for "why international trade good?" Oil i
135.
▲
by
kortex
2y ago
The complexity lies in the fact that there is rarely a bill of sale like "Priceless scroll taken from tomb under ancient church before it was demolished - ISIS". There's a lot of laundering and changing of hands before they e
136.
▲
by
kortex
2y ago
> It’s only adversarial because you want to get as much pay as possible out of them for as little productivity as possible. And the employer wants to pay the employee as little as possible for as much productivity as possible. In a perfe
137.
▲
by
kortex
2y ago
And early Europeans avoided saying the name of the terrifying land mammal out of taboo / fear it would summon it, and instead referred to it as either "the brown one" or "wild animal" (exact etymology is unclear whi
138.
▲
by
kortex
2y ago
> The typical [HACKERnews] article [about hacking] that is applicable to [computer enthusiasts]. Fixed that for you.
139.
▲
by
kortex
2y ago
Thought-provoking but also pretty vague. It makes no distinction between hard auth-left and hard auth-right.
140.
▲
by
kortex
2y ago
It really won't. For some use-cases, yes. > WebAssembly is a true write-once-run-anywhere experience. Except not. The wasm ISA is really quite limited in the types of operations. A full-blown RISC/CISC ISA will have way more op
141.
▲
by
kortex
2y ago
What is undemocratic is suggesting that somehow the civil participation process just goes on hold between every election. People are seeing a trajectory even worse than anticipated and sounding the alarm. The Trump administration is blastin
142.
▲
by
kortex
2y ago
That is exactly how go usually works with error handling though. func mayfail() error { if snafu { return errors.New("oops") } else { return nil} } err := mayfail() if err != nil { h
143.
▲
by
kortex
2y ago
How does one even begin to write drivers for nvme, ata, rtl nics, etc? I know mice and keyboards use HID which is a standard, but are there similar standard protocols for all other devices? Is this how linux manages to avoid needing to &quo
144.
▲
by
kortex
2y ago
That ship has long sailed. ALGOL 1958 used := and Pascal popularized it. https://en.m.wikipedia.org/wiki/Assignment_(computer_science...
145.
▲
by
kortex
2y ago
I have never tried to shoot a snake but I imagine their high aspect ratio makes getting a critical hit on them challenging, compared to just "yoinking" them. Garret Galvin @fishingarrett has made a name for himself yoinking all so
146.
▲
by
kortex
2y ago
Hot take: "choice" is a myth when it comes to long-term executive processing, one doesn't choose to be obese/not, drug addicted/not, etc, the same way one chooses whether they want chicken or beef ramen for lunch. I
147.
▲
by
kortex
2y ago
There's no world in which atomized nicotine, glycol/glycerin, and some flavors, is comparable, let alone worse, than inhaling smoldering tobacco leaves. Even the purest, organic tobacco made from the nicest leaves lovingly collect
148.
▲
by
kortex
2y ago
What's to stop someone from downloading an open source model, running it themselves, and either just not sharing the hashes, subtly corrupting the hash algo so that it gives a false negative, etc? Also you need perceptual hashing (sinc
149.
▲
by
kortex
2y ago
Ammonia is produced at scale by the Haber-Bosch process, N2 + 3H2 => 2NH3. Most H2 is currently produced by steam reformation of natural gas, CH4 + 2H2O => CO2 + 4H2. It's not really feasible to turn ammonium nitrate back to nat
150.
▲
by
kortex
2y ago
Cool stuff! Might be fun to integrate with a type validation library like Pydantic or Msgspec to provide in-line coercion/assertion. What is the performance hit like? I could see these getting pretty expensive (but correctness is inval
More ›