<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: spartanatreyu</title><link>https://news.ycombinator.com/user?id=spartanatreyu</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 26 Aug 2026 13:15:33 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=spartanatreyu" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by spartanatreyu in "Firefox 157 will include JPEG XL by default on all platforms"]]></title><description><![CDATA[
<p>> JXL was dead. Apple is who brought it back to life<p>No, it was actually the PDF Association.<p>They added JXL to the PDF standard.<p>If google wanted to maintain support for displaying PDFs, they would need to add support for JXL.</p>
]]></description><pubDate>Wed, 26 Aug 2026 00:29:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=49442657</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49442657</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49442657</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Firefox 157 will include JPEG XL by default on all platforms"]]></title><description><![CDATA[
<p>Remember all those times you needed to make a change to something a few minutes before it was submitted/presented?<p>Imagine if you couldn't, because you needed to charge your mouse first.</p>
]]></description><pubDate>Wed, 26 Aug 2026 00:27:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49442642</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49442642</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49442642</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Firefox 157 will include JPEG XL by default on all platforms"]]></title><description><![CDATA[
<p>Not true.<p>MacOS releases a new version each year, the current MacOS landscape looks like:<p>- MacOS Sequoia (previous version, everything works as expected)<p>- MacOS Tahoe (current version, broken experience, basically Apple's "Windows Vista/8 moment")<p>- MacOS Golden Gate (next version, fixes what was broken in Tahoe, comes out in a month)<p>I'm on MacOS Sequoia because I have things that can't be broken by updating to Tahoe.<p>I also cannot test how my websites/webapps will work in a month, because Safari's beta (called Safari Technology Preview) only works on Tahoe and Golden Gate.<p>I cannot wait a month to update to Golden Gate because Golden Gate drops support for my iMac.<p>And I can't test the new version of Safari on my Windows or Linux devices because Safari isn't available for them.<p>I can test the Webkit browser, but that doesn't include the Safari specific changes that apple makes which I need to be able to test.<p>---<p>So, I can't test Safari until I wait a month and purchase a new apple machine.<p>(Oh by the way, apple keeps cancelling orders for new machines)</p>
]]></description><pubDate>Wed, 26 Aug 2026 00:24:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49442630</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49442630</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49442630</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Small, native web tricks worth remembering"]]></title><description><![CDATA[
<p>You wouldn't want to hide scrollbars though.<p>You'd want to make it so either:<p>a) There is nothing to scroll in the first place, so you don't need a scrollbar<p>b) Capture the pointer so all interaction only occurs within the game's area.</p>
]]></description><pubDate>Mon, 24 Aug 2026 00:23:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49413944</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49413944</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49413944</guid></item><item><title><![CDATA[New comment by spartanatreyu in "CSS properties you should know for better text designs"]]></title><description><![CDATA[
<p>> Browsers seem to release a major new version like every 2 weeks now. So this statement does no longer hold true. You'll have a lot of users with broken results, if you follow that advise (everyone who uses a ESR or is otherwise limited with updates and behind a month)<p>Nope.<p>Safari only releases a major version once a year, so by only using features that are available in the last two major versions of each major browser, you're already waiting at least 2 years.<p>> I'd say for safety one should target the browsers of the last 4 years at least.<p>No.<p>Supporting browsers that old incentivises users not to update, which causes them to be insecure.<p>Better they know that something is broken so they have a greater incentive to update.</p>
]]></description><pubDate>Wed, 12 Aug 2026 23:15:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49279855</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49279855</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49279855</guid></item><item><title><![CDATA[New comment by spartanatreyu in "CSS properties you should know for better text designs"]]></title><description><![CDATA[
<p>Baseline is already shown on both caniuse and mdn, which is why I suggested them.</p>
]]></description><pubDate>Wed, 12 Aug 2026 23:11:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=49279829</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49279829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49279829</guid></item><item><title><![CDATA[New comment by spartanatreyu in "CSS properties you should know for better text designs"]]></title><description><![CDATA[
<p>> I always tell myself that I should use backwards-compatible CSS only.
> 
> I vividly remember IE and many hacks to have css elements properly working in it…<p>The common advice now is to only use CSS that is supported in the last two major versions of each major browser. You can check any css property's support here: <a href="https://caniuse.com/" rel="nofollow">https://caniuse.com/</a><p>> Imho this is a reason why markdown and other rich-textual formats appeared.<p>Markdown is a superset of html and through it contains css through the style element<p>> Btw is there a some “w3schools” for recent CSS?<p>CSS is constantly changing, I'd recommend the following for how to apply new CSS features:<p>- <a href="https://www.youtube.com/@KevinPowell" rel="nofollow">https://www.youtube.com/@KevinPowell</a><p>- <a href="https://ishadeed.com" rel="nofollow">https://ishadeed.com</a><p>- <a href="https://www.joshwcomeau.com" rel="nofollow">https://www.joshwcomeau.com</a><p>MDN is the best technical reference: <a href="https://developer.mozilla.org/en-US/" rel="nofollow">https://developer.mozilla.org/en-US/</a><p>- You can search any css property in there and it will return all the rulesets for that property.<p>To see how people are using CSS, I'd recommend:<p>- <a href="https://codepen.io/" rel="nofollow">https://codepen.io/</a><p>- Mastodon/fediverse<p><pre><code>  - Reason: All other social networks only have webdevs who sip the coolaid of whatever trend is happening at the moment, they're not actually interested in learning what CSS can do. However, the web devs in the fediverse are actually interested in what CSS can do.
</code></pre>
To see future CSS:<p>- You can see the proposals here: <a href="https://github.com/w3c/csswg-drafts/issues" rel="nofollow">https://github.com/w3c/csswg-drafts/issues</a><p>- Proposals often require experiments which you can find on mastodon/fediverse. For example: <a href="https://front-end.social/@kizu" rel="nofollow">https://front-end.social/@kizu</a><p>There's also the yearly State of CSS survey to get an overall sense of it: <a href="https://2026.stateofcss.com/en-US/" rel="nofollow">https://2026.stateofcss.com/en-US/</a></p>
]]></description><pubDate>Wed, 12 Aug 2026 01:04:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49266614</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49266614</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49266614</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Xcode's Clever Minimap"]]></title><description><![CDATA[
<p>This is the first time I've ever heard Xcode be called clever.<p>Side note: This feature is in vscode: <a href="https://code.visualstudio.com/docs/editing/userinterface#_minimap" rel="nofollow">https://code.visualstudio.com/docs/editing/userinterface#_mi...</a></p>
]]></description><pubDate>Fri, 07 Aug 2026 04:12:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=49205825</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49205825</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49205825</guid></item><item><title><![CDATA[New comment by spartanatreyu in "GCC steering committee announces AI policy"]]></title><description><![CDATA[
<p>> It's an invention that can invent things on its own<p>No. It can't invent things on its own, it repeats what it's already seen.<p>People keep seeing LLM outputs without seeing the original source first, then exclaim: The LLM invented it.</p>
]]></description><pubDate>Mon, 03 Aug 2026 01:24:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49150189</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49150189</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49150189</guid></item><item><title><![CDATA[New comment by spartanatreyu in "The Beam Engine"]]></title><description><![CDATA[
<p>This reminds me a lot of the articles at: <a href="https://ciechanow.ski/archives/" rel="nofollow">https://ciechanow.ski/archives/</a><p>Not just in terms of presentation, but also quality.<p>Amazing!</p>
]]></description><pubDate>Thu, 23 Jul 2026 23:16:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49029365</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=49029365</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49029365</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Cloudflare Drop"]]></title><description><![CDATA[
<p>You can, the file just has to be named "index.html".</p>
]]></description><pubDate>Wed, 08 Jul 2026 23:56:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=48839049</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48839049</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48839049</guid></item><item><title><![CDATA[New comment by spartanatreyu in "TypeScript 7"]]></title><description><![CDATA[
<p>> this TS migration started long before AI was able to help<p>Yes, but that doesn't mean it wasn't also "helped" along by AI.<p>See:<p>1. <a href="https://github.com/microsoft/typescript-go/pull/1387" rel="nofollow">https://github.com/microsoft/typescript-go/pull/1387</a><p>2. <a href="https://github.com/microsoft/typescript-go/pull/2978" rel="nofollow">https://github.com/microsoft/typescript-go/pull/2978</a><p>3. <a href="https://github.com/microsoft/typescript-go/pull/1138" rel="nofollow">https://github.com/microsoft/typescript-go/pull/1138</a><p>4. etc...<p>Copilot is the "user" with the 2nd most commits (and the 15th and 19th too), and that's just what's been tracked in git.<p>---<p>The initial port was automated, then devs got in there, then LLMs got in there.</p>
]]></description><pubDate>Wed, 08 Jul 2026 23:48:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48838983</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48838983</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48838983</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Upcoming breaking changes for npm v12"]]></title><description><![CDATA[
<p>Deno's permissions are closed by default.<p>Node's permissions are open by default.<p>---<p>Let's suppose that node and deno both have the same 20 permissions.<p>If we have a project that needs read access to one specific folder and write access to another specific folder, that means:<p>For deno: I need to turn on 2 permissions to those folders.
For node: I need to go through all 18 other permissions to turn them off, and also turn 2 permissions to access only those folders.<p>So from the get go, node is more work.<p>---<p>We're all lazy creatures.<p>We might forget to turn off the permissions, or worse: think we're safe because we only turned off what we thought were the relevant permissions.<p>Example:<p>My project reads this folder and writes to this other folder, I'll turn off the network permission so my data can't be exfiltrated, and commands can't come in down the wire if a dependency becomes part of an attack. And because I'm smart, I'll also turn off the FFI permission so a dependency can't communicate with a program outside of node.<p>Safe right?<p>No. The hacker took over a dependency and called cURL through a new process.<p>There's a million ways to go around things with an open-by-default security model.<p>Open-by-default is a broken design from the start.<p>It's a lesson that's been learned over and over again.<p>A closed-by-default security model is the only way.<p>---<p>Deno uses a closed-by-default security model, and implements it in a way that isn't annoying. It just runs your program immediately then when it tries to call a function that requires a permission that it doesn't have, it doesn't crash, instead it pauses execution and asks if it can have that permission. If you say yes, it remembers and doesn't bother you again, if you say no, then the function throws an error to be caught by your code or to bubble up uncaught and crash the program to prevent anything not permitted by you taking place.<p>The other great thing about it, is that you can run something on deno instead of node, and see which permissions it asks you for.<p>You'd be surprised how not safe some things are. Once you try it on a few example projects, you'll instantly see why npm has so many hacking incidents. It's an eye-opening anxiety raising experience.<p>On the other hand, when you run a project and see basically no requests for permissions, you can feel a sense of relief that it can only do what it says on the tin.</p>
]]></description><pubDate>Wed, 10 Jun 2026 23:33:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=48484262</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48484262</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48484262</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Upcoming breaking changes for npm v12"]]></title><description><![CDATA[
<p>We already have alternative and superior proposals, it's called Deno.<p>It's node + npm compatible and its permission system locks everything down by default.<p>If you know ahead of time, you can turn on which permissions something is supposed to have in the config file.<p>Or you can just not use a config file at all. Anytime it needs a permission: it asks you what it wants. You can say yes or no, and those are saved in the config file for next time. If you say no, the script throws an error where it tried to access something it didn't have permission for.<p>---<p>Example:<p>- My linter wants access to my file system?<p><pre><code>  - You can have read access to ./src/ts/
</code></pre>
- My bundler wants read and write access to my file system?<p><pre><code>  - You can have read access to ./src/ts and write access to ./build-output

  - Huh, what's that? The bundler was trying to both read and write a file in ./src/ts?

  - We don't want input files getting overwritten, that's a recipe for hard-to-diagnose race conditions. Looks like the permission system did more than just keep things secure, it's like a type system for IO.

  - Oh, look at that, there was a very subtle bundler misconfig, let me fix that now. How long would that have existed if we didn't use deno...
</code></pre>
- Oh what's this? An updated dependency I've been using for 6 months suddenly asking for access to my .env file, and asking to run curl in a separate process? How about "no". Why would a simple DOM utility dependency be asking for those permissions? Ah, looks like it was part of a credential stealing supply chain attack. Glad I wasn't using node.<p>---<p>Addendum: Node now has a permission system, but it's broken by design so it's useless.</p>
]]></description><pubDate>Tue, 09 Jun 2026 23:36:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=48469286</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48469286</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48469286</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Apple WWDC 2026"]]></title><description><![CDATA[
<p>It's not just the terrible charging that makes it a bad product.<p>It's also the terrible ergonomics.<p>It's the epitome of putting form before function. It's a desk ornament that leads to frequent injuries with use. See: <a href="https://www.google.com/search?q=magic+mouse+injury" rel="nofollow">https://www.google.com/search?q=magic+mouse+injury</a></p>
]]></description><pubDate>Mon, 08 Jun 2026 23:41:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=48454009</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48454009</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48454009</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Splash Is a Colour Format"]]></title><description><![CDATA[
<p>It's the first color of the rainbow: Red</p>
]]></description><pubDate>Mon, 08 Jun 2026 02:55:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48440845</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48440845</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48440845</guid></item><item><title><![CDATA[New comment by spartanatreyu in "IPv6 zones in URLs are a mistake"]]></title><description><![CDATA[
<p>Except that % is already used to encode something else.<p>Now if someone else a URI, is there going to be any confusion on how many times a URI needs to be decoded?<p>If the answer is yes, then we have a problem.<p>(and by looking at the other comments in this thread, the answer is most definitely yes)</p>
]]></description><pubDate>Thu, 04 Jun 2026 23:27:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48406057</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48406057</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48406057</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Gooey: A GPU-accelerated UI framework for Zig"]]></title><description><![CDATA[
<p>Since it was spat out by an LLM, why not: Sloppy?</p>
]]></description><pubDate>Thu, 04 Jun 2026 00:56:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=48392336</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48392336</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48392336</guid></item><item><title><![CDATA[New comment by spartanatreyu in "Journey to JPEG XL: open-source experiments shaped the future of image coding"]]></title><description><![CDATA[
<p>Yeah, but they left out that Chrome removed their own support for JPEG XL saying no one in the industry was in favour of it despite everyone seeing it was the future screaming for it and building support for it into their own products.<p>Chrome's blink was the only major browser engine not supporting it and that prevented it from becoming a web standard and they refused to acknowledge they were wrong.<p>Chrome only backtracked once jpeg-xl was subsumed into the PDF standard because if Chrome did not support jpeg-xl, they would by extension also not be supporting pdf.</p>
]]></description><pubDate>Thu, 04 Jun 2026 00:47:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=48392259</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48392259</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48392259</guid></item><item><title><![CDATA[New comment by spartanatreyu in "'Backrooms' Stuns with $81M Debut"]]></title><description><![CDATA[
<p>*Those videos are NOT connected<p>(too late to make edits)</p>
]]></description><pubDate>Thu, 04 Jun 2026 00:18:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=48392005</link><dc:creator>spartanatreyu</dc:creator><comments>https://news.ycombinator.com/item?id=48392005</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48392005</guid></item></channel></rss>