Readit News logoReadit News
novok commented on Advent of Swift   leahneukirchen.org/blog/a... · Posted by u/chmaynard
zzo38computer · 11 hours ago
I disagree. I think it should be indexed by bytes. One reason is what the other comment explains about not being constant-time (which is a significant reason), although the other is that this restricts it to Unicode (which has its own problems) and to specific versions of Unicode, and can potentially cause problems when using a different version of Unicode. A separate library can be used to deal with code points and/or EGC if this is important for a specific application; these features should not be inherent to the string type.
novok · 7 hours ago
In practice, that is tiring as hell, verbose, awkward, unintuitive, requiring types attached to a specific instance for characters to do numeric indexing anyway and a whole bunch of other unnecessary ceremony not required in other languages.

We don't care that it takes longer, we all know that, we still need to do a bunch of string operations anyway, and it's way worse with swift than to do an equivalent thing than it is than pretty much any other language.

novok commented on macOS 26.2 enables fast AI clusters with RDMA over Thunderbolt   developer.apple.com/docum... · Posted by u/guiand
novok · 3 days ago
Now we need some hardware that is rackmount friendly, an OS that is not fidly as hell to manage in a data center or headless server and we are off to the races! And no, custom racks are not 'rackmount friendly'.
novok commented on Ask HN: Should "I asked $AI, and it said" replies be forbidden in HN guidelines?    · Posted by u/embedding-shape
swiftcoder · 6 days ago
"I googled that for you" is generally deployed when you know better than the other person (and likely wish to rub it in their face that they should know better too).

I feel like the LLM equivalent here sort of demonstrates the exact opposite (I don't know enough about this topic to even doubt the accuracy of the machine...)

novok · 6 days ago
I often get to a point where it's faster to tell a person to just look at the output of the ai agent than to write it out myself.

"I googled that for you" can also be done from a position of ignorance too.

This is just a new thing that new cultural norms are developing from.

novok commented on GitHub Actions has a package manager, and it might be the worst   nesbitt.io/2025/12/06/git... · Posted by u/robin_reala
worldsayshi · 7 days ago
I've not understood the propensity for using yaml for CI pipelines and workflows in general. A decent programming language would be a big improvement.

Why not just build the workflows themselves as docker images? I guess running other docker images in the workflow would then become a problem.

novok · 6 days ago
After having to deal with shell rc files causing chaos and unpredictability, I can appreciate your top level code fundamental not being random code but something that is parsable and not subject to the halting problem.
novok commented on How private equity is changing housing   theatlantic.com/ideas/202... · Posted by u/harambae
EricDeb · 6 days ago
What about a law where you couldnt use over a million dollars (to exclude normal people) a year of any asset as collateral for a loan unless you paid capital gains on it at its current valuation?
novok · 6 days ago
You create a lot of other side effects that destroy a lot of valid activity and thus cause a large economic depressive effect, or you will start needing to provide a lot of other counterbalances that will be even worse or cost the government a lot more.

This has the finance equivalent of feeling like cookie banners will actually do anything.

Political power will advocate for it's power, you have to go one level higher and interact at that level, not on tax law tweaks.

To give an example of where this has gone wrong already, look at the entire interaction between startup stock, ISOs and AMT and how it creates a horrible trap for startup employees, but not for founders and investors who get a lot of very nice tax benefits like QSBS, no AMT, so on. Because startup employees are diffuse, usually have unstable employment and are usually younger, this hasn't been fixed to this day.

While other countries like Israel have this fixed in a very elegant way, where you can exercise without tax bombs and only actually have tax liability when you actually can and do practically realize or liquidate the stock gains.

novok commented on Ask HN: Should "I asked $AI, and it said" replies be forbidden in HN guidelines?    · Posted by u/embedding-shape
novok · 6 days ago
IMO you shouldn't put a large amount of quoted text, that is just annoying. You should link out at that point. I think if we ban people from citing sources, they will just stop citing sources and that is even worse. It's the new "I googled that for you" and that is fine IMO.
novok commented on The rapid growth of data centres is delaying new homes in London   bbc.com/news/articles/c0m... · Posted by u/1659447091
downrightmike · 11 days ago
Once the bubble pops, maybe they can be converted into homes?
novok · 11 days ago
Seeing how short all the buildings are in London, its housing shortage is obviously fairly self imposed in that city.
novok commented on The rapid growth of data centres is delaying new homes in London   bbc.com/news/articles/c0m... · Posted by u/1659447091
kristianc · 11 days ago
I'd imagine that a large part of the demand for data centres in the South is driven by the need for extreme low latency with the City of London and other financial centres like Frankfurt.

It's all well to say there should be more incentive to build data centres in the North, but physics is physics.

novok · 11 days ago
maybe time to move the city of london's data centers too? meta doesn't have a huge data center in their corporate offices either.
novok commented on The most male and female reasons to end up hospital   leobenedictus.substack.co... · Posted by u/speckx
zamadatix · 19 days ago
These things wouldn't be classified as hospital admissions.
novok · 19 days ago
There are other regular checkup stuff that does end up there depending on how it's filed. Heart imaging, mammograms, colonoscopies, etc.
novok commented on Over-regulation is doubling the cost   rein.pk/over-regulation-i... · Posted by u/bilsbie
rstupek · 24 days ago
Unfortunately your silly rule is something that exists (not for interior decorators of course) but for countless other trade jobs (barber, plumber, etc). Whether that's good or bad I can't say
novok · 24 days ago
It does exist! https://occupationallicensing.com/occupation/interior-design...

Yes, it has gotten that bad.

u/novok

KarmaCake day6950March 13, 2019View Original