Web Development

  • Want to develop a website for a niche - any flexible compiled language to sell my script to customers?
    by /u/benzflow on April 1, 2020 at 8:08 am

    I want to develop a website for a specific niche and then I want to sell it. Since I'm sure that the source code will be leaked after I sell it to some customers, I was thinking to a way to prevent this situation. My first idea is to use a compiled language and implement a licensing system. However, I only know django and laravel as web framework. Is there any framework written in a language that can be compiled and which supports as many features as possible like django and laravel? Is there any other viable solution? I read some posts online of people saying that to encourage customers to buy a legit copy you can provide them continuos updates. In my scenario, this won't work since the product will be "complete" from the first release. ​ Thanks for your suggestions 🙂 submitted by /u/benzflow [link] [comments]

  • Efficiency in multicultural and multilingual teams - 5min survey for my bachelors degree
    by /u/sveven on April 1, 2020 at 8:00 am

    Hey guys Im working on my bachelors thesis about cultural/lingual diversity within teams in IT. I would love if you could take some time to answer this quick survey. It takes 5mins max. Thank you!! Link to survey In this age more people are moving to work abroad, work remotely from their home, or are working as they travel. Flexibility for working hours, and working location is loosening up. In many companies this has led to a diverse workforce, with a spread of multiple cultures, with people from all over the world. With this in mind, we want to look into the efficiency of these teams. Link to survey submitted by /u/sveven [link] [comments]

  • How I Became a Better Programmer
    by /u/fagnerbrack on April 1, 2020 at 6:01 am

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

  • Responsive web shows diferently on browser console (768x1024px) and tablet (768x1024px)
    by /u/ShAlex0 on April 1, 2020 at 5:57 am

    So I was testing a website responsivenes in chrome console in tablet res. ... there was everything ok and then I tested the website on my tablet with same resolution and on the same browser. Some elements were moved to next row and they’re supposed to be in the same row. I tried some websites that test responsiveness but like on browser console everything looks fine there. Why is this happening? submitted by /u/ShAlex0 [link] [comments]

  • Trying to build a mock Url shortener.
    by /u/hitherto_insignia on April 1, 2020 at 5:33 am

    I'm using the base62 encoding on an UUID to generate a unique short url string. However, the uuid is 32 characters long ignoring the 4 dashes and encoding it with base 62 gives an unique-id that is like 16 characters long. Example: Hex UUID: 0x429f2b1e2ec14aea9184eb6daf32c436 Decimal: 88555497457239304571457079315560318006 base62 encoding: 4F16lpjpDMijuLhKyueI12 As shown above, the the result of base62 encoding results in too many characters that is not suitable for short url string. So, in order to get the result to around 7-8 characters, is it scalable if I consider just the 12 characters from the UUID and use them for base62 encoding? Example: Hex UUID : bbe78d9754bd482f959c478985922658 trimmedId : bbe78d9754bd Decimal: 206603187344573 base62 encoding: 7mjyprXG This result is short enough to be considered as short url string, but I'm concerned about its scalability. So, do you see any loopholes to this approach? I find that it limits the scalability factor. OR: I keep the hex 32 characters long and perform the division operation on the decimal equivalent of UUID with a highly scaled divisor as shown below: while(hex > 0) { let rem = hex % BigInt(62); b62 = b62 + b62CharArr[rem]; console.log(b62); hex = hex / BigInt(79360); // 62x1280 } return b62; Do you see any loopholes to this approach? submitted by /u/hitherto_insignia [link] [comments]

  • How do I build a custom reader for my amazon kindle books?
    by /u/mono1s2 on April 1, 2020 at 5:04 am

    I prefer not to read using the default web interface on desktop on Amazon kindle books and build my own. However, it looks they don't allow people to do that. Do you guys know if this is possible or how do I build my own reader interface for most online books? I don't want to run my own bookstore. Just build a convenient to use reading interface. submitted by /u/mono1s2 [link] [comments]

  • Need advice on how I would go about this in MongoDB
    by /u/al3x9a on April 1, 2020 at 4:44 am

    I have 3 collections (Users, List and Subscribed Classes)... Here are my collections in my database Users: (ID, Email, Salt, Hash) List(Id, List Name, Class associated w list item, UID which is grabbed from Users unique ID generated by mongoose) Subbed Classes (Classes, UID also grabbed from users collection unique ID) I am trying to do something similar to this : if the User which is tracked by UID subscribes to classes print list items with that class How do I go about getting the users subscribed classes and comparing that against the classes of the todo list... this is in mongodb submitted by /u/al3x9a [link] [comments]

  • I created a CSS library for displaying all 18 Pokemon types in the correct colors
    by /u/justingolden21 on April 1, 2020 at 4:21 am

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

  • So anyone know the real reason Netlify is moving us from *.netlify.com to *.netlify.app?
    by /u/LOL50015 on April 1, 2020 at 4:21 am

    https://community.netlify.com/t/changes-coming-to-netlify-site-urls/8918 I just received this in my email and it mentioned: Why the change? We're investing in the security and stability of our infrastructure, and this step is necessary on that journey. Frankly, this just sounds like hand-waving and I can't help but feel this isn't the whole story. submitted by /u/LOL50015 [link] [comments]

  • How an anti ad-blocker works: Reverse-engineering BlockAdBlock
    by /u/xy2i on April 1, 2020 at 3:54 am

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

  • Is it possible to load a script (with script src) if it doesn’t return a successful response
    by /u/sitdownson on April 1, 2020 at 3:42 am

    Hey all, I have a very odd use case I’m trying to understand. I want to load a script with script src or similar, but the endpoint returns 400 status code (but still application/javascript content type). It seems that browsers block any attempt to load this script if the status code isn’t a successful one (in 200s). Is there any way around this, or is this to be expected in all browsers? submitted by /u/sitdownson [link] [comments]

  • Skills expected of a new grad in a full stack position?
    by /u/WilyBanana on April 1, 2020 at 3:40 am

    I'm a senior graduating in a little over a month and my job search has not been going so well. I know impostor syndrome is pretty prevalent in software engineering, but I've been losing confidence that I even have the skills/knowledge necessary for the positions. So my question is, fresh out of college what should I know as a full stack developer? Currently, I think I have a pretty solid understanding of API development, I've developed a couple with Node.js/Express and I'm going to be developing one with Python for a final project. I'm decently confident in front end development with React. I've used Jest for unit testing. I have some experience with both MongoDB and SQL. What else should I know and where should my skill level be with everything? Edit: I don't necessarily mean specific technologies, but what areas should I have knowledge in and what should I be able to do? submitted by /u/WilyBanana [link] [comments]

  • HTTPS in local network
    by /u/leobel96 on April 1, 2020 at 2:28 am

    Hi to all. I have made a PWA (intended to run on a smartphone/tablet, call It A) and a NodeJS application (intended to run on a PC, call It B). They communicate LOCALLY using WebRTC and Socket.io. I use the function navigator.mediaDevices.getUserMedia() to get the screen from device B and stream it to device A. The problem is that this function require a HTTPS communication. I've tried to make some self-signed certificates with OpenSSL but they have been rejected by A (in particular by websocket) with error net::ERR_CERT_AUTHORITY_INVALID. I've tried to set rejectUnauthorized: false but nothing changes, so I think I need a certificate signed by a valid authority (e.g. Let's Encrypt). How can I obtain it if A connects to B using its local IP and all the communication happens locally? I've thought about using a dynamic DNS and hardcoding it to the local IP of B but it could be different for different users using my apps. I can't set a fixed local IP for B server because it could be already assigned in user's local network. submitted by /u/leobel96 [link] [comments]

  • Google Bookmarks Web Client
    by /u/adrianoviana87 on April 1, 2020 at 1:41 am

    So, I use Google Bookmarks a lot (not to confuse with Google Chrome Bookmarks). It's my main and only bookmark service. I use an extension for Google Chrome and Firefox that allows me to search and manage my bookmarks using the service. Now I'm using Epiphany browser that does not support extensions. Does anyone know a web client for Google Bookmarks that allows me to search bookmarks by title, description, tag, and manage the entries? The official web interface is way too poor. If no one knows, I'll have to build my own. submitted by /u/adrianoviana87 [link] [comments]

  • Logging into a user's account on another site and scraping information
    by /u/delaware on April 1, 2020 at 1:40 am

    I'm trying to build a web app that will let someone view their Tesla supercharging fees in a more useful way than what Tesla offers. The app would have to take the user's Tesla login credentials, log in to the Tesla site and scrape their charge history. And of course do this all securely and protect the user's information. Could anyone give me some tips on where to start? I'm familiar with API's and front end but I've never built an app of this complexity before. submitted by /u/delaware [link] [comments]

  • Checking conditions before calling a function in JavaScript
    by /u/furthacharm on April 1, 2020 at 1:08 am

    I am working with some JavaScript code that involves calling an AWS Lambda backend function. I don't want this function to be called when a certain variable, unauthorized, is true. The function is below. lambda.invoke(params, (err, data) => { if (err) { return buildErrorResponse(err, lambdaCallback); } else if (data.FunctionError) { return buildErrorResponse(JSON.parse(data.Payload).errorType, lambdaCallback); .... The problem is I don't understand exactly how lambda.invoke works. I think that the correct way to handle my use case would be to check unauthorized in the lambda.invoke function. But I'm not sure how to do that because I don't understand how to build an error response, what lambdaCallback is, etc. So I think instead as a workaround I want to do the check outside of the function. If unauthorized is true, don't call lambda at all. Is this workaround fine from a best practices perspective? submitted by /u/furthacharm [link] [comments]

  • How do you update your package.json inside a given directory to accurately reflect all of the libraries/dependencies that are in use?
    by /u/mementomoriok on March 31, 2020 at 9:21 pm

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

  • How to build a bad design system
    by Robin Rendle on March 31, 2020 at 9:09 pm

    I didn’t realize this until it was far too late, but one of the biggest mistakes that’s made on a design systems team is a common mismanagement issue: there are too many people in a meeting and they have too many dang opinions. Is there a conversation about the color of your buttons that’s taking place? Great! Everyone needs a consistent set of colors so that users know what to click and so that designers don’t have to choose from … Read article “How to build a bad design system” The post How to build a bad design system appeared first on CSS-Tricks.

  • Max Stoiber’s Strong Opinion About Margins
    by Chris Coyier on March 31, 2020 at 9:09 pm

    Going with that title instead of the classic developer clickbait version Max used. 😉 We should ban margin from our components. Don’t use margin?! This thing I’ve been doing my entire career and don’t have any particular problems with?! Well, that’s not exactly Max’s point. The point is that any particular component doesn’t necessarily know what context it is in, so it also doesn’t know what kind of spacing is necessary around it. His solution? Leave it to a … Read article “Max Stoiber’s Strong Opinion About Margins” The post Max Stoiber’s Strong Opinion About Margins appeared first on CSS-Tricks.

  • Apple acquires Dark Sky weather app, and it’s bad news for Android users
    by /u/diffcalculus on March 31, 2020 at 8:03 pm

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

  • Question on the colt steele courses
    by /u/pouyank on March 31, 2020 at 7:58 pm

    I've been wanting to learn more about web development for a while now. I'm not new to programming (have done internships and go to a good CS program) but I've never touched any web development at all. I'm looking at all of Colt's courses ( https://www.udemy.com/user/coltsteele/ ) I'm kind confused which ones I should pick considering there's a sale going on right now. Do you guys know how much overlap there is in the regular web dev bootcamp (the super popular one) compared with his Node, JS, SQL courses? Would I be better served putting in my money and buying everything while it's still on sale? submitted by /u/pouyank [link] [comments]

  • Father Ted lipsum
    by /u/fabrikated on March 31, 2020 at 7:15 pm

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

  • Anyone have problems scrapping a project halfway through because get bored of the design?
    by /u/ALifeInTechnicolor on March 31, 2020 at 7:05 pm

    As a software engine, I am not a designer by nature. When working on projects myself, I usually get designs/inspiration from Dribble that way I can just focus on the development since that's the purpose of the project. But lots of times, not even 1/4 of the way in, I get tired of the design - maybe it gets stale, or it doesn't look as good on screen. Maybe the Typography that I had to settle with (since the designs original typography isn't available for free) is a poor match so i scrap it and go looking for new design... Most notably I do this with my portfolio... I've had 3-4 different portfolios because of this problem. Am i alone? submitted by /u/ALifeInTechnicolor [link] [comments]

  • How realistic is it to be a designer and developer?
    by /u/IamZeebo on March 31, 2020 at 6:14 pm

    I lean developer right now but I'm wondering what it would be like in terms of workload, workflow, and overall bandwidth if I were to move towards the center where I am responsible for designing and developing apps. In my mind this would involve design tasks like wireframing, prototyping, color design, etc.. all the way to the live HTML/CSS/JS source code. Development is my # 1 for sure, but I've always thought web/app design is both interesting and loosely coupled with design anyways, so why not master in both? Does anyone here do both now and could you speak to how you like it? Is it realistic from a long-term point of view to study and pursue both professionally? Any anecdotes & opinions welcome! submitted by /u/IamZeebo [link] [comments]

  • 30 Web Development Checklists Every Team Should Keep Handy
    by Maria Antonietta Perna on March 31, 2020 at 5:00 pm

    Building a website or app and making it available for the world is a complex business. A number of factors must come together to ensure the final product is successful. That means attracting and keeping visitors, meeting business goals, and minimizing problems. You can deliver a better product with the help of web development checklists. As in everyday life, checklists can be a great organizational tool. They keep web development teams on track. They also ensure important tasks aren't overlooked in the rush to complete a project. We searched the web for the most useful web development checklists. They cover everything from front-end and performance to SEO and marketing. Launch (Pre-launch/Post-launch) #1 The Essential Pre-launch Checklist for Your Website A practical checklist that includes: design elements to look out for before launch functionality cross-browser testing SEO and content editing #2 Website Launch Checklist This is a nice checklist tool built by Glasgow developer Fraser Boag. This tools lets you: check items as you complete each task grey out an item if it's not applicable reset the checklist to get it ready for the next project. Changes will be saved using cookies, so you can easily use the checklist throughout the duration of your project. The checklist covers content, benchmarks and performance, compatibility, accessibility, analytics, and more. Items in the list include, among other things: content editing navigation usability links testing GDPR compliance HTML and CSS validity styles and scripts minification #3 The Essential Launch Checklist for Web Apps and Mobile Apps Ben Cheng presents "… a simple launch checklist for web and mobile apps … for product managers to quickly test performance of their apps." Not only does the author include important tasks to complete before launching, he also explains the why behind his choices. The list presents items belonging to the following areas: performance security broken links compatibility SEO/social nice to haves, such as a 404 page, print stylesheets, and more. Back-end (Database and Server) and Security #4 Database Testing Checklist For data persistence, you most likely need a database. The smooth running and integrity of the database are crucial to a fast and secure website or app. In this checklist, you'll find items relating to: database integrity stored procedures field validation constraints security transactions and more. #5 Back-end Best Practices These are stack-agnostic guidelines for best practices that encompass various back-end architectures. It’s comprehensive, including best practices on: data storage solutions security server environments application monitoring, and much more. Towards the end of the document, you’ll find a responsibility checklist to organize your team’s work. You'll also find a release checklist for the launch of your website or app. Front-end #6 A Front-end Deployment Checklist If you code landing pages, Fred Rocha's deployment checklist is what you need. It's succinct and to the point. It includes technical front-end items such as: checking performance validating the markup checking the console for JavaScript errors, and more. #7 The Front-end Checklist by David Dias It describes itself as "perfect for modern websites and meticulous developers". This is an online interactive tool that allows you to enter the project's URL and get a complete report on the following areas: head HTML webfonts CSS JavaScript images accessibility performance SEO The check is thorough and reveals which items in the various areas deserve high, medium or low priority. React App Deployment and Performance #8 Live Readiness Checklist of a React App This is a list of tasks you need to complete before your React app is ready for production. #9 Death by a Thousand Cuts: A Checklist for Eliminating Common React Performance Issues This is a six-item checklist with fun and clear explanations of how to go about implementing each of the tasks on the list for a blazing fast React app. Cross-browser Testing #10 Cross-browser Testing Checklist Before Going Live Deeksha Agarwal offers a top-notch checklist to ensure your website or app works and looks as intended in all browsers and platforms on your local dev environment before the launch. Among the items you'll find in this list are: element alignment, and other HTML and CSS cross-browser issues font rendering API connections, and much more. #11 Cross-browser Testing Checklist Rajkumar offers this handy checklist where he mentions all the items you need to test on multiple operating systems and browsers. Accessibility #12 Checklist of Checkpoints for Web Content Accessibility Guidelines 1.0 This W3C checklist includes all the items you need to consider so that more people can access and use your site. The items are grouped according to a priority number from one to three. It covers: providing text for non-text elements organizing documents so they can be read without stylesheets color contrast appropriate structure and elements for HTML documents expanding acronyms and abbreviations the first time they appear logical tab navigation, and more. #13 WebAIM's WCAG 2 Checklist This checklist presents WebAIM’s (Web Accessibility in Mind) accessibility recommendations for those seeking WCAG conformance. #14 The A11Y Project Checklist This A11Y Project checklist organizes items under the following headings: content global code keyboard images headings lists controls tables forms media appearance animation color contrast mobile/touch. #15 The Definitive Website Accessibility Checklist This checklist is presented in a great, user-friendly table where items are grouped on the basis of their accessibility priority level in accordance with WCAG 2.0 guidelines: Level A makes your website or app accessible to some users Level AA makes it available to almost all users Level AAA makes it available to all users. The post 30 Web Development Checklists Every Team Should Keep Handy appeared first on SitePoint.