October 8th, 2015 by Dennis
Been printing orders from 3dhubs for quite a while. It's easy for anyone with an object they need printed to just upload it and get it printed out. Come by and pick it up or I can mail it.
It's harder if you need something custom made. You have to do the CAD work first. Or course I can do that as well for you if you need something special.
Order a 3D Print
October 1st, 2014 by Dennis
Been years since I updated things on this site. I thought I'd take a bit and get a new theme.
Pardon the dust for a bit while I work things out. Feel free to contact me if something on the site isn't working and you need it to 🙂
August 29th, 2014 by Dennis
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 for ping backs and whatnot that the nice script kiddies all over the world are trying to exploit I guess.
So... took care of that. Hopefully things are back to normal. I'll have to go back and re-evaluate if I actually want any of that functionality I guess.
August 1st, 2014 by Dennis
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 enough fun doing it that I've started offering printing services to the local market.
My MakeXYZ Profile
My 3d hubs Profile
My Thingiverse Profile
June 6th, 2014 by Dennis
This is definitely one I know the masses are waiting to find out how to do. 🙂
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.)
So lets say you want to do this:
$fwrite ( fd, "%c", data );
And you expect a file with binary data but instead you get a text file.
Well in Verilator you can embed c statements. So you can do this instead:
$c( "fwrite( (void*) &", data,", 1, 1, (FILE*)", fd, ");" );
September 26th, 2013 by Dennis
Ok so I've been using Python for a long time and have written a lot of lines of Python code. But this one is pretty simple and I'm kind of embarrassed that somehow I didn't know about it.
In the past, I've used sys.stdout when I wanted to print multiple things on one line, e.g., you want to print periods to show progress.
for i in range (10):
sys.stdout.write ( "%d.." % i )
I also knew you could use print with more than one item.
print 1,2,3, "Hi"
But the other day I inadvertently found that you can continue to print on one line if you just leave the trailing comma....
for i in range(10):
print "%d.." % i, # no newline appended
print # add a newline after the loop.
And who cares you say??? Well now I don't have to import sys and use sys.stdout when a simple print can do just fine 🙂