Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jiaweihli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
jiaweihli
9y ago
I use Little Snitch[1] (and its sibling Micro Snitch[2]) for filtering connections at the system level. I don't interact with it too often though, because I rarely install new apps. Not to say /etc/hosts doesn't work, t
32.
▲
by
jiaweihli
9y ago
I highly recommend using uMatrix[1][2] if you're very privacy-conscious. It's the full-blown everything-at-your-fingertips console. By default, it blocks third-party scripts/cookies/XHRs/frames (with an additional
33.
▲
by
jiaweihli
9y ago
From that angle, the transition from Google to Alphabet was prescient.
34.
▲
by
jiaweihli
9y ago
I went through a Makefile phase but ultimately setting on Jakefile[1] for more approachable syntax and type-checkability via TypeScript. [1] https://github.com/jakejs/jake
35.
▲
by
jiaweihli
9y ago
Your interpretation of the quote is that middle managers don't provide value, but I think that may be too broad. I understood it as "highly formalized process often rewards middle managers", which I do think is true. The bes
36.
▲
by
jiaweihli
9y ago
This can really cut both ways, and moderation is key. I've seen software that's extremely overengineered. Something like ~15 microservices with data (for the same model) split across both Mongo and Redis, spun up via Docker confi
37.
▲
by
jiaweihli
9y ago
But how much would you or others pay for such a service, on a monthly basis?
38.
▲
by
jiaweihli
9y ago
There's a coin for that: https://www.shiftnrg.org
39.
▲
by
jiaweihli
9y ago
The price could depend on where you live.
40.
▲
by
jiaweihli
9y ago
M
41.
▲
by
jiaweihli
9y ago
I looked into this briefly in the past, but it didn't seem viable. Reviews complain about bugginess and pricing: https://marketplace.atlassian.com/plugins/com.atlassian.conf... And active development stopped in ea
42.
▲
by
jiaweihli
9y ago
This is neat, it looks similar to Fantastical. Have you used that before, and how does it compare if so?
43.
▲
by
jiaweihli
9y ago
The original post specifically calls out hoarding: > On the other hand, the unskilled tend to have a slightly different curve: Value Convergence. They eventually settle into a position of mediocrity and stay there indefinitely. The only
44.
▲
by
jiaweihli
9y ago
I don't believe the author is looking down on people who work on boring, critical systems. Rather, his point is that people who go _out of their way_ to hoard knowledge on ancient systems and make themselves critical are people you wan
45.
▲
by
jiaweihli
9y ago
Like @Asdfbla, I'm on 2560x1440 and have the same issue. The viewport is likely the issue =)
46.
▲
by
jiaweihli
9y ago
It can be both, the "From years of experience" is figurative. Try changing it mentally to "From experience" and re-read the second sentence.
47.
▲
by
jiaweihli
9y ago
If you're interested in exploring pattern matching, I've created a Javascript/TypeScript library dedicated to it. [0] You can see it live! [1] [0] https://github.com/jiaweihli/rematch [1] https:/&#
48.
▲
by
jiaweihli
10y ago
No, (Foo | undefined)[] means an array of elements that are either of type Foo or are undefined. Foo[] | undefined[] means either 1) an array of Foo, or 2) an array of undefined.
49.
▲
by
jiaweihli
10y ago
Maintainable, but at what cost? A large chunk of unit tests for dynamically typed code is dedicated to checking types.
50.
▲
by
jiaweihli
10y ago
The new null-checking is great, but is notably missing first-class support for dealing with null. If you're familiar with Options (e.g. Java 8, Scala, Haskell), I've written a library [1] to fill that void until TypeScript does s
51.
▲
by
jiaweihli
10y ago
This is a bit meta, but both of you stated a position without providing a concrete rationale. Something to consider is that people can gloss over an explanation for convenience. For example: in the previous sentence, I didn't provide
52.
▲
Git team workflows: is it better to merge or rebase?
(github.com)
3 points
by
jiaweihli
10y ago
|
0 comments
53.
▲
by
jiaweihli
10y ago
Groovy rules side-by-side: https://buckbuild.com/rule/groovy_library.html https://github.com/bazelbuild/rules_groovy#basic-example
54.
▲
by
jiaweihli
10y ago
A bit late, but apology accepted! =)
55.
▲
by
jiaweihli
10y ago
Why stop at 1 page a day? Code complete is an easy read that deserves to be enjoyed multiple times.
56.
▲
by
jiaweihli
10y ago
DRY isn't something you should blanket apply. There are cases where you do want to repeat yourself, e.g. to improve readability (avoiding metaprogramming, which is hard to reason about and will break your IDE) or because two things ar
57.
▲
by
jiaweihli
10y ago
I'm mildly offended that you trivialized my comment. I'm even more confused because I believe my questions are completely valid, and you're not taking them at face value. To rephrase: Have you ever encountered a flash of ins
58.
▲
by
jiaweihli
10y ago
Wow, that's an ingenious hack that makes a lot of sense in hindsight. What was your thought process and how did it lead to that? Was it solving a similar problem in another domain?
59.
▲
by
jiaweihli
10y ago
Also Akka for Java/Scala.
60.
▲
by
jiaweihli
10y ago
It looks like this is getting released in the next major version of most browsers[1]. For Chrome, that means no sooner than 03/14/17. That version, Chrome 57, will also come with automatic background tab throttling[2]. [1] http:
More ›