danielquinn

joined 2 years ago
[–] danielquinn 2 points 7 hours ago (1 children)

No need to blame the Americans. Canada's got plenty of home-grown stupid.

[–] danielquinn 10 points 23 hours ago

It's almost as if the people making these decisions have never heard of compromised devices. Either that, or they're happy to have someone steal all your data and don't care.

[–] danielquinn 3 points 1 day ago* (last edited 1 day ago)

The thing is, I'm still using my FP4 and it's going strong. I want to move to a newer, slimmer stronger device, but I can't justify it. Maybe Fairphone could get more people to upgrade if they had a return-to-resell practice. I could give them my FP4 and they'd take €100 off the FP6, then they'd resell the FP4 for €200 or something to someone who needs a phone.

[–] danielquinn 4 points 2 days ago (1 children)

Unfortunately, a rather substantial portion of warfare is the economics behind it. Often, spending eye-watering amounts of money on proprietary, overpriced hardware is the point. It's corporate welfare.

[–] danielquinn 9 points 2 days ago (1 children)

That's the thing, Trakata isn't making the case that it's in our best interest to be able to understand legislation. They're making the claim that they read a document they did not read to show support for legislation that's both authoritarian and supporting of government surveillance in a time when our biggest problems will be solved by neither.

Understanding complex legislation is a difficult, time-consuming job that requires experts in the field. Experts like those who work with the CCLA and professional journalists that parse this complexity and make it easier to consume for the rest of the nation. In the same way that while it's in every citizen's interest to have clean water, we're not expected to source and boil our own: we have experts who maintain water treatment facilities. Trakata's smug "I read the bill and I think it's great" line is both (a) a lie, and (b) a deception intended to distract from the dangers of the bill.

[–] danielquinn 7 points 2 days ago (2 children)

You don't get to decide who's Canadian, so I'm really not concerned about how my tone makes you feel. The guy/girl was straight-up lying to show support for authoritarianism and government surveillance. I will not apologise for pointing that out.

[–] danielquinn 24 points 2 days ago* (last edited 2 days ago) (10 children)

Because you didn't. You're lying and I'm 100% sure of it.

For those interested, this is the bill, an absolutely monstrous document which when read on its own doesn't even convey the full extent of the changes because much of it is a series of paragraph amendments to other laws made out of context. To really understand what's being proposed, one must first understand the current state of all laws being amended, so it's really this giant document ×20 or so.

So unless it's your job to parse these documents, or you wrote it yourself, you did not read it.

I also did not read it, but at least I'm being honest about that. I did however skim through it looking for confirmations of what was mentioned in the video. What I found was enough to convince me that the video is accurate. What's more, the author has done the work of a responsible journalist: he cited his sources in the video description. Sources which were in turn written by responsible people whose literal jobs are to understand these massive changes and compile them into documents the public understand. You know, journalism.

Maybe you read the summary, which is much easier to parse, though still ridiculously long, lacking context and glazing over important details. Even in there though, there are clear mentions of allowing the opening of your mail, so if you read that and are still somehow cool with it then... well I guess it's true that we're all condemned to repeat history 'cause some people just refuse to learn.

[–] danielquinn 9 points 2 days ago (12 children)

If you're genuinely curious, you should probably watch the video. He makes a pretty good case.

[–] danielquinn 2 points 4 days ago

Yes, this is a list of US-owned papers. Note that the Toronto Star is not on it.

[–] danielquinn 1 points 4 days ago* (last edited 4 days ago)

Delete this. It's misinformation. Leaving it up is a disservice.

[–] danielquinn 6 points 4 days ago (1 children)

TIL about using lsblk instead of just reading through the output of journalctl to find the disk and partitions. Thanks!

[–] danielquinn 6 points 4 days ago

That was fantastically insightful.

 

I think a lot of people out there are fundamentally misunderstanding the reasoning behind the big tech companies (and their investors) pushing AI into everything. We want to believe that it's just tech bros trying to woo idiot investor cash into their systems — and it is that, a little bit anyway — but the big players: Microsoft, Google, Meta, and even Visa know exactly what they're doing and it's not good news for the rest of us.

Anyway, I wrote this a few days ago to break down the problem as I see it. I'm hoping it proves helpful.

 

It seems like a great initiative, and I'd be happy to help out, but I don't have a venue myself.

30
submitted 1 month ago* (last edited 1 month ago) by danielquinn to c/[email protected]
 

I've been a Steam customer for a very long time, having spent a few thousand dollars over the years with them. Like many of you, I've got a (small?) group of games that I bought and barely-if-ever played, and I'm cool with that. As they say, piracy is a service problem, and Steam is just... easy.

That was until I bought my Deck. Suddenly, I had two devices on which I could play my games: my proper gaming rig upstairs and my Deck plugged into the TV downstairs.

I also however, have a kid that likes video games, so sometimes I let her play a few games on the TV... and that's where everything breaks down. If she's playing Lego Marvel on the Deck, my copy of Dyson Sphere Program flakes out upstairs with a warning that "someone else is playing a game, so this game will have to shut off" or some nonsense like that.

I'm suddenly face to face with the fact that I don't actually own my games and those few thousand dollars weren't spent on what I expected. It's... enraging to put it gently.

I can appreciate that there would be an attempt to prevent me from playing the same game on two devices (though I think that's bullshit too), but to prevent me from playing two different games on two different machines when both are legally purchased running on my own hardware is not ok.

 

I find the whole "Ctrl+b followed by another key" way of navigating tmux to be too cumbersome to warrant a switch away from something like Tilix where I can hit Ctrl+Alt+| and the screen splits vertically, or Alt+Left to switch to the terminal on the left. I think it's the mandatory release of all keys followed by more keys that does it.

Is there a way to tell tmux to understand that "Alt+Left means switch to the terminal on the left" and bypass the whole Ctrl+b song and dance altogether?

 

This is what I see in both Firefox and Chromium

 

I'm a web developer, mostly with Python and have close to zero Java or Kotlin experience, but I want to build a bunch of tools for my phone where I can Share a URL (for example) to an app that simply takes that URL string and sends an HTTP POST request to a pre-arranged URL with some pre-arranged headers or POST data.

So basically I'm looking for an app that:

  • Lets you define a series of endpoints
  • Accepts share intents from other apps to then bring up a selector asking "Which endpoint do you want to send this to?", sends it, and exits.

It seems a little nuts that I should have to develop a separate app for each endpoint, when the app experience isn't really something I'm interested in. Can someone here point me to an app that already does something like this? I'd prefer a FOSS option if possible, but at this point I don't even know what to search for.

Example use-cases:

  • Send a YouTube URL to a service that downloads said video and stores it on a share on my VPN
  • Send a text snippet to a service that stores that snippet as a Markdown file for use as ideas for future blog posts
  • Send an article URL to a service that strips the ads and images out and saves a Markdown file for future reading.
 

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.

62
Developing with Docker (danielquinn.org)
submitted 8 months ago* (last edited 8 months ago) by danielquinn 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

view more: next ›