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 - "js node"
-
"WE'RE HIRING!!"
Skills Required:
BEFORE: HTML, CSS, JS, jQuery
NOW: REACT/VUE/ANGULAR, NODE, CI/CD PIPELINE, DOCKER, GRAPHQL, JOHN CENA12 -
- 5 years ago -
Job interview question about mainly a Java position : where do you see yourself in 5 years?
*thinks about how fast things are changing, have no idea what the web, programming will be and even where I will end up and feel like this question is a trap*
Me: in not sure.. A dev lead
- now -
After changing 4 time jobs I'm a dev lead in node js3 -
Just released my JS devRant API wrapper. It has support for posting, viewing, voting and much more. If you are interested here is the NPM package:
https://npmjs.com/package/...9 -
Just learnt Node JS a week back for a personal project. Started working on it and had to get hospitalized for Dengue. Feeling like a helpless non tech guy without my laptop 😓10
-
I live in the terminal. I write lots of scripts (Shell, Python, node js) to automate tasks that would take hours to do by my teammates. Recently, I started automating everything that I put my hands on using Ansile: from pointing DNS server to continuons deployment, provisionning a fully customized infrastructure on the cloud using just a single command!
This is because automation gives you super power, the feeling that what you do help tl increase the productivity, reduce bugs etc.. Simply, once mastered, automation is ausome!12 -
At the end of this exercise, you will have your very own ‘bot’, capable of collecting any kind of information you want from the internet, into your own database. Sounds like a great way to get sued for Copyright infringement! Let’s get started!
https://franciskim.co/how-to-data-c...2 -
So my friend and I are trying to launch his bot in his Discord server. I'm typing node index.js: nothing. He tells me to delete the points.json folder. I try launching it again. NOTHING. I then ask him what I do then, so he sends me another .js file. Well it turns out I didn't have Node installed in the first place when I thought I already had. Give if take a good 10 minutes later, the bot is online. My favorite commands don't work because I was missing those files.6
-
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 -
The overhead on my JS projects is killing me. Today, I went to implement a simple feature on a project I haven't touched in a few weeks. I wasted 80% of my time on mindless setup crap.
- "Ooh, a simple new feature to implement. Let's get crackin'!"
- update 1st party lib
- ....hmm, better update node modules
- and Typescript typings while I'm at it
- "ugh yeah," revert one node module to outdated version because of that one weird proxy bug
- remove dead tsd references
- fix TS "errors" generated by new typings
- fix bug in 1st party lib
- clean up some files because the linter is nagging me
- pee
- change 6 lines of code <-- the work
- commit!3 -
99% of our server-side code is Python and PHP (legacy applications).
Asked a junior dev to make a small update to a PHP site so we could have it run some cleanup server side. Plenty of existing PHP code to look at and piece something together. Should be 50 lines max.
Did he use the existing PHP code to do this task? Nope. Did he at least use Python? Nope.
Node.js
His response?
"I couldn't figure it out and Node.js seemed to have good support for mongo so I used that instead."
We have 0 lines of server side javascript. Never had node installed. Literally none of the devs use node here. Not only is this completely outside of our tech stack, but he had to take the time to learn Node and JS just because he thought it was easier.
Much would of rather he put in twice as much time to learn the tools of our stack.8 -
Feel like a god!
I've made an API service that returns a list of countries based on a temperature range that they will have within the next 10 days for spur of the moment holidays.
It even finds you the cheapest possible flight ticket from your location to it.
So many nights were spent raging since I had never touched node js until 9 weeks ago and I have other huge pieces of work on the burner.
Once it's finished and works properly, how does one market such a service?9 -
Does anyone know a way of to do a video chat through node js (socket.io) or have a link to any resource? NOT through webrtc.
I used to have a link on this but lost it 😥
Meaning to give an end to end encrypted web video chat a chance.25 -
Seriously, wtf is with the new "make-everything-in-javascript" thing?
JavaScript is a terrible language. The type safety, or rather lack of it, gives me nightmares about debugging. The standards are always different. It's way too flexible. Ugh.
I'm tired of all the awesome services that I'd love to use being centralized over Node and JS. I don't want to use your stupid fucking language. Who does?
Also what happened to that dart thing that was supposed to replace JS?11 -
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 -
I was hired as JS Dev, done some projects with Angular and Node, after several months my boss told me to maintain a FUCKING PHP webapp with no documentation and shitty codebase. After he saw the results, he told me *man, you got some potential*, and he assigned me to build websites using wordpress(WTF is he thinking!). I thought that was the last time he would do something ridiculous, Yesteday he asked me if i can do Video Animation(After Effects)!!5
-
There are 2 node js apps floating around the city...built by me for intranet apps used in a logistics company.
I legit asked a friend if it has been replaced and he said no, that they keep on running like a fucking beast causing no issues whatsoever.
Fascinating. I was legit expecting it to crash a while ago.
Guess mern stacks do scale if you know what you is doing.
Write your unit tests people.2 -
Decided to throw pi-hole in a bin and found enough resources to throw together my own dns filter in node, which if not on the blacklist - proxies the request to an actual dns, which allows to filter given just a word too (because it's regex matching), "came up" with the idea after @Linuxxx wanted to make (or made?) some big hosts file via php matching and blocking to block anything that e.g. contains "google".
By resources I totally mean I would have ate shit, if it wasn't for: https://peteris.rocks/blog/... as most docs are absolute garbage regarding node-dns54 -
Have you heard about the Embrace, Expand and Extinguish idealogy? lets think about it:
Javascript 5 (embrace) -> Typescript and Class syntax to Javascript 6 (extend) -> JS (extinguish) with WebASM.
Atom/Electron (embrace) -> Atom fork named "VSCode" (extend) -> Atom (extinguish) as it was developbed by Github company.
NodeJS (embrace) -> incompatible Node Windows fork with IE/Edge JS engine "Chakra" (extend) -> NodeJS (extinguish soon) with chaos of Typescript, Javascript 6 and Github.
"R" lang (embrace) -> incompatible SQL Server 2016 R lang extension (extend) -> R lang (extinguish soon).
Android -> CyanogenMod (embrace) -> CyanogenMod (extinguish) as M$ "sponsored" Cyanogen Inc to destroy CyanogenMod
Linux (prejudge) -> sponsors RedHat, Debian, SuSE, Alpine and Canonical/Ubuntu (embrace), forces unstable backdoored "systemd" -> Linux (extinguish soon)
Reusing the last image I did because I didnt wanted to make more OC stuff cos the few ++ gained arent worth it5 -
Don't you just hate where we're going forward with these different JS frameworks and packages? WebPack, Electron and all the other ways we try to use JS for desktop development and a simple build of a tiny project taking 10 mins on an average spec core i7 machine, then overdosing on npm install since every frikn thing is now so modular you donwload a gazillion packages just to set up user authentication with a simple route manager in your app.
JavaScript is fine really for certain purposes. It's these other frameworks that try to modularize every single aspect of it that sucks. If there's anything called too modular, JS has reached it now. over-modularizing, and over-complicating everyday trivial tasks just to introduce yet another frikn package or framework.
Really missing the good'ol monolithic days of programming. I mean, modular is fine bro, but for godsakes draw the line somewhere!
#NoMoreOneLineModules3 -
!rant
I met a senior node.js developer for the first time and had a talk with him, really, I did not know how junior I was until I talked with him, everything he told me about node was just amazing, I mean, I describe myself as a good developer but he has the knowledge I would like to have someday, I loved node since I met the runtime and I follow many node/js programmers that are really good at it and I admire them, but having the opportunity to have an hour and something talk with one of them was really amazing and gave me more reasons to succeed and how to take that place, well I have to say this as per what I've already write -> nohomo5 -
First Hackathon ends today. Long story short: I was the only programmer of the team, we only had 2 days to develop it (of which we spent the first day doing research, so 1 day of coding), so guess what it's shit.
I basically took a bootstrap theme, hardcoded some data. Put some js on top for interactions and a node js backend, to interface some APIs. Just by looking at the code you'll get cancer, but the others of the team where impressed, how good it looked an worked...
Let's hope the judges aren't familliar with coding as well (our challenge got two judges whereof one works at a bank as some guy whearing a suite and sponsoring stuff... Ao chances should be ok)
Honestly fuck this. Not one team (afaik) has pfoduced anything close to being finished...10 -
Why do job descriptions for ONE developer position, list down ALL the known programming languages, all the web technologies and frameworks available? From java kotlin swift php js jquery node to ionic angular laravel python and what not. Wtf? And this is not one, this is about 70 percent of the job descriptions I see these days!!5
-
Has this ever happened to any job applicant here:
Job requirements:
Java, angulaj js, TDD, node js and demonstrated usage of noSql DBMS.
You qualify for the job and only to find the work mainly requires php1 -
I wrote a node + vue web app that consumes bing api and lets you block specific hosts with a click, and I have some thoughts I need to post somewhere.
My main motivation for this it is that the search results I've been getting with the big search engines are lacking a lot of quality. The SEO situation right now is very complex but the bottom line is that there is a lot of white hat SEO abuse.
Commercial companies are fucking up the internet very hard. Search results have become way too profit oriented thus unneutral. Personal blogs are becoming very rare. Information is losing quality and sites are losing identity. The internet is consollidating.
So, I decided to write something to help me give this situation the middle finger.
I wrote this because I consider the ability to block specific sites a basic universal right. If you were ripped off by a website or you just don't like it, then you should be able to block said site from your search results. It's not rocket science.
Google used to have this feature integrated but they removed it in 2013. They also had an extension that did this client side, but they removed it in 2018 too. We're years past the time where Google forgot their "Don't be evil" motto.
AFAIK, the only search engine on earth that lets you block sites is millionshort.com, but if you block too many sites, the performance degrades. And the company that runs it is a for profit too.
There is a third party extension that blocks sites called uBlacklist. The problem is that it only works on google. I wrote my app so as to escape google's tracking clutches, ads and their annoying products showing up in between my results.
But aside uBlacklist does the same thing as my app, including the limitation that this isn't an actual search engine, it's just filtering search results after they are generated.
This is far from ideal because filter results before the results are generated would be much more preferred.
But developing a search engine is prohibitively expensive to both index and rank pages for a single person. Which is sad, but can't do much about it.
I'm also thinking of implementing the ability promote certain sites, the opposite to blocking, so these promoted sites would get more priority within the results.
I guess I would have to move the promoted sites between all pages I fetched to the first page/s, but client side.
But this is suboptimal compared to having actual access to the rank algorithm, where you could promote sites in a smarter way, but again, I can't build a search engine by myself.
I'm using mongo to cache the results, so with a click of a button I can retrieve the results of a previous query without hitting bing. So far a couple of queries don't seem to bring much performance or space issues.
On using bing: bing is basically the only realiable API option I could find that was hobby cost worthy. Most microsoft products are usually my last choice.
Bing is giving me a 7 day free trial of their search API until I register a CC. They offer a free tier, but I'm not sure if that's only for these 7 days. Otherwise, I'm gonna need to pay like 5$.
Paying or not, having to use a CC to use this software I wrote sucks balls.
So far the usage of this app has resulted in me becoming more critical of sites and finding sites of better quality. I think overall it helps me to become a better programmer, all the while having better protection of my privacy.
One not upside is that I'm the only one curating myself, whereas I could benefit from other people that I trust own block/promote lists.
I will git push it somewhere at some point, but it does require some more work:
I would want to add a docker-compose script to make it easy to start, and I didn't write any tests unfortunately (I did use eslint for both apps, though).
The performance is not excellent (the app has not experienced blocks so far, but it does make the coolers spin after a bit) because the algorithms I wrote were very POC.
But it took me some time to write it, and I need to catch some breath.
There are other more open efforts that seem to be more ethical, but they are usually hard to use or just incomplete.
commoncrawl.org is a free index of the web. one problem I found is that it doesn't seem to index everything (for example, it doesn't seem to index the blog of a friend I know that has been writing for years and is indexed by google).
it also requires knowledge on reading warc files, which will surely require some time investment to learn.
it also seems kinda slow for responses,
it is also generated only once a month, and I would still have little idea on how to implement a pagerank algorithm, let alone code it.4 -
If you didn't think NodeJS dependency hell was that bad, you should try sequentially parsing a graph that's stored as an array of nodes and their references, where processing of said nodes forces you to use some async functions that depend on other async functions.
What should have been 20 lines of code written in 30 minutes has turned into 3 hours of horror, reading about babel, realizing that it's just adding more problems without solving one, assessing the effort of modification of async libraries to include sync methods as well, trying out asyncwait, async, and everything else there is, trying to rethink the recursive algorithm, rewriting it several times, cursing and hating myself for not choosing to use Python or .NET Core, screaming senselessly at my wife in a language as familiar to her as Klingon, crying in the bathroom, re-assessing my life choices, thinking whether it was a mistake to dedicate 10 years to this career, maybe I'm just not cut out for it since I can't handle this simple task, watching noose tying tutorials on youtube, thinking about my naked empty RPI that won't connect to the server any time soon.
Seriously. Why is it SO BAD?! Or is it just me?5 -
I'm a front end developer who knows Ruby on rails and Node Js, I still call myself a freaking FRONT END DEVELOPER because I don't have enough knowledge of the required concepts to trust my skill in a complex backend project.
How the fuck there are so many full stack developers who lack shit tons of knowledge in both specialties! And worst of those are asp.net "FULLSTACK DEVS" that can't write JavaScript without copying and pasting from SO and don't know that display flex is a thing!14 -
I'm so tired yo... I'm on 2 startups, one is mine the other some dude I'm working with. Both sites built in PHP. Another side gig slack bot thing in Node JS. And then 2 day time jobs in which I'm deciding which one to quit out of... 🫠😵💀5
-
Hahahahaa.. being coding for three hours long.. just to realize i have only put a dashboard on my web page :D16
-
I tried to contact 3 developers of restify (famous node js package) to tell them about my library anumargak (node js based router). I received the response from one guy finally who talked to other developers when I explained the advantages of switching to this new router.
They all were happy to switch and asked me to do necessary changes and raise a PR. I did it and then they stopped responding. -
So this morning I read this article where the author said "Javascript is a beautiful language [...] because it creates good, responsible, and intelligent developers." Why? Because by worrying by "getting your head ripped off" you learn to adapt and overcome.
Though I almost laughed and woke everybody else up, I must admit that it isn't that crazy of a statement. Right?
https://hackernoon.com/a-crash-cour...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 -
You can never understand everything. But, you should push yourself to understand the system.
- Ryan Dahl (Creator of Node JS)2 -
hey guys,
I've been working with js for like 5 years now, and I figured I could help some people out, if needed.
I wouldn't consider myself a js lord, but I have some decent experience, and even if I don't know something I'll be honest about it and at the very least I'm pretty sure I'll point you in the right direction.
I'm fond of vue, lodash, es6, node, eslint bla bla. I also know rails.
In any case, my objective with this is to learn myself.
So feel free to tag me if you have any type of question about anything js.
Cheers.11 -
Thing that just occurred to me.
Write backend of website in Node with Mongo.
Write front end of website by using PHP to echo data from mongo and inline styles. PHP will also echo any inline JS that needs to make AJAX calls back to handle responsiveness.
Write a website with JS as its backend and PHP as its front end because the world has gone absolutely mad and you dgaf anymore.2 -
Node.js homepage went full retard. Black people don’t need more Node?js. Actually, noone should need this.8
-
You know you have chosen the wrong JS library when you read a function definition like this:
validateSync(schema, options, callback) -
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
-
All the hype with Node JS. All the hype with GCP and Datastore. Takes 24h to even get started. But again, what's wrong with me?
-
Tiny CLI app to check the stats of a GitHub repo: https://github.com/klaussinani/rels
Found it useful to track my org's repos1 -
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 -
OH MY GOD, i cant believe this is my 25th day without a job... why!!!! not with all the kubernetes and node js and javascript that i know. lol. not to mention golang and python and all the networking stuff, dns, aws etc. lol where are all the recruiters when i need them?!!!!8
-
fuck javascript
node.js module system sucks. Like its module system is trash, who will want to download some fucking 1GB worth of packages to create a new project.
People keep on just creating other package managers. Yarn is good enough because it caches your packages but still, i am just from deleting some 2.2Gb node modules from my computer and just whyy ?
An area where internet connection us shitty and expensive it is just not very well.
Fuck javascript is everywhere so i have to use it,
typescript just adds another layer to the heavy lifting. You write some typed code to 'reduce bugs' but you generate much more heavy code. I could write in 1kb js file but i end up getting some 3kb js because what - i used typescript-ügvjpiahdjb
fuck javascript14 -
Is it only me who's falling in love with JS day by day. I don't know why people hate JS and find it complicated. May be the NODE development is easier9
-
I don't know what to do with my life anymore, as a self taught web developer, I started like anybody doing HTML, CSS and js, and then I met PHP and WordPress.
why the fuck PHP is ugly ? and why WordPress is uglier ? I tried to learn how to build a simple plugin in WordPress but the hooks system make me want to kill my self, how the fuck PHP powers 80% of the web ? every time I write PHP I wish I was never born, the problem is that I can't change job because I am old and I live in a fucking country who is technologically primitive, they fucking know only PHP and JAVA, no Node, No Ruby, No Python, only fucking PHP.
I learned React, I learned Node but you know what I did this last year ? I raped a themeforest theme for about dozen plus websites, A SINGLE THEME FOR MORE THAN DOZEN CLIENTS, my boss does not care, only me who is not sleeping at night because a tried to customize a Prestashop theme and it gave me cramps in the stomach, I feel depressed and useless, I want to quite my job but I can't, I have mouths to feed, WHY THE FUCK DID I FELL IN LOVE WITH PROGRAMMING, I was happy fixing computers, what can I do if the only project that I have are WordPress and Prestashop?
how did you do to stay sane when working with wordpress and prestashop ? are you not human ?I can't take it anymore.
I need a new road map, fuck it I will focus only on JS and Node and fuck PHP.10 -
Writing x86 assembly code in VS Code feels so weird. I mean, I'm using something that's built using crazily high level languages (JS, HTML, CSS), on top of a mammoth runtime environment (Node, V8), which is itself sitting on a modern and sophisticated operating system (Antergos), and I'm writing code that shifts bits and bytes around in memory in order to get one part of my C program to run just a little faster. Wow.1
-
Learn nodejs, love it, abandon it coz most jobs in the country want php and none heard about the new js frameworks.
1 year later, decide to change job, look at posting to find senior php position, all companies want node, angular, react & vue...4 -
Me: I've just formatted my computer for the nth time. I will only keep crucial software installed from here on out.
5 Minutes Later . . .
Me: sudo apt install fortune cowsay aa bb cmatrix toilet xeyes lolcat figlet pacman4console3 -
Joined a startup which does webscraping. I never knew that webscraping can be so much monotonous. I feel like I am doing a damn support job. Apart from that websites keep blocking the scrapers, and that is another thing to be fixed. jesus christ, non devs keep asking for ETA about how long would it take to complete a certain task. Thanks to remote work, I have been burnt out every day, and have been working for 14+ hours everyday!!!!! God help me!5
-
I am making my first dashboard/summary page without a tutorial! Once I learn D3 via a Udemy course, this will be 93% done!
I just want want to see what you guys think?
Some text is removed as I shared it on FB and the business I am making it for is following me and they have NO idea that I am doing it for them.5 -
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 -
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
-
Thinks of some cool npm package to build.
Thinks of a cool name.
Goes to npm to check if the name is available.
Finds the exact package instead ;-;2 -
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 -
If the package.json is longer than your actual code this maybe shouldnt be a package. Just saying.1
-
I wanted to build a smart home system with arduino or pi when I'd have my own place. But since that is a ways off, let's park that.
Just learn me some linux, python, node, typescript and some js frameworks, maybe handlebars, knockout and angular? -
FUCK YOU NODE JS AND FUCL YOU SYNOLOGY
Decided to give an old Synology DiskStation that sits at home slme new life besides just sharing files. Since Synology has SSH but not a full Linux OS, installed DebianChroot (so far so good). At one point I needed Node JS, so installed NVM and tried to install Node. Well guess what didn't work. Tried a few more things including directly downlosding node from the official node website. Trying different versions, the whole drill.
After about 5 hours of installing and errors, well really usfull errors like "There where 2 errors during installation" WELL HOW ABOUT YOU FUCKING TELL ME WHAT THE ERROR IS YOU FUCKING FUCK!
I found a formum wkith a guy haveing similar problems. Able to install legacy 0.10.x versions but not 4.x.x. Or 6.x.x oder whatever. He found that you have to have at least an ARMv6 compatible processor, otherwise it won't run. Checked it and well, that old fuck of mine only has ARMv5. FUCK! But honestly. You detect it's an ARM architecture. You detect it's not one of the v6 or v7, you try to install the general arm version, BUT YOU DON'T GET THE FUCKING IDEA TO MENTION TO CHECK WAHAT VERSION YOU HAVE AND IF THAT IS SUPORTED BY FUCKING NODE!
One afternoon wasted, at least I got a little more wisdom. Fuck do I hate Node now. On the bright side, I've ordered a Raspberry Pi and two cases for Harddisks, I'll create my own diskstation with blackjack and hookers (I realy hope you get that reference)! Fuck you Synology and Node JS (yeah yeah, it's not Synologies fault, but I'm mad anyways!)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 -
How long does it take you guys to learn Node JS?
My professor wants me to work for him on a CRUD Server for a semester, I have some experience with JavaScript and API programming with Spring Boot. Should I take the offer and learn more about Node at home?
I think I will feel like an imposter if I take the offer if I don't have any previous experience in the stack11 -
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 -
So my friend loudly burped into the microphone while having a skype call with his bosses and some important clients (he thought the mic was turned off).
Here's the recording: https://clyp.it/cncacppm2 -
Why are there barely any material design based static site libraries using js and CSS -,-
Don't use node or anything so guess I'll be building my own 😁🔫16 -
we(Friends) discovered this yesterday.
Steps:
1. created a file.js and added a console.
2. renamed the file.js to file.java
3. ran that file.java through node
result: displayed in that image.
Javascript running .java .....seriously?
js how many hidden surprises you have for me. it was even running in .txt, .php etc
Okay let's come to actual point .
I tried to research on this. however, i couldn't find any links related to it.
Well, I tried the same with casperjs and python.It behaved the same.
is this behaviour because it is a scripting language?
Please do share your thoughts on this16 -
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 -
So looking at React/Node and all the GitHub projects etc. It seems JS/Node is the current/next big language like Java, C++. Runs on everything, can build anything with it, and is well supported.
Sorta crazy thinking about it though since JS is old and used to be shit used by script kiddies...20 -
"Desired Characteristics:
Solid software development skills, in at least one major language (e.g. Java, JS, Node.JS, C, C++)"
Node, huh...2 -
!Rant
For a school project i had to develop a copy of Skype, This had to be able to run in Linux OSx and Windows, Any suggestions about what to use ?
I thought to node js electron for the app and node + mongodb or rethinkdb as a back end7 -
Am I the only one not enjoying Firebase realtime/cloud? Supposed to make it easier but eventually more complex than building rest in php/node js......2
-
project-manager : what are you doing ?
me : just having some coffee .
project-manager : stop all shit go to work .
me : ok sir . got up and went for my laptop .
my mother screamed at me and screamed "what
are you doing ?"
i then realised it all a night_mare1 -
My lovely team and I inherited a legacy app written in Angular 14.
We love it when we get fucked by Pajeets like this.
We love tons of `any`-s in the codebase.
We love unreadable code with 5 levels of nested ternary operators.
We love the lack of a README on how to actually build/start the app.
We love the outdated dependencies.
And we absolutely love it when you use a paid package that costs $1755.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
-
Curious what you guys think about the creator of Node.js saying that he does not think Node is the best tool for servers and that Go is a much better option.
For me at least, I think it is great that people like him become aware of the shortcommings of the technology they devised, but wonder if it is such a good move to say such things (even tho apparently he is not the head of the Node.js project anymore)
I have always been fascinated by Node and the whole JS ecosystem. I think it did wonders for JS developers and it pushed the whole JS experience to a whole new level, but I am also aware of the shortcommings of it just as I am of the other environments that I use.
So, what do you guys think about his statements? Would you consider investing time in Go as a Node developer? Do you think that it will be possible to do a switch or would you rather stay in and advance the state ot Node development?2 -
Today I had to restart a VM that should contain only an apache server, after a period of time some clients complained that there a functionality in the system is not working. I checked the code and I found that this functionality is depends on local server in deferent port, so I back to VM log and found there was a node server was working on this port.
Every thing was fine till now, I check folders but there is no FUCKIN js files for node server.
After hours of searching I found 5 files in the public/assets/dist/js path that named with the same functionality name and a number 1 to 4 and the 5th one is a TEST.js. After checking all files I discovered that the server file is the TEST.js !!!!! seriously WTF ...2 -
I can't share it but I basically just wrote an email at work that's pretty much a rant.
Basically something like should we use Java for this new component? It needs to communicate with our existing server written in JS.
And someone was like no we should stick with JS and Node because that's what the website is written.
And so I'm like wtf... It doesn't matter as long as everyone agrees to follow the same rules... And then added a part about commenting and documenting stuff being more important so I don't need to keep doing CSI on the codebase when something blows up.2 -
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
-
Unpopular opinion: JS isnt that bad (given you use ES6+). Only node needs to die, and if possible please yesterday.11
-
Just got intern to “help me” on project. Told him to install nodeJs and run ‘npm install’ inside project folder that he pulled from git.
He ended up running ‘npm install’ inside C:\Program Files (x86)\nodejs
Don’t have slightest clue how he got this idea, ... I just wanted to smash my head through window by that point. Similar shit repeated whole day long.7 -
The one day process of installing a Heroku dyno:
- Setting up Heroku from nothing, with variables, and cli etc... -> 20 minutes
- Mulling over the fact that __dirname doesn't work for some reason -> 1 hour
- Debugging one retarded error message after an other only to realize that a critical file is missing from the repo, that I should have noticed after 2 minutes -> 6 hours1 -
Today I watched "the birth and death of js":
https://destroyallsoftware.com/talk...
Here Gary Bernhardt talks about compiling executables to asm.js and about running the compiled files using a js interpreter that can be included in the kernel.
Eventually, some responsibility can be moved from the kernel to this interpreter, responsibility like virtual memory and trap management.
This speech aims to be fun, so not everything should be taken seriously...
but...
but...
(Forgive me)
...this trick seems to be a nice idea, and projects like Node OS work likewise.
So now, would you even consider this? Or is it just something that will be nothing more than craziness of a mad man?1 -
Why does everything installed via npm sux so hard?
Why the fuck does any minor update in their bullshit packages either forces you to change config files:
E.g. now should be "@babel/core" instead of "babel-core" - WHAT A FUCKING SIGNIFICANT CHANGE!!! Rewrite all you configs motherfucker, that goddamn "@" in front of our shit is SO IMPORTANT that we will break everything to add it
Or breaks the code internally:
Consider the recent fail of fucking Terser [https://github.com/gatsbyjs/gatsby/...] that breaks fucking webpack and FORCE YOU TO ROLLBACK TO ANY VERSION THAT WORKS, why you nerd retards, can not run a simple dummy project BEFORE YOU RELEASE YOUR SHIT???!?!!?
Why any fucking update from *.*.1 to *.*.2 turns into hours of googling of what the fuck got broken this time??
The way that webpack, babel and other npm packages are released nowadays is absolutely retarded. I really have a strong feeling that it is better to keep old error-proof working config and NEVER UPDATE, than constantly suffer from butthurt
p.s.
Of course I am sorry for all the hate and caps in my post, and have respect for guys that develop amazing stuff for us for free, but I need to share this5 -
That moment when all of your code has reached to max distortion in format and you forget the shortcut to format the code again.1
-
I was in dependency hell for two days.
Im a junior working in a team creating an ember app. Suddenly a main component refuses to work since an addon threw "EmberObject undefined"... Nobody could reproduce it and we where out of ideas, so I tried fixing it for 2days (7h total). I finally got it working after updating yarn :D
It never felt so good working again :) -
Web developers, please recommend a tech stack. I have work experience in Laravel, Angular and Node Express. Personal small experience only for Vue and React.
Frontend: Angular, React or Vue?
Backend: Node Adonis JS or PHP Laravel?
CSS framework: Angular Material(angular), Material-UI, Tailwind CSS or Bootstrap?
This is for a personal project API based. What frontend backend tech stack are you using right now? Thanks!23 -
!rant
First post...starting a new job today, and I will be working as a JavaScript developer (Node, angular). I only worked with Java before this job and my only JS experience is with little side projects. I am super excited to get start working with new technologies. Anyone out there have a similar experience?4 -
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 -
Worst architecture: the stack compiler I wrote. I basically just made my own shitty webpack.
The idea was simple: Babel to minified JS, Scss to minified CSS, and HTML to minified HTML. Made in Node JS, of course. (perhaps that’s where I went wrong!)
The thing works... and I use it... but boy is it bad. It even broke on my current project (which is for a client so...) and I’m having to work around my own god damn code.
I really need to revisit it and redo it.1 -
!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 -
Soon I’ll be unemployed (on purpose) and will spend some time on my own project ideas.
Pretty much each of them will require an API..
Already started with the first one using python + flask, but I’m planning to do each of them in a different language..
What do you propose? What’s the most fun and the most interesting technology in your opinion?
I’m senior in Java and advanced in JS, / Node so it won’t be any of those and I’m also not a fan of PHP :)5 -
Just learnt Vue js. Now I need to learn a backend framework. Django or Node js? Which one should I learn?8
-
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 -
Upgrading frontend JS node webpack apps created from boilerplates or cli creators including versions in package.json
My brain already hurts only thinking about it. -
JS/NODE/MOCHA I HATE U....
SPENT ALL MORNING REVERTING AND DEBUGGING A BRANCH BC SOME UNIT TESTS FAILED.
THE CAUSE WAS NOT IN THE FAILED CASE THO.... IT WAS BECAUSE SOME OTHER JS FILE WAS NAMED *Test.js
ITS NOT A PROBLEM IN A LIVE SERVER BUT IT SCREWS UP THE SERVER WHEN ITS RUN IN MOCHA FOR ITS UNIT TESTING... -
!rant
So Today I decided to Learn on React native, something during set up. Decided To clean Node_modules , the file size is 34.45GB
(o.O) WTF ?
I am not a big fan of Node Js or react, Can Someone explain to me why the file is so large?8 -
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
-
I spent half of the day trying to make the Grunt script of my node project which uses ECMAscript 6 (Harmony) and make compatible with Uglify-JS by using Babel... Then I found there was a branch of Uglify-JS for Harmony and I only had to update my dependency which took me 2min -_-
-
Does somebody know a js library to make a route network on a map, like the ones airlines use. Where you can enter/click on the departure and it displays a forced node graph of the destinations from a database. Like this: http://easyjet.com/ch-de/...
Google shows only computer network related mapping stuff *sigh*3 -
I remember studying up on web dev by myself, got advanced into php and all frontend stuff js, jquery, css, html. Coz all jobs in the country wanted those exact stuff. I got a job, 1.5 years later tried to look for other jobs, everyone wanted react, angular, vue, node... fucking market outdates u as u are working. Dont u hate that6
-
I'm using git bash on Windows 10, tried WSL, but it is really messed up needs more documentation, i had multiple installs of node js and other stuff including node_modules
So using git bash, I have my own sweet .bashrc file which is awesome, using bash or WSL is kinda slow, just wanna know how you devs have set up your terminals.4 -
Lodash, Rimraf, Grunt, Gulp... I'm still not convinced that our frontend guy isn't just playing Pokémon Go all day2
-
Many months into the project, we discovered that the client doesn't have a REST API for the data we needed from their side available at all - it's a legacy SOAP service.
I somehow got our Node.JS backend to do SOAP calls and use the XML results.
I'm not sure if I should feel proud or dirty at this point.3 -
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
-
So i was considering to start learning laravel but after all the hate php gets, i'd like to ask for your opinions guys.
I recently started working on django for a college project and that made want to learn new stuff, so i'm hesitating between JS (plain Javascript, jquery, node, angular...), laravel, ruby on rails or anything that could help me both on frontend or backend.
Any opinion is welcome and most appreciated11 -
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 -
We need a Rant Con , a place where all the react, node, angular, .net , js, docker and all other languages, people come and rant for 2 days straight4
-
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 -
Why do node.js devs think it's okay to deprecate older functionalities while replacing them with barely-working ones riddled with bugs?
Is this a node.js community thing?14 -
How the fuck can I get npm@5 to show me everything it just installed when I type `npm install`?
Was this because some twat wanted to push the idiotic idea that it's perfectly acceptable for js projects to rely on three million two line hipster.js libraries?
Fuck everything about the node ecosystem.2 -
Constantly feeling like I don't know enough to land a jr. Web dev position. I know html/css/js, I understand the fundamentals of jQuery, I have an early grasp on node and express, and Ive played around with some mongoose and angular. Still, I feel like I'm a thousand steps beyond landing a job. Im about to graduate college in a year and seriously need the money but I have no idea how I'm going to get there.6
-
I used to have problems installing rails on PC and it took me 2 weeks to figure out that I just needed to install Node.js... I want 2 weeks of my life back :/
-
Which editor among atom or vscode is best?
I'm bit confused about this.
I mainly prefer Atom, but want to know what vscode can do a more better?11 -
i am indeed working for some fun litte projects with the Dev Rant Unofficial Wrapper API and it looks good to use it! Now. Lets make some Action!2
-
I feel there aren't enough tutorials on "best practices" when it comes to combining server/client tooling in a monorepo.
Having done so this weekend, the tasks involved were:
* using graphql w/ express to serve requests and expose a "graphiql" ide instance
* differentiating build steps in prod vs. dev
* applying middleware in prod vs. dev
* working with a single heroku dyno
Still missing:
* hot reloading
* my general sense of direction -
my client has the most ridiculous tech stack for displaying an admin ui website I've ever seen.
* They have a mssql as db (on a separate machine)
* node js backend followed by a nuxt js backend (why???)
* then a nginx and on yet another server an apache8 -
I begin to feel node js is more like a way of training normal developers to using JavaScript's lameness since it fucking sucks overall9
-
The JavaScript community should invent the word "outd" to use instead of "outdated" just to make sure they give forewarning about frameworks and tools going out of fashion, because by the time they spell the full word it's already too late and a post-mortem announcement.
-
how can I start freelancing?
i learnt js CSS and HTML and aspiring for node js.but would like start freelancing sideways. any rants ?4 -
Today has been a day... I tried debugging something.. it failed.. as I saw my day passing I switched to something else.... now I can go for a drink.. I did something today..2
-
When you have a task in javascript and it should use quadratic space and its use only linear space...
... easy workaround for double arrays that rise
so when n goes up
n×n array rise with 'false' within the fields? So i use quadratic space -
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
-
JS scrub doing a course using React. Necessary scripts provided in the course are only available as online .js files, not node packages. Keeps failing no matter how I try importing. Trying to find alternatives, but seems like no-node packages are only remnants of the past.
Get tips like this: "You should take a look at how you can combine js files with built-in modules." -
Managing countless dependencies makes me wonder if we can escape the madness and return to the simplicity of vanilla JS. Must be better than being doomed wandering the labyrinth, right? 🤔🔄🕸️3
-
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. -
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 -
Developers: We can install and build a package without any errors easily.
NPM exists: Surprise MF's.6 -
Any NODE-JS.pdf available to learn a bit deeper.
Links would be great.
Names, if you've downloaded before.
Thanks in advance.12 -
https://youtu.be/-r77mqu9jKA
This is the demo of my real time chat application
Please support me by liking the video and subscribe to my channel13 -
It's interesting how netscape was one among to start the dotcom bubble, and how the breakage of said bubble gave Douglas Crockford some time to read ECMA script standards, and really drove him to write the 'good parts' and JSLint. Which then lead millions of js frameworks to bloom; then node, react, now flutter; and what not!
Time travellers should be really careful not to step on that netscape fly!4 -
I have been coding since 2016, am I overthinking applying for jobs because Im not that "current"? (my React experience is not that deep, I have been working on our startup whos stack doesnt use React or any other front-end framework (only simple handlebars templating))
I have built an actual stable working web platform and mobile app through ionic, is this enough to get a decant non-junior job?
I have never actually worked at a company, its been freelancing and startup (we failed, moving on). Am I overthinking how good I need to be to get a job? I like this one local company but I dont want to screw it up, Im sort of delaying applying there because of it7 -
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 -
Anyone ever seen the behavior with async methods and promises where at the end of what should finish the await in the calling code the function never progresses past the await even though it returned ?30
-
Hey JS/Node combo. Get your shit together as I'm really pissed of when I see shit like this. This is why I keep myself distant from everything even remotely connected to you but this time I really want to do web extension.3
-
I've recently launched a node js package fast-freeze. It makes an object read only by converting it into series of functions. Though it is faster but looks ugly to use. Eg giveMe("server")("port").
Any suggestion to make it less ugly?3 -
should i add to an existing horrible node js program with dependencies that are marked unsafe or no longer supported, or port to a nice shiny c# or python app that will probably be much easier to support and extend and organize ?2
-
I spent the last 1.5 hours trying to optimize delivery of two 8.0KB JS files. It didn't work, at all tried like everything I could find. At the end I initialized it in angular json and made it load regardless. Made me realize that it is not made for optimization.1
-
One of the devs stayed an entire week trying to do ‘npm install’ on one of the projects. Took a look xcode is not installed
-
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.
-
Diving balls deep into Reactive Native + Electron after close to a year hammering away like clockwork with Python(everything), Flutter/Dart, EJS/JS/jQuery/Node makes me feel like my manhood has left hahahaha
-
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... -
Monday AM. Instead of building images in the backend i'll just make them in HTML and use a headless browser to screenshot them ! Sweet. Doable in a day and saves the rest of my week !
Friday afternoon. Crashes, browser failure, zombie processes, intermittent failure, docker failure with headless browser. Still not working well.
Why am I such a dumb fuck ? -
Can JS events bubble in trees of objects other than DOM nodes? If so, what properties do I need?
I tried to read this: https://dom.spec.whatwg.org//... but it's stupid long, references a bunch of other functions and I got lost in between the variables.
I'm kinda confused because it often uses type checks (i.e. if target is a Node or a Window object), which goes against the very point of duck typing.
I could technically make my nodes into DOM nodes, but I'd rather have them inherit from Worker.1 -
!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 -
Was using node for a side project, but then I was like ehhh I could finish this but using js on the backend is kinda sad, and ive worked with Django before so I figured oh maybe, python would be a step above js, but still not satisfied. I started following a guide for PHP and doing research and I almost vomited. Then I start following a guide for Ruby on Rails, which I am now wondering where the fuck ive been ignoring it for years. Now I'm "on rails" and typing this on a train teeheeehee6
-
How do you guys monitor programs on your servers?
For example, I have a raspberry pi zero w running raspbian (headless). On this pi, I have a bunch of discord bots and web scrapers running at the same time. My solution was to run them all from a bash file:
Python3 discordbot1.py &
Python3 discordbot2.py &
Python3 webscraper1.py &
Node webscraper2.js & etc.
Is there a better way I could be running these services? How is stuff like this usually done?7 -
! rant, needing advice
I'm about to start a big and ambitious project, and I'm stuck with a dilemma: what to pick for the back end server, node js vs Java JEE
The thing is that node is way faster than jee in concurrency transactions, which is a critical point for the program. But Java is Java.. I never worked on a huge app with JavaScript and it may become really messy..24 -
I mainly using react/svelte + node on making web projects, but I wanted to learn new things outside JS environment. Should I learn RoR(Ruby) or Phoenix(Elixir)?
P.S. I will learn the language first before jumped into the framework6 -
What are my odds that V8 will recognize my efforts and convert my for loop to use SIMD? It literally just adds the elements of a Float32Array to another, it's the single best chance for compiler optimizations to shine.4
-
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! -
JS: dont worry, we got this simple decode function build in.
Node: yeah we had this build in but we took it out, now you have to require the module first and then declare it and then you can use it! -
In legacyCode, somebody mixed jQuery data-toggle with custom JS triggers that toggle the target's DOM node, and to "fix" the mess, set display: block !important.
Took me too long to remember that Firefox dev tools show JS events (while my Chrome dev tools don't - why?) now I'm on the right track towards a solution...4 -
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 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
-
To all Full Stack js employed devs here,
How much frontend vs how much backend you do?
It's just that I'm going to be in a job with a Full Stack node/vue/ember/AWS/Redis dev role and I don't know how much frontend I'll do compared to the backend stuff, I'm alot more of a backend guy...1 -
!Rant
So... In the mood for a new lang...
Mainly Java developer but have done Scala, Python lately and a bunch in the past (C, PHP, little js, HTML5).
Thinking of .Net or node js ATM...
I'd welcome any ideas :)3 -
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 -
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 -
Has anyone experience with Frontend Testing and can suggest something good?
Note: JavaScript / Node JS3 -
Does this happen to you guys too?
Yesterday I was coding auth for node.js with help of tutorial (I'm pretty new to node.js). I was pretty sure that I understood how it works and I turned off my computer. Then when I was in bed ready to go to sleep I tried to go through the code in my head, but I completely forgot everything I wrote. I guess I was just copying the code without even noticing I didn't know how it works. Now I'm trying to learn it once more. -
tired with chalk to make console look more beautiful ? here is the new thing "https://github.com/klauscfhq/..."
for node js3 -
!Rant
I have my first interview on Wednesday for an insanely good opportunity.
It's a junior role through and through, 10 weeks training and bringing up to speed.
They said don't prepare anything for the interview, but I have been panicking.
It's all for JS (React, Node).
What should I be thinking about? What should I be prepping?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 -
Could someone advice me to pursue a programming language? I'm currently working with PHP using laravel Framework. And I 'm thinking about javascript like node js, electron and etc since it enable developers to create cross flatform app from web , to mobile and also to desktop. I'm just a little bit dizzy about these things right now.10
-
I’d wrote some node js for simple web service. And when I learned typescript at first, I couldn’t find any reason to port these into typescript. And I replace old koa framework into nest js.
-
Server-side JS existed in 2001, way before Node. The more you know https://github.com/antville/...4
-
Doing node dev with a friend that never used JS before
He asks about how to make enums for our generic model to use
Good question I think, I'm not sure
Apparently you just make a fucking object and freeze it, go figure with JS
"Wow. I bet that's super fast /s"
Dammit JS you patchwork ass language, I love you but I see why classic language developers are turned off2 -
node/JS is retarded
TIL that you can call return multiple times but it wont break
6 hours down the drain9 -
I ngl miss the thrill of high-performance computing. Or more precise would be where the program's running was directly affected by what I did.
Ever since career took the applications/apps/backend route, i try to optimise but ik it's useless.
The c#/.net would anyway make its own changes, Im not allowed to write direct SQL queries and index-powered joins coz "EF will handle it". Any JS/TS is recreated by Node
Thats how work be but kinda saddening2 -
I heard I should not allow users to inject arbitrary text into my webpage without sanitizing it. Is it a clean solution to just eval it on the (node) server, and if it runs not post it because it's obviously JS and not just text?
Any opinions on that?11 -
Advice needed please.
I have an interview friday for a front end developer. Currently I am junior dev with just a full stack certiticate.
It’s the typical skillset requiremnts JS HTML and CSS with familiar with React, Angular and Vue.
As far as languages I really do not know JS but I know php. Taken a JS class in school found it to be fairly simple and that was my second language I learned.
How do I spend the next 48 hours? Learning JS? Spending time going over frameworks? Refreshing HTML/CSS?
I am much stronger back end than front end but I am hoping this will be more of a front end engineer job requiring the configuration of node packages and such.1 -
The thing about me is that I always like to test new language, I like python javascript(node js, ...) and swift but at works I use pho and JavaScript, every time I start a project in a certain language than after some weeks I forget what I learn because I don't use every day
-
In JS/Node, is there a performance and memory cost to nested functions?
I.e.
function handle(req, res)
{
var x = 5, y = 10;
function add() { return x + y; }
function multi() { return x*y; }
res.send(add() + multi());
}
As opposed to taking out the 2 functions and making them accept x,y as parameters.6 -
Fuck javascript, been on this firestore cloud function since yesterday , i have been get some stupid errors like expected catch or return promise/catch or return , used some stackoverflow answers still not working. Uugggh really wished cloud firestore used a better language like python,..what more do u expect from a language created in 7 days..shitty js
-
Anyone else here experiencing browser stuck at loading when nodemon restarts. It's fucking annoying.
-
TFW 'this' in functions loses its context when in promise chains and none of the blogs mentioned it :^)1
-
Web dev (JS, node) question since there are so many here... I think...
I want to return a JSON array as a stream so the server passes whatever the DB returns but also normalize each record.
Also the data is across several collections. Is it possible to return this in a single request?
And how do I add in error handling? If there's an error in between the user already has part of the data?3 -
At what point should I feel my skills are strong enough to apply for a junior front end position? I'm going to be getting my bachelor's in May for CS and currently I am pretty familiar with HTML/CSS/JS, understand jQuery and bootstrap, know some basic node/express/Mongo (I know, I'm learning postgres, calm down), and now I'm kind of deep diving into angular.3
-
So I recently started a new position as a Node JS dev, and on my first day I've been assigned to the DevOps team... The offer and the interview had me believe I was going to be actually writing code not config and yaml files5
-
Question time, i currently have a project in beginning stages. I has a node-js back-end build with express and sequelize. My current frontend is build in twig. And is within the back-end project structure. Now i have heard that the current hype is to take those separate. What is the best approach, and what frontend should i use? (I was thinking vue as interesting thing)
-
Can anyone Tell me. Is there any way to use node js with MySQL or Mongo Db on TERMUX Android.
If you Help me. I will be very thankful to you.
I want to learn but I don't have computer.9 -
my node JS app errors out when run in terminal, but works fine with the "run" button in my IDE???? WTF3
-
I'm iOS developer ,need to learn node js to back end services can I do that ,any one suggest good tutorials8
-
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 -
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 -
I really need some fucking help! I have been learning web development myself from online tuts and a book for the past 6 months. I am plateauing. I really have not learned anything new I a long time. Following node blogs and angular apps are hard for me to grasp. Can anyone suggest simple projects I xan work on in order to build my comprehension and understand as I learn more complicating things. When I follow an express js blog, for example, I only understand half the logic. It's tough. Anything helps. Please and thank you. #iwanttobeadeveloper2
-
Hey my bros. I’m trying to create a simple messenger bot just for fun using this tutorial:
https://medium.com/crowdbotics/...
But it seems that I’m kinda stuck with setting up the webhook on the fb page, it displays an error
“the url couldn’t be validated, callback verification failed...”
I googled for answers but it seems that it doesn’t work for me. Can you please help me? Thank you so much.4 -
So I ran a yarn build for a vuejs project in a php7.4 docker container on a raspberry pi 3.
Wasn't as fun as I thought it to be.6 -
I made a telegram bot that gives cov19 statistics for every country around the world.
Check it, i name it @elbaronbot -
How do you pick a new language to learn?
I am a C# developer and at work I work on desktop apps and legacy web services etc.
I fancy learning something else so I can have a bit of variety when working on personal projects etc.
I am doing a distance learning degree which has used Java and Python so far, with some PHP and JS etc to come later.
I’m drawn to Ruby as I already have experience there, but I was also thinking about looking at Node as that covers back end and front end all using JS which is definitely useful in general as I look at moving to a more web based role.7 -
Just asking for an opinion, I'm gonna do a project. Which one would you guys recommend MEAN or Ruby on Rails? I just want to do this project for fun and as a side project I know somewhat node js but RoR seems fun so what will you guys recommend??8
-
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 -
Why do I have to keep maintaining my open source project? because nobody is using it
https://github.com/5anthosh/fcal6 -
So I may have a little more free time this weekend, not sure what kind of project to start. I am wanting to use an entire JS stack. Any one have any ideas?2
-
I'm thinking about creating a chat app in Azure/c#/websocket. Is this a bad idea in terms of costs or will I be better off going something like node JS/aws?9
-
Help me decide to choose between nestjs and Adonis js framework for node? I know laravel and angular so it makes hard for me to choose between the two.
Nestjs is angular inspired while Adonis js is laravel inspired. I only have experience with express framework. Thanks!2 -
Was trying to compile typescript files when suddenly my command line lagged and i can not acess it, i hate myself4
-
So i have been coding in python and its my main language. Give me 2 reason why i should learn js(node).this question aroused coz i have to work with MS Bot framework and they just support c# & node js (python is still in prev) and their code has asynchronous programming in both *cries in corner also suggest me good resources to lesrn what async prog2
-
Wtf is this ESP32 shit and it's hype?
I bought one because I thought JS on a microcontroller? That's gotta be fun!
I'm a hobbiest when it comes to MCUs and I do JS as a job, so I tought I'm made for this and I know at least as much as all the kids on the internet doing it.
Nothing makes sense with this shit. You have to flash wildly compiled modules of WHATEVERTHEFUCK with fucken python development-kits which have something to do with Lua to give you some kind of node-REPL which answers you with a bunch of strangely-looking errors starting with "stdin:x:".
If this NODE-MCU shit is made for JS why is there stuff about Lua everywhere you go with this, I don't get a single thing. Now I'm sitting on about 3 different git repos of sdks or what do I know and know less than before.
Oh and there is actually not a single tutorial really targetting the esp32. it's all about that 82xx-model.
Then I start googling around a bit more - It's not even ES6, it's just some ES3/5 shit. Why would you even do this. That's actually harder to manage than classic C/C++. You get no gain with it. Fuck me.
Wtf bro.23 -
Have recently delved into the world of js. And i must say its really refreshing. Whenever i start up a new project, i hit the ground running. Everything from node to react has been a fun experience.
This might be because i dont try to follow any principles. I just create and refactor
This doesnt take Anything from the other languages i work in. I just like how it ended up being so to the point. And as i mentioned, i might be doing everything wrong 😜 -
JS: adding new dom nodes by adding html markup to the innerHTML property as string...
It's either dumb or a genius move.9 -
I have a new idea for my discord bot. I want to make a very simple kind of conversation engine: basic replies to the user based on what they said. Sounds like a fun project.1
-
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/... -
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
-
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
Need advice, learnt HTML CSS and light JavaScript and abit of Jquery, moving to back end stuff now but what should I learn, been told python is great, but with node coming to JS has made it more popular..any(unbiased) help please?1 -
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
-
!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... -
I absolutely hate HubSpot's COS platform. It's glitchy and keeps setting CSS values to NaN. I'm primarily a JS/Node developer and this random project I'm having to do with HS is killing my brain.2
-
For those who coded js for years. How hard to pickup python backend? I refer js/ts node because I don't have to do context switching7
-
Has anybody worked on ipfs implementing on client side?
Client side i mean ionic app.
any thoughts about running server side (node js) code in frontend (ionic - typescript) ? -
So I've been forced to work on a project for some time using JavaScript
Many parts of it must function synchronously and js has a lot of libs and otherwise that will spawn threads in threads
I'm horrified by the amateurish appearance of my code
Await this await that
Everything enclosed in something else and what is worse is the base node modules I'm using are ALL asynchronous! Were talking methods that one consistently has to wait on finishing like db reads !
Why is js so dumb ?26