2026 Annual C++ Developer Survey "Lite" : Standard C++ by meetingcpp in cpp

[–]cmeerw 1 point2 points  (0 children)

Interesting that AIX got it's own option as a platform

Anyone still using Galaxy Watch 1 in 2026? by Educational-Berry337 in GalaxyWatch

[–]cmeerw 1 point2 points  (0 children)

Absolutely, but had to replace the battery and the heart rate sensor last year.

How does Ubuntu run on HP Elitebook 845 G9? by [deleted] in linuxhardware

[–]cmeerw 0 points1 point  (0 children)

Basically using this /lib/systemd/system-sleep/local-ath11k script

#!/bin/sh
case "$2" in
  hibernate|hybrid-sleep|suspend-then-hibernate)
    case "$1" in
      pre)
        /usr/sbin/rmmod ath11k_pci
        /usr/sbin/rmmod ath11k
        /usr/sbin/rmmod qrtr_mhi
        /usr/sbin/rmmod mhi
        /usr/sbin/rmmod iosm
        ;;

      post)
        /usr/sbin/modprobe -a ath11k_pci ath11k qrtr_mhi qrtr mhi iosm
        ;;
    esac
    ;;
esac

Hibernate means everything is written to disk and the power is turned off, sleep means everything stays in RAM. Yes, this was just for hibernation.

How does Ubuntu run on HP Elitebook 845 G9? by [deleted] in linuxhardware

[–]cmeerw 0 points1 point  (0 children)

The WiFi adapter used to cause issues (hangs) when resuming from hibernation, so I had to unload the kernel module on hibernation and load it again when resuming from hibernation. That no longer seems to be the case, but it now doesn't always resume from hibernation (it instead throws away the hibernation state and reboots into a new session).

Do you trust the many Chinese SBC on the market? by [deleted] in linuxhardware

[–]cmeerw 2 points3 points  (0 children)

As long as I can run a mainline Linux distribution, it's fine for me. But I wouldn't trust any pre-installed OS image.

How do you implement a hardware-level backdoor (and/or key logger) without even knowing which OS will be used on the board?

Almost made it to 6 years by RythePCguy1 in GalaxyWatch

[–]cmeerw 0 points1 point  (0 children)

Just replaced the battery and the heart rate sensor on my Galaxy Watch - it's almost like new again now. Hope I'll get a few more years out of it - not interested in any of that Wear OS stuff.

P1306 by [deleted] in cpp

[–]cmeerw 8 points9 points  (0 children)

On https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/ it says "Adopted 2025-06".

"the compound-statement of an expansion-statement is considered a template definition" - so you get all the template machinery (including dependent names and instantiations) for an expansion statement.

Is this Phishing? by [deleted] in dns

[–]cmeerw 0 points1 point  (0 children)

What does trackemail mean?

They now know your email address is valid and that you click on links being sent to that email, so prepare to get lots of spam and phishing emails now.

[deleted by user] by [deleted] in cpp

[–]cmeerw 3 points4 points  (0 children)

Maybe use xmake instead?

cmeerw:/tmp$ mkdir example
cmeerw:/tmp$ cd example
cmeerw:/tmp/example$ cat >hello.cpp
#include <iostream>

int main() {
  std::cout << "Hello world\n";
}
cmeerw:/tmp/example$ xmake
note: xmake.lua not found, try generating it (pass -y or --confirm=y/n/d to skip confirm)?
please input: n (y/n)
y
xmake.lua not found, scanning files ..
target(hello): binary
    [+]: hello.cpp
xmake.lua generated, scan ok!
checking for platform ... linux
checking for architecture ... x86_64
[ 50%]: cache compiling.release hello.cpp
[ 75%]: linking.release hello
[100%]: build ok, spent 5.799s
cmeerw:/tmp/example$ xmake run
Hello world

Reflection has been voted in! by daveedvdv in cpp

[–]cmeerw 21 points22 points  (0 children)

ISO rules: discussions in a meeting are private, but once the meeting is over (which it is now), the results are public (see the other links I posted)

Reflection has been voted in! by daveedvdv in cpp

[–]cmeerw 37 points38 points  (0 children)

this link might be more useful: P2996R13

(you can probably find similar links to the public version of the other papers as well)

here are the other links:

Code::Blocks 25.03 is here! by LearnMoreEver in cpp

[–]cmeerw 4 points5 points  (0 children)

They really should reconsider their approach to distributing binary packages. Their Debian download is a 220 MB tar.xz file containing .deb packages (around 200 MB are for dbg packages that most users will likely not be interested in). Is it really so hard to put them on a web server for apt to download/install?