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

I like protobuf for some use-casess (namely grpc) but a) it's a binary format and sometimes (often times) it's nice to have a text protocol

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

> I highly encourage any greenfield project to look into well designed and better specified alternatives.

Like what?

comment 5y ago · link · parent

What about UV and oxygen? We are well-adapted to those, but over time they degrade our bodies.

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

None of those statements are scientific and scientists don't talk like that, so the onus falls squarely on politics and media. And laypeople. People consume a ton of knowledge from their peers, even before social media.

Each of those points has enough nuance to fill volumes of research papers.

comment 5y ago · link · parent

I don't know why you are being downvoted, this is 100% correct. It's the whole reason we do things like power analysis.

comment 5y ago · link · parent

These seals sleep on the ocean floor? Seems like tempting fate a little bit! Must be some strong evolutionary pressure not to just sleep on land.

comment 5y ago · link · parent

Blue light has more energy per photon (energy is proportional to frequency). Therefore, it is better at ejecting photons from atoms and damaging molecules than other visible light. UV is even worse.

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

The New York blurb seems hilariously off the mark. Well water and septic systems are pretty much the norm around here, and it's solidly suburban to semi-rural. Yeah, NY is strict relative to many states, but it makes it sound like you need some super special variance to have off-grid water and sewage.

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

Maybe this is a bit naive of me, but has anyone been of the impression that keystrokes in an address bar are not public (or at least un-private)?

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

This is great advice. You got to get em young, even under 13 if possible. That's when the magic can have a real impact.

I feel like the discretional income of an older HAM vs a teen is quite different.

comment 5y ago · link · parent

> Dealing with python environments and packages makes me want to avoid python if at all possible.

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

Huh, interesting. You're absolutely right in that they definitely aren't de-factor excludable. They just feel very un-parsimonious, though I can see how they are progress nonetheless if they can form a cohesive theory.

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

Yup. This hypothesis revolves around posited "chameleon-screened dark energy" - particles/fields whose mass and coupling with other field fluctuates based on their surrounds. While I guess this isn't impossible, it reeks of Conveniencium - a field with properties that are non-homogeneous and just happen to match your model at both microscopic and cosmic scales? Pull the other one.

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

> Also, for the love of god, don't inject shroom tea. It only becomes psychoactive if you digest it, and the spores can actually start to grow in your bloodstream which is definitely a bad time.

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

Or, you just buy ones adequate to your needs. Buy one visual style for charging, another for data, or label them if you are really neurotic. You can definitely tell the better ones, they are thicker and stiffer.

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

1) NEMA connectors cannot signal how much voltage/power they can handle though. If they could, there would be more pressure to use a single connector

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

A) I doubt you need a $20 component to register a key press and do some canbus IO

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

Ok, lets assume for a moment that throttle can be modelled by a PID plant (it can't) - is the circuit temperature stable? You don't want the characteristics changing as the engine. Now you need a compensator circuit. What about power supply stability and noise? Car power busses are hella noisy, due to alternator and spark coil. Now you need some serious conditioning and filtering. What about knocking? Modern ECUs adjust parameters on knock detection to reduce the damage from pre-ignition. Gotta put in a control system for that.

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

> Nor is there evidence that symptom severity depends on initial viral load (beyond some minimum threshold for infection).

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

The dosing regime purported to be most effective against covid is way higher than the antiparasitic therapeutic window, so the safety history is not as applicable.

comment 5y ago · link · parent

The problem is that if the in-vitro studies are correct on their dose curves, then the majority of the human trials are at ineffective doses. This doesn't mean they must be wrong, but it's not a good look. If the studies were showing unequivocal benefit, we could overlook the dose curves. But the studies are still quite equivocal.

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

P13-14:

> 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

Molnupiravir, being a polymerase inhibitor (in layman's terms it "jams up replication machinery"), has the potential for mutagenicity. In fact it was dropped by a Gilead subsidiary for this exact reason. [1]

> 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

> In this release, we are re-introducing diagnostic tracking, which was part of Minecraft: Java Edition until 2018.

So it was there, they took it out, now it's back.

comment 5y ago · link · parent

What kind of technology/data model do you use for the audit log? A timeseries db, just another table, or something else?

comment 5y ago · link · parent

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

comment 5y ago · link · parent

No, it's not the power, either, as low resistant paths can be extremely dangerous (such as wet skin). Really, it's a 2 dimensional space that makes for a less catchy aphorism. "It's not the voltage that kills you, it's the combination of voltage and conductivity".

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

Huh, interesting, thanks for trying that out! Yeah I forgot about the overtone frequencies of the halftone dots.

Yeah I supposed you'd need a tool with a continuous wavelet transform and potentially a 2D one at that.

comment 5y ago · link · parent

GIMP has a wavelet deconstruction option/plugin which breaks frequency bands into separate layers (like a stereo's multiband equilizer). You simply delete the layer corresponding to the frequency component and bam, visual features at that scale vanish, preserving structure at all other scales.

There's even more sophisticated wavelet denoisers out there that effectively do the black circle over peaks trick, but automatically and more precisely.

1
464748
85