this post was submitted on 12 Mar 2024
78 points (87.5% liked)

Programming

17424 readers
26 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Yes it plays Doom Github: https://github.com/HeyPuter/puter

top 21 comments
sorted by: hot top controversial new old
[–] gofsckyourself@lemmy.world 22 points 8 months ago (1 children)

Why jQuery?

Puter interacts directly with the DOM and jQuery provides an elegant yet powerful API to manipulate the DOM, handle events, and much more. It's also fast, mature, and battle-tested.

'Elegant' my fucking ass. Convenient? Sure. But it's far from 'elegant'.

[–] Potatos_are_not_friends@lemmy.world 10 points 8 months ago (1 children)

It's pretty elegant if you love Italian food so much even your code is spaghetti.

[–] gofsckyourself@lemmy.world 6 points 8 months ago

Puter devs:

[–] nutsack@lemmy.world 8 points 8 months ago

I don't want to say what I think of pooter is

[–] Fades@lemmy.world 8 points 8 months ago
[–] popcar2@programming.dev 7 points 8 months ago

This is really cool. It seems to be getting hugged to death though, I'm getting a lot of server errors when I attempt to open most apps.

[–] Downcount@lemmy.world 5 points 8 months ago
[–] neidu2@feddit.nl 5 points 8 months ago (1 children)
[–] xmunk@sh.itjust.works 11 points 8 months ago (2 children)

A better question...

Can I make a beowulf cluster of them?

[–] autokludge@programming.dev 5 points 8 months ago

(Score:4, Funny)

[–] Wojwo@lemmy.ml 5 points 8 months ago

That joke takes me back. Had to double check if I was on slashdot.

[–] RustyShackleford@programming.dev 4 points 8 months ago
[–] owen@lemmy.ca 4 points 8 months ago

This is crazy cool

[–] Adanisi@lemmy.zip 3 points 8 months ago (1 children)

Why? Have we forgotten what the purpose of an OS is?

A cloud OS is the stupidest thing I've heard this week.

People do things for no reason dude. It’s fun to just run with something and escape reality for a while.

[–] warmaster@lemmy.world 3 points 8 months ago

Amazing achievement. Congratulations.

[–] nitefox@sh.itjust.works 2 points 8 months ago (2 children)

I wonder what’s the better API jQuery has compared to vanilla Js Tbf

If someone reaches for jquery as an abstraction layer over JavaScript in 2024, I immediately question everything else. You're pulling in the jquery library for a set of features, followed by hundreds of features you won't use.

Absolutely no reason why you can't recreate the same features in JavaScript, with a much smaller footprint.

[–] jeremyparker@programming.dev 3 points 8 months ago

Jquery is just shorthand, really -- unless things have changed in the last decade (which doesn't seem likely in the world of technology! /s), jquery is basically a way to stop writing document. GetElementById() and element.classList.add() over and over.

Don't get me wrong, that shorthand was a valuable and unique addition to a tool set -- jQuery code was much easier to read and maintain than vanilla js, for sure. But I feel like now that websites usually have build steps, using jQuery involves a lot more effort than just not using it, that, with its kind of naive approach to DOM manipulation, is where the hate comes from, imo. It's probably still a great choice in a traditional LAMP stack build.