mastodon.green is one of the many independent Mastodon servers you can use to participate in the fediverse.
Plant trees while you use Mastodon. A server originally for people in the EU, but now open for anyone in the world

Administered by:

Server stats:

1.2K
active users

#handling

0 posts0 participants0 posts today
Replied in thread

@Saupreiss @unixtippse @der_mit_ph EXAKT DAS! ist mein Problem...

Es gibt für mich keinen rationalen Grund warum das #Handling nicht genauso wie bei ner #Tankstelle sein kann!

#Fakt ist, dass #Tankstellen keinen wirklich großen Gewinn mit #Treibstoff machen, sondern mit #Tabak, #Getränke und #Eis (oder was #ARAL noch in deren #REWEtoGo-gebrandeten Shops anbietet!)

Gerade weil sich dies anbietet, und die wenigsten sich nen fragwürdigen €100+ Adapterstecker kaufen wollen der trivialst geklaut werden kann und den die meisten #Ladesäulen-Betreiber explizit verbieten (und auch nur dort funktioniert wo keine Kabel sondern Buchse an der Ladesäule installiert sind)!

Kriegen die im "globalen Süden" ja auch hin. Nennt sich dort #Energiekiosk!

Replied in thread

@walnut @reece @simonbp I know #LiFePO4 doesn't use #Cobalt, but at the cost of lower #EnergyDensity.

The core problem is that #Batteries are bad for fast energy transfers (espechally since the car industry refuses to standardize battery swap technology so one can charge them slower = moreefficienty!) and that the Energy density still sucks, their production is extremely energy-intensive and the volumetric energy density is still shit.

Replied in thread

@m455 IMHO, the only sane #error #handling for #malloc is something like this:

void *xmalloc(size_t sz)
{
void *p = malloc(sz);
if (!p) abort();
return p;
}

Rationale: On a "modern" OS, malloc never fails unless you'd exhaust address space (NOT available RAM). If it does, something in the OS broke. The reasons for this (see also "memory overcommitment") are a bit ugly, but that's where we are.

Even if you were on some special system (e.g. embedded) where malloc *does* fail on out-of-memory, you'd rarely find a sane strategy to continue doing anything meaningful in your program if it doesn't get the memory it needs, so, most of the time, just #abort is the sane choice here as well.