8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 5y ago · link · parent
b) protobuf libraries and protoc have given me way more grief overall than json (python, js, c++)
If your workflow already supports it, I can see it being useful, but it's got a pretty steep learning curve to be honest, certainly more than json, despite the ill-implemented libs out there. If I wanted a binary format, IMHO I'd go for msgpack first, and reach for protobuf if that didn't work for me.
comment 5y ago · link · parent
The gimmicky glasses barely stop any blue light at all.
The effect of bright blue light on preventing myopia settles down once you reach adulthood. There's no evidence it helps after that, your corneas have already set.
comment 5y ago · link · parent
Each of those points has enough nuance to fill volumes of research papers.
comment 5y ago · link · parent
Also, semi-related, eyes are less sensitive to blue light, so if you want to achieve the same effective perceptual brightness, you need more photons if it's a higher color temperature.
comment 5y ago · link · parent
Also plenty of people up north have rather lax opinions about code enforcement. Been to many off-grid residences where code enforcement is a quick glance and a tire kick.
comment 5y ago · link · parent
I have been under the operating assumption since circa 2006 that anything done in a browser is potentially sent of somewhere to somebody's server. If I want privacy, I use tor.
Anything that's not the body of an https request is at minimum going to be logged somewhere.
comment 5y ago · link · parent
I see this a lot, and I don't blame folks for having this stance. It's taken me over a decade to dial in my workflow.
Quick rundown:
- don't use python2. Ever.
- don't use the system python, or brew python for anything other than bootstrapping
- only use `pip install --user` for exactly one thing: `pip install --user pipx` when you don't have brew
- never, ever, ever `sudo pip` anything. No exceptions.
- use pyenv to manage your python versions.
- use `pipx` to install stand-alone CLI tools, like virtualenvmanager, poetry, black, mypy.
- always develop in virtualenvs. No exceptions
- prefer installable python packages over scripty standalone .py files
- using PYTHONPATH is a smell
- poetry is likely the future of tooling, but it's not mature enough to be considered best practice for python beginners just yet. Stick with pip if you are uncertain.
- use lockfiles for writing applications but not writing libraries
- editable installs are a double-edged sword
comment 5y ago · link · parent
I harbor some slightly more radical opinions in that I think the whole dark energy hypothesis is broken, hell I'm not even fully convinced that the universe is accelerating in its expansion globally, and therefore the big lambda term may be way off (there are many potential other explanations for the supernovae curves out there). But I'm an engineer not a pro physicist, so my headcannon isn't worth much :).
comment 5y ago · link · parent
Xenon experiments have been undergoing a bit of a crisis of faith as of late. Each iteration is a cycle of of "we predict dark matter in this energy window" -> find nothing out of place -> "well we can't rule out the long tail" -> build a bigger, more sensitive xenon detector.
Grossly oversimplified and it's been a hot minute since undergrad. But the gist is WIMPs are excluded from more and more regimes and they are running out of places to look.
comment 5y ago · link · parent
I read "inject" as "ingest" at first and was like, wait isn't the point of shrooms/tea ingestion? Important distinction!
Yeah don't inject shroom tea (1). Don't inject anything that wasn't GMP prepared (by reputable companies ) (2)
1 -https://www.livescience.com/magic-mushroom-injection-case-re...
2 -https://en.m.wikipedia.org/wiki/New_England_Compounding_Cent...
comment 5y ago · link · parent
I'm all too eager to deprecate my box o' rando mini/micro/meso USB A/B/hard drive cables.
comment 5y ago · link · parent
2) You absolutely can plug the wrong IEC13/14 cable in to incompatible devices, or pass more capacity than it's rated for. For example, I've seen equipment with IEC14 sockets that only takes 120V (not SMPS), nothing stopping you from plugging in a UK240xIEC13 and letting some angry pixies loose.
Is that IEC compliant usage? Who knows, but it's convenient so manufacturers do it anyways.
comment 5y ago · link · parent
B) If you did have a $20 microcontroller for Canbus control of a window motor driver but it saved $19 in extra wiring/labor (driver controls usually route to all windows), provides reliable debounce, automated one-push-to-open, and allows things like holding keyless lock to close all windows, it's totally worth it.
comment 5y ago · link · parent
Repeat for manifold air temp, exhaust temp, emissions, rev limiter, etc., and as you mention, make that 3x for redundancy. Now you have hundreds to thousands of components, in a high noise, vibration, and temperature environment, and you have something which is about as efficient as an 80s car. And you can't as easily simulate it cause it's analog.
Or just use some digital chips and simulate all the tuning.
comment 5y ago · link · parent
https://www.nature.com/articles/s41467-020-19057-5
> It's a plausible hypothesis
It's extremely plausible, and been demonstrated before in influenza, poxviruses, and other viruses. The human challenge trials necessary to prove a dose-dependent relationship between fall height and lethality haven't been conducted, either, but we have sufficient evidence from longitudinal and natural experiments to draw firm conclusions.
comment 5y ago · link · parent
On the other hand, molnupirivir is a nucleoside polymerase inhibitor, with a slam-dunk mechanism of action, evidence of efficacy against a broad range of viruses, and increasingly compelling human safety profile.
I don't know if Merck is stalling but the ivermectin case is certainly less compelling.
https://www.science.org/content/blog-post/ivermectin-covid-1...
comment 5y ago · link · parent
> During the meeting, Dr. Painter and Mr. Clerici presented a drug, EIDD-2801, as a “cure all” for influenza, Ebola, and nearly every other virus.
> They requested that BARDA urgently invest millions of dollars into their “miracle cure.” Emory’s presentation included limited data, and no data at all from human trials. Dr. Bright asked targeted questions to understand the science behind the drug and its potential to safely treat patients. Dr. Bright knew that similar experimental drugs in this class had been shown to cause reproductive toxicity in animals, and offspring from treated animals had been born without teeth and without parts of their skulls. Dr. Bright accordingly asked Dr. Painter and Mr. Clerici about clinical trials, including whether Emory had conducted a reproductive study for toxicity, which they had not.
comment 5y ago · link · parent
> A company called Pharmasset Inc. (a hepatitis C drugmaker Gilead bought in 2011) investigated molnupiravir’s main ingredient around the turn of the century, but it abandoned development over concerns that it was mutagenic, meaning it could lead to birth defects.
Actually the article is slightly wrong, mutagenic is causing mutations in the host's germ or somatic DNA, teratogenic is causing birth defects. Most mutagens are teratogens too. From the Dr Bright complaint filing, Bright was concerned about reproductive toxicity (teratogenicity) so I'm not sure if the article meant to say teratogenic, or the concern is that the drug is both mutagenic and teratogenic (polymerase drugs tend to be both).
Subsequent tests seem to have shown a lack of mutagenic activity in hosts (eg Painter 2021), at least enough to get through safety trials, which is excellent. But looking at it from a structural activity point of view, molnupiravir is way, way more likely to have a DNA-affecting mechanism than mRNA. It has also shown mutagenic effect in vitro [2]. Nonetheless, a small increase in cancer risk years down the road (especially in the over-70 crowd) is likely worth the 50% (!) reduction in mortality.
It's probably fine, as long as you aren't pregnant. Like all drugs, it's about risk/benefit ratio. The covid vaccine has a much more favorable profile and should still be the preferred option. I doubt it'll be approved for pregnant women without a reproductive toxicity study.
1 - https://www.bloomberg.com/news/features/2021-03-25/merck-mrk...
2 - https://pesquisa.bvsalud.org/global-literature-on-novel-coro...
Search for 'β-D-N4-hydroxycytidine safety' if you wanna dig deep.
comment 5y ago · link · parent
Honestly I kinda hate that saying. It's like "it's not the fall that kills you, it's the sudden decelleration on impact." For most situations people encounter, it's high voltage sources with more than enough power which are dangerous.
comment 5y ago · link · parent
There's even more sophisticated wavelet denoisers out there that effectively do the black circle over peaks trick, but automatically and more precisely.