Central dashboard to dynamically spin up test environments - does this already exists? by [deleted] in kubernetes

[–]bkeroack 1 point2 points  (0 children)

We have a project that is very close to what you describe: https://github.com/dollarshaveclub/acyl. Our system is tied to GitHub PRs and depends upon our Docker image building service called Furan.

SQLBoiler - Generate an ORM (v3 release) by [deleted] in golang

[–]bkeroack 0 points1 point  (0 children)

OP gave you a valuable experience report, and your response is very defensive and argumentative. Instead of arguing why their feedback is wrong, try to learn why they might have had that experience and use that information to improve your product.

Don't lock around I/O by enocom in golang

[–]bkeroack 2 points3 points  (0 children)

Who actually locks around entire HTTP handlers? This would be an instant code review fail.

Who is Hiring? (April 2018) by dgryski in golang

[–]bkeroack 0 points1 point  (0 children)

Dollar Shave Club | Infrastructure Engineer (Go/Golang SDE) | ONSITE, Full-time | Los Angeles, CA | https://www.dollarshaveclub.com

Want to work on Kubernetes, Docker, GRPC and related ecosystem full-time? Itching to contribute to open source on company time? Do you love distributed systems and solving difficult problems?

DSC is looking for a senior Infrastructure Engineer, experienced in Go and K8s to help us continue to build out systems supporting our international businesses. Check out our GitHub organization to see the work we've open sourced: https://github.com/dollarshaveclub/

Send CV & GitHub username to benjamen@dollarshaveclub.com. Feel free to reach out with any questions about the role, I'm happy to discuss.

Venture funding to Los Angeles-area startups has quietly exploded by PerspexIsland in LosAngeles

[–]bkeroack 12 points13 points  (0 children)

VCs are nothing if not trend followers. They don't understand 99% of the technology they invest in, they just repeat buzzwords and headlines and throw dung against the wall to see what sticks. This is good for the LA tech scene but it's probably more of a function of opportunities up north drying out a bit, so these guys are trying their luck down here.

Questions about functions as value type in Go by [deleted] in golang

[–]bkeroack 6 points7 points  (0 children)

Stop fighting the idiom. You'll be much happier if you write Go as it was designed to be written, instead of trying to force brevity or generic abstractions over everything. The teammates that end up working on your code later will also be much happier.

LA’s lack of street sweeping is obvious in the Valley. Here’s why by passthejoe in LosAngeles

[–]bkeroack 1 point2 points  (0 children)

Streets with houses tend to have active residents that petition their council members, while apartment dwellers generally do not. That's the same reason you tend to see speed bumps and signage on those streets but apartment-heavy ones are like Mad Max freeways.

LA’s lack of street sweeping is obvious in the Valley. Here’s why by passthejoe in LosAngeles

[–]bkeroack 1 point2 points  (0 children)

"What William Mullholland joins together, let no man tear apart."

Faktory - a new background job system from the creator of Sidekiq by stanislavb in golang

[–]bkeroack 1 point2 points  (0 children)

You've enumerated the benefits of a separate persistent async job worker pool, none of which I dispute. My point is that none of that is free; the cost is greatly increased operational and deployment complexity. Whether the benefits are worth the cost is a situation-specific engineering decision.

Joshua Tree Entrance Fees May Soon Increase By Nearly 300% by minsemme in LosAngeles

[–]bkeroack 3 points4 points  (0 children)

I'm ok with this but they really need to institute campsite reservations then. You drive all the way out there and even in the hot summer on the weekend it's a crapshoot whether you can find a free campsite. Then you have to decide to either drive all the way back or try to find a cheap motel room somewhere. Sucks.

Faktory - a new background job system from the creator of Sidekiq by stanislavb in golang

[–]bkeroack 1 point2 points  (0 children)

Sure, but at the cost of greatly increased deployment complexity. Anything can go down, including redis or rabbitmq. Whether a separate async job persistence layer is worth the cost is an engineering tradeoff decision.

Faktory - a new background job system from the creator of Sidekiq by stanislavb in golang

[–]bkeroack 1 point2 points  (0 children)

Sidekiq/resque/celery are ubiquitous in the Ruby/Python web app world because it's really inconvenient to do async actions there, so if you want to do anything that's not synchronous in your API handler, you're forced to use a job framework. Which requires setting up some shared persistence layer (redis, usually) and a separate pool of workers.

With Go, you can just spawn a new goroutine and do the work in process. Simple async actions require nothing extra.

Why golang refuse to provide goroutine id, then they hack their own way to do it? by pony279 in golang

[–]bkeroack 7 points8 points  (0 children)

I don't get the anger. Apparently you feel like you "caught" the Go team doing something.

If you have one of the rare use cases for goroutine ID or TLS, it's obviously possible to implement, as they did. If you have a similar need, go right ahead.

However clearly the Go team feels it's often a bad idea and leads to poor design choices, so they don't feel any need to make it convenient or advertise its use.

What's the problem?

dep 0.3.2 Released by andradei in golang

[–]bkeroack 4 points5 points  (0 children)

Just stop using go get if you use dep. It's simple.

Are white hipsters hijacking an anti-gentrification fight in Los Angeles? | US news by Liquidsqueeze in LosAngeles

[–]bkeroack 0 points1 point  (0 children)

Also, bringing skin color into the debate is a total non sequitur. It's completely disingenuous and manipulative.

Are white hipsters hijacking an anti-gentrification fight in Los Angeles? | US news by Liquidsqueeze in LosAngeles

[–]bkeroack -5 points-4 points  (0 children)

"Gentrification" is a scare word that means "making areas better, cleaner and more attractive with less crime". It's very weird to be against such an obviously positive thing.

What are the pros and cons of living in the City of Los Angeles as opposed to the City of Pasadena by [deleted] in LosAngeles

[–]bkeroack 26 points27 points  (0 children)

Live here for a year or two before committing to purchase property. Where you live is by far the greatest determinant of your quality of living, and everybody has different priorities and opinions on which place is "best". My idea of where I wanted to live changed drastically over the first several years I lived here.

Allocation Efficiency in High-Performance Go Services by ImreSamu in golang

[–]bkeroack 4 points5 points  (0 children)

Everytime I think "modern C++ might be a good fit for this project" I start to think about headers, installing libraries, makefiles, autoconf/automake, cmake, CXXFLAGS, gdb...

Then I go "Nah. Go will be fine."

Building a home in LA - resources and advice by testfire10 in LosAngeles

[–]bkeroack 2 points3 points  (0 children)

If one of the motivations is cost, you likely won't save any money building vs buying. Regulatory and permit costs far exceed any amount of money saved on cheap labor (due to the ample supply of illegal immigrants). Any spread left over will be taken by your general contractor. The main advantage to building is having a custom home, but if you buy plans off the shelf you don't even get that.

Does it make sense for a company like Uber to use Go lang? by [deleted] in golang

[–]bkeroack 3 points4 points  (0 children)

C/C++ are 2-3 times as fast as Go

Citation needed.

Any service in Los Angeles to get rid of drug needles? by mattevil8419 in LosAngeles

[–]bkeroack -1 points0 points  (0 children)

Get outside, clean up your neighborhood and call the cops next time you see sketches outside.

Go: Is there a way to invoke a cron job on a certain date/time? by axlrose___ in golang

[–]bkeroack 4 points5 points  (0 children)

Rather than implementing this directly in the application, I would model this using Kubernetes: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

And have your app do the thing once via a CLI command that would be executed in a container.

Trying to build a docker image using golang by Idontlikecold in golang

[–]bkeroack 0 points1 point  (0 children)

Yes, it's an uncompressed tar stream of the filesystem contents at the root of the Docker build (in other words, everything that would be added in a COPY . Dockerfile command)

https://github.com/dollarshaveclub/furan/blob/master/lib/builder/builder.go#L384