• Breaking News

    Friday, June 26, 2020

    SQL joins web developers

    SQL joins web developers


    SQL joins

    Posted: 26 Jun 2020 03:50 AM PDT

    [Showoff Saturday] I made a highly customizable Audio Visualizer!

    Posted: 26 Jun 2020 02:05 PM PDT

    Awwwards is more like the fashion shows. You aren't supposed to take everything at face value, you just need to be inspired by the websites.

    Posted: 26 Jun 2020 10:03 AM PDT

    It clicked when I was watching Zoolander today.

    Sure most of the awwwards award-winning websites does not look even remotely functional. Like every time I see them I ask myself what am I looking at?

    That is the thing with fashion shows. The dresses are not supposed to perfectly functional. For the layman designers watching these shows inspires them. They don't take the dress as a whole concept, they take ideas from the design of the dress to develop their own concept and mass production apparels.

    Inspect the elements, reverse engineer the small things of the website that you find fitting your idea of visually or functionally pleasing.

    Investigate how they were able to deliver HQ pictures efficiently, understand the subtleties, how the layout or the color scheme compliments the content, how the mobile version looks etc.

    Just take a step back and don't try to be negatively critical.

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

    [Showoff Saturday] I Created a Data Analysis Webapp for StarCraft II

    Posted: 26 Jun 2020 02:57 PM PDT

    What i have learned being in the web development industry for close to a decade

    Posted: 25 Jun 2020 11:19 PM PDT

    I came out of university into my first job with very average marks and basically plunged right into the deep end as a developer. Nearly 10 years on and in the same job, nearly everything i know was either 'self-taught', 'learn through mistakes' and occasionally via asking on stackoverflow.

    I knew next to nothing about IIS, web servers, file permissions, how to install web apps (they only teach you to code as part of a Comp Sci degree), and all the 'other' areas of web development that people take for granted. Now after many, many long and painful hours of investigating bugs arising from these things, i now think i have a firm grasp.

    That being said, i think with all this experience behind me, the most important design consideration a newbie should bear in mind is the minimization of "points of failure". The less "point of failure" in your code, the more robust it is.

    I would define a "possible point of failure" as a spot in a code which relies on another piece of code executing. Or is 'risky' because it relies on an internet connection. Usually a call to another function over the network on a server.

    To give a specific example, an early project i worked on had functions which included ajax calls to many different PHP scripts on a server. Each one of those ajax calls represented a potential "point of failure". If i wanted to introduce error handling for various server errors, i would need to copy and paste the handle code everywhere an ajax call was present.

    Now, (and im sure many people might find cons with this approach) in newer projects, i have learned that it is better to have one global "ajax" wrapper function which takes care of ALL calls to server code. It is super generic so i can pass custom functions to error or success handling if i so please but if i dont (and this is the important part), i can fall back on a default function in case something goes wrong.

    The good thing about this is, if i ever delude myself into thinking that "this function call surely wont fail" but it does, then i have a fail safe mechanism to better find out what happened.

    Too many times did i have to spend hours trying to debug server calls because there was no ajax error handling. I'd have to remote into customer's pcs and try and replicate the issues with the browser debugger open to see what the errors were. When it could have been dealt with much easily if they sent through a screenshot of an error that i implemented in a default error handler.

    To sum up, i would say that we as programmers might feel that we can write a piece of code and assume it will always work.. After all, a simple ajax call to populate a drop down surely cant fail right? Wrong. If you write code with the expectation that some user will find a way to break it, or their internet connection will fail, then the best way to manage this is to error handle as much as possible. And minimising "points of failure" means less error handling to have to write.

    Anyway, i might be right, i might be wrong. I have had little instruction from more exprienced individuals since leaving uni. So i recognise i could be completely bonkers. But i do know since changing my approach, my code has run better, i have been able to diagnose bugs quicker and i am more confident in it than ever before.

    thanks for reading. Have a nice day

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

    Thoughts on Smooth Scrolling

    Posted: 26 Jun 2020 12:47 PM PDT

    I was wondering what your opinion on smooth scrolling (not scroll hijacking) is? I'm building a website and I currently use smooth scrolling for two buttons on the page. However, I was wondering if this is something I should also include in the links in the navbar. I think it looks smooth and clean but I also understand how it could get annoying. Along with the fact that I haven't seen it on the general web very much, I'm wondering what your opinions are.

    Thanks!

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

    Self learning Web Developer, needs some pointers.

    Posted: 26 Jun 2020 02:36 PM PDT

    I've been on and off of learning to HTML/CSS/JavaScript for Web Dev for a while now but I finally buckled down and I am taking the time to learn. As a self taught web developer what are some pointers for when I go out looking for jobs and trying to gain experience? I inspect tons of sites and see how complex the code can be. It doesn't scare me cause I know it takes projects upon projects and lots of long days trying to figure things out to finally get the hang of developing high end work. Which is where I want to be. What advice can be given to get there starting out?

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

    Adobe Flash is no longer supported in Safari

    Posted: 26 Jun 2020 09:15 AM PDT

    Angular 10 officially released and drops support for IE 9, 10 & Mobile

    Posted: 26 Jun 2020 03:02 AM PDT

    What's the common name for a website made with HTML+CSS+JS ?...Static or Dynamic ?

    Posted: 26 Jun 2020 03:24 PM PDT

    Maybe it's a very noob question but I am really confused between the difference of static and dynamic websites.

    I know static website is a website whose content remains same for everyone and dynamic websites is a website whose content may change as per user's request. (Correct me if I am wrong !!!)

    Now,

    1) if a site is made with just HTML+CSS+JS then will it be static or dynamic?

    2) Also if I add some Python etc script also to it then will it's status change? (If answer for previous question is static)

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

    IT-Tools, a website in vuejs, with sets of handy and useful developer tools

    Posted: 26 Jun 2020 12:30 PM PDT

    10 Unexpected Ways To Improve Your Automated Tests

    Posted: 26 Jun 2020 04:08 AM PDT

    Ways to integrate the front-end with the back-end?

    Posted: 26 Jun 2020 02:12 PM PDT

    Hey!

    So I am working on a project with the backend in flask and frontend in vue. Currently, I have an API in flask which sends over information to the front-end to display. Is there any alternative to this method? I would prefer to have an integrated front-end and back-end rather than having 2 separate entities.

    I could use the simple template render function in flask, but I would also like to have all the cool JS tricks that vue allows me to do.

    Note: Variable Delimiters is not an issue at all. It is the functionality and passing of data.

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

    Building an expense tracker as a project, I can't get the transactions to filter based on the user logged in

    Posted: 26 Jun 2020 02:10 PM PDT

    I got the user to be logged in and stuff, but it displays all transactions ever entered. I'm not sure how to fix this. My idea is to have Transactions to be an array in the User Schema. But I'm not sure how to put that into the User schema. I have tried in the User schema to put ' transactions: { type: [Transaction] } But it says models can't be arrays. Maybe my syntax is wrong? I'm not sure.

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

    Noob question for backend developers

    Posted: 26 Jun 2020 02:05 PM PDT

    Hello! i am an iOS apps developer who published an app with a very basic self made backend written in php and now that my app is having a good success i need help to scale it.

    My backend experience is not existent so please bear with me.

    My back end runs on a digitalocean droplet and consists of:

    - mobile app makes a request to a php endpoint that will eventually return a json response

    - php gets the request and fires a command to the command line that runs a python script

    - the python script makes web requests to process data, and returns with a result for the php to read

    What is the problem?

    After my app had a decent success, the remote server that the python connects to in order to process data (a free service) would throttle my requests because that is a huge amount of requests coming from the same ip.

    What i need is a way to keep making requests to this remote server and avoid the http 429 error.

    The solutions that come to my mind are:

    - Having multiple droplets maybe?

    - Changing the ip somehow? maybe command line vpn? i dont know how reliable are those

    - Load balancing? frankly i dont know what that is, but it sounds like it would solve my issue

    - Moving the requests to the mobile app is not an option

    Thank you for any suggestion. Also, i would be willing to hire someone to solve this issue.

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

    Weird bug. Sometimes scrolling pushes the entire site off-screen. Does anyone know what's going on here?

    Posted: 26 Jun 2020 01:45 PM PDT

    Production-ready NextJS and NestJS GraphQL starter pack

    Posted: 26 Jun 2020 04:05 PM PDT

    Cloud functions that run every x hours

    Posted: 26 Jun 2020 03:36 PM PDT

    Hi, I need a service that runs a function every X hours. I am running a scraper that needs to update my db 2-3 times a day. Are there any free services like that?

    Thank you!

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

    Looking to make a sololearn type app - advice needed

    Posted: 26 Jun 2020 03:15 PM PDT

    I don't know how many people here have even heard of sololearn, but it's basically a website /app that can be used to learn programming languages, giving you xp points, tracking your progress etc

    I've been learning programming on and off the past couple of years, I've learnt django, html, css and javascript, goes without saying I'm not exactly a pro at any of these but decent enough to put something half assed together.

    So what I'm looking to do is create a Web app that will include the following:

    1. Bitesized lessons, these lessons will be spread out within different modules (sections if you like, which will all be displayed on one page)

    2. The user will progress module by module and will be locked out of any modules they haven't reached yet

    3. User profile area where the user can see their progress

    (In the future I'd want to add in things like xp etc but I think right now that would be too much)

    So my question is, am I going about this the right way by trying to do this in django or is there something more suitable out there I can use for the backend?

    Also in regards to the lessons am I right in that I'd just create a page for each lesson individually and the same for questions or is there a better / more efficient way to do this?

    I have done smaller projects by the way, to do lists etc but I find it difficult to stay motivated with those whereas the above is something I've wanted to do for a long time for personal reasons so will keep me going and I'll learn alot along the way aswell.

    Many thanks!

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

    Built first Wordpress site for a friend, how much to charge?

    Posted: 26 Jun 2020 03:09 PM PDT

    My friend's recently become a published novelist (6 figure deal w/ two books) and asked me to build their website. I'm learning Wordpress right now so I absolutely said yes, because it would be an incredible thing to add to my portfolio.

    I built them a custom theme, interactive map of the world in their book, and custom vendor buttons/home button. There are 10 pages total of content. They asked me to total up my hours and asked if 20/hr is ok. I haven't given them a response. I don't want to be greedy but I also don't totally know what my work is worth at this point.

    Should I ask for a student hourly rate--what even would that be?

    Let me know your thoughts.

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

    What's the best way to create this button with SCSS? I'm stumped by the top triangle part.

    Posted: 25 Jun 2020 10:05 PM PDT

    Any JavaScript Word Processor that can handle Word document?

    Posted: 26 Jun 2020 10:16 AM PDT

    I need a word processor that could handle MS Word document (.doc/.docx format), edit them and then allow the user to be able to download them (in .doc/.docx format). I used TinyMCE but using mammothjs to convert docx to html fails. I'll be thankful if anybody can help me.

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

    Scaling to 100k Users

    Posted: 26 Jun 2020 02:01 PM PDT

    Big Lebowski Video Game

    Posted: 26 Jun 2020 01:54 PM PDT

    Big Lebowski Video Game

    I made an in-browser video game (Vanilla JS & HTML Canvas) based on The Big Lebowski and thought some of you might appreciate it.

    Unfortunately, it is only designed to work with a desktop computer for now.

    https://mister-blanket.github.io/the-dude-abides/

    https://preview.redd.it/gfnpi77bib751.jpg?width=844&format=pjpg&auto=webp&s=3b2d360e8cf76364378d96c625e8eff1a74f61b7

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

    No comments:

    Post a Comment