News for hackers. Stuff that matters.

trurl42

Looks like it's just calling the crossref API
Go and Rust are more suited than Java for building graphical user interfaces that run cross-platform? That would be news to me.

Sure it can be done, but it's not exactly like there are well-established solutions for this.

Re:A sysadmin's rant about feed readers and crawlers (2022) on Wednesday March 05, 2025 @08:24AM (#43266088)
> Then where's my global setting to tell the browser what languages I speak, so it'd know what header to send?

In Chrome: chrome://settings/languages

In Firefox: https://support.mozilla.org/en-US/kb/choose-display-language...

Re:Running Systemd-Nspawn Containers on Friday February 21, 2025 @04:47AM (#43125768)
> Unfortunately, though, most developers don’t even know that there are options outside of Docker, or that they’re not as “convenient”.

> Hopefully, this article has disabused some of that notion.

If that was the goal, it seems terribly complicated when compared with podman.

Well, for one, KaTeX doesn't do "LaTeX" but a limited subset of the TeX equation syntax. As such, it can't handle more complicated macros or typesetting anything apart from equations.
Re:Don't Publish with IEEE (2005) on Tuesday October 22, 2024 @05:54AM (#41912755)
Last-Modified: Mon, 21 Nov 2005 04:40:39 GMT
Re:PHP Doesn't Suck Anymore on Saturday May 04, 2024 @07:04AM (#40256657)
And with that you're completely wrong, since strings in JavaScript are UTF-16.

It just so happens that your example consists of two UTF-16 codepoints.

(Node.js' Buffer uses UTF-8 by default).

Re:Show HN: Name That Nation on Tuesday February 06, 2024 @04:27AM (#39272476)
Keyboard accessibility could use some love.
This is not a very good explanation, nor is it useful for anything.

A single qubit is not useful for computation and the way it is written doesn't generalize to more than a single qubit. The code doesn't even really simulate a single qubit properly, since it doesn't use complex numbers.

What they call a "Rydberg gate" is not a gate at all.

Most of the text feels like it's written by an AI.

Re:A word used only by Postgres developers on Thursday March 10, 2022 @01:25PM (#30630472)
Likely a variant spelling of frammis; https://en.wiktionary.org/wiki/frammis
Re:TeXMe Demo: Self-Rendering Markdown and MathJax Documents on Tuesday February 01, 2022 @07:49AM (#30161752)
I find it slightly misleading that this is named after TeX, when it actually doesn't do TeX, but only has support for equations.

But I've already complained about that [1] when you presented your last project.

[1]: https://news.ycombinator.com/item?id=28034124

I suppose it's since it doesn't really support LaTeX but instead uses MathJax to render equations.

TeX is a a turing-complete language, picking some random subset of LaTeX commands would feel pretty arbitrary to me. In comparison, supporting full markdown syntax is pretty easy.

Re:Quantum holds the key to secure conference calls on Sunday June 06, 2021 @01:48AM (#27411071)
Actual research behind the article: https://arxiv.org/abs/2002.01491

This protocol depends on multipartite entanglement, so it does seem quite far away from being practical for anything yet.

If quantum routers were a solved problem and we had a quantum internet (last I checked, we do not), for this we would also need some form of 'coherent multicast routing'.

Re:Beginner’s guide to mechanical keyboards on Friday April 30, 2021 @03:50AM (#26990803)
Want to be able to replace your keyboard, or get another one for the office easily? Buy a Cherry G80-3000.

The G80-3000 comes without NKRO, a very bendable case and PCB-mounted rather than plate-mounted switches.

A Leopold (for example) is much more pleasant to use and not so exotic that it's impossible to obtain a replacement.

That would be 2.

What's done in such an experiment is that we initialize a quantum state in a particular state (that this is possible is not actually obvious, but let's assume it's true) and then we make a lot of repeated measurements after different amounts of times.

So we're not talking about a single system, but instead about statistics about a set of measurements with systems that have been set up in the same initial state. (Each system only being measured once after a certain time after it's being set up).

As a quantum physicist: This might be an interesting experiment, but as far as the theory goes, this is exactly what is to be expected from standard quantum mechanics.

Quantum leaps being instantaneous would be a (possibly common) misconception.

The leap in a quantum leap is describing the notion of a discrete jump in measurement outcomes.

Re:Compressing and enhancing hand-written notes (2016) on Monday March 12, 2018 @09:28AM (#16567982)
This reminds me of my time in university, when I saved all my lecture notes as DjVu [1] files.

It's a great file format for space-efficient archiving of scans like that, with a bit of scripted preprocessing.

[1]: https://en.wikipedia.org/wiki/DjVu

Older »