HN user

nicolasp

290 karma
Posts12
Comments45
View on HN

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

Firefox 91 5 years ago

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?

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

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.

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.

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.

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 :)

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.

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

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