Viewing profile — dhruvrajvanshi
dhruvrajvanshi
HN member- Joined
- Sat, Nov 19, 2016, 10:54 AM UTC
- HN karma
- 115
- Public activity
- 58 items
- HN profile
- View on Hacker News ↗
About dhruvrajvanshi
No profile information was provided.
Recent public activity
-
comment
Comment #44277215
That hasn't been my experience at all outside the opinion section, which is precisely what you described. The main section feels pretty anti Trump, actually. Not by choice but real…
-
comment
Comment #44262898
With all due respect, have you read it regularly? In my experience, WSJ just reports what happened and who said what in a very dry way. My impression is that their news section pro…
-
comment
Comment #44260293
I would love this in modern languages. For dev builds, I see JIT compilation as a better deal than debug builds because it's capable of eventually reaching peak performance. For pe…
-
comment
Comment #44260192
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.
-
comment
Comment #44260166
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 t…
-
comment
Comment #44193401
> I also make unit test runner play sound for success and failures. This is brilliant! Such simple change but a massive qol improvement. > Test runner Node has one built-in these d…
-
comment
Comment #44124475
> Has emacs reinvented itself to incorporate the best ideas of being very performant, allowing better languages for extensions, replacing health-hazardous default keybinds with som…
-
comment
Comment #44067007
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 optim…
-
comment
Comment #44051181
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. IM…
-
comment
Comment #44040449
> manually pass around JSON objects and continually checking their shape Well Zod is a library that's typically used on the boundary. I don't know why you're assuming stuff about a…
-
comment
Comment #44027737
> So I try to make the ones that seem the most likely impossible. Yeah this is a very key point to reflect on. Is this stricter type actually catching a bug that's easy to make? Or…
-
comment
Comment #44027669
There is something to be said about pushing such things to runtime checks. I'm not arguing for giving up type systems in general, but I'd rather read something like `class VersionS…
-
comment
Comment #44008198
> 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…
-
comment
Comment #44008137
> 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 th…
-
comment
Comment #44007514
> 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 …
-
comment
Comment #43918459
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…
-
comment
Comment #43918406
> - don't use junk tools like webpack 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'…
-
comment
Comment #43918272
I went through exactly what you went through and by god it was frustrating. Eventually I did get stuff to work, but in the process I became an expert in a bunch of tools that I nev…
-
comment
Comment #43769055
You can use React without jsx too. JSX is just a very thin wrapper over React.createElemental ``` const h = React.createElement h('div', { id: 'foo' }, [ h(MyComponent, props) ]) `…
-
comment
Comment #43756169
Not Python but this is exactly the idea behind zx https://github.com/google/zx
-
comment
Comment #43756148
I think you're being too unfair. People aren't dumb. It's also about how much better. Beyond a decent enough type system, the advantages start to flatten and other factors start to…
-
comment
Comment #43749005
It doesn't have access to the type system, for example. It just sees it's input as what you typed in the code. It wouldn't be able to see through aliases.
-
comment
Comment #43693814
Well I wouldn't call lalrpop "Pure rust". It's a separate language that gets compiled to rust. It's within the rust ecosystem though. Perhaps cargo could expose a simpler way to us…
-
comment
Comment #43545229
> a single component outweighing an entire app feels fundamentally broken. I think this is an overly dramatic take. Of course react has a fixed overhead. If all you're deploying is…
-
comment
Comment #43445632
It's generic system for example, is built on top of comptime. A generic struct is just a function that takes a type as an argument and returns a struct. ``` fn Vec(comptime T: anyt…