Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namelosw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
601.
▲
by
namelosw
8y ago
The biggest problem of OO languages for me is - it always depends. Composition or inheritance or template or concrete? It depends. Extract methods? It depends. Design patterns? It depends. Although to master good OO design - knowing what a
602.
▲
by
namelosw
8y ago
In China, the most luxurious tea is grown from 6 very trees named Da Hong Pao[0]. > Da Hong Pao can sell for up to US$1,025,000 per kilogram And those 6 trees were bought insurance by the local government for 100 million RMB (~=15 millio
603.
▲
by
namelosw
8y ago
Agreed. Most algorithmic puzzles are looking for very constrained ways of solving problems, that's why those so-called good solutions are fast. In real-world applications, this could be an anti-pattern because of most of the business m
604.
▲
by
namelosw
8y ago
This is so sad. RIP Joe. I'll miss him so much. Erlang is one of the most Perlis languages for me. I'm always a little bit cynical and think Erlang deserve more attention. Several months ago Joe post this tweet about a game compan
605.
▲
by
namelosw
8y ago
Yes but mostly learning novel technologies, and try it in some very small project or snippets. These days I'm reading the little typer and there's a dependent type language named Pie in it. It's really a pleasant to read. T
606.
▲
by
namelosw
8y ago
This is interesting because using plot libs in the browser is very useful. And it's also a good advertisement for the Web Assembly.
607.
▲
by
namelosw
8y ago
It's quite hackable but not like Atom or Emacs. You can find some plugins that could make Atom seems completely different, but most of the VSCode image you can find on the internet remains similar. Just like with Emacs you can rewrite
608.
▲
by
namelosw
8y ago
I use WebStorm/IntelliJ/Rider/VS+Resharper at work. And use Emacs off work, occasionally use WebStorm/Rubymine. Recently I picked up VSCode and I think it's good. For most of the functionalities, I think WebStorm st
609.
▲
by
namelosw
8y ago
If I just 'sit back and think' I wouldn't use Emacs at all. I believe at least for Emacs people use it because it's an interactive environment like Slime. With this kind of interactiveness, I can think by playing with
610.
▲
by
namelosw
8y ago
I'm not sure if this is positive or negative. But somehow more or less encouraged JavaScript community move towards: 1. Minimal interfaces 2. Better documentation Say like React although the codebase is more or less difficult to read.
611.
▲
by
namelosw
8y ago
At least for current Web Component API, no. Html is good because it's declarative, but it's not good since it lack abstraction. So React combine JSX template and lambda as declarative component. Means you have parametrized templat
612.
▲
by
namelosw
8y ago
Actually, the major official propaganda People's Daily newspaper urged authorities to review working hours in the industry. Usually, if the official opinion is negative about this campaign it will never show on any propaganda. I cannot
613.
▲
by
namelosw
8y ago
Most of the tech firms do this kind of brutal work schedule, so there are only very few choices left in the market, which are mostly foreign or national enterprises.
614.
▲
by
namelosw
8y ago
Can confirm. I tried several libs in several languages to parse org there are always weird results. Maybe Ruby's implementation is best for now since github is using it.
615.
▲
by
namelosw
8y ago
Just use it. I found with auto import and other stuff actually writing TypeScript is almost always faster than JavaScript. The type system is a little bit more advanced than those languages with nominal type systems like Java. Sometimes typ
616.
▲
by
namelosw
8y ago
I don't use Datomic since it's closed source. But the design is really, really cool. Actually, Datalog is a subset of Prolog, and could be used on any kind of data, not necessarily database. Nowadays, it's implemented in dif
617.
▲
by
namelosw
8y ago
Datalog is much more reasonable than SQL. Every time I have to write SQL more than 100 lines I go crazy.
618.
▲
by
namelosw
8y ago
Me too curious about this. For me it's more understandable moving from Ruby to Elixir. But Rust is so different from Ruby...
619.
▲
by
namelosw
8y ago
Most of the languages are constantly changing but the JavaScript world is way faster than anybody else moves. Although might be over-hyped, I personally believe it's more a good thing which moves the community even the industry forward
620.
▲
by
namelosw
8y ago
I really hope Django can provide some front-end integration like Rails Webpacker or Phoenix does. Setting up a smooth SPA and proxy is such a grunt work which always something holds me back when I trying to set up a small project with Djang
621.
▲
by
namelosw
8y ago
Been waiting for this for a long time because I always forgot to recharge something every day... Hope this does not happen to Mac Pro. Thinking about the subscription stuff recently it seems they do have some strategy shifting recently.
622.
▲
by
namelosw
8y ago
Much less? I haven't use spring cloud for quite a while but last time I did it there's quite some grunt work to make config server / eureka / ribbon / hystrix and friends to work. Let alone the the deployment proces
623.
▲
by
namelosw
8y ago
I've known rails for years but haven't yet used it seriously. I felt it's good because setting up is easy and the velocity is high. Until now I use it every day and I found it's really great and better than my previous i
624.
▲
by
namelosw
8y ago
My personal guess on this enterprise would be things like Spring or .Net where everything has an interface instead of just do things like Rails.
625.
▲
by
namelosw
8y ago
And AFAIK for most of the companies actually do this -- they sort of enforce employees to work as 996. In the meantime do not pay for working overtime or pay very few.
626.
▲
by
namelosw
8y ago
If it is the New 'Windows vs. Linux' then K8s will prevail. Because it's server-side market :P But seriously there will be a better K8s eventually. For example, make K8s work as Heroku or AWS Lambda. After that, there's
627.
▲
by
namelosw
8y ago
Rust is not fast by design. OCaml is kind of but still not as fast as Ruby for me at least. I spent a lot of time learning Haskell and Scala and I'm still learning. And they never caught up with ruby on rails in terms of velocity for m
628.
▲
by
namelosw
8y ago
It has been years China actually do this. I believe this started from World of Warcraft. I remember I was 16 when I started to play World of Warcraft, all kinds of regulation started to appear in this game, for example: needs to register wi
629.
▲
by
namelosw
8y ago
Sometimes their idiom works, sometimes not. When I was working with a react code base, there are a lot of brittle and bloated components, which didn't follow React idioms at all. Make a lot of data flow out of sync. It turns out there
630.
▲
by
namelosw
8y ago
1. Always think about Heroku first, seriously. Because your need is deploy application. 2. If you thought about 1 but Heroku is really not for you, go Kubernetes directly. It's not that hard at all. 3. Choose any other stuff only when
More ›