<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: HellzStormer</title><link>https://news.ycombinator.com/user?id=HellzStormer</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 09 Jul 2026 07:17:26 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=HellzStormer" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by HellzStormer in "What Is the Difference Between a Block, a Proc, and a Lambda in Ruby? (2013)"]]></title><description><![CDATA[
<p>I disagree that it's just there to handle edge cases. It's a useful generalization.<p>I think the "Building an intuition" section of my blog post[1] makes a good case for that.<p><pre><code>  When dealing with loops, you have 3 nested constructs interacting: a wrapping function, a loop statement and the loop's body; and you have 3 keywords to choose where the flow of the code goes.

    return returns from the wrapping function
    break leaves the loop statement
    next / continue leaves loop's body

  When dealing with blocks or anonymous functions, it's instead 3 nested "functions" that are interacting: a wrapping function, a called function and an anonymous functions (or block).

    Ruby's blocks, let you use the same 3 keywords to choose where the flow of the code goes.

    return returns from the wrapping function (ex: my_func)
    break returns from the called function (ex: each, map)
    next returns from the block

  Quite consistent. But since we are talking about functions instead of statements (loop), return values are also involved. Allowing both break and next to provide a return value fits well in that model and is quite useful. The 3 keywords are basically return, but they have different targets.
</code></pre>
[1] <a href="https://maxlap.dev/blog/2022/02/10/what-makes-ruby-blocks-great.html" rel="nofollow">https://maxlap.dev/blog/2022/02/10/what-makes-ruby-blocks-gr...</a></p>
]]></description><pubDate>Thu, 22 May 2025 04:52:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=44058891</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=44058891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44058891</guid></item><item><title><![CDATA[New comment by HellzStormer in "What Is the Difference Between a Block, a Proc, and a Lambda in Ruby? (2013)"]]></title><description><![CDATA[
<p>I don't understand what problem you are referring to? A different keyword for what? for the return? for the break?<p>Care to share an example problem?</p>
]]></description><pubDate>Thu, 22 May 2025 04:32:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=44058810</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=44058810</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44058810</guid></item><item><title><![CDATA[New comment by HellzStormer in "What Is the Difference Between a Block, a Proc, and a Lambda in Ruby? (2013)"]]></title><description><![CDATA[
<p>Yes you can, you use a finally clause around your call to yield, as you would already do to handle possible exceptions happening in the block. So no extra consideration is needed.</p>
]]></description><pubDate>Thu, 22 May 2025 04:26:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=44058782</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=44058782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44058782</guid></item><item><title><![CDATA[New comment by HellzStormer in "Thank HN: The puzzle game I posted here 6 weeks ago got licensed by The Atlantic"]]></title><description><![CDATA[
<p>That keyboard is seriously bad. If you start pressing the next letter before you release the previous letter, you get neither!</p>
]]></description><pubDate>Tue, 08 Apr 2025 22:02:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=43626912</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=43626912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43626912</guid></item><item><title><![CDATA[New comment by HellzStormer in "Ruby “Thread Contention” Is Simply GVL Queuing"]]></title><description><![CDATA[
<p>I don't think that's a fair comparison.<p>In Ruby, you always use the global name (with caps) that normally matches the library with possibly some nesting. (exceptions exists, but its also possible to add globals in Python)<p>Unless you are talking about include, but thats for mixins, which are snippets of reusable coee you can add to you class.<p>It doesn't feel at all as dirty as `from blah import *`.</p>
]]></description><pubDate>Tue, 04 Feb 2025 05:59:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=42928599</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=42928599</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42928599</guid></item><item><title><![CDATA[New comment by HellzStormer in "A solar gravitational lens will be humanity's most powerful telescope (2022)"]]></title><description><![CDATA[
<p>I'm no expert here.
You mention "either side" as if the light came from both the left and the right. But I think the light would be coming along a circle all around the sun depending on exact position.<p>So the trick here is that if you are at the focus point, you get all that light in a small area "for free". But if you try to catch the light on the way, you now need to catch eveywhere in a whole massive circle, which is basically impossible, so you only catch a minuscule amount of the light. And then have to deal with interferometry.</p>
]]></description><pubDate>Thu, 17 Oct 2024 15:23:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=41870514</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=41870514</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41870514</guid></item><item><title><![CDATA[New comment by HellzStormer in "Source-available is meaningless"]]></title><description><![CDATA[
<p>The article argues that most source available licenses also provide more freedom than only reading the code, such as using it and modifying with some limits.<p>But "source available", english-wise, sounds like you can only read it.<p>This pushes some to avoid the term and say open source since that's much closer to their what the license does, even if they are not exactly open source.<p>The argument is that "fair source" would be a much clearer term for most of the "source available with extra freedoms" stuff, and I agree.</p>
]]></description><pubDate>Thu, 03 Oct 2024 13:33:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=41730652</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=41730652</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41730652</guid></item><item><title><![CDATA[New comment by HellzStormer in "Nginx has moved to GitHub"]]></title><description><![CDATA[
<p>> You may have noticed that Google Search, Bing, etc. don't require login or captcha to do a search.<p>Are you saying you want adds in GitHub search's results? Google, Bing, etc. make money showing you adds. Adding barriers of entry is much less in their interest. Their budget to optimize the search engine is likely much bigger than GitHub's one.</p>
]]></description><pubDate>Sat, 07 Sep 2024 13:18:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=41473790</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=41473790</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41473790</guid></item><item><title><![CDATA[New comment by HellzStormer in "Nginx has moved to GitHub"]]></title><description><![CDATA[
<p>Personally, I don't think this is a valid case of enshittifying. Products that you pay for that loses features or break or become more painful to use are enshittifying.<p>A free feature that stays free but requires you to make a free account (no credit card needed), I can see at least one very valid reason: if the feature heavier than a simple page (which is the case here), then it's an open door for DDOS attacks. Being able to track and ban/block the users that appear to participate in such an attack is totally valid.<p>The alternative is having to do captchas and the like to use those features anonymously, which is a pain both for user and for the devs/UI, and does feel more like the overall enshittification you are mentionning (even if it's a valid reason)</p>
]]></description><pubDate>Fri, 06 Sep 2024 16:13:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=41467437</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=41467437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41467437</guid></item><item><title><![CDATA[New comment by HellzStormer in "Null-Restricted and Nullable Types"]]></title><description><![CDATA[
<p>> Any code calling a function that can return a Null should know that being handed a Null is a possibility and handle it, right?<p>Well right now, the only way to know is to read comments/docs. The problem is that for many older languages, the signature cannot make it clear that null is a possibility (unless you count "anywhere can be null regardless of the function", which isn't helpful).<p>The goal is to have a real distinction between can be null and wont be null so that things can be made explicit and the compiler can actually highlight places where the handling is missing.<p>It's a tool to help do exactly what you describe in a less error-prone way.</p>
]]></description><pubDate>Fri, 02 Aug 2024 19:09:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=41141660</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=41141660</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41141660</guid></item><item><title><![CDATA[New comment by HellzStormer in "Take a look at Traefik, even if you don't use containers"]]></title><description><![CDATA[
<p>I didn't use try Traefik's documentation, but the complains appear to be somewhat structural. Meaning a PR would need to possibly restructure at least part of the documentation, or add a whole section of documentation of a different type.<p>You can't expect someone not core to a project to just propose to restructure the whole documentation. Which may also mean changing the website.<p>And in any case, such overhaul coming from a "nobody" would very likely be rejected as being both too large or incomplete or not desirable.<p>Re-structuring needs to be pushed for by at least one person from the core team.<p>So yeah "Just submit a PR" in that context is not an answer, it's an excuse to avoid trying to understand the problem and actually improve the situation.</p>
]]></description><pubDate>Sun, 05 May 2024 18:56:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=40267253</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=40267253</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40267253</guid></item><item><title><![CDATA[New comment by HellzStormer in "A simple dice game shines a bit of light on the psychology of regret"]]></title><description><![CDATA[
<p>Exactly! If the rules are clear from the start that youcwill offer the switch, then it's useless, so dont bother.
If the rules are not clear that you will do it, then maybe you only offered it because you know I have the right one and want to avoid the loss. So it's worst than useless.<p>If the value increases, there is this same question, if you can know if I'm right or not, then you offering me a milion is just a trick isn't it? Also, you clearly wouldn't just give out one milion anyways, you dont havr the budget for that.<p>The only case is seems useufl to switch is when additional information was added in a guaranteed way (monty hall paradox)</p>
]]></description><pubDate>Sat, 09 Mar 2024 03:56:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=39649269</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=39649269</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39649269</guid></item><item><title><![CDATA[New comment by HellzStormer in "French authorities label Vitamin D as endocrine disruptor"]]></title><description><![CDATA[
<p>When talking about placebo effect, it's the idea that the same thing could have happened taking a fake pill, just because the mind knows you are taking something that should have an effect.<p>Sure, the vitamin D in his blood may increase, but the anecdote of "it works" is about him getting sick less. And that could be a placebo effect and any sake pill would have had the same effect.<p>And the placebo effect can happen even when the person knows it's a fake pill.</p>
]]></description><pubDate>Sun, 19 Nov 2023 20:32:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=38337528</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=38337528</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38337528</guid></item><item><title><![CDATA[New comment by HellzStormer in "My favorite coding question to give candidates"]]></title><description><![CDATA[
<p>Unless you are in a very hot path and know with absolute certainty that n will remain very low, I'd say you are doing clear premature optimization by comparing and choosing the O(n^2).<p>I say very small because to me, n=10_000 sounds like a number that could easily and quickly grow higher since yoy are past a basic enumeration of a few choices.</p>
]]></description><pubDate>Tue, 14 Nov 2023 15:55:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=38264847</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=38264847</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38264847</guid></item><item><title><![CDATA[New comment by HellzStormer in "Why Dizziness Is Still a Medical Mystery"]]></title><description><![CDATA[
<p>> and collected seven millilitres of my tears.<p>Can you really collect half a table spoon of tears from tear ducts? How much tears are in there?</p>
]]></description><pubDate>Wed, 11 Oct 2023 18:23:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=37848277</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=37848277</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37848277</guid></item><item><title><![CDATA[New comment by HellzStormer in "Breakfast cereal is in long-term decline"]]></title><description><![CDATA[
<p>You can try drinking more water too to stop that before noon hunher signal.</p>
]]></description><pubDate>Sun, 17 Sep 2023 13:00:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=37544607</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=37544607</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37544607</guid></item><item><title><![CDATA[New comment by HellzStormer in "Show HN: Non.io, a Reddit-like platform Ive been working on for the last 4 years"]]></title><description><![CDATA[
<p>From what I remember last time I checked on this. % of money goes to a pot. Money is then globally distributed based on time listened globally (nothing is specific to you for the distribution).<p>So barely any of the money you put in goes to the artists you actually listen to.</p>
]]></description><pubDate>Mon, 12 Jun 2023 17:47:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=36297809</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=36297809</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36297809</guid></item><item><title><![CDATA[New comment by HellzStormer in "Solar Geoengineering 'Only Option' to Cool Planet Within Years, UN Says"]]></title><description><![CDATA[
<p>Lagrange L1 is basically the only place you can place something between Earth and the Sun without heavy maintenance costs to maintain the position.<p>L1 is at 1% of the distance from earth to the sun. This means that if you are going to put something reflective there, there is basically no benefit size-wise compared to doing it directly on earth. (Diagrams usually make it look like it's 1/3 of the way, which would have a 77% increase to the covered area).<p>Feels like it would be easier to put something reflective like that somewhere on earth instead, allowing for a much bigger coverage per $.</p>
]]></description><pubDate>Fri, 03 Mar 2023 19:53:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=35014212</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=35014212</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35014212</guid></item><item><title><![CDATA[New comment by HellzStormer in "Stop developing this technology"]]></title><description><![CDATA[
<p>Side note about that: people doing amateur porn where their face doesn't show at all still get recognized because of particular marks on their skins. So this might help this very specific case, but maybe not as much as one would think.</p>
]]></description><pubDate>Thu, 02 Feb 2023 12:14:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=34625502</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=34625502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34625502</guid></item><item><title><![CDATA[New comment by HellzStormer in "Heat pumps of the 1800s are becoming the technology of the future"]]></title><description><![CDATA[
<p>Logically (and ideally), the incoming air and outgoing air would exchange heat until they are at the same temp, which would be in the middle. So I would not expect an efficiency higher than 50% unless there is some special tech I'm not aware?</p>
]]></description><pubDate>Mon, 16 Jan 2023 23:52:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=34407211</link><dc:creator>HellzStormer</dc:creator><comments>https://news.ycombinator.com/item?id=34407211</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34407211</guid></item></channel></rss>