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 - "webdev"
-
Why on gods green earth, would anybody look at a file with 20k lines, which clearly was made by something called WEBPACK and decide it's the right place to implement their changes for the next few years?!?3
-
Ok soooo boss asks me: "When is the website going to be ready?"
me: today i'll be through
----------------------------------------
4 hours later:
Site 90% done
- messed up theme
- try reinstalling theme
- 2 try
- 3rd try
- 4th try
- 5th try: success , time 6:00pm
-----------------------------------------
SENDING DAILY REPORT:
Site is 90% complete and waiting for content from client
- projects
- logo
- images3 -
The popups on websites pisses me off.
If you try to google something quickly and enter various websites you have to close all popups on each site you enter.
Some websites try to make these popups more discreet by making them small and putting them at the bottom of the screen but then your brain just ignore them and focus on the small content above them.
In the year of 2022 people visit a lot of sites during a day. The human brain is programmed to put in as little work as possible to reach a certain goal so therefor everyone ignores popups.
I know its a law to inform people about cookies etc. But isnt there a better way?15 -
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
-
*phases of learning to program*
Phase 1:
Yeah its so easy i love programming i'm gonna be a top programmer.
Phase 2:
Uuuhg.. programming sucks,i think i'm not meant for it,should i give up do something else maybe...
#programming #100DaysOfCode #mumbai #love #indian #gujarati #vadodarabarodacity #instagram #vadodaradiary #msubaroda #aapduvadodara #vadodaranews #vadodarawomen #officialvadodara #vadodaracity #barodarocks #barodagoogle #vadodarafashion #vadodara_lover #barodadiaries #barodamirror #india #vadodarabaroda #geek #developerslife #webdev #php #design #css #java #developers #html #softwarehouse #softwares #softwaredevelopment #technology #coderlife #designer #softwareengineer #webdesigner #codingisfun #programmerproblems #programmerjokes #programmerlifestyle #programmergirl #webdevelopment #developerlife #devlife #webdesign #programmersday #softwareengineering #programmering #programmerhumor #development #dev #programmerlife #programmer #developer #vadodara #coding #software #baroda #programming #vadodaradiaries #vadodara_baroda #coder #webdeveloper #gujarat #programmerslife #javascript #vadodara_igers #codinglife #barodacity #code #vadodarablogger #programmers #softwaredeveloper #ourvadodara #goals #beyourself #happy #smile #lifeisgood #socialmedia #success #friday2 -
Hi guys 👋
I've just finished setting up my personal portfolio page. Could you please check it out and share with me your feedback, thanks 🙏❤️
URL: https://azizfcb.github.io/azizfcb/
Looking forward to hear your opinions 😊6 -
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
-
In the midst of considering to be an AI engineer, data science or embedded programmer.
Plan to retire from mobile dev, backend dev and webdev. -
Wow, it seems a lot of people on here hate web dev.
It sounds like they dont know what they are doing 😊12 -
I did a challenge for an application which consisted of developing a landing page. I figured i wanna hardcode everything and not use any CMS or editor. Fknally i could use SCSS, ITCSS and BEM and it was the most fun i had in a long time. Going for PUG and TS next!1
-
Hi mates 👋
Am going to dedicate myself to dev & open source communities.
I want to build an API that solves something, and I'm looking for your suggestions: what problems in your day-to-day dev life that you would love to have it automated/have it available programmatically?10 -
Finally, I'm able to complete and host my personal website, would you gies give me your feedback how it's look :D
https://priyanshusharma.me/11 -
so am trying to learn webdev and promises. afaik, js is single threaded but can work in a multi threaded way, so if i have say a database of booknames, and i query for 1 book three times, it can run all the 3 requests parallely and give me the responses accordingly, via promises. in java we would use threads for such thing.
So to test, i used this synchronous sleep function: https://stackoverflow.com/a/...
and created the following getBooksFunction() :
function getBookNameAsyncP(id, delay) {
return new Promise(
(resolve, reject) => {
console.log(`getBookName(${id}) called at ${Date.now()}`)
sleepSync(delay)
let result;
if (id in bookNames) {
const resp = {id: id, result: bookNames[id]}
result = resolve(resp);
}
else {
const resp = {id: id, result: "ERROR! BOOK NOT FOUND!"}
result = reject(resp);
}
console.log(`getBookName(${id}) finished processing at ${Date.now()}`)
return result
}
)
}
var bookNames = ['a','b','c','d','e']
//-------------------------------------------
this function is supposed to return a promise that it will return the value of book or error after searching for given milliseconds (fake search time).
but this function does not work correctly. i made 4 calls :
- id: 1,delay: 2000
- id: 2,delay: 1000
- id: 3,delay: 3000
- id: 7,delay: 2500
via usual promise format , i.e 4 seperte calls of getBookNameAsyncP(id, delay).then(/*log result*/).catch(/**log error*/)
my expectation was :
b
a
"error"
c
but instead i got synchronous result (a,b,c,error) and weird timestamps.
So can anyone help understand me what's going wrong here and how to the expected result?
ps : pastebin link in comments for better code highlighting8 -
so i have this dilemma whether i would want to try and make a web app but every time i wanna start i always think that there are better apps out there than what i have in mind or it absolutely wont go well and i never end up actually make progress on one. what do i do?2
-
hi, so am trying to learn about webdev (currently just the html/css/js/node/browser) . any topics in these tools that are very important during interviews?1