Readit News logoReadit News
trurl42 commented on Show HN: Turn a paper's DOI into its full reference list (BibTeX/RIS, etc.)   references.mireklzicar.co... · Posted by u/mireklzicar
oersted · 2 months ago
Is an open-source library being used for this? Or can you describe the methods you use? I worked on this and related problems around extracting features from paper PDFs, we could all learn from how you did it.

Generally, an About page is always appreciated for such web tools with minimal UX, particularly when it's rather automagical.

trurl42 · 2 months ago
Looks like it's just calling the crossref API
trurl42 commented on Show HN: XPipe, a shell connection hub for SSH, Docker, K8s, VMs, and more   xpipe.io/... · Posted by u/crschnick
f2hex · 6 months ago
Well, it would necessitate a dedicated conversation. In my opinion, there are better languages and runtimes available today to create such solutions, such as Go and Rust, to name a couple of the most suitable ones.

I believe Java is no longer an appealing choice for these types of tools, but I still like the project and its development process.

trurl42 · 6 months ago
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.

trurl42 commented on A sysadmin's rant about feed readers and crawlers (2022)   rachelbythebay.com/w/2022... · Posted by u/leonry
balamatom · 6 months ago
>as if people are walking around using a browser in a language they don't speak. (or, an operating system configured for a language they don't speak

Well, yes, they are! Computers translated in my native language sound dumb. That's how a whole generation of my world learned better English than native speakers, ffs!

Half of the time it's just translated wrong. You think anyone has any incentive to translate any technology to a language with a couple million speakers, all of whom are obligate pirates?

And it seems like you might be surprised to hear that people speak more than one language. Then where's my global setting to tell the browser what languages I speak, so it'd know what header to send? Same place that lets me configure what ads I'm actually interested in. Nowhere.

>I think people don't care to imagine the computer doing as little as possible to get the job done, and instead use the near unlimited computing power to just avoid thinking about consequences.

This, friend, is what computers are for in the XXI century. "Bicycle for the mind", ha...

trurl42 · 6 months ago
> 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...

trurl42 commented on On Running systemd-nspawn Containers (2022)   benjamintoll.com/2022/02/... · Posted by u/cautious-fly
trurl42 · 6 months ago
> 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.

trurl42 commented on Show HN: Latex.to – LaTeX to image converter running in the browser   latex.to... · Posted by u/Wdorf
jszymborski · 10 months ago
Not OP, but do you mind me asking what advantages you hope to achieve by using WebAssembly rather than KaTeX?
trurl42 · 10 months ago
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.
trurl42 commented on Don't Publish with IEEE (2005)   cr.yp.to/writing/ieee.htm... · Posted by u/stargrave
PreInternet01 · 10 months ago
Meta: the linked post is undated, but available on the Wayback Machine as early as November 2005, so a (2005) in the title is warranted and, in any case, this isn't new advice...
trurl42 · 10 months ago
Last-Modified: Mon, 21 Nov 2005 04:40:39 GMT
trurl42 commented on PHP Doesn't Suck Anymore   developerjoy.co/blog/php-... · Posted by u/falcon_
gbuk2013 · a year ago
No, JS strings are UTF-8:

    > '蛋糕'.substr(0,1)
    '蛋'
    > '蛋糕'.length
    2
    > Buffer.byteLength('蛋糕')
    6
You do have to be careful when working with binary data (e.g. streams) but this is expected.

trurl42 · a year ago
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).

trurl42 commented on Show HN: Name That Nation   namethatnation.com/... · Posted by u/andrewtbham
trurl42 · 2 years ago
Keyboard accessibility could use some love.
trurl42 commented on Exploring Quantum Computing with JavaScript: A Beginner's Guide   medium.com/@yourfuse/expl... · Posted by u/ingen0s
trurl42 · 2 years ago
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.

u/trurl42

KarmaCake day605May 10, 2013View Original