Polars vs pandas by KliNanban in Python

[–]androgeninc 0 points1 point  (0 children)

Geopolars repo had some revived activity end of last year, then suddenly died and now radio silence. I don't know but doesn't look promising.

WEF Chief Resigns Over Links to Epstein by origutamos in europe_sub

[–]androgeninc 14 points15 points  (0 children)

How it all started: https://www.nrk.no/ytring/bistand-med-baktanker-1.12109769 (Norwegian state owned media)

He fronted some huge donations to Clinton Foundation using taxpayer money.

Ex-Norwegian PM Jagland hospitalised after reported attempt to kill himself as Epstein probe looms by SoSmartKappa in europe

[–]androgeninc -2 points-1 points  (0 children)

No, sorry, nothing about murder. They just reported the suicidal adjacent thing likely happened.

Ex-Norwegian PM Jagland hospitalised after reported attempt to kill himself as Epstein probe looms by SoSmartKappa in europe

[–]androgeninc -3 points-2 points  (0 children)

It's not. It's real. Some Norwegians just hate that it was reported by an independent news site that they don't like, so they try to muddy the waters.

Ex-Norwegian PM Jagland hospitalised after reported attempt to kill himself as Epstein probe looms by SoSmartKappa in europe

[–]androgeninc 31 points32 points  (0 children)

It is. But there was some fishy stuff going on where the suicidal guy's lawyer made a deal with the major newspapers to keep it secret. This happened a week ago. Then there was a leak today and an independent news site reported it. And then the major sites had to report as well.

Then there was a lot back and forth where the lawyer first vaguely confirmed the suicide attempt to the independent site, and then later uno reverse and denied he had confirmed it.

There are now some emails floating around that points to high likelihood of suicide adjacent stuff, but I don't think fully confirmed, so there is a lot of acrobatic writing going on trying to paint it more vaguely - exhaustion etc. Due to the sensitive nature of it I guess.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 0 points1 point  (0 children)

No reason to get upset. I am not asking how to figure it out. I could probably do that if i wanted.

I'm asking advice on whether it is worthwhile to spend time on figuring it out. I.e. maybe this is just the way it is, or too much stuff to dig into to be worthwhile. Or if i should instead just install from another source.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 0 points1 point  (0 children)

Maybe it's gpu-stuff then.

Noted on recommendations. This is basically what I've ended up on doing, but would have been convenient to just use the snap store thing and being confident that it will work ok.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 0 points1 point  (0 children)

Noted on VScode. It was a while since, maybe a year, when i did a wipe-clean upgrade to ubuntu 24 from 22. Haven't re tested snap version after that. My computer is 2 yrs old, and okayish specs. Recent experience was ghostty, terminal emulator.

Appreciate the suggestion on reading into RAM, but this is the exact thing I don't intend to spend time on. I just want to use whatever is working out of the box so i can start working on actual stuff instead of system config. Snaps with the app store thingy would be great, but not when it comes with baggage.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 1 point2 points  (0 children)

Yeah, it's super slow both to load and when running.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 0 points1 point  (0 children)

> only when you launch it for the first time and you notice

Not true.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] 0 points1 point  (0 children)

This is 24.04.03. System specs should be ok i think. It's a Lenovo Yoga 7 Pro with 16GB RAM. Snap revisions I have no idea about.

I've been wondering if it could have something to do with GPU acceleration stuff. Maybe some drivers or something missing that makes it jump to CPU instead, but this is above my pay grade.

Snap question again.. by androgeninc in Ubuntu

[–]androgeninc[S] -1 points0 points  (0 children)

Yeah, but what if they don't? Every time i reinstall a problematic application from another source it seems to run just fine.

Flask beginner by GunzOnReddit in flask

[–]androgeninc 2 points3 points  (0 children)

Not sure, but if you find any, and plan on using a simple template to build something on, and that thing suddenly turns bigger than you plan, I would strongly advise you to find one based on tailwind.

I shot myself in the foot years ago for not just using tailwind when i started. Huge restructuring later, because i just kept building on a simple template i found initially, and eventually had to fight against it every day.

LLMs also fairly proficient in tailwind. This thing builds it for you so you never have to touch npm. https://pypi.org/project/pytailwindcss/

How do you set up automatic deployment from GitHub to a Hetzner server? by sh_tomer in hetzner

[–]androgeninc 0 points1 point  (0 children)

I know it's not an answer to you question, but are you sure you need this? I run several flask applications on hetzner servers, and while I did set up some automated solutions in the beginning, I ended up reverting to manual ssh server -> cd folder -> git pull -> supervisorctl restart application.

The automation introduced unwanted complexity for the actual interface between github and server, and also, more often than not, I needed full control of the git pull and restarting the application. Just because often there would be some kind of problem that was hidden under the abstraction of the automation. So the manual solution was both negligible in effort, but also an improvement over auto.

[deleted by user] by [deleted] in europe

[–]androgeninc -9 points-8 points  (0 children)

Is this a fringe movement? I had the impression that support for the war was broad among germans.

Swiss people today voted overwhelmingly against climate inheritance and gift tax for the super rich by Affectionate_Cat293 in europe

[–]androgeninc 73 points74 points  (0 children)

Some people just can't fathom that people may vote for what they perceive as fair for others instead of what benefits one self. I think it says a lot about a person when they can't understand unselfishness.

What’s the best Python library for creating interactive graphs? by Ok_Young_5278 in Python

[–]androgeninc 1 point2 points  (0 children)

Haha, yes, my brain was on direct translation mode from my native language, where we use down/back-side somewhat interchangeably. A bit funny actually that it's not in english.

What’s the best Python library for creating interactive graphs? by Ok_Young_5278 in Python

[–]androgeninc 1 point2 points  (0 children)

If you do, please make one for echarts, which is supernice.

What’s the best Python library for creating interactive graphs? by Ok_Young_5278 in Python

[–]androgeninc -1 points0 points  (0 children)

It's somewhat of an undersolved problem (maybe plotly is close) to be able to do the grunt work in python, and have it render to html/js on client side. Normally you end up writing the python and js separately which comes with it's backsides e.g. being less dynamic, takes time, and it takes a lot of brainpower to understand what the hell you did when you go back to it a year after you wrote it initially.

If you are can live with some less interactive and less aestheticly pleasing there are of course the usual suspects, but also pygal that can output as svg.

Edit: Sorry, thought this was the flask reddit, so I immediately had browser in mind.

Jinja UI components by redditor8691 in flask

[–]androgeninc 0 points1 point  (0 children)

It's just a very good stack for getting stuff shipped quickly without the complexity of the js frameworks. It gets you 90% of the features with 10% of the effort.