• Breaking News

    Monday, October 4, 2021

    Mike Sherov notes that jQuery usage is officially on the decline, and says we owe the project a debt of gratitude web developers

    Mike Sherov notes that jQuery usage is officially on the decline, and says we owe the project a debt of gratitude web developers


    Mike Sherov notes that jQuery usage is officially on the decline, and says we owe the project a debt of gratitude

    Posted: 04 Oct 2021 06:03 AM PDT

    Is there a cracking the coding interview book but solely for front end stuff?

    Posted: 04 Oct 2021 12:53 PM PDT

    I am enjoying this book but was wondering if there was an equivalent more tailored to front end interviews.

    submitted by /u/gtrman571
    [link] [comments]

    To the person(s) responsible for... Misplacing... The DNS bindings for Facebook:

    Posted: 04 Oct 2021 03:44 PM PDT

    Or anyone that has smarts about hosting etc.

    How does this happen?

    How do you fix it?

    Have you been fired, out of a cannon, into the sun?

    I only use 1 of the 3 downed services personally, but i know some peeps who lost a fair amount of money on the digital marketing aspects of the API's not working, and i am genuinely interested in what actually happened since articles online have varying stories ranging from an "oopsie" to "the lizard overlords are here to collect our souls".

    submitted by /u/Powerful-Ebb-2618
    [link] [comments]

    I enrolled in Angela yu webdev bootcamp , struggling with discipline anybody that wanna partner up ?

    Posted: 04 Oct 2021 12:52 PM PDT

    I struggling doing the course regularly so if you are the same or looking for a partner or buddy Or you also started and struggling hit me up We will be in this together

    submitted by /u/rlynotteddy
    [link] [comments]

    Is it possible to view the original JavaScript files from other websites?

    Posted: 04 Oct 2021 01:03 PM PDT

    I'm learning Chrome Dev tools and I know it is possible to unminify files by clicking '{}' or 'Pretty-print'.

    However, after doing so, all the variables are one letter characters and the code makes little sense. Is it possible to view the original Javascript code?

    submitted by /u/Stalingrad52
    [link] [comments]

    Anybody have experience debugging websockets?

    Posted: 04 Oct 2021 02:38 PM PDT

    I have a weird issue that I am trying to debug that is driving me crazy. My websockets for an app I am working on work perfectly on localhost, but in production they don't work. What is weird is I tried testing with Postman (you can use postman to test ws now) and it seems to be working.

    I tried asking my question on Stack Overflow but haven't gotten anything helpful yet.

    Anybody experienced anything like this before? What are some common things I should look for? By the way all the code is open sourced

    submitted by /u/toshv
    [link] [comments]

    Are hidden form honeypots remotely useful anymore?

    Posted: 04 Oct 2021 08:21 AM PDT

    Is it still worth making hidden HTML fields to try and catch bots? Or has this been ineffective for some time now? I feel like there's a chance it will just tie up legitimate users, and not do much to stem attempts to spam a form. Thanks!

    submitted by /u/LogosHobo
    [link] [comments]

    �� ct.css – Let’s take a look inside your <head>

    Posted: 04 Oct 2021 08:51 AM PDT

    Entry-level/junior web developer resume critique

    Posted: 04 Oct 2021 03:30 PM PDT

    Hello, I'm trying to make a great resume as I'm graduating from my university soon and I'm looking to transition out of QA. Any suggestions would be appreciated on improving what I currently have for my resume. I'm not sure if I worded some parts the greatest. I do still need to add a link to my personal portfolio that would contain my github link. Thanks!

    https://i.imgur.com/KQoZwnB.png

    submitted by /u/Stillw0rld
    [link] [comments]

    Selenium Alternatives to Fill in Your Top Testing Gaps

    Posted: 03 Oct 2021 11:49 PM PDT

    Parcel development server replaces elements with random screenshot?

    Posted: 04 Oct 2021 01:38 PM PDT

    Parcel development server replaces elements with random screenshot?

    I'm not sure how to describe what's happening, but when I use Parcel my app looks like this:

    https://preview.redd.it/ya7sfdzfvhr71.png?width=432&format=png&auto=webp&s=c023db4b15ff249c097cbc90154bf728a9b61047

    When it usually looks like this:

    https://preview.redd.it/y5zoijphvhr71.png?width=308&format=png&auto=webp&s=d0839cfae7701bbde0eecc5dab4abd6b41b6a346

    I'm not sure how to troubleshoot this because I don't understand what's happening. Did I set it up incorrectly or what's going on here?

    I would post my relevant code, but all I did was set-up parcel with npm, initialize a package.json file, and use parcel index.html. I've never used a package manager so I don't really know what I'm doing, I just followed the instructions in the documentation.

    submitted by /u/TheNomadicAspie
    [link] [comments]

    Starting a new job today. They asked me if I was well equipped or if I needed anything. What should I ask for ?

    Posted: 04 Oct 2021 05:28 AM PDT

    Hey fellow redditors!

    I just got a new job and I start today. Last Thursday, they sent me an email:

    For work, how well equipped are you? Do you have a double monitor ? A recent Mac ? An ergonomic chair ? It is important that you work comfortably so do not hesitate to ask for what you need!

    Now thing is, I do have an ergonomic chair and a recent Mac (Macbook Pro 13" 2020 intel chip), two monitors and a raising desk. I am BEYOND comfortable working from home.

    I was wondering if it would be ok to ask for nothing else than a "work" computer and a "work" tablet such as MacBook pro and an Ipad Air ?

    I'm quite shy when it comes to seizing these opportunities. Would it make sense to ask for what I really want/need ? Or is it too much ?

    EDIT2: I'm not sure if I'm comfortable working from a personal computer..

    EDIT: Also have a great keyboard, mouse and deskmat. For music, I have a sound system so no need for headphones.

    submitted by /u/code_matter
    [link] [comments]

    Web3 Architecture and How It Compares to Traditional Web Apps

    Posted: 04 Oct 2021 01:06 PM PDT

    Learned using grid today. Am I missing something here, why isn't everyone using grid 90% of the time? seems so easy, and redesigning looks like it is a breeze. Is there some secret reason most people don't use it I am not aware of?

    Posted: 03 Oct 2021 05:35 PM PDT

    Here is a link to a basic grid tutorial:

    https://youtu.be/68O6eOGAGqA?list=LL

    and then she does another tutorials two using cards (one of which do not use media queries) in her channel somewhere.

    basically the tutorial link ends up with:

    "for desktop":

    .container{

    grid-template-columns: 1fr 1fr 1fr 1fr; /* I think you can also just use repeat(4, 1fr) */
    grid-template-rows: 0.2fr 1.5fr 1.2fr 0.8fr;
    grid-template-areas:
    "nav nav nav nav"
    "sidebar main main main"
    "sidebar content1 content2 content3"
    "sidebar footer footer footer";
    grid-gap: 0.2rem;

    }

    "for mobile if using media queries method":

    media only screen and (max-width:550px){
    .container{
    grid-template-columns: 1fr;
    grid-template-rows: 0.4fr 0.4fr 2.2fr 1.2fr 1.2fr 1.2fr 1fr;
    grid-template-areas:
    "nav"
    "sidebar"
    "main"
    "content1"
    "content2"
    "content3"
    "footer";
    }
    }

    so lets say for some unknown reason the client wants to swap content1 with content3, it is literally just a matter of swapping them in the css like:

    from:

    "sidebar content1 content2 content3"

    to:

    "sidebar content3 content2 content1"

    with no need to go change anything in the order in the html, right? It also makes it so easy to make stuff responsive.

    This isn't like its some new hyped technology/library/fad etc, just a different way of laying things out, but it looks so obviously superior to just using a bunch of flexbox everywhere and then getting overlapping problems along with tons of responsive problems. Is there a pragmatic reason the majority of people don't use grid I am unaware of? Or do people simply like to stick to what they know and therefore never bother trying to do things differently?

    submitted by /u/pythonicispretty
    [link] [comments]

    In simple terms (for a noob), what would it take to aggregate all of my social media accounts into a chronological stream on my personal website?

    Posted: 04 Oct 2021 11:58 AM PDT

    YouTube, Twitter, Instagram, Evernote, blog posts, Reddit, SoundCloud, Snapchat, Facebook, etc.

    submitted by /u/armchairplane
    [link] [comments]

    Is there a more straightforward way to pass variables from the server to the client?

    Posted: 04 Oct 2021 03:25 PM PDT

    Hi!

    I'll start off by saying that I'm not interested in deploying a framework: My back-end needs are exceedingly slim and my intentions are very simple. Whatever the framework would do, I intend to accomplish myself more directly. So if you only know how to develop while relying on a framework, then there may not be much to say.

    I've got a method of human validation running on my site. I don't want to get into the weeds on how it works, but it's a simple method of steganography sustained across the website that relies on a changing validation prompt on the form. As part of this, I rely on some server-side code that creates values to determine a little bit of dynamic content, what question the user is asked, and then signs them in a way that is time-sensitive.

    Essentially I send four values to the client to tell them how to tweak the HTML, and then expect them back as part of verification. As it stands now, I have JavaScript that sends an HTTP request to a CGI file, interprets what is sent back, changes the validation question, then sets hidden fields in the form that are checked with the form processing CGI file. These are then sent along with the POST to be verified. The pertinent HTML and JavaScript appear below.

    My specific questions are as follows:

    1. Is there a more straightforward way of providing these generated keys to the client, than by sending them in response to an HTTP request to a CGI file?
    2. Is there a better way to ensure they are subsequently returned with the POST, than by setting hidden fields for them? Should I worry about form-filling software interfering with them?
    3. As the keys' uses in generating dynamic content is not especially sensitive, I've kept that client-side. Are there practical reasons to keep it server-side?

    Thanks to any who helpfully reply!

    In the form's HTML:

    ... <form action="http://127.0.0.1/cgi-bin/handlingDEEZ.cgi/" method="post" role="form"> ... <label id="verif-label" for="verif"></label> <input type="text" name="verif" id="verif-question" required="required"> <input id="vKey1" class="hidden" name="vKey1" value=""> <input id="vKey2" class="hidden" name="vKey2" value=""> <input id="vKey3" class="hidden" name="vKey3" value=""> <input id="vKey4" class="hidden" name="vKey4" value=""> ... 

    At the top of my javascript:

    // Get keys from CGI file var cgiReq = new XMLHttpRequest(); cgiReq.responseType = "json"; cgiReq.open("GET", "http://127.0.0.1/cgi-bin/getDEEZ.cgi/"); cgiReq.onload = function() { const responseArray = JSON.parse(cgiReq.response); }; cgiReq.send( null ); // Read keys const vKey1 = responseArray[0]; const vKey2 = responseArray[1]; const vKey3 = responseArray[2]; const vKey4 = responseArray[3]; // Set verification content ... const verifQs =["Q1", "Q2", "Q3", "Q4", "Q5", "Q6"]; document.getElementById("verif-label").innerHTML = verifQs[vKey4 % 6] ... // Set hidden form field values document.getElementById("vKey1").value = vKey1; document.getElementById("vKey2").value = vKey2; document.getElementById("vKey3").value = vKey3; document.getElementById("vKey4").value = vKey4; 
    submitted by /u/LogosHobo
    [link] [comments]

    WebDev TIFU two only two sites that I’ve made.

    Posted: 04 Oct 2021 03:15 PM PDT

    Hello you sexy souls of the internet o/

    This is partially a rant, partially a today I fucked up.

    I'll try and keep this concise as I still have to go recover from what I just did and I know I'm far from where I wanna be. I'm a junior dev and have been at it for about 3-4 months. I've yet to be employed by a company accepted for a freelance project, though i've had an interview here and there through cold applications. (this'll come back round)

    Initially I made my first website "portfolio" in Wordpress hoping it'd get me somewhere before digging into code, though quickly realized I should've coded my portfolio. A few unfinished projects later I finally "finished" my portfolio site, though I had two simple issues:

    1.) The email functionality was being blocked by CORS policy due to blah blah that part doesn't matter.

    2.) The site was hosted in AWS though the domain/plan I purchased on host gator wasn't connected to it.

    This was my actual portfolio site which also linked to the initial blog site I made in Wordpress. At any rate I had no projects or blog posts uploaded yet since I wanted full functionality before I dug into project and content creation.

    So we have my blog site and portfolio site right?

    Well…

    Somehow I ended up trying to solve my email/domain issue by connecting the portfolio site to the new secured purchased domain, though SOME-FUCKING-HOW ended up with the portfolio site being hosted on the Wordpress domain.

    Now my Wordpress link brought me to my portfolio, and my portfolio still didn't work unless put on a local server.

    Trying to remove the added portfolio site files then made my Wordpress site give me the ol' error 403 & 404 depending on the link I use.

    I then removed everything to do with the portfolio and am now stuck with a still local hosted portfolio containing blog links that now go to a scuffed 403error Wordpress site, an email form that doesn't work, and potentially have erased the only online presence employers can see.

    I don't live in the best household, and desperately hope that every email notif is finally my chance to break into the industry.

    Though now it feels as if I've been set back due to the simplest hiccup while trying to solve an error most others could finesse in an hour. Also broke/unemployed so I see this as a slap to the balls in terms of my potential financial freedom.

    TLDR:

    Portfolio = Peanutbutter

    Blog = Chocolate

    Mixed them joints together on hostgator trying to fix a problem and ended up making a shit sandwich.

    submitted by /u/SpaceNSorcery
    [link] [comments]

    Seeking for PP partner

    Posted: 04 Oct 2021 11:28 AM PDT

    Hi folks!
    Currently I'm lookin' for someone to have regular pair coding with. Technologies I use: typescript, es6, react (with bundle of extensions like formik or api handlers), tailwind, sass & css bem.
    Tl;dr - I work with team of 10 devs on ecommerce shop being built in stack listed above and I decided to actually practice more on my own, so it'd more likely be able to fill my portfolio with other projects. Who do I expect, to work with?
    Obviolsly a person more experienced than I am, so questions can be asked. Feel free to send me friend || send dm.
    Kind regards, keep it real!

    submitted by /u/hyp3lxrd
    [link] [comments]

    How To Build An Expandable Accessible Gallery

    Posted: 04 Oct 2021 08:50 AM PDT

    How would i host a video online and be able to access it as an .mp4

    Posted: 04 Oct 2021 02:32 PM PDT

    I need a web platform that i can get a link like: https://site/hdhsjsj/jsjjs/bajd.mp4 and save the files there. This is for a media player i built but will only take mp4.

    submitted by /u/Destroyer_The_Great
    [link] [comments]

    Private sector Vs public sector

    Posted: 04 Oct 2021 10:09 AM PDT

    I'd welcome your opinions on web development in private sector Vs public sector

    My experience is that if you want the latest and greatest, you go private. Majority of public sector sites I've worked on are in some deprecated PHP version or using Classic ASP.

    In the private sector you tend to have source control, decent hardware and opportunities for learning.

    submitted by /u/thatsnotmetal
    [link] [comments]

    Company's project source code is huge

    Posted: 04 Oct 2021 03:08 AM PDT

    Junior Dev here. I started my first job a couple weeks ago (working for the biggest tech company in vietnam) and I just got to see the source code for the current project. It's an oil company in the US. The code must be millions of lines long. It's insane and I feel a bit overwhelmed.

    Theyre going to give me some dummy tasks tomorrow to get me used to the process. I believe it will just be some reactive forms. But I'm insanely nervous. I read a lot of code when studying and prepping for the job, but none this size.

    It's also Angular so there are so many god damn files. Has anyone else been through this before? Any suggestion? I'm working remotely right now due to covid but that will change in a month. This makes it a bit more difficult to ask for help too. Also the language barrier with my vietnamese colleagues doesn't help (though their English is fairly decent).

    submitted by /u/yourgirl696969
    [link] [comments]

    Just a reminder backup your repo if you can!

    Posted: 04 Oct 2021 12:47 PM PDT

    Look, I am a dum dum and I was tring to remove some data I added that shouldn't be in my github repo, so I was using git filter-branch

    I think you can understand what happened

    learn from my mistakes

    please clone your repo or something, please don't lose it!

    PS. don't worry, I recovered my files, turns out I hadn't pushed it through so I went to github and got all my files back!

    submitted by /u/vvinvardhan
    [link] [comments]

    Where does Flask fit in among frameworks like Angular, React, and Vue?

    Posted: 04 Oct 2021 12:31 PM PDT

    Flask can be used to develop webapps just like Angular, React, and Vue, so I'm wondering why it's never mentioned in any discussions where the latter 3 are compared to each other.

    submitted by /u/tonycrx
    [link] [comments]

    No comments:

    Post a Comment