Not usually a brand snob, but am thinking I should get a black marker and colour in the Shimano logo.
gnome-shell[1402]: libinput error: event14 - SynPS/2 Synaptics TouchPad: client bug: event processing lagging behind by 26ms, your system is too slow
The average rate of a touchpad is about 40 packets per second (according to teh internets), and my computer contains a 4 core 2.6GHz CPU. I wonder which part of the "system" is to blame for this slowness
Got new chunky tyres for my Croix de Fer bike (Panaracer Gravelking AC) - much much much better at gripping in the muddy forest, even rode through clay with standing water on it. Not nearly as good on tarmac, though - bike slid on a left turn as I was riding to the forest and now I have road rash on my elbow
Hopefully lockdown means no traffic on the roads and I can get the road bike out a few times in the next month too
(let [(a & bs) (values 10 11 12 13 14)] {:a a :bs bs})
Thanks to new warning in #fennel HEAD, I realise this doesn't do what i thought it did
ok let's do this
announcing FennelConf Online: 2nd of January 2021 @ 22:00 UTC / 14:00 US Pacific
this is not a "proper" online conference; it's just a chill show-and-tell. take 10 or 15 minutes to talk about something neat you did with Fennel.
DM or email me if you want to show something. there is no expectation that presentations be fancy or polished. no slides please, just bring your enthusiasm.
Looking at options for cloud-free on-device voice control and getting quite dispirited by the general state of things. Strong impression is that it's all binary blobs and cloudbased services in the build process held together with lashings of python
capitalism
Your Lifestyle Has Already Been Designed
> [T]he 8-hour workday is too profitable for big business, not because of the amount of work people get done in eight hours (the average office worker gets less than three hours of actual work done in 8 hours) but because it makes for such a purchase-happy public. Keeping free time scarce means people pay a lot more for convenience, gratification, and any other relief they can buy.
https://www.raptitude.com/2010/07/your-lifestyle-has-already-been-designed/
The command line tool scrcpy (for "screen copy") mirrors an #Android's screen to a computer. Works on Linux, macOS, Windows, and via WiFi and USB cable. No need for root. Need to enable adb debugging via developer options on the phone.
https://github.com/Genymobile/scrcpy
If the packaged version does not work, try the most recent version via Snap or compile yourself.
In the course of staring at my ugly 30 line function trying to figure out how to break it up so I can make it testable, I have found a bug that I didn't know existed. It's probably not a bug I would have thought to write a test case for, either.
There is definitely some software development practice regarding which this forms part of a relevant argument, but I don't know what that practice is nor whether the argument is for it or against it
Also while at it. Don't even try to make a package managers disguised as buildsystem. kthxbye.
Tomorrow I will find out for real if it works, but I seem - at leat, after only ~ 20 years - to have added Markdown support to my blog. I was getting a bit fed up of writing backticks and publishing entries before remembering that Textile uses @ signs for that instead
Shoutout to @yogthos@mastodon.social for markdown-clj which did all the hard work already
https://github.com/telent/yablog/commit/7a43edeade1158802d4ec6b407000b25649499e0
(I have mixed feelings about Clojure lately, but I must admit I'm quite happy that I can pick up a ~ 6 year old project, update the dependency versions and hack this in, all in the space of a couple of hours. I have trouble imagining that the same would be true in Ruy)
@dan wrote an okay-seeming function for what you're looking for: https://gist.github.com/leo60228/ab68f365a10f6c218a31a3a7b7882280
Hypothesis: iterators in Lua are like monads in functional programming, insofar as once you understand them you become (1) unable to explain them to anyone else who doesn't; (2) compelled to make the attempt
https://ww.telent.net/2020/12/18/functionally_i_ll_iterate
but if nothing else I am secretly proud of the post title
https://ww.telent.net/2020/12/15/not_writing_a_lispos_honest only nine more days of this daily-blog-posting exercise left and I can go back to my usual three-times-a-year frequency. Thank goodness
Today, I experimented with converting the NixWRT Lua service monitor scripts into Fennel.
The Replay Foundation, my employer, announced their liquidation today. This means no more Pinburgh. It also means I'm Officially out of a job for the forseeable, so if y'all wouldn't mind boosting a link to my other source of income Improbable Island, that'd be just super.
https://www.improbableisland.com
It's a silly online game and it doesn't pay as much as fixing pinball machines but heck it's what I've got right now, and this winter's probably gonna be a hairy one.
I guess it really is multi-threaded ...
("received: ",fromList []) ("received: ",fromList [("voltage",FieldFloat 3.085)]) ("rece(i"vreedc:e i"v,efdr:o m"L,ifsrto m[L(i"stte m[p(e"rhautmuirdei"t,yF"i,eFl ideFlldoFalto a1t9 .700).]0)) ])
I don't know who needs to hear this, but these "TCPSmart WiFi plugs" seem to be Tuya devices internally - at least, the "Smart Life" android app can control them. Hoping they work with https://github.com/codetheweb/tuyapi
🌧 An easy-to-use API for devices that use Tuya's cloud services....
GitHub
RT from birdsite https://twitter.com/ztellman/status/1335658874091630592