Better HN
topnewbestaskshowjobs
Log inSign up

theyoungestgun

46 karma · joined Oct 23, 2014 (12y ago) · 20 submissions

Submissions

comment 9y ago · link · parent

This is mentioned in her bio at the end, but worth noting here, I think: Barbara runs a coursera course on learning how to learn (https://www.coursera.org/learn/learning-how-to-learn).

It is interesting in that I find that Coursera courses highlight the flawed learning processes she mentions quite well. I often find myself watching the videos, thinking I get it, buzzing through the usually basic follow-up questions, and moving on. Likely that material won't last in my brain for very long in a quickly usable fashion.

comment 10y ago · link · parent

Psst . . . verilog (not saying the same for systemVerilog) isn't doing its job ;)

comment 10y ago · link · parent

Many FPGAs these days have flash memories that are good for ~10K writes.

comment 10y ago · link · parent

Famous example with Porsche: http://www.nytimes.com/2008/10/30/business/worldbusiness/30i...

comment 10y ago · link · parent

This is a list of startups. Orbitz is far from a startup.

comment 10y ago · link · parent

I like these "You CAN do X with Y!" types of posts - especially when it's not the same drum being banged over and over.

I think there's a really big part of this case study that isn't mentioned (perhaps because there is currently no data): bringing on more engineers. It really seems as if the number of C++ developers ready to be a part of the startup ecosystem is small. That is the impression that sites like HN leaves me with at least.

comment 10y ago · link · parent

See-also: trickle down economics.

comment 10y ago · link · parent

"When I don't have to"

If I'm not going to depend on the IDE to tell me what a deduced variable type is, you can bet your ass I'm going to want to depend on it for autocompleting some of the insanely long type names are: std::chrono::steady_clock::time_point gets old real quick - and so does stead_clock::time_point (if you want to include the namespace).

comment 10y ago · link · parent

I do not consider the API of a reasonably complex construct "obvious". That is often where IDEs shine for me - in java or any other language that can gather that info for me. It's scenarios where I don't have to go to cppreference.com, because the IDE is going to give me what I want directly.

I used to really be anal on making every single line explicit: no shortcuts. But over time, especially with increasing my usage of templates, I've come to relax on these things and prefer to put my efforts in good variable names and trusting the compiler.

I'm not saying you should use auto for basic types (especially ones that can be easily cast into each other - that shit gets dangerous). I am saying that auto is extremely powerful when working with most interesting APIs. The most recent example I have is a lot of things I end up doing with chrono.

comment 10y ago · link · parent

He acknowledges its real power when talking about templates. That's what this feature is about: make template metaprogramming accessible, and the regular developers of the world will be more inclined to make use of the features.

comment 10y ago · link · parent

Agreed - but this is why modern features should be paired with modern tools. A simple hover-over or click through in an IDE to show what the function signature looks like is pretty basic these days. Autocomplete on what that auto variable's API offers getting better and better as well.

comment 11y ago · link · parent

The Aussie dollar is pretty weak right now. That translates to $1640 USD.

comment 11y ago · link · parent

Then penalize the OS scheduler by removing your spinning CPU from its available resources ;)

comment 11y ago · link · parent

Cpp and c also call things volatile for entirely different reasons than Java.

These are two distinct ecosystems. They use the same terminology with different meaning. That perhaps is confusing, but definitely doesn't make one or the other incorrect.

comment 11y ago · link · parent

Assuming you mean friend in the standard cpp way, that's not exactly correct.

http://stackoverflow.com/questions/495021/why-can-templates-...

comment 11y ago · link · parent

I was asked a variant of this sorting question (with the same expected answer) a while back. I think it's utter horseshit, just on principle that in 99% of cases the interviewer will be pissed at the answer "call the standard library's implementation that solves this problem". Why is this some exception?

comment 11y ago · link · parent

Are there any options besides JNA and multi-process shared memory (java to native through message passing of some sort)?

comment 12y ago · link · parent

What do you mean that 'microsecond as barely acceptable'? That was too long for what?

I'm skeptical that there are really that many players out there who are in a position where a single microsecond would really make a difference. There are definitely companies out there in this situation, but not many.

comment 12y ago · link · parent

These switches aren't really a secret.

And the crazy expensive switch is guaranteed to be the cheap part. Now add the all the ip required to make that fpga smart enough to place orders, and you're talking huge bills in dev hours and third party licensing.

comment 12y ago · link · parent

Better yet - avoid the kernel altogether!

Onload + Solarflare is a wonderful thing.