8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 5y ago · link · parent
Intercalation is way more complicated than just some flat pi-bonded moieties. If that's all it took, we'd see everyone getting cancer like...rats...oooohhhh, I wonder...
Maybe rodents (especially Sprague rats) are way more vulnerable to intercalation? That would explain why so many things cause cancer - weak recovery mechanisms for DNA replication errors. I need to look into this further.
Anyway... the pattern I see across known intercalators is large, multi-ring (3 or more) fused flat structures. Like PAHs.
comment 5y ago · link · parent
1) humans consume ~5000 tonnes of the stuff, which apparently causes multiple kinds of cancers in rodents, and it's also super bad for humans, but despite its ubiquity we haven't seen that signal because...?
2) rodents with a lifespan of 1-3 years get cancer super-duper easily
Rodent models are easy. Easy != simple.
comment 5y ago · link · parent
We don't actually know this. Yeah the cerebellum and substantia nigra and other regions preserved across mammals are probably conserved in the neural structure as well. But the human neocortex has quite radically different gene expression compared to rats (which results in the morphological differences). There very well could be "more processing power per neuron" in humans vs rodents.
comment 5y ago · link · parent
1507.
Locations of Riemann zeros accurately measured(phys.org ↗)
2 points · by kortex · 5y ago · discuss
comment 5y ago · link · parent
HRVs only recover sensible (thermometer) heat but don't affect latent heat (humidity heat of vaporization) so there exist enthalpy recovery systems. However these run into icing problems in winter, when they would be most helpful. It's an area of active research.
Ground-source heat pumps are the best thing ever for temperate regions, since you can actually store heat/cold between temperature cycles and even seasons, but rather expensive to install, unless you are already putting in a leach field. I'm hoping for some advances in tech to make laying geothermal loops cheaper, I.e. cheaper and easier directional drilling.
E-glass (low emissivity) is increasingly popular. There's a cool trick where you have clerestory windows or skylights with e-coating to let in light but less IR. Then your south-facing regular windows have regular glass and big overhangs. This gives you year-round natural light and winter-only solar gain.
comment 5y ago · link · parent
Earthships as imagined by Michael Reynolds are super specific to New Mexico. The design works well there, but if you try those techniques in basically any other part of the country, you are gonna have a bad time.
I think the biggest takeaway from the philosophy is "actually think about design and construction based on the location, rather than what is common/easy." Stick-in-place construction is widely common in USA, even when that design is an antipattern in a climate (such as the southwest).
See: why the standard Earthship (tm) (yes it's a trademark, anything else is just Sparkling Sustainable Architecture) designs are a bad choice for cold climates.
https://www.ecohome.net/guides/1161/do-earthships-work-in-co...
tl;dr - they are a design stuck in the 70's in NM. Eco architecture has advanced significantly since then.
comment 5y ago · link · parent
I just stayed at a beach house in Florida for a bit and the walls are single-layer with zero insulation anywhere. The a/c runs basically 24/7. And this is apparently really common in the south. Like, do people think "insulation = makes inside warm" and not make the connection that it keeps warm out in the same way? It's a 1000sqft duplex bungalo that sold for like $800k at the trough of the housing bubble pop so like, materials/construction cost is a fraction of the value. Just like short-sighted decisions like this, everywhere.
Overall, the best solution is to design buildings in ways that facilitate passive temperature regulation, such as eaves over sun-facing windows that block high-angle direct sun, orienting and windowing the building so it's easy to get a cross-breeze in the prevailing wind (around here they love to put windows on the front/back and nothing on the sides, ugh) and locating such that deciduous trees are on the south side to block sun in summer but allow it in winter.
One of the easiest "retrofits" simply requires a programmable thermostat, even a manual one. Simply cool the building more overnight to build up a "store of cold".
comment 5y ago · link · parent
People aren't worried about the climate or the environment changing enough to directly cause humans to go extinct. More like climate change (plus our huge population) leading to increased resource contention, leading to increased conflict, leading to a superweapons conflict, ergo it's an existential threat.
> Nuclear is extremely expensive and prone to going wrong.
This has been debunked in this thread and countless others. It's a solvable problem, but we in the US lack the will.
> To grab that carbon you need to spend at least as much energy as you got from the combustion.
Eh. See solutions involving olivine. It's best to not release it in the first place. Which is why...
>>We need to use electric cars
>...this solves nothing.
... is bupkis. The fewer ICEs releasing carbon, the better. EVs can be powered by renewables. ICEs cannot (economically) be powered by renewables. EtOH is trash, biobutanol and Fischer-Tropsch gasoline are too expensive and likely will stay so.
Addendum on nuclear since it keeps coming up. Five tips from HN's favorite lightning rod mogul would dramatically improve the nuclear industry:
1. Make your requirements less dumb. How much design and regulatory cruft and holdover do we have from the beginning of the atomic age? Not suggesting "move fast and break things" but I am suggesting iterate at the small scale and never stop trying to improve safety, cost, and speed, in that order.
2. Try to delete processes and steps. Smaller, more modular reactors. Use fewer parts, and more off the shelf for what you need.
3. Simplify.
4. Accelerate cycle time. This goes hand-in-hand with Simplify.
5. Try to automate it. This is least essential, and doesn't mean just robots, but more jigwork and assembly line, vs nonrecurring engineering, the better.
comment 5y ago · link · parent
Also those species names aren't really even guaranteed to be accurate because biologists, botanists, geneticists, etc, can't even really agree on where to draw the line.
There's a whole genre of Brassica memes and it's fantastic.
https://mobile.twitter.com/faineg/status/1386522223901618177...
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
I can make 2 swaps to go 1,2,3,4,5 -> 1,4,3,2,5 -> 1,4,5,2,3. That's an even permutation.
The order (size) of A_n is the number of even permutations of n unique elements. The orders are as follows:
A2: 1
A3: 3
A4: 12
A5: 60
A6: 360
A_n: n! / 2
The "solvability" of a polynomial depends on the the degrees of freedom and number of constraints. Quintic is where the number of degrees of freedom blows up and you can no longer factor out roots in such a way that you can uniquely factor the polynomial. Quadratic is basically trivial. Cubic cannot be directly factored, because you have 3 variables and 2 equations, but you can "factor out" a quadratic that you can solve, and then solve the cubic. Quartic is the same, you end up with 4 variables and 3 unique equations, you can factor out a cubic, which you can solve, etc. Quartic, you have 4 equations to solve and...something like 30 variables (or maybe it's 60. It's some way more than we can factor!).
https://en.wikipedia.org/wiki/Alternating_group
https://math.stackexchange.com/questions/550401/intuitive-re...
comment 5y ago · link · parent
I think one thing that could have be easily done to help is emit leap-sub-seconds (100-500ms) more frequently, so we would have more chances to detect bugs per year. Alas, leap seconds are baked in as int8 so that's never gonna happen. That's also totally not the mindset when these systems were designed, which is kind of my point. The right kind of forethought could have avoid much of this pain.
Option 1: We have 2 time standards out of sync. Let's make an announcement yearly-ish and add 1 second of offset that everything has to obey.
Option 2: We have 2 time standards out of sync. Let's continuously track the offset to (whatever precision) and this offset is just always part of the correction (like we do time zones), rather than this value which you just assume is static 99% of the time.
comment 5y ago · link · parent
There's even plenty of means for backwards-compatible strings and arrays, such as sds.
But really the point was more to "this should have really been addressed decades ago."
comment 5y ago · link · parent
C uses (pseudo)fat pointers all the time, any time an array(pointer) is passed with size (as a second argument). It's just not as hygienic. Just think of all the dev hours, all the painful debugging, all the exploits prevented, if in the 80's they put out a stdlib with a fat pointer buffer type. Can't argue they didn't know better, as plenty of languages had them by then.
comment 5y ago · link · parent
Or like my spouse likes to joke when we get in the car to leave and forgot something in the house: "it's too late, the door's shut."
I get why null terminated strings once existed. It's baffling that they continue to exist 50 years later. Not to mention, they don't even work on data buffers, so you need fat pointers anyways!
comment 5y ago · link · parent
That's what it looks like; at the very least, they are extremely short staffed vs the problems they want to tackle. They have been at it for years and have barely made progress in terms of the actual wiki.
Their main problem right now is you need a pretty full-blown machine shop and access to lots of materials to make the machines. That's fine for industrialized countries, but if you want to help mechanize the developing world, you are probably better off making a tractor which can be kitbashed from a Toyota Hilux.
What they ought to be focusing on is the "API" - a standard spec for attaching X to Y. A POSIX for PTOs, if you will, but for more parts than just the PTO. A standard rubric for machines and accessories across the farm, like Morse taper but wider in scope.
Regardless, I'd love to see that program get an infusion of cash and talent, and get a full tractor design out the door.
comment 5y ago · link · parent
comment 5y ago · link · parent
It's "cmake in role only" - both are build systems, that's where the similarity falls apart.
The syntax is very pythonic, however, I think that's true of many ergonomic centric formats.
comment 5y ago · link · parent
Python exceptions are only slower on the exception. They are almost exactly the same speed on success.
LBYL forces you to look for all the ways in which you might leap. EAFP lets you handle even unexpected conditions. The classic use case is checking if a condition exists, then doing the thing, except the condition changed between check and run. So you gotta catch anyways.
I've been moving away from this actually and towards a rust-like Result[T, Exception]. I'm using the package called "result". For fastapi api_request -> handler -> some_func_chain -> return response_to_client patterns, if something barfs, you normally get a 422 and useless "Internal server error". It's far simpler imho to map over some Results and then pack the error(s) into a more useful response.
Also testing is just a lot simpler.
comment 5y ago · link · parent
- Entrypoints? Getting there.
- Namespace packages? Ehh. Murky
- site-packages/mypackage.pth - I get it but I don't know why sometimes it appears and other times not
- c extensions? Ehhh.
- .so loading? Kinda magic.
- the confluence of editable installs, namespace packages, foo.pth, PYTHONPATH, sys.path, relative imports, entry points, virtualenvs, LD_LIBRARY_PATH, PATH, shell initialization, setup.py vs pyproject.toml? Um yeah that's some heavy wizardry.
Tbf, you don't need the vast majority of that to be effective in python.
comment 5y ago · link · parent
Dependency resolution just works. Editable installs just work. Building just works.
Before that, I only had problems with virtual envs once, and it was due to bad hygiene with system python libs and deps. Moral of the story: don't. Unless it's necessary to bootstrap virtualenv or compiled libs, don't system install python. Good ol' get-pip.py and virtualenv.