<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: sham1</title><link>https://news.ycombinator.com/user?id=sham1</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 19 Nov 2026 22:49:49 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=sham1" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by sham1 in "A NES emulator written in Odin"]]></title><description><![CDATA[
<p>I see your Either types and raise you a checked exception. People might have soured on the idea due to the way Java specifically implements the idea, but they can absolutely be done properly. They're also more ergonomic than an Either type, so that's nice.<p>I guess I have to justify my last statement, so here goes. We need to first establish the fact that checked exceptions and an Either type used in error handling are isomorphic constructs. Both are part of your type system (there is no difference between a function returning an `Either<T, E>` and a function returning a `T` or throwing an exception `E`), although one could correctly argue that an Either type is more widely applicable. Okay, so error handling ergonomics. The main thing about exceptions is that they separate out your happy path code from error handling. This is often a physical separation via having separate blocks with a try and a catch. You can of course have this kind of separation with an Either type, but at least in my experience the ergonomics are such that it's often nicer to just have the error boundary close to the fallible expression. Either that, or you have to start doing stack unwinding until you find an appropriate place for error handling -- except unlike with exceptions, this unwinding is done by hand.<p>Another thing that most exception systems give you are post-operations, usually in the form of some sort of a `finally` type dealio. And yeah, you can absolutely do the same thing with Either-based error handling, but it's not nearly as ergonomic as a finally-block.<p>And if people get annoyed at these being called exceptions, because they're not always exceptional, then we could call them something like "error conditions" or whatever floats one's banana, that's just bikeshedding.<p>The place where Java went wrong with its checked exceptions was two-fold:<p>a) you can't parameterise properly over the exceptions you get thrown
b) whether an exception is checked or not is a property of its place in the class hierarchy instead of being separate from it<p>A large part of the first one is due to generics being added after the fact to the language, trying to preserve backwards compatibility which also lead to the kind of type erasure etc. you get in Java. And the second one is mostly just a mistake in the design of the exception hierarchy. Sadly that's now impossible to fix in Java specially so we're stuck with it, but other languages could still learn from it.</p>
]]></description><pubDate>Mon, 16 Nov 2026 09:03:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=50515532</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50515532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50515532</guid></item><item><title><![CDATA[New comment by sham1 in "Microsoft 365 outage leads to chlorine gas poisoning of 15 hotel guests"]]></title><description><![CDATA[
<p>I know this is HN and all, but you're being way overly pedantic about the "guaranteed to fail" phrasing of the person you originally replied to.<p>Yes it's true, no system is guaranteed to function, but for Pete's sake, it's clear to everyone that having only an <i>email</i>-based alarm system for chlorine levels is the wrong thing to do just because "well there's no alarm system that is guaranteed to alert people, so let's rely only on email, tee-hee".<p><i>Any</i> redundancy would have been better than this. People's lives were at risk, and here we are, debating the meaning of the word "guaranteed". I'm going to be frank here, are you an MSFT shareholder or tied to the hotel in question?</p>
]]></description><pubDate>Mon, 16 Nov 2026 06:18:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=50514605</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50514605</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50514605</guid></item><item><title><![CDATA[New comment by sham1 in "Court denies motion to dismiss DRAM price fixing case"]]></title><description><![CDATA[
<p>Alright, but let's think about the example that started this. So, we have these RAM manufacturers doing (or alleged to be doing) price fixing. Now, price fixing is considered to be antithetical to a free market system due to subverting both competition and supply and demand.<p>So let's say we have regulation meant to combat price fixing or perhaps a judgement from a court of law against parties engaging in price fixing, like what happened with DRAM manufacturers 20-ish years beforehand. Well, by the logic you presented, those are also detrimental to a free market. However this leads to a contradiction, as both regulating and not regulating is a detrimental choice. Either you don't regulate, in which case price fixing -- and also we of course have to take into account that a similar argument argument against regulations also works for (unregulated) monopolies, monopsonies, and other sundry cartel actions -- will negatively undermine the free market. On the other hand, regulating price fixing, monopolies, monopsonies etc. will also negatively undermine the free market.<p>So, we have a logical inconsistency here as presented. So we realistically have three possibilities:<p>a) the free market itself is logically contradictory. I mean, many socialists in particular have argued for this position, but I at least don't find this consequent very attractive. It _could_ be true, but let's look at the other two.<p>b) that price fixing is not detrimental to the free market. Well mayhaps, but that really doesn't seem to correspond to the consensus around price fixing and other similar anticompetitive practices. And as said, the same argument could be made for monopolies and such, so you'd basically have to argue that none of them are detrimental to the market either.<p>c) that regulation isn't necessarily detrimental to the free market. You kinda already conceded this point, as you said<p>> Sometimes there is an argument that conditions do not favor a free market and regulation is required to fix that defect, but that's rather situational.<p>And if we assume this, then the question is no longer whether regulation is always bad for the market, but where the line is between regulation that is bad for the market and which is either neutral or positive for the market. But then the words no longer mean what they should mean by surface analysis, and that's a travesty!<p>So where does that leave us? Well, for myself the answer seems obviously to be that regulation can be non-detrimental to the free market, etymology be damned! And so in this case, at least from where I'm sitting, a free market advocate should be for legislation against price fixing. But they might think differently, in which case they should justify their views.</p>
]]></description><pubDate>Sun, 15 Nov 2026 14:21:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=50507134</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50507134</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50507134</guid></item><item><title><![CDATA[New comment by sham1 in "Court denies motion to dismiss DRAM price fixing case"]]></title><description><![CDATA[
<p>The funny part here is that the free market supporters also tend to be the people who are against regulations that would help combat price fixing and other similar regulations that would help protect the free market. They usually do this by calling the proposed regulation socialism and the like, and lobby against it accordingly.</p>
]]></description><pubDate>Sun, 15 Nov 2026 12:02:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=50506297</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50506297</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50506297</guid></item><item><title><![CDATA[New comment by sham1 in "Is there a 'right amount' of AI?"]]></title><description><![CDATA[
<p>Heh, we really are reliving the same processes that prompted (pun not intended) the Luddites to smash textile machines 200 odd years ago. And looking at what happened with physical manufacturing of goods, the Luddites were completely correct about what would happen. See, the Luddites were not against technology, instead they were against the increasing social stratification that would happen due to the manner in which the machines were owned and operated. The textile machines were owned by a small elite of factory owners, who could use the new automation to produce textile in a more efficient manner than what could be achieved via a human artisan doing the same product. This was good for the factory owner as they could get the equivalent or greater output while hiring fewer people, leading to better margins. In some ways it turned out to be good for the consumer, as they could now get goods cheaper, and in many ways said goods would be at a more uniform quality, even if the quality itself might have been worse than what a master crafts(wo)man would have been able to produce. And that left the artisan, the worker, the producer. While many would have been able to pivot to using such machines or find other employment, many would have been left wayside after being made redundant by automation. And they, understandably, took offence to that, because they were deprived of a livelihood to support themselves and their families, which in turn lead to desperation, and as we know, desperate people can be very dangerous to those who they perceive as being the cause of their suffering. See the various strikes, revolutions etc. of the 19th and 20th centuries.<p>Now, a common argument against applying the same logic to today and the use of AI is that AI would be coming for all mental labour, not just specific fields like software, but at least in my view, this misses the point. IMO the point is that the current batch of techbro oligarchs lack the decorum and taste to be the stewards of this technology. That instead of driving this technology such that it'd benefit all of humanity and try to help those who would become redundant by the machines taking jobs away, for example by lobbying for universal basic income or some other types of safety nets, the techbros gleefully tell the public and the boards of various companies how AI can be used to reduce the need for human resources and put people out of jobs as the machines automate the various industries, just as happened 200 years ago. They seem to revel in the fact that people are losing their jobs as a result of these things, and they seem to not have learnt anything from the Industrial Revolution.<p>IMO every other discussion about things such as the quality of code produced by LLMs is frankly secondary to this argument of the ownership of LLMs being in the hands of a select few instead of the commons. The arguments here are just as relevant as they were back in 1848, just saying.</p>
]]></description><pubDate>Fri, 13 Nov 2026 14:37:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=50484151</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50484151</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50484151</guid></item><item><title><![CDATA[New comment by sham1 in "AI usage generates a fragile codebase"]]></title><description><![CDATA[
<p>You can't hold an LLM accountable, that's a big one. Nevertheless I foresee some people trying to shift blame to the LLM if something breaks. "Claude told me..." and so on.</p>
]]></description><pubDate>Tue, 10 Nov 2026 12:13:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=50439216</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50439216</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50439216</guid></item><item><title><![CDATA[New comment by sham1 in "I'm not convinced the AI bubble exists"]]></title><description><![CDATA[
<p>Indeed I am, and you're right, there is a reason for it. The tech unions don't need to capture mindshare in order to advertise VC-funded startups ;)<p>We shouldn't assume that YC is hosting this forum out of benevolence. However it is true that this place is also useful for things other than just advertisement, so that's a neat side effect. We just shouldn't assume that that's the primary purpose of HN.</p>
]]></description><pubDate>Mon, 09 Nov 2026 07:24:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=50422204</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50422204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50422204</guid></item><item><title><![CDATA[New comment by sham1 in "I'm not convinced the AI bubble exists"]]></title><description><![CDATA[
<p>Well at least from where I'm sitting, it's working fine for us. We aren't in the midst of an oligarchy made up of the Epstein class, for one.<p>Could thing be better with the tech industry here? Sure, but at the same time, profits and industry leaders aren't the only things that matters. And at the very least companies here can't just exploit the public with total impunity.</p>
]]></description><pubDate>Mon, 09 Nov 2026 06:56:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=50422010</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50422010</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50422010</guid></item><item><title><![CDATA[New comment by sham1 in "Statement from Nvidia board of directors"]]></title><description><![CDATA[
<p>I mean, one reason for why we don't hear about male agents targeting powerful women is the sad fact that there aren't that many powerful women around, when compared to powerful men.<p>Patriarchal social structure makes this sort of an attack more common against men than women.</p>
]]></description><pubDate>Sun, 08 Nov 2026 21:51:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=50417713</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50417713</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50417713</guid></item><item><title><![CDATA[New comment by sham1 in "Clj.rs – a Clojure dialect implemented in Rust"]]></title><description><![CDATA[
<p>This does look interesting, although I did get a chuckle from the "no inline assembler" claim and then seeing x86 intrinsics in the source for seeing some special registers like the segment registers, GDTP, setting IO ports, and some such. Those are of course necessary, but at least in terms of portability, they're not that far off from inline assembler.<p>From a quick glance over your example, it looks like a hodgepodge of Scheme, Clojure, and Common Lisp with some Rust-y constructs in it. If you don't mind elaborating, why not take some existing "embedded" dialect like Pre-Scheme and compile that? Because currently this looks a lot more like Rust-with-parenthesis rather than a Lisp. Of course if that's the goal then that's fine, but I'd like to hear some elaboration on that.</p>
]]></description><pubDate>Sun, 08 Nov 2026 13:37:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=50413242</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50413242</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50413242</guid></item><item><title><![CDATA[New comment by sham1 in "How I use AI (Oct 2026)"]]></title><description><![CDATA[
<p>> Controversial take: AI music is more interesting than the autotuned, quantized, mass-market-optimized slop that dominates contemporary pop "music".<p>You're right, this sure was a controversial take.<p>Anyway, surely this dichotomy only matters if your only choices are "AI generated music" and "autotuned, quantized, mass-market-optimized slop that dominates contemporary pop "music"". However, there is a bunch of good music outside of the "pop music" zone, which isn't AI generated, so why not go with some of <i>that</i> instead? Nobody is forcing you to listen to pop music.</p>
]]></description><pubDate>Wed, 04 Nov 2026 12:35:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=50364716</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50364716</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50364716</guid></item><item><title><![CDATA[New comment by sham1 in "‘You Are Done’: The letter sent to King by the F.B.I (2014)"]]></title><description><![CDATA[
<p>As someone from one of those non-US democracies, the reason why we can mandate IDs for votes is because they're basically trivial to get, whereas from what I've heard of the American hodgepodge of state-level IDs and "this one counts while this one doesn't" shenanigans, that doesn't seem to apply to the US. Now, I know that over there, the several states are responsible for running the elections within their borders -- that being in the US Constitution -- but some states seem to try to (and succeed in) making it unnecessarily difficult, and that may or may not be on purpose. Civil Rights groups certainly seem to think that it is, and that it affects minority populations disproportionately, because of course it does.<p>For a point of comparison, here in Finland we require that a voter has a valid ID, that is an ID card, a driver's licence with a photo in it, or a passport. Now what if you _don't_ have one of those IDs? Easy, you go to the police station and get yourself a temporary ID, which is by law given free of charge. You do need to get a passport photo taken for that, but those can usually be done in about 10 minutes for around 10 Euros.<p>And of course there are other things outside of the ID issue which make the elections not rigged against minorities. Simple things like having the actual election day on a Sunday, the polling stations being usually in walking distance in cities -- people living in the countryside most likely have a car -- and that said polling stations tend to be in schools, shops, and other such places where people would be going anyway. Oh, and you usually also get polling stations popping up before the actual election day so that people may vote in advance, in said shops, schools, and similar assorted places.<p>---<p>The US could totally start doing ID mandates, but the problem is that in the US, their usage doesn't seem to be out of a genuine worry about election integrity or other similar concerns, but out of voter disenfranchisement, which again, hits minority populations disproportionately hard.</p>
]]></description><pubDate>Thu, 29 Oct 2026 16:25:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=50291628</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50291628</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50291628</guid></item><item><title><![CDATA[New comment by sham1 in "Peter Thiel, the tech oligarch who believes in the Antichrist"]]></title><description><![CDATA[
<p>The Christian conservative movement seems to really have that sort of an outlook. I mean, last year there were some that called out a priest for "the sin of empathy" when she was preaching about taking care of the less fortunate and not laying immigrants to the wayside. Because as we all know, one of the things that Big J disliked was <i>checks notes</i> empathy!<p>And it's not exclusive to the US. For example here in Finland, this sort of Christian conservatism has a lot of support alongside our far-right government. The Bible being used as a justification for intolerance and hate, which does seem rather ironic considering what Big J was all about.</p>
]]></description><pubDate>Mon, 26 Oct 2026 14:17:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=50244141</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50244141</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50244141</guid></item><item><title><![CDATA[New comment by sham1 in "France asked ISPs to prepare temporary DNS blocks for major social platforms"]]></title><description><![CDATA[
<p>> Example: many believe the rich ought to be taxed more; but the problem is the Laffer curve: when they're taxed too much, they work less or leave France. So tax receipts go <i>down</i> (not up).<p>Has this literally <i>ever</i> happened, like anywhere? Yeah, the Laffer curve is a very real concern and a by-product of Rolle's theorem, <i>but</i> we don't even know where the supposed inflection point is, much less whether any given tax reform that would cause wealthy people to pay more would go over it.<p>> So the change harms the very people who are protesting for the change.<p>Human psychology is weird in that they might even be okay with this as long as the perceived fairness increases. But the only way to find out would be to do an experiment. That might also help us find the inflection point in the Laffer curve.</p>
]]></description><pubDate>Sun, 25 Oct 2026 12:59:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=50231088</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50231088</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50231088</guid></item><item><title><![CDATA[New comment by sham1 in "France asked ISPs to prepare temporary DNS blocks for major social platforms"]]></title><description><![CDATA[
<p>There has never been socialism in the EU.</p>
]]></description><pubDate>Sun, 25 Oct 2026 10:58:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=50230310</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50230310</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50230310</guid></item><item><title><![CDATA[New comment by sham1 in "Quad9 (DNS Resolver) to Exit France"]]></title><description><![CDATA[
<p>The irony with these AI corpos is that they're okay with scraping all of human creative endeavours yet they get annoyed at others doing distillation on their models.<p>Compensating authors would be a moral thing to do, but morals aren't really a thing for corpos, so whatever. However the fact that they then turn around and get annoyed at other actors for scraping their stuff is very hilarious and shows how much they care about the social contract :)</p>
]]></description><pubDate>Thu, 22 Oct 2026 16:18:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=50197470</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50197470</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50197470</guid></item><item><title><![CDATA[New comment by sham1 in "Quad9 (DNS Resolver) to Exit France"]]></title><description><![CDATA[
<p>While your point is valid enough -- although it could have been made without this kind of snarky and sarcastic snide -- it seems clear that global copyright legislation is a lot more beneficial to the wealthy capital owners rather than the artists that you were alluding towards. Now, this is no insurmountable obstacle at least in theory. The laws could be modified in a way that lets small artists etc focus on following their passions without starving, without allowing capital to do what is essentially the intellectual equivalent of enclosure of the Commons.<p>Of course, one thing needed for this is the political will as well as getting rid of the idea of defending exploitation by the billionaire class by conflating their needs with the needs of starving artists because one can technically argue that copyright helps both, despite everyone knowing that one party is benefiting a lot more from it than the other.</p>
]]></description><pubDate>Thu, 22 Oct 2026 16:05:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=50197284</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50197284</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50197284</guid></item><item><title><![CDATA[New comment by sham1 in "Using thousands of AI agents to uncover new leads in biological data"]]></title><description><![CDATA[
<p>Solving the universe's mysteries is over thing, and if this really was about just the researchers' feelings then your perspective would be the valid one.<p>However, we live under capitalism. People also need to have their careers to be able to afford the goods and services to keep themselves alive. So unless AI causes a radical -- some might even call it revolutionary -- reconfiguration in the way our societies work, putting people out of work is just cruel and the gleeful commentary around that is just more salt in the wound.<p>Are you ready to fight for the AI to seize the means of production for the betterment of all humanity or at the very least enable us to have proper universal basic income? Because just disrupting every industry to make humans obsolete without a plan will just result in that happening anyway, just with more misery and conflict.</p>
]]></description><pubDate>Thu, 22 Oct 2026 08:45:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=50192854</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50192854</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50192854</guid></item><item><title><![CDATA[New comment by sham1 in "Ousted Savannah police officer gave ICE agent husband access to Flock system"]]></title><description><![CDATA[
<p>The Purge was a terrible movie in so many ways but its message is still extremely resonant. It's also about as subtle as a brick wall, yet I'm afraid that it might have been still a tad too subtle.</p>
]]></description><pubDate>Mon, 19 Oct 2026 12:36:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=50151649</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50151649</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50151649</guid></item><item><title><![CDATA[New comment by sham1 in "There's never been a better time to go into math (by: 3blue1brown) [video]"]]></title><description><![CDATA[
<p>Maybe I am, but I'd argue that in that case I'm depicting literally all professions as rent-seeking, as people really want to protect their income and livelihoods from infringement that would endanger them. And at that point it's probably not useful to talk about it as rent-seeking.<p>If AI can do literally any job more efficiently than a human, then there's no need for human labour anymore and at least to me that seems that unless we get a radical transformation of our political economy, that will not be allowed to happen. You can't just put literally everyone out of a job, capitalism just wouldn't be able to cope with it and it'd implode, most probably because of the inevitable backlash that would occur for to no one being able to afford the basic necessities of life. It would be orders of magnitude bigger than either the French or Russian revolutions.<p>I'm no mathematician, but if being concerned about being able to keep my employment to be able to feed myself makes me a rent-seeker, then I will wear that on my sleeve proudly, crossing my heart, hoping to die. The misery of the alternative is too great to fathom.</p>
]]></description><pubDate>Mon, 19 Oct 2026 10:16:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=50150552</link><dc:creator>sham1</dc:creator><comments>https://news.ycombinator.com/item?id=50150552</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50150552</guid></item></channel></rss>