Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kortex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
511.
▲
by
kortex
3y ago
I'm (vaguely) surprised there hasn't been a hardware type for rationals. Then the GCD operation could be done in hardware and everything would be fast (at least as fast as floats). Not surprising, because adding new hardware data
512.
▲
by
kortex
3y ago
This leads me to the logical question about EDM of protons and neutrons. The electron and neutron are mentioned, but nothing for proton EDM. What's up with that? Also apparently the EDM for the neutron has yet to be detected, despite i
513.
▲
by
kortex
3y ago
Extrapolating from propylene glycol, it's definitely sweet but I would not call it delicious. On par with glycerin or corn syrup.
514.
▲
by
kortex
3y ago
I have an interesting friend, with many interesting antics. They have a property with a clear creek running through it, and wanted to know if it had giardia. Assays are expensive, but metronidazole is cheap, so they drank the water, and det
515.
▲
by
kortex
3y ago
You just helped me realize the real value of the Open Source Ecology project and ones like it. I've always thought they were neat, but when you add up all the cost of the raw materials and "vitamins" (stuff you can't e
516.
▲
by
kortex
3y ago
Tons of folks in industry use Ada, they just don't talk about it much (or are forbidden). Ada is the darling of USDOD, so there's untold LoC in missiles, fighter jets, and spy satellites.
517.
▲
by
kortex
3y ago
Ha! I didn't catch that the first time. That's a direct quote from the paper though. I think maybe they meant psychotropic, not hallucinogenic, as tropane alkaloids aren't traditionally hallucinogenic. Or they started with &q
518.
▲
by
kortex
3y ago
Might run into issues with Wyze electronics.
519.
▲
by
kortex
3y ago
That's 20W and $84/yr to do absolutely nothing . There is absolutely, positively no reason the standby power draw needs to be that high. I'm fine with like, 100-1000mW to allow whatever background circuity is required to wak
520.
▲
by
kortex
3y ago
> Thus, opium alkaloids were detected in Late Bronze Age containers > different hallucinogenic compounds, mainly nicotine, tryptamines and tropane alkaloids have been chemically documented in Prehispanic artefacts from the Americas, a
521.
▲
by
kortex
3y ago
It's probably surprisingly achievable. Going off of proposed ideas to shield Mars... About 1T, or roughly an MRI machine (or less). https://phys.org/news/2017-03-nasa-magnetic-shield-mars-atmo... I'm not sure
522.
▲
by
kortex
4y ago
Two-strokes are extremely dirty, due to blow-through of the fuel-oil mixture, incomplete/less efficient combustion due to crude fuel metering, and inability to use conventional catalytic converters (due to fouling from the above two po
523.
▲
by
kortex
4y ago
> Granted an RC engine runs on a mixture of fuel and nitromethane That's a huge difference. The main limiting factor in engine power is mass air flow, not fuel. Engines are as much air pumps as they are containers for extracting e
524.
▲
by
kortex
4y ago
What exactly are you doing that hits friction? You shouldn't be using "make" to "activate" your env - that should occur "outside" your makefile. It plays totally nice if you aren't trying to use make
525.
▲
by
kortex
4y ago
Very different. Requirements.txt only handles dependency packages, and only handles on kind of dependency (no dev/release distinction). pyproject.toml does dev/release deps, it has package metadata, it can configure all your lint&
526.
▲
by
kortex
4y ago
There are many who argue that no specific law is necessary, that the Constitution gives the right of privacy and bodily autonomy, and that Roe v Wade correctly asserts that constitutional right. Do you need a specific law protecting the rig
527.
▲
by
kortex
4y ago
To their credit, I remember something about basically every element ionizes to some extent in space, thus exhibiting the "sea of electrons" behavior characteristic of metals.
528.
▲
by
kortex
4y ago
As a (former) organic chemist, this is spot-on. "Organic" doesn't really have a strict definition, but it's not so much "majority carbon" as it is presence of a C-H and/or C-C bond. I personally don't
529.
▲
by
kortex
4y ago
I have bog standard subaru EyeSight lane assist and dynamic cruise. It's quite nice, even though you are still "driving" and ready to take control. It reduces mental CPU by 50-80% (driving for me is practically like walking t
530.
▲
by
kortex
4y ago
A bird is usually not an issue (unless it's huge like a condor or something). The problem is ingesting a whole flock. Turbofans are designed to fling debris (rain, hail, gravel, birds) out to the bypass via centrifugal force. However
531.
▲
by
kortex
4y ago
I wrote a small service to synch the datetime based on a gps/imu module with an ethernet interface. It needed to be rock solid because it was going to fly in the field (scientific instrument, not avionics). It was faster and easier to
532.
▲
by
kortex
4y ago
> Names Sun, Sol /ˈsɒl/,[1] Sól, Helios /hiːliəs/[2] Also el sol (es), o sol (pr), il sole (it), le soleil (fr), etc. Technically the IAU hasn't sanctioned an official name, but Sol is fairly well understood.
533.
▲
by
kortex
4y ago
I think that muddies the water a bit too much and relies on too much magic. Self might be weird, but it's one of the most central concepts in python. Especially if someone is coming from javascript. Dataclasses don't quite follow
534.
▲
by
kortex
4y ago
Good luck introspecting a given python object and ascertaining "this class only stores data". It's literally impossible given the dynamicism of python. The consequences are exposing state that you don't necessarily want
535.
▲
by
kortex
4y ago
Off the top of my head, python classes which shouldn't/can't be dataclasses: The entire modules typing, os, sys, struct, inspect, json. Anything which is a metaclass or relies on metaclass behavior (you have to be careful com
536.
▲
by
kortex
4y ago
Pydantic, yes, you can just set the default initializer to = [] or = {}. I don't think that works with dataclasses yet.
537.
▲
by
kortex
4y ago
I enjoy novel ideas, they are fun to entertain, but this is quite spicy of a take. I kind of understand where OP is coming from, but if you start to understand python internals, you would quickly see why it's completely untenable.
538.
▲
by
kortex
4y ago
Operator overloading is what makes the majority of science/math heavy libraries (numpy, scipy, pandas, torch, scikit) work. It ain't going anywhere. Walrus is fine. It's easy enough to google "python colon equals" a
539.
▲
by
kortex
4y ago
Thunks-style functors, where you bind a callback to a private variable, to be later called, often with kwargs. Like what most HTTP frameworks do. You can use Callable but the actual function prototype is unknown.
540.
▲
by
kortex
4y ago
> But we are in this weird state where people go to a doctor and its like "oh you sneezed? here take these 15 drugs" Many people say this, but where's the evidence? Probably the best quality article to date in support of o
More ›