• Breaking News

    Monday, March 26, 2018

    Google Chrome will finally automatically shut autoplay videos up web developers

    Google Chrome will finally automatically shut autoplay videos up web developers


    Google Chrome will finally automatically shut autoplay videos up

    Posted: 26 Mar 2018 02:05 AM PDT

    VSCode - Why is my tab indentation always off whenever I copy and paste?

    Posted: 26 Mar 2018 01:59 PM PDT

    Building a Node.js portfolio site with a blog?

    Posted: 26 Mar 2018 12:32 PM PDT

    I was wondering if building a node just portfolio/ blog was a good idea? I don't want to use WordPress, or any other cms. I'd like to get to know how to build node js apps

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

    Proxly - A tiny + simple JS lib to proxy a list of objects/functions to a single object

    Posted: 26 Mar 2018 12:29 PM PDT

    Success in Web Development career?

    Posted: 26 Mar 2018 01:56 PM PDT

    Is it realistic to get a job a few months after graduation with an associates in Mobile and Web Programming? I'm new to IT and havent really been able to gather any solid information on the field when it comes to job outlook so if anyone can enlighten me on whats necessary to make it as a web developer, I'd truly appreciate it.

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

    If Facebook disappeared, what would happen to React and other libraries they develop?

    Posted: 26 Mar 2018 03:17 PM PDT

    How does the authentication process work on this project? (Node, Passport, Mongoose)

    Posted: 26 Mar 2018 02:36 PM PDT

    This is the project in particular. I'm having trouble understanding how authentication works in this project, more specifically how passportjs works. Here's what I get so far and my questions for each (if any), do correct me if something is wrong (I'll be referring to the frontend/end user as the client) :

    Login
    The client starts by sending his username and password to this route. Upon doing so, this is called which returns a user (if found) to the route. Which in turn creates a token, attaches to the user object and then returns that user object to the client.

    New user
    This is one part I'm not sure I understand. This route takes a username, password and email. It then creates a new user and saves it in the database. Does that mean that the client isn't automatically authenticated upon account creation?

    Routes requiring auth
    Let's that this route for example. How does it know that a user is authenticated? Does it run this middleware because of auth.required? And if that's the case, how does jwt({}) work? Since it isn't comparing the token sent by the client with something in the database, how does it know that the token wasn't forged?

    Logging out
    There doesn't seem to be a logout route, how does the API handle logging out then?

    Thanks for the help

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

    Backend intro for frontend devs: Part 1, Node.js

    Posted: 26 Mar 2018 08:15 AM PDT

    Glamorous vs emotion vs styled components?

    Posted: 26 Mar 2018 11:00 AM PDT

    There are all these new fancy ways to write CSS, can somebody explain to me what is the difference between them and which one should I choose?

    Is there a good reason to switch to them if I'm pretty happy with Sass+Bootstrap?

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

    What's your favorite source for ready to use HTML templates?

    Posted: 26 Mar 2018 04:19 PM PDT

    I'm looking for something similar to html5up.net. I really like that site, but I don't like that it uses jQuery and that weird design framework skel.io. I'm hoping to find something that writes things with vanilla javascript and at most a common CSS framework like bootstrap. I wouldn't mind paying a monthly or one time fee.

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

    Chrome 66 Beta: CSS Typed Object Model, Async Clipboard API, AudioWorklet

    Posted: 26 Mar 2018 02:47 AM PDT

    Prediction of Job Interview Questions

    Posted: 26 Mar 2018 03:58 PM PDT

    Hi, I have created a search engine for predicting software development job interview questions based on the job ad URL. Currently I'm alfatesting it on https://www.bettercoder.io/JobAdQuestions

    Hopefully it will help you on our next job interview. What do you think?

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

    Why React/Vue/Angular over Javascript?

    Posted: 26 Mar 2018 11:39 AM PDT

    Dumb question alert - but honestly I've done some googling and can't find any distinction this side of 2017 as to what the key difference is.

    I've been creating a decent noob-level app for the past few months using (obviously) HTML, CSS and for a lot of functionality and button clicking Javascript. Django provides me with a lot of functionality like user-auth and database stuff.

    I still just don't get what React/Angular/Vue is for? Is it just an easier or sexier way of providing functionality?

    I feel I'm at a critical point in my project where I am potentially wasting time getting things working in Javascript, where as perhaps I should be implementing React. But why?

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

    How to measure Performance of Images on your website

    Posted: 26 Mar 2018 03:14 PM PDT

    Implement a Landlord and Tenant relationship associated with a property in Laravel

    Posted: 26 Mar 2018 02:58 PM PDT

    I'm creating an application for landlords to post properties, then search for tenants and they can send a request to that tenant with a certain property selected to start a tenancy.

    I currently have the basic functionality such as different user types, user profiles, posting property, searching for property.

    What I have at the moment is a landlord can go to a tenants page, click start tenancy, they are presented with a form that is pre-populated with the tenant name, the landlord name and a drop-down of all landlord properties.

    I have a users table, with a user type to differentiate landlord and tenant. They're shown different features/profile pages based are type.

    I have a property table where all properties posted are stored, and relate to a user_id (landlord who posted it).

    The other tables are just for other features. How would I go about registering a tenancy relationship between the two users and a property?

    What code should I provide here? I don't want to post the useless code that puts people off reading it.

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

    how to display api data on webpage

    Posted: 26 Mar 2018 10:36 AM PDT

    Was up r/webdev need help with displaying api data to my html so bascially I have an api data Website so i did

    var = https://api.coinmarketcap.com/v1/ticker/ethereum/ 

    and that outputs

    "id": "ethereum", "name": "Ethereum", "symbol": "ETH", "rank": "2", "price_usd": "484.955", "price_btc": "0.0600121", "24h_volume_usd": "1432650000.0", "market_cap_usd": "47733484116.0", "available_supply": "98428687.0", "total_supply": "98428687.0", "max_supply": null, "percent_change_1h": "-0.22", "percent_change_24h": "-7.18", "percent_change_7d": "-10.15", "last_updated": "1522078454" } 

    ] i want to output price_btc to one of my p tags

    <p id="price_usd"> Price Of said coin </p> <p id="rank"> Rank of coin </p> 

    and so on and on

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

    [Help] Is there any online database service which allows me to get the data via JS and a client to login and upload data through their website?

    Posted: 26 Mar 2018 02:11 PM PDT

    Hi, sorry if the question is stupid/inappropiate but I need to know if there's any service that allows me to set up a database where the client can upload their stuff and I can get that stuff via JS using an API or whatever.

    The database won't be very big (max 500mb) and the website won't be very heavy on traffic (50k visits monthly tops).

    The fields are going to be simple also: title, price, a pic or two, description and that's it.

    Then I need to retrieve the data from my website using JS.

    My client should be able to upload their stuff from the service provider website so that authentication and security stuff is all handled by them.

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

    Twitter Accounts to Follow?

    Posted: 26 Mar 2018 02:04 PM PDT

    I heard somewhere that Social Media like Twitter and Reddit is only as good as you make it. I feel like I could get more out of Twitter. Who/what are good accounts to follow?

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

    My first online shop!

    Posted: 26 Mar 2018 01:52 PM PDT

    Need help planning out a feature, how does this sound?

    Posted: 26 Mar 2018 01:52 PM PDT

    Goal: Let user's allow us to see their dropbox data (passport authentication). I need to attach unique data to each Dropbox file (our own tags, etc). From here I want to let users search for their files using their new tags.

    Issue: Where do I store data and stuff?

    Lets say I hit the dropbox API and get a list back of all of their files. Do I make a new entry into my database (mongodb) for each file and then add a reference to the user_id? And what about updates to Dropbox account, do I set up a cron job to run every night to get new files and index them into my app?

    What do you guys recommend?

    BTW: it is an express.js app w/ mongodb

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

    Looking for advice on moving away from Squarespace

    Posted: 26 Mar 2018 01:50 PM PDT

    At my uni the newspaper uses Squarespace to host their website. I recently joined the team to help digitize the paper using my computer science background. While Squarespace is working, I'd like to eventually move away from it as I feel like it's limited in its features and customization. Would anyone recommend a different CMS that would be worth moving to? Would Wordpress be a good switch or will I run into the same problems a few years down the line? I have a strong grasp on PHP, MySQL, Java (not that helpful for the web), HTML, CSS, and Javascript. It would mostly be me working on the development, but there are a three to four graphic designers that could help out with content placement and styling. Any help is appreciated.

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

    Need help with a react app.

    Posted: 26 Mar 2018 01:33 PM PDT

    I currently work for a company that uses laravel with some standard html, javascript, and css. We are currently starting to add react to our website. We are adding react one component at a time. . However, my boss says that he wants a compete react app and all react components that were built for laravel need to work with the new react app as well.

    What does a "react app" even mean? Doesn't it still need a backend like laravel, express, django, etc..? I don't understand how implementing react into laravel is something different than building a react app.

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

    Database and API hosting service

    Posted: 25 Mar 2018 09:05 PM PDT

    I need to build a small application for my company, just a product comparison page. I don't have much time to spend on it and the IT Dept is unlikely to set up a spot on the server for me where I can set up a backend and DB.
    The database just needs to contain a list of products, and it will only occasionally be updated. Are there any services that can host this data and make it readable by API.
    I don't have time to build a cms, user auth etc so the service should also allow keeper to log in and update the data.
    Is there anything like this, or any other smart solutions to this problem?
    Thanks!

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

    Help with some simple javascript. Trying to pull info from a created value.

    Posted: 26 Mar 2018 12:55 PM PDT

    Hello! I am creating a calculator for estimating test scores, and I am having trouble pulling the calculated answer, and adding or subtracting a number from that. Here is what I have to calculate it:

    document.getElementById("answer").onclick = function() {calculate()} function calculate() { var elass = document.getElementById('a1').value; var mass = document.getElementById('a4').value; var sciss = document.getElementById('a2').value; document.getElementById('a3').innerHTML = 44.694 + (elass*(0.02)) + (mass*(0.041)) + (sciss*(0.044)); } 

    Basically I'm trying to take the output from a3, and add or subtract 6.24 and have it display that number as well. I know this is probably really easy, and I hope I am explaining it well enough. Thanks in advance for any help!

    https://www.w3schools.com/code/tryit.asp?filename=FPQVCOAKT1EZ Here is how the code looks in full if that helps.

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

    No comments:

    Post a Comment