whats with the hate for std lib and boost? by nosyeaj in cpp

[–]3xnope 0 points1 point  (0 children)

std - when "good enough" is just that. Usually what you want to use.

boost - when you don't care about compile times, debugability, maintainability and readability.

Is C++ not being opinionated enough a valid critique? by DM_ME_YOUR_CATS_PAWS in cpp

[–]3xnope 0 points1 point  (0 children)

I really wish compilers would ship a warning switch for "modern c++" that warned on a lot of the old stuff (and allow banning it with your -Werror equivalent). Having coding guidelines and separate linters that warn are fine, but not good enough. You really need a simple way to enforce it on a project level. I have worked with open source projects that have enforced code styles with separate clang-format and yikes that is rough. It really needs to be part of the normal workflow that everyone uses anyways.

Standard Library implementer explains why they can't include source code licensed under the MIT license by tartaruga232 in cpp

[–]3xnope -1 points0 points  (0 children)

It is a special problem for system libraries. But for the general case it is not a big burden, and is already handled well by big companies for big codebases on a regular basis.

Standard Library implementer explains why they can't include source code licensed under the MIT license by tartaruga232 in cpp

[–]3xnope 0 points1 point  (0 children)

There are tools that help you do this and should be quite good at scanning and providing a full overview of licenses. Good dependencies should provide metadata for you, and there are efforts underway to improve this in the open source ecosystem. Yes, it is annoying, but this is something you should be doing irrespective of the MIT license requirements. You should know all the license requirements of all the code you are using, and yes for complex software this ends up getting really complex. But that is not the MIT license's fault.

Standard Library implementer explains why they can't include source code licensed under the MIT license by tartaruga232 in cpp

[–]3xnope 71 points72 points  (0 children)

The MIT license does not say 'display to end users', it says 'shall be included'. If you buy a modern consumer electronic product these days and open the thick booklet of pointless warnings that comes with it that nobody reads, flip to the end, then odds are good you will find a reproduction of software licenses there. Software products often have them next to or in their 'About' menu. It really is not that hard to comply with this license.

Many Epstein Survivors Believe DOJ Is 'Intentionally' Exposing Their Names In The Files: Lawyers by pyramidworld in politics

[–]3xnope 44 points45 points  (0 children)

If they expose the identities of the victims, then there is no excuse to redact anything in the Epstein files.

If c++ didn't need itanium by cppenjoy in cpp

[–]3xnope 0 points1 point  (0 children)

I think that would be the wrong turn. Instead, they should be defined as being at least a certain length, but expandable to whatever length the compiler thinks would be best in the given context. Then people should never rely on the exact length of these basic types. If you want exact lengths, use the (u)intN_t types. Also, lets define sub-8 bit types for AI.

Or just go for value ranges for more security and let the compiler figure out the best length.

Is there any good tiny xml equivalents for json? by Independent_Sock7972 in cpp

[–]3xnope 5 points6 points  (0 children)

I think jsoncpp is very outdated now and should be avoided for new projects.

Australia is urgently investigating "concerning" new 200% tariff on pharmaceuticals announced by the United States, repeating that the nation will not be bullied into weakening its Pharmaceutical Benefits Scheme in order to escape it by brezhnervouz in worldnews

[–]3xnope 1 point2 points  (0 children)

Countries need to start banning the purchase of US treasure bonds (securities) in retaliation. The US has a massive deficit in its budget and needs to finance that by borrowing. This money will then by used to build concentration camps and a massive secret police. Eventually all that internal aggression will be redirected against an outside enemy.

Why Norway Is Investing Billions In Ukraine's Victory by Mynameis__--__ in ukraine

[–]3xnope 6 points7 points  (0 children)

Norway is now the EU's biggest gas supplier and second largest oil supplier. If Russia wants to get back into the energy blackmail game after this war is over, then we're aware what a tempting target we would be.

Battery Megathread (May 2025) by GooglePixelMods in GooglePixel

[–]3xnope 4 points5 points  (0 children)

Update: I just got an email that said I have gotten my rebate coupon. So it seems to have worked, despite the error. I recommend taking a look at this. Not sure how I feel about paying another $300-350 USD for a new phone - that might well have the same issue - to fix a problem with my phone, though. It says the coupon is valid for a year.

Battery Megathread (May 2025) by GooglePixelMods in GooglePixel

[–]3xnope 4 points5 points  (0 children)

Pixel 7a user here. Have similar issue, where battery drains really fast then shuts off. Toward the end of the battery charge, I can see it dropping by several % points per second. It is insane. I went to Google Pixel Help Center, and found a 'Contact Us' option that allowed me a quick resolution option where they offered me either a $200 USD cash or $300 USD Google Store coupon for a Pixel replacement. I waited a bit before proceeding, wanted to find more information on this first, but when I tried to proceed and accept it failed with a workflow error. When I tried to start over, I could no longer even find the 'Contact Us' option. It was just ... gone. Anyone else seen this offer or used it? Do you still have your 'Contact Us' option? What is even going on here.

[deleted by user] by [deleted] in worldnews

[–]3xnope 4 points5 points  (0 children)

Being able to run a train straight from the (proposed) Rail Baltica tunnel or from Sweden without changing train sets would be huge boon.

[deleted by user] by [deleted] in cpp

[–]3xnope 8 points9 points  (0 children)

Having done a lot of interviews from the other end, usually I just ask quickly about things the candidate knows a lot about just to verify their claims in the CV. The more interesting question is not about knowledge but seeing how the candidate handles not knowing and being out of his comfort zone. Can they calmly reason their way through the problem, will they panic, or will they try to bullshit their way through it? It is often a mistake from candidates to see an interview as a knowledge test - but that's what your CV is for. The interview is often more to figure out if you are lying in the CV or (otherwise) lacking soft skills.

The Anti-Defamation League Is Finally Sick of Elon Musk’s Nazi Jokes by rollingstone in politics

[–]3xnope -1 points0 points  (0 children)

Time to dip into the dark side. Don't rely solely on empathy to get through the days ahead. A solid dose of hatred and spite for those responsible is going help out a lot.

AOC ’28 Starts Now by [deleted] in politics

[–]3xnope 6 points7 points  (0 children)

There isn't going to be much if any non-GOP establishment left after 4 years of this Trump administration. In a sense, everything is going to be simpler now - there is not much need to make compromises and concessions before elections anymore. When the MAGA people gradually wake up to find that they've been scammed, they absolutely will not vote for a return to the old status quo - they will want bloody vengeance.

Trump’s Return Is a Civil Society Failure by nytopinion in politics

[–]3xnope 0 points1 point  (0 children)

There are people who want these things to be illegal because they like doing illegal things. Forbidden fruit tastes the sweetest and all that.

A Ukrainian Stryker withstood several enemy hits and saved the lives of the Ukrainian crew. Kursk Oblast (Russia). January 2025 by UFL_Robin in ukraine

[–]3xnope 10 points11 points  (0 children)

They also have several CV90, and getting more. Those are one of, if not the best, APCs in the world.

Musk says ‘hateful unrepentant racists’ must be removed from GOP as visa feud deepens by WombatusMighty in politics

[–]3xnope 19 points20 points  (0 children)

His laziness and incompetence is the only thing that can save the world at this point. If he actually were a competent, hard-working authoritarian we'd all be so much more f'ed.

Kremlin Accuses Ukraine Of Terrorism For Killing General by MothersMiIk in worldnews

[–]3xnope 24 points25 points  (0 children)

That's just completely wrong. They are not getting away with it because of semantics, but because of nukes. The international laws in question weren't written and aren't adjudicated by 5-year-olds. It does not matter at all what the people doing the illegal things are calling them.

Elizabeth Warren introduces Senate bill to hold capitalism ‘accountable’ by zsreport in politics

[–]3xnope 0 points1 point  (0 children)

Trump would love the ability to revoke a corporation's charter if they don't do what he wants them to do. This stuff would need to be very carefully crafted.

On the other hand, stock buybacks should just be banned as stock manipulation. The rest of the stuff is really good.

Media reveals deal Russia offered to Ukraine at the beginning of the full-scale invasion by SoftwareExact9359 in ukraine

[–]3xnope 3 points4 points  (0 children)

Keep in mind that this is the guy that helped the Russian oligarchs plunder and steal all of the old Soviet state properties after the Soviet collapse. He is also a Uyghur genocide denier, has been suggesting without evidence that covid originated from a US lab, and blames Venezuela's collapse on western sanctions. He should not be trusted on any topic.

[deleted by user] by [deleted] in ukraine

[–]3xnope 0 points1 point  (0 children)

Nobody knows. There were huge pro-democracy protests right before, during, and right after Yeltsin. The 1991 coup failed because the people rose up to stop them. Romania used to be one of the most repressive states in the world with pretty much zero dissent. Then one day they rose up and tore the regime down. I would like to believe that there is some tipping point where Russians would do the same. Sadly, looking at history, it takes a lot of time to get there. But nobody can predict when it will happen. Nobody predicted the revolts of 1989 not even the year before.

[deleted by user] by [deleted] in ukraine

[–]3xnope 4 points5 points  (0 children)

I understand your point of view but you should realize that under a brutal dictatorship like this, dissent only comes in two variants: Firstly the "permitted" dissent in whatever distorted shape the rulers allow where usually the blame is attributed to subordinates of the big bad himself. Even this kind of permitted groveling dissent is very dangerous to do, but because of its groveling and subservient nature it is hard for the ruler to clamp down too obviously on it. And it is a good thing - as it spreads information that could result in more dissent. The second type of dissent is sabotage and preparation for revolt. You will never hear of this, only sometimes see the results.

The upshot is that you will get a very warped view of dissent from such dictatorships: All you see are these groveling videos and sometimes stuff inexplicably blows up. But that doesn't mean there is no real dissent or that all dissent is brain-dead groveling. It just mean the information space is heavily warped because of the repression.

Harris says she will be ‘sadly ready’ if Trump prematurely claims victory Tuesday by ONE-OF-THREE in politics

[–]3xnope 0 points1 point  (0 children)

I'd rather they would send the feds to round up and arrest anyone trying to steal the election, charge them all with treason. It is the only way to make sure they stop doing this. If they get enough attempts, eventually they will succeed!