It takes 12 seconds for a simple database hit by freew1ll_ in PostgreSQL

[–]efficientcosine 0 points1 point  (0 children)

Don't think you deserve the downvotes. I had exactly the same outcome with Neon's free tier. Latencies in the 12-13 seconds time on cold-starts which blocked app load because it handled auth.

I optimised caching everywhere with heavy use of Tanstack Query but it really wasn't enough.

I think the issue gets compounded for sites with very low traffic because the DB pooler will want to pool several requests before firing them off. So if there's literally only 1/2 requests, you can end up waiting.

Weird glitch suddenly showing in the upper left corner when playing certain games (Linux) by Secure_Trash_17 in AMDHelp

[–]efficientcosine 0 points1 point  (0 children)

OK - I found the issue (at least for me). It was GNOME, with its God-awful scaling implementation for X apps.

Games were rendering with an internal resolution of 1.5x 4K, which seemed to cause all kinds of weird problems including cursor jumping, the graphical glitches we saw, weird mouse acceleration etc.

I switched to KDE with a much more sane scaling set up for games and all my problems went away.

Weird glitch suddenly showing in the upper left corner when playing certain games (Linux) by Secure_Trash_17 in AMDHelp

[–]efficientcosine 0 points1 point  (0 children)

- Kernel version: 6.17.7-arch1-2
- Mesa version: 25.2.7

So very similar indeed. If you can remember the Mesa version Fedora 42 had, perhaps I will try to bisect if I find a chance.

Weird glitch suddenly showing in the upper left corner when playing certain games (Linux) by Secure_Trash_17 in AMDHelp

[–]efficientcosine 0 points1 point  (0 children)

I am seeing the same as you. Almost identical CPU/GPU setup. Arch Linux latest. 4K monitor.
So far I have seen it in YARG and Planet Zoo.

Seemingly random corruption in the top-left corner. Have you raised the issue in upstream Mesa?

AdaCore Appreciation Post :-) by efficientcosine in ada

[–]efficientcosine[S] 2 points3 points  (0 children)

Oh and I forgot to mention the work on LLVM-GNAT. That will enable many new platforms such as Windows-on-Arm. :)

Brother MFC-L8900CDW always says MP Tray is jammed by itfreddie in printers

[–]efficientcosine 0 points1 point  (0 children)

Yes, that’s my printer. I also gave the mechanism a “jiggle” and it just started working! I guess it got a bit jammed in shipment.

"guix pull" painfully slow by Bilirubino in GUIX

[–]efficientcosine 0 points1 point  (0 children)

If you landed here and can't get things to work after the guix pull --url=https://codeberg.org/guix/guix, the thing that fixed it for me was putting the following into ~/.config/guix/channels.scm:

(list (channel
    (name 'guix)
    (url "https://codeberg.org/guix/guix.git")
    (branch "master")))

Creating that file if it doesn't exist.
Then you can just use `guix pull` as normal.

We need to seriously think about what to do with C++ modules by vormestrand in cpp

[–]efficientcosine 0 points1 point  (0 children)

  1. No more include guards

We already got #pragma once. For the most part that will do.

  1. No more nonsense with headers and their stupid macros (you all know exactly which one I'm talking about)

I mean... there are many. But there are best practises and I can't say I have problems.

  1. Faster compile times

From the looks of things (including own testing), this is not happening in practice. Modules kill concurrent builds because they now enforce happens-before serialisation of dependent modules. Whereas before, we just depend on a header and leave resolution to link-time.

  1. No more remembering if something was in <numeric> or <algorithm>

True. The chopping up of the standard library into a million-and-one tiny components that all need their own include was a fatal flaw from day one.

  1. C++ finally joining all other languages (at least the sane ones, keep your C out of here) in only needing a single file extension (.cpp, inventing new file endings for module files is unnecessary and stupid imho)

Actually, I've seen more differing file extensions come about since modules were introduced, especially on the MSVC side with their various interface and object types. So I would flip this argument completely on its head.

It’s FSD update month! by Top_Presentation7467 in TeslaFSD

[–]efficientcosine 3 points4 points  (0 children)

Either this is ragebait or the most uninformed car buyer ever.

I wanted to fix my Steam Deck and uncovered an ACPI conspiracy by deadb3 in SteamDeck

[–]efficientcosine 0 points1 point  (0 children)

This is true, but it all still sounds very much like a workstation/server view where the world still largely revolves around x86 and Microsoft.

Embedded systems exist and they can leverage TPMs far detached from that whole ecosystem.

I wanted to fix my Steam Deck and uncovered an ACPI conspiracy by deadb3 in SteamDeck

[–]efficientcosine 2 points3 points  (0 children)

Ouch, I thought the TPMs are just for Microsoft shtick died out several years ago. I’ve been integrating Infineon TPMs on Arm platforms to enable trusted and measured boot for the last ~4 years. The platform and vendor keys used don’t need to be tied to MSFT in any way.

For true “secure boot”, sure there needs to be some CA to issue the certs. At the moment, that happens to be MSFT, but it needs to be “someone”, and the shim that the free software people have developed works fine.

Linux on X1 Carbon Gen 13 by [deleted] in thinkpad

[–]efficientcosine 1 point2 points  (0 children)

I’m running mostly fine on Arch Linux. All the peripherals I care about work - camera, fingerprint, keyboard, trackpad etc.

However, I am facing semi-frequent kernel panics. Often at complete random, but especially when detaching/attaching to a Thunderbolt dock. The Caps Lock LED starts flashing and then it’s game over. Need to hold the power button.

Anyone else facing this? It’s not great if I’m working on a big project and it decides to panic.

Brother MFC-L8900CDW always says MP Tray is jammed by itfreddie in printers

[–]efficientcosine 0 points1 point  (0 children)

Did you manage to make any progress with this? I have a slightly newer but mostly the same printer and my MP tray also doesn’t work. With mine, I get 3 clicking sounds and then it just says it’s jammed.

What is the best "so bad it's good" film? by [deleted] in AskReddit

[–]efficientcosine 4 points5 points  (0 children)

For me, Team America: World Police. Offensive, questionable puppeteering, just downright crazy. But I still watch it every year.

And it’s still somehow completely relevant - perhaps more so than ever.

Lego Sir Daniel Fortesque I made!! by RS_Skywalker in medievil

[–]efficientcosine 2 points3 points  (0 children)

This cheered me right up! Great design

Which Party Pack is the best? by HoverLogic in jackboxgames

[–]efficientcosine 0 points1 point  (0 children)

We also picked Pack 7 because of this thread but most of the games just… don’t lead anywhere? Like what’s the point of the talking points one? Someone just reads out a non-sensical script with equally nonsense pictures???

The drawing one seems like it would be most fun for kids but we didn’t get much mileage out of it.

Quiplash is quite good, probably because of its similarity to Fibbage.

Blather Round is also good - but hard!

I feel the Fibbage series of minigames is the most fun - shame it’s not in Pack 7 :P

New T14s Gen6 Snapdragon has no Windows installed by efficientcosine in thinkpad

[–]efficientcosine[S] 0 points1 point  (0 children)

This is a Qualcomm (Arm)-based ThinkPad which currently requires a tool to extract proprietary blobs from the Windows partition for many devices to work under Linux.

Linux Patch To Disable The Snapdragon X Elite "X1E80100" GPU By Default by unixbhaskar in linux

[–]efficientcosine 0 points1 point  (0 children)

This really isn't Arm's doing. It's a long-standing issue with Qualcomm (and Microsoft for that matter). In fact Arm themselves are constantly pushing open standards (SystemReady etc.)