Better HN
topnewbestaskshowjobs
Log inSign up

MetaCosm

1,665 karma · joined Aug 6, 2011 (15y ago) · 708 submissions

[ my public key: https://keybase.io/robertmeta; my proof: https://keybase.io/robertmeta/sigs/UgvPNSEcpGbldHtQnQ_-c8SyRvBKjKTr_CLh0lpK0h0 ]
Submissions

comment 13y ago · link · parent

Did you try "stop reading fucking monad tutorials and write some code"?

comment 13y ago · link · parent

Sure, might be a bit hypocritical but i get your point. Most of the noise that comes from Waze is when it detects you aren't moving. That said there is the light social encouragement if you see a something (something in road) to put it on the map, or confirm / deny it.

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

I believe with the onset of better programmed accounting packages, now most money that flows from {{3letteragencies}} to companies goes via cursory legit looking shell companies.

comment 13y ago · link · parent

Effectively what these companies are trying to do via stronger and stronger denials is prove a negative... which of course is borderline useless. Regardless of the truth, to PROVE they were not involved is impossible.

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

Everytime I think a feature doesn't exist in tig, I search the docs for it... facepalm that I didn't realize it could do that and love it ever so much more.

comment 13y ago · link · parent

> There's an insurmountable amount of technical debt that nobody wants to acknowledge.

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

I suspect it isn't as a fellow WF customer and Linode customer.

comment 13y ago · link · parent

That link clears a lot up. I can stop wasting my time. yawn

comment 13y ago · link · parent

Of course, charity only goes so far, if the ROOT of their argument is a logical fallacy, no amount of charitable thinking will repair the hole.

comment 13y ago · link · parent

I guess we would really have to drill down to what you consider "winning an argument". I am not sure you and I would agree on what that means.

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

Time for firefox and chrome plugins that show the dollar value on a specific issue right on github, or whatever sites you support. Make it so I can add 10 dollars to an issue I care about, and add a "Sort by money" thing.

comment 13y ago · link · parent

That assumes three things. #1. Product category that fits Parse (obviously if you are dependent on machine learning built on postgresql, might not be a great fit). #2. A start-up that is comfortable with that level of dependency and lack of internal knowledge. #3. A startup who considers the bulk of their value to be in interface or first-move network effect advantage (else, company Z will clone their app using parse in a few weeks after all the hard learning is done).

EDIT: For the record, I really like Parse, and am a paying customer for two CRUD mainly products.

comment 13y ago · link · parent

There is an outcry against Parse? Seriously? As a back-end engineer, I always thought it was a clever niche product and I was happy (but a bit fearful) when they got acquired by facebook. Nice to see they are still trying to innovate.

comment 13y ago · link · parent

> I am readonly on YouTube, they have in my opinion the most healthy social community right now

... I assume the author was referencing maybe video responses... the meaning can't be that YouTube comments are the best social community, can it?

comment 13y ago · link · parent

First of all... June 2007 article.

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

> In short, original developer has the clone of the OpenGL library in their 'src' directory. While working on Haunts his making changes to it and not pulling updates from upstream. All is well, things will always build on his machine because as you say, it won't update unless he does 'go get -u'.

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

I pick on Cabal because when I started Haskell a few years ago, it cost me days and days... and almost made me hate Haskell. I learned to get past it and still <3 Haskell. But it isn't just Haskell, it is lots of less popular languages and toolkits, they have significant "offramps" via deploy problems, tooling problems, build problems (but not pure language problems, the core language might be gorgeous).

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

The horror of python dependencies, build and deploy (I currently am working on a 250k+ LOC python project) is part of what made me really love what is around the edges of Go.

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

You kinda made his point for him didn't you? He said all these are benefits of Go, and you pointed out he would need to use lots of different languages to get them elsewhere.

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

As a pragmatist and someone who enjoys Haskell and F#, I find your comments very academic. There will always be less popular, feature packed fun languages like Rust, Haskell and OCaml, and there will always be teams that use them to great advantage (Jane Street). But IMHO, lots of these systems are a little creaky in the support structures (cabal for example) and deploy features.

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

Go AST is something that I think will really help as it grows for writing great tooling.

comment 13y ago · link · parent

For some reason, I really enjoy showing this slideshow to people -> http://blog.menfin.info/Presentations/20120709_Golang_introd... ... it is short, gets across a lot of the core ideas very quickly.

comment 13y ago · link · parent

The list of cool things Go doesn't have is a darn long one. They opted for simplicity at lots of points. I think it is worth noting these were decisions, not necessarily oversights.

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

Unlike C, Go isn't overloading what is returned, it has an extra param, and the language has been baked to handle doing like initialization and checks in single line if statements. It does force the developer who might actually have a clue what the exception is and how to fix it to handle it, but IMHO this is a good thing. Go forces lots of things like this (not using an import, won't compile; not using a variable, won't compile).

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

I suspect unless someone gets real exciting about this and modifies one of the toolchains, this won't happen in the near future. You can do (1) with some ugly syntax. Regarding (2) and (3) -- I know some projects are happening in both those spaces, but haven't kept up with them.

comment 13y ago · link · parent

Asus G75VX (laptop) with some aftermarket parts (x2 -- one for home, one for work)

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

Do you mainly use the Pixel in ChromeOS, or go developer mode and boot Linux?

comment 13y ago · link · parent

I don't understand, so explain it to me like I am a child, I am certain I am missing something basic and the developers on the project aren't as dumb as it seems.

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

What? It ONLY looks for localized copies.

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

No need to fork, it puts a copy of those libraries under ./src, so you always have a sealed (hermetic) referentially complete copy.

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.

1
171819
24