HNHacker News
TopNewBestAskShowJobs

napo

153 karma · joined August 11, 2015

meet.hn/city/fr-Nimes

Socials: - linkedin.com/in/juliennigri - nigri.dev

submissionscomments
napo··on I cheated on my Microsoft interview (2019)
yes, ty tbh both interviewers and interviewees are asked not to share interview questions
napo··on I cheated on my Microsoft interview (2019)
A good example to make this question more fair, as an interviewer, would be to rapidly give the (n-1)*n/2 trick quickly if the candidate doesn't know it. And not care too much if they do know it.
napo··on I cheated on my Microsoft interview (2019)
I'm surprised that atm there is a consensus in the comments saying that it's not cheating. Companies ask interviewers to not reveal the questions they had to other candidates. It's likely that his friend was told not to say that. Overall he clearly had an unfair advantage, and even if legally it wouldn't be the definition of "cheating" it would go against the intent of the interview: which is to evaluate candidates in front of a new problem.

Kudos to the author for being honest about all this. I think it's a real issue and that we should find more solutions to prevent this than candidates signing an NDA. Imho when doing such interview, questions should not rely on a "trick" and even if they do, candidates should be evaluated on everything else: how they explain the code, how they react to feedbacks, how easily they transcribe what they explain to code. It's not perfect but it helps.

napo··on Themes from Real World Crypto 2022
> Years of vulnerabilities have led to Intel’s decision to remove SGX from its next generation of consumer CPUs

Isn't this a bit misleading? Intel is still adding SGXv2 on the Xeon processors. Isn't it most likely that there were just no real use cases for PCs and they just decided to focus on servers?

napo··on Should I Use a Carousel?
it seems that amazon and netflix are using carousels quite successfully
napo··on “Click to subscribe, call to cancel” is illegal, FTC says
I also had a terrible experience trying to cancel my subscription to Le Monde. In the end I paid a service something like 6euros so that they would send the proper letter. There's 0 chance I will ever subscribe to a newspaper ever again.
napo··on “Click to subscribe, call to cancel” is illegal, FTC says
Funny, I had the opposite experience. I'm French and I spent 2 years in the US. I had a T-mobile subscription, and it was too painful to cancel my subscription. With my accent I could barely pass the robot that was trying to understand why I was calling. Then when I had someone on the phone, the call just dropped, in the middle of conversations. I did that a few times and then gave up. I assume I'll also receive a notification one day that I'm breaking the law and owe some crazy amount of money.
napo··on Vscode.dev
"LPT" = Life Pro Tip (just learned that)
napo··on Nuclear waste is a solved problem
Why? Intuitively it does feel like the "nuclear waste" part is some radioactive elements that we could re-use for nuclear fissions. If we found a way to re-use the left-overs multiple times until we used all the radioactive parts, that would suggest that it solves the waste problem.
napo··on There is currently no plan for PWA support in Firefox
tl;dr: Firefox decided to remove the Site Specific Browser (SSB) feature. This allowed to display a website inside a window with minimal UI. This feature is being removed because it was buggy, but also because it was the first step towards supporting PWA, which is not something Firefox wants do do anymore. The decision of not pursuing PWA was made following internal user researches that are currently confidentials.
napo··on Brave buys a search engine, promises no tracking, no profiling
If someone is wondering (like I did) what the + operator was for:

foo +bar +baz

was equivalent to

foo "bar" "baz"

napo··on Essays on programming I think about a lot
"If you choose to write your website in NodeJS, you just spent one of your innovation tokens. If you choose to use MongoDB, you just spent one of your innovation tokens. If you choose to use service discovery tech that’s existed for a year or less, you just spent one of your innovation tokens." I think the author is stuck in 2010.
napo··on Is Firefox better than Chrome? It comes down to privacy
The downvotes seems a bit unfair. I think this is a good comment. Any chance you could give more info on which metrics they're looking at though? Because if it's mainly CPU usage and the like it doesn't seem to be a big concern.
napo··on Blood platelets activated during exercise increase neurogensis: mouse study
(There's a typo on HN's title, the last "e" is missing in neurogenesis)
napo··on Brexit: MPs reject Theresa May's deal by 149 votes
It's getting closer and closer to a no-deal, and yet the pound doesn't really go down. Does anybody understand why?
napo··on Public protest against Amazon
"* When things are good, think about leaving" => Wait what? So what do you do when things are bad?
napo··on Napster: A New Killer Internet App (1999)
"if the recording industry knew about this, they'd probably shut it down."
napo··on GitLab Serverless
With serverless you only pay for a request and you (almost) don't care about scaling. While non-serverless implies that you have to manage how many server instances you want, and have them running and pay for them even if you have no traffic.
napo··on Web Assembly and Go: A look to the future
"Before you at least knew a front end project was probably written in JS, now... who knows?" => Not really. Don't forget about CoffeeScript, Dart, TypeScript, ScalaJs, Fable, ClojureScript, etc
napo··on Ask HN: Which companies have the best engineering culture?
Sounds like the triangle of success. https://www.youtube.com/watch?v=yy0lEzhc8yo&t=29s
napo··on Ask HN: Which companies have the best engineering culture?
What are the reasons that make ThoughtWorks cool?
napo··on Amazon Strategy Teardown
What does "I'm long Amazon" mean?
napo··on Getting a great plan past the boss’s desk is hard
I like to think that if your idea is truly good: It's your responsability to gather data, calculate metrics, do small tests and to find an iterative and lean way to implement it. It's hard, and in reallity intuition in itself can be quite powerful, but in a company it's all about measuring what is the best next move.
napo··on How I Write Tests
> I fully subscribe to the definition of legacy code as “code without an automated test suite.”

> I’ve never really subscribed to any of the test-driven-development manifestos or practices that I’ve encountered.

I feel the exact opposite. I've worked in project with a lot of legacy code, both with BDD or with UTs that we added latter on.

Even with the best intentions the latter always failed: we always ended up doing a lot of unreadable tests that had no meaning and that we were afraid to look at. However, when I was working in a team fully committed on BDD, we were looking at the tests before looking at the code, the tests were in the center of the developing process, and we were able to write fast, solid, and simple tests.

Nowadays, I'm more interested on articles that understand that tests can be a pain too. And tbh I don't really trust articles that aim at a high coverage without talking about the different challenges that comes with tests.

napo··on Self-Documented Makefile
It is... It's alway better to write code that shows the intent. When you add comments you force other dev to maintain them, and if they don't you will end up with obsolete or incorrect comments.

Plus, you end up doing stupid stuff like:

DoThat(); // It does that

napo··on The genetic code now has a workable text editor
If you want to alter the genome of an already living creature I guess that you have to change every cells. I'm not sure if it's possible. However, a virus seems to be the perfect tool (it modify your genome to copy itself and infect other cells).
napo··on The Rise of Airbnb's Full-Time Landlords
> So his get-rich-quick scheme (or "business plan") is to sign contracts he knows he will break, and hope he doesn't get caught until after he has come out ahead.

Sadly, it's often a good strategy to just breaking the law or an agreement, even with the risk of being caught.

napo··on Adventures in financial and software engineering
$('p').css('text-align', 'justify');
napo··on How We Tested Our Food Blog’s Expected CPM with Premium Images
Great article. However... $('img').attr('style', '-webkit-filter: blur(0);')
← PreviousPage 2 of 2