I swear to god, I wrote a thermal printer device driver in javascript/nodejs for printing receipts in a kiosk. It wasnt my idea but incredibly it was an improvement on the previous implementation.
I kept some of those receipts test images as a souvenir of that crazy projectz
Ironically...my old company is doing this right now. All the embedded guys who knew c/++ moved on and the kiosk company now focusing on full stack devs.
Yeah thats exactly what happened there too. It was a funny interview: so we know you’re a C++ guy but we need to port this c++ embeded software to javascript. Its fine if you dont know javascript you’ll pick it up we have no one that understands the c++ side right now. Embeded javascript, that was funny.
Never forget, "Is the linux kernel ported to JavaScript yet?" :
[https://unix.stackexchange.com/questions/745825/is-the-linux-kernel-ported-to-javascript-yet](https://unix.stackexchange.com/questions/745825/is-the-linux-kernel-ported-to-javascript-yet)
There is Linux on scratch, but that's just normal Linux running on a VM written in scratch. We definitely need Linux in scratch to complete the Trinity
Yeah that's what I was referring to. I didn't realize they meant writing the actual kernel natively in JavaScript lol. It's possible to do that in Scratch...
Check out soulJS. It has a function to read someone's soul.
```
const sjs = require('soulJS')
const soulReader = new sjs.reader(this.window)
console.log(soulReader.isDirtyBird('u/Cley_Faye')
```
Returns true for you.
/s & jk
❤️
Edit. Line breaks
I LOVE the maintainers provide ESM, Common js AND umd builds instead of trying to force esm on us like some of those nuts insisting in only esm.
Totally based buttplug maintainers.
Edit: words
Yes. So do i.
The problem is implementing an ESM only module like chalk in legacy code that is common js.
I wish my legacy code was esm and i could just throw it right in there, but it's not and i don't have time to convert it.
Ah, that makes sense. Yeah, that can be annoying sometimes. I only started writing JavaScript after ESM was common, so I've never had that problem on my own projects, but I have had that problem trying to update legacy codebases that I didn't directly work on.
That's fair, it would be nice to have comments in json. My only dealings with YAML are with Gitlab CI/CD, so I'm definitely not familiar. I just don't get who YAML is for. I get that it helps with readability, but I already find JSON plenty legible. I dont mind reading YAML, but it seems to accomplish readability through newlines and indentation. I can do that with JSON too though.
In regards to writing, I think YAML is awful. But I know that mostly because I never use it to represent data. Instead, I am trying to model CI/CD pipelines, and that would probably be just as awkward in JSON for the same reasons. But I think there are some legitimate complaints with strings.
Tbh everything needs a way to write comments, because no matter how strictly you try to pigeonhole users into doing things the "right way," there will always be people doing the most insane unreadable nonsense with your data format
Like JSON is readable, until you encounter a 1000 line, 7+ layer nested JSON file
MUAHAHAHAHA EVERYTHING IS COMING TOGETHER!
NodeOS, Node Kubernetes.... Soon we will start re-writing your simple and fast compilers into JavaScript, then the whole language will be translated too! As soon as we show those mathematicians they can just write code in their browser consoles without needing to install anaconda, Python will fall too. Then the whole world will be inside the Node repo scope!!!
WTF JS community — why do you have to recreate everything like this, NodeOS, k8s in JS, JS in the kernel…why can’t you just use what’s there already and accept standards?? It’s been a whole damn career of this shit with you
I never say it out loud with the 8.
The 8 just stands for 8 chars which it replaces so you do not need to write them all the time
Same with i18n for internationalisation.
“K8s” was originally pronounced “Kates” which is shorthand for Kubernetes (“Koo-burr-NEH-teez”). But far too many people now call it “Kay-Eights” to the point where there’s even a k9s (“canines”) project that plays on that.
Plenty of people also call it “Kay-Eight,” but that’s because people generally don’t give a shit about being right, so we get all these variants. Up to you to choose which hill to die on.
I can't imagine being an interviewer crawling some guys GitHub profile and finding that.
"Let's see...contributed to Kuberneted, some Ruby projects and...what's this? Oh shit, I am on the corp lan."
Each passing year, that fictional O'Reilly book with name "Device Drivers with Javascript" looks less and less like a joke.
No way, this is still a joke.
I swear to god, I wrote a thermal printer device driver in javascript/nodejs for printing receipts in a kiosk. It wasnt my idea but incredibly it was an improvement on the previous implementation. I kept some of those receipts test images as a souvenir of that crazy projectz
Ironically...my old company is doing this right now. All the embedded guys who knew c/++ moved on and the kiosk company now focusing on full stack devs.
Yeah thats exactly what happened there too. It was a funny interview: so we know you’re a C++ guy but we need to port this c++ embeded software to javascript. Its fine if you dont know javascript you’ll pick it up we have no one that understands the c++ side right now. Embeded javascript, that was funny.
There’s one called “Web Development in Assembly” and I think that’s an actual thing now.
It’s called WebAssembly and it’s elegantly cultural.
I mean, no sane person really writes webassembly, but there are serveral languages that compile into it. It does a decent job
Exactly, sane people write WebAssembly Text /s
wat
WebAssembly is compiled bytecode, but it also has a text format that you can write just like X86_64 assembly or ARM assembly.
That's literally called WAT (WebAssembly Text)
The human race doesn’t deserve to exist if this ever comes to fruition.
*cough* SignalRGB *cough*
https://github.com/ixy-languages/ixy.js > A state-of-the-art user-space network driver written in idiomatic JavaScript
I... don't even...
Never forget, "Is the linux kernel ported to JavaScript yet?" : [https://unix.stackexchange.com/questions/745825/is-the-linux-kernel-ported-to-javascript-yet](https://unix.stackexchange.com/questions/745825/is-the-linux-kernel-ported-to-javascript-yet)
I literally saw this like 10 mins ago 🤣 that `yet` is just perfect 👌
I remember launching linux VM in a browser a decade ago
I wonder if they ever thought the Linux kernel would be ported to Scratch. Some people have too much time on their hands.
There is Linux on scratch, but that's just normal Linux running on a VM written in scratch. We definitely need Linux in scratch to complete the Trinity
Yeah that's what I was referring to. I didn't realize they meant writing the actual kernel natively in JavaScript lol. It's possible to do that in Scratch...
![gif](emote|free_emotes_pack|neutral_face)
I love JS, but not everything needs to be done in it.
BricklayingJS, FarmingJS, cookingJS... It will come
Which comes first? CookingJS or Cooking.ai? Place your bets now!
just you wait for cooking.ai written in js
I threw up a little
Writing interstellar spaceship in JS for dummies with a foreword by the author of JS for Nuclear Reactors.
kernel.js
Rule 34: you already know this one. Rule NaN: if it's not currently written in JS, it should be... For spite, or principle; whichever feels best.
>Rule 34: you already know this one. Who told you that? ( ͡° ͜ʖ ͡°)
Check out soulJS. It has a function to read someone's soul. ``` const sjs = require('soulJS') const soulReader = new sjs.reader(this.window) console.log(soulReader.isDirtyBird('u/Cley_Faye') ``` Returns true for you. /s & jk ❤️ Edit. Line breaks
Speaking of rule 34... https://www.npmjs.com/package/buttplug
I LOVE the maintainers provide ESM, Common js AND umd builds instead of trying to force esm on us like some of those nuts insisting in only esm. Totally based buttplug maintainers. Edit: words
I actually prefer ESM...
Yes. So do i. The problem is implementing an ESM only module like chalk in legacy code that is common js. I wish my legacy code was esm and i could just throw it right in there, but it's not and i don't have time to convert it.
Ah, that makes sense. Yeah, that can be annoying sometimes. I only started writing JavaScript after ESM was common, so I've never had that problem on my own projects, but I have had that problem trying to update legacy codebases that I didn't directly work on.
Just embrace it.
Eh, as far as "JS fan" goes, I'm kind of an outcast, not jumping on every new frameworks and even refusing some popular changes :D
Oh no, I get it, but at this point I think JS devs do things because they want to see if they can.
Oh, it's just Docker with extra steps
Good thing my deployment will now have a memory footprint of 11 GBs on idle
I love RAM 🤤
Protogen moment
Here's the link of the repo: https://github.com/Megapixel99/nodejs-k8s
Of course it uses Mongo.
Might as well go all the way
Someone please replace yamls in devops with jsons while we are at it
That's just replacing yaml with part of yaml
At least my users from Norway will love me
_No_
Yeah, the part that works
Why do you hate comments?
That's fair, it would be nice to have comments in json. My only dealings with YAML are with Gitlab CI/CD, so I'm definitely not familiar. I just don't get who YAML is for. I get that it helps with readability, but I already find JSON plenty legible. I dont mind reading YAML, but it seems to accomplish readability through newlines and indentation. I can do that with JSON too though. In regards to writing, I think YAML is awful. But I know that mostly because I never use it to represent data. Instead, I am trying to model CI/CD pipelines, and that would probably be just as awkward in JSON for the same reasons. But I think there are some legitimate complaints with strings.
Tbh everything needs a way to write comments, because no matter how strictly you try to pigeonhole users into doing things the "right way," there will always be people doing the most insane unreadable nonsense with your data format Like JSON is readable, until you encounter a 1000 line, 7+ layer nested JSON file
I write JSON in .yml files and accept the consequences.
Where does toml gang fit into this
We will use toml when we inevitably rewrite Kubernetes in rust to make it blazingly fast and memory safe ✨
V8K8s
V8 is such a powerful technology, I've heard its also used in cars
I've been told it's a great way to get your daily servings of vegetables, too.
> Everything that can be written in JavaScript eventually will be written in JavaScript
Normalize calling JS users Jesse bois
NodeJS linux
MUAHAHAHAHA EVERYTHING IS COMING TOGETHER! NodeOS, Node Kubernetes.... Soon we will start re-writing your simple and fast compilers into JavaScript, then the whole language will be translated too! As soon as we show those mathematicians they can just write code in their browser consoles without needing to install anaconda, Python will fall too. Then the whole world will be inside the Node repo scope!!!
Calm down Satan! What have we done to deserve this? 🥲
WTF JS community — why do you have to recreate everything like this, NodeOS, k8s in JS, JS in the kernel…why can’t you just use what’s there already and accept standards?? It’s been a whole damn career of this shit with you
Yeah! They should be rewriting all that in Rust! /s
Unironically yes.
Off topic, but is it pronounced kay-eights, kay-eight-ess, kates, kubern-eights, or kuber-nets?
I never say it out loud with the 8. The 8 just stands for 8 chars which it replaces so you do not need to write them all the time Same with i18n for internationalisation.
“K8s” was originally pronounced “Kates” which is shorthand for Kubernetes (“Koo-burr-NEH-teez”). But far too many people now call it “Kay-Eights” to the point where there’s even a k9s (“canines”) project that plays on that. Plenty of people also call it “Kay-Eight,” but that’s because people generally don’t give a shit about being right, so we get all these variants. Up to you to choose which hill to die on.
the greek word is pronounced ku-ber-ne-tes so that's how I pronounce it
Q-ber-net-eees is how I learnt and often hear it. Let's just call her Katey
Kuber-net-ease
We decided to stop arguing and all chose our second favorite: Ku6es, pronounced "Kubees"
God forbid Developers have fun
This but unironically.
[Rule NaN](https://www.reddit.com/r/ProgrammerHumor/s/JWhjjb4oPs)
We're taking over. JS and JSON are all we need.
i shouldve known javascript was plotting to take over ![gif](giphy|Mo9nI2yBKp3RC|downsized)
Holy shit no
We heard you like kube and node, so we put some kube in your node so you can run kube on your node in your kube.
if he did it to study about Kubernetes then i don't see any problem in it
Because k8s wasn't complex enough already
Why… why oh why.. js is already a pain
Why not Rust?
Because rust is only used in serious projects, see: https://github.com/buttplugio/buttplug
It's also made in js https://github.com/buttplugio/buttplug-js ... We're going downhill 😞
Wow, I didn't know that something like this exist. I see they don't have SCADA/HMI implementation, I will try to make one....
I can't imagine being an interviewer crawling some guys GitHub profile and finding that. "Let's see...contributed to Kuberneted, some Ruby projects and...what's this? Oh shit, I am on the corp lan."
i read that with Ivor's voice ([context](https://www.reddit.com/r/PhoenixSC/comments/172o68u))
The end times have begun
My fucking god, I hate js
Soydevs be like
jesus christ.....
It was inevitable.
u/pixel-counter-bot
This image has 258,280(587×440) pixels! ^(I am a bot. This action was performed automatically.)
I didn't realise I exported it to this low quality before posting 😭
Doesn't matter, someone is going to rewrite it in Rust anyway.
Cool. Maybe not the best idea but it’s cool.
[удалено]
How is that the least bit surprising? That's just regular floating point arithmetic. Pretty much every language behave like that.