2011.11.03 in #15
Traveling Salesman without Farmer's Daughter
Dave Jacoby from /var/log/rant describes his alternative to the well known traveling salesman problem and provides code implementing it.
2011.11.10 in #16
Caching pages - Beyond Firebug to NYTProf
Dave Jacoby shows an example how NYTProf lead him to caching result pages reducing the response time by more than 50%. It was interesting to see now as I am planning to do the same with my simple blog engine.
2014.03.06 in #137
PPI and Unicode
Perl deals rather magnificiently with unicode-based variables. PPI? Not so much, as Dave Jacoby found out.
2014.09.12 in #164
Leveraging the Forecast.io API
Apparently Dave Jacoby is also interested what's the weather like, but he used a different source for his information. He directly talks to the web API using LWP::UserAgent and JSON.
2015.01.07 in #181
A Higher Order Idea stolen from Ramda.js
Dave saw something neat in Ramda.js, and checked out how easy it'd be to port the idea in Perl-space.
2015.01.12 in #182
How I Post Code
2015.03.03 in #189
Look At My Pretty Pictures
Dave shows the code he wrote to write spirograph style pictures in SVG, which he then etched onto wood using a laser cutter. I have no justification for one, but a laser cutter is going on my wishlist!
2015.03.31 in #193
Testing my API changes with Perl
A test script using LWP::UserAgent to access a web page, and JSON to convert the returned JSON string to a Perl data structure.
2015.04.14 in #195
Where to generate the HTML? A Test.
In an Ajax-using web application, should you generate HTM chunks on the server and send them over while they are ready for display, or should you go with the crowd and send over only the data letting the client-side generate the HTML? Reddit.
2015.04.15 in #195
Subroutine Signatures and Multimethods in Perl, Oh My!
How do you have multiple subroutines responding to the same name, distinguished only by the subroutine signature?
2015.04.16 in #195
Template vs Text::Handlebars
2015.05.01 in #197
Explaining the Schwartzian Transform
Code with some comments.
2015.05.19 in #200
01010100 01101000 01100001 01110100 ...
A Robot From The Future Reviews Tomorrowland - translated by Perl with the help of a shrinking geek.
2015.06.17 in #204
Mojo::DOM vs Web::Query
Dave compares Mojo::DOM and Web::Query for web scraping, and finds that the code he has to write is almost identical. Apparently Mojo::DOM was slightly faster.
2015.06.29 in #206
Fixing an old logic issue
An interesting mix of old-school CGI script with 0 padding if IDs and JSON response.
2015.07.08 in #207
Because everything can jump the rails...
Dave's thoughts on running things on remote machines using Net::OpenSSH; read the comments too.
2015.07.26 in #209
What I learned from perlbrew
2015.08.01 in #210
Dave Jacoby (/var/log/rant): What Language Should I Learn? Three Answers
That's a question that comes back over and over again. "Which language should I learn next?" Dave offers, and debates, three suggestions.
2015.08.17 in #213
I Am Unlikely To Move To Perl6
The imminent official release of Perl 6 brings up even more emotions. Dave describes his background and rationally explains his emotions toward Perl 6.
2015.08.19 in #213
I Need To Write This Up To Understand It, or The Epic Battle between Wat and Derp!
2016.04.12 in #247
Did I Mention I Hate Default Mail Notifications?
2016.06.21 in #257
Personal Programming Plans: Instagram2Background
Handy utility script to set your latest Instagram picture as your desktop background.
2016.07.27 in #262
Net::Twitter Cookbook: How to Tweet
Sending a Tweet from a Perl script.
2016.07.28 in #262
Log your machines and Check your logs
An example using Log::Log4Perl and Pushover for notifications.
2016.08.12 in #264
A Little Fun with OpenCV
Despite what you might have thought OpenCV has nothing to do with your resume. CV stands for Computer Vision. Dave takes us through his exercise taking pictures and tweeting them.
2016.08.31 in #267
Overkill III: Permutations of Overkill (Perl6)
Dave has been playing with Perl 6, using it to solve the Magic Box problem.
2016.09.09 in #268
Net::Twitter Cookbook: Tweetstorm!
2016.09.26 in #271
Perl on Ubuntu on Windows: A Solution
Running Bash or Ubuntu on Windows is a nice new feature. Running Perl on top of it might be challenging.
2016.10.28 in #275
Using the Symbol Table: "Help"?
2016.10.30 in #275
Net::Twitter Cookbook: Favorites and Followers
Impressive work in writing tutorials. I wonder if he also Tweets about them.
2016.11.19 in #279
Graphs are not that Scary!
That's graphs as in "Graph Theory", not as in "Pie Charts and Histograms". And indeed, not only they are not to be feared at all, but they can also be helluvah useful at times.
2017.01.20 in #287
Ding! Ding! The Process is Dead!
Get alerted when a process is done.
2017.03.14 in #295
Coding for Pi Day
Dave does some Pi-related hacking in Perl, in honour of Pi day.
2017.05.08 in #303
count is not uniq...
In which Dave explains that 'uniq' only works for values that are next to each other and one needs to use 'sort | uniq' in order to get real unique values. Or use a Perl snippet.
2017.06.02 in #306
Tracking your Old Tabs in Chrome over Time
Dave is not satisfied with the order Chrome remembers his tabs so hacked together a script that will back up chrome tabs for easy restore.
2017.06.19 in #309
Feeling "Tipsy" - The Perl Conference 2017 Day 1
The fun of being in a government building... and the talks of the first day.
2017.06.29 in #310
Three Little Words: The Perl Conference 2017 Day 2
Dave's report on day 2 of the perl conference. Also includes a picture of puppies.
2017.07.13 in #312
Github to Perl to Github? Putting your projects on a web page
Dave likes to show his free projects on a nice web page. This is the code that generates the page.
2017.08.02 in #315
Considering Code Documentation
Dave wants to know what documentation would *you* add to his code, but there are no comments. So do you think his code does not need any documentation or is documenting the need of documentation too META?
If you are not yet subscribed, you can do it now. Free of charge:
Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
This newsletter is about the Perl Programming languages.