HNHacker News
TopNewBestAskShowJobs

nicolasp

290 karma · joined March 8, 2011

submissionscomments
nicolasp··on Python 3.15 will include a new sampling profiler
Key features include:

* Zero-overhead profiling: Attach to any running Python process without affecting its performance

* No code modification required: Profile existing applications without restart

* Real-time statistics: Monitor sampling quality during data collection

* Multiple output formats: Generate both detailed statistics and flamegraph data

* Thread-aware profiling: Option to profile all threads or just the main thread

nicolasp··on uv downloads overtake Poetry for Wagtail users
Wait times are in the order of tens of milliseconds instead of seconds. That makes a massive difference in how nice uv is to use vs pip.
nicolasp··on FFmpeg 7.0
You can put these options in a config file and they will become the default: https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#configur...
nicolasp··on Firefox 91
The "Restore previous session" checkbox is the first setting in the preferences for me (wording may differ a little as I'm not on the English version though). Doesn't that work for you?
nicolasp··on Glenn Greenwald: ‘Journalists Are Authoritarians’
I mostly agree with you. I just want to point out that the reason Trump was held to a different standard than previous presidents is simply that he lied so much from the start. Journalists from "mainstream media" rightly perceived him as a threat because when called out on his lies he overtly attacked them and encouraged violence against them (arguably resulting in casualties in the Capital Gazette shooting).
nicolasp··on Glenn Greenwald: ‘Journalists Are Authoritarians’
I'm not convinced that's true. He didn't refer to any specific institutions or subsets of journalists in the quotes I included. Even assuming that he meant to, the examples he cites are CNN, NBC, NYT and WaPo. He also accused editors at The Intercept of censoring him over Hunter Biden stories. That's already a very large group of people to generalize.

He clearly views himself and a handful of others as outsiders, in a crusade against a journalistic profession that he views has wholly corrupted by corporate interests.

nicolasp··on Glenn Greenwald: ‘Journalists Are Authoritarians’
I'm very ambivalent about Greenwald. One the one hand he produced essential work with the Snowden revelations and his exposure of corruption in Brazil. He also makes good points about the moral evil of the Bush/Cheney administrations and Obama's continuation of the war on terror.

But on the other hand it feels like he spends a lot of time attacking strawmen just for the sake of being contrarian. Saying that journalists are authoritarians who want to protect the secrets of the powerful [1] and control access to platforms [2] has a tiny grain of truth in it but is mainly a massive oversimplification that paints a group of thousands of professionals who have a myriad of varying incentives with an incredibly broad brush. He seems to be incapable of nuance in his critique of the journalistic profession, and that renders his message mostly inaudible to me because it feels like it's coming from some form of resentment rather than reasoned arguments.

[1] "Journalists view the dissemination of information about what powerful people are doing in the dark not as their principal function and purpose—which is what it ought to be if we had a healthy media—but as something to be denounced and condemned."

[2] "[Facebook and Google and Twitter, and Silicon Valley in general] began to censor because journalists demanded they do so, in part because journalists are authoritarians who believe that the modes of information [should be] regulated by them and by others.

nicolasp··on Rockbox – Free music player firmware
As a student I learned C and how OSS projects work through hacking Rockbox to add features to my iRiver H320. Fond memories and a very valuable learning experience.
nicolasp··on Ask HN: Best alternative to Gmail?
The standard plan is $5 per user per month, so for 5 users that's $25/mo.
nicolasp··on iTerm2 Version 3 Now in Beta
> Is there a way to make a previously hidden iTerm window show without also bringing any other iTerm windows to the front?

HyperDock[1] Lets you do that.

[1] https://bahoom.com/hyperdock/

nicolasp··on Renault Shares Drop on Apparent Fraud Probe into Emissions
Even so, it should still be their responsibility. They're the ones selling the finished product to the consumer.
nicolasp··on French Uber protests block airports
What? You can definitely hail a taxi in France. It can sometimes be very hard to find one that is free, but there's no law that says you have to either call for them or go to a taxi stop.
nicolasp··on French Uber protests block airports
When someone comes to you to offer you a "taxi" service in France, it's pretty certainly a scam (especially with a price like that). A licensed taxi has a sign on the roof, doesn't randomly offer you its service, and its price is regulated. It never would have cost you even 60€ for 6 km. It would have been roughly the same as with the Uber, maybe a bit cheaper.

The question of whether you would prefer a licensed taxi or an Uber is a different one which I won't get into for now :)

nicolasp··on Multiprocess Firefox
How do you find out the number of open tabs?
nicolasp··on Hottest tech startups in France
Interestingly the search on HN is powered by algolia :)
nicolasp··on Programming competitions correlate negatively with being good on the job
They're talking about the algorithmic competitions like ACM ICPC or TopCoder. Google have their own (Google Code Jam), which they use as a recruiting tool.
nicolasp··on French civil code now on GitHub
Gay marriage (or "marriage for everyone") is a recent, substantial change to a law that is familiar to many French people. I thought it was a great example despite its somewhat controversial nature.
nicolasp··on The C++ bashing season is back (2009)
You should give QtCreator [1] a try. It's made by the Qt people for Qt development, but even for non-Qt stuff it's a pretty good IDE.

[1] http://qt-project.org/wiki/Category:Tools::QtCreator

nicolasp··on In Search for Killer, DNA Sweep Exposes Intimate Family Secrets in Italy
There is a similar case in France (albeit at a much smaller scale), where DNA tests were run on all male pupils and staff from a school in an effort to find the perpetrator of a rape. So far they haven't found a suspect.

http://www.theguardian.com/world/2014/apr/13/french-school-d...

http://www.theguardian.com/world/2014/may/22/french-school-r...

nicolasp··on Poll: Where do you host your production environments?
One problem with Heroku's European region is that it's not Safe Harbor compliant. This means it's not possible to use them and still comply with the data protection laws in some (most?) European countries.

When they announced the European region a year ago they said "Safe Harbor Compliance is Coming Soon" [1], but there has been no news about it since (as far as I know, at least).

[1] https://blog.heroku.com/archives/2013/4/24/europe-region

nicolasp··on Firefox and Flux: A New, Beautiful Browser is Coming
You should check out Tree Style Tab [1]. I always have a lot of tabs open and I can't live without it. It lets you choose where to put the tab bar, among other settings.

[1] https://addons.mozilla.org/firefox/addon/tree-style-tab/

nicolasp··on Detecting duplicate images with Python
A comment in the article mentions libpuzzle[1], which looks interesting. A Python binding also exists: PyPuzzle[2].

[1] http://www.pureftpd.org/project/libpuzzle

[2] https://github.com/ArchangelSDY/PyPuzzle

nicolasp··on Silicon Valley billionaires believe in the free market, as long as they benefit
The market being regulated doesn't necessarily prevent collusion from happening, but makes it illegal when it does happen.
nicolasp··on Find maintained forks for your favorites GitHub Repos
Thanks, this is a useful complement to github's network graph. The ability to sort repos by last update would make it even nicer IMO.
nicolasp··on Why Do So Many Incompetent Men Become Leaders?
The Peter principle actually states that in a meritocratic organization people will rise as long as they're competent, then stagnate once they reach the limit of their competence.

Edit: The one you're thinking of is rather the Dilbert principle [http://en.wikipedia.org/wiki/Dilbert_principle].

nicolasp··on The Best Hope for France’s Young? Get Out
I know I'm rather late but I just wanted to point out that this number is likely an exaggeration. See this: http://fistfulofeuros.net/afoe/more-like-colmar-on-thames/
nicolasp··on Battery Swap [video]
Better Place actually filed for bankruptcy about a month ago: http://www.theatlantic.com/technology/archive/2013/05/anothe...
nicolasp··on Fibonacci series and Dynamic programming
The Fibonnacci sequence is (IMO) one of the easiest to understand examples of dynamic programming, so it makes for a good introduction to the concept. Furthermore, the dynamic programming implementation is better if you're going to call it multiple times (depending on the context of course -- if you want the first n number the linear version can be adapted to be even better).
nicolasp··on Requests, Python HTTP for Humans, reached v1.0
Is the verbose mode still around? Not having any configuration is nice, but what replaces this?

   session.config['verbose'] = sys.stderr
I couldn't find anything about it in the API docs.
nicolasp··on Always “hover” before you click? Wrong.
There's a firefox addon that fixes it: https://addons.mozilla.org/fr/firefox/addon/google-search-li...
Page 1 of 2Next →