#Handling

N-gated Hacker Newsngate
2025-05-28

🤡 JavaScript's strikes again! Turns out, the language that brought us "undefined is not a function" is also a master of turning simple dates into Schrödinger's . 🤔 Milliseconds since epoch? More like milliseconds since logic left the building! 🕰️💥
brandondong.github.io/blog/jav

N-gated Hacker Newsngate
2025-05-13

Oh wow, another gripping novel about the of not unwrapping in . 😴 Because, clearly, the Rust hasn't been lectured enough about the sacred "art" of None. 📜✨ Forget groundbreaking innovations, let's all obsess over the real challenge: avoiding a single method like it's the plague. 🙄
corrode.dev/blog/rust-option-h

2025-04-18
#making #sculptures that consist of several #elements had some practical reasons, as it facilitated the #handling, but it also allowed me to reconsider the #work after finishing it. This work derived from a small #leftover #metal #rack I #found on the streets. The #enlargement resulted in #seven #parts that could be #connected but could also be shown individually or be rearranged in #relation to the #exhibition #space. Thereby the #sculpture unexpectedly became a #set of #tools to me, opening up #playful possibilities of #spatial #experience.
“Connecticut Pieces”, 2013, #steel, #paint, various #dimensions, exhibition #view from “Strömungsabriss” at Ausstellungsraum #Klingental, #Basel #2013

#art #Kunst #Skulptur #Ausstellung
André Machado :debian:machaddr@mastodon.sdf.org
2024-12-11

Why Choose Rust Over C?

Rust is a systems programming language that has gained significant traction in recent years as a modern alternative to C. While both languages excel in low-level programming, Rust offers numerous advantages in concurrency, memory safety, and programming paradigms.

Read More: machaddr.substack.com/p/why-ch

#Rust #Programming #Language #Computer #Science #C #OpenSource #Memory #Safety #Concurrencies #Error #Handling

Kevin Karhan :verified:kkarhan@infosec.space
2024-11-27

@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!

Ein Ladeadapter von CCS2 auf Schuko mit Magnetschalter
China Business Forumcnbusinessforum@mstdn.business
2024-10-09
Kevin Karhan :verified:kkarhan@infosec.space
2024-08-26

@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.

Tony TodmanTodmanTony
2024-08-09

When it comes to streamlining your operations, durable can make a lot of difference. 🛠️ From versatile 🛒 and robust lifting equipment 🏋️‍♂️ to reliable 🚚 and sturdy storage options 🗄️, these products cater to various needs introinto.com.au/intro-into-ma

Tony TodmanTodmanTony
2024-07-24

Before choosing for your , start by figuring out exactly what you need. First, consider the materials you’ll be working with. 🏭 Are they delicate, , or perishable? ❓ This will help you choose equipment that prevents damage and contamination. ✅ Next, consider how often you’ll move these materials and whether they’ll be stored or processed. 🔄📦 tooltalktales.wordpress.com/20

Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2024-07-09

@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.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst