danielquinn

joined 2 years ago
[–] danielquinn 2 points 11 hours ago

I would very much like to do this for code.

[–] danielquinn 1 points 17 hours ago (1 children)

Oh I've never used it to find games. I just go to the store pages directly. I didn't even know it had such a feature!

[–] danielquinn 3 points 1 day ago (3 children)

It's pretty good, but my problem is that if a game doesn't run I assume it's because I screwed something up. For example, Synergy, has a platinum rating and it installs just fine, but once started is just do slow for even drawing the starting menu while my CPU goes crazy. Clearly there's a problem with it not using my GPU, but fucked if I know what package I didn't install/configure properly.

[–] danielquinn 3 points 1 day ago (5 children)

Me too! I've been using Steam on Linux for a while, but thanks to American fuckery, I've had to experiment with leveraging Proton in Heroic to play GOG games. It's pretty smooth though. I installed Disco Elysium this morning and it Just Worked™. I then went ahead and bought a bunch of indie games: Dorfromantik, Frostpunk, and Terraformers in GOG's own Sumner sale. Not Canadian games mind you, but also not American ;-)

[–] danielquinn 8 points 1 day ago (7 children)

I've found that GOG generally has around 40% of the games I like on Steam, so I use lists like this to find interesting ones and then check GOG if it's there so I can avoid paying Americans anything.

It doesn't always work. Steam's library is huge, but I'm doing my part for the whole #ElbowsUp thing, and for me, that means sending as little money their way as possible.

...and honestly, targeted sales like this make me think the boycott is properly hurting them.

[–] danielquinn 1 points 1 day ago (9 children)

...sold through an American company.

Why patronise Valve when GOG is right there?

[–] danielquinn 25 points 2 days ago

Personally I think it's fantastic and long overdue. Hating genociders is finally "cool" and I am 100% here for it.

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

Why would the Conservatives bring this government down, when it's doing everything they want and taking the blame?

[–] danielquinn 3 points 2 days ago

Exactly this. I came to this conclusion a long time ago, so I guess it's nice to see others coming around to it.

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

Why do people constantly bring this up as if it was a valid argument? Of course the Conservatives wouldn't have been better. No one is saying that they would have. FFS you have other options.

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

Yes, I would have millions of Canadians suffer to maintain our right to set our own fiscal policy. The alternative is annexation. Have you seen what the US does to its own citizens? Can you imagine what they would do to Canada as a vassal state?

There's no need to cut trade entirely, simply mirroring their tariffs would be sufficient. If they want lower tariffs, they know what they need to do.

Would I start a war? Obviously not, but I'm not going to fool myself into thinking I'm avoiding one by giving them everything they demand. It has, after all, never worked with any dictator ever in the history of the world. If war is coming, it's because the Americans want it, and we should all be ready. That means building trade and military alliances with actual friends. I think re-tooling the nation's economy on a war-footing would be a good idea too, but before we go that far, I think I'd adopt Doctorow's advice and kill the legislation on digital locks. If the Americans want to treat us like enemies, they should see just what that means. We should "turn off the taps" for oil, gas, and electricity and start encouraging high-skilled Americans to resettle in Canada.

This could be a great opportunity for us: reverse the brain drain and get out from under the US thumb. They've demonstrated that there's no way to deal with them fairly, so now the alternative, albeit the more difficult route, is the only viable option.

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

What makes you think that he won't further a trade war or drop bombs on Vancouver if we do give him everything he wants? Placating bullies doesn't pacify them, it emboldens them. Canada should be pushing back against the US and dragging the rest of the world with us in the process. Instead, everyone is just falling in line while Trump walks all over us.

If we're really lucky, we'll get to keep some cosmetic sovereignty out of all of this, but I don't like our chances.

 

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 9 months ago* (last edited 9 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 ›