miniblog.

Jedi, the excellent Python code completion library used by many editors and even ipython, now supports mypy annotations in Python 2! https://github.com/davidhalter/jedi/issues/946 🎉
Given an abundance of information (especially online), we need to be more skilled at verifying the sources and the reputation of the chain of outlets: https://aeon.co/ideas/say-goodbye-to-the-information-age-its-all-about-reputation-now
Really cute Clojure project that builds a full parse tree (i.e including whitespace), allows code to transform the _abstract_ syntax tree, then splices the changed sexp whilst preserving source comments! https://vimeo.com/45695419 Enables code transformations that look like macros.
Viewing 25 year old files authored in desktop publishing tools on today's software (e.g. Word, Wordperfect): https://archives.govt.nz/resources/information-management-research/rendering-matters-report-results-research-digital-object-0
When people talk about federated systems, they frequently compare with email. Email has been successfully distributed, but I think it's an outlier. It's rare, especially today, for popular tech to be distributed with multiple implementations.
Clever vim plugin: given a series of string literals containing an interpolated variables, prompt the user for values and send the query to a real DB! https://www.vim.org/scripts/script.php?script_id=356 (convenient, but I hope it doesn't promote code vulnerable to SQL injection)
Realised today that one of my sites has been broken because a popular adblocker blocks any file called pageview.js: https://github.com/easylist/easylist/blob/6c17106ea9480b35e972aa183ded90e2252880f0/easyprivacy/easyprivacy_general.txt#L2195 I'd recently factored out a file with this name. It's a dev site that tries to have readable file names, but this incentivises minifying!
I've started reading this 1996 book on GC algorithms. A lot of the first chapter is just defending the value of GC! It's much less controversial today. I wonder whether the 90s rise of OO languages can be partly attributed to the increased productivity of automatic memory mgmt.
Photo
Interesting to see that WhasApp is exploring business accounts on the service: https://techcrunch.com/2018/01/18/whatsapp-officially-launches-its-app-for-businesses-in-select-markets/ After using Monzo (superb integrated chat support) and Telegram (allows groups to be publically visible) I've wondered how WhatsApp could be extended.
Fun post on implementing a JIT for elisp, with a great introduction to calling conventions on elisp primitives: https://tromey.com/blog/?p=999
Implementing the eval function in Rust in Remacs! 🎉 https://github.com/Wilfred/remacs/pull/681
If you're new to #python programming, welcome aboard! I've spotted a few techniques that newcomers miss out on and thus learn more slowly.
I've seen test runners that report the number of assertions checked, not just the number of tests. Is this useful? I understand if you have non-fatal assertions (like EXPECT_TRUE in googletest), but I think this is a rare feature in testing libraries.
It's unfortunate that '# foo' can mean "here's a command you need to run as root" or can mean "here's a comment about the next command". It's a recipe for confusion.
When a language has some central design principles, you can spot projects that work really well because they go well with that design.
There's an eslint plugin for extracting JS from HTML, so you can catch issues even when using inline JS! https://github.com/BenoitZugmeyer/eslint-plugin-html
Great talk by Bozhidar on the evolution of Clojure tooling in Emacs: https://youtu.be/4X-1fJm25Ww (covers an impressive range of features, explores the tooling landscape and has some entertaining Emacs metaphors!)
Now available on MELPA! https://twitter.com/_wilfredh/status/965745451055099904
Great, readable paper by Romain Robbes and Michele Lanza: Improving Code Completion with Program History It's a quantitative analysis of code completion tools, covering both static and dynamically typed languages!
Photo
Lots of IDEs provide a way of viewing the structure of a project: the directory structure, the package organisation, or the methods and fields of classes. Scaling these visualisations remains a hard problem. Large projects are hard to navigate in any tool.
Photo Photo Photo
Showing 541-560 of 657 posts