PHPNews

How I got AWS running inside Netlify

In a recent attempt to move away from Google analytics I wanted to be able to run the AWS command line tool from inside of Netlify's build process. Except it turns out it wasn't so easy to get AWS's environment variables in Netlify because Netlify have some undocumented reserved environment variables: …

Continue reading »

Written by Remy Sharp - - Aggregated on Saturday May 18, 2019


Bare Import Cost

This post is about import in JavaScript. This post, I'm afraid doesn't have any grand solutions or even semi-grand conclusions. In fact, by way of disclaimer, this is more of a stream of concious thought. In my travels across the web lately, I keep coming across JavaScript libraries whereby the very first line in …

Continue reading »

Written by Remy Sharp - - Aggregated on Friday May 10, 2019


Search & dynamic shortcut links for a static site

In porting my blog from Heroku to Netlify there were a few dynamic aspects that I had to reconsider in moving to a fully static hosting platform. Two features, which in my case, are closely connected, were search and dynamic shortcut links. These shortcut links meant that I could visit remysharp.com/twitter and it …

Continue reading »

Written by Remy Sharp - - Aggregated on Thursday May 2, 2019


All your envs in a row

If you've used Zeit's Now platform you'll know to get your environment values readable by your code, you have to jump a few hoops. There are solutions in place, you can put your environment values in a now.json file and you can use the zeit/now-env to read the values during dev, but I'm not a fan. My …

Continue reading »

Written by Remy Sharp - - Aggregated on Wednesday April 24, 2019


How to put your kid in Scratch

I was asked by a few parent friends how I put my kid in Scratch , so here's my guide to how to put (and animate!) your kid in scratch ala: 1. Photos I used my phones camera to capture these pictures. He changed his pose as I took each picture. You should try to find a relatively visually quite surroundi…

Continue reading »

Written by Remy Sharp - - Aggregated on Monday April 15, 2019


Code highlighting: server or client?

Recently I posted a quick poll to Twitter asking: Do you think syntax highlighting (in blog posts, examples, etc) be in client side or server side? For the first half of the day the poll ran, client side held 2/3rds of the votes. It ended with a 60:40 split between client and server. Though (without …

Continue reading »

Written by Remy Sharp - - Aggregated on Tuesday April 9, 2019


How I failed the

A real bug bear of mine is when JavaScript gets in the way of browsing a page on the web. Simple, but common things like time to interactive being delayed for no good reason, or, in this case, links that don't work like links. I'm guilty of this too, so this is my post to call myself out and to (ideally) prevent …

Continue reading »

Written by Remy Sharp - - Aggregated on Thursday April 4, 2019


Twitter without tracking

Recently I've been using the DuckDuckGo browser extension that gives me a web site privacy score but also the number of trackers (blocked) on the web site which I've enjoyed getting insights on what has been blocked. Seeing trackers surfaced in this way made me aware that by including a "here's me on …

Continue reading »

Written by Remy Sharp - - Aggregated on Tuesday April 2, 2019


Slashed URI

Trailing slashes in URIs, or URLs or UDI ( surprisingly ). What the heck do they actually mean, do they have any user or technical value and should I be including them??? Inheritance from Unix A slash in the URL is a hang over from Unix days. A slash / (not to be confused with a backslash \ ), denotes a …

Continue reading »

Written by Remy Sharp - - Aggregated on Monday March 25, 2019


#Web30

This week marks the 30th birthday of the web. I've had my own involvement in this momentous date in history with being part of the WorldWideWeb restoration team at CERN last month, and having returned from the #Web30 event yesterday (both at CERN and at the London Science Museum), I thought it fitting to pay tribute …

Continue reading »

Written by Remy Sharp - - Aggregated on Wednesday March 13, 2019


Excavating a user agent

Warning: this is a tale of geek's own adventure into the dark depths of old webby stuff that really doesn't work well! In collecting coverage for the CERN project to recreate the first browser, the WorldWideWeb, I came across an interesting issue discussed on Metafilter . Specifically: MetaFilter seems to …

Continue reading »

Written by Remy Sharp - - Aggregated on Monday March 4, 2019


WWW: Where's the Writable Web?

This post is based on my experience and thoughts, and is not backed up by research, aka: speculative, akin more to a rambling in a café! For my time at CERN recently we rebuilt the first browser: WorldWideWeb (later renamed to Nexus). One unique aspect of this browser was that you could edit web pages. Indeed, the …

Continue reading »

Written by Remy Sharp - - Aggregated on Thursday February 21, 2019


CERN day 5: the end

What a packed week, what an honour and privilege to be part of, and what a superb job we did. It's all live now: the project and all supporting materials online with all our original goals achieved

Continue reading »

Written by Remy Sharp - - Aggregated on Monday February 18, 2019


CERN day 4

Another long day from 9am to 10pm coding, conferring, braining, hacking and edging towards our goal: recreating the world's first web browser: WorldWideWeb.app. It's amazing the speed of the progress we're making, but I feel like we get to cheat a little by leaning on the collective decades of engineering that goes …

Continue reading »

Written by Remy Sharp - - Aggregated on Friday February 15, 2019


CERN day 3

The day's work has really started to intensify, particularly as the pressure mounts (certainly in my head) that the project needs to be fairly usable over the next couple of days. It's also the first and last day that the whole team is together. Brian Suda arrived from Iceland last night (Tuesday) and …

Continue reading »

Written by Remy Sharp - - Aggregated on Thursday February 14, 2019


CERN day 2

Though my body clock says it 7:30pm it feels like it's midnight—it's been a long, busy, interesting and surprisingly productive day. (Oooh look, the old NeXTcube with WorldWideWeb browser can see yesterday's blog post!) Digging into memories The team had a short morning of coding and trying to …

Continue reading »

Written by Remy Sharp - - Aggregated on Wednesday February 13, 2019


CERN day 1

This marks the beginning of a week long adventure in Geneva Switzerland at CERN, to work on a hack project. The project is to rebuilding the very first web browser, aptly called WorldWideWeb (though shortly thereafter being renamed to Nexus, since…the whole world wide web thing being a bigger deal). This …

Continue reading »

Written by Remy Sharp - - Aggregated on Tuesday February 12, 2019


Should I add another dependency?

This is, by far, not the first post on this topic, but it's something that I've considered for years and years and recently I was presented with the question again. Though this post is through a node perspective, it applies to front end development too. The recurring question When I run workshops a …

Continue reading »

Written by Remy Sharp - - Aggregated on Friday February 1, 2019


A Toe in TypeScript

I was watching a short video recently where the author was using TypeScript, except the only TS'ing thing about their code was the file extension. Otherwise it looked identical to the JavaScript I've come to love. Since I finally joined the React train, I thought it might be time to take a more serious look at TS, …

Continue reading »

Written by Remy Sharp - - Aggregated on Wednesday January 23, 2019