HNHacker News
TopNewBestAskShowJobs

laurentl

685 karma · joined January 25, 2017

submissionscomments
laurentl··on Ask HN: Why did you become a manager?
For me, it was a default choice: it was the only career path that didn’t suck (the alternative was to become an expert which, in that company at that time, meant plateauing after a few years). So it took me a while to become a competent manager, and to start enjoying it.

All this to say that if you want to become a manager only for the added responsibilities / perks / title, chances are you’ll be a lousy one. To enjoy being a manager (and be a decent one rather than a PHB), you need to care about people.

In your case, enjoying mentoring junior devs is obviously a good start; try to extrapolate that to how you would coach on non-technical topics (people skills, career choices, giving negative feedback, etc. ). Another good point is the relationship with stakeholders. Just keep in mind that as a manager, you often get the shit part of the relationship: you break the bad news and cover your team, but you let your team get the credits for the good stuff. On the other hand, I would advise you to forget about coding: even if you can keep writing some code, it is absolutely not your job as a manager. You also need to consider the impact on the rest of your team, especially if you’re not the most competent developer in the team. (Imagine being the coach of a sports team and putting yourself in the lineup to play every game)

laurentl··on Announcing unlimited free private repos
Bitbucket’s website is slow as hell. I actually physically cringe when I have to do something through the website (e.g. create a pull request) because I know I’ll be staring at slow-loading pages for the next 5 minutes, even for something that’s 3 clicks away.
laurentl··on Announcing unlimited free private repos
For better or worse, having a Github profile is now a thing that’s expected of developers, so public repos are here to stay.

Personally speaking, I’ll still default to public for my side projects. But a free private repo sounds like exactly the thing for online classes or web challenges where you’re explicitely asked not to share your code. I’ve just started on the cryptopals challenges, now I know where to put my code :D

laurentl··on Ask HN: What are the scientifically realistic (or accuarate) sci-fi novels?
Ptetty much anything by Arthur C Clarke. Not very recent, granted, but Clarke was a scientist and it shows. IIRC, he came up with the idea of communications satellites and the space elevator... Pretty accurate predictions :D
laurentl··on Ask HN: Going from Developer to Manager. What should I know or learn?
Well, for truly toxic individuals, warnings or confrontations are useless (I’ve learned this the hard way, and not for lack of trying). It is impossible to get them to understand that they have a problem; anything you say, no matter how clearly articulated, fact-based, and objective, will be rationalized away. These individuals cannot accept that they may be wrong.
laurentl··on Start with a Website, Not a Mobile App
Which app are you using? There are quite a few on the Apple store.
laurentl··on Start with a Website, Not a Mobile App
I don’t use Instagram so can’t check the code, but I would guess they use something like

    <input type="file" accept="image/*" capture>
Which does what you’d expect on a mobile device (launch the camera) but behaves differently on desktops (opens a file upload dialog). They may have decided that this behavior would confuse users.
laurentl··on Exploiting the Math.expm1 typing bug in V8
> it might be an almost archetypical example of the "all bugs are security vulnerabilities" hypothesis

This article will be my new go-to example when someone handwaves a bug away with a complacent “it’ll never happen” and “it’s not that big of a deal”. Yes it will, and yes it is.

laurentl··on Algorithms, by Jeff Erickson
For what it’s worth, I find that the answers to the problems in tAoCP are almost always a good balance between explaining the steps to get to the solution and leaving enough out that the reader still has to work to understand how the proof works. But that’s not applicable to all types of exercices.

Your proposed solution (include solutions for a few problems) is definitely a good approach: enough to help the self-learners along while forcing the students to work—I assume you’ll be assigning the unsolved problems in class :)

laurentl··on Algorithms, by Jeff Erickson
A math prof of mine would label insufficient initialization in recursive proofs with i.i. (it also stood for a few other common mistakes, such as “incorrect integration” or whatever). And he would invariably add “i.i = -1”, which was the penalty for such mistakes (exams being graded out of 20). A deliciously nerdy joke, unless you’re on the receiving end.
laurentl··on Mickey Mouse and Batman will soon be public domain
I believe being deprived of internet access is considered “cruel and unusual punishment” in the SV area ;)

<insert follow-on joke about Comcast>

laurentl··on Applied Cryptography Engineering (2013)
We’re now almost in 2019–is Cryptography engineering still the standard (despite the gaps listed in the article) or is there a newer, better version of it?
laurentl··on The Curse of the Black Lotus (2015)
I’m partial to the Fulcrum + Lever combo. Played well, it’s powerful enough to move the world.

Tangentially related anecdote on the Power 9: a play tester claimed he had a card so powerful, he could win all his games with it. It was the Time Twister, which initially stated that “opponent loses next turn” (it meant, of course, that the other player had to skip the next turn).

https://en.m.wikipedia.org/wiki/Power_Nine

laurentl··on Ask HN: Books you plan to read in 2019?
Thanks for the pointer to Mary Poppendieck, I hadn’t heard of her. Which book of hers would you suggest I pick up first ?
laurentl··on The Curse of the Black Lotus (2015)
I’ve got a rare, first edition Pointy Stick in mint condition that I’m willing to sell at a very reasonable price ;)
laurentl··on Users report losing Bitcoin in clever hack of Electrum wallets
I didn’t know marketing roadmaps were considered realistic scheduling :D
laurentl··on Ask HN: Books you plan to read in 2019?
I’ve bought the Critical Chain by E. Goldratt two weeks ago and I’ve been enjoying the anticipation of reading it. The Goal was a real eye opener and I hope that the Critical Chain will bring me new insights on project management specifically (the Goal is a great introduction to lean methods but it is heavily geared towards manufacturing processes).
laurentl··on An experiment in controlling how much of Scrabble is luck
Your understanding of the Duplicate rules is correct. It removes any element of chance (all players are judged on how well they manage a given draw) but it also removes any element of strategy. As an aside, it also makes it a lot easier to organize large scale tournaments - you can organize a Duplicate game with any number of players.

I find it a lot less fun to play, but I know serious players who don’t understand why you would play Classic scrabble.

laurentl··on Ask HN: Transitioning from DevOps to co-founder/CTO/lead dev?
I’m in a somewhat similar situation.

Started my career 15 years ago as a dev, quickly moved to technical project management. Then I moved to infrastructure in a variety of roles, essentially around management (of project managers, architects, HW engineers, etc). After 10 years of that, I completely switched tracks 2 years ago and became the CTO of a startup in the insurance sector. I joined as the first employee and the first IT person.

Like you, I was worried about my lack of recent experience in development. I had to cram for the technical interview but it boiled down to architecture/dev best practices and talking about a small side project I’d done (to reassure them that I would be comfortable coding myself). After I got the job I spent a few weeks coding in earnest: nothing like the perspective of a new job to focus the mind!

When I started the job, I quickly found out that although there was some coding involved, a surprisingly big part of it was very similar to my previous jobs: security audit, contract management, hiring... My first hire was a lead dev to help me with the back-end and to do the front-end.

So, I managed a similar transition (although the circumstances are a bit different), it was easier than I expected, and I haven’t regretted it for a second. Hi for it! (If you want to chat, send me an email)

laurentl··on Ask HN: How to work with bad contractors?
I would suggest cutting your losses and change contractors or internalize the code. Take a look at the contract, there’s probably a reversibility clause to cover this contingency. From what you’re describing, it’s probably the best solution in the long term.

If you really want to make them improve (or if you absolutely have no other choice), I would suggest taking a look at the situational leadership model.

From the sound of it, that team is squarely in the lowest zone of autonomy. This means you have to be directive with them. Don’t try to argue or discuss, tell them what to do. Micro-manage them. Give them small tasks and check often that they’re doing what you’re telling them. Review every line of code they send your way and reject anything that doesn’t pass muster.

If this sounds like a lot of work, it is. You’re basically taking over the role of tech lead and scrum master. It may not go down well with them and it may be unenforceable. But eventually you’ll get them to a point where you can discuss with them and convince them of what should be done rather than outright telling them. This is step 2 in the STL. Your ultimate goal is to take them to step 4 (full autonomy)... Hence my first suggestion: ditch them.

laurentl··on Ask HN: How do you create pockets of focus time?
Noise-canceling headphones + focus at will (www.focusatwill.com) to get into a productive zone and stay in it.
laurentl··on Glitter bomb tricks parcel thieves
I was thinking of what you can and cannot mail; specifically, that what he did could be construed as a letter bomb. Granted, it’s much much less dangerous, but the mechanism is the same. At a time when public figures get pipe bombs in the mail, rigging a package to “explode” once opened... I think there’s enough material for a humorless DA (or one with an agenda) to make hay, or at least for a uneasy explanation with some serious people. Obviously IANAL, and I don’t know if the federal laws on mail extend to packages left on the porch as the other poster pointed out, but still.

Source: what my teenage self thought was a hilarious prank got to the attention of the FBI. Although the matter was cleared up in the end, being interviewed by an FBI agent at 17 taught me not to count on the understanding and second degree of law officers.

laurentl··on Reasons Python Sucks
As a former certified Java programmer, moving to Python was a breath of fresh air. More concise syntax, no more braces all over the place, much less boilerplate (think getter, setter, public static void main(String[] args)) and not everything has to be an object. First-class functions, yay ! (I haven’t used Java seriously since 1.6 so I don’t know how much the language has evolved since then). The only reason I’ve had to go back to Java is specific libraries, and speed.

Python’s philosophy of convention rather than constraint is a nice chance from Java’s corseted mindset. But I’ve never had to use Python in a large development team, so I don’t know how well it holds up with a large group of devs.

As an aside, if you have fun with comprehensions, itertools and lambdas, I urge you to take a look at functional programming!

laurentl··on Glitter bomb tricks parcel thieves
Yeah.

“Hello officer, I made a booby trapped package and I...” gets tased “argh no you don’t under- “ is handed off to the secret service

I doubt the cops would look kindly on what is at best (funny) vigilante justice, at worse a violation of some federal law.

laurentl··on Ask HN: What Are the Job Prospects for a Developer with Only Proprietary Exp?
Speaking as a potential hirer (in the sense that I manage a technical team and regularly look at both junior and senior dev resumes):

- if your CV only lists 1 language/framework and it’s one I’ve never heard of, I’m not likely to keep reading.

- if you have 8 years of experience in the same company, I expect to see concrete achievements and ideally that you moved up the ladder in 8 years (more responsibilities, changing teams, a new job title for instance)

- not something I insist on, especially for a senior profile, but which can have a positive impact on a candidature: is there a portfolio website or a GitHub profile on the CV/cover letter? This allows me to see what language(s) the candidate has used in the past, take a look at their coding style, check the commit history (e.g. a repo with 1 huge “upload project” commit and no other activity smacks of someone who’s never used git before)

Given the shortage of devs, you’ll find a new position. How fast you find it, and how senior it is, is up to you. I encourage you to pimp your 8 years of experience to show portable skills (problem solving, autonomy, system design...) rather than proprietary tech knowledge, and a capacity to grow and learn (i.e. show your progression during these 8 years).

Then, assuming this isn’t already the case, pick up a popular language and work on a few projects in your spare time. This will enable you to brush up on your CS skills and programming paradigms, especially if the language you use at work is primitive: do some OOP, try your hand at FP, asynchronous or parallel computing, etc. Make sure the code is clean and commented, and throw in some unit tests. Commit to github like a sane person, and add the relevant language and frameworks on your CV. Bam! Suddenly you’re a developer with 8 years of experience who happens to know a weird language.

Of course this is only good enough to get through the automated CV analysis and the first interview. But in that interview you have the opportunity to explain what you accomplished in 8 years (maybe pointing out how solving tough business problems with an antiquated language is even more impressive than with the bells & whistles language du jour). You can point out that you want more and that’s why you work on side projects with a modern language (which incidentally is part of the company’s stack). And since you’ve been coding on your free time you’re hopefully up to date on basic data structures and algorithms and you’ll pass the whiteboard tests brilliantly.

laurentl··on Ask HN: How do I become a better team lead for a small, junior dev team?
This.

Empathy (i.e. the ability to understand what’s going on in someone’s head) is a key leadership trait in my opinion. The good news is that you can develop this skill.

First and foremost, listen. Use 1:1 meetings to talk about how the person is doing, not what they’re doing. Ask open-ended questions. One of the most underused and most powerful questions in the workplace: “how does that make you feel?”

Pay attention to weak signals, like someone changing their daily routine, being snappier than usual in team meetings, etc. Learn how the people in your team usually behave, what they like and don’t like.

Then, put yourself in their shoes. This is easier than you think: if you’re used to writing code, chances are you can emulate pretty complex systems in your head (like the behavior of the piece of code you’re working on). A normal human being is a complex system that you can learn to emulate, by which I mean that once you know how someone usually behaves, what motivates them and so forth, and you know their current situation (see step 1: “listen”), then you can take a pretty good guess at their internal state.

Once you know how your team works, both as individuals and as a team, your job is simply to keep them in a state of maximal happiness. And they will move mountains.

laurentl··on An experiment in controlling how much of Scrabble is luck
Surprised that no one mentioned Duplicate Scrabble, which is the most common tournament form in France. Ar each round, everyone gets the same draw and submits their best word. The overall best word is kept and added to the board.

This completely eliminates the luck factor, as everyone gets the same draw at each round. Missing an “easy” bingo in one round is a surefire way to lose. Obviously this means that to play at a competitive level, you need to memorize all possible words up to 9 letters or so. Fun fact: the current top player of French scrabble is from New Zealand and doesn’t speak a word of French. He just memorized all ~200k valid words in the OSD.

Needless to say, this version is vastly less fun to play casually.

laurentl··on I was a senior VP of tech at Starwood: here’s my take on the guest data breach
2 factors I think:

* the CTO title is the new project manager. It seems as soon as someone is in a position to choose whether to use Postgre or MySql they break out the CTO moniker. You can now be the CTO of just about any organizational unit, no matter how small.

* CTO != CISO (quite the contrary usually). Being tech-savy doesn't mean you grok security, especially its operational, wetware/social aspects. Obligatory xkcd: https://www.xkcd.com/538/

I would tend to go with the second explanation in this case. When I read the quote "It is almost impossible to imagine a scenario in which an external hacker is able to gain access to the primary encryption keys", I thought it pointed to a lack of imagination (and probably a bit of Dunning-Kruger syndrome) rather than security expertise.

laurentl··on I was a senior VP of tech at Starwood: here’s my take on the guest data breach
More like someone with "CTO of Starwood" on his resume at a time when "Starwood IT hacked" is the main headline.

I tend to agree with his conclusion: without further information, it's useless to speculate about how it happened. But his effort to spin an alternative narrative is, at best, self-serving.

laurentl··on Kelly Slater’s Shock Wave
Great article, even though I don't really care about surfing.

One thing that struck me is how he describes the physical attraction of the wave, the need for it. After spending every surf session in your entire life waiting for a good wave, yearning for it, scrutinizing each swell to see if this is finally the right one, to have this perfect wave available whenever you want... It must be like handing the keys of the prescription drugs cabinet to an opioid addict.

I wonder if a good parallel for the wave machine is the advent of climbing walls in the 80s. I would say, 40 years on, that indoor climbing walls have indubitably been a Good Thing for climbing in general. Yet I'm pretty sure they sparked the same debates about the nature of the sport, its democratization and professionalization, etc. when they made their first appearance.

← PreviousPage 5 of 10Next →