Or utf-16 is officially considered a second class citizen, and some code points are simply out of its reach.
919 karma · joined February 10, 2025
Or utf-16 is officially considered a second class citizen, and some code points are simply out of its reach.
You still work with text, the text just isn't the canonical stored representation. You get diffs to resolve only when structure is changed.
You get most of the same benefit with a pre-commit linter hook, though.
If I wrote a card game in 3 months, then cloned the repository and used that as a base to implement a different card game, it would be significantly faster with or without LLMs.
The argument is that it's not really an apples-to-apples comparison. "I wrote a game in 3 months and then used an LLM in 3 days to fork it and make some changes" is not the same thing as "I spent 3 months doing something that I could do in 3 days with LLMs".
I believe LLM-driven development is powerful (though I hate seeing "10x" everywhere, and have hated it long before LLM coding was big, when it was talking about supposedly superhuman coders), but this is not a good comparison, and the argument is sound.
Using those codepoints makes for invalid Unicode, not just invalid UTF-16. Rust, which uses utf-8 for its String type, also forbids unpaired surrogates. `let illegal: char = 0xDEADu32.try_into().unwrap();` panics.
It's not that these languages emulate the UTF-16 worldview, it's that UTF-16 has infected and shaped all of Unicode. No code points are allowed that can't be unambiguously represented in UTF-16.
edit: This cousin comment has some really good detail on Python in particular: https://news.ycombinator.com/item?id=44997146
And your software can do it, if it's written with the assumption that it will be pid1, but most non-init software isn't. And rather than write your software to do so, it's easier to just reach for something like tini that does it already with very little overhead.
I'd recommend reading the tini readme[0] and its linked discussion for full detail.
> The United States paid nothing for these Shares, and the Shares are now valued at approximately $11 Billion Dollars
I don't understand. Can somebody explain to me how the government made an investement, bought shares, but paid nothing?
You're being needlessly aggressive and making some uncalled-for assumptions.
field: <%= File.read('/foo/bar').to_json %>
Though I have myriad criticisms of YAML, this article's arguments are not a concern at all if you can ensure that your YAML parser always uses 1.2 regardless of any %YAML directive.It's kind of funny, because sometimes these tools are magical and incredible, and sometimes they are extremely stupid in obvious ways.
Yes, these are impressive, and especially so for local models that you can run yourself, but there is a gap between "absolutely magical" and "pretty cool, but needs heavy guiding" depending on how heavily the ground you're treading has been walked upon.
For a heavily explored space, it's like being impressed that you're 2.5 year old M2 with 64 GB RAM can extract some source code from a zip file. It's worth being impressed and excited about the space and the pace of improvement, but it's also worth stepping back and thinking rationally about the specific benchmark at hand.
As far as workflows go, there are far too many to list, and most artists use multiple, but common ones are:
* Sculpt from a base mesh, increasing resolution as you go with remeshing, subdivision, dyntopo, etc. * Constructively model with primitives and boolean modifiers. * Constructively model with metaballs. * Do everything via extrusion and joining, as well as other basic face and edge-oriented operators. * Use geometry nodes and/or shaders to programmatically end up with the result you want.
The current flavor of authoritarianism is quite bad, though, and does distastefully wear its hypocrisy on its sleeves.
>>> s = "abc"
>>> [x:=y for y in s]
['a', 'b', 'c']
>>> x
'c'
>>> y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'y' is not defined
Comprehensions have their own local scope for their local variables, but the walrus operator reaches up to the innermost "assignable" scope. if False:
x = 7
print(x)
print(x)
^
NameError: name 'x' is not defined
Ruby does this sort of stuff, where a variable is defined more or less lexically (nil by default). Python doesn't do this. You can have local variables that only maybe exist in Python. e = 'before'
try:
x = int('cat')
except Exception as e:
e2 = e
print(e)
print(e2) # <- This works!
print(e) # <- NameError: name 'e' is not defined
It's not a scoping thing, the bound exception variable is actually deleted after the exception block, even if it was already bound before!Sycophancy. I don't usually correct misspellings, but this one is pretty unique.
I find it hard to believe that even a plurality wants these books banned. Do we have proportions, or is it just a number of complaints?
Public goods can increase efficiency and well-being in a way that indirectly translates into increased economic efficiency, but no, profit is not a good direct long term goal of most public goods and services.
People distort the ALA's position as pushing LGBTQ books on children, but that's just the most in the limelight right now because those are the books that are being challenged the most, and the ALA is generally against book banning.
The ALA is aligned largely with classical liberalism, not modern progressivism, and most American conservatives I knew before 2016 would have agreed with their positions on freedom of information and personal privacy.
I don't think that's exactly the case. A lot of the HN crowd is very much against the current iterations of copyright law, but is much more against rules that they see as being unfairly applied. For most of us, we want copyright reform, but short of that, we want it to at least pretend to be used for what it is usually claimed to be for: protecting small artists from large, predatory companies.
> history | get 82076
╭─────────────────┬──────────────────╮
│ start_timestamp │ 2025-06-24 16:46 │
│ command │ mpc play │
│ cwd │ /home/work │
│ duration │ 1ms │
│ exit_status │ 0 │
╰─────────────────┴──────────────────╯
It's really nice, because it doesn't just tell you time between command executions (or rather time between commands finishing), but the actual runtime duration of the command.