--- Log opened Mon Mar 15 00:00:34 2010 |
00:13 | | AnnoDomini [annodomini@Nightstar-4c0b6d97.adsl.tpnet.pl] has quit [[NS] Quit: This user is shutting down NOW.] |
00:39 | | Tarinaky [Tarinaky@Nightstar-05909da0.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds] |
00:45 | | You're now known as TheWatcher[T-2] |
00:48 | | You're now known as TheWatcher[zZzZ] |
01:35 | | RichardBarrell [user@Nightstar-8c25bcfb.bb.sky.com] has quit [Ping timeout: 121 seconds] |
02:44 | | Attilla [Attilla@FBC920.480E8C.93028B.0DE757] has quit [Client closed the connection] |
03:41 | | Orth [orthianz@Nightstar-1fe2db8d.xnet.co.nz] has joined #code |
03:44 | | Orthia [orthianz@Nightstar-299ba1a7.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
04:25 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
04:34 | | GeekSoldier [Rob@Nightstar-e86e3e0d.ip.cablemo.net] has quit [[NS] Quit: Praise "BOB"!] |
04:45 | | Tarinaky [Tarinaky@Nightstar-b4a4e43f.adsl.virginmedia.net] has joined #code |
05:22 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!] |
05:26 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
05:40 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!] |
05:52 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed] |
06:17 | <@Vornicus> | Reiver: did you figure out your tree thing? |
06:21 | <~Reiver> Vornicus: I figured out what you did to it, but it indicates that I still really have no clue what I'm doing. :/ |
06:21 | <~Reiver> Why is trees so hard for my brain? ;_; |
06:21 | | Serah [Z@Nightstar-11344bdb.customer.tele.dk] has quit [Ping timeout: 121 seconds] |
06:21 | <~Reiver> Not least because once I have the tree, I need to start pulling Stupid Pet Tricks with it. |
06:25 | <~Reiver> Basically I need to get this tree up and working so I can start treating it as a component of a trie - and then that trie has some really funky logic tricks applied to it. |
07:06 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
07:08 | | Vornicus is now known as Vornicus-Latens |
07:08 | <@Vornicus-Latens> | I don't know why trees are so hard for your brain. |
07:08 | <@Vornicus-Latens> | But once you finish with the tree you should be able to just ignore its treeitude and run with it. |
07:13 | <~Reiver> The problem is once I have the tree |
07:13 | <~Reiver> I then need to use the tree to make an even bigger tree with some funky logic puzzle stuff. |
07:13 | <~Reiver> LZW alograthm involves working out what the last letter was by what the next one is. |
07:16 | <@Vornicus-Latens> | Aha |
07:17 | <~Reiver> This worries me immensely. |
07:17 | <~Reiver> Oh, and it's also not sorted, I think? |
07:17 | <~Reiver> Er. Damnit, where's my notes |
07:22 | <@Vornicus-Latens> | The tree, once you've got the code working, remains sorted. the trie is a different sack of potatoes; I don't entirely know what kind of stuff LZW does there. |
07:23 | <@Vornicus-Latens> | But that's sort of the trick - once you have the data structure together, /it works forever/ |
07:23 | <@Vornicus-Latens> | And you usually don't have to think about it. |
07:24 | <~Reiver> hrnm. |
07:24 | <~Reiver> So does my little Tree require anything further? |
07:29 | <@Vornicus-Latens> | You may (or may not!) need a traverse; this is probably the hardest part, and you'd adjust it according to the setup of the remainder of the system. Probably best bet is to make a vector that you pass around in a second parameter to the function and then return it when you're done. Look at my binary tree's "in_order" function to see how it goes. |
07:30 | <@Vornicus-Latens> | ....seems to have gone missing from the pastebin. Ah well. |
07:30 | <@Vornicus-Latens> | I desperately need sleep. |
07:31 | <~Reiver> OK, goodnight Vorn |
07:32 | <~Reiver> If I could ask a favor of you, I'd request you look into the LZW alograthm, as done using a trie (rather than just a list; that's the decompressor but we're expected to have one of each). |
07:33 | <@Vornicus-Latens> | ok |
07:33 | <~Reiver> If only so that way there's a chance it can be explained, because my lecturer is a great guy, but geez he's hard to follow~ |
08:21 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Connection reset by peer] |
08:22 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
08:26 | | AnnoDomini [annodomini@Nightstar-4c0b6d97.adsl.tpnet.pl] has joined #code |
08:26 | | mode/#code [+o AnnoDomini] by Reiver |
08:33 | | Zed_ [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code |
08:36 | | Zed [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds] |
08:43 | | Omega [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
08:44 | | Omega is now known as Alek |
08:49 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: ] |
09:59 | | You're now known as TheWatcher |
10:36 | | Attilla [Attilla@FBC920.480E8C.93028B.0DE757] has joined #code |
10:36 | | mode/#code [+o Attilla] by Reiver |
12:31 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
13:31 | | AnnoDomini [annodomini@Nightstar-4c0b6d97.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
13:33 | | AnnoDomini [annodomini@Nightstar-5179647d.adsl.tpnet.pl] has joined #code |
13:33 | | mode/#code [+o AnnoDomini] by Reiver |
13:51 | | RichardBarrell [user@Nightstar-8c25bcfb.bb.sky.com] has joined #code |
14:08 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
14:10 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
14:27 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code |
15:47 | | Tarinaky [Tarinaky@Nightstar-b4a4e43f.adsl.virginmedia.net] has quit [Operation timed out] |
15:57 | <@ToxicFrog> | Reiver: if you understand LZW using a list, LZW using a tree is identical |
15:57 | <@ToxicFrog> | (at least from the point of view of the compressor/decompressor) |
15:57 | <@ToxicFrog> | The only difference is that it calls find/insert on a tree rather than a list when updating/searching in the dictionary. |
15:58 | <~Reiver> but but but trees |
15:58 | <~Reiver> (And with that I go back to bed.) |
16:03 | | Tarinaky [Tarinaky@Nightstar-3e77fc73.adsl.virginmedia.net] has joined #code |
16:30 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
16:54 | | Orth [orthianz@Nightstar-1fe2db8d.xnet.co.nz] has quit [Client closed the connection] |
17:44 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
18:00 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
18:31 | <@ToxicFrog> | MAIL FROM ToxicFrog |
18:31 | <@ToxicFrog> | RCPT TO apt-get |
18:31 | <@ToxicFrog> | DATA |
18:31 | <@ToxicFrog> | FUUUUUUUUCKKKK YOUUUUUUUUUUUUUUU |
18:31 | <@ToxicFrog> | . |
18:33 | <@McMartin> | Obviously you are in need of quality time with condescending Debian enthusiasts. |
18:34 | <@McMartin> | The first thing they will tell you is that despite it being the only command that ever appears in sample shell scripts and sample commands, apt-get and apt-cache should never actually be used on their own. |
18:34 | <@ToxicFrog> | Synaptic (which I tried first) has the same problem. |
18:34 | <@McMartin> | Everyone[*] knows that aptitude is the proper interface to APT-based repos. |
18:35 | <@McMartin> | Which is itself a baffling pile of inconsistent syntax or insanely-stateful curses interface |
18:37 | <@ToxicFrog> | (the problem, specifically, is that there appears to be no way to say "install this package, but do not install the other 150MB of updates that are pending") |
18:38 | <@ToxicFrog> | And now it's managed to completely fuck itself to thepoint where I can't install anything! |
18:39 | | * ToxicFrog decides to use Puppy instead |
18:40 | <@ToxicFrog> | Also, what's the footnote? |
18:42 | < PinkFreud> | ToxicFrog: that's because those updates were already selected for installation |
18:42 | < PinkFreud> | you'll need to use dselect to tell it *not* to install those |
18:46 | <@ToxicFrog> | Too late |
18:47 | <@ToxicFrog> | hopefully I'll remember that for next time |
18:50 | <@McMartin> | [* meaning 'nobody, as Debian enthusiasts have kept its usage at oral tradition levels for years'] |
18:51 | <@ToxicFrog> | Anyways. Now that I have Puppy booted and am resizing /home, I solicit recommendations for laptop Linux distros that are not SUSE, Fedora, Lunar, Ubuntu, or Mint. |
18:52 | < PinkFreud> | uh, it's documented. |
18:53 | <@McMartin> | PinkFreud: It is |
18:53 | <@McMartin> | But despite being, AFAICT, what everybody uses, it's never the one that's recommended by docs. |
18:53 | <@McMartin> | It's always "to install this program type apt-get ...." |
19:09 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
19:12 | | * ToxicFrog settles on his initial testing lineup: SUSE 11.2, Sabayon 5.1, Lunar 1.6.4, Mint 8, probably starting with Lunar since it's going to finish downloading first. |
19:13 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: bbl] |
19:46 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
20:15 | | Orthia [orthianz@Nightstar-1b17f6e1.xnet.co.nz] has joined #code |
20:27 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: ] |
20:29 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection] |
20:31 | | Vornicus-Latens is now known as Vornicus |
20:31 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
21:26 | | RichardB_ [mycatverbs@Nightstar-4cf4ecfb.bb.sky.com] has joined #code |
21:27 | | Orthia [orthianz@Nightstar-1b17f6e1.xnet.co.nz] has quit [Client closed the connection] |
21:28 | | RichardBarrell [user@Nightstar-8c25bcfb.bb.sky.com] has quit [Ping timeout: 121 seconds] |
21:36 | | Orthia [orthianz@Nightstar-1b17f6e1.xnet.co.nz] has joined #code |
21:38 | | Orthia [orthianz@Nightstar-1b17f6e1.xnet.co.nz] has quit [Client closed the connection] |
21:54 | <@AnnoDomini> | How do I search for text within files? |
21:55 | <@ToxicFrog> | From the command line? grep |
21:55 | <@ToxicFrog> | grep pattern files |
21:56 | <@ToxicFrog> | Defaults to basic regular expressions; use 'egrep' for extended and 'fgrep' for fixed strings. |
21:56 | <@ToxicFrog> | Use grep -r to recursively search entire directories. |
21:56 | <@ToxicFrog> | Check the man page for all the gory details on how to do things like context lines, line number reporting, what to do with binary files, etc. |
22:04 | | RichardB_ is now known as RichardBarrell |
22:06 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: ] |
22:06 | | RichardBarrell [mycatverbs@Nightstar-4cf4ecfb.bb.sky.com] has quit [Client closed the connection] |
22:06 | | RichardBarrell [user@Nightstar-4cf4ecfb.bb.sky.com] has joined #code |
22:09 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
22:17 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: ] |
22:17 | | RichardB_ [mycatverbs@Nightstar-16573ac5.bb.sky.com] has joined #code |
22:19 | | RichardBarrell [user@Nightstar-4cf4ecfb.bb.sky.com] has quit [Ping timeout: 121 seconds] |
22:21 | <@McMartin> | Yay |
22:21 | | * McMartin manages to get his laptop to work with VMware. |
22:34 | | AnnoDomini [annodomini@Nightstar-5179647d.adsl.tpnet.pl] has quit [[NS] Quit: Someone tell Alek that using Windows Update is not worth the effort, and that he should turn it off.] |
23:29 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
23:34 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [[NS] Quit: ] |
23:35 | | Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code |
23:50 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
--- Log closed Tue Mar 16 00:00:35 2010 |