Checked into the new Vísar HQ to join in #indiewebcampsf hack day a little late — working on lots of little fixes, timezones on my posts first up!
Checked into the new Vísar HQ to join in #indiewebcampsf hack day a little late — working on lots of little fixes, timezones on my posts first up!
@schnarfed not sure what to think of this. On one hand it might push more webhosts to support “anything other than PHP” which would be great, on the other hand it’s probably going to add to the oft-parroted nonsense that PHP is inherently a bad language.
The Wolfson #raspberryPi audio board looks perfect for embedded musical #IoT applications! elektor.com/news/the-wolfson-audio-card-for-raspberry-pi.2698771.lynkx
@caseorganic obligatory reply demo ;)
#indiewebcamp SF has kicked off! Drop into the live stream: https://talky.io/indiewebcampsf or just hang in #indiewebcamp IRC on freenode. Selfdogfood demos happening at the moment.
Query microformats2 like XPath — @notenoughneon created this nifty function for handling #microformats data more easily
@erinjo @chloeweil does audio recordings of many of her excellent blog posts: chloeweil.com/blog
That @david_cameron @barackobama phone photo reminds me of a certain anderson villain…
@tomayac fixed on both copies — thanks!
@tomayac for example like this?
<a class="h-card h-org">Hypothetica Inc.</a>
php-mf2 gives
{
"items": [
{
"type": [
"h-card",
"h-org"
],
"properties": {
"name": [
"Things"
]
}
}
],
"rels": [
]
}
which is correct, one microformat with multiple vocabularies, which effectively allows multiple vocabularies to be mixed, e.g. you can have a h-review which is also an h-entry.
@andycarter a favourite place of mine is Mandi, off Ingólfstorg (location on map below) — they do really good syrian wraps
@andycarter welcome to Reykjavík! You’re just round the corner from me :)
Remote filesystem autocomplete in the terminal never fails to feel a little like the sort of seamless magical consistency across physically separate systems which is so lacking in tech.
Moved into the new office today, made a Vísar flag:
Now to get
printed and stuck on the wall.
Trying to buy @sketchapp — why does it seem to fluctuate vastly in price? E.g. Mac app store website says $79, the Mac App store says $100
Fitted basic optical encode circuit to my #gurdy, now figuring out optimal settings for calculating wheel speed. Notes:
Sane gurdy speed of 14 revs every 10 seconds = 1.4 RPS 52 markers on wheel = 52 * 1.4 = 72.8 transitions per second ≈ 73Hz minimal input signal Timer nominal input freq is Fosc / 4 = 4MHz / 4 = 1Mhz Max prescaling = 1:256, i.e. TMR0 increments once for every 256 Fosc/4 pulses Resultant timer freq = 1Mhz / 256 = 0.00390625 Mhz = 3906.25 Hz Input signal has ≈50% duty cycle so periods between pulses should be 1 / 73 = 13.69863014ms Period of 3906.25Hz wave = 0.256ms Num pulses @ 3906.25Hz after 13.7ms = 13.7 / 0.256 = 53.515625 1.4 RPS is minimal normal gurdy trompette playing speed, so counting 54 clicks per transition gives a little space for speeding up and a lot of space for slowing down. High gurdy trompetting speed of 24 revs per 10 seconds = 2.4 RPS TPS = 52 * 2.4 ≈ 124.8 = 125Hz maximum input signal = wavelength of 1 / 125 = 8ms Num pulses @ 3906.25Hz after 8ms = 8 / 0.256 = 31.25
So these values should give a just-wide-enough span of ≈20 ticks between nominal and trompetting speed, with room to halve or potentially even quarter the prescaler if this turns out to not be enough. One advantage of these values is space to track much slower wheel movements, opening this up to be used for slower performance tools as well as speed measuring.
An external switch could always adjust the prescaler if necessary to cover both use cases.
@bracki pity it doesn’t work on Squeeze (why is that?), as far as I can see it doesn’t depend on a particular version of PHP, just anything greater than 5.3.9 — "php": ">=5.3.9"
, to be exact.
#TIL Final Fantasy has #gurdy reference: pair of cute “moogle” (furry animal with big ears apparently) siblings called “Hurdy” and “Gurdy”:
The elasticsearch PHP client is an excellent example of a well-written PHP service client. Very simple API with little surface area to memorize, uses PSR logging interface, easily configurable due to pimple-based design.