• Breaking News

    Sunday, April 29, 2018

    I'm only going to pay $9.9999999, and not 1/100000th of a cent more... web developers

    I'm only going to pay $9.9999999, and not 1/100000th of a cent more... web developers


    I'm only going to pay $9.9999999, and not 1/100000th of a cent more...

    Posted: 29 Apr 2018 10:45 AM PDT

    Meet Material-UI — your new favorite user interface library

    Posted: 29 Apr 2018 06:23 AM PDT

    What is a scalable way to design a follower/followed system in MYSQL?

    Posted: 29 Apr 2018 06:56 AM PDT

    Hi everyone, I'm thinking about implementing a following system for my project, but I have doubts about my solution, which would be a simple table with two columns: user_id and followed_user_id.

    While this would easily work for a few users, I have no idea if the system would scale for millions of them, in the 1% chance that it happens.

    1 million users following an average of 200 accounts would be 200 million rows. With 10 million we reach 2 Billion lines.

    I won't reach those numbers but Twitter, for example, did. What is the best way to handle the situation?

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

    I created a small yet challenging list of apps to build -- part II

    Posted: 29 Apr 2018 10:22 AM PDT

    My First ever React App. Took many hours to make. Not perfect though. (There is issue data loading from insecure resource). Looking constructive criticsim.

    Posted: 29 Apr 2018 02:33 PM PDT

    Is Bootstrap still important to learn?

    Posted: 29 Apr 2018 03:11 PM PDT

    I'm going through Colte Steele's Udemy course and learning bootstrap, just want to know if it's still widely used and important for me to know?

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

    How do you guys stay up to date with webdev technologies besides reddit?

    Posted: 29 Apr 2018 01:00 PM PDT

    Just curious what other websites you guys use to stay up to date in the tech field, whether it be HTML, CSS, Javascript, Python, etc.

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

    Anyone recommend a good CSS resource?

    Posted: 29 Apr 2018 12:49 PM PDT

    I know CSS well enough to pass an interview but when I start a project, I'm terrible. I have the most trouble with layout. Can anyone recommend a resource where I can learn or practice applying modern css with best practices?

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

    Have any of you taken an IKM test?

    Posted: 29 Apr 2018 02:47 PM PDT

    I just finished an IKM test for a recruiter and I was wondering what a decent score for an entry level web developer is. This was my first time taking a test related to Javascript and I scored a 74/100 which put me at 39 percentile. Is that good enough to start interviewing? What are your thoughts on those tests? Thanks!

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

    Handling Static Forms, Auth & Serverless Functions with Gatsby on Netlify

    Posted: 29 Apr 2018 12:32 PM PDT

    Site monitors say website is down. Bluehost disagrees.

    Posted: 29 Apr 2018 11:43 AM PDT

    Using uptime robot, pingdom and jetpack to monitor a site and they are all saying the site is down.

    Bluehost disagrees and while I can access a non-cached version, I need to find out why are all the monitors saying the site is down? What am I missing?

    When I ask bluehost to migrate my site a different server they respond "There are no errors so we cannot troubleshoot."

    P.s Anyone know how I rapidly migrate a wordpress site to AWS should it come to that?

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

    How do I style Bootstrap elements?

    Posted: 29 Apr 2018 09:41 AM PDT

    I understand that it's bad code to put !important after each style but looking at the Bootstrap stylesheets, certain elements follow lines of code with !important. Is there any way to go around this short of downloading Bootstrap and deleting styles you don't need from the stylesheet? Thanks!

    Edit: Thanks for the input, everyone!

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

    I'm making YouTube tutorials and need your suggestions...

    Posted: 29 Apr 2018 04:54 AM PDT

    Hi all,

    I'm a full stack developer (PHP, JS, HTML&CSS) with a background in design too. I've recently started a YouTube channel and I'm looking for ideas for tutorials to create. Do you guys have any suggestions of in-depth tutorials that you'd like to see and can't seem to find online?

    I've started with a tutorial on Laravel and React (as video guides for this stack seem to be scarce) - if anyone's interested, here's my channel (https://www.youtube.com/channel/UCvL4RyjnJ_x8yiO1e6qLkgw)

    I look forward to your suggestions.

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

    How to present a searchable list/catalogue?

    Posted: 29 Apr 2018 03:29 PM PDT

    Hi, Here's where I'm at: i have a couple of thousand movie entries, with title, director, date, etc.. Since I will not be updating this catalogue, I was thinking that I can make an XML file of it, or JSON, that part is fine, and then use JavaScript, html and css to create an attractive webpage in which this data is loaded and users can browse, search, and potentially click for more details. I'm pretty sure this is an easy problem for which there is pre-made code. Possibly using React.js. I want to start with such code and customize it, but I haven't found it yet. Can anybody point me in the right direction, either for such a code example itself or for repositories that might have it, or of course to tell me I'm going about this the wrong way? Thanks so much.

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

    Any others frameworks like Strapi?

    Posted: 29 Apr 2018 03:13 PM PDT

    Are there any other frameworks like Strapi?

    I want to build a small system that consumes and outputs excel spreadsheets, along other simple data (users, sales, and so on ..). I discovered about Strapi and before checking it out i would like to see more alternatives (besides building the system in Laravel for example)

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

    This is new data of the Pleiades star cluster from the gaia space probe. How would I go about rendering it in 3d in my browser so I could fly though it?

    Posted: 29 Apr 2018 09:13 AM PDT

    Django-cms or wordpress? Balancing future proofing with usability.

    Posted: 29 Apr 2018 02:51 PM PDT

    Wife is starting a business and will have subscription membership section. She is not technically inclined and I'm an intermediate Python programmer, mostly using it for data science.

    I don't mind spending the time to get it up to snuff, but once it's deployed and tuned, it would be nice for it to be low maintenance for her to add content without needing me. I like the idea of versioning in Django, but fearful it will never be user friendly for someone like my wife.

    Can any of you speak to the difference from an end user perspective?

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

    MeasureThat.net is the website to create and run JavaScript benchmarks. It uses BenchmarkJS (v.2.1.1) as a test runner.

    Posted: 29 Apr 2018 02:15 PM PDT

    Do Google developer console breakpoints in a new tab?

    Posted: 29 Apr 2018 01:49 PM PDT

    When I set some breakpoints on a source in developer console then I close the tab and reopen it my source in developer console still contains the breakpoints I set, but the actual pause at any breakpoint did not occur.

    If I refresh the page however, the breakpoints work as I would expect them to.

    Do breakpoints not work on initial load?

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

    How to handle AJAX POST requests? VanillaJS / node/express without re-loading the page?

    Posted: 29 Apr 2018 01:46 PM PDT

    Greetings. I've googled and tried to research this question but am stuck. I'd very much appreciate insight.

    I am trying to make a To Do app that posts a user's input to the server (saves to the server) and then also sends something back such that it can be added to the page - without having to reload the page. I am using vanilla Javascript for the clientside and node/express/body-parser on the backend.

    I am sending the form's input value and to the server via an AJAX POST request. If I use event.peventDefault() when submitting then the req.body gets sent as empty: { }. Why is that? If I don't use preventDefault(), then the page hangs until I do something with the response in my post route handler. Anything I try to do with the response, however, seems to reload the page (res.render, res.redirect, res.send, ect.). This makes the AJAX part of it pointless, right?

    Ideally, I'd like to post and get data without the user's page reloading. Is it usually the case that saving data to the server and also wanting to send back new objects to the client has to be done by reloading the user's page?

    Here is my code if it helps...

    app.js

    const EXPRESS = require('express'); const PATH = require('path'); const bodyParser = require('body-parser'); var urlencodedParser = bodyParser.urlencoded({ extended: true }); const app = EXPRESS(); app.set('view engine', 'ejs'); app.set('views', PATH.join(__dirname, 'views')); app.use(EXPRESS.static(PATH.join(__dirname, 'public'))); app.get('/', function(req, res){ res.render('queue', {queueItems: queueData}); }); app.post('/queue', urlencodedParser, function(req, res){ console.log('hit the post /queue route'); console.log(req.body); //empty if I preventDefault() on the client script res.render('queue', {queueItems: queueData}); //this reloads the page }); var queueData = [ {item: 'Make non-database AJAX todo app!'}, {item: 'get code changes on live server (via git)'}, {item: 'install and configure postgresql on localhost'}, {item: 'dance dance dance'} ]; app.listen(8080, () => console.log('Listening on port 8080...')); 

    queueScript.js

    var queueForm = document.getElementById('queueForm'); queueForm.addEventListener('submit', addToQueue); function addToQueue(e) { // e.preventDefault(); //this sends an empty req.body: {} var xhr = new XMLHttpRequest(); xhr.open('POST', '/queue', true); xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xhr.send(); xhr.onload = function(){ if(this.status === 200){ console.log('status 200'); }else { console.log('something went wrong...'); } } } 

    queue.ejs

    ... <form id="queueForm" action="/queue" method="POST"> <label for="addTaskToQueue">Add to Queue:</label> <input id="addTaskToQueue" name="item" type="text" placeholder="e.g. reheat coffee" required> <input type="submit"> </form> <ul> <% queueItems.forEach(function(listitem) { %> <li> <%= listitem.item %></li> <% }); %> </ul> ... 
    submitted by /u/PAPA_JAY-JAY
    [link] [comments]

    How to host a website with huge traffic spikes?

    Posted: 29 Apr 2018 01:11 AM PDT

    I manage web development and hosting for a pretty big client who will get ~5k pageviews on the website daily, but when he decides to drop a new content on the site traffic can go up to 100k or more in a day. I'm serving static HTML/CSS/JS files and a few assets served upon request that get no bigger than 5MB. So, besides the extra assets, the entire website is only .5MB. To host this, I've been using a Dedicated Godaddy Server with 16GB of memory. It's probably overkill, so I want some recommendations on what to get.

    Also, I've been running into a lot of issues when I upload new files onto the server. When I upload, the website will serve corrupted versions of the files, and stay like that for up to two hours. It's very unpredictable as to when the FTP transfer will work, so if a Dedicated Server is what I need, how do I fix this issue?

    Thanks!

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

    How to design a service without having money using a JS Stack and Docker

    Posted: 29 Apr 2018 02:53 AM PDT

    Explore the Amazon Web Services Management Console

    Posted: 29 Apr 2018 08:29 AM PDT

    No comments:

    Post a Comment