HackerTrans
TopNewTrendsCommentsPastAskShowJobs

RedNifre

528 karmajoined 12 yıl önce

comments

RedNifre
·8 gün önce·discuss
Neat! If you don't have a PostgreSQL DB ready, you can also compile Commodore 64 Basic for you HP 15-C calculator instead: https://forum.swissmicros.com/viewtopic.php?f=23&t=2194&p=11...
RedNifre
·geçen ay·discuss
They probably meant "Boomer" in the colloquial sense of "somewhat old person" like how "Boomer Shooters" are for GenX and older Millenials.
RedNifre
·geçen ay·discuss
Oooh, you mean people turned on sub pixel rendering while running their screen at a non-native resolution and thus got these colors all the time? Yeah, I guess that could cause nostalgia.

Thanks!
RedNifre
·2 ay önce·discuss
Could somebody explain the Coral Pixel font? It makes no sense to me, given that the whole point of sub pixels was to look sharp without looking colorful. It only ever looked like that when you took a screenshot and then zoomed in, which seems extremely niche.
RedNifre
·2 ay önce·discuss
I think it depends on the country. In Germany, everything you write is automatically copyrighted, unless you explicitly waive it. In the US, it's the other way around, you have to explicitly state that you want copyright (can somebody confirm this?).

I'm not a lawyer, but I guess a German posting on Hacker News effectively waives their copyright by sending their comment to the US, where an US company then publishes the comment on a US server.
RedNifre
·2 ay önce·discuss
It depends on the language and/or used libraries. E.g. in Go, the problem does not exist, because it uses UTF-32; Rust uses UTF-8, but it makes sure that you can't cut a string between bytes that belong to the same character.

Fun Java/macos quirk: macos normalizes file names, so you can't have two files called ü in the same directory by writing ü as a single character and as composing characters. But unfortunately, this only happens on write, not on read, so if you type an ü on a German keyboard (produces a single character) into the Java source code file when writing a file name, the file will be saved with the decomposed name instead, but when trying to open the file, it will not be found when trying to open it with the single character name.
RedNifre
·3 ay önce·discuss
The way I remember it was that replay playback would only break if you played a replay with a different game version than it was recorded with.
RedNifre
·4 ay önce·discuss
They don't see the letters, so how could they possibly succeed at that? It's like asking a human how many infrared flowers they see.
RedNifre
·4 ay önce·discuss
Is there some philosophical/ethics work done on the question which fictional crimes, taboo breaks or unethical behavior are okay and which aren't? Iirc Japan takes the extreme position of legalizing all fictional wrongdoings, whereas the west is okay with fictional violence (e.g. murder mysteries), but not okay with some other things. Where to draw the line?
RedNifre
·5 ay önce·discuss
QR codes store bits, arranged into bytes (A byte is the shape of a 3x3 square with one corner missing), so how more traditional can it get?
RedNifre
·6 ay önce·discuss
Regarding the Minecraft issue:

If a Minecraft Java server has the special Geyser plugin ( https://geysermc.org/ ), Minecraft Bedrock clients can connect to it, so you can stick to Minecraft Java on Linux and still play together with your kids who are on Minecraft Bedrock on their iPads.
RedNifre
·6 ay önce·discuss
Here is my explanation for "software people who understand databases". The structure of the explanation will be as follows:

  1. Explain how you would do simple accounting with a database
  2. Point out which indices you'd create for performance
  3. Show how the "double entry" part of double entry accounting is about the indices
1. The way you'd do accounting in a database is with two tables: One table for accounts (e.g. your checking account, or the supermarket account, which you don't own) and another table for transactions. The transactions move an amount of money from one account to another, e.g. from your checking account to the supermarket account. Or if you use it for budgeting, you might split your checking account into a groceries account, a rent account etc. (think "categories").

2. For performance, you would create indices based on the accounts in the transaction table, so you could easily check what's going on e.g. in your groceries account or how much you spent at the supermarket.

3. Double entry accounting was formalized in the 15th century, way before computers became a thing, but bound paper books were already somewhat affordable. The way you'd do accounting is like this: During the business day, you would write down your transactions as they happen, into a scrapbook, similar to the transactions table mentioned above. At the end of the day, you'd do the "double entry" part, which means you take your "index" books where each book is about one account and you transcribe each transaction from your scrap book into the two books of the two accounts that are mentioned in the transaction, e.g. if you spent $10 from your groceries account into the supermarket account, you'd double enter that transaction both into your "groceries" book and into your "supermarket" book. Then, when you want to check on how much you spent at the supermarket in a particular month, you could easily look it up in the supermarket book (this would be very tedious when using the scrap book). These account centered books are like the indices in the database mentioned above.

So the double entry part is about clever index building for making it easier and faster to understand what's going on in your accounting system.
RedNifre
·7 ay önce·discuss
I just finished https://www.lexaloffle.com/bbs/?pid=178450#p , my Signalis themed version of the Regicide card game.

It's mainly a distraction from enterprise programming, but it does have some parts that might be interesting to Lua programmers, like automated test suits, functional programming point free style and deploying to a raspberrypi via justfile.

The git README kinda doubles as a blog post: https://gitlab.com/michaelzinn/replicide
RedNifre
·7 ay önce·discuss
Because the LCARS GUI is only for simple recurring tasks, so it's easy to find an optimal interface.

Complex tasks are done vibe coding style, like La Forge vibe video editing a recording to find an alien: https://www.youtube.com/watch?v=4Faiu360W7Q

I do wonder if conversational interfaces will put an end to our GUI churn eventually...
RedNifre
·7 ay önce·discuss
The lack of capitalism meant that the holodeck program authors had no need to optimize their programs for user retention to show them more ads. So much fewer people suffer from holodeck addiction in Star Trek than are glued to their screens in our world.
RedNifre
·8 ay önce·discuss
"Cargo cult"? As in, "Looks like the genius artists at Pixar made everything extra green, so let's continue doing this, since it's surely genius."
RedNifre
·8 ay önce·discuss
Why does it have Either? Doesn't TypeScript have "A | B" style sum types?
RedNifre
·8 ay önce·discuss
Nice, what's the KMP plan there?

We currently use https://github.com/michaelbull/kotlin-result , which officially should work on KMP, but has some issues.
RedNifre
·9 ay önce·discuss
Looks easy to parse to me and you could also remove the commas in the array.

    { foo: "bar" baz: "bak" quux: [a b c d] lol: 9.7E+42 }
RedNifre
·9 ay önce·discuss
You can also remove the commas in the arrays.