Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions

email: I'll add a suitable email one of these days
Submissions

comment 2y ago · link · parent

> I can backup and copy a passkey without restriction ...

We were so very nearly there with U2F... I did extensive testing and you can have a U2F (Fido2/webauthn) device deriving it's private keys, never leaving the device's HSM, from a BIP-44/BIP-39 seed. You write 12, 18 or 24 words down (out of a dictionary of 2048 words) and with these words, you can always reinitialize another Ledger Nano (a cryptocurrency hardware wallet but I didn't care: I was after the U2F "nano app").

It just worked. It was beautiful. My seed were written on paper sheets which I'd store in a safe at the bank / at my parents' home, etc.

As a bonus the hardware device would display, on its little screen, if you were enrolling or login (a useful info) and, for known provides, it'd display the name. For example "login to google?" / "enroll to dropbox?".

Pure beauty.

Then sadly this trainwreck that passkeys are happened, greatly lowering not only the security of 2FA (someone is in control of all your keys and they can be "backed up": what a concept!) but also making you lose the ability to backup your own keys/seed.

I do really hope at some point we see a future "passkeys nano app" for hardware devices on which the user is in control of the master seed used to derive the keys. It worked for FIDO2/webauthn. I hope it'll work again at some point in the future for passkeys.

comment 2y ago · link · parent

> Systemd is a step backwards.

It totally is. I see the appeal: it's, on the surface, easy. But this comes at a cost.

Turning Linux into Windows by replicating svchost.exe shouldn't be applauded by the Linux community.

I'm glad the BSDs are still out there and I'm glad there are still non-systemd Linux distros out there and I'm even more glad some systemd distros haven't completely shut the door on moving back away from systemd.

Do I write a systemd service once in a while? Yup, I do. Is it easy? Kinda, at first. But we shouldn't be too excited about superficial simplicity. Something has been lost in exchange.

The monster systemd squid spreads its infinite tentacles on everything it touches while being PID 1, making sure that a countless number of current and future exploits (or backdoors) are possible.

We've got Linux's PID 1 (for most distros) controlled by a MS employee, who replicated Windows' svchost.exe. And people are all excited?

I personally cannot wait for another, better, init system to come out and replace systemd.

Meanwhile I'm glad there's choice: OpenBSD, Alpine Linux, Devuan, etc.

comment 2y ago · link · parent

And the genius answer of both the US and EU governments is to bring in millions of non-nationals in, yearly. Somehow thinking this shall prevent their ponzi (state debt) from crashing.

Fertility rates going down should be a cause for celebration, not concern.

But there's the mother of all ponzis sustain so...

comment 2y ago · link · parent

Two HN unicorns involved then. Although USDC is emitted by "Centre", Centre is 50/50 Coinbase and Circle. And Coinbase is another HN unicorn.

comment 2y ago · link · parent

> This is what happens in a race to the bottom.

Are you saying the states should have no fiscal autonomy and everything should be decided in DC? Which, I don't doubt it, would magically happen to settle on the highest tax rates possible.

Is this the world we should strive more? Ever bigger, ever more centralized state (the US, the EU, China) pushing for ever more taxes?

What you call "race to the bottom" is competition and it allows to keep some of the states who'd be tempted to go all-in on socialism in check.

I don't want to see what happens when there's no tax competition anymore anywhere in the world. I know how it ends and it's not going to be nice.

comment 2y ago · link · parent

Or maybe because we are, literally, talking about rocket scientists?

comment 2y ago · link · parent

> Titles like 1998’s Half-Life ... Other first-person shooters (FPS) like Counter-Strike (itself originally a mod for Half-Life) ... the typically low network speeds of the period meant that these games, unlike slower-paced and less graphically intensive strategy games, were nearly unplayable over an internet connection. In this moment, in which communications technology was being outpaced by graphical power, the LAN (local area network) party was born.

Yup that's exactly how I remember it. We were playing half-life at home LAN parties (often at my place and sometimes at big LANs) even before the beta of CS came out. We'd spend lots of time on the various maps, like the "small" map (if I remember the name correctly).

We'd also play Warcraft II on LANs but Warcraft II was playable over "KALI": we'd simulate a LAN over the Internet. For Warcraft II the latency was good enough already.

My best LAN though was the one between my home and my neighbour's home, where a coax cable (!) would hang from window to window, on the second story, in the street. And the phone calls: "Mate, did you forget to put the terminator on a cable, my LAN ain't working anymore!" (if you were to forget the BNC terminator, nothing would work anymore).

"RJ45" ethernet cables already existed but we were broke ass teenagers: so we managed to fetch a shitload of coax network cards and cables a company was throwing away. We didn't have the proper tool(s) though so we'd use kitchen scissors to cut and attach the 'T' connectors to the cables (by squeezing them with the handle of the kitchen scissors). It was totally ghetto but it worked fine.

Great memories, thanks for TFA and for posting TFA!

comment 2y ago · link · parent

> IBM did not respond because, in the meantime, Bill Gates purchased an OS from Seattle Computer Products that was written to emulate the look and feel of CP/M. He then sold a one-time, non-exclusive license to IBM...

Yeah. It's incredible how IBM handed the golden keys to the castle on a plate cut in a solid 100000000 carat diamond to Microsoft.

This has to be the absolute worst business deal ever made in history: 3 trillion market cap for Microsoft. And IBM created that.

comment 2y ago · link · parent

Another confusing thing is doing this:

    xxxxx-xxxxx-xxxxx-xxxxx
Instead of something like this:

    xxxxx-xx-xxxxx-xxx-xxxxx
Something could also be said about such scheme lacking the embedding of a checksum.

Here's an IBAN (bank account number) in the EU (which thankfully are using a checksum as part of the account number):

    LU29 0022 1712 5582 7000
      ^^
      ||
      two checkdigits
Also some companies think they're "smart" because they pick numbers like this:

    LU29 002 0000 0001 8000
Repeating the same digit, usually a zero, a shitload of time ain't smart. It's fucking dumb.

comment 2y ago · link · parent

> Whenever I'm creating a 2FA backup on a piece of paper, anxiety hits me every time I cross over certain characters, o/0, v/u, 5/S, etc. I've come to add some fanciness to how I write these characters for this exact reason.

My convention is that I put a dot '.' below every digit (this solves the 5/S, 0O, 8/B etc. issues [the actually problematic ones shall depend on your handwriting]).

If I'm really unsure, I add the NATO/aviation alphabet [1]. There's a 'U', I'll write 'Uniform' (in diagonal, starting from the 'U').

It only requires some discipline. I've done that since more than ten years now, never lost a single 2FA code.

[1] nitpicking about the actual difference between the NATO and aviation codes can safely be send to /dev/null

comment 2y ago · link · parent

Well be surprised. I write them down, by hand.

> They’re long and gibberish, odds of an unnoticed error are high.

That's why you "whitelist" those you wrote down and re-used with success: a little checkbox, which when checked means "Successfully re-initialized an authenticator with this 2FA?", works wonder.

A "dot" underneath a character means it's a number (so I'm sure not to mistake '5' with 'S', for example).

My "paper 2FAs" then go to the bank, in a safe.

I've never ever lost a 2FA access code.

comment 2y ago · link · parent

> But it did not mention the most similar-sounding pair "F" (Foxtrot) and "S" (Sierra), which are nearly indistinguishable.

My family name begins with a 'F' and, indeed, I can't count the number of times where people write a 'S' instead. I've got invoices with a 'S' instead of a 'F'!

comment 2y ago · link · parent

> Related reading, from the font designer's side: “Oh, oh, zero!” by Charles Bigelow

I don't know. People tend to use the letter 'O' a lot. And people tend to use zero '0' a lot too.

Who gives a fuck about "Oh"? I mean, seriously, which percentage of articles, blog, PDFs, webpages, products etc. throughout the world have have 'O' and '0' that can be mistaken one for another? And which percentage have "Oh"?

When was the last time a user had to read a product ID over the phone and did misread big O / "Oh" for 0?

I don't even think there was a last time, because nobody is using "Oh" in identifiers.

While, on the other hand, it's perfectly fine to use a slashed-zero for zero, to be sure nobody mistakes it for the letter 'O'.

So basically: your link and TFA aren't that related.

comment 2y ago · link · parent

BTW aren't old loom machines and the patterns they could do considered to be one of the oldest form of "programming"?

comment 2y ago · link · parent

That's still way too easy to fuck up. They need something less "open" than MacOS.

After my mom in law got scammed out of a few hundred euros I confiscated her laptop and moved her to a Google ChromeBook.

That's quite locked down and a few years in she still hasn't managed to ruin the OS.

comment 2y ago · link · parent

> The copy-protection mechanism of the SNES is something I already dig into in my 10NES article. It works by having two chips talking in lockstep. One chip is in the console, the other in the cart. If the console CIC sees something it does not like, it resets every processor.

It was easily defeated for consumers though (but probably not for game producers/editors)...

Back then we all had a "backup device" for our SNES: a device you'd plug into the SNES and which had a floppy drive. So we'd "backup" all our games on very cheap 3"1/2 floppies. All that was needed for the system to work was to have one original cartdridge, which you'd plug into the copier, and the device would reuse that cartdridge's CIC chip.

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

comment 2y ago · link · parent

I know one who is outstanding, not a 10x but a 100x. Here's a short and incomplete list of some of the things he did:

    Publish games (with an 's') on 16 bit computers when he was a teenagers (and good games at that)

    Industrial software to minimize cuts and losses when cutting sheets of metal

    Write tools easing the creation of games for smartphone when they came out and put a commercial game in the top 3 of the Apple appstore

    Before that : he wrote several apps for Nokia phones (pre Android era) and serve them using a provisioning server he wrote and hosted himself

    Write code to port Java code to COBOL for legacy bank infrastructure

    Write some sort of Google maps before the days, from aerial pictures he managed to fetch through some people he knew

    Created a software company, got funding

    Got interested I cryptocurrencies, wrote several wallets, including for smartphones

    Wrote servers transcoding videos in real time

    Wrote an Amiga mod player for the Atari ST (that one was really cool

    Find and write detailed reports about JVM bugs

    There are many standards he knows by heart

    Countless websites

    He was doing ML before it LLM broke through: teaching 3D "things" to learn to move

    Monitoring and visualization on embedded devices for solar panels/micro inverters efficiency
He moved to devops and loves it. And he still codes.

His secret is a life of passion for the trade.

There s nothing he s worked on that didn't become faster, cleaner. There s not a single place he s been too where he didn't have things to teach people (and things to learn too: passion and curiosity).

He knows so many languages: from assembly to C to C++ to Java to Kotlin to Lua to ML languages to so many scripting languages.

Front end, back end, from huge servers to tiny embedded stuff. Dumbphones. Smartphones.

The only family of language I know he s never done is Lisp (so I get some creds).

He s not just a developer: he manages servers too, both for fun and professionally... and found a recent love for devops (working for a major payment processor as I type this).

He s 50 y/o and he ll kick your sorry ass like you have no idea.

He happens to be a very good friend of mine and when I hear that there are no 10x programmers I cannot help but laugh in a condescending manner.

He is, unlike me, humble. He ll say he doesn't know much. He s always got a desire to learn.

And I think most of all: when he was 30 he thought programmers who were 50 had many things to teach him.

comment 2y ago · link · parent

> How to improve the acoustics of a noisy restaurant > > Generally, the most cost-effective and simple solution is to add ‘’soft’’ surfaces to a reverberant room. These soft surfaces will absorb the sound and therefore reduce reverberation. Standard techniques typically require the installation of artefacts such as acoustic dispersers, bass traps, acoustic panels, acoustic insulation or other sound absorbing objects.

As long as you're not listening to audiophiles telling you to buy 4-digits ethernet cables, you can listen to those telling you that the single most important thing after owning a pair of speakers and something to power them is... drumroll... room sound treatment.

comment 2y ago · link · parent

> Was created by an all-knowing, all-powerful entity

But what's the god of that entity? Let me guess: it's turtles all the way down?

comment 2y ago · link · parent

> These are not things I was told about. They're pictures in my mind.

I know you're right and I met someone like that. But it's highly uncommon. That person would remember both the look and the feel of her portable crib, back from she wasn't able to walk yet.

> ... and it pisses me off when scientists say "that just doesn't happen"

Same. It's utter bullshit. There are people like you, period.

comment 2y ago · link · parent

> Man, i wish everything was UTF-8 so we iconv would not be needed anymore. Too bad its defined in POSIX.

I wish nothing was in UTF-8 and UTF-8 was relegated to properties files. There are codebases out there with complete i18n and l10n in more languages that most here have ever worked with where there's zero Unicode characters allowed in source code files (with pre-commit hooks preventing committing such source code files).

Bruce Schneier was right all along in 1998 or whatever the date was when he said: "Unicode is too complex to ever be secure".

We've seen countless exploits based on Unicode. The latest (re)posted here on HN was a few days ago: some Unicode parsing but affecting OpenSSL. Why? To allow support for internationalized domain names and/or internationalized emails.

Something that should never have been authorized.

We don't need more of what brings countless security exploits: we need less of it.

Relegated Unicode to translation/properties file, where it belongs.

Sure, Unicode is great for documents, chat, etc.

But everything in UTF-8? emails? domain names? source code? This is madness.

I don't understand how anyone can admire the fact that HANGUL fillers are valid in source code are somehow a great win for our industry.

comment 2y ago · link · parent

VW's problem is the EU: the EU decided (corruption? incompetence? both?) to hand over the EU market to non-EU companies, like the chinese ones.

They way they did that was to come up with the craziest green agenda ever: no more sales of ICE vehicles in the EU by... 2035. They decided that a few years ago and this was the beginning of the end for all the EU car manufacturers.

There's no way the EU car manufacturers can be competitive with Tesla on one hand (better batteries) or the chinese (way, way, way cheaper vehicles) by 2035.

So EU politicians, in their usual idiocy, decided to destroy the economy of the biggest country in the EU, Germany.

Seeing this as an EU citizen makes me sick.

I understand that it's great to take ESG postures but... At the cost of destroying your entire economy? All the while the EU is a measly 400 million people and there are billions of people in, say, China and India who don't give a fuck about destroying the planet.

Insanity. 2035 was way too early: this left no time to german car manufacturers. A sad state of affair.

comment 2y ago · link · parent

> What happens to existing hardware at that point? Resold for video games? Sold to people who have cheaper electricity?

I think some is sold to people who have cheaper electricity. Some miners shall probably also mine at a loss for a while, sitting on reserves, while smaller ones dies.

Cannot resell for video games: Bitcoin is mined using dedicated ASICs since many years. And Ethereum, the second biggest after Bitcoin, is now mined using proof-of-stake (so neither GPUs nor ASICs involved).

But in a few halvings (every four years, so in a "few halvings" I won't be here anymore) I don't understand how it'd work out: too little BTCs rewarded per block and I don't see tx fees paying the miners.

comment 2y ago · link · parent

I think it's no coincidence that Kraken (a very old cryptocurrencies exchange) is publishing a post on its blog about Bitcoin the very day a Bitcoin halving is happening... Thought it was worth mentioning.

comment 2y ago · link · parent

FWIW, love or hate Bitcoin, the 4th Bitcoin halving is happening in 9 blocks as I type this, give our take 90 mins, probably a bit less.

comment 2y ago · link · parent

> ... And that just means that the debt is growing faster than the economy.

Just like in the EU: they've been hiding "growth" behind public debt. But that's fake growth, where nothing of value is created.

And there's a limit and that limit is now being reached. They'll kick the can down the road a bit more but... Out of the 150 cases or so throughout history where public debt reached crazy level, there's one case where it didn't go to complete shit: Japan.

And somehow all these geniuses at the bar are certain they'll manage to pull a Japan and not fail miserably like in the 149 cases where the state did default.

We have monkeys at the helm and it's going to end up ugly.

comment 2y ago · link · parent

> Car-centric suburbia is fiscally unsustainable ...

For whom? Many people love the suburbs and hate cities. I know many people who know work 3 days from home and only commute to work 2 days per week.

If the suburbs are fiscally unsustainable, what about rural?

What's your plan? Pack people in high-rises? Even if they don't want that?

comment 2y ago · link · parent

> Making them public would lead both to greater accuracy and their more widespread use keeps criminals out of the financial systems.

What about arresting criminals for their actual crimes instead of having a gigantic, worldwide, army of bureaucrats inventing sick and sicker KYC/AML rules which do nothing but cost business and honest people time and money?

Estimated worldwide KYC/AML compliance costs: $180bn. For absolutely nothing: nothing of value is produced. Pure Brazil (the movie) style redtape pointless documents, processes, code, etc. To freeze (not seize: just freeze, some of it shall be unfrozen after more pointless public servants shall waste time producing nothing of value)... $12 bn. 15x less than the estimated cost.

That's totalitarism for you: pure insanity created by sick minds and admired by sicker minds.

comment 2y ago · link · parent

Why is OpenSSL using punycode? To do internationalized domain name parsing?

comment 2y ago · link · parent

> But I dont like that both passages emphasize working for someone else.

Yeah. I was reading GP's interesting thoughts and was thinking: "At least I already got the part about not working for human masters right"!

1
939495
163