• Breaking News

    Friday, January 18, 2019

    Beginner Questions - January 18, 2019 web developers

    Beginner Questions - January 18, 2019 web developers


    Beginner Questions - January 18, 2019

    Posted: 18 Jan 2019 05:16 AM PST

    If you're new to web development and would like to ask experienced and professional web developers a question, please post below.

    Etiquette

    • Remember, that questions that have context and are clear and specific generally are answered while broad, sweeping questions are generally ignored.

    • Be polite and consider upvoting helpful responses.

    • If you can answer questions, take a few minutes to help others out as you ask others to help you.

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

    From Self Taught to One Year as a Web Developer

    Posted: 18 Jan 2019 01:07 PM PST

    I just had my first Year review and it went incredibly well. I went from a job I hated, started learning front-end, and eventually got a job. I spent days feeling like a phony, having to learn design from scratch and I got a 11% raise!

    I'm not coming to brag but more share my excitement and letting everyone know you can make it in this field if you're self-taught!

    submitted by /u/M-I-T
    [link] [comments]

    What, if any, frameworks would be particularly suitable for front-end development on a browser game?

    Posted: 18 Jan 2019 02:01 PM PST

    Currently I'm working on a game that, on the whole, isn't overly complex, but has a lot of content. The gameplay is largely strategy, and not of the real-time variety, more the kind that you play over months or years in a persistent world.

    Front-end has always been where I've struggled most as a web developer. It's been quite a while since I've been engaged this fully in web-dev, and I have been learning and working with Python, Flask, and MySQL for the backend, and regular old html and JavaScript (jQuery) for the front-end.

    For some reason in the past I had always been resistant to frameworks of any kind, as I always rationalized that I wanted my projects to not have a bunch of extra junk in them that I was never going to use. But I'm realizing that messing around with javascript building all of my functionality from the ground up is probably wasting time reinventing the wheel, and there are some things such as scaling that end up imperfect or choppy.

    I've hit the point in developing the game where a lot of separate parts are working, ready, and about to get all mixed together. So I'm stopping for a bit and taking the time now to figure out if I should be approaching anything differently.

    So the things I'm looking for in terms of being good for a browser game are:

    • Elements changing a lot, various menus available in different styles, different views (world map, inventory, stats pages of various kinds, tooltips of various kinds)
    • Everything is asynchronous. I'm currently doing things AJAX-style but going to be moving to sockets because of how often data the user is presented with will be changing.
    • A fairly central part of the game is a "world map" which has dynamically-placed objects based on x,y coordinates. Currently you navigate it with cardinal direction arrow buttons, or by entering specific coordinates, but I'm looking for something that can give me a cursor drag functionality, or I'll end up writing one.
    • In that same vein, I have the game screen scalable just through changing the window, and using a css grid layout and javascript to change the grid css. It works alright but is not 100% perfect.
    • Anything else that just makes JavaScript less painful to work with like jQuery is always a bonus. Lots of things I never knew I wanted.

    If anyone has suggestions or experiences, it'd be very welcome!

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

    Is there a free way to get a domain name and set up free hosting for it? I want to learn how to develop websites from start to finish.

    Posted: 18 Jan 2019 06:25 AM PST

    Sorry if this isnt the right place to ask these questions, i am not asking for freebies or anything like that I just want to learn how to set up a web domain to a host for free.

    Lately i learned how to make a website with HTML,CSS,JS,Bootsrap and etc, but now i want to learn Php and mySQL, but to do so i need to actually set up a site with a server and ftp, so i just want to know if anyone can point me in the right direction where i can find a free domain name or subdomain name if that works and a free host so i can practice and learn.

    Thanks in anticipation.

    P.S. : I do not post often on any subreddit and i apologize if i broke some of the rules of this /r/. Thanks.

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

    Popular tips from 2018 - Chrome DevTools

    Posted: 18 Jan 2019 05:41 AM PST

    Google indexes random spammy links from my Wordpress website

    Posted: 18 Jan 2019 05:25 AM PST

    Google indexes random spammy links from my Wordpress website

    Hello everyone,

    I've been battling with one frustating issue regarding my Wordpress installation.

    Recently I noticed that Google started to index my website - so far all good. What's not good is that one day I decided to scroll a few Google result pages and I noticed that something is off. There are spammy links coming from my Wordpress website, that, if clicked on, return a 404 error. After some time new spammy links appear, but I haven't had more than 10-15 spammy links.

    The actual links of pages my website has are indexed with priority so that is at least good. You can see the spam only if you go multiple pages back.

    Has anyone ever experienced something like this?

    Things I've tried:

    • Reinstall Wordpress installation, rebuild the website from scratch
    • Reinstall Apache
    • Update everything
    • Request Google URL removal (but they appear again after some time - meaning Google thinks these are actual pages - malware makes Google think that and I need to get rid of it). Google states, that in order for removal tool to be permanent, actual pages need to be removed. I don't know what to do.

    Things I haven't tried:

    • Reinstall the machine it's hosted on (I will do this if there's absolutely no way of pinpointing the issue or at least finding the source of the malware). It's ran on Ubuntu 16.04. Reinstalling is the last resort.

    Links look like this (I have removed the domain name from images for privacy. I will reveal it if it will be necessary to find out the issue).

    https://i.redd.it/8bhjqwzcm6b21.png

    Mind you, the spammy links date way back to 2013-2014. The website was launched late 2018. I host it on a private machine and have applied all server related security measurements I could've thought of at the time

    Has anyone got any idea? The site is registered in Webmaster Tools and Analytics, if anything.

    If any of you indeed are able to pinpoint the issue and the root of the malware and how to get rid of it, please do so. If, after whatever fix needs to be applied, everything works as expected, I will do my best to reward you (Paypal only).

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

    Looking for a solution for uploading images, price and description to auto generate PDF Flyer for real estate client.

    Posted: 18 Jan 2019 10:02 AM PST

    Hoping this awesome community can help me out.

    I have a real estate client that has hundreds of new listings every month and right now they are using Photoshop/canva templates to manually create the PDF's by swapping out image, description and price.

    We are looking for a plugin, software, or some type of solution to help streamline this process. Ideally by allowing the sales reps to jump on and upload the specs/image and it spits out a PDF based on a template that includes their logo, brand styling/etc.

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

    Generators for Hugo?

    Posted: 18 Jan 2019 03:48 PM PST

    I really enjoy Hugo, but as of late I'm finding it difficult to extend. I need to generate a lot of content from a database of data. In this instance from a .csv file, but I have another use case where I need to create pages from content in a database.

    Jekyll has generators, does hugo have anything similar? Or any tools that can be used to produce markdown files for use in hugo? I seen something done here: https://www.youtube.com/watch?time_continue=53&v=CdiDYZ51a2o

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

    What is the best method to connect a Chrome extension to a database?

    Posted: 18 Jan 2019 03:16 PM PST

    I've heard that opening a connection right in the extension files is not the most secure way to do things. What method should I use, and what language should I use, PHP?

    Edit: I also need the extension to write to the database as well, which would probably mean that I need more than just an API, correct?

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

    CS student who is used to Haskell and LISP wants to understand web development from first principles

    Posted: 18 Jan 2019 03:15 PM PST

    I'm a 3rd year CS undergraduate, who mainly programmed in Haskell, Common Lisp and Java, and I've always had a curiosity with web development.

    See, the thing is: my learning has been mainly through material that emphasized first principles and foundational thinking such SICP (structure and interpretation fo computer programs), HTDP (how to design programs) and PAIP (by Peter Norving).

    Now, my question to experienced devs is how would a similar approach would apply to web development?

    What are the foundational principles and technologies? (my guess would Vanilla JavaScript?)

    submitted by /u/Keil-Eden
    [link] [comments]

    How do you guys handle version control with Git and images?

    Posted: 18 Jan 2019 06:46 AM PST

    Just recently started with version control for my websites and i use github to store my websites. What i didnt know is that version control dont work on images since they are binary...

    How do you guys work with Git and images with website projects? I have a master branch which includes my entire website folder which also includes images. Is my only choice to exclude images when i commit?

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

    Trilogy Coding Bootcamp-Yay or Nay?

    Posted: 18 Jan 2019 01:41 PM PST

    Hi all,

    I'm signed up for Trilogy's Full Time Coding Bootcamp at the University of Denver starting in February. I've heard a lot of mixed things about Trilogy on here. Some people think Trilogy is good, some people think they are bad, some people think it all depends on location, some people think YMMV based on one's own skill, determination, background, and effort into the program, and some people think it depends on who the instructor/TAs are.

    I am getting somewhat apprehensive tho after reading some bad reviews-spending 10k and 3 months of my life on this camp is no small investment. I feel like it is a gamble to go with Trilogy, and it is hit or miss, but by that same token, I feel like any bootcamp (or any type of education for that matter) is a bit risky and comes with its pros and cons.

    Essentially-thoughts on Trilogy broadly, DU's programs specifically, should I proceed with this, etc?

    Thanks!

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

    Triggering Python from Node via AJAX

    Posted: 18 Jan 2019 01:38 PM PST

    What projects (in order of difficulty) should a beginner do in order to learn X framework/language properly?

    Posted: 18 Jan 2019 01:31 PM PST

    This can be language specific. For example, I've found that while I'm learning React, doing:

    1. A simple Hello component
    2. Todo app

    In pure React is a good way of learning the basics.

    What do you think?

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

    How was this infographic done?

    Posted: 18 Jan 2019 01:30 PM PST

    Looking to work remotely as a RoR/NodeJS VueJS Fullstack developer and need a coding machine. Which should I choose?

    Posted: 18 Jan 2019 12:49 PM PST

    $0 - Stick with my current PC (I5 7600K 3.80ghz, 8GB DDR4-3000 RAM, GTX 1070, and a m.2 SSD):

    • (+) "Free" since I already have it
    • (+) Fastest machine
    • (+) easily upgradeable / Future proof
    • (-) Real Bitch to set up RoR projects, not well versed in linux/ubuntu either
    • (-) Stuck developing only at home

    $1,299 - MacBook Pro 13inch (Base Model):

    • (+) Super portable, don't have to work in my apartment every day
    • (+) Incredibly easy for me to go project to project
    • (-) Not future proof
    • (-) Slowest Machine
    • (-) Expensive for what you get

    $1,299 - Mac Mini (Upgrade to 512gb SSD):

    • (+) Solid amount of power for the price
    • (+) Semi portable, just need to find a spot that has a monitor.
    • (+/-) Not AS future proof, but the only bottleneck i've had is my RAM and this is upgradeable

    Am I missing any other positives or negatives? Any personal experience with these products that should sway me one way or the other? Help! This is a really big purchase for me and my frugal mind doesn't want to make a mistake.

    TL;DR For working remotely as a web developer, should I get the Mac Mini, MacBook Pro, or use my Gaming PC

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

    WordPress Replacement

    Posted: 18 Jan 2019 07:59 AM PST

    I am looking for recommendations on a good WordPress replacement. I am not thrilled with the new post editor and this seems like a good opportunity to learn new web technologies.

    I have had a WordPress blog for over a decade so there is a fair amount of content that will need to be migrated.

    I have been looking at either static site generators (probably gatsby) or some sort of backend that exposes the content as a REST API. Ideally the backed wound be backed by static files (like markdown with YAML), and not a database. I am not ruling out a having a database, not having one is just a preference.

    My Blog is very image heavy so a good image workflow is essential. Ideally I would just link a full size image in the markdown file and let a build process create whatever image sizes are appropriate. This would have to work for single images and well as galleries with lots of images. WordPress actually handles this quite well and is why I have stuck with it for so long.

    As for writing I would like to use markdown (no WYSIWYG!).

    In terms of languages, Node or Go would be my preference for the backend (I would also consider Python). The front end should be nothing more than a consumer of the API provided by the backend and will likely end up being react. The server will likely end up running FreeBSD. This limits me slightly (no Docker, but jails are a great consolation prize). Most things should run fine on FreeBSD.

    Thanks for your help.

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

    How to prevent multiple login in java?

    Posted: 18 Jan 2019 11:39 AM PST

    Hi , i am new to web development in java and i would like to know how to prevent multiple users from logging in from the same account at the same time without ending the former session. In short , please explain me how to check for multiple logins in java servlet application.

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

    Need ideas for a site.

    Posted: 18 Jan 2019 11:30 AM PST

    Hi all, I'm looking for some ideas on how to implement a cart based site that will keep track of inventory and allow people to choose their products (live fish) and "check out" without actually having to pay. The shop owner wants to keep it personal by individually replying to email orders and giving a shipping price and compatibility advice if needed. As of now it's a Wordpress site with a contact form in which the customer lists the fish he wants to buy along with the relevant contact info and submits the form. The shop owner then gets the email and will reply to each person individually with a total price etc. he does not want to lose the aspect of individually talking with customers as it greatly helps the business. I wanted to change the site to something like zen cart possibly that will allow me to create a product page for each species as well as keep track of the inventory that will make the item become not available once the quantity available is gone. So I'd like to use let's say zen cart to to accomplish this but I'm not sure if there is something more suitable that will work.

    Customer point of view:

    Go to the website and choose what fish they want and add those species to the cart to subtract them from the inventory count but I do not want them to have to pay through the site. I'd want them when checking out for it to basically just send an email with the cart contents and from there the shop owner will contact them and go over shipping details etc as well as send them an invoice via PayPal.

    Thanks in advance and if anything needs clarification just let me know.

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

    How to run commands on EC2 Instance

    Posted: 18 Jan 2019 11:27 AM PST

    Noob question,

    I'm trying to get my app on aws elastic bean stalk, im using parcel to bundle my code. When i'm on my local machine i just run "parcel ..." to build my bundle then run it with node server.js.

    But it's not working on ebs, i'm getting sh: parcel: command not found

    How do I go about fixing this?

    Thanks ppl

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

    Good talk shows about web development

    Posted: 18 Jan 2019 11:13 AM PST

    Can you guys recommend me good talk shows / podcasts about web development? Front-end and back-end but mostly front-end.

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

    We have 5,000 log files - do we need them?

    Posted: 18 Jan 2019 11:11 AM PST

    Dear Webdev,

    I am doing a back-up of my company's website. We are about to migrate to a new host.

    I can download everything except the "logs" zip - probably because it is so huge!

    We have just under 5,000 files in the log folder. I can manually download them individually, but...

    Do we need them?

    Can I give my boss a backup without them?

    Many thanks

    submitted by /u/Wolfie-222
    [link] [comments]

    How important is it to hide phone numbers/emails from bots?

    Posted: 18 Jan 2019 10:54 AM PST

    Working on my first website for a client and this is something I'm not sure about. What is the best way to hide info from bots if I need to?

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

    What's the best way to offload custom websites so you don't drown in maintenance/technical debt?

    Posted: 18 Jan 2019 10:04 AM PST

    I'm a solo developer that designs and builds custom websites for small-to-medium-size businesses.

    My biggest problem is how to handle maintenance.

    I don't mind having longterm relationships, but I'm constantly improving my process and migrating to better stacks.

    It's not sustainable to keep working on sites with 20 different workflows.

    What's the best way to offload sites?

    Is it common for developers to help businesses hire their own in-house designer/developer to take over the site?

    If so, does anyone have advice or resources on how to do this?

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

    What are the general rules for images on a website?

    Posted: 18 Jan 2019 05:57 AM PST

    I mean in terms of sizing and optimizing. Let's say i want to use 5 thumbnails and a hero picture. this site says thumbnails should be 30kb and "larger ones" 60-100kb. I saw that google has a tool to reduce file size in pictures but if i was about to crop them first for my own usability, what are the things i should look out for? edit: nevermind i got it https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/image-optimization

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

    No comments:

    Post a Comment