[-] mapto@lemmy.world 3 points 1 month ago

I'm sorry, but doesn't sound very convincing. The strongest (reiterated) argument is "venv is standard", but so is docker.

[-] mapto@lemmy.world 3 points 1 month ago

Thanks, corrected

71
submitted 1 month ago* (last edited 1 month ago) by mapto@lemmy.world to c/ukraine@sopuli.xyz

During the siege 10 years ago today, Russia agreed to open a humanitarian corridor to allow evacuation. Then they ambushed anyone who passed through this corridor.

[-] mapto@lemmy.world 3 points 3 months ago

Your seem to insist to twist this towards vegan wars, but this is you. It's not the graphics, it's not me.

[-] mapto@lemmy.world 4 points 3 months ago

Q: what do we do? A: profile and decompose. Should not be that distant as a thought

0
submitted 4 months ago by mapto@lemmy.world to c/russia@lemmy.ml

News in Russian:

В России рекордно низкая безработица — в апреле она составила 2,6%. Значительно снизилась молодежная безработица.

https://meduza.io/paragraph/2024/06/07/v-rossii-edyat-v-dva-raza-bolshe-myasa-chem-v-drugih-stranah-mira-tempy-rosta-nashey-ekonomiki-vyshe-srednemirovyh-my-obognali-yaponiyu

The facts:

The number of young workers in Russia fell by 1.33 million people between December 2021 and December 2022.

That is the second-largest decrease in recorded history behind the pandemic year of 2020, when 1.34 million young Russians left the job market.

Finexpertiza’s research shows a decrease of 87,000 workers aged 20-24 from December 2021-December 2022 to a total of 3.2 million.

https://www.themoscowtimes.com/2023/04/11/russia-lost-13m-young-workers-in-2022-research-a80784

[-] mapto@lemmy.world 2 points 4 months ago

Definitely my preference. However, for someone just starting (and not used to pressing TAB or calling help() ), an empty prompt might be intimidating.

That's why I typically suggest interactive tutorials, e.g. any of these two: https://www.learnpython.org/en/Hello%2C_World%21 https://futurecoder.io/course/#IntroducingTheShell

[-] mapto@lemmy.world 4 points 4 months ago

The relevance of the post to the community should be made clear by the contents of the post. As it currently stands, there are no indicators that the event would have any influence on Iran's support for the Russian invasion.

[-] mapto@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

Yup, @tearsintherain@leminal.space, what you're engaging in here is pure whataboutism. Fox, Carlson and company would've happily helped here, but they didn't. NYT did.

56
submitted 6 months ago by mapto@lemmy.world to c/ukraine@sopuli.xyz
[-] mapto@lemmy.world 2 points 6 months ago

Even looking into the readme and pink.lang, I'm still unsure what this does. I can imagine, but one single example would be nice. Bonus points if it is actually something useful

[-] mapto@lemmy.world 4 points 7 months ago

I keeps amazing me how one could criticise capitalism and still talk exclusively in terms of capitalism.

Not a single word of the accelerating extreme deforestation of the world's forests all over the planet. And this is just an example. The same holds about drilling and plastics, about industrial farming, construction,... I don't care if they are profitable. They're just aggravating the problem and there are alternatives that reduce the problem. These need to be enforced, regardless whether they are profitable (some of them are, but they still don't overtake the problematic ones). We don't have collective enforcement and we need it. Call it green new deal if you want, call it anarcho-communism, whatever. As long as it is just theory and no practice, it's pointless.

Politics and growth are irrelevant if they are so detached from the problem.

[-] mapto@lemmy.world 2 points 8 months ago* (last edited 8 months ago)

Ok, that was stupid. Doing healthcheck with wget, does what wget does: it downloads the result. I had to add --spider to stop doing that

  wget -nv --spider http://localhost:8000 || exit 1
8
submitted 8 months ago* (last edited 8 months ago) by mapto@lemmy.world to c/python@programming.dev

I deploy a FastAPI service with docker (see my docker-compose.yml and app).

My service directory gets filled with files index.html, index.html.1, index.html.2,... that all contain

They seem to be generated any time the docker healthcheck pings the service.

How can I get rid of these?

PS: I had to put a screenshot, because Lemmy stripped my HTML in the code quote.

[-] mapto@lemmy.world 2 points 8 months ago

https://github.com/pgp/XFiles is what I've been using and am pretty happy about it

[-] mapto@lemmy.world 2 points 8 months ago

Actually XPATH is arguably more flexible than JSON. There's also jsonpath, but I don't think I've seen it meaningfully used

view more: next ›

mapto

joined 8 months ago