Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dominicrose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
331.
▲
by
dominicrose
2y ago
Honestly I would be fine if classes didn't exist. This means no methods, no "this". Namespaces, data structures and functions are enough to do everything. I started to like React when we could write components with functions.
332.
▲
by
dominicrose
2y ago
In France it's simply not legal to send cash through the mail. We barely use cash anyway. Sorry to blame the victim and it's easy to say that now but they shouldn't send $43k via FedEx.
333.
▲
by
dominicrose
2y ago
Right, the uppercase conventionally means 1024 so it should be kB or ko for 1000. There are some odd rules, like L for liter because of readability or some other reason. I've also learned in (French) school that we shouldn't use k
334.
▲
by
dominicrose
2y ago
"Centre" is still not French if you pronounce it "Center" though. In French it's more like Train, where the vowel is after the R. But the real French R sound is hard to prounounce for Englishmen.
335.
▲
by
dominicrose
2y ago
Let's say you have a FilterModal component and you're using it like this: x-filter-modal Improving the IDE to find one or the other by searching for one or the other is missing the point or the article, that consistency is importa
336.
▲
by
dominicrose
2y ago
What about a pure function that can take anything that has an age as input? Well obviously that wouldn't work for a cat but it's just an example. It requires typescript and I'm not sure how to name the file it would go in, bu
337.
▲
by
dominicrose
2y ago
There was a time when I was learning how to use Vim and I saw my boss use the mouse to do a simple copy and paste and there was kind of a disconnect between these two ways of using the computer. From my experience a good mouse is better tha
338.
▲
by
dominicrose
2y ago
As far as I know there aren't many ways to have a completely full stack project. The typical laravel app is a server-rendered app that happens to have a bit of interactivity coded in js. A Next.js app can generate components server-sid
339.
▲
by
dominicrose
2y ago
I got a -1 point at an English test when I was a kid because of writing "i"...
340.
▲
by
dominicrose
2y ago
With a well-configured dev env with typescript, prettier, eslint and the appropriate config, async/await does feel like a feature. The IDE adds the async keyword for you if you forget it. If you enable errors in the whole project, it w
341.
▲
by
dominicrose
2y ago
Of course it's break-even if you don't want to pay taxes but prefer to pay employees more instead. Sure maybe Youtube itself is break-even but how many people inside it become rich?
342.
▲
by
dominicrose
5y ago
Honestly I don't have strict rules to practice. I'm learning the 3rd movement of K310 by just playing it with the sheet from beginning to end with both hands. Once I get fast and comfy with it I'll start playing it avoiding e