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 - "javascript"
-
Happy April Fool's!
- Windows 8 == Best OS
- Apple is fairly priced
- PHP > C++
- Java === JavaScript
- facebook > devrant
- Github useless, use .zip
- Comic Sans best terminal font
- Nobody needs a web developer because Wordpress much better
- Linux is for virgins22 -
My JavaScript professor once thought my work was "too good" and decided to pull me aside, in front of the class, to practically accuse me of cheating. I had to meet her in her office after hours and talk to pretty much prove it. Once she realized I didn't cheat she was fakey nice the rest of the semester. God forbid a girl be decent at JavaScript without "cheating". 🙄21
-
Tried to install an existing web dev project in Windows 10:
- Install Atom IDE and trying to clone git repo
- Git missing, installing Git for Windows
- Installing Node (so far so good!)
- npm install
- Python missing (???), installing Python
- Ruby (????????) missing, installing Ruby
- .NET Libraries missing, installing .NET 4.0 for the 100th time
- Visual Studio Libraries for C++ 2008 missing (now you're just messing with me mate), installing 4GB of Visual Studio Libraries
- [drumroll sound]
- .....
- npm install breaks with fatal error
- Git for Windows can't be found anymore
Switched to Ubuntu out of frustration:
- Installing Atom IDE
- Installing NodeJS
- Cloning git repo
- npm install
- project is running
whut?44 -
Manager: In ALL cases if someone uses vanilla javascript to do something instead of a library then that is a sign they are an ABSOLUTE BEGINNER!!!
Dev: …12 -
SUPERVISOR: You wrote this 140 lines method, it's too long. You should split it up, it's not readable
IHateForALiving: Bruh be serious, this is a single switch-case; I can't split it.
SUPERVISOR: Fine, I'll do it.
HIS CODE: He split the 140 lines method into 2 methods: the first is 4 lines long; it's a try-catch surrounding a call to the other method, 136 lines long.9 -
When writing a JavaScript guide, please don't use emojis as keys in objects. Or anywhere else in code. Zoomers will think it's common practice.
Just because you can, doesn't mean you should.
Sincerely,
everyone26 -
Like "Why is Facebook webpage running so slow" (I think cuz of all the tracking stuff, and they are having trouble on my Linux machine). But I gave it a naive duck-duck and found this brilliant tip to "Reinstall JavaScript" to improve that performance. I'm just so speechless rn... And the cherry on the ice-cream is the link :Drant reinstall js wtf-anyway? like what? guys... facebook is evil i dont want to use it i use arch btw java is also an island13
-
My son has started learning javascript at school, but he is complaining that all the $ signs are ugly! Yep, they're teaching the kids with jquery.
I don't know whether to laugh or cry 😱😱😱7 -
The 1st rule of Javascript is: You don't admit you program Javascript.
The 1st rule of Rust is: You tell everyone you program Rust and how it is better than basically any programming language that existed or will exist.
The 1st rule of C++ is: There are no rules because everyone was too busy debugging templates to think of any rules.
The 1st rule of Java is: You must have excessive numbers of classes and boilerplate. The more boilerplate the better.
The 1st rule of Haskell is: It is great to learn, but you will never see it again once you leave college.38 -
✨ I created a cli tool that brings my GitHub feed right to my terminal.
It's just a fun idea that I had since I have this habit of checking my github feed every now and then. So made this tool to do it right from my working terminal.
The project is open-sourced in Github
https://github.com/RocktimSaikia/...7 -
Stop using 5 year old, terrible drag and drop website designer which uses inline CSS and JavaScript and let us actually write it. They (barely) teach us html and then say that using a website designer is how it works in the real world. They actually disallow us writing it from scratch. Just glad I taught myself it already!7
-
That glorious moment when you remove a function from your Javascript.
is_internet_explorer()
It's one job was to detect and prompt a user about not using IE on this shit for a stain website - ironically built for IE 😂
You sir, will not be missed 🥳12 -
I lost my job 😅 tbh did me a favour. I was backend, this guy was frontend and was a typical opinionated JavaScript, magpie dev and I just did not give 2 fucks about what he thought was “amazballs” and we had a small tiff, we’ll he was arguing, I was trying to do my job and I just didn’t care enough about his feelings on the subject, forget what it was about but I think it was trivial. But anyway, I was let go soon after 😅15
-
What do you call it when you type a script? A TypeScript. Then you spill coffee on it...
now it's a JavaScript.5 -
I created a GitHub Profile Card widget that can be easily embedded in your portfolio 🎉
Repo: 🚀
https://github.com/RocktimSaikia/...
Live:🚀
https://codepen.io/RocktimSaikia/...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 -
Just spent 10+ hours refactoring a code, and at the end I've figure it out a one line fix to the problem... just wasted 10 hours of my life.. :)7
-
So I’m learning C for a systems programming course and I’m starting to appreciate every other language that I’ve worked with in the past for the level of abstraction they provide 🥲
Not you JavaScript. Not you5 -
I enjoy being an embedded software engineer that is allowed to use C for most projects and doesn't have to program JavaScript or PHP nor has to use dozens of foreign libraries.12
-
JavaScript frameworks are bad
Each upvote on this post hinders development of bad JavaScript frameworks5 -
Some undocumented, never touched, 15 years old recursive function at the core of our business model suddenly stops working in a niche scenario, debugger is not available and I have to find out why.16
-
I got tired of relearning JavaScript frameworks and instead tried to escape their clutches.
Most of my developer life I've spent relearning how to do the same thing in a different framework.
And every three or four years its the same story, figure out templating, figure out building, complain on github bugs etc.
I am trying to reduce framework fatigue by allowing you to think "can I make my application with just vanilla JavaScript". The advantage of vanilla JavaScript is it write once - do not need to rewrite.
Do YOU think I will abandon ship and end up having to use a framework again?19 -
JavaScript is fun when your not fucking bad at programming you stupid jquery-loving, abstractionless, monoparadigm, encapsulationphobia fucks13
-
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.15 -
Hey, it's 2023.
If your component isn't written in TypeScript, I'm not using it :)
"TypeScript is overly complicated!!!" why, because it pointed out everything wrong in your JS code?
"TypeScript is not flexible!!!" why, because it makes you not rely on fragile "only possible in javascript" patterns?
"TypeScript isn't needed!!!" why, because you've never worked on a project with more than 100 lines of code where dependency management and clean code policies were implemented?
god just stop with the JavaScript purist BS, you aren't going to win this battle, and it's even worse because not only are you injuring everyone in the software community, you're injuring your own productivity and skillset
actually, you know what, fine. just use pure JS and HTML implementations. see you in 10 years when i'm retired and you are still running around in circles wondering why the world has left you behind28 -
parseInt("220125152409071002")
220125152409071000
Looks good... looks good... looks good... wait wtf?!? where the hell is the 2?!?!18 -
I currently have 5168 node_modules folders on my computer.
Not 5168 folders inside node_modules, but 5168 actual node_modules folders.
That's all. That's the rant.14 -
✨ Gave my portfolio a fresh minimal look and feel. Integrated Spotify to show my currently playing track, just a fun little tweak.
🚀 https://rocktimsaikia.now.sh/
Leave any review for future improvement :)20 -
Imagine
websites didn't use unnecessary cookies,
JavaScript was only used when needed,
no trackers, no ads, no telemetry, no user
data saved when it doesn't benefit the user.
*Wakes up in cold sweat*9 -
A thousand years ago, Erik the Red names Greenland "Greenland" (even though it's icy) to trick travellers into coming there.
LiveScript was renamed to JavaScript for similar reasons.3 -
The company I work for offered a Javascript Course/Training for every developer to enroll, which happens to take place on 3 days. In the description it was ensured to be for everyone, doesn't matter if you are an expert or beginner: there's something to learn for everyone.
The company described him as a top coacher in Austria and that he is overbooked for 2 years. High in demand indeed. "Has to be good", I thought. As a relatively average JS developer, there has to be something to learn for me.
Sitting here the second day, I fucking regret to join this shit. I have never seen such a bullshit in my lifetime. Why the fuck would you even book this man, he doesn't even understand basic concepts of software engineering. Just reading down the script, opening the script on one laptop and showcaseing it on the other. When someone asks a question, there's a 70% chance he doesn't know the answer. It takes this scumbag 30 fucking seconds to define a function; probably making spelling mistakes alongside.
I don't even want to know how much this dude will make from this "coaching". Hoped that it'd get better over time but I don't see an improvement. Contacting my boss that I'll leave this "training".7 -
There seems to be a lot of hatret for JavaScript. I fully understand and endorse that.
So how can we get another language supported in web browsers and which language should it be?20 -
Trigger Warning - Don't date JavaScript developers.
They Promise to Callback but they won't. You'll Await in vain. They don't know how to Express themselves and React to such situations.
You might not be happy to hear this, but I'm trying to save you from a Garbage situation1 -
I've been working on a proof of concept for my thesis for a few days and the async query calls drove me nuts for quite a while. I finally managed to deliver all query results asynchronously while still very much relying on a strong architectural design pattern. I am filled with caffeine, joy and a sense of pride and accomplishment.rant late night coding caffeine async await query proof of concept javascript boilerplate database typescript1
-
Hi guys, I created a tiny Anime quotes API called Animechan. Totally free to use anywhere 😊✨
https://animechan.vercel.app/15 -
🚀 Hi guys, I created a minimal-looking Hackernews client.
It's still not complete yet. But I'm sharing anyway. Feedbacks are welcome ❤
It's live at https://hn-redesign.vercel.app
Here is the source:
https://github.com/RocktimSaikia/...14 -
Static HTML pages are better than "web apps".
Static HTML pages are more lightweight and destroy "web apps" in performance, and also have superior compatibility. I see pretty much no benefit in a "web app" over a static HTML page. "Web apps" appear like an overhyped trend that is empty inside.
During my web browsing experience, static HTML pages have consistently loaded faster and more reliably, since the browser is immediately served with content useful for consumption, whereas on JavaScript-based web "apps", the useful content comes in **last**, after the browser has worked its way through a pile of script.
For example, an average-sized Wikipedia article (30 KB wikitext) appears on screen in roughly two seconds, since MediaWiki uses static HTML. Everipedia, in comparison, is a ReactJS app. Guess how long that one needs. Upwards of three times as long!
Making a page JavaScript-based also makes it fragile. If an exception occurs in the JavaScript, the user might end up with a blank page or an endless splash screen, whereas static HTML-based pages still show useful content.
The legacy (2014-2020) HTML-based Twitter.com loaded a user profile in under four seconds. The new react-based web app not only takes twice as long, but sometimes fails to load at all, showing the error "Oops something went wrong! But don't fret – it's not your fault." to be displayed. This could not happen on a static HTML page.
The new JavaScript-based "polymer" YouTube front end that is default since August 2017 also loads slower. While the earlier HTML-based one was already playing the video, the new one has just reached its oh-so-fancy skeleton screen.
It would once have been unthinkable to have a website that does not work at all without JavaScript, but now, pretty much all popular social media sites are JavaScript-dependent. The last time one could view Twitter without JavaScript and tweet from devices with non-sophisticated browsers like Nintendo 3DS was December 2020, when they got rid of the lightweight "M2" mobile website.
Sometimes, web developers break a site in older browser versions by using a JavaScript feature that they do not support, or using a dependency (like Plyr.js) that breaks the site. Static HTML is immune against this failure.
Static HTML pages also let users maximize speed and battery life by deactivating JavaScript. This obviously will disable more sophisticated site features, but the core part, the text, is ready for consumption.
Not to mention, single-page sites and fancy animations can be implemented with JavaScript on top of static HTML, as GitHub.com and the 2018 Reddit redesign do, and Twitter's 2014-2020 desktop front end did.
From the beginning, JavaScript was intended as a tool to complement, not to replace HTML and CSS. It appears to me that the sole "benefit" of having a "web app" is that it appears slightly more "modern" and distinguished from classic web sites due to use of splash screens and lack of the browser's loading animation when navigating, while having oh-so-fancy loading animations and skeleton screens inside the website. Sorry, I prefer seeing content quickly over the app-like appearance of fancy loading screens.
Arguably, another supposed benefit of "web apps" is that there is no blank page when navigating between pages, but in pretty much all major browsers of the last five years, the last page observably remains on screen until the next navigated page is rendered sufficiently for viewing. This is also known as "paint holding".
On any site, whenever I am greeted with content, I feel pleased. Whenever I am greeted with a loading animation, splash screen, or skeleton screen, be it ever so fancy (e.g. fading in an out, moving gradient waves), I think "do they really believe they make me like their site more due to their fancy loading screens?! I am not here for the loading screens!".
To make a page dependent on JavaScript and sacrifice lots of performance for a slight visual benefit does not seem worthed it.
Quote:
> "Yeah, but I'm building a webapp, not a website" - I hear this a lot and it isn't an excuse. I challenge you to define the difference between a webapp and a website that isn't just a vague list of best practices that "apps" are for some reason allowed to disregard. Jeremy Keith makes this point brilliantly.
>
> For example, is Wikipedia an app? What about when I edit an article? What about when I search for an article?
>
> Whether you label your web page as a "site", "app", "microsite", whatever, it doesn't make it exempt from accessibility, performance, browser support and so on.
>
> If you need to excuse yourself from progressive enhancement, you need a better excuse.
– Jake Archibald, 20139 -
Jest? It's the perfect name for a testing library, because I certainly feel like a clown! 🤡
#clowndrivendevelopment4 -
ha...
that I did NOT expect.
Opening a website in chrome. Laptop's transforms into a drone and tries to lift off my desk and fly away with its fans. I see warning popups telling me that CPU Tº is 100ºC.
Opening website in FF. Laptop calmly opens it up and raises Tº from 50ºC to only 75ºC.
And here I thought that Chrome is fine-tuned for anything you can throw at it.
And the website really has nothing fancy in it... Just some text to read, images to see in the background and some buttons to click on.
https://ignitis.lt/lt/...
its EN version, however, does not have the laptop-heater feature installed.
WTF11 -
Writing a Unit test to test the Unit test that's testing your application, because you can never be sure about anything.6
-
Wasted a bloody hour today wondering why a route was giving weird errors...
Turns out I inadvertently wrote a for ... in ... loop instead of a for ... of ...
It's my bloody fault for being retarded, but I swear this unholy mix of JavaScript and python I'm dealing with is doing bad things to my brain. 😔5 -
NO, YOU ABSOLUTE DISGUSTING GREMLIN OF A JS HTTP CLIENT, I DON'T WANT YOU TO "JsOn.StRiNgiFy" MY PAYLOAD OR DOING ANY WEIRD SHIT
I NEED TO SEND THIS THING EXACTLY AS IT'S WRITTEN, STOP TRYING TO GUESS WHAT I'M TRYING TO DO I'M A DEV WITH SOME 7 YEARS OF EXPERIENCE WRITING CODE, I'M SENDING A STRING CUZ I NEED TO SEND A STRING2 -
Fucking A.I. resume filter bots.
As if tech interviews weren't hard enough, I have to fill my resume with keywords to get past a bot! Every damn application and cover letter has to be unique.
And when I get past a bot, a hiring manager replies with "Sorry, you seem to have more experience with Typescript than JavaScript, and we can't take that risk."
It's the same.damn.language.
Yes, I spend my spare time with C and Python. Why does that say "unsuitable candidate" instead of "versatile"??!!
$#*%!?&@ tech industry.
Take your "Good luck with your future endeavors" and stuff it up your ass.1 -
I love that JS allows for variable swapping,
thanks to structuring / de-structuring.
```JavaScript
[ a , b ] = [ b , a ]
```
Thats all, lol.23 -
Modern English is the JavaScript of natural languages:
1. Abundant, very popular
2. Influenced by god knows how many foreign concepts, historically, especially the modern / USA variant
3. The most popular second language
4. A failed attempt to replace it (and others) with more efficient Esperanto, which is a Dart of natural languages then14 -
It's official, the "front end dev" doesn't know how to code.
Why.
And it's not a "Well I don't know JS because I use React." scenario, no. He has almost no idea of coding.
What was he thinking trying to build the front end of a very complex app with just HTML, CSS and stupid copied and pasted snippets?5 -
Times I have run into event loop / closure related issues in my 10+ years of JavaScript app development: 0
Times I have run into event loop / closure related issues in my 10+ years of interviewing: Uncaught RangeError: Maximum call stack size exceeded
SHEESH3 -
!rant, but kinda
My new director wants to buy a solution for a portal environment that my institution currently has. I have no qualms over it. My only issue was the company that sells it to be known to provide close to 0 fucking support when shit arises.
During a presentation we were told that they were using state of the art JAVA technology to render items on the page and that their ApI was easy for devs to grasp. This caught my attention since I know of very few and obscure Java frameworks that work with frontend tech (as in, your frontend logic is legit in Java)
The sales people proceed to show us React. Obviously thinking that no one knows what REact was. The dude continues with "This is new Java tech" all proud and shit prompting me to interject that it is "Javascript" the dude brushes it away saying "same thing" to which I reply with "Negative, please make sure that you properly discern Java from Javascript since Java is to Javascript as car is to carpet, completely different environments" the dude sarcastically says that "oh well, didn't know one of the people here was more aware of our own technology than we are" to which I say "and not only that, but the final say in us adopting your tech is mine, so I would rather you keep the sarcasm and the attitude to yourself, bring in a tech person if need be and learn these distinctions since we don't work with Java"
My new director later on went to talk to me since he apparently thought that Java and JS were related in some way. I can't really fault it, last time the dude touched programming was in the early 2000s, previous boss was a C and COBOL developer, but the previous dude would ALWAYS take my word no questions ask, this dude was there asking me if I was sure that Javascript and Java were really completely different environments asking me to show him.
I do not like to be questioned. I shoot the shit here and don't really involve myself with more technical aspects under this platform unless it involves concrete architecture discussions and even there I really don't care with engaging on a forum concerning that. But concerning my job I really.......really do not like to be questioned by people that know way the fuck less than me. I started coding when I was 17, I am 30 now, with a degree and years of experience. I really hate to be questioned by this dude.2 -
So today my pr needed approval. One of the lines of code created a unique ID using the uuid4 functionality.
I got a reject saying I didn't handle a case where I would get the same uuid twice.
Well, I guess it would be the problem of the developer working on my code in a couple thousands of years 🤷♂️2 -
Person: Can you suggest me some good resource for learning JavaScript?
Developer: You don't Know JS
Person: (Gets offended) I know JS, I wish to have in depth knowledge for JavaScript.
Developer: Hmmm.....3 -
Supervisor: YOU NEED TO INCREASE THE COVERAGE OF YOUR UNIT TESTS! THE FILE logger.js DOESN'T HAVE >80% COVERAGE! IMAGINE PICKING THIS UP 6 MONTHS FROM NOW!
Bro. It's a Winston instance.
I am literally exporting a fucking Winston instance with 0 custom logic.
If 6 months from now I take a file and can't understand a Winston instance anymore, you're well within your right to fire me on the spot.2 -
React router is shit
I have never seen more retarded library.
Not only those suckers change the 100% of the API every fucking update for no reason, also they have the most fucked up documentation ever.
No search in the docs!!! Fucking bullshit examples with no such easy things like how to create nested routes.
Please, stop using this piece of shit, I'm tired of working with this fucking abomination. Hope they will delete their shit repo one day.22 -
So, the GUI is built by writing YANG files that are then transformed into protobufs and jsons. Protobufs are then digested by GWT to compile java into javascript and HTML. What part of the process you don't understand?
Wait, I actually don't exactly know where the jsons end up being used, but apparently they are being sent by C++ backend to GWT frontend. Somehow.12 -
Whenever I'm extra proud of my coding skills, I go to YouTube and watch devs build Pacman, Donkey Kong etc from just plain Javascript or build portraits from just CSS.
It's an effective way to humble myself.4 -
There might be a special place in hell for the creator of JavaScript. He hacked something in a couple weeks and this monstrosity has been causing hell for devs since the 90s.13
-
Windows is the JavaScript of OS’s, we criticize it everyday but we still use it everyday, if not by choice then it’s by force 🤣🤣18
-
Reading JS written by “creative” types:
var myArray = []; //un-sorted values
var SortedArray = myArray.sort();
OrderedHtmlElement.innerText = myArray[0];
Look here if you are going to do it wrong at least commit to the wrongdoing!!!6 -
Good morning to everyone, except that one Twitter dev who one day woke up and was like "YOU KNOW WHAT, MY APPLICATION WILL FEATURE BOTH OAUTH1 AND OAUTH2 ENDPOINTS, BUT SOME FEATURES WILL BE EXCLUSIVE TO EITHER OF THE TWO -NOT NECESSARILY THE MOST RECENT, JUST A RANDOM ONE-, AND ALSO THE OFFICIAL TWITTER LIBRARY WON'T COVER ALL THE ENDPOINTS SO PEOPLE WILL HAVE TO RESORT TO RAW HTTP REQUESTS INSTEAD OF USING MY SDK AND ALSO I'MMA MAKE DEVELOPERS FILL 2 VERY DETAILED FORMS, REQUIRING PERSONAL DATA AND ACTUAL REAL PHONE CALLS, JUST TO START DEVELOPMENT WITH 7 DIFFERENT AUTHENTICATION TOKENS, BECAUSE SOME REQUESTS WILL REQUIRE A DIFFERENT AUTHENTICATION METHOD THAN THE OTHER REQUESTS DESPITE ALL OF THEM PERTAINING TO THE SAME FUCKING ENTITY"3
-
Github Card v2.0.0 released 🎉 : Dark Theme is available now.
repo:
https://github.com/RocktimSaikia/...
A few days ago I published the GitHub card widget with the default light theme and after that, I got a few requests on creating a dark theme for it so finally, here it is :) Do star it if you like the project.8 -
All the jQuery... in one single repository / website.
There is a good reason why we should use fucking CDNs.
Edit: Yes, these are different files in different folders.
Edit2: I've already deleted 2 other jQuery files (the library itself).4 -
Helping a friend study for a midterm for a web development class at the university I went to. They have a new teacher this semester and I’m reviewing his slides about javascript to see where the confusion is...
First slide: based off of Java, hence the name JavaScript, but is not Java. Borrows most syntax from Java.
And they wonder why employers comment on the surveys: “unprepared for the workforce”
Looked up the professor.. no experience teaching or any background in cs. And people pay 6-12k / semester for this state university.1 -
The primary concept of reactive programming is great. The idea that things just naturally re-run when anything they rely on is changed is amazing. Really, I think it's the next step in programming language development and within a decade or two at least one of the top 5 programming languages will be built entirely on this principle.
BUT
Expecting every dependency to be used unconditionally is stupid. Code that checks everything it might need all the time even if a decision can be made from much less information is simply bad, inefficient code. If you want to build a list of dependencies automatically, you have to parse the source.
And I really hate that there are TONS of languages that either make the AST readable at runtime or ship with a very powerful preprocessor that could be used to analyse expressions and build dependency lists, but by its sheer popularity the language we're trying to knead into something it was never and still isn't meant to be is JavaScript.3 -
Give up. Share Target API is already on Android, even in garbage like Samsung Internet. Desktop native apps are already history, mobile apps are sure to follow. Led by Apple Silicon, we will add JS-specific hardware to the CPUs and conquer the world. JavaScript will be the only language, with an exception being C and Lisp.9
-
Here are some facts I found out recently when my linter threw some errors. Just wanted to share with the community. Add anything in the commnets that you wanna share that others don't know.10
-
Oh my dear internet,
FUCK THIS FUCKING SHIT
I AM SICK AND TIRED OF IT, WHO BUILT THIS HACKED TOGETHER ORWELLIAN SWAMP PIT?
Fuck the same fucking Envato template on every content page with 70 layers of sidebars, inline ads, popups, cookies and content shifting as if I was playing CATCH UP WITH YOUR FUCKING CONTENT.
FUCK the same fucking annual upselling 'plans' on every 7-day trial overengineered scam app that requires me to sign up for 1 fucking, falsely advertised task where my fucking password generator doesn't even recognize the input as a password field so I have to cmd+, to my FUCKING BABYLONIAN PASSWORD ARCHIVES PROMPTING ME FOR THE MASTER PASSWORD.
Thank god I can at least CREATE A BURNER CREDIT CARD THAT FREEZES ITSELF BECAUSE I CANNOT BE BOTHERED TO UNSUBSCRIBE FROM YOUR FUCKING STEAMING CRAP.
FUCK every fucking step I take being recorded by our CYBERPUNK OVERLORDS REQUIRING ME to sign up for 5 different fucking privacy protection tools' annual plan or duct tape some open source shit onto my browser just for some BASIC PRIVACY WHILE TRYING TO NAVIGATE ALL THE OTHER 5000 annuals plan naval mines like A FUCKING FRENCH SUBMARINE IN 1940 GERMAN WATERS.
FUCK my walled garden scam ecosystem not being compatible with your walled garden scam ecosystem prompting me to reactivate my old SATANIC GOOGLE DON'T BE EVIL ACCOUNT from 2012 sending me on a DANTE ALIGHIERI STYLE ODYSSEY THROUGH THE 9 LAYERS OF PASSWORD RESET QUESTIONS, UNEXPECTED ERROR, 2FA MY PHONE DIED HELL to come out on the other side as a broken man.
Thank GOD I have your useless SUPPORT PAGE to aid with my signup problems that is actually just an FAQ with a hidden EASTER EGG HUNT for your support form CRISP AI BOT THAT IS ALSO 'currently experiencing high demand due to COVID' which is peculiar since that has been 3 years ago, but fortunately for you enabled you to fire ALL YOUR SUPPORT STAFF AND REPLACE IT WITH THIS BANNER.
I might as well just SCRAPE your fucking content, it'd be faster.
And although it is quite funny, FUCK THIS PAGE TOO for having me create another of 10.000 accounts to write this shit, where my browser firmly placed a newly created burner email into the PASSWORD FIELD.
I do not know how we managed to create something that is even more unwieldy than 56k DIAL-UPS, but I know that if this shit continues I'll have to train my own AGI to proudly interact with of all this STUPID SHIT on my behalf or I'll have to move into THE FUCKING MOUNTAINS AND LIVE WITH THE DEER.2 -
I work as a freelancer and one time I had a client that needed some work done on a crypto website. I was so hyped up because the money was good so I jumped on it. Fast forward 2 weeks later I still couldn’t figure what the shit I was doing as the client kept asking for update.
Yes, I have experience with blockchain but my skill on Javascript just couldn’t help. I did google and also ask questions on S.O. but it wasn’t enough to get me on track.
At the end, I reached out to the client and apologized for not being able to meet up with their request and then recommended someone else.
So I’d say “I lost faith” on my skill as a Javascript dev at that moment for not being able to use some blockchain APIs effectively and also look forward to improving my catalog.2 -
Hi guys. It's unicorndev again.✨
Yesterday I made a post on a CLI app that brings your Github feed to the terminal. And the response from you guys was very nice. Since that was the initial release there were some minor bugs and issues left. So I just released v1.2.2 with some of these issues fixed ex:
- Filtering out depandabot events.
- Detecting Github user name the right way.
- Adding update notifier for future releases.
If you installed the tool yesterday then please update it to the latest version. Thanks :)
https://github.com/RocktimSaikia/...2 -
I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux I hate Redux9
-
Does anyone really like JavaScript as a language?
I mean i like working with it because you can build a lot of creative and cool stuff with it, but i find the language itself to be hacky, wierd and too complex.17 -
javascript is garbage
typescript despite best intentions, regardless of how well it's executed, is still garbage as it's some sort of band aid on top of javascript, and javascript is garbage
Before you ask, yes I'm garbage at front end development5 -
Why do front end developers like to write their HTML/Component markup like this:
<div
id="test"
class="test"
>
Test
</div>
That lone > bracket absolutely irks me! Looks ugly! I prefer the Android style:
<div
id="test"
class="test">
<span>Test</span>
</div>
👌clean29 -
So I'm toying around with an old Pentium M laptop I used to use back in 2013-2015,and it's surprisingly more useable than I thought it would be,but I swear I don't remember the internet relying so heavily on JavaScript.6
-
brew install node
keeps going for more than 5 minutes, installing idk dependencies or doing idk wtf
fuck javascript and its ecosystem5 -
Still gonna harp on Javascript though. Come on people. This platform is supposed to be fun. Have fun and bitch about everything. Even non existent stuff!15
-
I've been given an intern to help me with my work (lol it's not helping) and she knows almost nothing of web dev, not even what Nodejs is, I had to explain it and guide her step by step on how to install it on her laptop. On her CV it says she has JavaScript experience, but she cannot even put together a basic HTML page, she asked me what a div is. As far as I know, HTML, CSS and JS are pieces of the same pie and you cannot really work with JS unless you also work with HTML and CSS. I think she lied on her CV and I need to tell my manager.
My question is, is it normal to know JavaScript and not know much about HTML and CSS?13 -
Douglas Crockford: "The best thing we can do today to JavaScript is to retire it."
https://evrone.com/douglas-crockfor...20 -
Question for those that switched from Web, Mobile Apps development, Full-stack development to Game development after a year or more:
- Do you regret the change?
- What Game engine do you use?
- What Programming language do you use?question frontend full stack unreal engine javascript apps web mobile unity game engine backend games4 -
I created Syzer⚡ a cli tool that updates all of your npm dependencies at one go.
Repo: 🚀
https://github.com/RocktimSaikia/...
The reasons behind building this: 📝
1) I personally hate updating my project dependencies manually.
2) There are other similar libraries that do the same thing but I tried one and too much config. I had to specify the package.json file to update it. then what was the point of using that library. So ended up creating one myself.
3) 'npm update' already exists I know but it does not update the package.json file with the latest version tags.
For more info on how the use the tool check it's README instructions. 👋14 -
Looking for platform specific language options for a new project at work and reading articles from well known sources.
If you start your article with something like, "when I think of a good programming language, I think of JavaScript", I'm going to punch out of your shitty opinion faster than an async function.
When you're trying to convey an unbiased message you generally don't start with, "I'm an absolute shill for {language}".
What the fuck happened to journalistic integrity?7 -
I am curious if this companies hiring requirement would be a red flag for you. They want at least one year of Typescript experience. Fine. They would not consider a person with 5 years of Javascript and zero Typescript experience.8
-
In a universe where JavaScript was never invented, the world of programming might look vastly different. Perhaps another programming language would have taken its place, or multiple languages would have coexisted in a more harmonious ecosystem.
Without the challenges posed by JavaScript, web development may have been smoother and more streamlined. Websites could have been faster and more responsive, without the need for complex optimization techniques. There might have been fewer security vulnerabilities to worry about, and the web could have been a safer place for users.
In this utopian world, developers would have had more time to focus on building great user experiences and innovative features, rather than battling with cross-browser compatibility issues and JavaScript quirks. The internet would have been a more accessible and inclusive place, with fewer barriers to entry for those who want to build and create.
Overall, a world without the horrors of JavaScript would have been a world with less frustration and more possibilities.
(Fooling around with ChatGPT)15 -
JavaScript type comparisons. They are annoying, some times they don't make sense and they promote bug making.2
-
I just released my first NPM package that is actually functional and used in a private project (https://npmjs.com/package/@lbfalvy/...) and I have to say, the quality of debug tooling for Node is abysmal. I spent 4 hours just on Webpack's "Field browser doesn't contain a valid alias configuration" error which simply means "package not found", and then getting Rollup to output a working compiled javascript _and_ a d.ts was its own day-long ordeal.4
-
I enter a newspaper website. It shows me the article, but 3s later it blocks the page with "Oops you gotta subscribe!" I disable JavaScript and the popup doesn't show up again.6
-
So I was in place explaining the work I do to some guys then this beautiful girl about 19 year old came down and asked me ""what are your stacks""😲😮... I said JavaScript and Python,and that I use Django, Reactjs, Reactnative, blah blah blah 😔, she said she does too, I was like 😲😳😲...in this country, then instantly I knew she was the one, 💕🥰🥰.. I was about taking her number when I woke up, it was a dream 😢😭😂9
-
Almost 800MB of dependencies just to download the damn npm, sometimes I wonder if some part of the software developement world is going crazy7
-
CORS is shit
Stupid useless shit that protects from nothing. It is harmful mechanism that does nothing but randomly blocks browser from accessing resources - nothing more.
Main idea of CORS is that if server does not send proper header to OPTIONS request, browser will block other requests to that server.
What does stupid cocksuckers that invented CORS, think their retarded shit can protect from?
- If server is malicious, it will send any header required to let you access it.
- If client has malicious intents - he will never use your shit browser to make requests, he will use curl or any ther tool available. Also if server security bases on something as unreliable as http headers it sends to the client - its a shit server, and CORS will not save it.
Can anyone give REAL examples when CORS can really protect from anything?32 -
I hate how React is used almost everywhere nowadays. Especially when single-page applications are used for purposes that don't actually benefit from them.
Perhaps I'm just old-fashioned, but I want websites to work even with client-side JS disabled. At least sites like Amazon don't rely on it, and work just fine. Progressive enhancement is the way to go.4 -
Seems to me that shitty youtube shorts "explaining" basic programming concepts via shitty JavaScript snippets.
Yesterday I've seen dude basically badly explain/demonstrate currying, on such a contrived example that it didn't explain WHY would you ever want to use it, and apparently without being aware that's what it's called, and using like 5 nested/chained ternaries.7 -
Does anyone remember BASIC?
10 PRINT "Hello World!"
20 GOTO 10
I learned it when I had my Commodore 64. Recently I've gotten the itch to dive back in the development world. So I'm refreshing my memory on HTML and CSS (yes I know they're not programming languages) then move on to JavaScript and either React or Angular. Hopefully I will be able to contribute more to discussion on here than just lurk.24 -
A tool widely use and been perceived as a superset of JavaScript does not have a FUCKING language specification, we have no single clue why certain things are done the way they are done. All we FUCKING do is guess.
Fuck typescript11 -
I just bumped into a javascript problem that exceeds the stupidity of previous ones:
Because promises can be retained after they settle, and handlers attached thereafter are pushed on the microtask queue, a promise rejection can't be asserted to be unhandled until the promise in question is GC'd.
Of course this is nuts so engines will conclude that a promise rejection is unhandled if there are no handlers at the moment of rejection.
I hate this language.10 -
If you hate Javascript so much just use Webassembly and write everything in C++.
Your code will probably take 10x longer to debug and write.
But hey, now all your segfaults will be exceptional!24 -
I made a GitHub Action which adds a "work-in-progress" loading gif to your README. 🦄
https://github.com/RocktimSaikia/...
You can use it as a nice little placeholder especially when creating a new repo until you actually update your readme with real docs.
(It will create a new README for you repo if there isn't one already.)
ps: I wanted to learn how GitHub Actions work so learned a lot by creating this tiny action.4 -
I don't know what to think of Vue 3 Composition API anymore. At first I hated it because it's nothing but one big ole rip off of React, and I hate React so much; its hook system is the most disgusting anti-pattern I've ever seen in the entire JS ecosystem. This gave me the incentive to try out Svelte instead, but after doing so, I look back at Vue 3 and noticed that they're kinda similar... why are so many JS devs allergic to classes? You can have much better written code that way. Idk, I'm waiting for vue-class-component and vue-property-decorator to fully migrate. In the mean time, if I'm gonna be forced to write composition based code, I might as well use Svelte.3
-
The DataTables homepage has an example table where some "senior JavaScript developer" has a salary of $433k
Lmao 433k Zimbabwe dollars maybe.2 -
Unironically, Fireship's "React for the Haters in 100 Seconds" is a treat.rant react js make frontend svelte again javascript went wrong youtube video library facebook fireship1
-
Javascript is trash.
PHP is trash.
Java is trash.
Go is trash.
Scala is trash.
Your mum is trash.
Everything is trash.
DevRant summarised in one post.14 -
My non-developer friend (who knows some very rudimentary basics about front-end web dev through me) asked ChatGPT to create a game with an arrow-key (left, right) movable player that shoots bullets.
He pasted the answer in a jsfiddle. The first iteration didn't work. It used DOM and CSS, so I told him he needed to instruct it to use HTML canvas. Lo and behold: https://jsfiddle.net/mehp8jay/16 -
That's gotta hurt dawg: Emotion(a CSS-in-JS library)'s 2nd most active maintainer ditches own solution for SASS + CSS modules: https://dev.to/srmagura/...
Didn't feel right from the start. Everyone showing their true feelings for CSS-in-JS in the comment section.
Please tell me the next big thing will be going back to basics & not go to even more insane lenghts for marginal DX improvements.3 -
Gotta love it when you wake up, with the deadline still ringing in your head, and your Intellisense breaks from one day to another, all because there was an update. Gosh how I love modern WebDevelopment8
-
I dont know how to timeline projects. I tell clients that it will be ready in one month. But the project will be so big that it takes lot of time to actually code it and do all the procedures around it. I m just giving them timeline based on the speed of my mind.3
-
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
-
My 60th Day of learning Html and Css,
#Kindly comment on Font colors. And font family🙏
#I now think am capable of handling javascript🙌
#Anyone with Javascript ROADMAP , kindly help🙏12 -
I read: "Don't change your implementation to do tests"
Then I read: "If it's too hard to test, your implementation is too complex"
Then we can get into test terminology itself, which is its own mess:
http://xunitpatterns.com/Mocks,%20F...
sheesh, if you thought the whole javascript / framework / web ecosystem always feels immature and behind other areas of software, i'm about to argue that testing patterns are even further behind8 -
Can we take a moment to recognize how absolutely retarded JS' event system is?
Events aren't objects. No, they're managed by an object, and identified by a string.
To subscribe to an event, you call object.addEventListener(name, callback). Because for some reason we can't just have an event object. Events MUST have an owner.
But to unsubscribe you don't call the function addEventListener returned, you don't use the token it returned either. No, you pass the same function to removeEventListener.
Because we don't use serializable tokens like in PP, and we don't return functions like in FP, no, we use functions as tokens, realising idiomatic DFP.2 -
Im back at University and need to code Java for my Semester Grades. My main languages are PHP and JavaScript.
Reading a book right now where it says "Java Developers are happy".
NOPE aint nobody happy about Java. Sad fucking Author of the Book, go fuck youself and retire. Java needs to retire itself, there are more modern languages available.7 -
It's almost 2023. ES6 have been around for 8 YEARS and still testing suite don't support it out of the box. I have to waste my time configuring transpilers. What the fuck are those stupid facebook fucks doing with their time? Fuckheadz8
-
Question: We are planning to transition our old ES5 codebase to modern ES6/ES7 and even typescript.
What would be the build tool you would recommend if we want to start supporting ES6/ES7 and even Typescript?
Webpack, Vite some other?
This is a vanilla Javascript Project with large codebase it's been built using custom build tools like UglifyJS and UglifyCSS and of after lots of begging it finally got the green light to move to a more modern build tool and start supporting a more standard JavaScript Features.
Mainly I want to move to TypeScript but transition would be slow so the build tool would need to support .ts and .js as well, that is traspile both the .ts and .js into one final production build.
What build tool would you recommend for that?8 -
Well, the James Webb Telescope runs on Javascript (partly)
JS haters, any comment? 🙃
https://theverge.com/2022/8/...12 -
so
?. <- optional chaining
?? <- nullish coalescing
? <- conditional/ternary operator
dunno why, I can't seem to remember optional chaining off the top of my head.8 -
Your one-line JavaScript arrow functions AREN'T LEGIBLE! You've just memorized their shape. It's OK. But don't lie to yourself. They look super stupid. They aren't for humans.14
-
Guys cover your eyes I'm gonna say two bad words inside a paragraph
Fuck JavaScript and asynchronous programming - I'm not skilled enough for this so I have to insult it periodically until I'm skilled enough to know partially more than now what the fuck I'm doing (therefore the times I use bad words when referring to js and async programming will decrease - or maybe at the increase of knowledge, my usage of bad words will augment. Only time will tell).15 -
I'd like to hear from developers which prefers Angular to React the reason of said preference.
I want to hear that becasue I like React way more than Angular since I find which is easier to learn (making a form with a React hook is easy while it takes days just to get a grip on Angular forms), it usually takes less code to do things, it doesn't force libraries which may not be necessary for your use case and just makes your bundle bigger (for example most things which are done in NgRx can be done just as easily with regular JS promises without the need of an external tool) and I generally prefer functional programming to OOP.
Said that I want to hear the other side, not to argue but because I want to know cases in which Angular may be a better choice than React to become a better rounded dev.10 -
I will use whatever gets the most hate, religiously. You all hate Apple? I will use Apple everything. You hate JavaScript? I will write everything in JavaScript. You hate Safari? I will use Safari as my main browser.
As long as I'm the unique antithesis to your mediocre thesis, we get healthy synthesis, and the world remains balanced.8 -
Typescript is a PIECE OF SHIT that adds 3 problems for every 1 it solves! Messing with so much shit from its linter and builder just so some OOP fools can code JS like *TAB* *TAB* *TAB* again!15
-
react is garbage because javascript is garbage
like trying to draw straight lines but there's no straight edges to work with
fuck hooks , im too salty and stupid to learn this shit1 -
Today on fucked up Javascript stuff: Call stacks whose bottom isn't an entry point or event handler2
-
Looking at vacancies and the JS build tools asked (Babel, Gulp) and then visiting their websites I notice that I don't understand what they are going on about.
"Leverage gulp and the flexibility of JavaScript to automate slow, repetitive workflows and compose them into efficient build pipelines."
What the actual corpo fuck?
The "get started" page expects you already know npm, typescript, and when you look at their pages, well... Where does the circlejerk end and the actual Javascript start?
I've been out of the corporate loop for a few years, seems it's all about build tools these days. I need to get out of this industry pronto.3 -
TL;DR: don’t use Array.forEach use
for … of … instead.
Array.forEach is synchronous, but pass it an async function and the bastard does not await it.
I was so sure that it was sync….
Wasted 2h14 -
Why are JavaScript coders called engineers (ie front end engineers, node engineers) but dotnet and Java are called developers?20
-
JavaScript development turns into more and more of a shitshow over time. Not that it was great at the beginning, but with each passing year it gets worse.
There are now 17 versions of Node.js, 18 versions of React.js, 3 major versions of Vue.js... Each version brings something new and no one is in a rush to update their stuff to be compatible with the latest version of the framework3 -
I contimnue to just hate javascript, especially react. just fucking go die. You can't fix a shit sandwich by wrapping it in fucking typescript. Gah, fucking hate this crap.1
-
everything is going as planned! :)
Learned Rust Lang. i loved it (that doesn't mean i am done learning na? No! never stop)
new language i could do game memory hacking in without worrying about C++ memory leaks or issues. it also compiles to assembly! another of my favorite languages!
(i use rust for game development and other stuff)
i am not leaving C / C++ though that would be harsh!,
i abandoned javascript for react and typescript.
to be honest the developer just made javascript and left us with a [object Object]
finished learning the android java api so im basically set anything i want to make i can just go on my pc, listen to music and write it out in a couple of days.
well phazor what are you going to do now?!
i will code till i am old.
i will leave my mark like a shid that made its skid in the bowl :)5 -
So I recently finished a full stack web development bootcamp and I realized something at the end of it... I suck at and consequently hate Javascript... Any idea on how to change that? Whenever I see a task related to JS my first response is NOPE.4
-
I already developed with Angular, I thought it was cool. ReactJS, I thought it was good. But I've just discovered Vue with vanilla Javascript and I'm completely in love.9
-
The devil in me wants to create a new javascript framework just for the fun of it but the real me is holding back the urge because seriously man isn’t getting any younger.5
-
Trying to debug the clients nonsense webpage, it loads over 50 proprietary JavaScript files.
*maximum facepalm*2 -
Bloody cunts at Twitter could provide the fucking grammar for their filtering rules...
Now I have to write the grammar for the lexer and the parser from scratch (in fucking JavaScript to boot 😡).
Mind you, I know my lex and bison, but I haven't done this shit in fucking ages, and the combo of JavaScript debauchery and being rusty, is making me want to send angry tweets to Elon musk, see if they can provide decent tools for their shit API.3 -
Any advice for how to get that first coding job? I’m hoping to get a job doing web applications, as web dev seems the most common / in demand. So I’m trying hard to learn an html / css / JavaScript stack with a golang backend and build a personal project with that. Is it possible to get a job with only an associates degree and a personal project to show for? I also will be completing an internship soon. Any advice for someone like me who DOESNT plan on getting a BA degree? Thank you so much.7
-
I really recommend to follow the online course of Jonas Schmedtmann on Udemy talking about JS from 0 to expert.
Have you ever heard about it?
I just starting the course some week ago, but i fell very involved by him, i think one of the best teacher on the platform,
Anyway I'm really proposed to hear some feedback or another different personal experience3 -
When you attend 2 hrs of loooooooong teamwide call for discussing product where you are absolutely not required and still invited for no reason at all and you have to attend the call instead of doing the actual work.
-
Do I have just a bad version of ecma script or is this some stupid shit in JS in general? I want each sub array to be separate entities, not that same one for all. I assume the fill in just putting the same list in all of them? I honestly don't care I guess, replacing a sublist is fine too. Rather than editing each element separately. Saves ram in long run.
let arr = Array(5).fill(Array(1,2))
console.log(arr)
arr[0][0] = 3
console.log(arr)
[[1,2],[1,2],[1,2],[1,2],[1,2]]
[[3,2],[3,2],[3,2],[3,2],[3,2]]
Congratulations, you are my dev duck today.19 -
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
-
Anyone here use generator functions in JS? Seems like it could be useful but whenever I explore the possibility of using one, I usually end up going another route9
-
There's a special place in hell for JS people using `.then()` and `.catch()` instead of simply `await func()`.
Why have 5 lines of code with an await, when instead you can have 5 nested `.then` callbacks.
And yes I know there are some cases where async/await isn't applicable, but that's rather rare25 -
In my company we are constricted to have 100% of f̶a̶k̶e̶ coverage with unit test.
Obviously the test suites are not performing and it takes more than 8 minutes to run 3335 tests.
I know that what I'm going to say is super mainstream but there is nothing comparable to the relief that comes from seeing all tests in green after you did a lot of small changes around the code on Friday.4 -
Woohoo who else has to work the weekend because of bullshit bugs?
Please let me have the energy to deal with my coworkers on Monday5 -
I can not wait for the day till JavaScript can be thrown into the fiery pits of hell and we can just use wasm or even have the browser just support typescript natively.4
-
stateofjs survey reminds me of all that's wrong with JavaScript: too many frameworks each of which has to reinvent the wheel and depend on too many node_modules child dependencies, most don't support TypeScript properly (ever tried to convert a node-express-mongoose tutorial to TS?), there is still no proper type support in JS core language, and browser features get added in form of overly complex APIs instead of handy DOM methods.
Instead the community gets excited about micro-improvements like optional chaining which has been possible in other languages for decades.
At least there is something like TypeScript, but I don't like its syntax either, it's overly verbose and adds too much "Java feeling" to JavaScript in my opinion.
Also there is too much JS in web development, as CSS and HTML seem to have missed adding enough native functionality that works reliable cross browser to build websites in a descriptive way without misunderstanding web dev for application engineering.
After all, I'd rather have frontend PHP than more JavaScript everywhere.
Anyway, at least the survey has the option to choose how satisfied or unsatisfied people are about certain aspects of JS. But I already suspect that most respondents will seem to be very happy and eager to learn the latest hype train frameworks or stick to their beloved React in the future.5 -
Upgraded my project from .NET 6 to .NET 7.
Looks like some kid who writes shit in JavaScript and pats themselves on the back has had some input on System.Text.Json
JsonDerivedTypeAttribute11 -
It's 2022 and jest still doesn't support ES6 module out of the box (it's been around for 7 years).5
-
Is Fastify really better than other libraries like express as it claims?
It claims that it's way faster than express
(Thinking about switching my express server to Fastify)14 -
Just finished rebuilding a personal website , pretty normal just a link aggregator I guess and I have got over 160 lines of vanilla CSS but only 15 lines of JavaScript. Is this normal lol ? I think I focus too much on design and "aesthetics" .5
-
It seems to me that browsers lagging behind is the reason we've seen the JS framework boom both in recent years and ongoing, evident in what they regard as major updates. Most of the functionalities implemented in my time working on the front end are high level problems ubiquitous enough to have been solved at the browser level. Same goes for all the optimizations CSR frameworks are struggling to attain. Every CSR app genuinely feels like recreating a browser, both in UX and dev requirements. These problems exist because current browsers are analog software still accustomed to loading all content at once, no in-app state, just scroll states
The React-Vue-Angular wars of today are a direct hat-tip to the Netscape-Microsoft wars of the early years. If they can form a coalition that sets a standard for syntax, best rendering engine, natural way for user facing devs to control app state, fetch data or connect the back end, somehow render this on the server or find a workaround SEO issues on CSRs, etc, given the shared agreement on expectations for modern web software, it'll be fascinating to see such a possibility8 -
If interested:
https://github.com/denysdovhan/...
it's an entire GitHub repo on weird-wacky stuff of JS3 -
On https://reactjs.org/docs/... it is declared that useEffect runs after render is done.
However... if you put into useEffect an expensive calculation or operation e.g. "add +1 to x billion times", it will get stuck after updating the data, but before the re-render is done.
This leads to inconsistency between the DOM and the state which I believe is a foundational point of react. Moreover, the statement that "useEffect runs after render" is false.
See also: https://stackoverflow.com/questions...
The solution is to add a timeout to that expensive operation, e.g. 50 ms so the re-render can finish itself.
The integrity of my belief in react has received a shrapnel today. Argh :D Guys, how this can be? It seems that useEffect is not being run after re-render.13 -
i have no idea what im doing
javascript, jsx, typescript, react have some of the ugliest and redundant syntax i have ever seen
what are people's favorite reference material for them
do people recommend the official documentation, was surprised react looked better than expected for its docs6 -
I started this trainee job as web developer and they want me to learn JavaScript, Node.Js, React, PostgreSQL, Axios, Bootstrap and some other stuff all from scratch in less than month... I know is crazy, but I kinda love it lol2
-
Yesterday i went to see a therapist ( i am a javascript developer). The therapist asked me what the problem was and i said i had to learn a new tech stack every 3 months. He then told me he was a php developer .....
Therapy works guys! no cap
P.S- This joke is stolen from the oldest book possible ( yes! as old as php)2 -
The web literally runs on JavaScript. A language that was written in a week. I mean, if the world is going to depend on a programming language it should be the best one. Ik ik best is subjective, but you get what I mean.9
-
Compiled Otter finally in a PowerPC Virtual Machine but it throws a segfault when it trys to load any javascript on https sites1
-
I have never understood the default configuration of Javascript Back-end frameworks.
The documentation says -> Install expressjs. Its a "framework".
But then u need to setup EVERYTHING yourself. Install cookie-parser, body-parser, io, routing FUCKING everything !!!
Why can someone not make it a standard installation covering the basic necessities ??5 -
devRanters!
Do any of you find that you can type the solution faster than GitHub Copilot recommends?
That's how you know you're senior 😏
Also, on a serious note, does it only support JavaScript / TypeScript? Didn't really take time to investigate.
I thought there was also a feature you could tell it what to code and it would try to write a solution. Haven't really seen how to do that yet.7 -
When I first learned React I remember thinking to myself 'this is aweful' and 'why would anyone even bother writing React when there is vanilla javascript' 🤔😆3
-
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 -
Is the JS VM in browsers as efficient as the webassembly interface?
If it is not, then why don't browsers transpile JS to webassembly?
I realize JS does do JIT in a lot of browsers (all?).9 -
Javascript autocomplete in chrome is so strange. I'll be trying to access my image variable and it autocompletes to ImageFrameWindowContainer or something I've never heard of1
-
Here I've compiled a list of challenging questions on closures. Let's see how many you get correct.
https://readosapien.com/interview-q...1 -
Do we need compression on api level? say I have a rest api sending json data on requests. So if compression is needed then should it be in the server when returning the json response or in the client side when receiving it? which one is ideal?13
-
I have some down time at work & nobody on my team has any extra work to go around, so I thought I'd use the down time to learn a new skill. I am a front end developer who mostly works with HTML, CSS, PHP & a small amount of JavaScript. I do a lot of work with flex box, and frameworks like bootstrap. I've been considering learning angular or working on my php as that's my weak area. Any suggestions on cool things to learn and/or where to learn them?1
-
I had been assigned a task to create a cross-platform desktop application that keeps track of the expiry of a certain product and notify in real-time.
So, my journey to create such an application starts today and the list below describes the first few hours.
1. Google/Date and time in javascript
2. Google/Javascript date object
3. W3school/Time in javascript
4. W3school/Javascript date getTime() method
5. Google/Are electron.js applications platform independent
6. Google/Dart for desktop applications
7. Google/Is dart cross-platform
8. Google/Best desktop application framework
9. Google/Python for desktop app development
10. Freecodecamp/How to build your first desktop application in python
11. Google/Pyqt
12. Google/Which is the best technology to build cross-platform desktop application
13. Google/Cross-platform desktop app development for windows mac and linux
14. Udemy / cross platform desktop app development for windows mac and linux
15. Youtube/ electron desktop app, demo
16. Youtube/ electron.js is obsolete
17. Youtube/Neutralinojs
18. Youtube/ neutralinojs tutorial
19. Google/Neutralinojs or electronjs
20. Google/Math.js
21. Google/Math.js/JS Bin
22. Google/Cannot find package “math.js”
23. StackOverFlow/How do I resolve “cannot find module” error using Node.js
24. Google/ is it better to install npm packages locally
25. Quora/ why should you stop installing NPM packages globally
26. Google/ what is nvm
27. Google/nvm version check
28. Stackoverflow/node version management on windows
29. Github/coreybutler/nvm-windows: a nvm for windows. Ironically written in Go
30. Google/how to uninstall a npm package
31. Npm docs/uninstalling packages and dependencies
32. Google/require in javascript
33. Youtube/how to install electronjs
34. Youtube/electronjs in 100s(fireship.io)
35. Roryok.com/electronjs memory usage compared to other cross-platform frameworks
36. Google/is electronjs memory hungry
37. Youtube/sql in one hour
38. Youtube/learn sql in 60 mins
39. Geeksforgeeks/connect mysql with node app
40. Stackoverflow/How to return to previous directory using cmd
41. Stackoverflow/how to require using const
42. Geeksforgeeks/difference between require and es6 import and export
TO BE CONTINUED...1 -
Why useImperativeHandle in React is bad?
I have component A. I have component B which is a child of A.
I have button in component A that should change how component B is displayed.
Usual approach is to set state in A, change it upon click and pass that state as flag via props to B.
But there is another approach via exposing ref to component B using forwardRef() + useImperativeHandle().
And then calling method that belongs to B from A. Like this: bRef.current.changeDisplay()
https://stackoverflow.com/questions...
https://reactjs.org/docs/...
https://github.com/reactjs/...
People on SoF and Docs say that the first way is preferrable. But no one explain why.
Does anyone know why calling child method from parent is considered bad?4 -
I recently refactored a form with complex client side interactivity for one of my clients replacing jquery with vuejs in the process and I'm absolutely baffled by how easier it is to reason about everything when you think of the UI as a function of the state. Only devs who have done both imperative and declarative DOM manipulation at some point in their life can understand the joy of doing this. And all of this can be done with just a simple script tag without having to bring in complex build process that has plagued the Javascript ecosystem.
-
sigh, I guess I have to learn javascript.
u know, as a devop/prod/backend engineer, i thought i would be exempt, but world wide web of "one more thing a dev should do" won't let me have it :(
so, any of you have a quick and dirty guide to catch up with the latest essential components of javascript as an experienced dev who absolutely knows nothing about js?13 -
Is ECMAScript a dialect of Lisp?
"JavaScript has much in common with Scheme. It is a dynamic language. It has a flexible datatype (arrays) that can easily simulate s-expressions. And most importantly, functions are lambdas. Because of this deep similarity, all the functions in [recursive programming primer] 'The Little Schemer' can be written in JavaScript."
— Douglas Crockford
An interesting discussion on SO (https://stackoverflow.com/questions...)2 -
Which is the easiest stack of languages to use in order to build a webRTC chat website with basic user account creation and sign in and a text chat alongside a video chat much like chat roulette? I’m thinking obviously html and css and JavaScript. But maybe golang on the back end? And I’m not too sure about the database. Any suggestions would be AMAZING. Thanxxx21
-
Why building a library of React component should be this hard: I'm sick of Webpack, Babel, Typescript and all the shit which is duct taped together to build some damn widgets.4
-
!rant
Go's tuple-style returns. ❤️
What's an exception? I don't even know what those are anymore. 😄
I've started using this pattern in JavaScript / TypeScript too.
also... supabase anyone? ❤️5 -
Recently moved from WebDev to iOS dev and realised how much the web dev community has contributed to open source.
Also,PHP sucks6 -
Just found an interesting bit of AI for developers:
https://beta.openai.com/codex-javas...
Tell it to create something...5 -
Total personal rebranding, mark zuck T-shirts, total CV changeover (change the weird perl & haskell skills, to javascript) you know cool kid stuff.
wish you all luck, am about to become rich, watch out.6 -
Babel fails about 10% of the time, but if I re-run it it works. What the fuck did I even get myself into, and why aren't elements of a modern javascript toolchain completely deterministic? (webpack, babel, typescript, react)1
-
Can anybody guide me on how to create a web-based application that takes input as a file, and performs extraction of file, and show the content of file in tee structure using javascript?6
-
Is there anyone who switched from Java backend (Spring Boot) to Nodejs? If yes what was your experience? Some people say it's a downgrade because of lower performance and less specialized tooling want do you think about that? Also what about salary? Is it the same level?11
-
DRM/licensing scheme
To be fair it was mostly because they never sold that software to a single client... But it was also all written in JavaScript
Would've probably been better off mailing the owning company to let them know one of their software users' usage for a lawsuit on backpay or something. Idk I didn't make the rules. They also messed up the specs for how modular the app needed to be so I had to rewrite the whole thing in 6 months, but this time I took the opportunity to do unit tests so that was nice... -
Python developer's
📁 Project
L📄main.py
JavaScript developer's
📁 Project
L📄 index.html
L📄 index.js
L📄 style.css13 -
Lately been doing a lot of GitHub action stuff so created a Yeoman generator to scaffold javascript-based Github actions.
You can check the project here if you want 🦄
https://github.com/RocktimSaikia/... -
Take this combo:
English (or any spoken language) + Mathematics
Is this like:
HTML + Javascript
Yes, I went there. I compared Mathematics to Javascript.4 -
For the whole january month, i was looking to create a text editor in which text is edited in the div block so i thought of doing it with javascript creating events of when this button is pressed do this. then today i found out i can do that with just adding contenteditable='true' in the div element. I was like i should have searched it in the first place.A Month wasted.2
-
I am developing a plug-in for chrome browser using python. I was trying to interact with the html page, and it was very frustrating, now I am using switching to JavaScript.
What I don't get is how did JavaScript become this power that you must use it to interact with the html page.6 -
It must be a dreadful bore when you decide to write a lightbox. Another lightbox. Another fucking lightbox. Don't judge me. I was bored and spent some time with plain javascript. I still hate that language. I may still suck at it.
https://lexybox.leximo.cz/2 -
How I Get A Job When I Have Not Sufficient Knowledge About Backend And The JavaScript Language. JavaScript Also Very Disturbing Language, I Love To Do Programing But Sometime I'm Frustrated About How Much It Takes Time To Learn Job Ready Programming4
-
Hello! Could anyone please explain how can I limit the number of entries to the website with one login? It will be Joomla-based. I want to get a unique device id apart from the platform. What should I choose - php, javascript or anything else? Can anyone tell?
Thank you.11 -
I can't wait for the Javascript team to implement native typing, this will be a game changer for sure, no more tsc --init1
-
How to get an offline documentation? I mean, JavaScript offline documentation. Are there any other ways other than https://devdocs.io/?1
-
ProCoders ,first of all, is a team of talented software engineers who love what they do. ProCoders are an IT staff augmentation firm with more than 80 engineers on board who can manage any project. As a professional offshore software development team, our team can find the superior software engineers for your startup. Our company are experts in CSS, Node.js, Flutter, JavaScript, HTML, React Native, Ionic, TypeScript, Angular, PHP, Vue.js, Symfony, Ruby, React, Laravel, Ruby on Rails etc.2
-
Hi everyone
Please tell me how i can convert a mediaStream Element to an actual file in JavaScript (Browser side)
In fact i want to capture a screen or a tab and save it as a file
Thanks7 -
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 -
How to separately host the backend and the frontend ???
I have express API repository which is currently hosted in Heroku along with its documentation site written in ejs.
But now I'm planning on separating the docs website with gatsby and moving it into another repo and hosting it on netlify while the API service still remains in Heroku.
Here is the end goal :
"/" : the docs website.(netlify)
"/api" : the API services.(heroku)
Can someone help me with how to implement this in the actual application?3 -
Hey, what is the best way to add speech recognition on web? Did web developers have python developer like AI/ML technology.3
-
I was approached by some guy on a project and I need your help figuring out how to go about this.
the project is basically a website where school owners who are not tech savvy can input necessary details about their school and it spins up a site from an existing website template built in react for them.
an extra complexity will be creating custom domain names for each site. will this also be possible ?
I've not done something like this before and I dont know the word for it so making a Google search has been quite hard
my stack is javascript MERN stack.1 -
What significance does web development have?
After the Covid-19 virus outbreak, web development has positioned the business at the forefront of many well-known and expanding brands. Higher user interactions within international cross-platforms have been attained by compliant web development solutions. Significantly, the prospects for its expansion are good for articulating corporate and e-commerce projects. -
Okay, I'm glad we're working with cutting edge technology, I love that, but module federation with micro front-ends has currently so many issues across the board that I feel we're working against it, not with it. It leaves us incapable to use vite or proper SSR.
Also, isn't it funny that we are basically reinventing iframes? -
Who else has worked with astronomical algorithms using JavaScript? How did it feel? Please share your experience20
-
I want to know if I should use java for interview questions,but I’m a bit iffy because I’ve only done a OOP course last semester using java and I haven’t used java in any real world projects or at work. The language I primarily use is typescript/JavaScript. I also know python, but the same thing goes for that as well. What should I pick? I need a wise answer. 🙂6
-
I rolled out a feature in one of my previous organizations. It looked awesome. I couldn’t wait to receive all the praises and appreciations but instead was bombarded with bugs and issues. Well, I tested the feature on chrome but little did I know that the users used IE and safari. This is where polyfills in javascript step in. Here I've assembled a list of some important polyfills. Do read it and let me know your opinions.
https://readosapien.com/polyfills-o...1 -
Made fun of JavaScript and told millions why Python is better than all other languages on this fucking planet. But still...8
-
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 -
!rant Learned from an online course that you can use Chrome Snippets (JS) to run your own code as an entire file rather than writing it all in console (which only supports line by line unless you do shift + enter).
I had seen this before but I wasn't fully aware of it.1