Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namelosw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
421.
▲
by
namelosw
7y ago
I usually enjoy PG's articles but this one seems almost attacking some specific group without naming it. > "It's unfair that so-and-so is famous," but "It's unfair that so-and-so is famous, and not me."
422.
▲
by
namelosw
7y ago
Or just use an immutable language or library and you'll have the best of both worlds. Unless you're writing an operating system. But the example was given in Python so I guess it's perfectly fine. The idea of immutable data s
423.
▲
by
namelosw
7y ago
And also, a decade before the Ruby community was the most inspiring community. One can really learn a lot from others, every day. It was like a hacker sanctuary while most programmers are still debating Java vs C++/C#. Now the communit
424.
▲
by
namelosw
7y ago
Emacs is so dynamic and easily configurable, that people can actually rebind a lot of things when their colleague go to the bathroom as a prank. Just open a scratch file, enter some s-expressions, evaluate them, then kill the buffer.
425.
▲
by
namelosw
7y ago
F# is great, but it seems to be somehow slowed down by C#. If there's a feature that takes time to implement (eg: Type Classes from Haskell or Polymorphic Module from Ocaml), people would rather wait for CLR or IL to support the infras
426.
▲
by
namelosw
7y ago
Yeah, that would be very helpful since there's no dependent type in a foreseeable future. For example, As a front-end heavy language, talking with other systems is quite ordinary -- a very useful case is reflecting GraphQL or SQL type
427.
▲
by
namelosw
7y ago
- So, how did you learn Vim? I heard there's quite a learning curve. - I just open it, but I couldn't figure out how to quit. Then I have been using it for three years already. (Same applies to Emacs.)
428.
▲
by
namelosw
7y ago
> Work is just work and unless you're curing cancer This sounds bad. But it is so true that people ignore it all the time. Big companies like Google asked their employees to do measurable contributions to the projects in order to be
429.
▲
by
namelosw
7y ago
It seems to be the trend. There would be more and more equivalents in Go in a foreseeable future. There would be a split. I generally don't use Java or Go in my applications, but Go components are usually more lightweight and easier to
430.
▲
by
namelosw
7y ago
I believe this is mainly because of the growth of income. In the early 90s which I was born, most Chinese think of meat as an expensive ingredient, whereas in the early 2000s, most people can actually buy meat for dinner without a second th
431.
▲
by
namelosw
7y ago
And even more surprisingly, WoW in 2019 released an 2006 version :D
432.
▲
by
namelosw
7y ago
> I know intelligent people who fell into this trap and can't get out. > Stick with a project/problem until completion. It's not about intelligence. Sticking is extremely hard for ADHD people. People with ADHD are mostl
433.
▲
by
namelosw
7y ago
Multi-line lambda is not code smell. There are a lot of cases like GUI programming where you need a lot of handlers which are suitable for lambda because they don't have a good name, and should never be called manually, and often they
434.
▲
by
namelosw
7y ago
It's more a political thing. Sun, Microsoft or other monopolies couldn't do it despite they are powerful. The difference is WASM is more neutral than other portable execution formats. And one of the most successful 'Portable
435.
▲
by
namelosw
7y ago
> It is unclear that the total impact on performance would be significantly negative compared to the typical GraphQL API. Some of the problems also apply to GraphQL, people just need to constrain the query complexity in the end. But yeah
436.
▲
by
namelosw
7y ago
Not defending anyone but I have to point out that fingerprinting sounds like finding a fingerprint that could identify an individual, but that not true. AFAIK browser fingerprinting (eg: Fingerprintjs2[0]) at least is nothing like fingerpri
437.
▲
by
namelosw
7y ago
New mainstream languages like TypeScript, Rust, Kotlin, etc. People just opened the Pandora box of advanced types like discriminated union and intersection types. There's no turning back. People will soon find they need more and more t
438.
▲
by
namelosw
7y ago
Actually RPC is a good idea for front-end to talk to backend. Because the separation is more or less obligated if people wanted to do interactive web pages, instead of people want to separate them as different services for different problem
439.
▲
by
namelosw
7y ago
High-level interpreted languages that are not strongly coupled with the computer itself, eg: Scheme. Python is also very good but the control flow and statements leak something under the abstraction layer. The goal is to teach how to thinki
440.
▲
by
namelosw
7y ago
This is a hard problem to tackle. An obvious approach is 2-phase commit or N-phase commit. 2PC and NPC are generally not recommended because it sacrifices performance too much. * Pros: It is more like a transaction so that you don't ha
441.
▲
by
namelosw
7y ago
Love the design. It's a vehicle, specifically a truck. A simple geometry is practical and applausable for most of cases. Those who can't accept the anesthetic couldn't accept current iPhone design in if they are in 2005 eithe
442.
▲
by
namelosw
7y ago
I use HHKB everyday. Small keyboard is not fashion only, it also means less movement. And also if I have to work on windows I my right hand is closer to the mouse. I always find for full keyboard if I try to align G and H key to the center
443.
▲
by
namelosw
7y ago
'Polished' might be an result of large population of audience. If we take an example from programming: A fundamental Python or JavaScript course would have massive audiences. As a result, some of the video author would made money
444.
▲
by
namelosw
7y ago
I live in Beijing, both NFC and QR code work just fine in the subway at the same time.
445.
▲
by
namelosw
7y ago
That's for failed execution. If the execution succeeds it would be death sentence for sure for all these people.
446.
▲
by
namelosw
7y ago
I'm so surprised so many people think localized programming languages are useless. Let's not forget there are still a lot of people don't speak English. I live in China, and I have seen a lot of kids with great talent in math
447.
▲
by
namelosw
7y ago
In China there are several Chinese PLs, the most wildly used is called EPL(易)[0]. However, those are not generally used in production other than lightweight scripting scenarios. Comment-wise, many companies use Chinese comments in code whil
448.
▲
by
namelosw
7y ago
The exact same could be used to describe SQL/Bash/Lua etc, which sometimes used by accountant/admin/game designer. Those languages are at the sometimes at the edge of the systems, but obviously not non-starter.
449.
▲
by
namelosw
7y ago
If you use Java I'm assuming you are not using process. If so, I believe Phoenix is no worse than Java applications in terms of ease of use and scalability etc. And it in terms of performance it indeed require some design experience on
450.
▲
by
namelosw
7y ago
> Airport style security everywhere even on the subway. Why not? A Subway casualty could be much more serious than a single plane. It's thousands vs hundreds. > They didn't even hide its surveillance. They shouldn't, ri
More ›