News for hackers. Stuff that matters.

medoc

Re:Moving beyond fork() + exec() on Sunday June 07, 2026 @08:31AM (#48434173)
Related: executing small commands from the Recoll indexer: https://www.recoll.org/pages/idxthreads/forkingRecoll.html
Re:The Boring Part of Bell Labs on Wednesday May 13, 2026 @12:02PM (#48123684)
I remember going to Holmdel to install our network backup product (which later became something named ABARS in AT&T if I remember well), in the 80s. For this young French Unix geek, this was like walking into the Olympe, among the gods :)
Nobody with any slight acquaintance with history could believe any of these.
Re:It's Always TCP_nodelay on Tuesday December 23, 2025 @01:28PM (#46367813)
Around 1999, I was testing a still young MySQL as an INFORMIX replacement, and network queries needed a very suspect and quite exact 100 mS. A bug report and message to [email protected], and this is how MySQL got to set TCP_NODELAY on its network sockets...
Just as a note, and I checked that it's not the case with the GNU coreutils: on some systems, cp (and maybe cat) would mmap() the source file. When the output is the devnull driver, no read occurs because of course its write function does nothing... So, using a pipe (or dd) maybe a good idea in all cases (I did not check the current BSDs).
Ils en ont ch... dans leur culotte.
Re:Drilling Down on Uncle Sam's Proposed TP-Link Ban on Sunday November 09, 2025 @02:37PM (#45868452)
The fact that TP-Link products are vastly better and cheaper than all their numerous competitors is indeed a bit strange. You have to either think that all the people at Linksys, Netgear, D-link, etc. are incompetents or that something a bit out of the ordinary is going on at TP-Link...
Re:The future of solar doesn't track the sun on Saturday May 03, 2025 @10:19AM (#43879192)
Anti-hail netting is definitely a thing (protecting cars or fruit trees), for the reasons you state. Even big hailstones are rather slower than fast golf balls.
Re:$8k Suzuki from India Received a 5-Star Crash Test Rating on Tuesday November 19, 2024 @03:58AM (#42181311)
There is the Dacia Duster if your off-road needs are not really hardcore.
What rclgrep does is run the recoll text extraction and do a grep-like operation on the extracted texts. If you want to give it a try, don't hesitate to contact me if you have any trouble building or using it, or think it could be improved. It's more or less a (working) prototype at the moment, but I'm willing to expand it if it looks useful. The "Usage" string is much better in the latest git source than in the tar, and it sorely needs a man page.
By the way Recoll also has a utility named rclgrep which is an index-less search. It does everything that Recoll can do which can reasonably done without an index (e.g.: no proximity search, no stem expansion etc.). It will search all file types supported by Recoll, including embedded documents (email attachments, archive members, etc.). It is not built or distributed by default, because I think that building an index is a better approach, but it's in the source tar distribution and can be built with -Drclgrep=true. Disclosure: I am the Recoll developper.
Re:We have reached OpenBSD of Theseus on Saturday August 24, 2024 @03:44AM (#41336396)
This is true but it was certainly not considered good practise even at the time. I've been on the seller part of a few software companies acquisitions from the early nineties, and checking what kind of source control we were using and how was part of every audit. A long history of sccs -> cvs -> subversion ->mercurial or git...
Re:Will We Ever Get Fusion Power? on Saturday June 29, 2024 @07:00AM (#40829383)
> You still get solar power on cloudy days, it just takes more panels to generate some specific level of power. That is wrong. On cloudy winter days the inverters often just stop. Source: have 20kW of panels on a house in the south of France.
Re:A simple 3-body problem simulator on Monday April 08, 2024 @12:28PM (#39971328)
Fun anecdote, in the mid-1980s, I was bored at work and wrote a similar simulation in Pascal running on a Vax (11-780 if I remember well), and displaying on a tektro (emulation probably). I discovered after a bit that every time I played with it, all other users wondered why the Vax was suddenly frozen (not sure exactly why, probably the serial I/O) ... Oops.
Re:In Cleveland, mushrooms digest entire houses on Sunday March 17, 2024 @04:31AM (#39732863)
It's a common misconception that the reason we should be more frugal is to save the planet, ecosystems, or cute animals.
Re:Ed(1) mastery is a must for a real Unix person on Friday December 15, 2023 @11:58AM (#38656009)
I used ed on video terminals connected to VME 68000 Unix V7 machines around 1986. For some reason, I don't remember using vi on them, and in any case, ed remained very useful when the terminal type was misconfigured or unknown to the system, which happened quite a lot (I guess that not everything emulated a VT100 at the time). We actually jumped directly from ed to some Emacs relative (Jove probably), which was the beginning of paradise, and then we received our Sun 3 and it was Emacs all the way to present :)
Not to nitpick but this would rather be around 199x when AOL joined the Internet.
Re:Codeberg a GitHub Alternative from Europe on Monday October 17, 2022 @02:13PM (#33237535)
There is also framagit: https://framagit.org/public/projects which is a Gitlab instance run by a French non-profit, Framasoft: https://framasoft.org/en/ I host my project there, no issues.
Re:Time Till Open Source Alternative on Sunday August 28, 2022 @03:42AM (#32626549)
For making a good GUI, the tech guys need to be ordered around by non-tech guys who think like, or talk to, regular users and know what is needed. Tech guys don't like this, so someone needs to pay for their suffering.
Re:Oasis: Small statically-linked Linux system on Sunday August 14, 2022 @01:17PM (#32460992)
Your last point is a bit off. Text pages are shared iff they come from the same file. So your point works if the 90k processes are the same program. Else: shared libs...
Last time I looked, posix_spawn() just called fork/exec
fork() also presents performance issues for programs with a large virtual space. Here vfork() helps, but it has even more pitfalls than fork(). I had written a small doc about converting the recollindex Recoll indexer from fork() to vfork() a while ago: https://www.lesbonscomptes.com/recoll/pages/idxthreads/forki...