javascript

Optimizing static sites with hugo

Monday, Feb 6, 2017 | 3 min read
Categories: Developer, Meta, DevOps,
Tags: Javascript, Hugo, Web Development,
According to httparchive the average size of a web page in 2016 was around 2.5MB. Now this may not seem a lot in this age where the internet is the primary media delivery platform - but it is worth noting that most web pages serve text as their primary content. Looking at the report sheds light on what constitutes an average web page: The HTML content takes up around 50-60kB. Images, understandably, make up the biggest chunk with ~1.

Making a simple web app blindfolded, and with both arms tied…

Monday, Sep 21, 2015 | 1 min read
Categories: Developer,
Tags: Javascript, Web App, Web Development,

Over the last weekend, I was looking to brush up my web-dev skills (what little I had learned on the side). I decided to make a simple web app for my residents to use (I am a Resident Advisor).

Objective: Display tips, event news, free food notifications provided regularly by RAs and faculty to residents on a website.

Parsing websites on a budget

Thursday, Jul 23, 2015 | 2 min read
Categories: Developer,
Tags: Javascript, Web App, Web Development, Web Scraping, YQL,

Say you are an up and coming web developer. You want to make a web app that can access content on other sites. Perhaps you want to make a word cloud from a news article on BBC. Or you want to see what videos a site has embedded within itself. You could achieve that by doing some server side voodoo. The ‘standard’ way to go about it would be to download the site to your server and then serve its contents to your webpage.  But that would require two things: