print page 3 - Dave's Blog

Search
My timeline on Mastodon

Barbie's finger nail painter makes gaming writers beautiful

2009 Jan 10, 1:00We may not have 3D printers yet but this is certainly a step in the correct direction. "A second later, you remove your finger from the terrifyingly feminine gom jabbar, and you have your nail all done and ready to go. A brief cover of clear fingernail polish for protection, and you're ready to go out and enjoy the rest of CES while awkwardly not explaining why you have a heart on your finger."PermalinkCommentsbarbie humor nail ces arstechnica video technology

Yellow Dots of Mystery: Is Your Printer Spying on You?

2008 Oct 23, 11:27Informative and humorous video on the topic of printer tracking dots. "Most color laser printers and color copiers are designed to print invisible tracking codes across every single printed page of their output. These codes reveal which machine produced a document and, in some cases, when the document was printed or copied."PermalinkCommentshumor video security privacy eff printer

QuickBase Formula Pretty Printer and Syntax Highlighter

2008 Oct 5, 9:17

Sarah asked me if I knew of a syntax highlighter for the QuickBase formula language which she uses at work. I couldn't find one but thought it might be fun to make a QuickBase Formula syntax highlighter based on the QuickBase help's description of the formula syntax. Thankfully the language is relatively simple since my skills with ANTLR, the parser generator, are rusty now and I've only used it previously for personal projects (like Javaish, the ridiculous Java based shell idea I had).

With the help of some great ANTLR examples and an ANTLR cheat sheet I was able to come up with the grammar that parses the QuickBase Formula syntax and prints out the same formula marked up with HTML SPAN tags and various CSS classes. ANTLR produces the parser in Java which I wrapped up in an applet, put in a jar, and embedded in an HTML page. The script in that page runs user input through the applet's parser and sticks the output at the bottom of the page with appropriate CSS rules to highlight and print the formula in a pretty fashion.

What I learned:

PermalinkCommentsjava technical programming quickbase language antlr antlrworks

Neil Fraser: News: Wooden Brain

2008 Sep 8, 6:51Neil prints out brain cross sections from an MRI and pastes them onto a set of wooden cubes forming a model of his brain. "Last month I took a left-right MRI scan, reconstructed it, and rerendered top-bottom and front-back scans... Another method to visualize a complex 3D object is to build a model. The dimensions of the MRI data cuboid are almost exactly 3x4x5. Accordingly, I obtained 60 one-inch cubes ... arranged them appropriately, varnished the 94 outside faces, printed nine carefully selected cross-sections and their mirror images, sliced the prints into 266 squares and glued them to the correct internal faces."PermalinkCommentsart design brain toy model wood

13 things that do not make sense - space - 19 March 2005 - New Scientist Space

2008 Aug 14, 3:59"13 things that do not make sense, Updated 11:22 19 December 2007, From New Scientist Print Edition. Michael Brooks". Thirteen mysteries of physics and biology currently under contention.PermalinkCommentsscience article michael-brooks biology physics

Olden Days Tools Exhibit

2008 Jun 24, 9:58

sequelguy posted a photo:

Olden Days Tools Exhibit

PermalinkCommentscanada victoria tools royalbritishcolumbiamuseum blueprints

Tracking the Trackers

2008 Jun 10, 4:52"...we were able to generate hundreds of real DMCA takedown notices for ... nonsense devices including several printers and a (non-NAT) wireless access point."PermalinkCommentssecurity bittorrent copyright dmca legal mpaa piracy printer research riaa washington

Miscellany: INSERT COIN

2008 Apr 1, 1:16Change HP printer status LED to read 'Insert Coin': "This little perl program allows you to set the "Ready Message" on HP printers to whatever you'd like."PermalinkCommentshumor prank printer hack hardware howto

NLC tries Creative Commons (Nebraska Library Commission Blog)

2008 Feb 21, 10:01Nebraska Library Commission beings including electronic and printed versions of Creative Commons books in their library.PermalinkCommentslibrary creative-commons copyright catalog cory-doctorow via:boingboing

Bill of Rights Security Edition - Gizmodo

2008 Feb 18, 6:09zfrechette: "metal plates printed with the bill of rights. when you go through a metal detector they go off, and your rights are taken away."PermalinkCommentshumor legal politics travel bill-of-rights gizmodo via:zfrechette product

Excerpts from "Expert Judgement on Markers to Deter Inadvertent Human Intrusion into the Waste Isolation Pilot Plant"

2008 Feb 11, 7:49Thanks Itrasbiel! FTA: "The site must be marked. Aside from the legal requirement, the site will be indelibly imprinted by the human activity associated with waste disposal. We must complete the process by explaining what has been done and why. "PermalinkCommentsvia:Itrasbiel future science time art nuclear government nuclear-waste

Periodic Table Printmaking Project

2008 Jan 30, 1:55Periodic table with each element represented as a its own painting by different artists.PermalinkCommentsvia:boingboing science periodic-table-of-elements art visualization

RE-PC HOME

2007 Jul 31, 3:09RE-PC takes computer and computer hardware related (cables, printers, etc etc) donations and either recycles them via refurbishing and reselling or recycling the components of the dontations through enviro. friendly means.PermalinkCommentshardware seattle pc recycle shopping purchase donate

Backup Notes

2007 Jul 13, 8:30I bought an external backup drive a few weekends ago. I've previously setup a Subversion repository so I decided to move everything into the repository and then back it up. So in went the contents of all of my %USERPROFILE% and ~ directories with a bit of sorting and pruning. Not too much though given its much easier to dump in everything and search for what I want then to take the time to examine and grade each file. What follows are the notes I took while setting this up. It takes me a bit of time to look up the help on each command so I figure I'll write it all down here for the benefit of myself and potentially others...

Setting Up the Backup Drive For Linux
I first changed the filesystem on the drive to ext3. I plugged it into my USB2.0 port and ran fdisk:

sudo fdisk /dev/sda

Useful commands I used to do this follow mostly in order:
m
help
p
print current partitions
d
delete current partition
n
create new partition (I used the defaults)
w
write changes and exit
Then I formatted for ext3.

sudo mkfs.ext3 /dev/sda1

I made it easy to mount:

sudo vim /etc/fstab
# added line to end:
/dev/sda1 /media/backup ext3 rw,user,noauto 0 0

I setup the directory structure on the disk

mount /media/backup
sudo mkdir /media/backup/users
sudo mkdir /media/backup/users/dave
sudo chown dave:dave /media/backup/users/dave


After all that its easy to make a copy of the Subversion repository:

mount /media/backup
cp -Rv /home/dave/svn /media/backup/users/dave/
umount /media/backup

Next on the agenda is to add a cron job to do this regularly.

Subversion Command Reference
On a machine that has local access to the Subversion repository you can check out a specific subdirectory as follows using the file scheme:

svn co file:///home/dave/svn/trunk/web/dave%40deletethis.net/public_html

Note also that although one of my directories is named 'dave@deletethis.net' Subversion requires the '@' to be percent-encoded.
Other useful subversion commands:
svn help
help
svn list file:///home/dave/svn/
list all files in root dir of svn depot
svn list -R file:///home/dave/svn/
list all files in svn depot
svn list -R file:///home/dave/svn/ | grep \/$
list all directories
svn status
List status of all files in the working copy directory as in - modified, not in repository, etc
svn update
Brings the working copy up to date wrt the repository
svn commit
Commit changes from the working copy to the repository
svn add / move / delete
Perform the specified action -- occurs immediately


Setting up Windows Client for Auto Auth into SVN
When using an SVN client on Windows via svn+ssh its useful to have the Windows automatically generate connections to the SVN server. I use putty on my Windows machines so I read the directions on using public keys with putty.

putty.exe dave@deletethis.net
cd .ssh
vim authorized_keys # leave the putty window open for now
puttygen.exe
Click the 'generate' button
Move the mouse around until finished
Copy text in 'Public key for pasting into OpenSSH authorized_keys file:' to putty window & save & close putty window
Enter Key passphrase & Comment in puttygen
Save the private key somewhere private
pageant.exe
'Add Key' the private key just saved.



Checking out using Tortoise SVN
On one of my Windows machines I've already installed Tortoise SVN. Checking out from my SVN repository was really easy. I just right clicked in Explorer in a directory and selected "SVN Checkout...". Then in the following dialog I entered the svn URI:

svn+ssh://dave@deletethis.net/home/dave/svn/trunk/web/dave%40deletethis.net/public_html/

Note again that the '@' that is part of the directory name is percent-encoded as '%40' while the '@' in the userinfo is not.

Windows Command Line Check Out
On my media center I didn't want to install Tortoise SVN so rather I used the command line tool. I setup pageant like before the only difficulty was getting the SVN command line tool to use putty. With the default configuration you can use the SVN_SSH environment variable to point at a compliant SSH command line tool. The trick is that its interpreted as a backslash escaped string. So I set mine thusly:

set SVN_SSH=C:\\users\\dave\\bin\\putty\\plink.exe

The escaping solved the vague error I received about not being able to create the tunnel.PermalinkCommentsbackup technical personal windows svn linux subversion

Home : Nature Precedings

2007 Jun 18, 10:49"Nature Precedings is trying to overcome those limitations by giving researchers a place to post documents such as preprints and presentations in a way that makes them globally visible and citable."PermalinkCommentsscience research journal nature database collaboration archive community

Fab@Home: 3D objects from your printer for under $2,500: (Ars Technica)

2007 Apr 11, 1:18Article on current 3D printer technology. Reminds me of an April fools article on Ars a while ago about nano-compilers. The future is now!PermalinkCommentsarticle fabrication printer 3d

CutePDF - Create PDF for free, Save PDF Forms, Edit PDF easily;.

2007 Apr 4, 9:15CutePDF lets you print things out to a PDF file.PermalinkCommentspdf print windows free software download

RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies

2007 Mar 8, 1:01Definition of Quoted-Printable an encoding used in MIME.PermalinkCommentsmime encoding quoted-printable ietf rfc reference standard

Prettyprint - Wikipedia, the free encyclopedia

2006 Sep 14, 2:14PermalinkCommentsdevelopment programming software tool tools standards style wikipedia prettyprint beautifier

Videos: (Spraypaint Printer)

2006 Apr 3, 2:48PermalinkCommentsart graffiti hack printer video spraypaint
Older EntriesNewer Entries Creative Commons License Some rights reserved.