There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

livjq , to linuxmemes in Proveth Mee False

Idk about this one

bionicjoey , to linux in Are we Wayland yet or Whats missing?

I don’t follow this stuff at all, so I have no idea what the advantages are of Wayland that I’d actually see and benefit from in my daily use. That being said, I saw everyone saying it’s better, so I tried switching to it. After rebooting, my PC just showed a black screen. I needed to use a TTY to revert back to xorg. So no, as of right now I’m not using Wayland.

linux4ever07 OP , (edited ) to linux in A Bash script to rip music off CUE/BIN files

I just checked the macOS / FreeBSD man page for ‘stat’, and noticed the syntax differs from the version in GNU coreutils (which is what’s used in Linux). That’s probably the only thing that would need to be changed to make the script work on those other systems. It’s on line 526.

possiblylinux127 ,

Well pretty much no one is using BSD

linux4ever07 OP ,

Fair enough. But macOS has more users than Linux, and is partly based on FreeBSD. The shell and the userland tools are from FreeBSD. I prefer Linux of course and haven’t used a Mac in years, but I still think it’s nice making scripts compatible with all *nix systems.

possiblylinux127 ,

Fair enough, I just don’t pester the developer if you can avoid it. (Foss devs often receive demands)

linux4ever07 OP ,

For sure. If you get something for free then it is what it is. Some of my scripts probably won’t work outside of Linux but I still make an effort to not use external commands if there’s no need to. I try to use the internal features of Bash as much as possible, mostly cause it’s just faster that way. A consequence of that is that the scripts are at least more likely to work on other systems (that have Bash).

Djtecha , to programmerhumor in Asking the important questions

As an infra guy… What’s backend in this context?

JPAKx4 ,

Backend code, basically what is ran on the server and manages user requests, database interactions, etc… Frontend is the user end, so managing input, displaying information from server requests, etc. and is in the form of an app or website page.

JasonDJ ,

As a network guy…open up your favorite web-managed application and open the developer console. Inspect the transactions you see and compare it to the applications REST API reference, and you’ll likely find a lot of commonality (and maybe some undocumented endpoints!).

Backend made the API and everything that is performed by it. Front end is doing the GUI based off the response and promoting for input.

uis ,

Hah. I get it. Good one.

o_d , to programmerhumor in Asking the important questions
@o_d@lemmygrad.ml avatar

Not me!

xmanmonk , to linux in A Bash script to rip music off CUE/BIN files

Looks good! Thanks for sharing!

linux4ever07 OP ,

Thank you! I’m happy if more people besides just myself have use for it. It’s a niche some people might not be aware of. Especially for younger people who aren’t familiar with the CD format, and how music is stored in those games. It might help people get more direct access to the OST of their favorite retro games. Instead of having to search around the web for high quality audio, they can just extract it themselves.

GregorGizeh , to memes in The Adversary

Big vuvuzela iphone energy

frightful_hobgoblin , to memes in If the USA saw what the USA is doing in the USA...

obsessed

rjek , to linux in A Bash script to rip music off CUE/BIN files

Why not just use cdparanoia with the original CD?

linux4ever07 OP ,

If you have the original disc, then yeah. The script is more meant for when you get CUE/BINs online, such as Redump disc images for example.

rjek ,

Then then why not buy the CD?

rjek ,

I ask because that repo says “The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” and yet it exists only to abuse other people’s creative rights.

linux4ever07 OP ,

Another thing to think about is that CD is a dying format, and the way those old CD-based games are going to be preserved long-term is in the form of disc images stored on HDDs.

fenndev ,
@fenndev@leminal.space avatar

It is not an abuse of anyone’s creative rights to the convert music from a game you legally own to a different format.

gaylord_fartmaster ,

I’m sure the artists behind the music for the 20+ year old games this could be used for are really feeling the pain of their creative rights being abused from people trying to still enjoy their art after all this time, you wet blanket.

linux4ever07 OP ,

Many older games are not sold physically anymore, and getting them on the second hand market can be pretty expensive depending on how rare they are.

blashork ,
@blashork@hexbear.net avatar
Ohh ,

I am not sure this script will help. But I actually have a lot of cue/bin files from back when I ripped my cd collection. If I remember correctly, I played them through mediamonkey (ape files) or foobar. Windows user then… Most CD’s are either lost or in the back of the attic somewhere. I consider the files dead, but havent deleted them yet. I use plex which can’t play cue/bin files. This script might make my old cd collection come alive again…

linux4ever07 OP ,

If they are CUE/BIN files the script will be able to handle them all without a problem. My advice is to use the ‘-flac’ argument when running the script, so you get lossless copies. But you should double-check the resulting CUE sheet, after processing each album. See if any of the pregaps are longer than a few seconds, cause in rare cases there’s hidden bonus tracks in the pregaps. If that’s the case, you can extract the pregaps separately with the ‘-pregaps’ argument. Good luck!

MigratingtoLemmy ,

Let’s say the OP was given the CUE rip by his friend

solomon42069 , to programmerhumor in what u actually signed up for

You guys have money??

I’ve been working my arse off my entire adult life and have nothing to show for it but debt and long term illness.

yetAnotherUser , to linux in what do you think about my tier list of distros

It’s funny.

halm , to linux in what do you think about my tier list of distros
@halm@leminal.space avatar

I think you should’ve stuck with the bottom tier.

atlasraven31 , to linuxmemes in There are only 4 serious consolidated Linux Distros: Fedora, OpenSuse, Debian, Ubuntu

Slack is one of the OG distros.

ZeroHora , to programmerhumor in Asking the important questions
@ZeroHora@lemmy.ml avatar

É você que financia essa merda!

interdimensionalmeme , to linux in Are we Wayland yet or Whats missing?

Wake me up when there’s a working, native non-wsl waypipe client with sound for windows and android, that can hand off applications seamlessly to other hosts. (Think two computers, two monitors that feel like one).

Also working screensaver and monitor power options

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Also working screensaver and monitor power options

?

interdimensionalmeme ,

My first experience in wayland, us discovering I couldn’t control monitor sleep/standby function. I found how to reinstall X and managed to escape it since.

azvasKvklenko ,

That sounds like problem with specific software configuration, like missing packages in some distro or something being badly built. There’s nothing about Wayland that would prevent it from working.

interdimensionalmeme ,

Tried xset, not compatible. Tried searching equivalent command, there was none. That was in 2022.

azvasKvklenko ,

Wayland is not a standalone server like Xorg and it doesn’t have standard utilities to control stuff like DPMS. That functionality goes to compositors that are effectively individual Wayland server implementations. Compositors can provide utilities to control display, and they usually do. For example, on KDE Wayland you can call kscreen-doctor --dpms off, wlroots compositors (Sway, Wayfire, Hyprland,…) have inter-compatible tools, like swaymsg output DP-1 dpms off. If that’s what you meant anyway.

interdimensionalmeme ,

There really should be a front end script that has uniform command line parameters, finds what your compositor is, translate the command line arguments and send them.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

I dont know what that means. Normally the monitor turns off when the PC stops sending a signal. In KDE i can easily configure when to dim, turn off, lock etc. the screen.

interdimensionalmeme ,

I needed to do that from the console, xset didn’t work. As far as I could tell there was no other command.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

What did you want to do?

interdimensionalmeme ,

A command to place the monitor in standby mode

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

What does this mean? Like unplugging without unplugging? Keeping one screen active and only turning off the other one?

I mean in the KDE monitor options I can choose [mirror,extend to left,extend to right,only external,only internal] so this is 100% possible.

interdimensionalmeme ,

Something like that yes, I want to turn off the side monitors with a single button press.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

This will be possible and likely available as a command for your specific compositor. What are you using?

interdimensionalmeme ,

I was the one that came default with ubuntu 22.10 But as I have stated in my initial post, the feature had been restored by reinstalling Xwindow Also, I feel that the commands equivalent to


<span style="color:#323232;">xset dpms force off
</span><span style="color:#323232;">xset dpms force standby
</span><span style="color:#323232;">xset dpms force suspend
</span>

Should be the same regardless which wayland variant you are using.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

No the implementations are per-compositor. The fact that this worked on X is due to.XOrg being a huge blob that every window manager relied on.

Look for the command in Mutter (GNOME), Kwin (KDE), or whatever DE you use.

interdimensionalmeme ,

That, is terrible

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

Its how Linux works lol. I mean there are tons of things per compositor.

The protocols are way cleaner and less, so it is easier for Distros to just write their own.

But for sure it is annoying that everyone wants to do their own. But that is not a Wayland problem, just nobody wanted to mess with XOrg.

interdimensionalmeme ,

Seems wasteful that each would need to build their own monitor power management interface.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

They dont need to, a Desktop could just use another compositor and the rest of the stuff but they often dont. wlroots is a project doing some general work, but most of the others dont.

interdimensionalmeme ,

Looks like it is hyprctl dispatch dpms on/off <hdmi_monitor_name> && hyprctl dispatch dpms on/off <main_monitor_name> Wlroots doesn’t cover dpms

Also maybe via swayidle but I think dpms off, also triggers session lock

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines