HNHacker News
TopNewBestAskShowJobs

alterom

923 karma · joined December 5, 2024

submissionscomments
alterom··on In Leaked Audio, Flock CEO Tells Cops Backlash to the Company Isn't Real
>Do cops really "mow down protestors"?

Yes [1].

>The only cases I could find are ...

I am aware that Google's search quality has gone down, but surely not to that extent.

Or, as kids say today: skill issue.

> Alex Pretti who was armed at the time and arguably resisting arrest

> arguably

As argued by the people who killed him, of course.

In any case, ICE are not police, i.e. not cops, so I dunno why you would derail the discussion to ICE if you are talking in good faith.

Cheers.

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC7331505/

alterom··on In Leaked Audio, Flock CEO Tells Cops Backlash to the Company Isn't Real
>What does this mean? Flock CEO will start... killing people?

No, he'll merely facilitate that, at scale.

IBM technically didn't kill any Jews too in WW2[1].

[1]https://www.theguardian.com/world/2002/mar/29/humanities.hig...

alterom··on Passkeys are not a trap
> Some sites, once connected via passkey, make it all but impossible to connect in another way.

That's not a usability nightmare.

That's plainly a nightmare.

Also, the very thing that passkey evangelists were foaming at the mouth 1-2 years ago here assuring me Would Absolutely Never Happen and Is Not A Concern, because the spec says passwords should still work.

To the surprise of exactly no one with half a brain, things didn't play out that way.

> though we're back to a "biometrics as password" problem in many device flows

Meaning if you're detained with the device, you can be legally required (and physically forced) to unlock not just the device, but all your online accounts.

Nothing suspicious here, not like authoritarianism is on the rise or anything, and whoever lives in those countries can get fucked in any case.

>So far, it's about 30% of sites screwing it up...

A year or two ago I was told it'll be 0%.

In 1-2 years, it'll be 90%.

I'm tired.

alterom··on The foolishness of "natural language programming" (1978)
Your two examples are taking something that's already built, and are extracting a feature (security flaw) or translating (decompiling).

The Kolmogorov complexity, at best, remains unchanged.

"sudo make an OS" is a different kind of transformation.

It's as much programming as downloading an Ubuntu image, and you don't need to wait a decade to do that.

alterom··on Reverse engineer of PC-98 Touhou games retires
> It's like saying that concept of dynamite fishing affects passionate anglers.

Are you implying that it does not?

If dynamite fishing were deployed on the scale the AI infra is, with VC capital and government backing, we'd run out of fish in a week.

The concept doesn't affect much, deployment of it affects a lot.

alterom··on Elon Musk Just Gave Europe a Reason to Replace American Technology
They are a rational actor in a world of skewed premises.

>And yet the war which realistically can't be won

...is being fought on many battlefields, including the elections in the US.

And I am not so sure Russia isn't winning that one.

alterom··on Elon Musk Just Gave Europe a Reason to Replace American Technology
>It would be almost certainly lethal injection, not hanging

You probably didn't mean it that way, but "almost certainly lethal injection" is indeed what we use today.

In a normal world, lethal injections almost certainly would not be used[1].

[1] https://www.theatlantic.com/ideas/2026/10/christa-pike-tenne...

alterom··on Elon Musk Just Gave Europe a Reason to Replace American Technology
"This is not treason" is a false statement.

The true statement is: "This is not considered treason in the current legal framework of the US".

Which is exactly the point the OP is making: it is not normal.

What Russia is waging against the US is war according to their own doctrinal documents[1].

If we're stupid enough to accept this as peace while they make one gain after another, it's not a basis for saying that Elon's meddling isn't treason.

This should be a wake-up call.

The world has changed. War has changed. And Russia was brazen enough to publish the new rules.

I hope at least people here have the clarity of mind to read them and understand the implications, beyond "the Constitution uses a particular wording to define treason".

[1] https://www.armyupress.army.mil/portals/7/military-review/ar...

alterom··on Elon Musk Just Gave Europe a Reason to Replace American Technology
Sure, letter of the law vs. spirit of the law.

That's just what he's brazen enough to do in public.

I'm convinced that if Elon were actually investigated, we'd see enough for him to hang, side by side with the rest of his cohort (POTUS included).

But absolutely, let's assert that the public knowledge that we currently possess isn't quite sufficient to prosecute Elon for treason as defined in the US Constitution, a famously immutable document, which, among other things, captures the nuances of hybrid warfare in perfect clarity.

This is a very reasonable rebuttal to the statement that. if things were normal, Elon would hang for treason.

Now if you think about it, it's almost as if Russia deliberately acts just below the threshold of what constitutes an act of war in any particular state to allow their assets to be, say, hanged for treason. Almost as if Russia's top general, Gerasimov, published a widely cited paper over a decade ago where blurring the line between war and peace was specifically outlined as the modern way of waging war[1], which Russia has successfully been applying since 2014 at the very least.

But let that not cloud our judgment.

Our 250 year old document has a specific definition which means, alas, that our hands (but not Elon's) are tied, and whatever he does is, plainly and simply, NOT treason.

[1] https://www.armyupress.army.mil/portals/7/military-review/ar...

alterom··on The foolishness of "natural language programming" (1978)
> AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you". And you can even ask them to do it at different levels of abstraction!

There are a few little differences between human beings and computers that you should know about.

For example, humans are sentient, have agency and can be held accountable.

So when you give humans a bad spec, you can still get what you want, because, with some luck, you're simply delegating the task of thinking and making choices to another human, who, by the very premise, understands the language you are communicating in, and can work out your intents with you.

The whole "this meeting could've been an email" thing, you know.

That meeting could've been a pull request if whoever needed a thing to be done could figure it out on their own.

LLMs can be helpful for figuring things out, sure.

But "sudo make me a sandwich" style of vibe coding is just removing the obstacles to enshrining ambiguities and bad decisions in code.

alterom··on The foolishness of "natural language programming" (1978)
>You can interact with AI and say "code me a calculator" or "now declare a array of booleans to map to each of the keys in the UI and set the corresponding array position to true when the key is pressed

And if the latter is guaranteed to be interpreted unambiguously...

...Congratulations!

You have invented a programming language!

But now, that requires 20x more typing and 1,000,000x more compute to compile to machine code.

Which is the point of the article.

alterom··on The foolishness of "natural language programming" (1978)
That makes no difference insofar as the premise of the article is concerned.
alterom··on The foolishness of "natural language programming" (1978)
>So product managers have been programmers this whole time after all.

The entire point of the article was that human language isn't suitable for instructing computers, and you somehow make the leap to "humans instructing humans must be the same thing".

Reading comprehension must be a thing of the past at this point.

alterom··on The foolishness of "natural language programming" (1978)
Yes, unlike those instructing an LLM.

The lack of intelligence in the loop is the foolishness the title refers to.

alterom··on The United States of Israel [video]
Yeah dawg, that kind of junk doesn't belong here.

But since you seem to be into that kind of, um, content, just cut to the chase and spare us all from listening to another angry man for an hour:

https://en.wikipedia.org/wiki/Zionist_Occupation_Government_...

alterom··on Namecheap just seized and disabled all my domains
And well, business goes down.

I purchased a domain name from them yesterday, in addition to a few I already had.

This will be the last purchase unless I see some significant traction in the case we're discussing in particular, and company wide in general.

Hope others will do the same. Not punishing this behavior is encouraging such abuse in the entire industry (if Namecheap gets away with that, everyone else will follow).

alterom··on MapQuest will now show you where Flock cameras are in your neighborhood
Wow. This is one unexpected comeback.

And as a former Google Maps employee... I'm loving it.

alterom··on Passkeys are not a trap
>That isn't what is being discussed by the issue. The issue was pertaining to an unencrypted export.

Such security, very rules, wow.

Because an ZIP file with the encrypted key and the password to it in plain text is sooooo much more secure (but it doesn't break the rules, right?).

alterom··on What was a Token Ring network?
>I just read through his Wikipedia entry and didn't see that he'd gone ''crazy''

If you want to see how Scott Adams has gone crazy, watch e.g. Behind the Bastards episode(s) on him:

https://www.youtube.com/watch?v=8nyEkHqP65c

alterom··on What was a Token Ring network?
I remember learning about TokenRing in high school circa 2005 for the CompTIA+ certificate.

Never ever seen it in my life though. It was a big "WAS" even then.

The i386-i486 machines we had in middle school were on the Ethernet bus (I remember the BNC cable going along the classroom, with T-joints to the network cards).

IIRC Token Ring wasn't a thing in practice for 100Mbit speeds and beyond, and went the way of the dodo faster than DOS did.

alterom··on MS Paint Adds Freeform Rotation (2026)
>Given the number of photopea clones getting vibe coded there really is no excuse for paint to lack functionality found in ImageMagick 30 years ago

Oh, and hear me out: we have now enough bytes to allow unlimited number of syllables in haiku poems!

Isn't it neat? Now this comment can also be a haiku, and MS Paint can be Photoshop.

Yay progress!

alterom··on MS Paint Adds Freeform Rotation (2026)
I just use the local install of https://jspaint.app instead.

11/10, does exactly what I need it to do.

alterom··on MS Paint Adds Freeform Rotation (2026)
I think they just want you to search with WIN.

Anyway I just use Everything by Voidtools[1] for file search because it works instantly and, well, actually works.

[1] https://www.voidtools.com/

alterom··on Passkeys are not a trap
>I don't need to

Yes you do, if you want to claim it's easy.

Otherwise you're just bullshitting.

>I've skimmed over announcements of the feature becoming available in a product or two

See above. That's not equivalent to "it's easy". You don't have the basis to say that.

alterom··on Passkeys are not a trap
>It's fairly easy to export/transfer passkeys (I think, I've never actually done it)

>I've never actually done it

You can't be serious.

If it's easy, go do it, find out, and come back here to tell us about it.

alterom··on Passkeys are not a trap
Passkeys are a solution for a problem that the users didn't have (website security).

And the solution was: make it the user's problem.

Yay.

alterom··on Passkeys are not a trap
Yay, finally an expert.

Can you help me figure out some things?

1. One time when I was abroad in Poland, a thief walked into my room at night and stole my wallet, phone, and laptop.

(The thief was eventually caught 6 months later, but that's another story).

Question: what to do in that case if I were using passkeys?

Is there a solution that doesn't require trusting a cloud provider?

2. Currently passkeys are offered as an alternative to passwords. What are the mechanisms that require passwords to be available as well?

I.e. what stops my bank from simply giving me a passkey at a branch and offering no other option?

3. Clouds are currently the easiest way to use passkeys. Last time I checked, you were locked into that cloud, but things move fast.

What ensures the ability to move the keys out of the cloud?

And what do I need to do to have my own "cloud" like that?

4. What protection does the passkey ecosystem offer for physical threat to the user?

With passwords, there's no way for anyone to know which Hacker News accounts are mine, or whether I still have access to them. I don't remember has plausible deniability (who hasn't ever forgotten a password?).

With passkeys, getting detained with your device means surrendering all your passwords, to my understanding.

What am I missing?

Thanks!

alterom··on Passkeys are not a trap
Because, apparently, passkey evangelists are a cult.

The spec requires passwords to still be an option, they say, so there's nothing to see here, move along — and avert their eyes should an inconvenient argument come their way.

Because, see, we all know that specs are ironclad, never change, and are always fully implemented.

Also, putting all your eggs, ahem, passkeys into one cloud basket (as this article recommends) to "move around" is surely the most best solution better than passwords.

Because we can always trust the cloud, right? Not like it's somebody else's computer or anything, that they can instruct to not do what you tell it.

Anyway, none of the passkey lovers ever answered me what to do if my computer and cell phone ever get stolen again when I'm traveling abroad in the Brave New Passkey World.

The best answer I got was carry a yubikey with me at all times.

One more thing to worry about losing, yay. Much convenience, very security, wow.

If there are any new developments on that front, would love to hear them.

alterom··on A Visual Intro to Complex Numbers
My, what excellent questions! Thank you for asking. Let's get to it!

>But when you represent a complex number as a+bi, what's the meaning of '+' there?

Here, treat a as the notation for "move a steps to the right", and bi as "move b steps up". Think about it like moving a pawn on a chess board.

These operations are translations: taking something and moving it. You can execute them as instructions.

"+" means composition of these two operations; that is doing them one after another.

In which order? Doesn't matter, the result will be the same.

Since we talk about "+", let's talk about "-".

The operations we are invertible, you can undo each of them (or any combination).

If "3" stands for the command "Move a pawn 3 steps right", you can introduce a notation "-3" meaning "move it back" (i.e., move it 3 steps left).

You have then: a + -a = 0, and to save yourself some ink, you just write a - b instead of a + (-b).

Same with bi; -bi means move b steps down.

>In Argand diagram, the numbers are coordinates. Why do you sum up coordinates?

Say, you move a pawn 3 steps right and 2 cells up.

Then you move it again by 1 cell right and 4 cells up.

That's the same as moving it (3 + 1) = 4 cells right and (2 + 4) = 6 cells up.

In our previous notation: (3 + 2i) + (1 + 4i) = (3 + 1) + (2 + 4)i = 4 + 6i.

If you know linear algebra: it works this way because the operations 1 (moving one step right) and i (moving one step right) form a basis[1] for the vector space of translations in a plane.

In simpler terms, it works this way because you can combine the move operations in any order (we can understand that easily), and so we can:

1. Write each move operation as "move ___ left/right and __ up/down"

2. Add up left/right and up/down components separately

>More fundamentally what's addition and multiplication?

We are treating numbers here as translation operators, i.e. commands: "move by this much".

Addition is composition, i.e. doing commands in order (which, turns out, doesn't matter).

Multiplication - well, that's where the salt of the article is. Or rather, should have been.

First, let's look at multiplication of "real" numbers.

Geometrically, the operation is proportional scaling. You can think of it as redefining the unit.

Say, we agreed that "3" means "make 3 steps to the right". But for that to make sense, we need to know what a step is.

We can define, by decree, that a step on a chess board is one cell (1). So "3" by itself really means "3 * 1" (3 of 1 step to the right).

We can scale a number by changing the step size; defined geometrically by proportion:

(a * b) is a distance such that (a * b) : b = a : 1.

This might seem weird, but that's how Euclid would've done it, because it allows us to think of a and b as quantities of equal kind (geometric lengths), avoiding distinguishing geometric quantities, like lengths and translation operators (aka vectors), and scalars, i.e. quantities you can scale by.

Side note: vector literally means "carriers", because the vector operation (translation) moves something from one place to another. A mosquito is a malaria vector.

scaling (multiplication) and adding (composition) interact in a familiar way:

c(a + b) = ca + cb

This is fine and dandy as long as we have only one dimension to deal with.

When we have two, we can first restrict ourselves to multiplying by "real" numbers, because we can say that multiplying by a is simply making everything a times bigger or smaller, and it doesn't break anything.

You still get the same interplay of addition and multiplication.

If we want to keep all the other niceties that we had from real numbers, we will be forced to have the following meaning of multiplication of couples of them (i.e. 2D vectors, translations in a plane):

To get a product of two 2D vectors, u and v, you ADD the angles that u and v make with the x-axis, and you MULTIPLY their lengths.

If you denote this operation as u * v, then you have all the rules for * and + that worked for real numbers still working.

It turns out, essentially, that there's no other way to cook up a product of 2D vectors that has these properties.

And that for 3D vectors, there is no such way at all, a consequence of the Hairy Ball Theorem[5].

And that for 4D vectors, you can define a product rule of that sort only if you give up on the order not mattering. For real and complex numbers, a * b = b * a, but in 4D, the order matters.

And for other dimensions, you really don't get anything nice.

Dimensions 1, 2, and 4 are special; but 2 more so than others.

> Is there a continuity between them, like an operator that represents both addition and multiplication meeting them half-way?

There is a continuity between addition and multiplication.

You can define multiplication of integers by treating one as "number of times to do a thing" and the other as "distance to translate by":

3 * 5 = (move by 3 steps to the right 5 times)

      = (move by 5 steps to the right 3 times)
You get rational numbers from this, and real numbers by completion.

So real number multiplication flows from real number addition by continuity.

Another connection is that multiplication of powers is addition of exponents:

a^n * a^m = a^(n + m).

a^n = a * a * a ... * a (n times)

This is how you can define exponentiation. There are other ways. But that's to say that addition and multiplication are inherently inseparable when it comes to real numbers because an integer can be thought of as either a length or a count (that's to say, in 1D vector are scalars), and keeping that puts a lot of structure on what you do.

I think the true spirit of your question deserves this answer though:

Complex multiplication exactly "meets multiplication and addition half-way", because you add the angles and multiply lengths.

>What's the significance of square and square root? Aren't they just some exponent values (2, 1/2) which have no particular significance on the real line? Why should imaginary numbers have a special place if they are tied to square roots (exponent of 0.5)?

This, my friend, is known as the Fundamental Theorem of Algebra, and boy was it not easy to figure out. There was about a handful of failed attempts to prove it (i.e. proofs that people universally agreed were correct, but later realized they weren't).

In short: there is no significance, on the surface at least. You could have picked a root of any polynomial equation that has no real solution as your "imaginary unit", and got the same set of complex numbers in the end - and nothing more.

But you'll end up with sqrt(-something) anyway.

This comes from the following (non-obvious) fact. Any real polynomial in x can be written as a product of the form c(x - r_1)(x - r_2) ... (x - r_n), where c is a real number and r_i are the roots. For the coefficients to end up being real numbers, the roots must come in conjugate pairs (if (a + bi) is a root, so is (a - bi)), so when you multiply (x - (a - bi))(x - (a + bi)) out, you get a quadratic with real coefficients: x² - 2ax + a² + b²

So you can decompose any real polynomial into a product of real polynomials of degree 2 (you might have one term (x - [real root]) left over if the degree is odd - which is another reason why odd-degree polynomials always have a real root).

If you extend your real number field[4] by adjoining a real number, you get nothing new.

And if you get something new, you have adjoined a root of a quadratic equation.

Why sqrt(-1) instead of the root of x^2 + 5 = 0? There is convenience.

(1, sqrt(-1)) is convenient pair to define the complex plane because they form an orthonormal basis [3], i.e. a neat coordinate grid, with easy multiplication rule.

Nobody is forcing you to use i=sqrt(-1). You can define j as a non-real root of x^3 - 7 = 0. Throwing it into the bucket will get you the same "complex" numbers.

But now they'll be really annoying to work with. E.g.: if j = sqrt(-3), then

(a + bj)(c + dj) = (ac - 3bd) + (ad + bc)j

This extra 3 is annoying. In the end, you can still write your j in the form a + b * sqrt(-1), which is a nicer form, and you no longer have "extra" constants popping up in your formulas.

So you do that.

[1] https://en.wikipedia.org/wiki/Basis_(linear_algebra)

[2] https://en.wikipedia.org/wiki/Fundamental_theorem_of_algebra

[3] https://en.wikipedia.org/wiki/Orthonormal_basis

[4] https://en.wikipedia.org/wiki/Field_extension

[5] https://en.wikipedia.org/wiki/Hairy_ball_theorem

[6] https://en.wikipedia.org/wiki/Quaternion

alterom··on A Visual Intro to Complex Numbers
>I did use AI assistance for 20% of it though

I would love to see the AI-unassisted version.

AI assistance is like adding vomit flavor to whatever you're cooking. You don't need much before it starts reeking.

Page 1 of 19Next →