1,793 karma · joined Mar 22, 2013 (13y ago) · 836 submissions
comment 12y ago · link · parent
My thoughts on this area have changed a bunch, I think when I was young I was a lot more about cleverness and conciseness.
Now that I'm older and I've worked on a large variety of software systems, I am starting to believe that readability of code is one of the most important values. After all, you read the code a lot more than you write it.
I can say definitively that: - i have often regretted using single letter variables (outside of loop 'i') - I have very regretted using non-descriptive names - I have never regretted using longer variable/method names
Now a days in an IDE environment, longer names doesn't even convey a typing penalty. Yeah yeah I know Java, but it's a safe language, and in a world where I want to deliver working, correct, bug free code, safety is more important than single letter expressiveness.
After all, I don't think people hold up APL as good code.
comment 12y ago · link · parent
typedef struct k0{signed char m,a,t;C u;I r;union{G g;H h;I i;J j;E e;F f;S s;struct k0k;struct{J n;G G0[1];};};}K;
Sorry I guess I'm just not seeing the "not much there and actually easy to understand"
Whatever a 'H' is
comment 12y ago · link · parent
The result is if we trust the future self, we can effectively delegate to someone else - ourselves!
I think when you figured out 'the switch' this is what you are doing.
One exercise is to say to yourself "This is a problem for Future <insert your name here>". This is surprisingly effective! Of course this only works if you trust your future self's ability to remember... an organization system really helps here. It doesnt matter WHAT system, just that you know it will work.
comment 12y ago · link · parent
Ultimately there is just a whole area of experience that you cannot short circuit. While we laud genius programmers who brought something to the world (eg: Bram Cohen of bittorrent fame), there is a lot of luck involved, and ultimately no one is an island, there is a lot of supporting work to make something truly successful and widely adopted.
Good luck in your job hunt, but my best advice is to have patience, be humble and realize that your experience is a starting point, and you have much to learn.
comment 12y ago · link · parent
"Mature engineers are empathetic"
Which to me means that most engineers are not mature, and not senior. Considering how much poor behavior I've seen by so-called "Sr" engineers I am hardly surprised. In a world where people are infrequently called to answer for their anti-social behavior directly, of course it will continue.
Ultimately I blame the internets for that. Cant easily have empathy online, no emotional feedback loop.
comment 12y ago · link · parent
After all, if you cannot see the difference between the alleged single person targeting and the blanket targeting of an entire population, I'm not really sure you deserve to be here.
I guess I'll leave you with that Stalin quote "Death of one man is a tragedy. Death of a million is a statistic".
comment 12y ago · link · parent
Ultimately, where does the language end, and the standard library begin? Whats the real difference? Yeah, so C++ and Java don't have built in syntax for hash tables. That's it?
comment 12y ago · link · parent
Well neither does C, C++ as well. Nor does Scala actually.
There are a lot of good things about Java, namely the JVM, interfaces, great libraries, reflection and code generation, etc, etc. For example libraries like jmock/etc.
comment 12y ago · link · parent
Also, if you have a look at the class action filing, the mechanism of action is quite clear.
To lay it out, the way that salaries are set is for any given title (eg: Software Engineer I), there is a pay range. Hiring managers do not have the general permission to go outside the pay band. Under the interests of fairness, these pay bands are adhered to fairly strictly.
So depressing the wages of even a sub-section of the employee pool helps keep the pay band down.
While you may deem this a mere 'theory', there is evidence of it's affects. Specifically that Google was forced to give 10% raises to their entire employee when Facebook would not accede to a cold-call prohibition.
Your final sentence is not very complementary to your fellow engineers - often times engineers are focused on the problem and unaware of their place in the market. To call them lazy and apathetic is pretty mean spirited.
comment 12y ago · link · parent
Depending on the time, $200,000 over 4 years is not a really good reward. In the mean time you have forgone: - better healthcare (if you have a family this ups the cost a lot) - lower stress job - better bonuses at 'big companies' - better options at public companies
Remember, that a great sr engineer, the kinds that startups allegedly hire, tend to be getting $30-80,000 a year in options at companies like Google, Apple, etc.
So now your $50k/year is looking like... well it's looking like a loss frankly.
comment 12y ago · link · parent
So the notion that every single last tiny class has it's own file hasn't ever been true (even if thats the coding style in a lot of code).
comment 12y ago · link · parent
I can only really offer my experience, which is architecting and building out a 25kloc app and team to go along with. Mostly, because we avoided the 'clever' scala stuff as much as possible, things went well. Maven instead of sbt. Jetty instead of play. The only scala DSL we used was squeryl.
If I was doing it again, I'd probably rethink the use of scala. As helpful as it was, it was also a pain in places. Having to rewrite all our for loops was not cool. Case classes saves on boilerplate, but frankly you only write that stuff once, so it didnt really save us on a lot. Intellij elides most of the junky boilerplate (import statements, generating setters/getters, etc) in Java, so ...
Now a days with the advent of Java8, we have access to lambdas, function pointers/interfaces, and the functional stream system, I am interested to see how far one can get in just pure java. Java is the new scala it seems.
comment 12y ago · link · parent
Finally, the notion that this was an individual thing and there were no class impact is not so. The reason is that these companies have "brackets" for pay. If you are at a certain job title you make $X - $Y and corresponding amounts for options etc. These companies are also very interested in equity among the employees so if prices start rising they will have to draw up the low end affecting prices across the board.
To the doubters, I point to the Facebook/google incident. Google was forced to give across the board 10% raises to every single employee because Facebook wasn't willing to sign anti poaching agreements.
It's interesting that arguments essentially from das kapital are being raised here. Wages vs productivity. Intrinsic ideas of fairness are universal (and possible primate, studies showed).
Google is in a weak position here.
comment 12y ago · link · parent
I am very glad there is a data export tool, I'm sure that will alleviate some people's concern. But the issue is that now someone has a bunch of code written to an API they have no implementation for. That is the nature of the lock in! Vendors discovered in the 90s that open APIs were very amenable to lock in - for example CORBA, SQL and more. It was really hard to port from CORBA implementation to another one, since non-functional requirements dominated at that point, even if at the API/code level it was compatible.
Good luck with your business!
comment 12y ago · link · parent
I can understand that when you are pushing for a solution, you make the decision with what's at hand. But this can lock you in to long term decisions, for example people who decided to use Google's app engine. The pricing switcharoo is doubly painful because there is literally no option except rewriting everything!
For this reason, I strongly believe that iaas/paas needs to be fully open source. Don't like your provider? Outgrew a provider? Company perished? Fine, run your own.
We have somehow switched from open source and the freedom that entails, to open API, and a complete lack of freedom.
comment 12y ago · link · parent
So I'm a little confused here, since no one who has participated would ever think this is even remotely close to true, I guess it's a rhetorical element.
But I can't quite figure out to what end. Maybe you could explain to me like I'm 5?
comment 12y ago · link · parent
Of course, in the UN framework this is not really up to someone else. Sovereignty and all of that.
comment 12y ago · link · parent
Ultimately the US has failed to tame Afghanistan - as expected - but really the world isn't better for my smartass comments.
The real opportunity was to do something radically better, and really think outside the box.
I really do miss the US military of the 1940s and 50s, I feel they would have the gumption to put someone smart and weird on that project and really solve it.
comment 12y ago · link · parent
In theory everything at mtgox is fine, UNLESS everyone want their real BTC back now, aka bank run. As long as people just trade between mtgoxBTC or only withdraw in reasonable amounts, it might be ok.
But that won't happen, because of the expectation of full BTC convertibility, people are freaking out and wont cease to freak out.
There are so many parallels between the gold-backed currency and bank runs in that era. Just rumors, or facts of insolvency and inability to produce either specie or gold for deposit values could drive a run and that would be that.
All that annoying bank regulation is there for a reason. It's a good thing we don't have bank runs anymore. Right? RIGHT?
comment 12y ago · link · parent
Yes, proximately Snowden broke the law (and so did Galileo), but ultimately the real reasons was a difference of opinion.
comment 12y ago · link · parent
Besides which, in a democracy, anyone can be credentialed enough to serve in government.
I'm pretty sure that Mr Pompeo's action could be seen as chilling actions in terms of the first amendment.
PS: I'm watching cosmos, Mr Tyson just said "... prosecuted anyone who dared have opposing opinions to their own." He is talking about the catholic church and galileo, but it seems fitting now.