somegeek

joined 2 years ago
[–] somegeek@programming.dev 142 points 1 month ago (8 children)

Dude for the first 15s I thought this is porn

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

Nothing will ever be just "docker compose up" but checkout movim. I think it's good. Haven't used it myself yet.

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

PostmarketOS likes to talk to you

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

I forgot to mention the I DO NOT recommend ubuntu :)) but a start is a start.

I would recommend debian or MX linux instead.

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

I'm a Guix guy myself. So I'm boarding them on arch+guix like myself slowly 😁 l think if you have someone to walk you through, guix is pretty easy to get started with.

[–] somegeek@programming.dev 3 points 1 month ago* (last edited 1 month ago) (7 children)

I boarded my friend on arch and he took it like a champ. Beware, it has a very steep learning curve and needs patience. But otherwise, a more pre-configured distro is better. Cachy os, endeavour, or as much as hate to say, fedora.

The more important thing is the DE. I strongly suggest Plasma (kde).

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

Hahah yeah these fuckers have become great at adding clothes to the movie 😂😂

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

Nano is for chemists maybe. Editing couple of lines and saving.

But vim is one of the most powerful text editors ever created. It's so powerful and good that it gets ridiculous. Also, from an ergonomic standpoint, your body will thank you for using vim/neovim

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

Don't know such person.

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

Not for the actors I'm currently worried about. My phone is definitely bugged by govt. And being monitored but this is a more direct threat right now and the actors aren't the type to bug a phone.

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

Oh shit😂😂

[–] somegeek@programming.dev 7 points 1 month ago (4 children)

Should we ask the mods why they removed it? It was a very good answer!

 

Hi people.

I suspect my office might be bugged. How should I detect hidden cams and mics?

 

Hi fellow software engineers. Sorry for the long post in advance.

I'm offered a project for a website and E-commerce store for a medium-sized business.

There are thousands of E-commerce websites out there but I don't find it very straight forward to create one. I have mainly worked on enterprise software and don't have experience in E-commerce.

The website is going to be built with some SSG (probably Zola) az I really beleive in SSGs for websites. So we have that out of the way.

But for the E-commerce part, I'm confused.

Here are my requirements:

  • least development cost (time and money)
  • least maintenance cost
  • robust (don't need constant babysitting. Can work for years)
  • Simple both for developers and for admins
  • Better if we can find people to maintain it easily

Things that I'm good with:

  • JS/TS
  • Clojure
  • Python
  • HTMX
  • Vue / Nuxt
  • HTML/CSS

options that I'm considering:

  • Woocommerce

The layman's choice. I find wordpress horrible for websites but I think (not sure) that woocommerce has the least hassel and cost for an E-commerce website.

  • Django

Tried and tested. It has more cost of development but I think tge cost of maintenance is less. Creating with it's own MVVM architecture, it's basically server side rendering.

Also, python and django are very popular and it's very easy to find other people to work on the project.

It's similar to Django but for Clojure. Straight forward, scalable. I like Clojure MUCH more than python and am much more productive with it. The performance of this stack is also MUCH better than python and django and the technologies are more stable and need less maintenance.

The downside is, I probably cannot find anyone that knows Clojure.

  • Clojure + kit-clj + HTMX

This is a more "custom" approach, unlike frameworks like django, laravel, pedestal who take care of lots of things for you and do a lot of magic behind the scenes, we will be rolling everything ourselves here.

Render html server side with selmer and hiccup, and use HTMX for client side interactivity. Obeying HATEOAS and REST architectures.

I think this will be the most robust way but development cost will be higher and again, I will not find anybody else to work on it.

  • Server Client architecture

Server works with the database and handles business logic (Clojure/python/TS/JS) . can use graphQL to cut much cost and time from server side development, Client probably uses Nuxt.

Classic architecture, all young and old people are familiar with it, server and logic is decoupled from client.

Downside is the complexity of the front end stack rises. Horrible DX, horrible debugging, and costly.

Never used it, it is a full e-commerce framework, seems cool to be honest.


What do you guys suggest I should do? What's your experience? If there are better options that I'm missing out on, please tell.

 
 

Explaining why we need "apocalypse-proof software" and some actual software tools for the mentioned situation.

1
submitted 1 year ago* (last edited 1 year 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?

view more: next ›