• Breaking News

    Thursday, July 9, 2020

    Why do interviewers ask these stupid questions?? web developers

    Why do interviewers ask these stupid questions?? web developers


    Why do interviewers ask these stupid questions??

    Posted: 09 Jul 2020 12:22 AM PDT

    I have given 40+ interviews in last 5 years. Most of the interviewers ask the same question:

    How much do you rate yourself in HTML/CSS/Javascript/Angular/React/etc out of 10?

    How am I supposed to answer this without coming out as someone who doesn't believe in himself or someone who is overconfident??

    Like In one interview I said I would rate myself in JavaScript 9 out 10, the interviewer started laughing. He said are you sure you know javascript so well??

    In another interview I said I would rate myself in HTML and CSS 6 out of 10. The interviewer didn't ask me any question about HTML or CSS. Later she rejected me because my HTML and CSS was not proficient.

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

    Building Open Source Web Analytics Platform with Cube.js

    Posted: 09 Jul 2020 08:21 AM PDT

    (Frontend) Introducing Storybook Args - Document UI components with dynamic data

    Posted: 09 Jul 2020 07:35 AM PDT

    Too afraid to ask at this point

    Posted: 09 Jul 2020 08:44 AM PDT

    Do web developers, especially front end, actually memorize every command? I know for a Carousel in bootstrap you can find the code online, but afterwards do you learn it or just look it up again? Same with other components. I started learning angular and some parts just make sense in order to build and others I have no idea. Thank you!

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

    Art Therapist to Web-Design or Web-Development?

    Posted: 09 Jul 2020 02:29 PM PDT

    (Post from my girlfriend-Her post keeps getting deleted)

    Hi im Stephanie,

    I currently work as a Clinical Therapist, with a background in Fine Arts. Im looking to enter the world of Web Design/ Web Development. I was able to replicate the Uber Eats site with HTML and CSS. I really enjoyed it!

    Im not sure if I should focus on Web Design or Web Development. Im a bit scared of learning to code. I just want to design and create stuff but also make a good living.

    Can anyone give me some guidance. Sorry if my post was incoherent or lacks information.

    Thank you,

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

    Where can I host a domain that infringes a trademark?

    Posted: 09 Jul 2020 02:28 PM PDT

    So I have a client who's holding their domains with hostinger.com and because they own domain's that have the world 'facebook' within them, hostinger has closed their account and will not activate their account until the domains are moved.

    My question, I'm hoping you guys know where I can move these domains? There's got to be some less regulated country where the porn sites/crypto site domains are contained?

    Thank you guys :)

    submitted by /u/Buddha-Finger
    [link] [comments]

    Why not use WYSIWYG(drag and drop) editors?

    Posted: 09 Jul 2020 11:13 AM PDT

    I'm currently studying how to make a website and while doing so, my brother asked me why not just use any of those WYSIWYG (wix and such) editors, saying that I'm just wasting my time because most people can make a website on their own.

    I am new to this, so I didn't really have an answer and am kind of doubting myself. I do think that being able to do make a website could be a profitable skill, his question just made me unsure.

    I hope I'm not violating the first rule.

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

    Stripe Integration For Angular Front-end Questions

    Posted: 09 Jul 2020 01:44 PM PDT

    Hi,

    I am working on a web app using NodeJS backend, angular client and Postgresql DB. I am trying to integrate stripe into the site as a means of taking a deposit. All the documentation seems to suggest that I need to pass all the data to my server to then handle the payment, but is there a way I can handle the payment processing directly from the Client?

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

    Starting a developer blog. What approach?

    Posted: 09 Jul 2020 11:51 AM PDT

    Want to start a software developer blog. Would approach would you recommend? Should I build it from scratch to show off my developer skills? Is it ok to use Square Space or Wordpress? Should I just post on Dev.io?

    I'd like to use it for my own knowledge, help others and to impress potential employers.

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

    How to cache properly

    Posted: 09 Jul 2020 12:43 PM PDT

    I'm interesting in using caching schemes for a project I'm working on. I currently have a scheme where a user requests data and that data is saved client side. When a user POSTS new information. I check for if that POST request status code was a success. If it was I don't make a GET request for that same data. I just add that POSTed item to the data list. Is this what caching is? And is that a good method? I slightly understand how things like redis works. But that's a server side service. I'm not sure how caching works client side vs server side? Any insight on these questions would be a lot of help!

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

    Perf Track - A dashboard that shows how well sites that use frameworks (Angular, Vue, React, etc...) are actually performing

    Posted: 09 Jul 2020 08:44 AM PDT

    What should I look for in a developer if I want to hire one for a Q&A website/App

    Posted: 09 Jul 2020 08:39 AM PDT

    Thinking about building a Q&A website/App (leaning more towards an app) and I've seen many developers with a wide variety of backgrounds and expertise and since I don't know anything about web dev, thought I'd ask the sub for their opinion. What should I look for in a developer for something like this, and does anyone know how long something like that would generally take? Thanks!

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

    How can I bundle/minify scripts used on the server side?

    Posted: 09 Jul 2020 09:24 AM PDT

    I'm sorry if this is a weird question, I'm very new to this. But here's the problem,

    I'm writing minesweeper for the web and I use a lot of scripts to run the game, but I'm using express to route pages for login, register, tutorial etc.

    When the route "/game" receives a get request, I send the appropriate script which I put in "src/public/js/index.js" in readable format. CSS and images are also not bundled.

    I've heard about webpack to bundle everything, manage imports etc. But how would I do this on the server side? I mean, to send the minified version of the script?

    I don't even know how to structure my folders. I didn't find any tutorials for that so I'm asking here. Thanks in advance.

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

    The Internet Was Broken on May 30 And The SSL Certificates Broke It

    Posted: 09 Jul 2020 09:50 AM PDT

    In case you didn't notice, the Internet was broken on the 30th of May. The culprit:

    SSL certificates.

    First of all, why do we need SSL certificates?

    Technically speaking, they should be called TLS certificates because they bear a public key which is used in Transport Layer Security (TLS) protocol to authenticate the server.

    But this is not a technical article, so we will stick to the concepts everyone can understand.

    When you go to your favourite online shopping site, you want to be assured that the site is genuine (no one is trying to lure you on a fake copy of Amazon) and everything you send or receive (like your personal data and shopping choices) is secure.

    So, how do the browsers know that the site is trustworthy and display that padlock near the address bar? The SSL certificate tells them so.

    So, basically SSL certificate is a guy who tells you: "This site is ok".

    But why would you trust this guy you do not know? Let's call this guy Sam. You do not trust Sam, but Mike trusts Sam, and Dennis trusts Mike. You trust Dennis; he is a friend of yours! This way you have a chain of trust, just like SSL certificates do.

    Normally, people have a close circle of friends they trust. So do the browsers. They have a list of root certificates they trust without any reservations, and they would trust any certificate issued (signed) by a chain that leads to one of the trusted root certificates.

    Some browsers (like Firefox) have their own trust store, other browsers rely on the trust store of the operating system they run on.

    Now, imagine the following situation:

    There is a guy called Peter who is trusted by Tom, who is trusted by Vito. Everyone trusts Vito because Vito is the head of a well-known and respected Family. Then Vito decides to retire and announces that his son Michael will replace him as the head of the family, and whoever respects Vito must now respect Michael. Tom pays his respect to Michael, and everything is good. But one day Vito dies…

    Suddenly, it appears that a group of people respected Michael only because they respected Vito when he was alive and do not recognise Michael as the head of the respected family.

    Things won't end well for these people… So do the browsers or operating systems which do not regularly update their trust stores. Back to Michael's family drama…

    The idea of Michael and Vito ruling the Family business together for some period of time sounds like a very good idea. For Michael, as the new official Head of the Family, it is a good opportunity to get some experience from his father, be introduced to different people etc., for Vito, as a retiring boss, it means that transition of power will be smooth, and the Family business will be in the good hands.

    The same happens in the world of SSL certificates. Sometimes the new root certificates are signed by the older root certificates of the same Certificate Authorities. This is called cross-signing.

    The older root certificates are more widely spread on various platforms and more likely to be trusted. The newer root certificates can take this advantage and be trusted by the systems, even while not being recognised as a root certificate on its own, just by the fact that they are cross-signed by the older (and trusted) root certificate.

    However, the older root certificates have one critical defect – they expire sooner, and when it happens, the new root certificate is expected to have been disseminated well enough to be respected by the majority of the platforms.

    Unfortunately, this is not as simple as it seems to be…

    Imagine the following situation:

    Knock, knock.

    Who's there?

    It's Peter

    What Peter?

    Tom sent me

    Who is Tom?

    He works for Michael, son of Vito

    Come in...

    Technically, this dialog is quite inefficient. Certainly, there is a room for improvement in this communication. Consider this:

    Knock, knock.

    Who's there?

    It's Peter. Tom sent me.

    He works for Michael, son of Vito

    Come in...

    Now THAT is a much more efficient communication.

    In the world of TLS/SSL security, this means a quicker turnaround for the initial SSL handshake. For this reason, the server sends not just one, but several SSL certificates which allow to validate the whole chain of trust up to the trusted root certificate without a need to download any intermediary certificates from Certificate Authorities.

    Unfortunately, the following situation may occur:

    Knock, knock.

    Who's there?

    It's Peter. Tom sent me.

    He works for Michael, son of Vito.

    But Vito is dead.

    Michael is now the boss.

    I know, but… Vito is dead.

    A mention of Vito obviously caused some sort of confusion here. It should not matter anymore that Vito was the Head of the Family. Now Michael is the Head and everyone should recognize this fact for their own good. However, a mention of Vito creates two chains of trust, one leading to Michael and another one leading to Vito.

    Now it is possible to explain what happened on 30 May when many system administrators around the world woke up early in the morning and discovered an avalanche of alerts from the monitoring systems and the angry customers:

    "Your SSL certificate has expired! We can no longer access your API!!!11111"

    To their relief and astonishment they realized that their site certificates are absolutely fine, and their websites are working in all major browsers without any issues. What would cause such a problem?

    On May 30, one of COMODO (now Sectigo) root certificates expired after 20 years of a happy life.

    This should not have caused any issues, because the replacement root certificate was issued in 2010 and by the end of 2015 it has been disseminated across all major operating systems, browsers and programming frameworks and runtime environments.

    At the same time, the new root certificate was cross-signed by the old one.

    So, why after all these precautions and good planning, expiration of the root certificate causes such a big problem?

    Here are a couple of reasons why:

    1. The trust store (Certificate Authorities Bundle) is not up to date

    In 2020, if you use Internet Explorer 7 on Windows XP or run an application written in Java on an outdated version of Java Virtual Machine (JVM), it's highly likely you will not have the most up-to-date list of the trusted root certificates.

    In case of Java, for instance, the new Sectigo root certificate was included in Java 8 Update 51 release on July 14, 2015. The older versions of Java won't have it.

    2. The software does not support cross-signed SSL certificates

    Application software developers do not have to worry about all the SSL magic. All they have to do in their apps is just call a URL which starts with 'https://'. It is then the responsibility of the operating system components, application programming framework or external libraries to handle all TLS/SSL cryptography. Usually, the programmers have very little control.

    One of the most notable TLS implementation libraries is OpenSSL. It is widely used by Internet servers, especially Linux based. Some estimate that about 2/3 of the web relies on OpenSSL.

    Cross-signed certificates support was introduced to OpenSSL in version 1.0.2 released in January 2015. However, this support was optional, which means the software developers had to explicitly enable it in their application, but the majority of software developers did not even know about the cross-signing issue, and nobody did it.

    September 2018 version 1.1.1 of OpenSSL was released where cross-signed certificates support was enabled out of the box. This means that the systems with OpenSSL version earlier than 1.1.1 must be upgraded.

    About 67% of all web servers in the world run on Linux operating systems which have one little problem - package managers.

    Package managers are the cancer of software industry, or a drug, that initially seems like fun, but in the end… it kills.

    This is a topic for a separate article, but the bottom line is:

    You cannot simply update a single package (OpenSSL library) to a new major version, because the dependencies of the newer version may not be compatible with dependencies currently installed, and the other installed packages (e.g. web servers) which depend on OpenSSL may not be compatible with the newer version of it.

    In the end, instead of upgrading just a single package, you may end up with upgrading the whole operating system.

    Imagine the situation:

    You have a flat tire on your new car. You come to a service station and ask them to repair the puncture, but they say they cannot do that because your tire is too old to be repaired and has reached the end of life.

    You say it is okay and ask them to sell a new tire, but they say that no new tires are compatible with your car and the only available option you have is buying a new car; even though your car is just 2 years old.

    This is essentially what happens in the software industry.

    For instance, CentOS 7 is a very popular operating system for web servers. And as of June 2020, it is in the active support stage with the end of life set to be in 2024.

    However, the package manager of CentOS 7 will only let you work with 1.0 branch of OpenSSL which reached the end of life at the end of 2019. It makes this relatively modern operating system obsolete if you want to work with modern TLS cryptography.

    Soon after Sectigo's root certificate had expired, a holy war has begun between software developers and system administrators.

    The developers demanded the expired certificate to be removed from the SSL bundle the web servers were sending. The system administrators insisted that the developers should update their own technology stack because only completely outdated systems could not properly deal the cross-signed root certificates where one of them had expired ("I trust Michael, but Michael is a son of Vito and Vito is dead" situation).

    The industry (and the common sense) were on the system administrators' side. All SSL certificate providers who use Sectigo's certificates and Sectigo themselves issued statements weeks before the expiration date that no action was required, that cross-signing should do its job, that 10 years is more than enough to update the root CA bundles, that amongst several available chains of trust the software should pick the one that is valid, etc.

    Nevertheless, some part of the software industry was not prepared for this trivial event.

    Source: This website.

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

    Visual Studio Code June 2020 update (version 1.47)

    Posted: 09 Jul 2020 12:57 PM PDT

    Advice for communicating changes to a site layout to users?

    Posted: 09 Jul 2020 08:57 AM PDT

    So at my work I'm currently redesigning a page, the layout is pretty much getting a complete overhaul. The old layout had a bunch of information and links but it was super cluttered. The new layout is a lot cleaner and more organized but I'm worried people might not be able to find information initially since they've gotten used to the old one.

    I have to communicate these changes as plainly as possible. Does anyone have a template or suggestion on how I can do this?

    I apologize for being vague but it's the best way I can describe it.

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

    Figuring out the tech stack

    Posted: 09 Jul 2020 07:22 AM PDT

    Hey guys, I am planning to build a video hosting website where users can log in and watch and download videos.
    I was thinking of using React for the front-end but I don't know what back-end architecture should I use or should I make a server-less website with AWS lambda functions?
    I was looking into AWS Amplify to start off. I wanted to know what would be the best tech stack for my project?

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

    [Discussion] Are Apps Like Mobirise and NicePage Worth It?

    Posted: 09 Jul 2020 04:06 PM PDT

    I have a buddy who wants me to build a website for his company. He found out I was building an employment app for my school project.

    Webdev is not what I am going for but I could use the money he is offering and I am not sure I have the full skills to use Brackets to make a great site. Any help or suggestions would be nice

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

    Web Server / Apache Issue - A few frames load and then it freezes, some images load others don't

    Posted: 09 Jul 2020 03:55 PM PDT

    I'm having trouble with a web server apache/ngnix. First packet delivered then cutout. Getting a 206 partial content fallowed by a 404 error and then a ERR_CONNECTION_RESET. What do you guys think this is.

    I have the standard apache conf file. There seems to be a size issue as the larger files are the only ones effected. Here is a example of what I mean http://96.126.123.74/index.html I created a page with just the video, It loads a couple frames then freezes. I'm running it on linode but have also run it on aws and I get the same issue on both servers.

    Any help appreciated

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

    Is Firebase hard to understand/learn?

    Posted: 09 Jul 2020 08:07 AM PDT

    Hi there!

    I am on a web/app job, doing front end, and right now i have a work, that needs to send information between the client and the admin accounts.

    So for that,i will have to learn and then implement that aplication.

    For the people that know firebase, is it hard to leanr or understand? For doing simple things, like passing one image from admin to user, is it easy to implement?

    I have 0 experience with firebase

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

    Is there a software to help me find all relevent code related to a project element

    Posted: 09 Jul 2020 03:32 PM PDT

    Let me preface this with something that i think is fairly clear. I'm not a developer. Im just someone who is trying to build a site or do as much as i can to reduce dev costs.

    I started building my site on webflow but found some features and the CMS hosting to be limited. So i started searching and found a company that sells a few types of software two of which have elements i need and the company sells it unencrypted and customizable they confirmed i can buy both and customize it however i want including adding features from other packages they sell

    I was looking for something that'll locate all related code within a project so i can copy and paste it from the other software i buy to the one that most fits my needs

    I has a decent grasp of HTML and CSS but JS, PHP, etc i don't understand well enough to trust myself to find all related code within the software to copy and paste it to the package that has the most features i need and maintain functionality.

    I looked into sourcetrail but was wondering if there's any other better option that's easier to use.

    Thanks

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

    Multilingual sites

    Posted: 09 Jul 2020 08:01 AM PDT

    Hi guys, I'm working on a website which needs to be in two languages. I've been using a wordpress plugin which has been ok but recently ran into a few issues. Now I'm wondering if it would be better to do it myself. Does anyone have any recommendations about how I could write the pages separately in wordpress but then serve them dynamically based on whether a user has clicked on one flag button or the other? Thanks for your help!

    submitted by /u/crispy-d
    [link] [comments]

    First 2 and 3 Tiered Web App; Where Do I Start?

    Posted: 09 Jul 2020 07:54 AM PDT

    I'm wanting to create a simple web app to which when I input a query, it spits out the data in the database. For example if I select via UI "The Mercedes F1 team" it outputs "Lewis Hamilton & Valtteri Bottas" and perhaps additional information that is stored in the db (maybe MySQL)...doesn't have to be a full on CRUD app.

    The rub is, I'm having a little trouble finding information on how to get started with this. Can anyone point me in the right direction to resources that aren't super dated with dead hyperlinks? (I'm thinking a Python, Flask, MySQL setup but it doesn't have to be that. Open to learning by smaller steps if necessary).

    submitted by /u/Q-Motorcycle
    [link] [comments]

    How should forms submission process be handled 2020+?

    Posted: 09 Jul 2020 07:52 AM PDT

    I'm talking generally the whole process of submitting information with form or input tags, to back end and back. Is there any accepted standards (or books) for how the process should be done? I personally do not like how the form tag redirects to a new web page. I prefer to allow forms not to redirect after submit, stay on the same page and let the form dynamically respond. How ever this method feels like I am going against the grain, and would rather have things done the way there suppose too.

    Most of the information online is on the basics. I cannot find much talking about the entire process.

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

    No comments:

    Post a Comment