Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Shacklz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
Shacklz
2y ago
I wish there wasn't a need for a business-model to begin with for social media. Honestly, being business-driven is what turns them all to shit, as far as I'm concerned. That being said, the lights need to be kept on somehow... som
32.
▲
by
Shacklz
2y ago
As enthusiastic as I am about node's typescript-support, calling it "just works" is a bit of a stretch. Not entirely sure if it's still the case anymore on the latest versions but last I checked it was required to use `.
33.
▲
by
Shacklz
2y ago
Funny, I have exactly the opposite feelings. I've worked on dynamically typed code-bases in the past, and also on code-bases without formatters like prettier... and I'm not going back there. So many odd bugs can be avoided simply
34.
▲
by
Shacklz
2y ago
What exactly are you referring to? Specifically typescript has zero dependencies. Generally speaking, I agree, the npm-ecosystem still has this pervasive problem that pulling one package can result in many transitive dependencies, but a gro
35.
▲
by
Shacklz
2y ago
Great work, many thanks! Out of curiosity, what do you see as next steps, and what possible futures do you see for typescript in the node- and overall JS-ecosystem?
36.
▲
by
Shacklz
2y ago
> Why is taking out the part that actually checks the types at the developer's side a huge blessing? Oh, no, certainly we want to keep type-checking in the pipeline, somewhere. However, if the browser "understood" typescri
37.
▲
by
Shacklz
2y ago
Taking one link out of the toolchain (tsc) would already be a huge blessing. And naive me hopes for a future where in my web-app I can set a policy that any non-ts, type-incompliant code is not allowed to run. The amount of exceptions I get
38.
▲
by
Shacklz
2y ago
In our codebase we started to disallow enums in favour of string literal types, and once folks get over the ingrained "this needs to be an enum" (coming mostly from other languages like Java), it's not much missed. Enums are
39.
▲
by
Shacklz
2y ago
I'm honestly giddy. This could be the (slow) beginning of a new era, where "JS with types" is finally a native thing. I'm even willing to forgive all the mess that CJS vs. ESM is if they manage to pull this off. I hope t
40.
▲
by
Shacklz
2y ago
If I understood correctly they use a wrapper around swc to strip types, without any type-check being performed. Which makes perfect sense to start out with; as typechecking with tsc is rather slow and can easily be delegated to the consumer
41.
▲
by
Shacklz
2y ago
> All of that is something that I consider to be platform-level I agree with this, but the whole point of the blog-post is that the "platform" currently handles this rather poorly. I have yet to see a frontend-project that was
42.
▲
by
Shacklz
2y ago
> OSX sucks with 3 monitors and switches the output randomly when coming back from sleep/rebooting This drives me nuts with my Mac at my workplace. It's mostly an awesome workhorse, but when I switched to Mac I was flabbergaste
43.
▲
by
Shacklz
2y ago
Maybe this is disabled for free customers but at least for me there are settings to enable/disables what I kind of informations I'd like to receive from them. Gmail in that regard I've always perceived as worse - every few mo
44.
▲
by
Shacklz
2y ago
There are some serious anti-proton-vibes in this thread, so just my 2 cents as a paying customer: I'm rather happy with their service. I pay them money, they make sure that Joe in Marketing won't be able to harvest data from my em
45.
▲
by
Shacklz
2y ago
If there's a small team, individual freedom can be perfectly fine, as everybody knows everyone and it's easy to talk with each other in case there are discrepancies. For larger projects however, not having tooling set up that enfo
46.
▲
by
Shacklz
2y ago
It's not a bot but formatters like prettier for example make it very easy to set them up as git-hooks, where the formatter is applied on commit. Meaning, unless you specifically commit without hooks, all committed code should comply wi
47.
▲
by
Shacklz
3y ago
There have already been a lot of points by other commenters, one point that I'd like to add: It allows to solve "problems of scale" with technical solutions rather than process solutions. For example: Let's say there
48.
▲
by
Shacklz
3y ago
> “Populist anger” might be justified if people have a hard time paying their bills. If the costs of current living standard wasn't externalized to future generations (to the detriment of the environment), they couldn't afford
49.
▲
by
Shacklz
3y ago
> But its design is far, very far from the most important software design principle (KISS) My suggestion was more to look at the underlying data-model, which really isn't that much harder to grasp than what your average undergrad da
50.
▲
by
Shacklz
3y ago
I had the same experience for a long time and then I took a bit of time to have a deeper look behind the curtain and I have to say, once you grasp the data-model of git itself (a branch is a pointer to a commit, a commit is a pointer with m
51.
▲
by
Shacklz
3y ago
I understand your sentiment but git is really not all that hard. And knowing a few things that go beyond bog-standard checkout/commit/push, especially history-rewriting activities, will greatly improve quality of commit-history -
52.
▲
by
Shacklz
3y ago
> Most European citizens do not know the name of the EU president. Probably a bit controversial but to some degree, that is a good thing. It prevents personality cult and allows to pursue agendas that think in longer terms. In Switzerl
53.
▲
by
Shacklz
3y ago
There's a difference between 'having more capital' and 'having absolutely absurd amounts of capitals'. If you look at income distribution graphs of the last few decades and the political influence those in the highe
54.
▲
by
Shacklz
3y ago
> but I find the tyranny of "it works for me so you're doing it wrong" very real One could also talk about the tyranny of people living their freedom of personal choice to the maximum. "My solution works for me but wi
55.
▲
by
Shacklz
3y ago
> right to a personal life unscrutinized by an overreaching state. If it was just the state, then I might even be able to live with it, as my trust in my government is rather high, even if I do agree with your second paragraph on princ
56.
▲
by
Shacklz
3y ago
I always find it fascinating that we don't "anti-celebrate" such obvious failures in history more. I remember reading the original article of the author (linked in another comment in here) in German and I haven't ever he
57.
▲
by
Shacklz
3y ago
Couldn't agree more. Love the frontend-space, love the ecosystem, but hate the whole ESM vs. CJS fiasco with a passion. To some degree, I think the typescript-team itself also has to take some blame here. I understand their point that
58.
▲
by
Shacklz
3y ago
> a naive fantasy. Is it so naive to believe that eventually, we as humans can eventually overcome our stone age instincts and stop slaughtering each other on a big enough scale to necessitate some amount of militarism? I for one would b
59.
▲
by
Shacklz
3y ago
> without calculation, I can’t express the temperature outside in Celsius I think you'd get used to it rather quickly if it becomes ubiquitous in your daily life. It's probably a little bit similar to when there's a change
60.
▲
by
Shacklz
3y ago
> This is, in effect, one of the most common ways wealth is redistributed in the US. Why is it so bad? Because the government could simply tax those with wealth more and use taxation as a means of redistribution. Like most western countr
More ›