danielquinn

joined 2 years ago
[–] [email protected] 4 points 38 minutes ago

This is great news, and I might be tempted to use it if I had some reassurance that the mail servers (and the organisation that controls them) weren't subject to U.S. jurisdiction.

[–] [email protected] 3 points 2 days ago

"Paulatics". Clever.

[–] [email protected] 16 points 5 days ago

Can confirm. There's a strong contingent of my neighbours that have said that they hate having to drive, and that the only thing keeping them in their cars was the absence of a safe & practical alternative.

[–] [email protected] 2 points 6 days ago

Ah, I must have read the Wikipedia page wrong. I thought it said "slim minority". Well it's good to hear the Greens aren't in bed with this!

[–] [email protected] 6 points 6 days ago (2 children)

What is the Green's position on this? The NDP are a minority government and the Greens have just enough seats to topple it, so I have to assume they don't think this would be worth it?

[–] [email protected] 18 points 1 week ago (12 children)

Ah yes the tried-and-true defence against violent, expansionist fascists: nonviolence. /s

[–] [email protected] 1 points 1 week ago
  1. Go to https://retrodeck.net/
  2. Scroll down to the bottom and click on "Learn More" screenshot
  3. This takes you to: this dead page.
 

This is what I see in both Firefox and Chromium

 

I've recently learnt about Gemini and I'm reasonably sure that I can write a Django extension to allow the same code I use to run my website also serve more-or-less the same information over Gemini. Unfortunately, while I'm familiar with Django internals, I've always relied on Gunicorn + Nginx/Traefik to handle the HTTP portion of the request/response.

So if I'm going to do this, I need to know what to use to speak Gemini. I found the very simple aiogemini, which I can improve upon and probably link to Django's URL handler, but it's based on asyncio, while Django only partially supports async. I also have no idea what might be fine to replaced the traefik (let alone cert-manager) portion of the process.

I could try to write something from scratch, but there's no sense in reinventing a square wheel, so I thought I'd ask here.

 

cross-posted from: https://lemmy.ca/post/33126960

 

From time to time, often after I've restored from sleep or finished playing a Steam game, one of my CPU cores is pinned at 100% with no indication of what might be doing it. Running htop, btop, or GNOME system monitor all show the same thing: CPU0 at 100% while the rest are doing near-nothing, and no process in particular seems to be using those resources.

If I restart, it's back to normal, and sometimes I can play a game in Steam or let the computer go to sleep and it doesn't do this, but it happens often enough that's annoying/confusing so I'd like to know if there's a way to either (a) diagnose which processes are using which CPU cores, or (b) somehow "reset" the checking of these values to make sure that something's not just being misreported.

This is a desktop system running Arch & GNOME.

2
Developing with Docker (danielquinn.org)
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

I've been writing code professionally for 24 years, 15 of which has been Python and 9 years of that with Docker. I got tired of running into the same complications every time I started a new job, so I wrote this. Maybe you'll find it useful, or it could even start a conversation, but this post has been a long time coming.

Update: I had a few requests for a demo repo as a companion to this post, so I wrote one today. It includes a very small Django demo user Docker, Compose, and GitLab CI.

 

...so I found out how to fix it

 

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.

 

I've got a very simple Kodi setup:

  • Arch Linux on a laptop behind the TV
  • Media files on a server upstairs, shared over NFS

I've been running Kodi quite successfully on this machine for years, but with the Omega update, videos play without audio for about 10seconds, then freeze. Sometimes if I wait a while, I see subtitles for the episode while the video is frozen. Music doesn't play either. The interface freezes too, to the point where I have to kill -9 it. Switching from Wayland to Xorg hasn't had an effect.

I tried deleting ~/.kodi and restarting, but nothing changes.

Has anyone else run into this?

 

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.

view more: next ›