Better HN
topnewbestaskshowjobs
Log inSign up

kortex

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

Submissions

comment 3y ago · link · parent

It's most likely the same chemical formula (so yes, "same stuff"), but phosphors vary quite a bit in their quality based on the synthesis conditions (maybe the "same stuff", or may be better/worse quality than UN's batch).

comment 3y ago · link · parent

This completely misses the point of the entire article, which is by/for power lifter and bodybuilders. Obviously there is no way around "lift a heavy bar 3-4x a week." The whole discussion is about whether any of the folk-wisdom/bro-science of exactly how to pick things up and put them down is empirically more effective.

comment 3y ago · link · parent

Yes, steroids are technically illegal, but they are typically Sch 4, and are just about the "softest" kind of illegal. As in, it's pretty trivial to find vendor willing to ship you a kilo of "cellulose" or other paper-thin cover for white powder that will easily skate through customs.

There's near zero enforcement for steroids, so yes it does end up as an open secret.

comment 3y ago · link · parent

I was reading along and thinking to myself "gee, this sounds a lot like Lyme" and sure enough, she mentions she tested positive for it.

I imagine the NIH docs would have thought of that already though. I do wonder if there is an interaction between the wonky IgG/IgM and the spirochetes, that could be studied and lead to insights into Lyme.

comment 3y ago · link · parent

Actual chemist here: it's actually pretty hard to accidentally produce phosgene via chloroform. Obviously don't deliberately try to oxidize chloroform in an unventilated space, but you should be fine in a fume cupboard with basic science hygiene.

Don't attempt this without an understanding of general lab/workshop hygiene (ALWAYS wear glasses, gloves, labcoat or smock, no polyester, use proper ventilation, put hair back). But this is a pretty basic beginner chemistry experiment.

comment 3y ago · link · parent

> The poor efficacy of DMSO in assisting drug translocation through skin

Oh yeah, for the observer gallery: The reason DMSO (and DMF, DMAc, HF, to an extent haloforms, and polar aprotic solvents in general) are dangerous is that they can dissolve and transport small molecules (under 1000 daltons, possibly more) through your skin and into the bloodstream. They go straight through nitrile, vinyl, and latex gloves. You need to match the glove to the solvent. For these strong solvents, you want aliphatic polymers (LDPE) or laminates (mylar aka aluminized polyester).

Actually one of the best protection schemes is the shoulder-length polyethylene gloves used for ...ahem... bovine obstetrics, with nitrile over that for grip and to keep the cow glove in place. Looks hilarious but great for pouring nasty solutions or weighing dusty powders.

https://www.amazon.com/livestocktool-com-Disposable-Artifici...

comment 3y ago · link · parent

I mean, pure DMSO on the skin feels fine, albeit not the safest.

comment 3y ago · link · parent

More or less, but with caveats. It's true that many smells (eg H2S, HCN) are detectable before toxic levels, and then become un-smellable at higher levels (saturates and depletes olfactory receptors). But you should still worry about certain terrible smells, because that's often the first sign that something is going wrong. Containment failure, reaction runaway, maybe someone dumped the wrong thing in the wrong waste barrel and now it's reacting, etc.

There's also things which are toxic at the same levels as olfaction, and of course there toxins which are dangerous by the time you have smelled them, or you lack the gene to smell. Most really smelly things aren't acutely toxic like that though. Take DMS (dimethyl sulfide, byproduct of Swern oxidation. Smells like boiling cabbage at low concentration, and liquid ass at high concentration. If you are running a Swern in a fume hood, you are likely quite well-contained even if you've made the whole lab smell like a cesspit.

When we ran cyanation at the kilo scale, you better believe we had HCN detectors all over the place, wore full-face respirators, etc.

comment 3y ago · link · parent

I'm a bit rusty (worked as a chemist 2011-2015 before going into compsci) but I believe that this reaction produces some chloroform (enough that you should not mix ethanol and bleach inadvertently), but mostly as a side-reaction. The main reaction will be oxidation to acetaldehyde and then acetate. But it's slow, you probably get a bunch of side-reactions, etc.

Acetone is a facile haloform reagent because the carbonyl acidifies ("loosens") the alpha hydrogen which allows the chlorine to attack the carbon.

comment 3y ago · link · parent

Ether and chloroform both have relatively narrow therapeutic windows - the toxic dose is very close to the minimum active dose. But they were one of the few true anaesthetics at the time (late 1800s). Alcohol was also used for surgery but it's slower and inhibits clotting. In fact often it'd be a combination of all three, known as ACE [1]. This worked okay-ish, as the GABA-ergic synergy was able to suppress consciousness and memory without poisoning the patient's heart or liver (as) severely.

The other big issue was flammability.

Ether still takes enough time to reduce consciousness that you have a good minute or two (minimum) of struggle. It's not "towel over face, muffled screaming, then sleepytime". But an attacker with advantage of surprise and a decent grapple could usually get the target dosed before they could break free.

[1] https://en.m.wikipedia.org/wiki/ACE_mixture

comment 3y ago · link · parent

> Join us for our continued lecture series, covering topics such as

Please share/blog these! I too have several degenerate chemistry undergrad stories.

> The poor efficacy of DMSO in assisting drug translocation through skin

Yep. During one particularly sleep-deprived finals week, and after recently learning about DMSO's transdermal transportation abilities, my friend and I tried making caffeine skin patches. It worked...vaguely increasing alertness. However, it itched and burned worse than just about anything I've ever experienced.

Also I can concur that chloroform isn't some instant knock-out juice. But one time, a lab mate and I were running massive columns and had accumulated several hundred liters of DCM (dichloromethane) fractions in flasks (yes, it was a loong day). Despite the walk-in hoods running at full bore, by the end of the day, coworker and I were loopy, giggly idiots. Was it above OSHA PEL? Possibly, but probably not. I think the disinhibition was a combination of energy drinks, fatigue+boredom of running hundreds of fractions, and suggestibility, as much as it was the fumes. But my lab manager did walk in at one point and immediately recoiled from the fumes (which we were nose-deaf to at that point).

comment 3y ago · link · parent

There's only one thing on that list which isn't food/seasoning/salt: methylcellulose. However, it is derived from plant cellulose, and is basically a semi-synthetic equivalent of pectin, a natural product (or other dietary fibers). Methylcellulose is better than pectin because it's just easier to get standard properties.

There's nothing harmful about it and the body treats it exactly the same as pectin - it passes straight through like other dietary fiber.

comment 3y ago · link · parent

That still seems like two primary groups: meat simulacra and simply veggie-based primary protein. The "try to approximate meat" is usually the main driver of cost/ingredient complexity.

comment 3y ago · link · parent

Rimworld nails the best UX: Boolean settings are expressed like:

    Choose language      [English]
    Run in background    X
    Development mode     v
"v" indicates a check mark; HN won't render that symbol. The labels are left-justified and the toggles are left-justified in a column next to it, along with drop-downs. The X's are red and v's are green. Clicking X/v toggles state. The label is usually positive valence, but some are negative. "Disable tiny font" and "Disable game-specific cursor" are the only negatively worded toggles I could find.

Nested menus (like ingredient lists) have a third state, yellow "~", which indicates some sub-items are ticked and some are not.

It ticks all my boxes (pun intended) for good UX: unambiguous what the current state is, indicates state in multiple modalities, the label key/value reads left to right, keys are values are all justified nicely.

The only slightly bad thing is red/green color blindness and non-universal association of color semantics. But since it's symbol plus color, it's still unambiguous.

comment 3y ago · link · parent

Here in USA, single-gang switches have "on" and "off" embossed on the switch, so the state is shown based on the position (oriented up is on). Multi-gang switches have no embossing.

comment 3y ago · link · parent

Well yeah that's kind of what I mean. On some libraries you can generate and encode just the timestamp part.

comment 3y ago · link · parent

Promising, thanks!

I had a charcoal grill like this once and it worked quite well, but something stole it off my lawn literally between cooking burgers and cleaning up. Must have still been hot. Anyway, I tried replacing it with a similar model, and convection was terrible. So it seems subtleties in the design which make a big difference.

comment 3y ago · link · parent

I imagine it's easier to purify the oil and burn the oil with high efficiency, than to burn solid garbage and filter the flue gas.

comment 3y ago · link · parent

An annual problem I have every summer is dealing with smoky campfires when camping. Your bog standard cicle-of-rocks or metal ring fire pit is crazy inefficient, and unless you run continuously in the offgassing phase (bright, tall orange flames, as the wood gas burns off), with lots of convection, you inevitably produce a ton of smoke. This is terrible for all folks, but my asthma-prone lungs get especially cranky. So you either have to continuously feed wood (inefficient and costly), or play the game of shuffling upwind constantly.

I usually end up tinkering and modifying the fire pit to try to eek some better air flow patterns, but it's usually a lost cause with open pit fires.

I might just cave and get one of those stainless inserts, but what I'd really like is something flatpack that I could assemble into a more efficient burner. I've seen small ones [1] that slot together to make a rocket stove, but nothing campfire sized.

I wonder how much demand there would be for such a thing. Seems like there are several products for general "firepit" designs, but without a chimney, these suffer from most of the same problems as open pits. [2][3]

Edit: oh, maybe a "tent stove" is what I'm looking for.

[1] https://www.amazon.com/Marsh-Kettles-Flat-Rocket-Stove/dp/B0...

[2] https://www.amazon.com/Flat-pack-firepit-grill-carry/dp/B086...

[3] https://www.etsy.com/listing/799723294/flatpack-firepit-port...

comment 3y ago · link · parent

Another option is to generate a ULID and just take the timestamp part (6 bytes, I forget how many characters). Uses Crockford Base32 already so no need for the custom alphabet.

comment 3y ago · link · parent

> By deciding where to scope the variable with the destructor/drop function, you've already made a manual decision about memory management.

That's not really what's meant by manual memory management. MMM almost always means things like malloc/free, arenas, buffers with pointers, etc. I would not call stack allocation "manual", and IMO Rust's system is closer to stack allocation than it is to either manual or automatic memory.

In terms of DX, bugs and ergonomics, you only really have two schemes: ones which requre some kind of free() call and thus permit use-after-free bugs (manual) and those that make it impossible (ignoring weakref and friends). Rust is not manual by virtue of no free() instruction. In the same breath, "automatic memory management" is not an exact antonym of manual.

comment 3y ago · link · parent

Adding to (2), I've worked with liquid-liquid heat exchangers (large heat/chiller units for chemical reactors) and they are super quiet and efficient, but boy howdy, are they messy and high maintenance. The glycol lines leak, the water supply leaks, the water needs to be screened and the screen needs to be changed.

Air-sourced exchanger individual appliances are just so much simpler for the consumer.

Not dissing ground-source heat pumps. Those are fine, since they are typically a plumb-once-and-done. You just generally don't want separate appliances which quick-connect.

comment 3y ago · link · parent

Related:

https://ai.facebook.com/blog/making-floating-point-math-high...

Which is meta's 8 bit data type originally called (8,1, alpha, beta, gamma). I think they realized that's a terrible name so I think they are calling it Deepfloat or something now.

comment 3y ago · link · parent

At FP2, you are probably better off with {-1, 0, 1, NaN} (sign+mantissa) rather than sign/exponent. You basically bit pack.

FP3 gives you sign, 1x "exponent", 1x mantissa, so still kinda bit packing.

I could see FP4 with sign, 1x exponent, 2x mantissa. Exponent would really just be a 4x multiplier, giving +/-0,1,2,3,4,8,12

Or invert all those, so you are expressing common fractions on 0..1

comment 3y ago · link · parent

Can anyone give a quick synopsis of why this RSGI is needed? Can't ASGI code be called from a Rust socket termination, a la Gunicorn?

comment 3y ago · link · parent

You would not do it by pixels, it's pure math. I'd have to sit down and work through the actual math, but between convolution and affine transformations, I'm pretty sure there should be a way to compute the intersection with a formula for each piece type.

Knight is the easiest, that's just checking (lol) the distance to see if 5-r/2 <= d < 5+r/2.

comment 3y ago · link · parent

Everyone always talks about the Drake equation and how life, let alone intelligent life, ought to be ubiquitous in the galaxy but like, there's no guarantee of any of that. We could be the only sentience for many light-years.

comment 3y ago · link · parent

Absolutely fucking don't. In high school, my, uh, friends tried out many of the experiments in it, in ways we "thought were safe". I later got a degree in chemistry and learned actual lab hygiene, and looking back, hooo boy, it's terrifying all the ways in which things could have gone wrong.

Like nearly burning down my friend's garage, were it not for some quick thinking.

By all means, amateur chemistry is a great hobby, and I think the 2000s swung too hard into nanny state stuff post-9/11. But anarchist's cookbook is an exemplar of the wrong way to do things. Watch NileRed, NurdRage, That Chemist, etc.

comment 3y ago · link · parent

No, you are correct, it should be some "fairly straightforward"* 2D linear algebra to check for intersection (knight might need a special case). You just iterate all pieces and check for king collision box overlap with certain lines extended from enemy pieces. But OP states they are an EE and aren't the best at version control, so they probably haven't worked through this yet.

* again, straightforward if you have experience with computer rendering, CV, or similar domains, but less so in other domains.

comment 3y ago · link · parent

That's more or less it, as far as I understand. There's the hexagonal lattice of solid water ice, where hydrogen bonds form a 3D tetrahedral structure which is very stable. At the boundary, there are no molecules "above" the solid latice, so those water molecules are held less tightly. The exact dynamics are challenging to predict because we can't exactly see what's going on (most simulation based).
1
192021
85