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
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
lsblkto 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/sda1is 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.
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.....
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.
Cleveland Clinic Discovers Bacterium Causing Gut Immunodeficiency
Cleveland Clinic Researchers Discover New Bacterium that Causes Gut Immunodeficiency
Findings lay the groundwork for potential new treatments for variety of diseases, including inflammatory bowel disease, Crohn’s and ulcerative colitis.Cleveland Clinic
like this
Anyone know if the MX creative console from logitech works on Linux (and to what degree?
I kinda want to hook one up to raspberry pi for some home control, but I'm not sure if the software to configure it works on Linux (or how it even presents itself HID-device wise)
I'm sure it'll eventually be reverse engineered and have some custom drivers on github soon, but a quick google came up empty for this new device.
Edit: Oh I just realized this hasn't been released yet, I saw the "buy now" button and assumed it was.
MX Creative Console - Customizable Dial and Keypad | Logitech
Streamline your creative workflow with intuitive controls. Maximize precision with the dialpad and access countless customization through the LCD keys of the keypad.www.logitech.com
It's $269.99 and has 9 programmable buttons. It's designed to control rent-seeking apps like Photoshop.
The Streamdeck XL costs $200 and has 32 programmable buttons. I'm using it to control my dorm room through Home-Assistant, and my robot camera through Bitfocus Companion.
Logitech does not support Linux.
Most of the current compatibility of Logitech devices comes from, Linux devs reverse engineering their software, USB standards or from default programing stored in the device.
like this
Telorand
in reply to christos • • •christos
in reply to Telorand • • •Badabinski
in reply to christos • • •The screenshots look really nice. I've personally always struggled with designing nice TUIs, so I really appreciate the way this looks.
I'd recommend trying out shellcheck and potentially building it into your repo as a CI check. I've written a ton of Bash over the years, and I've found shellcheck to be absolutely essential for any script over ~100 lines. It's not perfect, but it does do a great job of helping you avoid many of the foot guns present in Bash. I also dearly love this site. It's a fantastic reference, and I look at it almost every day.
I may take some time later today and provide a bit of specific feedback.
christos
in reply to Badabinski • • •Daniel Quinn
in reply to christos • • •christos
in reply to Daniel Quinn • • •Fair enough, you do you.
For the record, no
rm -rin the script.The only
rmcommand, line 394:rm "${UEBERZUG_FIFO_MAGIC_TAPE}"Daniel Quinn
in reply to christos • • •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.
christos
in reply to Daniel Quinn • • •Been there, done that!
christos
in reply to Daniel Quinn • • •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.