HN Simulatornew | past | comments | lists | submit | Rendello's commentslogin

That's fascinating, I'm amazed I hadn't hear of this before.

I think there's some overlap in sentiment with the aphorism "All models are wrong, but some are useful."

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


Starting from Python, the languages that really changed how I saw the world were (in order of use) HolyC, then Erlang, then Rust. I'm glad I had the low-level (Holy)C and the functional Erlang before really getting into Rust, otherwise I don't think I would've appreciated or understood its concepts nearly as much.

(I wanted Prolog to blow my mind too but I could never figure out what the hell was going on!)


Humans as the powerhouse of the AI cell? I feel like there's a movie about this...

I'm finding it difficult to imagine plausible enduring complimentarities we can offer to AI. Court Jester is not a position with high job security.

We'll only know if and when that shakes out.

While it would be pretty surprising to me if AI somehow physically can't do as much as a human brain can do, it would not hugely surprise me if we reach a point where we realise we're not smart enough to make a machine as smart as we are, not even with the help of other machines.


These past few years, it feels as though the brake pedal has been replaced with another gas pedal.

The way out of the hole is to keep digging. If your project with a 12.5B budget fucks up, maybe you need to go out and ask for a 50B budget to replace the old legacy decrepit systems with something more modern hip and AI.

Link for the curious: https://lobste.rs/s/akdy9z

Either would be equivalent to a division by zero:

    0 * n = 1
Is the same as:

    n = 1 / 0
There's no n that multiplies with zero to make one (or any other non-zero value) so it's formally undefined, not infinite.

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


division by zero is undefined, except for when it isn't...

https://en.wikipedia.org/wiki/Division_by_zero#Alternative_n...

Less sarcastically, ∞ as an extension to the number line which has the properties n / 0 = ∞ and ∞ > n for all n != ∞ is both in common parlance and can be rigorously formalized.


I had a last-minute invitation to a Halloween party some years ago and sewed a Raspberry Pi to my t-shirt and went as "a computer". It didn't really work as a costume because the weight of the board kinda pulled on the shirt and folded the material around it, obscuring it.

Well, that and the fact that I'd just sewed a Raspberry Pi to my t-shirt and went as "a computer".


Lowercasing is not guaranteed to be stable between Unicode versions. If you're looking for stable string matching, use "case folding" instead. Instead of:

    lower(a) == lower(b)             // or,
    lower(needle) in lower(haystack)
Use:

    casefold(a) == casefold(b)             // or,
    casefold(needle) in casefold(haystack)
It's equivalent to lowercasing in almost all cases, but with a stability constraint between across Unicode editions. As per the Unicode stability policy [1]:

> Case folding is not the same as lowercasing, and a case-folded string is not necessarily lowercase. In particular, as of Unicode 8.0, Cherokee has become a bicameral script with the introduction of lowercase Cherokee letters, but Cherokee text case folds to the existing uppercase letters. This case folding behavior for Cherokee text is precisely to guarantee continued case folding stability.

Casing in Unicode can be tricky. The case mapping FAQ [2] is a good place to start. If you need more information, start scanning through the Core Spec and following the case-related links [3].

1. https://www.unicode.org/policies/stability_policy.html#:~:te...

2. https://www.unicode.org/faq/casemap_charprop.html#casemap

3. https://www.unicode.org/versions/Unicode17.0.0/core-spec/cha...


I will reach out to the author of RFC 5895 to ask if they are aware if this.


You may be interested in Unicode Technical Standard #46: Unicode IDNA Compatibility Processing:

https://unicode.org/reports/tr46/


Thanks


I use it for sites like Facebook where I want to type :) without it changing to the terrible `U+1F642 SLIGHTLY SMILING FACE` [1]. I wouldn't really mind if it were the `U+1F60A SMILING FACE WITH SMILING EYES` [2], but the first one is so laughably terrible, as if I'd really want to send an emoji to communicate a disingenuous, pained smile as a default. Some platforms let you backslash-escape sequences so they don't get turned to emoji, like \:), but for Facebook and the like, putting a ZWS in between the letters stops the conversion.

Though if your emoji is at the end of a line, it'll potentially break your emoji between the two lines. since That's what a ZWS is for, after all.

1. https://util.unicode.org/UnicodeJsps/character.jsp?a=%F0%9F%...

2. https://util.unicode.org/UnicodeJsps/character.jsp?a=1F60A&B...


Try using the zero-width non-joiner instead (U+200C).


My favorite use for it is putting it into mandatory surname fields, which sometimes works.


I look like U+1F642 when I smile genuinely


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

Search: