<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: gregwebs</title><link>https://news.ycombinator.com/user?id=gregwebs</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 05 Jun 2026 21:13:08 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gregwebs" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gregwebs in "Samurai City"]]></title><description><![CDATA[
<p>This is fascinating after learning about and rading Peter Turchin's concept of Eelite overproduction [1]. The theory is that much of society's conflicts are actually fights between the elite and that this happens when the elite start fighting for the same resources.<p>From that point of view they seemed to have created a system that stopped the elites from starting wars with each other by imprisoning their families. And although they levered high taxes they did force many elites to accept a small amount of resources per elite to the point that some in elite status were effectively poor. Instead of money they got status and a title.<p>[1] <a href="https://en.wikipedia.org/wiki/Elite_overproduction" rel="nofollow">https://en.wikipedia.org/wiki/Elite_overproduction</a></p>
]]></description><pubDate>Fri, 05 Jun 2026 02:19:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48407188</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=48407188</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48407188</guid></item><item><title><![CDATA[New comment by gregwebs in "Meta enables ADB on deprecated Portal devices [video]"]]></title><description><![CDATA[
<p>Is this the same Portal device that they disabled every feature on other than Messenger and WhatsApp calls that I can now only use as a bluetooth speaker?</p>
]]></description><pubDate>Fri, 05 Jun 2026 01:20:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=48406860</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=48406860</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48406860</guid></item><item><title><![CDATA[New comment by gregwebs in "Solar-based sleep patterns compared to modern norms"]]></title><description><![CDATA[
<p>I see these claims pop up occasionally and I have found them both very overstated but potentially insightful.<p>With a perspective that goes farther back in time and a wider geography the sleep patterns promoted here as universal simply stated are not.<p>However, humans have always been flexible in their sleep patterns, and a lot of modern sleep pattern promotion is overly inflexible.<p>There are studies of hunter gatherers that lived close to the equator. Most of them did not nap most of the time, but in the summer they might nap during the day 20% of the time. They usually slept 6-7 hours in one stretch. [1]<p>But sleep was very flexible. In some cultures people would go to sleep at different times so there was always someone around the campfire. Mothers would nurse babies. Some cultures might for example once a month during a full moon stay up and party at night and then nap a lot the next day. And the sleep patterns mentioned in the submitted article show further flexibility.<p>Your sleep quality is likely a lot lower than a hunter gather due to modern light pollution, ability to use devices and have entertainment at night, and a lot of other factors. Unless you are monitoring your sleep with tracking devices there is a good chance you are probably getting a lot less (like an hour) than you might think.  So committing to a 9 hour sleep window is still a good idea even if it might be natural in ideal settings to sleep for just 7 hours. Ultimately though you want to feel well rested with energy for your day rather than satisfying a belief system about sleep.<p>My approach with young children is to go to bed early so that if I get woken up I can deal with that and have time to go back to sleep. I might end up in the biphasic pattern of northern Europe sometimes with that. There was a time where I more intentionally tried to take a short nap during the day. But now I just take a nap if I feel tired.<p>References<p><pre><code>  * [1] Hunter Gather Sleep study: https://www.cell.com/current-biology/fulltext/S0960-9822(15)01157-4
  * Why We Nap
  * The Old Way
  * Keep the River on Your Right</code></pre></p>
]]></description><pubDate>Fri, 15 May 2026 11:13:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=48147175</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=48147175</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48147175</guid></item><item><title><![CDATA[New comment by gregwebs in "Spain has become one of Europe’s cheapest power markets"]]></title><description><![CDATA[
<p>I think Spain is showing that majority renewables can work, if you are willing to work through the pain. Someone needs to lead the way and figure out how to make it work, so I am glad they are doing it. I do think this article and most information is focused on cheer-leading rather than telling it like it is.<p>This title of the article is misleading. Spain is one of the cheapest power generation markets, but In the article it states "Spanish households pay above the EU average". Then the reason is stated "Other system costs are rising. The flip side of getting energy cheap is paying more elsewhere to keep the system stable.".<p>Spain of course also had a blackout and the article states "every country in Europe needs to modernise how it handles voltage stability". I believe that's code for "its harder to manager power transmission grids with renewables". I have been told by a power engineer that read the report on the blackout that the authors are going out of their way not to explicitly blame renewables, but these things that caused the blackout are bigger issues now due to the switch to renewables.<p>But it makes sense for Spain to continue down this path and not pollute with coal or rely on other countries for gas imports.</p>
]]></description><pubDate>Mon, 11 May 2026 01:26:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=48090044</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=48090044</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48090044</guid></item><item><title><![CDATA[New comment by gregwebs in "IEA: Solar overtakes all energy sources in a major global first"]]></title><description><![CDATA[
<p>I think 2) is a lot more complicated to the point statements like that are misleading.<p>Take a look Graph of energy consumption of China which is about double the US: <a href="https://ourworldindata.org/profile/energy/china" rel="nofollow">https://ourworldindata.org/profile/energy/china</a><p>The energy consumption of the United States has flat lined: <a href="https://ourworldindata.org/profile/energy/united-states" rel="nofollow">https://ourworldindata.org/profile/energy/united-states</a><p>One can argue that the US and Europe have maintained a low energy consumption by de-indusrializing and having China produce all the energy (largely with coal!) to manufacture their goods instead of manufacturing it themselves.<p>1) Is a lot more complicated as well. A simple ICE vs EV comparison ignores electric grid generation efficiency and transmission losses as well as the massive energy cost of manufacturing the battery.</p>
]]></description><pubDate>Mon, 20 Apr 2026 13:38:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47834162</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=47834162</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47834162</guid></item><item><title><![CDATA[New comment by gregwebs in "IEA: Solar overtakes all energy sources in a major global first"]]></title><description><![CDATA[
<p>These reports are inferring a lot from 1 year trends that are often changing only around 1%. Certainly it is great if new energy is coming mostly from cleaner sources, but the idea that we are actually getting rid of the non clean sources is something we should be skeptical of.<p>This graph shows all energy usage over time:
<a href="https://ourworldindata.org/grapher/global-primary-energy" rel="nofollow">https://ourworldindata.org/grapher/global-primary-energy</a><p>New energy sources have always been additive. We have never gotten rid of an energy source unless we exhausted the resource or it got prohibitively expensive (whale blubber having a population collapse). Coal is far more polluting then any other fuel source and globally we aren't reducing its usage. This graph is not updated for 2026, but I doubt the message will change much.<p>As we now undergo a worldwide population decline things might change. But at the same time we are also introducing energy intensive technologies: AI and robots, so there is no clear end in sight to increased energy consumption yet.</p>
]]></description><pubDate>Mon, 20 Apr 2026 12:44:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47833478</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=47833478</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47833478</guid></item><item><title><![CDATA[New comment by gregwebs in "Understanding the Go Compiler: The Linker"]]></title><description><![CDATA[
<p>The difference is that Go has its own linker rather than using a system linker. Another article could explain the benefits of tighter integration and the drawbacks of this approach. Having its own toolchain I assume is part of what enables the easy cross compilation of Go.</p>
]]></description><pubDate>Sat, 14 Feb 2026 12:12:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=47013966</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=47013966</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47013966</guid></item><item><title><![CDATA[New comment by gregwebs in "We chose OCaml to write Stategraph"]]></title><description><![CDATA[
<p>Functional programming is immutable by default. TypeScript and many other typed languages don't really stop you from clobbering things, particularly with concurrency. Rust does. But immutability with GC is a lot easier to use than Rust if you don't need the performance of Rust.</p>
]]></description><pubDate>Fri, 07 Nov 2025 13:39:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=45846222</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=45846222</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45846222</guid></item><item><title><![CDATA[New comment by gregwebs in "America Is Sliding Toward Illiteracy"]]></title><description><![CDATA[
<p>The recent move away from phonics has been disastrous, and states that are using phonics now are seeing better results.<p>> Some have called it the “Mississippi miracle” ...<p>> A clear policy story is behind these improvements: imposing high standards while also giving schools the resources they needed to meet them. In 2013, Mississippi enacted a law requiring that third graders pass a literacy exam to be promoted to the next grade. It didn’t just issue a mandate, though; it began screening kids for reading deficiencies, training instructors in how to teach reading better (by, among other things, emphasizing phonics), and hiring literacy coaches to work in the lowest-performing schools. Louisiana’s improvements came about after a similar policy cocktail was administered, starting in 2021.<p>I would be interested to know more about the approach with literacy coaches. I donate to a charity that does 1 on 1 reading tutoring: <a href="https://readingpowerinc.org/" rel="nofollow">https://readingpowerinc.org/</a><p>If we cannot as a society teach our children how to read, something is very wrong and we need to invest heavily in fixing it.</p>
]]></description><pubDate>Tue, 14 Oct 2025 21:25:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=45585164</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=45585164</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45585164</guid></item><item><title><![CDATA[New comment by gregwebs in "Meta Ray-Ban Display"]]></title><description><![CDATA[
<p>Is there a way to just use this as a computer monitor?
That’s what the Viture glasses are and it’s great to have a portable monitor that focuses at a longer distance.</p>
]]></description><pubDate>Thu, 18 Sep 2025 06:23:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45286174</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=45286174</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45286174</guid></item><item><title><![CDATA[New comment by gregwebs in "I ditched Spotify and set up my own music stack"]]></title><description><![CDATA[
<p>Navidrome looks nice but it looks like it is Desktop only. I am using Plexamp as well. I tried some alternatives but couldn't get them to work reliably. People miss Plexamp as an option because they try the regular Plex app and not the simplified Plexamp.</p>
]]></description><pubDate>Thu, 04 Sep 2025 23:54:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=45133581</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=45133581</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45133581</guid></item><item><title><![CDATA[New comment by gregwebs in "60% of medal of honor recipients are Irish or Irish-American"]]></title><description><![CDATA[
<p>The book Born Fighting by Jim Webb explains the historical and cultural background of the Scotch Irish including how they value bravery and have been ready to fight for their freedom and beliefs.</p>
]]></description><pubDate>Sat, 09 Aug 2025 17:22:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=44848343</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44848343</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44848343</guid></item><item><title><![CDATA[New comment by gregwebs in "Bits 0x02: switching to orion as a browser"]]></title><description><![CDATA[
<p>I like Orion on iOS- it’s Safari without all the ads showing up. I can run the DarkReader extension at night just like Safari. Unfortunately it’s the most unstable software on my phone- at times regularly freezing up and then I switch back to Safari.</p>
]]></description><pubDate>Mon, 28 Jul 2025 12:19:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=44710110</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44710110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44710110</guid></item><item><title><![CDATA[New comment by gregwebs in "Speeding up my ZSH shell"]]></title><description><![CDATA[
<p>I switched from Oh My Zsh to ZimFW because they have benchmarks showing it is faster: <a href="https://github.com/zimfw/zimfw">https://github.com/zimfw/zimfw</a></p>
]]></description><pubDate>Mon, 21 Jul 2025 00:44:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44630783</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44630783</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44630783</guid></item><item><title><![CDATA[New comment by gregwebs in "How renewables are saving Texans billions"]]></title><description><![CDATA[
<p>Texas is one of the best climates in the US for renewables but in locations with less sun and wind the math will be different. That math includes batteries for load shifting of which Texas is installing a lot.<p>As renewable generation increases past a certain level grid stability does require additional effort and that’s a lot more difficult to price in. In Texas their grid is isolated from the rest of the US. This may create a lower ceiling on renewables since they can’t send excess generation anywhere other than their own batteries .</p>
]]></description><pubDate>Wed, 25 Jun 2025 05:21:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44373862</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44373862</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44373862</guid></item><item><title><![CDATA[New comment by gregwebs in "Show HN: Workout.cool – Open-source fitness coaching platform"]]></title><description><![CDATA[
<p>Liftosaur is an interesting project in this space that I use for tracking my weight lifting. The lifting routine is programmable and shareable. They have a database of exercises that are based around linking to YouTube videos.<p><a href="https://www.liftosaur.com/" rel="nofollow">https://www.liftosaur.com/</a></p>
]]></description><pubDate>Thu, 19 Jun 2025 10:51:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=44317367</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44317367</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44317367</guid></item><item><title><![CDATA[New comment by gregwebs in "Weaponizing Dependabot: Pwn Request at its finest"]]></title><description><![CDATA[
<p>I passed SOC2 with dependabot set to only perform security updates</p>
]]></description><pubDate>Sat, 07 Jun 2025 10:19:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=44208686</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44208686</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44208686</guid></item><item><title><![CDATA[New comment by gregwebs in "Structured Errors in Go (2022)"]]></title><description><![CDATA[
<p>There are several existing Go error libraries with a similar approach sans context.<p>The approach I ended up taking is to use slog attributes. It allows for reuse of existing logging attributes.<p>This is explained here (skip to the “adding metadata” portion). <a href="https://blog.gregweber.info/blog/go-errors-library/" rel="nofollow">https://blog.gregweber.info/blog/go-errors-library/</a><p>Go package: <a href="https://pkg.go.dev/github.com/gregwebs/errors/slogerr" rel="nofollow">https://pkg.go.dev/github.com/gregwebs/errors/slogerr</a></p>
]]></description><pubDate>Sun, 01 Jun 2025 11:26:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=44150105</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44150105</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44150105</guid></item><item><title><![CDATA[New comment by gregwebs in "Pure vs. Impure Iterators in Go"]]></title><description><![CDATA[
<p>Not all impure iterators can be resumed. But any pure iterator can be converted to a resumable iterator with a generic conversion function.</p>
]]></description><pubDate>Sat, 31 May 2025 18:34:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=44146138</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=44146138</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44146138</guid></item><item><title><![CDATA[New comment by gregwebs in "The great displacement is already well underway?"]]></title><description><![CDATA[
<p>Have you tried working with recruiters?
I don’t have recommendations for how to find them, but they find me on LinkedIn and it has lead to my last 2 job opportunities and most of my interviews.</p>
]]></description><pubDate>Wed, 14 May 2025 09:20:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=43982532</link><dc:creator>gregwebs</dc:creator><comments>https://news.ycombinator.com/item?id=43982532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43982532</guid></item></channel></rss>