NEW: For a prettier blog interface, see the Wordpress version!

Tasks
Priorities - A: high, B: medium, C: low; Status - _: unfinished, X: finished, C: cancelled, P: pending, o: in progress, >: delegated. Covey quadrants - Q1 & Q3: urgent, Q1 & Q2: important
A1XMake projects for tomorrow
Schedule
9:30 11:00 Planner maintenance and mail
11:00 11:30 Friendster (sheepish grin)
12:00 13:00 Lunch
13:00 16:30 Blue Panthers: We will work tom at 1-430... Venue still has to be decided.
13:00 16:30 Provide feedback to CS21A students on BuyAndSellJApplet
16:30 19:30 Meet with Dr. Sarmenta, Fanny Sy and Christine Amarra regarding the CS21A finals
19:30 21:30 Dinner at Jollibee
21:30 22:30 Talk to Mario and Nestor
Notes

1. John Wiegley's ledger : 09:49

Categories: None -- Permalink
From John Wiegley, Emacs ubercoder:
I've traded 60 Mb on my laptop for 60 Kb. How can you, too, lose three orders of magnitude of fat and waste on your hard drive?

By checking out the incredibly lean and mean "ledger" accounting tool. Written in C++, it parses it only, simplified general ledger file (intended for editing with Emacs), or it can even just parse GnuCash data files directly. This gives you the easiest way of starting out:

ledger -f print

That will print out your GnuCash XML ledger data into much simpler, text-based "ledger" file.

Below is the code. For reading GnuCash, you'll need libxmltok1-dev installed (if you're a Debian user). It also uses GNU's multi-precision library (libgmp3-dev) and Perl regular expression library (libpcre3-dev).

http://sacha.sachachua.com/notebook/emacs/ledger.tar.bz2

2. There's more than one way to do it --- linux : 10:47

Categories: None -- Permalink
The original problem:
Hi,

I have a file in this format of words:

joe jill bill bob frank tom harry

and want to convert the file to this format:

joe
jill
bill
bob
frank
tom
harry

Is there an easy way to this? The file I have has hundreds of entries.
Thanks
Mike

Several proposed solutions

for word in `cat file`; do; echo $word; done > new_file
for x in `cat file`; do echo $x; done
sed -ri 's/[ \t]+/\n/g' file
tr ' ' '\012' < infile > outfile
fmt -w 1 filename > newfile
perl -p040 -l12 -e 'chomp' filename
perl -p040 -e 's/\s/\n/' filename

3. NNTP access : 11:23

Categories: None -- Permalink
Ani Dido Sevilla:
Apparently the only way you can have access to Usenet these days from here is via groups.google.com. Some years ago, around 1997 or so, I once had a Pacific Internet account and could access Usenet news via news.pacific.net.ph, which apparently was an alias for Pacific's Usenet server in Singapore. Dunno if Pacific still has this service though, but apparently the name still exists and works.

4. Java Games tutorial #3 - Creating a Stand-alone Graphics Application : 16:18

Categories: None -- Permalink
http://www.programmersheaven.com/articles/userarticles/mark/tut3/tut3_1.htm

The tutorial uses BlueJ as an environment. Interesting...

Previous day | Next day

I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at [email protected] .

Page: 2003.10.07
Updated: 2005-05-2912:18:0712:18:07-0400
NOTE: ANTI-SPAM MEASURE NOW IN PLACE. Please answer the following question with the right number in order to send me your comment.
What is two minus one? (hint: one ;) )
Name:
E-mail:
URL:
Comments: