HNHacker News
TopNewBestAskShowJobs

Sardtok

199 karma · joined July 20, 2022

submissionscomments
Sardtok··on FracturedJson
Have you heard of EDN? It's mostly used in Clojure and ClojureScript, as it is to Clojure what JSON is to JS.

If you need custom data types, you can use tagged elements, but that requires you to have functions registered to convert the data type to/from representable values (often strings).

It natively supports quite a bit more than JSON does, without writing custom data readers/writers.

https://github.com/edn-format/edn

Sardtok··on Pokémon Team Optimization
Just a wild guess, but perhaps the order of the translations vary across cells. Perhaps the browser just picks the first one that matches your supported locales.
Sardtok··on “Super secure” messaging app leaks everyone's phone number
The fact that the PIN is leaked is bad enough, but it also happens to be plaintext. This is a password. It should not be stored unhashed, and it should be hashed with strong algorithms.
Sardtok··on Rats Play DOOM
In the year 2032, the rodrone wars broke out. What started as innocent video game experiments, had taken a dark turn. After the rats had perfected playing the classic Doom games in 2026, they were easily trained on more complex simulations. In 2028 the first rodent controlled surveillance drones were tested. The year after weaponised. And the first real deployments in warfare in 2030. They easily outperformed OpenAIs latest battle systems. Home robots were soon after remote controlled by rats, known as Rodots. Rodent intelligence escalated quickly as lab selections bred only the smartest specimens. It was only a matter of time before the takeover. Now rodots were building steadily more capable drones and bots. Long before humans could foresee the need for a defense against the rats, the rodrone attack on all humankind, was a fact...
Sardtok··on Applets are officially gone, but Java in the browser is better
You could easily say the same about C/C++, as the operating systems and most databases are written in the language(s).
Sardtok··on Japanese game devs face font dilemma as license increases from $380 to $20k
I suppose you're counting the joyo kanji plus kana alphabets with diacritics. But the actual count of kanji is much higher, even if Japanese uses a relatively small number of characters for day-to-day writing.

Pretty much every native university student I met when I studied there, had passed the Kanji Kentei level 1 test. A certification of proficiency in around 6000 kanji.

Sardtok··on Doomsday scoreboard
Have a look in the Fiction section of the Cliodynamics article.
Sardtok··on Lewis and Clark marked their trail with laxatives
There's this thing called sarcasm
Sardtok··on Try and
It's kind of funny that in Norwegian, people mix up the infinitive "to" and "and", as they are pronounced the same, "o" in IPA. So we have the same thing in Norwegian writing, but if you happen to use "and", you must use the imperative form of the verb for it to be grammatically correct. So, "try to stop me" is "prøv å stoppe meg", and "try and stop me" is "prøv og stopp meg". The latter is much more colloquial.

This isn't a problem in Swedish and Danish, as their infinitive marker is "att/at", which in Norwegian only means "that" in its conjunctive form.

I wonder if there's any relation to the Norwegian here.

Sardtok··on The Epochalypse Project
It also says nothing about a formal education, just that he has worked in IT since his teens. I didn't hear of the 2038 problem myself until the whole Y2K debacle, but then, I was in my teens at the time.
Sardtok··on Thank HN: The puzzle game I posted here 6 weeks ago got licensed by The Atlantic
That's a fun little puzzle.

I realize it might be easier to write a puzzle than solve one. Writing them seems quite hard at first, but you have the solution and can choose words to break into clues, and from there do the same again until you have a properly complex puzzle.

Congratulations on getting it picked up by the Atlantic.

Sardtok··on Monster Cables picked the wrong guy to threaten (2008)
Yeah, 1979 was totally the biggest year in meme history.
Sardtok··on I believe 6502 instruction set is a good first assembly language
The S in RISC does not stand for simple. What the? If someone's going to write about assembly programming, they should at least know what CISC and RISK are.

I'm not saying 6502 assembly can't be an interesting endeavor, but it's a bit restrictive for a first language. Maybe if you already know some low-level programming like C. But it's still easier to do things with a few more registers. And it's not like you have to use every register and instruction available on the CPU to write some assembly.

Sardtok··on Haskell: A Great Procedural Language
Well, he responded to someone saying the type signature of map was more complicated than ANY C construct.
Sardtok··on Show HN: API Parrot – Automatically Reverse Engineer HTTP APIs
Linux is good for development, but Apple hardware is pretty damned nice.

Now if Framework laptops were available in Norway, I'd probably rather have that, even if they're not as powerful.

Also, depending on where you work, there might be restrictions in the choice of platform. Usually limited to Mac or Windows.

Sardtok··on Show HN: API Parrot – Automatically Reverse Engineer HTTP APIs
Yes, when you write web apps in x86 assembly, it gets tricky.
Sardtok··on How I configure my Git identities
Mixing personal and work data in the same directories on disk can be an issue. Requires extra work to cleanly separate private stuff and confidential work stuff.
Sardtok··on First Impressions: Lenovo T14s with Qualcomm Snapdragon ARM64 CPU
One is $1000 and the other is around $3000. So performance per dollar looks about right.
Sardtok··on Show HN: SuperSplat – open-source 3D Gaussian Splat Editor
Oh, they do. They most definitely do. And salads. ∪= Feta hasn't made into Unicode yet, so I'm substituting it for generic cheese, but just you wait.
Sardtok··on Ghosts in the Machine
Mogwai literally means devil in Cantonese.
Sardtok··on Don't Publish with IEEE (2005)
He did say "if capitalism was really working". I at least read that as "working as intended", i.e. as the capitalistic ideal.
Sardtok··on Playable Counter-Strike Diffusion World Model (trained on 2x4090, 5M frames)
Never mind, the repo on Github says 12 days on a 4090, so I'm unsure why the title here says two.
Sardtok··on Diffusion for World Modeling
Two 4090s, but yeah.
Sardtok··on Sanding UI
I was on a site the other day, a hotel or flight website. I think it was a review form. There were checkboxes, where the checkbox wasn't clickable, only the labels. I was sure the whole thing was frozen, but happened to find some other UI controls were responding. So I tried the labels.

I've come across the reverse scenario quite a few times, where the label isn't clickable, but this variant was new to me.

Sardtok··on Warner Brothers Cartoon Companion (1998)
Thank you for clarifying. It's now as clear as a crystal glass filled with tar. /s
Sardtok··on Shera – Event Management Tool
So this tool was featured in a Norwegian tech newspaper. The guy who made it, wanted an alternative to Facebook events, so he made his own tool. It's pretty minimalistic. You can post messages to an event and export the event to at least Google Calendar (I logged in with Google to test it, so unsure if it does ICS export).
Sardtok··on Want to spot a deepfake? Look for the stars in their eyes
Boats are mostly air by volume, which isn't heavy at all compared to water.
Sardtok··on Let's stop counting centuries
And so is the first century of the zero-indexed calendar.
Sardtok··on I am using AI to drop hats outside my window onto New Yorkers
I'm looking into starting a piano or anvil store. This is just the thing I need to make my dream come true.
Sardtok··on You'll regret using natural keys
128 bits is 16 bytes. BIGINT is a 64 bit int (long or long long).

So there is at least additional storage required, and probably some CPU cost as well. And even UUIDv7 isn't guaranteed to produce sequential IDs, but it's probably good enough to not seriously fragment your table storage.

But yes, UUIDs are usually stored as integers.

← PreviousPage 2 of 4Next →