1,665 karma · joined Aug 6, 2011 (15y ago) · 708 submissions
comment 13y ago · link · parent
I can personally say the pothole and "thing on the road" warnings might have saved me from damaging my car a few times, maybe even helped me avoid an accident (a mattress was on the highway, yikes).
comment 13y ago · link · parent
For those companies called out but not involved (as the Post walks back its language), it has to be an exceptionally frustrating experience.
comment 13y ago · link · parent
That is the impossible issue. By refusing to acknowledge the fundamental technical debt, ALL other conversations are entirely pointless.
You end up trying to come up with backchannel misleading ways to solve the real issue... "maybe if I just say we need more tests" ... "maybe if I recommend a new architecture, which will force a rewrite" ... etc.
The problem with all these things is that if they aren't validated and required by the technical debt (which is unacknowledged), you just seem crazy!
I have now had to deal with crippling technical debt twice, and I think it is maybe the most toxic issue I have ever seen, made worse when there is an emotional connection or overvaluing of that code.
At a certain point, if you have too much technical debt... I think you just have to declare bankruptcy on it and start over, doing your best to reuse the bits that are worth it.
comment 13y ago · link · parent
Is winning an argument convincing the person you are arguing with that you are right?
Is winning an argument convincing a 3rd party that you are right?
Is winning an argument whoever makes the greater number of valid points (debate style)?
... what does it really mean to win an argument to you?
comment 13y ago · link · parent
EDIT: For the record, I really like Parse, and am a paying customer for two CRUD mainly products.
comment 13y ago · link · parent
Secondly, school is a system, government is a system, large corporations are systems, learning to survive and advance within systems is valuable. Outright revolt as an individual is generally purposeless, use that creativity to find way to minimize effort while maximizing gain.
I learned this trick far too late in my school career!
comment 13y ago · link · parent
The important addition is -- he does not check this clone into his OWN source control, so his source control doesn't have a complete hermetic version of the application, it has a "partial" application... or really "application bits".
> Fast forward to when the community takes over, they clone the Haunts project and attempt to build it. Now they are using the HEAD of the 'github.com/go-gl/opengl/gl' repository, as specified by the imports path and they find that it no longer compiles.
If he had checked it into his version control system (you might call it forking, I call it localizing), they would have had the EXACT same version as him and they would not have had to fulfill that dependency on their own. Also, the same import path would continue to work off this local checked in version.
> By forking, or maintaining your own copy of library, you get a level of isolation from the upstream developers.
I thought that maintaining your own local copy of libraries under /src was the norm for go developers, as the value of hermetic checkouts goes hand in hand with some other Go'isms like static built binaries.
comment 13y ago · link · parent
That said, the ability to build a static binary quickly and scp to a server is ... amazing. The convention (not forced) of localizing what you depend on in your /src and making hermetic commits is amazing in practice. It means that I simply git clone FOO && go build BAR and it builds and spits out a static binary I can ./bin/BAR
comment 13y ago · link · parent
There is a lot of "worse" in Go. It seems the "worse" choices were for 3 reasons: (1) make the language simpler, and (2) make the compiler / tooling simpler to build or (3) ship a production usable product in X time. I think all might yield benefits in the long term.
Getting angry about a "poor language" is pointless, there are hundreds. It seems people get more angry that it might get popular more than their favorite language. For a bit, I was a bit of a stick in the mud about Go because I was hoping Erlang (maybe with Elixir) would take off. After that I was worried it might get popular before Rust had a chance to get off the ground.
But, after having spent some time with it -- I have grown to like its odd, pragmatic mix of tooling and features.
comment 13y ago · link · parent
Notice the lack of overlap in your own points(1-4), that right there is the crux of the issue. Beyond that, on (5) I simply respond... what? I think you are flat out wrong about (6) and how they pick languages (I contract for them), they "hear" node.js is super fast and will double output and want to use it. (7) is part of what Go was designed to enable, building tools for it is AWESOME (Go AST!).
If anything you made a killer post, maybe just not for the reasons you think.
comment 13y ago · link · parent
That said, I think a lot of what makes Go great is because of its simplicity, lack of surprises, and general lack of cleverness. You can get your hands around the language features very easily, in mere hours.
Beyond that, I think the ease of building tooling on top of the AST (or in general), the ease of deploying code to production, the build speeds, the inclusion of go get and fmt, the policies around imports and variable use (use or lose) all add up to be more than the sum of its parts. It is very obviously built by a team looking to use it in production, on real projects, as soon as possible.
comment 13y ago · link · parent
comment 13y ago · link · parent
There are a lot of great languages that end up mostly academic because they lack whatever the magical balance of features, simplicity and usefulness it takes for a language get mind share.
I suspect Go might have hit the magical balance with channels, strong types, great build system, simple minimal syntax and language keywords, fairly opinionated best practices (and formatting) and static single file deploys.
comment 13y ago · link · parent
Honestly, compared to the exception hellscapes I have had to deal with in Java and C++ --- it seems like the path of least surprise. Which incidentally has been my favorite things about Go, the low number of surprises.
A lot of using Go in real work has gone against my expectations. There are a lot of things I initially saw as huge warts (lack of exceptions, generics and import versions), but I liked channels enough (Erlang background) to give it a shot. So far, I have been delighted by using it as a stack (build cycle, deploy method, terse C'ish syntax).
comment 13y ago · link · parent
comment 13y ago · link · parent
Intel HM77 Chipset with a i7 3630QM, 32GB of DDR3 1600 MHz (Crucial), 2x M500 960GB SSDs (Crucial), GeForce GTX 670MX with 3GB GDDR5, 17.3" screen (1920x1080, amazing matte screen, my favorite feature).
Cons: Ugly as hell. Heavy as hell. Battery life is terrible. The chicklit keyboard seems to require a breaking in period of about a month. Stupidly wide bezzle around the 17.3" monitor (just because the rest of the laptop is to big).
Pros: That ugly design creates the best cooled laptop I have ever worked with, it is a joy to game on for hours, best matte screen I have used on any laptop, tons of USB ports (USB3), and overall I would buy it again. Relatively clean audio out for high end headphones (Shure SE530), but at home I still use a external usb soundcard. Naturally spaced keyboard + numpad is awesome.
EDIT: I am also a bit of an Asus loyalist at this point, as it is the only company that has built laptops that survive the way I treat them. Apple, Dell, Acer, Sony (worst!) all fall apart on me. That said, I understand that the Lenovos are built like tanks and have similar features.
comment 13y ago · link · parent
Seriously, it seems so goddamn basic. I am going to walk you through step by step how I would add an external library to my Go project.
#1. Switch to the go project directory #2. Fork for the new feature (adding_mux) #3. Run go get github.com/gorilla/mux #4. Add import "github.com/gorilla/mux" to my code, use mux for great goodness #5. Commit my code (this is commit of ./src which includes two things, the addition of the new github.com/gorilla/mux/* and my code using that new library) #6. Merge #7. Push
At this point, the commit that was just checked in doesn't need a change to its import path, will never break and will work as it was committed FOREVER. git clone FOO; go build BAR -- victory!
If at some point I want to update that library (new cool feature!)
#1. Switch to go project directory #2. Fork for updating library (update_mux) #3. Run go get -u github.com/gorilla/mux #4. Write code using new awesome features #5. Commit my code (again, "my code" in this case is both the update to the mux library, and my new usage of it, again committed together for great goodness!) #6. Merge #7. Push!
I feel like one of us is bat shit insane, and at this point, I am just hoping it isn't me.
EDIT: Another cool side effect of this is you end up with localized hermetic copies of your code with references for posterity to where you got it, bonus points!
EDIT 2: For reference, there are various forks of the source he "released" (abandoned? Sold for 28k? whatever) ... I think you can start looking at the github network from here: https://github.com/runningwild/haunts
comment 13y ago · link · parent
When you have import "github.com/gorilla/mux"
it will look in
$GOROOT/src/pkg/github.com/gorilla/mux and $GOPATH/src/github.com/gorilla/mux
if it is missing, you can fulfill it with
go get github.com/gorilla/mux which will place it in the first place in $GOPATH
What are you talking about breaking with distributed teams? Since $GOPATH/src/github.com/gorilla/mux is in source control you NEED NOTHING and it will be a known working git clone.
EDIT: Additionally, it will never auto-update those dependencies (and break your build) unless you explicitly tell it to with "go get -u".
comment 13y ago · link · parent
You don't bet your production software on things randomly downloaded from the internet at compile time. This is why go never auto-updates when you do "go get", you have to explicitly use "go get -u".
Always localize what you depend on, you never know when a github repo could be pulled, go offline, be renamed, a lawsuit could break out making the library vanish. There are TONS of reasons you should ALWAYS localize your dependencies for building software.
EDIT: This has the amazingly cool side-effect of meaning even on complex projects, you can just do a git clone and then go build FOO and it just works, no nonsense, no fuss, and it is EXACTLY in the state it was when it was checked in -- no surprises.