Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "node"
-
You know what?
Young cocky React devs can suck my old fuckin LAMP and Objective-C balls.
Got a new freelance job and got brought in to triage a React Native iOS/Android app. Lead dev's first comment to me is: "Bro, have you ever used React Native".
To which I had to reply to save my honor publicly, "No, but I have like 8 years with Objective-C and 3 years with Swift, and 3 years with Node, so I maybe I'll still be able help. Sometimes it just helps to have a fresh set of eyes."
"Well, nobody but me can work on this code."
And that, as it turned out was almost true.
After going back and forth with our PM and this dev I finally get his code base.
"Just run "npm install" he says".
Like no fuckin shit junior... lets see if that will actually work.
Node 14... nope whole project dies.
Node 12 LTS... nope whole project dies.
Install all of react native globally because fuck it, try again... still dies.
Node 10 LTS... project installs but still won't run or build complaining about some conflict with React Native libraries and Cocoa pods.
Go back to my PM... "Um, this project won't work on any version of Node newer than about 5 years old... and even if it did it still won't build, and even if it would build it still runs like shit. And even if we fix all of that Apple might still tell us to fuck off because it's React Native.
Spend like a week in npm and node hell just trying to fucking hand install enough dependencies to unfuck this turds project.
All the while the original dev is still trying TO FIX HIS OWN FUCKING CODE while also being a cocky ass the entire time. Now, I can appreciate a cocky dev... I was horrendously cocky in my younger days and have only gotten marginally better with age. But if you're gonna be cocky, you also have to be good at it. And this guy was not.
Lo, we're not done. OG Dev comes down with "Corona Virus"... I put this in quotes because the dude ends up drawing out his "virus" for over 4 months before finally putting us in touch with "another dev team he sometimes uses".
Next, me and my PM get on a MS Teams call with this Indian house. No problems there, I've worked with the Indians before... but... these are guys are not good. They're talking about how they've already built the iOS build... but then I ask them what they did to sort out the ReactNative/Cocoa Pods conflict and they have no idea what I'm talking about.
Why?
Well, one of these suckers sends a link to some repo and I find out why. When he sends the link it exposes his email...
This Indian dude's emails was our-devs-name@gmail.com...
We'd been played.
Company sued the shit out of the OG dev and the Indian company he was selling off his work to.
I rewrote the app in Swift.
So, lets review... the React dev fucked up his own project so bad even he couldn't fix it... had to get a team of Indians to help who also couldn't fix it... was still a dickhead to me when I couldn't fix it... and in the end it was all so broken we had to just do a rewrite.
None of you get npm. None of you get React. None of you get that doing the web the way Mark Zucherberg does it just makes you a choad locked into that ecosystem. None of you can fix your own damn projects when one of the 6,000 dependency developers pushes breaking changes. None of you ever even bother with "npm audit fix" because if security was a concern you'd be using a server side language for fucking server side programming like a grown up.
So, next time a senior dev with 20 years exp. gets brought in to help triage a project that you yourself fucked up... Remember that the new thing you know and think makes you cool? It's not new and it's not cool. It's just JavaScript on the server so you script kiddies never have to learn anything but JavaScript... which makes you inarguably worse programmers.
And, MF, I was literally writing javascript while you were sucking your mommas titties so just chill... this shit ain't new and I've got a dozen of my own Node daemons running right now... difference is?
Mine are still working.34 -
So today I decided to switch to angular 4(material) on a project I had done. I have to say I am shocked by the sheer size of the node modules dependencies I have to install. Why wouldn't they just ship it all in one package. 😤 I had to install the client, material SDK, animations etc and all this is happening over shit sub-saharan Africa internet speed. I have been setting up for the past 5 hours and I'm only halfway through. If anyone reading this rant has a company that works to bring internet to Africa please hurry. We need you.4
-
And then I asked myself: "How should I make my life harder?"
I chose react/angular.
Every node developers story.8 -
Me in 1996:
<html>
<head>
<body>My first website! I'm gonna be a website developer!</body>
</head>
</html>
Me in 2021: I have no idea what all that stuff in Node is for. All I know is that my boss says I need Node and gulp to compile this website to add a comma to a paragraph on a page for this client.
gulp
*a metric ton of errors appears*
@%#$!15 -
ONLY TODAY did I learn that the ".js" is optional in node when running a script.
I always ran "node server.js"
But by accident I ran "node server .js" with a space and it worked, I wondered why, and then ran
"node server" and it just fucking works. That's awesome.12 -
devRant, I love you.
You suggested I learn Java & Nodejs. I decided to jump straight into node & it's just great. I haven't done much, just a mini blockchain and played with packages, but I'm having a lot of fun with node.15 -
— Java is too heavy on resources! And desktop apps made with it give you this fugly, custom GUI that doesn't blend with your OS's UI in any way!
— What about Node and Electron?
— Oh, these are amazing!10 -
Rant++
Just want to mention this mother fucker named Allen. Allen is a fuckin' badass. This guy fucks.
This bad mother fucker like single handedly wrote one of the best fuckin libraries for displaying tabular data, and threw in a shit ton of JSON capabilities just to make it that much fuckin' cooler.
And why? Because he fuckin fucks thats fucking why. I already told you.
And does this son of a fuck support his fucking product? You bet your sweet basement dwelling programming fucking ass that he does.
Dude works that support forum like he no doubt works that pussy. With full and complete knowledge and control, but with a gentle mature touch. Fuckin right.
Do you hate PHP? Well this fuck made a Node version? Do you hate Node? Use that shit with pure JS client side. This dude doesn't give a fuck. Don't have a table? Pass that shit JSON and GET A FUCKIN TABLE!!!
Some dipshit in your company needs to edit a database table but there's no way on sweet baby jesus's green earth you're giving that dumb fuck DB creds? Run that dumb fuck up a fully editable admin portal in like 5 fucking minutes because fuck him.
There are few things in my life I love. My corgi and my kids, and most days my wife.
But always fucking DATATABLES.
So, Allen Jardine... just wanted to give you and your product DataTables and Editor a fucking devRant shout out. It continues to be the one ray of light that works as expected and is extremely well supported when it doesn't and some days I just need that fucking consistency in my life man. So thanks.7 -
A little while ago, my hackathon group started using Go more than Node....
I had to ask...
Where did all the Node hype Go?6 -
Fuck, I just lost a node module name.
A few days ago I had an idea for a node module, checked npm to see if the name was taken and it was not. Today I was going to publish it and found out someone registered it 2 days ago.
Now I'll have to think of another name or publish it under my username...8 -
WTF
/Users/me/my_company/my_project/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp
this is getting ridiculous8 -
Whenever I'm trying new tech at work I don't keep interrupting people ta help me with error messages because ITS A FUCKING NEW TECH AND NO ONE WORKS WITH THAT SHIT!
WHY THE FUCK YOU KEEP ASKING ME FOR HELP WITH YOUR FUCKED UP NODE SHIT AFTER I TOLD YOU THAT I DON'T LIKE IT? STOP IT!3 -
New spin on the Manager / Dev format!
Recuiter: WE NEED AN ABSOLUTE NODE EXPERT, NODE NODE NODE, WE LOVE NODE! WHAT IS YOUR NODE EXPERIENCE?!?!
Dev: Well I've had exposure to it since it was nearly new, all the way back in 2012, and since my professional career started about 7 years ago I've used it fairly often on a per-project basis.
Recruiter: WELL HAVE YOU BEEN USING IT DAILY FOR THE PAST 5 YEARS!?!
Dev: Well no, as I said I've used it for specific projects... anyway, there are these things called weekends...
Recruiter: WELL WE ONLY WANT NODE ZOMBIES SO SORRY.
Dev: Thanks for reaching out and wasting my time.
Recruiter: ...
Dev: ...
God recruiters are like robots, don't they understand senior-level engineers are language agnostic?6 -
If your room is a bit cold, simply initialize a node project in a Dropbox directory and let the node_modules folder syncing be your personal heater2
-
Was trying out React Native and creating a Hello World, I checked the file size and it was about 465mb, and I just thought it was nonsense, then I checked the size of the node module and it was 465mb...smh
god damn node modules man!7 -
so im deciding to byte the bullet and roll down the angular road.
install node they say, its quick and easy they say... 1 hour later after
./configure
make
im starting to wonder if i made the right decision.10 -
My current company decided to do all automation in node.js.
Crawling, new projects, processes, all of it in Node.
Fuck my life.19 -
Did anybody else know that putting comments in your HTML creates an EMPTY TEXT NODE IN THE DOM?
REAL helpful information when you have to GATHER EVERY ELEMENT WITH TEXT INSIDE OF IT!
WHY WOULD HTML EVEN BE LIKE THIS? IT'S A COMMENT! WHY DOES IT HAVE ANY EFFECT, even if it's minimal, ON THE DOM WHATSOEVER, THIS DOESN'T MAKE SENSE!4 -
I just removed a couple of packages from package.json and my compiled war went from 53 MB to 37 MB.
What the heck are you downloading node? I don't like such bloated packages. -
so a few months ago, in my language class, I was quickly restarting node when this turd behind me said "Why are you hacking your laptop?"
I mean seriously wtf, I was just restarting node. -
So I'm playing around with Node late at night and decide to make something of it. Made a real-time 2-way communication system with NodeJS, Express and Socket.io. The UI currently looks cheap, but it's clean. Open multiple tabs to see it in action.
You can also send private messages by typing /p username message. I could add authentication here and also connect it to MongoDB.
Any other ideas or reviews? Also any other ideas for Node projects? Thank you.
Try it out here: https://node--chat-io.herokuapp.com4 -
I don't know if it's the new generation of programmers or what but it irritates me how people recommend JavaScript/Node for solving almost any type of problem these days. JavaScript is nice, but come on...12
-
When you are working on a small project that is ~500 lines of code, but you have 27mb of node modules7
-
How I wasted my Sunday:
A programmer I know claimed that his Nodejs app was lightweight since it only relied on 2 dependencies (express and mongodb)
So I wrote a script to recursively transverse the npm dependency tree and count the number of dependencies there actually is
Installing those 2 packages alone means your app depends on 73 pieces of software in total
In conclusion, nothing written in Node is ever lightweight
Oh yeah, it was also Easter I guess8 -
Node modules saved me today....
I did
$ rm -rf *
accidentally.
And then while it was deleting node modules i cancelled it and saved my work.8 -
I cant express how outraged this makes me feel.
Me to my PM months ago (when I started) "we should upgrade the versions of node and angular when I do the tests (because yes, no tests at all)
Boss:"why? No no"
Our version of node 0.10.40 has no support any longer. But hey, I'm leaving that role :-) good luck new guy if new guy comes....2 -
I just watched a talk given by Ryan Dahl, highlighting what he considers to be some early design mistakes with Node:
- Removed early version of Promises
- Not sandboxed by default
- GYP compiler
- package.json
- node_modules
- require() without extension
- index.js by default
https://youtube.com/watch/...
Also, his new project Deno sounds like Node 2.0. Interesting!4 -
Worst pun of the year contender, a colleague said to a node Dev...
"These Node Devs are all the same... They think they node it all"1 -
Node: Will you go out on a date with me ?
JavaScript: Where?
Node: Outside the browser.
JavaScript and Node lived together happily ever after.
*** After marriage ***
Node: What is wrong with you? Why don’t you let me EXPRESS my feeling?
JavaScript: Stop overREACTing.
Node: You never want to understand my point of Vue.14 -
I manage one of the shittiest parts of the codebase in the company. I spent the last couple of months rewriting and refactoring and optimizing without being asked so i can make my life easier and earn some good employee points.
Last Tuesday I got a call from the CTO, he was like "i love what you did but i think changing the language used for that would be cool so i rewrote some of it in Node, lets finish it up together and use the version of it in node from now on."2 -
Why does node-sass have such garbage documentation?!
I've now spent over an hour trying to get a clear and concise answer to how that shit works, and what do I get? This: (see picture)
I don't know what any of that means, nor do they care to tell me.
I don't want to render this shit at runtime, I want it to compile the sass code when I make changes to it so my app doesn't get boggled down by unnecessary background processes.
But nooo of course not.
To top it off, the "easy" electron-compile solution doesn't even fucking compile because all its dependencies are either outdated or 404 on me. 😡
It's shit like this that makes me hate web-style development. Lacking documentation and people who just assume everything is logical and clear from the start. It's fucking not.4 -
That moment when you are tired as fuck, sleep is at the doors... But you wanna carry on with your Node app till you have something cool to push 😬1
-
Want to bundle your files: Node.
Want to minify your scripts: Node.
Want to tree shake your code: Node.
FUUUUUCK OOOOOOOOOOOOOFF I DON'T WANT NODE14 -
Yo...wtf
A node package, event-stream. Was infected. Basically, the exploit seems to steal data from mining cryptocurrencies. What was amazing was the github repo owner's attitude about it. I would normally agree with it not being his issue anymore if it weren't because:
1. The pendejo did not archive the repo to indicate that he is free of fault and not his anymore.
2. You can't just entrust a fucking software lib to any pendejo that asks.
3. Eat a dick nigga
Peace out
https://github.com/dominictarr/...13 -
TL;DR:
What do you think about visual scripting.
Pretty much anyone here knows Scratch. And most devs make fun of it (while most also know it's a real programming environment), yet what do you guys think about BLUEPRINTS or Visual Scripting?
Starting to learn Unreal, I have two choices. C++ or Blueprints. While some argue that Blueprints can't achieve and replace C++ in Unreal, I saw others ignoring the fact and making awesome stuff you didn't think was possible. I saw how powerful even this node-based programming environment is and started learning it. What do you think?
(Image from Masterclass, not by me)7 -
I will die younger because of node packages
It's like quantum mechanics, so undeterministic, even with yarn.lock, I had this meeting to demo software and I was ready for 2 min past the meeting time, having worked nearly all night to save monorepo yarn workspaces issues where some module has peer dependency it shouldn't have and some other module installed a newer version of a package which broke another module with another version of the same package, one module checks if it's got an instanceof another package, but it returns false because it's another version of the same package that created it so X !== X.
I nearly had a nervous breakdown and my node modules won't fix when I remove all node_modules in the yarn+lerna monorepo and reinstall from scratch... it's like seeing ghosts with these errors all works for months and then a butterfly splashes its wings near 1 node module and the entire app fails apart.
:'''(2 -
This is what happened today in our dayli:
Lead: We need to profile our software
Me: You can use the chrome devtools as remote profiler, even on prod, or make HAR files for later inspection.
Lead: Yeah but no that’s just collecting data on every tick, we need something like “has been called x times”
Me: Yeah but you can filt -
Lead: Yeah no, so back when I wrote code in Delphi...
Me: *oh god no not this again*
Lead: ... We could have clicked a button in our IDE and it would wrap the function call with the API call to profile that function ...
Me, to the secret dev group in slack: doesn’t a simple method decorator and node performance api help with that?
The people in the group: We had this topic last Friday all day...
Me: oh well *get’s coffee and ignores lead*3 -
😃My boss, always positive.
Somebody told him about node.
He came to office and says...
Node sounds a good plan for our app. How many nodes we need to host a website?🤔4 -
Beware of NPM packages maintained by Brandon Nozaki Miller alias RIAEvangelist. He added IP-specific malware to node-ipc.
https://security.snyk.io/vuln/...
https://github.com/RIAEvangelist/...16 -
I was at my study once where I had to start a node app on a server I couldn't reach because SSH was bound to a port blocked by the network. SSH'd into my vps and from that vps, ssh'd into that box 😁 worked like a charm!
-
Playing with tree like structures today. Had to write a function where a node produces a new node containing data from both self and parent.
The moment when you realise you've just coded incest...1 -
People use this to argue why node is better. I instead use it to show why node sucks. More is less. Be ready for 3gb node_modules.12
-
"Why wait when you can ASYNC ":D
Heard this somewhere long back. Coming back to me now while learning node.5 -
Dev nightmares :
- Not finding bug fix on stackoverflow/GitHub .
- Losing code that hasn't been pushed to GitHub.
- Dealing with an unclean and inconsistent database.
- Installing Node Dependencies.
- Resolving CORS and 500s.
- Training a Linear Regression Model with 700 epochs on an entry-level Laptop.
Keep appending to this list.
#devrant #devnightmares20 -
I don't know about y'all but I'm going to make another node module this weekend. The world needs another one of those. 😛1
-
4 months into the journey at an ambitious streaming startup we, a team of 10 engineers (primarily full stack), sets up a tiny and performant express.js api setup.
We document plans for improving the maintainability, including outlining specific practices (not very different from general node best practices) that need to be followed for all new development.
Enter a new engineering manager (dedicated backend manager), henceforth referred to as S, with a rat face and brain that belongs in a rat hole.
Week 1:
S: let's push this new feature out asap
Dev: it'll need a couple of weeks to get done right
S: let's push out a functional version tomorrow, and revamp in the next iteration
Dev: ... (long pause) there's documented practices specifically directing against this
S: can you not do it by tomorrow
Dev: not if it needs to be done right
S: all you need to do is.. (simplifies changes spanning 5 modules into a 3 line summary)
Dev: yes, (outlines how each changes chains into the others, and how to keep the development maintainable for atleast a few months)
S: (interrupts every sentence saying "yes dev, I understand, yes yes")
Dev: could you please tell me how you expect me to connect (outlines two modules that would fail unless developed as standalone services)
S: Yes dev, I understand, yes yes. I don't have much experience with Node.js, so I can't tell you that.
Dev:
<_<
>_>
O_<
Our.. entire.. backend.. stack.. is.. Node. (Months of motivation, cultivated through hard work over late nights, dies inside)
I need a J and some sleep.6 -
NODE 18 MOVES INTO MAINTENENCE TOMORROW
...do you know where your legacy software is?
This was a free public service announcement brought to you by your favorite 🎪🤡🤹♂️6 -
How a node js developer's Terminal history look like --
npm install random_package
npm install shitty_package
npm install I_don't_know_what_it_does
npm install crap2 -
Man... NW.js (node-webkit) apps are a piece of garbage on Ubuntu. After wake from sleep every app is using 100% CPU or hangs. Spotify, Slack, Postman, Jetbrains Toolbox.
I miss native apps... Or MacOS. I don't know anymore.3 -
I swear to god this industry needs some serious purging. I was trying to google the parameter to Node that crashes on unhandled promise rejections so that I can get a stack trace and debug it properly, and literally all relevant SO questions were asking how to _prevent node from crashing on unhandled promise rejections_. In what realm is that preferred behavior?7
-
Was wondering why my script wasn't working. Added it to my node modules. Imported the style sheet with a require. Checked the gulp config file. Made sure it was in my pipeline. Checked my webpack settings and made sure jquery was loaded first. Checked my version on npm, crossed referenced with my package.json file. Why isn't it working....forgot to add the script tag in my html😤2
-
Converting 1.5 million lined web app to a rest API....realizing it would be so much easier to just re-develop the web application....at least we're finally starting to move away from coldfusion and heading to node!
-
hey guys...
i need to create an application with video call and streaming...
i was advised to use node or golang as backend.
Does anyone know or have an advice to me or do you about a library or framework? other language, database? idk
thanks to all of you3 -
Can a sysadmin start Node web design?
I'm a Linux automation admin, and I always look at my friends developing nodes websites with poor UI and UX. I'd love to fix that but have no idea where to start from.
Any idea or git project / advice on where to start from?
Cheers!
~ exit8 -
Going for an interview with them asking me to open console on their laptop and type a 1 liner in JavaScript that will make an array with indices being numeric values 1-20. Their machine doesnt want to work and never wanted to log in... So i do the following:
1.Pull out my phone
2.Open Thermux
3.Ask for wifi password
4.Install node on my phone and write the below attached code
Needless to say. I actually feel good about myself, i got the job and a good offer and the network password...6 -
CAN NODEJS KINDLY GO FUCK ITSELF?
well maybe not node itself, but those node js so-called "professional node developers"
WHO THE FUCK thought it was a good idea to pass about EVERY SINGLE ARGUMENT as a global variable so absolutely no code insights are available, eslint with THEIR eslintrc shows ABOUT ONE MILLION DIFFERENT LINTER WARNING and on top they commited the node_modules folder
-_-
I'm out.4 -
Node: The most passive aggressive language I've had the displeasure of programming in.
Reference an undefined variable in a module? Prepare to waste your time hunting for it, because the runtime won't tell you about it until you reference a property or method on the quietly undefined module object.
Think you know how promises work? As a hiring manager, I've found that less than 5% of otherwise well-experienced devs are out of the Dunning Kruger danger zone.
Async causes edge cases and extra dev effort that add to the effort required to make a quality product.
Got a bug in one of your modules? Prepare yourself for some downtime because a single misplaced parentheses can take out the entire Node process, killing unrelated pages and even static file hosting.
All this makes for a programming experience that demands much higher cognitive load, creates more categories of bugs, and leads to code bloat/smell much more quickly than other commonly substituted languages.
From a business perspective, the money you save on scaling (assuming your app is more compute efficient under Node) is wasted on salaries and opportunity costs stemming from longer dev time, more QA, and more frequent outages.
IMO, Node is an awesome experiment, a fun language, a great tool for specific use cases, and a terrible fucking choice for an entire website.8 -
I need some help from you guys. I'm in search of a cheap, little webhoster for classic and (hopefully) node projects. Is there something viable out there, I missed on my research?23
-
I wanted to add a simple gallery for our website.
I started browsing open source alternatives.
Result: "Depens on jquery, depends on node, depends on bla bla bla... Fuck it... I'l just make one myself."2 -
Generator functions should be treated like sorting algorithms: Not worth your time if all you have is 4 or less async instructions.
Callback hell is actually kind of nice and warm when you're a just a few levels down. If you're really confused by your obfuscated code, you suck at node. -
I just released my first NPM package that is actually functional and used in a private project (https://npmjs.com/package/@lbfalvy/...) and I have to say, the quality of debug tooling for Node is abysmal. I spent 4 hours just on Webpack's "Field browser doesn't contain a valid alias configuration" error which simply means "package not found", and then getting Rollup to output a working compiled javascript _and_ a d.ts was its own day-long ordeal.4
-
I'm a node JS developer, but I basically don't use Typescript but with the whole buzz around the technology, I feel I'm doing something wrong by not using Typescript and refusing to learn it. What do you think?4
-
Building a new machine for NodeJS. Installing Gulp-sass has a dependency on node-sass - which has a dependency on node-gyp - which has a dependency ON PYTHON!!!
and.... python 2.7, as it doesn't support 3.0
Doomed - We're all doomed.5 -
Unpopular opinion: JS isnt that bad (given you use ES6+). Only node needs to die, and if possible please yesterday.11
-
So... We're going to totally rewrite one of our web applications at work. It's currently written using the .NET framework, and we're moving to Node.js instead. For me, that's absolutely wonderful! Outside work I practically only work with Node, so I'm happy. There is just one thing that's bothering me. My colleague wants to use MySQL for the database. Even worse is that he's the one deciding, since I started working there just a couple of weeks ago.
Now, I really, really want to use Mongodb. It integrates so wonderfully with Node together with Mongoose, and just the thought of using JSON everywhere makes my body shiver of satisfaction.
So therefore I have two questions.
A. Would you prefer Mongodb over MySQL for a node application?
B. How the hell can I convince him to use Mongodb?!
Cheers!11 -
"You broke the build"
o.O
Me checking the build.
Oh. There's a weird 500 from github.
Oh yeah:
Error 503 first byte timeout
on the package.json of some node dependency.
That's what you get for relying on the cloud. -
NODE CRYPTO YOU PUSS RIDDEN CANCEROUS CYST ON THE SWEATY BALLSACK OF THE INTERNET... fucking explain to me how every mother fucking module in node with require(‘crypto’) in it throws a hissy fit at runtime when I call only 1 file with it in it?! These packages that I’m not fucking using by the way but are nonetheless included by default in node are the ones having a meltdown.. and nodes answer?! Use the embedded functions. WHAT THE ACTUAL FUCK?!! If I didn’t need it Node could go and get gang raped by an angry pack of silverback gorillas. Fuuuuuuucccckkkkk yoouuuuu2
-
Every Node.js dev today - Deno is awesome! Much better than Node. Let's use Deno.
Still every Node.js dev - Why can't Deno run my simple code? Why can't they make Deno work exactly like Node?6 -
Updating angular and npm/node/whatever the fuck is the most difficult and convoluted thing ever
Web devs, you deserve better than this awful piece of shit cable mess of a fucking "framework" or whatever the fuck this retarded shit is meant to be2 -
I have reinstalled node js 3 times to run JS scripts and "npm run dev" is not starting up the server. This is quite frustrating.29
-
!rant
Today was a good day. I finally managed to wire up the entire backend system for my portfolio using headless Drupal 8, Node and React. And it happend after work!
Took me a week, and I'm new to the techniques. :D1 -
*thinks about making an led project with sound analyzer*
ah that’s just some basic math and there is probably an RPI compatible sound analyzer library on npm…
> starts project in node
> realizes the ws2811 adapter library doesn’t have everything you need
> forks and implements those changes
> compile for node
> realized there is no good sound analyzer in node
> starts to rewrite an c++ solution in node
Wait what the fuck am I doing here?
> starts the project from scratch in c++1 -
I know streams are useful to enable faster per-chunk reading of large files (eg audio/ video), and in Node they can be piped, which also balances memory usage (when done correctly). But suppose I have a large JSON file of 500MB (say from a scraper) that I want to run some string content replacements on. Are streams fit for this kind of purpose? How do you go about altering the JSON file 'chunks' separately when the Buffer.toString of a chunk would probably be invalid partial JSON? I guess I could rephrase as: what is the best way to read large, structured text files (json, html etc), manipulate their contents and write them back (without reading them in memory at once)?4
-
!rant but kinda
Rails 7 got rid of webpack and Node as a requirement, and for this I am super happy. I heavily disliked having to depend on Node for what is in fact a Ruby framework. I understood the need for it, and I always applaud Rails for being at the forefront of the web dev world and all of the trends that it contains. But maintaining both the node modules required, plus the gemfiles etc was just a big hassle for the simple projects I ever worked on.
This is coming from someone that actually likes JS and Node, but I am thankful this was decoupled.6 -
hey guy just FYI node is not a Fucking cure all.
also "knowing" node doesn't make you a Fucking full stack developer. learn some real damn languages.10 -
Am I only one who forgets to do
npm install
after cloning repo ,
and then stress over errors appearing on terminal1 -
rant && !rant
Our timetable for lectures are online as "rapla" eventsystem. I want to write a small app including a timetable. As I didn't found any way to get the lectures as JSON (Bad documentation of API) but only as formated (and ugly) HTML View, I just wrote a small node module that parses the html body with cheerio and fetches all needed data of each entry in a week. Worked out pretty well, will add more functionality.
Never felt so independent 🙌🏻 -
Have you been using node js for a while now? Are you aware of how things work internally in node js? the queues in node js? Doesn’t matter if your answer is yes or no, I will let you in on one little secret which will clear all your doubts regarding how node js works asynchronously under the hood.
Read the following article to know more
https://readosapien.com/queues-in-n...rant node-js event-loop callstack nodejs macrotask-queue callback-queue javascript microtask-queue js programming software2 -
Aaaand my side project is in the prototype stage now!
It is a node based terminal emulator and it's Open source.
https://github.com/iostreamer-X/...3 -
While setting up a node app while sitting behind draconian proxies:
- first, set $http_proxy & $https_proxy
- set git proxy
- then, npm proxy, jspm proxy and bower proxy
- followed by strictSSL to false.....
After moving to home network/VPN, change all of these proxies again. It is a never ending vicious circle :(1 -
Til that Node 10 has `for await ... in`. Basically looping async iterators. This changes everything!5
-
guys I did it
I'm trying to set up a second Fiverr gig for tutoring Node.JS but i needed an estimate of how long it would take so my friend who doesn't like coding very much agreed to help me
and today he said he understood the cirriculum, was not overwhelmed and had fun
yay2 -
node devs are the dev-world equivalent of the 12-year old in a crew cut who really thinks your shoes are dorky.
there was a oop question on reddit/node that had 1000 "ew/cringe" replies before anyone said "nice class"3 -
use apt-get to install node and npm, use npm to install bower, use bower to install angular... Packageception.1
-
Today I decided against installing a plugin for my text editor because the plugin required node to be installed. Node is bigger than my text editor.2
-
First rant!
Ah, npm... Lots of packages use ES6 syntax because it's nice to write, and then transpile to node-compatible code either with CI or a precommit script. Just spent a whole day trying to figure out what was wrong with my project, when it turns out I just had to tell webpack to ignore node_modules *except* for this specific package. Sigh.2 -
So I made a repo to have a template to initialize node projects.
I copied the folder to a new folder and found all commits where there but I wanted to start fresh.
Quick googling on how to just start fresh ... then I realized I might just delete the .git folder, see what happens.
Then BAM! All fresh,
git init
git add .
git commit -m "first! Template set"
Life is easy sometimes. -
I just learned vue.Js, its very easy to learn, and it introduced me to node js, now i can build node apps with express and i can even use modules and build my proper ones.
#javascript #VueJS2 -
I like how firebase deprecated their support for node 8 (leaving you only with node 10) but node 10 support is still in beta...3
-
Network code is hard. Events come all the time and it's really difficult to account for all orderings and uncanny timings. Have you got any advice, book or paper about it that I should read?
I'm using node and websockets btw.7 -
What the shitbiscuit is happening with trying to build a single window, 200 line node project? Who thought it is a good idea to use ShitScript to write desktop applications?15
-
Trying to run our Angular application today, got this error message: "Node Sass does not yet support your vurrent environment: OS X-64bit with Unsupported runtime (64)"
JavaScript frameworks cause problems on different hardware architectures and platforms. That probably was not easy to break...4 -
I had to choose a subject for a math project. So I selected encryption (elliptic curve). I decided to make an interactive demo website. First time working with node, websockets, large numbers and latex. Most fun project I ever did. I am still proud on the result and how fast I did it (~3 weeks)
-
I'm between Node js and (yes) blockchain. Node has amazing possibilities, and well distributed could end with the crappy servers era. Even my crappy server could fall to node in some weeks.
Blockchain is the best chance I see to take control over a market full of companies stuck in the middle's XXth century business model, and has a lot more to provide -
After spending lots of money on a Mac mini 2014, ngrox, and other dev tools to get jenkins working for android, iOS, and node.js, I'm giving up and switching to bitbucket pipelines. Recently, my web builds having been taking +25 mins just downloading node modules. Let's see how fast bitbucket pipelines is. Especially with caching node modules.1
-
thank me later
deprionode() { for f in $(pgrep 'node'); do renice +20 -p $f; done ;}; export -f deprionode
prionode() { for f in $(pgrep 'node'); do renice 0 -p $f; done ;}; export -f prionode
Especially if you run a MacBook pro7 -
Have you ever tried to get something working in node.js... and the version and uninstall and reinstall... hours and hours of dicking around with this god damn raspberry pi zero only to find that node jack shit does not support the "older" ARM 6 processor on the newest raspberry pi zero Wi-Fi units. And omg the amateurs out there with the copy-paste half-assed "help" clogging out the real info. God damn hobby ware.6
-
What's the best nodejs framework for the MEAN stack? I need to do additional things to put TypeScript in node js and express. I have seen nestjs with a good directory structure and also uses TS by default. How about meteor or Koa?
Should I just add TS to my existing node and express? Or use nestjs or some other nodejs framework. What do you suggest?3 -
Is it just me or is Node a pain to set up? I'm trying to make an Ionic app and every time I've tried installing Node, all necessary packages, etc I always get errors.4
-
I feel fucking stupid about using a custom node system at work. It is designed to generate an xml file for configuration. However, when using a node I cannot add more to the node unless the node has data. So I gotta call a function to inject useless XML into the node for it to not be empty. I literally set the internal data to <key></key>. It is stupid and I hate it. Just let me create my node hierarchy damn it!
Is this some weird data pattern I should know about? Like what does preventing adding data to an empty structure do? I have the root node. Is that not enough. Remember, this is custom node system that is probably fucking 20 years old. The previous coders did a lot of walled garden shit that I also hate. Prevents reuse of code. This code might just be more of that shit.1 -
I wrote another docker blog post and this time I used it to solve a real problem at work 🤘
https://blog.mrcsharp.com.au/2019/...
let me know if you have any feedback/comments on the content. -
I accidentally added an node project with node modules into IntelliJ and its still indexing my files.. hopefully it'll get over till my next years appraisal3
-
guys, I've spent 3 days trying to deploy a small site with a nodejs API on ubuntu/apache with a reverse proxy.
I was cursing everything and everyone when I realised the node app was listening on port 1337 while the proxy was set to 31172 -
wtf is up with node-sass? Basically every project I've ever worked on breaks because it can't build with node-gyp anymore or whatever6
-
Is VSCode some kind of sorcery?
I run into issues with node version compatibility with node-sass when tried "npm i" in the eOS console. Then I don't know why I tried the same command in the integrated terminal and had no problems.
What???2 -
I can't believe express would betray me like that. Doing a POST request to the Twitter API every time I use it, tsk tsk tsk 😫
https://medium.com/friendship-dot-j... -
Wouldn't be node js a good fit for a performant message queue, I mean it's async from the bottom up, a low memory footprint and good rx support? Or what specific does a good mq require?1
-
Even though I'm learning Node.js, I'm still a little confused about the distinction between Node and frontend JavaScript.
Where does frontend JavaScript end, and Node begin? What are the practical distinctions between the two?5 -
Want to get your web-app authenticated,
using nodemailer on local host costs nothing but when your app wants to be deployed node mailer cries for a OAuth2.0 Authentication.......Really tired of getting the things fine as i am just a beginner. -
Microsoft pushing to get its js engine included in Node, I thought forced win10 updates is where they would stop at. But then again maybe chakracore and Node will play along exceptionally well, maybe better than v8.
-
Hey guys passport authentication seems so cool in node, its a little bit hard to learn though...i will work on it today and try to create a demo project on it :) , traversy media has this great tutorial on it2
-
There are developer tools for Node which I understand what they do, but I don't understand what problem they are solving. It's everything so crazy
-
Pretty sure I've decided to dedicate to shipping electron applications. The problem is I've only lightly dealt with node, recommendations on where to start?3
-
Anyone know any good free courses to learn programming for a total beginner?
The guy who needs it is looking to work with JavaScript and Node eventually.3 -
Any NODE-JS.pdf available to learn a bit deeper.
Links would be great.
Names, if you've downloaded before.
Thanks in advance.12 -
Dear Diary,
Today is October 31st, ‘Halloween’ according to ancient pagan tradition. I can’t help but wonder if those pagans of yore felt as I do now in their attempts to yoke unruly bands of spirits. I sit wearily at my desk in painful and tiresome reckoning with those new hellcats we call node dependencies. Many an hour I have toiled, maestro of a cacophonous orchestra akin to that tucked in later pages of Bulgakov’s magnum opus, pleading with the band to follow my wand. And to no avail. In the wee hours of the morn I can scarcely tell who is conducting who. My sleep laden eyes blink on each execution of yarn install, my fingers knowingly re-execute with an up-arrow enter when that instruction is returned with gnarled, gruesome errors. And I ask again: “who is conducting who?!“. Will this great devil of machinery eventually meet me with an error so fearsome that I myself lay asunder? It is a battle, make no mistake. It is the “trial of a thousand years”! And who shall come out victorious I know not, but rest shall not come until I either lay myself down into the jaws of dependency hell or emerge victorious.
Dear Diary,
Today is November 1st. Compiled on the first try, no additional changes FML1 -
By gods, being forced to install node-gyp on windows feels like a very cruel version of hell. Why we haven't yet migrated from node-sass is beyond me.7
-
Webpack, requirejs, AMD, browserify all are wonderful tools but they don't play nice with node(client side) .
I LITERALLY switched between all, because the hacks worked but not quite. (Using node and electron, go figure!)
You know what they say fifth times the charm.1 -
Hello, a question about Node project -
How to import node libraries only once and use them all over the project.
I have asked it on StackOverflow, link to it
https://stackoverflow.com/questions...
If you guys have any idea for it, please, share!15 -
The Node and its magic tricks never cease to surprise me.
I created several new components and tried to compile them for verification. Then this big fat error popped up.
I commented out all the newly created code (didn't remove any files, just did ^A^/). Recompiled. This big fat error again.
Undid modifications I made to the files that existed there before. Recompiled. This big fat error again.
Moved the newly created files outside of the project scope (mv app/<...>/featureX/ ../bkup/). Recompiled. SUCCESS.
Moved all of those files back (mv ../bkup/featureX app/<...>/). Recompiled. SUCCESS.
wtf...2 -
Laravel use SASS,
SASS installed through NPM & compiled with Node-gyp,
Node-gyp need build tools each platform,
Build tools for Windows is Visual Studio.
So, I need to install Visual Studio to compile SASS?
GREAT!!!2 -
I'm implementing a REST API that returns data as it's fetched from MongoDB.
If it's returned all at once it would be a JSON a string like [{}, {}, ...]
But what about when it's returned as a Stream?
Node by default seems to just return it as {}{}{}{} but that can't be parsed by the program that requested it?4 -
Has anyone else noticed that Inc.com article titles are extremely clickbaity? Seriously though!
Given that, I've built Wormbait for node, it "learns" from 1040 Inc.com titles and predicts if a title is clickbait or not. `npm install -g wormbait` and launch with 'wormbait "is this clickbait"'1 -
Node.JS 🟤 Node.JS 🟤 Node.JS
C:\Dev>npm install -g lerna@4
⚠️npm WARN engine lerna@4.0.0: wanted: {"node":">= 10.18.0"} (current: {"node":"0.11.16","npm":"2.3.0"})7 -
2014
I did some cool projects with node JS.
We had this project where we had several embedded sensor box components communicating via a node js server backend with some fancy visualization.
And one of the guys was a total idiot. His part was to write some embedded code for a sensor box. He also wrote some data receiver in C# which was a totally over patterned mess and nothing worked.
For some unknown reason this guy made me his arch nemesis. He also never liked the team. While the rest of the team actually was super cool.
So in the final presentation out of a sudden in his part of the presentation (He had a Mac and had his slides done in some nasty whatever incompatible format) he pulled out some slides with code metrics. The best part was where he compared the embedded C code with my js code in terms of cyclomatic complexity. I will never forget this moment. Some nice bar chart.
Good I loved that guy for this moment.
And that made my year! -
So you need babel to run es6+ on node js because node js can't handle es6 yet. 🤔
Why can't the node guys work with the babel guys to integrate babel with node and save me the extra stress of having to figure out if my es6 code is not working because of a syntax error or because I didn't transpile properly🤷♂️17 -
Has anyone experience with Frontend Testing and can suggest something good?
Note: JavaScript / Node JS3 -
Working with the codebase from hell here:
struct UnitNode: Node {
typedef Node super;
Stop making C++ look like Java! -
Why TF does nodejs just eats 100mb of ram away for a simple application with ONE websocket connection ? I've tried getting some heap snaps, memory allocation timelines and used memwatch-next, but to no result AT ALL! Since the heap stay small but the rss memory grows like there is no tomorrow.
-
I was and still I am a good php developer I wanted to shift to MERN stack and then react native. I started learning react and node, although they were just javascript I never used javascript this intensely and then there was ES6 and 7. I stared it in the end of last month.
God knows how much I had to focus just to understand basic stuff. And then built my first project with react. This was the changing point for me, everything started coming all together. Believe me, I stared building react native projects within week.
I'm really happy to learn this stack. Starting tomorrow, I am starting a new project with user authentication and APIs. If anyone has any tips or suggestions for me then go ahead.1 -
I'm just new here
and I see alote of devrent users hate js and spesialy node why?
its cross platform lang and that all what you need to be fast and got the work done 😉
imin love with jquery 😳4 -
So i'm trying to upload a file to an SSH server using node. First I try the obvious putFile method provided by the obvious node-ssh package. On any other server this would work fine but this server doesn't have sftp installed so that doesn't work.
OK, so next I learn how scp works (it runs the command "scp -t" on the remote server, and sends to stdin a command like "C0666 1234 file.txt" and then sends the contents of the file) and I write some javascript code to do this. It's pretty finicky, the first few tries I forget to close the stream right or detect the program finishing. I add some logging and that helps me figure out what the problem is, and finally I get it to not output any errors.
So I log into the server and check and the file isn't there. I try again several times, file still isn't there. I try running scp -t manually on the server, typing in exactly what my program is sending, and it works. This goes on for a while until I realize that I've been sending a file to one server and logging into a different server to check if the file was sent. grrr6 -
Primary debugging tool while working with PHP: print_r();
Primary debugging tool while working with Angular: Developer Console logs
Primary debugging tool while working with Node JS: Node Terminal.
What's yours?3 -
So I'm working on a game prototype and want to toy with the ability for people to create customs mode/maps/campaigns and upload them to a community marketplace.
I'm looking to host all my data using Google Cloud Console (I use it for personal stuff so i trust it).
I want to use the app engine to minimise some of the overhead from using a VM, but really would like to stay away from SQL if possible, would you guys recommend building a PHP back end or a Node.JS back end, I would have all the data get saved to a private bucket if you were curious how i would store stuff.4 -
Quick disclaimer, it is easily googlable, but no matter where I search, I can't find a solution. This is why I'm trying here.
Okay, so the other day, I was trying to install the node package sqlite3, and it spat out errors all day long from the node-pre-gyp native module and from the node-gyp native module. I am using the latest LTS (as of 5/10/2018), and I can't get any answers on HOW TO FIX IT...! Please HALP ASAP!12 -
Teamleading apprentice reporting in.
Today our new frontend employee told me our app wont start. I have wasted 90 minutes figuring out somebody installed an older node version via remote. Turned out the head of our administration thought: mhm it has been more than three weeks since they reported they had problems on the new frontend employee pc, lets check it out.
He did not inform anybody, not the user of the pc, me or the head of our IT department. -
To all node developers...
Is there actually a pure standard library into node? I looked at the docs and as Hello World it uses Express.js, so I'm wondering if there's actually something beyond the interpreter inside node.5 -
This is the most f*cking frustrating moment in my life. I am trying to install node-sqlite3, but I am constantly failing to install OR use the thing. The problem is, it is only compatible with node versions 4.x to 7.x. I tried my hardest to make it work with node 8 and higher, but failed miserably. If anyone has suggestions, write in the comments.2
-
First assignment of the algorithms, data structures and computability module Im doing for my degree.
Priority queues can all eat a bowl of dicks.
It’s just an insert method, I can insert a node into an empty queue, I can insert a new node at the start of the queue.
But trying to insert a node into a specific place in the queue is making my brain hurt.4 -
my node JS app errors out when run in terminal, but works fine with the "run" button in my IDE???? WTF3
-
Here's a fucking brilliant idea:
apt-get install nodejs should download and install node latest version. This would be instead of having 18 fucking tabs open and reading through masses of stackoverflow answers for 18 months and typing thousands of instructions in the terminal and learning to fucking HATE node to install the latest version of node. Radical, I know.15 -
I present the nuclear option to update Node project dependencies:
https://gist.github.com/lbfalvy/....7 -
So, I acquired Pluralsight code for 3 months subscription from Visual Studio Dev Essentials. It's time to close myself in basement and run Node & Angular paths 😂
-
Working with different versions of node on the same machine is annoying. I always forget to switch back to the right one before working on a project. 😡
-
Over the last week I've slowly grown to fucking hate IMAP and SMTP. You'd think after so many years we'd have come up with better servers to manage email but no we still rely on fucking decades old protocols that can't even batch requests.
To make things worse I need to attach to IMAP through node and that has been a nightmare. All the libraries suck ass and even the ones tailored towards Gmail don't work for Gmail because Google decided one day to fucking out the header at the bottom of some emails and split into mimeparts. Also why the fuck is fetching email asynchronous? There's no point at all since we requests are processed line by line in IMAP, and if the library actually supported sending asynchronous requests it wouldn't require a new object to be created for each request and allow only a single listener.
Also callbacks are antiquated for a while and it pisses me off that node hasn't updated their libraries i.e. TLS to support async/await. I've taken to "return await new Promise" where the resolve of the promise is passed as the callback, which let's me go from callback to promise to async/await. If anyone has any other ideas I'm all ears otherwise I might just rewrite their TLS library altogether...
And this is just IMAP. I wish browsers supported TLS sockets because I can already see a server struggling with several endpoints and users, it would be much easier to open a connection from the client since the relationship is essentially:
Client [N] --- [1] Server [1] --- [1] IMAP
And to make the legs of that N : N which would fix a lot of issues, I would have to open a new IMAP connection for every client, which is cool cause it could be serverless, but horrifying because that's so inefficient.
Honestly we need a new, unifying email protocol with modern paradigms...8 -
guys according to you? are we making development of web hard or easy, being a php dev all i have to is copy and paste the files but with node, all sort of configuration and still i'm not able to see hello world on my website2
-
!rant
Was too much into jquery, and so when I started my job I made everyone think jquery is the boss and stuff (my team is full of data engineers and business analysts.. No one understands code)
But now, based on my previous rant, I feel I should switch the entire project from a node/express structure with jquery to one with angular2
Does it make sense? Please advice... I am nervous of losing my job coz of this
(even now I hate typescript but I see why angular2 is better than jquery.. So I'll learn it all)13 -
This week I started developing my first serious backend for a customer using node and graph ql, and I'm here as a Frontend Developer. But I have to say I like it. Using Vue.js with axios on Frontend side. Everything feels so intuitiv during coding.1
-
So i were hired as a robotics developer.. blue prism, UI path and autoit. Now they want me to do backend stuff in JavaScript/node instead.. problem is, haven't ever written a single line of js. I know c# tho. How should I tackle this to get up in speed with js quickly? Any suggestions of where and how to start learning it in the most efficient way?7
-
I asked the Node gitter community but didn't get any response, and I fear for my life when I am posting on SO.
So, I would be posting my query here. Any help would be appreciated.
Query:
Hey! So I have a code like
var cached = true;
if(cached){
}else{}
When the v8 will profile and mark this function as hot, will the full compiler optimize it so that the 'if(cached)' is not checked every time?2 -
Hello chat, its been a long week with no progress, i have four problems right now.
1 node js repl cant recognize <> in js, and i cant find a fix for that anywhere on the internet, is there a way to convert html tags in js to smooth brackets code?
2 node js repl dosnt recognize codes like import react from react, and i have to do an async function load, and i dont know y or how to fix it.
3 i dont know how to write import exg.csv into an async function load, its usually something like “import react from react” to “async function load(){let react=await import (‘react’);}”, and i dont know how to do this.
4 i tried to install materials.ui using npm into a folder called materialsui in modules in node, it deleted all the other modules in module folder, installed, and then left the materialsui folder empty. I complained and i dont know how to get it to not do that.
5 how do i fix out of memory errors?8 -
Disclaimer: I haven't done much research.
Do you have any good course / tutorial / guide to using Web Sockets with PHP or Node? I'm looking forward to knowing about the matter but I'm just asking here before just in case someone has a good / recommended resource.7 -
hmm... since i cant really code at work due to network restrictions and sh*ts planing to start on a personal project at home which will be like a cashless payment / e-wallet and planing to use node(express) as endpoint reactjs at web dashboard/admin and react-native for mobile client or i can just stay with laravel as endpoint and build the web ui using vuejs integrated with laravel? what do you guys think should i stick with node(express) or just use laravel?1
-
I'm not sure why travis-ci job for node 4 is complaining for something which doesn't exist anymore.
Is it because I'm not using semicolon after 'use strict'? But then it should not work locally and in other travis-ci jobs as well.
https://travis-ci.org/restify/...
https://github.com/node-muneem/...1 -
So, we run a React website and a node backend on an EC2 instance. The damn thing keeps crashing randomly every other day. I’ve given up at this point.
P.S. any tips on how to prevent this is much appreciated4 -
Anyone know any good free courses to learn programming for a total beginner?
The guy who needs it is looking to work with JavaScript and Node eventually. -
for some fucked up reason nextjs would not run on my apple silicon machine
had to use nvm, tried node version 14, 20 then back to 16
then i thought of using docker
pretty smooth so far
will be using docker from now on1 -
Node server with webpack poly fill on embedded device. Why 😂 .
Replacing node-fetch with node http instead of waiting for native node fetch API. Why 😂
All npm scripts on package.json are dead. Why 😂
Node server is not even sharing TS interfaces with frontend.
Customers are complaining about MeM0r1 L3k and let's build more features on stupid node.
Fucking kill me.1 -
Angular cli was installed globally with some "more up-to-date" version and locally for a project with a slightly older version. On a local machine. No problem.
The same thing on a VM: nope, module not found error. node trying to run a node_modules install script from within windows directory, in which nothing node-related exists ... ?? -
Storytime - The Prometheus tales - Part III (I think..).
Updated the node definitions on the old node today, just to keep it up to date. nothing fancy.
I went to the new node and and checked the setup again. I already had roughly 120 node definitions onboard for testing purposes.
so all firewalls should have been configured the right way, so that the wee one might celebrate the marriage with the rest of the gang finally.. and then went with "puppet YOLO" on the new node. added every fkn node definition to the new setup.
every node turned out just to be fine.
except for 137 little InstanceDown alerts (out of 600+).
it's a good thing, that the little fella can send mails to me, myself and I only for the time being.
so debugging. again. but at least it's not a problem related to prometheus itself, because the connections end with a timeout on the related nodes. should be more like a firewall fubar.
we will see.5 -
Hi everyone
I have a python script that continuously collects data for me. I want to be able to display that data on a node js server. How should I go about this? I was thinking of maybe having the python script send get requests to the server but I feel that is not the right answer. Let me know if u guys need more info, thanks!5 -
!rant
I took a lot of effort to find some not so famous nice NPM packages... Here's a list, that too an alphabetical one xD
https://blog.bitsrc.io/a-to-z-of-no... -
Found a cool little article from the folks at Express VPN about setting up a home server and Bitcoin node. Ive been long curious about bitcoin ever since I first heard about it.
https://expressvpn.com/internet-pri... -
on serious node!
is nodejs overhyped, irrespective of the fact that now you only need to learn one language as full stack developer!!2 -
Is there any JS framework by which i can make tree structure in frontend and where each node is input box, also addition of node(input box) should happen dynamically(with click)5
-
The fact that 2 devs complain about node-sass sequentially on my feed says a lot about node-sass.
Thank God for --insert-something-enjoyable- in the comments please.1 -
What do you Guys recommend for automate self testing functions on a node Server? Grunt, Mocha or Chai and why?
-
Any node js devs on here that can tell me why this is happening? Node js is installed and from what I can tell WebStorm is set up correctly...2
-
Anyone done much iterating through spreadsheets in node?
I haven't done it before, I don't expect it to be super hard, but at the same time I'm wondering if anyone here has gone down this path and found a route they liked, tips, etc.1 -
Disclaimer: I am a beginner and I used node just because my employer asked me to.
I needed to create 1400 random users for a platform and I needed to get all the usernames and passwords in a json file and my idea was to just add the object to other collection with all the creditals(passwords are hashed in the db so I couldnt just loop them). For some reason it wouldn't work (i am really bad with async functions) and I just threw the table and copy pasted it from the error screen.
this_shit = {[name1,pass1],[name2,pass2]...}
throw this_shit;
Worked like a charm ^_^ -
I've recently completed the 1st phase development of a node js based web framework. Though I haven't completed the performance comparison check against other frameworks. But I believe it must be the fastest option. Your feedback will be helpful for further development.
https://github.com/node-muneem/... -
k8s is so good orchestrating its shit, yet it can't handle a node rolling update with deployments having one replica and a PDB of unavailable=0,
Dude... make a gooddamn exception, surge a damn pod for draining the node.