<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: moretti</title><link>https://news.ycombinator.com/user?id=moretti</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 19 Oct 2026 11:25:08 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=moretti" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by moretti in "OpenCode 2.0"]]></title><description><![CDATA[
<p>Does opencode support anything similar to claude code's auto mode (<a href="https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode" rel="nofollow">https://code.claude.com/docs/en/permission-modes#eliminate-p...</a>)?<p>I'd like to switch to opencode, But "yolo mode" feels risky and manually approving every command the model runs kills the flow</p>
]]></description><pubDate>Thu, 15 Oct 2026 08:13:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=50100763</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=50100763</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50100763</guid></item><item><title><![CDATA[New comment by moretti in "Vite 8.0 Is Out"]]></title><description><![CDATA[
<p>Thanks to the Vite team for building a faster, modern bundling solution on a fully open source stack that isn't tied to a specific framework...cough cough, Turbopack</p>
]]></description><pubDate>Fri, 13 Mar 2026 09:21:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47362201</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=47362201</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47362201</guid></item><item><title><![CDATA[New comment by moretti in "MDN Redesign"]]></title><description><![CDATA[
<p>It looked okay until I scrolled down to the browser compatibility table and had to tilt my head to read the vertical text</p>
]]></description><pubDate>Tue, 01 Mar 2022 19:08:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=30518571</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=30518571</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30518571</guid></item><item><title><![CDATA[New comment by moretti in "macOS Monterey"]]></title><description><![CDATA[
<p>Can anyone confirm if the final build number is the same as 12.0.1 RC2 (21A559)? You can run `$ sw_vers` from the CLI to check it.</p>
]]></description><pubDate>Tue, 26 Oct 2021 02:04:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=28995619</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=28995619</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28995619</guid></item><item><title><![CDATA[New comment by moretti in "GitHub Copilot Generated Insecure Code in 40% of Circumstances During Experiment"]]></title><description><![CDATA[
<p>I use Copilot mostly as replacement for intellisense and macros. It helps me automating repetitive tasks. I would never trust Copilot for an algorithm or a snippet, I mean I would treat the code just like anything taken from StackOverflow or Github.</p>
]]></description><pubDate>Fri, 03 Sep 2021 11:35:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=28402824</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=28402824</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28402824</guid></item><item><title><![CDATA[New comment by moretti in "Yarn 3.0"]]></title><description><![CDATA[
<p>yarn 2 solved real problems with zero install and advanced PnP. Maybe the only problem was that it was released too early, wasn't mature enough when it came out. Now it's just better than v1 and npm, works particularly well on large mono repos where upgrading a package can often break other modules due to how node_modules hoisting works.</p>
]]></description><pubDate>Fri, 30 Jul 2021 19:20:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=28011337</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=28011337</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28011337</guid></item><item><title><![CDATA[New comment by moretti in "Valve Steam Deck"]]></title><description><![CDATA[
<p>it has a microSD card slot: <a href="https://www.steamdeck.com/en/tech" rel="nofollow">https://www.steamdeck.com/en/tech</a></p>
]]></description><pubDate>Thu, 15 Jul 2021 18:01:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=27847862</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=27847862</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27847862</guid></item><item><title><![CDATA[New comment by moretti in "France fines Apple €25M for iOS software that slowed down older iPhones"]]></title><description><![CDATA[
<p>They slow down the phone after an unexpected shutdown, when the battery is unable to deliver the necessary peak power.</p>
]]></description><pubDate>Fri, 07 Feb 2020 23:38:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=22272357</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=22272357</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22272357</guid></item><item><title><![CDATA[New comment by moretti in "Removing jQuery from GitHub.com frontend"]]></title><description><![CDATA[
<p>By declaratively I mean that in React you typically declare how an element should be render given the current (props, [state]).<p>For example, in vanilla JS, you might have something like:<p><pre><code>  const btn = document.createElement('button');
  btn.className = 'btn red';
  btn.onclick = function(event) {
   if (this.classList.contains('red')) {
     this.classList.remove('red');
     this.classList.add('blue');
   } else {
     this.classList.remove('blue');
     this.classList.add('red');
   }
  };

</code></pre>
In React instead:<p><pre><code>  class Button extends React.Component {
    state = { color: 'red' }
    handleChange = () => {
      const color = this.state.color === 'red' ? 'blue' : 'red';
      this.setState({ color });
    }
    render() {
      return (<div>
        <button 
           className=`btn ${this.state.color}`
           onClick={this.handleChange}>
        </button>
      </div>);
    }
  }
</code></pre>
I find it simpler to understand, because <i>render</i>, given its state, describes exactly how the UI should be.</p>
]]></description><pubDate>Thu, 26 Jul 2018 16:06:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=17618510</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=17618510</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17618510</guid></item><item><title><![CDATA[New comment by moretti in "Removing jQuery from GitHub.com frontend"]]></title><description><![CDATA[
<p>It’s interesting that you find this “simpler”. One of the great advantages of React is that is declarative, it’s easy to understand how a component will render given a set of (props, state). Your example is quite the opposite, the render method violates this principle and each event handler manipulates the DOM using a ref. I’d call this spaghetti-React.</p>
]]></description><pubDate>Thu, 26 Jul 2018 08:31:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=17615939</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=17615939</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17615939</guid></item><item><title><![CDATA[New comment by moretti in "How to optimize React applications that use Redux"]]></title><description><![CDATA[
<p>Redux is not an implementation of Flux.
These two blog posts explain the main differences:
<a href="https://code-cartoons.com/a-cartoon-guide-to-flux-6157355ab207" rel="nofollow">https://code-cartoons.com/a-cartoon-guide-to-flux-6157355ab2...</a>
<a href="https://code-cartoons.com/a-cartoon-intro-to-redux-3afb775501a6" rel="nofollow">https://code-cartoons.com/a-cartoon-intro-to-redux-3afb77550...</a></p>
]]></description><pubDate>Thu, 06 Jul 2017 13:12:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=14710092</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=14710092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14710092</guid></item><item><title><![CDATA[New comment by moretti in "How to implement a programming language in JavaScript"]]></title><description><![CDATA[
<p>This is also a really good resource:
<a href="https://github.com/thejameskyle/the-super-tiny-compiler" rel="nofollow">https://github.com/thejameskyle/the-super-tiny-compiler</a></p>
]]></description><pubDate>Wed, 29 Jun 2016 07:33:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=12000058</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=12000058</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12000058</guid></item><item><title><![CDATA[New comment by moretti in "Bublé: a fast, batteries-included ES2015 transpiler"]]></title><description><![CDATA[
<p><a href="https://twitter.com/domenic/status/721796970197684224" rel="nofollow">https://twitter.com/domenic/status/721796970197684224</a></p>
]]></description><pubDate>Mon, 16 May 2016 09:38:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=11705245</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=11705245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11705245</guid></item><item><title><![CDATA[New comment by moretti in "We Need a New Username System"]]></title><description><![CDATA[
<p>I'm not a number, I'm a free man!</p>
]]></description><pubDate>Sun, 03 Apr 2016 01:23:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=11414466</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=11414466</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11414466</guid></item><item><title><![CDATA[A cartoon guide to Facebook's Relay (part 1)]]></title><description><![CDATA[
<p>Article URL: <a href="https://code-cartoons.com/a-cartoon-intro-to-facebook-s-relay-part-1-3ec1a127bca5">https://code-cartoons.com/a-cartoon-intro-to-facebook-s-relay-part-1-3ec1a127bca5</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=10938236">https://news.ycombinator.com/item?id=10938236</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 20 Jan 2016 14:25:20 +0000</pubDate><link>https://code-cartoons.com/a-cartoon-intro-to-facebook-s-relay-part-1-3ec1a127bca5</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10938236</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10938236</guid></item><item><title><![CDATA[New comment by moretti in "Atom text editor 1.4 released"]]></title><description><![CDATA[
<p>Yeah
<a href="https://twitter.com/sindresorhus/status/669958889941639168" rel="nofollow">https://twitter.com/sindresorhus/status/669958889941639168</a></p>
]]></description><pubDate>Thu, 14 Jan 2016 13:07:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=10901106</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10901106</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10901106</guid></item><item><title><![CDATA[New comment by moretti in "Show HN: Jsbundler – Bundle npm packages and use them in the browser"]]></title><description><![CDATA[
<p>In npmcdn the author of the package has to manually include the UMD build of the library.</p>
]]></description><pubDate>Mon, 23 Nov 2015 11:59:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=10614092</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10614092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10614092</guid></item><item><title><![CDATA[New comment by moretti in "Node.js 5.0 Released"]]></title><description><![CDATA[
<p>You still have to simulate named arguments with an object:<p><pre><code>    const foo = ({ a = 2, b = 2, c = 3 } = {}) => a * b * c;
    const dict = {b: 4, c: 6};

    foo(); // 12
    foo(dict); // 48</code></pre></p>
]]></description><pubDate>Fri, 30 Oct 2015 16:20:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=10478733</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10478733</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10478733</guid></item><item><title><![CDATA[New comment by moretti in "Pivotal Greenplum Database has been open sourced"]]></title><description><![CDATA[
<p>Reminds me of this tweet:<p><a href="https://twitter.com/capotej/status/647213485294616576" rel="nofollow">https://twitter.com/capotej/status/647213485294616576</a></p>
]]></description><pubDate>Wed, 28 Oct 2015 10:55:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=10463696</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10463696</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10463696</guid></item><item><title><![CDATA[The Redis community is moving to Reddit]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.reddit.com/r/edis/comments/3q9gz8/the_redis_community_is_moving_here/">https://www.reddit.com/r/edis/comments/3q9gz8/the_redis_community_is_moving_here/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=10450956">https://news.ycombinator.com/item?id=10450956</a></p>
<p>Points: 3</p>
<p># Comments: 2</p>
]]></description><pubDate>Mon, 26 Oct 2015 12:38:41 +0000</pubDate><link>https://www.reddit.com/r/edis/comments/3q9gz8/the_redis_community_is_moving_here/</link><dc:creator>moretti</dc:creator><comments>https://news.ycombinator.com/item?id=10450956</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10450956</guid></item></channel></rss>