Programming Leftovers
-
No one actually wants simplicity
A lot of developers want simplicity in the same way that a lot of clients claim they want a fast website. You respond “OK, so we can remove some of these 17 Javascript trackers and other bloat that’s making your website horribly slow?” – no, apparently those are all critical business functionality.
In other words, they prioritise everything over speed. And then they wonder why using their website is like rowing a boat through a lake of molasses on a cold day using nothing but a small plastic spoon.
The same is often true of complexity. The real test is the question “what are you willing to sacrifice to achieve simplicity?” If the answer is “nothing”, then you don’t actually love simplicity at all, it’s your lowest priority.
-
Rython tips and tricks – Clipboard
Consider the following scenario: you come across a webpage containing a table, and would like to compute some basic statistics, or visualize a couple of columns from that table. A usual workflow for such a minuscule task is to (1) copy the table, (2) pasting it into Excel, (3) saving the Excel sheet, and (4) reading it into Rython.
Can we not just copy the table and read it directly from the clipboard? Yes we can!
-
Reconciled down to the cent again
I’ve added a new data validation rule to these columns to only accept two decimal places to prevent me doing something silly like this again.
-
New built-in perl5.38 try/catch syntax
After recently installing perl 5.38, I stumbled upon some cool improvements to Perl's built-in try/catch syntax while watching the excellent What's new in Perl v5.38 youtube talk, delivered by Paul "LeoNerd" Evans at TPRC 2023 Toronto.
-
Reconciling elegance and secure-by-design in APIs
These two points are in contention for many Python projects. You could argue that the second point could be waved away with a carefully crafted security policy or placing more responsibility on users, but I think most would agree it's preferable to preserve API design elegance for the 99% without compromising on security.
-
Responsive or Relevant UI Design – Which is better?
Responsive UI design is a great way to adopt user interfaces for different display sizes and layouts. A few popular web pages do not use a responsive design. But is a responsive design all we need to create a delightful and meaningful customer experience? Instead of adjusting the UI layout based on available display real estate, shouldn't we rather tailor it according to user preferences of different types of users?
-
Migration toolkit for applications 6.2: Agile Java modernization
Red Hat's migration toolkit for applications 6.2 takes Java application modernization a step further with new integrations for Jira, migration waves management, and Red Hat OpenShift monitoring.
With these integrations, the migration toolkit for applications can now help organizations create a backlog of work directly on Jira so that your engineering teams can pick up tickets. The support for migration waves enables you to process the backlog in batches and then plan for the whole application modernization at once. You can also make migration waves available directly on Jira.