HNHacker News
TopNewBestAskShowJobs

Karellen

5,317 karma · joined October 27, 2011

submissionscomments
Karellen··on The brain's waste clearing lymphatic system shown in people for first time
Looks like it, according to Wikipedia: https://en.wiktionary.org/wiki/Langford%27s_basilisk

Just read the story, thought it was very reminiscent of one of the plot points in Neal Stephenson's Snow Crash (1992) - until I noticed the publication date of 1988, 4 years earlier!

Karellen··on A Controversial Rare-Book Dealer Tries to Rewrite His Own Ending
Rotate the phone to landscape mode, and then into portrait. The address and tab bars should be displayed on the change to portrait.
Karellen··on NASA freezes Starliner missions
Part of the benefit of having Starliner and SpX is redundancy. Having multiple vendors to choose from/have compete each other/use as backups if one is grounded, is a large part of the point. Having anyone, including Musk, have control over both defeats the purpose of redundancy.
Karellen··on My experiences with Automattic: Part 3
A really good primer on the whole background is LWN's recent "The WordPress mess"

https://lwn.net/Articles/991906/

They have a follow-up "WordPress retaliation impacts community". It's currently subscribers-only for another week, but they do allow subscribers to generate free links provided subscribers don't abuse that - which I don't think this should count as?

https://lwn.net/SubscriberLink/993895/8482b183b2dcb418/

Karellen··on Winamp deletes entire GitHub source code repo after a rocky few weeks
Hah, called it:

https://news.ycombinator.com/item?id=41645867

> Oh.... they vendored everything, including a bunch of external x86 binaries. 32- and 64-bit. FFS.

> But also - I sure hope they got the licensing correct for those parts...

Karellen··on We're excited about our new roundabout
What the hell is that "dump truck with trailer" on a really long connector at 3:50? Is that a thing in some parts? How does that navigate almost any kind of roadway safely?
Karellen··on We're excited about our new roundabout
Ah, thanks for that.

I was looking at the markings that are there, and they made it seem like traffic approaching the roundabout would have priority over traffic already on it.

Karellen··on So thieves broke into your storage unit again
So that's what happened to Captain Carnage!
Karellen··on Whence '\n'?
Although that presentation does point out that the technique is more generally used in quines. Given that there is a fair amount of research, papers and commentary on quines, it's possible that the author may have read something along those lines.

https://en.wikipedia.org/wiki/Quine_(computing)

Karellen··on Visual Studio Code is designed to fracture (2022)
> MS has managed to pacify even the strongest FOSS advocates

I'm not sure that's the case. I think the strongest FOSS advocates gave up on Microsoft decades ago, and just don't engage with anything they put out. If MS release source-available stuff, strong FOSS advocates don't peep because they've not even looked at it. Why bother - it's Microsoft. If someone else does it, well, the FOSS advocates still had some hope that what they didn't wouldn't be terrible, so there's space for those hopes to be dashed.

Karellen··on Reading texts on paper versus computer screen: Effects on reading comprehension [pdf]
(2012)
Karellen··on Winamp Legacy player source code
Oooh, a legacy version of winamp? Might as well clone the repo, that'll be a pretty small download, from before when software got all bloated

...

750Mb later: WTF?

[tippety tappety clickedy clackedy]

Oh.... they vendored everything, including a bunch of external x86 binaries. 32- and 64-bit. FFS.

But also - I sure hope they got the licensing correct for those parts...

Karellen··on Winamp Legacy player source code
Winamp existed before piracy was well-organised, or even bandwidth-feasible for many people. A lot of people will have used it to play rips they'd made of their own CDs.
Karellen··on Judge dismisses majority of GitHub Copilot copyright claims
What about github's more recent history?
Karellen··on Judge dismisses majority of GitHub Copilot copyright claims
> I was lucky to learn early-on that publishing important things to the web meant relinquishing control of not just the IP, but my own agency and fate.

Not only is that not true, it's contradicted by the very page you link.

That page has a list of links to resources you can use to self-host git repositories you want to publish, so you don't have to give up control of anything.

(Although, against GitHub as I am, even I am unable to fathom how publishing things on GitHub could possibly mean relinquishing control of your fate.)

Karellen··on NASA announces Boeing Starliner crew will return on SpaceX Crew-9
> The government is not a good allocator of funds, free market competition works a lot better for creating the best product.

That doesn't explain why their civilian aircraft aren't just not the best product, but have gone completely to shit over the last decade or two. The 737 max is the most notorious example here, as it's their most recent development and has never been good from the start - but reporting suggests that the engineering on their formerly-good lines has been going downhill also, and it's only the fact that they started out as good products which means they've taken longer to fall as low.

And there's very little government revenue for the civilian aircraft design and manufacturing side of the business. It's all free market competition.

Karellen··on The Katsuification of Britain
One might argue whether chips are actually small chunks of roughly cut (i.e. chipped from) potato, but crisps most definitely are not. Crisps are precisely sliced, quite thinly (and, as you point out, are crisp). Chips approximate chips.
Karellen··on Hacker Purity Test (1989)
If you have the right package installed

    purity /usr/share/games/purity/hacker
will do the same thing, but local-first. Also:

    dpkg -L purity
or whatever equivalent lists package files on your system, will indicate the presence of other tests you can take.

Also also, `purity-off`

Karellen··on Why Polars rewrote its Arrow string data type
Ah.

One other approach that does occur is to just malloc() a 16GiB buffer to begin with. Only pages you touch should end up being backed by RAM(/swap). Then your finalize() operation is just a realloc() to "shrink" the buffer down to its final size. Any decent allocator should keep the data where it is, and just make the now-unused tail portion of address space available again, without ever having needed to back it.

Karellen··on Why Polars rewrote its Arrow string data type
> So that they could be released with free().

Well, yes, you have to replace free() and calloc()/realloc() too. Sorry, didn't think that needed spelling out.

> > Why not entirely replace malloc() for the process?

> Now that's just rude.

Isn't that generally what alternate custom allocators do, though? Like dmalloc and jemalloc?

Karellen··on How to talk to your parents about hardware memory safety
> only 8GB of RAM

lol. We had 32-bit pointers on 386/486 systems in the early '90s, on systems with frequently less than 4MB of RAM.

If making pointers 4x bigger on systems with 2000x the amount of memory is a problem, I'm not sure how we're going to be able to solve anything ever again.

> Also, it confuses any code that assumes you can convert a pointer to a long (or long long) and back.

Well, that's why we invented intptr_t. Back in... checks notes C99. 25 years ago.

smh

Karellen··on Why Polars rewrote its Arrow string data type
Given that you're writing a custom allocator, why were you trying to hand allocations over to malloc()? Why not entirely replace malloc() for the process?

(If you still need libc malloc for smaller non-growable allocations under the hood, you should be able to privately access it via dlopen()/dlsym() in your code, shouldn't you?)

Karellen··on Gear Acquisition Syndrome
I seem to have anti-GAS.

I've got a 5-year old phone (thanks Apple for maintaining OS security support for my model for so long!), a 3-year old laptop I'm not planning on replacing any time soon, and the non-computer based hobbies I've managed to stick with for any length of time are running and bouldering, where the only gear you really need for both are appropriate shoes. And I only have one pair of shoes for each.

Yeah, I've got some light, breathable, non-chafing clothing that makes both less unpleasant to do, but I couldn't tell you with 100% certainty what brand they are, or exactly what they're made of. And I have a bottle of liquid chalk, whatever they were selling in the gym the last time I needed to get some more. But I'm not on Strava or whatever, and I don't track my per-km splits or my heart rate/zone or elevation gained or cadence. I'll time a whole run with a $20 Casio wrist/stopwatch, and sometimes calculate an average pace, but that's about it.

Not that I'm particularly good at running or bouldering, but I'm enjoying doing both at the level I'm currently at, so that's fine.

Anyway, any hobby that requires a bunch of gear is just a turn-off for me. The more gear I'd need, the more I want to give it a wide berth.

Computer software I love to nerd out on. But everything else? Hardware? That's a break from the nerdery for me.

Karellen··on I prefer rST to Markdown
Any sufficiently complicated lightweight markup format contains an ad-hoc, informally-specified, bug-ridden, and only slightly easier to use implementation of half of either DocBook or TeX.
Karellen··on I'm not a fan of strlcpy(3)
They describe the section of the manual, where 1 = programs, 2 = syscalls, 3 = userspace functions, 4 = special files, 5 = file formats, 6 = games, 7 = misc/overviews.

So printf(1) is the man page for the /usr/bin/printf command, while printf(3) is the man page for the libc printf() function.

Alternatively, readdir(2) is the man page for the readdir syscall, while readdir(3) is the man page for the libc wrapper, which no longer actually calls readdir(2). See also syslog(2) and syslog(3).

Or, time(1) is the man page for /usr/bin/time to time how long commands take. time(2) is the syscall to return the number of seconds since the epoch. And time(7) gives you an overview of time and timers on the system.

Karellen··on Nevada’s public employee pension fund invests passively and beats peers (2016)
> you just have to go to the bank and borrow 10x your capital.

"just" is doing a lot of heavy lifting in that sentence.

Karellen··on Nevada’s public employee pension fund invests passively and beats peers (2016)
> getting 10% average annual returns with 10% annual volatility is worst than getting 5% returns with 1% annual volatility.

Doesn't this depend on how long you're planning on investing for, and what your criteria for selling your investments are?

If you're planning on investing for at least 10 years, and you're willing to give yourself a 2-3 year window for selling your investments once they reach a threshhold you decide on ahead of time, isn't the 10%/10% investment better?

(e.g. if retirement is 20 years away, you might consider putting your funds in that sort of investment for 10 years, with a view to moving them to something less volatile in the 5 years after that, as soon as they cross a 10% annualised return threshhold during that window.)

Karellen··on Detecting hallucinations in large language models using semantic entropy
Maybe another way of looking at it is - the paper is attempting to explain what LLMs are actually doing to people who have already anthropomorphised them.

Sometimes, to lead people out of a wrong belief or worldview, you have to meet them where they currently are first.

Karellen··on 1/25-scale Cray C90 wristwatch
3. Become a bookmaker/start a casino.

It's like being a gambler, but you get to stack the odds in your favour, deliberately, tell people you've done so, and have everyone be fine with that. If you use any knowledge of future events to stack a few odds a little more in your favor, no-one's going to know any different, and they'll attribute any weird variances in your income to the punters who all made poor bets, rather than to your mad odds-setting skills.

If you're going to gamble, always be the house. Only a complete moron can lose money that way.

Karellen··on Discussion on why SQLite is gaining popularity [audio]
AFAIK git has pluggable diff and merge engines. I wonder if it would be possible to create a diff/merge git plugin for sqlite files that does an intermediate conversion to .sql dump files, with some kind of serialisation normalisation so that rows are output in a stable order between runs.
← PreviousPage 3 of 34Next →