HNHacker News
TopNewBestAskShowJobs

thesandlord

1,079 karma · joined October 14, 2014

Cur: Building Mercoa (YC W23)

If you are looking to add Accounts Payable to your B2B product, drop me a line at sandeep at merc○a d○t c○m

Prev: Eng @ Stripe

Founder @ Kbee.app / Simplemnt.com

Developer Advocate @ Google Cloud

https://twitter.com/SandeepDinesh https://medium.com/@SandeepDinesh

[ my public key: https://keybase.io/thesandlord; my proof: https://keybase.io/thesandlord/sigs/f2WVOvjTgL_9f-Z701fGoqiRtlfAavM5RzczPZjZem8 ]

submissionscomments
thesandlord··on Free Linux cloud shell for Gmail users
Network Egress is not included in the price, so you have to keep that in mind. Ingress is free. Otherwise, feel free to use 100% 24/7.
thesandlord··on Real-time updates without JavaScript
Oh wow, I couldn't really notice the page refreshing at all... Nice job.
thesandlord··on Real-time updates without JavaScript
This is a really cool hack. Is the source code available somewhere? I understand how the updates are showing up in my browser (using CSS ::before and never closing the connection), but can't figure out how the post works without refreshing the page. Can't view source because the page never actually finishes returning. I'm probably forgetting something basic.
thesandlord··on Google dedicates engineering team to accelerate development of WordPress
WP Engine is a GCP partner: https://wpengine.com/try/google-cloud-platform/

And GCP has a page dedicated to Wordpress: https://cloud.google.com/wordpress/

(I work for GCP)

thesandlord··on Free Linux cloud shell for Gmail users
Free trial, yes. Free tier, no.

Basically the free tier subtracts the cost of a f1-micro from your monthly bill if you have at least one running.

thesandlord··on Free Linux cloud shell for Gmail users
I don't think that feature is planned. However, you can get a f1-micro VM for free:

https://news.ycombinator.com/reply?id=16248668&goto=item%3Fi...

thesandlord··on Free Linux cloud shell for Gmail users
So there is the free trial and the free tier.

The free trial is $300 for 12 months that you can spend on pretty much anything (I think there are some limits on GPUs due to abuse).

The free tier is free forever, no dollar limits or time limits. This includes the 24/7 f1-micro, 28 App Engine hours per day, Cloud Datastore, Firebase stuff, some Cloud Functions, etc.

thesandlord··on Free Linux cloud shell for Gmail users
If you want a free Linux box with a Public IP and SSH, I'd recommend spinning up an f1-micro VM. It's part of the permanent free tier:

https://cloud.google.com/free/

Cloud Shell is a "temporary" instance, really meant for interactive Dev/Admin work.

(I work for GCP)

thesandlord··on Free Linux cloud shell for Gmail users
This has nothing to do with Gmail. It is part of Google Cloud. Both Gmail and GCP use your Google Account. The title is misleading.

(I work for Google Cloud)

thesandlord··on Free Linux cloud shell for Gmail users
(I work for Google Cloud)

If you want to learn more about Cloud Shell, the marketing page is here: https://cloud.google.com/shell/

Cloud Shell is one of my favorite things about GCP. A lot of dev tools (Docker, Python/Go/Node/Ruby/Java/.Net, etc) are pre-installed, you can test "localhost" servers with the preview feature, there is a built in file editor (based on the open source Orion project), etc. And it's all free!

This link will directly open the shell in a full page, and I'm not sure it will work unless you have set up your GCP account before. It's really not designed to be opened this way, I recommend opening it from the GCP console and then making it full screen if your want.

Also note: Cloud Shell gives you a persistent 5GB /home Directory, but every other folder is reset after a while. If you want to add your own binaries, I'd recommend adding home to your path and installing them there.

thesandlord··on Scaling Kubernetes to 2,500 Nodes
According to the article, they are using NC24 VMS, which have 4 K80s attached. So yes, I would assume they are using GPUs.

Check out https://github.com/google/kubeflow if you are interested in doing the same.

(Disclaimer: I work for GCP doing K8s stuff, I know GKE clusters support GPUs and Kubeflow, not 100% sure if AKS supports it or if you need to set up your own cluster like OpenAI did.)

thesandlord··on Azure Functions vs. AWS Lambda – Scaling Face Off
You technically can hack it to work:

https://medium.com/@salmaan.rashid/running-net-on-google-clo...

Native support for more languages is coming.

thesandlord··on Food-safety expert warns Silicon Valley $60 ‘raw water’ trend could turn deadly
> Silicon Valley is developing an obsession with untreated, unfiltered water, according to The New York Times.

I know this is anecdotal but everyone I know in "Silicon Valley" drinks tap water (straight from the tap or filtered) or sparkling water. Flavored sparkling water is definitely a fad in the Bay, I've never seen or seen someone consume unfiltered water. Seems very sensationalized.

thesandlord··on More details about mitigations for the CPU Speculative Execution issue
Works fine for me with JS disabled. In fact it loads even faster...

https://imgur.com/a/Hbyj8

thesandlord··on Reading privileged memory with a side-channel
> The infrastructure that runs Compute Engine and isolates customer workloads from each other is protected against known attacks. This also means that customer VMs are protected against known, infrastructure-based attacks from other malicious VMs.
thesandlord··on Reading privileged memory with a side-channel
This means that Customer A's VM cannot attack Customer B's VM.

However, if the OS inside the VM is unpatched, then code inside the VM can attack other code inside the VM. If for example you install some malware on your VM, it could use this attack.

(I am not a security expert, this is just my understanding and not a official Google statement)

thesandlord··on Three Years on Google App Engine
> What Google should consider doing is making App Engine "classic" services like Memcached, etc. available to any service running across GCP.

Already being done. First was Datastore, now Cloud Tasks is in Alpha. Expect to see others (Cron, Cache, etc) come as well.

thesandlord··on A lightweight, high-performance, language-independent job queue system
Not sure, and I can't talk about things that aren't public anyway :)

GCP and Elastic did partner to offer hosted Elasticsearch though it's not a fully managed service: https://www.elastic.co/about/partners/google-cloud-platform

thesandlord··on A lightweight, high-performance, language-independent job queue system
FYI: Tasks are finally being decoupled from App Engine into their own standalone service (similar to Datastore before it).

Currently Alpha: https://cloud.google.com/sdk/gcloud/reference/alpha/tasks/

(I work for GCP)

thesandlord··on Learning to operate Kubernetes reliably
(I work for GCP)

For 95% of people, I'd say going with the managed version is the right choice.

However there are some reasons why you wouldn't use a managed service. If you need a custom build, custom drivers, etc.

thesandlord··on Tacotron 2: Generating Human-Like Speech from Text
To add: > Also, our system cannot yet generate audio in realtime.

For an production GCP API, I think faster than real-time would be necessary.

For example, WaveNet took a year to go from research to production in Google Assistant: https://deepmind.com/blog/wavenet-launches-google-assistant/

thesandlord··on Kubernetes 1.9: Apps Workloads GA and Expanded Ecosystem
Try:

gcloud beta clusters get-credentials cluster-1 --region europe-west3

You need the beta command, and you need to set the region flag instead of the zone flag. Looks like there are some documentation and UX gaps, I'm opening tickets to get them fixed (I work for Google).

thesandlord··on Spanner, TrueTime and the CAP Theorem [pdf]
(I work for Google Cloud)

Half this paper covers what happens during a network partition, the other part talks about the historic data backing up the claims that they are super rare. There is even a whole section called "What happens during a Partition".

On the first page:

> The purist answer is “no” because partitions can happen and in fact have happened at Google, and during (some) partitions, Spanner chooses C and forfeits A. It is technically a CP system. We explore the impact of partitions below.

And the conclusion states as a fact that outages will occur:

> Spanner reasonably claims to be an “effectively CA” system despite operating over a wide area, as it is always consistent and achieves greater than 5 9s availability. As with Chubby, this combination is possible in practice if you control the whole network, which is rare over the wide area. Even then, it requires significant redundancy of network paths, architectural planning to manage correlated failures, and very careful operations, especially for upgrades. Even then outages will occur, in which case Spanner chooses consistency over availability.

thesandlord··on Kubernetes Best Practices
Update: Post has been updated with a link to the slide deck!
thesandlord··on Kubernetes Best Practices
Not sure right now, but I'd say follow me on Twitter and Medium and I'll definetly let you know! (both in my HN profile)
thesandlord··on Kubernetes Best Practices
I really appreciated your deep dive comments, they were good! People who see it will actually learn some best practices.
thesandlord··on Kubernetes Best Practices
This seems to be a straight copy-and-paste of one of my talks. With zero credit to me :(

https://speakerdeck.com/thesandlord/kubernetes-best-practice...

WTF...

(BTW I'm creating a full deep dive series to go into each of these bullet points in much more detail)

thesandlord··on Mega Benchmark: Cost of AWS vs. GCE vs. IBM vs. Hetzner for Machine Learning
Here is the C# support: https://cloud.google.com/dotnet/
thesandlord··on Mega Benchmark: Cost of AWS vs. GCE vs. IBM vs. Hetzner for Machine Learning
Oh good to know! Looks like a similar model to GCE.
thesandlord··on Mega Benchmark: Cost of AWS vs. GCE vs. IBM vs. Hetzner for Machine Learning
Have you tried GCP's Preemptible VMs? They are like Spot but without the bidding. If you have, what do you like better about Spot?

https://cloud.google.com/preemptible-vms/

(I work for GCP)

← PreviousPage 6 of 9Next →