<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: ameixaseca</title><link>https://news.ycombinator.com/user?id=ameixaseca</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 24 Jun 2026 08:24:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ameixaseca" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ameixaseca in "Ada, its design, and the language that built the languages"]]></title><description><![CDATA[
<p>It could be a nice article if it wasn't full of mistakes and incorrect assumptions about mechanisms and their origins, unsubstantiated statements, and so forth.<p>Right now, it sounds like an Ada fanfic - a misinformed one, to be more precise.</p>
]]></description><pubDate>Sun, 19 Apr 2026 17:22:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47825909</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47825909</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47825909</guid></item><item><title><![CDATA[New comment by ameixaseca in "An incoherent Rust"]]></title><description><![CDATA[
<p>One could argue flying is just controlled falling.</p>
]]></description><pubDate>Tue, 31 Mar 2026 02:22:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47582037</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47582037</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47582037</guid></item><item><title><![CDATA[New comment by ameixaseca in "Store birth date in systemd for age verification"]]></title><description><![CDATA[
<p>Yes, you are correct. It was meant as "end user OSs", and indeed some requirements are on the end user OS.<p>However, it is still not the same as California's law since it only describes the provision of "age bracket" and only on particular circumstances. In practice, this requirement will likely be limited to certain platforms due to technical feasibility. Proportionality and "technically secure measurements" are mentioned in the law, so there is no point requiring this from a desktop computer where someone can just type any birth year.<p>It is likely most of the responsibility will fall on digital platforms:<p><a href="https://www.brasildefato.com.br/2026/03/27/eca-digital-entra-em-vigor-e-impoe-novos-desafios-para-familias-plataformas-e-autoridades/" rel="nofollow">https://www.brasildefato.com.br/2026/03/27/eca-digital-entra...</a><p><a href="https://www.fadc.org.br/noticias/eca-digital-entenda-nova-lei" rel="nofollow">https://www.fadc.org.br/noticias/eca-digital-entenda-nova-le...</a></p>
]]></description><pubDate>Fri, 27 Mar 2026 17:10:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=47545426</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47545426</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47545426</guid></item><item><title><![CDATA[New comment by ameixaseca in "An incoherent Rust"]]></title><description><![CDATA[
<p>Sidesteps by not providing the same level of functionality.<p>As an analogy, it would be equivalent to say that "contrary to an airplane, a car sidesteps the problem of requiring wings".<p>Yes, indeed - but it doesn't fly.</p>
]]></description><pubDate>Tue, 24 Mar 2026 12:57:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47501924</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47501924</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47501924</guid></item><item><title><![CDATA[New comment by ameixaseca in "We rewrote our Rust WASM parser in TypeScript and it got faster"]]></title><description><![CDATA[
<p>It would have taken the same time, if not less, given the extra time for mitigations, trying different optimization techniques, runtimes, etc.<p>One of the reasons the project was killed was that we couldn't port it to our line of low powered devices without a full rewrite in C.<p>Please note this was more than a decade ago, way before Rust was the language it was today. I wouldn't chose anything else besides Rust today since it gives the best of both worlds: a truly high level language with low level resource controls.</p>
]]></description><pubDate>Sat, 21 Mar 2026 15:41:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=47468020</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47468020</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47468020</guid></item><item><title><![CDATA[New comment by ameixaseca in "We rewrote our Rust WASM parser in TypeScript and it got faster"]]></title><description><![CDATA[
<p>My experience is the exact opposite.<p>This was particularly true for one of the projects I've worked with in the past, where Python was chosen as the main language for a monitoring service.<p>In short, it proved itself to be a disaster: just the Python process collecting and parsing the metrics of all programs consumed 30-40% of the processing power of the lower end boxes.<p>In the end, the project went ahead for a while more, and we had to do all sorts of mitigations to get the performance impact to be less of an issue.<p>We did consider replacing it all by a few open source tools written in C and some glue code, the initial prototype used few MBs instead of dozens (or even hundreds) of MBs of memory, while barely registering any CPU load, but in the end it was deemed a waste of time when the whole project was terminated.</p>
]]></description><pubDate>Sat, 21 Mar 2026 04:16:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47463923</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47463923</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47463923</guid></item><item><title><![CDATA[New comment by ameixaseca in "Store birth date in systemd for age verification"]]></title><description><![CDATA[
<p>From the pull request:<p>> Stores the user's birth date for age verification, as required by recent laws in California (AB-1043), Colorado (SB26-051), Brazil (Lei 15.211/2025), etc.<p>The Brazilian law does NOT require this. This is a misconception, and likely based on an understanding of California's law being extrapolated to the Brazilian law.<p>They are almost complete opposites.<p>The Brazilian law (Lei 15.211/2025) puts the burden of age verification on *providers* of web platforms, app stores, or dumb terminals. Not on operational systems.<p>It also mentions "reasonable measurements" - which vary according to the type of content, platform, etc - and which are much less strict that anything written in California's or UK's laws regarding the same subject. It is far more based on individual risk assessment and purpose of the platforms themselves.<p>In all fairness, the Brazilian law is the most friendly to open source and the status quo. Even though I'm also worried about the long term results of this legislation, I'm somewhat relieved by the way it turned out.</p>
]]></description><pubDate>Fri, 20 Mar 2026 04:38:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47450559</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47450559</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47450559</guid></item><item><title><![CDATA[New comment by ameixaseca in "Rust is just a tool"]]></title><description><![CDATA[
<p>> Rust (...) has the most toxic self-righteous community in PL.<p>You never dealt with C programmers, did you?</p>
]]></description><pubDate>Sun, 01 Mar 2026 07:15:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47204440</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47204440</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47204440</guid></item><item><title><![CDATA[New comment by ameixaseca in "Defer available in gcc and clang"]]></title><description><![CDATA[
<p>> I have a personal aversion to defer as a language feature.<p>Indeed, `defer` as a language feature is an anti-pattern.<p>It does not allow the abstraction of initialization/de-initialization routines and encapsulating their execution within the resources, transferring the responsibility to manually perform the release or de-initialization to the users of the resources - for each use of the resource.<p>> I also dislike RAII because it often makes it difficult to reason about when destructors are run [..]<p>RAII is a way to abstract initialization, it says nothing about where a resource is initialized.<p>When combined with stack allocation, now you have something that gives you precise points of construction/destruction.<p>The same can be said about heap allocation in some sense, though this tends to be more manual and could also involve some dynamic component (ie, a tracing collector).<p>> [..] and also admits accidental leaks just like defer does.<p>RAII is not memory management, it's an initialization discipline.<p>> [..] what I would want is essentially a linear type system in the compiler that allows one to annotate data structures that require cleanup and errors if any possible branches fail to execute the cleanup. This has the benefit of making cleanup explicit while also guaranteeing that it happens.<p>Why would you want to replicate the same cleanup procedure for a certain resource throughout the code-base, instead of abstracting it in the resource itself?<p>Abstraction and explicitness can co-exist. One does not rule out the other.</p>
]]></description><pubDate>Fri, 20 Feb 2026 16:01:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47089724</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=47089724</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47089724</guid></item><item><title><![CDATA[New comment by ameixaseca in "Garbage collection is contrarian"]]></title><description><![CDATA[
<p>> See <a href="https://en.wikipedia.org/wiki/Resource_acquisition_is_initia" rel="nofollow">https://en.wikipedia.org/wiki/Resource_acquisition_is_initia</a>...<p>This example is specific to C++<p>> (..) if your programme crashes there's no guarantee that you'll ever give the resources back.<p>What guarantees can you have from a "crashing program", and by what definition of crashing?<p>> RAII is a leaky abstraction<p>Any abstraction is leaky if you look close enough.</p>
]]></description><pubDate>Wed, 14 Jan 2026 01:20:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=46611115</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46611115</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46611115</guid></item><item><title><![CDATA[New comment by ameixaseca in "Linux Kernel Rust Code Sees Its First CVE Vulnerability"]]></title><description><![CDATA[
<p>It is not - and given its stance on memory safety, it will hardly ever be.</p>
]]></description><pubDate>Thu, 18 Dec 2025 04:10:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=46308827</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46308827</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46308827</guid></item><item><title><![CDATA[New comment by ameixaseca in "Migrating the main Zig repository from GitHub to Codeberg"]]></title><description><![CDATA[
<p>I believe any reasonable person could understand the previous comment is about the rules themselves, not about a statement in the CoC saying where they apply or not.<p>Also, the fact that the website is not covered by the CoC makes it worse, since the leadership is excluding themselves from their own engagement rules.</p>
]]></description><pubDate>Thu, 27 Nov 2025 15:54:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=46070403</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46070403</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46070403</guid></item><item><title><![CDATA[New comment by ameixaseca in "Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says"]]></title><description><![CDATA[
<p>You are dressing the events in your interpretation and stating them as truth.<p>The events you mention above are cherry-picked bits of information to support what you have said from the beginning.<p>For instance, in what you said above: you are quoting an excerpt of Barroso's comments from 2023 about democracy (not his exact words) without the actual context, something he even clarified later on as it was picked up by the media. Also, his resignation now, 2 years later, has nothing to do with any of this - looks like he was just tired.<p>I don't blame him. To be honest, now I'm tired as well.<p>Take care.</p>
]]></description><pubDate>Wed, 26 Nov 2025 01:08:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=46052918</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46052918</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46052918</guid></item><item><title><![CDATA[New comment by ameixaseca in "Several core problems with Rust"]]></title><description><![CDATA[
<p>I used OCaml extensively for a few years, around the time of OCaml 3 and OCaml 4, and I can add a few cents to this discussion.<p>Some of the points listed here can be considered a matter of taste or opinion, some are indeed pain points, and some are implementation details.<p>OCaml as a whole is hard to directly compare with most other languages you mentioned above as "better" or "worse". It both suffers and benefits from being an academic/research project not directly in control of a larger corporation.<p>As a language, IMHO, it is miles ahead of mostly all the languages mentioned above. It recently adopted a novel mechanism for modeling concurrency called algebraic effects, together with state-of-art multi-core support. This not only abstracts away several features that are usually hardcoded on most languages but puts it on another level as a language and abstraction capability. There are other toy languages that implement similar mechanisms or part of this, but none with the adoption level of OCaml.<p>However, since it does not have the same amount of resources and adoption, progress sometimes is slower that one would expect. Documentation can be sparse, community is smaller, etc.<p>Regarding OCaml on Windows, I myself used it exactly 20 years ago. It not only has one implementation, but three. There are some tradeoffs and support is not at the same level as Linux but it's still there, and I wouldn't call it mediocre:<p><a href="https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc" rel="nofollow">https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc</a><p><a href="https://docs.google.com/document/d/1-aTygzDsxy4mnqvSKEVhifA1KDRyP-Axdogjgb8i3Gg/edit?tab=t.0#heading=h.2f0zkx36cp90" rel="nofollow">https://docs.google.com/document/d/1-aTygzDsxy4mnqvSKEVhifA1...</a><p>You might find it harder to find libraries, for sure. I have not checked the situation recently, though given the smaller community that is likely still the case.<p>As a tongue-in-cheek comment, I could definitely say "OCaml is certainly not a good language - not as bad as most of all the others though".</p>
]]></description><pubDate>Tue, 25 Nov 2025 23:22:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=46052045</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46052045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46052045</guid></item><item><title><![CDATA[New comment by ameixaseca in "Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says"]]></title><description><![CDATA[
<p>> That's not what you said. You said "certain groups" are trying to undermine the non-existent impartiality of the supreme court.<p>I said they were trying to "stamp political motivation on on the decisions of the upper judiciary".<p>IOW, to label them as politically motivated.<p>I wouldn't call it a conspiracy since these groups have been pretty vocal about it.<p>By "certain groups" I meant "some political parties, politicians and associates", though I'm not comfortable defining it further since I don't have exact references ATM.<p>> As you can see, there is absolutely nothing wrong with anything that was claimed.<p>This is a different inquiry, check the numbers.<p>> Whatever Bolsonaro plotted to do is mostly irrelevant when faced with this. If anything it'd be a counter-coup.<p>I understand. Let's agree to disagree.</p>
]]></description><pubDate>Mon, 24 Nov 2025 14:28:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=46034497</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46034497</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46034497</guid></item><item><title><![CDATA[New comment by ameixaseca in "Several core problems with Rust"]]></title><description><![CDATA[
<p>> There must be a name for that sort of fallacy.<p>Motivated reasoning</p>
]]></description><pubDate>Mon, 24 Nov 2025 11:57:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=46033123</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46033123</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46033123</guid></item><item><title><![CDATA[New comment by ameixaseca in "Several core problems with Rust"]]></title><description><![CDATA[
<p>> Given that Rust doesn’t always have critiques that are backed with evidence, this wasn’t bad.<p>What evidence?</p>
]]></description><pubDate>Mon, 24 Nov 2025 11:53:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=46033095</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46033095</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46033095</guid></item><item><title><![CDATA[New comment by ameixaseca in "Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says"]]></title><description><![CDATA[
<p>The the link above does not survive 15 seconds of a Google search for its first statement:<p><a href="https://www.stf.jus.br/arquivo/cms/noticiaNoticiaStf/anexo/Deciso4874Assinada.pdf" rel="nofollow">https://www.stf.jus.br/arquivo/cms/noticiaNoticiaStf/anexo/D...</a><p>It names the FEDERAL PUBLIC PROSECUTOR'S OFFICE as the author, not the Supreme Court.<p>> And you make it out to be a conspiracy theory?<p>I did not say this and I was not trying to imply a conspiracy in what I said, only that this is a blatant attempt from the Congress to protect their own interests.<p>It is not a conspiracy when Congress members like Nikolas Ferreira say things like:<p>'' If any Member of Parliament commits a crime, they will go to jail. This House just needs to say "yes." ''<p>Which means the Congress now will be the final judge, overriding the Supreme Court (via secret voting, btw).<p>Source for his speech:
<a href="https://www.camara.leg.br/internet/SitaqWeb/TextoHTML.asp?etapa=5&nuSessao=186.2025&nuQuarto=4609458&nuOrador=1&nuInsercao=1&dtHorarioQuarto=18:04&sgFaseSessao=OD&Data=16/09/2025&txApelido=Nikolas%20Ferreira&txFaseSessao=Ordem%20do%20Dia&txTipoSessao=Ordin%C3%A1ria%20-%20CD&dtHoraQuarto=18:04&txEtapa=" rel="nofollow">https://www.camara.leg.br/internet/SitaqWeb/TextoHTML.asp?et...</a> (in Portuguese)<p>> Judge straight up comes out to the public and brags about how they all personally defeated Bolsonaro? Same guy who's implicated in the USAID nonsense? And you make it out to be a conspiracy theory?<p>FYI, I was not taking about Bolsonaro.<p>Again, 30 seconds of Google and I can find not only what are you taking about USAID (Musk accusing USAID of interfering in the Brazilian election) but the fact that this is most likely false and has no basis whatsoever.<p>A claim requires evidence, and as far as the evidence goes it is pretty much all there is.<p>For the other claims, it is a matter of opinion. I don't see it that way.<p>> I'm tired, man.<p>I think, in a sense, everyone is.<p>The question you need to ask youself is: what are you fighting for?<p>I couldn't put it better than this article:
<a href="https://www.ibanet.org/Bolsonaro-conviction-signals-Brazil%E2%80%99s-democratic-resilience" rel="nofollow">https://www.ibanet.org/Bolsonaro-conviction-signals-Brazil%E...</a><p>My suggestion is for you to consider everything Bolsonaro says and stands for and ask youself: is he really standing for democracy? Are the judges in the way of someone that stands for democracy?<p>If your answer is yes, then we have a fundamental disagreement and from this point on we can only agree to disagree.</p>
]]></description><pubDate>Sun, 23 Nov 2025 18:27:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=46026001</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46026001</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46026001</guid></item><item><title><![CDATA[New comment by ameixaseca in "Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says"]]></title><description><![CDATA[
<p>This wasn't clear for me from the question, though I understand where you are coming from.<p>Investing is certainly not as risky as people from outside of Brazil generally think it is, since the banking system is well regulated and the legal framework is solid.<p>My two cents: if someone that is a foreigner in both Brazil and the US asked me what I think, I would say investing is Brazil is likely less risky than the US at the moment.</p>
]]></description><pubDate>Sat, 22 Nov 2025 21:21:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=46018386</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46018386</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46018386</guid></item><item><title><![CDATA[New comment by ameixaseca in "Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says"]]></title><description><![CDATA[
<p>Kind of an odd conclusion to take from a weird question.<p>I would not subject myself or my property to a foreign court system for various reasons, but first and foremost because I'm not subject to their laws.<p>If I'm on Brazilian territory or doing business in Brazil, however, the question is equally pointless: barring certain exceptions, you are subject to the Brazilian laws to the extent of your presence in the country - period. You have no choice on this matter.<p>Courts are fallible and that's why you have levels, due process, and presumption of innocence. The Brazilian system is not perfect and it's slow but you cannot say the American system is much better when comparing decisions at same court level.</p>
]]></description><pubDate>Sat, 22 Nov 2025 18:23:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=46016970</link><dc:creator>ameixaseca</dc:creator><comments>https://news.ycombinator.com/item?id=46016970</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46016970</guid></item></channel></rss>