home.social

#exception — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #exception, aggregated by home.social.

fetched live
  1. #exception : a thing that is excluded

    - French: exception

    - German: die Ausnahme

    - Italian: eccezione

    - Portuguese: exceção

    - Spanish: excepción

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  2. Un article qui semble très complet, et qui fournit tout un tas de moyens pour rendre le code Rust conforme avec les exigences classiques de production (comme par exemple l'observabilité et compagnie) corrode.dev/blog/hardening-rus #rustlang #programming #erreur #sécurité #observabilité #exception

  3. Un article qui semble très complet, et qui fournit tout un tas de moyens pour rendre le code Rust conforme avec les exigences classiques de production (comme par exemple l'observabilité et compagnie) corrode.dev/blog/hardening-rus #rustlang #programming #erreur #sécurité #observabilité #exception

  4. @PinkNews @politics-PinkNews It's a shame Charles Davey is a #transphobe, but that is no reflection on his brother, #EdDavey. I'm glad the official #policy of the #LibDems is to oppose the #EHRC #guidelines, & to #support the whole #LGBTIQA #community without #exception. Charles Davey's argument is total nonsense.

  5. @PinkNews @politics-PinkNews It's a shame Charles Davey is a #transphobe, but that is no reflection on his brother, #EdDavey. I'm glad the official #policy of the #LibDems is to oppose the #EHRC #guidelines, & to #support the whole #LGBTIQA #community without #exception. Charles Davey's argument is total nonsense.

  6. CW: SFW PhotoArt/PhotoFun
  7. Movie TV Tech Geeks #TVFeatures #Exception #Netflix #Horror Forget 'Alien' — Netflix’s Overlooked 8-Part Sci-Fi Horror Series Turns 1 Fatal Error Into a Survival Nightmare dlvr.it/TSWBB1

  8. TIL Ruby's Exception class has a `detailed_message` method which includes both the exception class and its message:

    begin
    1 / 0
    rescue => e
    puts e.detailed_message # => "divided by 0 (ZeroDivisionError)"
    end

    I've lost count of the number of times I've implemented something very similar myself! 🤦

    docs.ruby-lang.org/en/master/E

    #ruby #exception

  9. TIL Ruby's Exception class has a `detailed_message` method which includes both the exception class and its message:

    begin
    1 / 0
    rescue => e
    puts e.detailed_message # => "divided by 0 (ZeroDivisionError)"
    end

    I've lost count of the number of times I've implemented something very similar myself! 🤦

    docs.ruby-lang.org/en/master/E

    #ruby #exception

  10. One of the coolest techniques for writing structured code is to use a decorator. Ruby has a Delegator class (docs.ruby-lang.org/en/master/D), a DelegateClass method (docs.ruby-lang.org/en/master/O) and a simple delegation implementation SimpleDelegator (docs.ruby-lang.org/en/master/S). If you are really interested in their implementation, you can find the source code here (github.com/ruby/delegate/blob/).

    #Ruby #Decorator #Delegator #SimpleDelegator #Exception

  11. حكينا قبل برشة مرّات على مشاريع يمنعوا ال
    #AI
    أما عمرنا ما حكينا على مشاريع يقبلوا ال
    #AI
    مثلا
    #Mesa
    إلّي صرّحت راهي مش تقبل مساهمات ال
    #AI
    phoronix.com/news/Mesa-Two-Gen
    ثمّة إقتراح متاع
    #Driver
    يحارب ال
    #USB Devices
    إلّي فيهم مشاكل
    #Malicious
    itsfoss.com/news/linux-driver-
    #Fedora
    كانت توفّر ال
    #Updates
    ل
    #Mesa #Drivers
    عادي كيمة كلّ
    #Update
    أما توّ
    #Fedora
    عملتهم
    #Exception
    و مش يولّيوا يجيوا مع كلّ
    #Release
    phoronix.com/news/Mesa-Updates

  12. حكينا قبل برشة مرّات على مشاريع يمنعوا ال
    #AI
    أما عمرنا ما حكينا على مشاريع يقبلوا ال
    #AI
    مثلا
    #Mesa
    إلّي صرّحت راهي مش تقبل مساهمات ال
    #AI
    phoronix.com/news/Mesa-Two-Gen
    ثمّة إقتراح متاع
    #Driver
    يحارب ال
    #USB Devices
    إلّي فيهم مشاكل
    #Malicious
    itsfoss.com/news/linux-driver-
    #Fedora
    كانت توفّر ال
    #Updates
    ل
    #Mesa #Drivers
    عادي كيمة كلّ
    #Update
    أما توّ
    #Fedora
    عملتهم
    #Exception
    و مش يولّيوا يجيوا مع كلّ
    #Release
    phoronix.com/news/Mesa-Updates

  13. #exception : or as to the decision of a judge, in the course of a trail, or in his charge to a jury

    - French: exception

    - German: die Ausnahme

    - Italian: eccezione

    - Portuguese: exceção

    - Spanish: excepción

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  14. #exception : or as to the decision of a judge, in the course of a trail, or in his charge to a jury

    - French: exception

    - German: die Ausnahme

    - Italian: eccezione

    - Portuguese: exceção

    - Spanish: excepción

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  15. [Перевод] Почему GZIP сыпал исключениями только в жару и в дождь

    В квартире стояла летняя жара. Впрочем, ненадолго: хозяин квартиры как раз привез мне кондиционер, и его пора было запускать. Через несколько недель Я писал на C# программу для распаковки gzip-файлов и неожиданно поймал странное исключение, из которого следовало, что архив поврежден. Ситуация выглядела дико: ошибка намекала на поврежденный архив, хотя сам файл не выглядел реально битым. Сказать, что это напрягало значит ничего не сказать...

    habr.com/ru/articles/1016532/

    #bash #gzip #c# #exception

  16. More observations about checked vs. unchecked exceptions and why unchecked exceptions should not be called "exception". I rather suggest "explainer". Thy explain why an operation could not be performed.

    miamao.de/blog/2026-02/23.When

    #exception #uncheckedException #Java #TypeScript #Python #Rust

  17. Terrific explanation of the inner-workings of the #CommonLisp condition system (a powerful superset of #exception handling that can do way more cool stuff, like restarts): youtube.com/watch?v=pkqQq2Hwt5o

    Basically, the condition system itself is built directly in Common Lisp using facilities in the language that are available to the user: dynamic variables, closures, and non-local flow-control (tagbody/go and block/return-from). Nice syntax/structure provided by macros, of course. Fucking brilliant.

  18. Terrific explanation of the inner-workings of the #CommonLisp condition system (a powerful superset of #exception handling that can do way more cool stuff, like restarts): youtube.com/watch?v=pkqQq2Hwt5o

    Basically, the condition system itself is built directly in Common Lisp using facilities in the language that are available to the user: dynamic variables, closures, and non-local flow-control (tagbody/go and block/return-from). Nice syntax/structure provided by macros, of course. Fucking brilliant.

  19. Wenn du gerade erst mit dem Programmieren in Java startest, wirst du relativ schnell über einen Begriff stolpern: "Fail Fast". Klingt erstmal nach einem fancy Buzzword, steckt aber etwas sehr Handfestes dahinter: Der Code soll möglichst früh, möglichst klar und möglichst laut kaputtgehen, wenn

    magicmarcy.de/fail-fast-statt-

    #Fail #Exception #Java #Vorbedingungen #IllegalArgumentException #FailFast #Programming

  20. Wenn du gerade erst mit dem Programmieren in Java startest, wirst du relativ schnell über einen Begriff stolpern: "Fail Fast". Klingt erstmal nach einem fancy Buzzword, steckt aber etwas sehr Handfestes dahinter: Der Code soll möglichst früh, möglichst klar und möglichst laut kaputtgehen, wenn

    magicmarcy.de/fail-fast-statt-

    #Fail #Exception #Java #Vorbedingungen #IllegalArgumentException #FailFast #Programming

  21. Une façon assez propre de faire rentrer le vieux code avec des exceptions dans tous les sens dans du code où les erreurs sont des alternatives aux succès. Comme le dit l'auteur, c'est une façon de donner au code Java un style proche de ce que fait Rust. github.com/Veldin/ResultTryEx/ #java #rustlang #exception #erreur

  22. Une façon assez propre de faire rentrer le vieux code avec des exceptions dans tous les sens dans du code où les erreurs sont des alternatives aux succès. Comme le dit l'auteur, c'est une façon de donner au code Java un style proche de ce que fait Rust. github.com/Veldin/ResultTryEx/ #java #rustlang #exception #erreur

  23. I'm trying to #parse a string into an int in an #esphome lambda. I can use std::stoi() and it works, but I'm struggling at error management. It raises an #exception if the string is not parseable (i.e. "text" instead of "2"), but ESPHome disables the exceptions, so I can't simply try-catch it...
    ATM the code is mostly working, but if the string isn't a valid int, the entire device crashes D:
    How am I supposed to implement this?
  24. I'm trying to #parse a string into an int in an #esphome lambda. I can use std::stoi() and it works, but I'm struggling at error management. It raises an #exception if the string is not parseable (i.e. "text" instead of "2"), but ESPHome disables the exceptions, so I can't simply try-catch it...
    ATM the code is mostly working, but if the string isn't a valid int, the entire device crashes D:
    How am I supposed to implement this?
  25. #exception : or as to the decision of a judge, in the course of a trail, or in his charge to a jury

    - French: exception

    - German: die Ausnahme

    - Italian: eccezione

    - Portuguese: exceção

    - Spanish: excepción

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  26. “Palestine Exception, #American #Exceptionalism: Two sides of the Same Bloody Coin”

    by Benay Blend in The Palestine Chronicle

    @[email protected]
    @[email protected] @[email protected]

    “‘#Palestine #Exception’ serves as the most recent documentary exploring the wave of crackdown from college administrators, the media, police and politicians who oppose calls for a ceasefire and divestment from corporations that do business with ‘Israel’.”

    palestinechronicle.com/palesti

    #Press #Israel #Gaza #Genocide #Zionism #Barbarity

  27. @tyil @SuperDicq @Vivaldi

    “Generally a browser's most important thing is their engine.”

    Think more, and you'll realise that #Vivaldi is an #exception. It's only #sellingPoint, as I said, is the #UI. There are many other #privacyFocused #browsers, #VivaldiBrowser's #powerfull #features are what keep it #afloat TBH.

    "It's somehow fine for them to take the work of others, but this doesn't go both ways? Does this not sound a bit weird to you?"

    If they make their work #available to be accessed by anyone, they'll die in the end. #VivaldiTechnologies is a much smaller company compared to #Google and #Mozilla.

    "But even with Mozilla actively trying to make Firefox the worst it can be, the debloated forks are nowhere near as popular as the main thing, so your whole argument falls flat in reality."

    No, it doesn't, because #FF was released much earlier than V. This means it had much more time to become #popular enough to keep it's #userbase, while Vivaldi wouldn't.

    "forks are unlikely to become more popular than the main thing to begin with. They'd have to really fuck shit up to make a fork suddenly take all their marketshare, and at that point its just the market working as intended."

    Yes, for more popular browsers. But for new ones, this is not true.

  28. @tyil @SuperDicq @Vivaldi

    “Generally a browser's most important thing is their engine.”

    Think more, and you'll realise that #Vivaldi is an #exception. It's only #sellingPoint, as I said, is the #UI. There are many other #privacyFocused #browsers, #VivaldiBrowser's #powerfull #features are what keep it #afloat TBH.

    "It's somehow fine for them to take the work of others, but this doesn't go both ways? Does this not sound a bit weird to you?"

    If they make their work #available to be accessed by anyone, they'll die in the end. #VivaldiTechnologies is a much smaller company compared to #Google and #Mozilla.

    "But even with Mozilla actively trying to make Firefox the worst it can be, the debloated forks are nowhere near as popular as the main thing, so your whole argument falls flat in reality."

    No, it doesn't, because #FF was released much earlier than V. This means it had much more time to become #popular enough to keep it's #userbase, while Vivaldi wouldn't.

    "forks are unlikely to become more popular than the main thing to begin with. They'd have to really fuck shit up to make a fork suddenly take all their marketshare, and at that point its just the market working as intended."

    Yes, for more popular browsers. But for new ones, this is not true.

  29. Обработка исключений в 1С

    При работе любого приложения могут возникнуть ситуации, приводящие к аварийному завершению работы программы. Еще хуже, если такие ошибки приводят к появлению уязвимостей и возможностям их эксплуатации. Для предотвращения проблем, связанных с исключительными ситуациями при работе приложений, применяются специальные обработчики исключений. В этой статье мы поговорим об обработке исключений в конфигурациях 1С. В частности, мы посмотрим, как можно перехватывать исключения правильно и не очень правильно. Все перечисленные рекомендации представлены на сайте данного вендора и являются обязательными, если не указано иное. Статья может быть полезна архитекторам и разработчикам приложений в 1С.

    habr.com/ru/companies/otus/art

    # #exception #обработка_исключений #исключения_в_1С #обработчики_ошибок #журнал_событий_1С #отладка_1С #программирование_в_1С

  30. #exception : or as to the decision of a judge, in the course of a trail, or in his charge to a jury

    - French: exception

    - German: die Ausnahme

    - Italian: eccezione

    - Portuguese: exceção

    - Spanish: excepción

    ------------

    Join our new subreddit for language learners @ reddit.com/r/LearnANewLanguage

  31. A quotation from C. C. Colton

    There are some truths, the force and validity of which we readily admit, in all cases except our own; and there are other truths so self-evident that we dare not deny them, but so dreadful, that we dare not believe them.

    Charles Caleb "C. C." Colton (1780-1832) English cleric, writer, aphorist
    Lacon: Or, Many Things in Few Words, Vol. 1, § 370 (1820)

    Sourcing, notes: wist.info/colton-charles-caleb…

    #quote #quotes #quotation #qotd #denial #disbelief #exception #truths #verities

  32. [Перевод] Обработка исключений в рабочих процессах с использованием Flowable

    Исключения являются частью любого процесса. Разработчики, создающие бизнес-процессы, должны уметь обрабатывать исключения в бизнес-кейсе, чтобы гарантировать, что сам процесс устойчив и может продолжаться после возникновения сбоев. Логика обработки исключений различается в зависимости от вашей задачи и инструментов, которые у вас есть в распоряжении. В этой заметке я попытался определить различные методы обработки исключений, используя язык паттернов. Каждый паттерн следует определённой структуре, называемой Контекст (общая ситуация, в которой проблема повторяется), Проблема (формулировка), Условия (условия, при которых можно рекомендовать предложенные решения) и Решение . Итак, давайте приступим.

    habr.com/ru/articles/920232/

    #BPM #BPMN #Flowable #exception #exception_handling

  33. Встреча ISO C++ в Софии: С++26 и рефлексия

    Привет! На связи Антон Полухин из техплатформы городских сервисов Яндекса, и сейчас я расскажу о софийской встрече Международного комитета по стандартизации языка программирования C++, в которой принимал активное участие. Это была последняя встреча, на которой новые фичи языка, с предодобренным на прошлых встречах дизайном, ещё могли попасть в C++26. И результат превзошёл все ожидания: compile-time-рефлексия рефлексия параметров функций аннотации std::optional<T&‍> параллельные алгоритмы Об этих и других новинках расскажу в посте

    habr.com/ru/companies/yandex/a

    #c++29 #с++29 #c++26 #с++26 #с++ #c++ #reflection #constexpr #exception #simd #safety #security #undefined_behavior #annotations #parallel_programming #executor #executors #ranges #coroutines

  34. Почему Exceptions в Java не взлетели — и что с этим делать в 2025 году

    Всем привет! Меня зовут Илья, я работаю в Райффайзен Банке. Мы пишем свои бэкенд-сервисы на Java и Kotlin, поэтому зачастую приходится переключаться с одного языка на другой. Из-за этого невольно начинаешь сравнивать подходы и механизмы одного языка с его JVM-собратом. Сегодня я бы хотел поговорить об одном из таких механизмов — пропагации ошибок и исключений. Используете ли вы в своем коде исключения? Ответ кажется странным, так как исключения являются неотъемлемой частью Java. Но что, если я спрошу, используете ли вы исключения для управления логикой своей программы?

    habr.com/ru/companies/raiffeis

    #java #kotlin #exception #exception_handling #typed_error #arrow

  35. A quotation from Mignon McLaughlin

    The past is rich in lessons from which we would greatly profit except that the present is always so full of Special Circumstances.

    Mignon McLaughlin (1913-1983) American journalist and author
    The Neurotic’s Notebook, ch. 10 (1963)

    Sourcing, notes: wist.info/mclaughlin-mignon/76…

    #quote #quotes #quotation #qotd #details #difference #exception #experience #extrapolation #history #learning #lessons #past #precedent #present #uniqueness

  36. A quotation from Banksy

    There are no exceptions to the rule that everyone thinks they’re an exception to the rules.

    Banksy (b. 1974?) England-based pseudonymous street artist, political activist, film director
    Wall and Piece, “Cops” (2005)

    Sourcing, notes: wist.info/banksy/76852/

    #quote #quotes #quotation #qotd #banksy #exception #outlier #reality #rules #specialcase #unique #perspective #humannature

  37. Customize Your Error Pages in Quarkus: Because 500 Deserves Better Than “Oops!”
    Give your users something better than a blank 500 screen. myfear.substack.com/p/quarkus-
    #Quarkus #Java #Exception #ErrorPages

  38. Ok #vibecoding fans.. here's Reason #76 for why #AI #codebots aren't ready to supplant us #developers.

    Working on a #CLI that manipulates files; unhandled exception appears! Its late so I paste the exception+ #stacktrace into my notes2self.txt, go to bed.

    Today, remember the #exception, go handle/fix/trap it. Still drops exception. WTF. Tearing hair out, I keep prompting Copilot, changing the model used, I have refactored whole swaths of code following its advice. Getting nowhere.

    1/

  39. Linked is a good article about raising exceptions in python. For me it also showed me some interesting “advanced” (or is it idiomatic) python. salas.com/2025/01/06/when-to-u #exception-handling #raise #debugging #python-tips #programming