Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions

Submissions

comment 5y ago · link · parent

If that hypothesis were true, it would implicate not just phenylalanine, but dopamine, epinephrine, diphenhydramine, ibuprofen, paracetamol, limonene, vanillin, cinnamaldehyde, and literally thousands of other different molecules, natural and synthetic, we constantly interact with. Heck, most polyphenols have pi-conjugation, and those are widely thought to have antioxidant and anticancer effects. Oh and I completely forgot about the indole moiety (tryptophan).

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

Exactly. Anyone worried about aspartame but still consuming fried/grilled/brazed food (basically anything besides blanching) is kinda missing the point.

comment 5y ago · link · parent

Occam's razor:

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

> Human neurons aren't much different from mouse neurons

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

Eh, I would contend that poorly done semver is still better than date (only) versioning. You can always have date and/or hash as part of the metadata string. As long as you are honest with your team, saying "these are a best-effort to follow semver" it's clear what you are doing. If you are sub-1.0 basically every release is a minor bump anyways.

comment 5y ago · link · parent

> In an unusual study, nine people who received these monoclonal antibodies were deliberately exposed to mosquitoes carrying the parasite that causes malaria.

How the heck did this get past IRB? Is malaria treatable enough that exposing people to it can be done ethical?

1507.

Locations of Riemann zeros accurately measured(phys.org ↗)

2 points · by kortex · 5y ago · discuss

comment 5y ago · link · parent

Heat/enthalpy recovery ventilators are a big one. In New England, you want maximum insulation and minimum air leakage. Without mitigation, this leads to poor air quality. Therefore you want air changes, but you don't wanna vent all your heat (in winter, cold in summer), so you exchange heat between incoming and outgoing air.

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

If designed properly, climate impact should be far less than a normal home, that's one of the main points (aside from the long-term climate impact). Locally sourcing the materials is a big part. Many try to get super-hippy-dippy and rely on manual wall construction with heavy emphasis on rammed earth, I think this is great from an impact perspective, but not really scalable or appealing to a wider audience. But if concrete can be augmented with local dirt (I.e. concrete cavities filled with earth as a thermal mass), this is an excellent compromise. The tire/bottle walls are really dumb, people need to stop using them (unless you like the aesthetic I guess, or have way more time than money, or feel like financing a lot of medium-skill laborers).

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

There's a lot of low-carbon climate control solutions ranging from relatively cheap and simple (though some require design from the get-go), to elaborate, but still easy compared to the overall task of home construction, that we just...don't use regularly and it baffles me.

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

https://www.weather.gov/ama/heatindex

comment 5y ago · link · parent

>>Humanity is going to go extinct

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

Oh yeah. Brassica rapa has your turnip, napa cabbage, bok choy and rapini/rabes. Brassica napus gives canola oil, swedish turnip, and rutabaga. Mustard comes from B. juncea, B. nigra and B. hirta.

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

What? Who eats hotdogs and food carts because of the mystery? I eat hot dogs cause they are fast, cheap, and delicious tubes of fatty salty meat. I eat food cart food cause it's just fucking delicious. I don't know the exact spec, but the Halal meat-on-a-spit is almost always lamb and beef doner kebab. The sauce is mostly yogurt, mayo, dill and oregano. I make my own sometimes.

https://en.m.wikipedia.org/wiki/Doner_kebab

comment 5y ago · link · parent

Species doesn't mean as much in the plant world. Cabbage, broccoli, cauliflower, kale, Brussels sprouts, collard greens, kohlrabi, and gai lan are all Brassica oleracea. You can have specimens that are even technically the same cultivar but wildly different alimentary character.

comment 5y ago · link · parent

Gonna butcher this, but it's good practice, so I'm gonna take a stab at it. The roots of polynomials are intimately related to the Alternating symmetry groups. These describe the ways you can permute a set, specifially A_n describes the even permutations of a set of n elements. The even permutations of a sequence are those obtained by making an even number of transpositions ("moves").

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

(One of) the biggest pains with leap seconds is they are so infrequent and so I/O-bound, that they are almost impossible to test. What is less functional than relying on a random change in a radio signal below the noise floor coming through dedicated hardware, which is finicky and doesn't work well indoors (E-coated glass windows? Fuggetaboutit).

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

No, not by legal fiat, but we should always be given an option to disable upgrades (and nags).

comment 5y ago · link · parent

Obviously not with that attitude. I'm not even talking about back-porting. I'm saying going forward, in new drivers and extensions, and new growth where it makes sense to do so.

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."

https://github.com/antirez/sds

comment 5y ago · link · parent

Relevant in 2009, relevant today: C's biggest mistake: https://www.digitalmars.com/articles/C-biggest-mistake.html

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

That argument sounds akin to "Well people are used to driving without seatbelts, it'd be painful to make them switch now."

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

> I think the motive force behind OSE is basically one guy).

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

This app is phenomenal! So far it's picked up everything I've thrown at it. Can't say that of the other two plant ID apps I've tried before. I think it uses geocoding to some extent - it asked for my location (which is fine by me) but it required a leaf, fruit, and bark pic to figure out Northern Catalpa, which isn't common around here. Everything else has been leaf and maybe a fruit or whole plant pic.

comment 5y ago · link · parent

That doesn't strike me as a good characterization. Especially because both Python and Cmake are quite imperative. Meson is declarative with an emphasis on immutability.

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

This is excellent! I love the branding. There's such a niche for this sort of thing. I used to feel like I didn't "fit it" at most companies, because I tend to be such a generalist and resist being typecast. I can see this as super empowering for many folks.

comment 5y ago · link · parent

Well, firstly input.get("foo", {}).get("bar", default) is a bit nicer, imho.

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.

https://pypi.org/project/result/

comment 5y ago · link · parent

Animals other than Humans and their livestock are practically a rounding error when it comes to mammalian mass on land. I'm not too concerned about the climate impact of wild pigs.

https://xkcd.com/1338/

comment 5y ago · link · parent

I totally read it as "Vincente" and didn't even notice there was no n until you pointed it out. Brains are super weird.

comment 5y ago · link · parent

I have >10y python exp. Vanilla import system? I grasp it quite well.

- 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

Honestly I have had very few issues with poetry, and the ones I've had, it's because I'm trying to use plugins, which are alpha right now.

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.

1
505152
85