Better HN
topnewbestaskshowjobs
Log inSign up

infinet

106 karma · joined Jun 16, 2019 (7y ago) · 115 submissions

Submissions

1.

The Green of Green Functions(physicstoday.aip.org ↗)

2 points · by infinet · 2mo ago · discuss

2.

Linux kernel archives temporarily unavailable, fix has been implemented(social.kernel.org ↗)

1 points · by infinet · 4mo ago · discuss

3.

Fedora: 2FA, or not 2FA, that is the question(lwn.net ↗)

3 points · by infinet · 4mo ago · 1 comment

comment 4mo ago · link · parent

I am thankful for arXiv only made minor adjustments to its UI over the years, and I hope arXiv keep it that way.

comment 4mo ago · link · parent

I suspect after the job cut, AI is rewriting the cloudflare UI. Today I tried to add a DNS record using the cloudflare dashboard. The UI looks very different from what I remember, it took me a while to find the add new record button, which is just a blank area without label. The popup dialog is basically unusable. It is transparent and impossible to know where to input. I gave up after 20 minutes.

comment 5mo ago · link · parent

> "Is anyone still using emacs?"

I have never used emacs seriously as an editor, however, I couldn't work without magit. I even manually build emacs 28 so I can re-use the same set of magit configure files.

comment 5mo ago · link · parent

I wonder how many comments are from bots in this discussion. Few days ago there was a discussion of traffic stall at the strait of Hormuz on HN. One comment from an user with over 9000 Kama went like "I just checked the traffic on the road and it is normal ...". Unfortunately other bots are not as easy to spot as this one.

comment 5mo ago · link · parent

Interesting idea, but somehow I feel the world is shaking. For the processing program, what used to black(0.0) and white(1.0) has became very dark gray and very bright gray.

comment 5mo ago · link · parent

I use DuckDB and like it. Since many mentioned GB level json in this post, so they have large amount of data. Been column based, DuckDB uses more RAM as row count grows. It can be an advantage or disadvantage depends whether memory is constrained. Traditional row based DB such as SQLite can deal with large database with less memory.

10.

What is to be done about MGLRU?(lwn.net ↗)

7 points · by infinet · 5mo ago · discuss

comment 6mo ago · link · parent

I feel your pain. I also get "chatgpt/gemini/grok... CONFIRMED blah blah" as if these are ground truth. What is even more sad is it sometimes mixed with "from first principles...".

comment 6mo ago · link · parent

I have a gut feeling that human as a creature learns better when looking at the information from several different angles, both physically and mentally. Been physically I mean looking at the same concept on screen and on hard copy books, perhaps taking notes and mark relevent sentences with a highlighter. Similarly, seeing a concept on physical book and write some short code snippet is viewing the concept from different mental angles. Though I don't have a proof for that and have yet to find a formal research on this topic.

comment 6mo ago · link · parent

I guess I will setup something similar or more complex. But there are alternatives:

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

"George R.R. Martin Writes on a DOS-Based Word Processor From the 1980s". No internet, no multi tasking.

comment 6mo ago · link · parent

It uses the Python lib Astral, which uses "equations from Astronomical Algorithms, by Jean Meeus", to find location of the Sun in the sky. That method assuming earth motion without gravitational pull from other planets or the Moon, and has accuracy of 0.01 arc degree. Meeus is a rock star in these kinds of calculations. He also gave a truncted version of VSOP87 that has error less than 1 arc second in finding Sun's location.

The method Astral uses for calculate Moon's location has precision of 1 arc minute. For higher precision, LEA-406 [1] can be used.

[1] https://www.aanda.org/articles/aa/full/2007/33/aa7568-07/aa7...

comment 6mo ago · link · parent

Content wise the RedHat docs are great, but navigating the doc has a wired feeling that is hard to describe. Everything is black and white, the page has low information density perhaps because of the line space or paragraph space; the typesetting of command line and configure examples is not clear separated from surrounding text; mouse cannot select text of the command line examples; the page top is distracting because it keeps showing and disappearing as mouse scrolls up and down. Somehow the left navigation pane is also difficult to follow, easy to get lost when trying to find a section.

comment 6mo ago · link · parent

I hope FreeBSD has longer supporting cycle. Its release has a supporting life of less than one year, if missing the upgrade window, then later upgrade is more difficult than others such as debian stable.

comment 6mo ago · link · parent

I just switched to single thread and didn't try to fix the issue. Single thread is fast enough to me, it has throughput ~ 730 Mbits/s in a OpenBSD 7.8 vm on a 7th gen i7 linux kvm host.

https://github.com/infinet/rs-wgobfs/commit/c5e62796

comment 6mo ago · link · parent

There is a saying that many countries have offshored building hardware, aka manufacturing. Now they are offshoring software building to AI. Perhaps the silicon valley will grow a rust belt.

comment 6mo ago · link · parent

I tried OpenBSD recently and found it behaves very differently from other OS. The same code works on Linux/FreeBSD/Windows but has poor multi thread performance on OpenBSD, async socket stopped working after sending at high speed for few seconds. I am not saying there is anything wrong in OpenBSD, it is just different.

comment 6mo ago · link · parent

There are few dnsmasq (only?) features that are indispensable to some. Examples: sending query of *.example.com to certain upstream servers, or returning NXDOMAIN for phishing sites, or adding all resolved IPs for *.example.org to an ipset for policy routing. The last one works on FreeBSD as well although BSD does not have ipset. The list of *.example_xyz.com can be huge and it is said recent dnsmasq can handle them efficiently.

comment 6mo ago · link · parent

It is very difficult for people with impaired vision to find the scrollbars, buttons et.al. on windows 11. The scrollbars are too narrow and often auto hidden. The buttons are flat and not easy to separate from normal text. Tell one window from another is also quite challenge.

comment 7mo ago · link · parent

Anyone put the standby on ZFS or other filesystems that can take snapshots for backup?

comment 7mo ago · link · parent

From my very limited experience with duckdb, being a column based database, simple query also need loads entire columns and that uses a lots of RAM if a table has millions of rows. Perhaps there is a way to make it more memory friendly but I don't know how.

comment 10mo ago · link · parent

Very interesting!

For completeness, the job in the article is not strictly parallel, instead, they are separable tasks, which fall under high-throughput computing. HTCondor is a popular choice and is widely used in physics. If the cluster has a shared filesystem such as NFS, it does not even need ssh to each node. Moreover, nodes can share the same R installation on NFS, remove the complexity of installing same set of R packages on all nodes. HTCondor is available on Ubuntu.

comment 11mo ago · link · parent

Once I used an old MIPS debian in qemu to test big endian. I thought since LoongArch has its root in MIPS it may be big endian. It turns out "LoongArch bit designations are always little-endian".

comment 11mo ago · link · parent

Documentation https://pkuhpc.github.io/CraneSched/en/index.html

27.

CraneSched: An open-source distributed scheduler for HPC and AI workloads(github.com ↗)

1 points · by infinet · 11mo ago · 1 comment

1234