Forgot your password?
typodupeerror
User Journal

Journal Journal: How to improve C/C++ code quality, random thoughts

I am thinking about the following concept. Take doxygen comments and extend them as follows.

1. Permit identification of pre-conditions for functions (what has to be true when the function is called)
2. Permit identification of post-conditions for functions (what is intended to be true when the function exits)
3. Permit identification of hints about what kernel operations are being used by that function

Submission + - China wants physical buttons on cars instead of touchscreens (autobuzz.my)

cantle2000 writes: The Chinese Government has mandated physical buttons on Chinese built cars instead of using touchscreens, from July 1st 2027. Essential functions such as the demister, defogger, power windows, lighting,and gear shifting will be button controlled instead of touchscreen controlled.

Comment Re: Hopefully he sues for a few million. (Score 1) 222

Hard disagree.

There are mistakes that can happen - getting a phone number wrong, knocking on the wrong street number, stuff like that, sure.

But all of those mistakes need to be found and fixed DURING the investigation. This is the duty of the police officiers.

Not finding any evidence and STILL going to trial - that's on the prosecution. But I doubt that there would have been a conviction if police had not omitted things or outright lied in court. I doubt any courd would hand down a guilty verdict if all the police involved said that they found no evidence of anything.

Comment Re:Who would have thought (Score 1) 226

The "pattern" is called police doing their work

You can call a piece of coal "off-white, tending towards darkish", or you can call it "black". Both are technically not incorrect. Only one of them is not intentionally misleading.

The whole shit is obviously intended to chill critique. If you are seriously offended by someone calling you an incompetent ass, then politics isn't for you, go get a real job.

And the police really have more important things to do than scaring pensioners who got a bit emotional online. (one of the most famous raids was in 2024 against a 64-year old guy who had called a minister "Schwachkopf" (english: dimwit).

Tell me you think that justifies sending the police to someone's home. Seriously, these people need to get a grip. You can call me dimwit all day and I wouldn't dream of sending the police after you.

But calling them "raids" is completely dishonest

What else would you call it when police arrives at your home at 6 am to search it because you posted something online? (like they would find a reddit posting in your sock drawer, I mean come on, seriously?)

During the ""Aktionstage gegen Hasspostings" (Action Days Against Hate Speech), around a hundred or so such raids are conducted on the same day, and a substantial portion of those is for insulting politicians.

Comment This s "news for nerds" .. The lesson is ... (Score 1) 222

A machine can tell the difference between one and two underscores. Whether a human can do so is dependent on the human and the font. (And a whole host of factors too numerous to name).

The computer _should_ be taught to flag the double underscore as illegal, and flag this as an error. That is obviously not going to happen, However, the guy who used the double underscore should be jailed for using it for assault of ASCII, regardless of any other crimes he committed!

Comment Re:Can anyone from Germany (Score 1) 226

The details are clickbait, and the take questionable, but there is enough truth in it. From my perspective (I'm Germany, but I currently live elsewhere, but still follow German politics closely):

One, there is a considerable crisis in the German manufacturing industry. And the current government has pushed through (with questionable methods) and insane military spending bill while at the same time complaining everywhere else that there is no money and they need to cut this and that and everything else.

Two, there is a strong US influence in european politics, and especially in Germany. A long list of recent and current high-ranking German politicians has direct connections to US think tanks or corporations, and an even larger number found employ with these or US universities, etc. after they were voted out. One would have to be incredibly naive to think that they're hired for their competence or out of charity.

Comment Re:Who would have thought (Score 1) 226

This is not the only case and there HAVE been police raids and quite a bit of police overreach, all in the name of a law specifically made to protect politicians. There have been several HUNDRED cases brought by politiciians against ordinary people for things they posted online.

You can discuss individual cases, but that doesn't change the pattern.

And, btw., this is not a right- oder left-wing topic. The dude in question here is a right-wing politician (the CDU being Germany's equivalent to the Republicans). Not the most right-extremist-wing, but clearly right-wing, pro-corporation, fuck-the-working-class right-wing.

Slashdot Top Deals

"Today's robots are very primitive, capable of understanding only a few simple instructions such as 'go left', 'go right', and 'build car'." --John Sladek

Working...