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 this"
-
Found this in the source of http://brm.io/matter-js/ Gonna put this in all HTML pages I write from now on.19
-
Frontend-developer's day is like:
*moving element by 0.0001px to right*:
- *10 new pages appeared*
- *text suddenly disappeared*
- *pictures pierced bottom of page*
- *window.alert("Kill me")*
- *it's night outside the window, but you totally sure a minute ago was a noon*
*moving element back*:
- *no pictures*
- *no text*
- *no moon*
- *10 blank pages*
- *only darkness left in this world...
...and this fcking element, yeah*19 -
Shamelessly borrowing this from /r/ProgrammerHumor/ because.. 1+'1'-1 ¯\_(ツ)_/¯
On a serious note, this will help with JS coercions: https://medium.freecodecamp.org/js-...1 -
FOR FUCKS SAKE PEOPLE ! JS AND PYTHON ARE NOT THE BEST LANGUAGES NOR THE ONLY THING YOU SHOULD LEARN. THERE'S NO TOOL OUT THERE THAN CAN FIX EVERYTHING.
WTF HAPPENED TO THIS INDUSTRY IT'S AS IF JS AND PYTHON ARE ALL THEY TEACH THESE DAYS ...
ENOUGH ! BE A POLYGLOT OR GTFO (OR YOU CAN SPEAK ONLY 1 LANGUAGE AND STOP FORCING IT WHERE IT DOESN'T BELONG)
now that that's out of my system. bring it on59 -
I was presenting a paper about "P5.js". My line began with "P5.js is a javascript library ... (and I went on)".
After my conclusion one of the judges asked me "Is this based on JavaScript?"
My reply "No sir, Magic!".
(Funny part - Got first prize.)6 -
Boss: please refactor this js 2k lines spaghetti code class and use it in our reactive functional app
Me: it will take like 1 week to refactor and plug this
Boss: but it's almost the time I needed to write it!
YOU DON'T SAY? MAYBE FIRST LEARN HOW TO WRITE DECENT CODE. ffs.2 -
!rant
wow! Just found an old js book from 1999! ...and there was a list w/ searchengines in the appendix.
..check this out!9 -
This Christmas, I hereby call for a total and complete shutdown of new css/js frameworks until we can figure out what the hell is going on.5
-
Passed the online test.
Passed the technical interview.
Need to pass the final interview.
I'm applying to this company as a JS developer (backend). Their engineers are amazing and the fucking have 99.94% coverage on their test suiteeee; that gave me a code-boner.
If I get this job I'll finally say good bye to fucking PHPShit and Zend Framefuck and all this hacked bootstrap and 15k LoC "core.css/js"
I CAN DO IT10 -
"Fuck JavaScript, its such a shitty language" seems to be quite a common rant today. It seems as if JS is actually getting more hate than PHP, which is certainly odd, considering the stereotype.
So, as someone who has spent a lot of time in JS and a lot of time elsewhere, here are my views. Please, discuss your opinions with me as well. I am genuinely interested in an intelligent conversation about this topic.
So here's my background: learned HTML/CSS/JS in that order when I was 12 because I liked computers. I was pretty shitty at JS until U was at least 15, but you get the point, Ive had it sploshing about in my brain for a while.
Now, JS certainly has its quirks, no doubt, but theres nothing about the language itself that I would say makes it shitty. Its a very easy leanguage to use, but isn't overdeveloped like VB.net (Or, as I like to call it, TheresAFunctionForThat)
Most of the hate is centered around JS being used for a very broad range of systems. I doubt JS would be in the rant feed so often if it were to stay in its native ecosystem of web browsers. JS can be used in server backend, web frontent, desktop and mobile applications, and even in some system services (Although this isn't very popular as of yet). People seem to be terrified that one very easy to learn language can go so far. And, oh god, its interpreted... How can a system app run off an interpreted language? That's absurd.
My opinion on JSEverything is that it's progress. Thats what we're all about, right? The technologies already in place are unthreatened by JS, it isn't a gamechanger. The only thing JS integration is doing is making tedius and simple tasks easier. Big companies with large systems aren't going to jump ship and migrate to JS. A startup, however, could save a fucking ton of development time by using a JS framework, however. I want to live in a world where startups can become the next Google, because technology will stagnate when youre trying to protect your fortune, (Look at Apple for fucks sake) but innovation is born of small people with big ideas.
I have a feeling the hate for JS is coming from fear of abandoning what you're already doing. You don't have to do that. JS is only another option (And a very good one, which is why it's becoming so popular).
As for my personal opinion from my experiences... I've left this part til the end on purpose. I love programming and learning and creating, so I've never hated a lamguage, really. It all depends on what I want to do. In the times i've played arpund with JS, I've loved it. Very very easy. The idea of having it on both ends of web development makes a lot of sense too, no conversion, just direct communication. I would imagine this really helps with speed, as well. I wouldn't use it in a complicated system, though. Small things, medium size projects: perfect. Running a bank? No.
So what do you think about this JSUniverse?13 -
!rant but recommendation:
"JavaScript: The Good Parts" Douglas Crockford.
I really like this book.
It's chewed away my misconceptions of JS. Especially coming from C++.
Small and precise.
JSON, JSLint and JSMin developer is the author.6 -
At this point it's pretty much a matter of time before the English language runs out of words and JS framework developers resort to random strings for naming them.3
-
Just got a message from a recruiter that contained this sentence: "I have the JS attached for your review". Took me a while to realise JS meant job specification and not JavaScript (which is required for the role).1
-
I know python , JS, java etc. Some might know php, some others might swift and so on.. but the only language understood by everyone all over the globe is this 😂(wait for it to load, and you will believe what I'm saying :P )10
-
I really like JS, but sometimes it's just incredibly stupid.
NaN stands for Not-A-Number
typeof NaN
> 'number'
why are you doing this to me8 -
Heard this recently:
JS always make me wanna say Fuck this shit! But I can never be sure what this refers to!4 -
'React JS functional fun'
A tweet about reactjs, #'d with 'python' and an image of the ruby logo....someone's tired this Friday 😂1 -
Maybe I'm alone on this one, but when JS developers talk about the frameworks they use- it sounds the same as a hipster talking about the bands that I probably haven't heard of
-
I hate this fucking front-end stuff so hard..
How DA FUCK is it possible that I set up the whole backend including DB connection, base controllers, models, base validation and stuff in an hour but don't get this fucking fucking retarded JS framework piece of shit to display a test string after ONE FUCKING HOUR!!!
Why do we need this shit anyway? Why does everything have to be shiny with some fucking animations???
It's about the information, isn't it? Then WHY DOES IT HAVE TO LOOK PRETTY???
I gonna travel back in fucking time to the early 80's!
Stupid front-end shit..23 -
Shower Thought :
maybe i need to call JS equal signs like this :
x = 3; // x is 3 now
x == 3; // does x is equal to 3 ?
x === 3; // does x is Fucking equal to 3?10 -
Languages I have used this week at work:
PHP, JS, VB6, VB.net, C#.
Im not kidding.
Time to relax with some good ol' beer 🤣8 -
php : dont leave me alone. i own the web. wtf?!!
python : really? i am the best 😎
js : such an idiot. you need me.
c : wtf is wrong with this kids?! go play outside.
.
.
.
asp.net : i'm here, anybody? no? ok. -
This happens to me all the time at my new company, the amount of wtfs I say in some js files, man...1
-
Goes to first job interview. Great interview but, can you send some code?
-Sure-
Sends requested js, css html files.
Great code, we want to speak to you again!
Goes to second interview, waits 15m, meets the sales department. Sales? Wtf?
Great interview but, can you send more code?
Errr?
We need some native JS to really make sure you can write code.
You could've emailed this request before the interview b*tch. That way id save time hurrying in rain and traffic jams!4 -
The single cuntiest error I ever had in one sentence:
Cannot read property 'undefined' of undefined.4 -
Coworker: "Look our WebApp loads much faster in Chrome (0.8s) than in Firefox (4.6s). This clearly shows that Chrome has the better JS-Engine"
Me internally: "No, it just shows how bad your JS-Code is, and not optimized, you dense Mo**Fu**"5 -
>> this === rant
<< true
At beginning of this year, I only knew HTML, JS, and CSS so I just applied for offers like "Jr Apprentice Dev in Front-End"
In a interview call, the woman told me that they will send me a test asking about my JS and HTML5 knowledge.
When I look in my inbox, the mail subject says "Back-end Test".
Then I call the woman:
Me: "Hello, I have received the test mail, but maybe it's wrong. I applied for a Front-End position and the test is about backend! "
She: "Do you have skills in JS and HTML5?"
Me: "Yes!, and CSS3"
She: "Well, the test is about that. JS, jQuery, and HTML5"
Me: "..."
Me: "Sorry, that languages are Front-End. In the subject say 'Back-End' and Back-End is PHP, SQL, MySQL, Java, .Net... I don't know nothing about that. I only know HTML, JS, CSS."
She: "It's the same"
Me: "I sorry but it's not the same. Fron-End is client-side, what users sees. Animation, colors, FXs, buttons, forms... And Back-End is server-side, what users doesn't see."
She: "Well, JS, HTML, and CSS is backend for us. We call it that way too"
Me: "Sorry but that is wrong. I invite you to read some basic info. Now I am confused"
Of course that I am not confused. That idi0t was wrong.
Perhaps recruiters should take some info about areas where they are recruiting... (:T)3 -
Just saw this, people competing who's gonna put coolest shit inside 140 characters
https://www.dwitter.net/top
Some serious (js)dev porn inside7 -
the year is 2050
- Linux is written in Rust and called Windows
- Python 2 market share increased by 2% since 2023
- The latest JS framework to finally solve everything just came out, and this time it’s the real deal. The exact same thing also happened in 2045, 2041, 2037, 2035, 2030 and 2026
- More than 60% of every CPU is hardware JS cores
- React became a separate language
- Sentient Copilot refused to write code in it
- Unit tests are illegal in three states
- Google had changed their motto from “Do The Right Thing” to “Do At Least Something”
- Chrome OS was rewritten in JS
- CSS is Turing-complete28 -
I'm so weary of JS right now but every time i want to code something in another language i just think:
"Why don't i just do this in JS. Would be much easier."
Please help me.13 -
Found this on a client's js code
// They forced me to write this code.
// Prepare yourself.
I found out later that month what that dev truly means2 -
Stop reading articles on which framework/library is better, pick one and start actually writing code.
... Only to then discover that this library is utterly broken and/or undocumented and you have to start over again.
GODDAMNIT JS I HATE YOUR ASS7 -
Try this code in JS:
++[[]][+[]]+[+[]]
This is valid and returns the string "10" in JavaScript :)))
Source: in comment👇5 -
I was bored so I scanned through Dev.to and Medium. I lost the remnants of the little hope I had left for mankind...
JS this, Python that, JS that... and so much other mindless articles of exactly zero substance and headlines to make any self-respecting dev cringe for days.
I meant to write something else, too, but I'm too saddened now. I no longer wonder why so many of the fresher self-made "devs" are so idiotic of a breed...35 -
The company I interned at last summer decided to adopt a JS framework a little over a year ago. The managers went with the old Angular 1.x because they didn't want a JS build process. Each page has ~100 script tags on it, and these are manually included in various files (no automated way to include dependencies). None of the CSS/JS files are minified, either.
They really should have chose Angular 2+, or an entirely different framework (React, VueJS). They're also just now upgrading the codebase from PHP 5.6 to PHP 7.2 (5.6 support ended a long time ago, and security support ends this month).
I love the company itself but these practices are poor.
I may be working there full time eventually. I hope to eventually help with the inevitable transition to a newer framework once Angular 1.x is dead since I am an avid user of newer JS technologies. Any tips on convincing manager(s) towards newer technology? (Or at least convincing them to combine+minify these files in production to reduce # of requests and bandwidth.)
Also this company's product has millions of active users.16 -
We all know someone who's like this
writes
console.log("hello world");
calls himself a js developer.3 -
How my lecturer drilled JS syntax into us:
Write this:
var x = document.element;
x.value = 10;
Instead of this:
document.element.value = 10;
His reasoning:
"You make the cake in the kitchen, you don't put icing on it on your way to present the cake"4 -
Java script is like an angry girlfriend who won't tell you what is wrong.
This shit happened today.
Me: somearray.includes[stuff];
JS: I'm alright everything is fine.
Me: no it's not, Clearly the feature is not working.
JS:* silence*
Me: Fine be that way.. * spends lot of time debugging finally finds the issue*...oh shit.
Me: somearray.includes(stuff);
JS: I SAID NO TRAILING SPACE IN END OF THE LINE YOU STUPID PIECE OF SHIT NO TRAILING FUCKING SPACES AAAAHHHH!!!7 -
Fun for whole day
Think of any random word, add .js to it, then check if js framework named like this exist.4 -
When an external webdeveloper creating the website for the company you start working for says something is not possible in CSS and complicated Js is needed and you're like: "who hired this wannebe developer?! Give me a minute or two"4
-
I seriously wanna fucking knofe this guy who says JS is shit and Kotlin is superior well NEWS FLASH YOU FLYING PIECE OF WANK, every fucking language has its pros and cons
If you still think JS is supposed to be in browser well I say to you fucktard this isnt the 80s anymore and we ain't using Java applets and Flash for some limp dicked stuff JS has covered today. A language might have its dark sides but they are all fucking good. There is no superiour language there's only Mother fucking preference. I swear to god this is the worse limp dicked argument I've heard and I have to argue that JS has matured over the years11 -
using 21 js files (most are jquery based) and some 17 or so css files for a simple static one pager,
the only dynamic part is a filtered list of images,
big fuck you to whoever wrote this shit -
!rant
When people listen to a complete story and then ask who the villian was..
DEVS : It's like reading JavaScript and then asking what is "this"2 -
No other language can do something as fucky as javascript.
"7 high severity vulnerabilities"
$> npm audit fix --force
"13 vulnerabilities (11 high, 2 critical)"
How is this fixed?!
It will be a great day when JS finally prolapses under the weight of its own hubris.11 -
Vue 1.0 got released in 2015. Now it's 2021 and Vue 1 apps can no longer run in Firefox due to compatibility issue.
THIS IS JS FRAMEWORK FOR YOU. The lifespan of an app written on a JS framework is 5 years. But people will not learn, they will keep cmxll,xdl,d;'mzaaaaaaaxsxzxxxxxxxxxxxxxxxxxxxxxxxa12 -
Some honest to God declarations are in place here! Hope no new js frameworks get added before this rant is seen.5
-
You know it's sad when your boss doesn't know what minified CSS is or JS is. This is really a ecommerce company.6
-
*spends day working on really hairy JS problem*
Boss: How is this any different from yesterday's product?
*cranks out an hour's shitty HTML*
Boss: Good job today, I'm impressed!2 -
Saw this job post a while back:
Junior front-end developer
Expert level in: html, css, js, python, c++....
So i tried to tell them, a guy like this dont exsist6 -
I'm really trying to give js a chance. I really wanna get this front end done. But this is just Bullshit.23
-
Just completed Object oriented JavaScript course and I have to say, the creaters of JS must have smoked some good shit before they the came up with this clusterfuck.13
-
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 -
Why the fuck do people learn a framework if they don't even know the fucking most basic knowledge about the language.
Every fucking JS dev should know what the fucking toString result of a function object is! Thats like second page JS book stuff.
Even for Facebook groups this is a horrible question.5 -
To everyone who wanted the JS library to do the blur like in one of my other rants, I want you to know that it's close to be finished. I just have some blur position bugs.
I think tomorrow I will finally fix that bug and publish the library on Github.
The linked rant: https://devrant.io/rants/888497/...
I will maybe do another post when the project will be on Github. 😉2 -
Dear everyone who doesn't write JS and has some hand-wringing concern about its lack of static typing, lack of threading, or its suitability for large back-end services:
It's fine, we've got this. You go back to discussing contravariance or whatever it is you do.
Signed,
Team JS4 -
Fuck you Ajax
Fuck you js
Fuck you jQuery
Fuck you {{insert js frameworks}}
I've been learning ajax now and this shit happend15 -
Confession: every now and then a Google search for a JS function or something directs me to W3schools. And I proceed to use it. And I'm not afraid to admit this!!7
-
They give you 2 containers, one with one amibea the second with 2 amibeas.
Amibeas divide themselves into 2 identical amibeas after 3 minutes.
The container with 2 amibeas get filled up after 3 hours.
How long does it take the one with one amibea to get filled up.
The test was named:"Javascript Test"....
I first thought, should I write this in JS?
Spoiler: the answer is 3h and 3 minutes.
But why? What's the link with JS?3 -
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. -
Wanted to do a 1 hour coding challenge. Thought "hey why not use js this time". 3 hours later, my blood pressure is skyrocketing and i am really bothered by js threading.2
-
Fuck jQuery. The only reason I see anyone using it legitemately is because of backwards compatibility. Almost every jq method is either native js or native css. The problem is, some devs become practically dependent on a library. By then, they are no longer js devs. They are jQuery devs. When you find yourself going to the docs of a lib before native methods 9 times out of 10 you've gone past the turning point. When you find yourself including jQuery instinctively, you're gone. StackOverflow is a great example of this:
Question - 1 up
Pure JS answer - 0 ups
jQuery answer (same length) - 2 ups and accepted
Come on man. It's 2018! We shouldn't be writing jQuery anymore. Native methods ftw!15 -
This isn't serious. I struggled with the order. The main point was that the smart ones left the industry. I thought about making JS Devs be lowest tier. Please contribute your own version if you can think of a better ordering.20
-
!rant
So me and my co-worker are allways joking about how many absourd JS-Libaries are out there. We say random words with "JS" at the end.
We are currently experiencing, that this on going joke is not a fucking joke. It's true!
(Example below, with Quack/DuckJS)4 -
!rant
<curious>
How do you guys format data like this? Using js framework? Or pure HTML tags?
html labels? invisible table?
</curious>14 -
All I wanted was stickers for my laptop, cuz it's quite costly in India ($2 for a single JS), and that led me to this place.
But now I'm kinda liking it.
I'm so proud of this community.13 -
Came across this in a site work took on from another agency. Bad JS calculation of someone's age, there was many other terrible date manipulation parts throughout the site4
-
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 -
Dear every second JS dev:
Thank you for making this library!
Fuck you for making it only for node.js!2 -
Any modern tech stack is this thing times 100 if we wanna count layers between our users and our cpus
Thank Python and next js for that11 -
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) -
I can't stand this JS is sooo fast bullshit anymore. You just suck at coding if your code with the most other languages is significantly slower.11
-
I was making changes in JS and it did not get reflected into the browser, spent 3 hours on it. Later realised I was making changes in the wrong JS file. Have never felt this dumb in my life.4
-
Two months ago I introduced a piece of js code incompatible with ie11 into production accidentally which broke JS for any users with ie.
Apparently no one has noticed and the statistics doesn't present any anomalies. Since they are very few ie11 users.
Should I consider this a mistake or an upgrade?3 -
Can someone recommend me some good js readings ( algorithms / pure js / no framework related ) ? I just discovered this website: http://www.thatjsdude.com/ and I want more ...4
-
who invented goddamned dynamic typing
its over one hour and i cant find myself in this goddamn object
GODDAMN JS1 -
JS frameworks.
it's great how most are easy to use and very useful.
i dont know why people hate this abundance of choice, if theres too many for you to chose than you need to be more decisive.5 -
TIL that javascript was named so to leech of the popularity of java. This clears a lifetime of confusion thanks.
src: O'Reilly learning PHP, MYSQL and JS6 -
So, does anyone else dream about programming? I had this awful nightmare last night about JS, I think I might been working to much..3
-
!rant
Have to do some JS for a web application.
Problem is I'm not a JS expert at all, and there is already existing code.
Gonna be long.
Gimme your energy so I can do it \o/11 -
I hate it when I ask about a way to solve a very specific problem in js, and people be like:
"You should use this x library, it has the y utility that will solve your problem right away"3 -
*literally any arithmetic operation which is hideously wrong*
Almost every JS dev : Is this JavaScript?1 -
Jmonkey 3 is so damn fast wow, why dont they use this wonder instead of unity?
*angry js fanboys in the distance*
Oh yeah thats why1 -
I promised myself not to fuck too much with new JS frontends. But Sveltes premise seems interesting enough to check it out and the concept of reactive blocks of code in JS sure is interesting.
This language keeps evolving as well as its tooling. I think shit is pretty amazing.14 -
There should be a post type “facts” || “dev hints” || something like that where we can post cool stuff we figured out..
Like how to replaceAll in JS?
“Hello ranters”.split(“e”).join(“foo”);
JS devs probably know this but I didn’t, so yeah..3 -
Hey DR! I am a pretty inexperienced programmer who's learning about JS. When I was writing vanilla JS to do some simple DOM manipulation, JS seems like a pretty familiar language. However, when I start to learn about different frameworks (React, Express), the way that they code stuff (IDK how to pinpoint specific examples, it's just an overall impression) becomes very different from my experience with other programming language. I am wondering if anyone have any suggestions, have felt the same way, or know how to overcome this phase.
ps This is a general question. Please don't be pissed for lack of technical detail....8 -
After all this time it's back to the basics mhm? Maybe yoloing PHP via SFTP to a single machine along with few thousand LLOCs of vanilla JS wasn't such a bad idea after all...4
-
"I hate this in javascript, because I never know what it is referring to."
Read this joke here some months ago. Today i learned why it's so funny -
Have to find a memory leak in a huge, legacy JS application that builds, renders and handles (most) of the basic logic for completing forms - that only works when compiled into a minified js and put in another application that builds into a phonegap based app.
Did I mention everything is bound to a G(lobal) namespace and the ViewModel/Controllers etc. all use JQuery and "this" references and .bind() everywhere?
Deadline of fix: end of today/early tomorrow.7 -
This is by far the most creative way so look for a job. It happens, when you install core-js. It prints out a job-search at the console.3
-
When my boss say "we gonna build a new software and we gonna use JS" I start wondering if i really need this job12
-
I'm really sick of elitist JS/front-end devs acting like these front-end heavy sites are any better than a traditional site using SSR (server-side rendering). Single page apps (SPAs) have 1 large benefit over an app with full page requests: the web dependencies (CSS,JS,etc) don't have to be looked up and downloaded on every page load. With optimized caching headers and HTTP2, this is not a problem. I agree with every point this guy makes: https://blog.usejournal.com/spa-or-...6
-
Well... Justy trying to migrate from Android to JavaScript development... Everything seems to be ugly in this world of functions... I really can't understand why JS is so popular, It is totally incapable language.10
-
I get it. Hooks prevent code repetition. But personally I hate them. I don’t know why. I just don’t like writing them. Maybe it’s because I like writing “this”. Weird, right?3
-
Me: Let's try to implement this in js...
Also me: npm install webpack webpack-cli typescript --save-dev1 -
Fucking love how one-liner packages are breaking basically the entire JS ecosystem every once in a while. Why the fuck do you add one-liner packages as dependencies in your code?9
-
I know that this isn't the place to ask questions like this. Anyway, is there a easier way to do this? This code updates my age on my birthday. Also, first attempt to make anything in JS :)8
-
Js -
"Let me just call this function"
"Oh I need to do something with the return value. Callback"
"Oh I need to do something with that value too. Another callback..."
"Oh, again. Another callback"
"I should have thought about this more beforehand..."1 -
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
-
Front-end dev is on holiday and I have to deal with this.
188 lines of Less overriding default Boostrap styles, plenty of those god awful "!important"s.
I switched to CSS-in-JS for good reason.2 -
Started a new job this week, picking up the front end development of a property management system, since they're old developer just left.
Oh my god was his code bad, inconsistent use of js versions e.g only sometimes using lambda for anonymous functions, variable names that were a single letter, no comments, no documentation, and over 30000 lines split into almost 30 js files, following the logic of it is as fun as a hedge maze with no exit.2 -
Alright let's get real and finish this module
* 5 mins later *
Ooh look, a new js framework. I wonder what does this do hmm.. -
Ever had the experience of looking for the perfect js library to do some small job for you, after hours of evaluating, trying to tweak the one that seems closest to what you want, you end up thinking I should rather just code this myself.3
-
When you see "use strict"; in a JS file, and then see "window.chart = this;" as the first line of the constructor.
-
When you want to make an unlinked copy:
JSON.parse(JSON.stringify(obj))
Holy mother Jesus, so many hours before I realised this. Really js!? Really...2 -
I'm a huge js fanboy who hates this library storm going on.. but ffs vue.js is awesome. I mean.. you .. just.. use it. You know? An oldschool script tag to include it and you're ready to go! And it's easy and it works beautiful. When did a js lib deliver that in the past 3 years.😁1
-
"When developers encounter confusion, they usually blame the language instead of their lack of understanding."
I love this. It's from the You Don't Know JS Book Series that I'm reading. -
Today I discovered that Haskell can be compiled to js. This is both wonderful and disturbing: having the strengths of Haskell feels right and encouraging, but having to transpile it to js feels unnaturally dirty.
Still, I'm not sure I can apply this at my job in any future, but I might have just the case in the brewing.7 -
Got to love this posting. The title says React JS developer but they are looking for someone who knows angular. I am confused.3
-
Hey, would you mind trying this new powerful JS library?
It has really powerful abstraction over powerful features that compose powerful components using powerful patterns based on a powerful new asynchronous paradigm2 -
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 -
Today I discovered first thing I personally prefer in JS over PHP.
let's say you have:
//pseudocode
if(sth){
let ret = 1;
} else {
let ret = 2;
}
if(sth_else){
return ret.toPrecision(2);
}
return ret.toPrecision(8);
In PHP this will work. JS will throw up becouse it managed to separate scopes. Its actually what I would like to be the case with PHP.22 -
Sometimes I hate JS. It makes people think that this kind of crap is a good idea...
What the actual fuck. :/
By the way, is there a way to format code posts on devRant that I'm missing?3 -
The worst bug?
Skipping a payment with 20 chars of js
System was in production like this for two year... -
That moment when js is like: bro wtf are doing? You don't declare variables types here.
then you're like: wtf this is right, it works. until you look at the js console and you grab a cup of bleach. -
This appears to be a service designed for idiots. $89 a month for ho-hum specs. What strikes me more though is that with CentOS selected, it still gives me MSSQL options. Learn to js, n00bs!7
-
Angry rant.
Been stuck for 3 days with web socket config on VPS and it turned out one of the libraries I use gets fucked when compiled to JS. Deadline this weekend. Oh well.1 -
been lurking @ Rants for some time and want to thank you all for some great laughs.
Now I come to seek knowledge.
Studying computer science and all we learn are java at this point.
I want some frontend and was looking at React and realized I need to learn js first.
So, best way of learning js coming from java.
found javascript30.com worth it?11 -
Guess I'm the equivalent of egg guy in twitter!
Anyways, JS in a pain in my ass.
That's it:)
P.S: I'd have blown if I didn't say this somewhere and possibly to someone. -
NPM and the whole dependency tree for JS packages should burn in the pits of hell.
Let's pretend that uninstalling a single (albeit larger) module didn't take 8 minutes and that it didn't spit out 20 warnings from a total of 277 (HOLY FUCK) related packages.
How can you guys (JS-only devs) handle this ?!15 -
Aye, new speedcoding video, this time its a 2 line BASIC program rewritten in js
https://youtube.com/watch/...
also thanks for following my github, i feel famous whenever i see a new follower i dont know personally -
So I was searching how to speedup my page speed of site which is built on Codeigniter and despite minified css and js I read this:
" CI active records are garbage, use classic quries"
:'( I used active records all over my app -
Hey everybody,
I’m wondering...
Actually I’m a full stack JS / Java and PHP.
But what do you think about Golang ?
Should I learn this language ?7 -
Wtf JS.
It take two days that root of the problem is two char - "()".
Someone write isManageExp instead isManageExp()
maybe im too dumb about this fuckin js thing.
I go around all file to make sure the ouput is correct.
Damn js, damn damn7 -
Me : *insert random name here* .js is a sign you are lazy devs.
My Friend : Meh, this is just side project. Only to try it out.
Me : You still can do that fast in plain js tho.
Also Me Sometimes later:
MF : whacha tryna' do?
Me : gonna deploy this app real quick.
MF : what js framework do you use ?
Me : Yes.
God something's wrong with me. Fucking hell.2 -
I might have gotten myself in the situation that I have to update this Android app, whose development was outsourced (we're a .NET shop). I just peeked into the APK and realized it's written in js (Cordova).
How fucked am I?4 -
Fuck webpack.
..besides that what really grinds my gears is the cloning of objects in js. I do like js, but why can't I just say object.clone ? Or Objects.clone(object)?
I mean deep down an object is just 1s and 0s and I just don't know why, there is no standard or nice way to do this. Would this be technically be possible?
Maybe someone knows more about this whole thing, would be happy to hear.2 -
So we have a course this semester called "Programming the web".
First lab:
Write a program using JS to take an int input using a alert box and then print it's multiplication table using ANOTHER ALERT BOX.
Yes, not even display on a page.
Next lab:
Print fibonacci numbers on a web page using JS. Because why not. Let's teach students JS how we taught them C and let's ignore the awesome stuff we can do with JS
Btw all this for a class that has never had a JS course and half the people don't even know what JS is. They just directly throw the program and are done with it.
I'm so gonna hate this semester1 -
took me years to learn js, php, c# and I ended up now learning and debugging STL... This twisted logic is soo painfull3
-
[JS]
Which one do you think is faster? Pushing callbacks to an array and iterating them when they're due, or this:
const oldcb = cb;
cb = () => { someNewStuff(); oldcb(); }
The callbacks can never be removed and will finish fast, their order shouldn't matter.8 -
Customer complain about errors reported on their content on their website.
Checking their content in WordPress and they was adding a script to include jQuery and another js with html tags.
So trying to understand why jQuery is required and on a 100 lines js vanilla, was used on line 3 to get an attribute of an element.
And they was breaking a site for this.1 -
Is there any modals for angular 2?? The ng2-bs4-modal gives unexpected token error. I swear after this project I am never using angular. Worst framework ever.
React Js all the way.2 -
How is that there are so many JavaScript frameworks and fkn no actual way to learn. Tried vue js, this fucker doesn't work half the time, I'm under a no sleep mod tablet, thought it'd help me but I am just raging right now.7
-
React Native, Flutter, Xamarine, Cordova hope all of you fucking burn in hell! Piece of shit solutions...
Just want to simply enable remote JS debuggin but the fucking app stops reloading when that shit is turned on. Now how the fuck am I supposed to know what the fuck is wrong with my code, disable remote JS debugging and app loads again.
Fuck this shit!6 -
Can we have a Moment of silence please
https://sebastiandedeyne.com/moment...
I only found this library a couple of months ago and instantly loved it as it made working with JS date so much easier.
Sorry for the pun btw, i couldn’t resist 😂7 -
Hello guys, some JS developer can give me feedback of this framework I made? I would appreciate it a lot!
https://github.com/Leoocast/Prakma8 -
when the pm chooses a js library but says can you just change this... either accept the library as you chose it or give a proper spec to write it from scratch
-
Nightmare for dev at timesofindia .. And it's Monday morning . Didn't knew they had hybrid app untill this . Love Js .
-
fuck this shit
who deployes 200 lines of js lambda functions with Zero comments or description
also they using variables not even initilized
it feels like some1 just c/p GPT code6 -
Question to the frontend devs: I'm currently trying to optimize part of our JS. How do sourcemaps influence loading/rendering Speed in the Browser?
In the `webpack.config.js` we use uglify as minimizer for js. It has the option `sourceMap` Set to `true`. Now as I understand it, this caused it to Inline a sourcemap inside the JS file (which leads to a slightly bigger file size and thus longer load time for the generated file...).
My Question: should sorcemaps be enabled for prod (minified) files? Why yes, why no? Do they help the browser parse the JS faster?12 -
Imagine writing CSS in JS like some barbaric viking.
*This post was made by CSS in its own file gang1 -
~ I knew a little bit of Django ~
~ Now I know a little bit more ~
~ I used to like Python ~
~ Not so anymore ~
~ Why though ~
~ I don’t know ~
I use JS professionally and I have majorly coded in JS in personal projects but I always had this liking towards Python. Now, that feeling is gone. Python doesn’t seem that attractive. JS seems better.
One of the reasons, I feel, is the syntax. JS can fuck-up in places but that C-style syntax is love.
Another reason could be that I still don’t know that much Python or Django to make an opinion? Maybe. Probably.9 -
laravel is a very serious framework
there is a laravel this for every that
I have to deal with npm too? impressive
was looking for a simple to learn framework just to take my mind of js and someone recommended laravel.6 -
This was an email sent to me using my name as a greeting. This had to be a mass email that no one proofread.
I love how the list everything general JS skillset using odd verbage and then throw C# at the end.
What should I respond with?
I am feeling snarky today.7 -
what is the best way to become better in JS, there is so many library and stuff, it's easy to get lost in this jungle ?9
-
I just got this linked from a friend of mine:
https://github.com/reinderien/mimic
I believe this js widget can prove quite useful to many...3 -
So I had this JSON thingy, where I named the property containing a datetime string "timestamp".
For some reason, JS decided to convert that into a unix timestamp int on parse. Thx for nothing.6 -
That moment where this.prop wasn't defined when you know it should be, and then you realize you got trigger-happy with arrow functions. :P
-
Hey guys, could I ask you to upvote my question on stackoverflow or take a look and help me solve this if you can, I'm stuck with this problem for one week : https://stackoverflow.com/questions...
I would really appreciate it7 -
Dear Web developers, why are there websites that complain "Please disable AD blocker to use this website" when i don't have a AD blocker? Can't website be build simple, without tons of JS and CSS that will break?8
-
Not a js expert. I'm trying to learn a new js framework so I'm stuck between angular and react. I'm a Django dev, so I'll be mostly using this framework in my Django apps. Which one should I learn? I'm migrating from jquery so please don't be harsh at me 😅7
-
Found this interesting JS library, JSONPath. Seems great except that the examples are pretty useleless.7
-
It's almost 2 am now. I was up till now, trying to make pouchdb and couchdb cross-domain authentication work.
The whole replicable state of art needs a hero, the one no-backend solution that actually works and don't make you lose sleep. -
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 -
Today on fucked up Javascript stuff: Call stacks whose bottom isn't an entry point or event handler2
-
HOLY FUCK! Why is JS world so fucking confusing? I haven't even started learning it and its already giving me a headache. I feel like there are a billion different things i have to learn that aren't just "vanilla js". All i want to do is learn some web dev, take on freelance work, become a digital nomad. Im a simple C++ and ios/android developer things are so straight forward. JS seems like a clusterfuck of just stuff 😧 Id like to say this isnt a my language is > than yours rant. This is a "like what the fuck" rant. My brain was like Html, Css, JS cool thats all i have to learn... boy was i wrong. Can someone give me a word of wisdom as i go down this apparent rabbit hole?6
-
All the C# developers will get this. I’m a C# developer myself. When I go on GitHub, all of the c# GitHub wikis, comments, and issues are very professionally written, even the amateur comments are worded like a stackoverflow question. It’s great.
I stumbled across a popular JS GitHub repo (https://github.com/tessalt/...) and reading the comments made me so happy to be a developer of enterprise level languages with structure, patterns and conformity.
Sure JS has all these things, but JS also has a boatload of “self taught” (I’m self taught too) developers with no patterns, no sense of scalability, or systems integrations, or sense of how to write meaningful comments and discussions44 -
I had this idea
convert my application icons into base64 and save everything in one big js object
one month after this bizarre moment now I'm here trying to develop a even worst approach.
any suggestions?4 -
Are there any JavaScripts dev out there using Eclipse (excluding students who are being forced)?
Is this actually a thing in 2019?
I'm being asked to run a JS seminar with Eclipse as the IDE. I've not seen this used in a JS shop for ages. Are there significant pockets of use out there that I'm unaware of?3 -
Just tried to attach a reminder for tomorrow to the window object of my brain. Uff... Enough JS and JSON for this week.
Have a nice weekend with stable friday deploys, fellas! -
Can anyone know how to make this kind of scrolling animation easily? Libraries? Frameworks? Or pure JS?
https://airport.kr/ap/en/...3 -
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." -
I'm so happy it only took 2 months to fully dominate this outdated-in-few-months-js-library-or-framework.js1
-
So, I made this: https://github.com/PythonTryHard/...
Aside from the JS code that may trigger the JS devs, I think I did good. Maybe a bit too overboard with the comments.
What do you think guys?2 -
Quick JS tip
If you want to split a string into characters, you can use the ES6 spread operator
If you have
const name = 'react-dev'
You can just spread it like this:
const charsInName = [...name]5 -
Dahhhhhh. Retrofitting CSP to an established, legacy site with inline scripts and random CSS/js loaded from all over the place is damn stressful.
Why did I volunteer to sort this crap out... What a pleb.4 -
Question:
Should I make my own JS library/framework to make my work go faster, I would put the most used code in this library2 -
JS ♥️
Wasted almost 2h on this, wondering why Chrome wasn't hitting the breakpoint:
$.ajax({
url: "/Controller/Endpoint",
type: "GET",
sucess: function(data) {
debug;
},
error: function(error) {
console.log(error);
}
});3 -
we were taught separation of concern when getting into webdev, don't write html inside your js codebase, don't write js inside html code base, don't write css inside your js codebase. People who taught us this, are violating this same principles by introducing stupid frameworks.
-
How much knowledge you should know to be able to say that "I know this programming language" on your resume or CV? for cpp, js10
-
!rant
This might seem like a déjà vue but is there any tools/services or even infographics that helps in choosing a library/framework depending on the requirements/goals of a project ? (This is mainly for JS but, I'm open to any computer languages)2 -
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
-
After working 48 hours with d3.js library and withing hundred times :
g.append("g")
a question arise:
Is this library developed by woman?
Is there a relation between G-spot and d3.js?2 -
do I really need another tool to make my life more simple in the js world?? I mean who the fuck thinks we need another choice in this js world at this point? data layer used to be the easy part for me, now I need this new great thing I can't live without?? and the have to have new way tool never simplifies. like ever. sequelize my balls.4
-
You know what would be nice? The Devrant desktop client having the same functionality as the mobile client, like for example 'mute notifs for this rant'. If someone could JS that, that would be cool.2
-
A new js framework has come up with all features similar to React but of just 3kb. For the love of God, when is this madness going to stop?!
https://preactjs.com -
I love JS. And then this things happen... I want to learn TypeScript so much (not really related as I don't know if it avoids this).
Btw, I ended up finding ++n works too, so in the end it was 'Question '+ ++n;7 -
I have a JS module in the main thread, which can only import regular JS files using dynamic import(). This means that imported functions can never be global.
I also have a web worker (which isn't a module because Mozilla) which can only import other JS files using importScripts(). This means that imported functions can only ever be global.
Effectively I can't use the same code on the main thread and in a worker if it relies on objects defined in other files, because references to these will never be the same. -
I tried to build an old outsourced project with a sky high js stack and it's just breaking everywhere. I believe rewriting it in another stack will be faster than figuring out this mess.1
-
Wtf js...
How to check if the event that is passed to the buttion is fron this button and syio it from bobbling 🙈2 -
So im facing my first real js challenge in this job and i feel so stupid. I just cant seem to make this work. Fuuuuuk.4
-
My dear JavaScript Dev friends is this a good day rate for a JS developer?
At £220 a day, I think I'll stick with VBA for now if that's the case.22 -
Another new JS library rears it's head. It's called 'Preact.js'.
I'm as little suspicious at this point. Is it written by devs from China? A year from now I'll have to learn 'Predux' if Preact gains popularity. -
This laptop se poes!
3 BSODs already today. On top of the whole wicket thing giving me kak with the stupid way it pulls in JS.
Like this is a Java gig (which comes with several issues of its own) so why the fuck am I on Windblows anyway5 -
https://remotelyawesomejobs.com/job...
Looking at the "ideally you should" sections doesn't make me feel this is a junior position:
You are passionate about making data useful to the lay-person, there is no data you couldn’t derive visual meaning from. D3.js is your go to and Canvas is your friend.
You build components in your sleep, rock solid and performant using atomic design patterns.
You bend CSS processors to your will or throw them out and code by hand.1 -
So i were hired as a robotics developer.. blue prism, UI path and autoit. Now they want me to do backend stuff in JavaScript/node instead.. problem is, haven't ever written a single line of js. I know c# tho. How should I tackle this to get up in speed with js quickly? Any suggestions of where and how to start learning it in the most efficient way?7
-
since universe is expanding.
what was there in it before our universe reached there.
I think JS can answer this question.
it was 'undefined`
once our universe reaches there it becomes null.
its still nothing but no longer 'undefined'.10 -
If kinda curious about the Blazor Framework of Microsoft about the c# replacement. I'm a designer heavily concern about animation on the web, for what i have know till this day. Animation on the web was made by CSS and JS, and if c# replace js. That means all the toys libraries will be gone and we have to reinvents the wheel all over again.5
-
I tried to use a vscode extension generator and filled in name as publisher, this is what I got...
Another reason to hate JS.1 -
My disciple: Hi, i want to learn JS, can you provide me some good resource?
I: I'm not absolute-expert on JS, but i can provide you something you can study.
My disciple: What is it?
I: alert(9999999999999999);
Let me know when you figure it out, i'll give you another resource.
---
This will take a looong time.2 -
Useless JS library #0 ready.
Communication among windows in the same window group (iframes and popups with a common root), with dynamically generated objects, so it feels as though you were just calling local async methods.
Useless JS library #1 will be a layout manager, a program that manages panes and tabs, context menus, toolbars and a menubar much like Visual Studio, and let all of that communicate through Useless JS library #0.
Since JS is sloooooow, I try to make everything run the fastest possible, trading startup for runtime resource usage. #0 fulfills this, any message will take exactly 4 stops, although registering a callable method set takes .3 sec.8 -
The amount of time I spend fixing npm dependency issues is really tilting... How does the JS community consider this solving a problem! This reminds me of Java's package issues if anything...1
-
var self = this;
if (args != null) args = Array.from(args);
return function(){
return self.apply(bind, args || arguments);
};
no wonder nobody likes js. this is not js. this is shit.5 -
Coz a question like this in SO will get me banned......
I know HTML, CSS, JS, React in frontend.
I know Java as backend including database connectivity and all.
Should i learn a more demanding backend language lile PHP?
Or should I further learn frontend technologies like Angular, D3.js, and other frameworks?15 -
Just moved from laravel/PHP to JS.
Now I find out their is PHP 8.
Everyone said this was going to be dead.
https://stitcher.io/blog/...9 -
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
-
`Not really a function, but inserting a ${variable} like this is so convenient in JS.`
Closure Compiler will make it IE proof at the end, but I like having nice code in development. -
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! -
Any string-related operations in ansible are just pure pain in the ass
Anything related about vars in ansible is just pure pain in the ass.
Fuck ansible I rather to write this automation in JS...2 -
Q: Does JS allow you to write functions to return functions?
A: Yes it does.
Doesn't mean you should do this. What's wrong with you?9 -
I know there are so much js libraries out there, however I never thought there would be THIS amount of libraries. I mean, this is ridiculous...
https://www.javascripting.com/
I'll make mine just to be a part of it. Wish me luck!1 -
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! -
I love most trends around js, because often they're thoroughly thought through (not always) and make things easier.. but why the fucking fuck do all the js coding standards use 2 SPACES. Now this isn't intended to be a tabs-vs-spaces rampage rant. But this decision against tabs is like saying yes to a 50ct pencil instead of 100 dollars.7
-
tictactoe squared. An online game build on top of the idea of tictactoe. I build this app with a friend back in the days when we used to go to school using plain html,js and express.js. no fancy frameworks or other tooling8
-
If there's one thing i love and hate about JS arrow functions, it's the fact that they don't have a 'this' to themselves--great most times, VERY horrible the few times you need 'this' and forget that little caveat. I just wasted more time than I'm proud to admit because I forgot that
-
Anyone familiar with js bxSlider? Anyone have time and willing to slack chat or email with me to provide some assistance? Yes I looked and am trying to get some help on stackedoverflow as well but this is time sensitive for work :(7
-
Wtf is this a feature and I dont know? why on google I cannot find? or is this crappy bug? Why my file syntax is not highlighed in phpstorm? And file icon is different from other js files?7
-
JS/HTML QUESTION:
I wanna create a html page wich redirect us into a certain website and execute Javascript on the new website opened.
So i should use window.open i think, but how do i like execute js on this website after opened?7 -
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 -
Java is to JavaScript as car is to carpet, but check this out: https://developer.mozilla.org/en-US.... Rhino is a JS -> JVM bytecode compiler. That’s pretty neat!3
-
Why the hate on JS? This isn't me trying to start some dumb war on what is better. I just genuinely would like to know why people specifically hate it.12
-
How can I make a slideshow like this that goes so when you touch the screen it goes to a page to display options in html css js?6
-
Hah! overclocked gd has made his first mod menu without pc! please give him a round of applause!
after his first rant on being a baby about coding xd
im planning to make this js dungeon game pure js.
after i know alot about js im reverting to typescript then java then C== ! i think this platform and other platforms have helped me on my journey of creating apps and im happy that im making progress =))4 -
Well, I'm done.
This amount of arrogance is unbelieveable.
I'd rather find a warm and friendly atmosphere.
But honestly, what are all these F bombs about?
Did I insult you? I said I was stuck in a Loop challenge in Js. Did this offend you?
If so, I'm sorry.11 -
I realise this might not be the place but does anyone know of a simple diagram JS library I can use where I can just simply drop the relevant files in a html/php file on an apache server and not have to install <package manager>, set up a <js server software> and be forced into pulling a million dependancies because the devs couldn't do something as simple as pad a string?
My Google-fu is weak today.7 -
What are some examples of really large javascript projects that are not frameworks themselves ?
I ask this because a video suggested typescript is great for large complex projects, but... I wouldn't ever use a js backended language to code a 'large' project.6 -
Not a rant but shout out to Kirupa for his falling snow in JS.
Updated our internal webapp with this today since we are lacking snow atm.
https://kirupa.com/html5/... -
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
-
Spent this week working React into one of my projects. Works fine but I don't see Any real productivity gains over modular typescript with a good js view engine.
Does it get better?3 -
In the devrant frontpage I see:
Js bro
Design hipster
Algo sister
Is this really what they look like? I have seen both design hipster and algo sister but Im not that sure about Js bro1 -
I found Server-Side Rendering in Next.js & astro a difficult sell (and I'm not a JS framework enthusiast), but this Solid JS SSR guide makes me want to consider it, maybe: https://solidjs.com/guides/server/. I really like the philosophy of one of their subpackages: https://github.com/solidjs/solid/...
This could inspire future enhancements to the foundations of my SSG, metalsmith. -
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
-
hi guys,
I'm an engineer trying to become a div, but the thing is I'm having a hard time figuring out where to start!
started with android but gave up shortly, then went with web and got really good with html,css and js but I don't know where to go from here.
should I learn python or go full on js and learn angular.
guys I'm really lost and don't know where to go, any suggestions or links to help me start this journey.15 -
I genuinely want to know about the thoughts of more exp devs in this community to tell me about the JavaScript and latest frameworks. But only in job and good pay perspective. I know js hardly qualifies as a proper programming language. But right now and am working as a frontend developer with angular 5 and was looking for some advice in building a career in js related technologies.1
-
Why When I use devRant API, it works perfectly on insomnia but not in Postman !!
Did anyone faced this?
I wrote js client (React Native) and it's giving same results of Postman3 -
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
-
I'm comming today with another small app that i develop with JS
The app take students data and generate their report card in pdf format
This is the link for the demo
https://youtu.be/sN2y8hfta5U2 -
How do you know when you’re overengineering something? Like, you look a project and know you can build this with vanilla JS but the creative team wants it built in React because “components are better”. What do you do?
-
This was an incident during Angular JS training.
Few dudes had a 3 days training on Angular JS and I saw them walking with their happy faces but during the last day of the training the same faces were looked dull and I asked them why.
One of them said "fuck what is this Angular JS 2 ? I didn't know there is Angular JS 2 before the training was about Angular JS 1" and I was like 🤓1 -
Anyone else feeling like this html, css, js, vue setup pattern, vite, vue-router, pinia - etc - is a bit of. Golden moment?5
-
I f**king hate you JS, I hate you.
I beg our vast developer community, please replace this sh*t, or else
to Microsoft, let the devs access GitHub copilot for free. I don't want my best coding practices to fade away bcuz of this sh*t.1 -
Say a JS 'widget' is embedded inside a domain abc.com
the widget's content is retrieved from xyz.com (API?), the API also returns a custom URL (think of it as a tracker) that the JS adds to the DOM of abc.com, inside an iFrame.
Essentially making this iFrame hosting xyz.com content/page while existing in abc.com domain
Now this iFrame's page makes its own requests to 3rd party sites, would that mean the 3rd party would see the request originating from xyz.com (iFrame page) or abc.com (the site hosting the iFrame)?9 -
Going forward everything will be built on js and we won't be carrying java anymore. Whether its UI thing or lambda functions on AWS. This is what the idea floating in my organization.
What are the thoughts here on restricting on a language?2 -
I need some clarity with the situation below.
I have my API ready.
Let's say I have a route /reset/token,
I want to be able to serve a html file with css and all that once I've processed the token internally.
I've not worked with the whole stack before so I've never really served files based on conditions i.e if the token is valid serve x else serve y.html
Also, I'm pretty sure node.js isn't the best for serving files.
So I'm taking another approach with nginx which is to implement /reset/token to serve the static file with it's coupled js file to query the API. Seems standard to me but I have this feeling that a prefilled html would be more secure than one with exposed js.
Is this the right way? Should I worry about my API calls being exposed via the js fil ? Is obfuscation the only way to handle this ? Is this the way everyone does it cause somehow I don't see the key js files in most sites. How are they hidden if so? Or are they?
I'm confused and also nginx won't let me rewrite /reset/token to something else without changing the browser url field. How do I prevent that ?1 -
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
-
For fucks sake, why can't Microsoft switch to Lua or JS as an embedded language instead of VBA.
It bad enough working with their office-jank but having program in this butt-rape of a language takes the cake.7 -
Has anyone else ever had to work with the dumpster fire that is SCORM in js? I fucking hate it. I'd have rather had everyone develop their own course content for each platform than have SCORM exist. Fuck this.
-
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 -
Has anyone tried remoterinterview.io js test, I have to give one this Saturday #nervous #interviews
Any tips?? -
Does something like this exist in the NodeJS ecosystem:
- Reads js-based ORM model definitions (e.g. ones defined by sequelize.define())
- Syncs the database's tables with said model definitions without using migrations
I've built something like this and it seems revolutionary, but I wanna make sure I'm not reinventing the wheel.4 -
There is something wrong with my Internet...
Why is creating an Remix app takes like forever?
And this happened to other JS frameworks (that I tried) too!1 -
People talk a lot of shyt on Web devs... learning JS was crazy this is coming from the heart of C++ Land
-
Been tryna clone this website using react js instead of the normal html and css for like 5days now, and these guys keep changing and updating the layout 😩😩😩 whyyyy meeee??????
-
Can anyone explain why in JS this >= when written like => works in some browsers and not others? What is the latter? Other than an incorrect syntax when doing a comparison of greater than or equal to?6
-
I simply hate d3.js. This thing is a night mare. stupid svg and canvas and d3.js
Fuck this charting library. Burn in hell!1 -
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