• Breaking News

    Monday, August 13, 2018

    August 2018 r/webdev Giveaway web developers

    August 2018 r/webdev Giveaway web developers


    August 2018 r/webdev Giveaway

    Posted: 01 Aug 2018 04:27 AM PDT

    Hey everyone! This will be the first of it's kind here on the r/webdev subreddit. The subreddit team would like to give back to the community that all of you have created and allowed us to be a part of. The subreddit has seen some dramatic growth recently with the creation of our official Discord, Showoff Saturday, and more. As a thanks, we've reached out to several big players in our industry to see if they'd be willing to help us out to give you guys something awesome. So, without further ado, here are the prizes:

    Prizes

    • Web development project jumpstart kit
      • A free 1-year domain name registration of your choice from Namecheap
      • $100 credit (expires within a year) to DigitalOcean for whatever use you'd like
    • A free 1-year subscription to Scott Tolinski's Level Up Pro, which includes 16 premium tutorial series and a new series each month.

    How to enter

    Simply share your favorite webdev creation (your own or someone else's) OR share your thoughts on the pace of the industry as a whole in a top-level comment in this thread.

    Rules for participation

    • Reddit account must be at least 4 months old
    • Must currently be subscribed to r/webdev
    • Your entry cannot simply be a link to a website/creation. Share why it is your favorite/how you found it/something more than just a simple link
    • One entry per user

    FAQ

    • When does the giveaway end?
      • A winner will be picked at 12:00PM EST on Wednesday, August 15th -- two weeks after the start! Submissions are accepted right up until the end.
    • How are you picking a winner?
      • The winner will be picked using this script that will pull all of the top level comments from this thread and pick out the unique Reddit usernames from them. The moderators will then ensure the age of the account as well as their current webdev subscription status meets the requirements of the giveaway. You will be mentioned in this thread as well as PM'ed on Reddit.
    • What if I don't get the item that I want?
      • You are free to decline the prize if you'd like. We will pick another winner to receive the prize you would have gotten.
    • How do I receive my prize?
      • The Namecheap domain name registration will be provided via a coupon code that will become invalid on Sept 28, 2018. The DigitalOcean credit will require you to provide us with the email of your DigitalOcean account (you can register a new account if necessary), and DigitalOcean will credit your account directly. The subscription to Scott Tolinksi's Level Up Pro will be provided via a coupon code.
    • Can I share the same thing as someone else?
      • You are welcome to share what someone else did, but you must provide your own blurb about it. No straight copy-paste of someone else's entry.

    Thanks to the sponsors!

    DigitalOcean, Namecheap, and Scott Tolinski were all very generous when I reached out to them to purchase prizes for the giveaway. They decided to offer these items free of charge instead because they love giving back to the community that is always so good to them! Give them extra thanks next time you have the opportunity to interact with any of them.

    • DigitalOcean provides the easiest cloud platform to deploy, manage, and scale applications of any size, removing infrastructure friction and providing predictability so developers and their teams can spend more time building better software.
    • Namecheap is one of the top domain registrars and web hosting companies focused on providing the best products with excellent prices and customer service.
    • Scott Tolinski is a web developer, co-host of the Syntax podcast, and a content creator that has several very high quality courses on his Level Up Tutorials platform.

    Thanks again everyone for making this an awesome community. I'm very grateful to be a part of it, and this is the least we can do for all of you. After all, without you, r/webdev wouldn't exist.

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

    A developer’s guide to web design for non-designers

    Posted: 13 Aug 2018 11:24 AM PDT

    Fairytale about performance in web application

    Posted: 13 Aug 2018 08:11 AM PDT

    Why aren’t people using LAMP stacks as much anymore?

    Posted: 12 Aug 2018 07:47 PM PDT

    I started thinking the other day, and realized that a lot of the technical decisions I make when building stuff for clients really aren't my decisions; the client usually approaches me with a popular framework or something, and I just smile and roll with it.

    But thinking back, pretty much 100% of all the work I've done could be built perfectly fine on a LAMP stack (or at least Apache). In fact, it'd likely be much more robust, reliable, and secure.

    Just think about it: something like Node doesn't offer really anything out of the box. No stl is just one of the problems with JavaScript. Sure, you can find almost everything you'd need on NPM, but that usually creates a dependency nightmare. The standard Create react app thing for example has thousands of dependencies, any one of which could contain malware and actually fuck your development system or network.

    Apache is really useful for development. It handles things like routing, HTTPS, virtual servers, etc which you would normally have to create yourself in Node, AND it offers extensive configuration options for all of it. Plus there's the fact that Apache is a very mature project—much more so than any package you'd find on NPM. Security vulnerabilities get patched regularly, and many Linux distros keep it updated as a high priority. It's like you're getting an incredibly valuable service from some of the world's best engineers for free (because that's literally what it is!)

    I get that a lot of people hate PHP, but you don't even have to use it. The language Haxe is like Typescript, and can cross compile to PHP (among other languages). Plus, Apache can be configured to use other languages besides PHP, so that's not even a problem.

    As for MySQL... well, it's a perfectly good database. Most projects are perfectly fine with a MySQL database, and even when the client claims they need something built with NoSQL, it's usually because they were too lazy to come up with a proper structured solution.

    But any time I am talking to a client about the tech stack to use, I feel like suggesting LAMP would make me seem like an old fart who didn't get with the times, or someone who can't keep up with the ever changing world of technology.

    But maybe I'm missing something here. That's why I'm posting this, to ask: what's wrong with a LAMP stack in 2018?

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

    What language should I learn for backend in 2018?

    Posted: 13 Aug 2018 10:55 AM PDT

    Hi! I've been doing frontend for quite a while and want to start backend too. I tried multiple times to learn PHP but never got to actually learning it. Should I try PHP again or should I learn something new? My goal project would be some sort of online forum. Thanks!

    Edit : By the way, it would be really cool if you could tell me where I can learn efficiently online :)

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

    TSDBs at Scale – Part Two

    Posted: 13 Aug 2018 05:10 AM PDT

    Posting on behalf of /u/stronglift_cyclist Here's the second half of our two-part series focusing on the challenges of Time Series Databases (TSDBs) at scale. This half focuses on the challenges of balancing read vs. write performance, data aggregation, large dataset analysis, and operational complexity in TSDBs.

    https://www.circonus.com/2018/08/tsdbs-at-scale-part-two/

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

    MySQL JOIN with multiple results

    Posted: 13 Aug 2018 08:35 AM PDT

    Hi all,

    I'm trying to achieve something simple and I can't get my head around it. I though a simple join would do the trick, but I guess I was wrong. I'm more into data analysis than web dev, maybe that's why. Anyway, I have two tables, users and notes. The users table contains a list of unique users, with fields like username, password, firstname, lastname etc. The notes table contains a list of notes assigned to each user, with fields like title, content, datecreated etc.

    Whereas users are unique, notes are not. One user can have an unlimited number of notes. What I'm trying to extract are all the notes for a particular user. I have tried a full right join, but for each note, I get a duplicate user resource, which looks bad and is not practical. Am I right in assuming that a join is not the right thing for my application?

    Any suggestions, please? Concepts are fine, I can write my own code...

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

    What are the rules of copyright among code snippets?

    Posted: 13 Aug 2018 04:14 PM PDT

    I'm not very good at JavaScript, thus sometimes I copy-paste code snippets, to have certain effects. Then I slightly edit it to my taste, thus leaving out certain parts, making it faster etc.

    But what are the rules or even ethics around doing this? Should one always leave a comment like: "//made by blabla www.website.com"?

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

    Changing from Network Solutions to GoDaddy/Gsuite

    Posted: 13 Aug 2018 04:13 PM PDT

    Hey all,

    Small business owner. Not very familiar with website domains and hosting, so bare with me if I call something the wrong term.

    Currently use Network Solutions to host my website, email, and to create the actual website. However, NS is very old and the website builder is awful. I want to transfer to a new service but it seems like a daunting task.

    From what I've learned so far, it seems like GoDaddy would host the actual website, but if I wanted to incorporate email ([sales@mydomain.com](mailto:sales@mydomain.com)) and a site developer (google sites) I would somehow mix in G Suite as well...? The internet is extremely confusing with all the things I've read about this, so I thought I'd turn to the experts on Reddit! Any help would be appreciated, thanks!

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

    Chrome dev console: How to turn off suggested JS

    Posted: 13 Aug 2018 09:56 AM PDT

    Hi webdev! I am trying to create a short "hello world" animation using the chrome dev console. The problem is that as I type my screen is cluttered by chrome's javascript suggestions for me. I have tried turning off autocomplete etc to no avail. Does anyone know how to get chrome to let me type without trying to help out?

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

    When am I ready enough to start picking up projects?

    Posted: 13 Aug 2018 02:33 PM PDT

    Hi!

    I've been thinking about making websites on the side of school and I was wondering, when do I know I'm good enough to start picking up projects?

    Background:

    As of right now, I know I'm not there. I know the fundementals of HTML / CSS / JS / PHP / MySql, but nothing really advanced on any front (apart from costomizing a d3.js choropleth map script).

    I also know C# fairly well, Java & Python a little, but those aren't directly relevant here; I'm looking for a front end gig or two.

    I'm currently building a website, per request by my mother and a few of her friends. It's main functionality is saving a csv file under a nickname and drawing a map according to the data on said csv file. It's run on my Raspberry Pi, files are first checked and then saved on the server. It works fine, but I'm working on improvements.

    I'm only getting started on frameworks and the like, but in my opinion the site looks okay and scales well for mobile.

    While making this project I've also learned a thing or two about networking and setting up a secure server.

    I feel pretty confident with HTML, CSS, JS and php, but also kind of insecure. What if I don't know enough?

    My questions:

    What else do I need to know in order to pick up projects? Which languages, frameworks and techologies do I need on top of those already mentioned?

    What do I need to consider before picking up any projects?

    Thank you for helping :)

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

    Most efficient of handling json?

    Posted: 13 Aug 2018 02:11 PM PDT

    I am making a headless browser with pupeteer with the goal of getting an url from a website.

    The application reads a json file(which gets from an api) and gets some specific information from it to pass as a parameter for the pupeteer function.

    My doubt is, what would be the most efficient way(in terms of response time) to do this process of handling an api and reading the json file? (Would using node and express be enough)

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

    Thing what I made: Crab - a CLI tool for React

    Posted: 13 Aug 2018 08:07 AM PDT

    Odd request - job board theme that allows you to search by multiple categories

    Posted: 13 Aug 2018 02:01 PM PDT

    Odd one but I want to create a MVP for a site that allows you to search jobs by multiple filters. Eg. "Jobs that are office jobs" AND "Jobs that xx people".

    Most themes or templates only allow you to search by 1 category.

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

    Hi fellow WebDevers! I'm a baby coder just learning react. I am pretty comfortable with Javascript/CSS/HTML. Do you have a particular tutorial or project that helped you get started in react? Preferably where a project is being built and I can work alongside them. Please share!

    Posted: 13 Aug 2018 01:22 PM PDT

    Wrote this little script for reflecting MySql databases. It's not very practical, i was just bored.

    Posted: 13 Aug 2018 01:11 PM PDT

    Facebook Graph API

    Posted: 13 Aug 2018 09:21 AM PDT

    There are some public Facebook pages that I want track changes on and came across the Facebook Graph API to fetch this info. After creating a dev account and getting a page_access_token issued, I am getting an error that I need to submit my app to review first.

    Is this necessary? All my "App" will do is scrape some info from Public pages, nothing private. I can't even start building my app yet until I have this information, so what is there even to submit?

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

    Question about load speed when using materialdesignicons or fontawesome. And how to make them look nice.

    Posted: 13 Aug 2018 12:47 PM PDT

    I checked that the size of the file to download the materialdesignicons was about 90kb which is pretty much, right? A lot of people who use mobile have a connection speed of 100kbps.

    Isn't it crazy that all the frameworks are including them even if you don't use them? That's almost an extra second of loading time.

    I wanted to import just the icons I use, in SVG. materialdesignicons can let you pick like that. But even with 0 padding there is always lots of padding anyway.

    Here is an example I made: https://codepen.io/anon/pen/ZjPgZd

    Anyone have advice on how I can remove the spacing between the span and svg? I know I can fiddle around to fine tune the viewbox on svg but I want a way of doing this so I can easily just copy paste this code for any other icon so I think the viewbox sizing should be untouched but the height and width is ok to change.

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

    Weird Phone Number Problem

    Posted: 13 Aug 2018 06:48 AM PDT

    I solved it, but I'm still confused. I built a website and placed their phone number on the main page. They called me saying that the phone number was different on mobile than on desktop. I checked and sure enough on the desktop it showed 555-555-5555 and on mobile it showed 666-666-6666. So I went in and changed the number to TEST and it showed TEST on both mobile and desktop.

    Then something weird happened. I changed the separator from a dash to a period (from - to .) and when I looked on the desktop it showed 555.555.5555, but on the mobile it showed 666.666.6666...so it changed the number again. I then put forward slashes and the number was 555/555/5555 on both mobile and desktop.

    I fixed it by adding a hidden HTML character after the dashes and so now it shows 555-555-5555 on both desktop and mobile.

    Anyone ever had anything like this happen? What would cause it?

    submitted by /u/0x446576656C6F706572
    [link] [comments]

    Accelerate redirect time of meta-refresh

    Posted: 13 Aug 2018 12:37 PM PDT

    I have a page that redirects using a meta-refresh. The server is located in the USA. However, the majority of our visitors are spread across the globe.

    I need this page to redirect as fast as possible. Switching the redirect to a server-side redirect is NOT an option.

    I currently use CloudFlare as our CDN. However, CloudFlare does not cache dynamic content or HTML.

    I need to figure out a way to speed up redirect time for international visitors. Here are is a list of ways I'm aware of that this could be done:

    1) Switch to a CDN that caches dynamic content.
    2) Use a load balancer and setup multiple hosts across the globe.
    3) Pre-load the target page in a hidden iFrame so that the redirect will occur faster as the browser will hit the local cache and skip the DNS lookup as described here: https://stackoverflow.com/questions/4139039/fastest-non-server-side-redirect-method

    Does anyone have any specific recommendations for CDNs or have an ideas about how to accomplish the above that I've missed?

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

    Multiple languages website (javascript framework?l

    Posted: 13 Aug 2018 12:15 PM PDT

    How do you code multiple languages website? I've hardcoded my first one, and now I'm thinking about using a javascript to make it easier. Should I use a framework, if yes then which framework should I use? I started learning Vue.js couple of days ago could this be a good choice?

    How do you code multiple language website?

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

    How can I implement email-sending from Vue.js form ?

    Posted: 13 Aug 2018 12:06 PM PDT

    So I am building my personal website + blog application (combined) using VueJS. I have a contact page with a form to allow the users to contact me via email. I have created the template and know how to handle basic forms in Vue but I have no idea of how I will be able to receive the actual email on my personal email account when the user submits the form. Can I do it on the browser or do I definitely need a back-end setup? And if the later applies, how do I do that? Firebase or Node.js ? Any help or link to resources would be great please !

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

    Selectif: Interactive selective sampler (canvas image effect)

    Posted: 13 Aug 2018 11:58 AM PDT

    Fairytale about performance in web application

    Posted: 13 Aug 2018 11:33 AM PDT

    [beginners] Create the flappy bird Game Using JavaScript

    Posted: 13 Aug 2018 03:00 PM PDT

    No comments:

    Post a Comment