Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namelosw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
namelosw
5y ago
China is not a hivemind that acts as a whole. Xiaomi is definitely worried since they're not a state-owned company - the government won't save them so they must act carefully on their own. Even state-owned companies like ZTE were
122.
▲
by
namelosw
5y ago
> The cleanliness of Tokyo is 100% because of cultural issues, not because the government did anything special. Not at all. It was once a mess. In "High and Low" from Akira Kurosawa, you could see the river was filled with garb
123.
▲
by
namelosw
5y ago
In most of the best-known classic Chinese novels, like "Journey to the West", "Water Margin" and "Dream of the Red Chamber", there is usually a character that feels very important in the first few chapters, the
124.
▲
by
namelosw
5y ago
> That's what enums/unions are for. I don't think providing unions or algebraic data types are well supported in most RDBMS systems, they're such a pain to build. > I find it hard to believe that static type checki
125.
▲
by
namelosw
5y ago
There are too many comments in there. Comments are not the first tool people should try to reach because: 1. That's a lazy way to make the code clear, most code should be self-descriptive. If the teams are spamming comments it's l
126.
▲
by
namelosw
5y ago
This is a bit of a tangent, but after I used Clojure for a while, I found the default ratio type is really neat compared to floats. It seems to me that with modern machines, performance is not the first priority. Floats have caused too many
127.
▲
by
namelosw
5y ago
Well, you're right if there are explicit blockers. In practice, it's more of in-betweens like "I can figure it out slowly" or "I didn't realize Jerry could help me just like that". When people encounter ob
128.
▲
by
namelosw
5y ago
> If you read the literature, it is argued that for this to work it is absolutely forbidden for project managers to join these meetings. This is, however, a utopian view. It's nothing utopian, we don't have project managers joi
129.
▲
by
namelosw
5y ago
I have the same feeling with the Author. The comments on the previous post are people triggered, mostly defending Haskell and Rust without looking at what's great about Common Lisp and dynamic programming environment in general. I love
130.
▲
by
namelosw
5y ago
Unless in China, unfortunately, if people filter out "996" companies there are not many decent options left. In reality, companies in tech sectors don't declare themselves as "996", because they're by default &
131.
▲
by
namelosw
5y ago
It's the same reason that most React apps start with ReactDOM.render(<App />, document.getElementById('app')) instead of ReactDOM.render(<App />, document.body). IIRC there were many tutorials in the ear
132.
▲
by
namelosw
5y ago
A bad metaphor I just came up with: You're cutting a birthday cake. If you do the horizontal cuts you could at best have like 4 cuts and it's very hard. If you do the vertical cuts you could easily have like 16 cuts for everyone.
133.
▲
by
namelosw
5y ago
Functional programming is not hard to learn. Try learn Elixir if you don't believe my word. My observations on why people think functional programming is hard: 1. They find it hard because they're not learning functional programmi
134.
▲
by
namelosw
5y ago
The Author generalized "fewer features lead to less downtime" to "simple systems have less downtime". A simple system such as a hand-written web server is very likely to crash. It's very likely cannot serve many use
135.
▲
by
namelosw
5y ago
> GC is not very good ( vs Java / C# / Go ) IMHO it’s the opposite, at least in the context of games: In languages like Java and C#, the GC is global and freezes the world. The time would be in terms of milliseconds, while in E
136.
▲
by
namelosw
5y ago
I just happened to come across this fascinating video[0] yesterday that explained the same thing. And he mentioned the crystal as well. [0] The Infinite Pattern That Never Repeats: https://youtu.be/48sCx-wBs34
137.
▲
by
namelosw
5y ago
Lol, brilliant video! The funny part is those "unitaskers" are so crappy that they often fail their only job.
138.
▲
by
namelosw
5y ago
> Marketing tells you that this particular non-stick pan is the pan you’ll use to make omelette... Exactly this. I'm Chinese but I didn't look into Chinese cooking until recently, and here's the thing: You can cook hundred
139.
▲
by
namelosw
5y ago
Interestingly, Netflix has grown soooo big so that they don't consider their rivals are Hulu or HBO, instead, they consider their rival are other entertainments such as video games. A second thought this makes sense because ultimately
140.
▲
by
namelosw
5y ago
I tried a lot of "Music for programming" but found out I'm not a fan at all. My favorite music for programming is the soundtrack from the video game Stellaris[0]. It has the "Interstellar" vibe but less dramatic and
141.
▲
by
namelosw
5y ago
I have been using kubectl + zsh for quite a while. But now my choice is Intellij (or other IDEs from JetBrains) + Lens, which I find more productive and straightforward (more GUI, fewer commands to memorize). Here's my setup and workfl
142.
▲
by
namelosw
5y ago
> Well, let's say you have a system in place where you actually prove the correctness of your program. > Of course, when the correctness of your program does not matter in the first place, but just its output 1. There are in fact
143.
▲
by
namelosw
5y ago
It could be, since it might give the employer some subjective confidence. Though I'm not a big fan of the idea... But it seems like an Okayish idea for the transition period. Many people are trying to tackle this, so their approaches a
144.
▲
by
namelosw
5y ago
> you will destroy one of the last remaining well-paying job market in the long term. Speaking of the long term, it's not hard to imagine it is doomed no matter what individuals choose. SV exists because there was no efficient way t
145.
▲
by
namelosw
5y ago
I live in East Asia. I was once dreamed I could work and live in SF one day, as many tech people do. After several trips there, I was totally disillusioned, and that's even before the COVID breakout. The glamorous side, that I already
146.
▲
by
namelosw
5y ago
Haha, this is so true. Good observation! With that said, I live in China so most of the books are translated versions so: 1. They're substantially cheaper, the total of those books should be around $100 while the monitor mounts me more
147.
▲
by
namelosw
5y ago
Mind-blowing. The env spins fast. Maybe one day, smartphones and tablets are just browsers in hand.
148.
▲
by
namelosw
5y ago
I've been improving my desk accessories since the COVID breakout. Aeron Chair + IKEA IDÅSEN electric standing desk. With perfect height combination finally, I don't feel shoulder pain when typing. Unlike most standing desks, IDÅSE
149.
▲
by
namelosw
5y ago
Human is weird. On one hand, they hate loss. On the other hand, they are so vulnerable to gamble-alike activities, which make the minority rich and majority poor, which always drastic decrease of the happiness in total (because those who ga
150.
▲
by
namelosw
5y ago
Neat. I love how I can install packages in Common Lisp REPL, and now I can do it with Mix.install.
More ›