HNHacker News
TopNewBestAskShowJobs

yoha

1,152 karma · joined January 13, 2014

French CS student Tastes: C/Python/Debian/vim/git/crypto Website: sinon.org

[ my public key: https://keybase.io/qsantos; my proof: https://keybase.io/qsantos/sigs/AtLN-dncEjUwRsnMmgBht5GAHbFKBcn_c1xsnKpVFL0 ]

submissionscomments
yoha··on Belgian programmer solves MIT’s 20-year-old time capsule cryptographic puzzle
Well played! If only I had made my attempt earlier!

    2019-03-18T20:23:06+01:00
    AMD Phenom(tm) II X4 B50 Processor
    56.674783% (0x2912f5a00000 / 0x48792741a51a) ETA: 1 year 138 days (2020-09-18)
yoha··on Facebook Still Tracks People on Yelp, Duolingo, Indeed
If I can chime in, I have made NHK Easier to help practicing on stories from NHK News Web Easy.

https://nhkeasier.com/

yoha··on Voting Machine Used in Half of U.S. Is Vulnerable to Attack, Report Finds
As I said in another comment, individual verifiability and non-coercion are mutually exclusive online. However, there are indeed solutions for the other properties (including global integrity), and compromises between individual verifiability and non-coercion. For instance, you can have a look at Helios [1] or Belenios [2]. Current research is looking for stronger guarantees, a better compromise, or a more interesting voting system (such as Single Transferable Vote or Majority Judgment).

[1] https://vote.heliosvoting.org/

[2] http://www.belenios.org/

yoha··on Voting Machine Used in Half of U.S. Is Vulnerable to Attack, Report Finds
That is indeed the main issue with verifiable voting. The usual solutions offer various compromises, but it is not possible to both guarantee the ability to verify that one's ballot is counted correctly, and that you cannot prove for whom you voted.
yoha··on Voting Machine Used in Half of U.S. Is Vulnerable to Attack, Report Finds
Yes, it's possible, and it is an area of research in cryptography. For instance, have a look at Helios and Belenios.
yoha··on Voting Machine Used in Half of U.S. Is Vulnerable to Attack, Report Finds
> That's only possible if you sacrifice some of the stronger anonymity requirements

Untrue. You can use strong encryption to ensure confidentiality and zero-knowledge proofs to ensure integrity. Then, you can use methods from homomorphic encryption to tally the ballots. There is a whole area of research dedicated to this.

yoha··on Baffling ABC maths proof now has impenetrable 300-page ‘summary’
"Automated proof" means that the verification is automated. Actually automating the process of finding proofs is still mostly an open problem.

Formal proof software will help you on small stuff, but you will still do most of the work, and you have to go much more in details, so it takes much more time.

yoha··on Cracking the 12+ Character Password Barrier, Literally
> When you try to come up with random words to compose a password

That's why you don't. Give a 64ki word dictionary from your native tongue to your computer and let it choose four words uniformly at random out of it. This gives you a password from a distribution with 64 bits of entropy, and is reasonably easy to memorize with moderate effort.

This means an attacker is expected to proceed to 2\\63 hashes to crack such a password. It would take almost 4 year to crack its MD5 digest on the rig used in the demonstration. If you not using a password manager for external sites (which might not use proper KDFs), you can throw in a fifth word, and be safe for the foreseeable future.

yoha··on Modern C [pdf]
Right, my bad. I tend to write loops in the former style, thinking of them as reversed(range(9)). This is another advantage of this style. I should have been more cautious when writing the second one.
yoha··on Modern C [pdf]
The point is that a beginner does not need to care about signedness. When you get to that point, you can take the time to explain how to loop properly over it.
yoha··on Modern C [pdf]
This is about weighing correction versus readability. In the "arrow operator" version, the readability is decreased; in the "proper" version, a type cast is required, and this can lead to bugs with values greater than 2^sizeof(ssize_t).

Obviously, I just follow the convention when contributing to an existing project.

yoha··on Modern C [pdf]
Decrementing loops is the one place where I have indulged in some trickery. I do:

    for (size_t i = 9; i --> 0; )
This has the advantage to be very easy to pattern-match once known. Obviously, for a beginner, I would just do:

    for (int i = 9; i >= 0; i -= 1)
yoha··on Address to the American Psychological Association on Men (2007)
No, it is perfectly fine. But it is also useful to know there are previous conversations to be read.
yoha··on Address to the American Psychological Association on Men (2007)
Clickbait is making a link a bait so that you click on it. In other words, it pretty much means an appealing title.
yoha··on Cartoon Laws of Physics
Ask your search engine:

    "ignition" filetype:pdf
yoha··on Phasing Out SHA-1 on the Public Web
You are talking about making a combined hash function from MD5 and SHA-1. Keep in mind that it is not trivial. For instance, if you just output both SHA-1 and MD5, you are actually only as strong as the weakest hash function (trivially for preimage, but also true for collisions, see [1]).

If you are interested in hash function combiners, have a look at Robust Multi-Property Combiners for Hash Functions [2], a recent paper on the topic. It aims at getting several properties at the same time (preimage resistance, collision resistance). For simpler schemes with a single property, just explore the bibliography at the end of the paper.

[1] https://cryptopals.com/sets/7/challenges/52

[2] https://eprint.iacr.org/2016/723

yoha··on A single byte write opened a root execution exploit
Have fun:

http://crackmes.de/archive/

yoha··on Lost Diamonds: How our current system is failing underprivileged talent
Oh, my bad, I got confused with the brackets (which are not on a digit key). I really should have checked. See, we all make mistakes!
yoha··on Lost Diamonds: How our current system is failing underprivileged talent
Edit: the actual figure is 90%

For other people struggling to read this comment: "(" is on the same key as "5" on Azerty keyboards.

yoha··on Defending Against Hackers Took a Back Seat at Yahoo, Insiders Say
Ideas that might help:

* set all redundant accounts to redirect mail to a main one

* do write the identifiers and passwords on paper notes, and have her keep them, for instance, inside her wallet

yoha··on China launches second trial space station
In short: because measuring effects the information, tampering cannot be concealed.
yoha··on Esoteric Topics in Computer Programming (2002)
Thanks for the link!

However, it seems like the page linked in the post is not available anymore.

yoha··on Ask HN: Why has HackerNews succeeded despite the rise of Reddit?
I think this can be described as the ongoing eternal september [1].

[1] https://en.wikipedia.org/wiki/Eternal_September

yoha··on Programmer, interrupted (2013)
Alternatively: http://www.gamasutra.com/view/feature/190891/programmer_inte...
yoha··on Show HN: A Multiplayer Geography Game Using WebSockets
It might be useful to allow changing one's guess. It's pretty annoying when you misclick in the middle of the map and cannot pick the correct location.
yoha··on Age differences in learning from an insufficient representation of uncertainty
This is a very good point. I have observed that people tend to forget the physical differences between being small and being tall. Not everything is proportional [1].

[1] https://en.wikipedia.org/wiki/Square-cube_law

yoha··on The LHC “nightmare scenario” has come true
My best guess: the article is 726 words; That's pretty short by HN's standards.
yoha··on Maths notation is needlessly complex [video]
There are just overloaded notations from two different contexts. sin² can mean either:

* x → sin(x)² (in multiplicative group)

* x → sin(sin(x))² (in composition group)

Similarly, sin⁻¹ can mean either:

* x → 1 / sin(x) (in multiplicative group)

* x → arcsin(x) (in composition group)

yoha··on Unilever Buys Dollar Shave Club for $1B
I am running both uBlock Origin and NoScript and the website still found a way to annoy me: it gets Firefox Reader stuck, so that I am supposed to read the article in their terrible layout.
yoha··on The sad state of Linux download security
... which is exactly what cryptographic signatures are for
Page 1 of 9Next →