Hacker Newsnew | past | comments | ask | show | jobs | submit | Sardtok's commentslogin

The PAL, JP and US versions are soooo different. Here's the PAL cover: https://i.redd.it/1sra7fk3bsgb1.jpg

That was the first video game I bought myself.


This cover art is beautiful in comparison, looks like a proper B movie poster.

If the data gathered is only on gameplay, and not something that can be used as PII like IP addresses or device information, then it should be fine. Gathering things like the score and time spent completing the level, isn't a problem. This could be used to rank the levels, without gathering any user information.

If gathering the data should be fine, then asking for permission should also be fine.

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


Another thing to possibly consider would be ASN.1 (you can also use the nonstandard extensions that I made up, called ASN.1X, if you want some of the additional types I included such as a key/value list). (You are not required to implement or use all of the types or other features of ASN.1 in your programs; only use the parts that you use for your specific application.) Unlike EDN, ASN.1 has a proper byte string type, it is not limited to Unicode, it has a clearly defined canonical form (DER, which is probably the best format (and is the format used by X.509 certificates); BER is too messy), etc. DER is a binary format (and the consistent framing of different types in DER makes it easier to implement and work with than the formats that use inconsistent framing, although that also makes it less compact); I made up a text format called TER, which is intended to be converted to DER.


I haven't, but it's an interesting format for sure.

I've found a more comprehensive documentation here. [1]

At first glance, I would say it's a bit more complex that it should for a "human readable" format.

[1] https://edn-format.dev/


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.


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.


It’s a 6 digit pin. Doesn’t seem worthwhile to hash. What are the best practices here? I’m not sure


There is never a need to store a pin in the database, store it in temporary storage like redis. Set the TTL to the expiration date. You can hash if needed, but I’m less concerned that someone hacks into your reds instance and steals your pins from the last 10 minutes, bc everything else is gone.

There should never be a need to return a pin to the client. You’ve already texted/emailed it to them. They are going to send it back to you. You will check against your temporary storage, verify/reject, and delete it immediately after.


Yeah, you can only delay attacks by a tiny little bit, but the search space of 10^6 is just too small. Salting it doesn't give you much more security.


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...


Pets.com buys 8M sq feet of datacenter realestate in a deal with Oracle's liquidators, which is reported to include fitting the racks with hamster wheels and feeders. Sets sights on 400B IPO


> rodent controlled surveillance drones

See also: WWII era, pigeon-controlled guided bomb: https://en.wikipedia.org/wiki/Project_Pigeon


You could easily say the same about C/C++, as the operating systems and most databases are written in the language(s).


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.


2100 I took from Wikipedia:

> Japanese primary and secondary school students are required to learn 2,136 jōyō kanji as of 2010.[4] The total number of kanji is well over 50,000, though this includes tens of thousands of characters only present in historical writings and never used in modern Japanese.

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


They might have passed some level of the kanken (kanji kentei) in school but it is unlikely to be level 1. The gap between level 1 and 2 is ridiculous.


Yeah nah imma call bullshit on that. Kentei 1 is notoriously difficult, only a few thousand people per year try it and the pass rate is single digits.


A typical font contains around 7,000 characters. In everyday use, you rarely touch all of them—most situations stay comfortably within the realm of jōyō kanji. However, there are many edge cases, especially with personal names, where the required characters fall outside the jōyō set. Fonts must be prepared to handle all of these possibilities, including the less common name kanji.


Have a look in the Fiction section of the Cliodynamics article.


There's this thing called sarcasm


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: