[-] danielquinn@lemmy.ca 4 points 1 week ago

We don't use X, and we don't use Facebook, and I'm not even close to feeling sorry."

Love it. Subscribed!

[-] danielquinn@lemmy.ca 4 points 1 week ago

You may want to promote this in /c/solarpunk.

[-] danielquinn@lemmy.ca 14 points 1 week ago

Honestly, this is so much better than those cases when the codebase is an absolute fucking nightmare are the senior dev doesn't see it. Instead they gaslight you into thinking that this is actually best practice.

[-] danielquinn@lemmy.ca 2 points 1 week ago* (last edited 1 week ago)

This might be fun to write actually. Basically you need a central server you connect to via a websocket that would plot points out on a map (maybe with leaflet?) on receipt of notifications pushed via said socket.

The trouble of course is that with a central server, you tend to incur costs, so you'd have to pay, unless some sort of P2P mesh could be established between participating parties. That'd be a fun problem to solve for sure.

[-] danielquinn@lemmy.ca 4 points 1 week ago

Don't these dipshits have anything better to do?

[-] danielquinn@lemmy.ca 4 points 2 weeks ago

The minute you automate someone's job, you do necessarily admit that society doesn't need that person's work to get by. The only reason they shouldn't get to put their feet up and take it easy is political. And politically, we have decided instead what happens is they die.

I have been trying for years to put this into words when discussing capitalism & technology, but I've never come across something so succinct. Thank you.

[-] danielquinn@lemmy.ca 27 points 2 weeks ago

Could he now sue the people that beat him (or even Sainsbury's)?

[-] danielquinn@lemmy.ca 2 points 2 weeks ago

That was just what I needed today. Thank you for sharing. ❤️

[-] danielquinn@lemmy.ca 85 points 2 weeks ago* (last edited 2 weeks ago)

Honestly, after having served on a Very Large Project with Mypy everywhere, I can categorically say that I hate it. Types are great, type checking is great, but applying it to a language designed without types in mind is a recipe for pain.

[-] danielquinn@lemmy.ca 42 points 2 weeks ago

This line of reasoning is broadly underrated. Sure batteries are a thing, but if a liveable world means regular brown outs, I'm cool with it. The alternative after all is so much worse.

[-] danielquinn@lemmy.ca 17 points 2 weeks ago

Very cool trick. I've never been comfortable with how Python package installation is effectively arbitrary code execution. It's also a nice reminder that installing packages into a Docker environment is generally safer than going bare ~~back~~ metal.

[-] danielquinn@lemmy.ca 10 points 2 weeks ago

Very slick. It looks like a thin wrapper around some pretty powerful tools, and I'm impressed that they're still useful on such a low-power device.

I wrote an assistant a while back before Whisper was a thing, but now that I see what you've done, I'm going to have to go back and refactor.

263
submitted 1 month ago by danielquinn@lemmy.ca to c/linux@lemmy.ml

I'm working on a some materials for a class wherein I'll be teaching some young, wide-eyed Windows nerds about Linux and we're including a section we're calling "foot guns". Basically it's ways you might shoot yourself in the foot while meddling with your newfound Linux powers.

I've got the usual forgetting the . in lines like this:

$ rm -rf ./bin

As well as a bunch of other fun stories like that one time I mounted my Linux home folder into my Windows machine, forgot I did that, then deleted a parent folder.

You know, the war stories.

Tell me yours. I wanna share your mistakes so that they can learn from them.

Fun (?) side note: somehow, my entire ${HOME}/projects folder has been deleted like... just now, and I have no idea how it happened. I may have a terrible new story to add if I figure it out.

93
submitted 4 months ago by danielquinn@lemmy.ca to c/solarpunk

A break from the usual in this community, but I trust it'll be appreciated. I think this is very solarpunk: using technology to improve the lives of all creatures.

19
submitted 5 months ago by danielquinn@lemmy.ca to c/steamdeck@sopuli.xyz

I've been playing a lot of Fallout 4 over the holidays. I started and finished the Nuka World DLC (killed all the baddies), made it to level 90, etc.

Today I was playing on my Deck as the battery got a little low (11%) so I saved my game, exited the game, and went to shut down.

As it was shutting down, the Deck displayed a message, something like "Syncing to Steam Cloud" as the logo was spinning.

A few hours later, on a full charge, I booted it back up, started Fallout 4 again and... some of my old saves are there, but only about 30% of them, and critically not the most recent ones.

Has this ever happened to anyone else? Is this a known issue? Can I fix it, or report it? I've basically lost interest in finishing the game now.

720
submitted 5 months ago by danielquinn@lemmy.ca to c/opensource@lemmy.ml

His original post , titled I can't sleep, is some brilliant writing. When we talk about the chilling effect that criticism of Israel creates in industries everywhere (including ours) this is what that looks like.

126

I needed something for a presentation I'm doing on advanced Linux, so I thought something like this might be appropriate.

Annoyingly, I can't seem to get Bing to generate an image that isn't square.

34
Ash Vs Bash (lemmy.ca)
submitted 7 months ago by danielquinn@lemmy.ca to c/linux@lemmy.ml

[For reference, I'm talking about Ash in Alpine Linux here, which is part of BusyBox.]

I thought I knew the big differences, but it turns out I've had false assumptions for years. Ash does support [[ double square brackets ]] and (as best I can tell) all of Bash's logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.

At this stage, the only things I've found that Bash can do that Ash can't are:

  • Arrays, which Bash doesn't seem to do well anyway
  • Brace expansion, which is awesome but I can live without it.

What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.

200

The other day someone was complaining about the new ad blocker-blocker on YouTube and I mentioned that it might be fun to write a Firefox extension that would just load up yt-dlp and play the video through mpv.

It turns out, writing a Firefox extension is easy and tricking Firefox into launching yt-dlp isn't much harder (though it does require some annoying configuration on the user's end).

Anyway, if you're a Linux user, feel free to try it out. I don't know how much I'm going to pour into this, but as an exercise of "can this be done", it was pretty good for a few hours on a Friday night.

41

I'm working on a little program that'll launch different browsers based on the content of the URL passed and I'd like to set it as the default Web app in this list (under Settings → Default Apps). I've written a .desktop file based on the epiphany.desktop file, but it doesn't show up when I hit [Win]+o+p+e and it doesn't show up in the default apps either, so I'm hoping that someone here can explain what I've done wrong.

Here's the contents of the opening.desktop file:

$ cat ~/.local/share/applications/opening.desktop 
[Desktop Entry]
Name=Opening
GenericName=Web Browser
Comment=Open links in the right browsers
Keywords=web;browser;internet;opening;
Exec=opening %u
StartupNotify=true
Terminal=false
Type=Application
Icon=/home/daniel/.local/share/applications/opening.png
Categories=Network;WebBrowser;
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;multipart/related;application/x-mimearchive;message/rfc822;application/x-xpinstall;

Any criticisms are much appreciated!

6
Cambridge (lemmy.ca)

There was a reasonably active community on Reddit, but now that I'm not there anymore, I miss it.

18
submitted 11 months ago by danielquinn@lemmy.ca to c/solarpunk

...but I think I'd probably be miserable there.

I'm violently allergic to pollen, am terrified of bees, wasps, and grasshoppers, and generally despise bugs and dirt. My ideal world would see everything paved in marble. No cars, (obviously) with a quiet, sustainable, walkable communiy, but green, as beautiful as it is, causes me a great deal of pain.

It's there any place for me in a solarpunk world?

1

I just found this post on IMDB and I can't believe I haven't heard about this yet. How do I see/hear them? I didn't see it on Paramount+ or YouTube, so I guess the next stop is the high seas? 🏴‍☠️

view more: next ›

danielquinn

joined 1 year ago