Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
b4ckup
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
b4ckup
4mo ago
I actually do and my critique is directed at function components which seems to be the standard nowadays.
2.
▲
by
b4ckup
4mo ago
So it makes sense because there's a fancy name for it? For a moment let's just imagine you are inventing a brand new UI framework. You obviously want to have components in it. So how do you represent a component in your new fra
3.
▲
by
b4ckup
4mo ago
I never get this take. A react component is not just a function, it's a function plus a magically injected context that is accessed through hooks which requires all kinds of guarantees that you have to be aware of otherwise it will hav
4.
▲
by
b4ckup
4mo ago
Could you elaborate why you dislike lifecycle methods? I read this take a lot and I use mainly angular but did some smaller projects with react class components and with function components. I also think function components are very counter
5.
▲
by
b4ckup
9mo ago
I'd say on average about 50% faster but it really depends on the task at hand. On problems that can be isolated pretty well like a new feature that is relatively isolated (for example building a file export in a specific format) it
6.
▲
by
b4ckup
9mo ago
That's awesome! I feel similar, I drew a lot back in the days because growing up in a small town I was bored so often. I did portrait art only but today I struggle because I just don't know what to draw and I'm just not good
7.
▲
by
b4ckup
11mo ago
I once wrote a formatter for powerquery that's still in use today. It's a much simpler language and I took a simpler approach. It was a really fun problem to solve.
8.
▲
by
b4ckup
2y ago
Well since it's my own parser I support both inline and line ending comments. So I guess it's technically jsonc (json with comments) but whatever really. Clarification: when speaking of json formatting I handle 2 distinct cases th
9.
▲
by
b4ckup
2y ago
I tried to use toml in as config format for the app I am building at my day job. I ditched it for json because it's representation is not unambiguous, meaning the same object tree has many many different valid representations in toml.
10.
▲
by
b4ckup
2y ago
Really interesting! I'm very much interested in pychedelic graphics. I played around with shadertoy a little bit maybe I should give it another go. For anyone interested I made some cool visuals by interpolating prompts in stable dif
11.
▲
by
b4ckup
2y ago
This is mostly how I indent my code. I don't know why so many people hate it. We have huge screens and spacing conveys structure so I use spacing when appropriate, like a ')' in its own line. I work in a *very* small team tho
12.
▲
by
b4ckup
2y ago
I disagree. You can just postMessage to communicate with the service worker and therefore I imagine the code using broadcast channel to be actually quite similar. About debugging, service workers are easily debuggable, though not on the ma
13.
▲
by
b4ckup
2y ago
This sounds like a good use case for using a service worker. All tabs talk to the service worker and the worker is the single instance that talks to the backend and can use only one connection. Maybe there are some trade offs for using SSE
14.
▲
by
b4ckup
2y ago
I tried to use vscode c# devkit but it is horribly unstable and has severe bugs that make it unusable for my projects. But I'm really happy with vscode + omnisharp. I never used rider so I cannot really say which is better but I tend
15.
▲
by
b4ckup
2y ago
I use vscode (with omnisharp not c# devkit) for c# every day. Did you try it out?
16.
▲
by
b4ckup
2y ago
Didn't day say in their incident report that they have a batched rollout strategy for software updates but this was a config update and the update path for configs does not have such a mechanism in place.
17.
▲
by
b4ckup
2y ago
There's a lot of things the file explorer needs. Git is not one of them.
18.
▲
by
b4ckup
2y ago
Maybe not the most useful thing, but certainly useful and the coolest thing I built is a code formatter for the m language (also known as powerquery). At the time there was only daxformatter.com but no formatter for powerquery. So I wrote o
19.
▲
by
b4ckup
3y ago
Good to hear that I'm not the only one thinking that. I read a lot of their code for one of my pet projects and I thought that maybe it's me that doesn't get it because I don't write that much python.
20.
▲
by
b4ckup
3y ago
I'm curious what are your use cases for which vs code is not suitable? I'm on windows and I work everyday in c# on the backend and I use vscode almost exclusively because I'm really sick of VS. I really dislike the button fir