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

> But while protecting customers from attack is important, some argue that counter-terrorism operations are different, with potentially life and death consequences that go beyond day-to-day internet security.

Maybe they shouldn't base life or death consequences on something as capricious as the existence of an undetected 0-day. It's not just Google, what about other security companies, independent white-hats, etc?

The alternative is basically saying, "you shouldn't/can't improve software security, coz terrorism", which not only feels super unethical, but also likely a 1st amendment violation.

comment 5y ago · link · parent

/var gets its own disk on my machine! Yay academic machine learning docker containers. What's a few 30GB docker images between friends? So yeah /var gets to live with training data on SSD which gets cold swapped onto spinny platters as needed. /home is another, on the "main sdd".

/usr isn't a bad choice, either.

comment 5y ago · link · parent

I was thinking the same. Get lots of pumps in, drill into the sand bar and pump water to fluidize it. But it's probably still a scale thing, all the proportions involved in this problem are ludicrous.

comment 5y ago · link · parent

I think it's supposed to be some kind of latent vector space where the coordinate maps to the sounds' timbre. So in theory, you can move seamlessly between sounds. But I seem to only be able to snap to nearest sound. Edit: they use t-SNE for the embedding so that is why it is discrete. But if they used something like an autoencoder, then you could have a smooth continuum and interpolate between say a dog bark and a billiards clack.

comment 5y ago · link · parent

I always thought that the "fun-shapes" macaroni had better mouth-feel than plain elbows. Apparently that is due to the right-angles and the term-of-art is "Toothsinkability".

Radiatore are currently my reigning favorite, especially for mac and cheese. This looks like it has less overall surface-area-to-volume than radiatore, but is better for holding thicker sauces vs the thin fin gaps in radiatore.

comment 5y ago · link · parent

Not gonna lie, it looks delicious but has kind of an H.R. Giger vibe.

The pasta. Not the sea slug. Though all sea slugs looks like they were made during evolution's goth phase.

comment 5y ago · link · parent

This just feels like law of unintended consequences waiting to happen. Like the use cases are super cool, like using it with FUSE to basically redirect a file system view. But it feels like asking for trouble. You would need to know the interaction between all manner of systems that could be used to effect an escalation.

comment 5y ago · link · parent

The tool lazydocker also will construct a pseudo dockerfile from the history. It's good enough that most of the time you can just copy it and get a working dockerfile out of it.

It's also super awesome in general.

comment 5y ago · link · parent

That is exactly what we do. You can write a python tool in like a dozen lines to cast to and from.

There is also a way to use one of the built in protobuf tools to do it but you also have to point at the proto files yourself.

I think there are other advantages to text protocols besides debugging on the wire, namely ease of composing tools. Streams of text is extremely versatile and economic for many workflows. Of course you lose that ease once you start embedding binary data.

comment 5y ago · link · parent

Good point! I think I mentally chucked it with the square knot under "knots that should already be in most people's inventory" but you are right, that is definitely worth learning, since there are so many useful variants.

So like, 4 essential knots: Figure 8, square knot, bowline, hitch. The map, filter, fold, and reduce of knots, if you will. Most everything else can be composed from those.

comment 5y ago · link · parent

My friend just told me about a potential gene therapy. I'm blanking on the name, but there is a gene which inhibits myelin regeneration, and a gene which inhibits that gene. By using an adeno-associated virus which has an affinity for CNS tissue, you can induce the latter, resulting in an increase in re-myelination.

My friend's partner has suspected MS. They are also experimenting with helminth therapy. They have taken 5 Necator Americanus eggs and anecdotally, their symptoms have not been progressing as fast.

A quick search shows a whole mess of various genes and proteins associated with myelin but I'm not sure what the front runners are.

Edit: it's LINGO1

> Lingo-1 antagonists are able to promote re-myelination in CNS by means of stimulating OPCs differentiation which was before blocked by this protein. This has been seen in several experiments that resulted in significant increases of oligodendrocytes differentiation by targeting Lingo-1 with its antagonists, such as the antibody Anti-LINGO-1 (BIIB033)

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

comment 5y ago · link · parent

Long term use of steroids is known to cause all kinds of nasty side effects. Prednisone I've actually found rather useful for bootstrapping myself out of depression but it tends to induce mania. Going for longer than a few days results in a huge high followed by a massive crash.

The above sounds like nuclear option amounts of asthma meds and it's reasonable to expect potential long term effects.

That being said, inhaled steroids are considered much, much safer than oral ones, due to much smaller doses and targeted effects.

comment 5y ago · link · parent

My dirty dozen-ish: tautline hitch, bowline, square knot, figure eight + variants, fisherman's knot, N half hitches, sheet bend, Zeppelin bend, trucker hitch, Alpine butterfly, hangman knot, and a variant on the shoe knot that doesn't come loose. Can't remember the name but in sure you can find many variants with a search.

Square knot most people already know. Tautline and bowline are the two worth memorizing being able to do soaking wet in the dark.

comment 5y ago · link · parent

Right. This seems like a good pattern to have. Much like app/framework specific config, I much prefer to have everything under ~/.local/ than a myriad of ~/.foo dotfiles. It's only one endpoint to route, and you don't need to change configs each time you add some new static file.

IMHO, index.html and favicon should be the only files living at top level, and I guess robots.txt since that's a de facto standard (and soon to be actual standard iirc)

comment 5y ago · link · parent

Concurrency bugs can absolutely cause dangerous danger of the deadly variety:

https://en.m.wikipedia.org/wiki/Therac-25

comment 5y ago · link · parent

> Basically, it’s playing unsafe games behind the Go garbage collector’s back, hiding pointers in untyped uintptr integers so Go will be forced to eventually garbage collect things which then causes the finalizer to be invoked to step in and either clean up its lies or clean up the map.

I love this. I hate to love this. It has that fast inverse sqrt flavor to it. Does some crazy stuff, but cordons off the well-documented crazy behind a clean API. Bravo! Golang "worse is better" at it's finest.

Gonna send this to my FP-obsessed friend who thinks humans can never be trusted to write code like this and all future languages should forbid any kind of manual memory management. I told him "have fun writing a kernel or driver in that kind of language", he wasn't having it. I'm sure this will irk him to no end.

comment 5y ago · link · parent

Totally agree, it would definitely be better to rename it, but I read in another comment that the kernel is loathe to rename things. So then it makes you wonder, who allowed 'number_noun = N' in the first place?

"Three is the number of the counting, and the number thou shalt count to is three"

comment 5y ago · link · parent

    unsigned three = 1;
To me, that is a 20 foot tall neon orange flashing Chesterton's fence. I think, "surely there is a very strong reason for this." Maybe not a good reason, but definitely a compelling one.

comment 5y ago · link · parent

Turns out, machines also have some sort of duty cycle. Most mechanical contraptions can run faster than spec, at the expense of wear, heat, jams, and ruined parts. So you can't even measure machines in widgets/hour without more info.

comment 5y ago · link · parent

TIL the word "gurn". Never once heard it before and even just now autocorrect tried to insist it was "turn". The description is indeed apt for what I see in a lot of thumbnails.

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

comment 5y ago · link · parent

Exactly. But in this case that opaque data format is exactly the thing that enables live editing. Gdocs runs on Operational Transforms. There is basically no way to do OT without a ton of back end support which means tightly coupled APIs.

Martin Kleppmann has a great talk on CRDTs for distributed text editing. It is a hard problem. You also need a dedicated binary format (basically a table) but at least in this case it is a lot easier to use an open format with federated clients.

comment 5y ago · link · parent

Deep fake propaganda is not really a problem. I've spent the past two years working in the media forensics space. Deep fakes ended up being much less of a threat than anticipated. Anti deep fake models are quite proficient now too.

The big problem now is semantic forensics - taking media out of context and spinning a new narrative.

https://www.theverge.com/2019/3/5/18251736/deepfake-propagan...

comment 5y ago · link · parent

How do we know evidence is valid in a court case? Chain of custody and documentation. Add to that some commitment scheme and trusted time-stamping and publish in real time and you are most of the way there to extremely veridical publishing.

But the main problem is the people most vulnerable to fake media are already bamboozled by bad Photoshop jobs. I don't see how any signing scheme will help.

comment 5y ago · link · parent

I was looking for the CSS offset joke but I like this one better

comment 5y ago · link · parent

We all started as noobs once. A sizeable market of GPGPU is academics who don't yet have their nix chops. Had to walk an undergrad through basic git branching the other day.

comment 5y ago · link · parent

The internet may help achieve what centuries of attempted English spelling reform has failed to do: simplification of spelling. There are two competing forces at play:

- readily available spell checkers

- the international interplay of ideas

The former stabilizes spelling, the latter says "screw it, through is spelled thru, I made up yeet, and emoji are valid grammar". But also grammar and spelling Nazis.

My money is on fluidity of language.

comment 5y ago · link · parent

Ok, I hadn't considered the registers thing. That almost makes sense. Almost. But variable length arrays are so useful I think it warrants adding a register just for dealing with fat pointers.

Like I get why it happened. It is just crazy how long it has stuck around.

comment 5y ago · link · parent

This is the part that boggles my mind. It's not like fat pointers just didn't exist at the time. You need fat pointers any time you do anything with dynamic non-string binary data.

Null is always 1 byte minimum so at best you save size_t-1 bytes per string. Ignoring clever structures like LEB128 varint length.

This is a classic case of "simple is actually complex". How many billions of dollars has null terminal strings cost? Hope that 3 bytes of overhead per string saved is worth it.

comment 5y ago · link · parent

Spooky Werewolf Algebras on the Monster group. Coming to arxiv this October.

comment 5y ago · link · parent

That it more an effect of how we use them in computer geometry. Unit quaternions with ijk plus real map to an xyz tilt plus a rotor. But I believe you could pick any such mapping.

On the other hand, dual quaternions do care which is the dual component, since multiplying by complex numbers looks like true rotation, while multiplying by a dual looks like rotation around a point at infinity, aka translation.

So in that case maybe there is something special about the real component.

1
606162
85