Got this from newegg. It is the Rosewill RX35MV-U-BU SLV 3.5″ IDE to USB 2.0 External Enclosure (Silver Aluminum & plastic). If you have an old hard disk drive (HDD) hanging about and it works and you want to convert it into external storage – give this a try. Be aware that the design is… Read More Rosewill IDE USB 2.0 external enclosure
Build database using sql In command line do rails expt where expt is the name of the project under config/database.yml change sql adapter and database name ruby script/generate scaffold (model name) (repeat for each model) ruby script/server -edevelopment -p3000, replace development with test or production, replace 3000 with the port number you want now start… Read More Rails project quick start quick list
Inkscape is awesome.I just discovered image vectorization on inkscape. You just import a bitmap image and then go to path->trace bitmap [inkscape wiki]. The effects are amazing AND fast. I’m impressed.
For sources in Rriki the user types in a list of authors for that publication and RRiki takes care of looking up the database of known authors, creating new entries if need be and then linking the relevant authors to the publication. This is all good and dandy for the user, but editing poses a… Read More update_attributes and associations – customizing rails magic
I’m trying to clean up Rriki. Yes, this is procrastination and I should do my research, but clean code looks soooo nice ! Any way, I’m trying to program the rails way (some mumbo jumbo about MVC and DRY). For Rriki’s ‘sources’ (storage for research articles, books etc.) I have a certain amount of processing… Read More Rails : Where to put what
The ancestor to the portal game. Portals make me dizzy. Now this is a good use of physics engines! And it exercises your mind! [homepage]
But I was probably asking for it – I was doing some image manipulation on the GIMP and my cores both went to 100% and the memory went to 100%…
Are available from The science company. (search for vacuum pumps) The ones they have are plastic body, and they get a decent vacuum but for small volumes (each stroke moves about 15ml). They come with a guage The tool source. Which seems to be geared toward automotive (car) repair. They have a bunch of handheld… Read More Vacuum pumps
We have a mouse in the house. I wanted to have the little intruder on camera. I dug out the old webcam and started to google for webcam motion detection software. Unfortunately a free but closed source program (Yawcam) won over a open source one (Dorgem). You can see the results in the video above.… Read More A mouse in the house : Webcam motion detection
There is no good way to modify or delete tag definitions from the Thunderbird UI. The tag definitions are stored in prefs.js [mozillazine] in lines such as user_pref(“mailnews.tags.receipt.color”, “#C0C0C0”);user_pref(“mailnews.tags.receipt.tag”, “Receipt”); in this case “receipt” is the name of the tag (the string that gets put into the mail header) and “Receipt” is what you see… Read More Modifying Thunderbird tags
Peter Callesen cuts outlines from a4 paper and then makes sculptures out of them, without ripping the continuity of the paper i.e. the paper is still attached together!
Compacting a folder adds the X-Mozilla-Keys: header if it does not exist [mozillazine],[googlegroups thread],[bugzilla]. You can force a folder compact by deleting an (unimportant) email and then compacting the folder. (Just clicking compact will do nothing to a folder if there is nothing to be deleted). Thunderbird, once it sees the X-Mozilla-Keys: header, will actually… Read More Thunderbird local folder tags redux : It can be done!
Thunderbird stores email in plain text files (mbox format) that have names like INBOX and mysweetiesemails (files with no extensions). Riding with these mbox files are other plaintext files with corresponding names INBOX.msf and mysweetiesemails.msf . These .msf files are mail summary files used by thunderbird to speed up certain actions that would otherwise require… Read More Archiving email : Thunderbird tags not ready for primetime yet
Running in interactive mode is great and all, but I just learned that in interactive mode EVERY plotting command causes a COMPLETE redraw. That would explain all the flickering and delay in a script I put together that changes the plot each time a mouse action is executed on the axes. However, ioff() comes to… Read More Turning interactivity off when drawing in matplotlib
(Read episodes I, II, III, IV first). The buck has almost come full circle, I think I’m at 290 degrees. I phoned CableCom again today (naturally they didn’t call me back as promised) and they took my complaint and said they would pass it on to Verizon but the lady was sure that it was… Read More Loose Manhole Cover V : The buck passes (almost) full circle
To add a column to a table ALTER TABLE `table_name` ADD COLUMN `new_col` DATETIME COMMENT ‘comment’ AFTER `col`;
I needed to merge photos I took of a setup with some figures of data. I was thinking to convert my photo (.jpg) into svg format (my idea was that it would be zoomable, and perhaps smaller in size). However, a look at scale-a-vector suggested to me that the conversion is not worth it. So… Read More Converting raster images to SVG
…actually Ipython In : exitOut: Type exit() to exit. In : exit()Do you really want to exit ([y]/n)? is that you can check-out any time you like, but you can never leave.
Looking into 3D scanning I came across several home brew methods. This guy was actually selling a method (I guess he was selling the line laser, because he claims the software is free) – DAVID-Laserscanner. And there is the Next engine which retails for a cool $2500.
I wanted to do some documentation for Rriki which involved drawing database tables and how table rows are related to each other. I looked around and tried dia and MySQL workbench. Dia is able to export to SVG and it can draw connectors between blocks so that when you move the blocks the connectors move.… Read More Drawing database diagrams