8704 #steps today
8704 #steps today
Those last two notes posted using latest Web Action Hero Toolbelt, now with select-to-quote UI #webactions #indieweb #quoting
If content is important to you, keep it close. If your content is important to others, keep it close and well backed up.
by Drew McLellan (source) #indieweb
Empower yourself. Your friends. Your community. But push yourself to go further, because you can.
– Tantek Çelik (source)
Drew McLellan well maybe that’s going a bit far, but morrisoffspring are a bit awesome #folk
That excellent post of Tantek Çelik’s, like all well–hyperlinked documents, lead me to a whole raft of great #indieweb resources I hadn’t come across before:
(In other news: I need to make a “dump tabs into new note dialog” browser #extension)
bruce lawson “yee-haw”, surely :)
pcntl_wait($status); //Protect against Zombie children
Every now and again the otherwise banal PHP docs make me laugh.
6947 #steps today
Cross-browser selection UI injection flow:
mouseup
on body
window.getSelection()
s.isCollapsed === false
, returns.getRangeAt(0)
r.surroundContents(e)
e.innerHTML
and e.textContent
now return useful values, and e’s coordinates can be used to inject UI into the pageTo resolve: what element should e be? Or more accurately, what display property should it have? Possibly inline-block
(inline mucks up if selection is across block elements, block mucks up selections within text nodes)
r.surroundContent
, namely that it does not handle partial element selections. See MDNs explanation and solution.
Jovian Salak alternate solution: we throw a DIY pizza party with recitals of Half Caste, as a joint leaving party
Jovian Salak I know the solution: a farm nearby is selling a small hay bale (£3.50). Let’s buy it and roll it to the #mound.
Jovian Salak oh crap I was way off — I thought it was in May?!
Cleaning the Room by ftrain is one of the most visceral things I have ever read #bookmark
“I am not a number, I am my domain name”
— Tantek Çelik eloquently summarises #indieweb thinking in On Silos vs an Open Social Web #bookmark
Trawling through Dubliners CDs to try to find one particular song I remember hearing early in my childhood. I really love this #music, it is so grounded.
Really loving bastianallgeier’s thoughts on PHP as a templating language — very very similar to my own approach #php #dev #bookmark
This morning’s #taproot update: ditched the crappy old DRY-violating tags module and replaced it with a super lightweight #hypermedia one. Soon I’ll add the ability to store tag descriptions, synonyms/related tags as well as dynamically pull content in from the URLs it lists so the tag pages aren’t quite as boring.
“Open web technologies”, they said. “Web apps are better because they work anywhere”, they said. Then f*cking chrome goes and f*cking “chrome App Store” “PLEASE USE CHROME TO DOWNLOAD THIS WEB APP” ARRRGGGGHHH