Celebrating Skólapúlsinn’s 4th birthday @ Vísar HQ
Prepping an old machine for demoing crypto tech at the cryptoparty tonight, windows being a complete pain. I have a feeling I’m going to be spending most of the evening apologising for other people’s bad UI decisions.
Looks like twitter no longer demands that replies start with the @-name of the person they’re directed to, e.g. https://twitter.com/BarnabyWalters/status/435030572860465152
This makes @t-style reply-to-self as continuations of notes even more feasible as a practise.
@_minego links with the
rel semantic can be used both in human-visible markup for improved back-compatibility and quick error-spotting (as well as layering on top of existing solution) and also in HTTP headers for machine-only use
@_minego which existing clients would be broken by adding a classname or
rel value to the HTML page someone downloads something from, or a
Link header to the download itself?
Of course the more significant thing is UI considerations: how to offer this info to the downloader, how to explain what the various possible outcomes mean and what action the user should take as a result of them
#idea: a microformat for download signatures/checksums, allowing browsers to automatically verify files without people having to go into the terminal and use
@sophiedennis haha yeah “dissociation” is the French word for trompette rhythms to go with the melody, abbreviated to “disso”. But if anyone could do disco gurdy, it’s Gregory Jolivet ;)
Hungry after walk so tried making black sesame seed paste dumplings — similar to previous mochi but almost no sugar, with the dough boiled instead of baked. Interesting texture, would certainly add some honey to the paste next time as it needs a little more sweetness.
Followed these ingredients: rasamalaysia.com/black-sesame-dumplings-tang-yuan/2/, going to try making justonecookbook.com/recipes/black-sesame-ice-cream next
When using #django to send
content-disposition: attachment responses, you MUST explicitly set the response encoding (charset) otherwise windows will assume the response is in whatever-weird-encoding-windows-uses, rather than UTF-8 (you are using UTF-8, aren’t you?).
CSV example code:
response = HttpResponse(utf_8_encoded_csv_text, status=200, mimetype="text/csv; charset=utf-8") response['Content-Disposition'] = 'attachment; filename=data.csv'
It seems that some weird old applications like SPSS need a BOM in there as well, even though UTF-8 doesn’t have a BOM. Add that like this
response.content = '\xef\xbb\xbf' + response.content
before sending the response
Beautiful soundscape walking back through Reykjavík this evening — seamless gradient between vetrarhatid.is large-scale audio+visual installation and bird sounds on the pond, punctuated with ice underfoot and the constant murmur of traffic.
Had to repair my headphones yet again so went to @hakkavelin, started experimenting with #gurdy wheel speed measuring devices. Got a basic Vishay CNY70 reflective optical sensor circuit working, soldered into my PIC demo board for initial testing before I make a tiny package to go on the gurdy itself.
#tabdump (all PDFs unfortunately):
Achievement unlocked at #hakkavelin: compiled and burned a C program to a PIC 16F886, using main.c written by hand and more-or-less understood.