HNHacker News
TopNewBestAskShowJobs

kerneis

782 karma · joined July 20, 2012

https://www.linkedin.com/in/gabrielkerneis
submissionscomments
kerneis··on Another Ransomware Outbreak Is Going Global
It seems fitting that the top comment on such a big congestion issue be posted by Animats :-)
kerneis··on So long, farewell and goodbye
At least not a smartphone. That's my case as well, very happy with my dual-sim Nokia 216. The internet can always wait until I'm back home or at work.
kerneis··on Box Breathing
He pre-breathes 100% oxygen for up to 30 minutes prior to the breathhold: https://en.wikipedia.org/wiki/Static_apnea#With_pure_oxygen

World record without this trick is 11 min 54.

kerneis··on The Idea of Lisp
> I had to surrender publishing rights

Even as a pdf on your own webpage? What kind of university would do that? Even the most abusive CS publishers have a more relaxed policy…

kerneis··on Google Trusted Contacts
> If someone has access to your Google Account, they can easily activate the find my phone feature and see exactly where you are without your knowledge.

When your phone is located using the "Find my phone" feature, it pops up a notification on the phone (this phone has been located). Of course, if they had physical access to your phone in the past, they may have blocked this notification, but it is provided by Google Play Services, so that requires to block a wide range of notifications (eg. all "app update available" notifications iirc).

On the other hand, they may access your location history, if you enabled that, and see where you went in the (possibly very recent) past without any notification.

kerneis··on ICQ: 20 Years Is No Limit
« Le webring de la salade » was still active only a couple years ago, and I personnally know some of its members, so I can probably get you into it if you wish. It's quite a niche webring though, and somewhat broken nowadays ;-)

http://www0.cs.ucl.ac.uk/staff/j.alglave/salade/

kerneis··on Google's “Director of Engineering” Hiring Test
This.

I passed several rounds of interviews at Google over a number of years (phone screening, phone interview, on-site). This is definitely a phone screening, where the recruiter expects "standard" answers to "standard" questions. Remember that interviews are somewhat of a game. Trying to be smart at this stage is the wrong move.

kerneis··on KrebsOnSecurity is now up and hosted on Google Cloud
Project Shield is part of Jigsaw (formerly "Google Ideas"): see https://jigsaw.google.com/ and https://medium.com/jigsaw for more related projects and context.

Google Ideas is 5 years old now. I'm not aware of it having started as a 20% project. [disclaimer: I work at Google, but not on Jigsaw.]

kerneis··on Amazon Vehicles
Likewise, try to find some "ECC RAM" for your server on amazon.fr. They don't make the distinction between "ECC" and "non-ECC" in search, hence returning basically every kind of RAM. Because, for some weird reason, French retailers like to specify that their RAM is not ECC in the title of the item. (Surprisingly enough, this doesn't seem to be an issue on amazon.com.)
kerneis··on Unmapped I/O improves userland direct disk performance by 35% ~ 135%
For those wondering what is going on, the original submission title started with "sponsored by Microsoft". It has since been edited.
kerneis··on LGTM is a simple pull request approval system for GitHub
I cannot find a way to "undo LGTM" if I was to quick to give approval. Working at a company where I have to LGTM commits literally every day, believe me that it is necessary every now and then.
kerneis··on Into the Depths of C: Elaborating the De Facto Standards [pdf]
I believe the questions in this study (I did not write it, only know the authors) were deliberately open-ended, allowing for comments on the specifics. A previous, much longer version used to contain code examples to comment, but it proved too detailed for people to complete.

Moreover, the study was explicitly not about ISO C: "We were not asking what the ISO C standard permits, which is often more restrictive, or about obsolete or obscure hardware or compilers. We focussed on the behaviour of memory and pointers. This is a step towards an unambiguous and mathematically precise definition of the de facto standards: the C dialects that are actually used by systems programmers and implemented by mainstream compilers."

Here is an actual example of a comment to this question:

    I would expect this code to work:
    
    struct foo
    {
        char a;
        double b;
    };
    
    foo p;
    foo q;
    memset( &p, 0, sizeof( p ) );
    memset( &q, 0, sizeof( q ) );
    p.a = 1;
    q.a = 1;
    assert( memcmp( &p, &q, sizeof( foo ) ) == 0 );
kerneis··on Into the Depths of C: Elaborating the De Facto Standards [pdf]
If you think you know C quite well, here is one of the studies the authors ran to elaborate their semantics on corner cases of the language: http://www.cl.cam.ac.uk/~pes20/cerberus/notes50-survey-discu...

> If you zero all bytes of a struct and then write some of its members, do reads of the padding return zero? (e.g. for a bytewise CAS or hash of the struct, or to know that no security-relevant data has leaked into them.)

(and 14 other questions)

Webpage of the project: http://www.cl.cam.ac.uk/~pes20/cerberus/

kerneis··on [dead]
Also available as an Android app: https://play.google.com/store/apps/details?id=com.google.and...
kerneis··on The Masterful Marketing of the Heimlich Maneuver
In France, the official method (taught in first aid classes) is the 5+5 approach from the red cross described in another thread.
kerneis··on Teaching college is no longer a middle-class job, and everyone should care
I don't know where you got this idea, but it is just wrong. Of course, employers are free to do whatever back of the envelope calculation they want to decide your salary, but the law in France, the UK, and most other countries is about "paid leave" and that's exactly how it works.
kerneis··on OpenSSL Security Advisory
"Q. How did you find this bug?

A. This bug was discovered by Masashi Kikuchi of Lepidum. He found this bug while studying safe TLS implementations using a proof assistant system Coq."

So they are starting to find actual bugs with Coq? I'm impressed, and would love to know if anybody has more details (lepidum's blog seems down at the moment).

kerneis··on How to Tell Someone’s Age When All You Know Is Her Name
And 'Aline' is an actual woman's name, at least in France.
kerneis··on Is It Better to Rent or Buy?
Is this calculator very specific to the American market, or would it also produce accurate estimates for, e.g., France or the UK?
kerneis··on Decoupled from IP, TCP is at last able to support multihomed hosts
Multipath TCP becomes really useful when coupled with source-sensitive routing. Some on-going work on this topic (based on the Babel routing protocol for mesh networks):

http://www.pps.univ-paris-diderot.fr/~boutier/source-specifi...

kerneis··on Co-routines as an alternative to state machines (2009)
Coroutines and state machines are indeed equivalent. Here is an example of how to (and good reasons why) translate mechanically one into the other:

http://gabriel.kerneis.info/research/files/kerneis-boutier-2...

More context in my work about Continuation-Passing C: http://gabriel.kerneis.info/research/

kerneis··on Roundcube Webmail 1.0.0 released
> And if you've got managesieve installed, you can make your email do tricks that Gmail can't.

Would you care to expand on that part? I know what managesieve does, but I thought gmail also had filtering capabilities.

kerneis··on Btrees are the new black
> Here is a Btree implementation from the mirage project

And in fact, this implementation does not show a lot because the actual B-tree work is done by the baardskeerder library: https://github.com/Incubaid/baardskeerder

It looks very large and complex, it is most certainly possible to write a simpler, pedagogical implementation.

kerneis··on Btrees are the new black
> It can be shorter still, if all you want is insert and read

Despite the name, I'm afraid this is a simple binary tree implementation, not a BTree:

type 'a tree = Empty | Node of('a * 'a tree * 'a tree);;

Obviously the author didn't know what he was doing (the intended scope was very large, AVL, BTrees, etc. but he stopped after committing this single file).

kerneis··on Coin
Off-topic, but they should have gone to http://thebikehut.org/ : the guys are lovely, the bikes are great, and you only need to give your name and passport number (that they don't even check) before renting a bike. That's right, no deposit. I paid by cash when I brought the bike back at the end of the day. Amazing trust.
kerneis··on No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 Spaceships
> There are some green-thread C libraries

Shameless plug for CPC, a compiler translating green-threads to event-driven code: http://gabriel.kerneis.info/software/cpc/

Used to compile coroutines in QEMU during the latest GSoC: http://gabriel.kerneis.info/research/files/qemu-cpc.pdf

kerneis··on Lavabit founder turned over the private SSL keys as an 11 page printout
Rapped actually doesn't mean anything by itself. The noun is Rape, the verb rape and only in the simple 3rd person does it become rapped.

(Well, not "only", but I guess you can see my point.)

kerneis··on Lavabit founder turned over the private SSL keys as an 11 page printout
I don't get it. 2560 characters in 4pt should fit in far less than 11 pages…
kerneis··on Lavabit founder turned over the private SSL keys as an 11 page printout
It's "voilà", not "viola". Both of them are French words, but the latter means "raped" (probably not what you meant).
kerneis··on Hyperloop Alpha [pdf]
Except you can get first aid assistance in a plane (they ask if a doctor is here, and they have a number of drugs on board). Keeping the person alive until paramedics arrive is key to handling emergency situations, and I don't see how you do it with the Hyperloop.
← PreviousPage 3 of 4Next →