8,495 karma · joined Feb 1, 2017 (9y ago) · 2,551 submissions
comment 5y ago · link · parent
That allows an attacker to potentially append some nasty code outside the container and get password-less sudo. Unlikely? Very. But security is all about layers.
I've seen full-fat Ubuntu containers with uid 1000 which is in docker group on the host and ~ mounted to run some python flask app, in production.
comment 5y ago · link · parent
comment 5y ago · link · parent
https://www.caffeineinformer.com/cocaine-energy-drink-is-bac...
comment 5y ago · link · parent
First, methamphetamine is not amphetamine. Meth belongs to the broad class of molecules properly known as "substituted amphetamines" or "phenethylamines." No one in-the-know refers to meth as "amphetamine" by itself, though some do broadly refer to assorted substituted amphetamines as "amphetamines" but this is pretty sloppy and if you want to refer to the class and "substituted amphetamines" is a mouthful, just use "phenethylamine" (PEA).
The name, of course, one of the most clever elisions in chemistry, Alpha-Methyl-PHenyl-ETthylAMINE, refers to the methyl group alpha to (the 1st substituent on the carbon backbone) the amine. This makes PEAs structural analogs of dopamine (DA, aka 3,4-OH-PEA) and norepinephrine (NE, aka 3,4,β-OH-PEA), and their the ability to modulate DA/NE receptors is what gives PEAs their general stimulating properties.
Meth-amphetamine has a methyl group on the amine. This seemingly small structural change makes a big difference pharmacologically. Methylation of amines makes drugs more fat-soluble, which makes them better at penetrating the blood-brain barrier and cellular membranes, while inhibiting its breakdown and clearance. This makes METH harder hitting, better at receptor binding, faster acting, and with far stronger effects than AMPH. Modelling addiction is tricky, but we can loosely approximate how strongly habit-forming a drug can be by multiplying the blood plasma curve by an exponential decay. The faster and higher a drug peaks, the more likely it will be addicting.
METH's lipophilicity also means it tends to cause DA to leak into places it shouldn't, resulting in unwanted chemical side-reactions which can damage neurons and glia, making it more toxic than AMPH. (this is a huuuge oversimplification; there are reams of studies on the mechanism of METH toxicity, and yes the literature uses METH as the abbreviation, I'm not being dramatic by all-capsing it)
Together, this makes METH much more dangerous than AMPH, and hence why AMPH and prodrugs such as Vyvanse (lysine-dexamphetamine) are commonly prescribed for ADHD, sleep disorders and eating disorders, while METH (under the name Desoxyn) is much more obscure medicinally (but still used! In fact another comment in this post mentions it).
Both are DEA Schedule II. Scheduling has basically no correlation to actual addictive potential or harm in any way. Psilocybin is SchI, has virtually no risk of addiction or overdose, Zolpidem is SchIV but is notoriously prone to abuse, and tobacco isn't even scheduled but is exceptionally addictive, causes easily >$100B in costs in USA alone. Yeah, the DEA schedule is kinda useless IMHO, but I digress.
AMPH can be abused and sold on the street, but that's true of literally any drug that humans find interesting to consume, including weak PEAs like bupropion, and OTC drugs like diphenhydramine and dextromethorphan.
Bottom line is - amphetamine is safe and effective when used as prescribed for improving focus and wakefulness. Lumping it in with METH or other street drugs is chemically imprecise, and does a disservice to those struggling with executive disorders. Apple makes it seem like just the name Amphetamine implies inappropriate drug consumption, which adds to the stigma those who benefit from amphetamine treatment already experience.
Thanks for coming to my TEDHN talk.
comment 5y ago · link · parent
Bucatini has good sauce absorption but imho its claim to fame is its thickness, mouthfeel, and rigidity, which the author hilariously and accurately refers to as "sentient". It has a mind of its own.
There are two similar noodle shapes, pici and Strozzapreti (literally "priest stranglers") but they are even harder to find.
comment 5y ago · link · parent
But it would break the deadlock we have now in the USA so that's worth experimenting with.
comment 5y ago · link · parent
The taste/quality/mouthfeel definitely went up since v1.
comment 5y ago · link · parent
It really is. Hence why I list it as living up to the hype, you really have to buy in to it to "get" the hype.
There needs to be a corpus of different skill levels of Rust programs to study, not just intro snippets.
comment 5y ago · link · parent
I use Clion which is also super helpful in letting me inspect, autocomplete, and lint code before compiling.
The main rust-lang.org is quite good, but beyond that nothing in particular stands out. But lots of one-off blog posts on specific topics help get through certain blocks, eg how to write traits/impls.
comment 5y ago · link · parent
Rust. It took me a long time to get remotely comfortable, but once it starts to click, it's awesome how the structure guides your development. Worth the investment, but don't expect to be able to grok it immediately.
comment 5y ago · link · parent
There is no reference to the actual poll, so it's not clear what the actual structure of the poll is.
comment 5y ago · link · parent
Give me an indicator that a cell is stale but I don't want eager execution on all the time.
comment 5y ago · link · parent
It does take a certain discipline to make reproducible notebooks. I like to always end the day with a "restart and run all" if possible.
comment 5y ago · link · parent
"You can't put anything on the internet that isn't true"
"Where'd you read that?"
"Internet"
comment 5y ago · link · parent
"Accuracy" is moot here: BBC's headline is misinformation.
comment 5y ago · link · parent
https://github.com/xkortex/passcrux
It's more horcrux-y than TFA in that you need N of M shards to reconstruct. TFA isn't really a horcrux, since there's a 100% dependency on each part of the full password.
Canon doesn't specify how many horcruxes he needs to be reanimated, but we know there is some redundancy due to the loss of the diary.
comment 5y ago · link · parent
Universal:
- apt, yum, brew
Team PATH:
- GOPATH
- CMAKE_PREFIX_PATH
- PYTHONPATH (which Conda, virtualenv, etc modify)
- CARGO_HOME
Team redundant local blob:
- Node
- pipenv
Rust is probably the least-half-assed (most full-assed?) model, with both a sane user-wide default for cache (~/.local/cargo), a way to edit that default, and project location flexibility.
But I actually love the Go notation that I've opted to organize most of my code around the ~/namespace/src/domain/repo scheme. I never lose track of where a folder is :)