somegeek

joined 2 years ago
[–] somegeek@programming.dev 6 points 2 weeks ago

This is very incomplete. Like to see it become more complete.

Clojurescript and purescript are my favourites.

[–] somegeek@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)

Maturing is realizing that js is an actually good language. First of all, you can't avoid it. The whole web frontend runs on it, a huge share of the desktop applications use it(unfortunately, but there is no simpler option), and a huge part of the web backend uses it. It's also used in almost any other usecase you can think of. Just look at what some of your favourite foss projects are written with. A lot of them are js/ts.

That's because it gets the job done. If we could have replaced it with something else, we would have. Dont think that big tech would sacrifice a single penny just because they like js. They would replace it to prevent future costs. It has some decent functional programming abilities (not great, but ok) so if you write it correctly and not try to cram OOP into it, you can create some pretty robust software with it. Although something that is meant for FP is better, like Clojure.

JS is going to outlive some of us. Maybe all of us, wether we like it or not. I think everyone should know at least some degree of JS because it is so useful.

[Sorry for not blindly shitting on js and shilling Rust or smth]

[–] somegeek@programming.dev 5 points 3 weeks ago (1 children)

Love to see the TS and python "experts" in the comments having no idea what's going on.

Clojure is awesome and is meant to be used like this. Clojure is a Hosted language specification, meant to be implemented on different runtimes. That's why we have clojurescript, jvm clojure, babashka and jank.

Jank seems like an amazing and exciting idea to have clojure with higher performance and smaller footprint of cpp, and also it's ecosystem.

[–] somegeek@programming.dev 2 points 1 month ago

Thank god I'm sensible enough to not use gnome.

[–] somegeek@programming.dev 2 points 1 month ago

IBM is giving us(tge FOSS and Linux world) technical advancements and money but is taking away the Freedom part more and more.

They are locking in linux and the ecosystem according to their own business needs. Gnome, systemd, or most other redhat products, you can see how inconpatible they are with other software and go their own way, which affects the whole Linux world.

I personally really dislike redhat and IBM. Specially IBM itself is an absolute governmental piece of shit with a history not much better than microsoft and facebook.

[–] somegeek@programming.dev 1 points 1 month ago

This is actually sad for humanity.

[–] somegeek@programming.dev 3 points 2 months ago

The main reason for outages are the duxki g AI scrapers

[–] somegeek@programming.dev 1 points 2 months ago

Codeberg, your own forgejo instance

[–] somegeek@programming.dev 4 points 2 months 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@programming.dev 1 points 2 months ago

Can you elaborate? Give some examples?

[–] somegeek@programming.dev 2 points 2 months ago (7 children)

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

8
submitted 4 months ago* (last edited 4 months ago) by somegeek@programming.dev to c/advent_of_code@programming.dev
 

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.

 

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 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)

 

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).

 

Is BSD, More "Free" than Linux?

view more: next ›