HNHacker News
TopNewBestAskShowJobs

kerneis

782 karma · joined July 20, 2012

https://www.linkedin.com/in/gabrielkerneis
submissionscomments
kerneis··on Make DuckDuckGo your Chrome default search engine
I think the GP meant https://startpage.com/ rather than "the startpage of your browser".
kerneis··on I was struck by lightning yesterday—and boy am I sore
Except you cannot know if the patient is flat-lined or has arrhythmia. The AED performs an ECG and delivers a shock only if appropriate; if you have one available, you should always use it (which does not exclude CPR in the meantime).
kerneis··on Unheralded Mathematician Bridges the Prime Gap
You should remember that the Feynman algorithm is a joke told by one of his colleagues (Murray Gell-Mann) to mock Feynman's story-telling. It has never been intended as a real algorithm that should be applied by anybody.

Previously on HN: https://news.ycombinator.com/item?id=1520075

kerneis··on Bug 698544 – Background configuration is missing in terminal profile editor
Contrary to pgrep and pkill, which do the right thing everywhere (as far as I know).
kerneis··on OVH acknowledges back office security issue
Thanks for the link. I've been looking for the list archives on http://ml.ovh.net (as advertised in the email itself) but the domain doesn't seem to exist anymore; hence my (unreliable) copy on pastebin.
kerneis··on Alice strikes back against Bob's 'reverse dictionary'
This example is unfortunately somewhat broken: the 'salt' in that case does not yield an exponential but only linear increase of the number of dictionaries.

Contrary to what the post says, it is not necessary to compute the 3,125 possible orders. Only 5 reverse dictionaries are enough, with reverse(n, w) = "the set of definitions the nth word of which is w". Then, iterate the reverse lookup following backwards the provided salt.

It makes the attack much more tractable, in particular since the length of definitions is bounded (you know how many dictionaries you need to compute).

kerneis··on Trojita: an IMAP mail client
Until your cache header grows too much and freezes or even segfaults mutt. (Removing it fixes the issue.)
kerneis··on Trojita: an IMAP mail client
The author of the original message (jch) wrote elsewhere:

"The mailer is the result of an M.Sc. project, and is described in detail in Jan's thesis.

http://trojita.flaska.net/msc-thesis.pdf

In short, Trojitá is a pure IMAP client, written from the ground up to work well over IMAP with no support for any other kind of mailbox. It synchronizes stuff lazily, and (something that's close to my heart), is extremely aggressive about pipelining. I haven't read the source code in detail yet, so I haven't checked how the low level code is implemented, I'll let you know when I learn more. For now, if you're interested, I warmly recommend reading chapters 1 through 3 of Jan's thesis."

kerneis··on French homeland intelligence threatens a sysop into deleting a Wikipedia Article
> to ask for him to resign

Actually, they ask for him to resign as a wikipedia administrator as long as he remains the president of wikimedia France (not the other way round).

kerneis··on Users don't like social login
Except for the many, many websites that have stupid restrictions like: "sorry, your username should be lower-case letters only".
kerneis··on We Found Our Son in the Subway
> He's prepubescent, he's not got a problem with his sexuality because he doesn't even have a sexuality.

I agree with the rest of your comment, but that specific sentence... It has been known for at least a century that children, and even babies, have a sexuality (which does not mean they have sexual intercourse).

http://en.wikipedia.org/wiki/Psychosexual_development

kerneis··on Introducing The Paper Bay
> In many cases that I have come across, the DOI can be turned into a link that takes you to the article. Perhaps that would be enough.

This would be a very simple but extremely helpful change. You only need to prepend http://dx.doi.org/ in front of the DOI, and make the resulting link clickable.

kerneis··on Tablet: Personal Computer in the Year 2000 (1988)
You probably skipped the abstract. (I agree that it looks weird to put extra-information in the abstract, but in that case it is done for a reason: the text of the paper is exactly the text submitted for the contest.)
kerneis··on Tablet: Personal Computer in the Year 2000 (1988)
Alan Kay was a member of the jury for this contest (as well as Ray Bradbury and Stephen Wozniak, among others).
kerneis··on Tablet: Personal Computer in the Year 2000 (1988)
This is the winner of a competition organized by Apple in 1987 to design the personal computer of the year 2000. The section "The Machine" in particular is a surprisingly accurate description of current tablets.
kerneis··on Taking payments online in Europe in 2013
You are correct. But they are several reasons why the situation might seem complex for a foreigner.

French people regularly use the term "carte bleue" to mean "debit card" (and most of the debit cards still feature the legacy "carte bleue" logo). Even worse, most of them say "carte de crédit" (credit card) when they really mean "debit card", because credit cards are very uncommon and people don't know the difference. I have no statistics, but from my personal experience, credit cards not linked to a bank account barely exist here.

On the other hand, we have a lot of companies offering short-term, small-amount credits easily — directly on your bank account, without a dedicated credit card. Maybe those play the same role as credit cards in the US?

kerneis··on Search, Mad Men style: A complete IBM 362 Google interface in the browser
If you live in the UK, the Nation Museum of Computing in Bletchley Park (of Alan Turing fame) is also totally amazing.

http://www.tnmoc.org/

kerneis··on Show HN: An IDE for poets
If you like this kind of anecdotes, you should read "Mindstorms" by Seymour Papert. It's more about maths than writing, but it's filled with examples showing how the fact that computers allow children to make mistakes, and then fix them, changes deeply the way to teach.
kerneis··on C#’s async/await compared to protothreads in C++
Definitely not: protothreads (2006) predates Tame (2007). But all of them are somehow (great-)grandchildren of Duff's device: http://www.lysator.liu.se/c/duffs-device.html
kerneis··on C#’s async/await compared to protothreads in C++
(Disclaimer: I am one of the authors of CPC.)

Protothread is really just a set of macros, based of Duff's device, to make it easier to write automata in a threaded style. It has many limitations: it does not automatically save local variables, it does not compose (except when using "hierarchical protothreads", which involves rewinding the whole stack on every cooperation point), etc. Section 5.3 of Dunkels et al.'s paper states that these are only limitations of the "current protoype", but I am not aware of any implementation of protothreads solving these issues at all (except if you consider CPC a full-fledged implementation of Protothreads, done correctly ;-).

Protothreads is a hack, a maybe clever hack, but a hack nonetheless. CPC, on the other hand, is an extension of the C language, compiled to C by proven source-to-source transformations. Of course, you then have to pay the cost of the added dependency (protothreads is only a bunch of C files to include), and potential bugs in the translator.

You can find a comparison of existing solutions in my PhD thesis, section 1.3 (page 43): http://www.pps.univ-paris-diderot.fr/~kerneis/ (first link in the "research" section).

kerneis··on Escape from Callback Hell: Callbacks are the modern goto
Green threads are indeed very useful, and probably the right way to go. In Javascript, see Tamejs: http://tamejs.org/

NCD looks interesting, in particular the backtracking feature. But I'm a bit concerned by your choice of developing a new language from scratch, with a very awkward syntax (at least at first sight). Why not extend an existing language?

See CPC for instance, which extends the C language with a spawn primitive (disclaimer - this is my PhD thesis project): http://www.pps.univ-paris-diderot.fr/%7Ekerneis/software/cpc... and http://www.pps.univ-paris-diderot.fr/%7Ekerneis/research/ for more details.

kerneis··on 12-year-old uses Dungeons and Dragons to help scientist dad with his research
Look like Biology Letters accept articles from even younger people: http://blogs.discovermagazine.com/notrocketscience/2010/12/2...
kerneis··on The Homely Mutt
Mutt has plenty of unfixed bugs, just look at the bug tracker and distro-specific patches (in Debian for instance). It is a wonderful piece of software, I use it daily, but its development definitely miss momentum.
kerneis··on Show HN: I mixed selling t-shirts with a little bit of game theory
No, regardless of UI, I think the dilemma of having to buy yourself the least popular one to get an extra t-shirt is important. And what would happen to your buisness model if everybody liked (and ordered) t-shirt A but nominated t-shirt B? You would have to ship two t-shirts to everybobdy, whereas your current plan guarantees that no more than 20% of customers get a free t-shirt --- which also makes it more challenging to play the game.
kerneis··on OVH's Maintenance SSH Keys compromised
> from a single IPv4 and a single IPv6

Actually only from a single IPv4 (cache.ovh.net). The IPv6 address is the equivalent IPv4 mapped to IPv6 (::ffff: prefix).

← PreviousPage 4 of 4