Software

Joined February 2012
16 Photos and videos
Really hoping the attackers donโ€™t leak my repos full of: - six competing notes app prototypes - readmes that just sayโ€œTODOโ€ - projects with 83 dependencies and one feature Please respect my privacy at this difficult time.
๐ŸšจData Breach Alert โ€ผ๏ธ ๐—ง๐—ฒ๐—ฎ๐—บ๐—ฃ๐—–๐—ฃ ๐—–๐—น๐—ฎ๐—ถ๐—บ๐˜€ ๐—ฆ๐—ฎ๐—น๐—ฒ ๐—ผ๐—ณ ๐—š๐—ถ๐˜๐—›๐˜‚๐—ฏ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ป๐—ฎ๐—น ๐—ฆ๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ ๐—–๐—ผ๐—ฑ๐—ฒ TeamPCP hacking group claimed the compromise and sale of GitHub internal data, allegedly including around 4,000 private repositories containing source code related to GitHubโ€™s main platform and internal organizations. Threat actor: TeamPCP Sector: ICT Data exposure (claimed): Approximately 4,000 private repositories Data type: Source code Observed: May 19, 2026 Status: Pending verification ESIXยฉ: 7.96 Full details and impact assessment on HackRisk.io
20
Just tried moving off OpenAI's Go SDK in favour of a small client covering just the Responses API... it reduced my binary's size by 30%! github.com/alexpls/untils/coโ€ฆ
Replying to @GergelyOrosz
If this ends up with OpenAI moving their Go SDK off Stainless, that's a win in my book. The thing currently adds 11MB to my project's binary... nearly half the size of ALL my deps combined.
48
Wow, reading through the GNU Parallel book and it's hilarious right from its opening dedication... (it's also free under creative commons, here: zenodo.org/record/1146014)
1
1
2
155
More gems:
1
1
1
100
GNU Parallel book was very much worth the read. Helped me turn a ~14 line bash script into one command :) Wrote a post with more details: alexplescan.com/posts/2023/0โ€ฆ
1
1
2
92
YouTube ads are really messing with the efficacy of my rick rolls.
43
In Ruby, pattern matching a regexp sets global variables containing the last match results. $1 for the first capture, $2 for the second, etc. Makes for a neat way to use regex in case statements and access their captures.
59
I've been using iStat Menus by @bjango to put clocks I refer to often (e.g. UTC) in my menu bar. Time saving and second to none! Puns intended... guess it's time for me to clock out.
1
2
65
Homebrew package spring cleaning time. `$ brew leaves` will list all the ones you've installed (and not the ones installed as dependencies of others). Combine with `$ brew leaves | xargs brew desc --eval-all` for prettier output.
2
44
Last week I posted about using SVG to create easy sparkline charts. A couple of questions came in about how I get the timeseries data for the charts in the first place... I do it with PostgreSQL's set returning functions. More details: alexplescan.com/posts/2023/0โ€ฆ
1
1
43
Alex Plescan retweeted
Elixir Radar issue 389 is out! ๐Ÿ“ฃ You can read it here: buff.ly/44nuPUc This issue comes with content from @bemesa21 @alexplescan @JohnElmLabs @zediogoviana @sean_moriarity @diwakarsapan . Thank you! #MyElixirStatus

6
9
1,399
A post on how I set up recurring subscriptions on mailgrip.io using @gumroad: alexplescan.com/posts/2022/1โ€ฆ

1
1
46
Web TIL: In case you've been out of the loop like me and are still using `Element.scrollLeft` to scroll a container til it shows an element, check out `Element.scrollIntoView`. Super simple API compatible with all modern browsers. developer.mozilla.org/en-US/โ€ฆ
2
58
Alex Plescan retweeted
25 Dec 2022
As is tradition, the wonderful Ruby core team puts a present under our tree structures: Ruby 3.2 is out at ruby-lang.org/en/news/2022/1โ€ฆ - I do think they are too humble to really drive home the massive performance gains in the YJIT engine, though!

3
18
159
86,730
Holiday project: low-bandwidth live stream of a beautiful landscape using a @Raspberry_Pi and a @GoPro. Kudos to the GoPro team for making their camera so automatable! Here's a couple of things I had no idea you could do...
3
2
50
There's also GoPro Labs, a first-party firmware to extend the camera beyond stock features. I'm using it to turn on the camera whenever it detects USB power, but there's *a lot* more it lets you do. github.com/gopro/labs
51
Replying to @Raspberry_Pi @GoPro
e.g. taking a photo and downloading it looks like: ``` curl http://gopro-ip/gopro/camera/shutter/start curl http://gopro-ip/gopro/media/list curl http://gopro-ip/videos/DCIM/100GOPRO/GOPR0001.JPG > mypic.jpg ``` API docs: gopro.github.io/OpenGoPro/htโ€ฆ

29
Replying to @Raspberry_Pi @GoPro
Command a GoPro via an HTTP API that works over Wi-Fi, or USB (using NCM). Capabilities include starting video streams, taking photos, switching capture quality modes, and accessing/managing media on the SD card...
62