HN user

axylone

117 karma

acleone ~AT~ gmail . com

Posts0
Comments35
View on HN
No posts found.

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

http://www.extrahop.com/company/jobs/

The New Google Maps 13 years ago

If you set up multiple Chrome users (Settings > Add New User), you can log into multiple google accounts at once.

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.

I used Google Glass 13 years ago

Just a random idea: A mode where notifications are batched up until the user is standing relatively still.

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

http://www.extrahop.com/company/jobs/

Yahoo Axis 14 years ago

I noticed that too. Especially since chrome already has a "Search google for foobar" in the right click context menu.

iPad 3 4G Teardown 14 years ago

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.

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?

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?

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).