<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: dsego</title><link>https://news.ycombinator.com/user?id=dsego</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 05 May 2026 20:43:10 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=dsego" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Optical Storage in 2026: Dead or Dead Useful? [video]]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=OX2SPQEPlk8">https://www.youtube.com/watch?v=OX2SPQEPlk8</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48015665">https://news.ycombinator.com/item?id=48015665</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 04 May 2026 22:11:23 +0000</pubDate><link>https://www.youtube.com/watch?v=OX2SPQEPlk8</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=48015665</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48015665</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>Honestly, I don't know, translated it would be stomach alignment, it was popularized by a traditional healer and herbalist nun who lived in Bosnia.</p>
]]></description><pubDate>Thu, 30 Apr 2026 15:33:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=47964054</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47964054</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47964054</guid></item><item><title><![CDATA[New comment by dsego in "Zed is 1.0"]]></title><description><![CDATA[
<p>It's all in the details, eg. in sublime if you use the goto panel and highlight a file it will immediately show a preview, in zed you have to click on it, so you lose the snappy feeling.</p>
]]></description><pubDate>Wed, 29 Apr 2026 15:22:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=47949685</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47949685</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47949685</guid></item><item><title><![CDATA[Blessed Syntax and Ergonomics]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.gingerbill.org/article/2026/04/29/blessed-syntax-and-ergonomics/">https://www.gingerbill.org/article/2026/04/29/blessed-syntax-and-ergonomics/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47947522">https://news.ycombinator.com/item?id=47947522</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 29 Apr 2026 12:42:51 +0000</pubDate><link>https://www.gingerbill.org/article/2026/04/29/blessed-syntax-and-ergonomics/</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47947522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47947522</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>It's a specific alternative therapy, a traditional practice associated with adjusting or repositioning the stomach in folk healing. The woman who performed this on me is a physiotherapist.</p>
]]></description><pubDate>Mon, 27 Apr 2026 12:11:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47920541</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47920541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47920541</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>Could be, almost like something was trapped and fermented inside.</p>
]]></description><pubDate>Sun, 26 Apr 2026 21:09:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47914521</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47914521</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47914521</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>It felt uncomfortable and I needed to pass gas but managed to hold it.</p>
]]></description><pubDate>Sun, 26 Apr 2026 21:08:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47914507</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47914507</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47914507</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>Sounded like alternative medicine, but it was supposedly centering my stomach or adjusting the intestines to be in their optimal place, e.g. some people have organ displacement, the stomach is too low or too high, and somehow that affects digestion and health.</p>
]]></description><pubDate>Sun, 26 Apr 2026 21:07:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47914490</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47914490</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47914490</guid></item><item><title><![CDATA[New comment by dsego in "Can you stop beans from making you gassy?"]]></title><description><![CDATA[
<p>Not related to beans, but I had serious issues with bloating, gas and bad smell comparable to sewage. It went on for years until I had a short massage to adjust my stomach, the lady was pushing and shifting things around. This was a few months ago. Ever since I haven't had that type of gas, and I burp now which I haven't for years. I didn't change my diet at all.</p>
]]></description><pubDate>Sat, 25 Apr 2026 22:42:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=47905308</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47905308</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47905308</guid></item><item><title><![CDATA[New comment by dsego in "All phones sold in the EU to have replaceable batteries from 2027"]]></title><description><![CDATA[
<p>It's now possible to carry a spare battery or two, instead of lugging a portable power bank and slowly charging your phone. This is great news for outdoorsy types, travel, long bicycle rides, hiking, and so on.</p>
]]></description><pubDate>Mon, 20 Apr 2026 19:43:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47839556</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47839556</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47839556</guid></item><item><title><![CDATA[New comment by dsego in "Stop trying to engineer your way out of listening to people"]]></title><description><![CDATA[
<p>Some people are just too stubborn, especially if they come from a place of authority and seniority. I'm doing house repair work right now with an older relative. He learned how to do repairs and renovations by himself, things like working laminate floors, mortar, laying tiles etc. The things is, he has his own reasoning and rhythym of doing things and doesn't like to be challenged, but I feel his ways don't always make sense, esp when I feel he is rushing and improvising (a programmer can tell). I haven't done much handy work myself in the past, but I'm a millennial, so I google things, watch youtube videos, and I read instructions. I also know that it isn't rocket science, my parents built our own home brick by brick. And now, every step of the way I have to be pushy to get my way, and make it sound like I'm not imposing or too nitpicky or challenging his "expertise", it's very taxing, I made a big scene once already and the whole relationship is now strained.</p>
]]></description><pubDate>Mon, 20 Apr 2026 11:43:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47832890</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47832890</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47832890</guid></item><item><title><![CDATA[New comment by dsego in "Stop trying to engineer your way out of listening to people"]]></title><description><![CDATA[
<p>I was the yielding type, not speaking up, letting others take charge. In my experience, it's not always worth it, especially if you care about the thing you are working on. I went so far as to just dissociate from everything and distance myself from others. The problem is that people deserve your honest opinion if you care about them, even if it's not what they want to hear. But it's so hard to spend mental energy to listen, correct, try to prove your point... even if you succeed, they will resent you for it.</p>
]]></description><pubDate>Mon, 20 Apr 2026 11:35:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47832836</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47832836</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47832836</guid></item><item><title><![CDATA[Book Summary: "Essentialism" by Greg McKeown]]></title><description><![CDATA[
<p>Article URL: <a href="https://nielsbohrmann.com/essentialism-book-summary/">https://nielsbohrmann.com/essentialism-book-summary/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47822191">https://news.ycombinator.com/item?id=47822191</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 19 Apr 2026 06:20:19 +0000</pubDate><link>https://nielsbohrmann.com/essentialism-book-summary/</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47822191</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47822191</guid></item><item><title><![CDATA[A protective case for your glasses]]></title><description><![CDATA[
<p>Article URL: <a href="https://thangs.com/designer/Gazzaladra/3d-model/Glasses%20case-1511373">https://thangs.com/designer/Gazzaladra/3d-model/Glasses%20case-1511373</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47745293">https://news.ycombinator.com/item?id=47745293</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 12 Apr 2026 22:40:40 +0000</pubDate><link>https://thangs.com/designer/Gazzaladra/3d-model/Glasses%20case-1511373</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47745293</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47745293</guid></item><item><title><![CDATA[New comment by dsego in "Show HN: Tired of logic in useEffect, I built a class-based React state manager"]]></title><description><![CDATA[
<p>That's a valid concern. I've seen some hard to grok hooks with polling, async stuff, hard to follow logic, etc. Like with anything, need to have taste, it's easy to dump too much into one hook and like you mention, it gets hard to follow what gets triggered when.</p>
]]></description><pubDate>Thu, 09 Apr 2026 10:32:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=47701800</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47701800</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47701800</guid></item><item><title><![CDATA[New comment by dsego in "Show HN: Tired of logic in useEffect, I built a class-based React state manager"]]></title><description><![CDATA[
<p>It's not just react query, you can make a quick useFetch and useMutation hooks (or claude can), it's not that complex. If you don't need more advanced features (eg caching), you can easily cut down on 3rd party dependencies.<p><pre><code>    import { useState, useEffect } from "react";

    function useFetch(url) {
      const [data, setData] = useState(null);
      const [loading, setLoading] = useState(true);
      const [error, setError] = useState(null);

      useEffect(() => {
        const controller = new AbortController();

        fetch(url, { signal: controller.signal })
          .then((res) => res.json())
          .then((json) => {
            console.log("Data:", json);
            setData(json);
          })
          .catch((err) => {
            if (err.name !== "AbortError") {
              console.error("Fetch error:", err);
              setError(err);
            }
          })
          .finally(() => setLoading(false));

        return () => controller.abort();
      }, [url]);

      return { data, loading, error };
    }







    function App() {
      const { data, loading, error } = useFetch("https://jsonplaceholder.typicode.com/todos/1");

      if (loading) return <p>Loading...</p>;
      if (error) return <p>Error</p>;
      return <pre>{JSON.stringify(data, null, 2)}</pre>;
    }</code></pre></p>
]]></description><pubDate>Thu, 09 Apr 2026 00:00:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=47697719</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47697719</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47697719</guid></item><item><title><![CDATA[New comment by dsego in "Show HN: Tired of logic in useEffect, I built a class-based React state manager"]]></title><description><![CDATA[
<p>Sorry for being pedantic, but the first example could be rewritten to extract the pattern into a higher level hook, eg useNotifications. One way to simplify components before reaching for store libraries. The reusable hook now contains all the state and effects and logic, and the component is more tidy.<p><pre><code>    function Dashboard() {
      const { user } = useAuth();
      const {loading, error, notifications, undreadCount, markAsRead} = useNotifications(user);

      if (loading) return <Skeleton />;
      if (error) return <p>Failed to load: {error}</p>;

      return (
        <div>
          <h1>Dashboard ({unreadCount} unread)</h1>
          <StatsCards stats={stats} />
          <NotificationList items={notifications} onRead={markAsRead} />
        </div>
      );
    }</code></pre></p>
]]></description><pubDate>Wed, 08 Apr 2026 23:55:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47697688</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47697688</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47697688</guid></item><item><title><![CDATA[New comment by dsego in "Microsoft hasn't had a coherent GUI strategy since Petzold"]]></title><description><![CDATA[
<p>I found this out when I tried running an old app I compiled on MacOS several years ago, it still has the old title bar gradient and traffic light.</p>
]]></description><pubDate>Mon, 06 Apr 2026 09:58:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=47658859</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47658859</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47658859</guid></item><item><title><![CDATA[New comment by dsego in "Microsoft hasn't had a coherent GUI strategy since Petzold"]]></title><description><![CDATA[
<p>It's not just that you need to get used to gestures, it's that they are not discoverable at all, and that they can be awkward to perform with mobility issues, old hands, short fingers, etc. It's easy to make the wrong gesture, eg. the phone detects a swipe down instead of left to right, more so if you are holding it in one hand, so it's finicky and frustrating to have to rely on it as the only way of doing a common action. Why is it so wrong to have a simple navigation bar, it doesn't take up any more space than the hideous notch at the top?</p>
]]></description><pubDate>Mon, 06 Apr 2026 09:55:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47658841</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47658841</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47658841</guid></item><item><title><![CDATA[Microsoft Publisher will no longer be supported after October 2026]]></title><description><![CDATA[
<p>Article URL: <a href="https://support.microsoft.com/en-us/office/microsoft-publisher-will-no-longer-be-supported-after-october-2026-ee6302a2-4bc7-4841-babf-8e9be3acbfd7">https://support.microsoft.com/en-us/office/microsoft-publisher-will-no-longer-be-supported-after-october-2026-ee6302a2-4bc7-4841-babf-8e9be3acbfd7</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47653990">https://news.ycombinator.com/item?id=47653990</a></p>
<p>Points: 17</p>
<p># Comments: 8</p>
]]></description><pubDate>Sun, 05 Apr 2026 21:20:21 +0000</pubDate><link>https://support.microsoft.com/en-us/office/microsoft-publisher-will-no-longer-be-supported-after-october-2026-ee6302a2-4bc7-4841-babf-8e9be3acbfd7</link><dc:creator>dsego</dc:creator><comments>https://news.ycombinator.com/item?id=47653990</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47653990</guid></item></channel></rss>