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

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.


I have a feeling GPT will be used for that soon.

And I will certainly pay for it.


Been living in Mali for some times, worked in a few African countries.

Done charity work there.

Created an IT company there.

You have it totally backward.

IT is NOT helping the poorest part of Africa. Quite the opposite.

But it does help us create a lot of BS virtue signaling about all the good we do in Africa.

The explanation would take a lot of text, unfortunately and I'm not in the mood for the rant again. But it comes from experience, not from the idealized narrative you have been sold.


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

Search: