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."
barbie humor nail ces arstechnica video technology 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."
humor video security privacy eff printer 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:
- I didn't realize that Java applets are easy to use via script in an HTML page. In the JavaScript I
can simply refer to publicly exposed methods on the applet and run JavaScript strings through them. It makes for a great combination: do the heavy coding in Java and do the UI in HTML. I may end up
doing this again in the future.
- I love ANTLRWorks, the ANTLR IDE, that didn't exist the last time I used ANTLR. It tells you about issues with your grammar as you create it,
lets you easily debug the grammar running it forwards and backwards, display parse trees, and other useful things.
java technical programming quickbase language antlr antlrworks 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."
art design brain toy model wood 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.
science article michael-brooks biology physics 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."
security bittorrent copyright dmca legal mpaa piracy printer research riaa washington 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."
humor prank printer hack hardware howto 2008 Feb 21, 10:01Nebraska Library Commission beings including electronic and printed versions of Creative Commons books in their library.
library creative-commons copyright catalog cory-doctorow via:boingboing 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."
humor legal politics travel bill-of-rights gizmodo via:zfrechette product 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. "
via:Itrasbiel future science time art nuclear government nuclear-waste 2008 Jan 30, 1:55Periodic table with each element represented as a its own painting by different artists.
via:boingboing science periodic-table-of-elements art visualization 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.
hardware seattle pc recycle shopping purchase donate 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.
backup technical personal windows svn linux subversion 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."
science research journal nature database collaboration archive community 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!
article fabrication printer 3d 2007 Apr 4, 9:15CutePDF lets you print things out to a PDF file.
pdf print windows free software download 2007 Mar 8, 1:01Definition of Quoted-Printable an encoding used in MIME.
mime encoding quoted-printable ietf rfc reference standard