Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namelosw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
391.
▲
by
namelosw
7y ago
It's good to see Java is becoming better and iterates faster. However, I found it's weird that hosted languages like Kotlin, Clojure or Scala are more approachable for me as they are working fine with JDK 8 like 'libraries&#x
392.
▲
by
namelosw
7y ago
It is very cumbersome to not having the 'copy' or equivalence so that a lot of functional languages have similar things: F#: let updated = { old with prop = newValue } Elixir: update = %{ old | prop: newValue } Even JavaScript hav
393.
▲
by
namelosw
7y ago
There are diff algorithms, but no caching layer. Also Phoenix is written in Elixir which could easily handle millions of stateful connections.
394.
▲
by
namelosw
7y ago
Been using Algo for years. 11/10 would use again. (I'm Chinese living in China)
395.
▲
by
namelosw
7y ago
Can confirm. I'm in Beijing and it's wonderful indeed, I'm not with my family though. I already worked from home for a month as a developer, and we have confirmed we'll WFH for the next 2 weeks at least. There's no
396.
▲
by
namelosw
7y ago
I totally agree with your point, but it is very hard for the US to implement healthcare like in Europe. There are things like sugar tax in Europe, why? Because the governments spent so much money on health care. Corporations selling tasty b
397.
▲
by
namelosw
7y ago
Then you'll be pissed when you take a look at the issue list... Again, like others said it's more likely you are just upset about the emoji.
398.
▲
by
namelosw
7y ago
It's much better to be self-enclosed than just to be faster at constant times. Just like most Emacs functionalities are written in Emacs-lisp, and most Elixir functionalities are written in Elixir. It's more consistent for open so
399.
▲
by
namelosw
7y ago
Wow, I hope this could make current JavaScript workflow more slick and simplified. Also the readme is doing a good job for answering my doubt at a first glance - why a Corinthian helmet rather than a Roman one :) > Rome has a logo of an
400.
▲
by
namelosw
7y ago
It really depends on the game. Getting specific on the skill works very well on simple FPS games, just like bots are easily beat all of the top players. Basically this is true for the games that rules are extremely simple, there's no p
401.
▲
by
namelosw
7y ago
For Clojure, there is Datomic[0] (a DB with S-expression Datalog) and DataScript[1] (in memory Datalog for browser) which has a fair amount of usage. Also, there's a bitemporal database use Datalog name Crux[2] seems to be quite promis
402.
▲
by
namelosw
7y ago
I feel burned out from time to time. Then I found this really works for me: don't spend vacation all at once, instead, spend it on every Wednesday. It's not just one day off, it actually changes the workdays from 5 days to 2 days.
403.
▲
by
namelosw
7y ago
I'm a Web developer the most of the time and I tried to jump back and forth between languages and communities in my spare time to check out if there are some ideas that could interest me. I found dynamic language communities are most i
404.
▲
by
namelosw
7y ago
Totally agree on there is no shortcut for "hacking" languages. But at the same time "The quality and type of practice you do matters a lot" as you've said. And also, for learning languages, one way could be signific
405.
▲
by
namelosw
7y ago
It's good to point it out. In the third world, if you hire 100 people for a 5-man project, people end up doing nothing but their own things. It's bad but it's obvious that something is going wrong. In the first world, if you
406.
▲
Chinese doctor who tried to raise alarm on coronavirus detained and died
(washingtonpost.com)
4 points
by
namelosw
7y ago
|
1 comments
407.
▲
by
namelosw
7y ago
I interpreted as "grandma" as well since it's a super popular Russian term on the internet (eg: YouTube) nowadays.
408.
▲
by
namelosw
7y ago
It's not structs in C, it's more like records in Haskell. If you have two records {a: 1, b: 2}, those are equal because they are the same. If you have two structs {a: 1, b: 2}, those are also equal but they are separate instances
409.
▲
by
namelosw
7y ago
It's horrible when the employer don't lower their expectation. We had some campaign on remote working, actively adjust the toolset/processes/expectations, and we don't usually measure by output so it's a rather
410.
▲
by
namelosw
7y ago
There aren't many. Traditionally, Chinese people would rather endure. There are a lot of families play mahjong all day long, but it's unfortunate for those who don't have 4 players in the family - most of the public places to
411.
▲
by
namelosw
7y ago
Beijing authorities require companies to extends for a week unless the company is either critical industries or can fully work-from-home. My company started to fully work-from-home from today, for at least 2 weeks. This experiment is massiv
412.
▲
by
namelosw
7y ago
It can only be more complex, then be simple. If Typescript never existed, people got used to simple nominal typed languages like Java would never notice there are much more advance type system ahead, and what can it potentially bring us - t
413.
▲
by
namelosw
7y ago
> a modern language like c# where the types are guaranteed compile + runtime and you can’t any-ignore problem. Come on, Typescript is more modern than C#. It's just started to being bloated a little bit since there are advanced type
414.
▲
by
namelosw
7y ago
I just use Dropbox. It's straightforward, on Mac/PC it's just use system reader. On iOS you can just open it with Dropbox itself. There are a lot of publications like Manning also have Dropbox integration, and automatically d
415.
▲
by
namelosw
7y ago
I was in senior high school in China there were only 4 classmates out of 35-ish including me don't wear glasses. This was like 2007, before the smartphone took off in China. I have no idea how come did this happen but one of my assumpt
416.
▲
by
namelosw
7y ago
It is worse than slavery because companies found they can create an environment for motivated wage slaves constantly competing with each other, aka 'culture'. And fire those who lost motivations in order to strengthen the 'cu
417.
▲
by
namelosw
7y ago
I don't usually use debuggers in functional programming languages. Since it's mostly expressions I usually use REPLs. But for imperative languages like Go, a fast and good debugger can boost up productivity a lot if properly used,
418.
▲
by
namelosw
7y ago
> "I built ... my girlfriend a tool." This also strikes me - After I live with my girlfriend for a while, I (or she surprisingly) found I have no interest in social media apps, discounts, traveling, eating tasty foods, mainstre
419.
▲
by
namelosw
7y ago
In China, it's very common to leave your property out of sight for minutes and it would be stolen. Collectivism isn't really associated to this topic at all.
420.
▲
by
namelosw
7y ago
I remember there was a YouTube video making comparison between Japan and China. Of course Japan is much better in many obvious ways, and the comment sections also reflect most people prefer Japan over China. Then I saw a Japanese commented
More ›