Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bcheung
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
bcheung
6y ago
High taxes are good because people will have less room to live? This doesn't sound like a good justification.
62.
▲
by
bcheung
6y ago
High taxes, high cost of living, and bad policies were the primary reasons I left CA. Property tax assessment was 1/6th of fair market value (thank you prop 13). Still decided to leave. Got a house almost 3x the size for the same pr
63.
▲
by
bcheung
6y ago
They will probably favor them in the beginning but I think a lot of that comes from the SF bay area echo chamber. Getting exposure to different cultures will probably average things out more politically leading to greater acceptance and di
64.
▲
by
bcheung
6y ago
To get an intuition for the expressive power you can look up examples of quicksort and factorial in languages that support pattern matching. Haskell is a good example. It is true that you can always just use if statements, it's more a
65.
▲
by
bcheung
6y ago
This is true. In a lazy language it is the same, in imperative languages that do eager evaluation it will indeed have the problem you mention.
66.
▲
by
bcheung
6y ago
In regards to global vs local optimum it is useful to look at the alternatives like pattern matching. For languages that don't support pattern matching or passing in functions as values, "if" is probably the best you can do w
67.
▲
by
bcheung
6y ago
"if then else" is indicative of an underlying pattern that exists at a more fundamental level. In that sense, it was "discovered", not invented. Depending on the language, the syntax of "if then else" is not n
68.
▲
by
bcheung
6y ago
I generally agree with this but YouTube is a communication channel and has a different set of expectations. Additionally they promoted themselves as an open forum in the beginning. Ideally, discrimination should not exist in something that
69.
▲
by
bcheung
6y ago
I think there needs to be updated thought leadership on what qualifies as "common carrier" and what doesn't. Whether gov't or private, if a platform is primarily promoted as an open communication channel then I think tha
70.
▲
by
bcheung
6y ago
Short term: People working remote in other locations will have higher salaries from SV companies since they are used to paying those salaries. People moving from SV to other locations should expect moderate drops (10-20%). In my own experi
71.
▲
by
bcheung
6y ago
While I doubt they can do anything in an antitrust case, they are also dragging their feet on implementing web standards (that have existed in Android for years) so that developers have no alternative but to develop native apps for things t
72.
▲
by
bcheung
6y ago
Appreciation is not rent seeking though. Also, savings is what funds capital investment. There's no capital without previous profit.
73.
▲
by
bcheung
6y ago
Stovetop doesn't make much difference. I notice it with ovens though. I favor using countertop electric ovens much more because of this. I'm much more concerned with central heating. I wish more homes had electric and radiant f
74.
▲
by
bcheung
6y ago
Every major metro in the US has these things. There's nothing unique about SF/SV in that regard.
75.
▲
by
bcheung
6y ago
Most CS graduates and interns I have hired and worked with I have been pretty happy with. Granted I'm disappointed CS is turning more into programming as a craft and less on the mathematical thinking necessary for true innovation to h
76.
▲
by
bcheung
6y ago
I think for Ops / sysadmin work this is probably more true than general software engineering. Ops people tend to cluster in the bay area more. Probably because Ops work used to be more "physical hands" dealing with physical
77.
▲
by
bcheung
6y ago
The formula is different if you are a home owner, at least it was when there was more appreciation. You don't mind paying a higher mortgage as much if you are capturing a huge chunk of your current salary in home equity each year. Ba
78.
▲
by
bcheung
6y ago
The bay area is one of the worse places to have rental properties in the country though in terms of ratio of rental income to mortgage costs. If it wasn't for appreciation most would sell instead of try to rent out homes. Landlords a
79.
▲
by
bcheung
6y ago
It's certainly a factor, but "temporary" concerns are probably not significant enough to cause people to move. Moving is a big ordeal unless you are young and can pack everything you own into a car.
80.
▲
by
bcheung
6y ago
If you hit <esc> at just the right time you can get it before the article disappears.
81.
▲
by
bcheung
6y ago
As a bay area native (since 1980) thought I would add my reasons for moving and my thought process. These are my observations and opinions only. YMMV I recently sold my house and moved to Las Vegas. It was largely for quality of life and
82.
▲
by
bcheung
6y ago
The purpose of an intermediary virtual machine target is that it abstracts away details like that. It's not that registers won't be used at some point, it is about encapsulation, working at the right level of abstraction, and sep
83.
▲
by
bcheung
6y ago
I was thinking something close to Haskell pattern matching with some variation. Ex: AdditionRule (x :: NumericExpr) + (y :: NumericExpr) = eval(x) + eval(y) It's been a while but I also remember seeing a concise DSL for tree rewriting
84.
▲
by
bcheung
6y ago
I've recently become very interested in this space and am wondering what resources are out there for people wanting to learn more and implement their own languages/environments that use term rewriting? Most of the literature I
85.
▲
by
bcheung
6y ago
Once you know it you see it everywhere. It's kind of amazing how common of a pattern it is without people even knowing it explicitly.
86.
▲
by
bcheung
6y ago
I thought Nil was the answer to not using NULL ;)
87.
▲
by
bcheung
6y ago
The number of variables doesn't matter, as long as they are the same type is the part that matters. <T, E> can be thought of as a pair, tuple, cartesian product. Likewise you can expand it to as many values as you want. If type
88.
▲
by
bcheung
6y ago
> Therefore, to do such thing one has to mentally switch the models to something else and „convert“ the fallible function’s result into a „frozen“ representation. This is where the concept of lifting comes in. Take for example a simple f
89.
▲
by
bcheung
6y ago
Well the other end of the spectrum of surfacing complexity of errors would be idiomatic Golang code. But then half your code becomes "if err != nil" error handling. In many scenarios error handling can be automated because the es
90.
▲
by
bcheung
6y ago
> I’ve not yet seen an explanation of what a monad is that I could understand. Monads are just too abstract for me to grasp, let alone reasoning about. I had a similar thought about the Option monad when I was learning Scala at the time.
More ›