News for hackers. Stuff that matters.

sametmax

Re:Dict Unpacking in Python on Saturday July 12, 2025 @11:14AM (#44542630)
Anthony is also the maintainer of the deadsnake ppa, if you were searching for reasons to love him more.
Re:Copilot Disable on Tuesday May 14, 2024 @05:56AM (#40353400)
It does.

But again ancient greeks complained writing would make people deskill their memory abilities.

And it did.

Yet we don't regret it.

We called it for 20 years, all geeks in the world singing in unisson that if you don't pay you are the product.

And people still accepted the ToS and fed the machine all their data.

Re: on Tuesday May 14, 2024 @05:52AM (#40353378)
So make the web garbage for short time gains.

That's why we can't have nice things.

Re:GPT-4o on Tuesday May 14, 2024 @05:51AM (#40353367)
I get the feeling but what altenrative would you prefer?

I do want my phone to just go again without complaining without a crash, after all.

5 times the price of it in my country. Ouch
Re:Leave work slightly unfinished for easier flow the next day on Saturday December 16, 2023 @10:12AM (#38664773)
It's not about not finishing as much as it is about letting something in unfinished state.

You can finish what you are doing right now, and start something else to get a clear view of the next step. Or take something you want to fix, and put a breakpoint it it and plenty of print, to make it sure nothing works and the day after you know where to start.

It's all about breaking the inertia.

But if you want your win, you can have your win.

Re:GitHub Actions Are a Problem on Sunday November 12, 2023 @10:14AM (#38240774)
Same. My local astk runner does the heavy lifting.
If you learn how to build a castel with a very specific era look and feel as an architect, would you not then be likely hired to build a similar castel elsewhere?
Re:Why Nvidia’s AI Supremacy Is Only Temporary on Sunday September 10, 2023 @06:16AM (#37454465)
Lots of handwaving in this article, and doubtful forecasting.

The truth is we have no idea what will happen. This would be obvious to anybody whole lived through the .com bubble.

Re:The world’s biggest problem? Powerful psychopaths [video] on Sunday September 10, 2023 @06:13AM (#37454448)
The problem is more complicated than that, because psychopaths traits (and even just sociopath ones) makes you more efficient at certain things. When you have to sacrifice your leisure, your family, your free time or your health to do something else, few people can do it. When you have to fire 5000 people knowing the consequence on their life, you have to be able to live with it. Some contracts can only be signed if you are ok to bribe and corrupt. Some clients will only work with you if you accept to bend the rules or lower your morality standards.

Gandhi will not produce an iphone, for obvious reasons.

Re:Just Use Dictionaries (Python) on Sunday September 03, 2023 @06:44AM (#37369307)
I used to be a strong proponent of this, but I tend to use dataclasses more and more with time. Still use a lot of dicts, lists, and sets, but mostly as collections, rarely to hold one single element data.

It came naturally, not out of some design, but I guess having better and better typing support everywhere makes it more and more convenient.

Re:BSL is not good, it's great on Sunday September 03, 2023 @06:42AM (#37369295)
What's BSL?
Re:What's up in the Python community? – June 2023 on Saturday July 01, 2023 @10:41AM (#36550616)
That GIL debates is never ending. If we had some demo about multi-interpreter for concurrency, maybe we could at least decide which way to go.
Re:A Python powered task management and automation tool on Saturday July 01, 2023 @10:40AM (#36550608)
I like doit and use it in most of my projects.

It's declarative, and can scale up to quite complex requirements. But the best things is that it scales down.

Re:YouTube's copyright system isn't broken. The world's is on Saturday July 01, 2023 @10:39AM (#36550600)
Putting the burden of proof on the accused is broken, and it's not a feature of the world.

It's a design choice by Youtube.

En ce moment on s'amuse à générer du hentai avec stable diffusion en Python. Ca aurait fait un bon article pour le blog si il existait encore :)
Re:Thoughts on Svelte(Kit), one year and 3B requests later on Thursday June 22, 2023 @05:11AM (#36429671)
I like the fact minimalist approaches, like svelte, htmx and alpine.js are getting more and more traction.

I felt like fighting this fight alone for years in the golden years of node, webpack and react where everybody was creating crazy stacks and adding GraphQL and so on, to basically get what Django + jquery did 10 years ago in a tenth of the time and code.

So far I also survived:

- xml is the future

- let's use nosql for all the things

- you must use the same language at the back and front

- yes, you site must have an AMP version (ah, you forgot this one, didn't you? It was sooo imporant, and then pouf, it was gone like tear in the rain)

- yes, your home page must be an SPA

- you can't code anything without async

- you can't live without a message queue

- everything must become a micro service

- of course you need a container for that

- of course you need a orchestrator to organize those containers

- of course you need the cloud, it would be crazy to deal with those containers and orchestrators yourself

- dude, why do you have a server? Use a serveless backend!

- dude, why do you have a backend? Just call saas from the edge!

Every year, some generation of engineers have to learn the concepts of "there is no silver bullet", "use the right tech for the right problem", "your are not google", "rewriting a codebase every 2 years is not a good business decision", "things cost money".

Re:The best Python feature you cannot use on Saturday June 17, 2023 @08:26AM (#36369633)
Another one you can't use: entry points.

In theory, they would be the perfect plugin system, but in practice, they are so slow if all your stack add a couple of them, Python start up takes seconds.

And this is why we are all using the .pth hack.

Older »