Hacker News new | past | comments | ask | show | jobs | submit | more ryapric's comments login

I never really even entertained the idea of agreeing with this until just this week actually, when I was putting log statements into bash functions that were supposed to return strings -- and failed for reasons I could not understand. Six full hours of debugging later, I realized that the logs were writing to stdout, and thus were cluttering the expected return values.

I'm still not fully sold on the idea, but I now have at least one tangible example of when you would want to keep stdout clear of commentary.


Why would you want to use JavaScript in IoT scenarios?


I do it at my company, to talk to microcontrollers. We have a few CLI tools we use for testing that run on NodeJS. Our web-wrapped maintenance desktop application also sends UDP packages directly to microcontrollers but there we do it a bit differently. We have a proxy that forwards websocket messages as UDP packets running in the native code of our desktop application.

Would be really nice if we could send UDP messages directly from the browser, but it is understandable from security perspective.


Well, Node-RED for starters. Plus homebridge, and plenty of UPNP and protocol-specific solutions that, for some reason, are coded in JavaScript.


I run Debinan Sid/Unstable, both as my home desktop (with XFCE as a DE) and as my headless WSLv2 OS on my work machine. I've had it on the desktop for something like, 4 years now? Before that, I ran Manjaro on the desktop since something like 2017, and Xubuntu on the work laptop (as its own partition).

I've only ever had one problem with Debian Sid, which was this year I believe when a `libssl` update broke a lot of things (git, ssh, etc). Other than that, anecdotal smooth sailing.


I believe they're talking about how abstractions tend to make people more productive. Operative term being "tend to", because I personally wouldn't use this tool either, but to each their own.


Different strokes for different folks. I thought Portainer and Netdata were overkill the first time I spun them up and now I can't live without them.


I fully agree but the suggestion was that docker-compose logs is like nand gate compared to lazydocker. Seems like a stretch.

Frankly lazydocker looks cool. I think I see the merit as a nice-to-have utility.


I wonder if they might be talking about `go vet`?


Click on the "All" toggle on the top of the page.


Thank you. That inspired me to try out the lemmy android app. But that was quite underwhelming. We'll see where that goes.


So post two openings to close the gap?


As the shebang (`#!`), I imagine you mean?


Yes, shebang.


>you get typechecking and all the rest of the editing experience

This is true for a number of languages that can also be run without AOT compilation (Go, Rust, etc). This feels like some really weird, incoherent astroturf take for Bun promotion.


JavaScript was not tenable for scripts with Node.js. Startup time is too slow. Now it is because of Bun. I don't think you can argue with that.

Rust isn't a scripting language - too strict, no optional typing, slow compilation.


Do you know of any browser games that use Ctrl as the crouch key? That's the interface under discussion.


https://play-cs.com uses ctrl for crouching when you're in fullscreen mode


I don't remember if you can crouch in it or not, but a game like https://warbrokers.io could definitely have a crouch mechanic, and it would make sense for it to use ctrl.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: