• Breaking News

    Thursday, June 28, 2018

    In the next years or so ad space will take half the screen i guess web developers

    In the next years or so ad space will take half the screen i guess web developers


    In the next years or so ad space will take half the screen i guess

    Posted: 28 Jun 2018 04:10 AM PDT

    CSS Cheat Sheet

    Posted: 28 Jun 2018 10:46 AM PDT

    My favourite online code editor

    Posted: 28 Jun 2018 01:39 PM PDT

    Chat Room For Website (Similar to Facebook)

    Posted: 28 Jun 2018 12:32 PM PDT

    I want to host this myself. So no Discord.

    It would be nice for it to be like the facebook chat that is built into their desktop website interface where its in the bottom right hand corner.

    I prefer it to be free and open source, however I would accept a paid solution if it was a one time payment. I don't want to pay monthly or yearly for something.

    Would be nice if it supported individual chats and group/room chats. Don't need video, audio, or filesharing.

    What do you all suggest? Thanks.

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

    Level up your UX: Lessons from video games applied to product design

    Posted: 28 Jun 2018 12:33 PM PDT

    Best resources to learn AWS

    Posted: 28 Jun 2018 01:36 PM PDT

    What is the best way to learn AWS? It seems to be the main thing everyone is seeking in a web dev nowadays. Thanks

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

    [HELP]My home webserver didnt forward the "skin" of my webpage

    Posted: 28 Jun 2018 11:12 AM PDT

    So, first of all, i have a small english knowledge. So i try to write around my problem.

    I created a home web server (for learning), the website looks cool, i did a lot of stuff with it.
    But when i try to browse my websife from another device, it didnt load the "skin" or "theme".

    I mean, if i open my site on my mobile phone or on my laptop, only the text load.

    I see the menu, if i click on the menu everything works, but no images, no skin , no icons.
    Im using xampp for my website, win 10 pro os.
    I did my setting in the httd.conf etc. i connected my phpmyadmin database, my.ini max file size, memory incrased.
    Any advice?

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

    Is there any online course free or paid (reasonably priced) that follows a similar curriculum as a good bootcamp?

    Posted: 27 Jun 2018 05:24 PM PDT

    I know there are some things that can't replace a bootcamp like live interaction but is there something I can do at my own pace that follows the same format as a bootcamp would?

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

    Mesmerizing 2018

    Posted: 28 Jun 2018 03:02 PM PDT

    I was fed up with ads & needless conversion so I built a dead simple video downloader.

    Posted: 28 Jun 2018 02:27 PM PDT

    How do you keep up with npm package updates?

    Posted: 28 Jun 2018 06:03 AM PDT

    I'm wondering if anyone has a tool that they use to keep up with npm package updates. I'm thinking something that can notify me when a new version of Angular or Typescript has been released and then gives me a link to the changelog. Greenkeeper exists but it is only for GitHub.

    I use ncu but you have to manually run that, it doesn't automatically keep you in the loop.

    Does anyone have a tool for this? Thanks!

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

    How not to structure your database-backed web applications: a study of performance bugs in the wild

    Posted: 28 Jun 2018 08:14 AM PDT

    What to do with JWT tokens on the front end?

    Posted: 28 Jun 2018 12:09 PM PDT

    I just created a simple login app that successfully registers and creates users in the database. If a user successfully logs in I am saving the token in localStorage and I will send it as an authorization header when accessing protected api endpoints, but what should I do when I want to access the user's session data. Should I decode it and store it in state? Should I decode it any time that I want to use the values contained within (email, username, id)? Also I am sending along a refreshToken, how do I use it to renew my regular token once it expires?

    TL;DR how should I go about accessing token data on the front end (react)

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

    readable-url - A node package to generate readable random phrases

    Posted: 28 Jun 2018 03:23 PM PDT

    I created a package to generate random 2-10 word phrases which can be appended to dynamically generated URLs. I've been wanting something like this but couldn't find one, so I made one.

    The phrases are readable and are syntactically correct and sometimes semantically correct too.

    NPM package

    Github repo

    It generates phrases like "ForgetfulHarshEgg" which is much easier to read and remember than random strings like "Xr46Ty".

    Any contributions and criticisms welcome!

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

    Bucklescript vs Scala.js vs ReasonML with React

    Posted: 28 Jun 2018 03:18 PM PDT

    I want to make a small board game web application and on the way to learn a new language, I'm already familiar with React and js (ES6,7,8).

    I'm leaning toward Scala.js because I want to be employed in a job that requires it eventually but I read that it has large overheads when importing standard libraries and I don't want to FOMO on cooler/better languages.

    So which of these languages is the most functional, has real world companies that use it (FB using Reason doesn't count), is more future proof and simpler to use with libraries that don't have its types files? (or whatever the typescript type files equivalent).

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

    I decided to make my auto W3C validator open source! It helps ensure that dynamically generated pages have good markup. Any comments/feedback welcome.

    Posted: 28 Jun 2018 02:58 PM PDT

    Backend development: I have some knowledge already, but where should I start?

    Posted: 28 Jun 2018 11:10 AM PDT

    I've been focused on HTML, CSS and Javascript for the last two months, writing some simple stuff. I had a quick look at Bootstrap, learned CSS Grid and wrote some easy apps using also JQuery.

    'm aware that what I have done and learned so far is absolutely nothing. Even though I'm quite enjoying it, front end development is not my cup of tea. I'm more interested in backend.

    Considering that I can code in JS and Python already (I used to code in Python quite a few years ago and I loved it) where would you recommend starting out? Python+Django/MySQL? Node.js? MEAN stack?

    I'd love to hear your thoughts.

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

    How do you guys explain your job to people?

    Posted: 28 Jun 2018 02:35 PM PDT

    For me, the most difficult icebreaker is, "So where do you work?". Recently I had an experience where I was prompted to explain what I did as a web developer and she was sort of confused as to how my job was any different than her creating a site on something like wix or weebly or some other WYSIWYG editor (or almost, why my job was needed when people can make their own sites with those tools). And I sorta struggled, I knew the answer but it was hard for me to explain it in a way that made sense to a person that doesn't really understand what frontend, backend, or any technical terms that we may use today. So how do you guys (and gals) explain your web development job; rather front end, back end, or fullstack, to your associates?

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

    Programming Innovations

    Posted: 28 Jun 2018 02:22 PM PDT

    I made an chrome extension for my university course enrollment system that continually pings the system every second for info, am i going to be in trouble if i release it?

    Posted: 28 Jun 2018 02:48 AM PDT

    every semester all the students need to register/enroll in new clases via the system website, there are two dates, the first date you have a time where you can enroll depending on your last semester GPA, and the second date (usually like 3 days later), students can retire the class and enroll in other ones (an other conditions not relevant), its a live system so if the class is full you need to keep refreshing the site to see if someone unrolled the class, so i made an extension that automatically updates the students enrolled number and when there is room it automatically enrolls you in the class, you just need to keep the tab open in the background.

    the javascript on the site is pretty shitty TBH i think some student made it so i just made the system better imo, the thing is that the extension pings the website api every second to see if there is room because sometimes students sell or release their seat on the class and someone grabs it, so i just made it easy and imo level the field, but i dont know if pinging the website every second is something i shouldnt do... i would do every 0.1 seconds but that feels kinda wrong...

    the website has a refresh number button so i would expect they are prepared for this kind of load?

    so im here for advice, should i release it to the public?

    there's aprox 10k students enrolled in my university total

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

    Advanced Javascript for Beginners: Part 3

    Posted: 27 Jun 2018 09:12 PM PDT

    Advanced Javascript for Beginners: Part 3

    https://i.redd.it/17yiceya3o611.png

    Welcome to Advanced Javascript for Beginners: Part 3. In this part, you will learn about arrow functions, currying and compose.

    Arrow functions

    Before the introduction of arrow functions everyone wrote their functions this way:

    function introduce(name, job){ console.log(`Hi! My name is ${name}, and I am ${job}.`); } introduce("John","an engineer"); 

    Arrow functions are normal functions. They just look different:

    const introduce = (name, job)=> { console.log(`Hi! My name is ${name}, and I am ${job}.`); } introduce("John","an engineer"); 

    We do not use keyword "function" anymore. A function is declared simply by using parentheses and this arrow: "=>". We have to assign the function to a variable if we want to use it later.

    One cool thing about arrow functions: if you have only one line in a function, you do not need use curly brackets. You can write it on one line like this:

    const log = (text) => console.log(text); log("Hello world!"); 

    You do not need to use "return" keyword if you have one line function that returns something.

    const multiply = (x,y) => x*y; console.log(multiply(5,6)); 

    With normal functions, you would have to use curly brackets and remember the "return" keyword.

    Currying

    Currying and compose are two really advanced topics. They are probably the hardest things to learn in these tutorials. You do not have to understand them immediately.

    Instead, you can always come back and use this tutorial as a reference.

    Currying is the process of turning function that accepts multiple arguments, into a function that accepts one argument at a time. That explanation does not make sense at all if you do not see currying in action.

    //Function multiply accepts argument(x) and returns a function that accepts argument(y) const multiply = (x) => (y) => x*y; //multiplyBy3 = (y) => 3*y const multiplyBy3 = multiply(3); //Prints 6 console.log(multiplyBy3(2)); 

    The example above is probably hard to grasp the first time. But once you get it, you will see the power of currying. This example is very good at showing that power.

    If you have a lot of repetition, currying can shorten the code. Instead of writing "your number * 3" every time, you can write "multiplyBy3(your number)". You can have as many arguments as you like:

    const addTenNumbers = (a)=>(b)=>(c)=>(d)=>(e)=>(f)=>(g)=>(h)=>(i)=>(j)=>a+b+c+d+e+f+g+h+i+j; const addNineNumbers = addTenNumbers(1); const addEightNumbers = addNineNumbers(2); 

    There is another way to complete curried functions:

    const addFiveNumbers = (a)=>(b)=>(c)=>(d)=>(e)=>a+b+c+d+e; //Result is 15 const result = addFiveNumbers(1)(2)(3)(4)(5); 

    Compose

    When you see compose for the first time, it looks even more confusing than currying. Simply put, compose is the process of combining two functions. The output of the first function will be the input of the second function.

    const compose = (a,b)=> (x)=> a(b(x)); const subtract = (num) => num-1; //Result is 3 const result = compose(subtract,subtract)(5); console.log(result); 

    Let's go through that step-by-step.

    1. We can say that "a(b(x))" in this case means "subtract(subtract(5))".
    2. Once inner "subtract" function is called, we are left with "subtract(4)".
    3. The result of "subtract(4)" is 3.

    The result is same with this code:

    const subtract = (num) => num-1; //Result is 3 const result = subtract(subtract(5)); console.log(result); 

    I have heard that compose takes many people very long time to understand completely. It is awesome if you get it on the first try. I can not promise anything, but hopefully next part will be a bit easier.

    Please leave a comment if you have any questions. If you liked this tutorial, please share it.

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

    Good with JS (basic JS and mostly React) and HTML, but finding it hard to work with CSS

    Posted: 27 Jun 2018 05:43 PM PDT

    Can anyone recommend me a tutorial series (preferably a book or articles) to follow to learn some CSS. I find it hard to work with CSS (mostly aligning elements). I have some badic understanding of CSS. But can't get nice desings done.

    Thanks

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

    Getting started with Rust+Web Assembly (presentation from JS MN last night)

    Posted: 28 Jun 2018 01:43 PM PDT

    What transactional mail provider to use for a small hobby project?

    Posted: 28 Jun 2018 01:39 PM PDT

    I am looking for a transactional mail provider to send out verification emails, password resets, etc.

    I would not mind spending 5 - 10 dollars a month if this would improve upon the experience and deliverability over a free tier but I would be sending out a tiny amount of emails to begin with so a free tier would be nice start.

    So far I have tried Mailgun but the user interface is absolutely terrible, their 2-factor authentication setup constantly logged me out and I can't seem to land any email in a hotmail inbox(although I know they can be a bitch). It works half of the time.

    A while back I also registered a SendGrid account but I got a message that "provisioning for the account failed" so I contacted support since they needed domain verification and whatnot. They basically told me I needed to make a new account because they can't provision it manually. Because there is no option to delete an account I just made a request for them to delete my current account. I am still waiting for a reply.

    So far I have spent days now on this. Tweaking stuff, setting up mx records, setting up the mailgun API comparing emails providers, etc.

    I have checked my emails for a spam score using this and some other tools:

    https://www.mail-tester.com/

    That seems to be fine, but like I said in most hotmail inboxes they will not even deliver.

    Does this really need to be so hard for a small hobby project of mine which might register like 5 users a day? What are my other options here to get good deliverability? Does anyone have experience with this?

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

    Advice for potential someone moving from Senior > Lead Dev role

    Posted: 28 Jun 2018 07:38 AM PDT

    Hi there,

    As the title suggests, need a bit of advice or any tips on how to be a good Lead Dev. I figured the best place to ask would be where all the experts are! Kind of nervous as it will be my first Lead role, so any input would be appreciated!

    Thanks!

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

    No comments:

    Post a Comment