[-] somegeek@programming.dev 140 points 1 month ago

Dude for the first 15s I thought this is porn

3
LAN browser-based cs1.6? (programming.dev)

Hi. Is there a way to setup local LAN cs1.6 from the browser? Because I know cs1.6 have been ported to wasm.

84

Hi people.

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

[-] somegeek@programming.dev 73 points 1 month ago

Same for Iran :)) We have no copyright so there are official platforms like netflix with all pirated movies and the national tv shows pirated movies constantly. Also, not a single person buys windows or office licenses here :))

1

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

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.

27
112
submitted 1 month ago by somegeek@programming.dev to c/linux@lemmy.ml
4
3
20
3
submitted 2 months ago by somegeek@programming.dev to c/clojure@lemmy.ml

Not that this is the most important metric. I'm not even sure if his numbers are correct. But interesting nontheless.

I can vouch for Clojure's conciseness.

8
[-] somegeek@programming.dev 25 points 4 months ago* (last edited 4 months ago)

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 28 points 4 months ago

I load the file into the memory and alter the memory bits manually.

[-] somegeek@programming.dev 38 points 11 months ago

I feel attacked by "how to center div 2025"

8
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?

9

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.

[-] somegeek@programming.dev 94 points 1 year ago

Infinity is technically not a number tho 🤓☝️

[-] somegeek@programming.dev 53 points 2 years ago

I love you so much NullPointerException

[-] somegeek@programming.dev 44 points 2 years ago

I thought he did porn for a sec

[-] somegeek@programming.dev 40 points 2 years ago

Damn are you one of Dahmer's victims? Cause you're looking very delicious.

[-] somegeek@programming.dev 35 points 2 years ago

I can't stand people who don't eat the crust. Or people who waste and don't appreciated food in general.

[-] somegeek@programming.dev 83 points 2 years ago
view more: next ›

somegeek

0 post score
0 comment score
joined 2 years ago