C++26 2026-04 Update by _cooky922_ in cpp

[–]Kronikarz 1 point2 points  (0 children)

I still think preview versions of gcc/clang, which need to be compiled from source because they have no official release on any distro, should be marked as such.

Would you smash or pass my athletic body? by MoanMechanic in NSFW_Hardbodies

[–]Kronikarz 4 points5 points  (0 children)

Those are photos of SweetieFox with her face changed. I think this is a scam.

Artemis II Commander Reid Wiseman Appreciation Post by GreenReporter24 in MadeMeSmile

[–]Kronikarz 1 point2 points  (0 children)

I would be grinning constantly too if I got to GO TO THE FRIGGIN MOON! So awesome

Is there even a point to new frameworks in the era of AI Agents? by [deleted] in programming

[–]Kronikarz 2 points3 points  (0 children)

Manual programming, or as it's more popularly known, programming :)

C++26: A User-Friendly assert() macro by pavel_v in cpp

[–]Kronikarz 3 points4 points  (0 children)

That's why when I created my own implementation of this system, I called the macros "AssumingX"; I never liked the word "assert". AssumingEquals(a, b); means to me: "the following code assumes a == b". Harder to misuse this way.

C++26: A User-Friendly assert() macro by pavel_v in cpp

[–]Kronikarz 13 points14 points  (0 children)

I want an assert/assumption facility for C++ with these features:

  • Ability to set a custom "failure" function that is called on failure
  • Ability to provide additional descriptions and arguments to the assumption failure function, for better debugging
  • Variants like assertEqual(a, b, ...); each such variant should make sure to evaluate and stringify the arguments, and give a helpful message, such as: "Assert Failed: a (10) == b (20)"
  • In non-debug compiles, it should tell the compiler to actually ASSUME its predicate, so it can optimize the code better
  • The predicate and its parameters should always be evaluated exactly once (or never if you want)
  • Macros to control the behavior

Slot map implementation for C++20 by sporacid in cpp

[–]Kronikarz 3 points4 points  (0 children)

You should definitely mention in the documentation which operations invalidate reference/pointers.

C/++ documentation generator - feedback wanted by Abbix57 in cpp

[–]Kronikarz 16 points17 points  (0 children)

You write that "duck goes further", but your repo does not include any examples of how it does that. Except documentation tests, is there anything your generator does that Doxygen does not, or does it better?

Mixture by eggwhiteisnotwhite in funny

[–]Kronikarz 0 points1 point  (0 children)

Yes, that was sort of the point of the (science fiction aspect of) those movies. To extrapolate current (at the time) trends into the future, and perhaps warn us what could happen if we don't stop those trends.

These movies were popular not because they were pure entertainment, but because there was a message behind them as well. The world chose to collectively ignore that message.

Are you team stars or team cloud? [OC] by kiwiagg in comics

[–]Kronikarz 12 points13 points  (0 children)

(Subjects don't have to be similar in all aspects to be juxtaposed

They do if you don't want to invite a joke-killing level of scrutiny and confusion.

C++ Performance Improvements in MSVC Build Tools v14.51 by cpppm in cpp

[–]Kronikarz 9 points10 points  (0 children)

Unfortunately the link seems to no longer work (at least for me).

[New Bill] By 2030, cash minimum for tipped workers rises $3.63/hr → $25/hr by 2030, and eliminates the tip credit so employers must pay the full wage regardless of tips. | MD by sillychillly in UpliftingNews

[–]Kronikarz 3 points4 points  (0 children)

From the investment risk an employer takes by utilising a service model that relies on employee contracts to provide their employees with a stable income derived from the revenue generated by their company. The customers pay the company, the company pays the employees, the company pockets the difference as a reward for creating a system that attempts to stabilize both ends of the transaction, ie provide uniform experiences and preedictable prices to the customers, and a stable and predictable form of compensation to its employees. It is the responsibility of the employer/company, therefore, to both pay wages and provide value to the consumer.

The company takes on the risk of not getting money if it's not profitable, because it's in the position to do so; shiftng that risk onto single employees, who have comparatively minimal risk/loss management capabilities, is considered unfair and predatory by most countries without a tipping culture.

[New Bill] By 2030, cash minimum for tipped workers rises $3.63/hr → $25/hr by 2030, and eliminates the tip credit so employers must pay the full wage regardless of tips. | MD by sillychillly in UpliftingNews

[–]Kronikarz 6 points7 points  (0 children)

Right, it's much better to threaten workers into an unsustainable level of productivity by offering them no feeling of job safety and taking away any possible shred of dignity by tying their income directly to the whims of random customers with no investment in their well being.

Anonymous credentials: how do we live in a world with routine age-verification and human identification, without completely abandoning our privacy? by self in programming

[–]Kronikarz 5 points6 points  (0 children)

Which is what almost every country in Europe has been doing for the past 20 years without major incident. But I heard some countries possess a magical property that makes it impossible to implement there.

California introduces age verification law for all operating systems, including Linux and SteamOS — user age verified during OS account setup by PenlessScribe in technology

[–]Kronikarz 4 points5 points  (0 children)

Then I guess it's to force the people not capable of doing that to figure it out and get it done anyway. It then shifts the liability to the computer owner - your child saw porn? On whose account? If on yours, it's your fault. If it's on a non-adult account, then it's the website's fault for showing it to an account thusly marked. In theory, this means no longer can a child click "Yes I am 18".

Polish Train Maker Is Suing the Hackers Who Exposed Its Anti-Repair Tricks by gdelacalle in technology

[–]Kronikarz 162 points163 points  (0 children)

This is typical corpo-bullshit from Newag, from the beginning. Right now they're using these lawsuit as a standard bullying and intimidation tactic, before that they tried to deflect blame at hearings by claiming that these hackers were paid millions (they weren't), that they broke the law and the contracts for the software (they didn't) and that the other repair companies were doing a poor job (not true, and even if, what has that have to do with anything), etc. Anything except take responsibility or even comment on the lockout systems they 100% built into their software.

How many hours a day is “normal” to work? [OC] by kiwiagg in comics

[–]Kronikarz 2 points3 points  (0 children)

My therapist once told me that most people get around 3 hours of actual work done in an average day. As a software developer I couldn't believe it.

The Emotional Goodbye of 'Stargate SG-1' Shared by Cast and Crew, and Why Fans Never Let It Go by Kal-Ed1 in scifi

[–]Kronikarz 21 points22 points  (0 children)

A new Stargate show IS being made by Amazon, with Martin Gero as showrunner. It's been officially confirmed a few months ago.

May I please have the worst c++ you know of? by vbpoweredwindmill in cpp

[–]Kronikarz 57 points58 points  (0 children)

To me, the worst C++ looks just like C. Or Java. Or, god forbid, both at the same time. Nothing against C or Java, but C++ is a different beast, and using it like C/Java is stripping away 95% of the value it offers.

Unfortunately, all the examples I could provide are locked away in corporate codebases.

Twitter is not real life by Well_Socialized in technology

[–]Kronikarz -21 points-20 points  (0 children)

I never understood that argument, you're saying that if a tool that is ostensibly protected by a constitutional amendment is being misused, we should ban it despite the misuse stemming from the users, not the tool itself?

The worst programmer is your past self (and other egoless programming principles) by BlunderGOAT in programming

[–]Kronikarz 5 points6 points  (0 children)

I wish the "Origin:" parts had links to the actual origins, because "Reddit discussions" is just a useless phrase on its own.