Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
601.
▲
by
skj
11y ago
There's a line to be drawn between "don't be evil" and "don't do evil". With such a huge organization, things slip through the cracks and accidents happen that result in bad things. But I find it hard to b
602.
▲
by
skj
11y ago
It means only put code in source hosting, not user data. That is, follow best practices with your repository.
603.
▲
by
skj
11y ago
That's because it's not actually project hosting, despite what the article may claim. It's a way to get your code onto the platform.
604.
▲
by
skj
11y ago
It did. When googlecode.com launched, it was an immediate market leader (keep in mind that it displaced the wretched sourceforge.com). When the new wave of source hosting (github, bitbucket, etc) made its way up, googlecode fell by the ways
605.
▲
by
skj
11y ago
The first one, sure, but all the others don't really seem like features of source hosting...?
606.
▲
by
skj
11y ago
No, GP was correct. It is intended as a way to get your source into the platform. They're private repos to which only people in your projects have access.
607.
▲
by
skj
11y ago
Source hosting is the only feature of GCP source hosting. It's literally just a way to get your code into the platform, nothing more.
608.
▲
by
skj
11y ago
Yes. Open source GCP projects are hosted either on github or googlesource.com, an unindexed place for git and codereview. (eg https://go.googlesource.com is where the go language is hosted). And keep in mind, googlesource.com is
609.
▲
by
skj
11y ago
Calling the GCP source hosting a competitor with github is nonsense. No public access to these repos, for one, so they're completely unsuitable for general project hosting.
610.
▲
by
skj
11y ago
> I feel safe in claiming that I speak for thaumasiotes when I say I didn't mean it that way. oops!
611.
▲
by
skj
11y ago
> You are right that that it's clear from the code what it is, but it's also definitely not a great variable name. I have two metrics for variable names. First, is it clear what the variable is? You say yes. Second, is it not o
612.
▲
by
skj
11y ago
According to the cousin comment by thaumasiotes, this is not true. It's just that Sunday comes "before" Monday, which is called day 1. ( https://news.ycombinator.com/item?id=9674622 )
613.
▲
by
skj
11y ago
Kubernetes is not an externalized borg. They are completely separate products that do more-or-less similar things. Similarly, dataflow is completely new code that does similar things. As far as I know, GCS, bigquery, and bigtable actually
614.
▲
by
skj
11y ago
So, I never trust users to give me advice on features to add. But I always believe them when they say something is difficult or confusing. Research should not be required to make a good CLI do what you want, provided you understand what y
615.
▲
by
skj
11y ago
jokes are never funny if you have to explain them. just let the reference sit, and make those who get it feel special :)
616.
▲
by
skj
11y ago
whoosh =p
617.
▲
by
skj
11y ago
Why wouldn't I want to do dialog.set_title("blah"); dialog.set_size_piels(100, 100); on two lines?
618.
▲
escape the shackles of godep with wgo
(gowithconfidence.tumblr.com)
2 points
by
skj
11y ago
|
0 comments
619.
▲
by
skj
11y ago
No, nicksardo's understanding was quite correct. Slices are values, and it is impossible to return the same one, because value semantics don't work like that. The slice returned only points to a new array when the capacity is no
620.
▲
Simple CLI for exercising Go's text/template
(github.com)
1 points
by
skj
11y ago
|
0 comments
621.
▲
by
skj
11y ago
> You don't want to end up building a so-called "sitcom" app which no one uses. Why not? The point is to learn. Good software engineering skills take years of practice and experience. One good experience to have is finding
622.
▲
Managed workspaces for Go
(github.com)
3 points
by
skj
11y ago
|
0 comments
623.
▲
by
skj
11y ago
git submodules are sort of a pain to manage. I think they've more or less failed as a git feature.
624.
▲
by
skj
11y ago
Take a look at https://github.com/skelterjohn/wgo - it's vendoring in a way that 'go build' (and 'go get') still work :)
625.
▲
by
skj
11y ago
Lately I've been working on something to address the problems that I see with go get. https://github.com/skelterjohn/wgo It's a workspace layer on top of the go tool, with added support for repository pinning
626.
▲
by
skj
11y ago
It looks like https://circleci.com/docs/deploy-google-app-engine explicitly hard-coded an old version of the appengine SDK. And by old, I don't mean not-quite-the-latest, I mean quite old. When it was yanked, it w
627.
▲
by
skj
11y ago
Might have something to do with another comment in this thread... > I didn't even realize they offered this - CloudFlare really seems to dominate the narrative in this area. Is this something you used? Does its turndown affect you?
628.
▲
by
skj
11y ago
'gcloud auth activate-service-account' will auth using a JWT, acquired from the Cloud Console. Also, if you are running stuff in Google Compute Engine, no auth flow is needed at all: there is a metadata service that you can connec
629.
▲
by
skj
11y ago
https://github.com/google/google-api-go-client is the code-gen Go client for Google APIs. It probably does not (yet) have the generated client for cloud bigtable checked in (but I'm sure it will), but you can alwa
630.
▲
by
skj
11y ago
Why would you immediately think the poster was referring to you? Seemed directed at Romney.
More ›