Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jshen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
421.
▲
by
jshen
5y ago
That's kind of my point, it's less obvious how to do basic things in js/ts than golang. What's the vanilla way in ts/js to do the equivalent of this golang code where getChoice makes an HTTP call and can't make
422.
▲
by
jshen
5y ago
I messed up my copy/paste, the 'let ce' line in the first example should be in the second example. Regarding your example, where is this throttle method implemented in javascript? And, your code is not easier to reason about
423.
▲
by
jshen
5y ago
Just ran into a great example today. Was using typescript/javascript to hit an api that has a limit of 5 requests per second. One of these fails saying that it's making more than 5 requests per second, the other doesn't, is i
424.
▲
by
jshen
5y ago
Code is law, and that’s a horrible idea.
425.
▲
by
jshen
5y ago
Really? I could be wrong, but I feel like it would be all over the news if Wells Fargo lost $1.2mil. Do you have examples of it happening and not getting press?
426.
▲
by
jshen
5y ago
I would probably require a book length post to truly answer this, but here's the best short version I can do. I think it comes down to a few things. 1. Some languages on your list are very flexible, and that allows them to be written i
427.
▲
by
jshen
5y ago
Go is easier to read for complex code bases.
428.
▲
by
jshen
5y ago
I’ve used all those languages. It’s far easier to make sense of a non trivial go code base I’ve never seen before than any of those.
429.
▲
by
jshen
5y ago
Go is the most readable language I’ve used in terms of understanding other peoples complex code bases, and I’ve been doing this a long time and have used a lot of languages. Edit: It’s also one of the most approachable languages.
430.
▲
by
jshen
5y ago
100% this. I wish it weren’t so.
431.
▲
by
jshen
5y ago
I see a lot of tech salaries. I assure you that you are not being paid at the 50th percentile. If your company is telling you that then they are lying to you. It’s also clear that you don’t really want to be helped, and that you want to fin
432.
▲
by
jshen
5y ago
It’s not just the FAANG companies. You should really check out your worth on the job market. Why dismiss someone telling you that you should easily be able to get paid more? Why the victim mentality?
433.
▲
by
jshen
5y ago
You are underpaid. You should look for other jobs to fix that. Also, at 150k you should be able to afford a place that is 500k or more. I bought my first place when I was making 115 and it cost 400k with much higher interest rates than toda
434.
▲
by
jshen
5y ago
Nope. If you make ~200k a year, you can afford an $800k place, and I can easily find nice places in Seattle for that amount.
435.
▲
by
jshen
5y ago
You aren’t making a typical engineering salary if you can’t afford a $500k place.
436.
▲
by
jshen
5y ago
I call bullshit unless you are entry level. The average engineer at a big company with 5 years experience is probably making >$200k all in. I can easily find 2bd 2bath condos and townhomes in Seattle for ~$800k.
437.
▲
by
jshen
5y ago
That’s how our economic system works. It’s also the only possibility if population continues to grow. There are no silver bullets here.
438.
▲
by
jshen
5y ago
I don’t think this is good advice financially, though there is more to life than money. First, if by “tech salary” you mean a software engineers salary or a product managers, then you should be able to afford a house in a place like Seattle
439.
▲
by
jshen
5y ago
Absolutely shocked that a founder of a new company believes that founder led companies are the simplistic solution to our complex problems.
440.
▲
by
jshen
5y ago
For inappropriate behavior, and fired very quickly
441.
▲
by
jshen
5y ago
This isn’t true at the big company I’m at. I’ve seen several VPs fired in the 10 years I’ve been here.
442.
▲
by
jshen
5y ago
It’s been like this for over a decade. I wouldn’t hold my breath. By comparison, I’m pretty sure the Ruby community adopted bundler over a decade ago.
443.
▲
by
jshen
5y ago
Dependency management in python is much worse than most mainstream languages.
444.
▲
by
jshen
5y ago
A lot of the ideas and heuristics for one-on-ones came from “high output management” which was published in 1983. I’ve been doing this tech stuff a long time. Companies I worked at started doing regular 1 on 1s before regular use of instant
445.
▲
by
jshen
5y ago
There is no one-size-fits-all answer here. It’s certainly fine to do them less often if you aren’t finding enough value in doing it weekly. Most of these rules of thumb came about before tools like slack, which for better or worse, let you
446.
▲
by
jshen
5y ago
He’s an energy vampire
447.
▲
by
jshen
5y ago
I’ve read all of your comments, you’re being very picky all while you can totally afford to buy a house where you live. You won’t consider a townhouse, want a woodworking shop, a music studio, and a motorcycle shop.
448.
▲
by
jshen
5y ago
This guy is just entitled, and a whiny entitled at that. “Why can’t I buy a 10 acre farm with avocado trees and chickens in the middle of the city!!!”
449.
▲
by
jshen
5y ago
So you’re very picky, but can totally afford a place where you live.
450.
▲
by
jshen
5y ago
They have condos and townhouses.
More ›