News for hackers. Stuff that matters.

nicolasp

Re:Python 3.15 will include a new sampling profiler on Tuesday October 14, 2025 @02:23PM (#45583144)
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

Re:uv downloads overtake Poetry for Wagtail users on Monday March 17, 2025 @06:00AM (#43386735)
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.
Re:FFmpeg 7.0 Released on Friday April 05, 2024 @03:17PM (#39946020)
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...
Re:Firefox 91 on Tuesday August 10, 2021 @11:26AM (#28129999)
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?
Re:Glenn Greenwald: ‘Journalists Are Authoritarians’ on Saturday January 23, 2021 @01:17PM (#25884725)
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).
Re:Glenn Greenwald: ‘Journalists Are Authoritarians’ on Saturday January 23, 2021 @12:56PM (#25884533)
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.

Re:Glenn Greenwald: ‘Journalists Are Authoritarians’ on Saturday January 23, 2021 @12:13PM (#25884074)
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.

Re:Rockbox – Free music player firmware on Monday October 07, 2019 @11:37AM (#21182118)
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.
Re:Ask HN: Best alternative to Gmail? on Monday September 24, 2018 @05:28AM (#18056177)
The standard plan is $5 per user per month, so for 5 users that's $25/mo.
Re:iTerm2 Version 3 Now in Beta on Friday February 19, 2016 @03:11AM (#11132302)
> 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/

Re:Renault Shares Drop on Apparent Fraud Probe into Emissions on Thursday January 14, 2016 @10:39AM (#10902001)
Even so, it should still be their responsibility. They're the ones selling the finished product to the consumer.
Re:French Uber protests block airports on Thursday June 25, 2015 @11:06AM (#9778404)
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.
Re:French Uber protests block airports on Thursday June 25, 2015 @09:19AM (#9777623)
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 :)

Re:Multiprocess Firefox on Sunday May 17, 2015 @06:19AM (#9559446)
How do you find out the number of open tabs?
Re:Hottest tech startups in France on Tuesday April 14, 2015 @08:01AM (#9373507)
Interestingly the search on HN is powered by algolia :)
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.
Re:French civil code now on GitHub on Tuesday March 31, 2015 @05:08AM (#9295088)
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.
Re:The C++ bashing season is back (2009) on Tuesday February 10, 2015 @02:13PM (#9029221)
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

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...

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

Re:Firefox and Flux: A New, Beautiful Browser is Coming on Tuesday April 29, 2014 @05:01AM (#7665800)
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/

Re:Detecting duplicate images with Python on Thursday April 03, 2014 @08:16AM (#7522270)
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

The market being regulated doesn't necessarily prevent collusion from happening, but makes it illegal when it does happen.
Re:Find maintained forks for your favorites GitHub Repos on Friday November 15, 2013 @09:21AM (#6739533)
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.
Re:Why Do So Many Incompetent Men Become Leaders? on Friday August 23, 2013 @12:27PM (#6264567)
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].

Re:The Best Hope for France’s Young? Get Out on Sunday June 30, 2013 @12:20PM (#5966245)
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/

Older »