3 ms·
This code looks like it was written in 2004. Why aren't you using react and nodejs?
by oh_sigh 5y ago
This code looks like it was written in 2004. Why aren't you using react and nodejs?
- ricardobayes 5y agoSimple is beautiful. Some people don't use frameworks for simple stuff. I sometimes create low-tech websites just using html+css with a minimal jquery. The speed is insane compared to usual web 2.0 sites.
- fabioborellini 5y agoI could make it simpler by using 1 scripting language instead of 2. There are almost as many languages as LoC there.
- nkozyra 5y agoI think that's my only point of contention. It's clearly a for fun project but you've already got python there to run the raspi gpio pins why not move the server stuff in there? I'm assuming they learned bare minimum python to get the pi stuff going but that's enough python to run a web server too.
- louissan 5y agonot sure this is a joke or not ... :-) 30MB of dependencies vs a few tens of lines of code? :-)
- politelemon 5y agoIt's a joke, they're just referencing modern trends in web development and a dose of /r/programmerhumor
- iqanq 5y ago
- zinekeller 5y agoI don't know, it seems that most here have been burnt-out of humour. To be fair to them, the burn-out is mainly caused by ignorant managers hearing "Node! React!" and forcing on the developers whether it makes sense or not.
- Zababa 5y agoPoe's law, ironic content can be hard to differentiate from non-ironic content, and a proliferation of ironic content will bring the quality of HN down.
- sundarurfriend 5y agoThere could be other reasons that it's downvoted, even if it's not taken "seriously". The fact that it's a low effort comment that has barely anything to do with the OP, that it's a rehashing of the same old "unpopular opinion" that's not really unpopular here, the fact that it takes a nice little post of a small utility and shifts the tone to something negative just because they have an axe to grind - all of these are other possible options people might downvote this oh-so-ironic comment.
- pjc50 5y agoPoe's law: there's nothing so ironic or sarcastic that someone hasn't actually argued for real somewhere. You just can't tell any more. Besides being in text, HN has an international audience. It's really hard to make jokes land, and you usually need to include an explanation to avoid being downvoted.
- LilBytes 5y agoSarCasM CaSE AnD EmoJis HaVE thEre PlACE.
- conqueso 5y agoOne can never be completely sure through text alone, hence such things as the closing sarcasm tag: </s>
- Cthulhu_ 5y agoNodeJS is last decade; Deno is the one to go for now. But why JS based? Rust is the future, accept no substitutes. It is the perfect language for everything, forever.