* Posts by GrumpenKraut

1841 posts • joined 9 Sep 2014

Keep calm and learn Rust: We'll be seeing a lot more of the language in Linux very soon

GrumpenKraut

Technically a Type & is a Type * const, so yes. But still I have to see an instance of actually managing a (C++) reference to, say, nullptr. I have heard that by doing something yadda-yadda-circular-something this should be possible but never seen an actual instance of this.

GrumpenKraut

Re: The way in which this turd is being pushed “top down” makes me want to puke

> I find the std classes to be INEFFICIENT

Inefficient is not a valid critique about std classes. Used right they are more efficient than the vast majority of home grown solutions. Also more correct than the vast majority of home grown solutions.

If you can match std classes with your own solutions, congrats, you are quite a gifted coder.

> and CUMBERSOME

Erm, have you ever looked at C++ 11? It is out for ten years now!

Btw. I do come from the background of what was described as "dipshit C programmers" in a comment above.

Maker of ATM bombing tutorials blew himself up – Euro cops

GrumpenKraut

There is no "middle finger to corporations" element. This is all about the money.

GrumpenKraut

The counter measure against gas explosions is to fill all greater voids inside the ATM with some material.

CutefishOS: Unix-y development model? Check. macOS aesthetic? Check (if you like that sort of thing)

GrumpenKraut
Pirate

Re: We need a Windows simlation plugin

You forgot rebooting while in a video conference.

It's the end of the world as we know it, and we should feel fine

GrumpenKraut
Trollface

Re: Does it work though?

> ... irregular verbs and three words for "the" ...

Dass die der Teufel hole! (your German teacher).

Technology has the potential to close the education divide. Key word: Potential

GrumpenKraut
Thumb Up

Your description is entirely accurate.

Here is a detail I'd like to add: we tend to over-plan everything and end up doing nothing or at least being terribly late to implement.

Covid-19 did change that in a way, things had to be implemented right away, basically no matter how. At Unis (I work at one) you got a license for Teams and Zoom and you had to start right there. I was lucky because I could emulate my usual style pretty well. Others (interestingly many who used a much more "multi media" approach) were essentially out of luck, some lecture simply did not happen.

GrumpenKraut

Re: Quieter kids can speak up in chat,

Thanks for the links. Have you ever tried "democratic mathematics"? That is, having a vote whether a statement is true or false. Optional: let students discuss, then take votes again. Can be mildly entertaining for everybody involved.

GrumpenKraut

Re: Quieter kids can speak up in chat,

> At Uni we had lectures of 60+ and there was no way you could ask any questions without disrupting the whole thing.

IMO a good lecturer should regularly ask for questions. The number of students is not that much of a problem in my experience. I never had more than 100 students in a lecture, though.

Getting no feedback from students tends to make me slightly nervous and I will ask whether the lecture was OK at the end.

> having seen one of my lecturers take all the copies of his book from the library 2 weeks before term started

Wow, that is completely unacceptable.

GrumpenKraut
Childcatcher

> what is the educational divide?

My personal view is that it is largely family background. If your father is, say, an engineer and has tons of books, this is a huge advantage against coming from a family where the only printed matter is the daily mail.

Nowadays with the internet offering all information for everybody one may think that the above is much less important. I'd argue this is not the case: kids still need guidance in order to find/pick useful stuff and not just sink in a torrent of crap.

> To my mind, the key to all success in education is teachers.

Yes, a thousand times. As far as I know this is the *only* parameter that significantly determines learning success. There is a current thought in Germany (and surely elsewhere as well) that if teaching becomes "digital" (whatever this means) everything magically gets better. Whenever I hear this, I really want to slap someone in the face.

GrumpenKraut
Happy

Re: Quieter kids can speak up in chat,

I had a couple of students preferring online lectures because they were not disturbed by random talk of the other students.

Linux kernel minimum compiler raised to GCC 5.1, allowing potential C11 use

GrumpenKraut

Re: compiler masturbation

Whether in a project the default is GCC or CLANG, at least occasionally use the other compiler!

GrumpenKraut

Use -Wshadow with GCC, not sure whether -Wall and/or -Wextra imply it.

Measuring your carbon footprint? There's no app for that

GrumpenKraut
Meh

Re: Within limits, more CO2 would be better than less

> ...by association that places skeptics in the same camp as holocaust deniers.

Where I live the overlap between these two camps is substantial.

Linus Torvalds admits to 'self-inflicted damage' with -Werror as Linux 5.15 rc1 debuts

GrumpenKraut
Pint

Re: Shift / bitwise operators

> On shifting vs. multiplication, I once worked with a very interesting system where doing something like x*=2 was actually faster than x<<=1

I can only suggest to also always try the unoptimized code and see what the compiler makes of it. Many optimizations that were OK two decades ago are actively bad today.

I meanwhile stopped to do the shift-for-multiply stuff because the compiler outsmarts me as a rule. Compiler-writer-appreciation-pint ---->

With platforms/compilers where the optimizer is not so great things may well be different.

SAP 'investigating' after viral video allegedly shows anti-mask employee coughing on shoppers

GrumpenKraut
Happy

Re: Fake vax certificate

The entire list could be sold to law enforcement as happened with data sets about people avoiding taxes. Wouldn't that be nice?

GrumpenKraut

Re: Of course she's an idiot, but...

> What happens in the video should be a matter for the police alone.

As the video is public the company has no choice but to fire her. I dearly hope she gets her day in court on top of that.

GrumpenKraut
Thumb Up

Re: Of course she's an idiot, but...

> Americans have freedoms.

Freedom to unnecessarily die in agony, also known as freedumb. You couldn't make it up.

GrumpenKraut
Facepalm

Fake vax certificate

Learned the following an hour ago from an emergency responder (Austria).

People avoid getting vaccinated get a fake certificate, no news so far. Of course they distrust the "evil government", so they pay 100 Euros and submit their personal info including *all* details of their ID/passport to a random web-site for the fake cert. A whole new level of brilliance right there.

GrumpenKraut

Re: It's sad

Loudmouthed folks currently dying largely appear to do so to "own the libs": https://www.sorryantivaxxer.com/ (somewhat NSFW).

The army of deluded does include some lefties, but these don't have the tendency to rub their belief into everyone's face, let alone attack random people.

GrumpenKraut
Mushroom

Re: Of course she's an idiot, but...

> It's entirely possible that an employee in SAP's home country of Germany would not be dismissed for doing something outside of work.

She'd absolutely positively be fired. Some idiots have challenged similar firings in court, that's when they find themselves in the news.

Why we abandoned open source: LiveCode CEO on retreat despite successful kickstarter

GrumpenKraut
Thumb Up

Re: DarkBasic

True for me! Learning assembler (6502) did fix a bit of it, or so I hope.

GrumpenKraut
Alien

Re: DarkBasic

> Maybe my parser's b0rken?

Well, it happens to parse. It may even be true. Still, it is not what I intended to say 8^)

Must have been alien influence.

GrumpenKraut
Windows

Re: DarkBasic

> Teaching languages...

This sentence courtesy of the department of borked grammar. Me --->

GrumpenKraut

Re: DarkBasic

Problem with BASIC: way too many dialects. Arguably Python is today's BASIC. Teaching languages that are never used in real life should IMO not be taught. Exception for languages that widen your horizon, haskell springs to mind.

GrumpenKraut
Devil

Re: Interesting

> Anyone know of other programming languages that use another language or glyph system (Cyrillic, Hiragana, etc) at their core?

There was some version of Pascal(?) in German. So a for-loop would be a für-loop, I kid you not. It didn't help that ü has no ASCII encoding, at a time where UTF-8 wasn't heard of.

Anyway, using keywords not in one's own language is in my opinion an advantage, no confusing connotations!

COVID-19 cases surge as do sales of fake vaccination cards – around $100 for something you could get free

GrumpenKraut
Facepalm

Re: Its like the listeners letters section on Radio Moscow in 1983...

Please, tell us more about rhubarb.

GrumpenKraut

Re: A long way still to go

> And since 98%+ of the people who get it survive it, well, there you go.

And what would be the percentage for vaccinated people?

GrumpenKraut
Boffin

Re: A long way still to go

> ...to build up a strong imune system...

There is only one way to do this for a virus your body never met, it is called vaccination.

Chocolate beer barred from sale after child mistakes it for chocolate milk

GrumpenKraut

Re: Beer Definition

> "beers made with other ingredients cannot actually be labelled as beers"

To the best of my knowledge: this is not true anymore, after some court case. You can mention "brewed after Reinheitsgebot" (or somesuch) to advertise that fact.

Btw. the old ruling (not Reinheitsgebot, so not beer) was somewhat of a protectionist thing from German breweries.

Das tut mir leid! Germany's ruling party sorry for calling cops on researcher after she outed canvassing app flaws

GrumpenKraut
Facepalm

Re: How did this happen?

Yeah. Right.

Chinese state media describes gaming as 'spiritual opium' that stunts education and destroys families

GrumpenKraut
Angel

Re: The cattle

In capitalism people exploit people. In communism it's the other way round.

What is your greatest weakness? The definitive list of the many kinds of interviewer you will meet in Hell

GrumpenKraut

> It seems the current crop of new computing graduates are being taught nothing more than...

At least where I live (and teach) this is not entirely true. However, students tend to switch off when it comes big-O and some finer points of computing/programming. Telling them stat stuff *is* important turned out to be fruitless. Nowadays I say something along then lines off "If you ignore this you will not get a good job, and you will totally deserve it.". Funny enough this seems to work.

But yeah, I have seen the content of courses that are not even a joke.

GrumpenKraut
Happy

> “What is systemd?”

> ...someone who holds such strong opinions...

Well, that is me not getting the job then.

Somewhat more seriously, I have had excellent colleagues (programmers) who had *very* strong opinions on certain things. Which was a plus because I knew exactly how to rile them.

Malaysian Police crush crypto-mining kit to punish electricity thieves

GrumpenKraut

Re: Payback time!

Back of the envelope calculation: one person at 200 Watts, cycling 16 hours every day, would need about 6000 years.

GrumpenKraut
Meh

Re: Why not...

These are ASIC rigs, they can do nothing but mining.

But, yeah, hitting just the ASIC chips with a hammer would have done the job without making recycling extra hard. You get no press coverage that way, however.

GrumpenKraut
Mushroom

Not sure that is correct. Other news sites reported that the operators of those rigs created fires (yes, plural) courtesy of interesting wiring used way over what was reasonable. They apparently stole electricity worth 1.7 million dollars, that is quite a lot of energy!

GrumpenKraut
Pirate

Re: Looks good but probably ineffective

Very unlikely any data will be recoverable. While it is quite difficult to flatten a hard disk, a steam roller(*) will have no problems. Just note how flat the rigs are afterwards. A hard disk may still be one piece, but the platters will be very much non-flat. For SSDs, a single chip (of several) might survive if it is very lucky, not sure what one would get out of that.

(*) weight up to 30 tons for not really huge ones.

JavaScript, GitHub, AWS crowned winners in massive survey of 32,000 developers

GrumpenKraut
Trollface

Re: Questionable methodology

No down-vote from me, but wasn't Objective C (at least at its time) a decent language?

Or are you just ... ? ------------>

GrumpenKraut
Facepalm

Re: Questionable methodology

And comparing C++ directly to HTML/css is as useful as comparing a car to an umbrella.

Microsoft struggles to wake from PrintNightmare: Latest print spooler patch can be bypassed, researchers say

GrumpenKraut

Re: Is this the year

more like paperless toilet, I am afraid.

Age discrimination case against IBM leaks emails, docs via bad redaction

GrumpenKraut
Happy

Re: Wonder if the redactors ever learn

Almost like the person making the redactions was very young.

Audacity is a poster child for what can be achieved with open-source software

GrumpenKraut
Big Brother

Re: Telemetry

> For one i don't beleive that this pauses a threat at all to privacy. What's the problem ? I don't see any.

One reason for and usage of telemetry they list goes like this: "Why we collect: For legal enforcement; Personal Data we collect: Data necessary for law enforcement, litigation and authorities' requests (if any); Legal grounds for processing: Legitimate interests of WSM Group to defend its legal rights and interests."

Not a problem, really?

GrumpenKraut
Meh

Vendors of commercial software used to fight against FOSS because they did fear what you seem to fear. The last three decades showed that they did worry with no good reason. Commercial software will never go away and even more money will be made selling or renting it.

You can give software away for free and still make good money, by selling support contracts. See Suse, Redhat, and probably a lot of other firms.

GrumpenKraut
Stop

In https://www.audacityteam.org/about/desktop-privacy-notice/ I find the following.

"Why we collect: For legal enforcement; Personal Data we collect: Data necessary for law enforcement, litigation and authorities' requests (if any); Legal grounds for processing: Legitimate interests of WSM Group to defend its legal rights and interests."

This is not acceptable at all. Funny I had to type the text above, it is an image on the web site.

What's that hurtling down the Bifröst? Node-based network fun with Yggdrasil 0.4

GrumpenKraut
Thumb Up

Re: What's with the Ös?

Upvote for mentioning Amon Düül

Boffins show sleight-of-hand tricks to Corvids, find they are smarter than people

GrumpenKraut
Pint

Re: Optional sensible title here

You had me right until the end. Yes, I did miss the icon.

VB for you ------->

What job title would YOU want carved on your gravestone? 'Beloved father, Slayer of Dragons, Register of Domains'

GrumpenKraut
Devil

Re: Let's unhook the stirrups

Book reader transmitting audio via vibrating underpants in 3 2 1 ...

Systemd 249 release candidate includes better support for immutable OSes and provisioning images

GrumpenKraut
Boffin

Re: Thinks I like about systemd @Def

Randomly killed processes sounds an awful lot like overcommit is on (files /proc/sys/vm/*overcommit* ).

ALWAYS turn that shit OFF. Should be one line in /etc/sysctl.conf

I completely fail to understand why some distros have this activated by default.

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2022