#cpp — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cpp, aggregated by home.social.
-
Day 10/75: Sliding window - variable size
Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.
The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.
-
Day 10/75: Sliding window - variable size
Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.
The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.
-
Day 10/75: Sliding window - variable size
Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.
The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.
-
Day 10/75: Sliding window - variable size
Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.
The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.
-
Day 10/75: Sliding window - variable size
Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.
The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.
-
📖 Modern C++ Programming Course (C++03/11/14/17/20/23/26) https://github.com/federico-busato/Modern-CPP-Programming
-
nui-sftp, client SSH e SFTP open source con sincronizzazione cartelle, shell integrate e interfaccia desktop moderna #opensource #linux #ssh #sftp #cpp #desktopapp #sysadmin #filetransfer #software
-
nui-sftp, client SSH e SFTP open source con sincronizzazione cartelle, shell integrate e interfaccia desktop moderna #opensource #linux #ssh #sftp #cpp #desktopapp #sysadmin #filetransfer #software
-
nui-sftp, client SSH e SFTP open source con sincronizzazione cartelle, shell integrate e interfaccia desktop moderna #opensource #linux #ssh #sftp #cpp #desktopapp #sysadmin #filetransfer #software
-
nui-sftp, client SSH e SFTP open source con sincronizzazione cartelle, shell integrate e interfaccia desktop moderna #opensource #linux #ssh #sftp #cpp #desktopapp #sysadmin #filetransfer #software
-
nui-sftp, client SSH e SFTP open source con sincronizzazione cartelle, shell integrate e interfaccia desktop moderna #opensource #linux #ssh #sftp #cpp #desktopapp #sysadmin #filetransfer #software
-
TIL about C++ fold expressions 🤯
-
Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.
Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/ -
Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.
Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/ -
Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.
Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/ -
Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.
Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/ -
Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.
Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/ -
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Incrementally Migrating C++ to a Memory Safe Language by Tim Condon
https://accuonsea.uk/2026/sessions/incrementally-migrating-cpp-to-a-memory-safe-language
Register now at https://accuonsea.uk/tickets/
-
pretty much every programming language since C has desperately needed a floating point number formatter that is like "give me up to 5 decimal digits but skip the trailing zeroes after the decimal point"
why isn't there one?
it's not that it would be difficult to adjust the output (`if (s.contains(".")) { s.rtrim("0") }`) but it's unnecessary friction
-
Hey #RStats friends, I'm having issues with compiling on Ubuntu 24.04, since R 4.6.
I've got r-base and r-base-dev installed from the official CRAN APT repos. Installing the {later} package fails after a bunch of errors with:make: *** [/usr/lib/R/etc/Makeconf:199: RcppExports.o] Error 1
ERROR: compilation failed for package ‘later’It reports using these compilers:
C: ‘x86_64-linux-gnu-gcc [...] 13.3.0’
C++: ‘x86_64-linux-gnu-g++ [...] 13.3.0’
x86_64-linux-gnu-g++ -std=gnu++20Ideas?
-
Windows App SDK v1.8.8 (1.8.260508005) Release Notes
-
Is This a Packaged Process? | by Howard Kapustein
https://devblogs.microsoft.com/insidemsix/is-this-a-packaged-process/
-
Here's a small C++20 header for passing/concatenating string literals as template arguments: https://gist.github.com/hach-que/c9ff4434f562973be8cf04ef18ccfc48
(uses TCHAR/TEXT() for #unrealengine, but adaptable to general C++ if you want)
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Fast, High-Quality Pseudo-Random Numbers for Non-Cryptographers by Roth Michaels
https://accuonsea.uk/2026/sessions/fast-high-quality-pseudo-random-numbers-for-non-cryptographers/
Register now at https://accuonsea.uk/tickets/
-
I rewrote 90% of the functionality of my Build System in a single #Make file, which should make starting new #c or #cpp projects very straightforward: just list your system dependencies, and maybe add a couple compiler flags and Make will do the rest.
Every .cpp in `./src` will be compiled, and every .a/.so in `./lib` will be linked. Both directories will be included (-I).
I might add a command for Dedalo so it can generate something similar based on the build.cpp.
-
I rewrote 90% of the functionality of my Build System in a single #Make file, which should make starting new #c or #cpp projects very straightforward: just list your system dependencies, and maybe add a couple compiler flags and Make will do the rest.
Every .cpp in `./src` will be compiled, and every .a/.so in `./lib` will be linked. Both directories will be included (-I).
I might add a command for Dedalo so it can generate something similar based on the build.cpp.
-
-
F1 does not get you to the help for a given Qt class in CLion as it does in Qt Creator. So, how do you get there? Watch this new episode of the CLion series to find out more. #CLion #QtDev #IDE #Cpp #CPlusPlus
-
F1 does not get you to the help for a given Qt class in CLion as it does in Qt Creator. So, how do you get there? Watch this new episode of the CLion series to find out more. #CLion #QtDev #IDE #Cpp #CPlusPlus
-
F1 does not get you to the help for a given Qt class in CLion as it does in Qt Creator. So, how do you get there? Watch this new episode of the CLion series to find out more. #CLion #QtDev #IDE #Cpp #CPlusPlus
-
F1 does not get you to the help for a given Qt class in CLion as it does in Qt Creator. So, how do you get there? Watch this new episode of the CLion series to find out more. #CLion #QtDev #IDE #Cpp #CPlusPlus
-
F1 does not get you to the help for a given Qt class in CLion as it does in Qt Creator. So, how do you get there? Watch this new episode of the CLion series to find out more. #CLion #QtDev #IDE #Cpp #CPlusPlus
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: The Async Pattern Graveyard by Robert Leahy
https://accuonsea.uk/2026/sessions/the-async-pattern-graveyard
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: The Async Pattern Graveyard by Robert Leahy
https://accuonsea.uk/2026/sessions/the-async-pattern-graveyard
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: The Async Pattern Graveyard by Robert Leahy
https://accuonsea.uk/2026/sessions/the-async-pattern-graveyard
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: The Async Pattern Graveyard by Robert Leahy
https://accuonsea.uk/2026/sessions/the-async-pattern-graveyard
Register now at https://accuonsea.uk/tickets/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: The Async Pattern Graveyard by Robert Leahy
https://accuonsea.uk/2026/sessions/the-async-pattern-graveyard
Register now at https://accuonsea.uk/tickets/
-
It took me a while (bc I'm lazy), but I finally integrated my test framework Icaro with my build system Dedalo (as it was intended to be from the beginning).
It's still a bit awkward to set up, but `ddl test` successfully compiles and runs the tests placed in `tests/tests.cpp`.
I'm sure there'll be a lot of bugs, but it's growing nicely.
-
It took me a while (bc I'm lazy), but I finally integrated my test framework Icaro with my build system Dedalo (as it was intended to be from the beginning).
It's still a bit awkward to set up, but `ddl test` successfully compiles and runs the tests placed in `tests/tests.cpp`.
I'm sure there'll be a lot of bugs, but it's growing nicely.
-
It took me a while (bc I'm lazy), but I finally integrated my test framework Icaro with my build system Dedalo (as it was intended to be from the beginning).
It's still a bit awkward to set up, but `ddl test` successfully compiles and runs the tests placed in `tests/tests.cpp`.
I'm sure there'll be a lot of bugs, but it's growing nicely.
-
@ibigfoot @DOAGeV @joergi @Mastodon @pixelfed @loops
Zum Glück ist keine der genannten Anwendungen in #Java geschrieben 😈
Gibt es überhaupt #Fediverse Anwendungen in Java? Wenn ja, wer ist so masochistisch und tut sich das an, wenn er auch #Python, #Ruby, #Rust, #Go, #Cpp, #TypeScript, oder notfalls sogar #PHP verwenden könnte?
Gibts den Artikel auch online ohne toten Baum?
-
Dew Drop Weekly Newsletter 482 - Week Ending May 8, 2026
#dewdrop #newsletter #javascript #css #azure #blazor #cpp #xaml #windev #csharp #dotnet #ai #mcp #agile #devops #dotnetmaui #appdev #podcasts #m365 #data #sqlserver #powershell #cli
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: High-Throughput Servers in C++ - What Actually Scales by Shreyansh Jain
https://accuonsea.uk/2026/sessions/high-throughput-servers-in-cpp-what-actually-scales/
Register now at https://accuonsea.uk/tickets/
-
I've been looking into matrix multiplication using std::simd and std::mdspan/submdspan (all single-threaded).
I got to 86% of peak FLOP. x86_64 AVX2 has 32/16 FLOP/cycle peak (2 FMAs per cycle).
I suspect better performance needs a more cache-friendly layout mapping. This is using layout_right. -
Tutto nasce da una mail. Un lettore mi ha scritto ponendo 16 domande su come si valorizza una campagna pubblicitaria nazionale in Radio: audience, AQH, GRP, CPP, target, costo, pressione.
Ne è nato un articolo. E forse qualcosa di più: Lettere al Direttore. Uno spazio per trasformare domande vere in risposte utili.
#Radio #RadioAdvertising #RadioMarketing
#PubblicitàRadiofonica #Audience #AQH #GRP #CPP👇 👇 Articolo FREE sul blog www.astorri.it. 📻 📻
https://www.astorri.it/non-si-compra-uno-spot-si-compra-ascolto-aqh/
-
Tutto nasce da una mail. Un lettore mi ha scritto ponendo 16 domande su come si valorizza una campagna pubblicitaria nazionale in Radio: audience, AQH, GRP, CPP, target, costo, pressione.
Ne è nato un articolo. E forse qualcosa di più: Lettere al Direttore. Uno spazio per trasformare domande vere in risposte utili.
#Radio #RadioAdvertising #RadioMarketing
#PubblicitàRadiofonica #Audience #AQH #GRP #CPP👇 👇 Articolo FREE sul blog www.astorri.it. 📻 📻
https://www.astorri.it/non-si-compra-uno-spot-si-compra-ascolto-aqh/
-
Tutto nasce da una mail. Un lettore mi ha scritto ponendo 16 domande su come si valorizza una campagna pubblicitaria nazionale in Radio: audience, AQH, GRP, CPP, target, costo, pressione.
Ne è nato un articolo. E forse qualcosa di più: Lettere al Direttore. Uno spazio per trasformare domande vere in risposte utili.
#Radio #RadioAdvertising #RadioMarketing
#PubblicitàRadiofonica #Audience #AQH #GRP #CPP👇 👇 Articolo FREE sul blog www.astorri.it. 📻 📻
https://www.astorri.it/non-si-compra-uno-spot-si-compra-ascolto-aqh/
-
Tutto nasce da una mail. Un lettore mi ha scritto ponendo 16 domande su come si valorizza una campagna pubblicitaria nazionale in Radio: audience, AQH, GRP, CPP, target, costo, pressione.
Ne è nato un articolo. E forse qualcosa di più: Lettere al Direttore. Uno spazio per trasformare domande vere in risposte utili.
#Radio #RadioAdvertising #RadioMarketing
#PubblicitàRadiofonica #Audience #AQH #GRP #CPP👇 👇 Articolo FREE sul blog www.astorri.it. 📻 📻
https://www.astorri.it/non-si-compra-uno-spot-si-compra-ascolto-aqh/
-
Tutto nasce da una mail. Un lettore mi ha scritto ponendo 16 domande su come si valorizza una campagna pubblicitaria nazionale in Radio: audience, AQH, GRP, CPP, target, costo, pressione.
Ne è nato un articolo. E forse qualcosa di più: Lettere al Direttore. Uno spazio per trasformare domande vere in risposte utili.
#Radio #RadioAdvertising #RadioMarketing
#PubblicitàRadiofonica #Audience #AQH #GRP #CPP👇 👇 Articolo FREE sul blog www.astorri.it. 📻 📻
https://www.astorri.it/non-si-compra-uno-spot-si-compra-ascolto-aqh/
-
ACCU on Sea 2026 SESSION ANNOUNCEMENT: Bridging CPUs and GPUs with std::execution - Using Senders / Receivers as a Frame Graph by Al-Afiq Yeong
Register now at https://accuonsea.uk/tickets/