HN user

ebonnafoux

60 karma

meet.hn/city/48.8534951,2.3483915/Paris

Socials: - github.com/etiennebonnafoux - linkedin.com/in/etienne-bonnafoux-207a5913a

---

Posts0
Comments31
View on HN
No posts found.
GTFOBins 3 months ago

In a previous employer, they block the chmod command. I took the habit to python -c "import os; os.chmod('my_file',744)".

Glad to see LLM re-discover this trick.

There is a small typos in The Ninety-Ninety Rule

The first 90% of the code accounts for the first 90% of development time; the remaining 10% accounts for the other 90%.

It should be 90% code - 10% time / 10% code - 90% time

Gemini 3 Deep Think 5 months ago

You can easily make a RLAIF loop.

- Take a list of n animals * m vehicule

- Ask a LLM to generate SVG for this n*m options

- Generate png from the svg

- Ask a Model with vision to grade the result

- Change your weight accordingly

No need to human to draw the dataset, no need of human to evaluate.

Anthropic is Down 6 months ago

It's wild that people check the box

I have searched existing issues and this hasn't been reported yet

when the first 50 issues are about 500 error.

Yes but in practice, if you compute K=X.wk, Q=X.wq and then K.tQ you make three matrice multiplication. Wouldn't be faster to compute W=wk.twq beforhand and then just X.W.tX which will be just two matrices multiplication ? Is there something I am missing ?

In the article

Contrast this with equivalent code that is full of logistics, where I’m using only basic Python language features and no special data wrangling package:

   n = len(values)
   # Calculate mean
   mean = sum(values) / n
   # Calculate standard deviation
   variance = sum((x - mean) \* 2 for x in values) / (n - 1)
   std_dev = math.sqrt(variance)
He doesn' t know about the statistics package in the standart library of Python (https://docs.python.org/3/library/statistics.html). Of course, if you do not know to use Python, you will have a lot of boilerplate.
Fifty Shades of OOP 8 months ago

Python can be somehow consider OOP since evrything inside it are Object, even function and module.

Claude Skills 9 months ago

For me the concept of MCP was to have a client/server relation. For skills everything will be local.

Does someone, with some experience on this subject, has an opinion on the best solver with binding in Python for a begginer? The OP use Z3 but also mentionned MiniZinc and I heard about Google OR-Tools.

The way people code with Python is by using its large ecosystem, few people only use the standart library. No one knows all the API, the more discoverability there is, the better.