HNHacker News
TopNewBestAskShowJobs

sametmax

16,803 karma · joined May 21, 2012

French blogger about Python and porn, which strangely go well together (http://sametmax.com [NSFW] [FR])

Phone + not being an english native speaker can result in serious comment injury.

submissionscomments
sametmax··on We've Just Had the Best Decade in Human History
It's not a matter of morality, politic leaning or envy. We collectively agree, as a human specy, that fairness, equality and democracy are quality we want to cultivate.

A high difference between rich and poor is a sign of power concentrating, which is the opposite of what you want for democracy. It also means resources are getting less and less evenly distributed. If you aim for more fairness and equality, you need the reversed trend. Eventually, it means exhibit symptoms of being optimized for economic efficiency and a certain part of the population, while we know monoculture is not in favor of the specie on the long run.

sametmax··on We've Just Had the Best Decade in Human History
Thanks. French here, I need this.
sametmax··on We've Just Had the Best Decade in Human History
I like positivism. And I think given what we see in the news all the time it's important to promote good things.

But stating "best decade in human" history is really tongue in cheek. You could has well hand pick other indicators and state "end of the world signs were clear starting from 2010":

- The biggest economical power in the world, China, is now turning into 1984

- 60 % of the insect species considered extinct, and because of us

- Micro plastics everywhere

- USA general opioid addiction

- For the first time literacy, IQ and lifespan decrease in some occidental countries

- Obesity and diabetes epidemics

- Highest difference between rich and poor in centuries, while the former never paid such low taxes.

- Mass surveillance and black torture sites are now considered standard practice

- Extremism rising

- Mega corporations now have more economical power than some small countries

- Ads, ads everywhere. Comments are ads. Articles are ads. The entire internet has been sold to PR companies.

- Huge revealed scandals (panama papers, PRISM, Epstein, snowden, equifax...) ended up with no consequences for the criminals, screaming to the world that the powerful can actually do whatever they want

- Health care and justice systems in rich countries are saturated

- Jails are businesses, filled mostly with males from a few minorities.

- The population is violently divided on major political issues: Trump in the US, Brexit in the UK, Gilets Jaunes in France, Hong Kong in China...

- Privacy is at a all time low with the rise of IoT and smart speakers/cameras to complement the already omnipresent internet trackers and ubiquitous phones

- Star Wars 9

sametmax··on US births decline for fourth year in a row, CDC says
The problem here seems more unwanted pregnancies than with teenagers having sex.

I se how less sex is an easy solution to the problem, but it is also the wrong one. Your teenage years are when you have the more energy and hormones, you are basically built to have sex. Not to mention it's healthy for the mind and body.

It would be like not allowing teens ride bikes because of possible crash with cars since stats show teens are more likely to have accidents than adults.

Better find a way to limit the accidents themself: you get healthy kids, having fun, and they grow into better adults.

sametmax··on The Web Began Dying in 2014 (2017)
It worked for Microsoft.

They started as liked hackers.

Then they went full throttle with monopolistic practices, corruption, patent trolling, litterally and publically insulting the competition...

And now, they just use a tiny fraction of the huge amount of money they made during that time to wash their image: better PR, involved in open source, etc.

I'm not worried for Google. People will forgive and forget everything like they do with most politicians.

They just have to keep accumulating benefits, and then hire poeple to "make the brand great again". Works everytime.

sametmax··on Google Begins Testing Extension Manifest V3 in Chrome Canary
They do that because it works.

I remember clearly an interview of a very famous IT billionaire going this way:

- What's the most annoying myth about you? - A myth migh be that I'm the most generous philantropist of all time. [...But] I havent' sacrified my time or economic well being the same way lots of unamed, amazing people do. So they're the worlds best philantropists.

This is the least subtle humble-brag of all time. "People says I'm so incredibly amazing. But they are wrong. There are out there more amazing people." is gotta be next to the job interview answer "my biggest weakness is that I work too much" in the BS book.

But the reactions to the interview are still, to this day, "this person is so humble", "he is such a good man", etc.

sametmax··on Sunsetting Python 2
+1 to that. Add on top of it that by design, a lot of Python coders are not professional programmers, and you get yourself a better model of why migrating was so long. People coded an untested unstructured project that worked on their machine. It was enough to get the job done, and was a big reason they choose this language in the first place. But migrating that is not fun. Plus they didn't understand their own system, so touching it on such large scale seemed overwhelming, and hence the "it's too hard".
sametmax··on Sunsetting Python 2
> Everyone suffered. Everyone had to deal with Python2 versus Python3 bullshit. It's not just about migrating some codebase.

Updating software version is part of the job. Like creating tests, writing documentation, training newbies and dealing with customers. It's not hard just because we don't like to do it. Porting to Python 3 was not hard for most people. They just really, really didn't want to do it.

I get it. I didn't want to add that on my plate too. Like I didn't want to migrate from my Centos 7, I didn't want to move from mysql to postgres and I didn't want to learn the entire setup of Webpack. 3 times. But "suffering" is a big word that has no place for the vast majority of projects.

sametmax··on Sunsetting Python 2
The science stack is also the one that starting migrating the earliest. Hell, numpy started supporting Python 3 eight years ago, while five years ago people were still complaining so much they got the EOL delayed. Not saying there are not some specific things that were late or never happened, but again, they are about a minority of projects. The thing is this minority is making all the noise.

Given the reach and popularity of Python, of course you will always find plenty of testimonies saying they suffered. Again, it's important to remember you can't make everybody happy, especially if your job is important. If porting is easy for 90% of projects, you did a great work, period. 10% of millions of users having it hard is still going to raise a lot of voices against you by the sheer power of numbers, but you did ok.

There is also dishonesty. Most people reporting this problem or that problem didn't actually encounter it. They are reporting somebody else experience they heard about because they wanted to make a point. Or vaguely tried something and ran away after they saw 10 minutes of fiddling didn't solve it.

In 10 years going from company to company, I met only 2 projects that were hard to port, but much, much more complainers. When I looked at what was really going on, the fact was just that they were afraid to port, and so just repeated all the stuff other people told them would go wrong. Or they tried running a few scripts for 5 minutes on Python 3 and gave up seeing too many error messages.

I know there are honest situations in the lot. But again, the most honest people are not making noise, because they just ported their code and noticed it wasn't the hardship they've been told.

sametmax··on Sunsetting Python 2
By experience, people with large Python projects often overblown the difficulty of porting in their head. Unless you have a very rare irreplaceable dependency or some terrible C extension, porting is easy.

It's tedious yes. Boring even. But most projects get away with 2 weeks of investment. And yes, it pays back. Python 3 is a vastly superior language when it's about introducing less bugs or debugging existing ones. It's just not stuff what had be sold to the public. People want to hear about better perf or fancy features, not better error messages or banned logical errors.

The hardest code base I saw ported was the Twisted project. It's a good counter example: it was long, hard, and required very gifted people (thanks Hawkowl !).

But most projects are not like that. They are full of dumb operational logic that can be ported 80% by 2to3, and a bit of manual fix.

The fact is, people love to complain, so you will hear massively people with that particular example from the movie industry, or this guy who coded this Fortran extension that was in such a tough situation. Well guess what, that's not what most migrations are about.

Most migrations are Django/flask websites, math teachers exercises, physicists scripts, sysadmin tools, etc. Straightforward stuff. I should know, I've been moving from industry to industry for 10 years, all my clients are different, but most of them end up with similar stuff in their repo because Pareto is a thing.

Nonetheless, the screams from the first ones scared the later.

sametmax··on Sunsetting Python 2
Ordered dicts and f-strings are also very sweet!
sametmax··on Sunsetting Python 2
Windows 10 now offer you to install Python 3 if you do this.
sametmax··on Sunsetting Python 2
> I'm still surprised that it's taken this long to finally close support

That's because the Python community is too nice.

When Ruby or node broke compat, they just said "move or die". People moved.

When Python broke compat, they gave 7 years. People screamed, cried, complained, sweared it was impossible for them, that life was hard and the PSF was unfair.

They got an extension of 5 more years.

People still complained !

Hell, famous authors resented python 3 for years, refusing publicly to update their book.

On the other hand, the PSF had a very small budget, only few tiny donations and contributions by people or big companies that were saying they couldn't migrate that their lines of code. The same code that were making them a living, from a 25 years old amazing tech given to them for free.

My take on this is that if you are doing an open source project with a lot of volunteer work, don't be too nice. People have a tendency to abuse it. Save yourself trouble, and balance respect with users and convenience for you.

sametmax··on Malicious attack on Wikipedia – what we know and what we’re doing
I don't understand the goal though. What to gain ? Training for another big target ?
sametmax··on What’s it like to live on less than $2 a day?
Compared to where ? $2 isn't even worth the same, depending of the place you are in the US.
sametmax··on Intel to Launch Core I9-9900KS Next Month: 5 GHz on All Cores
Intel ME is not a conspiracy. It's a feature.
sametmax··on Did Setting a Timeline Doom the Fight Against Global Warming?
Like most humans. Hell, we comment here using devices made by slaves on the other side of the world. We could choose not to. We could make our life harder so that we didn't sponsor slavery. We don't. We are all very selfish.
sametmax··on Intel to Launch Core I9-9900KS Next Month: 5 GHz on All Cores
Great. Does it still come with an integrated hardware backdoor you cannot disable ?
sametmax··on How do people learn to cook a poisonous plant safely?
Portuguese still eat them a lot, but they are marinated in a saline solution, which I assume solves this problem. It's quite tasty too.
sametmax··on How do people learn to cook a poisonous plant safely?
Yes, but remember it's still easy to pull an "into the wild" ending.

One day I was with David Manise, a survivalist teacher. He pulled out a root, and made us tasted it. Young wild carrots. Pretty funny how small it is compared to our domesticated version, we really did a number on the specie by breeding them.

Then 10 meters away, he harvested another one. Looked the same. Only it was young hemlock. It's what Seneca used for killing himself.

The lesson here, is that eating wild plants is always risky, no matter what protocol or book you use.

I still love the idea, romantically, of going in the wood and finding my food with the help of some kind of Junior Woodchucks' Guidebook.

sametmax··on How do people learn to cook a poisonous plant safely?
No idea. Many plants will still kill you even with this protocol. Hence point number 1.
sametmax··on How do people learn to cook a poisonous plant safely?
Some survival teachers will recommand this:

1 - do not do it if you can avoid it

2 - if you really must, then try the folliwing:

* break the plant, put a tiny amount of it on your armpit. If it's not reacting (itching, becoming red, etc) after 10 minutes, continue.

* break the plant, put a tiny amount of it on your lips. If it's not reacting, after 10 minutes, continue.

* break the plant, put a tiny amount of it on your tongue. If it's not reacting after ten minutes, if the taste is not off putting for any reason, and if you don't get any sensation/intuition (for a better word) that something is wrong, continue.

* masticate a tiny amount. Same.

* swallow a tiny amount. Wait for 2 hours. Observe obvious symptoms, but also digestion. It should be easy to process at this amount.

If all that pass (yeah, it's very long), remember this doesn't ensure the plant is perfectly safe, just lowers the risks.

sametmax··on Hong Kong leader to announce formal withdrawal of extradition bill
It works in our countries too. Try to pass a terrible bill. Get rejected. Try again. Rejected. Again. Again. Again. They only have to get it through once, since laws are very rarely removed, only added.
sametmax··on Spam in Your Calendar? Here’s What to Do
I have the opposite problem. So many times I buy a ticket and there is not a single "add to calendar" button.

I don't even ask for an auto-add. Just a button. But apparently this is one of the most forgotten feature ever.

Either devs don't think about it, or they tested it and it confused the non tech-saavy users so much they decided against it. I can imagine the later very well, though. My mother would click and the setup for a calendar she doesn't have would start, loosing her the process.

sametmax··on Seeking the Magic Mushroom (1957)
Again, i'm not recommanding anything. I'm just saying uping the dose a lot is on the table.
sametmax··on Seeking the Magic Mushroom (1957)
Yeah but he didn't mention it was dried.
sametmax··on Seeking the Magic Mushroom (1957)
Last time I got a vivid experience, i took almost 40 grams of fresh hawaian truffles.

Not advising you should take that much of course. Or even suggesting you take it again. Just saying if you feel like it, you can up the dose a quite a bit, put a blindfold in a cozy bed in a safe and quiet room, and the result may differ.

Also everybody is different. Some people just don't react much to psylocibin and there is nothing one can do :)

sametmax··on A guide to Oauth2
That's why my dream contact platform would feature client side encryption. We should have a bitwarden/lastpass/1password for contacts, that synchronizes it across my services and devices, with a solid API + permission scheme to share with other apps.

I currently have at least 6 places where my contacts are stored (should I say scattered). I have no way to search them all, tag them all, archive the ones I seldom need, have versioning of the various data, etc.

Besides, contacts are a very broad topic.

I have contacts for friend and families, I have girls I'm flirting with, I have clients, I have administration offices, hair cutters, providers, restaurants... For some of them I want a way to contact them, some of them the location, some I don't want to appear in the main listing, some I want to explicitly hide from people peeking at my phones, some I want to easily share or even synchronize with others.

And then there is the way things are labelled. When going networking, I will collect many contacts I want to isolate. I want to be able to search them from a "known from" fields, or a "industry" tag. I want to make groups to mass communicate: I organize parties and sport events, and the best way to get people on board is still direct texting, and optional calling: fb events don't cut it.

It's one of those simple topics that aren't solve.

There is still no simple way to just send files from any computer to another. Try telling your mum to send you this videos from their iPhone to your laptop now that the wifi is down. Or share 3Go of photos with this group of 20 persons you just met on a trip.

There is still no simple way to make check lists (not to do list, mind you, there are plenty of those).

Having a personal archive of documents and notes sucks. Best effort used to be Evernote and MS one note. Proprietary plateform and standards, lock ins and of course they access your stuff.

Noting stuff on the way is hacking. I use telegram self-messaging for that because it let me quickly write, film, record stuff and queue them in a thread that sync accross my devices.

And contacts are still a mess. Once in a while, you receive the "I changed my phone/lost my contacts/new email/made a mistake" text asking "who is this ?". I still note metadata in the "name" field of contact to remember where I know the person from, or the name of their children to avoid being awkward when meeting them again.

Still we have an amazing free map of the entire world, more quality video content we can ever consume and encyclopedic knowledge of my entire field of expertise at my fingertip.

The way computer evolved is weird.

sametmax··on A guide to Oauth2
Not but I certainly wish for a way to merge all the contacts from thunderbird, my 3 web mail services, my phone et have them offline on my laptop.
sametmax··on Paris’ Problem with the Dead
Burial is something that humanity should be able to let go as a whole. It pollutes. It wastes resources and space. We need to find other ways to mourn, remember and symbolize. Ways that will let us treat the body as compost would be ideal, but hard to sell to the general population.
← PreviousPage 3 of 34Next →