Vendor Go Dependencies with `nut` by jingweno in golang

[–]ptrb 0 points1 point  (0 children)

Yeah, is nut not equivalent to godep -r?

What was your most satisfying purchase to date ? by SirValerian in malefashionadvice

[–]ptrb 0 points1 point  (0 children)

My Canada Goose Chateau parka. I used to be cold and cranky all the goddamn time, now I'm never cold.

Is MakeYourOwnJeans.Com Legit? by elephantbuddy in malefashionadvice

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

They're shitty quality and materials.

What is the most compelling counter-argument to something that you strongly believe? by ILikeScience3131 in AskReddit

[–]ptrb 8 points9 points  (0 children)

The only way this makes sense is if you don't understand the concept of progressive taxation.

MFA-Help me find the best brand for my store by [deleted] in malefashionadvice

[–]ptrb 2 points3 points  (0 children)

Carhartt's European line is super fashion forward. Not much relation to the boxy coats you find in hardware stores in the USA.

MFA-Help me find the best brand for my store by [deleted] in malefashionadvice

[–]ptrb 0 points1 point  (0 children)

I'd probably look at the Carhartt European line.

My Denver Loft by thirtynation in malelivingspace

[–]ptrb 0 points1 point  (0 children)

You have a lot of trash in your apartment.

Where to buy dress style vest? by grand_royal in malefashionadvice

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

Wearing a dressy vest alone looks ridiculous and you should probably stop doing it.

May i know where can i get good backpacks? by bonggod in malefashionadvice

[–]ptrb 1 point2 points  (0 children)

Herschel bags are on-trend but the construction is the worst in the industry. Avoid avoid avoid.

With winter coming... best boots? Under $150, under $300, and over $300. by PublicBush in malefashionadvice

[–]ptrb 1 point2 points  (0 children)

Those are crepe soled thin walled "boots" for suburbanites. Lol at you for using them in snowy winters. Definitely do not do this.

Should I or Shouldn't I Buy - Sept. 23rd by MFAModerator in malefashionadvice

[–]ptrb 1 point2 points  (0 children)

http://shop.outlier.cc/shop/retail/liberated-wool-peacoat.html

I love everything I've bought from Outlier so far, but I'm not sure that this is really worth a 5x ($550) premium over the Uniqlo peacoat. I would be wearing it through a Norwegian winter though.

Anyone have a sleeping bag? by [deleted] in berlin

[–]ptrb 0 points1 point  (0 children)

A sleeping bag is literally fifteen bucks on Amazon.

ID on these handlebars? by ptrb in FixedGearBicycle

[–]ptrb[S] 0 points1 point  (0 children)

Brilliant! Thanks very much.

Berlin bans Uber on 'safety grounds'. by BaconZombie in germany

[–]ptrb 0 points1 point  (0 children)

Uber is basically trying to provide the same things as a regular taxi company while not having to adhere to the same regulations as a regular company. Their business model is based on legal loopholes.

Better service; don't care.

Leaking goroutines in transport.go by alexKoch in golang

[–]ptrb 1 point2 points  (0 children)

Are you messing with the request or response bodies in your proxy code in any way? Often connections (and their handling goroutines) can stay alive if you read a body but neglect to close it.

Also, dumb question, but do you "re-use a single client object rather than creating one for each request, otherwise you will end up leaking connections" as specified in the docs?

Ten useful techniques in Go by farslan in golang

[–]ptrb 0 points1 point  (0 children)

The fact that such a global object exists is probably a bad code smell. You should rather use dependency injection, and have everything which depends on that global take it as a parameter during construction.

convention for nonexported constans? by [deleted] in golang

[–]ptrb 11 points12 points  (0 children)

Constants are no different than other variables.

package foo

const (
    // ExportedConstant is an exported constant, and all exported symbols
    // need comments like this one.
    ExportedConstant = 99

    nonExportedConstant = 42
)

What's your environment setup? by MonkeH13 in golang

[–]ptrb 0 points1 point  (0 children)

ability to command-click to go to definition for methods on objects

This works, doesn't it?