Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

Apple is making you buy a new iphone. They decided not to support the old API or to create adapters so that the ecosystem can live on decades.

Meanwhile, you can sill run apps from 20 years ago on Windows.


Can't agree more ! The levels of API backward compatibility of the Windows API is really impressive and should be taken as an example for everyone.

Some Opensource projects like OpenSSL do have the same philosophy.

This is harder for the developpers to maintain old APIs but it does develop a sense of trust on the products.


Because nobody cared about going offline first, all those apps are now clients of API that will eventually being deprecated, breaking everything.


Don't. Use pydoit.org.


As someone not up to date on the Python world, how does your suggestion compare with something like Poetry?


poetry is specialized in managing venv and packages, with the options to run some commands.

doit is a task runner: you declare a name that groups several commands, and when you call the task with the name, it runs all the commands in order. It can accept bash commands, python functions, declare dependencies on other commands or on files, and cascade the tasks to follow those dependencies automatically.

It's make, but in Python: nice syntax, works on windows/mac/linux, easy things are easy, hard things are possible.


There are many things that can be done better by experts.

But to double the quality, you multiply by 10 the cost.

E.G: I wanted to start writing again. I had an idea for the entire structure of the site, and pretty neat features I only could get if I coded it myself.

Then I started to feel like writing, so I wrote. As usual, it took hours, then I had to go back to my life.

I was now left with the choice of not publishing for months, and being frustrated in the writing process, or just use a ready-made platform.

I chose the latter. I went to substack. And publish the first of the 3 articles I already wrote. Next week, I will be able to publish the next ones, and write more.

Because it turns out I want to write and publish more than I want to code a publication platform. No matter how awesome the platform was going to be in my head.

So page builder are a very good idea. Because we don't live in a universe without constraints, and most humanity has to make Pareto choices.

It's just a trade off, as usual in IT.


That's really a good field for research right now, because like Jancovici notes in his conf (https://www.youtube.com/watch?v=KtQBPhKSWu0&list=PLMDQXkItOZ...) that we currently price renewable energy in a world where oil is abundant.

But once you have to create your wind turbine, solar panels and battery with electricity from wind turbines and solar panels, the price gets very different.


How does that add up if he's a proponent of replacing fossil fuels with nuclear power?

Won't that get more expensive too?

He's a weird one, as he's generally on board with consensus climate change, but he's always had a bee in his bonnet about renewables, making lots of claims that haven't came true.

Could we live as today with just renewable energy? (2005)

https://jancovici.com/en/energy-transition/renewables/could-...


> How does that add up if he's a proponent of replacing fossil fuels with nuclear power?

> Won't that get more expensive too?

Yes, that's the whole point of the conference. Fossil fuels are magical. And at some point, we won't have them anymore.

> He's a weird one, as he's generally on board with consensus climate change, but he's always had a bee in his bonnet about renewables, making lots of claims that haven't came true.

Jancovici doens't make timed predictions, so I can't see how this can be true. A makes statements about how things are, starting from first principles.

The only thing he did insist on some time period was the fact we will cross the +2C°, at some point in the next decades.

We are well on track for that.


Yes it gets more expensive.


The goal is not to apply the rules of the time, but to give them an excuse for when the occasion of banning a customer that annoy them rises.


Usain Bolt performs significantly worse in a marathon than in a sprint. Yes.


Same, but with 2 recent :

- can I use ripgrep, fdfind, fzf and choose to do this?

- can I ask chatgpt to do this ?


It's important on any system, not just XDG. The OS will assume you do, and offer features based on it, such as cleaning cache dirs, emptying temp dirs, etc.

It's not just about being tidy, although it's important.

But remembering all that stuff is annoying.

If you use Python, the wonderful "appdirs" package will make using the best dir for the job on Windows, Mac and Linux, easy and transparent: https://pypi.org/project/appdirs/

I wish it was part of the stdlib.

Another thing that grind my gears is people putting files inside their code project folder for development.

It should be something configurable, that by default use the OS dir for prod, and "../var" dir with everything on it in dev.

Less gitignore trouble, let's watcher overhead, less indexing for nothing, less clutter in file explorers, less possibility for errors.

But you need to provide an easy way to locate those files, such as a cmd line entrypoints, otherwise it's painful.


appdirs has officially been deprecated.

Its successor is https://pypi.org/project/platformdirs/


Except neither appdirs or platformdirs obey xdg on Mac, without an option to override.

Which makes this less than ideal.


I remember when visa rejected my attempt to give money to wikileak, which is legal in my country.

So I donated BTC, and this is when I realized why we need crypto despite all the scams.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: