Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jshen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
120 ms
·
721.
▲
by
jshen
9y ago
This is really cool and all, but I really wish Google Cloud would move things out of beta faster. Cloud Functions are still in beta despite them being GA at both AWS and Azure for a while now. Enterprises typically won't use beta softw
722.
▲
by
jshen
9y ago
Many things, money being only one of them.
723.
▲
by
jshen
9y ago
You are making a big assumption which I don't think you can make which is ... that Amazon is the result of a person or people who solely care about money. I don't think your assumption is true.
724.
▲
by
jshen
9y ago
Why not use App Engine instead of Container Engine? You could likely save more that way.
725.
▲
by
jshen
9y ago
I think so, specifically a ternary search tree. While you can implement one on top of redis, I’m pretty sure it would be significantly slower than an in memory TST.
726.
▲
by
jshen
9y ago
I'm curious how they get around the challenge of slow startup and warmup time of the JVM.
727.
▲
by
jshen
9y ago
When you say "doing things right", what does "right" mean exactly? I see people say this a lot, and I think that I do things "right", but my definition of "right" is very different from yours. My defi
728.
▲
by
jshen
9y ago
She mentioned that users don't like having their data collected for advertising. Apparently you did a word search but didn't actually read the material.
729.
▲
by
jshen
9y ago
I think people misunderstand low risk. On average it easily nets out positively depending on location. The problem is the "on average" part. If due to bad luck you aren't the average, is it catastrophic for your finances, or
730.
▲
by
jshen
9y ago
"and renting for $3K per month" I think you make a lot of assumptions, like the one above, which don't fit my admittedly anecdotal experience. I live in one of the hot markets, I bot a place at the peak of the market before t
731.
▲
by
jshen
10y ago
What is an example of a well done API that functions the way you describe?
732.
▲
by
jshen
10y ago
Anyone know if it works with the app engine runtime for go? I've never gotten anything to work for that except IntelliJ.
733.
▲
by
jshen
10y ago
It's not in the same ballpark. I'll throw some code up when I get a chance. Edit: do you have a twitter or Reddit account? I'll ping you when I have code examples if you want.
734.
▲
by
jshen
10y ago
128mb is a lot compared to go which will often run around 10mb. Was your jvm back then 32mb or 64mb? If it was 32 your memory requirement will be higher on 64.
735.
▲
by
jshen
10y ago
Try to do it and shoot me a github link. Trust me, I've tried, but I'm no JVM expert so there could be some magic flag I'm unaware of. I can get it to start around 30-50mb, but as soon as you hit it with traffic the memory us
736.
▲
by
jshen
10y ago
That's not it. A fairly small http server in go will run in tens of megabytes. The same thing on the JVM requires a couple hundred megabytes at best. The difference in startup time is roughly the same as well.
737.
▲
by
jshen
10y ago
I have golang website/web app that runs at tens of megabytes per process. A very similar java web app runs in a few hundred megabytes per process. I also run these in on cloud platforms that auto scale. The golang processes spin up ver
738.
▲
by
jshen
10y ago
I'm saying the same thing you are. Maybe I could have been more clear, but I was trying to avoid the nitty gritty tech details. Like you said, it's misguided at best and an excuse at worse. I'm asserting that it's an exc
739.
▲
by
jshen
10y ago
Here's the deal, nearly all of the benefits of AMP are unrelated to the masking of the URL, they are in the HTML validation aspects of AMP. Masking the URL and keeping users on Google when they think they are on Slate is a rather naked
740.
▲
by
jshen
10y ago
Not really, the page is located on slate.com, that's the canonical location, and google is adding a secondary location that is confusing and adds very little benefit. AMP provides a lot of benefits that do not depend on google hosting
741.
▲
by
jshen
10y ago
True, but you can serve the AMP page directly from the host.
742.
▲
by
jshen
10y ago
Most major sites use a CDN already. It's really to keep users within google.
743.
▲
by
jshen
10y ago
It's not an AMP thing per se, it's how Google handles AMP in search results.
744.
▲
by
jshen
10y ago
I've seen ordinary users get frustrated with it, but they don't understand why. They don't know what AMP is, and they don't realize they are on an AMP page. For example, the URL bar says they are on Google but they are r
745.
▲
by
jshen
10y ago
Nearly everyone in the world owns a phone. It's the default computing device for the world. See: http://ben-evans.com/benedictevans/2015/7/8/capitulation http://ben-evans.com/benedi
746.
▲
by
jshen
10y ago
My thought is that it doesn't matter because MS missed the mobile market. People will default to the products that best integrate with their phones, and that will be iPad Pro or .... whatever the android space has to offer.
747.
▲
by
jshen
10y ago
I agree, but people aren't going to pay someone to run a server for them when Facebook, twitter, snapchat, etc are free. It's also hard to argue that it's fundamentally different if you don't run it yourself.
748.
▲
by
jshen
10y ago
Here's something from the first part of the install which is not something a normal person would ever do: Configure the EC2 security groups (firewall) to let you reach Sandstorm By default, Amazon EC2 protects your virtual machine from
749.
▲
by
jshen
10y ago
Datastore seems really cheap to me, am I missing something?
750.
▲
Concurrency in Ruby 3 with Guilds
(olivierlacan.com)
3 points
by
jshen
10y ago
|
0 comments
More ›