News for hackers. Stuff that matters.

rwl

Re:Ideas on modernizing the open-source desktop on Thursday September 24, 2026 @01:57PM (#49834435)
Does it even work on Wayland? I always thought this was a feature of X. I really like it too but the inconsistent support seems to catch me more and more often these days.
Re:What's New in Emacs 31.1? on Tuesday August 25, 2026 @07:17AM (#49431976)
You don't have to just "stare" at the source; you can interact with it! Emacs is incredibly well documented and you can learn a ton with just C-h f (i.e. M-x describe-function) and C-h v (i.e. M-x describe-variable). In an Elisp source file, use those commands whenever you don't know exactly what a function or variable does. Read the description, and click on the hyperlinks to see the source. This is IMHO the best way to learn how to actually get things done. If you don't know what function or variable you're looking for, M-x apropos and its variants will be helpful.

I don't have a good reference (other than the Elisp manual) for high-level design patterns, but in general, Elisp is very flexible and already has what you'd need to implement any patterns you know from elsewhere. Decide on your data structures first. Probably the most important lesson you might not know yet is to use buffers, not strings, to do most text manipulation.

Re:Cursor launches Origin, GitHub alternative on Wednesday August 19, 2026 @04:14AM (#49358572)
Ah yes, I guess you‘re right, that‘s why all the serious developers continue to use CVS.
Re:Ask HN: Alternatives to GitHub on Monday August 17, 2026 @12:26PM (#49333645)
Yep, it’s not for everyone, and their docs are pretty clear about that. OTOH those same docs contain a variety of arguments that git isn’t really designed for everyone either and that fossil might be a better fit for projects that have just one or a handful of developers, which AFAIK is the vast majority of projects on Github. My experience is that it is certainly an adjustment but the docs are good at explaining (and justifying) the differences, and the built-in features are very useful, especially for anyone looking to reduce their dependence on a centralized host that’s become unreliable.
Re:Ask HN: Alternatives to GitHub on Monday August 17, 2026 @11:38AM (#49332786)
I started using fossil recently and have been quite pleased with this aspect of it. I miss a few things from the git world (mostly magit and its magical ability to stage individual hunks of a diff) and there are a few rough edges, but I totally agree that having a wiki and issue tracking inside the repository makes so much sense. fossil‘s simplicity is a breath of fresh air for anyone who has to use git from a CLI. Well worth a try for anyone on the fence.
Re:LaTeX.wasm: LaTeX Engines in Browsers on Monday June 29, 2026 @03:40AM (#48716049)
Yes, I'm aware. The problem with anchors is that the author has to take care to make them both unique and human-readable across the whole document. The problem with URL text fragments is that they generally become too long to be a citation. Both need quality-of-life improvements in the tooling before academics will consider using them.

For example, it's pretty easy to use CSS counters to create as many automatically incrementing counters as you need. Page number, section number, theorem number, etc. But (a) you can't do this in raw HTML, which means you can't rely on this working in any user agent that has poor support for CSS; and (b) you can't refer to the values of those counters outside of CSS. Thus, there's no way for you, as an author, to write the write the equivalent of LaTeX's "See Theorem~\ref{thm:foo}" in HTML and rely on having it auto-numbered and rendered correctly wherever your readers are. So the number has to already be there as text in the HTML, and you need a separate, document-unique id attribute coordinated with the number to use for linking. This means you need a separate compilation step to produce the HTML, so you've lost pretty much the only advantage that HTML had over LaTeX.

But fundamentally, the problem is that citation practices assume that the reading format is controlled by the author/publisher, so that all readers are looking at a common view of the document, whereas the Web assumes that the reading format is controlled by the user agent, and user agents vary widely. Thus, on the Web, you need formatting-independent citation practices, which have not yet evolved, or at least not become widely used, because it's too hard compared to page-based media, which have been working for centuries.

Re:LaTeX.wasm: LaTeX Engines in Browsers on Sunday June 28, 2026 @02:42AM (#48704985)
Citations. Until we can cite specific passages in HTML as quickly, easily and readably as we can cite pages in paged media, HTML will remain a second class citizen for serious scholarship.
Re:Dumbphone 2 on Friday June 05, 2026 @04:34PM (#48417856)
I don’t need it with me all the time; I‘d prefer to just log in to a website on a real computer! But you can’t do this in the EU in practice without a banking app on a phone, or some other piece of hardware that you have to pay extra for and is certainly not more convenient.
Re:Dumbphone 2 on Thursday June 04, 2026 @04:13PM (#48403999)
Right, I suppose this is theoretically possible here too (I'm in Austria), though I haven't looked into it that carefully, because all the options here seem to cost more than my current bank account and as far as I can tell still require a smartphone.

I wouldn't necessarily mind a dedicated piece of hardware, but if it's dedicated hardware, I feel like the bank ought to provide it, not make me pay for it. And I'd much rather it be a generic piece of hardware that can also be used as a second authentication factor for other things, like a Yubikey. I've looked around but have not found any banks that offer this. The only one I had heard of no longer offers it.

Re:Mathematicians issue warning as AI rapidly gains ground on Thursday June 04, 2026 @03:51AM (#48395517)
Sure, the world is a better place with fewer serfs in it, but what exactly is of "higher value" than being a research mathematician? It's already a profession that consists essentially of exercising our highest and most distinctly human capacities: creativity, abstract reasoning, and passing the results of those on through a distinctive language and culture. I don't think the comparison with serfs is useful.

I'm sure most research mathematicians would like more freedom from some of the drudgery of their work (grading, admin, etc.), just like the rest of us. But we should be aiming for a world that allows more people to become mathematicians, not fewer.

Re:Dumbphone 2 on Thursday June 04, 2026 @02:59AM (#48395067)
I love the idea and wish I could get something like this in Europe. The main reason I "need" a smartphone over here is that EU banking regulations make it nearly impossible to do online banking without one. Anyone know of similar projects over here that would satisfy that need?
Re:Show HN: Wikipedia as a doomscrollable social media feed on Monday February 02, 2026 @03:12AM (#46853645)
Presumably the 40mb of data is not from Wikipedia, but the Javascript tracking code bundle needed to turn it into a doomscrollable social media feed. ;) By those standards, I think it’s pretty lightweight! For comparison, the Instagram iOS app is 468.9mb, more than ten times the size…
Re:Ask HN: What Are You Working On? (Nov 2025) on Tuesday November 11, 2025 @04:32AM (#45885570)
I have been working on implementing iCalendar/RFC5545 in Emacs Lisp. I recently submitted a large patch and hope it will be merged in the next couple of months:

https://mail.gnu.org/archive/html/bug-gnu-emacs/2025-11/msg0...

This will add an iCalendar library to GNU Emacs, allowing packages in core and third-party packages to work with the format. More on the decisions I made and what I learned here:

https://recursewithless.net/emacs/index.html

Re:Kagi News on Tuesday September 30, 2025 @02:18PM (#45429139)
Indeed! A once per day human-curated news aggregation feed used to be called a "newspaper". You can still get them in some places, I believe.
Re:Fossjobs: A job board for Free and Open Source jobs on Thursday August 28, 2025 @10:36AM (#45052711)
Yes, that's what's going on: job titles are typically gendered in German, which leads to job ads being written in an awkward way to express gender neutrality. For example, "engineer" has both a masculine form "Ingenieur" and a feminine form "Ingenieurin", so a job ad might say something like "Ingenieur*in (m/w/d)" to mean "an engineer of any gender".
Re:Structuralism as a Philosophy of Mathematics on Monday April 08, 2024 @05:00AM (#39967666)
The distinction between "first order" and "second order" is in the first instance a distinction at the level of formal languages. A second order language has more complicated syntax and semantics: it allows variables in predicate position, which (in the standard semantics) take values from the entire powerset of the underlying domain.

This makes second order languages, including the language of arithmetic, much more expressive: they can distinguish models that first order languages can't. Those infinitely many non-isomorphic models of arithmetic expressed in a first order language can be distinguished, and excluded, as models of arithmetic expressed in a second order language. That's why second order arithmetic is categorical: all of its models are isomorphic.

Yes, a model of second order arithmetic contains a model of first order arithmetic, but within the second order language, you can say "which model it is" (up to isomorphism). It's only if you restrict yourself to a first order language that you can no longer say anything which will be true in that model, but false in any non-isomorphic one.

Re:The Negative Impact of Mobile-First Web Design on Desktop on Friday October 27, 2023 @06:24AM (#38036763)
> Usability issues of dispersed content include:... > Increased cognitive load > Difficulty building a conceptual model for the page

This completely agrees with my own experience. But if these things are true when viewing a "dispersed content" site on a desktop browser, shouldn't they be just as true on mobile? It seems to me that this is a big problem with mobile-first design in general: it's just not the right format for actually conveying conceptual information to users.

Re:Ask HN: Anyone else suffering from tinnitus? on Thursday December 08, 2022 @08:21AM (#33907590)
I've had tinnitus for about two years. Like you, I just kind of noticed it upon waking up one day. I don't know what caused it but it seems to be related to stress, posture, and sleep position. I'm still figuring it out, but it doesn't bother me that much, so I've been kind of slow with it.

Earlier this year I came across this study with very promising results:

Sirh, Soo Ji, So Woon Sirh, Hah Yong Mun, and Heon Man Sirh. 2022. “Integrative Treatment for Tinnitus Combining Repeated Facial and Auriculotemporal Nerve Blocks With Stimulation of Auditory and Non-Auditory Nerves.” Frontiers in Neuroscience 16. https://www.frontiersin.org/article/10.3389/fnins.2022.75857....

They found an acupuncture-based treatment which eliminates or significantly reduces tinnitus in more than 87% of cases (n=55). I'm hoping to be able to get this at some point. The study is out of South Korea though; it might be a while before the technique is available in the west.

I also read the Dawn of Everything and wanted to recommend it here. The first chapter drew me in immediately: reading the native American critiques of the culture of European settlers was eye-opening. By the end of the book I felt they had beat their message to death a little bit, but the message was a very interesting one.
Re:The dictatorship of the articulate on Thursday September 01, 2022 @03:24AM (#32673126)
There was also a cost in human life.

I saw a photo exhibition [1] about the construction of the Bay Bridge once, containing many beautiful shots from the point of view of the workers. The photos were taken by Peter Stackpole, a 20 year old kid who basically just talked his way onto the boats that took the workers out to the site. He took photos of the towers as they were being riveted together, of the cables being wound. The photos are amazing and beautiful, but they show how dangerous the working conditions were.

When someone fell off and died, the workers would take the rest of the day off, but be back on the job the next day.

We don't accept that kind of risk anymore in the US, which obviously drives up construction costs. But it's hard for me to see that as a bad thing, and I bet that if you went and talked to the "builders" today, they'd prefer those costs to the ones we paid in the 1930s.

[1]: https://museumca.org/exhibit/peter-stackpole-bridging-bay

Re:Mozilla’s Vision for the Evolution of the Web on Thursday March 24, 2022 @03:33PM (#30794365)
But my whole point was that they wouldn't be hosting content. The users would be hosting it themselves, on their local computers, serving it via their browser. Mozilla would just have to provide a way to give users a stable base URL (linked maybe to Firefox accounts) that they could give to other people.
Re:Mozilla’s Vision for the Evolution of the Web on Thursday March 24, 2022 @07:37AM (#30788477)
Totally! Unfortunately, last I heard, Beaker was dead:

https://github.com/beakerbrowser/beaker/discussions/1944

https://atek.cloud/blog/hello-world

This is a great idea, but the big problem with Beaker is the network effects: only Beaker users can see other Beaker users' sites. To be successful, I think the idea needs to run over regular HTTP(S) so that other browsers can still access these personal sites. This means, at least at the beginning, that someone needs to run the infrastructure that maps stable URLs to a P2P connection to individual browsers. Mozilla is in a good position to do that.

Re:Mozilla’s Vision for the Evolution of the Web on Thursday March 24, 2022 @04:50AM (#30787505)
I agree with most of this vision, think these values are important, and would love to see Mozilla realize them.

Given the values outlined here, I was sad to see that Mozilla doesn't seem to be looking much beyond the centralized platforms of today's commercial web. They see the "minimal barriers to entry for both users and publishers" as one of the key properties that makes the web such an important communication medium, and "Site-Building Ergonomics" is a top-level area where they see possibilities for improvement. Despite this, I don't see any recognition that it's still too difficult for ordinary users to publish their own information, which is why we have big commercial platforms where people do this, funded by ads, with all the problems that come along with that.

I think the most revolutionary thing Mozilla (and other browser makers) could do to realize this vision would be to turn their browser into a publishing platform. Browsers already have excellent tools for editing HTML, CSS, and JS built in, and they already speak the relevant protocols. Why not give every user a base URL for their personal site, and serve pages under it directly from the browser running on their computer? That would really lower the barrier to entry for users to become publishers and help realize the values of Openness and Agency.

Of course, such sites wouldn't be available 100% of the time, but they would probably be available enough to cover most of things people use the big platforms for: sharing text, photos and videos with their family and Internet friends. They would not need to be ad-supported and wouldn't raise the associated privacy issues. There are other problems to solve, but Mozilla is uniquely qualified to solve them.

The very first web browser had this feature: https://en.wikipedia.org/wiki/WorldWideWeb#Features And it seems the perfect way to realize much of this vision. Why not bring it back?

Re:The Drunk Men I Drive Around Every Night (2020) on Saturday March 12, 2022 @03:33AM (#30649956)
Public transportation does enable drinking. That is one reason why young people move to, and like to live in, cities with public transportation.

But there are still huge, important differences between public transport and "ride sharing". Public transportation almost never takes you point to point. You are expected to navigate public transportation on your own, including getting in and out at the right stops. Public transportation usually has sharply reduced service several hours before bars close. You also need a ticket, which often means you must be sober enough to work a machine that only takes cash.

If public transport is your ride home, you need to be a lot more sober than the people the author is writing about.

There are important differences compared to taxis, too. To take a taxi, you must (often) be prepared to pay in cash. You must have enough verbal control to give your address.

It is not implausible that ride sharing apps enable a kind of binge drinking that is qualitatively different from the kind people do when they have to take another way home.

Older »