HNHacker News
TopNewBestAskShowJobs

Darkstryder

619 karma · joined October 12, 2018

submissionscomments
Darkstryder··on Masterclass on mathematical thinking
Cinematography is a hobby of mine and I got gifted the "Ron Howard teaches Directing" Masterclass a few years back. I did not check the other Masterclasses, although I've considered watching a few others.

I've really enjoyed it but as it's already been said it's a lot better to approach the class as an extended interview and reflections from a world-class practitioner about their craft and career. Directing was an especially relevant discipline for the Masterclass formula as it is a mix of hard and soft skills, and there are a lot of resources for the hard skills, especially at an indie level. Ron Howard instead focused more on the soft skills and I gained something from it, especially as some of it is just plain old project management that I could also apply at my (engineering) work.

There was also a long, uncut practical session where Howard directed a scene on a set with an entire team of actors and crew, and I found it really interesting to watch them all work together like I was a fly on the wall.

So if you view Masterclass as a way to pick the brain of a celebrity practitioner you genuinely admire, I think it is 100% worthwhile. If you're instead looking for a regular tutorial about a discipline without having any interest in the instructor themselves, I'm less sure.

Darkstryder··on Some reasons to work on productivity and velocity
Thank you.

I was fearing/expecting someone to mention ADHD. I have never been formally diagnosed but everything I read about it feels suspiciously similar to the way my brain is wired. I might have to look into it more seriously. I’m currently 33.

Darkstryder··on Some reasons to work on productivity and velocity
Something Dan is not talking about at all but is at the core of my personal productivity troubles is energy level management. There is a world of difference between my average productivity and my peak productivity as I tend to work in short productive bursts then need a lot of time to recharge.

My yearly work output is OKish but my daily or weekly productivity has very high variance, which has caused me some trouble in the past (especially in agile shops where constant productivity is expected).

Personally I haven’t found any magical way to meaningfully improve my average productivity. Every time I think I just found a magic bullet, it usually boils down to working closer to my peak productivity for some time (sometimes without noticing it myself) then realizing I can not sustain that on a full year / full decade / full career.

Before thinking of improving specific skills, just being able to be focused and working without distraction all day every day would be an order-of-magnitude improvement for me.

Darkstryder··on Ask HN: Literature on crisis response?
With regard to the specific topic of communicating through a crisis, I've found Masters of Disaster: The Ten Commandments of Damage Control by Christopher Lehane, Mark Fabiani and Bill Guttentag to be pretty interesting.

The authors worked with multiple organizations and celebrities during time of crises and helped them with the public relation side of it. For instance they managed Bill Clinton's PR during the Monica Lewinsky events.

The book is not perfect (I think it could be shortened a bit and retain the same information) but it is still very interesting and I think about it every time I witness someone getting themselves into a big, public crisis and making things worse by not managing their PR properly.

Darkstryder··on Frankie Manning's dancing skills made him famous twice (2016)
Lindy Hopper from France here! Looking forward to dance again... someday.
Darkstryder··on It takes a lot of energy for machines to learn
AFAIK a practical quantum computer would not enable any practical attack against SHA256.
Darkstryder··on How to Think for Yourself
Unfortunately the bias against negative results in scientific publications cause a lot of scientific dead-ends to be non-public as well.

A lot starting researchers (such as PhD students) that are left without adequate supervision are likely to reach a dead-end someone previously encountered but did not publish anything about.

Darkstryder··on Teaching our five year old to code by cheating
I'm glad Greg Baugues started blogging again. I discovered his blog all the way back in 2013 with one of my favorite articles of his, "Autoworkers of our generation" [1] and I've been reading his blog religiously until he stopped writing circa 2017.

Glad to discover he got back to writing recently.

[1] https://baugues.com/autoworkers/

Darkstryder··on When feature flags do and don’t make sense (2019)
Thank you for the very relevant advice.

All of these suggestions are certainly feasible but taken together they do amount to a non-negligible cost in infrastructure and development velocity though.

Where I live I've yet to find an employer that can be convinced these costs are worth it.

Darkstryder··on When feature flags do and don’t make sense (2019)
> the recommendation at places like Google is to rollback first and investigate the problem later

I always have the same question regarding this advice: how are you supposed to handle data corruption?

When a buggy new version creates lasting problems in the persistent data, reverting to the last known good version may not fix the problem as the correct code now has to deal with incorrect data, which lead to a different, possibly incorrect behavior compared to before the buggy deployment.

Reverting the data itself is often not possible as you usually can’t say to your customers « woops, we deleted all of your bank transactions / incoming emails for the last two weeks because of a rollback on our side ».

So in my experience you still have to roll forward in a lot of cases, to fix both the code and data together.

How do you guys handle that in practice?

Darkstryder··on Tor 0day: Finding IP Addresses
As a PhD student my main topic was the period of time just after the disclosure of a vulnerability. This is the most threatening stage of its life cycle as mitigations are not disseminated in the community yet (a patch may be available but nobody installed it yet, etc.).

We struggled to find a commonly accepted term for vulnerabilities at this stage of their life cycle, but we finally settled on n-day vulnerability. This term have been relatively well accepted by the vulnerability research community.

The exact length of this period is completely dependent on the velocity of the community to adopt a mitigation such as a patch. Heartbleed and Shellshock had been massively mitigated in a matter of days or weeks, but EternalBlue based-attacks still caught a lot of production systems off-guard more than a year after its disclosure.

Darkstryder··on IBM Fully Homomorphic Encryption Toolkit for Linux
It is possible. Encrypting a piece of data requires the public key but not the secret key. Therefore you can give your public key to all of these multiples entities, they encrypt data and do computation on it, and only you can decrypt the resulting computation using your secret key.

I have to say that a related question I have is how to get the opposite : making sure the third party only used the inputs I gave them and did not replaced them with their own, and making sure they processed these inputs through the exact program I gave them and not an altered version of it.

I have rough ideas about how one could do something like this but if anybody had a reference to literature on the topic, that would be great.

Darkstryder··on IBM Fully Homomorphic Encryption Toolkit for Linux
To give an answer a bit more technical than the others, theoretically a encryption scheme is considered fully homomorphic if it can support an arbitrary number of additions and multiplications on its inputs (bits or integers). In a lot of fully homomorphic encryption (FHE) schemes bits are represented through big matrices that are in part random and part deterministic. You can add and multiply these matrices and it will naturally add and multiply the encrypted bit inside as well, but you need the secret key to decrypt the matrix and learn if it contains a one or a zero.

From these operations (add and mul) you can create a NAND gate using the formula 1 - A * B (assuming A and B are matrices containing encrypted bits) and create any arbitrary boolean circuit from there. These circuits works on the encrypted data without the need to decrypt it.

(there is an additional step called bootstrapping that most schemes require in order to allow circuits of unlimited depth but I won’t get into that in such a short answer)

Darkstryder··on Ask HN: Is all of FAANG like this?
In France the acronym that stuck was GAFA, or GAFAM if you want to includes Microsoft. I always prefered GAFA / GAFAM to FAANG.

However GAFA probably sounds better to the ear when pronounced the French way than the English way. This may explains that.

Darkstryder··on Terry Tao on some desirable properties of mathematical notation
Steal this idea: a Shazam of mathematical notation. In an app you would draw (or take a picture) of a mathematical symbol you don’t recognize and get a link to the appropriate Wikipedia page.

My biggest pet peeve with mathematical symbols is the difficulty of looking them up when you don’t know them already. If I’m reading a text on a topic I'm unfamiliar with, I can at least google the keywords I don't know. This is difficult with symbols.

Darkstryder··on Finishing a side project
I should stress that it is not the side-projects themselves that got me the jobs but the knowledge I acquired while working on them.

I usually do side-projects on topics that interests me, and usually apply on jobs that also interests me, and I just hope for the two to converge: at some point the interviewer will ask a question about a technical topic I never worked on professionally, but on which I have intimate knowledge thanks to those side-projects.

And then I'll be able to give an interesting answer while my previous jobs and education would not have prepared me for that question.

Darkstryder··on Finishing a side project
In the past five years, I've had several side-projects that were never "finished" in the literal sense, but taught me important things that helped me ace job interviews, getting me two jobs that I probably wouldn't have got otherwise.

At some point I had a mental shift and decided that a side-project that doesn't get finished but gets me a new job is a huge success and not a failure.

This had a big impact in me continuing to explore new personal projects as long as I can learn something interesting from them.

Darkstryder··on Org Mode – Organize Your Life in Plain Text
The first section of this article is called "How To Use This Document" and it immediately reminded me of: https://xkcd.com/1343/
Darkstryder··on MacOS Catalina: Slow by Design?
I'm surprised nobody mentioned that Windows Defender does something very similar (checking for never-seen-before binaries at runtime, uploading them to Microsoft servers, then running them there) : https://news.ycombinator.com/item?id=21180019
Darkstryder··on Linux on the Desktop as a Web Developer
If like me you have a browser opened at all time, on Linux you could consider using the 1Password browser extension even needing a password not web-related.

I use 1Password for Firefox on Linux and it works flawlessly.

Darkstryder··on Ask HN: Is your company sticking to on-premise servers? Why?
On top of what others have said, when outside the US the Cloud Act has been a big one for most previous companies I worked for.

Using AWS / Azure / Google Cloud (even using datacenters from your own country) implies that the US government can access your data at will.

As soon as you treat sensitive information, especially related to non-US governments, this becomes a blocking factor.

Darkstryder··on Ask HN: Is your company sticking to on-premise servers? Why?
Remember that the "cost per instruction" ought to be very different depending on a lot of other factors, including but not limited to:

- how much data do you need to move to actually perform the computation

- whether the computation performance is expected to be reliable or if best-effort is acceptable

- whether there are confidentiality and accuracy requirements on the input and output of the computation.

Most software engineering teams are not working at a granular enough level to properly describe which parts of their computations and data are expected to be reliable or not (in availability, confidentiality and integrity). However this can impact the cost per instruction of a computation by multiple orders of magnitude.

Darkstryder··on Amazon threatens to suspend French deliveries after court order
You’re right, and actually this is also true in France: the party in power only controls one of the two chambers but not the other.
Darkstryder··on Amazon threatens to suspend French deliveries after court order
I would have trouble talking about the difference between American and French views of the law, or even speaking for all French people for that matter.

What I can say is that personally, I definitely think I live in a country ruled by law. However separation of powers means there is no single entity exercising total control on this law: the executive branch proposes changes to the law, the legislative ratifies these changes (or not), and the judiciary branch is an arbiter of what happens when the existing law meets real life situations. While the limits between the executive and legislative branches can sometimes feel porous (especially when executive and legislative are controlled by a single political party, as is the case in both France and USA at the moment), the judiciary branch always felt more insular to me from the two others, at least in my country.

Another linguistic nuance to think about: in French, we are "ruled by law " but not "governed by law". In French, "gouverner" (to govern) is something that people do, not laws.

This is a bit of a brain dump, sorry. I wish I would have more definitive answers for you.

Darkstryder··on Amazon threatens to suspend French deliveries after court order
I'm French. In french "gouvernement" (french word for "government") only refers to the executive branch, and our justice system is strongly attached to its independence from the two other branches. So it seems strange to me to conflate all three branches together.

Interestingly, in the French wikipedia page for "gouvernement" [1], there is this paragraph :

Différence avec le terme anglais

En anglais, le mot « government » s'applique non seulement au gouvernement au sens où on l'entend en français, mais aussi aux collectivités territoriales et aux administrations publiques, aussi bien centrales que locales. Le concept le plus proche en français est donc celui de collectivité publique, qui englobe les institutions politiques qui incarnent directement les pouvoirs législatif, exécutif et judiciaire, ainsi que l'ensemble des administrations qui leur sont rattachées.

Which can be loosely translated as :

Difference with the english term

In English, the word "government" includes not only the executive governement like in French, but also all local and global public administrations. The closest concept in french is therefore "collectivité publique" which encompasses institutions for all Legislative, Executive, Judiciary powers, as well as all administrations under their authorities.

I learnt something new today.

[1] https://fr.wikipedia.org/wiki/Gouvernement

Darkstryder··on Amazon threatens to suspend French deliveries after court order
As most democratic countries, France has a complete separation between the government and the justice system.

This is a justice decision. The government has nothing to do with it.

Darkstryder··on Ask HN: Why is there a black bar above HN's top menu sometimes?
Thank you. I did note the passing of John Conway but I certainly did not associate it with the black bar. It could be interesting to make the connection more discoverable, ala Google's Doodles.
Darkstryder··on Hours
I really like the concept but I wonder if doing it with someone external to the company is a good idea for those of us with NDAs, confidentiality clauses and so on. Especially if it is done using a communication channel that hasn't been approved by the company.

I suppose you can keep the details vague enough if necessary, but if I was a spy, this is definitely something I would try to do with my target.

Darkstryder··on Ask HN: Do you ever truly use your revision history?
In 2013-2014, I was tracking a strange bug in a legacy accounting software.

I was reading the business logic that triggered the bug and it made no sense.

I activated the blame view of the code, and I realized most of the code had been written in ~1998 but a couple lines had been updated in ~2007, by someone who probably never even met the original author.

Realizing that made it a lot easier to understand the context of the bug and fixing it.

There is a lot of value in knowing that two lines of code next to each other have been written decades apart by people that did not coordinate with each other. Never erase that history voluntarily.

Darkstryder··on Spot the Drowning Child (2015)
Secondary drowning, while not shown on-screen, is an important plot point of the series The Affair.
← PreviousPage 2 of 4Next →