IRC channel logs
2025-09-06.log
back to list of logs
<p4r4D0xum>hey guys, apt upgrade hangs during hurd restart <Pellescours>while it should (it’s done for linux). Without this define it is not able to build because pthread_setname_np and pthread_getname_np are not defined. <almuhs>hi again. I want to develop my own translator with trivfs, to learn more about translator development. My idea is develop a new translator, a bit more useful than the current that i've ported (caesar, yes and one). Any proposal? <etno>almuhs: (maybe it already exists) I would love to have a translator to cache files (in the context of remote content access). When remote fs is provided by an underlying translator (SFTP, NFS...), this new translator would fetch on demand the files and keep a local copy. <almuhs>it's interesting, but many diffcult too, i think <azert>etno: it’s a bit weird that this doesn’t happen already <azert>like I would expect libnetfs to take care of caching the data in memory <etno>azert: probably, yes, but I like to imagine that the power of the translators is to be combined while keeping each of them as simple as possible <etno>What about a translator serving Mandelbrot pictures :D <etno>Yes, and the file name would contain the parameters? <almuhs1>we need a software to generate the images <almuhs1>but, someone simpler, we can represent math functions using gnuplot <etno>I would be stunned if there was no already available rust Mandelbrot generator crate. (Although, I must admit that this is maybe not very useful) <almuhs1>takes the parameters from the file, generate the gnuplot script, and call it <almuhs1>it's a complex thing: it might be useful at same time than not excesively difficult <almuhs1>because i never developed a translator by my own <almuhs1>maybe i can check cpu temperatures checking ACPI tables, calling to ACPI translator <almuhs1>a translator which reads the info generated from ACPI translator, find the temperatures, and show it <etno>What about a translator providing composited framebuffers to applications (à la Wayland or Plan9) ? <almuhs1>all these things seems very difficult for me <almuhs1>i have a idea around makes a "wine" to translate the linux executables to hurd, detecting the format and replacing the syscalls with the hurd versions, to be able running linux executables natively (even without knows that it is a linux binary). <nexussfan>almuhs1: yeah, that would take a long time to implement <azert>I think we really need user drivers <almuhs1>and i don't have so much time to finish my PhD about this <azert>what about a few drivers written in rust? <almuhs1>yes, but i never worked with drivers <almuhs1>the mouse which runs in the tty use a translator? Could be interesting add copy-paste features <azert>Another nice thing related to mouse would be qemu mouse and clipboard integration a la spice-vdagent <azert>since most people use Hurd under qemu <almuhs1>yes, but i need many docs about this <almuhs1>i've just done an experiment with httpfs, but it failed <almuhs1>pruebas@debian-hurd:~$ settrans -c https: tmp/ /hurd/hostmux /hurd/httpfs / <almuhs1>settrans -c http: tmp/ /hurd/hostmux /hurd/httpfs / <almuhs1>could be funny accessing to files from http without load httpfs translator for each <nexussfan>almuhs1: seems more of an apt issue. does it work as /http:/[whatever] or not? <nexussfan>almuhs1: probably an apt issue most likely... <nexussfan>apt usually isn't built for installing from local files i think <almuhs1>i've mixed the instructions from ftp translator, which allows to access to ftp server indicating the path in the command; with the instructions of httpfs <almuhs1>apt allows to run "apt install ./myfile.deb" by example <nexussfan>that's a weird error, "No such file or directory", if it does exist, then something is probably wrong with dpkg <almuhs1>probably httpfs translator has not this feature <nexussfan>almuhs1: well if cat or ls also say no file it's probably an issue with httpfs <nexussfan>doesn't seem to be in the main hurd.git repo, found ftpfs there though <nexussfan>Gooberpatrol_66: so that's where httpfs comes from <sneek>Welcome back almuhs, you have 1 message! <almuhs>cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras co httpfs <almuhs>but this translator doesn't use trivfs, it's implemented over netfs <almuhs>netfs seems similar to trivfs, but with more options