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 - "#nodejs"
-
Boss : How do you access code at home ?
Me : Well, Git is fairly accessible from anywhere with the right credentials at hand
Boss : What of you have virus in your system ? Can't the virus infect our NodeJS code ?
Since then, I haven't been able to get out of the mental comatose induced.4 -
We recently hired a fronted dev and she got confident enough to suggest we use nodejs, my literal reply:
We hired you so we would not have to deal with JavaScript.
Should see her face 😂17 -
So I was code reviewing this guy's code before merging into the master branch.... and then I FOUND THIS FUCKING CODE, WHAT THE FUCK!!!!!!!!!!!!!!!! What the fuck is this ???66
-
It would be really FUCKING great if NodeJS or mysql could give me a FUCKING shout or ERROR MESSAGE when one of the parameters I'm giving is not the RIGHT FUCKING DATA TYPE INSTEAD OF THROWING A RANDOM ERROR THAT DOESN'T INDICATE A WRONG MOTHERFUCKING DATA TYPE. Five FUCKING hours of debugging later.16
-
The Adventures of my Project Manager.
--- Part 1
a little back story first:
-----------------------------
The project manager is the CEO's younger brother.
-----------------------
end of back story.
PM: Hey, we should stop using Nodejs on our API.
ME: Why?
PM: I don't see why it is necessary when we could make our android app talk directly with MongoDB.
.................
ME: QUE?!9 -
🎶 On the sixth day of debugging my program gave to me ...
6 failed tests
5 help forums
4 broken dependencies
3 edge cases
2 moving specs
And 1 keyboard smashed in rage 🎶
This little carol is dedicated to the buggy-as-fuck nodejs project I was given for fixes and updates.
Happy holidays everyone6 -
What if Donald Trump (or Drumpf :|) was a developer
"I will make PHP GREAT again"
"I will KICK OUT all NODEJS developers from the office premises"
"I will install a FIREWALL in my system so my colleagues cant access anything "
But sir this is not how it works, besides its very impractical
"And my colleagues will PAY for it"
😉😁😁5 -
working on two projects.
at the same time.
for 2 different companies
2 completely different scenarios
2 completely different languages
nodejs and golang19 -
From 'Javascript' then 'jquery' 😬 then 'angular 1' 😐..wait their is 'angular 2' damn this just a new framework compared to angular 1.(back-end) 'Nodejs' 😩, wait! you have to learn 'Express' after sometime upgrade to 'Hapi' wait now am on 'loopback' can't we just have one standard framework 😣😣😣12
-
FUCK NODEJS
FUCK NPM
FUCK ANGULAR
FUCK ALL THOSE FUCKIN PACKAGES
FUCK THIS PILE OF CRAP MAKING ME WASTE MY TIME13 -
Me (front dev): We should use nodejs for this project...
CTO (back): Nah... Fu*k Node! Php ftw
Now: we have a php framework with a nodejs server for the front end6 -
Hey guys!
Just joined devRant! Can't wait to get more involved!
Bored in the lockdown, I built an app which lets you chat with people around you.
Its called Cyrcl!
Built in over ~40 days, I was the sole developer.
Here is the tech stack - React native for the android and ios apps, mongodb and redis for the database, nodejs for the server and aws ec2 for the hosting!
I'd love to get some feedback, or discuss some of the hacks!
- Ardy15 -
I find it ironic that some python devs hate on nodejs because of npm modules. But then go ahead and create a virtual environment for every new python project.6
-
- Team_leader_1: I know you're a frontend developer, but trust me NodeJS has threads :) sync operations don't block the main thread :)
- Team_leader_2: You need to study the theory :) NodeJs can handle further operations during the sync function :) it spawns a new thread, you haven't studied Javascript well enough :)
- Me, very ready to dab on 2 condescending little fucks:16 -
Sick of hipster nodejs devs with their beards and fucking guitars. You guys are creating a bad reputation for the rest of us.12
-
>Installs NodeJS (from default Debian repo)
>Tries to install yarn
>Yarn tries to uninstall nodejs
Weird
>apt-cache depends yarn
yarn
Recommends: nodejs
Conflicts: nodejs
10/10, gave me a good chuckle. Time to add the NodeJS repo.10 -
Wow, after 4 years of working with PHP, and now working with NodeJS and ASP Core, I gotta admit that PHP is pure shit.
It's really awesome to see the documentation provided for NodeJs and ASPCore.
75% of PHP documentation isunreadable crap. Every fucking variable starts with a fucking dollar sign, wtf! How unpleasant is to read that. And holy mother of god, why concatenate with a dot ? We all know "+" means "add, aggregate, etc". PHP is unreadable as fuck. Fuck laravel, fuck Yii, fuck Composer.
Seriously guy, move to NodeJs or AspCore. Both of them are pretty good.16 -
Step 1 - Start with socket.io in NodeJS to create chat extension for browsers
Step 2 - Let's authenticate the users
Step 3 - Cry7 -
Today was the first time I was able to develop a full stack by my self!!!!
(I mean not by myself, StackOverflow was my Bible)
It's a small project with three modules , and while I've worked front end, back end and machine learning separately, I used to develop on a single component.
Today I built all the components on my own.
The hardest part was linking the nodejs file with the python script. Which seemed easy at first but then I needed to go through the documentation to understand the working behind the scenes.
Just looking how to deploy it now
This is a victory rant.
While it is not something big I feel so proud of myself 🥰1 -
Called someone special...
She didnt pick up...
Then was no "CALLBACKS" for 2 days...
Which made me break my "PROMISE"...
(JS and NodeJS DEVS will understand)4 -
I met a programmer in an online dating app some months ago. She worked with golang, and things were going nicely with us talking a bit.
Then I mentioned that I currently work with Typescript and NodeJS and she stopped responding 😞
Should have posted this as story, since this is not actually a joke.10 -
Time spent during a nodejs project:
- 2-4 hours trying to install modules and dependencies.
- 1 hour actual coding!1 -
So our last project was a hybrid application in Cordova
During client meeting:
Client (digital mobile lead) : So we have to integrate Nodejs in our App
Me: huh :|||
BD guy: yes SIR, yes SIR
Me: we cant integrate like that, both are different things and have different applications :|
Client: I am told that Nodejs is FAST and its Javascript
BD guy: yes SIR, yes SIR
Me: but (just started to explain the difference)
Client: we need to increase the 'bandwidth', we want another senior resource for this project
BD guy: yes SIR, yes....
Me: what the FUCK :|5 -
It's rant time again. I was working on a project which exports data to a zipped csv and uploads it to s3. I asked colleagues to review it, I guess that was a mistake.
Well, two of my lesser known colleague reviewed it and one of the complaints they had is that it wasn't typescript. Well yes good thing you have EYES, i'm not comfortable with typescript yet so I made it in nodejs (which is absolutely fine)
The other guy said that I could stream to the zip file and which I didn't know was possible so I said that's impossible right? (I didn't know some zip algorithms work on streams). And he kept brushing over it and taking about why I should use streams and why. I obviously have used streams before and if had read my code he could see that my code streamed everything to the filesystem and afterwards to s3. He continued to behave like I was a literall child who just used nodejs for 2 seconds. (I'm probably half his age so fair enough). He also assumed that my code would store everything in memory which also isn't true if he had read my code...
Never got an answer out of him and had to google myself and research how zlib works while he was sending me obvious examples how streams work. Which annoyed me because I asked him a very simple question.
Now the worst part, we had a dev meeting and both colleagues started talking about how they want that solutions are checked and talked about beforehand while talking about my project as if it was a failure. But it literally wasn't lol, i use streams for everything except the zipping part myself because I didn't know that was possible.
I was super motivated for this project but fuck this shit, I'm not sure why it annoys me so much. I wanted good feedback not people assuming because I'm young I can't fucking read documentation and also hate that they brought it up specifically pointing to my project, could be a general thing. Fuck me.3 -
I like npm errors.
So i installed nodejs on termux on my android smartphone to watch npm fail, even when I take a walk.
Great times!5 -
Colleague while reviewing my latest commit.
Him: Hey, RemusWasTaken, why did you leave this debug log in here?
Me: That function won't work unless I leave that line exactly there.
Him: It can't stay, come here so we can fix it.
Three hours of debugging later, this Friday afternoon.
Him: Okay, I give up. Let's leave it there for now.
Me: I did the same thing yesterday. Time well spent.
Nodejs is weird sometimes, or we are incompetent devs.5 -
I'm really enjoying rust now. It was worth the struggles.
I was really surprised to see, a NodeJS server takes around 40-60MB of memory whereas Rust (Actix web) server takes around 500KB-2MB :O whoa! Awesome!3 -
I must learn jQuery and NodeJS. It's amazing the potential of JS. My lastest 10 programs were written in pure JS and I made them in a few hours. As an electronic engineer I hate the high level languages but JS (and maybe Python) it's definitely excluded from the list.17
-
I like js and node in general.
But there's this thing I hate about NodeJs...
The blogs. The goddamn blogs.
Every goddamn blog post. Is code. Dozens of lines of code.
Oh, so you want X feature? Just copy paste this shit.
I swear to god, blog posts are the source versioning system to these people.
What they should instead is
a) Create a package.
b) Add tests to it.
c) Present the package to the reader with some minimal code.
But I'm a getting a huge impression that node blog writers want you to copy the code in their post, paste it in your project, and be happy with it.
Now, I'm not assuming that every person posting in medium.com is a software engineer (and by engineer I mean an engineer, not some fuckwad who begs for github stars on dev communities).
The problem to me is that they fucking SATURATE the goddamn search results.
The same goes for finding an npm package for your need, because there are so many low quality packages it's saturated too, you have too plow this stinking pile of projects that have very low quality,
and there's not a really good npm finder out there. Half of them are dead, some look and load like shit, and npm search has a low barrier for good code.
Me on rails, OTOH "ok, I need this thing", I google that and I swear to [-∞,+∞] I find GOOD packages, well designed, no cookie cutter bullshit, no obscure marketing shit on the README.md, it is very clear what this shit does, and the api is designed for HUMANS.
and it actually takes very little time to know if there's no such package.
I don't have to read dozens of fucking my-fuck-blog.io (jesus christ, the io domain has become such a fucking joke, it got fucking abused to death, there are some cool sites out there using it, but my god, James H. Marketing likes to just absorb everything he can, and the internet was not going to be a fucking exception)
does all of this make sense?3 -
You can never understand everything. But, you should push yourself to understand the system.
- Ryan Dahl (Creator of Node JS)2 -
Just started using nvm for nodejs version manager... looks like I'll never look at "nvm" in text messages the same way again :/3
-
Fuck NodeJS and Python, C# and strong-typing is all I need in life. (But python is sometimes useful)10
-
Uhhh look at me I R node.js developer I R so smart I write Java Scripts on the backend uuuhhhhhh
Idiots.8 -
I swear my brain has 2 sides:
1: c or c++ would be great for this project
2: lol c++ hard so nodejs
1: but c++ would be so much faster and c-
2: NODEJS6 -
One day my colleague says that React Js is used for frontend as well as backend. I did not agree with him also he blames that Backend API’s also can be created using React Js. I could not believe because as per I know React Js is a library for frontend not for Backend. Still, some other colleagues supported him because he is the senior developer I am an intermediate developer.
Then I ask some of my friends who are currently working on React Js, Can we use React Js for the backend? And the next day I went office and talk to my colleague that I could not found that React JS can be used for backend and backend API. And he replied You can use nodejs. Oh! Man But I think Node and React are different tools.10 -
Fuck NodeJS. I don't want you to be asynchronous sometimes. My gahwd I need like 3 deep nested loops just to get you to make a request and compile a damn JSON of requests.
I'm learning Golang goodbye forever node.15 -
After a failed brew.sh upgrade none of the nodejs packets were working anymore. I've spent the whole day googlling, reinstalling, cursing, asking for help, crying - without luck.
My boss got angry because he wanted that site yesterday.
Now i'm forced to clean install my mac tonight. I'm so tired.
Fuck!1 -
Spent 4 hours trying to figure out why my expressjs application wasn't working in my environment but DevOps loads it just fine. Turns out there's a difference between ^ and ~ on dependency version requirements. I was loading latest versions of nunjucks and NodeJs instead of stable.
What is life.2 -
NodeJS 10.0.0 is out.
The biggest features I see is the release of N-API. I always wanted to use that but never did as it was in beta. It will be exiciting to use it with a new project!5 -
My Back-End dev suggest me to switch NodeJS to NodeJS+VUEJS&BABEL and told me that I would like it because it's fast even when I do the Front-End....
I regret it...6 -
A haiku, written in NodeJS:
This is the first line
This is the third line
This one is the second line8 -
DRINKING GAME.
Start package installation in any NodeJS based project.
Drink every time you see a deprecation notice.4 -
I just need to get this out.
NPM is not the worst dependency manager. It is way beyond any word in any language that can describe the most negative thing about it.
I developed nodejs projects. I like JS, it's a great language to work with. But not NODEJS, not NPM.
I can run my app in a F* browser but not once, not a single time that nodejs and npm can run at the first time. I spend way more time to build a working environment with nodejs and npm than to build my own app.
whoever developed these two pieces of crap had brains that filled with mud. And who gave them the courage to even put it out for people to use? JS is such a good language and they have ruined it.
There are so many dependency managers out there couldn't they just take a look at how human beings do things? I mean they have never seen APT or Composer or something else that actually work?
Or they just had so much ego that they had to let other people to feel how difficult their lives are.
I don't care about how you manage the dependency and I shouldn't. You people made these crap with one purpose that chould help others to develop easily but NOOOOOO, we have to spice it up, right? You just have to make it fat and greasy, right? You just have to make it doesn't work. I bet you people just redefined the F* CONSTANT of "How to Develope a System that Doesn't Work".
I don't know if NPM genius have ever did a information collection of their system. I bet most function that has been invoked is "throw error".
The funny thing is on NPM website, they provide Enterprise Solutions.... I would sue them for fraud.13 -
Helping a client to update their 5 years old payment system to support the new mobile PayPal library via Braintree.
Found out you need to install a server SDK that requires PHP 5.4.
Installed and then realised the server is still on PHP 5.3 (CentOS 6).
Panic.
Told my client that they require a new server just so that I don’t need to manage the PHP 5.3 to 5.4 update on their live server and I can install Node to use the Braintree NodeJS SDK 😇.
Feels like heaven.2 -
PHP Developer, older than me, seeking help on how to run nodejs application - "some_alien_english...some_alien_english...some_alien_english...some_alien_english... ' It working, but its not working ' ...some_alien_english...some_alien_english.........
fast forward to last line - "Its working on terminal but not working on localhost"1 -
I like PHP but every new tech is about all the other languages ! Recently i was searching for microservice architecture and oh it's so easy with nodejs ! It's ready made for Go ! Java has a library build in ! What about Symfony ? Laravel ?18
-
I am graduating in a few days for my MBO 4(pretty sure that's like community college/college in other countries) in The Netherlands and i'll be going to start working on getting my bachelor.
To prepare, i have devised a learning plan for in the summer.
Should I learn:
(C)++ and Python
(C)++ and NodeJS
(C)++ and C#
or
(C)++ and assembly
C and C++ are languages I want to learn in any case, but as for the others I am undecided.
Thanks21 -
!rant
3 days ago I started my first open source project. Even though it is nothing special (its a Telegram Chat Bot in NodeJS) i am feeling quite proud of myself. I don't know why, but i felt like sharing it with you guys.
(If you are interested: https://github.com/CptPie/... )6 -
Any other Screeps players here?
for the people running into a "Screeps is not defined":
Screeps is a MMO RTS where you code your "army" to do stuff in Javascript (a la NodeJS).
Code how your harvesters should behave, how your soldiers should behave, how your builders should behave etc. etc.
So far, it is quite a fun game, tho my (Intel Nehalem based) laptop has issues handling it (thanks to a awfully slow GPU...) so it's difficult to play for me at the moment (I'm on holiday, my home PC is a LOT faster).
It costs about 15 euro on steam, and if you're into this stuff, it's well worth it.
Just make sure you finish the tutorial first... I didn't and I regretted it when I bought the game (it's a huge pain in the buttocks to get started if you don't understand the API and such).
Currently just playing on my own localhosted private server to discover how the game works and such, but will be setting up a public server later down the road to play with others.
Tho it would be nice if Screeps would allow for "team-based" gameplay as well so it'll be slightly harder for early players to bully the newer ones.2 -
Why the f*ck is it so hard to setup an online live radio on NodeJS but making a freaking Google hangouts clone is not.3
-
AAAH, fucking aws. Why the fuck do you make documentation if it doesnt even make sense. I struggeled for hours to let your cock sucking Cognito work and I'm still fucking stuck. Why is there no proper documentation or tutorial available for nodejs. This pisses me the fuck off. I hate this piece of shit.
Ah... I feel better now. -
So today I told my boss “nodejs without typescript is like sex with strangers without a condom. Sure it’s fun and all... but then you get an std”12
-
I recently built a Mock JSON based REST server, that can help you out with API testing and prototyping without having to write any code for the backend, feel free to try it out, and star the repository if you liked it :)
Link: https://github.com/ishank-dev/...3 -
I quietly refactored an entire NodeJS express in-house framework that was written in Java style (dependency injection, inheritance, inversion of control) and split it into typed, composable, parameterized, testable middlewares in 2 weeks (including some complicated ones like a custom Openid Connect flow)
Now comes the hard part: convincing the Java-devs who wrote it that it is useful3 -
A NodeJs framework that splits project into fullstack separated modules and allows routes inheritance5
-
Yesterday, I was perf testing my small app (my first NodeJS app). I thought I'd do a small, ghetto test: bash forloop with curl and payload to be saved.
My favorite is "for i in {0..100}; do ... ; done". I start firing these bad boys in separate tabs. Everything works fine. I check the DB... Saved results: 303.
I break into sweats. Do I have a race condition? Holy shit, is my DB layer unsafe? Fuck fuck fuck.
I fire the forloop only once. Saved results: 101. FUCK.
I run the for loop for 0..10. Saved results: 11. Huh?
I promptly realize 0..10 runs 11 times. I'm a dumbass.
/Me proceeds to deploy my code to a kubernetes lab instance with https://youtube.com/watch/... playing in the back of my mind.6 -
Intern position:
"Proficient understanding of NodeJS, MangoDB, Other back-end technologies.
Aw, MangoDB?
Now I can't apply..9 -
confession time:
I am php laravel developer with little knowledge about nodejs.
I got selected by one startup as nodejs developer.
frankly I am not better nodejs developer than my competition who were rejected.
I completed oral interview with my nodejs theory knowledge at a time of technical round , they gave us task to create crud with fantastic front end and nodejs mongo as a back end.
I developed front end in bootstrap but at a time of backend, I just copy paste code from github.
and changed everything variable and other proof to hide reality. in mean time other candidates were actually coding everything then I took time to understand this code and I submitted after few candidates.
in last round they ask me to explain code which I explained properly and I get salary 40k/month INR.
I know it is cheating but I wanted this job badly.6 -
! Worst thing another dev did in our NodeJS code.
1. No indentation. Literally.
2. A single function in a module worth 1000 lines. I'm not even kidding. No breaking into smaller functions. Just a large rock with a lot of js mess scribbled.
3. No comments at all
4. Sending stray values to promises which were not required at all.
5. No jsdoc. Using camelCase and uppercase interchangeably.2 -
How fucked are you if someone mistakenly deletes the codebase for Nodejs, reactjs, npm, vuejs, angularjs?21
-
Been working with NodeJS a lot lately. Finding it really convenient and flexible. As someone who spent a lot of time using C, it's like going from eating fruit to candy bars. Seems pretty amazing just npm installing whatever you need and working with those packages... Until you dare to look at the list of ingredients.5
-
Converting server time to any given local timezone is a pain in the ass.. at least in JS.
Here's what I've got:
convertNowToTimezone = (localOffset) => {
let d = new Date();
let millis = d.getTime() + (d.getTimezoneOffset() * 60000); //convert server local time to UTC millisec
d.setTime(millis - (localOffset * 60000)); //convert UTC millisec to required local time
return d;
}
where I pass localOffset as -330 (IST offset).
Works in chrome console but gives a diff of 4min in the server side nodejs I'm running it in..
🤬🤬😡😡😡😡😡9 -
So I’ve asked one hipster js developer what does he think about golang. His answer was:
- it’s the same as nodejs, but difference is that go has pointers
O_o7 -
Made my own "devRant" ("inspired hehe") Android app/socialmedia^^
(still in BETA) Not targeting a specific area though. http://stardash.de:4000/
And no not a devRant replacement cuzz its not soo much dev Related :)
Layout has no similarities aT aLl :D
App can only be downloaded on my website cuzz im not 18 yet so i cant publish to the playstore (and also i kinda dislike Google and using anything Google connected in a app e.g. Firebase)
There is a build in update center in the app though.
Server:
My Pc (Linux)
Nodejs with Express
Mysql
App:
Android Studio mostly with Retrofit13 -
NodeJS:
*Put image in Folder*
</>Import Image from "./images/image"
Xamarin
*Create Folder ONLY FROM VISUAL STUDIO*
*place image into folder*
*Properties: Build action: Embedded Resource*
THE FUCKING RECOURSEID DOESNT EVEN APPEAR WHAT THE FUCK XAMARIN2 -
First week of doing C# dev. Not quite getting the hang of it yet, I’d still prefer doing nodejs all day2
-
Just got started with nodejs and I never thought I’d have to use async/await this early. Concurrency seemed like a far fetched thing. Feeling like a boss😎1
-
NodeJS C++ add-on is one of the best and worst thing ever to exist in NodeJS.
Writing a native add-on is such a fucking pain. It's full of inconsistent API. They are trying to fix that by the introduction of N-API. But that shit is still in experimental mode.
I want to use nan but I know that that is also going to be deprecated once the N-API gets stable.
fml1 -
To be honest the exact bug I don't remember. I do recall that it had something stupid I had been trying to fix to get nodejs working on a raspberry pi. I finally figured it out and managed to get a simple rest server going. After hours of trying to fix what might now seem insignificant, I was not only relieved that I got it working, but also thrilled that I kept at it and managed to fix it.
selfConfidence++; -
I'm going to kill myself.
In the nodejs server for my game, there's a function that pushes to an array.
It only works if the array is empty, no matter what type it is.
List of people that know why
- none5 -
Hey guys...Hope ur all doing well ...Last year I learnt Nodejs and Express and developed a project using it..But never deployed it..Well since this weekend I got lot of free time ..So I deployed it..Hope you guys like it . Its not much ..Just wanted to learn some concept of Nodejs...https://github.com/imshubhamsingh/...
https://book-review-library.herokuapp.com/...2 -
NodeJS devs
what would you recommend for a highly data intensive project that *may scale* to a large level?
Express, SailsJS, or Meteor?7 -
All this small node modules in the npm repository that is a fork of another with a name that sounds almost like the other. It's a jungle. Then things are abandoned or changing name. How much i like coding nodejs based projects I really feel bad of the total mess with that repo. Freedom and a lot of projects are good. But the mess is like the flat of a young student that hasn't been cleaned in a year.
-
A question: what should i learn Nodejs or a Python Web framework (maybe django?)
I just want to learn :)10 -
My boss asked me and another one to make a webapp that uses socket.io as "api".
There are 2 client apps (one in ionic+react the other one just react) and the server code (nodeJS)
Now he started working on it too but he has no experience of nodeJS and no experience whatsoever on react and only heard of ionic.
on his first deploy nothing connected anymore.
But i gotta say I appreciate the fact he's trying to keep himself up to date with technologies we're using4 -
Been using nodejs for a rest API. It may be the old fart in me, but I'm regretting using it instead of a normal static typed language. I hope something changes my mind soon, or I'll go through a case of sunken cost fallacy.3
-
Who else loves the nodejs song by codeschool?
So catchy! I sing it while im in shower. :P
https://m.youtube.com/watch/...4 -
I currently use Github as my git server and have worked a little bit with Travis. Sadly Travis can't deploy to local network targets and that's why I had the idea to create my own basic CI for the local network: It will be a simple nodejs-app and listens to pushes via Github Webhooks. Then it fetches the code from Github and runs a task runner like Gulp over it and tests it with any nodejs testing framework. Then it deploys the compiled, tested and linted app to the local network. What do you think of this idea?8
-
I just created a URL-Shortener in NodeJs and MongoDB. Would be great if you could check it out! :)
Also if you wanna use it for your Projects or the like, you can also use my api!
Link to Url-Shortener: http://kapparr.ga/
API Usage: http://kapparr.ga/api/<url>
Feel free to tell me about your opinion or bugreports in the comments :)5 -
Got a NodeJS social media server I'm building for a side project, inches away, but my wedding looming - goodbye free time! Haha
-
load balanced three micro nodejs instances with Apache in my local system. load performance improved by 50% straight.6
-
its hard to keep yourself updated with apis, specially when you are nodejs/javascript developer.
Creating a simple application to keep track of changes in api and inform the subscribers about changes.
Stack - Vue.js (quasar), nodejs, mongoDb3 -
!rant
I built a webinterface a few months ago. it was based on the php framework laravel. but i want to change to nodejs in combination with mongodb.
do you know good nodejs mvc frameworks similar to laravel?3 -
!dev
Where I live just got it’s first snow of the year!
This shitty nodejs is a hell of a lot less crappy when it’s accompanied by hot chocolate and snow3 -
What would be the easiest starting point on low level languages?
I started with java, learned to hate it.
I continued with web development, learned to hate it.
Continued with PHP, learned to hate it.
Continued with scripting languages like Python, NodeJS, etc.., hated it from the beginning but it was easy.
But everytime i touch something like c/c++/rust/etc i immeadiatly give up, because the syntax is so different than all these other high level languages and so much null/type safety and so on.
But i want to get into low level programming languages which compile to an executable and don't get executed on some "vm".12 -
I just discovered electronjs and absolutely love it, even found that my fav ide vscode is build using electron on nodejs.12
-
Now i understand why some people have girlfriend still being married..
me being php developer always being attracted to Nodejs :*..2 -
Oh this looks like an interesting 10 min Nodejs tutorial on utube!
*30 minutes of fighting modules installation*2 -
Since some started posting pics of their work machines. Here's mine: an Asus ZenBook 3 deluxe. Nodejs dev.5
-
Imagine both having the build step AND not having a strong and reliable type system. What have we got ourselves into? Truly an asylum run by its inmates.9
-
Coming from NodeJS, writing APIs with Express, I now do my first steps writing APIs in golang with gin.
Now I know, Express is not the fastest solution out there, but I mean - a good 30ms is alright for non-high-performance backends. And I always thought that's on the faster end of HTTP handling..
..but then I used gin. A GET request doing a MongoDB-write and returning some json. 3ms response time. THREE MILISECONDS. holy fuck. By it's debug logs the actual handling took 540 MICROSECONDS. holy fuck I'm in love.8 -
Any idea of how to protect your nodejs source code on a client's onsite server ?
If they can SSH, they can get the entire source.
This is built into the angular framework very well but I don't know how to do this on a server.
Any neat packages for obfuscation, uglification etc ?8 -
I picked a module of my nodejs app which uses MongoDB to pieces until I had no more idea what could be wrong. It should work. There could be nothing wrong. Then I thought: "What if I try to find() from the wrong collection?" Yes. Fucking YES! I've lost about 2 hours of my life because I've written the collection name in singular rather then plural. Just a fucking single character. Just a fucking "s"! Why don't you output an error? Why? Fuck you! Why don't you do that?1
-
Almost 2022 , I am still confuse why the f### the company downgrade the project from elixir phoenix to nodejs to laravel php.6
-
Great, a new tool which does the thing, that i do with that other tool just 1% more efficient. Also it integrates deeply into that other tool i am already using. I just need to install a whole new CLI, and python and nodejs to use it.
FCK OFF6 -
FFS! having nodejs server on heroku, added certificate successfully for https, yet when going to www.example.com it uses http on prod and maintanence page while example.com goes to https.
All my attempts to catch http connection failed.
This is the definition of me wanting to bang my keyboard and problem autosolves itself while I am doing it!
Where is the my one click and everything is ready. I want to code back end and front end not spend 2 days trying to figure out https bullshit for unknown reason. -
What cheap/good quality node.js hosting provider for nodejs/react/mongodb app do you suggest? (including sale, black friday etc.)9
-
Even though I like Javascript I get so frustrated over all the libs and frameworks that is so good. And then some forks. And then all deps because everyone wants to have a cool npm package. So, took a deep breath, went for a run in the forest and started looking at Go for the small service(s) that from the start was thought to be a NodeJS thing. Might be fun.3
-
I feel like there should be a rule 34 for nodejs. If you can think of it, there is probably a nose module for it. Take for example PHP.js it's a thing...1
-
I'm tired of being forced to use an overengineered library for every little thing I'm given to implement. I don't want to add nodejs bloatware to my service just because I neet to pass single json object through a message pipeline. I'm all for reusability, but this is crossing every line now.3
-
Javascript is actually a weird language which I dunno why I like a lot.
new Date() in NodeJS gives a different value, while new Date() in the browser console(so react js and normal js) gives a different value.
I dunno if my online searching skills are bad but I didn't find anyone addressing this online. Lol I had to create a manual work around for it then.7 -
When did people decide that developing using a tech that doesn't even have a proper command line debugger is a safe bet for a production system?
NodeJS, tower of nonsense... -
Anyone here who had used powerbi embedded with nodejs backend? Please I need help. Can't take this shit anymore
-
I'm a Python programmer and I've been asked to build API's using Nodejs. It's been dofficult to even get the API running. Any advice on how to start? I am familiar with JavaScript7
-
Can someone help me to get some good practices with expressjs/sequelize combinations?
I managed to find how to not have all the models in the same js page and how to organize the routing but when I look the time it took me to find, I would like to don't have to search now 😂 -
Should I learn Angular 2 or Vue 2?
Not asking which one is better, but which one suits my need better:
I want to move from PHP to nodejs frameworks; I know Vue cause it's famous in the Laravel community, but don't know about the node/js community. I heard Angular 2 is hard, but I'm changing my dev stack so might as invest some time in it. So which one should I pick?
Also, what's a good nodejs framework for starters (who aim to build production-ready apps) (also, not planning on doing mobile apps so no need for cross platform js frameworks).
Thanks in advance12 -
>Weird Windows 10 glitch occurs causing text in dialogue boxes and other various things to not appear until you restart your computer.
>Is working on a program in C#
>Presses button in source control.
>Yes or no dialogue appears.
>Presses yes.
>All flies in working folder disappear.
>Restarts computer to fix visual glitch.
>All files in working folder don’t actually exist anymore.
>3 months of work nowhere to be found.
>Downloads decompiler.
>Decompiles previous versions executable file.
>Continues to work on project with decompiled code for the next 6 months.
>Gets sick of everything and painfully rewrites the entire program in NodeJS.
Moral of the story: Never gamble with Windows.4 -
Ok peeps!
A newbie to nodejs and linux VPS (ubuntu) would appreciate any tips you could throw my way on how to push locally developed nodejs webapp to prod in vps server 😊
Thanks!5 -
Arrify nodejs module. I always thought, that a modul is something bigger, not this function with 4 lines. Who thinks, that using a module to make an array of a value instead of copying a 4 line snippet to your code is actually a good idea?4
-
Hello there, long time no see.
Back in the day I asked you for a book that goes deep in the C programming language, now I'm asking the same but for Nodejs, especially a book that explains the event loop down to the line of code.
There are some articles on the internet but they are all copy/paste of one another and don't even scratch the surface of what the event loop does2 -
#2020 resolutions:
1. Learn Nodejs/E.
2. Learn Golang.
3. Forget to return back home from college.3 -
Im a php backend dev for over 7 years. (Lately mostly laravel).
Im going to look for a new job and have 2-3 free weeks to try and learn a new language and switch to that in my next job.
Please advise if i should
1. Switch to Python (should be relatively close to php oop) + opens AI jobs opportunity for the future.
2. Switch to NodeJs. (Web/api knowledge similar to php) + will be easier to learn frontend skills later (ie angular/etc)
3. Look for another PHP job. - if 2-3 weeks is not enough time to learn nodejs/python well enough to get an actual job without experience with them.
Really can't decide which path to take, please help10 -
Going over some NodeJS code, and I feel like the scene from "Dude Where's My Car" - "And then....And then..."
Coming from almost three years of 99% python, this hurts my eyes so much1 -
People nowadays.
Searched for JS/NodeJs frameworks.
Read the Docs for a couple of minutes and run some examples.
*Opens* CV / Linkedin to update Skillset.
---
So with the count of JS/Nodejs Frameworks, they probably have lots skills listed in their CV.2 -
If you're using fish-shell, I strongly recommend you to use "fnm" package for installing and managing nodejs various versions!
It's pretty productive 😍3 -
Having so much fun with pug, and nodejs last week,
Building a demo OAuth 2.0 authentication server to simulate GitHub OAuth’s behaviour.
In the next step, I will deploy it on aws for more testing.
Blog on the way...🤞
BTW, they actually built a package for render pug to React components🙄 -
I recently got into nodejs .. set up a server...
I wanna know if is it worth it to buy a raspberry pi 3 to host my web server.. so i can show my projects to my friends or even clients.
If you have a raspberry pi.. what do you use it for? 🤔8 -
I am creating a web api and I am stuck between using asp.net core 2.1 or nodejs' expressjs.
What is your take on this?
take this mind:
this service will also be responsible for processing transactions.7 -
Is there any way to find the users of your npm packages. I can see there is no dependent of my some npm packages but number of downloads are being increased. I've also checked Github insights dependency graph but couldn't find any.2
-
Lighthouse report from nodejs cli is rendered by javascript. Seriously, it's a report. Easy on the javascript.
-
Quick survey, when should I use orm? for example in nodejs? Currently working on an sis api using node. Just wondering if I create another prototype and use orm. Performance wise?15
-
Ok so 2 questions here:
(I’m not good at googling)
1. I want to run my telegram bot and some other really small things on a server. Do you have an idea what I could use. (Services or shy like a raspberry pi) it really doesn’t need much capacity
2. (Thank you for reading this long and helping me out) How can I download a website in nodejs and use sth. Like getelementbyid? -
I start testing a new NodeJS framework for, I'm still quite of guy who doesn't like JavaScript in the backend (for me still a quite poor language for a lot of operations). But where I'm working now they use NodeJS (in a very pigsty way to be honest), so I decide to refactor and rewrite the application and start search about frameworks, I'm particularly huge fan of Laravel and PHP for web development and I found a framework called AdonisJS, it's amazing, the ecosystem is very stable and solid.
I start to apply some nice concepts also in the simple Todo List that I'm doing (repository pattern, resources controllers and etc).
I'm really like, you can check on my github profile https://github.com/Messhias/...
Someone is already used this framework for a real business application? I'm liking a lot to play with it.11 -
!Rant
Hey guys, do you have any idea where i can host a NodeJS application for free? It's a school project and id like to have it hosted somewhere to access it more easily.5 -
Wtf. Why is using mail templates in nodejs so complicated in comparison to eg Laravel?!?! I have to install 3 packages with 20+ dependencies and setting it up is a hell -.- I'm losing my love for node since I got to know laravel3
-
Hi everyone
Please do you know an alternative of ffmpeg in nodejs?
A standalone video editing library4 -
Frustrating feature/bug of SO is when you don't have enough rep to leave comments or have your vote truly counted, and the best answer is the bottom comment, and you have absolutely no way to thank the person! @Adiii no idea if you are on here but thanks so much for your simple and elegant nodejs solution to checking for and creating directories.
-
I have a little vserver with the possibility to backup to my free Dropbox. 😎. I host nodejs stuff on it not much fife little apps. Guess what?
Yep my Dropbox running out of space. I like nodejs 😁4 -
So, I really hated NodeJS until now, because it didnt really have a decent framework. Things changes I think: https://adonisjs.com/
Definitely will try this one out.4 -
Got a code exercise. A small cli nodejs tool. Could someone do a code review? https://github.com/kenpeter/mb1
-
!Deno
Being now able to write import 'npm:<name>' and it just working is quite hilarious, not having to use nodejs but still using the projects built on it .. wwwwww25 -
How fast is vscode in Linux? I'm irritated with time it takes to start my complete dev environment in windows.?
nodejs + mongodb + vscode + chrome + studio3t
So you see I've to start 2 electron based apps and chrome. Node js takes its fare time to start the first script.27 -
10 years ago I remember adding a project reference to share code between some C# projects by right clicking and picking add reference. Took about 5 seconds. Here I am, 2021, and doing the same thing in Typescript is apparently a nightmare.
Every time I find something nice about nodejs, I find something else that pisses me off to no end.7 -
Trying to understand why there is an absurd amount of tooling for most nodejs apps. Is this present in other languages as well? Is it worth learning? From my viewpoint as a new developer, it seems like there should be more consolidation there. Or a more elegant way to build1
-
I was programming a nodejs app using an api written by two other devs in my company. I tried catching the cases where the requests fail, but it just did not work. Then i found out what the reason was: Apparently the other devs thought, it is enough to send the appropriate status in the json body and did not set it in the headers, so I always got a 200 back even if it failed and there was no usable data in the body.1
-
Hi! I've Been Watching a Tutorial series on How to make Amazon clone by nodejs,mongodb. He used Faker Api to insert Product but I tried to make a seperate Layout to insert product but using Async but it keeps saying "Cannot read Property '_id' of undefined.12
-
!rant
Going to install a Linux distro on my Mac for general dev antics (NodeJS & Java)...
But which one?12 -
can you share some interesting and useful topics for a web developer(PHP), who want to become nodejs based full stack developer?
udemy courses link will be useful.2 -
Facebook should switch to NodeJS, seriously.
They eat the memory of my devices, that's weird it's only Messenger and Facebook who do this..Don't use Ajax when you don't know how to profit from it without affecting the user experience.13 -
So is it just me, or does nodes have a huge learning curve. (The lack of online tutorials is not helpful either).
Any suggestions to help an imbecile like me to learn it better (especially connecting nodejs to client side apps)9 -
any open source web platform, for building a crypto community
built with nodejs+react will be very useful -
Hey guys, can i learn websocket.io with learning nodejs and expressjs because i see most of people use nodejs in oder to work with websocket.io.and i want to use websocket.io with php not nodejs2
-
NodeJS and MongoDB. And tutorials.
Everywhere tutorials show simple example of console.log output of findOne. Good, that works... But when I try to extrapolate example to assign results to variable, it won't work. Inside that fetch anonymous function it works... But outside, simply undefined no matter what I try. Return doesn't return either...
Why it is so hard to make tutorials and examples that would be actually useful. I've spent hours with this already.
And on top of that it is really hard to find tutorials staying with minimum extra dependencies. Like most tutorials in this case throw mongoose in the soup. And I don't want that.
Sometimes makes me question why I try to learn these new things, when I have knowledge of other technologies that I could use faster and easier...3 -
As per knowledge everyone here knows that nodejs express is single thread compared to laravel which is multithreaded.
So definitely laravel is better than NodeJS
Then why would someone choose nodejs over laravel?23 -
When I open an open source NodeJS and I see that it uses 74 modules of which 68 that I never heard before, my stomach starts hurting
-
Well, My firm has a CRM which is built on JSP and Java. They want to upgrade the frontend by using a modern technology. Which one is a great choice React or Angular?
For the backend, APIs need to be integrated and I need to select from PHP and NodeJS. The traffic right now is 100 hits/second and is expected to increase upto 1k/sec in 6months.
What is the best choice for the frontend, backend and I need to select a HTTP request client too.22 -
Luulz
I hate react, ok it is now a knows thing about me...
But i have to maintain a huuuuge app made on react.
And the old developer mixed the nodejs backend with the frontend... And it is already a russian doll mess in components, cuz he seems to develop it during 2 years and only after one year he discovered redux !
Gosh... For a lil simple feature there is so many files involved... Gonna go crazy !
Happy that at least client pay big money for that1 -
I've been seeing job ads saying they look for people who are "good at node.js" or similar (e.g. guru, expert...) What does that mean? I only use npm when I do my reactjs projects. Does that count?4
-
I'm thinking about using my rep to post a collab for a open source low powered (low powered if possible) motion trail cam app.
Only I have zero android experience (I am a nodejs/meteor/javascript dev by trade).
Shall I go for it and rely on others experience? or go for something nodejs based?5 -
!rant I actually like developing for fitbit versa. Mainly because I like the nodejs workflow. studio fitbit online IDE is such a unique way to quickly start developing apps / clocks for fitbit.1
-
Hey, can someone point me to a sample project (if it exists) on the best way(s) to stucture code for Serverless architecture that includes GraphQL and unit testing?
Preferably in NodeJS. I'm more interested in the code structure than anything else. -
Want to write a webapp to practice my Nodejs and Vuejs skills. Any ideas, you were wondering about (no to-do list)?
I was thinking about to involve some external API.4 -
Today I've opened a nodejs project (its a vue spa) Then suddenly spotted a Makefile. It sure looked grotesque in there...3
-
Hey guys just a small question, when should nodejs be used. Ik for chats and stuff its great i used socket io before but i mean if a client wants a very basic website is it worth using nodejs or should i just stick to php. (Php haters kindly dont answer)1
-
Suggest a good framework name for nodejs? I made it for myself thinking to release it. Might be useful to someone.14
-
!rant
I graduated about a month ago and took a little break from coding. Now I'm looking for a side project to get the rust off in order to prepare for my job, which I start in August.
Got any ideas? I'm looking for something I can learn a lot from.3 -
Trying to make a nodejs backend is pure hell. It doesn't contain much builtin functionality in the first place and so you are forced to get a sea of smaller packages to make something that should be already baked in to happen. Momentjs and dayjs has thought nodejs devs nothing about the fact node runtime must not be as restrained as a browser js runtime. Now we are getting temporal api in browser js runtime and hopefully we can finally handle timezone hell without going insane. But this highlights the issue with node. Why wait for it to be included in js standard to finally be a thing. develop it beforehand. why are you beholden to Ecma standard. They write standards for web browser not node backend for god sake.
Also, authentication shouldn't be that complicated. I shouldn't be forced to create my own auth. In laravel scaffolding is already there and is asking you to get it going. In nodejs you have to get jwt working. I understand that you can get such scaffolding online with git clone but why? why express doesn't provide buildtin functions for authentication? Why for gods sake, you "npm install bcrypt"? I have to hash my own password before hand. I mean, realistically speaking nodejs is builtin with cryptography libraries. Hashmap literally uses hashing. Why can't it be builtin. I supposed any API needed auth. Instead I have to sign and verfiy my token and create middlewares for the job of making sure routes are protected.
I like the concept of bidirectional communication of node and the ugly thing, it's not impressive. any goddamn programming language used for web dev should realistically sustain two-way communication. It just a question of scaling, but if you have a backend that leverages usockets you can never go wrong. Because it's written in c. Just keep server running and sending data packets and responding to them, and don't finalize request and clean up after you serve it just keep waiting for new event.
Anyway, I hope out of this confused mess we call nodejs backend comes clean solutions just like Laravel came to clean the mess that was PHP backend back then.
Express is overrated by the way, and mongodb feels like a really ludicrous idea. we now need graphql in goddamn backend because of mongodb and it's cousins of nosql databases.7 -
!rant
Need a programmer who has previously worked on nodejs/ opencv for facial recognition. Got an interesting idea.3 -
Has anyone here used pm2 module of nodejs? For what purpose did you use it? like I wanted to know it's utility2
-
So, I have a problem I'm working with mongoose in nodejs and I want to make a dynamic query like I have 2 fields gender and type of room and these are optionals so what I did I wrote an if condition that if gender is not undefined a variable which is q += "gender:" + " ' " + gender + " ' " + ","; and when I pass this variable in find() it doesn't work but if i write the same query directly there in find() it works what seems to be the problem?1
-
Has anyone developed websocket server in Nodejs?
I am planning to use socketcluster. Has anyone had experience using it? Is it good or should I go for something else?11 -
How is it that years of development are not enough for NewRelic to add native support of mssql metrics in their unholy newrelic nodejs agent.????!?!?11!
On the other hand "important" databases like PostgreSQL are having native support.
Excuse me... WTF!!!!2 -
I remember when I first heard about nodejs. I was like " o boy that's what's called thinking out of the box!! ". Now whenever I want to motivate anyone I tell them about ryan Dahl.1
-
The other day i made a rant saying that having an index.js as entry point is misleading, in my opinion. it could have been implemented in so many and better ways but that's what we have because that's what the nodejs creator decided to do.
My previous rant wasn't well seen because everybody was saying that index js it's actually a good thing.
So I started to do some research because I've an important experience in software architecture and i was trying to understand why people couldn't get my point. Fortunately i found that even the creator of node itself regrets his choice to use a file as an entry point for modules and imports. You can have a look at the video, that is also really interesting, here: https://youtu.be/M3BM9TB-8yA2 -
Is programming a website/basic backend program in TypeScript with NodeJS actually a good idea? Or should you be programming it in C#, Rust, (not PHP), Golang, etc?
I personally feel like NodeJS has pretty amazing performance considering how much less code you would write compared to the other options. Although I feel something like Rust (haven't used it yet) would be more robust but more work.
Note: I only currently know JS, TS, C#, Go and obviously HTML, CSS9 -
I finally convinced my customer to move from WordPress to something else... Elixir? Nodejs? I'm not sure yet but I feel awesome!7
-
nodejs dev, how do u remove port number from url, i'm startimg to like nodejs, but port number in url is luke marks on the moon 😠
ps i did google n SO but nothing worked3 -
Is there anyone who switched from Java backend (Spring Boot) to Nodejs? If yes what was your experience? Some people say it's a downgrade because of lower performance and less specialized tooling want do you think about that? Also what about salary? Is it the same level?11
-
Looking into devcontainers, trying to avoid having to install every little piece of 'dev tool' into my system, so i can savely test rust.
The CLI to manage devcontainers in the standards requires yarn and nodejs to be installed, and further more is another little piece of 'dev tool'. nodejs literally destroyed my system multiple times, and is the whole reason why i am cautious about installing random tools in my system in the first place.
I feel so alone in this world sometimes.5 -
So...I think NodeJS is cool.
I confess 2 years post college I've decided to learn it. Should've done it sooner.
It's been on my backlog along with AngularJS and EmberJS -
Hy all,
I have a question to those that use nodejs, express.
A while back I've seen a project from a friend of mine and one thing intrigued me.
He was using a route.json file to call from it in his back-end api.
I am a noob still but I would really like to know what was that technique he was using.
I hope my description wasn't to vague.4 -
NodeJS just spat an error about an unexpected parenthese on line 57... the file only had 56 lines...
I did find the error after about 5 minutes later. Near the top I has forgotten to close a function... ¯\_(ツ)_/¯1 -
I am newbie to Ubuntu from windows
.
.
.
I installed nodejs in windows with few seconds
.
.
.
But here ubuntu i trying since last one week.
.
.
Error Posted on github (https://github.com/nodejs/...)
.
and
.
askUbuntu(http://askubuntu.com/questions/...)
.
.
No solution thinking back to windows.......................................12 -
Being new to NodeJS, I wanted to use the framework for a small script that involved connecting to a MySQL database and updating 1500+ records.
With NodeJS's preference towards functional programming over sequential, I wanted to do things the NodeJS way with callback functions instead how I'm used to doing it, using loops (and all the MySQL functions were async).
I couldn't update all the rows at once, so I wrote a callback function that calls back itself after the SQL statement is executed. A recursive callback function... am I doing this right?7 -
Image implementing angular universal which for it self is quite painful... Timeinvestment 8hours
Testing local 12 hours by the team
.. deploying to Google app engine because we need a nodejs server and we do don't have one yet ... Server crashing 24/7 with random errors most are memory related spend 3 days almost rewriting everything ... trying to find the memory leak
Then when I was about to give up stumble over a GitHub issue where someone is saying something about tiers on app engine.
Me going wtf there are tiers everywhere it just says automatically scaling instances ...
Googling .. setting to highest tier .. app works. Apparently I was in lowest tier which only has 156 MB ram app needs 150- 250 MB. Me now crying in corner about my wasted 4 days. -
Any idea of any online tutorials(video, written) that explains using react,NodeJs along with redux4
-
I am about to refactor a huge reactjs/nodejs spagetti code into angular9 front and php7.3 backend.
Change my mind7 -
People! Do you know if there is something similar to gulp and modules like minify, uglify, smooth, etc (for HTML, CSS and JS) that runs in Python instead of nodejs? I can't install nodejs/npm in my job because "open source software is dangerous" :)10
-
Okay people couldn't get a response anywhere so I'm going to do this here considering we have a bunch of geniuses here. I need to create a tunnel in nodejs or java to forward connection from client to server. Need to do this because my damn client can only use ports 80/443. Anybody wants to brainstorm?
These people have so much of garbage data yet want to keep everything secure as hell.4 -
!rant
I'm just a beginner with CSS, nodejs, sass and whatsoever. Also I really enjoy writing my docs with Markdown, so I decided to make an effort and create a project that aims to create an easy-to-use and easy-to-apply Markdown themes, that can be customized.
I know that this may be horrible code, but If someone can point me in a good direction, I'd be glad to learn and apply it.
https://github.com/apexJCL/...1 -
I have a directory "output" in my express project which contains some pngs and I want that every user can download the content of the "output" directory into their local machine can anybody tell me how I do this using nodejs?5
-
Having problems with connecting nodejs twitter bot to cloudinary api to fetch images and directly posting them to twitter.
Any help?3