@danielquinn@lemmy.ca avatar

danielquinn

@danielquinn@lemmy.ca

Canadian software engineer living in Europe.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

danielquinn,
@danielquinn@lemmy.ca avatar

Oops, sorry I didn’t notice that part. I’ve never seen anything like that to be honest. It kinda violates the whole “do only one thing and do it well” UNIX ethos. As a decent work-around, you can just open the resulting images in Gimp?

danielquinn,
@danielquinn@lemmy.ca avatar

Yeah that’s what I figured, but I have no idea how to adjust the frame rate when extracting the audio stream :-(

danielquinn,
@danielquinn@lemmy.ca avatar

I’ll give that a try, thanks!

danielquinn,
@danielquinn@lemmy.ca avatar

Oh! Good to know. I guess that’s there to prevent people from reaping 2 years worth of development for a 1 year fee. That still seems reasonable to me.

danielquinn,
@danielquinn@lemmy.ca avatar

Yeah that was basically the sentiment of the developer community when JetBrains announced the change. Thankfully they heeded the screaming and fixed their model. I’ve been using JetBrains tools for around 10 years now and they continue to impress. I can’t recommend them enough.

danielquinn, (edited )
@danielquinn@lemmy.ca avatar

I’ve never heard of sub volumes. What do they do for me? Why not just partition the disk or store everything on the one partition?

danielquinn,
@danielquinn@lemmy.ca avatar

It’s fine if all you need/want is a Linuxy shell to work with, but if you actually want a proper Linux computer, with a DE that doesn’t suck, mapable keyboard shortcuts, no spyware, working workspaces, tools that do what you want rather than what Microsoft wants for you, etc., you’re going to be miserable.

danielquinn,
@danielquinn@lemmy.ca avatar

…and it plays well with cookie auto delete!

danielquinn,
@danielquinn@lemmy.ca avatar

Yup, that looks like exactly what was done in Alpine:


<span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[
</span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox
</span>

So while the Ash itself doesn’t support the [[ extension, this work-around produces the same effect. Nifty.

danielquinn,
@danielquinn@lemmy.ca avatar

Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!

danielquinn,
@danielquinn@lemmy.ca avatar

As far as I’ve seen, they don’t provide any advantage over a string with spaces, which doesn’t work well either when you’ve got values with spaces:


<span style="color:#323232;">not_what_you_think=( "a b" "c" "d" )
</span><span style="color:#323232;">for sneaky in ${not_what_you_think[@]}; do
</span><span style="color:#323232;">  echo "This is sneaky: ${sneaky}"
</span><span style="color:#323232;">done
</span>

<span style="color:#323232;">This is sneaky: a
</span><span style="color:#323232;">This is sneaky: b
</span><span style="color:#323232;">This is sneaky: c
</span><span style="color:#323232;">This is sneaky: d
</span>
danielquinn,
@danielquinn@lemmy.ca avatar

Is there another way to do this? This hack was the only way I could figure out how to get Firefox to invoke an external binary, but if there’s a more conventional way to do it, I’d like to know 'cause I have another more complicated project in need of a pattern much like this one.

danielquinn,
@danielquinn@lemmy.ca avatar

I don’t think I have it in me to put together a video, but I can describe it if you like.

Once you install the extension and follow the setup instructions, you just go to a YouTube page. The extension adds an ugly button to the top-left of the page that says “bypass”. When you click it, Firefox launches yt-dlp [the URL you’re at] -o - | mpv - which basically just downloads the video and streams the output through the mpv video player. So now you’re watching just the video, with no web page necessary.

danielquinn,
@danielquinn@lemmy.ca avatar

That’s actually very helpful, thanks. I’ve been working on another project to open certain URLs in specific browsers/profiles, and wanted to be sure that I wasn’t missing a more obvious design pattern. The project is here if you’re curious.

danielquinn,
@danielquinn@lemmy.ca avatar

Thanks!

danielquinn,
@danielquinn@lemmy.ca avatar

It’s a powerful video player in Linuxland.

danielquinn,
@danielquinn@lemmy.ca avatar

Really important question: where did you get those adorable little pirate headers???

danielquinn,
@danielquinn@lemmy.ca avatar

Very likely. If I write this thing, I’ll provide both options.

danielquinn,
@danielquinn@lemmy.ca avatar

I was thinking of experimenting with a Firefox extension that upon hitting a YouTube page, it just launches yt-dlp [url] &amp;&amp; mpv [downloaded file]. Is there any interest here in that sort of thing?

Is it wrong to pirate movies I've purchased digitally and load onto my Plex server?

Just would like to have a discussion on the topic. I’ve purchased around 20ish movies/shows on Vudu, and my wife has grown to be unhappy with Vudu’s UI and especially how the watch progress works. I am curious what some others thoughts on this are. My initial thoughts are I recognize I’ve purchased a license to watch the...

danielquinn,
@danielquinn@lemmy.ca avatar

There’s a couple angles you can take on this. My favourite is from the dotCommunist Manifesto:

Society confronts the simple fact that when everyone can possess every intellectual work of beauty and utility—reaping all the human value of every increase of knowledge—at the same cost that any one person can possess them, it is no longer moral to exclude.

Essentially, this argues that the unethical position is the one that creates the false scarcity.

Another less extreme position would be that many countries allow for exemptions for format shifting: if you buy a CD with some music, you’re legally permitted to rip it so long as you don’t distribute copies. One could argue that someone in your position is operating within the spirit of these laws… provided that you haven’t torrented the videos since that necessarily includes some partial distribution.

Finally, the least generous interpretation would point out that you didn’t buy the videos in the first place, but rather a licence to let Vudu stream them to you. Given that you don’t own anything, you’re not morally entitled to own it in a different format. This is why many people have rejected the streaming model.

As someone in camp #1, I think you’re a-ok ethically, but I thought you might want a broader perspective.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #