News for hackers. Stuff that matters.

mdup

Re:Git for US Legislation on Wednesday October 28, 2026 @12:33PM (#50276393)
Shameless plug: I built this for French law

https://juriblio.fr/pourquoi-juriblio

It shows git-like diffs plus an AI summary of what changed. There is no author attribution though - I'm not sure there is a business use case for it, lawyers don't care about who wrote a specific law.

Re:Small Programs and Languages on Sunday October 25, 2026 @05:48AM (#50229814)
I recommend parent's ioccc gem https://www.ioccc.org/2012/tromp/
Re:Apple Music 404 Not Found on Friday October 23, 2026 @05:22PM (#50215545)
It needs to be at least 320kbps or the silence will contain audible distortion.
Re:Ask HN: Who is hiring? (September 2025) on Monday September 01, 2025 @11:04AM (#45093237)
Proton | AI Engineer | Geneva, Paris, London, Barcelona, Prague, Taipei, EU Remote | Full time

We recently launched Lumo, a privacy-friendly ChatGPT alternative, by the makers of Proton Mail & Proton VPN.

We are looking for curious and talented people to help us grow Lumo with any of these skills: ML engineering, LLM inference, GPU infra & devops, Frontend (Typescript, React), Backend (Rust, PHP). Looking for senior-level or fast-growing juniors.

I'm one of Lumo's core devs, write to me directly at marc dot dupont, domain proton ch, with "HN" in the subject.

https://lumo.proton.me

Re:Smuggling arbitrary data through an emoji on Thursday February 13, 2025 @05:03AM (#43034450)
I worked in phishing detection. This was a common pattern used by attackers, although .exe are blocked automatically most of the time, .html is the new malicious extension (often hosting an obfuscated window.location redirect to a fake login page).

RTL abuse like cute-cat-lmth.png was relatively common, but also trivial to detect. We would immediately flag such an email as phishing.

Re:What Is an Eigenvalue? on Tuesday November 08, 2022 @11:39AM (#33520983)
It means the eigenvalues will only give you information about the system relatively to the center of that system.

Before describing any system, it's up to you (your "convention") to assert where is the zero-point of your world and in which directions the axes (x,y,z) are pointing.

For instance, in the real world you can choose your 3D coordinate system such that your mirror, as a physical system, keeps the origin untouched (0,0,0) -> (0,0,0). If you decide the origin is a point on the mirror, the equations will be linear: mirror(X) = AX. However if you setup the origin some point far from the mirror, like the center of your eyes, the equations are no longer linear, but affine: mirror(X) = AX+B. Looking at the values of the "AX" part of the system would reveal you the mirroring plane, but now shifted by an offset of "+B" -- the distance between the mirror and your eyes -- because your choice of coordinates was not leaving the origin intact.

Re:Mozilla Welcomes the Rust Foundation on Wednesday February 10, 2021 @09:20AM (#26089443)
It's entirely a myth that unsafe is needed to get speed boosts in Rust. Usually, the standard library, as well as other crates, offer optimal performance without resorting to unsafe code.

(If we go pedantic, Vec and other primitives do rely on unsafe, but the point is as an application developer you don't have to write unsafe code yourself.)

Re:Non-English-based programming languages on Sunday June 30, 2019 @04:49PM (#20320411)
Probably it was the false friend "hasard" which, in French, means: chance, randomness.
In your example, your month of July would be paid. You're out of work the whole month yet your payslip is the same as any other month.
Re:Ask HN: Is there a “ground-up” explanation of PGP/GnuPG? on Wednesday November 30, 2016 @10:57AM (#13071724)
Not the OP, but I have found the following useful:

https://git-scm.com/book/en/v2/ scroll to Chapter 10 "Git Internals"

(Direct link: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Po... but it only shows you the first page among nine.)

Re:Rosetta catches dusty organics on Monday September 12, 2016 @07:58AM (#12478926)
Genuine question: How do we know the organic compounds seen by Rosetta do not come from Earth and were not brought by Rosetta itself?
Re:WaveNet: A Generative Model for Raw Audio on Friday September 09, 2016 @05:20AM (#12460607)
Nitpicking: surjective functions do not relate to unicity of ouptuts; you'd rather talk about non-injective functions. I agree with your point, though.

(surjective != non-injective, in the same way that non-increasing != decreasing)

Re:Ask HN: Describing skills and competencies in a resume? on Wednesday July 20, 2016 @11:35AM (#12129827)
Recently I've tried an approach where I send two documents when asked for a CV:

- a "classic" CV which describes education, skills, work experience, and "miscellaneous" projects (late night hacks mostly);

- a second document entitled "friendly CV" but which is actually a short pdf with slides. It is super casual and I explain my previous work with pictures of algorithms and technical stuff. I cut down all the noise and try to speak directly to the inner geek of my potential reader.

From my perspective, I'd say I had quite some success with it.

I think it doesn't matter if you do exactly that. The point is to wake up your reader if you're the 50th CV they're reading this afternoon.

Re:Show HN: Language Evolution Simulation on Monday July 18, 2016 @12:21PM (#12116022)
Nice demo! Feature request: I'd like to see the people talking, like display sentence of a random pair of agents, every 10 sec e.g. That way I would feel immersed into users discussions :)
Re:Ask HN: Who wants to be hired? (May 2016) on Tuesday May 03, 2016 @03:53AM (#11618721)
Location: New York City (desired). Paris, France (current)

Remote: No

Willing to relocate: Yes, to NYC.

Technologies: Machine Learning / Data Science. Python (sklearn), R, C++, Java, JavaScript, Go, Rust. Also got exposure to Haskell, Scala, Erlang, Clojure; several {,No}SQL DBs.

Résumé/CV: http://mdup.fr/cv-classic.pdf http://mdup.fr/cv-friendly.pdf

Email: marc#mdup,fr

More info: PhD in Machine Learning (time series analysis for gesture recognition). I have the profile of a good data scientist with excellent software engineering skills. I can bridge the gap between research scientists (good POCs but crappy engineering and slow perfs) and software engineers (write good code but struggle to grasp underlying math).

Re:Show HN: 3D Vector Graphics on Wednesday February 03, 2016 @03:35AM (#11025414)
One could argue that as a name, `go` is not optimal either, yet it seems the community has worked around it pretty well.
Re:Biohackers Creating Open-Source Insulin on Thursday November 19, 2015 @04:17AM (#10593634)
I remember reading in another HN thread about insulins (too lazy to search it right now) that plenty of prototype insulins have been developed, but most of them could cause nasty diseases, notably cancer. Hence only a low number of well-tested commercial insulins have been pushed to the market. Does someone knowledgeable have more info about those "good" vs. "bad" insulins?
Re:From Python to Go and Back Again on Friday October 16, 2015 @07:15PM (#10402593)
Not advocating anything, but could C++ have been a good choice? You'd get top performance, small memory footprint, opt-in static linking, at the price of a less "fun" language and verbosity. Regarding memory leaks, it's easy to write a leak-free C++ program these days with smart pointers. However, it doesn't come "batteries included" for net-related stuff, and ASIO can give a couple of headaches.
Re:The microservices cargo cult on Tuesday October 06, 2015 @08:49AM (#10338453)
How about Cap'n Proto? Their marketing is great, but I don't recall seeing many experiences with it, so I'm asking for feedbacks here.
Re:Free Lossless Image Format on Friday October 02, 2015 @01:53PM (#10320117)
So, is it eff-leef or fleef ?
Re:To Master Vim, Use It Like Language on Friday October 02, 2015 @03:21AM (#10317152)
1. For the mnemonic, "\v" turns on "very magic" where all possibly special characters will have their special meaning without prefixing them with "\". Now, "\V" is just the opposite of "very magic", which is "very not magic", i.e. disable all special characters.
Re:To Master Vim, Use It Like Language on Friday October 02, 2015 @03:13AM (#10317132)
I use them all the time (I've switched them on by default in .vimrc) while editing C++ code. Extremely, extremely helpful to get the structure of a file at a glance. For example, if a 400-line file has about 10 functions in it, you can fold all "zM" and instantly you see only the function signatures, while the bodies are folded.

How to enable it: use "set foldmethod=syntax" (with C++) or "set foldmethod=indent" (with JS, where "syntax" doesn't work for me). Also, I use "set foldminlines=0" so that 1-line paragraphs get closed as well (it looks more consistent).

How to use it: close all folds "zM" (I remember it because the M is shaped like it's all folded on itself). Open all folds "zR". Open one fold "zo", close one fold "zc". Open one fold recursively "zO", close one fold recursively "zC".

By the way, I almost never use manual folds, so "zf" is almost useless to me.

Re:To Master Vim, Use It Like Language on Friday October 02, 2015 @03:06AM (#10317109)
By the way, in your specific example, "ct(" is not necessarily the most efficient, because most of the time a function name will be a nice alphanumeric string; hence you can use "ciw" which will work anywhere in the string, not only at the beginning.
Re:An annotation of the Rust standard library on Wednesday July 29, 2015 @11:40AM (#9969337)
If you're wondering where the content actually is, take a look at the commit, where comments are written alongside the code:

https://github.com/brson/annotated-std-rs/commit/e50c2b16455...

Older »