<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: dhruvrajvanshi</title><link>https://news.ycombinator.com/user?id=dhruvrajvanshi</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 10 Apr 2026 02:40:12 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=dhruvrajvanshi" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by dhruvrajvanshi in "Air India flight to London crashes in Ahmedabad with more than 240 onboard"]]></title><description><![CDATA[
<p>That hasn't been my experience at all outside the opinion section, which is precisely what you described.<p>The main section feels pretty anti Trump, actually. Not by choice but reality has an anti Trump bias ;)<p>They are also quite good at labeling their opinion sections clearly, which I think a lot of other papers aren't doing. Their news section is basically Reuter's.</p>
]]></description><pubDate>Sat, 14 Jun 2025 16:13:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=44277215</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44277215</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44277215</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Air India flight to London crashes in Ahmedabad with more than 240 onboard"]]></title><description><![CDATA[
<p>With all due respect, have you read it regularly?<p>In my experience, WSJ just reports what happened and who said what in a very dry way.<p>My impression is that their news section provides a very anti Republican party view. Note that this is my impression, not the paper's stance. They don't really take any, apart from the opinion section, which I ignore. The opinion section has a massive pro republican bent.<p>> Lying by omission<p>I'll admit, I might have a blind spot here because I'm only reading 2 newspapers. That being said, I'm not sure of any stories reported by the other news outlets which were ignored/downplayed by WSJ.<p>> apologies and retractions<p>Happen when they happen. I remember a few per month. But since they're so dry, there's very little scope for major corrections. If they say, "this guy said that", there's very little to correct there. Occasionally, they mis-paraphrase someone and have to correct their report. Most sound like honest mistakes to me.<p>EDIT:<p>> You aren't getting any sort of counterpoint you are getting whatever supports his world view.<p>Fair enough, but you mostly don't get any points to counter in the first place. Only plain dry facts. I go to the Economist for opinions and counter opinions. (*side note, the Economist should publish more counter opinions IMO)</p>
]]></description><pubDate>Thu, 12 Jun 2025 20:35:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=44262898</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44262898</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44262898</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Rust compiler performance"]]></title><description><![CDATA[
<p>I would love this in modern languages.<p>For dev builds, I see JIT compilation as a better deal than debug builds because it's capable of eventually reaching peak performance. For performance sensitive stuff like games, it really matters to keep a nice feedback loop without making the game unusable by turning off <i>all</i> optimizations.<p>AOT static binaries are valuable for deployments.<p>No idea how expensive it would be to develop for an existing language like Rust though.</p>
]]></description><pubDate>Thu, 12 Jun 2025 17:25:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=44260293</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44260293</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44260293</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Air India flight to London crashes in Ahmedabad with more than 240 onboard"]]></title><description><![CDATA[
<p>I think WSJ is a good complement to the Economist. They have good, unsensationalized coverage of the facts. I ignore their opinion columns as they don't seem very serious.</p>
]]></description><pubDate>Thu, 12 Jun 2025 17:14:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=44260192</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44260192</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44260192</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Air India flight to London crashes in Ahmedabad with more than 240 onboard"]]></title><description><![CDATA[
<p>I also read the Economist.
Other than that, Wall Street Journal is quite good at purely factual, unopinionated coverage. Note that their Opinion section is heavily biased towards the American right, but I mostly ignore it. It's clearly labeled as Opinion.<p>Between the Economist and WSJ, I get a good overview of opinions and facts.</p>
]]></description><pubDate>Thu, 12 Jun 2025 17:13:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=44260166</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44260166</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44260166</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Experimenting with no-build Web Applications"]]></title><description><![CDATA[
<p>> I also make unit test runner play sound for success and failures.<p>This is brilliant! Such simple change but a massive qol improvement.<p>> Test runner<p>Node has one built-in these days. Haven't tried it yet but would be nice to get rid of the vitest dependency. Mostly because it makes my dependabot noisy for no apparent benefit.</p>
]]></description><pubDate>Thu, 05 Jun 2025 16:52:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=44193401</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44193401</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44193401</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Edamagit: Magit for VSCode"]]></title><description><![CDATA[
<p>> Has emacs reinvented itself to incorporate the best ideas of being very performant, allowing better languages for extensions, replacing health-hazardous default keybinds with something ergonomic, using commonly understood terms for its interface?<p>Yes! It's called Evil mode. It emulates vim keybindings.<p>In terms of "normal" keyboard shortcuts, it could but no one who uses Emacs is asking for it. Mind that ergonomics is also very subjective. You might not find lisp very ergonomic, but Emacs users do. They find other languages unergonomic.<p>Other ways Emacs has borrowed ideas from other editors.<p>It now has first party tree sitter integration for better syntax highlighting. I believe this was borrowed from the neovim world.<p>It has plugins for LSP...borrowed straight  from the VSCode world.<p>If it matters, I've never used Emacs in my life, so I'm not a part of their weird cult. But i can see that they do things the way they do for a reason. They're not a bunch of morons.</p>
]]></description><pubDate>Thu, 29 May 2025 09:49:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=44124475</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44124475</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44124475</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Fast Allocations in Ruby 3.5"]]></title><description><![CDATA[
<p>A very simple way to think about is that if an intrinsic is written in C, the JIT can't easily inline it, whereas all ruby code can be inlined. Inlining is the most important optimization that enables other optimizations.<p>It's not necessarily the fact that C doesn't have enough information, it's just that the JIT can reason about Ruby code better than it can about C code. To the JIT, C code is just some function which does things and the only thing it can do with it is to call it.<p>On the other hand, a Ruby function's bytecode is available to the jit, so if it sees fit, it can copy paste the function body into the call site and eliminiate the function call overhead. Further, after the inlining, it can apply a lot of further optimizations across what was previously a function boundary.<p>In theory, you could have a way to "compile" the C intrinsics into the JIT's IR directly and that would also give you similar results.</p>
]]></description><pubDate>Thu, 22 May 2025 21:06:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=44067007</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44067007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44067007</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Using unwrap() in Rust is Okay (2022)"]]></title><description><![CDATA[
<p>I suppose it's a matter of perspective but I don't see returning a 500 as "Recovering from the error". The user's request has still failed.
It just hasn't taken down the server. IMO this is still fine.</p>
]]></description><pubDate>Wed, 21 May 2025 13:23:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=44051181</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44051181</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44051181</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Zod 4"]]></title><description><![CDATA[
<p>> manually pass around JSON objects and continually checking their shape<p>Well Zod is a library that's typically used on the boundary.<p>I don't know why you're assuming stuff about a library that you've never used. No one would continually check their shape once it's validated at the api boundary.</p>
]]></description><pubDate>Tue, 20 May 2025 11:47:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=44040449</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44040449</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44040449</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Hyper Typing"]]></title><description><![CDATA[
<p>> So I try to make the ones that seem the most likely impossible.<p>Yeah this is a very key point to reflect on. Is this stricter type actually catching a bug that's easy to make? Or is it just giving you more satisfaction of more precise typing? It takes time and practice to make that distinction.<p>Similar things can also be said about automated  tests. I've written too many of them that end up being written for a mistake that never gets made.</p>
]]></description><pubDate>Mon, 19 May 2025 08:48:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=44027737</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44027737</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44027737</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Hyper Typing"]]></title><description><![CDATA[
<p>There is something to be said about pushing such things to runtime checks.<p>I'm not arguing for giving up type systems in general, but I'd rather read something like `class VersionString` that asserts the requirements in the constructor. If it really matters, you can check this at run time but before releasing using a test.<p>Like what exactly are you trying to get from autocomplete in a version string literal?</p>
]]></description><pubDate>Mon, 19 May 2025 08:36:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=44027669</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44027669</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44027669</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "The first year of free-threaded Python"]]></title><description><![CDATA[
<p>> Im not worried about new code. Im worried about stuff written 15 years ago by a monkey who had no idea how threads work and just read something on stack overflow that said to use threading. This code will likely break when run post-GIL. I suspect there is actually quite a bit of it.<p>I was with OP's point but then you lost me. You'll always have to deal with that coworker's shitty code, GIL or not.<p>Could they make a worse mess with multi threading? Sure. Is their single threaded code as bad anyway because at the end of the day, you can't even begin understand it? Absolutely.<p>But yeah I think python people don't know what they're asking for. They think GIL less python is gonna give everyone free puppies.</p>
]]></description><pubDate>Fri, 16 May 2025 17:59:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=44008198</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44008198</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44008198</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "The first year of free-threaded Python"]]></title><description><![CDATA[
<p>> Oracle doesn’t make little mistakes that accidentally harm the competition while helping themselves. No, they’ll look you in the eye and explain that they’re mugging you while they take your wallet. It’s kind of refreshingly honest in its own way.<p>Fucking hell bud :D</p>
]]></description><pubDate>Fri, 16 May 2025 17:53:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=44008137</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44008137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44008137</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "The first year of free-threaded Python"]]></title><description><![CDATA[
<p>> I wonder why people never complained so much about JavaScript not having shared-everything threading. Maybe because JavaScript is so much faster that you don't have to reach for it as much. I wish more effort was put into baseline performance for Python.<p>This is a fair observation.<p>I think a part of the problem is that the things that make GIL less python hard are also the things that make faster baseline performance hard. I.e. an over reliance of the ecosystem on the shape of the CPython data structures.<p>What makes python different is that a large percentage of python code isn't python, but C code targeting the CPython api. This isn't true for a lot of other interpreted languages.</p>
]]></description><pubDate>Fri, 16 May 2025 16:48:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=44007514</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=44007514</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44007514</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Migrating a JavaScript Project from Prettier and ESLint to BiomeJS"]]></title><description><![CDATA[
<p>I think you're being too negative about why people got excited. It is quite a bit faster than eslint.
Not saying it's a good food idea to use it. I think it asks too much out of me to migrate to it. If they had been even somewhat compatible with eslint, I'd have given it a shot.</p>
]]></description><pubDate>Wed, 07 May 2025 17:30:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=43918459</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=43918459</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43918459</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Migrating a JavaScript Project from Prettier and ESLint to BiomeJS"]]></title><description><![CDATA[
<p>> - don't use junk tools like webpack<p>I used to have that opinion, but now, going through a months long project modernizing our codebase's build tooling, I'm not so sure. Vite isn't so amazing either if you stray away from the happy path (html entry points). I guess no build tool is amazing. At the end of the day, the only thing I can say is all build tools suck. Write less build code if you can get away with it.<p>Eventually I had to settle on rspack (the spiritual successor to webpack) because vite wouldn't do what I wanted it to do. You could say it was the wrong tool for the job, but it took me a while to figure that out, given how scary it is to not use <i>the</i> frontend build tool. I still wish we could've used it because then we'd be using an industry standard tool.<p>Getting back to criticizing Vite (sorry have to vent haha) in my experience, vite's API is also built on weird foundations. It exposes rollup and postcss options in it's config, which sometimes do similar things as it's own config options. It generates tons of small chunks with no obvious way to control it without giving up on nice things.</p>
]]></description><pubDate>Wed, 07 May 2025 17:25:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=43918406</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=43918406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43918406</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Migrating a JavaScript Project from Prettier and ESLint to BiomeJS"]]></title><description><![CDATA[
<p>I went through exactly what you went through and by god it was frustrating.<p>Eventually I did get stuff to work, but in the process I became an expert in a bunch of tools that I never wanted to be an expert in. I just wanted to write my business logic :')
It makes me long for Java tooling.<p>To top it all off, I don't think could've done a better job than the people responsible for this complexity.<p>> What did we learn from all this?<p>> I don't know.<p>> Well I don't know either.<p>> I guess to not do it again...fuck if I know what we did in the first place<p>I guess eventually all tools will converge to a de-facto mixed module/commonjs module resolution standard which roughly matches what tsx (the ts-node replacement, not the file extension) does.</p>
]]></description><pubDate>Wed, 07 May 2025 17:13:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=43918272</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=43918272</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43918272</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Solidjs: Simple and performant reactivity for building user interfaces"]]></title><description><![CDATA[
<p>You can use React without jsx too. JSX is just a very thin wrapper over React.createElemental<p>```
const h = React.createElement<p>h('div', { id: 'foo' }, [
  h(MyComponent, props)
])<p>```<p>Of course the props to divs are a bit different and event listeners/styles can be written inline, but none of this is JSX specific.</p>
]]></description><pubDate>Wed, 23 Apr 2025 05:56:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=43769055</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=43769055</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43769055</guid></item><item><title><![CDATA[New comment by dhruvrajvanshi in "Python's new t-strings"]]></title><description><![CDATA[
<p>Not Python but this is exactly the idea behind zx<p><a href="https://github.com/google/zx">https://github.com/google/zx</a></p>
]]></description><pubDate>Mon, 21 Apr 2025 20:34:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=43756169</link><dc:creator>dhruvrajvanshi</dc:creator><comments>https://news.ycombinator.com/item?id=43756169</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43756169</guid></item></channel></rss>