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

This type of response is why I gave up on Python entirely. Not to pile on you pekk, it isn't your fault, but it is a tone... defensive apologist... "first of all there is no problem, and if there was a problem... it is that Python is too awesome"

As someone who has had to ship stuff using multiprocess & gevent to actually meet real world scaling needs -- and integrating them with C code and communicating to a C++ application via ZMQ (inprocess by sharing the object) ... the sad fact is once we started to tackle really hard problems in Python that aren't pre-solved via a nice library all those early advantages fell away and we craved the blessed simplicity of C++ (note: sarcasm, C++ isn't simple, but it was far simpler than the Frankenstein's monster we built).

comment 13y ago · link · parent

Well -- first thing is lets decouple your premise. You imply that all the technology you listed was designed with server side in mind. It wasn't: C#, Ruby and Java are general purpose languages not targeted at the server explicitly.

Second, if you don't think C++ gets complex (and has entirely different working models based on who is writing it) -- I recommend you use it more. C++ is a damn complex, deep, feature packed language. C++ server side frameworks exist (and are the fastest thing around: http://www.techempower.com/benchmarks/) but they take massive amounts of effort versus some of the newer languages.

PHP took off because of shared hosting, wordpress and pragmatism. People who were inexperienced could (1) get access to it, (2) deploy it and (3) get things done.

ASP.net survives (most would argue it didn't really take off) because if you live in the MS toolchain, it is a very nice experience.

comment 13y ago · link · parent

For me... the part that broke my brain was when he cited Ruby / Rails as something that is low on accidental complexity.

comment 13y ago · link · parent

IMHO, the pain of being handed code is related to its "magic". The more magic, clever, interesting contortions that are present, the less likely you are to get grips on it in any sensible time. Ruby & Rails give lots of tools to create insanely hard to unwind stacks, but I am not sure they are worse than Django & Python (custom loader [importer], decorators everywhere)...

The real bitter pill is that these systems are created with the best of intentions, to make them more maintainable, more DRY, more configurable, more portable... but they generally miss the mark and cause pain for all involved.

comment 13y ago · link · parent

> nutrients, only some of which are known about

Well -- you win by default. His mixture doesn't provide unknown nutrients that can't be identified or tested for... I will call them "god nutrients" or "magic nutrients"... take your pick... that is an insane standard to hold anyone too.

How can I ensure I get my daily allowance of "magic nutrients" via my normal diet... now I am worried. Do you have can full of "magic nutrients" that I can use to supplement my diet?

Any expert who tells me there is a "magic nutrient" that can't be tested for and isn't known (then how do they know it exists?) about... well... I won't be taking a lot of advice from them, I will stick to my trusted palm reader.

comment 13y ago · link · parent

Well -- the new Macbook Air IMHO took a lot of wind out of the sails of such an idea. If I got an Air that I can leave the power cable at home because it will legitimately go all day... why would I even consider such a goofball setup?

comment 13y ago · link · parent

http://yieldthought.com/post/31857050698/ipad-linode-1-year-... <- guy who tried it for a year.

comment 13y ago · link · parent

Comment rot is like wiki rot -- all too common, and often more confusing. There are a couple good rules of thumb I follow.

1) If you are writing a comment, make sure it is a "why" and not a "what" (why this code exists, not a description of what it is doing). Why comments often survive refactoring, you might entirely redo the login system, but the reason you do it is still so people can log in.

2) If you find yourself documenting the "what" about code -- take a moment, and think really hard about why it is confusing. If it is accidental complexity (your fault), refactor it. If it is fundamental complexity (problem domain is a bitch), don't add the documentation to the function, put that knowledge in the tests. Nothing is as harmful that a bunch of gotchas buried in comments no one will read, and will eventually rot and not even make sense after the code is refactored.

comment 13y ago · link · parent

Or, you know tests. Having a "defensive" comment (explaining some critical corner case) is just terrible, write a test that exposes it so code can be refactored. "WARNING" comments are a really bad thing.

comment 13y ago · link · parent

Yeah, that left my head spinning as well.

comment 13y ago · link · parent

My lawyer was unable to assure me of this -- the law is terribly written. Due to the nature of the data worked on, I have to travel to MA and do a major component of the work on site.

My understanding is "rewording and clarifications" are coming. I know my client (employes hundreds of people) has unleashed a bit of hell over this -- we will see what will happen.

comment 13y ago · link · parent

> Yes, some things that are classified probably don't need to be. That may undermine public trust and dilute our ability to protect the data that really need protecting.

Import things that need protecting like the fact that the secret FISC court thinks what the NSA is doing is illegal -- that kind of important secrets. (https://www.eff.org/deeplinks/2013/06/government-says-secret...)

comment 13y ago · link · parent

You understand that if it drives the business out of state, there is no benefit, no upside. There is no money to go towards STEM, and if the states general economy goes down over it -- it is a net-negative on STEM.

comment 13y ago · link · parent

I stopped working with a client already over this. Simply put, cash-flow wise I can't currently risk taxes and penalties. It turned a customer into a liability because of the horrible wording and unclear guidance (seriously, they want us to pro-rate by the % of our software used in the state?).

I suspect many other small start-ups will make the same choice we did until this all gets sorted out.

comment 13y ago · link · parent

Which is really annoying if you have existing clients in the state. It is really poorly worded and confusing, my tax attorney has no idea where our work product falls tax wise.

comment 13y ago · link · parent

First of all, there are lots of things stopping them (systems permissions, checks, organizational rules, etc). All might be circumventable -- but to claim they don't exist is ridiculous.

Secondly, intent matters. Killing a person can be a pure accident, can be manslaughter, can be first degree premeditated murder. You might attempt to dumb it down to "It doesn't matter, the person is dead" -- but that isn't how the US legal system, or the majority of people think.

If the intent of a system is to allow the profiles to be read by people (or shipped to government) that is very different than if the intent it to be exclusively used by software.

comment 13y ago · link · parent

Half Life 3 confirmed?

comment 13y ago · link · parent

Don't hold Java against Go :). It is all a matter of perspective I guess. Go requires 2 environmental (GOROOT, GOPATH) variables and you are ready to Go (zing). go run foo plus near instant compile times makes it feel extraordinarily script-y for small stuff.

Hugo adds some external dependencies which can be fetched with `go get` (fsnotify, fsync, pflag, hugolib). One command deps are filled and you still have all the Go goodness.

Jekyll requires (or generally expects) gem and requires at runtime (classifier, colorator, commander, directory_watcher, kramdown, liquid, maruku, pygments, redcarpet, safe_yaml) and for development (activesupport, cucumber, launchy, rake, rdiscount, rdoc, RedCloth, redgreen, rr, shoulda, simplecov, simplecov-gem-adapter)

So, it all depends on what you value.

comment 13y ago · link · parent

Biased roulette wheels are basically a thing of the past. Now they are hooked up to electric monitoring system (that also do the fun LCD displays above them), monitor balance and track every winning number. If the computers notices a significant irregularity, they swap it out due to an abundance of caution, re-balance it and replace all the frets.

The "unbalanced wheel" thing never really worked very well -- as it couldn't easily remove the houses MASSIVE 5%+ edge (00). Now, back in the day damage frets(frets divide the numbers) could be a rather astounding in cheap backwater casinos with worn wooden frets. If you noticed them, you could bet the opposite side (ball, even slowly was likely to coast over smooth worn frets) and you could crush the casino. Today, the combination of electronically monitored balance, irregularity tracking and strong metal frets make this more of a historical thing -- but had to be fun back in the day.

comment 13y ago · link · parent

Agreed, it adds nothing and makes the authors seem juvenile. I am not someone sensitive to language either, if it added value I would be open to the most vile introduction imaginable.

comment 13y ago · link · parent

Tossing out US troops would be the strongest statement. When the US tried to reduce troop numbers in Germany, they had a fit. All about the economic impact losing all the US military spending in that region would cause.

Turns out stationing 50,000+ troops in Germany is good for the local economy... if they tossed them out, it would be a massive demonstration of seriousness.

comment 13y ago · link · parent

People don't like early returns because sometimes they return before some basic cleanup / must have function component is run. Normally added by someone unfamiliar with the function accidentally. Go's defer statement makes this much less of an issue, you bind your work piece with your defer piece so that early returns are fine.

comment 13y ago · link · parent

Wow, the author mixes good points with absolute crap... which make him seem less reliable and less worth listening to and sucks the wind out of his good points. I think the fundamental implication was that rockstars are primadonnas.

- Why no one is looking for ‘rockstar programmers’ ... they are looking, lots of shops are looking for the 'rockstar' or carry or lead developers. These developers while being very talented can be humble, kind, and great to work with.

- Egoless isn't what you want, you want separation. Ego (pride) is good, it drives you to improve. Separation is what lets you pitch an idea then allow it to be mercilessly ripped apart by your fellow developers (and even yourself).

+ Team Player ... yes, you want team players.

+ (then -) Always Be Learning ... great idea... and then he goes and backs it up with one of the stupidest points I have seen recently, the 5 year argument. Any develop worth his salt would have a long list of answers to both points.

+ T-shaped ... it is a generally accepted good thing ... you know some T-shaped developers might be gasp rockstars

+ Relentlessly Resourceful ... sure, absolutely...

comment 13y ago · link · parent

If you think lack of features is a knock against Go, you aren't really in the right mindset (Go might just not be for you). The lack of remarkable features is what is remarkable. The same with heavily built web-frameworks versus like Gorilla (a series of take it or leave tools).

Scala has every feature and language construct under the sun and full access to the astounding landscape of Java -- as well as amazing tools like Akka. This is all wonderful, and I enjoy using Scala because it is rich and you can treat is very functionally.

That said, I now prefer Go to it after shipping two production products on it. A deploy that is second to none, amazingly fast development cycles, easy to build rich custom tools on top of it (for example go-diff, which ignores syntax differences and only shows functional differences), the easiest cross compilation I have ever used, and a focus on this exceptional clear and easy to read code (lack of implicitness / magic). It reminds me a lot of what I like about Erlang -- with some of the more annoying bits stripped away.

But, at the end of the day I am using Go for three reasons:

1) Lets me get work done quicker than other languages (and win contracts / beat competition)

2) I can keep the entire spec (50 pages) in my head, with very little time spent. I have used Scala far longer, but would never make such a claim about it.

3) The tool chain (build, cross-compile, test, format, doc) that comes with it is amazing, the least obnoxious I have ever used. It has warts (get), but all in all -- it makes using anything else exceptionally painful. Once you get used to "go test ./... && go install ./..." to build your app and put it in ./bin -- and you get used to doing deploys with "scp bin/foo server..." everything else starts to feel stupid.

comment 13y ago · link · parent

First of all -- I think the letter from MailChimp was very polite and straightforward. The posters expectations (hopes?) are insane

That said, what are the rights around "clean room" implementation of website designs? If I simply pull up a site on another monitor, and build a clone of it from scratch (omit the logos of course), what are my rights?

Sadly, it appears the Popular UIs guy didn't even bother removing obviously trademarked and identifying logos. His argument that "sharing PSDs is a great way to learn" doesn't explain why he left logos in the work.

comment 13y ago · link · parent

I suspect it is something in you setup -- that is a use case that ZMQ is specifically very good at... the fact that you can start the client before or after you start the server (doesn't apply to inproc) is awesome.

comment 13y ago · link · parent

Straight forward, easy builtin cross compiling is supported from<=>to: darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64

But, once you start going down the path of other implementations of go (gccgo, gollvm, gollum, goios, etc) the number of platforms supported goes up, but not sure how well supposed / stable the massive list of things go has been ported to is...

comment 13y ago · link · parent

Congrats, you are the Lil Wayne of the programming world.
1
151617
24