• Breaking News

    Tuesday, May 4, 2021

    Why cookie warnings are so huge?! web developers

    Why cookie warnings are so huge?! web developers


    Why cookie warnings are so huge?!

    Posted: 04 May 2021 04:14 AM PDT

    In Europe, cookie warnings are legaly required and I understand that. But why are the banners about cookie usage so huge. I have visited some sites, where a huge pop-up asks you to acept them before you view the site. Is there a problem with "By continuing browsing this site you accept cookies"? And why can't that text be in the footer of the website?

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

    How we use Web Components at GitHub

    Posted: 04 May 2021 10:33 AM PDT

    How the before and after CSS pseudo-elements work

    Posted: 04 May 2021 03:14 AM PDT

    What type of coding questions to expect for a junior in an interview?

    Posted: 04 May 2021 12:55 PM PDT

    I have a live coding exam taking place next week with two engineering managers and I've been told I can expect to be asked questions like checking if a string is a pallindrome and if an array contains duplicates. What other kind of questions can I expect and how should I best prepare for all the possibilities that could come up?

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

    Tech keeps trying to ‘fix’ recipe sites. Food bloggers wish they’d stop.

    Posted: 04 May 2021 05:42 AM PDT

    Firebase Dynamiclinks for a URL Shortener?

    Posted: 04 May 2021 12:17 PM PDT

    I've been using FireBase's DynamicLinks feature to shorten a few of my links. I've been thinking about creating a URL shortening website to do this, as so many others have done before, but I'm wondering if this would be OK with FireBase. Is this meant as more of an internal shortening feature for use within an app or website? What if I took some basic steps to prevent abuse, such as checking the full URL with a service like virustotal before letting users shorten theirs?

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

    Is it possible to use custom domain with free netlify plan?

    Posted: 04 May 2021 09:26 AM PDT

    Hi, the title says it all: is it possible to use custom domain with free netlify plan?

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

    how do i implement a newsletter to my website?

    Posted: 04 May 2021 02:16 PM PDT

    i have a subscribe to newsletter in my website and i want to make it work, where the user will enter their email address and will receive emails from me. i haven't done something like this before so i'm a bit confused on what to use to implement it. what do you guys suggest? (please don't downvote me)

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

    TDD (Test-Driven Development) - My personal journey

    Posted: 04 May 2021 02:06 PM PDT

    a usability case - infinite scrollbar lazy loading - dev.to

    Posted: 04 May 2021 03:36 PM PDT

    Just something i thought i share here

    Hours ago i was browsing dev.to on pc and wanted to click on a page link on the footer where btw is the only section that contains the navigation links on desktop version (there's humburger menu on mobile), the problem is that it just keeps loading the posts infinitely soon as i scroll down the page and posts get loaded by the time im about to click the link on the bottom of the page, it was entertaining for a few minutes as it went like playing a catch me if you can sort of game and then when the fun was gone i figured disable wifi to stop the lazy loading and be able to navigate through the links. not every users would be this determined to get what they are after, for 90% of the users on desktop they probably would never get to see the footer with all the links and information there. use features responsibly, please 🙌

    submitted by /u/Code-Monster
    [link] [comments]

    Plyr video player with Hls as a react component.

    Posted: 04 May 2021 09:24 AM PDT

    Hi,

    I am having a really hard time to make this codepen into a react component.

    My hls video simply never get to display, I don't understand why. The plyr control don't even show up, only Hls.

    Here my code:

    import React from 'react'; import Plyr from 'plyr'; import Hls from 'hls.js'; import 'plyr/dist/plyr.css'; class PlyrComponent extends React.Component { componentDidMount() { var video = document.querySelector('#player'); if (Hls.isSupported()) { var hls = new Hls(); Hls.loadSource('https://live.api.video/liqjASz1KXHCgp2gh8InxtB.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST\_PARSED, function () { video.play(); }); } Plyr.setup(video); } render() { return <video preload="none" id="player" autoPlay controls crossOrigin />; } } export default PlyrComponent; 

    Any body can give me a hand? Thanks

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

    Observable Plot - library for quick visualization of tabular data

    Posted: 04 May 2021 02:53 PM PDT

    Has anyone done a Bootcamp from Trilogy Education Services? If so, what was your experience?

    Posted: 04 May 2021 02:44 PM PDT

    Thank you in advance!

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

    Web development - Smooth transition or clean cut?

    Posted: 04 May 2021 02:41 PM PDT

    Hi everyone,

    I am in a kind of "luxury situation" and would appreciate different opinions on my situation in order to make a sound decision.

    I worked as a sneior it project manager at a big e-commerce company and right now I am doing a full-time web developer coding bootcamp, which is ending in around 5 weeks. I am having an offer from my old company to start again as a senior it project manager. My ultimate long-term goal would be to work remotely as ruby/JS backend developer.

    Should I take the job and transition slowly (doing code wars and own projects on the side), advancing my skills only in my freetime and search a new job on the side or do a clean cut and search a jr dev. position (probably earning 40% less money for the next years) and having more time to focus on advancing my skills as my day-to-day job?

    Thanks for your support girls and guys :)

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

    To Host or Not to Host? Freelance devs, do you host your clients' sites? Is it beneficial? Not recommended? How do you bill for it?

    Posted: 04 May 2021 02:28 PM PDT

    Buttoning up my first freelance project in about a decade and close to deployment. The clients current site is WordPress on a WP specific hosting plan. The site I built is React/Node using a headless CMS and I'm planning to deploy with Docker (not 100% on docker but have been learning it). (Also switching from WP was agreed upon before work started). As such the hosting plan will need to be changed anyways, the current host is so far being helpful with questions and apparently it will be a smooth change to create a new shared hosting account, keep the current site online until the new site is deployed etc.

    I plan to get my own VPS (have yet to even start looking at options) as I have a handful of personal projects on all sorts of platforms I'd like to consolidate and, having the server for trying new things on. So I'm wondering If there's any reason to host their site on my own server or is it an extra headache that opens the door for time consuming work I don't really need? Do you account for costs in upfront pricing or charge monthly etc?

    I have yet to propose anything to the clients as far as this is concerned so there is a likelihood they just want to stick with their current host, but I want to examine all options.

    I don't plan on doing much more, if any freelancing work, but it's not outside the realm of possibility.

    The idea of essentially being an on-call webmaster is a huge turn off, but maybe there's a financially beneficial way to handle this and not end up handling strange requests all the time? Though the client is pretty hands off with the current situation from what I can tell.

    Really just looking for general opinions, experiences, best practices, etc.

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

    It's mid-2021 almost, I've been using codeigniter since 1.x. I tried laravel before but which one is better today?

    Posted: 04 May 2021 10:18 AM PDT

    I don't need to learn a new framework but I could if I wanted to put time into it. Personally, I just want to keep using things that are modernized, secure, fast, and has good support (especially with database types like graph, relational, etc...).

    I never use public code, not even jquery (anymore) so I don't need to worry about dependencies. However, since it's almost mid-2021 I figure it's a good time to take a moment to reflect what's going on and make sure I'm still on a good path. People who work in the industry for so long tend to forget that they have to look around and adapt to new things. This is basically what I want to do, making sure codeigniter is still worthwhile to use or if there's an alternative that works much better than it.

    I've been googling it and people seem to copy and paste the same non-answer from site to site so I'm hoping someone here could have insight. :)

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

    Implementing GDPR compliant cookies

    Posted: 04 May 2021 01:58 PM PDT

    I'm working on a web application that is basically a location based "anonymous" social media.

    By anonymous, I just mean usernames are generated by the server on account creation and first/last names aren't required for account creation, only an email address & password.

    Currently, I'm keeping track of user authentication and location across visits to the website, thought location is updated each time they visit if they allow location access.

    I understand you have to gain consent to have the users authentication persist across visits to a site, but since location is crucial to the functionality of my application, do I have to ask a user for consent to have that persist? If so, since you can't block a user from using the site if they deny cookies, would I just display a message like "this application requires your location to function, in order to view/edit/create posts, please enable location cookies" or something similar?

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

    In-depth exploration of JavaScript iteration protocols

    Posted: 04 May 2021 06:27 AM PDT

    Host clients websites, how is your contract set out so you dont get sued if a client is hacked?

    Posted: 04 May 2021 10:03 AM PDT

    So I'm wondering how you guys host websites and make it so you're not liable for any damage done if a client website was to get hacked? (Ofcourse I created backups and install security software etc.) I host a few wordpress websites, some signed up through my website and pay a monthly fee which means they also signed a contract in which I lease the websites to them. I technically own the websites and simply rent them to the clients. Is this way advisable?

    Now I also have other websites which I host which have come in from word of mouth etc and have not signed a contract. I'm not sure what to do with them? shall I tell them they have to pay via the website from now on and sign the contact?

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

    Is Gatsby overkill for a simple site?

    Posted: 04 May 2021 01:39 PM PDT

    So I'm building a MVP which is deployed at app.example.com and the static site is at example.com.

    I'm using NextJS, Chakra UI and Nhost for the app but need to decide how the website will be done. I've been looking at Gatsby but it seems crazy overkill for a basic site with a few pages and buttons (ultimately directing the user to the app.example.com).

    Does anybody have any recommendations? I've spun up a basic Gatsby template but it seems pointless for something like this. It won't need to hit any GraphQL endpoints or grab any data really, other than what's needed as per SEO (naturally this will be important).

    I'm just a bit overwhelmed as I'm doing everything myself. Any recommendations or advice would be most welcome. I guess to keep it in theme with the app Chakra would be needed, but right now I just want a decent template up and running to show people.

    Thanks all!

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

    Looking for an emailing service that sends to multiple email addresses

    Posted: 04 May 2021 09:38 AM PDT

    Currently looking at Formspree and FormSubmit but it seems that I can only send an email to only one person at a time.

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

    How to know which UI kit some site is using?

    Posted: 04 May 2021 01:17 PM PDT

    Is there any tool or some way to tell which UI kit/Theme some site is using because I can't find anything for now.

    Recently I was visiting an Ecom site and felt they are definitely using some UI kit but can not name it. The looks are somewhat familiar but I think it's not Material, Semantic or Bootstrap, etc. so I was wondering is there any tool/extension which can analyze a site and tell what they are using. like we have chrome extensions which can tell whether some site is using react, angular, etc.

    Thanks for reading.

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

    Web developer's guide to AVIF images

    Posted: 04 May 2021 05:31 AM PDT

    No comments:

    Post a Comment