like this
reshared this
magic-tape: tui yt client/downloader, new feature: Show video description & comments in the terminal.
cross-posted from: lemmy.world/post/20356859
gitlab.com/christosangel/magic…
Magic-tape is an image supporting fuzzy finder tui YouTube client.
## UPDATE
Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.
Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.
Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.
like this
magic-tape: tui yt client/downloader, new feature: Show video description & comments in the terminal.
gitlab.com/christosangel/magic…
Magic-tape is an image supporting fuzzy finder tui YouTube client.
---
UPDATE
Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.
Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.
Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.
like this
Fair enough, you do you.
For the record, no rm -r
in the script.
The only rm
command, line 394: rm "${UEBERZUG_FIFO_MAGIC_TAPE}"
To be clear, I'm not throwing shade. That's an impressive piece of software. It's just, given the number of stories I've heard (and experienced) about Bash's tricky syntax leading to Bad Things, I'm less comfortable with running this than I would be with something in a language with fewer pitfalls.
But if others take the chance and it sticks around a bit, I'll come around
Thanks for the contribution! It's a great idea, and with Google fucking about with blocking things like NewPipe, a project like this is a great answer to that.
given the number of stories I’ve heard (and experienced) about Bash’s tricky syntax leading to Bad Things,
Been there, done that!
But if others take the chance and it sticks around a bit, I’ll come around
Hey, like many bash scripts, this one is just a glorifief one-liner.
But I use it everyday, I am biased, of course, but it is rather convenient, and prevents me from getting lost in rabbit holes.
Mount Everest is having a growth spurt, say researchers
Mount Everest is having a growth spurt, say researchers
River erosion has pushed the mountain upwards and added an extra 15 to 50 metres over the past 89,000 yearsNicola Davis (The Guardian)
like this
like this
Linux Mint 22.1 Slated for Release in December with Revamped Cinnamon Theme
The Linux Mint 22.1 distribution was slated for release in December 2024 with a revamped Cinnamon theme and better package management.Slated for release in December 2024, near the Christmas holidays, Linux Mint 22.1 will ship with the soon-to-be-released Cinnamon 6.4 desktop environment featuring a revamped theme that’s much darker and contrasted than before, rounded elements, redesigned dialogs, and a gap between the applets and the panel.
More from the Mint Monthly News: September 2024
The transition towards Aptkit and Captain is now finished. Starting with Linux Mint 22.1, set to be released this December, none of our projects will depend on aptdaemon, synaptic, gdebi or apturl anymore.
like this
reshared this
I love Mint 22 so far, it really has matured where my home computer is running Mint is more stable than my work computer running Windows 11, luckily my company uses CrowdStrike so nothing to worry there.
But really I now recommend Mint to my non tech savvy friends and family, as a person who uses Linux should! But joking aside took my sister's old laptop running Windows 7, slapped a SSD and upped the ram to 8 GB into it with Mint and she has been happy
like this
Can't boot Clonezilla image from Surface Go 1 to Acer Apire 5737z
Hi everyone,
I have a finely tuned Fedora 40 image that I cloned using Clonezilla (see: sh.itjust.works/post/25762756)
I wanted to deploy it on my old Acer Aspire 5737z but it won’t boot. It’s just displaying a — on a black screen for hours.
I’m not so knowledgeable but I guess it means I would have to reinstall the GRUB or whatever.
I’ve booted into my Fedora Live USB and tried the lsblk command people were talking about on the web (I don’t understand the terminal). Here's the result.
I think the SDA disk is the one I would like to boot from.
Can anyone help me understand what I have to do 😇🙏
like this
Hey there!
It sounds like you’re on the right track! The black screen with a dash usually means the bootloader (GRUB in this case) might need some love. So, you’ll likely need to reinstall GRUB on your old Acer.
Here's a simple way to do it from your Fedora Live USB:
- Open a terminal (if it’s not already).
- Run
lsblk
to confirm that your old Acer’s drive is/dev/sda
. - Mount the Fedora partition with something like:
sudo mount /dev/sda1 /mnt
(Make sure/dev/sda1
is the correct partition; adjust if needed). - Install GRUB by running:
sudo grub2-install --boot-directory=/mnt/boot /dev/sda
- Then create a new GRUB config with:
sudo grub2-mkconfig -o /mnt/boot/grub2/grub.cfg
- Reboot and fingers crossed, it should work!
It sounds a bit like magic (or some weird old ritual), but it should help your Acer find its way. Give it a shot! If it doesn’t work, let us know exactly what you see. We’ve got your back!
Thanks for the precise answer adapted to a rookie like me😇😅
Sadly it ain't working. I guess the GRUB installing part which is problematic.
Yes, Actually, Individual Responsibility Is Essential to Solving the Climate Crisis
A fixation on system change alone opens the door to a kind of cynical self-absolution that divorces personal commitment from political belief. This is its own kind of false consciousness, one that threatens to create a cheapened climate politics incommensurate with this urgent moment.
[...]
Because here’s the thing: When you choose to eat less meat or take the bus instead of driving or have fewer children, you are making a statement that your actions matter, that it’s not too late to avert climate catastrophe, that you have power. To take a measure of personal responsibility for climate change doesn’t have to distract from your political activism—if anything, it amplifies it.
The thing with 99% leverage sadly has only a chance of 1% to happen while the 1% leverage thing you can just make happen. And if you make the 1% thing happen in more people the votes for the 99% thing start to go up as well. And eating less meat does have an impact. For years now i read headlines that year n had less pig meat being eaten in total than year n-1 (pork being the focus as my country afaik does not have a big beef industry so it's not as relevant to report about it)
We have very little influence on the industry as a whole but if you buy less meat, the meat industry actually becomes smaller over time. The alternative products also become more and more. Super markets over here all have a vegan shelf at least and there's more vegan only restaurants opening up in my city that even made my meat eater colleagues go there to eat from time to time.
if you buy less meat, the meat industry actually becomes smaller over time.
that has never happened.
Målet med kriminalpolitiken måste vara att minska brottsligheten, inte att spärra in så många som möjligt i fängelse. En kriminalpolitik inriktad på att fängsla så många personer som möjligt för så lång tid som möjligt är en misslyckad kriminalpolitik. Det minskar nämligen inte brottsligheten vilket tydligt kan åskådliggöras av exemplet USA.
Man som bedrev juristverksamhet dömd till fängelse. Hovrätten över Skåne och Blekinge har dömt en man som bedrev juristverksamhet för brott mot många klienter. Mannen dömdes till fyra års fängelse för bland annat grovt bedrägeri, grov förskingring och grovt bokföringsbrott.
Strax efter klockan tio på söndagskvällen kom det in larm till polisen om skottlossning i Rissne, Sundbyberg. När polisen kom till platsen anträffades två personer i 20-årsåldern med skottskador. De fördes med ambulans till sjukhus. En av dem ska vara lindrigt skadad medan den andre är allvarligt sakdad.
Interstate is closed outside Atlanta as residents evacuate due to a chemical plant fire
Some residents east of Atlanta were evacuated while others were told to shelter in place Sunday to avoid contaminants from a chemical plant fire that sent a massive plume of dark smoke high into the sky that could be seen from miles away.
Interstate 20 was shut down in both directions in the area, the Georgia Department of Transportation said in a post on X. Reports said traffic was snarled as vehicles backed up in the area after the closure.
The fire ignited when a sprinkler head malfunctioned around 5 a.m. Sunday at the BioLab plant in Conyers, Rockdale County Fire Chief Marian McDaniel told reporters. The malfunction caused water to mix with a water-reactive chemical, producing a plume of chemicals.
Interstate is closed outside Atlanta due to chemical plant fire
Some residents east of Atlanta were evacuated and others told to shelter in place after a fire at a chemical plant. Fire Chief Marian McDaniel told reporters that a sprinkler head malfunctioned around 5 a.m. Sunday at the BioLab plant in Conyers.AP News
Yep. While simple to prepare, this will affect almost nobody, as it requires the user to perform an increasingly rare action in a world that's often going paperless.
Also, the likelihood that a regular user will expose port 631 to the internet is probably close to zero. There's several uncommon pieces that have to be in place for this to work, to the point that it's not a simple matter to execute this exploit.
this will affect almost nobody
Is that really true? From evilsocket.net/2024/09/26/Atta…
Full disclosure, I’ve been scanning the entire public internet IPv4 ranges several times a day for weeks, sending the UDP packet and logging whatever connected back. And I’ve got back connections from hundreds of thousands of devices, with peaks of 200-300K concurrent devices.
The very next sentence:
Note that everything that is not Linux has been filtered out [in this filtered list of unique IPs]. That is why I was getting increasingly alarmed during the last few weeks.
They said they were getting duplicates and non-*nix hits with that 300k number, which doesn't help them (i.e. the hundreds of thousands of hits was artificially inflated). So yes, the threat is overblown.
Coupled with the fact that patches are already out, and it's easily mitigated by closing 631, and I don't expect this will be much of a problem for most people.
How's that? If I'm running a Windows machine, how would a CUPS exploit affect me?
I'm not asking maliciously, but I genuinely don't grasp how that could be a viable attack vector.
Say I host a malicious server with ipv6 only. You visit the site without NAT. I get your ip and ip:631 is open (unless firewall and listen is restricted to prefix). Usual attack afterwards.
Edit: You need to have ipv6, for example many mobile networks.
I have full IPv6, none of my ports that I haven't explicitly whitelisted in the firewall can be accessed from the Internet. I can open a host completely, but it's not default. This is on the most common brand of consumer routers here.
Just because it's not NATted doesn't mean there's no firewall in place.
Yeah ofcourse firewall is the good idea here. I personally have firewall on on every device so that I can manage what can connect and from where.
The point is though often people just disable firewalls (some distros do not install/enable by default too) to workarround certain issues quickly like kdeconnect not connecting, bridge not working and such.
That's how I think the whole 'ipv4 NAT is the best (consumer) firewall' concept came popular.
I don't know why the guy just assumed every linux and BSD machine runs cups-browsed by default?
It took me literally 5 seconds to check that it's disabled on Fedora by default.
Then he wrote a whole paragraph about how no one should use CUPS for printing because based off of his own analysis, it's some insanely crappy and insecure system.
Which is actually stupid because the only alternative is windows?????????? Which is universally known for printer driver and spooler vulnerabilities.
Then he got mad the the maintainer for patching before his disclosure.....
However, some people have taken the vagus nerve’s expansive bodily influence as an invitation to engage in pseudoscience. In some corners of the internet, so-called polyvagal therapy—physical or breathing exercises that some claim reset the vagus nerve—is proposed to address just about any disorder of the mind or body. There’s little to no evidence that these popular remedies are anything but placebos.
Always...
Because of the placebo effect, all you really need for anything that’s not outright poison to have a positive effect on average is a convincing enough practitioner. Ideally people have narrow criteria for judging that, but it’s just so ripe for exploitation, every scammer can try a different tack, and some are bound to slip through.
IMO, the solution is a system of tight regulations on the definition of medical advice and the qualifications required to dispense it. I can also see that this one specifically would be hard to legislatively prevent without training and licensing yoga teachers, for example.
I made a script that configures Ubuntu (mainly its GNOME) the way I like it. I also made it work in Debian and Fedora.
It doesn't do any crazy ricing, as I mostly focused on usability tweaks and automatic installation of my must-have extensions. (Tiling, clipboard manager, dash to dock, desktop icons)
Most notable tweaks include:
- clicking on a running app minimizes it
- clicking on a group of apps brings up their previews
- adds minimize, maximize buttons to windows
- installs flatpak, adds flathub
- install flatpak and snap plugins into gnome-software (doesn't work on Fedora)
- installs snap
- installs mtp-tools and gvfs-backends on Debian to be able to transfer files from a connected phone
- adds right click > New File
- Super + Shift + S brings up the area screenshot
- Super + E opens the file manager
- Ctrl + Alt + T opens the terminal
(Those already configured on Ubuntu don't get configured again, obviously.)
I also recorded a short showcase to prove that it works without errors youtu.be/xf739ivb9hg
GitHub - Tsu-gu/tsubuntu: Tweaks for Ubuntu 20.04 - 24.04
Tweaks for Ubuntu 20.04 - 24.04. Contribute to Tsu-gu/tsubuntu development by creating an account on GitHub.GitHub
like this
flathub.org/apps/io.github.vik…
Seems very user friendly and can do everything except for installing software.
Troy
in reply to petsoi • • •MoonMelon
in reply to Troy • • •Back in the day TCL was used in a few places in Pixar's Renderman renderer (called PRMan), and in its connection to Maya. You could write little TCL scripts within the Renderman Artist Tools (RAT) that would be evaluated during scene export. I think this still exists in some form inside Tractor, which is their renderfarm management software.
It's been a long time since I used prman but generally Python has replaced everything as the "glue" language, which honestly makes things a lot easier. VFX and game dev used to have a hundred different scripting languages rolling around.
IrritableOcelot
in reply to Troy • • •The molecular mechanical modeller NAMD and its viewer use TCL as the CLI interface, and it's...fine. I would prefer BASH or python, but it works just fine.
Also Tk is how most LaTeX drawing is dealt with, so trying to modify, say circuit diagrams or chemical structures drawn directly in LaTeX (I.e.
chemfig
) requires using some Tcl. Again, it's...fine. No huge complaints.Edit: bad memory, the drawing program in LaTeX is TikZ not TkZ, its unrelated to Tk.
marble
in reply to Troy • • •Montagge
in reply to Troy • • •VintageTech
in reply to Troy • • •I created a report generator, When I open the app it welcomes me to a drop-down menu where I select the customer name and click generate and it opens a .pdf with some charts and graphs.
I could have done it with .js or in excel but it takes about 5 or 6 seconds in python where as anything I'd done in .js was adequate, it would seem like it took too long to print/render. And well, excel would have given me some idiotic error a few months down the road.
But other than that? Not much really.
Troy
in reply to VintageTech • • •VintageTech
in reply to Troy • • •