Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fsdjkflsjfsoij
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
fsdjkflsjfsoij
3y ago
> That is, when you stripe out all the actions that make javascript slow, it very often ends up being just as fast as a compiled language. ok... > In fact, there are some circumstances where it can beat a language like C++ or Rust due
2.
▲
by
fsdjkflsjfsoij
3y ago
Trivial benchmarks where all of the significant data structures and networking are done in C++ and the tiny amount of Javascript is just passing some strings around. I guess it's "fast" if you can restrict yourself to little
3.
▲
by
fsdjkflsjfsoij
3y ago
> but for what it is, JavaScript is pretty damn fast already. It's fast compared to other dynamically typed language implementations but it's still very slow compared to basically all of the popular statically typed languages.
4.
▲
by
fsdjkflsjfsoij
3y ago
This is basically where I am at. Most libraries and applications are trivially typed even in languages with relatively poor type systems like Go and Java. The necessity, or even benefit, of weak and/or dynamic typing is extremely rare
5.
▲
by
fsdjkflsjfsoij
3y ago
For a trivial example, let's say I have some message type that has multiple variants with differing fields: enum Message { Action1(String, Option<Mode>), Action2(String), } Action1 and Action2 are var
6.
▲
by
fsdjkflsjfsoij
3y ago
I hope Go will eventually get sum types but I hope they're better than Rust's where each variant is its own type.
7.
▲
by
fsdjkflsjfsoij
3y ago
> If you're more of a generalist though? I can see productivity gains of 25% maybe. I really doubt this. Copilot/ChatGPT are not useful at all for the hard problems and they're not trustworthy enough for the small problems
8.
▲
by
fsdjkflsjfsoij
3y ago
> Who will keep the hordes of dimwits and dilettantes and LinkedIn jockeys at bay This is unironically a very serious problem and why most of the best open source projects are basically corporate FAANG projects that are really only open
9.
▲
by
fsdjkflsjfsoij
3y ago
> Seems debatable and debated, reading through the rest of this thread. Most of the people commenting in this thread haven't looked at the code and anyone saying the two patches are equivalent can be safely ignored. Out of the issue
10.
▲
by
fsdjkflsjfsoij
3y ago
> feel violated and humiliated A lot of contributors are going to feel like this if their patch doesn't get accepted immediately and the maintainer in this case was extremely respectful even though the offered patch had multiple maj
11.
▲
by
fsdjkflsjfsoij
3y ago
So the maintainer now has to tutor this guy for god knows how long until he gets it right? All three issues brought up by kazinator are reasonable grounds for ignoring the patch. Do you think that the already overworked maintainers should h
12.
▲
by
fsdjkflsjfsoij
3y ago
A lot of these maintainers are already overworked and don't have time to tutor every single person that wants to put kernel contributor on their resume. A lot of people have this extremely idealistic view of open source but the reality
13.
▲
by
fsdjkflsjfsoij
3y ago
You can't do the exact same thing in Go because Go doesn't have a way to define a sum type yet outside of generic constraints. The closest you can get is using an interface and a type switch but that won't give you exhaustiv
14.
▲
by
fsdjkflsjfsoij
3y ago
These presentations look like something straight out of some dystopian corporate hellscape fiction.
15.
▲
by
fsdjkflsjfsoij
3y ago
r/nba and r/hockey are particularly interesting examples because the threads before the shutdown were overwhelmingly in favor of keeping the subs open and all the upvoted posts were openly trashing the mods over their decision. Th
16.
▲
by
fsdjkflsjfsoij
3y ago
In Spring apps the same reflection caches are also often duplicated many times.
17.
▲
by
fsdjkflsjfsoij
3y ago
The best parts of the show were the original parts that focused on the Empire and Lee Pace did a great job as Brother Day. The show dropped off hard whenever it focused on the actual settlement on Terminus and it remained extremely unfaithf
18.
▲
by
fsdjkflsjfsoij
3y ago
> Is your argument that most people are lazy Yes most adults are extremely lazy and undisciplined.
19.
▲
by
fsdjkflsjfsoij
4y ago
It's extremely common for them to discriminate against asian males as well. It was outside of a hiring context but I've had people in this sphere call me "basically white" multiple times.
20.
▲
by
fsdjkflsjfsoij
4y ago
Because the moment you actually write any server or business logic in Python performance drops off a cliff and it doesn't differ significantly from any of the other Python web frameworks.
21.
▲
by
fsdjkflsjfsoij
4y ago
The article is wrong and doesn't even address the primary reason why git-lfs is slow in his case.
22.
▲
by
fsdjkflsjfsoij
4y ago
The entire post is embarrassing and makes me think that Google made the correct decision. Also, it seems that people that want to change the default behaviour can simply use the TCPConn.SetNoDelay function.
23.
▲
by
fsdjkflsjfsoij
4y ago
Getting dual displays "working" is pretty trivial. Getting those two both working at the same time with the correct resolutions, DPI and fractional scaling will probably be close to impossible.
24.
▲
by
fsdjkflsjfsoij
4y ago
The JVM proponents are usually being dishonest when they compare Java/Kotlin AOT compilation to Go. They know very well that a large number of popular libraries either outright don't work or have severe restrictions when using AOT
25.
▲
by
fsdjkflsjfsoij
4y ago
String has had a static join method since Java 8 which was released almost 10 years ago. Your example would just be String.join("|", row).
26.
▲
by
fsdjkflsjfsoij
4y ago
> but it is not even close to worth it It's often extremely worth it. Most people don't profile though and don't care that their web apps are horrendously inefficient at almost every level.
27.
▲
by
fsdjkflsjfsoij
4y ago
> But if I stop playing the games, I stop watching the streams. Definitely true for me as well. I can sit down and watch a basketball game, which I haven't played in years, but if I'm not playing a video game regularly I have n
28.
▲
by
fsdjkflsjfsoij
4y ago
> I don't have the money to hire a lot of experts to execute my ideas, nor do I have the familial or business connections in order to facilitate the loans needed. There are lots of people that have those things and are still not a t
29.
▲
by
fsdjkflsjfsoij
4y ago
The criticisms are getting more and more comical. Michael is a friend of Elon and trusted Elon with many of his ideas and contacts. I'm sure Musk would say as much. Do you think Michael was sharing these ideas and contacts with just an
30.
▲
by
fsdjkflsjfsoij
4y ago
> and his success is mostly throwing money at eager (and smart) engineers Doing that with this level of success in these domains is extremely rare and even more important. In most cases, the investors are far more important than the wo
More ›