somegeek

joined 2 years ago
[–] somegeek 1 points 3 days ago
[–] somegeek 4 points 3 days ago (1 children)

That's one of the main pain points of Python. Something like poetry or uv can help but the python ecosystem is just unstable. It's very hard to update a dependancy. You project might only run with very specific versions of libraries and the language itself.

I honestly hate that about python and I don't think python is good for developing large software. Even js/ts is a much better ecosystem. (I'm bracing for the hate)

[–] somegeek 1 points 1 week ago

Can you elaborate? Give some examples?

[–] somegeek 2 points 1 week ago (7 children)

All the elements you mentioned are natove HTML elements that don't need any library.

[–] somegeek 4 points 1 week ago
[–] somegeek 2 points 2 weeks ago
[–] somegeek 38 points 2 weeks ago (4 children)

I feel attacked by "how to center div 2025"

[–] somegeek 7 points 2 weeks ago (1 children)

Couldn't agree with this more.

Every time I create a website, I first create it with only HTML. If it looks right and makes sense, then I will add CSS. If it looks good and works fine, then I will add JS.

[–] somegeek 2 points 4 weeks ago

Clojure is great but not for AI. Currently the best option for AI is python.

[–] somegeek 4 points 1 month ago

Very valuable project. We deeply thank him for his efforts.

[–] somegeek 5 points 1 month ago

Underrated distro.

[–] somegeek 0 points 1 month ago

Fedora is corporate bullshit. I stay away from it even though its works good.

9
why should we sort 2024-day1 ? (self.advent_of_code)
submitted 2 months ago* (last edited 2 months ago) by somegeek to c/advent_of_code
 

Hi guys.

I just did day1 of 2024 (I know, I'm late) this might be a dumb question but I reallydont understand why we should sort the two lists before substracting? I created some test cases with 10-20 items and calculated them manually, if you don't sort the list and just add all list1 items and substract from the sum of list2, you get the same answer. But it doesn't work with the large input file.

Let's say list1 has elements (a,b,c,d) and list2 has (e,f,g,h).

(a-e)+(b-f)+(c-g)+(d-h) = a-e+b-f+c-g+d-h = (a+b+c+d)-(e+f+g+h)

So the sorting shouldn't matter. Right? But it does. Am I too bad at basic math?

 

checkout "My checklist and tips for server setup"

Please share your tips and tricks with me. I would love to hear them and use them.

Any feedback is welcomed.

 

Hi Redshift isn't maintained anymore and lately redshift-gtk doesnt start anymore (something about a python circular dependancy).

What should we use?

33
submitted 3 months ago* (last edited 3 months ago) by somegeek to c/[email protected]
 

cross-posted from: https://programming.dev/post/24458085

Hi guys.

I have an android head unit for my car that only manages multimedia, navigation and stuff. it also has multiple physical buttons and knobs. It’s offbrand so can name the particular brand or model.

can I for example upgrade the OS?

 

Hi guys.

I have an android head unit for my car that only manages multimedia, navigation and stuff. it also has multiple physical buttons and knobs. It’s offbrand so can name the particular brand or model.

can I for example upgrade the OS?

 

Hi everybody. I have a rooted phone and I was thinking, If I can spin up something like Samsung DEX on my phone, alongside my android, that uses Linux, I can do 80% of my work just with my phone. Is that doable? Can someone provide me with more information?

 

Hi everybody. I have a rooted phone and I was thinking, If I can spin up something like Samsung DEX on my phone, alongside my android, that uses Linux, I can do 80% of my work just with my phone. Is that doable? Can someone provide me with more information?

47
3840×2160 (programming.dev)
 
 

Hi guys. I want to deploy focalboard as a replacement for trello in our company, my confusion is : How can I manage the focalboard instance? (Doccker) For example manage boards, manage users, limit user access so anyone from the web can't just register and use our instance.

I asked in the mattermost groups but the support groups are totally dead. No response.

 

Hi guys. So I'm wondering, is it safe(privacy wise) to integrate my google account into my GNOME desktop, only giving mail and calendar permissions to it? It's nice to have my calendar events into my top bar. (Please give technical answers)

2
How to monetize services? (self.selfhosted)
submitted 2 years ago* (last edited 2 years ago) by somegeek to c/[email protected]
 

Hi guys. how can I monetize my rustdesk servers? like, imagine I tell client X to pay 1$/month for using my server, how can I authenticate users? (prevent others from using the server so only people who are paying can use).

CONTEXT: I live in a country with very limited internet (like china) so using public servers is not good. I would also have to be able to maintain the costs of the server. so this is not illegal and not unethical.

view more: next ›