Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 4y ago · link · parent

Easy as an adult. But as a kid I feel like we jumped through soooo many hoops to de-risk telling someone we had a crush on them.

I remember those reallllly early games like MASH or even early "compatibility" apps. Very coy.

comment 4y ago · link · parent

Cool, TIL about blocking/ filtering. We do entity resolution such that if we have a "process id" (ex: 1234) in two different event logs we can determine if they're the same process (since pids get reused). We don't have to compare every process to every other process, only ones that share the same pid, which drastically reduces the data size, and then we do filtering on top of that based on other optional attributes.

When I wrote this system I didn't know what ER even was, an article like this would have helped a lot, even just the first line defining ER would have helped a lot.

comment 4y ago · link · parent

If you're massively invested in crypto you need to pour a lot of money into legitimizing it and putting out fires wherever possible. Imagine you're running a scam on the street - let's imagine a dozen people playing "guess the card" (and cheating). Someone comes up and goes "woah, I saw that guy cheating, hey everyone this whole thing is a scam" - now you have two options, disavow that one guy and say "well the other card games are legit", or prop that scammer up and say "no no, that's just how the cards are played, it's a very complex system".

The latter is appealing since it admits no fault in the system. If people generally see these card games as having a high potential for being a scam, you want to avoid that scrutiny even at a very high cost.

comment 4y ago · link · parent

The point is that people who participate in 401ks likely understand (in the majority) how they work to a reasonable degree. It's not reasonable to compare it to crypto where the people who participate understand virtually nothing about it.

comment 4y ago · link · parent

Yeah, I remember Concepts, glad to hear they're in. I haven't used C++ since 2015, and last I had heard Concepts had been pushed out of C++17.

comment 4y ago · link · parent

Pointing to errors, of all things, as an example of Rust being more complex seems sort of hilarious given C++'s famous template errors?

comment 4y ago · link · parent

I wasn't implying otherwise. As I said, there's plenty of Rust that is inspired by C++. A lot of the 'const fn' stuff is talked about in the context of constexpr, for example. A lot of the const generics as well.

comment 4y ago · link · parent

They are? That's weird. Rust and C++ have tons in common and Rust takes tons of inspiration from C++, lots of Rust developers (on the compiler/ early Mozilla adopters) were C++ developers before. C++ still comes up often, like in discussions on constexpr vs const fn.

I've also never seen anyone say that Rust is closer to C than C++, that also seems weird.

comment 4y ago · link · parent

GCH has a pretty significant head start given that it has lazy semantics and an interpreter.

I don't really see the point of disabling the borrow checker anyway. I assume the intent is that it would make incremental development easier, but as someone who has written probably 100kLOC of Rust I feel like it would take a ton of work to implement (ie: making `miri` radically more powerful and generalizing it) and solve... no real problems for me. I get that a beginner is going to see bigger wins there since they will hit borrow checker errors earlier, but even then, I learned rust in 2015 when the borrow checker was way stricter, and I don't think I fought very much with it - I learned immediately that I could clone my way out of almost any issue.

IMO a far better investment would be into compiler errors giving better hints, or IDE improvements to show lifetimes, etc, and those would all be global wins instead of something rather niche.

comment 4y ago · link · parent

It's not really competing. New rust features often get compared to existing C++ features. Also, I'm sure many people in C++-land are looking at rust and wondering which bits they like can be brought over.

comment 4y ago · link · parent

Ultimately, it doesn't really matter. People will continue to write C++ so we should continue to provide resources that encourage doing so as safely as possible.

comment 4y ago · link · parent

I'm saying that if you have the password and the email address, bypassing 2FA would not be unreasonable, and it's what most services end up doing (for better or worse). Recovery codes are the ideal, of course.

But yeah, this is also why every new Android/iOS device can act as a FIDO2 token - the more tokens people have, the easier it is to recover with a second token vs having to fall back to less safe methods.

comment 4y ago · link · parent

Have any thoughts on Anna? They take a similar kind of shared-nothing approach, with CALM communication primitives.

comment 4y ago · link · parent

Nothing gets me excited for a project like a bunch of cited papers.

comment 4y ago · link · parent

So Cassandra isn't a database? I'd say "thing that manages data" is a database, which is to say, a lot of things are databases.

comment 4y ago · link · parent

Indeed, I have a use case that would benefit from that (theoretically). I'll have to dig into the papers.

comment 4y ago · link · parent

OK, how often? Seems like a relatively infrequent issue, although at the scale of cell phones it certainly happens "often".

But you aren't really screwed, you can recover your accounts. You still know your password, you likely have an associated email, you may have even written down your recovery codes.

comment 4y ago · link · parent

Reminds me a bit of Scylladb with the focus on 'shard per core'. I've considered using Scylla as a cache as well, might try this out instead.

comment 4y ago · link · parent

I think the Background section[0] is pretty helpful. One paper they cite is from 2014, another from 2020. The use of io_uring as well is also somewhat novel.

[0] https://github.com/dragonflydb/dragonfly#background

comment 4y ago · link · parent

This is really cool. Love a section on how things are designed with links to papers, always makes me feel way better about a project - especially one that has benchmarks.

Might try this out.

comment 4y ago · link · parent

If you lose a key you have to take action as if it were compromised, because there may always be key recovery attacks, but chances are the vast majority of attackers aren't going to build a machine learning, electromagnetic measurement recovery system.

Also the Yubikey NEO that was impacted by this is pretty old, released in 2012 I believe.

> 1. The impacted Yubico Yubikey Neo is an old product no more available for sale. All FIDO U2F Yubico Yubikeys currently available on their webstore are based on a newer secure element from Infineon, and are not impacted by our work to our knowledge.

comment 4y ago · link · parent

I keep my backup key in a drawer with a bunch of papers and records and shit. It's also where I keep my 2FA backup codes, and a few other decryption keys.

comment 4y ago · link · parent

My argument is that brains are cool, brains do this thing, ergo this thing might be cool.

comment 4y ago · link · parent

It's definitely an extremely well supported fact that brains make predictions about the future in order to optimize various things.

comment 4y ago · link · parent

IDK, that seems like how brains work, and brains are pretty cool. They guess all the time in order to save time.

comment 4y ago · link · parent

I wouldn't call that "raising prices"... you can still use Graviton 2 if it's a better price for you.

comment 4y ago · link · parent

I feel that school is criminal and I deeply resent how my childhood was spent due to school. So I'm going to opine on it.

comment 4y ago · link · parent

Looking back, I wish I'd cheated. College was fun for partying and living alone and having time to study, but coursework was a joke. I remember skipping my CS 101 class, coming in for the midterm, and finding it insane that they were still trying to get through pointers.

Glad that I at least dropped out when it stopped being fun. Highly recommend dropping out after ~2-3 years if you can get away with it.

You pay for school, do whatever you want with it.

comment 4y ago · link · parent

There's really no debate here. I'm right. A capability is defined as I have defined it. You can say "well Fuschia says otherwise", that's fine, people are wrong about things all the time. Such is life.

Of course I've spent this entire thread explaining a clearly defined term, was that not obvious?

And yes, rotation is relevant to capabilities because leaking capabilities is a critical failure. It's not the only way to protect capabilities though, you can add ACLs or namespaces, which is what Fuschia seems to do.

comment 4y ago · link · parent

What you're referring to is how operating systems maintain the integrity of capabilities. This is addressed directly in 'Capability Based Computer Systems'. I would direct you to chapter 1 section 1.1.

> A capability thus provides addressing and access rights to an object.

> a program cannot access an object unless its capability list contains a suitably privileged capability for the object.

> Capability system integrity is usually maintained by prohibiting direct program modification of the capability list. The capability list is modified only by the operating system or the hardware.

> Thus, a program can execute direct control over the movement of capabilities and can share capabilities, and therefore, objects, with other programs and users.

You can think of capabilities lists as kernel managed namespaces if you'd like. Maybe that would help clear things up.

1
424344
164