• Breaking News

    Tuesday, December 5, 2017

    Introducing Turbo: 5x faster than Yarn & NPM, and runs natively in-browser web developers

    Introducing Turbo: 5x faster than Yarn & NPM, and runs natively in-browser web developers


    Introducing Turbo: 5x faster than Yarn & NPM, and runs natively in-browser

    Posted: 05 Dec 2017 08:26 AM PST

    ESPN Web Accessibility Guide

    Posted: 05 Dec 2017 05:37 AM PST

    Cthulhu Ipsum

    Posted: 05 Dec 2017 05:30 AM PST

    Learn to build modern front-end in Rails through beginner-friendly tutorial. Part 1

    Posted: 05 Dec 2017 09:47 AM PST

    Huge spike in 800x600 traffic - can't figure out why?

    Posted: 05 Dec 2017 06:50 AM PST

    Last week we had a huge spike in 800x600 traffic. https://i.imgur.com/vJj1lwz.png

    From about 1-10 a day to 6627 session in one day.

    Anyone else experienced this. First I thought it was a bot, but usually analytics is pretty good at ignoring that.

    Second thought was that it was some newly released andoid phone but then it dropped back down.

    I have no idea what to make of this, anyone have a guess?

    EDIT: I broke down the numbers as best as I can, browser is Chrome on Linux x86_64, from Amazon on Ireland

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

    Why I Like Netlify

    Posted: 05 Dec 2017 08:26 AM PST

    JavaScript Closure == TURN Local Variables To Private Variables.

    Posted: 05 Dec 2017 02:08 AM PST

    How exactly does React handle events?

    Posted: 05 Dec 2017 06:53 AM PST

    How do I "convert" a blob audio file to an .ogg file with Node.js?

    Posted: 05 Dec 2017 07:55 AM PST

    I am recording an audio file on the frontend using the mic and I want to send this blob file to my Node.js backend where I can "append" the right format (.ogg) and then save this to S3.

    Or should I just be storing the blob file in S3 and then use createObjectURL on the clientside for playback?

    Any tips?

    EDIT:

    On the client I am using the browser's mic to record audio and the result is this:

    Blob(36433) {size: 36433, type: "audio/ogg; codecs=opus"} 

    I then send the data to my Node.js server and attempt to save the file:

    req.on('data', (data) => { fs.writeFileSync('someAudio.ogg', data); }); 

    However, the .ogg file does not work, it seems corrupt or something. Do I need to encode it? It seems like it's already encoded on the clientside?

    Maybe I am sending the blob file incorrectly to Node.js?

    addAudio(projectId, blob) { let formData = new FormData(); formData.append('upload', blob); return this.httpClient.post('http://localhost:3000/api/projects/audio/' + projectId, formData, {responseType: "blob"}); } 
    submitted by /u/Ryan_77
    [link] [comments]

    Will it be hard to find a web development job as a foreigner and what would be expected of me on that job considering I will not have any experience other than what I have done for University and in my spare time?

    Posted: 05 Dec 2017 01:55 AM PST

    Long story short, I am in my last year of University and I am starting to wonder if it is gonna be hard to get my first web developer job and what would be expected of me on that job considering I will be with no experience other than what I have done for University and in my spare time.

    My Bachelor's degree is computer science related and I've been getting into web development since my second University year. I believe I am efficient with HTML, CSS, JavaScript ( Mostly jQuery ), Node.js ( Using Express), PHP, MySQL & Ajax. In the near future I'll begin learning Sass and Laravel.

    Putting aside all the small and random stuff I have done whilst learning these technologies, I have created 2 ( relatively time consuming ) projects for myself. The first one was a media sharing website written using HTML, CSS, JavaScript ( jQuery ), PHP ( Recently I remade it using Node.js ), MySQL & Ajax that allowed the user to:

    • Register
    • Login
    • Logout
    • Edit profile page
    • Upload a single image
    • Upload several images that would be grouped in an album
    • Apply tags to the images & albums he uploads
    • Upvote & downvote images and albums ( only once, afterwards the user can change from upvote to downvote if he wants to )
    • Access all images & albums that share specific tags
    • Add comments
    • Delete images and albums uploaded by himself

    The are users who have admin permission and are able to:

    • Delete other users' images ,albums & comments
    • Add new tag categories

    The second one on which I am currently working, takes a video game's API and displays all kind of information about users & champions like stats, leader boards , win ratio of users and champions and more game related stuff.

    Now I have 2/3 of the school year before I graduate and I still have time to learn and expand my knowledge and portfolio but frankly, I am really curious what would be expected of me on my first job, even if it is an internship. For all I know, my way of coding could be extremely different compared to a experienced web developer. Also what would be expected of me on the interview? Will they ask me questions about the languages/technologies or will they just give me a small coding task? On top of it all, I am going to try my luck in UK or Ireland but I fear that because I would be a foreigner, I would be the last resort of the recruiters. Any insight will be extremely helpful.

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

    Site I made to try something new and to use with my friends to share files that are larger than discord allows.

    Posted: 05 Dec 2017 12:18 PM PST

    Site: http://qdrop.xyz

    Hello,

    Im not new to web development as I do it in my day job. I took a quick project that I thought was unique and made it. The idea is that this site would let a use just go to it and upload a file to share to friends or on another site. The reason files aren't kept for long are mostly because its usually one off shares or after a week most things are forgotten about since the hype has died down. I dont really like file storage sites because they require accounts or limit file sizes or limit how much you can download. Its just something small and really the first project ive fully completed so i just wanted to share.

    Tech used:

    • AngularJS
    • NodeJS
    • MongoDB

    Development process:

    I started off just thinking of a normal file share site like all others where you can upload a file, see it, share it, download it. I then made that without accounts as a test. Having a few people try it and see just crap uploaded i thought well fuck ill let people choose to purge their files after sometime, that then became the core idea of the site.

    I first started off with having the files download directly to my server into folders using a UUID as the folder name and that file uploaded into the unique folder. This wasn't a bad idea but then I was pointed out that some files could possible be executed or cause a number of issues. So i switched to using MongoDB which I think was the better move anyway since i already know how to use it at work.

    When a user uploads a file they have the option to select a file and how long till the file will be purged and thats about it.

    Issues To Overcome:

    The biggest issue with a site like this is storage and network transfer allowance as most hosts make you pay a lot for a large bandwidth and storage. Right now its on a home server of mine so I cant push for people to use it that much yet.

    Plans:

    I want to add a way for users to see their previously uploaded files but I want to keep it account free. I thought of leaving it how it is now and allow accounts optional and when a file is uploaded with a logged in user their link will be saved to their account and can view it till its purged. I also had the idea that I would just have a search/view all uploaded files page.

    Thanks for taking a second to read about my site and how it came about.

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

    New Subreddit for Discussing Structured Data

    Posted: 05 Dec 2017 05:22 AM PST

    I started a subreddit to discuss the user side of structured data (things like Google's Rich Snippets): /r/schemadotorg

    submitted by /u/calligraphic-io
    [link] [comments]

    Have a service post to localhost?

    Posted: 05 Dec 2017 05:55 AM PST

    We are using an external service for a feature of our web app. This service requires a url to which it posts some data. Is there any way we could redirect that data to localhost so we can test this without deploying our application?

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

    is there a place to ask for help

    Posted: 05 Dec 2017 06:34 AM PST

    Hey, I'm building a personal website right now and I'd like to ask for someone's help with ssl encryption. I've done something wrong and it won't work as it should

    is there a subreddit to ask for help in webdevelopment like /r/AskALawyer but for help with websites? thanks

    FIXED SEE BELOW TO AVOID xkcd situation

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

    Getting back into web development need some help

    Posted: 05 Dec 2017 01:17 PM PST

    So I took about a 2 month break from teaching my self web development. Got a new position at my current job but still want to switch careers into web development. Anyways, I'm trying to start back I've done Colt Steele course and got to about basic algorithms on FCC. I'm just trying to figure out what I should do to get into the swing of things I had started a HTML/CSS page but never finished it. I just need some direction on where to start again.

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

    So I have went from developing software to B2B sales...

    Posted: 05 Dec 2017 03:51 PM PST

    Hey all,

    Not sure where the hell this should go, in terms of threads, but thought I would try here. To give you a bit of background, I've spent 2-3 years as a FE developer, but had been running tech events, and hackathons on the side. The opportunity then arose to turn the hackathons into a business, and more of the stuff I learn now is B2B sales. My pitch here isn't about our business at all, but it's more if people here think it could be worth documenting some of this stuff? The reason I say this, is that I believe that being able to sell yourself as a developer is important when it comes to negotiating salaries (actually getting paid your worth), making a business case, go to do a startup etc. and I actually am enjoying alot of the stuff I am learning and so wanted to find out if it is something that other devs may benefit from or want to learn in any shape or form? If not, it's cool and apologies if wrong thread, but would love to hear your thoughts.

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

    How to approach large data?

    Posted: 05 Dec 2017 05:12 AM PST

    I have very limited knowledge and have a question.

    I am doing a site that holds a lot of info that the user can navigate through. Mostly by using filters to get the exact result they want. Whats a smart approach to this? Do i just scan the internet and write it all down on notes.. then from there type the whole dababase into to the website? It seems like there should be another way to handle large amount of info.

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

    Tips on Building a good PWA....

    Posted: 05 Dec 2017 03:39 PM PST

    Anyone have any good tips on building a good PWA, I'm aiming for 85% of native type of "feeling" to it.

    Like use CSS grids and Vue JS for some fancy things.

    Anyone have any good tips?

    The biggest obstacle is making it on-boarding people smooth and seamlessly.

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

    How to energize your scary terminal with helpful little scripts

    Posted: 05 Dec 2017 06:38 AM PST

    Me and couple friends from school built "link archiver" bot for Discord and we're somewhat proud of it. Check it out if you will

    Posted: 05 Dec 2017 03:17 PM PST

    First things first: here's link for the pretty part. For the curious and the brave one's out there: here's link to the repository.

    Usage of the bot is fairly simple. The main feature revolves around one command which goes:

    !link <url> [title: My title] [tags: foo, bar] 

    Where title and tags are optional arguments. When successful the bot saves the given url into database.

    But what happens to the links? We display them neatly (or at least almost) on a website where you can filter them by tags and search for that special link that you saw 3½ months ago somewhere on your server.

    And if you're wondering why we are even little proud of this project; we actually finished it (it's still MVP though). As crazy as it sounds not too many projects here reach this level of development and determination.

    Anyways, this post took much longer than I thought it would so I'm gonna cut this little short here. We would absolutely love to hear your thought no matter if it's about the design, actual code, the bot's name, the commit history, readme etc. You can leave them here or in the repository. Cheers!

    TL;DR Try out our bot on your discord server

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

    How to combine Jasmine and Gulp?

    Posted: 05 Dec 2017 05:21 AM PST

    What is the best way to automate Jasmine tests with Gulp? Which packages do you use?

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

    Where do you draw the line between analytics and privacy?

    Posted: 05 Dec 2017 11:04 AM PST

    Hi /r/webdev

    I admit, I'm an imposter. I'm actually a Sysadmin (if I'm embellishing) who took on the role of redesigning the company website about a year ago. There have been some bumps in the road, but things are looking really good, and we are on track for a January 2018 launch.

    Recently, our marketing guy reached out and wants to have a meeting about analytics. Specifically, he is interested in installing the Crazy Egg Extension to our site. I'm sure you all know what exactly the extension does, but from my basic research it seems to track and log all your visitor's web traffic to an almost uncomfortable degree. I get the value of page views and clicks, but things like scroll maps, heat maps and full on session recordings really make my privacy bells ring. My research into the extension hasn't uncovered any merit to these concerns; no one else seems to talk about the privacy concerns with software like this, but it still makes me uneasy, and I'm not sure if the data we are going to get is worth being so invasive. We are a public library, so patron trust is way more important than "sales," or anything like that, though I understand my coworker's desire to figure out what is working on the new site, and what isn't.

    BUT, I don't do web design professionally. Maybe I'm just being overly paranoid. So what do you guys do? Do you find value in these extensions? Are the privacy concerns overblown? If I'm on the right track, what do you normally tell a client to dissuade them from using such tools? My boss (the IT manager, who will be going to the meeting with me) is on the same page as me, but I feel like saying "it makes me uncomfortable" isn't a good enough reason.

    Thanks in advance!

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

    ELI5: What is the difference between the CSS flexbox and CSS Grid system, and when should I use them?

    Posted: 05 Dec 2017 02:40 PM PST

    Caching a JSON API

    Posted: 05 Dec 2017 02:31 PM PST

    I've got a wordpress JSON-API based by quite a complicated database lookup which can take up to 3 seconds to come back.

    There are about 10,000 possible combinations of queries and I wrote a script to preprocess each possible combination and call the API via cloudfront. This worked great and calls to the API via cloudfront were now down to about 12ms.

    However cloudfront seem to remove the cached responses after a couple of days and it seems to be in their terms that they may do this (the traffic is very low, but it's important it works fast). Expires headers were set for months and no-cache headers were removed so I don't think it's that.

    Any ideas on an alternative CDN or caching service/system that will keep these items until we request them to be purged? Worst case I'll write my own but a plug and play service would be much better.

    Thanks in advance guys!

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

    No comments:

    Post a Comment