<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: palotasb</title><link>https://news.ycombinator.com/user?id=palotasb</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 22 Apr 2026 12:04:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=palotasb" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by palotasb in "Almost anything you give sustained attention to will begin to loop on itself"]]></title><description><![CDATA[
<p>What does "loop on itself" mean in this context? The article repeats it 5 times but I can't find a thesaurus definition, and it's unclear to me if the author means it as a synonym <i>repeat</i> or *self-amplify or something different.</p>
]]></description><pubDate>Thu, 04 Sep 2025 14:42:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=45127854</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=45127854</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45127854</guid></item><item><title><![CDATA[New comment by palotasb in "We shouldn't have needed lockfiles"]]></title><description><![CDATA[
<p>The author is perhaps presenting a good argument for languages/runtimes like JavaScript/Node where dependencies may be isolated and conflicting dependencies may coexist in the dependency tree (e.g., "app -> { libpupa 1.2.3 -> liblupa 0.7.8 }, { libxyz 2.0 -> liblupa 2.4.5 }" would be fine), but the proposed dependency resolution algorithm...<p>> Our dependency resolution algorithm thus is like this:<p>> 1. Get the top-level dependency versions<p>> 2. Look up versions of libraries they depend on<p>> 3. Look up versions of libraries they depend on<p>...would fail in languages like Python where dependencies are shared, and the steps 2, 3, etc. would result in conflicting versions.<p>In these languages, there is good reason to define dependencies in a relaxed way (with constraints that exclude known-bad versions; but without pins to any specific known-to-work version and without constraining only to existing known-good versions) at first. This way dependency resolution always involves some sort of constraint solving (with indeterminate results due to the constraints being open-ended), but then for the sake of reproducibility the result of the constraint solving process may be used as a lockfile. In the Python world this is only done in the final application (the final environment running the code, this may be the test suite in for a pure library) and the pins in the lock aren't published for anyone to reuse.<p>To reiterate, the originally proposed algorithm doesn't work for languages with shared dependencies. Using version constraints and then lockfiles as a two-layer solution is a common and reasonable way of resolving the dependency topic in these languages.</p>
]]></description><pubDate>Wed, 06 Aug 2025 16:21:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=44814107</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=44814107</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44814107</guid></item><item><title><![CDATA[New comment by palotasb in "Fstrings.wtf"]]></title><description><![CDATA[
<p>^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *)<p><a href="https://docs.python.org/3/library/operator.html#mapping-operators-to-functions" rel="nofollow">https://docs.python.org/3/library/operator.html#mapping-oper...</a></p>
]]></description><pubDate>Sat, 19 Jul 2025 13:44:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=44615423</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=44615423</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44615423</guid></item><item><title><![CDATA[New comment by palotasb in "An open source, self-hosted implementation of the Tailscale control server"]]></title><description><![CDATA[
<p>Not compared to the previous state where he worked for an unrelated company and only had his free time to contribute to Headscale.</p>
]]></description><pubDate>Thu, 03 Apr 2025 06:40:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=43565643</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=43565643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43565643</guid></item><item><title><![CDATA[New comment by palotasb in "Moving away from US cloud services"]]></title><description><![CDATA[
<p>> Sourcehut<p>Is it there yet?<p>> Notice: sr.ht is currently in alpha, and the quality of the service may reflect that. As such, payment is currently optional for most features, and only encouraged for users who want to support the ongoing development of the site. For a summary of the guarantees and limitations that the alpha entails, see this reference.<p>– <a href="https://sourcehut.org/pricing" rel="nofollow">https://sourcehut.org/pricing</a></p>
]]></description><pubDate>Tue, 18 Mar 2025 10:08:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=43397568</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=43397568</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43397568</guid></item><item><title><![CDATA[New comment by palotasb in "C "clockwise/spiral" rule to understand declarations"]]></title><description><![CDATA[
<p>The spiral rule works only if there is no pointer to pointer or array of array in the type. In other words it is an incorrect rule. But take this for example:<p><pre><code>        +----------------------------+
        | +-----------------------+  |
        | | +------------------+  |  |
        | | | +-------------+  |  |  |
        | | | | +--------+  |  |  |  |
        | | | | |  +--+  |  |  |  |  |
        | | | | |  ^  |  |  |  |  |  |
    int * * ¦ ¦ ¦ VAR[1][2][3] |  |  |
     ^  | | | | |     |  |  |  |  |  |
     |  | | | | +-----+  |  |  |  |  |
     |  | | | +----------+  |  |  |  |
     |  | | +---------------+  |  |  |
     |  | ---------------------+  |  |
     |  +-------------------------+  |
     +-------------------------------+
</code></pre>
The type of VAR is a [1-element] array of [2-element] array of [3-element] array of pointer to pointer to ints. I drew a spiral that passes through each specifier in the correct order. To make the spiral correct it has to skip the pointer specifiers in the first three loops. This is marked by ¦.<p>The Right-Left Rule is quoted less frequently on HN but it's a correct algorithm for deciphering C types: <a href="http://cseweb.ucsd.edu/~ricko/rt_lt.rule.html" rel="nofollow">http://cseweb.ucsd.edu/~ricko/rt_lt.rule.html</a><p>The spiral rule can be modified to process all array specifiers before all pointer specifiers, but then you'd have to specify that the order to do so is right and then left. At that point it's just the Right-Left Rule.</p>
]]></description><pubDate>Wed, 01 Jan 2025 10:06:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=42565085</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=42565085</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42565085</guid></item><item><title><![CDATA[New comment by palotasb in "Starlink Direct to Cell"]]></title><description><![CDATA[
<p>But <a href="https://en.wikipedia.org/wiki/Galileo_(satellite_navigation)" rel="nofollow">https://en.wikipedia.org/wiki/Galileo_(satellite_navigation)</a> panned out and that's a closer analogue.</p>
]]></description><pubDate>Mon, 25 Nov 2024 07:42:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=42234072</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=42234072</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42234072</guid></item><item><title><![CDATA[New comment by palotasb in "A common urban intersection in the Netherlands"]]></title><description><![CDATA[
<p><a href="https://www.theorieexamen.nl/theory-exam/what-is-a-entrance-exit-construction-in-the-Netherlands" rel="nofollow">https://www.theorieexamen.nl/theory-exam/what-is-a-entrance-...</a><p>An entrance or exit construction is a place on a road where you aren't just turning onto the road but exiting the road entirely. The most common example from any country would be a private driveway. Pedestrians, cyclists and cars going along the sidewalk, bike path or road have priority against anyone turning into the driveway or turning onto the road from the driveway.<p>The Netherlands generalizes this concept to some low-priority side streets. If there is a continuous sidewalk (i.e., the cars go up a bump to the level of the sidewalk as opposed to the pedestrians stepping down from the sidewalk to the level of the street). This is not the case in this specific intersection.</p>
]]></description><pubDate>Thu, 21 Nov 2024 11:06:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=42203087</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=42203087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42203087</guid></item><item><title><![CDATA[New comment by palotasb in "A common urban intersection in the Netherlands (2018)"]]></title><description><![CDATA[
<p>Correct, only one.<p>This specific turn is onto a street that the article describes as "traffic volume here is low, since only residents will use this street." They probably expect the 1-car buffer to be enough for this intersection. You can see in the video that the 1-car buffer is empty most of the time.<p>For intersections where they expect more turning traffic (where the one car buffer wouldn't be enough), they add turning lanes that can accomodate more than one car. You can see an example of this a few hundred meters northeast when Graafseweg intersects the Van Grobbendocklaan: <a href="https://maps.app.goo.gl/ZmURqawr3oeBX5Sq9" rel="nofollow">https://maps.app.goo.gl/ZmURqawr3oeBX5Sq9</a></p>
]]></description><pubDate>Thu, 21 Nov 2024 10:54:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=42203019</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=42203019</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42203019</guid></item><item><title><![CDATA[New comment by palotasb in "Is Telegram really an encrypted messaging app?"]]></title><description><![CDATA[
<p>> > using the password recovery flow<p>> use a key/password<p>The previous poster intentionally mentioned password recovery flow. If you can gain access without your password, than law enforcement can too. If you could <i>only</i> gain access with your password, you could consider your data safe.</p>
]]></description><pubDate>Mon, 26 Aug 2024 06:44:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=41354606</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=41354606</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41354606</guid></item><item><title><![CDATA[New comment by palotasb in "Documentation for the JSON Lines text file format"]]></title><description><![CDATA[
<p>Raw integers are also valid JSON according to the spec: <a href="https://www.json.org/json-en.html" rel="nofollow">https://www.json.org/json-en.html</a><p><i>json</i> is defined as one <i>element</i><p><i>element</i> is defines as <i>ws</i> (whitespace), <i>value</i>, <i>ws</i><p><i>value</i> is defined as one of: <i>object, array, string, number, "true", "false", "null"</i><p>Wrapping in {} to make an object or in [] to make a list (which is also not an object) is not necessary to make a valid JSON document. This is also discussed in the Stack Overflow question linked.</p>
]]></description><pubDate>Sun, 25 Feb 2024 13:18:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=39500571</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=39500571</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39500571</guid></item><item><title><![CDATA[New comment by palotasb in "The Stroad"]]></title><description><![CDATA[
<p>As someone living in Amsterdam, Netherlands, I don't understand the resistance. I agree with the article and I think it is advocating for the right thing, so it's the right kind of propaganda.<p>Maybe there is more common ground between you and Strong Towns than you'd think? They don't just advocate for "bike bros." Here everyone bikes from kids in elementary school to their grandparents. The key is having <i>separate</i> car infrastructure (roads, highways) and biking/pedestrian infrastructure (streets, bike lanes, pedestrian-only areas).<p>The net effect is that many people here choose non-car transport (public transport, biking, walking), which reduces traffic. This also makes getting around by car more efficient, for destinations where you need to use a car, because there is less traffic.<p>If you want to live in a single-family home in the suburbs and own a car, you can do that here too. It's fine because there are roads to get around the country. Not stroads though, so no need to worry about pedestrians or cyclists when you're on a road, so they allow moving faster.<p>If you want to live in an apartment in the city without owning a car, you can do that here too. It's fine because there is public transport, proper bike lanes and streets to get around the city. Not straods though, so no need to worry about cars.<p>I'd say it's both nicely looking and quite efficient. Not sure by what metric would an American city be more efficient, but generally I wouldn't want to trade places.</p>
]]></description><pubDate>Fri, 01 Dec 2023 09:35:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=38484908</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=38484908</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38484908</guid></item><item><title><![CDATA[New comment by palotasb in "OpenAI researchers warned board of AI breakthrough ahead of CEO ouster"]]></title><description><![CDATA[
<p>> abs(x) = x*sign(x)<p>True in 1 dimension, but not in higher dimensions, because, as you say:<p>> how would you define sign(x) in a higher dimension?<p>abs(x) is generally defined as <i>distance of</i> x <i>from zero.</i><p>The fact that sqrt(x^2) or x*sign(x) happen to give the same result in 1 dimension doesn't necessarily imply that they can be applied in higher dimensions as-is to result in abs(x) with the same meaning. Although sqrt(x^2) is close, but the way to generalize it is sqrt(sum(x[i]^2)).</p>
]]></description><pubDate>Thu, 23 Nov 2023 11:04:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=38391536</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=38391536</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38391536</guid></item><item><title><![CDATA[New comment by palotasb in "Nobody Understands C++: Intro (2007)"]]></title><description><![CDATA[
<p>The author now has a YouTube channel on C++ with over a 100k subscribers: C++ Weekly with Jason Turner <a href="https://youtube.com/channel/UCxHAlbZQNFU2LgEtiqd2Maw">https://youtube.com/channel/UCxHAlbZQNFU2LgEtiqd2Maw</a></p>
]]></description><pubDate>Sun, 29 Oct 2023 10:08:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=38057148</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=38057148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38057148</guid></item><item><title><![CDATA[New comment by palotasb in "Nobody Understands C++: Intro (2007)"]]></title><description><![CDATA[
<p>(2007)</p>
]]></description><pubDate>Sun, 29 Oct 2023 10:06:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=38057132</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=38057132</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38057132</guid></item><item><title><![CDATA[New comment by palotasb in "Writing a Package Manager"]]></title><description><![CDATA[
<p>What do you mean by OCI and KCL?</p>
]]></description><pubDate>Wed, 23 Aug 2023 12:56:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=37235122</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=37235122</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37235122</guid></item><item><title><![CDATA[New comment by palotasb in "What learning APL taught me about Python"]]></title><description><![CDATA[
<p><i>bool</i> is explicitly documented to be a subclass of <i>int</i> [1][2], so while it might be an obscure feature, or subjectively not someone's preferred style, I don't see any typing related issue. In general I don't think that treating an object as if it were an instance of one of its base classes is weak typing.<p>[1]: <a href="https://docs.python.org/3/library/functions.html?highlight=subclass#bool" rel="nofollow noreferrer">https://docs.python.org/3/library/functions.html?highlight=s...</a><p>[2]: <a href="https://docs.python.org/3/library/stdtypes.html#boolean-values" rel="nofollow noreferrer">https://docs.python.org/3/library/stdtypes.html#boolean-valu...</a></p>
]]></description><pubDate>Thu, 17 Aug 2023 08:53:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=37158951</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=37158951</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37158951</guid></item><item><title><![CDATA[New comment by palotasb in "The rule says, “No vehicles in the park”"]]></title><description><![CDATA[
<p>From the game's rules:<p>> You might know of some rule in your jurisdiction which overrides local rules, and allows certain classes of vehicles. Please disregard these rules; the park isn't necessarily in your jurisdiction. [...] please answer the question of whether the rule is violated (not whether the violation should be allowed).<p>You:<p>> obviously police and ambulances (and fire trucks) doing their jobs don't have to follow the sign<p>Even having read your reply it is not obvious to me what you answered. Did you answer <i>yes</i>, the police etc. are violating the rule only adding a note for us tha, or did you answer <i>no</i>, thinking that this doesn't count as a violation?<p>To me the overall discussion, but especially the disagreement about emergency services and bicycles proves the point of the original article.</p>
]]></description><pubDate>Sat, 24 Jun 2023 18:44:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=36461522</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=36461522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36461522</guid></item><item><title><![CDATA[New comment by palotasb in "Ask HN: IP cameras that don't require an app or internet?"]]></title><description><![CDATA[
<p>Think about oil rigs or coal mines where all electronics are potential sources of sparks/arcs and thus explosions.</p>
]]></description><pubDate>Fri, 23 Jun 2023 19:51:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=36451456</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=36451456</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36451456</guid></item><item><title><![CDATA[New comment by palotasb in "Why do recipe writers lie about how long it takes to caramelize onions? (2012)"]]></title><description><![CDATA[
<p>> she claims that virtually all recipe books are made like this<p>Most recipe books have pictures, how are those created then?</p>
]]></description><pubDate>Tue, 23 May 2023 07:33:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=36041123</link><dc:creator>palotasb</dc:creator><comments>https://news.ycombinator.com/item?id=36041123</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36041123</guid></item></channel></rss>