Reference to the Future<Void>

Posting random programming BLOBs and hashes

root@rttf:~:idle:


#programming #opensource #cpp #rustlang #java #scala #linux #embedded #webdev

πŸ‡΅πŸ‡±

Reference to the Future<Void>rttf@techhub.social
2025-06-25

I've just attended the meeting where one of my coworkers was showing to the leadership the process of automating software builds with GenAI.

Nothing fancy, just running the build tool with product specific parameters and scheduling a test run on a device farm. The leadership was in awe that it worked, but the thing is that this prompt costed 2$ to run πŸ˜…

Am I the only one who finds this totally irrational?

Reference to the Future<Void>rttf@techhub.social
2025-06-10

Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know

open.substack.com/pub/codeconf

Reference to the Future<Void>rttf@techhub.social
2025-06-05

Hope

Hope
Reference to the Future<Void>rttf@techhub.social
2025-04-05

Can someone explain why all these #customer #support tech-writers provide bullet lists with instructions, rather that providing simple link to get the job done? Seems like it's driven by #seo not the customer experience πŸ€·β€β™‚οΈ

For example:

support.google.com/chrome/thre

After reading the contents for 30 seconds, I still can't find information I'm looking for.

Then I go to #reddit and boom, I get this link as a first result:

myaccount.google.com/connectio

Reference to the Future<Void>rttf@techhub.social
2025-04-03

Current mood 😎 πŸ˜‚ #slack #work

Reference to the Future<Void> boosted:
C & C++ Weeklyc_discussions
2025-03-23
Reference to the Future<Void>rttf@techhub.social
2025-03-12

@katzenmann @MadMike77 Yup! Thanks for providing these though

Reference to the Future<Void>rttf@techhub.social
2025-03-12

@unsafe Nice!

Reference to the Future<Void>rttf@techhub.social
2025-03-12

Name a critical and important #rust software that isn't a rewrite of something else :0050:

Reference to the Future<Void> boosted:
nixCraft 🐧nixCraft
2025-03-09

πŸ˜‚ found it in my phone while cleaning up storage πŸ˜†

A quote criticizing software project management: 'I've set the wedding date. I've not asked her out yet.' This highlights the common issue of setting deadlines before requirements are fully understood.
Reference to the Future<Void>rttf@techhub.social
2025-03-09

@samuel_mahler @lexplt I can’t use overloads as I’m developing a library that allows users to provide lambda functions for handling specific message. Messages are represented by std::variant having mix of with my types and user defined ones.

Reference to the Future<Void>rttf@techhub.social
2025-03-09

@CppGuy

Right, my bad! Forgot about this as I simply saw -1 in the code :)

Reference to the Future<Void>rttf@techhub.social
2025-03-09

@CppGuy

Thanks! If needle2 can't be found, should it be equal to npos (which is -1)? Also, I find it a bit surprising that \u0000 evals to empty string, because Java interprets this differently.

Reference to the Future<Void>rttf@techhub.social
2025-03-09

Totally recommend this video on #economics πŸ™Œ It explains why compound interest is an illusion and why middle class is set to be gone in next years. Enjoy!

youtube.com/watch?v=IwEVYlkopT

Reference to the Future<Void>rttf@techhub.social
2025-03-09

@lexplt
To make my API calls cleaner by using deduction. Like, instead of

obj.handle<Spec>([](const auto &){});

I want to have:

obj.handle([](const Spec &){});

Reference to the Future<Void>rttf@techhub.social
2025-03-09

Question to #cpp devs...

Can someone explain why do we get 0 and MAX_INT for those two?

```
#include <string_view>
#include <iostream>
int main() {
std::string_view haystack = "hello";

std::string_view needle1 = "\u0000";
auto pos1 = haystack.find(needle1);
std::cout << "haystack.find(needle1) [" << pos1 << "]" << std::endl;

char needle2 = 0;
auto pos2 = haystack.find(needle2);
std::cout << "haystack.find(needle2) [" << pos2 << "]" << std::endl;
}
```

Reference to the Future<Void>rttf@techhub.social
2025-03-09

#cpp

Is there a standard way for getting argument types for std::function?

Why is this not a part of standard library github.com/aminroosta/sqlite_m

Reference to the Future<Void>rttf@techhub.social
2025-02-01
Reference to the Future<Void>rttf@techhub.social
2025-01-09

Why Neural Networks can learn (almost) anything ?

youtube.com/watch?v=0QczhVg5Ha

Reference to the Future<Void> boosted:
mhoyemhoye
2025-01-08

There are some cold, hard truths in this. You leave a place, you tell people they can get in touch with you a few other ways, and by and large they don't, and you try to keep it up but it's always you doing the work, and then you have to decide whether or not you're ready to get right with the fact that a lot of the people you called "friends" were really just people who happened to be in the same place at the same time.

bsd.network/@pamela/1137894311

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst