Author: Dan Q
Dan Q is a software engineer, a director of a voluntary organisation, a trainee counsellor, a keen geocacher, and an amateur magician. He lives with his partner and her husband in a polyamorous triad, and occasionally finds time to blog.
-
Minimal Google Analytics Snippet
<script>
(function(a,b,c){var d=a.history,e=document,f=navigator||{},g=localStorage,
h=encodeURIComponent,i=d.pushState,k=function(){return Math.random().toString(36)},
l=function(){return g.cid||(g.cid=k()),g.cid},m=function(r){var s=[];for(var t in r)
r.hasOwnProperty(t)&&void 0!==r[t]&&s.push(h(t)+"="+h(r[t]));return s.join("&")},
n=function(r,s,t,u,v,w,x){var z="https://www.google-analytics.com/collect",
A=m({v:"1",ds:"web",aip:c.anonymizeIp?1:void 0,tid:b,cid:l(),t:r||"pageview",
sd:c.colorDepth&&screen.colorDepth?screen.colorDepth+"-bits":void 0,dr:e.referrer||
void 0,dt:e.title,dl:e.location.origin+e.location.pathname+e.location.search,ul:c.language?
(f.language||"").toLowerCase():void 0,de:c.characterSet?e.characterSet:void 0,
sr:c.screenSize?(a.screen||{}).width+"x"+(a.screen||{}).height:void 0,vp:c.screenSize&&
a.visualViewport?(a.visualViewport||{}).width+"x"+(a.visualViewport||{}).height:void 0,
ec:s||void 0,ea:t||void 0,el:u||void 0,ev:v||void 0,exd:w||void 0,exf:"undefined"!=typeof x&&
!1==!!x?0:void 0});if(f.sendBeacon)f.sendBeacon(z,A);else{var y=new XMLHttpRequest;
y.open("POST",z,!0),y.send(A)}};d.pushState=function(r){return"function"==typeof d.onpushstate&&
d.onpushstate({state:r}),setTimeout(n,c.delay||10),i.apply(d,arguments)},n(),
a.ma={trackEvent:function o(r,s,t,u){return n("event",r,s,t,u)},
trackException:function q(r,s){return n("exception",null,null,null,null,r,s)}}})
(window,"XX-XXXXXXXXX-X",{anonymizeIp:true,colorDepth:true,characterSet:true,screenSize:true,language:true});
</script>
Minimal Analytics
This is cute: a Google Analytics code snippet that results in a payload about a fiftieth of the size of the … -
You probably don't need a single-page application
The meteoric rise of front-end frameworks like React, Angular, Vue.js, Elm, etc. has made single-page applications ubiquitous on the web. For many developers, these have become part of their ‘default’ toolset. When they start a new project, they grab the tools they know already: a REST API on the backend, and a React/Angular/Vue/Elm frontend.
Is there … -
Post-it Note Affirmations and the Amazon Dash
The amazon dash is a pinnacle of modern web design. It's one of the most intrusive, complex, and resource-dependent devices we've introduced into our homes, yet it appears as a simple oval with a single button for a single use. The use is absurdly narrow: the button will have a picture of Tide detergent, and …
-
Woke up this morning bleeding from the neck. Surprise #vampire attack?
-
IRL Special - VidCon London 2019
Rebecca Huntley (YouTube)
New Family Vlog day is like Christmas. This one shows the highlights of my sister's trip to VidCon London. -
Honey, I autotuned the cat
Autotuned the cat because he won't shut up in the mornings. I don't know how this helps but I did it anyway.
@joabaldwin (Twitter) -
TRRTL - Logo on Coffee
TRRTL.COM: CoffeeScript-powered Logo-like turtle graphics. On the Web.
-
Newtown bypass in Powys opens after 70-year wait
Town's bypass opens after 70-year wait (BBC News) It was 1949 when highways officials started to look at traffic issues affecting Newtown.
A multi-million pound bypass that has been 70 years in the planning officially opened in Powys on Thursday.
One haulier said Newtown bypass will make a "big difference" due to 45-minute hold-ups … -
Programming is just solving puzzles
‘Programming is just solving puzzles’ - Nominet (Nominet) As a child, I wanted to be a botanical researcher. I loved being outdoors and used to visit the botanical gardens near my house all the time. My grandma inspired me to change my mind and helped me get interested in science. She lived in the country …
-
Shouldn't We All Have Seamless Micropayments By Now?
Shouldn’t We All Have Seamless Micropayments By Now? (WIRED) The web’s founders fully expected some form of digital payment to be integral to its functioning. But nearly three decades later, we're still waiting. Back in the 1990s, when Tim Berners-Lee and his team were creating the infrastructure of the World Wide Web, they made a …
-
Let's bring Fan Sites and webrings back!
Let's bring Fan Sites and webrings back! - bryanlrobinson.com (bryanlrobinson.com) In the days before the web was mainstream, it was a place of creation. First for education, then for every random idea that any creator had!
As the web transitioned from a network of educational institutions to the consumer force it is today, the early adopters … -
#strawfiechallenge
#strawfiechallenge - 1 minute of simulated breathing difficulty in recognition of sufferers of cystis fibrosis
Today I'm attaching a clothes peg to my nose and breathing through a straw for 60 seconds. As I won't be able to talk while I'm doing this, I'll type an explanation why:
Like most people, I've spent most of … -
Hello, Friendly Insurance Salesman!
After a long chat with a car insurance salesman, Dan says thanks. Also: sorry.
-
Saw this and thought of you, @themissprince: cantunsee.space
Still have "the eye" for pixel-perfect design? #UX -
What If English Were Phonetically Consistent?
YouTube (youtube.com)
Aaron Alon (YouTube)
I'm reminded of an old joke (best read aloud), which I'll repeat for your amusement:
The European Union commissioners have announced that agreement has been reached to adopt English as the preferred language for European communications, rather than German, which was the other possibility. As part of the negotiations, …







