Author Archives: Dennis

Slow site lately

Over the last few weeks I noticed this site becoming steadily slower. Turns out I had an unusual amount of requests for /xmlrpc.php.. which in turn caused the server to use up all it’s http processes answering bogus rpc queries … Continue reading

Posted in System Administration | Tagged , , | Comments Off on Slow site lately

3d printing services in American Fork

So the last project I worked on at work required some hardware enclosures, handles and a couple odds and ends that we decided to design ourselves and 3D print. So lucky me, I’ve entered the 3D printing arena. Been having … Continue reading

Posted in 3d printing | Tagged | Comments Off on 3d printing services in American Fork

Writing binary data with Verilator

So you are simulating a verilog design with Verilator and you want to output part of your design data to a file in binary format. (Example you’re outputting an image.) Continue reading

Posted in Programming | Tagged , , | Comments Off on Writing binary data with Verilator

Printing on one line with Python

You might be used to using sys.stdout when you want to print multiple items on one line with Python. Did you know you can do the same thing with the print statement? Continue reading

Posted in Programming | Tagged | Comments Off on Printing on one line with Python

Fun with C++11 Lambdas

Basic lambda syntax and usage in c++11. Illustrate the difference between context parameters passed by reference and value. Continue reading

Posted in Programming | Tagged , | Comments Off on Fun with C++11 Lambdas

git diff with color words

I had these files with very very long lines of text on each line. It was paragraphs worth of words but not word wrapped. These files were stored in a git repository. Now and then, someone would change a word. … Continue reading

Posted in Programming | Tagged , , , | Comments Off on git diff with color words