• 0 posts
  • 19 comments
Joined 3 years ago
Cake day: July 2nd, 2023
  • unless they somehow ai-generated a quantum computer, i don’t get how that particular move would make any sense. ECC and RSA are already fairly distinct, and while it is likely that something is going on with prime numbers in the post-riemann world, that alone won’t break all crypto, or even most of it.

    it’s generally a good practice to rely on multiple primitives at once, and make at least one post-quantum, so that if something randomly breaks you’re still protected. but the only thing that blanket breaks any crypto susceptible to quantum computing is a quantum computer.

  • no, let’s not agree to disagree. china is objectively a dictatorship, whether you like it or not. it is of course not the only country with problems, and western reporting does tend to scrutinise it more than it does most other countries, but let’s not overcompensate and pretend it’s all sunshine and rainbows there.

    to be fair, exit bans are nothing new, just the way china implements them is. but i do not recommend stepping on the sovereign soil of any country that cannot be trusted to respect your dignity even if you have a low opinion of it, and even if you make a useful hostage for diplomacy.

  • yeah, defence works in layers. i just cannot get behind disparaging someone for getting pwned through a compromised layer when they’re in a situation where the other layers don’t happen to be applicable. like that’s what we have layers for, so that if something happens to one of them, the other still holds.

    when a layer breaks, we should fix it, not discard it and just say the other layers are gonna protect us anyway.

  • two questions:

    • do you ever go to the toilet at work?
    • do you take your laptop with you or shut it down while you’re there?

    i always find these “you’re holding your computer wrong” kind of comments disingenuous. yes, it is safer to shut down your laptop when you go through tsa and have it not boot with a tpm-only encryption. but there are a million other situations for physical security too, and a locked computer with a running os must be able to defend itself from tampering.

    even a consumer computer only normally gets pwned to an evil maid attack if the evil maid has exotic tools like a memory freezing kit or zero-days. and we should keep it that way.

  • that’s been a thing with every bloody tech product lately, open source ones included. everyone’s homepage blasts whatever they provide to ai, and it’s usually the most boring part of their business. like i don’t care what redis can do for my ai agents, i want the damn in-memory cache/db that we all use redis for. i recently set up pangolin, and on the actual dashboard the ai features are an afterthought of a menu entry and all they do is some fairly useless proxying, but the website would have you believe that that’s the main purpose of the whole thing.

    i think it’s because until very recently, all the money have been in ai, so everyone is trying to sell whatever thet already have to that market.

  • they forgot the motivation of wanting to be the default. in today’s attention economy, the fewer words and visual motifs you need to describe your product, the more you get to own culture. that’s part of why disney’s recent movie releases are often one word titles, and why everyone is trying to evict as much superfluous detail out of their logos to distil them down to the bare minimum they need to own that particular symbol.

  • duh, it’s part of the IEEE 754 standard. every language that handles floating point numbers has NaN handling, and in every language NaN is a float. the only reason this is brought up as a javascript thing all the time is that js doesn’t have separate float and int types (aside from special structures like typed arrays and dataviews), it just defaults to float64 for simplicity and calls it number, which lines up with the “NaN is a number? nani???” joke.

    you don’t like it? consult the sorry excuse of thinking sand in the device you’re reading this on, because this is etched straight into it. every FPU capable of handling float32 and float64 numbers knows what NaN is and handles it the exact same way.

    this is one of the many things that sound unintuitive about programming but if you bother to understand the context you realise that if it wasn’t this way, it would be way worse. one of the most important skills in our field is to understand computers for what they are, rather than be puzzled that they aren’t what you thought they were, and it especially comes out in edge cases like this.

  • a magic link is not 2FA if it doesn’t also require a password. it’s 1FA, they just replaced the one factor.

    honestly i really hate websites that do that and yet don’t allow password-only 1FA. like sure, i understand that the average user’s password discipline is crap, but as a power user i’d really like it if all my accounts weren’t tied to all my other accounts sometimes.

  • honestly, i think it’s an overarching issue with the education system. ai is not the cause, it’s the symptom, people had a million ways of dodging tasks before it too. it’s just easier now than it’s ever been.

    if you know anything about indie game design, you know that learning is fun. as in, not that learning is a fun activity, but that learning is literally what fun is. you just need an environment that’s actually conducive to that, and it will be extremely gripping, because you will have created a flow state generator.

    but it turns out that doing that, while also ensuring what you’re learning is at all useful (as opposed to, y’know, how to pop heads in counter-strike or something) is difficult enough that most teachers just gave up and decided that learning must suck. which is a problem for many reasons, but i think the biggest one is that if it’s not fun, you’re not actually learning: if it’s boring, it’s because you already know how to do it, and doing it more doesn’t make you do it better, and if it’s frustrating, it’s because you keep failing and all that failing doesn’t teach any skills. practice is important, sure, but good practice lies halfway between these ends, and it’s fun. but a lot of people don’t get there, and they’re told it doesn’t matter if you get there, what matters is if you get through.

    i think that’s why all these courses are getting skipped by ai. because a staggering amount of people in education programs, in any kind pretty much, aren’t there to really learn, they are there to get through, by any means. because the whole social contract is that this is a thing that sucks, but if you get through it, you get a piece of paper and that paper will give you a nice life. it’s a nice thought, it’s understandable, human brains are wired to understand tradeoffs intuitively. but it skips the bloody point of why we do all this in the first place.

    and yeah, i get why you’re frustrated that uni students don’t know this. but honestly, how would they? no one told them the world they were raised in since the age of 6 is a lie.