HNHacker News
TopNewBestAskShowJobs

scj

910 karma · joined July 13, 2009

submissionscomments
scj··on "Free Software": An idea whose time has passed
Stallman, who apparently speaks French, said the 'L' stands for "Libre". https://www.gnu.org/philosophy/floss-and-foss.en.html

The word matches his intent of "Free Software" without English's ambiguity around gratuity vs. freedom.

scj··on Asahi Linux lead developer Hector Martin resigns from Linux kernel
"In 2010, after twenty years under development, Stallman said that he was "not very optimistic about the GNU Hurd. It makes some progress, but to be really superior it would require solving a lot of deep problems" - https://en.wikipedia.org/wiki/GNU_Hurd
scj··on We Didn't Evolve to Exercise
Labour-saving devices also have a tendency to save time.
scj··on Something weird is happening with LLMs and chess
It'd be more interesting to see LLMs play Family Feud. I think it'd be their ideal game.
scj··on Please do not attempt to simplify this code
That begs the question: What brought you to this file?
scj··on Every Microsoft employee is now being judged on their security work
Are features going to be de-prioritized in favour of hardening existing code? Or are employees expected to keep doing what they are doing just "with security in mind"?

The article makes it sound like the later. Which will be about as effective as "thoughts and prayers."

scj··on Jacek Karpińśki, the computer genius the communists couldn't stand (2017)
Steve Wozniak is a quasi household name, but calling someone "the Polish Wozniak" doesn't quite work.
scj··on The license does not indicate which Bible is to be used
"A male must be circumcised in order to enter into this covenant."
scj··on C isn't a hangover and Rust isn't a cure
"Academia stopped teaching C++, moving to Java and then to Python."

There are a lot more practical and lucrative skills for a young programmer to focus on than C or C++. Many will be able to have good careers without going that low level.

What impact will that have on the economics of legacy C/C++ code bases in the 15-30 year time frame?

scj··on YX Problem
I'd say it's more akin to being dealt a bad hand and trying to work through a strategy to play it well.

Sure, you'd like to have been dealt a better hand. But you haven't, and dwelling on that won't help anyone.

The problem with this metaphor is that it's easy to describe the contents of a hand. But computer programs are a lot more complex than that, and sometimes it's non-trivial (and possibly NDA violating) to describe why the recommended solution isn't feasible.

scj··on YX Problem
"I'm working with a second-party pre-compiled library and don't have a lot of wiggle room. After careful consideration (of both the library and my other job prospects), I want to do $DUMB_THING. Yes, I know it's dumb, but trust me, $SMART_THING is not an option. Unfortunately, $DUMB_THING is not well documented, because it's legitimately a bad idea, so I was hoping someone could fill in some gaps."

If you ever help someone in that situation, know that you are a hero among programmers.

scj··on Intel Continues Prepping the Linux Kernel for X86S
To rephrase your question, are there any Long Mode user space changes?

Skimming Intel's spec ( https://cdrdv2.intel.com/v1/dl/getContent/776648 ), the X86S looks really risk-adverse towards changing Long Mode user space.

I don't recognize any changes offhand, but my knowledge of x86 legacy is pretty limited (and will hopefully be obsolete soon).

scj··on Ask HN: Why do recommender systems not seem good?
Not an expert, but as a learning experience I wrote a board game recommender years ago based on data from boardgamegeek.

There were a lot of little things that added up:

  1. Everyone interprets the 1.0 - 10.0 rating scale differently.
  2. Most users just rate the same, universally known games.
  3. For the other users, the games they've played are usually really different.  It's a sparse matrix.
Every attempt at game-to-game analysis flopped. User-to-user analysis seemed to work better.

I managed to find a few dozen similar users. Found some hidden gems by going through their pages manually. Fewer than I would have hoped though.

scj··on Three virtues of a great programmer
I'd argue hubris is balanced by laziness and impatience. Where I don't believe the three are equal.

I'd add a conditional lesser virtue when working on certain codebases that should have been accounted for when making perl6: Fear.

scj··on Bad scientific code beats code following "best practices" (2014)
Best practices tend to be overkill for small codebases that have few users, which encompasses the majority of scientific code.

Sheer tenacity is typically sufficient for scientific codebases.

scj··on String pinsetters are upending bowling
The mechanism for candlepin bowling seems much simpler: https://en.wikipedia.org/wiki/File:Candlepin_pinsetter.webm
scj··on Canadian internet bill S-210 is a step closer to becoming law
> "The bill, which is the brainchild of Senator Julie Miville-Duchêne, is not a government bill. In fact, government ministers voted against it. Instead, the bill is backed by the Conservatives, Bloc and NDP with a smattering of votes from backbench Liberal MPs."

Remember, the opposition and the Senate can get bills through in a minority parliament.

scj··on Ousted propaganda scholar accuses Harvard of bowing to Meta
What I'm hearing is that universities coast-to-coast should start "researching" Facebook.
scj··on Sentry Relicense Again (FSL)
If I had to bet, I'd bet on it not being revocable.

Betting a mere $20 on a case currently in court could be fun.

But my time is worth a lot more than that. So if I'm thinking about starting a viable open source fork off this thing, I'm effectively betting a lot more.

That kind of begs the question, who am I betting against? I'm suggesting on the other end is an entity that chose a licence that attempts to minimize competition. Please, re-read the last sentence as I can't stress it enough. What happens if that competition-adverse entity's business model is existentially threatened by my fork?

Maybe they're willing to try their luck and try the MIT license in court.

Whether or not I'd win doesn't matter to me. A long lawsuit is going to be expensive either way. The question I'd pose is if the case would be quickly dismissed?

I'm not a lawyer, I have no way of answering that. But I've donated money to more than one programmer's legal fund against an absurd case that was clearly meant to just kill the project [0]. I don't want to be that programmer. I'd rather work on something else.

Which gets to the actual point I've been trying to make all along. I personally wouldn't want to fork this, and I suspect a percentage of the open source community feels the same way. And forking is one of the most important aspects of open source.

[0] https://lwn.net/Articles/181261/ - The programmer actually emailed me back with a thank you note, expressing some surprise that a non-American would care about a legal system they were not subject to.

scj··on Sentry Relicense Again (FSL)
https://writing.kemitchell.com/2023/09/23/Two-Kinds-Relicens...

Makes it seem like it would be a legal grey zone in the US. And a reminder, not all of us are American and the ambiguity might be even less favourable in other jurisdictions.

scj··on Sentry Relicense Again (FSL)
In the scenario I've constructed, yes.

The trick is that you don't need to threaten everybody, just any fork that gains traction and might be a viable open source project.

Otherwise stated, you don't go after every user, just the competition.

scj··on Sentry Relicense Again (FSL)
You're right that Apache 2.0 is irrevocable. But MIT isn't.

An open source project that starts to "scratch an itch" is far less likely to revoke a license than one that is motivated by money.

Motivation aside, if it's a non-trivial organic project, they've likely taken many patches from others and effectively cannot revoke the license of the code base.

But I shouldn't say "motivation aside" as motivation is the point when it comes to trust.

scj··on Sentry Relicense Again (FSL)
Let's say a piece of software licensed like this becomes popular and is non-trivial to replicate.

At some point, a significant enough portion will be two years old and changed to the escrowed license. A fully open source fork will become tempting for pragmatic and ideological reasons.

If forked, what are the odds the copyright holder will re-license their source code for the sake of control & profit?

Every semi-open license/core tactic is just a rug-pull waiting to happen.

scj··on Apollo astronaut Frank Borman has died
During the Apollo 1 investigation, he said something that suck with me when thinking of begrudging users who are willing to look past faults for utility:

"There's no question that it was a coffin, and I'd have flown it gladly."

scj··on A compendium of funny, and downright bad licenses
I like the "No Duty" clause.

Of course, it begs the question if such a clause remains open source (as it will effectively discriminate based on country). But defending open source developers in a hostile environment should take precedence over cooperation.

It's just unfortunate that such measures seem necessary (looks at the EU's CRA).

scj··on I’m not a programmer, and I used AI to build my first bot
AI aside, does compiling using gcc with -S make someone an assembly programmer?

Doing so helped me become a better assembly programmer.

scj··on The urgent need for memory safety in software products
Is liability insurance viable?

Software can be installed on billions of devices. Even a low liability could be financially ruinous...

Especially for open source.

scj··on Microsoft will assume liability for legal copyright risks of Copilot
If a codebase was infringing the GPL, the remedy is to publish the offending source code or terminate distribution. Neither are cases I suspect Microsoft cares about when talking about 3rd party code.

I don't know what case history is like for damages with open source projects, but I suspect it wouldn't be that big of a concern for Microsoft.

Otherwise stated, Microsoft's downside to this is committing their lawyers. And the upside is to improve their code generation tools.

IANAL though.

scj··on Ask HN: I’m an FCC Commissioner proposing regulation of IoT security updates
I'd argue that in an ideal world, a fridge wouldn't have networking capabilities!

Even if I don't buy one, I dread to think of what might happen if enough fridges across the world stopped working all at once (demand for non-perishable food and fridges would skyrocket).

For the sake of consumer safety in our imperfect world, there should be a safe-mode hard switch fallback for any life-critical and/or high wattage device that gets networked.

scj··on The Stick of Jan Sloot (2004)
Neat.

Although a flat memory space / full file approach would be nice, I wonder if a paging scheme would be possible?

Where you would only need all possible finite strings of length N, where N would ideally be the max page size of RAM, but could be less if the substring could not be found within a reasonable offset...

Ignoring compression speed, I suspect it'd have a practical limitation where using a maximum offset would mean that some strings wouldn't be as big as the cell needed to describe them. That's usually the gotcha in schemes like this...

In order to entertain this, I think all possible 12 byte strings (64bit offset + 32bit size) would need to be found within whatever a reasonable amount of storage is.

I suppose the computational challenge is "How big an offset is required to have all possible strings of length N?"

← PreviousPage 2 of 12Next →