Uncategorized

Getting started with Perl XS and Inline::C

Posted on August 18, 2016. Filed under: Uncategorized | Tags: , , , , |

Getting started with Perl XS and Inline::C There’s a good list of references at the end!

Read Full Post | Make a Comment ( Comments Off on Getting started with Perl XS and Inline::C )

perl XS – passing array to C and getting it back

Posted on August 18, 2016. Filed under: Uncategorized | Tags: , , , , |

perl XS – passing array to C and getting it back I’ve never really learned how to write XS – I just use the XS file that Inline::C creates.

Read Full Post | Make a Comment ( Comments Off on perl XS – passing array to C and getting it back )

Getting to Travis and GitHub Pages Quickly

Posted on August 13, 2016. Filed under: Uncategorized | Tags: , , , , , |

Getting to Travis and GitHub Pages Quickly Often, when I’m working locally I like to bounce right over to a GitHub repository url to check something. I ended up writing a bit of code to make this easier. While I was at it, I decided it would be nice to have the same thing for […]

Read Full Post | Make a Comment ( Comments Off on Getting to Travis and GitHub Pages Quickly )

The best ever explanation of Decorators in Python

Posted on August 12, 2016. Filed under: Uncategorized | Tags: , , , , |

The best ever explanation of Decorators in Python I have checked like a dozen explanations for Python Decorators. Some of them are good. But this Stack Overflow answer just beats them all. Such an awesome answer. It is a bit long as it has built the theory step by step.

Read Full Post | Make a Comment ( Comments Off on The best ever explanation of Decorators in Python )

Teach Makefile.PL to use cpanm

Posted on August 8, 2016. Filed under: Uncategorized | Tags: , , , |

Teach Makefile.PL to use cpanm When writing perl modules, more often than not a few dependencies creep in … which makes it a wee bit awkward when developing the module, because I then have to somehow install these dependencies, and I would rather not get them all over the place but neatly in the module […]

Read Full Post | Make a Comment ( Comments Off on Teach Makefile.PL to use cpanm )

Perl’s Pegex Module: a great way to parse files by creating grammars

Posted on August 8, 2016. Filed under: Uncategorized | Tags: , , , , , , |

Perl’s Pegex Module: a great way to parse files by creating grammars We recently came across Pegex and found it to be an interesting module for parsing text data. Instead of using regular expressions directly, the user can write a grammar for the data to be parsed. The data can be automatically converted to a […]

Read Full Post | Make a Comment ( Comments Off on Perl’s Pegex Module: a great way to parse files by creating grammars )

Feedback on my way to organize Emacs settings

Posted on August 1, 2016. Filed under: Uncategorized | Tags: , , |

Feedback on my way to organize Emacs settings I was reviewing my emacs dot files organization, which at the moment I did it served me well, but I want to know if there are any other better ways to organize your dot files. Mine just loads a bunch of .el files stored in the inits/ […]

Read Full Post | Make a Comment ( Comments Off on Feedback on my way to organize Emacs settings )

SQL joins and Venn diagrams

Posted on July 5, 2016. Filed under: Uncategorized | Tags: , , , |

Here’s a couple of articles on using Venn diagrams to explain SQL joins. For… A Visual Explanation of SQL Joins – Jeff Atwood (coding horror) Since SQL joins appear to be set-based, the use of Venn diagrams to explain them seems, at first blush, to be a natural fit. However, I found that Venn diagrams […]

Read Full Post | Make a Comment ( Comments Off on SQL joins and Venn diagrams )

Bash One-Liners Explained

Posted on June 16, 2016. Filed under: Uncategorized | Tags: , |

A five part series on Bash one-liners by Peteris Krumins Working with files Working with strings All about redirections Working with history Navigating around

Read Full Post | Make a Comment ( Comments Off on Bash One-Liners Explained )

Python 101: An Intro to Benchmarking your code

Posted on May 30, 2016. Filed under: Uncategorized | Tags: , , , , , |

Python 101: An Intro to Benchmarking your code What does it mean to benchmark ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where […]

Read Full Post | Make a Comment ( Comments Off on Python 101: An Intro to Benchmarking your code )

« Previous Entries Next Entries »

Liked it here?
Why not try sites on the blogroll...