Live data from Hacker News

Feynman’s Breakthrough: Disregard Others

stepsandleaps.wordpress.com

81–90 of 125 posts

Re: Feynman’s Breakthrough: Disregard Others

#81

Yup. That works. Just don't forget the follow-up, where external feedback is crucial. Shameless plug: I've written my own crypto library¹. Not just for the lulz, I fully intend to use it in production. To do that, I had to disregard the crypto community, that basically says anyone who does that deserves to burn in Crypto Hell the time it takes them to count to 2^256. (I might exaggerate a tad). They say that for a re…

I am just curious, how much effort went into side channel mitigation, etc? There are a lot of things libsodium does to mitigate side channels that aren't obvious or documented.

> how much effort went into side channel mitigation, etc?

Very little. The chosen primitives are naturally resistant to timing attacks, thanks to the utter absence of secret dependent branches and secret dependent indices. I did have doubts about constant time comparison (code generated under -O3 was crazy), which I solved by changing the API.

Locking the memory is not implemented, only discussed in the manual (Monocypher wants to stay portable).

Zeroing out memory is neither implemented nor discussed. I'm not sure what to make of it, actually. If it is useful, then wiping the contexts is not enough, you likely also have to wipe temporary buffers above the top of the stack (I don't think anybody does this). In any case, if the attacker can read your memory, you're probably screwed anyway.

Now if some attacker can read your memory only after you've processed your secret stuff, a `crypto_wipe()` function would have its uses. But if you've processed secret stuff once, you're likely to do it again, and then crypto_wipe won't save you.

I'm also afraid zeroing out memory gives a false sense of security. I'm more in favour of segregating the sensitive stuff in a separate process, like Qmail.

Re: Feynman’s Breakthrough: Disregard Others

#82

This applies to scientists, not to software engineers working in a team. (This can also apply to software company founders and side projects but that's a special case.) Scientists and researchers are primarily working to build their own brand and to make a contribution which can be tied To them. A team of s/w emgineers is working to build a cohesive whole. Much different goals and incentives.

>This applies to scientists, not to software engineers working in a team. And that'w why no software engineers working on teams will ever win a nobel prize. I don't mean to be disingenuous, but did you ever stop to think why team work is so drummed into us? It's not because teamwork produces better results, it's so corporations can treat us as interchangeable cogs. They want knowledge spread across a whole team to 'd…

There's a spectrum.

Teams can certainly achieve things that are too large for an individual. And yes, what you said do exist (and on some projects it is even a good thing).

I don't think there are easy general answers, except that all the energy promoting team working is there because nobody likes it. If it's a good or a bad thing, that will probably change every time.

Re: Feynman’s Breakthrough: Disregard Others

#83

This applies to scientists, not to software engineers working in a team. (This can also apply to software company founders and side projects but that's a special case.) Scientists and researchers are primarily working to build their own brand and to make a contribution which can be tied To them. A team of s/w emgineers is working to build a cohesive whole. Much different goals and incentives.

Not necessarily.

Multiple software engineers working to solve the same problem in isolation will arrive at different solutions. Some may work better than others, but that's irrelevant; what's important is that these different engineers will have all achieved a complete understanding of the problem and its solution, and when they collaborate on a new, more complex problem that builds on what they've already done, they each bring their own unique perspective to the table.

This is why side projects are so absolutely crucial to a software engineer's mastery of his or her craft; by working through a problem alone, the engineer not only gets a better understanding of the problem, but is also able to apply diversity of thought to a team's problem set.

Re: Feynman’s Breakthrough: Disregard Others

#84
post #47

It's interesting that a few people are relating this to team work. I think that is a misinterpretation. By 'others' I would infer something more like 'competitors', though I mean that relatively loosely. Essentially, ignore what other labs are working on and focus on your own (group's) works. My own PhD supervisor had a similar attitude, though it runs against how many others approach a problem I feel. For example, I…

This is also critical for software engineering as well. Large organizations, especially older ones that sort of missed the software revolution will get bogged down in making sure they're software engineers don't recreate an existing project within the company. This thought process ruins creativity and motivation. It's more beneficial to recreate the same thing 4 times over, now you have a team of domain experts 4x th…

There are plenty of counter-examples to this. Just look at Google's messaging efforts (Gmail chat, Hangouts, Duo, Allo, etc.) as a great example of fragmentation without any obvious benefit.

Re: Feynman’s Breakthrough: Disregard Others

#85
post #59

Earlier quoted context omitted.

I think he means to disregard what others are currently doing.

Well, they could be inventing a new type of wheel. If you disregard others, you could be inventing the same things as others, or even less smart versions of those things.

Or maybe more smart versions of those things.

In a field where one successful work defines a career, this looks like a good move.

Re: Feynman’s Breakthrough: Disregard Others

#86
post #84
post #47

Earlier quoted context omitted.

This is also critical for software engineering as well. Large organizations, especially older ones that sort of missed the software revolution will get bogged down in making sure they're software engineers don't recreate an existing project within the company. This thought process ruins creativity and motivation. It's more beneficial to recreate the same thing 4 times over, now you have a team of domain experts 4x th…

There are plenty of counter-examples to this. Just look at Google's messaging efforts (Gmail chat, Hangouts, Duo, Allo, etc.) as a great example of fragmentation without any obvious benefit.

[deleted]

Re: Feynman’s Breakthrough: Disregard Others

#87
post #84
post #47

Earlier quoted context omitted.

This is also critical for software engineering as well. Large organizations, especially older ones that sort of missed the software revolution will get bogged down in making sure they're software engineers don't recreate an existing project within the company. This thought process ruins creativity and motivation. It's more beneficial to recreate the same thing 4 times over, now you have a team of domain experts 4x th…

There are plenty of counter-examples to this. Just look at Google's messaging efforts (Gmail chat, Hangouts, Duo, Allo, etc.) as a great example of fragmentation without any obvious benefit.

Well if you refuse to learn from mistakes you’re going to keep missing. Gchat is still better than whatever half baked, whitespace filled crap is there now.

Re: Feynman’s Breakthrough: Disregard Others

#88

This applies to scientists, not to software engineers working in a team. (This can also apply to software company founders and side projects but that's a special case.) Scientists and researchers are primarily working to build their own brand and to make a contribution which can be tied To them. A team of s/w emgineers is working to build a cohesive whole. Much different goals and incentives.

>This applies to scientists, not to software engineers working in a team. And that'w why no software engineers working on teams will ever win a nobel prize. I don't mean to be disingenuous, but did you ever stop to think why team work is so drummed into us? It's not because teamwork produces better results, it's so corporations can treat us as interchangeable cogs. They want knowledge spread across a whole team to 'd…

I wish I had more upvotes to give you.

Re: Feynman’s Breakthrough: Disregard Others

#89

This applies to scientists, not to software engineers working in a team. (This can also apply to software company founders and side projects but that's a special case.) Scientists and researchers are primarily working to build their own brand and to make a contribution which can be tied To them. A team of s/w emgineers is working to build a cohesive whole. Much different goals and incentives.

>This applies to scientists, not to software engineers working in a team. And that'w why no software engineers working on teams will ever win a nobel prize. I don't mean to be disingenuous, but did you ever stop to think why team work is so drummed into us? It's not because teamwork produces better results, it's so corporations can treat us as interchangeable cogs. They want knowledge spread across a whole team to 'd…

Thankfully people actually using the software is more meaningful than awards :)

Also why is it so weird to see your company wants you to be replaceable? It’s up to YOU to differentiate yourself.

Re: Feynman’s Breakthrough: Disregard Others

#90

Therein lies the best career advice I could possibly dispense: just DO things. Chase after the things that interest you and make you happy. Stop acting like you have a set path, because you don't. No one does. You shouldn't be trying to check off the boxes of life; they aren't real and they were created by other people, not you. There is no explicit path I'm following, and I'm not walking in anyone else's footsteps.…

Hamming would be against that.
Post reply on HN