Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
neurotrace
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
neurotrace
4y ago
I'd love to see some performance metrics and if there are any guard rails against circular dependencies.
2.
▲
by
neurotrace
4y ago
I'm a fan of using the extensions the author mentioned when I'm exploring a problem space. I scaffold out the overall design for the problem in terms of modules and functions so that the code reads correctly, type checks, and work
3.
▲
by
neurotrace
4y ago
> Why would you be worried about vendor-lock if you haven't built anything? When else would you worry about lock-in? The early stages of a project involve setting up the foundation. If you build your foundation on vendor-specific te
4.
▲
by
neurotrace
4y ago
> why is NPM so uniquely absolutely horrible? I'm not sure that it is. I think it's a numbers game. I've read* that npm is the largest repository in the world. More actors means more good and bad actors. * Taken from this
5.
▲
by
neurotrace
4y ago
If JS had no effect on the experience of the page (or the loading of it) then no one would write it. Personally, I don't generally mind running a bunch of JS but I understand why people don't. I use both the modern web and Gemini
6.
▲
by
neurotrace
4y ago
I've gotten so used to seeing variants of Wordle that I read "Redditle" and immediately thought it was some sort of Reddit-based Wordle
7.
▲
by
neurotrace
4y ago
You should check out Gemini[1]. That's basically how it works. [1]: https://gemini.circumlunar.space/
8.
▲
by
neurotrace
4y ago
You're right. Lifting a coffee cup with poor ergonomics isn't going to cause any injuries. Typing for hundreds of hours over many years in a poor position can lead to problems such as RSI.
9.
▲
by
neurotrace
5y ago
Good point. I have always run integration tests with Postgres etc. and have found value in it. I do think that you should have a substantially smaller set of those sorts of tests though.
10.
▲
by
neurotrace
5y ago
Not OP but I avoid default exports unless I need to do a lazy import. For me, there's a few reasons: consistent naming, easier importing, encourages importing what you need, avoids weird situation where you do both a default and named
11.
▲
by
neurotrace
5y ago
> Finally, in terms of organization, I want things to be organized by function, not by feature. I found this super surprising. I much prefer doing things by feature than by function. Where it goes is a function of which page/view&#x
12.
▲
by
neurotrace
5y ago
I'd argue that you should have thorough unit tests for each service to ensure that they always respect their public API. Additionally, in a monorepo you can share type definitions so regardless of the service, you know for sure that yo
13.
▲
by
neurotrace
5y ago
Absolutely. I recently dropped in to a job where I was led to believe I'd be spending most of my time architecting applications but I've spent most of my time on ops stuff. Every engineer is expected to have more than a working kn
14.
▲
by
neurotrace
5y ago
> And in the next few sections it includes someone who wants to build on the proposal including using type hints to optimize code. This changes literally nothing about the JS language. JS engines already attempt to determine the types of
15.
▲
by
neurotrace
5y ago
One of the benefits of TypeScript is that it literally is just JavaScript plus some. You can literally run `tsc` and it will spit out JavaScript written the same way as you wrote it but without any of the types. The only things that might l
16.
▲
by
neurotrace
5y ago
> Considered a mistake by whom? The developers of TypeScript. TypeScript aims to avoid adding anything to the runtime as a result of the type system[1]. > It would change nothing to the already complex build pipelines JS developers ar
17.
▲
by
neurotrace
5y ago
I hear what you're saying but I'd rather not waste even those two hours ;) I agree with what @erikpukinskis said but I'll also add that I just like the way they read. It immediately tells me that there is a limited number of
18.
▲
by
neurotrace
5y ago
For better or for worse, features of TypeScript that generate code (like enums) are generally considered a mistake. I assume part of the idea here is that people would aim to target this particular subset so they can avoid compiling while i
19.
▲
by
neurotrace
5y ago
The comment was supposed to explain monads by common usage rather than as a mathematical notion. Prolog is not a commonly used language by us blue collar programmers. I feel I have a grasp on monads and yet that explanation meant little to
20.
▲
by
neurotrace
5y ago
Unpopular opinion here: the more I use Vue, the more I realize that it started off doing things differently because it thought it was smarter than more established frameworks. Over time, you're seeing it copy a lot ideas from other sys
21.
▲
by
neurotrace
5y ago
Children can learn Monopoly fairly quickly. To me, that sounds pretty simple. Buy property, get money when people land on it, get more money if you have more house/hotels. That's just about it
22.
▲
by
neurotrace
5y ago
I've had my laptop for a while now and haven't noticed any build quality issues. It definitely feels nice and light but it seems sturdy enough. I'm not in the habit of dropping my laptop on the ground but I do chuck it on to
23.
▲
by
neurotrace
5y ago
I think "easy to use" might be an overstatement. I spent a fair bit of time trying to get in to the flex/bison workflow and it never seemed to click. I've found it much easier to use PEG parsers, parser combinators, or a
24.
▲
by
neurotrace
5y ago
I recently played through Doom and Doom II via GZDoom and had a great experience playing at 1080p and with disabled texture filtering. I didn't play these games when they first came out so mouselook feels natural to me and I'd rec
25.
▲
by
neurotrace
5y ago
> being proud of one's economic transaction history would be awesome. I sincerely doubt we'll ever see that. First off, Venmo has already tried to apply the social media formula to transactions. I don't know of a single pe
26.
▲
by
neurotrace
5y ago
Seems like the link ought to point here: https://impervious.com/beacon
27.
▲
by
neurotrace
5y ago
I've been a web dev for about 10 years. My day to day now involves building out React-based applications dealing with both the backend and frontend. I put in the work and built a real side project using Tailwind and it was so annoying.
28.
▲
by
neurotrace
5y ago
Found the toxic person. RTFM isn't really the best look and I love answering noob questions even if I've seen them a number of times.
29.
▲
by
neurotrace
5y ago
So incredibly true. I used to be staunchly in the "estimates are empty promises made by business people" camp. The last couple of years I've worked in an environment where both engineering and product understand that estimate
30.
▲
by
neurotrace
5y ago
They're talking about the @apply directive. It takes a list of classes and creates a single class with those properties. Since Tailwind classes generally map almost 1-to-1 for CSS rules, it'd be easier in my opinion to just write
More ›