News for hackers. Stuff that matters.

loo

Red Hat should switch to Zig.
They should have just offered a way to make it write text log files.

I have a prototype FUSE filesystem which renders the journal as a tree of .log files (https://github.com/awfulcooking/journalfs)

But my muscles finally learned `journalctl` and after reading the docs I mainly use it.

Patches welcome to make journalfs practical (i think it may be lagging output when you `tail -f` atm)

Would love to see systemd offer a virtual filesystem interface by default.

An OS has a lot of things to be done downstream of the kernel in userspace.

Having one interface to them is useful.

i respect the BSD hacker style, minimal init ethos.

But man is it handy to have declarative sandboxing in service files.

`loginctl` as a standard for listing, locking, killing user sessions.

`machinectl` as a container / virtual machine manager.

And --host / --machine to remote all of the above.

I had a conversation with someone who was religiously homophobic on HN recently.

Their mind probably wasn't changed, but having civil discourse about intolerance is important.

I'd much rather see a racist post with thoughtful dissent (which the OP can then read, and is pretty much guaranteed on HN) than for racists to just get excluded, and have no cause to change their mind.

They then go to a more extreme forum, with people who only agree with them. The hate gets amplified instead of dissuaded.

Re:Ink: React for interactive command-line apps on Thursday May 11, 2023 @08:57PM (#35910503)
[it's Ruby Tui, the New Zealand Rugby Union player, grid of photos heading]
Maybe it's like "low serotonin levels" is to depression. A mechanism through which some effects are expressed, but not the root cause, and only one aspect of the condition.
Re:Eid Mubarak on Thursday April 27, 2023 @01:33AM (#35723687)
We are here. We do not harm each other. We do not harm other people. I believe God wills it. Peace, Nas.
Re:Eid Mubarak on Monday April 24, 2023 @02:34PM (#35691359)
You feel attraction for both sexes, but choose to ignore one?
Re:Eid Mubarak on Sunday April 23, 2023 @02:43AM (#35673938)
I am not bisexual, but tried to be. The choice wasn't available.

Have you felt strong attraction for both sexes? If not, have you tried to?

Re:I just learned about HTML redirects on Saturday April 22, 2023 @11:04PM (#35672959)
Me too :-D

I think you're right that Comet refers more to the JavaScript techniques that came from those "forever frames".. but to me it was all about the streaming HTTP hack at the heart of it.

I guess it's academic now :-)

Regarding holy grail layout and IE6.. so you're telling me you're a masochist!

Re:I just learned about HTML redirects on Saturday April 22, 2023 @09:57PM (#35672644)
Looks like 'Comet' got coined in 2006. The CGI:IRC approach.. I had a smile and an "aha" on seeing the term "forever frames" :-)

I think the wiki page is wrong that it involved chunked encoding

Re:I just learned about HTML redirects on Saturday April 22, 2023 @09:20PM (#35672461)
The technique was called Comet: https://en.wikipedia.org/wiki/Comet_(programming)

CGI:IRC used the early frame approach, no JS required.

At some point JSONP became popular, even for 3rd party APIs.

  <script src="http://dont-xss-me/please?format=jsonp&callback=lol">
Server writes:

  lol({ ... })

  lol({ ... })
Re:Eid Mubarak on Saturday April 22, 2023 @04:30PM (#35670636)
Under your axioms, it may be equivalent, but I think they're mistaken.

Orientation is not a choice, and is orthogonal to identification.

I believe that same-sex relationships can be as profoundly fulfilling, enriching, and pro-social as heterosexual relationships.

That marrying a straight woman with a gay man is profoundly unfulfilling for both.

And that denying a class of people something so profound, freely enjoyed by everyone else, and which does not harm anyone else, can indeed be seen as inhumane.

Re:Eid Mubarak on Friday April 21, 2023 @05:07PM (#35660181)
You've buried the lede that the core framework does see homosexual behavior as "wrongful sexual desire", "regressive behaviour".

You can accept that or not, but it's disingenuous to equate asking gays never to have sexual or romantic relationships, to asking non-gay people just to curb excess.

That's not an equal imposition, it feels like self-equivocating ad-hominem to read "you're not being targeted here, so can you stop with the victim complex please?"

If you agree that it's better for gay people to never experience intimacy, please just say so, without labelling the concern (that gay people may feel less invited) as ridiculous

Re:Website hosted on a 24 year old Linux server on Thursday April 06, 2023 @01:04PM (#35471267)
$ apt install redis-server

$ redis-cli INCR hit-count

Re:Twitter updates its website logo to Dogecoin on Monday April 03, 2023 @02:13PM (#35428720)
Some friends had to do a hard refresh, now they see it.
Re:Avoiding HTTP/3 (for a while) as a pragmatic default on Sunday April 02, 2023 @12:34PM (#35412350)
> Some people spent hundreds of hours making something better, why would you want to use the result?
Re:Sometimes there are a lot of options on Friday February 24, 2023 @03:58PM (#34930041)
This was linked in a Discord discussion about giving in to using modals, maintaining context, in apps.

Derek was languishing:

"Lots of situations where I can't really get around the modal..."

I guess the page doesn't necessarily say how a modal might be avoided, but the anchor with this title seemed strong enough as a "QED" on its own.

Re:Promotion of alternative social platforms policy on Sunday December 18, 2022 @04:27PM (#34043667)
Didn't Elon say he was gonna stop those walls?
Heads up that I had to update through the UI twice - first brought me from 1.30.x 1.32.2, then second to 1.32.3.
As secure as a fox who's just been appointed Professor of Security at Secure University?
Re:Google has banned the training of deepfakes in Colab on Saturday May 28, 2022 @02:20PM (#31542500)
Thanks. Edited.
Re:Google has banned the training of deepfakes in Colab on Saturday May 28, 2022 @01:26PM (#31542080)
> turns out that nature doesn't make SAAS

E pur si existit.

Re:Google has banned the training of deepfakes in Colab on Saturday May 28, 2022 @01:20PM (#31542037)
That includes private data. Thou critical thinkest too little.
Re:Firejail: Linux namespaces and seccomp-bpf sandbox on Sunday March 27, 2022 @12:52PM (#30821752)
An SUID binary written in C, no less.
Re:A Voracious Reader: Stalin through his books on Friday March 11, 2022 @10:33AM (#30641100)
They missed a trick. 'Voracious Leader' left right on the table.
That's not the case. Generate a unique ID on activation. Ask us to CNAME => <unique-id>.pages.github.tld. Drop the record when page is deactivated. Sorted.

Older »