HNHacker News
TopNewBestAskShowJobs

laurentl

685 karma · joined January 25, 2017

submissionscomments
laurentl··on Securing Your Site Like It’s 1999
“What is the OWASP top 10?”

I can forgive someone who can’t explain how XSS or CSRF works (I’m not sure I can explain it so clearly myself—kudos to the article’s author for the excellent explanation) if they know about the top 10 and have read it at least once.

laurentl··on Ask HN: How to incorporate machine learning into day job?
I'll put out another (basic) idea that isn't listed below.

If you have access to production logs and metrics, try to model things like page load times, server load, network latency, errors/timeout, number of page views/unique visitors.

You might hit on unexpected correlations and maybe unknown bugs (e.g. when page X is loaded with input Y, timeouts and server load increase because of a broken SQL request), or insights on the health of the production platform.

laurentl··on Ask HN: Tips on how to get started in tech consulting?
You might want to look at daedtech.com, it's the blog of a software consultant who has a lot to say on the topic of starting your own consulting business.
laurentl··on Ask HN: How do you deal with the brilliant jerks at your workplace?
As a manager, I’ve had some success in such situations by demonstrating to the brilliant jerk that I’m at least as brilliant as him. This does not have to be specifically in his area of expertise, but it has to be on a topic he will respect (e.g. architecture, project management, team leadership). This step is crucial, as the BJ will only look up to (perceived) brilliance. (Plain jerks will defer to authority but the brilliant ones usually briddle at incompetence and perceive shows of authority as weakness). This is basically signaling that you’re the alpha male, for the BJ’s definition of alpha. From that position of power, you can then lead by example and demonstrate to the BJ that acting like a decent human being delivers better results than being a douche. If they’re intelligent enough they’ll see how it can serve their own interests and amend their ways. If they’re not intelligent enough... well then it’s time to make them understand that no one is indispensable.

Note: it’s usually a good idea to let your own manager know of the situation and get their approval before attempting anything (to defuse any “going over the manager” gambit).

laurentl··on Helsinki to Begin Anonymous Recruiting
It was tried in France without great success. The law was passed in 2006 but the application decree (which states how/when the law comes into effect) was never published. Consequently, this law was never upheld. Why? Field trials between 2006 and 2009 showed it didn't have a measurable effect and in some cases ended up discriminating more. The experiments' results are controversial (small sample size) but despite pushes in 2011 and 2014 the law seems effectively dead in the water.

Anecdotally, I've been on the recruiting end of "anonimized" CVs pushed by outsourcing companies. I was never fully clear on whether this was a legal requirements for them, or if it was a gesture to show inclusiveness and social responsibility on their part (take this with a pinch of salt, most outsourcing companies in France are little better than horse-dealers and will push any warm body your way if they think they can turn a profit). At any rate, most of these were hilariously badly done: using initials for the last name but leaving the first name in full, leaving telling initials (1), or other subtle or less subtle ways to hint at the contractor's origin and gender.

(1) e.g. a first name initialed J.L., J.M. or some other variation points to a Jean-something (Jean-Louis, Jean-Michel, etc.) composite first name, which is a clear indication of a "native" Frenchman (and a hint as to the person's age as well)

laurentl··on Helsinki to Begin Anonymous Recruiting
I don’t really see how you can hide (a rough idea of) age in an anonymous cv though. I’m guessing you still have the dates in front of the diplomas and previous jobs, or at the very least how long was spent at each previous job. It stands to reason that someone boasting 10+ years of experience is at least 30, and probably around 35.
laurentl··on I still miss my headphone jack, and I want it back
Don’t forget video. Bluetooth adds latency, and “true wireless” (no cable between the earbuds) adds another layer of latency as the signal has to be sent from one earbud to the other. Noticeable enough that you have to manually add delay between the video and audio tracks, if your player allows it.
laurentl··on The online encyclopaedia of integer sequences
OEIS is, to me, mind-boggling. When you consider that there is literally an infinite number of possible sequences, it’s amazing how often a completely arcane sequence you stumbled upon somewhere is listed in the OEIS.

Also, it’s helped me solve a few project Euler problems (which often involve framing “well-known” problems into novel forms). Brute-force the first few values and more often than not you’ll find the sequence in OEIS, sometimes with a generating function or pointers to the original problem.

laurentl··on Ask HN: What Habits Are Unequivocally Bad?
It’s hard to articulate, and my post was probably too pithy. I’m referring to the fact that we make most decisions in “self-driving” mode, without thinking too much about it. But sometimes you run into a situation where you find yourself thinking “well, I could just do this, but...”. In other words, there’s something bugging you about the obvious solution and a suggestion of a harder, more difficult decision hiding behind the “but”. In that case, in my experience the difficult solution is the right one. If you consciously notice you’re about to cut corners, that means that something (conscience, instinct, whatever) is trying really hard to warn you about it.

Getting back to your example, there’s no “but” attached to choosing an existing engine, so you probably wouldn’t have a nagging thought pushing you to look at building your own.

So I guess what I’m really saying is “don’t cut corners”. You know you’re about to cut one when the little angel pops up on your shoulder and whispers “are you sure about this?”

laurentl··on Ask HN: What Habits Are Unequivocally Bad?
Taking the easy choice.

Whenever you have to make a choice and there are an “easy” and a “hard” options, you should choose the hard option. It’s always the right one.

Why? If the easy option was also the right one, you wouldn’t even be thinking about it. The hard option is your conscience/instinct telling you to look beyond the obvious, easy answer.

laurentl··on Best book/paper you read in 2018?
The Innovator’s Dilemma by Clayton Christensen (the book itself is 20 years old but I only read it recently). It’s a fantastic analysis of why successful companies get displaced by disruptive technologies —or, the other way around, why it’s so complicated to innovate in successful companies.

The underlying reasons exposed by the book are timeless and universal. As I read the book (which, again, is 20 years old and focuses on the hard drive industry) I recognized all the pitfalls my previous company went through as it was trying to adapt to public Cloud.

This book is a powerful lens to look at disruptive innovation, well-written and very thoroughly researched. A must read if you’re working in technology IMO.

laurentl··on International System of Units overhauled in historic vote
Well, you can’t suddenly replace the quarterpounder with cheese with a royale with cheese.
laurentl··on [dead]
Nice website, a bit too MVP though: you might want to remove the lorem ipsums from the "how it works" page (https://mvpboost.com/how-it-works/) :D

On the idea, I don't really see what differentiates you from the other million digital agencies and dev shops around the world. I like the tagline "rent a tech co-founder" but it doesn't really appear in your value offering.

And a "meta" question to finish: did you dogfood it? I.e. did you apply the methodology you sell and look for customers and talk to them? Did you build a MVP? (is this the MVP of mvpboost?)

laurentl··on Lincoln Index: Estimating the number of bugs left to find (2010)
That's a really interesting question (and one for which I don't know enough probability theory to give a good answer).

At the very least, if you have N testers you can apply the technique pairwise to generate N(N - 1)/2 estimates for the number of bugs. Taking the average or median of these estimates would probably give you a more robust value for the total number of bugs.

You could also build a correlation matrix between testers (i.e. are bugs really independently found or do some testers tend to find the same bugs) and you could test the assumption that bugs are equally hard to find (which realistically isn't the case).

With that new insight into your original data, you could compute an a posteriori estimate for the total number of bugs, Bayes style.

(In other words, you start with the prior assumption that testers are independent and bugs are equally hard to find to build a first answer. Based on this estimate, you revise your assumption with a more realistic probability distribution for bugs and testers, and use that distribution to compute a new answer)

Or, maybe just stop messing with R and get on with fixing all the bugs found by your N testers.

laurentl··on How to Keep Your Job as Your Company Grows
This sounds like a rough transition, and not one you were asking for I guess. I don’t have any relevant suggestions to share* but you have my sympathies.

* well, except for the very generic ones to not confuse what’s happening to you and your worth as an individual, to seek to learn or take away something good from the experience, and to remember that karma’s a bitch and that whoever screwed you will get their comeuppance one way or another.

laurentl··on How to Keep Your Job as Your Company Grows
And do you know why you didn’t get the job when they added the new layer of management? Were you considered but rejected, did you even get a chance to apply or did you wake up one morning to a new boss and new title?

I really feel for what happened to you, but I have trouble believing that a whole raft of incompetent VPs were hired just because they had BigCo du jour in their CV.

In other words, what would you have done differently to avoid this outcome, if you believe it was avoidable?

laurentl··on What the Founder’s Email Address Says About Your Startup
That’s actually a recurring question I have, given that we have a fairly long (21 chars) domain name: should we stick to first.last@company.com (which is fine but long to type), move to first names only (with the obvious question of what to do once you have 2 employees with the same first name), or purchase a shorter domain name as an alias (which means a lot of changes)? Any thoughts?
laurentl··on Ask HN: Transition from Operations to Development?
Have you considered marketing yourself as a devops engineer? From the sound of it you already have most if not all of the required skills, and IMO this makes the transition easier as well as plays on your existing strengths (i.e. you’re not a would-be developer who has to prove he can code, you’re a seasoned ops engineer who can help the dev team get their ops shit together). Speaking as a CTO, I would love to add to my dev team someone who knows what it’s like to be woken at 2am on Sunday morning because of a stupid bug and who’ll go into the code base to eliminate anything that triggers a sudden wake up call.
laurentl··on End-to-end implementation of a machine learning pipeline (2017)
The link seems dead, is there another url ?
laurentl··on Ask HN: Why do people just not bother about security?
What BjoernKW said, basically.

Companies do enforce security policies. Most often, there’s a bit of cargo culting / going through the motions to prove to compliance or the SEC or whoever that you’re doing something. It’s also complicated, on (large) companies’ timescales, to adapt to the changing threat models. Which is why we still have “8 characters including a number and an upper-case letter, to be changed every 3 months” nonsense instead of generalized password managers and MFA devices. (Try installing a password manager on your average locked-down corporate PC).

And even then, you’re still back to the fact that companies are large groups of people who range from Franck the IT guy who knows about security to Dennis from accounting who has all his passwords on a post-it and will gladly give them over the phone if “Gladys, the VP of marketing who needs access to the finance tool to update the budget forecast right away, before the big meeting with the CEO, you don’t want to upset the CEO do you Dennis” sounds persuasive enough.

However, I agree that companies are better at security than individuals, and will (hopefully) slowly drag the average security level up through employee education. It will take a while for the Dennises of the world to get the message, though.

laurentl··on Ask HN: Why do people just not bother about security?
No, you’re not wrong.

People don’t care. They don’t even know that they should care. People have no clue how their PC or smartphone or internet access work. They don’t know what a hard drive is, they don’t know what encryption does, and their brain will explode if you try to explain what a MITM attack is. They just know that they had to return to the store last time they forgot their password so the geek with the “Apple Genius” T-shirt could reset it for them. So now it’s set to the kid’s birthdate. Because they don’t know how any of that stuff works, they have no choice but to trust the closest thing they have to an authority on the subject: their ISP, the guys who make their smartphone or their bank’s website, that salesperson at Best Buy who told them to install an antivirus.

Security is hard. Remembering passwords is complicated, picking good passwords is near impossible if you don’t have a tool to do it for you, and remembering those passwords is impossible. 2FA is a pain to set up even if ou know what you’re doing, and don’t even get me started on configuring “advanced” options (in which I bundle Fido2 / U2F for the foreseeable future). And recovery keys you’re supposed to print out and store in a safe, seriously?

Data is intangible. Contrary to a car theft or a house break-in, people struggle to assign a value to data loss or theft. Hell, I work in IT and I couldn’t begin to estimate the prejudice if someone were to gain access to my personal data. LoJacks and baby monitors help secure something that people can place a value on. What’s the value of my holiday pics?

Because of all this, security doesn’t sell. So companies have no incentive to invest in security, so security remains complicated and rare, so nobody gets to use good security and find out that it has a value, so security doesn’t sell.

I can’t even say that it will get better over time, as the young generations were raised to hand over control of their digital lives to corporate data harvesters.

Sorry for the bleakness of this post, but I’ve chosen to be jaded rather than depressed.

laurentl··on Ask HN: Founders, what is the worst experience you had with developers?
This. Developers often have a blind side to their own cost and will happily spend a week or more of their time (i.e. a few k$ at market rate) to shave $300 from an AWS bill.
laurentl··on Ask HN: What's your favorite elegant/beautiful algorithm?
Point taken. I love itertools :D
laurentl··on Ask HN: What's your favorite elegant/beautiful algorithm?
Nitpick: this only works if the player played exactly three moves (in the version of Tic Tac Toe I know you can play for up to 5 moves). Generalizing to 4 moves is fairly simple, to 5 moves less so; you can test all '3 from 5' combinations, which is only 10 possibilities, but I doubt the code to do this is easy to read and understand after the fact.
laurentl··on An Amateur Rap Crew Stole Surveillance Tech that Tracks Almost Every American
This whole thing is a poster child for GDPR.

Step 1: hi TLO, what information do you have on me? Step 2: right, delete all of it.

laurentl··on A mysterious grey-hat is patching people's outdated MikroTik routers
You just can’t tell, when your job is hosting user content, e.g. managed website hosting (cpanel) or static pages (Azure static website hosting). I mention these two companies because I received 2 phishing attempts this week, both pretending to be from Microsoft, with the payload hosted on cpanel and Azure respectively.

Both have an abuse / phishing declaration form online. I signaled both pages, and they are still up for the moment.

laurentl··on Ask HN: Industries to consider as a developer to weather the next recession?
Look for anti-cyclical companies and more generally “value” companies (in opposition to growth companies). This means large companies in banking, insurance, telcos... Consider that everyone has to purchase home and car insurance, whether the economy is booming or in a recession. Everyone will still have a mobile plan and/or an internet connection. Everyone will still buy groceries at Walmart. Any sector that grows slowly during economic booms will shrink slowly in a recession.

Other factors: the bigger the company, the more inertia it has (assuming your job suppports its core business; even large companies will cut side or non-essential activities if the economic forecast is bad). B2B companies are less exposed to a recession at first, because of longer contracts and decision cycles in enterprise customers (it’s relatively easy and quick for an individual to downgrade their internet plan to save money; it takes much longer for a large company to renegotiate a telco contract). Defense is always a safe bet.

So basically the bigger the company, the more boring and/or morally dubious the sector, the better :D

laurentl··on The Dutch Reach: A No-Tech Way to Save Bicyclists’ Lives
Ireland?
laurentl··on Bloomberg’s ‘The Big Hack’
Agree. Bloomberg is taking on the two biggest companies in the history of capitalism and China. And they doubled down on their claim after the initial refutations from A&A. So I’m pretty configent they made double extra sure their facts were correct before they published.
laurentl··on Bloomberg’s ‘The Big Hack’
I had the same question when I read the article. It sure was lucky that both Apple and Amazon checked the hardware and found the impossible to find chip.

Or, assuming the rest of the article is true, someone somewhere found out about the chip and had a quiet word with a few select customers of Supermicro (but decided to otherwise keep mum about the whole thing). Which would go some way to explain the company denials, because the truth might be a bit embarrassing —or gagged by a three-letter agency.

← PreviousPage 6 of 10Next →