1,665 karma · joined Aug 6, 2011 (15y ago) · 708 submissions
comment 13y ago · link · parent
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
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
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
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
comment 13y ago · link · parent
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
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
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
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
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
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
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
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
comment 13y ago · link · parent
- 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
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
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
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...