fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#exception

1 post1 participant0 posts today
WordofTheHour<p><a href="https://mastodon.social/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> : or as to the decision of a judge, in the course of a trail, or in his charge to a jury</p><p>- French: exception</p><p>- German: die Ausnahme</p><p>- Italian: eccezione</p><p>- Portuguese: exceção</p><p>- Spanish: excepción</p><p>------------</p><p>Join our new subreddit for language learners @ <a href="https://reddit.com/r/LearnANewLanguage" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">reddit.com/r/LearnANewLanguage</span><span class="invisible"></span></a></p>
WIST Quotations<p><a href="https://wist.info/colton-charles-caleb/77636/" rel="nofollow noopener" target="_blank">A quotation from <b>C. C. Colton</b></a></p><blockquote>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.</blockquote><p><b>Charles Caleb "C. C." Colton</b> (1780-1832) English cleric, writer, aphorist<br><i>Lacon: Or, Many Things in Few Words</i>, Vol. 1, § 370 (1820)</p> <p>Sourcing, notes: <a href="https://wist.info/colton-charles-caleb/77636/" rel="nofollow noopener" target="_blank">wist.info/colton-charles-caleb…</a></p><p><a href="https://my-place.social/search?tag=quote" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quote</span></a> <a href="https://my-place.social/search?tag=quotes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotes</span></a> <a href="https://my-place.social/search?tag=quotation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotation</span></a> <a href="https://my-place.social/search?tag=qotd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>qotd</span></a> <a href="https://my-place.social/search?tag=denial" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>denial</span></a> <a href="https://my-place.social/search?tag=disbelief" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>disbelief</span></a> <a href="https://my-place.social/search?tag=exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://my-place.social/search?tag=truths" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>truths</span></a> <a href="https://my-place.social/search?tag=verities" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>verities</span></a></p>
Habr<p>[Перевод] Обработка исключений в рабочих процессах с использованием Flowable</p><p>Исключения являются частью любого процесса. Разработчики, создающие бизнес-процессы, должны уметь обрабатывать исключения в бизнес-кейсе, чтобы гарантировать, что сам процесс устойчив и может продолжаться после возникновения сбоев. Логика обработки исключений различается в зависимости от вашей задачи и инструментов, которые у вас есть в распоряжении. В этой заметке я попытался определить различные методы обработки исключений, используя язык паттернов. Каждый паттерн следует определённой структуре, называемой Контекст (общая ситуация, в которой проблема повторяется), Проблема (формулировка), Условия (условия, при которых можно рекомендовать предложенные решения) и Решение . Итак, давайте приступим.</p><p><a href="https://habr.com/ru/articles/920232/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/920232/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/BPM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BPM</span></a> <a href="https://zhub.link/tags/BPMN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BPMN</span></a> <a href="https://zhub.link/tags/Flowable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flowable</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/exception_handling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception_handling</span></a></p>
Habr<p>Встреча ISO C++ в Софии: С++26 и рефлексия</p><p>Привет! На связи Антон Полухин из техплатформы городских сервисов Яндекса, и сейчас я расскажу о софийской встрече Международного комитета по стандартизации языка программирования C++, в которой принимал активное участие. Это была последняя встреча, на которой новые фичи языка, с предодобренным на прошлых встречах дизайном, ещё могли попасть в C++26. И результат превзошёл все ожидания: compile-time-рефлексия рефлексия параметров функций аннотации std::optional&lt;T&amp;‍&gt; параллельные алгоритмы Об этих и других новинках расскажу в посте</p><p><a href="https://habr.com/ru/companies/yandex/articles/920470/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/yandex/a</span><span class="invisible">rticles/920470/</span></a></p><p><a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++29 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++29 <a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++26 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++26 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++ <a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++ <a href="https://zhub.link/tags/reflection" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reflection</span></a> <a href="https://zhub.link/tags/constexpr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>constexpr</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/simd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>simd</span></a> <a href="https://zhub.link/tags/safety" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>safety</span></a> <a href="https://zhub.link/tags/security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>security</span></a> <a href="https://zhub.link/tags/undefined_behavior" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>undefined_behavior</span></a> <a href="https://zhub.link/tags/annotations" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>annotations</span></a> <a href="https://zhub.link/tags/parallel_programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallel_programming</span></a> <a href="https://zhub.link/tags/executor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>executor</span></a> <a href="https://zhub.link/tags/executors" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>executors</span></a> <a href="https://zhub.link/tags/ranges" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ranges</span></a> <a href="https://zhub.link/tags/coroutines" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coroutines</span></a></p>
SPRAVDI - Stratcom Centre<p>The brave men and women of <a href="https://defenseofliberty.social/tags/Ukraine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ukraine</span></a>'s air defense, every day, saving lives.</p><p>Last night was no <a href="https://defenseofliberty.social/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a>, neutralizing 74 out of 107 aerial threats. </p><p><a href="https://defenseofliberty.social/tags/SlavaUkraini" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SlavaUkraini</span></a> <a href="https://defenseofliberty.social/tags/UkraineWillWin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UkraineWillWin</span></a></p>
Hacker News<p>A new blood type discovered in France: "Gwada negative", a global exception</p><p><a href="https://entrevue.fr/en/un-groupe-sanguin-inedit-decouvert-en-france-gwada-negatif-une-exception-mondiale/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">entrevue.fr/en/un-groupe-sangu</span><span class="invisible">in-inedit-decouvert-en-france-gwada-negatif-une-exception-mondiale/</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/A" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>A</span></a> <a href="https://mastodon.social/tags/new" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>new</span></a> <a href="https://mastodon.social/tags/blood" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blood</span></a> <a href="https://mastodon.social/tags/type" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>type</span></a> <a href="https://mastodon.social/tags/discovered" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>discovered</span></a> <a href="https://mastodon.social/tags/in" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>in</span></a> <a href="https://mastodon.social/tags/France" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>France</span></a>: <a href="https://mastodon.social/tags/Gwada" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gwada</span></a> <a href="https://mastodon.social/tags/negative" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>negative</span></a> <a href="https://mastodon.social/tags/a" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a</span></a> <a href="https://mastodon.social/tags/global" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>global</span></a> <a href="https://mastodon.social/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a></p><p>bloodtype <a href="https://mastodon.social/tags/discovery" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>discovery</span></a> <a href="https://mastodon.social/tags/France" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>France</span></a> <a href="https://mastodon.social/tags/GwadaNegative" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GwadaNegative</span></a> <a href="https://mastodon.social/tags/medicalnews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>medicalnews</span></a> <a href="https://mastodon.social/tags/globalhealth" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>globalhealth</span></a></p>
Habr<p>Почему Exceptions в Java не взлетели — и что с этим делать в 2025 году</p><p>Всем привет! Меня зовут Илья, я работаю в Райффайзен Банке. Мы пишем свои бэкенд-сервисы на Java и Kotlin, поэтому зачастую приходится переключаться с одного языка на другой. Из-за этого невольно начинаешь сравнивать подходы и механизмы одного языка с его JVM-собратом. Сегодня я бы хотел поговорить об одном из таких механизмов — пропагации ошибок и исключений. Используете ли вы в своем коде исключения? Ответ кажется странным, так как исключения являются неотъемлемой частью Java. Но что, если я спрошу, используете ли вы исключения для управления логикой своей программы?</p><p><a href="https://habr.com/ru/companies/raiffeisenbank/articles/919152/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/raiffeis</span><span class="invisible">enbank/articles/919152/</span></a></p><p><a href="https://zhub.link/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://zhub.link/tags/kotlin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kotlin</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/exception_handling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception_handling</span></a> <a href="https://zhub.link/tags/typed_error" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>typed_error</span></a> <a href="https://zhub.link/tags/arrow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arrow</span></a></p>
Thomas Barrio<p><span class="h-card" translate="no"><a href="https://mastodon.online/@sz_duras" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>sz_duras</span></a></span> In <a href="https://mastodon.social/tags/LTI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LTI</span></a>, The Language of the Third Reich, Victor <a href="https://mastodon.social/tags/Klemperer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Klemperer</span></a> shows how everyday language, official <a href="https://mastodon.social/tags/discourse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>discourse</span></a>, and small habits of <a href="https://mastodon.social/tags/thought" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>thought</span></a> insidiously transform the perception of <a href="https://mastodon.social/tags/reality" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reality</span></a>. <a href="https://mastodon.social/tags/Fascism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fascism</span></a>, according to him, does not impose itself solely through <a href="https://mastodon.social/tags/violence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>violence</span></a> or <a href="https://mastodon.social/tags/terror" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terror</span></a>, but through the slow permeation of minds, the trivialization of <a href="https://mastodon.social/tags/ideology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ideology</span></a> in <a href="https://mastodon.social/tags/language" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>language</span></a>, and the internalization of new norms, until the <a href="https://mastodon.social/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> becomes the <a href="https://mastodon.social/tags/rule" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rule</span></a>.</p>
WIST Quotations<p><a href="https://wist.info/mclaughlin-mignon/76968/" rel="nofollow noopener" target="_blank">A quotation from <b>Mignon McLaughlin</b></a></p><blockquote>The past is rich in lessons from which we would greatly profit except that the present is always so full of Special Circumstances.</blockquote><p><b>Mignon McLaughlin</b> (1913-1983) American journalist and author<br><i>The Neurotic’s Notebook</i>, ch. 10 (1963)</p> <p>Sourcing, notes: <a href="https://wist.info/mclaughlin-mignon/76968/" rel="nofollow noopener" target="_blank">wist.info/mclaughlin-mignon/76…</a></p><p><a href="https://my-place.social/search?tag=quote" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quote</span></a> <a href="https://my-place.social/search?tag=quotes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotes</span></a> <a href="https://my-place.social/search?tag=quotation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotation</span></a> <a href="https://my-place.social/search?tag=qotd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>qotd</span></a> <a href="https://my-place.social/search?tag=details" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>details</span></a> <a href="https://my-place.social/search?tag=difference" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>difference</span></a> <a href="https://my-place.social/search?tag=exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://my-place.social/search?tag=experience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>experience</span></a> <a href="https://my-place.social/search?tag=extrapolation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>extrapolation</span></a> <a href="https://my-place.social/search?tag=history" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>history</span></a> <a href="https://my-place.social/search?tag=learning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>learning</span></a> <a href="https://my-place.social/search?tag=lessons" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lessons</span></a> <a href="https://my-place.social/search?tag=past" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>past</span></a> <a href="https://my-place.social/search?tag=precedent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>precedent</span></a> <a href="https://my-place.social/search?tag=present" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>present</span></a> <a href="https://my-place.social/search?tag=uniqueness" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uniqueness</span></a></p>
WIST Quotations<p><a href="https://wist.info/banksy/76852/" rel="nofollow noopener" target="_blank">A quotation from <b>Banksy</b></a></p><blockquote>There are no exceptions to the rule that everyone thinks they’re an exception to the rules.</blockquote><p><b>Banksy</b> (b. 1974?) England-based pseudonymous street artist, political activist, film director<br><i>Wall and Piece</i>, “Cops” (2005)</p> <p>Sourcing, notes: <a href="https://wist.info/banksy/76852/" rel="nofollow noopener" target="_blank">wist.info/banksy/76852/</a></p><p><a href="https://my-place.social/search?tag=quote" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quote</span></a> <a href="https://my-place.social/search?tag=quotes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotes</span></a> <a href="https://my-place.social/search?tag=quotation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quotation</span></a> <a href="https://my-place.social/search?tag=qotd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>qotd</span></a> <a href="https://my-place.social/search?tag=banksy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>banksy</span></a> <a href="https://my-place.social/search?tag=exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://my-place.social/search?tag=outlier" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>outlier</span></a> <a href="https://my-place.social/search?tag=reality" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reality</span></a> <a href="https://my-place.social/search?tag=rules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rules</span></a> <a href="https://my-place.social/search?tag=specialcase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>specialcase</span></a> <a href="https://my-place.social/search?tag=unique" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unique</span></a> <a href="https://my-place.social/search?tag=perspective" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perspective</span></a> <a href="https://my-place.social/search?tag=humannature" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>humannature</span></a></p>
Markus Eisele<p>Customize Your Error Pages in Quarkus: Because 500 Deserves Better Than “Oops!”<br>Give your users something better than a blank 500 screen. <a href="https://myfear.substack.com/p/quarkus-custom-error-pages-rest-qute" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">myfear.substack.com/p/quarkus-</span><span class="invisible">custom-error-pages-rest-qute</span></a><br><a href="https://mastodon.online/tags/Quarkus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Quarkus</span></a> <a href="https://mastodon.online/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> <a href="https://mastodon.online/tags/Exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Exception</span></a> <a href="https://mastodon.online/tags/ErrorPages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ErrorPages</span></a></p>
Habr<p>Шестидесятилетний заключённый и лабораторная крыса. F# на Godot. Часть 5. Ошибки и исключения</p><p>Мы закончили обсуждать тело функции, и теперь пришло время вывода данных. Простые сценарии мы сразу отбросим, так как по ним уже хорошо прошлись, когда изучали выражения. Мы начнём с косяков выполнения, под которыми я подразумеваю не баги, а непреодолимые препятствия с различной степенью неожиданности. Это может прозвучать странно, так как аварийный выход не подпадает под определения output , codomain и т. д. Я с этим согласен и пересматривать эти термины не собираюсь. Однако меня интересует не только легитимная часть, но и вообще всё, что выходит из функции. Вплоть до того, что в следующих главах я начну включать в это аморфное понятие сайд-эффекты, фоновые процессы и много чего другого. Я начал с ошибок, потому что Godot эту тему фактически проигнорировал, и вряд ли за ненадобностью, так как несколько раз мне уже было очень больно. У меня всё ещё не дошли руки покопаться в GDScript, так что я понятия не имею, вызван ли этот пробел ограничениями языка или архитектурным решением, но в любом случае нам его надо закрывать. C# и ФП пропагандируют разные подходы к ошибкам. F#, будучи на перепутье, испытывает влияние обоих. Можно много говорить про плюсы взаимного обогащения культур, но судя по публичным баталиям, это не совсем наш случай. Вместо синтеза я куда чаще наблюдаю эмоциональные взрывы в среде представителей то одного, то другого лагеря. Я не буду ввязываться в эту борьбу (в этот раз) и сосредоточусь на решении более насущной задачи. Мне нужно доработать интероп так, чтобы он соблюдал привычную систему распределения ответственности. Так что сегодня только рутина, без красивых ходов и эффектных бросков.</p><p><a href="https://habr.com/ru/companies/first/articles/909536/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/first/ar</span><span class="invisible">ticles/909536/</span></a></p><p><a href="https://zhub.link/tags/f" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>f</span></a># <a href="https://zhub.link/tags/net" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>net</span></a> <a href="https://zhub.link/tags/godot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>godot</span></a> <a href="https://zhub.link/tags/godotengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>godotengine</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/error" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>error</span></a> <a href="https://zhub.link/tags/result" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>result</span></a></p>
Habr<p>[Перевод] Обработка ошибок и их стратеги</p><p>В мире разработки бизнес-приложений, особенно построенных по принципам Domain-Driven Design (DDD) , важным элементом архитектуры является обработка ошибок. Неправильно реализованная стратегия может привести к логическому хаосу и плохому пользовательскому опыту. Представьте, если ошибка базы данных попадёт напрямую в UI — это не только некрасиво, но и опасно. Слоистая архитектура предполагает чёткое разделение ответственности:</p><p><a href="https://habr.com/ru/articles/909414/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/909414/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://zhub.link/tags/error_handling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>error_handling</span></a> <a href="https://zhub.link/tags/error_reporting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>error_reporting</span></a></p>
robrich<p><a href="https://woodruff.dev/error-propagation-with-so-simple-so-smart/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">woodruff.dev/error-propagation</span><span class="invisible">-with-so-simple-so-smart/</span></a> - <a href="https://hachyderm.io/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> has a really clean way of <a href="https://hachyderm.io/tags/Exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Exception</span></a> propagation . Nice post <a href="https://github.com/cwoodruff" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/cwoodruff</span><span class="invisible"></span></a>.</p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://mastodon.scot/@simon_brooke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>simon_brooke</span></a></span> that assumes several things that are proven wrong:</p><ol><li><p><a href="https://infosec.space/tags/TechBros" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechBros</span></a> didn't knew their <a href="https://infosec.space/tags/Algorithms" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Algorithms</span></a> (they do!)</p></li><li><p><a href="https://infosec.space/tags/GAFAMs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GAFAMs</span></a> were unable to change what gets <a href="https://infosec.space/tags/boosted" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>boosted</span></a> by their own Algorithms. (OFC they can!)</p></li><li><p>The same companies didn't knew the directly-linked damage they can if not cause, at least amplify (see <a href="https://infosec.space/tags/RohingyaGenocide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RohingyaGenocide</span></a> in <a href="https://infosec.space/tags/Burma" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Burma</span></a>)</p></li><li><p><a href="https://infosec.space/tags/TechBro" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechBro</span></a>|s in <a href="https://infosec.space/tags/SiliconValley" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiliconValley</span></a> weren't <a href="https://infosec.space/tags/facist" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>facist</span></a> to begin with (I mean, <a href="https://infosec.space/tags/PeterThiel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PeterThiel</span></a> is more of a <a href="https://infosec.space/tags/norm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>norm</span></a> than <a href="https://infosec.space/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a>!)</p></li><li><p>That they never before sided with a <a href="https://infosec.space/tags/POTUS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>POTUS</span></a> (In fact, they platformed <a href="https://infosec.space/tags/Trump" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trump</span></a> and his <a href="https://infosec.space/tags/cult" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cult</span></a>|ist <a href="https://infosec.space/tags/followers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>followers</span></a> even after their failed <a href="https://infosec.space/tags/Coup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coup</span></a> and <a href="https://infosec.space/tags/HighTreason" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HighTreason</span></a>!)</p></li><li><p>Said <a href="https://infosec.space/tags/CEO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CEO</span></a>|s and <a href="https://infosec.space/tags/CTO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CTO</span></a>|s are powerless to stop any of this (in fact, they could force Trump to resign if they wanted to!)</p></li><li><p>That Trump exerts control over them (He could as.per <a href="https://infosec.space/tags/CloudAct" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CloudAct</span></a> but let's be honest, they control him more than he can control them!)</p></li><li><p>That <a href="https://infosec.space/tags/TechCompanies" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechCompanies</span></a> from the <a href="https://infosec.space/tags/USA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>USA</span></a> didn't endorse and platform <a href="https://infosec.space/tags/facists" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>facists</span></a> and <a href="https://infosec.space/tags/authoritatians" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>authoritatians</span></a> (espechally in the <a href="https://infosec.space/tags/EU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EU</span></a>) until then.</p></li><li><p>That the <a href="https://infosec.space/tags/US" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>US</span></a> became hostile over night.</p></li></ol>
Third spruce tree on the left<p>Ok <a href="https://mas.to/tags/vibecoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vibecoding</span></a> fans.. here's Reason #76 for why <a href="https://mas.to/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://mas.to/tags/codebots" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codebots</span></a> aren't ready to supplant us <a href="https://mas.to/tags/developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developers</span></a>. </p><p>Working on a <a href="https://mas.to/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> that manipulates files; unhandled exception appears! Its late so I paste the exception+ <a href="https://mas.to/tags/stacktrace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>stacktrace</span></a> into my notes2self.txt, go to bed. </p><p>Today, remember the <a href="https://mas.to/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a>, 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. </p><p>1/</p>
WordofTheHour<p><a href="https://mastodon.social/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> : or as to the decision of a judge, in the course of a trail, or in his charge to a jury</p><p>- French: exception</p><p>- German: die Ausnahme</p><p>- Italian: eccezione</p><p>- Portuguese: exceção</p><p>- Spanish: excepción</p><p>------------</p><p>Join our new subreddit for language learners @ <a href="https://reddit.com/r/LearnANewLanguage" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">reddit.com/r/LearnANewLanguage</span><span class="invisible"></span></a></p>
Habr<p>C++26 — встреча ISO в Хагенберге</p><p>В середине февраля в Хагенберге состоялась встреча международного комитета по стандартизации языка программирования C++. В этот раз прорабатывались следующие большие темы: std::hive Constexpr, ещё больше constexpr Безопасность, контракты, hardening, профили, UB и std::launder Relocate <a href="https://zhub.link/tags/embed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embed</span></a> Об этом и других новинках расскажу в посте</p><p><a href="https://habr.com/ru/companies/yandex/articles/882518/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/yandex/a</span><span class="invisible">rticles/882518/</span></a></p><p><a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++29 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++29 <a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++26 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++26 <a href="https://zhub.link/tags/%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>с</span></a>++ <a href="https://zhub.link/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a>++ <a href="https://zhub.link/tags/reflection" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reflection</span></a> <a href="https://zhub.link/tags/constexpr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>constexpr</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/simd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>simd</span></a> <a href="https://zhub.link/tags/safety" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>safety</span></a> <a href="https://zhub.link/tags/security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>security</span></a> <a href="https://zhub.link/tags/undefined_behavior" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>undefined_behavior</span></a> <a href="https://zhub.link/tags/memory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memory</span></a> <a href="https://zhub.link/tags/byte" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>byte</span></a> <a href="https://zhub.link/tags/bit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bit</span></a> <a href="https://zhub.link/tags/contracts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>contracts</span></a> <a href="https://zhub.link/tags/relocation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>relocation</span></a> <a href="https://zhub.link/tags/hive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hive</span></a> <a href="https://zhub.link/tags/object_pool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>object_pool</span></a> <a href="https://zhub.link/tags/embed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embed</span></a></p>
Habr<p>Почему мы отказались от выражения «assert» в Python</p><p>В текущем проекте на Python мы практически полностью отказались от использования выражений с ключевым словом assert , и в этой статье я расскажу почему. Рассмотрим кейсы где использование выражений assert уместно, а где оно может выстрелить в ногу, и как этого избежать.</p><p><a href="https://habr.com/ru/articles/876170/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/876170/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/assert" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assert</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/%D0%B8%D1%81%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>исключения</span></a> <a href="https://zhub.link/tags/pytest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pytest</span></a> <a href="https://zhub.link/tags/pydantic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pydantic</span></a> <a href="https://zhub.link/tags/%D0%BB%D0%B8%D0%BD%D1%82%D0%B5%D1%80" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>линтер</span></a> <a href="https://zhub.link/tags/%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%BF%D1%80%D0%B5%D1%82%D0%B0%D1%82%D0%BE%D1%80" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>интерпретатор</span></a> <a href="https://zhub.link/tags/%D0%B1%D0%B0%D0%B3%D0%B8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>баги</span></a> <a href="https://zhub.link/tags/%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ошибки</span></a></p>
Habr<p>Traceback в VBA? ЧТО?</p><p>Как часто вы ловите ошибки в VBA? А как часто вам приходится пытаться понять откуда ноги растут? Если макрос состоит из одной процедуры, это немного другая история... Но вот если у вас полноценный стек вызовов, когда: Main() -&gt; NestedSub1 -&gt; NestedFunc -&gt; NestedSub2 ... -&gt; NestedSubN как отловить, в каком произошла ошибка? Окей, вы скажите "Поставим On Error GoTo Catch и в Catch: Debug.Print "Function name" ", да? А если эту функцию вызывают несколько разных Sub/Function, как понять в каком из них произошла ошибка?</p><p><a href="https://habr.com/ru/articles/873686/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/873686/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/vba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vba</span></a> <a href="https://zhub.link/tags/visual_basic_for_applications" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visual_basic_for_applications</span></a> <a href="https://zhub.link/tags/traceback" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>traceback</span></a> <a href="https://zhub.link/tags/exception" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception</span></a> <a href="https://zhub.link/tags/exception_handling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>exception_handling</span></a></p>