-
Recent Posts
Recent Comments
- ubershmekel on Two bugs don’t make a right
- Ram Rachum on Optimizing Django ORM / Postgres queries using left join
- Dimensions in Mathematics on Beautiful Code
- Tomer Filiba on Collision: the story of the random bug
- Brendan Dolan-Gavitt on Collision: the story of the random bug
Archives
- August 2012
- July 2012
- June 2012
- June 2011
- February 2011
- January 2011
- December 2010
- April 2010
- March 2010
- February 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- February 2007
Categories
- Algorithms
- Assembly
- C
- Challenges
- Compilation
- computer science
- Cryptography
- CSS
- Databases
- decompilation
- Design
- Fractals
- Game Development
- Geometry
- gotchas
- Graphics
- Group Theory
- Humour
- Javascript
- Linux
- Math
- Miscellaneous
- Optimization
- Optimization
- Optimization
- Optimization
- Origami
- Personal
- Programming
- Programming Philosophy
- Projects
- Protocols
- Python
- rants
- Research
- Security
- Sound
- startup
- Statistics
- Teaching Programming
- Testing
- Uncategorized
- Utility Functions
- web-design
Monthly Archives: March 2008
Issues in Writing a VM – Part 2
Writing a VM capable of executing expression trees is different from writing a VM for executing assembly instructions. Here I’ll cover several issues stemming from this difference. The first group of issues involve generality. Supporting a specific instruction set is … Continue reading
Posted in Algorithms, Assembly, computer science, Programming, Projects, Python
Tagged delay slot, Disassembly, Distorm, Python generators, vial, VM
7 Comments
Back From the Dead
As you can see, the website is back online, and I hope it stays that way. Cheers go to Randy and James, for fixing the server. I’ve been doing various things lately, including work on Vial and various university tests. … Continue reading
Issues in writing a VM – Part 1
Arkon and I decided to write a VM for vial. First though, a short explanation on what is vial: vial is a project aimed at writing a general disassembler that outputs expression trees instead of text. On top of vial, … Continue reading
Posted in Assembly, computer science, Programming, Projects, Testing
Tagged Compilation, Disassembly, Distorm, fuzzing, Testing, vial, VM
Leave a comment
Origami Rhino Instructions
Finally, here are the instructions for the rhino. I found out it is not a clean fold – the ending does not fold neatly. It is also not an easy fold, and it takes some work to get done. That … Continue reading
The Case Against Floating Point ==
While working on the clipping bug, I had to do some floating point comparisons. To handle this virtual mine-field, I used simple precision comparisons. Not surprisingly, I wanted to know what’s ‘the right way’ to do this in Python. When … Continue reading
Posted in Programming, Python
Tagged Float, Floating Point Comparison, Floating Point Division, Programming, Python
3 Comments
Various Small Python Helpers
I’ve been working lately with arkon on various projects related to diStorm. One of these projects involved writing a solid Python API around an existing C API. This C API uses a lot of flags as arguments and return values … Continue reading
Posted in Programming, Python, Utility Functions
Tagged Programming, Python, Utility Functions
5 Comments
Two Mathematical Bugs
A few days ago, I discovered I had at least one, maybe two mathematical bugs. The first bug is in the line clipping algorithm. Here’s a quick reminder of what’s going on there: There are six points of interest: the … Continue reading
Posted in Algorithms, Geometry, Math, Programming, Python
Tagged Bugs, Line-Clipping, Programming, Python, random selection
2 Comments
More Origami
After working on it, I managed to reverse engineer my origami rhino fold. Here’s how it’s going to look: To reverse engineer it, I had to open my original fold, and try to reproduce the fold, a bit like working … Continue reading