somegeek

joined 2 years ago
[–] somegeek@programming.dev 9 points 4 hours ago (1 children)

Your developing for a google platform. Doent really matter if the IDE is backed by google. and you have a LOT more to do with google if you are developing for android. The platform is locked in to google. Get used to it.

[–] somegeek@programming.dev 2 points 19 hours ago

Been using this for the past 8 days. Much less eye strain and freedom while working for 12 hours a day.

[–] somegeek@programming.dev 1 points 19 hours ago

Write anything that gets even slightly complex in either python, lua or clojure. That's my rule.

[–] somegeek@programming.dev 4 points 1 day ago (3 children)

Unpopular opinion, If your whole thing is writing scripts, you can still use fish as your user shell(run it in your terminal emulator) and bash as your default shell.

bash is ok for small scripts. No need for anything fancy. For more complex scripts, just write them in something good like Lua or babashka(clojure)

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

Delta chat is the real secure and lrivate option.

[–] somegeek@programming.dev 24 points 5 days ago* (last edited 4 days ago) (2 children)

I say this is only ok because he did that in amazon. Fuck amazon

If he did that in a medium-or-less sized company that would be a really shitty move.

[–] somegeek@programming.dev 9 points 5 days ago

Linux usafe has surely grown, but I think a laege percentage of that are AI crawlers and shit like that.

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

Nah their body language, shape, white fur and button eyes, paws, everything about them is cute

[–] somegeek@programming.dev 6 points 1 week ago (2 children)

WHY ARE THEY SO CUTE THEN?

[–] somegeek@programming.dev 2 points 1 week ago (1 children)

What are you yapping on about? You're making zero sense.

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

For an OS, I'd say GPL is great. But for most other things, EPL is much more sane amd keeps the foss going

8
submitted 8 months ago* (last edited 8 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.

 

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 10 months ago* (last edited 10 months ago) by somegeek@programming.dev to c/unixporn@lemmy.ml
 

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?

 
view more: next ›