<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: MathMonkeyMan</title><link>https://news.ycombinator.com/user?id=MathMonkeyMan</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 02 Aug 2026 14:27:49 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=MathMonkeyMan" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by MathMonkeyMan in "Increasing the lifespan of a bulb makes it worse in every other way"]]></title><description><![CDATA[
<p>mercury vapor lamps are not a thermal light source, though</p>
]]></description><pubDate>Sat, 01 Aug 2026 11:31:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49133488</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=49133488</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49133488</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Big Food vs. the People"]]></title><description><![CDATA[
<p>Mexico is serious about junk food.<p>The cereal boxes in the stores don't have cute cartoon characters on them, and I tried to send somebody a box of chocolates and it got seized by customs.<p>Candy is labeled like cigarettes.</p>
]]></description><pubDate>Fri, 31 Jul 2026 18:09:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=49126666</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=49126666</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49126666</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "I wanted a clock that never needed setting. Things escalated"]]></title><description><![CDATA[
<p>I forgot about the AC mains :)<p>My experience with embedded stuff is very limited -- just some hobby projects on the Pico.<p>From what I've read, though, the on-board oscillators (there are a few of them) can drift quite a bit. One data point [says][1] several seconds per day.<p>On the other hand, if what you want is a microcontroller with an accurate clock, they probably make those (just not the Pico).<p>[1]: <a href="https://forums.raspberrypi.com/viewtopic.php?t=29255" rel="nofollow">https://forums.raspberrypi.com/viewtopic.php?t=29255</a></p>
]]></description><pubDate>Tue, 28 Jul 2026 02:30:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49078531</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=49078531</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49078531</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "I wanted a clock that never needed setting. Things escalated"]]></title><description><![CDATA[
<p>This is a harder problem than it seems. I've been thinking and reading about it for a side project, but haven't done much testing yet.<p>There are a few places to get the current time:<p>- on-board real-time clock (RTC) connected to a continuous power source (e.g. button battery)<p>- GPS<p>- Colorado WWVB signal (60 KHz), Frankfurt DCF-77 (77.5 KHz), Cumbria NPL (60 KHz)<p>- the internet (NTP, HTTPS servers, etc.)<p>- mobile internet (e.g. LTE)<p>- estimate time elapsed between power cycles by tracking and storing IEEE 802.11 timing synchronization function (TSF) timestamps from nearby wifi routers.<p>All of these are potentially problematic.<p>The best option is the RTC. Buy a DS3231, hook it up to your microcontroller and a button battery, and forget about it for a few years. The only problem with these (besides the battery) is that they can drift pretty badly. The fancy ones account for temperature fluctuations and are accurate to ~2 ppm, which is one minute per year. Aside from the drift, it sucks to need an always-on dedicated IC just to know the time, especially if you don't <i>always</i> need to know the time.<p>GPS is nice but it's hard to get a signal indoors, especially in a skyscraper far away from a window, as can happen here in New York. You also need a relatively bulky component and an antenna.<p>The longwave radio signals (WWVB, DCF-77, and NPL) are neat and old and what "atomic clocks" use, but the signal is tiny and you need a sensitive long-running receiver, either with a gigantic antenna or a slightly less gigantic ferrite rod. Even then, one of those cheap atomic clocks might not sync at all unless it's placed near a window. The WWVB signal is also very weak in certain parts of America and at certain times of day, so your circuit might only get a bit of signal over the noise once or twice a day, which might or might not be enough to deduce the time.<p>The plain old internet works fine, but then your power budget involves a wifi radio, though you only need to run it for a few hundred milliseconds per hour. You also need a wifi password, which is a pain to configure in an IoT device. Also, you wanted a clock, why does it need the internet? GTFOOH.<p>Mobile internet is way overkill.<p>The last idea is something I haven't tested fully, since my microcontroller (raspberry pi pico w) can't keep up with the "promiscuous mode" unofficially offered by its wifi chip. It's a neat idea, though: you're in an environment with wifi routers all around, and you want to guess the time elapsed since you last checked by listening, without credentials, to the chatter. With enough routers and some flash storage you can probably keep track of time, assuming the whole area doesn't get a power outage.<p>That's my very long way of saying that keeping time is a solved problem but all of the solutions have drawbacks and none works perfectly.</p>
]]></description><pubDate>Mon, 27 Jul 2026 04:56:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49065337</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=49065337</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49065337</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Making"]]></title><description><![CDATA[
<p>Yep: <a href="https://vimdoc.sourceforge.net/htmldoc/digraph.html" rel="nofollow">https://vimdoc.sourceforge.net/htmldoc/digraph.html</a><p>I started using them a long time ago to type Greek characters, but then I switched to vscode with a vim extension and it didn't support that keybinding so I lost the habit. Might work with the neovim extension now.<p>edit: Yep, but you have to add "k" to the list of "control characters handled by neovim" in the extension's settings.</p>
]]></description><pubDate>Thu, 23 Jul 2026 11:09:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=49019691</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=49019691</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49019691</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Breaking the Bird Barrier: Scientist Decodes Zebra Finch Language"]]></title><description><![CDATA[
<p>It does have the title going for it.</p>
]]></description><pubDate>Sat, 04 Jul 2026 15:13:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48785984</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48785984</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48785984</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Have you restarted your computer this week?"]]></title><description><![CDATA[
<p>I shut my computers all the way down when I'm done with them. I like a clean slate when I return.</p>
]]></description><pubDate>Wed, 01 Jul 2026 08:49:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48743962</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48743962</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48743962</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "The best response to AI slop and online noise is from Robin Williams"]]></title><description><![CDATA[
<p>Is there a difference, though? "You think you know so much because you read a book, but I actually lived it so I really understand it." At best you understand your own experience, and I wouldn't even make that claim about most of my own life. Might learn more about the thing from a book.<p>Of course, life is about living and you only live once and yadda yadda. Saying AIs don't know something because they weren't really there smells close to androids aren't real because they weren't made by God. That's not to mention that they don't <i>know</i> anything in the vague sense of what we think knowing means.<p>I don't really have an opinion on the topic, but the framing in the article didn't speak to me. Makes me want to watch the movie again, though.</p>
]]></description><pubDate>Sun, 28 Jun 2026 03:48:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=48704149</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48704149</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48704149</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Regular expressions that work “everywhere”"]]></title><description><![CDATA[
<p>I've always been a stickler for being specific about which regex language your thing accepts, and whether it is to match any substring, or a prefix, or a suffix, or the whole thing, or a line, or a substring of a line, or whatever.<p>Here are some of the [more popular][1] ones, and then there are PCRE and Python.<p>It took me a while to learn that some of the older ones you see in e.g. grep are [specified by POSIX][2].<p>[1]: <a href="https://cppreference.com/cpp/regex#Regular_expression_grammars" rel="nofollow">https://cppreference.com/cpp/regex#Regular_expression_gramma...</a><p>[2]: <a href="https://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html" rel="nofollow">https://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd...</a></p>
]]></description><pubDate>Sun, 28 Jun 2026 01:10:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=48703357</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48703357</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48703357</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "A human postmortem of the 1996 AOL outage"]]></title><description><![CDATA[
<p>more like over 88.1</p>
]]></description><pubDate>Sat, 27 Jun 2026 19:13:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48700854</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48700854</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48700854</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Is America becoming a gerontocracy?"]]></title><description><![CDATA[
<p>The median age in America is about 40, so depending on how you define old the majority could go one way or the other.</p>
]]></description><pubDate>Sat, 27 Jun 2026 08:41:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=48696357</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48696357</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48696357</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Epoll vs. io_uring in Linux"]]></title><description><![CDATA[
<p>I switched out asio's epoll backend for its io_uring in a database server and CPU utilization shot up. Probably depends on usage and the specifics of how it's integrated into the event code.</p>
]]></description><pubDate>Sun, 21 Jun 2026 00:03:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=48614328</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48614328</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48614328</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "The User Doesn't Care – But you should"]]></title><description><![CDATA[
<p>Patients don't care about all of that medical mumbo jumbo, they just want to feel well.</p>
]]></description><pubDate>Mon, 08 Jun 2026 03:23:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=48440986</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48440986</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48440986</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Love systemd timers"]]></title><description><![CDATA[
<p>Yep, I use this for a @reboot job and a few regular jobs on my home server. I use user crontabs, so I can get around the "unknown shell/path/etc." by prefixing every job with<p><pre><code>    /some/shell -l myjob.sh
</code></pre>
or sometimes<p><pre><code>    . ~/.profile && cd /some/where && ./job >>cron.log 2>&1</code></pre></p>
]]></description><pubDate>Tue, 02 Jun 2026 15:48:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48371815</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48371815</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48371815</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "You weren't meant to have a boss (2008)"]]></title><description><![CDATA[
<p>I haven't studied history or political science, but I suspect that a bunch of cooperating individual local municipalities can as easily lead to war as to federalism.<p>The Federalist Papers talk a lot about factionalism versus tyranny. On a larger scale, look at how long it took what are now European Union members to stop warring with each other.</p>
]]></description><pubDate>Sun, 31 May 2026 18:13:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=48348111</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48348111</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48348111</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Nobody cracks open a programming book anymore"]]></title><description><![CDATA[
<p>I think it might have been a cognitive development thing, but at some point in high school, Stroustrup's "The C++ Programming Language" just kinda clicked for me, like I hadn't been reading it properly before.</p>
]]></description><pubDate>Mon, 25 May 2026 23:49:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=48273223</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48273223</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48273223</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp"]]></title><description><![CDATA[
<p>You got downvoted, but you're correct. Obligatory XKCD: <<a href="https://xkcd.com/927/" rel="nofollow">https://xkcd.com/927/</a>><p>Personally I prefer lisp 1 languages, like scheme. Even there, though, there was a split over r6rs, so we got a bunch of mostly-like-r5rs schemes and racket.<p>Maybe the problem is that lisps are no longer popular enough to have a winning implementation! If there is one, though, then it's Common Lisp on SBCL.</p>
]]></description><pubDate>Mon, 18 May 2026 23:31:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=48187321</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48187321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48187321</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "Is this why science advances one funeral at a time?"]]></title><description><![CDATA[
<p>Seeing what came later with gauge theories and more speculative stuff like loop quantum gravity, you can't blame Einstein for thinking that the theory of everything might take the form of a set of field equations for a connection. Math was just too hard, and the answer probably doesn't look like that after all.</p>
]]></description><pubDate>Tue, 12 May 2026 23:34:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48115968</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48115968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48115968</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "I keep tripping over "true, false, true""]]></title><description><![CDATA[
<p>You can do this as a convention in javascript since 2015, but I haven't seen a library that does it:<p><pre><code>    > function foo({a, b, c}) {
    ... return {x: a, y: b, z: c};
    ... }
    undefined
    > foo({a: 1, b: 2, c: 3})
    { x: 1, y: 2, z: 3 }
    > const a = 'A', b = 'B', c = 'C';
    undefined
    > foo({a, b, c})
    { x: 'A', y: 'B', z: 'C' }
    ></code></pre></p>
]]></description><pubDate>Mon, 11 May 2026 14:04:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=48095184</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48095184</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48095184</guid></item><item><title><![CDATA[New comment by MathMonkeyMan in "The Disappearance of the Public Bench"]]></title><description><![CDATA[
<p>This made me go down a rabbit hole of techniques for separating sodium and chloride from urea/ammonium/ammonia solutions. I wonder if it could ever be made viable when compared to the Haber process for ammonia production.<p>Also, phosphorus is the more scarce fertilizer, I think. I remember reading a paper from a Chinese lab that was trying to figure out how to cheaply isolate phosphorus fertilizer from commercial pig farm feces. They decided it wouldn't be cost effective.</p>
]]></description><pubDate>Sun, 10 May 2026 00:03:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48079585</link><dc:creator>MathMonkeyMan</dc:creator><comments>https://news.ycombinator.com/item?id=48079585</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48079585</guid></item></channel></rss>