<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: adrianratnapala</title><link>https://news.ycombinator.com/user?id=adrianratnapala</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 30 Apr 2026 02:07:02 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=adrianratnapala" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by adrianratnapala in "What's Coming in Python 3.8"]]></title><description><![CDATA[
<p>Yes, although you don't have to be <i>so</i> perlish as to do the if in that order<p><pre><code>    do:
        thing()
        thing()
        if condition:
            continue</code></pre></p>
]]></description><pubDate>Thu, 18 Jul 2019 03:16:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=20466379</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20466379</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20466379</guid></item><item><title><![CDATA[New comment by adrianratnapala in "To Save a Neighborhood, Ban a Dollar Store?"]]></title><description><![CDATA[
<p>It is not always economically rational though.  The US has a history of using eminent domain to grab neighbourhoods full of small businesses so that they can be turned over to a big development projects of nominally higher value.  Then the big developer pulls out or goes bankrupt, and the result is a ruined, rat-infested empty lot.<p>Those cases involving eminent domain and rats are the most dramatic, but it works at a more pedestrian level too.  Say a government wants to dispose of some disused rail-yard or something.  A developer who says "I'm going build some big shiny shops and attractions here" has better optics than a developer who says "I'm going to lay down some infrastructure and parcel the land up to whoever wants to buy it, nature will decide what the land is used for".<p>The latter is actually quite likely to produce the higher economic value land use, but there is no good political narrative.  And in a world of strict zoning rules, there might not even be a legal framework for it.</p>
]]></description><pubDate>Thu, 18 Jul 2019 01:34:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=20465859</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20465859</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20465859</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Why did we wait so long for the bicycle?"]]></title><description><![CDATA[
<p>> Right, that's how you could plausibly have made one or two, as a palace amusement, or a circus act. It's a little surprising this didn't happen (as far as I know).<p>You also need people to ride it.  It wouldn't fly as a palace amusement because the king (and more importantly the little prince) would keep falling off.  They won't have an incentive to value the skill until there is a horde of middle-class, 19th century, hipsters showing him up.<p>A circus act is more plausible, but only if there's some continuum of other simpler circus equipment leading up to this rather sophisticated bit of engineering.</p>
]]></description><pubDate>Mon, 15 Jul 2019 22:12:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=20445777</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20445777</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20445777</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Why did we wait so long for the bicycle?"]]></title><description><![CDATA[
<p>> That does not sound like a good argument at all. Metal for vast majority of human history gave you massive edge in weapon technology. Some Mandarin just shut something like that down? Seems super unlikely<p>The assumption here is that every thing works in a clear way so you can see the military or whatever advantages of a particular phenomenon.  Now I don't know if AnimalMuppet is literally correct that the bureaucracy simply shut down the steel industry -- but if it happened it would be because all that cheep steel was not being used for obvious things, like the imperial army, but for other unexpected uses.  Maybe arms and armour still had to be made the old fashioned way anyhow, so there was no immediate military advantage.<p>More likely, things were subtler.  Things innovations can strangled long before their importance is clear.  Imperial China had a vibrant merchant class, but it isn't the kind of place that is likely to tolerate the "disruptive innovation" which fuelled Britain's Industrial Revolution -- where a bunch of upstarts come and do things with unexpected things.  Even modern China (or for that matter the modern United States) struggles with it.</p>
]]></description><pubDate>Mon, 15 Jul 2019 22:07:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=20445753</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20445753</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20445753</guid></item><item><title><![CDATA[New comment by adrianratnapala in "You Only Need to Test with 5 Users (2000)"]]></title><description><![CDATA[
<p>That's one part of it.<p>Another part is hiring a breed of test engineers who like breaking stuff and have a knack for it.</p>
]]></description><pubDate>Mon, 15 Jul 2019 21:56:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=20445664</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20445664</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20445664</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Servants Without Masters"]]></title><description><![CDATA[
<p>Fair enough.</p>
]]></description><pubDate>Mon, 15 Jul 2019 04:20:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=20438086</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20438086</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20438086</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Servants Without Masters"]]></title><description><![CDATA[
<p>Which is an example of the the euphemism treadmill.  Secretary means secret-keeper and has built into it connotations at least of trust and often of power.  Which is why top officials of many great ministries ion are called <i>secretaries</i>.<p><a href="https://www.youtube.com/watch?v=G7Xgd7Cjm98" rel="nofollow">https://www.youtube.com/watch?v=G7Xgd7Cjm98</a></p>
]]></description><pubDate>Mon, 15 Jul 2019 03:52:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=20438003</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20438003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20438003</guid></item><item><title><![CDATA[New comment by adrianratnapala in "You Only Need to Test with 5 Users (2000)"]]></title><description><![CDATA[
<p>That's OK, we nowadays use icons that don't make sense to anyone at all.  I mean how would you know that three horizontal lines was a "Hamburger menu", and if you do know that, why would you want a Hamburger?</p>
]]></description><pubDate>Mon, 15 Jul 2019 03:09:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=20437839</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20437839</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20437839</guid></item><item><title><![CDATA[New comment by adrianratnapala in "You Only Need to Test with 5 Users (2000)"]]></title><description><![CDATA[
<p>It sounds like this guys employer has taken first step to inventing QA.<p>There's whole classes of highly paid engineers whose job is to do this.  But they work for old fashioned, boring, companies.</p>
]]></description><pubDate>Mon, 15 Jul 2019 03:06:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=20437828</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20437828</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20437828</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Netlify Analytics"]]></title><description><![CDATA[
<p>> ... and watch as your page hit Slashdot...<p>And then fall over?<p>I miss the days of The Slashdot Effect[1].  Now it's the JS that makes my PC fall over.<p>[1] Come to think of it <i>The Slashdot Effect</i> would have been a good band name back in the '90s.</p>
]]></description><pubDate>Thu, 11 Jul 2019 05:19:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=20409307</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20409307</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20409307</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Python consumes a lot of memory – how to reduce the size of objects?"]]></title><description><![CDATA[
<p>> Your code won't be pretty,<p>Depends on the algorithms that use that code.  Two separate arrays is not a bad way to represent a vector-of-tuples.  And so if you think of everything as a vectorised operation (and if that makes sense for your use case) then the code can be clean enough.<p>Efficiency-wise it depends on how the locality of reference falls out.  There are cases where it's more cache-efficient to store the pairs next to each other, but again for big vectorised operations you might lose nothing by using two cache-ways instead of one.</p>
]]></description><pubDate>Thu, 11 Jul 2019 05:12:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=20409285</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20409285</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20409285</guid></item><item><title><![CDATA[New comment by adrianratnapala in "OpenBSD Is Now My Workstation"]]></title><description><![CDATA[
<p>I would put it the other way around.  wpa_supplicant is actually very good at doing what it does.  But rolling it's functionality into ifconfig is probably "good enough".<p>wpa_supplicant is an application of the "do one thing" philosophy.  The kernel provides a some basic hardware-abstracted plumbing which lets a specialist tool do all the complicated handshaking and what-not for wireless.<p>This saves the basic tools (ifconfig, ip) from having to build in all that wireless complexity.  But it does introduce an extra moving part that has to be configured.  For this reason, just bloating it into the basic tool is likely to be good enough, and also provider a superior UX (for nerds like us).</p>
]]></description><pubDate>Wed, 10 Jul 2019 23:47:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=20407768</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20407768</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20407768</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Data Still Dominates"]]></title><description><![CDATA[
<p>Is it because people or so young, or that the pipeline to become a junior-but-still-responsible person goes through schools rather than something like an apprenticeship.</p>
]]></description><pubDate>Wed, 10 Jul 2019 06:12:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=20399520</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20399520</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20399520</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Rsync, GUIs, power, control, design, and decisions"]]></title><description><![CDATA[
<p>> Unison <a href="https://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow">https://www.cis.upenn.edu/~bcpierce/unison/</a> is a tool to keep two folder structures in sync - that is its main goal but it can have other uses.<p>And though I tend to be a GUI hater, Unison is one tool where I find the GUI much more useful than the command line alone.  The game is to iteratively come up with a set of rules which Unison will use to into effect on your dataset.  The GUI quickly show you the effect of your current rules, and lets you propose the next iteration etc.</p>
]]></description><pubDate>Wed, 10 Jul 2019 05:10:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=20399289</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20399289</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20399289</guid></item><item><title><![CDATA[New comment by adrianratnapala in "IBM Closes Acquisition of Red Hat for $34B"]]></title><description><![CDATA[
<p>I think is what people might call "knowledge capital", "intellectual capital" or some such vague term.<p>In my experience IP corresponds specifically to legally recognised property in otherwise copyable information.</p>
]]></description><pubDate>Wed, 10 Jul 2019 01:38:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=20398489</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20398489</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20398489</guid></item><item><title><![CDATA[New comment by adrianratnapala in "France to tax flights from its airports, airline shares fall"]]></title><description><![CDATA[
<p>> But a robust and affordable air travel network is a capability the business world needs to operate our economy.<p>Then the business world can pay for it through ticket prices.</p>
]]></description><pubDate>Wed, 10 Jul 2019 01:30:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=20398450</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20398450</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20398450</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Apple Updates Air, Pro Laptops, Kills Off the MacBook"]]></title><description><![CDATA[
<p>How is that a contrary view.  That guy seems very happy with the Ubuntu and X1 combo.  Though he does spend a <i>long</i> time obsessing about the battery, after his initial take was "yup, it's good enough for me".</p>
]]></description><pubDate>Wed, 10 Jul 2019 00:47:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=20398238</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20398238</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20398238</guid></item><item><title><![CDATA[New comment by adrianratnapala in "Apple Updates Air, Pro Laptops, Kills Off the MacBook"]]></title><description><![CDATA[
<p>So that you can SSH into it from your server?</p>
]]></description><pubDate>Tue, 09 Jul 2019 23:13:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=20397718</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20397718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20397718</guid></item><item><title><![CDATA[New comment by adrianratnapala in "OpenBSD Is Now My Workstation"]]></title><description><![CDATA[
<p>Does OpenBSD have an alternative to wpa_supplicant?<p>I've been using wpa_supplicant under the hood for ages, but only recently learned anything about it... and it's actually very good, except that it's CLI interface is so low-level and difficult to use.</p>
]]></description><pubDate>Wed, 03 Jul 2019 22:45:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=20349676</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20349676</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20349676</guid></item><item><title><![CDATA[New comment by adrianratnapala in "A Failed Experiment with Python Type Annotations"]]></title><description><![CDATA[
<p>Circular references like that are called "recursive types" in formal type theory.  They are one of those big issues that academics like to write papers about.<p>Even if you just want to write a practical interpreter, and choose to gloss over the issues, they will still come back in  some disguised form and either by requiring some sort of implementation kludge, or just by creating weird edge cases.</p>
]]></description><pubDate>Wed, 12 Jun 2019 03:15:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=20161457</link><dc:creator>adrianratnapala</dc:creator><comments>https://news.ycombinator.com/item?id=20161457</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20161457</guid></item></channel></rss>