Git bisect and Perl

Posted on August 9, 2017. Filed under: Uncategorized | Tags: , , , , |

Git bisect and Perl git bisect run treats certain exit values specially: 125 means the code cannot be tested, and 128 or higher will abort the bisect process. If Perl throws an exception it exits with 255 (instead of 0 for a pass and 1 for a test fail), aborting the bisect altogether. To fix […]

Read Full Post | Make a Comment ( Comments Off on Git bisect and Perl )

Data Structures and Algorithms Problems

Posted on May 24, 2017. Filed under: Uncategorized | Tags: , , , , , |

Data Structures and Algorithms Problems See this reddit post for discussion

Read Full Post | Make a Comment ( Comments Off on Data Structures and Algorithms Problems )

Getting started with XS

Posted on May 4, 2017. Filed under: Uncategorized | Tags: , , , , |

Getting started with XS eXtendable Subroutines (XS) are subroutines written in C that are callable from Perl code. There are two common reasons you’d want to use XS: there is a C library you’d like to use with Perl, or you want to make a subroutine faster by processing it in C instead of Perl. […]

Read Full Post | Make a Comment ( Comments Off on Getting started with XS )

A Simple Guide for Python Packaging – Small Things about Python

Posted on March 2, 2017. Filed under: Uncategorized | Tags: , , |

A Simple Guide for Python Packaging – Small Things about Python Code reuse is a very common need. It saves you time for writing the same code multiple times, enables leveraging other smart people’s work to make new things happen. Even just for one project, it helps organize code in a modular way so you […]

Read Full Post | Make a Comment ( Comments Off on A Simple Guide for Python Packaging – Small Things about Python )

Make files not war: How to write short, readable makefiles that work

Posted on March 1, 2017. Filed under: Uncategorized | Tags: , , |

Make files not war: How to write short, readable makefiles that work This article tries to explain make and it’s makefiles in slightly different terms than the original documentation or even most tutorials. It took me a long time to understand how to write short, simple and understandable makefiles that work, and I hope this […]

Read Full Post | Make a Comment ( Comments Off on Make files not war: How to write short, readable makefiles that work )

An Incremental Approach to Compiler Construction (2006)

Posted on December 19, 2016. Filed under: Uncategorized | Tags: , , , , |

An Incremental Approach to Compiler Construction (2006) I think the incremental approach is terrific, because it allows you to get to a program the emits assembly and builds a working binary in week one.

Read Full Post | Make a Comment ( Comments Off on An Incremental Approach to Compiler Construction (2006) )

Splitting a repo based on folder?

Posted on December 17, 2016. Filed under: Uncategorized | Tags: , , , |

Splitting a repo based on folder? [reddit] I have a repo that really should have been two different repos. Each project is in it’s own folder though (and I don’t think that no modification was made to both folders at the same time). Is there a way to split out this into two repos? Splitting […]

Read Full Post | Make a Comment ( Comments Off on Splitting a repo based on folder? )

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 )

The first video that has intuitively explained quaternions to me

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

The first video that has intuitively explained quaternions to me Saw this video the other day that, for the first time, explained how quaternions work in a way that I understood. Highly recommended, as I know that for a lot of people they’re a magical black box. Links: Humane Rigging 03 – 3D Bouncy Ball […]

Read Full Post | Make a Comment ( Comments Off on The first video that has intuitively explained quaternions to me )

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 )

« Previous Entries

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