Run Linux inside a PDF file via a RISC-V emulator
You might expect PDF files to only be comprised of static documents, but surprisingly, the PDF file format supports Javascript with its own separate standard library. Modern browsers (Chromium, Firefox) implement this as part of their PDF engines. However, the APIs that are available in the browser are much more limited. The full specfication for the JS in PDFs was only ever implemented by Adobe Acrobat, and it contains some ridicul ⦠ā Read more
The GNU Guix System
GNU Guix is a package manager for GNU/Linux systems. It is designed to give users more control over their general-purpose and specialized computing environments, and make these easier to reproduce over time and deploy to one or many devices. ā« GNU Guix website Guix is basically GNUās approach to a reproducible, functional package manager, very similar to Nix because, well, itās based on Nix. GNU also has a Linux distribution built around Nix, the GNU Guix System, which is fully ālibreā as al ⦠ā Read more
cli/q: š± A simple programming language. - q - Projects I really like this little q lang that Ed has created ā¤ļø Really nice and simpler, great design and implementation and really lovely cross-platform compiler supporting DOS, Windows, Darwin and Linux on AMD64 and ARM64 šŖ
Android 16ās Linux Terminal will soon let you run graphical apps, so of course we ran Doom
Regardless, the fact that Androidās Linux Terminal can run graphical apps like Doom now is good news. Hopefully weāll be able to run more complex desktop-class Linux programs in the future. I tried running GIMP, for example, but it didnāt work. Eventually, Android should be able to run Linux apps as well as Chromebooks can, as I believe one of the goals ⦠ā Read more
Linux 6.14 with Rust: āWe are almost at the āwrite a real driver in Rustā stage nowā
With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as a ātipping pointā for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as āalmost at the āwrite a real driver in rustā stage now, depending on what you want to do.ā ā« Michael ⦠ā Read more
Ahh yes, what I like to call āwild wild westā upgrading.š
Felt like that when I upgraded/updated an Arch Linux machine that had been sitting for a couple years unused.
AI bots paralyze Linux news site and others
Apparently, since the beginning of the year, AI bots have been ensuring that websites can only respond to regular inquiries with a delay. The founder of Linux Weekly News (LWN-net), Jonathan Corbet, reports that the news site is therefore often slow to respond. The AI scraper bots cause a DDoS, a distributed denial-of-service attack. At times, the AI bots would clog the lines with hundreds of IP addresses simultaneously as soon as they decided ⦠ā Read more
When a sole maintainer steps down, Linux drivers become orphans
The Linux kernel has become such an integral, core part of pretty much all aspects of the technology world, and corporate contributions to the kernel make up such a huge chunk of the kernelās ongoing development, itās easy to forget that some parts of the kernel are still maintained by some lone person in Jacksonville, Nebraska, or whatever. Sadly, we were reminded of this today when the sole maintainer of ⦠ā Read more
Took today off work. My workplace has a special form of leave called āMy Dayā that you can take in addition to your usual Annual leave. So nice! š Iām using one of them today to take advantage of the long weekend coming up (Australia Day). Planning on making repairs to one of my Hypervisor nodes that is currently down and powered off for repairs. The SATA DOM (Disk on Module) boot disk is kind of dead and the controller refusing to take any new writes. Itās about ~5 years old š¤£
Plan is to take the machine out of the Rack, place it on my office desk to open it up. Plug in a new 2nd SATA DOM on another SAtA cable. Boot it back up with a Linux Rescue bootable ISO and do a dd
of the old to the new. Then swap āem around and hope š¤ for the best š
Linux 6.13 released
Linux 6.13 comes with the introduction of the AMD 3D V-Cache Optimizer driver for benefiting multi-CCD Ryzen X3D processors, the new AMD EPYC 9005 āTurinā server processors will now default to AMD P-State rather than ACPI CPUFreq for better power efficiency, the start of Intel Xe3 graphics bring-up, support for many older (pre-M1) Apple devices like numerous iPads and iPhones, NVMe 2.1 specification support, and AutoFDO and Propeller optimization support when compiling the Linux kernel with ⦠ā Read more
Another infrastructure apocalypse day at work. Linux and Windows users were unable to reach M$ services. No Outlook, no Teams, no intranet (Sharepoint), no Azure, etc. Mac users were lucky, though. Took whoever the whole day to resolve that. Shortly before I called it quits, it worked again. I havenāt read any e-mail today, used Teams mostly on the company phone, but itās the plague.
And as Iāve forseen the other day, we have to deliver yet another workaround hotfix, once the other team eventually gets their stuff integrated that we should rely on. Good riddance itās the weekend now!
@lyse@lyse.isobeef.org Yeah, what else does one need? š
I added more instructions, made it portable (so it runs on my own OS as well as Linux/DOS/whatever), and the assembler is now good enough to be used in the build process to compile the bootloader:
That is pretty cool. š
Itās still a ānaiveā assembler. There are zero optimizations and it canāt do macros (so I had to resort to using cpp
). Since nothing is optimized, it uses longer opcodes than NASM and that makes the bootloader 11 bytes too large. š„“ I avoided that for now by removing some cosmetic output from the bootloader.
been thinking about trying arch linux but no i will not become the type of person that uses arch
just spent like half an hour finding a terminal based color picker that would just. turn the cursor into a cross hair and let me pick from the screen. in linux fashion this was somehow difficult
good morning everyone i want to do epic linux desktop ricing again
After taking a short break for Christmas business, Iāve worked on my little toy operating system for the 8086 again.
It understands the basics of FAT12 now. Iāve actually never sat down before to learn how FAT works. 𤦠Well, better late than never, I guess.
It canāt do subdirectories nor timestamps and I probably wonāt implement that. One flat directory is good enough for my purposes and the OS has no notion of time, yet, anyway.
Itās really cool to be able to exchange files with the Linux host or other DOS VMs. š„³
Unmasking the hidden gems of Void Linux https://animeshz.github.io/site/blogs/void-linux.html
@movq@www.uninformativ.de my util-linux 2.40.2 version of cal seems to do week 53.
Showing my nephew around linux⦠and whatās a better example of text editing in terminal than an actual twt? eh? š
@lyse@lyse.isobeef.org Mostly small and simple stuff, like cable management, headphone rests, pill dispensers (that I didnāt end up using), ⦠The most elaborate thing I made was that contraption for my keyboard, which is a bit hard to explain right now, so hereās some photos:
I didnāt end up using that, either. š„“
In general, I print very little. So little that some of my supplies have simply gone bad, like that ā3D LACā (sprayable glue).
@aelaraji@aelaraji.com Yeah, I saw that when googling the issue. Iām on Linux, there are no DLLs to swap. I could use an older version indeed. š¤ Letās see if I can find some better alternative first. (Letās face it, Blender is hard to use.)
Always a great feeling when you can solve npm install problems by simply copying over the whole node_modules folder from your own (linux) machine. One of the benefits of developing on a Linux machine I suppose.
@discoverbsdthebsdcommunitylinklog@feeds.twtxt.net This is interesting. Not giving up on #FreeBSD #jails yet but definitely have to give this a try; and if my #podman workflow goes as smooth as it does on #Linux I might just end up installing FreeBSD on the #RaspberryPi too! š„³
Fuck me dead, what a giant piece of shit. On my Linux work laptop I have the problem that some unknown snakeoil āsecurityā junk is dropping any IPv4 connections to ports 80 and 443. All other ports and IPv6 seem unaffected. I get an immediate āconnection refusedā when trying to estabslish a connection.
I had this problem four weeks ago on Friday morning the very first time at home. On Thursday evening, everything was perfectly fine. Eventually, I plugged in the LAN cable in the office and everything got automatically fixed. Nobody can explain whatās happening.
Then, last week Friday morning out of the blue, the same issue was back. So, I went to the office yesterday and it got fixed again by plugging in the network cable. This evening, I have exactly the same bloody problem again.
What the hell is going on? Does anyone have any ideas? Iām certainly not an expert, but I donāt see anything suspicious in iptables or nft rules. I also do not see anything showing up in /var/log/kern.log. Even tried to stop firewalld, flush the iptables and nft rules, but that didnāt result in any changes.
Can someone try Alpine Linux with XFCE and Compiz please? Show me how the full screen zoom works in 2024/2025 š
@bender@twtxt.net The tagline of Timeline is āa single user twtxt/yarn podā not just a yarn pod. Similar to GNU/Linux. When we came up with the concept of Yarn Social it was a way to rebrand twtxt with the extensions that makes conversations like this possible.
@bender@twtxt.net Linux and Android. I would never iOS my friend.
@off_grid_living@twtxt.net is it locked because of a DRM thing or something else?
Otherwise you can check if you already have the pdftotext
command that comes with the poppler-utils package, try converting converting the pdf into a text file and copy to your heartās content. I have just tried it myself.
If you donāt have it already hereās what you can do on Ubuntu or any Debian based distribution of Linux:
- Update and upgrade your packages:
> sudo apt update && sudo apt upgrade
- Install the
poppler-utils
package
> sudo apt install poppler-utils
- Now you can convert your pdf to txt file with:
> pdftotxt -layout -enc UTF-8 name_of_source_file.pdf name_of_destination_file.txt
You can always do a pdftotxt --help
to see the rest of possible options.
Hope this helps.
no but linux containers arenāt secure. yeah, theyāre administrative boundaries. a sandbox would be nice, but this isnāt Sun. we have fallen from grace. tape the box closed with AppArmor if you need to and flip the exact 11 switches that apply for your impending scenario. iām sure nobody will steal your data.
OK I found this one, small enough, but where does it install to? canāt find the app, of any files of anything.
Being a total novice to Linux stuffā¦.where is this file located and why donāt they prompt you for a folder location of the program? And why such a stupid name? Dozens to choose from and most over 300MB, not what I want - I just want Apache to run the index.html webpage or the index.php webpage. I do not need Javascript or Java programming editorsā¦.
Another minor inconvenience could have been avoided by reading the Arch Linux news feed before upgrading.
⦠So itās gonna be either a:
- Find a way to do a Chroot install a la Chad Arch Linux way, on a portion of the disk space while Iām Ssh-ing in and then whip out the old debian installation if all goes well.
- or a YOLO automated/unattended install.
Either way, Iām ready to deal with the eff up! Because Iāve never done none of that before⦠š
and you can even mount it on windows/linux/os x!
Sad to see moc
removed from the official arch linux repos, but also cool to learn the debian project has been quietly patching it and keeping it up to date in recent years. Long live the music on console player. (And debian!) :-)
I finally found the NASM assembler.
I had heard that name before, many times, but somehow never looked into it. Weird. š¤Øš¤
This is the kind of program I was looking for.
- It is free software. Especially in the DOS ecosystem, free/libre software is a very scarce resource.
- Itās a small command line program, not a huge behemoth.
- Documentation appears to be well written.
- It can even cross-compile DOS binaries from Linux.
Linus Torvalds Has āRobust Exchangesā Over Filesystem Suggestion on Linux Kernel Mailing List
Linus Torvalds had āsome robust exchangesā on the Linux kernel mailing list with a contributor from Google. The subject was inodes, notes the Register, āwhich as Red Hat puts it are each āa unique identifier for a specific piece of metadata on a given filesystem.āā
Inodes have been the subj ⦠ā Read more
Voidlinux post install : https://kennydodrill.com/blog/stable-void-linux-setup-guide/
My linux installs all have TPM enabled. ā¦
Note pour plus tard : tester une simple install arch linux + DWM. Archolinux ou bare install ?
Note pour plus tard : tester une simple install arch linux + DWM. Archolinux ou bare install ?
Printing pictures on Linux is still a bit of a challenge.
Scientist Claims Quantum RSA-2048 Encryption Cracking Breakthrough
Mark Tyson reports via Tomās Hardware: A commercial smartphone or Linux computer can be used to crack RSA-2048 encryption, according to a prominent research scientist. Dr Ed Gerck is preparing a research paper with the details but couldnāt hold off from bragging about his incredible quantum computing achievement (if true) on his LinkedIn profil ⦠ā Read more
Since I have these simple, yet effective bash shell commands, which allow me to edit notes, plans, todos and statuses from the terminal, I feel liberated from overly complex software - everything is just text files and applications which come preinstalled on every Linux system.
Anyone have any ideas how you might identify processes (pids) on Linux machine that are responsible for most of the Disk I/O on that machine and subsequently causing high I/O wait times for other processes? š¤
Important bit: The machine has no access to the internet, there are hardly any standard tools on it, etc. So I have to get something to it āair gappedā. I have terminal access to it, so I can do interesting things like, base64 encode a static binary to my clipboard and paste it to a file, then base64 decode it and execute. Thatās about the only mechanisms I have.
@prologic@twtxt.net yeah, itās true. Thing is, Linux as a desktop operating system sucked in 1996 yet I adopted it then anyway because I wanted nothing to do with MS anymore š I know itās not for everyone but Iām pretty tolerant of a less-than-stellar experience if it means I can be free of big-company garbage.
I havenāt tried a Linux-based smartphone OS in a long time so I donāt have any idea how bad/good it might be. I figure when I finally break down and get a new phone Iāll experiment on my current phone.
@adi@twtxt.net @prologic@twtxt.net F-droid. Getting APKs from developers you trust and side-loading them. Some flavor of Linux. Some distro of the open source parts of Android.
There are lots of options. Bit by bit I divest from anything thatās distributed from Google Play. With my latest phone I find and download APKs so that I could have the app without all the Google crap woven through it. By the time I need to replace this one Iāll be fully free of Google Play. Most of my apps come from F-droid now. You can a perfectly functional phone/pocket computer unless youāre addicted to installing dozens of corporate apps.
@mckinley@twtxt.net Yes, Iām still with jmp.chat, and still very happy with them overall. Their beta period ended and their pricing increased a bit, so thatās worth a bit of consideration. I also managed to get one of their eSIMs. Iām slightly less happy with that aspect of their service, though they seem to be actively working on improving it and I knew in advance this was an early beta kind of thing and likely to have issues.
The only unreliability with calls that Iāve noticed was traceable to the unreliability of my own internet connection. Iāve confused incoming calls by simultaneously making and taking calls from the computer and the phone, but I think itās understandable that problems might arise and thatās not a real use case for me. Once or twice I did not receive a text transcription of a voice mail, but the support is usually quick to address things like that.
I host my own XMPP server and have for a good decade now, and thatās what I use with jmp.chat. I canāt speak to the quality of their hosting options.
Group texting works fine for me if one of the other parties initiates the group text. I havenāt tried to initiate my own group text in well over a year; last time I did, it didnāt work. That may or may not be a problem for you, and it may or may not have been fixed by now. Worth investigating more if itās important. I should also say Iāve only ever used group texts with 3 participants, and canāt speak to what happens if there are more nor whether there are upper limits.
Group texts donāt use MUC. Rather, they use a special syntax in the JID, something like ā+1XXX,+1YYY,ā¦,+1ZZZ@cheogram.comā, where the + and , are required, the XXX, YYY, through ZZZ are the phone numbers (no dashes or other special chars just digits), and the @cheogram.com at the end is required.
I recommend the cheogram app if youāre on android. It has a lot of nice features on top of the Conversations base. I use gajim on my (linux) computer and it works well with jmp.chat.
Iām happy to answer other questions if you have them!
@prologic@twtxt.net It was super useful if you needed to do the sorts of things it did. Iām pretty sad.
At its core was Sage, a computational mathematics system, and their own version of Jupyter notebooks. So, you could do all kinds of different math stuff in a notebook environment and share that with people. But on top of that, there was a chat system, a collaborative editing system, a course management system (so if you were teaching a class using it you could keep track of students, assignments, grades, that sort of thing), and a bunch of other stuff I never used. It all ran in a linux container with python/conda as a base, so you could also drop to a terminal, install stuff in the container, and run X11 applications in the same environment. I never taught a class with it but I used to use it semi-regularly to experiment with ideas.
@movq@www.uninformativ.de
Doesnāt even compile on my system, which is apparently broken:
> cc -Wall -Wextra -o win win.c $(pkg-config --cflags --libs gtk4)
cc: error: unrecognized argument in option ā-mfpmath=sse -msse -msse2 -pthread -I/usr/include/gtk-4.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtk-4 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgraphene-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0ā
cc: note: valid arguments to ā-mfpmath=ā are: 387 387+sse 387,sse both sse sse+387 sse,387
I have used Linux for most my life, and it hat been my daily driver for nearly two decades now. I have been bugged recently how when I exit
the terminal buffer has not been cleared leaving whatever contents available to the next user to view.
a quick man zsh
I found the STARTUP/SHUTDOWN FILES, and then a quick search on resetting the termianl buffer led me to <esc>c
or printf "\033c"
.
In five minutes something which has bothered me for who knows how long was resolved. Just needed some motivation to figure it out.