I wish software packages had data sheets! It would be great to have a concise/standardized format with bullet points and a "typical applications" section on github landing pages.
HN user
axylone
acleone ~AT~ gmail . com
There's also Goclipse for Eclipse.
For an excellent sci-fi exploration of using multiple personalities to one's advantage, I highly recommend "Blindsight" by Peter Watts.
His recent sequel, "Echopraxia", has an interesting extension of bicameralism as well.
If the branch is predictable, and the cpu guesses correctly, then it is faster than integer arithmetic.
A branch miss on the other hand is much more expensive, about 14 cycles last time I was testing (on a core i5 desktop cpu from a few years ago).
I use Eclipse as my main IDE for C/C++, python, javascript, go, html, css, etc. I don't understand how some of my office mates don't use IDE's when you have things like:
Show all uses of struct field/function/global variable (ctrl shift h)
Rename struct field/function/global variable (alt shift r)
Jump to definition of anything and back (alt click, alt left, alt right)
Autocomplete for struct fields, etc.
And the best part about it is that I've spent a total of 5 minutes messing with settings, instead of 1 day+ trying to set up ctags and the 50+ vim plugins that would be required to even come close to the same functionality.
It even uses my Makefiles with -j4 so incremental C builds are super fast.
I'm very interested to see what Carmack does. I hope the whole team moves to Valve or something, and this doesn't set back VR another 10 years.
Looks like they also introduced a reference leak on allocation failure:
@@ -198,10 +198,8 @@
sslDebugLog("SSLEncodeRSAKeyParams: modulus len=%ld, exponent len=%ld\n",
modulusLength, exponentLength);
OSStatus err;
- if ((err = SSLAllocBuffer(keyParams,
- modulusLength + exponentLength + 4)) != 0) {
- CFReleaseSafe(exponent);
- CFReleaseSafe(modulus);
+ if ((err = SSLAllocBuffer(keyParams,
+ modulusLength + exponentLength + 4, ctx)) != 0) {
return err;
}
uint8_t *charPtr = keyParams->data;
Note the removed CFReleaseSafe(exponent) and modulus. All other return paths in SSLEncodeRSAKeyParams() call CFRelease(exponent) and modulus.This is why you use goto fail and not early returns.
What are the anonymous 4096 byte allocations before every read? I would think that killall would read /proc/{pid}/stat directly into a stack buffer, especially if the reads are only 1024 bytes.
Seattle, WA - ExtraHop Networks - Software Engineers, Testing Engineers, Support Engineers, Sales Engineers, and more.
ExtraHop is a ~6 year old, fast growing startup building network appliances for application analysis. Think HTTP/DB/memcache/NAS/etc processing times for all the servers in a datacenter, all by passively watching the network.
I'm a software engineer at ExtraHop and here's why I love my job:
1. The team is amazing and everyone makes a difference. The two founders, Jesse and Raja, designed and built BigIP v9 when they were at F5 Networks before founding ExtraHop, and are still very much involved in engineering. It's a great working environment and we have a lot of fun.
2. Hard problems at all levels. We parse a bunch of different protocols at 20Gbps by writing high-performance multithreaded C and our own linux kernel drivers. Our datastore handles 200,000 inserts a second with 10MB/s of data. Our UI has a ton of charts and tables, with data going through django and tornado. We use python, C, javascript, flex (slowly moving to a new UI with html5 + javascript), and a modified yacc+bison for some of our protocol parsers. You can hack anything from C to the front-end design and anywhere in between.
3. Our customers love it. It's awesome to see problems diagnosed and solved with our box.
jobs@extrahop.com
oom_adj is depreciated, use oom_score_adj instead.
https://www.kernel.org/doc/Documentation/filesystems/proc.tx...
I'm typing this in chromium on ubuntu/xfce, alongside an Eclipse window open working on some Go code, inside of a crouton chroot, on a $250 Samsung Chromebook that has better battery life than any of my previous laptops. I disagree.
Here's the video of the Tesla pole test: http://youtu.be/_Al3IUHt9Wc?t=32s
Honda Accord for comparison: http://youtu.be/ycntFFUfGkU?t=30s
It's awesome how simulation games like KSP teach people about rocketry and orbital mechanics - I bet KSP will contribute to the coming resurgence of interest in spaceflight.
Lots of KSP references in the youtube comments: https://www.youtube.com/watch?v=Zl12dXYcUTo&hd=1
If you set up multiple Chrome users (Settings > Add New User), you can log into multiple google accounts at once.
Sure, but then you can't use the standard library or any other libraries. Even a single exception sneaking into the codebase breaks everything.
Does anyone know of large projects where C++ handles memory allocation failures gracefully? For services that need to stay up and never crash under memory pressure, I would think C is the way to go. It's too hard to reason about control flow with exceptions.
Just a random idea: A mode where notifications are batched up until the user is standing relatively still.
Source? ubuntu-server has nothing to do with Unity.
Seattle, WA - ExtraHop Networks - Software Engineers, Testing Engineers, Support Engineers, Sales Engineers, and more.
ExtraHop is a ~4 year old, fast growing startup building network appliances for application analysis. Think HTTP/DB/memcache/NAS/etc processing times for all the servers in a datacenter, all by passively watching the network.
I'm a software engineer at ExtraHop and here's why I love my job:
1. The team is amazing and everyone makes a difference. The two founders, Jesse and Raja, designed and built BigIP v9 when they were at F5 Networks before founding ExtraHop, and are still very much involved in engineering. It's a great working environment and we have a lot of fun.
2. Hard problems at all levels. We parse a bunch of different protocols at 10Gbps by writing high-performance multithreaded C and our own linux kernel drivers. Our datastore handles 200,000 inserts a second with 10MB/s of data. Our UI has a ton of charts and tables, with data going through django and tornado. We use python, C, javascript, flex (slowly moving to a new UI with html5 + javascript), and a modified yacc+bison for some of our protocol parsers. You can hack anything from C to the front-end design and anywhere in between.
3. Our customers love it. It's awesome to see problems diagnosed and solved with our box.
jobs@extrahop.com
I noticed that too. Especially since chrome already has a "Search google for foobar" in the right click context menu.
I think they mean the model number, LTN097QL01-A02, is a samsung model number. The 1024x768 lcd in the linked document has model number LTN097XL01-A01.
Very cool. I'm try to understand the stack handling in lthread_compute.c - Can you explain briefly how this works? What is the memcpy for in _lthread_compute_save_exec_state?
With automation, many of the jobs won't come back with the factory. There will be a few highly-technical positions for the engineers that set up the plant and keep it running, but for the most part it's like building a datacenter as mentioned in the article - $500 million for ~100 jobs.
This. All this effort into stopping single pieces of legislation could be better directed into fixing the political system. Everyone knows that senators can be bought, but we still play the game and protest the legislation instead of the process causing the legislation.
Why don't http://rootstrikers.org/ and Laurence Lessig get brought up in these discussions more?
Much better ways to count bits set: http://graphics.stanford.edu/~seander/bithacks.html#CountBit...
I really hope battery switching stations catch on (see betterplace).
Ctrl+Shift+R opens files in eclipse.
What if a startup spends ~2 years coming up with an idea, launches it, and gets noticed by a Big Company before the site gets big. What's to stop the Big Company from just implementing the idea themselves in a slightly different form? Would the Big Company still buy the startup/how will the startup be compensated for its work?
This sounds like the history of a company out of a Stephenson or Gibson book. I want to believe...
I'm about to get out of college, and at my new job I'm using mostly C. Well-written C is surprisingly fun to work with (although you could probably say that about anything).