<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: stewartbutler</title><link>https://news.ycombinator.com/user?id=stewartbutler</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 29 Sep 2026 10:12:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=stewartbutler" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by stewartbutler in "What’s Wrong with Bananas (2018)"]]></title><description><![CDATA[
<p>Eh, they definitely aren't fit for major cultivation anymore, but you can still find them.<p>I picked up a basket (with a bunch of other varieties) from miamifruit.org a while back. They can't ship a lot of things to California, but if you live elsewhere in the lower 48 you should check them out.</p>
]]></description><pubDate>Fri, 17 Feb 2023 15:38:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=34835836</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=34835836</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34835836</guid></item><item><title><![CDATA[New comment by stewartbutler in "YouTube CEO Susan Wojcicki is stepping down"]]></title><description><![CDATA[
<p>As a stopgap, you can use a URL redirector:<p><pre><code>    Redirect: https://www.youtube.com/shorts/*
    to: https://www.youtube.com/watch?v=$1</code></pre></p>
]]></description><pubDate>Thu, 16 Feb 2023 19:01:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=34823885</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=34823885</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34823885</guid></item><item><title><![CDATA[New comment by stewartbutler in "Utilities Want to Convert Coal Plants to Nuclear; Skeptics Abound"]]></title><description><![CDATA[
<p>Note that each grid square is 1 mile by 1 mile. Long history of that, it is an interesting historical rabbit hole.<p>An interesting historical note is that across much of the west, each of those mile square sections was divided up into 16 pieces at 40-acres, which IIRC was the smallest unit of land you could purchase from the federal government.<p>You'll still find a lot of old homestead remnants across the west -- I used to climb through a few of them on a ranch I spent time at as a kid.<p>See:<p>- <a href="https://en.wikipedia.org/wiki/Section_(United_States_land_surveying)" rel="nofollow">https://en.wikipedia.org/wiki/Section_(United_States_land_su...</a><p>- <a href="https://en.wikipedia.org/wiki/Public_Land_Survey_System" rel="nofollow">https://en.wikipedia.org/wiki/Public_Land_Survey_System</a><p>- <a href="https://en.wikipedia.org/wiki/Land_Ordinance_of_1785" rel="nofollow">https://en.wikipedia.org/wiki/Land_Ordinance_of_1785</a></p>
]]></description><pubDate>Wed, 20 Apr 2022 05:31:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=31093192</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=31093192</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31093192</guid></item><item><title><![CDATA[New comment by stewartbutler in "Why “process substitution” is a late feature in Unix shells"]]></title><description><![CDATA[
<p>Kinda-sorta related, you can pipe to a multivariable loop:<p><pre><code>    paste <(printf "a\nb\nc\n") <(printf "1\n2\n3\n") | while </code></pre>
read x y; do echo "$y -- $x"; done<p>Kinda silly for this example, but <i>very</i> useful in things like `kubectl` pipelines -- you can do something like this:<p><pre><code>    kubectl get pods --all-namespaces | awk '{print $1 " " $2}' | grep "doesntexist" | while read x y; do kubectl delete pod $y --namespace $x --wait=false; done
</code></pre>
This lets you list all pods in a cluster, grep a selection of them by name, and delete them in a batch, regardless of which namespace they are in, while shuffling the order of args into different flags.</p>
]]></description><pubDate>Sat, 08 Jan 2022 01:24:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=29847527</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=29847527</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29847527</guid></item><item><title><![CDATA[New comment by stewartbutler in "Bash patterns I use weekly"]]></title><description><![CDATA[
<p>I've always had trouble getting `for` loops to work predictably, so my common loop pattern is this:<p><pre><code>    grep -l -r pattern /path/to/files | while read x; do echo $x; done
</code></pre>
or the like.<p>This uses bash read to split the input line into words, then each word can be accessed in the loop with variable `$x`. Pipe friendly and doesn't use a subshell so no unexpected scoping issues. It also doesn't require futzing around with arrays or the like.<p>One place I <i>do</i> use bash for loops is when iterating over args, e.g. if you create a bash function:<p><pre><code>    function my_func() {
        for arg; do
            echo $arg
        done
    }
</code></pre>
This'll take a list of arguments and echo each on a separate line. Useful if you need a function that does some operation against a list of files, for example.<p>Also, bash expansions (<a href="https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html" rel="nofollow">https://www.gnu.org/software/bash/manual/html_node/Shell-Par...</a>) can save you a ton of time for various common operations on variables.</p>
]]></description><pubDate>Tue, 23 Nov 2021 19:18:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=29322003</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=29322003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29322003</guid></item><item><title><![CDATA[New comment by stewartbutler in "Ivermectin for the Treatment of Covid-19: A Systematic Review and Meta-analysis"]]></title><description><![CDATA[
<p>This idiocy is killing people. Stop peddling it. Get the vaccine.</p>
]]></description><pubDate>Thu, 02 Sep 2021 04:46:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=28388742</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=28388742</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28388742</guid></item><item><title><![CDATA[New comment by stewartbutler in "Google suggest vi for Emacs and Emacs for vi"]]></title><description><![CDATA[
<p>I'm fond of "Alex Trebek" including "Did you mean: Who is Alex Trebek." Nice homage.<p><a href="https://www.google.com/search?q=alex+trebek" rel="nofollow">https://www.google.com/search?q=alex+trebek</a></p>
]]></description><pubDate>Thu, 10 Dec 2020 14:41:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=25374128</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=25374128</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25374128</guid></item><item><title><![CDATA[New comment by stewartbutler in "The Google Cemetery – A list of dead Google products and why they died"]]></title><description><![CDATA[
<p>Glass is still around and under active development, it just isn't a consumer product. It is in use by several enterprises, mostly factories and warehouses.<p>My read on it is that it was never intended to be a consumer project as soon as they launched it (which explains the lack of polish), but the high level of interest when it was announced convinced them to launch it as one just in case they had stumbled on the next big thing. When that failed to materialize, they dropped it back to a research and enterprise project as was initially intended.</p>
]]></description><pubDate>Thu, 22 Nov 2018 14:21:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=18510110</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=18510110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18510110</guid></item><item><title><![CDATA[New comment by stewartbutler in "Darpa invests $100M in a silicon compiler"]]></title><description><![CDATA[
<p>If you have access to a laser cutter you can make a pretty decent solder stencil by folding some clear package tape (so all adhesive is on the inside) and having it cut out the hole pattern. Lay it down on the PCB, squeegee some solder paste over it like you would a real solder mask, and carefully peel the tape up.<p>Been a few years, but IIRC a labmate of mine got a few units of .5mm highish ball count to work using that process and a toaster oven, but it is a bitch to test.<p>Would maybe do for a hobby project assuming you have access the equipment (e.g. a hackerspace or something) and are willing to drop a buttload of time into trying to get it to work, but if you are working for someone it is probably more cost effective to save the manhours and get it done by someone with the right equipment.</p>
]]></description><pubDate>Sat, 30 Jun 2018 02:23:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=17429163</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=17429163</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17429163</guid></item><item><title><![CDATA[New comment by stewartbutler in "Intel's First 10nm Cannon Lake CPU Confirmed"]]></title><description><![CDATA[
<p>> Interestingly, there doesn't appear to be evidence that the CPU includes an integrated graphics processor - something that's listed in detail on the product page of the Coffee Lake-based Core i3-8109U. This could simply be down to the fact that Intel does not wish to reveal details of the onboard graphics of Cannon Lake CPUs at this time, or it's decided to cut the feature out of certain product ranges in favor of using separate graphics cards.<p>I wonder if they may have cut onboard graphics to increase yield by lowering the bar for a QA pass in the lower product ranges. If they are having process difficulties at 10nm, that would allow them to push some of what would normally be rejected to market.</p>
]]></description><pubDate>Wed, 16 May 2018 20:47:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=17086328</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=17086328</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17086328</guid></item><item><title><![CDATA[New comment by stewartbutler in "Self-driving Uber car kills Arizona woman crossing street"]]></title><description><![CDATA[
<p>Interesting question here: did Uber have authorization to operate automated in AZ? If not, and they had a human operator behind the wheel as a backup, is that human liable for manslaughter charges for not being in control of the vehicle?</p>
]]></description><pubDate>Mon, 19 Mar 2018 21:37:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=16623453</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=16623453</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16623453</guid></item><item><title><![CDATA[New comment by stewartbutler in "Many medical devices on the market have undergone no clinical testing"]]></title><description><![CDATA[
<p>And yet another: Dimethyl Sulfoxide can be used to (cheaply) treat a ton of different things, but has been blocked by the FDA for use in all but a very small number of cases (bladder pain syndrome). Amongst other things, is <i>extremely</i> good at reducing swelling without the use of steroids, and is often used in gel form to treat inflammation.<p>If you want to use it, though, you have to leave the US or have a veterinarian as a friend. An acquaintance of mine gets DMSO gel used on horses to treat inflammation from a vet and uses it to reduce swelling in his back (has had multiple major spinal surgeries).<p>The common conspiracy theory is that DMSO is too cheap and treats too broad a category of ailments, so drug companies are lobbying against it with the FDA any time it comes up, as it would jeopardize the revenue streams from steroidal anti-inflammatory drugs, painkillers, etc.<p><a href="https://en.wikipedia.org/wiki/Dimethyl_sulfoxide#Medicine" rel="nofollow">https://en.wikipedia.org/wiki/Dimethyl_sulfoxide#Medicine</a>
<a href="http://www.dmso.org/articles/information/muir.htm" rel="nofollow">http://www.dmso.org/articles/information/muir.htm</a></p>
]]></description><pubDate>Fri, 16 Feb 2018 00:36:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=16389026</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=16389026</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16389026</guid></item><item><title><![CDATA[New comment by stewartbutler in "A Student Loan Nightmare: The Teacher in the Wrong Payment Plan"]]></title><description><![CDATA[
<p>"No child left behind" and similar initiatives that lead to perverted incentives that the teachers bear the brunt of. Also low pay and no respect.</p>
]]></description><pubDate>Sun, 29 Oct 2017 18:38:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=15580608</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=15580608</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15580608</guid></item><item><title><![CDATA[New comment by stewartbutler in "Robocalls have triumphed over the Do Not Call list"]]></title><description><![CDATA[
<p>If you use a standard sip port without filtering you will get a load of autocalls from people just portscanning and calling open IP addresses, probably looking to gain access to unsecured pbx boxes. I just have a single sip phone, no pbx, so they come across as calls. Nonstandard port fixes that. Probably not the most secure solution though, intended to be temporary.</p>
]]></description><pubDate>Sat, 04 Jun 2016 17:15:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=11837052</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11837052</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11837052</guid></item><item><title><![CDATA[New comment by stewartbutler in "Common shell script mistakes (2008)"]]></title><description><![CDATA[
<p>So many edge cases. I prefer to just use perl if I am doing anything more complicated than making a wrapper for some other executable. Harder to screw up, easier to test, same expressiveness, better portability (works with all shells and with windows), plus you get regular expressions for free.<p>Python is a good alternative as well.</p>
]]></description><pubDate>Sat, 04 Jun 2016 09:18:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=11835637</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11835637</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11835637</guid></item><item><title><![CDATA[New comment by stewartbutler in "Robocalls have triumphed over the Do Not Call list"]]></title><description><![CDATA[
<p>nomorobo + nonstandard sip port + voip.ms has weporked pretty well here.</p>
]]></description><pubDate>Sat, 28 May 2016 19:28:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=11793020</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11793020</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11793020</guid></item><item><title><![CDATA[New comment by stewartbutler in "ZFS lands in Debian contrib"]]></title><description><![CDATA[
<p>You can build it, but it is limited to the smallest device in the vdev, so the array will appear to only have three devices of 64m available. Though you can replace all smaller disks and grow it.</p>
]]></description><pubDate>Wed, 18 May 2016 01:20:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=11719029</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11719029</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11719029</guid></item><item><title><![CDATA[New comment by stewartbutler in "ZFS lands in Debian contrib"]]></title><description><![CDATA[
<p>ZFS does support different sized drives, and you can add disks to a pool easily.<p>It does not support different sized drives in a raidz (equivalent to an mdadm array), as far as I know, but you can mix raidz and singular drives in a pool, though that is a bit silly. It also does not support adding disks to a raidz, which is equivalent to growing a raid5 or raid6 array, which is admittedly a pain in the ass.</p>
]]></description><pubDate>Sat, 14 May 2016 11:28:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=11695628</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11695628</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11695628</guid></item><item><title><![CDATA[New comment by stewartbutler in "Seattle vigilante reuniting stolen bikes with their owners"]]></title><description><![CDATA[
<p>I have the feeling that someone trying this in Atlanta would just get themselves shot. Hopefully nobody around here is inspired by this.</p>
]]></description><pubDate>Sun, 24 Apr 2016 23:26:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=11561816</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11561816</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11561816</guid></item><item><title><![CDATA[New comment by stewartbutler in "MacBook gets a Skylake speed boost, 8GB of memory, longer battery life"]]></title><description><![CDATA[
<p>Being unable to stand looking at your computer for extended periods of time will probably do wonders for combating code bloat.</p>
]]></description><pubDate>Tue, 19 Apr 2016 13:37:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=11526800</link><dc:creator>stewartbutler</dc:creator><comments>https://news.ycombinator.com/item?id=11526800</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11526800</guid></item></channel></rss>