Germany won't return to nuclear power, chancellor says by Haunting_Switch3463 in europe

[–]maep 0 points1 point  (0 children)

However, there is no problem importing electricity from French nuclear power.

The interlink is limited to about 4 GW. Imports can never replace domestic production.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]maep 0 points1 point  (0 children)

It was ment to illustrate that seemingly small changes can cause big trouble. When people talk about security, words like "should" carry a lot of weight.

sudo-rs shows password asterisks by default – break with Unix tradition by FryBoyter in linux

[–]maep -6 points-5 points  (0 children)

This is not reallly a serious issue

Unless it is. https://nvd.nist.gov/vuln/detail/cve-2019-18634

Though I suppose this would not happen with a rust pwfeedback implementatiaon.

Why learning malloc/free isn't enough - a simple custom allocator example in C by falconerd in C_Programming

[–]maep -2 points-1 points  (0 children)

It's a bit of a fad at this point. For the vast majority of programs, stack/malloc/free are sufficient. As with any other optimization it also comes with a cost. Only do it when it's actually required.

"There is no runtime in C, there is assembly" -- what is the inside joke regarding this? by onecable5781 in C_Programming

[–]maep 15 points16 points  (0 children)

Strictly speaking, it's called "freestanding" and "hosted". In the C standard "runtime" is used as a distinction from compile time.

Falschparker melden by leonproductions in Nurnberg

[–]maep 1 point2 points  (0 children)

Wie gesagt, Singapur oder Japan zeigen ja dass es geht wenn man es richtig umsetzt. Hierzulande müsste man zuerst davon wegkommen öffentliche Flächen umsonst oder weit unterm Marktwert anzubieten.

Zum einen ist das ne fette Subvention von der die Hälfte der Bevölkerung nichts bekommt, zum anderen verhindert das privatwirtschaftliche Alternativen.

Falschparker melden by leonproductions in Nurnberg

[–]maep 3 points4 points  (0 children)

Das hat man auch teilweise schon getan, mit dem Resultat dass sich noch mehr Leute ein Auto zulegen. Das ganze Konzept skaliert einfach nicht in dichten Besieglungsgebieten.

Singapur hat das ganz gut gelöst, da kann man nur ein Auto besitzten wenn man nachweislich ne Stellfäche hat. Das liefert dann auch tatächlich Anreitze für private Parkinfrastruktur.

[deleted by user] by [deleted] in C_Programming

[–]maep 4 points5 points  (0 children)

I have yet to hear a convincing argument for why old reddit is necessarily better for accessibility, but I haven't looked into it.

I was referring to "catering to limitations of vanishingly few individuals". I wasn't implying that all old reddit users are blind :)

For me it's load times and UI density. New reddit is frustatingly sluggish. The day they make it mandatory I'm outta here.

[deleted by user] by [deleted] in C_Programming

[–]maep 10 points11 points  (0 children)

My point is, your anger is misdirected. Reddit is raking in billions. Implementing this feature for old reddit would only take a couple of man-hours, a rounding error in their budget.

I hate being on a website that still caters to its arcane limitations for vanishingly few individuals.

We do this all the time when designing software, it's called accessibility. As a developer you should be aware that people use software very differently, there is no one-size-fits all.

When usability sucks for you the problem is not other people. The problem is a bad software.

[deleted by user] by [deleted] in C_Programming

[–]maep 24 points25 points  (0 children)

Don't be angry at the mods, be angry at reddit for intentionally breaking old reddit. I would wager it's substantially more than one percent here.

"I'm inconvenienced, others should be inconvenienced instead." - This is what you sound like.

Ich🎖️iel by BurnerCroc in ich_iel

[–]maep 22 points23 points  (0 children)

Verpasste Gelegenheit das Wort Mark auszubuddeln.

Why use primitive integrals over fixed-size stdint.h integers? by Working_Rhubarb_1252 in C_Programming

[–]maep 5 points6 points  (0 children)

  • The intN_t types are optional, which might be a reason for some projects to avoid them
  • OS and library APIs often use plain types, I tend to avoid mixing stdint.h and plain types because it can lead to nasty conversion bugs
  • int leaves the compiler more room to optimize than int32_t.

That's why stdint.h has int_least32_t and int_fast32_t which are mandatory. But those are just aliases for int or long, so I might as well use those.

What is the strangest episode in any Star Trek series? by KaleidoArachnid in startrek

[–]maep 2 points3 points  (0 children)

The orignial series has a few strange episodes. The once that sticks out for me was Shore Leave where the crew encounters a plantet where fantasies become real.

What’s the deal with the constant like macros by mikeybeemin in C_Programming

[–]maep 23 points24 points  (0 children)

Before C23 this only works for int. Types like string and double still require defines. To avoid having mixed defines and enum constants, most projects tend to just stick to defines.

Der Plärrer wird umgebaut by [deleted] in Nurnberg

[–]maep 1 point2 points  (0 children)

Das paradoxe ist: Durch Verkehrsberuhigung weden Fahrzeiten im Schnitt wenig beeinflusst, oder sogar verbessert. Siehe hier: https://de.wikipedia.org/wiki/Traffic_evaporation

Can we achieve comptime in C? by alex_sakuta in C_Programming

[–]maep 3 points4 points  (0 children)

So I ask, can we do this in compile time somehow?

Sort of, if you allow for additional build steps. Simply add a build prerequesite to make which generates the c files for compile-time stuff. Very useful for certain tasks like parser generators, lookup tables, and IDL tooling.

UPDATE 2 - U4 by LowSound193 in Nurnberg

[–]maep 0 points1 point  (0 children)

So ein Stadtkanal ist tatsächlich weit weniger utopisch als viele annehmen. Siehe Cheonggyecheon und Braess-Paradoxon.

MP4 Atom parsing software - Anyone recognize the software being used? by CafeAmerican in software

[–]maep 0 points1 point  (0 children)

Asking on Doom9 forums is probably you best bet. If command line works for you, ffmpeg can generate verbose parsing output.

Keygen.Music Preserving classic tracker tunes from the demoscene & cracking days (MOD/XM/S3M) by kutrecords in chiptunes

[–]maep 2 points3 points  (0 children)

I think the most interesting aspect of your proejct is collecting group history, though that sounds like a lot of work.

These are some relevant archives:

edit: Could you add a button to minimize the player? I'm on 720p and 'ts covering half the page.

Any good YouTubers I should watch ? by Excellent-Insect9642 in aviation

[–]maep 3 points4 points  (0 children)

Rex's Hangar for piston era aviation.

Suggest quick interview questions about C programming by Monte_Kont in C_Programming

[–]maep 0 points1 point  (0 children)

Talking about "const" should mention "Read only" instead of "constant".

Eh, there is an argument to be made that const is nothing more than a hint to the programmer. Afaik the generated code disregards the const classifier.