Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namelosw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
451.
▲
by
namelosw
7y ago
Exactly, in video games NPCs do panic when bad thing happens. However it's coded . And what they feel could also be coded according to the purpose of the simulation.
452.
▲
by
namelosw
7y ago
I really hope they can expose the underlying BSD interface to users/developers.
453.
▲
by
namelosw
7y ago
No, the abstraction is much better than C in 90s. It comes from functional programming concepts (namely monadic design - which makes Haskell the 'best imperative language') which has some nice algebraic properties. It's easy
454.
▲
by
namelosw
7y ago
Technically it could be, just loading all the keys in a value, which could be massive. The design of relational databases indicates the database is responsible to do a lot of logic according to the query language. Graph databases usually al
455.
▲
by
namelosw
7y ago
Some databases design like extremely simple key-value databases cannot efficiently express joining relation unless load all the data in memory. The same could be said for column based databases etc. I guess that's quite a difference.
456.
▲
by
namelosw
7y ago
Achieve two goals at the same time is always harder or equal to achieve one of them. If philosophy is easy to understand then good. But make every concept comprehensible to 6-year-old kids would limit the exploration of concepts. As an exam
457.
▲
by
namelosw
7y ago
Furthermore, job processing is much easier with Erlang because the processes and the scheduling mechanism - there could be no job, only processes doing their things.
458.
▲
by
namelosw
7y ago
A person win debates does not necessarily practice what he say. Jack Ma is famous for encourage employees working overtime, and leads Alibaba to a toxic workplace where HR abuse everyone with their KPI.
459.
▲
by
namelosw
7y ago
Interesting project. Although it's viable to transpile Erlang or Elixir to JavaScript, without the BEAM runtime everything seems pointless. However if an BEAM is viable we could do interesting things like React fiber equivalent could j
460.
▲
by
namelosw
7y ago
This reminds me Cycle.js. I would definitely think stream paradigm is very useful to front-end. The essential difference in front-end, is the programmer is dealing with continous, realtime signals, and transform it into the graphical interf
461.
▲
by
namelosw
7y ago
Nice, finally, there are typed generators. That could possibly enable us to write something like do-notation in Haskell in a type-safe way.
462.
▲
by
namelosw
7y ago
Not defending surveillance at all. But I want to mention that China's CCTV network is an important part of the legal improvement on self-defense. From ancient time, the law in most dynasties strongly discourages self-defense because it
463.
▲
by
namelosw
7y ago
The most downside of Python is this. Setting up the environment and dependency management is very confusing and hard to start in the first place. Especially for Python there are a lot of non-programmer users. It seems to be easier to do rig
464.
▲
by
namelosw
7y ago
A little bit off-topic, but I'm really confused that, why people on HN like Clojure and hate JavaScript? I didn't have any analytical data but it's very obvious already to anyone who read HN often. Are they possibly be the sa
465.
▲
by
namelosw
7y ago
> 'Right tool for the right job' 'No silver bullet' 'Bad programmer write bad code' Those are all good tools to stop thinking/progressing and being comfortable ever after. But no, everyone knows those a
466.
▲
by
namelosw
7y ago
As far as I know, no.
467.
▲
by
namelosw
7y ago
Because for more advanced cases requires flatMap instead of just map and filter. You can only nested as a callback hell instead of streamlined syntactic sugar. Take an example in 'Learn You a Haskell': [ (a,b,c) | c <- [1..
468.
▲
by
namelosw
7y ago
Every time I read it, I think of a scenario: Say we can build a roman colosseum with brutal games between human, with advanced technology - that people enjoy brutal games (of course there are people like it as it was popular and people like
469.
▲
by
namelosw
7y ago
React is more functional favored. It's very recommended for functional languages having static type systems, at least for language like JavaScript heavily relies on object literal. The problem is, dynamic OOP languages like Ruby and Py
470.
▲
by
namelosw
7y ago
It's not clear because people don't read like that (jumping for different directions), that's the intention. But once other people pointed out it became very obvious, and could almost be judged as they intended to do that. It
471.
▲
by
namelosw
7y ago
That's a good one. My English is not sufficient to come up with this. There's also a Chinese pun story[0] with 92 characters with the same sound but different tone. [0] https://en.wikipedia.org/wiki/Lion-Eatin
472.
▲
by
namelosw
7y ago
I wonder how long Blizzard can still stay in the game. It seems they 're only repeating themselves now. EA is boring but they keep doing their job, as for Blizzard they seem to be fully stopped creating things. Recently they are only r
473.
▲
by
namelosw
7y ago
Man, this is so true. At least several times a week I press Command-S and unintentionally saved HTML from browser. I even have a script to delete all HTML in my Download folder.
474.
▲
by
namelosw
7y ago
If you speak Chinese, you'll find it's very easy to squeeze sentences in exact same characters. Almost all poems in China (except very modern ones) do this. It's so easy that people in forums do this a along - being sarcastic
475.
▲
by
namelosw
7y ago
I'm curious. Could you by any chance know some reason behind this? Is the salary not sufficient for the zone, or people do enjoy working, or they just simply think they would be bored as they take it?
476.
▲
by
namelosw
7y ago
I would be more than happy to work 1 day per week and live with 20% of my current salary. I believe a lot of people can accept 80% salary for 4 days per week.
477.
▲
by
namelosw
7y ago
A lot of people complaint about Webpack. But most other languages only provides up to Grunt and Gulp equivalent, namely Gradle, Fake etc. As who had maintained large Gulp scripts, those Scripts would eventually become a huge pile of non-sta
478.
▲
by
namelosw
7y ago
Sarcastically, React server side rendering works much better than the others like Angular. It's that easy - just one liner to use it in ExpressJS and a server side template system.
479.
▲
by
namelosw
7y ago
You are right, but if we shrink the scope to CommonMark the problems still exists. And what is assembler, may I ask? Is it for YAML or Markdown?
480.
▲
by
namelosw
7y ago
YAML is bad. It's like markdown, there are too many parsers behave differently. Unlike markdown just for reading, it is used in configurations for critical systems. JSON is much better, it IS readable and writable, people using package
More ›