HNHacker News
TopNewBestAskShowJobs

laurent_du

477 karma · joined September 8, 2023

submissionscomments
laurent_du··on A Philosophy of Software Design
If I ask my kids or my girlfriend to review my code, nothing will be obvious to them. Doesn't mean that my code is the problem. The idea that the reviewer is always right makes no sense.
laurent_du··on In search of the least viewed article on Wikipedia (2022)
Looking at the profile of your reviewer, it seems that they take pride in contributing to the deletion of several Wikipedia articles. It's possible that your article was just a collateral victim of this editor's penchant for deletion.
laurent_du··on Supercharged Custom Instructions for ChatGPT
I don't understand the point of asking ChatGPT to embed google search hyperlinks. If I wanted to use google, I wouldn't be talking to ChatGPT.
laurent_du··on The Twelve-Factor App (2011)
Nothing I hate more than a useless "helper" function that wraps a built-in feature of the language and gets buried in a "common lib" package that you need to inspect when you want to understand what is going on, instead of just relying on your knowledge of the language. Do we really need a function to map a dictionary and a list of keys to the corresponding values?
laurent_du··on GitHub Copilot loses an average of $20 per user per month
Quality is definitely way below GPT4.
laurent_du··on Decomposing language models into understandable components
So you wrote a toy script 20 years ago and somehow think you were doing just the same thing as OpenAI now? And you thought writing this down was a good flex?

Reminds me of the old dudes in the gym who come to you to tell you how they used to bench four plates when they were young. In their mind, they are badasses. In their mind only.

laurent_du··on FTX "insurance fund" calculated by multiplying trading volume by random number
If you order randomness by entropy, the uniform distribution is indeed, in some sense, "more random" than any other probability distribution with the same support.
laurent_du··on Using Awk and R to parse 25tb (2019)
Querying by rsid is clearly a bad idea. You want to partition by chromosome (and sample-id in this case) and sort by position. When looking for a given snp, the parquet reader will go through the metadata to only read the data page that contains the given position. Unless your pages are huge, read time will be super small (and cost-efficient since you don't fetch too much data). Since the data is static I would want to try storing all the sample data and metadata in arrays. (For non-static data you can't do that because you won't be able to edit the arrays later - you can only add new rows to the parquets.) I am not really sure I understand what the author is doing, sounds like he wanted to sort by position but he failed to do so and decided to bin instead? I agree that Awk is very useful in this kind of problems.
laurent_du··on Booking.com makes a fortune – so why is it leaving its bills to hotels unpaid?
After duckduckgo, this is the second time in a few days where I hear about some relatively big company using Perl for their backend.
laurent_du··on Extracting Hacker News book recommendations with the ChatGPT API
I have read a few chapters of TAOCP for fun but I have a PhD in Mathematics, and worked in Academia, so I am an outlier. I don't think Knuth's book are a difficult read - for me. But unlike you I don't make the mistake of believing everyone is as proficient as I am. I don't know a single person, among my friends and acquaintances working in SWE, that could read a page of TAOCP.
laurent_du··on Security weaknesses of Copilot generated code in GitHub
I wonder if it would be possible to rate the code used during the training phase. For example the code could go through various static analysis tools and the result would be assigned as metadata to the code being used to train the model. The final model would then know that a given pattern is flagged as problematic by some tool and could take this into account not just to suggest new snippets but also to suggest improvements of existing snippets. Though I suppose if it was that easy, they'd have done it already.
laurent_du··on Ask HN: What advice would you have given your younger 20-year-old self?
Go to the gym.
laurent_du··on Extracting Hacker News book recommendations with the ChatGPT API
I don't think Knuth's work is canon in our specific industry, be it web dev, system dev, or whatever it is people around here are doing. Knuth belongs to Academia, not industry.
laurent_du··on Show HN: Atlassian Design for Bootstrap v5
Could you explain how Jira gets in the way of doing productive work? I genuinely don't understand where is the issue.
laurent_du··on Show HN: Atlassian Design for Bootstrap v5
What's wrong with JIRA? It looks good and does its job well.
laurent_du··on Python 3.12 Preview: Static Typing Improvements
Before type hints we had doc strings. "This function takes arguments of the following type and returns a value of this other type. Trust me bro!". Type hints and the ecosystem around them are without any doubt a net progress.
laurent_du··on Mistral releases ‘unmoderated’ chatbot via torrent
Thanks for sharing, this is absolutely hilarious. Nothing beats a megacorp telling me how to good-think and good-behave.
laurent_du··on Bedbug crisis sparks political row in Paris as insect ‘scourge’ continues
My grandmother dealt with bedbugs in 1950s Paris. I always thought of them as a thing of the past that couldn't possibly resurface in the present day. Clearly, I was wrong. Given that this is France, the likely solution is to commission a task force to spend five years working on a white paper that ultimately concludes more taxes are needed.
laurent_du··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
This anecdote makes me respect RMS even more.
laurent_du··on A journey into the shaken baby syndrome/abusive head trauma controversy
I missed this part. Where does the author mention that other medical explanations (other than SBS) are exceedingly rare compared to the baby having indeed been shaken?
laurent_du··on A journey into the shaken baby syndrome/abusive head trauma controversy
Maternal milk is better than formula in every possible way and there is a perfect scientific consensus around this. Formula is the least worst substitute to maternal milk but going around and screaming that formula is perfectly fine, as if it was as good (or even better!) than maternal milk is denying some very well-established piece of science for likely ideological reasons.
laurent_du··on Show HN: Odin – the integration of LLMs with Obsidian note taking
I use logseq daily to keep track of what I do in my job as a SWE. Having this structured archive is invaluable. I don't understand why you think that note-taking is only justified if you want to create some kind of product - that's a very weird take in my opinion.
laurent_du··on SillycoValley: Write Code, Build Your Startup
Couldn't help checking it out.
laurent_du··on Show HN: I built a dataset of 25k+ Gumroad products to spot market opportunities
Did you try to cross-validate your approach?
← PreviousPage 6 of 6