git pull origin hamster
For the tenth time today.
git pull origin hamster
For the tenth time today.
@briansuda just playing around with SimpleCV, looks like working with Kinect depth data is extremely easy! tutorial.simplecv.org/en/latest/examples/kinect.html
Loving Django’s prefetch/select_related
— that, along with a few small changes, reduced a task which was taking > 500,000 queries to 4558
I’m thinking the time might have come to write a wrapper around #php DOMDocument which actually makes it usable. Thoughts:
querySelector
and querySelectorAll
are implemented for both the document and individual elements via Symfony XPath → CSS converter and relative XPath queriesinnerText
, innerHTML
for consistencyWhen dealing with character encoding issues I repeatedly get this feeling that we need to throw away computing and programming and redesign it all in a way which prevents stupid, hard-to-debug problems from happening live in trees and eat pita bread all day
Just pushed latest #taproot changes: using htmlpurifier.org to remove any nasties in reply contexts and comments, hopefully with upcoming php-mf2 changes that’ll allow limited HTML comments!
Also using brand new php-mf2-cleaner to parse said reply contexts and comments, find authors, etc. Check it out if you deal with #microformats 2 at all in PHP.
Trying out note posting on a fresh install of the new #taproot
#django tip: if you come across weird inconsistencies between apps when trying to serve static files in dev, run with runserver --insecure
even if you have DEBUG=True
@thatemil I’ve always considered style guides/pattern libraries to be unit tests for HTML+CSS, and you could automate them with JS if they get too unwieldy.
Some weird issues with github private repos at work today. Glad that our workflow uses github but doesn’t rely on it.
when-changed is a really nice little #python script for running a command whenever any file(s) change /by johj
git grep
is pretty amazingly fast — get line numbers too with -n
or git config --add grep.lineNumbers true
#protip: type an element ID into Safari (possibly chrome+others) dev console and get a reference to that element
Testing websites on old windows mobile devices is an… experience.
Connecting to WiFi gave me the option of connecting to “The Internet” or “Work” (?).
On form submit using the software keyboard, I get a dialog warning me about the certificate, with the options “yes” and “no” but no question. Turns out the software keyboard was hiding “Do you want to proceed?”
Now I’m finally in the site, there’s no support for label
, so those nice big touch targets I made are mostly useless. Also, there’s no text wrapping.
Hopefully h-card entities should get expanded in the reply context for this note (crosses fingers)
Aaron Parecki testing reply context microformat entity expansion, please ignore :)
If you want to generate real PDFs from HTML (i.e. with page breaks and real text, not just vast screenshots inside a PDF) then wkpdf is the way to go. Super fast, installs easily, great output.
Another quick pingback sanity check test: