#exceptions — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #exceptions, aggregated by home.social.
-
Обработка исключений в Kotlin Coroutines
Представьте классическую ситуацию: вы запускаете корутину для фоновой задачи (например, сетевого запроса) и хотите подстраховаться от падений. Как бы мы сделали в синхронном коде — обернули бы в стандартный блок try/catch блок кода, в котором может быть ошибка:
-
📊🤡 Ah yes, the spreadsheet 'guru' enlightens us with the revolutionary advice: "Just don't use them." 😂 Who knew that avoiding spreadsheets altogether could be an actual 'rule' — except when it's not, of course, because #exceptions are where REAL spreadsheet wisdom shines! 🌟
https://leancrew.com/all-this/2026/08/my-rules-for-using-spreadsheets/ #spreadsheetwisdom #humor #productivity #tips #dataanalysis #HackerNews #ngated -
📊🤡 Ah yes, the spreadsheet 'guru' enlightens us with the revolutionary advice: "Just don't use them." 😂 Who knew that avoiding spreadsheets altogether could be an actual 'rule' — except when it's not, of course, because #exceptions are where REAL spreadsheet wisdom shines! 🌟
https://leancrew.com/all-this/2026/08/my-rules-for-using-spreadsheets/ #spreadsheetwisdom #humor #productivity #tips #dataanalysis #HackerNews #ngated -
🎉 Wow, #Wasmtime 47! 🎉 Apparently, after years of blood, sweat, and tears, we can finally throw #exceptions and collect garbage like it's 1999. 🤦♂️ For anyone who thought adding more features would make Wasmtime simpler, congrats, you played yourself! 🏆
https://bytecodealliance.org/articles/wasmtime-gc #Wasmtime47 #GarbageCollection #ProgrammingCelebration #TechNews #HackerNews #ngated -
🎉 Wow, #Wasmtime 47! 🎉 Apparently, after years of blood, sweat, and tears, we can finally throw #exceptions and collect garbage like it's 1999. 🤦♂️ For anyone who thought adding more features would make Wasmtime simpler, congrats, you played yourself! 🏆
https://bytecodealliance.org/articles/wasmtime-gc #Wasmtime47 #GarbageCollection #ProgrammingCelebration #TechNews #HackerNews #ngated -
GC and Exceptions in Wasmtime
https://bytecodealliance.org/articles/wasmtime-gc
Comments: https://news.ycombinator.com/item?id=48981665
#HackerNews #GC #Wasmtime #Exceptions #BytecodeAlliance #WebAssembly #Programming
-
GC and Exceptions in Wasmtime
https://bytecodealliance.org/articles/wasmtime-gc
Comments: https://news.ycombinator.com/item?id=48981665
#HackerNews #GC #Wasmtime #Exceptions #BytecodeAlliance #WebAssembly #Programming
-
Fehler gehören beim Programmieren dazu. Gerade in Java stolperst du ziemlich früh über sie, weil dir der Compiler an vielen Stellen sehr deutlich sagt, dass etwas schiefgehen kann. Dabei tauchen meistens zwei Begriffe auf, die erst einmal unnötig kompliziert wirken: checked e...
#Exceptions #Checked #Unchecked #Code #Java #Compiler #Fehlerhandling #NullPointerException #Coding #Programming
-
It's #Canadian #census time again! Seems like we just did this 5 years ago. My how time flies.
The #online version doesn't work for me - no surprise, governments rarely take any #exceptions into account when designing #processes, so I run into stuff like this all the time. So like last time, I go to request the paper version of the #questionnaire, and ... you can't. Not online. Not self-service, anyway.
Even if you go to start the online version and get errors, there's no "send me a paper version" link or button anywhere. The only option mentioned anywhere (hidden away in the FAQ that no one will read) is to *phone them* to request a paper version.
Ya, not happening. So used their "chat now" function, and it's #automated, and it can't help either, only repeats what you already know. Curse at it a bit, and it asks if I want to talk to a human agent.
Yes!
"It's out of business hours, there's no one to help you, goodbye, #chat ended."
Hoookay... so wait until today during business hours, open the chat again, and ... it takes me back into last night's chat. The one that's ended. And that you therefore aren't allowed to send any more messages in. The "end chat" button doesn't work, because it's ended already. No option to start a new chat.
Excellent work, boys, no #notes!
I had to clear cookies to get it to work. How's *that* gonna work for "click the colourful circle to go on Facebooks" crowd?
So I get to wait a week, then make some census workers sad.
-
It's #Canadian #census time again! Seems like we just did this 5 years ago. My how time flies.
The #online version doesn't work for me - no surprise, governments rarely take any #exceptions into account when designing #processes, so I run into stuff like this all the time. So like last time, I go to request the paper version of the #questionnaire, and ... you can't. Not online. Not self-service, anyway.
Even if you go to start the online version and get errors, there's no "send me a paper version" link or button anywhere. The only option mentioned anywhere (hidden away in the FAQ that no one will read) is to *phone them* to request a paper version.
Ya, not happening. So used their "chat now" function, and it's #automated, and it can't help either, only repeats what you already know. Curse at it a bit, and it asks if I want to talk to a human agent.
Yes!
"It's out of business hours, there's no one to help you, goodbye, #chat ended."
Hoookay... so wait until today during business hours, open the chat again, and ... it takes me back into last night's chat. The one that's ended. And that you therefore aren't allowed to send any more messages in. The "end chat" button doesn't work, because it's ended already. No option to start a new chat.
Excellent work, boys, no #notes!
I had to clear cookies to get it to work. How's *that* gonna work for "click the colourful circle to go on Facebooks" crowd?
So I get to wait a week, then make some census workers sad.
-
Fehlermanagement ist eines der Themen, die am Anfang gerne unterschätzt werden. Der Code funktioniert, die Tests laufen, also weiter zum nächsten Feature. Spätestens wenn etwas schiefgeht, merkst du jedoch, wie wichtig ein sauberer Umgang mit Fehlern ist. Gute Fehlerbehandlung sorgt nicht nur daf
https://magicmarcy.de/warum-guter-code-mit-fehlern-rechnet
#Fehlermanagement #Exceptions #trycatch #Fehler #Programming #Java #Ausnahmen
-
How do you handle exceptions in CSharp?
Read more here:
https://bgh.st/ctz7i0 -
How do you handle exceptions in CSharp?
Read more here:
https://bgh.st/ctz7i0 -
Sovereign Citizen Makes Exception for Costco
https://web.brid.gy/r/https://thehardtimes.net/culture/sovereign-citizen-makes-exception-for-costco/
-
Sovereign Citizen Makes Exception for Costco
https://web.brid.gy/r/https://thehardtimes.net/culture/sovereign-citizen-makes-exception-for-costco/
-
@magicmarcy
Ich weiß noch wie ich mich in ganzen Stunden mit Java um das Abfangen von Exeptions gedreht habe, dem kontrollieren der ganzen Datenbankenanbindungen und dem ganzen verdammten "Garbage". 😂#Fehlermanagement #Exceptions #trycatch #Fehler #Programming #Java #Ausnahmen
-
Fehlermanagement ist eines der Themen, die am Anfang gerne unterschätzt werden. Der Code funktioniert, die Tests laufen, also weiter zum nächsten Feature. Spätestens wenn etwas schiefgeht, merkst du jedoch, wie wichtig ein sauberer Umgang mit Fehlern ist. Gute Fehlerbehandlung sorgt nicht nur daf
https://magicmarcy.de/warum-guter-code-mit-fehlern-rechnet
#Fehlermanagement #Exceptions #trycatch #Fehler #Programming #Java #Ausnahmen
-
Hawks Quietly Reset Countdown Timer On Trade Asset https://www.rawchili.com/nba/596839/ #2025–26NBASeason #Atlanta #AtlantaHawks #AtlantaHawks #Basketball #Exceptions #Hawks #NBA #NBATrade #NBATradeDeadline
-
Handling errors in some programming languages is a pain in the arse because unexpected errors bubble up at you as exceptions from unexpected procedures. Other than reading the documentation or reading the source code, there is no way of knowing that in advance. Maybe using 3rd party tools, I don't know, but that's also a huge pain in the arse.
Both the PNG export and SVG source file are provided.
#exceptionhandling
#exceptions
#meme
#memes
#scheme
#whycantiholdalltheselimes -
Will Celtics Let Trade Assets Waste For The Third Year In A Row? https://www.rawchili.com/nba/573826/ #2025–26NBASeason #Basketball #Boston #BostonCeltics #BostonCeltics #Celtics #Exceptions #NBA #NikolaVucevic
-
Celtics To Use Trade Asset To Add Double-Double Behemoth? https://www.rawchili.com/nba/573259/ #2025–26NBASeason #Basketball #Boston #BostonCeltics #BostonCeltics #Celtics #Exceptions #NBA #NikolaVucevic
-
Unchecked exceptions in production:
try {
DateTimeFormatter UTC_PARSER = ...
return UTC_PARSER.parseDateTime(date);
} catch (IllegalArgumentException e) {2023 commit where I replaced joda.time with JDK builtin.
- return UTC_PARSER.parseDateTime(date);
+ return Instant.from(UTC_PARSER.parse(date));No IDE, no compiler told me the fuck that the **unchecked** exception had changed to DateTimeParseException. Crashed today.
-
Exception Handling ist ein wichtiger Bestandteil der (Java)-Programmierung da Fehler und Unerwartetes jederzeit auftreten kann. Ein gutes Exception Handling stellt in solchen Fällen sicher, dass Programme stabil und benutzerfreundlich bleiben. In diesem Beitrag erkläre ich, was Exceptions sind und
https://magicmarcy.de/exception-handling-in-java-grundlagen-und-best-practices
#Exception_Handling #Exceptions #Fehler #Ausnahme #checked #unchecked #try #catch #finally #Programming
-
Exception Handling ist ein wichtiger Bestandteil der (Java)-Programmierung da Fehler und Unerwartetes jederzeit auftreten kann. Ein gutes Exception Handling stellt in solchen Fällen sicher, dass Programme stabil und benutzerfreundlich bleiben. In diesem Beitrag erkläre ich, was Exceptions sind und
https://magicmarcy.de/exception-handling-in-java-grundlagen-und-best-practices
#Exception_Handling #Exceptions #Fehler #Ausnahme #checked #unchecked #try #catch #finally #Programming
-
Go's Error Handling: Why Explicit Beats Exceptions (According to Google)
-
Go's Error Handling: Why Explicit Beats Exceptions (According to Google)
-
Nicolas Fränkel: Checked exceptions and lambdas
-
Nicolas Fränkel: Checked exceptions and lambdas
-
Wenn du länger mit Java arbeitest, wirst du irgendwann unweigerlich auf ihn treffen: den StackTrace.Dieses oft einschüchternd wirkende Konstrukt aus Zeilen voller Klassen, Methoden und Zeilennummern ist in Wahrheit einer deiner besten Freunde. Ein StackTrace verrät dir nämlich ganz genau, was sc
https://magicmarcy.de/der-stacktrace-fehlermeldungen-verstehen-lernen
#StackTrace #Fehler #Exceptions #Aufrufstapel #stack #Debugging
-
Exception Handling ist ein wichtiger Bestandteil der (Java)-Programmierung da Fehler und Unerwartetes jederzeit auftreten kann. Ein gutes Exception Handling stellt in solchen Fällen sicher, dass Programme stabil und benutzerfreundlich bleiben. In diesem Beitrag erkläre ich, was Exceptions sind und
https://magicmarcy.de/exception-handling-in-java-grundlagen-und-best-practices
#Exception_Handling #Exceptions #Fehler #Ausnahme #checked #unchecked #try #catch #finally #Programming
-
Exception Handling ist ein wichtiger Bestandteil der (Java)-Programmierung da Fehler und Unerwartetes jederzeit auftreten kann. Ein gutes Exception Handling stellt in solchen Fällen sicher, dass Programme stabil und benutzerfreundlich bleiben. In diesem Beitrag erkläre ich, was Exceptions sind und
https://magicmarcy.de/exception-handling-in-java-grundlagen-und-best-practices
#Exception_Handling #Exceptions #Fehler #Ausnahme #checked #unchecked #try #catch #finally #Programming
-
Lakers Set To Lose Trade Assets Amid Losing Skid https://www.rawchili.com/nba/500452/ #2025–26NBASeason #Basketball #Exceptions #LA #LALakers #Lakers #LALakers #LosAngeles #LosAngelesLakers #LosAngeles #LosAngelesLakers #NBA #RobPelinka
-
JUnit 5: Mehr Spaß und weniger Bauchschmerzen beim Entwickeln durch clevere Tests
-
It's ridiculous how many #exceptions to "thou shall not #kill" #people can come up with.
-
It's ridiculous how many #exceptions to "thou shall not #kill" #people can come up with.
-
How do you handle exceptions in CSharp?
Read more here:
https://www.devleader.ca/2023/10/22/how-to-handle-exceptions-in-csharp-tips-and-tricks-for-streamlined-debugging/ -
How do you handle exceptions in CSharp?
Read more here:
https://www.devleader.ca/2023/10/22/how-to-handle-exceptions-in-csharp-tips-and-tricks-for-streamlined-debugging/ -
Exception Handling ist ein wichtiger Bestandteil der (Java)-Programmierung da Fehler und Unerwartetes jederzeit auftreten kann. Ein gutes Exception Handling stellt in solchen Fällen sicher, dass Programme stabil und benutzerfreundlich bleiben. In diesem Beitrag erkläre ich, was Exceptions sind und
https://magicmarcy.de/exception-handling-in-java-grundlagen-und-best-practices
#Exception_Handling #Exceptions #Fehler #Ausnahme #checked #unchecked #try #catch #finally
-
I’m working on adding some support for Haskell exceptions to
agda2hs. I needed to do something so makethrownot break soundness so I added an (erased instance) argument of some postulated typeMayThrow exc, essentially making all exceptions be checked exceptions on the Agda side.I know there’s much nicer ways to exceptions in dependent type theory (i.e. exceptional type theory by PMP et al) but given that Agda doesn’t implement that, this seems like a decent first step. I’m curious to hear any comments you have!
-
I’m working on adding some support for Haskell exceptions to
agda2hs. I needed to do something so makethrownot break soundness so I added an (erased instance) argument of some postulated typeMayThrow exc, essentially making all exceptions be checked exceptions on the Agda side.I know there’s much nicer ways to exceptions in dependent type theory (i.e. exceptional type theory by PMP et al) but given that Agda doesn’t implement that, this seems like a decent first step. I’m curious to hear any comments you have!
-
🎩✨ Oh, look! Yet another ambitious #coder dazzled by the dazzling #complexity of the #JVM, only to be crushed by "weird" #exceptions. Apparently, Java's #decompiling sorcery isn't as straightforward as waving a wand 🪄. Who could have possibly predicted that? 🙄
https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/ #Java #Struggles #HackerNews #ngated -
🎩✨ Oh, look! Yet another ambitious #coder dazzled by the dazzling #complexity of the #JVM, only to be crushed by "weird" #exceptions. Apparently, Java's #decompiling sorcery isn't as straightforward as waving a wand 🪄. Who could have possibly predicted that? 🙄
https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/ #Java #Struggles #HackerNews #ngated -
JVM exceptions are weird: a decompiler perspective
https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
#HackerNews #JVM #exceptions #decompiler #perspective #programming #blog #tech #insights
-
JVM exceptions are weird: a decompiler perspective
https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
#HackerNews #JVM #exceptions #decompiler #perspective #programming #blog #tech #insights
-
Programming in MicroPython is interesting, in multiple ways.
If you're not familiar with it, it's a port of the Python language to run on very small systems - primarily microcontrollers of various types. Programming for any of these types of systems, in any language/environment, always poses some challenges because of the limited resources. Forget 32-bit machines limited to 1GB of user-mode address space - think 256 KB of RAM being unimaginably vast for many MCUs, even today.
They did a pretty amazing job getting Python to run on these MCUs. It even supports a lot of the standard library, with restrictions, limits, and various missing bits an unavoidable side-effect.
The specific things that have tickled me about it recently include:
* Missing stdlib modules that a modern Python programmer just takes for granted.
* Don't do more than basic type hints / annotations, because MicroPython won't like them.
* Get used to running into out-of-memory errors if you build lots of complex data structures at runtime.
* Some of the more modern features and syntax aren't supported.
It actually feels kind of like programming in Python 1.1 or so did. I haven't checked, but it wouldn't surprise me if exceptions were strings 😉
#MicroPython #Python #microcontroller #MCU #software #programming #resources #nostalgia #exceptions
-
Любовь, смерть и жизненный цикл: считаем, сколько люди проводят времени в вашем Android-приложении
Приветствую всех заглянувших трудяг! Помните, как вы готовились к первым собеседованиям на должность Android-разработчика? Жизненный цикл, пересоздание Activity, коллбеки ЖЦ: все эти понятия хорошо знакомы каждому молодому специалисту в нашей с вами области. Однако одна из прилетевших от аналитиков задач на отправку событий, связанных с длительностью нахождения пользователя в приложении, ввела меня в ступор, заставила провести небольшое исследование, проявить чудеса ведения переговоров и узнать много интересных нюансов. Об этом увлекательном путешествии сегодня расскажу вам я, Александр Лебедь, Android-разработчик Core команды приложения WB Partners.
https://habr.com/ru/companies/wildberries/articles/963618/
#android #lifecycle #синхронизация #concurrency #exceptions #configuration_changes #analytics #activity #process
-
JVM exceptions are weird: a decompiler perspective
https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
#HackerNews #JVM #exceptions #decompiler #programming #tech #blog
-
The young man knows the rules, but the old man knows the exceptions.
-- Oliver Wendell Holmes -
LLMs are mortally terrified of exceptions