jack_way cheers, I thought it might be too generic but looks like it’s the best choice.
jack_way cheers, I thought it might be too generic but looks like it’s the best choice.
I love that #php now has shiny namespacing and a thriving code sharing community, but I think the heavily hierarchical namespacing practises used by some of the community (e.g. symfony components) are unhealthy.
They are difficult to memorise, relying on (often slow) IDE autocomplete, and encourage a use
statement for each class. That’s pretty much a scoped equivalent of from x import *
in python — not a good practise! It’s still namespace pollution, it just takes longer to write.
I am trying to use a more python–like, package-centred approach with much fewer subnamespaces. The outcome of this should be that you use
the package name:
use BarnabyWalters
osse;
…and then using all the classes/subnamespaces from that root, e.g: $t = Posse\Helpers::convertHtmlToTwitterFormat($s);
Question: What #HTTP Status code should I use for “You haven’t provided enough/correct information to carry out that method”? Currently I’m thinking 422 Unprocessable Entity
.
Context: POST request to a list resource for the creation of a new sub-resource.
Created this evening: a partial parser for ABC notation. It currently only handles headers, including ones within the music, but not inline headers. For the #taproot tunes module
Brennan Novak great to see you auto–POSSEing! And pleased that you found the truncenator useful. Also check out the stuff in BarnabyWaltersPosse, there’s a more up to date version of the truncenator as well as some other syndication helpers.
@aral that would certainly be more consistent with the naming schemes @aaronpk, Tantek Çelik and myself are using, which we borrowed from the activitystrea.ms schema.
It's great that you're self–hosting shorter units of content as well as longer articles now! Maybe tweets next? ;)
Great to see superfeedr using web action delegate patterns for subtome.com! #indieweb #webactions
I'm wondering where aral’s notes and scribbles fit into the infamous “notes vs articles” debate…? See also Semantics of Article-Note Distinction
URLs don't just give addressability, they give accountability. When there's a URL, someone is responsible for it. When a thing (concept, object, document, proposal, idea, etc.) has a URL, it can be discussed, supported, contested, referenced and documented.
URLs are valuable things. We must treat them with respect.
Glenn Jones I can highly recommend kangoextensions.com as an open source framework for cross-browser extensions. I’m using it for indieweb reply and own-your-comments
Just had a peek at my analytics for the first time in months. I’m amazed to find that my articles on iOS Diagnostics and getting the lego RCX to work on OS X are still my most popular content!
Just some simple performance–enhancing on #taproot these last few evenings — cached and parallelised pingbacks and identengine.com requests.
“We have to start the cow paths for the world. The paved paths are for the privileged.” (source) by inkpixelspaper
Thoroughly enjoyed the #sfw hangout tonight, demonstrating #indieauth and learning about forkthelaw.org /cc @wardcunningham Aaron Parecki
T1: Checking to see what’s up with the weird note author thing
Just finished watching Star Wars: A New Hope Uncut. A fantastic project which was surprisingly easy to get lost in despite constant character gender and species changes (sometimes mid-sentence).
Rolled out usage of the menu
element on #taproot. I’m looking forward to more browser support for HTML context menus, that will really open up the possibilities for cross-browser extensions
Pushed some styling improvements to individual note pages as a result of some brainstorming earlier today. Splitting the content into Primary, Contextual, Metadata and Network will give me a solid foundation on which to add more information (e.g. mentions).
One thing I haven’t added is an “actions” section, mainly because of double-click-to-edit. That only applies to the main content, though, and I have some other actions like syndicate to facebook, so I should make a section for those.
#taproot #design #todo #webTo all exeter_web people who saw my #microformats talk last night: I documented my usage of µf on my own site, hopefully it’s a useful real–world reference if you’re interested in using µf2 yourselves :)
Excited to make a way of linking up my web action delegates with FF OS Web Activities! https://hacks.mozilla.org/2013/01/introducing-web-activities/