Blog
424 Blog articles in total, showing 81 to 90
-
Video: esoteric programming languages by TheBreakingBit
This recent video by TheBreakingBit amused me. The incredible creativity that has gone into creating languages that ar, let’s face it, a little bit silly is staggering. A favourite effort of mine that is missing from this video is Damian Conway’s fabulous CPAN module Lingua::Romana::Pe …
- Published:
-
Why is Math.max() less than Math.min()?
A while back I wrote a post called Javascript: the Weird parts primarily for my own amusement. It listed some of my personal favourite wtfjs-type Javascript idiosyncracies. In this post I want to look in more depth at one of those idiosyncracies. I want to investigate exactly why Math.max() is les …
- Published:
-
Review — Healeys Oak Matured Cyder
Cornish cider (or should that be cyder?). It isn’t something that I have reviewed much in the past, so I leapt at the chance of acquiring a bottle of this rather classy cider.The producers, Healeys, have been in business for 25 yea …
- Published:
-
Tomorrows World 1969: the bleak, lonely, sexist office of the future
I have a strange fascination for digging out old pieces of footage about the future. I don’t know why. Here is a particularly bleak version of how the future was to be, as foreseen in 1969 by BBC Tomorrow’s World presenter James Burke.A man in a business suit arrives at work. Wande …
- Published:
-
Seven More Languages: Elm Day Three
My final day with Elm, at least for now started out a bit challenging. As before, the examples in the book are for elm version 0.13 not 0.14 and there has been enough change that porting the example program across was annoying. But after that, the whole thing became a lot more fun. You see, d …
- Published:
-
Seven More Languages: Elm Day Two
As it turns out quite a lot has changed in Elm between the release in the book and the current 0.14 version. Which made things more challenging than perhaps I may have liked. Still, it has been a good way of getting to know the documentation. Virtue of necessity and all that.You can find a port of …
- Published:
-
Magento tip: Number of products in category, subcategories of a store
I had need today of counting the total number of products in a category and all its subcategories in one of the magento stores that New Internationalist runs. It took a little while to write the code so I am putting it out there in case anyone else has the same problem. Most probably my future self. …
- Published:
-
Video: Guy Steele’s Growing a Language Talk
I recently chanced across a truly wonderful talk by Guy Steele, one of the creators of the Scheme programming language. He gave the talk at the 1998 ACM OOPSLA conference, but it touches on some timeless themes in communicating with computers.The talk focusses on the need for us to build languages …
- Published:
-
Tool: Get thumbnail images for youtube videos
Here is a small tool for grabbing the thumbnail image for a youtube video — something I sometimes need to do and always have to DDG or Google. There is a very helpful StackOverflow answer, which it is straightforward to implement in Javascript (have a look at the source code of the page).Upd …
- Published:
-
Seven More Languages: Elm Day One
I am pretty excited about the latest installment of my Seven More Languages journey. Elm is a functional reactive programming (FRP) language with an Haskell-like syntax that compiles to Javascript. The idea is to be able to write in a language with a decent type system and support for FRP, without h …
- Published: