News for hackers. Stuff that matters.

WGH_

Re:What came first: the CNAME or the A record? on Saturday January 24, 2026 @11:08AM (#46744743)
> it is likely rearranged by systemd, therefore only non-systemd glibc distributions are affected.

systemd doesn't imply installed and running systemd-resolved though. I believe it's usually not enabled by default.

Re:Stop Using Discord on Sunday June 02, 2024 @08:13PM (#40558177)
Matrix has so-called spaces, which group rooms together. Chaos Computer Club used this for 37C3, it was quite neat.
Re:802.11ah Wi-Fi HaLOW: The 1 Kilometer WiFi Standard on Monday January 08, 2024 @09:30AM (#38912396)
> Actually, this guy lives in Luhansk, active war zone in eastern Ukraine.

They apparently has left Ukraine since the full-scale war broke out, and travelling around the world: Thailand, India, Kazakhstan, etc.

Re:Parsing integers quickly with AVX-512 on Saturday September 30, 2023 @11:27AM (#37716344)
Pseudo-anglicism?
Is it really about light vs. heavy though? I thought it was mostly about multiplexing notifications through a single app (usually through a single connection as well), so only one app has to consume resources constantly, and others might be activated as needed.
Re:How PostgreSQL stores rows on Thursday February 17, 2022 @02:39AM (#30370490)
> I mean, isn't the appeal of a relational DBMS that it is a black box to the user and it's the query planner's job to yield an efficient search for a given goal?

I wish

Re:Kobayashi’s Maid Dragon Translation Notes on Saturday December 18, 2021 @02:31PM (#29607740)
Just for the record, in Russia, we write all identifiers in English and practically all comments in (sometimes broken) English as well. Russian comments seem heavily discouraged, but hey, it's possible there're places where there're not.
Is this the solution for the infamous "foobar: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by foobar)" problem?
Re:Writing a register based VM in less than 125 lines of C code on Thursday December 09, 2021 @09:03AM (#29497404)
There's also "computed gotos". It's not the same as function pointers, though.

https://eli.thegreenplace.net/2012/07/12/computed-goto-for-e... - article about them being used in CPython

Re:Go 1.18 will embed source version information into binaries on Thursday October 28, 2021 @03:03PM (#29030158)
That's an interesting scenario for sure, but "defeats the purpose" is a stretch.
Re:The Financial Times’ 404 page on Monday October 25, 2021 @06:23PM (#28993920)
I understand it as a part of "crappy CGI" aesthetic.
Re:Six Degrees of Wikipedia on Thursday September 23, 2021 @12:16PM (#28631246)
I wish it could optionally ignore the info boxes and navbars. They kinda feel like cheating.
Re:TrackerControl on Tuesday September 14, 2021 @03:27AM (#28521451)
Not really. From the website:

> Contrary to similar solutions, this application does not intercept SSL connections, minimising privacy risks and allowing for usage on unrooted Android devices. Only the meta data about network communications is logged, and displayed to the users.

Re:size_t-to-int vulnerability in Linux’s filesystem layer on Wednesday July 21, 2021 @04:16AM (#27903700)
> It sounds like using systemd is a terrible idea for memory-constrained devices, so you really don’t want to see it in the embedded world.

On the other hand, proper event-driven init system (instead of horrible shell scripts with all sorts of fragile "sleep"s and other hacks) sounds sexy for an embedded system. I sometimes get annoyed how home routers, NAS, etc. are slow to boot up

Though the embedded systems I refer to have much more than 16 MB of RAM, more like 128 and up.

Re:Fsspec: Filesystem Interfaces for Python on Saturday June 19, 2021 @07:21PM (#27565467)
Maybe page cache (the thing tmpfs relies on) doesn't do full copy when reallocation, but rather, roughly speaking, appends extra pages to some sort of linked list? It would explain why it's faster.
Re:Goroutines are not significantly lighter than threads on Tuesday March 16, 2021 @10:17AM (#26476959)
You could put epoll fd in non-blocking mode, wrap it with os.NewFile, use SyscallConn() to get syscall.RawConn object, and then use its Read method. Its Read method is special: you can return "not ready", and it will use the Go runtime poller to wait until it's readable, in this particular case effectively putting epoll in a epoll.

In epoll case, using RawConn.Read would look like this:

    err := rawConn.Read(func(fd uintptr) bool {
        nevents, err = syscall.EpollWait(int(fd), events[:], 0)
        if nevents == 0 {
            return false // try again
        }
        return true
    })
Note that using RawConn.Read here is only necessary because epoll needs epoll_wait(2) instead of typical read(2). For ordinary file descriptors, like pipes, etc., setting them to non-blocking mode, wrapping them with os.NewFile, and using its ordinary Read/Write methods is sufficient.
Re:Gmail is a huge source of spam on Friday February 26, 2021 @06:57PM (#26281277)
It really depends. In our case, Gmail rejects our IPv6, but accepts IPv4. The IPs are from university network and they don't have any history other than being used by us. SPF, DKIM and PTR records are in place.

> Our system has detected that this message is likely suspicious due to the very low reputation of sending domain. To best protect our users from spam, the message has been blocked. Please visit https://support.google.com/mail/answer/188131 for more information.

This message is extra confusing because mail from said "sending domain" is accepted by IPv4.

Re:Escaping VirtualBox 6.1: Part 1 on Saturday January 16, 2021 @02:18PM (#25804618)
Lots of CTF organizers are security researchers. This particular CTF is organized by people from Chaitin Tech, which is a cybersecurity company. They emphasize that their challenges are based on real vulnerabilities (found in their research, I presume).
Re:Escaping VirtualBox 6.1: Part 1 on Saturday January 16, 2021 @02:15PM (#25804588)
The QEMU task was likely inspired by a real vulnerability as well: https://mail.gnu.org/archive/html/qemu-devel/2020-09/msg0090... (discovered by CTF organizers, I think)
Re:Factorio 1.1 is getting close on Friday November 13, 2020 @04:54PM (#25087978)
Isn't it in the vanilla game, though?
Re:A Spectre Is Haunting Unicode (2018) on Thursday November 05, 2020 @04:22PM (#25002123)
Wow, didn't expect to find a reference to RD-Sounds on HN.
Re:Nutcracker Challenge: Blob-Free WiFi and BLE on Thursday November 05, 2020 @02:08PM (#25000957)
Sometimes tautology helps understands acronyms faster, without having to reconstruct context.
Re:Suicide Linux (2009) on Friday October 02, 2020 @04:54AM (#24660558)
In this particular example, I think the error is as specific as it gets, though.
Re:ProtonDrive Security Model on Wednesday September 09, 2020 @02:38PM (#24424226)
Re:Understanding OAuth2 and OpenID Connect on Monday September 07, 2020 @11:45AM (#24400170)
> OpenID is a single sign-on protocol built on top of Oauth.

Note that there's older OpenID (without "Connect"), which, to my knowledge, is more or less dead nowadays, and OpenID Connect, which is indeed built on top of OAuth. Both are indeed SSO, though.

Re:Btrfs Coming to Fedora 33 on Tuesday August 25, 2020 @08:45AM (#24270727)
Recording the kernel profile with perf would be more useful, I think. strace would probably only show long "unlink" syscall.
Re:WireGuard support in Mikrotik RouterOS v7.1beta2 on Sunday August 23, 2020 @08:47PM (#24256631)
AFAIK most of these are DKMS, so compilation (although automated and supported by distro) is still necessary.
Re:Systemd: Don’t fallback to Google NTP and DNS on Friday July 03, 2020 @12:04PM (#23725140)
Are you sure systemd overwrites it? I believe it maintains its own /run/systemd/resolve/{resolv,stub-resolv}.conf file, and it's up to you whether you want to symlink /etc/resolv.conf to one of these or not.
Re:Apple Lightning on Friday July 03, 2020 @09:43AM (#23723940)
Isn't direct current component ignored by default just because Ethernet devices are galvanically isolated? I thought even if you applied some DC voltage to Ethernet without proper PoE negotation, nothing would happen at all.
Re:Reuters killed their RSS feeds? on Tuesday June 23, 2020 @10:53AM (#23614666)
I've seen many sites that generate feed URLs with secret token appended as a query parameter. This token only gives an access to the feed, so this as safe as it gets, and requires no special support on reader app part.

Older »