--- Log opened Sat Sep 22 00:00:21 2007 |
00:49 | | Derakon[AFK] is now known as Derakon |
01:17 | | GeekSoldier is now known as GeekSoldier|bed |
01:34 | | Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone] |
01:56 | | Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone] |
02:36 | | KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code |
02:36 | | mode/#code [+v KarmaBot] by ChanServ |
03:52 | <@McMartin> | WTF, Western Digital. |
03:52 | <@McMartin> | When you add a "C" to your chip series, that's suppose to mean you switched to CMOS technology. |
03:52 | <@McMartin> | Not that you added two addressing modes and thirty opcodes. |
03:55 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout] |
03:58 | | Vornicus [~vorn@64.252.9.ns-26300] has joined #code |
03:59 | | Vornicus is now known as NSGuest-1162 |
04:00 | | NSGuest-1162 is now known as Vornicus |
04:25 | < ReivSLEP> | They don't have CMOS? |
04:46 | <@McMartin> | They do have CMOS. |
04:46 | <@McMartin> | They just also have two new addressing modes and thirty opcodes. |
04:46 | <@McMartin> | And actually, more like fifty; the reference I was using was incomplete~ |
04:47 | <@ToxicFrog> | o.O |
04:47 | <@McMartin> | Some of this inflation is due to a quirk of the 65xx mnemonic style. |
04:47 | <@McMartin> | There is, for instance, no LD opcode. |
04:47 | <@McMartin> | There is LDA, LDX, and LDY. |
04:48 | <@McMartin> | And STA, STX, and STY for register->memory operations. |
04:48 | <@McMartin> | The 65C02 adds STZ. |
04:48 | <@McMartin> | It also adds 32 mnemonics for "branch if bit set/clear" and "set/clear memory bit". |
04:55 | <@ToxicFrog> | The LD*/ST* opcodes are the same as the MC68HC*, looks like. |
04:56 | <@ToxicFrog> | Why does it need 32 mnemonics for bit tests, though? One for each bit? |
04:56 | <@ToxicFrog> | Or one for each register x 4 bit operators? |
05:01 | <@McMartin> | One for each bit. |
05:02 | <@McMartin> | "SMB2 var", etc |
05:02 | <@McMartin> | At least, that's how I'm doing it so that I don't have to rewrite my entire parser. |
05:06 | <@McMartin> | SMB2 var, of course, smacks var in the face with a turnip. |
05:14 | <@ToxicFrog> | heh. |
05:14 | <@ToxicFrog> | ("Nice PDA, what's it running?" "Linux." "...you're shitting me." "# uname -> Linux") |
05:18 | <@McMartin> | ... there, opcode sorting finished. |
05:18 | <@McMartin> | Now I should either turn this into something Ophis can eat, or modify Ophis to just read these files directly. |
05:19 | <@McMartin> | http://hkn.eecs.berkeley.edu/~mcmartin/P65/opcodes/ |
05:20 | <@McMartin> | Note that "6510" is actually 6502 with a bunch of mnemonics for accidental properties of the chip when fed invalid opcodes. |
05:21 | <@ToxicFrog> | Heh. |
05:22 | | * ToxicFrog throttles GPE |
05:22 | <@ToxicFrog> | Boot it up, it asks me to set a root password... |
05:22 | <@ToxicFrog> | ...forever. |
05:23 | <@McMartin> | GPE? |
05:24 | <@ToxicFrog> | One of the desktop environments for OpenEmbedded. |
05:24 | <@ToxicFrog> | The first time you run it it asks you to configure a bunch of stuff, including the root password; however, it gets stuck, continually displaying the root password screen. |
05:24 | <@ToxicFrog> | AFAICT I'm the only person who has this problem, too ;.; |
05:25 | <@McMartin> | Aha |
05:26 | | * McMartin misread you at first as "Set the root password once, and it may never be reset ever again" |
05:27 | <@ToxicFrog> | That I could live with: sudo nano -w /etc/passwd |
05:27 | <@McMartin> | heh |
05:29 | <@ToxicFrog> | (I can't even SSH into it to try to sort things out; the network interfaces don't get started until after initial configuration) |
05:29 | <@McMartin> | Ick |
05:30 | <@ToxicFrog> | Oooo, I think I have it working |
05:30 | | * ToxicFrog booted with init=/bin/sh, passwd root, reboot |
05:31 | <@McMartin> | You can make init be the shell? |
05:31 | <@ToxicFrog> | (why not just use Opie? Because GPE is X11-based, which enables all kinds of awesome tricks.) |
05:31 | <@ToxicFrog> | Yes. |
05:32 | < Vornicus> | ...pulling xchat onto your pda, for instance. |
05:32 | < Vornicus> | :P |
05:32 | <@ToxicFrog> | Although in this case, init is actually a small shell script that asks whether I want to boot into the shell, or the graphical environment, or load a sysimage from another device and boot that instead. |
05:32 | <@McMartin> | And nfrotz! |
05:32 | <@ToxicFrog> | And has "drop me straight into sh" as an advanced option. |
05:32 | <@ToxicFrog> | nfrotz, yes. |
05:32 | <@McMartin> | Speaking of which, I have a game to test. |
05:33 | <@ToxicFrog> | xchat...I don't think this thing has the screen real estate for it, and it definitely doesn't have the CPU power for SSH-tunneled X. |
05:33 | <@ToxicFrog> | Sadly. |
05:34 | <@ToxicFrog> | (also, I'd only be able to use xchat in it while it's docked - and if it's docked, I have it docked to something, which I can move xchat onto) |
05:34 | <@ToxicFrog> | Interesting. GPE actually requires you to log in. |
05:34 | <@ToxicFrog> | (Opie kicks you straight into the desktop. As root.) |
05:39 | <@McMartin> | Ooh! Will xgalaxy fit onscreen? |
05:39 | <@McMartin> | omgpewpew |
05:39 | <@ToxicFrog> | I have no idea, what's xgalaxy? |
05:39 | < Vornicus> | Galaxy Patrol as an X11 game rather than an NES game? |
05:40 | < Vornicus> | is my guess. |
05:40 | <@McMartin> | Nah |
05:40 | <@ToxicFrog> | Never played, or indeed heard of, Galaxy Patrol. |
05:40 | <@McMartin> | It's an old BSD galaga variant. |
05:40 | <@ToxicFrog> | (I do know that ScummVM will fit onscreen) |
05:40 | <@McMartin> | Galaxy Patrol is the NES game I wrote years ago. |
05:40 | < Vornicus> | Galaxy Patrol is a game by McM. |
05:40 | < Vornicus> | You fly back and forth between pyl^H^H^H stars and collect fuel to keep going. |
05:40 | <@McMartin> | http://www.stanford.edu/~mcmartin/retro/ |
05:40 | <@McMartin> | Port of a ZX81 game, actually~ |
05:40 | <@ToxicFrog> | Aah. In that case, I've heard about it and forgotten~ |
05:41 | < Vornicus> | Aha. |
05:41 | <@ToxicFrog> | Anyways...xgalaxy might, and it or a variant thereof might even be in the package manager. |
05:41 | <@ToxicFrog> | If I can ever get it to bring up the network. |
05:42 | <@McMartin> | Oh hey, Maelstrom tends to be in the package managers, too. |
05:42 | <@McMartin> | Though since it still uses the fake orgasm from When Harry Met Sally as the powerup sound you probably shouldn't play that one with sound on in public. |
05:42 | <@ToxicFrog> | It doesn't have speakers anyways, so. |
05:42 | < Vornicus> | *snrk* |
05:50 | <@ToxicFrog> | Ok, USB networking is go! |
05:50 | <@ToxicFrog> | To me, package manager! |
05:50 | <@ToxicFrog> | top |
05:50 | <@McMartin> | pwnt |
05:51 | <@ToxicFrog> | (grind grind grind grind grind whirr) |
05:52 | <@ToxicFrog> | ...maybe using ipkg directly would have been wiser. |
05:52 | <@McMartin> | nfrotz doesn't have an ipkg. ;_; |
05:53 | <@ToxicFrog> | ;.; |
05:53 | <@ToxicFrog> | I could probably build it from source. |
05:53 | <@McMartin> | Probably. |
05:53 | <@McMartin> | I assume if you have X you also have ncursesw. |
05:53 | <@ToxicFrog> | Although I'm not sure if I can build it right on Auxilior (very, very slowly) or if I'll need a cross-compiler. |
05:53 | <@McMartin> | Yeeeeah. |
05:54 | <@McMartin> | I mean, it's not large. |
05:54 | <@McMartin> | But. |
05:54 | <@ToxicFrog> | root@collie:~# cat /proc/cpuinfo |
05:54 | <@ToxicFrog> | Processor : Intel StrongARM-1110 rev 9 (v4l) |
05:54 | <@ToxicFrog> | BogoMIPS : 137.21 |
05:54 | <@McMartin> | (Mainline Frotz is also less memory-intensive than nfrotz, though that may also cause stack blowouts.) |
05:55 | <@ToxicFrog> | For comparison, Orias - an 800MHz P3 - has a bogoMIPS of 1600. |
05:55 | <@McMartin> | (nfrotz keeps the entire game file in memory at all times, and IIRC mainline frotz loads from disk as needed.) |
05:55 | <@ToxicFrog> | Eep. |
05:56 | <@ToxicFrog> | Well, I've got 64MB of memory in this thing |
05:56 | <@McMartin> | Oh. Well. |
05:56 | <@McMartin> | Yeah, Not A Palm. |
05:56 | <@ToxicFrog> | And a cold boot plus package manager only uses 24MB or so of that. |
05:56 | <@ToxicFrog> | Opie will use even less, as it doesn't need X11, it just talks to the framebuffer directly. |
05:58 | <@ToxicFrog> | Hmm. |
05:59 | <@McMartin> | nfrotz on my system has its VIRT RES SHR as 74912 1680 836 when running a Very Large .z8. |
05:59 | <@ToxicFrog> | For some reason, it's downloading the package list very, very slowly. |
05:59 | <@ToxicFrog> | 1KBps slowly. |
06:01 | <@ToxicFrog> | (on a Palm, I would use Kronos anyways, which has some useful features to compensate for the fact that Palms tend to lack keyboards.) |
06:02 | <@ToxicFrog> | Aaaand it looks like the GPE image does not, in fact, come with curses. |
06:04 | <@McMartin> | ;.; |
06:06 | <@ToxicFrog> | Happily, frotz 2.43 is in the package manger. |
06:06 | <@ToxicFrog> | So I'll just trust ipkg to handle all the details. |
06:08 | <@ToxicFrog> | ...xgalaxy does not appear to be there, but OpenTTD is. |
06:09 | <@McMartin> | Largeness |
06:09 | <@ToxicFrog> | Yeah. I think I'd need to enlarge / to install it. |
06:10 | <@McMartin> | FreeCell! |
06:10 | <@McMartin> | Well, AisleRiot. |
06:11 | <@ToxicFrog> | what |
06:11 | <@ToxicFrog> | my brain |
06:11 | <@ToxicFrog> | x11/games/quake1: Quake I, ported to OpenZaurus. |
06:12 | < Vornicus> | |
06:12 | < Vornicus> | awesome. |
06:13 | <@McMartin> | Aren't the data files still under strict copyright? |
06:13 | <@ToxicFrog> | I suspect this is just the engine; you're espected to then procure the .pak yourself. |
06:14 | <@McMartin> | Arrrr |
06:14 | | * Vornicus has that. |
06:14 | | * Vornicus has the q2 one too. |
06:14 | | * McMartin still needs to play Marathon. |
06:14 | | * Vornicus is bethumped that you have not. |
06:14 | <@ToxicFrog> | I'm surprised Marathon hasn't been ported to this. |
06:14 | <@ToxicFrog> | Doom and RotT both have. |
06:15 | < Vornicus> | eap RotT |
06:15 | <@ToxicFrog> | Rise of the Triad. |
06:15 | < Vornicus> | aha |
06:15 | <@ToxicFrog> | Old (BUILD? Doom?) engine game. |
06:17 | <@ToxicFrog> | Ok, this ipkg update is taking so long I'm just going to go to bed and pick it up in the morning. |
06:18 | <@ToxicFrog> | Based on playing around with the apps, though, I think I'm going to stick with Opie for general PDA-oid tasks, and only boot into GPE for stuff that needs X. |
07:05 | | Syloqs-AFH [Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer] |
07:20 | | GeekSoldier|bed is now known as GeekSoldier |
07:25 | | Mischief [~Genesis@Nightstar-7565.hsd1.md.comcast.net] has joined #code |
07:28 | < Mischief> | Hey everyone. |
07:31 | < Mischief> | Would anyone know how I can find out what process is using port 80 on my box? I tried top to see if I had apache open, I don't. And I can't run apache because it won't bind to port 80(Even under root) |
07:31 | < Vornicus> | tcpdump |
07:32 | < Mischief> | Don't have the command. |
07:32 | | Vornicus is now known as Vornicus-Latens |
07:32 | < Vornicus-Latens> | dunno then. |
07:32 | < Mischief> | I'm apt-getting it |
07:32 | < Mischief> | Took me a second to remember this is debian. Thank you, Vorn |
07:34 | | Syloq [Syloq@NetAdmin.Nightstar.Net] has joined #code |
07:35 | | Syloq is now known as Syloqs-AFH |
07:39 | < Mischief> | Hmm. If I port range forward 27014 to the local IP of the apache server. Then Port Trigger port 80 to 27014, would that work? |
08:07 | | Derakon is now known as Derakon[AFK] |
08:08 | <@McMartin> | netstat -atup is also good. |
08:12 | < Mischief> | I'll tray that |
08:12 | < Mischief> | ...tray. |
08:13 | | * McMartin gets his new NES rom working. |
08:13 | < Mischief> | Emulator? |
08:13 | <@McMartin> | Homebrew. |
08:13 | <@McMartin> | In an emulator, but. |
08:13 | <@McMartin> | Nothing terribly exciting, just scrolling text |
08:14 | < Mischief> | Ahh. That's still really cool |
08:14 | <@McMartin> | Though that does mean that I could produce looping backgrounds of arbitrary length. |
08:14 | <@McMartin> | Yeah, but I've actually written playable games, so this is less impressive. |
08:14 | < Mischief> | What about porting things from RPGMaker XP to .rom format? |
08:14 | <@McMartin> | (It's a test for the last few features in my assembler) |
08:14 | <@McMartin> | Not a chance in hell. |
08:15 | < Mischief> | Heh, I doubt I could either. |
08:15 | <@McMartin> | I'm not convinced it's even reliably possible |
08:15 | < Mischief> | I'd have to agree. |
08:15 | <@McMartin> | Bear in mind that the NES has a whopping 2 kilobytes of RAM. |
08:15 | < Mischief> | Better than the.. Blast, what did they call it? Comandeer? |
08:15 | < Mischief> | ... I hate my memory. |
08:15 | < Mischief> | Commandor? |
08:15 | <@McMartin> | The Atari 2600 VCS takes the prize, with 128 bytes of RAM. |
08:16 | < Mischief> | Impressive. |
08:16 | <@McMartin> | The Commodore 64 had 64 KB of RAM and several bankswitched ROMs. |
08:16 | <@McMartin> | And a NES-compatible chip. The '64 is much more pleasant to develop for. |
08:16 | < Mischief> | I bet. |
08:16 | <@McMartin> | http://www.stanford.edu/~mcmartin/retro/ |
08:17 | | * Mischief headbashes. |
08:17 | < Mischief> | Apache keeps trying to bind to 0.0.0.0:80 |
08:17 | <@McMartin> | That can't be good |
08:17 | < Mischief> | Now I've got it trying to bind to a local address, but it says it's already in use. |
08:18 | < Mischief> | Oh well.. I'll try to figure it out. I've got all night after all. |
08:22 | < Mischief> | Ah.. Fixed it, I think |
08:28 | < Mischief> | So how did you make games for the emulator? |
08:31 | <@McMartin> | With a bunch of tech documents from the Internet, and a cross-assembler I wrote myself (and which has, over the years, been the Real Project). |
08:31 | < Mischief> | Ah, that's pretty neat. |
08:31 | < Mischief> | What'd you write it in? |
08:31 | <@McMartin> | The assembler? Python. |
08:32 | | * McMartin was ranting about Docbook in here earlier; that was for formatting the tutorial for it. |
08:32 | < Mischief> | Ah, Python. Very cool, then |
08:32 | <@McMartin> | http://hkn.eecs.berkeley.edu/~mcmartin/P65/db/book1.html is the current fruits of that, though it doesn't actually link the sample code or anything. |
08:33 | | * Mischief nods. |
08:33 | < Mischief> | Would you kindly hit me with something blunt for trying to compile code with sudo? >_< |
08:33 | | * McMartin snaps his fingers, buries Mischief in Orbital Corned Beef Hash. |
08:34 | | * Mischief makes a muffled thanks. |
08:34 | < Mischief> | without* |
08:40 | < Mischief> | WOOOO! Yay! I got an error message! But it's a good error message! Vorn, are you here? |
08:41 | < GeekSoldier> | why, oh why could python not have a do...while() loop? |
08:41 | | * GeekSoldier sighs. |
08:42 | < Mischief> | /usr/share/moin/htdocs/moin.cgi/ not found |
08:42 | < Mischief> | The best error I've had in 2 hours. |
08:42 | <@jerith> | GeekSoldier: While 1: ... if foo: break |
08:42 | <@jerith> | s/W/w/ |
08:42 | < GeekSoldier> | ooh. |
08:43 | < GeekSoldier> | thanks jerith. |
08:43 | | * GeekSoldier facepalms. |
08:46 | <@McMartin> | http://www.stanford.edu/~mcmartin/retro/finalscroll.zip |
08:47 | <@jerith> | McMartin: What's that? |
08:48 | <@McMartin> | The homebrew cart I mentioned previously. |
08:48 | <@McMartin> | And now, shower and sleep. |
08:49 | <@jerith> | 'night McMartin. |
09:04 | < GeekSoldier> | rule number 42: if you have a counter variable... don't initialize it in the loop that's counting on it. |
09:06 | < Mischief> | Syntax Error! |
09:10 | < Mischief> | Whoops, I screwed up my htdoc files. |
09:19 | | You're now known as TheWatcher |
09:20 | < Mischief> | I think I'm going to go crash now. Setting up MoinMoin is hard. >_< |
09:21 | < Mischief> | Apache doesn't want to cooperate. And my knowledge on linux is minimal |
09:25 | <@jerith> | Mischief: if you have some time, pastebin the relevant apache configs and I'll take a look. |
09:25 | < Mischief> | I was gonna try and throw up an SSH server |
09:25 | <@jerith> | That's easy. |
09:25 | < Mischief> | I have FoxyWiki's directory and folders copied with appriopriate access limitations. I'm having trouble linking up Apache to the moin.cgi document though |
09:26 | <@jerith> | It should actually be installed and running by default. |
09:26 | < Mischief> | Nope. |
09:26 | < Mischief> | I just tried, my machine actively refused it. |
09:27 | <@jerith> | ps aux | grep sshd |
09:27 | <@jerith> | Does it show an sshd running? |
09:28 | < Mischief> | Two of them |
09:28 | | * jerith ponders. |
09:28 | <@jerith> | What's the message you get from ssh? |
09:29 | < Mischief> | oh god, let me type it out. >_< |
09:29 | <@jerith> | Copy/paste? |
09:29 | < Mischief> | root 16298 0.0 0.2 4924 1060 ? Ss 16:23 0:00 /usr/sbin/sshd |
09:29 | < Mischief> | Different machine |
09:29 | <@jerith> | Or is it on a different box. |
09:29 | <@jerith> | Ah. |
09:30 | <@jerith> | OK, so you have sshd running. |
09:30 | < Mischief> | root 16456 0.0 0.1 2852 704 pts/2 R+ 16:29 0:00 grep sshd |
09:30 | <@jerith> | The second line is the grep command you're running, not an sshd. |
09:30 | < Mischief> | Ah. |
09:30 | <@jerith> | Are you trying to ssh as root? |
09:31 | < Mischief> | Sorry, I'm in over my head here, just trying to make logic out of it. (Cisco networking, but no experience with linux, y'know?)) |
09:31 | < Mischief> | No |
09:31 | | * jerith nods. |
09:31 | <@jerith> | Often root logins are disabled over ssh. |
09:33 | < Mischief> | the user name and password are foxywiki and r0gue |
09:33 | < Mischief> | (Not very good, but I'm exhausted)) |
09:33 | < Mischief> | I'm trying to figure out why SSH is refusing |
09:33 | <@jerith> | What message is it giving you? |
09:34 | <@jerith> | timeout? password refused? |
09:34 | <@jerith> | connection denied? |
09:34 | < Mischief> | "no connection could be made because the target machine actively refused it" |
09:34 | < Mischief> | Windows Error 10061 |
09:34 | <@jerith> | Hmm. |
09:35 | <@jerith> | Is the machine on the interwebs or only local? |
09:36 | < Mischief> | interwebs |
09:36 | <@jerith> | IP? |
09:37 | < Mischief> | Let me route the port through my router |
09:37 | <@jerith> | Also, what does your /etc/ssh/sshd_config look like? |
09:37 | <@jerith> | That would probably be easier to pastebin. |
09:39 | <@jerith> | I can log in there fine. |
09:39 | <@jerith> | foxywiki@debian:~$ |
09:39 | < Mischief> | Excellent |
09:40 | <@jerith> | So, should I poke around your configs a bit? |
09:40 | < Mischief> | feel free. |
09:40 | < Mischief> | You have the root password. |
09:40 | < Mischief> | And thank you for the help, if I doze off, I apologize. |
09:40 | < Mischief> | It's 5 AM |
09:40 | <@jerith> | I won't make any changes, just tell you what I think might be broken. |
09:41 | <@jerith> | Where does moinwiki live? |
09:41 | < Mischief> | it lives in /usr/share/moin |
09:42 | < Mischief> | ./usr/local/apache2 is you know what. :P |
09:42 | < Mischief> | I'll be right back, need a bevvy |
09:43 | < Mischief> | back |
09:45 | < Mischief> | Now why is the apache server up, but I can't find it in the pid? |
09:45 | <@jerith> | Where have you been doing the moin config? |
09:46 | < Mischief> | which one? |
09:46 | <@jerith> | For apache. |
09:46 | < Mischief> | httpd.conf |
09:47 | < Mischief> | I think the echo commands either locked the file, or deleted everything in it. I kept a backup in /backup (at root) |
09:47 | <@jerith> | Ah, yes. It's empty. |
09:47 | <@jerith> | Restore it quick? |
09:47 | < Mischief> | here, I'll CP the backup |
09:47 | < Mischief> | fixed |
09:48 | <@jerith> | /etc/apache2/httpd.conf? |
09:48 | < Mischief> | no |
09:49 | < Mischief> | The one in /apache2/conf/ |
09:49 | <@jerith> | Oh, that's where I was looking. |
09:50 | < Mischief> | Let me hit the file really quick |
09:50 | < Mischief> | I need to readjust it because it's the factory default |
09:51 | < Mischief> | Done |
09:51 | <@jerith> | Umm... did you install apache yourself or from apt? |
09:51 | < Mischief> | Manual |
09:51 | <@jerith> | Ah, that explains the confusion. |
09:51 | <@jerith> | What yhou /really/ want to do on a Debian system is use the provided apache. |
09:51 | <@jerith> | It'll make life a lot easier. |
09:51 | < Mischief> | Ugh, I tried |
09:52 | < Mischief> | I couldn't navigate through it worth crap. |
09:52 | < Mischief> | The virtual hosts thing really threw me off. |
09:52 | <@jerith> | If it's the only thing running on the box, you just edit the default vhost. |
09:53 | < Mischief> | reinstalled the apt-get version |
09:53 | < Mischief> | It's clean |
09:53 | < Mischief> | Should I rm -rf /usr/local/apache2? |
09:58 | <@jerith> | Copy your config changes into /etc/apache2/sites-available/default first, probably. |
09:59 | < Mischief> | Okay, I think I did it right |
10:00 | <@jerith> | OK, now you need to restart apache. |
10:00 | < Mischief> | I tried apache2 restart |
10:00 | < Mischief> | nothing. |
10:00 | <@jerith> | /etc/init.d/apache2 restart |
10:01 | < Mischief> | It died |
10:01 | < Mischief> | it wasn't running in the first place. Which raises a question |
10:01 | < Mischief> | Why is there a web page anchored to that local IP? |
10:01 | < Mischief> | Port 80 is in use by something |
10:04 | <@jerith> | Mischief: killall httpd |
10:04 | <@jerith> | I think it got confused when you replaced it with the deb one. |
10:04 | < Mischief> | fixed. |
10:04 | < Mischief> | Ah-hah! |
10:04 | < Mischief> | Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch7 mod_perl/2.0.2 Perl/v5.8.8 Server at 192.168.1.103 Port 80 |
10:04 | < Mischief> | Is now running |
10:05 | < Mischief> | The requested URL /moin.cgi/ was not found on this server. |
10:06 | <@jerith> | You can nuke the Alias /doc section. |
10:07 | < Mischief> | The where? |
10:07 | <@jerith> | In /etc/apache2/sites-available/default |
10:09 | <@jerith> | You also want to kill the RedirectMatch line in there. |
10:09 | < Mischief> | Nuked |
10:09 | <@jerith> | (And you can drop the comment lines above it too.) |
10:09 | < Mischief> | Done |
10:10 | <@jerith> | Now reload apache's config with /etc/init.d/apache2 reload |
10:11 | < Mischief> | Right. |
10:11 | < Mischief> | Still the same error |
10:11 | | * jerith nods. |
10:16 | < Mischief> | What do you think? |
10:17 | <@jerith> | Ah, I think I may have it. |
10:17 | < Mischief> | What's that? |
10:18 | <@jerith> | Try adding the line: ScriptAlias /moin.cgi "/usr/share/moin/htdocs/moin.cgi" |
10:19 | <@jerith> | And nuke the /cgi-bin section that is already there. |
10:20 | < Mischief> | Done |
10:20 | < Mischief> | ugh. Now we get code |
10:20 | <@jerith> | Now reload apache... |
10:21 | < Mischief> | I did. |
10:21 | < Mischief> | what is we added an alias? |
10:21 | < Mischief> | "Alias /wiki/ \"$SHARE/htdocs/\"" |
10:23 | <@jerith> | I think you want to put the htdocs in /wiki. |
10:23 | <@jerith> | So yeah, try that alias. |
10:24 | <@jerith> | Well, make the target of the alias that same as the DocumentRoot target. |
10:25 | < Mischief> | agh |
10:25 | < Mischief> | No changes. |
10:25 | < Mischief> | I just noticed, on the http pager |
10:25 | < Mischief> | ConfigurationError: ImportError: No module named wikiconfig |
10:26 | < Mischief> | wikiconfig.py is located within FoxyWiki |
10:26 | < Mischief> | It's looking for the configuration file. |
10:26 | <@jerith> | Ah! |
10:26 | <@jerith> | You need to put that stuff in your Python search path, I think. |
10:27 | < Mischief> | Where? XP |
10:33 | < Mischief> | This is odd. |
10:36 | < Mischief> | Any more ideas, Jerith? I tried editting the permissions. |
10:36 | <@jerith> | I'm looking at docs now -- slow net connectino. |
10:37 | < Mischief> | Okay |
10:39 | < Mischief> | I got tired of the permissions file and just set it to all |
10:39 | < Mischief> | chmod -R a+rwX $INSTANCE |
10:40 | < Mischief> | After export INSTANCE=/usr/share/moin/FoxyWiki |
10:42 | <@jerith> | http://moinmoin.wikiwikiweb.de/HelpOnInstalling/BasicInstallation |
10:42 | <@jerith> | http://moinmoin.wikiwikiweb.de/MoinMoin/InstallDocs#linuxapache-install |
10:42 | < Mischief> | I'm at those pages, yeah |
10:42 | <@jerith> | De either of those help? |
10:42 | <@jerith> | *Do |
10:42 | < Mischief> | I've been following those from the start |
10:47 | < Mischief> | Does anyone else smell fried brain? |
10:53 | < Mischief> | I can't seem to get it working, Jerith |
10:53 | < Mischief> | I think the problem is in the HTdocs file, because the moin script-- references.. to.. Be right back, I need to check that code |
10:57 | < Mischief> | There, NOW, to fix the permissions |
11:00 | < Mischief> | why isn't egrep working? |
11:08 | <@jerith> | Are you looking at the InstallDocs page? |
11:08 | < Mischief> | Yes |
11:08 | <@jerith> | That file is empty in yours. |
11:08 | < Mischief> | I checked two places |
11:09 | < Mischief> | 4 places now |
11:09 | < Mischief> | The backup directories, /etc/apache and /etc/httpd |
11:09 | < Mischief> | All files returned no grep |
11:09 | < Mischief> | Maybe I should just set permission to all |
11:09 | <@jerith> | In Debian it's www-data:www-data. |
11:11 | < Mischief> | Fixed |
11:11 | < Mischief> | We have a new error! =D |
11:11 | < Mischief> | data_dir "data" does not exists, or has incorrect ownership or |
11:11 | < Mischief> | permissions. |
11:12 | <@jerith> | Can you fix that? |
11:12 | < Mischief> | I don't know, let me check |
11:12 | < Mischief> | Nada. |
11:12 | < Mischief> | I reset the permissions on FoxyWiki |
11:12 | < Mischief> | To what cgi-bin is now |
11:13 | < Mischief> | I also fixed HTDOCs and pointed it to the right cgi file. |
11:16 | < Mischief> | Any more ideas, Jerith? I'm completely lost again. And just going around in cirles. |
11:16 | < Mischief> | (By the by, I appreciate the help. >_<)) |
11:17 | <@jerith> | I think I see the problem... |
11:18 | <@jerith> | You need to put everything in your instance dir, not htdocs. |
11:18 | <@jerith> | Or is htdocs your instance dir? |
11:18 | < Mischief> | FoxyWiki is the instance |
11:21 | < Mischief> | I pointed index.html to the other moin instance |
11:21 | < Mischief> | No change in error. |
11:22 | <@jerith> | Ah, your moin.cgi setup looks good. |
11:24 | < Mischief> | Just connect to the page |
11:24 | < Mischief> | It gives you a readout of errors. |
11:24 | <@jerith> | Aha! |
11:24 | <@jerith> | You have your data_dir set to './data', not '../data'. |
11:25 | < Mischief> | Oh! BLAST |
11:25 | <@jerith> | And you'll need to fix the other dirs as well. |
11:25 | < Mischief> | Wait, no |
11:25 | <@jerith> | No? |
11:25 | < Mischief> | The data directory is in the FoxyWiki folder |
11:25 | < Mischief> | do a die |
11:25 | < Mischief> | dir* |
11:26 | <@jerith> | Yes. |
11:26 | < Mischief> | ../data would be messing with the non-instance files |
11:26 | <@jerith> | And the moin.cgi that uses it is in FoxyWiki/cgi-bin/ |
11:26 | <@jerith> | So you need to ../ from there. |
11:26 | < Mischief> | I don't get it. all those options are in wikiconfig.py |
11:26 | < Mischief> | Which is in the instance folder |
11:27 | <@jerith> | Yes, but they're being used in moin.cgi |
11:27 | < Mischief> | Okay, let's try it |
11:28 | < Mischief> | Ehhh? |
11:29 | < Mischief> | Check the page again, Jerith |
11:29 | <@jerith> | Well, we have a wiki there at least. |
11:29 | <@jerith> | This is a new wiki, no? |
11:30 | < Mischief> | It is. |
11:30 | < Mischief> | One of my friends wanted one, and I'm trying to make him one. It'll also be a backup for my character sheets |
11:30 | <@jerith> | Cool, then we seem to have things sort of right. |
11:31 | < Mischief> | We have to set frontpage |
11:32 | | * jerith nods. |
11:32 | <@jerith> | You should be all set now. |
11:32 | < Mischief> | Right, try this from an outside like |
11:32 | < Mischief> | http://desertfox.kicks-ass.net/ |
11:33 | < Mischief> | Bah! no. |
11:33 | <@jerith> | Hmm, we need some more apache config. |
11:33 | < Mischief> | Yep. |
11:33 | < Mischief> | http://desertfox.kicks-ass.net/FoxyWiki/ This appears to work |
11:33 | <@jerith> | First, we probably want to make DocumentRoot point somewhere safer. |
11:34 | < Mischief> | http://desertfox.kicks-ass.net/ needs to redirect users without IP <my IP> |
11:34 | < Mischief> | I think that works too. |
11:34 | <@jerith> | Why not just redirect everyone? |
11:34 | < Mischief> | That works. |
11:35 | <@jerith> | So point DocumentRoot at htdocs/, like /wiki/ |
11:35 | <@jerith> | Then you want to set up that redirect thing again. |
11:36 | < Mischief> | cd / |
11:37 | < Mischief> | whoops, wrong keybpard |
11:37 | < Mischief> | ... I lost my typing ability 4 hours ago |
11:38 | < Mischief> | Fixed it |
11:38 | < Mischief> | Sort of. |
11:38 | < Mischief> | Now it just redirects you to moin.cgi. :P |
11:38 | <@jerith> | RedirectMatch ^/$ /FoxyWiki/ |
11:39 | < Mischief> | After DocumentRoot? |
11:39 | <@jerith> | I think it will work anywhere. |
11:39 | < Mischief> | Yep. |
11:39 | <@jerith> | You might want it in the Directory stanza, though. |
11:39 | < Mischief> | It LIVES! |
11:40 | <@jerith> | Since that's where it was. |
11:40 | < Mischief> | I put it where it makes sense.. I suppose. :P |
11:40 | < Mischief> | Thanks again, Jerith. Now for the next adventure, skinning! (Which I believe I can do!) |
11:41 | <@jerith> | Enjoy! |
11:41 | <@jerith> | Always happy to help. |
11:41 | < Mischief> | Heh, I shall! Sorry to take up 3 hours of your life. XP |
11:41 | < Mischief> | I started 8 hours ago |
11:41 | <@jerith> | Nah, I was doing other things at the same time. |
11:41 | <@jerith> | And if I don't feel like giving people my time on the internet, I don't. |
11:42 | <@jerith> | You may want to change those passwords, though. |
11:42 | <@jerith> | IRC is a plain-text protocol. |
11:43 | < Mischief> | Good point. |
11:43 | < Mischief> | Or... |
11:43 | < Mischief> | I could just turn off routing for port 22. |
11:43 | < Mischief> | And switch Foxy's password |
11:43 | <@jerith> | That too. |
11:43 | <@jerith> | Of course, changing the password is too late if you're worried about me. |
11:44 | <@jerith> | (You needn't be, but then you'd have to trust me anyway to believe that.) |
11:44 | < Mischief> | Paradox... to earrrly. |
11:44 | <@jerith> | Have you read Ken Thompson's essay on trusting trust? |
11:50 | < Mischief> | Trust is a weakness |
11:50 | <@jerith> | Trust is necessary. |
11:50 | < Mischief> | ((What's the command for cping directories?)) |
11:51 | <@jerith> | cp -r |
11:51 | < Mischief> | Thank you. |
11:58 | < Mischief> | Wiki's surge protection?... *sigh* Well |
11:58 | < Mischief> | I'm going to clean up all the css coding tomorrow. Goodnight everyone |
12:00 | <@jerith> | G'night Mischief. |
13:37 | | Thaqui [~Thaqui@Nightstar-26933.jetstream.xtra.co.nz] has quit [Quit: Leaving] |
14:24 | <@ToxicFrog> | Ahahahaha. It does have a gcc ipk. |
14:24 | <@ToxicFrog> | I bet I could build Nethack on this thing. |
14:26 | | You're now known as TheWatcher[afk] |
14:28 | < GeekSoldier> | what's that, TF? |
14:33 | <@ToxicFrog> | Auxilior, my PDA. Last night we were talking about getting Frotz on it, and possibly building frotz and/or ncurses from source. |
14:33 | <@ToxicFrog> | As it happens, frotz is in the package manager, so that's not necessary. |
14:33 | <@ToxicFrog> | Nethack, however, is not. |
14:33 | <@ToxicFrog> | But gcc is... |
14:35 | < GeekSoldier> | hmm. |
14:35 | < GeekSoldier> | I smell an impending port. |
14:36 | <@ToxicFrog> | Well, if I'm lucky, no porting would be necessary; just turn off a bunch of features in the config and then build it. |
16:03 | <@ToxicFrog> | Anyone here conversant in VHDL? |
16:04 | <@jerith> | Not for a while... |
16:04 | <@jerith> | What's the problem? |
16:05 | <@ToxicFrog> | I have an 8-bit 3->1 mux. |
16:05 | <@ToxicFrog> | Is the following valid as a port declaration: I: in array(0 to 2) of std_logic_vector(7 downto 0); |
16:06 | <@ToxicFrog> | If not, what do I need to change? Or will I have to declare I0, I1 and I2 as seperate inputs? |
16:06 | <@jerith> | I'm not sure. |
16:06 | <@jerith> | I /think/ it's valid, but you'd have to check. |
16:08 | <@ToxicFrog> | Which means installing Xilinx. |
16:08 | | * ToxicFrog deploys the ;.; |
16:09 | <@ToxicFrog> | Hmm. Array index. a[0], a<0> or a(0)? |
16:09 | <@jerith> | Are the interwebs not being helpful? |
16:16 | <@ToxicFrog> | Pfft no |
16:17 | <@ToxicFrog> | Although the fact that my ISP's DNS servers are up and down like a whore on a trampoline isn't helping. |
16:18 | <@ToxicFrog> | Aha! |
16:22 | <@ToxicFrog> | Ok, there's the median calculator...which leaves the 8-bit register and the 3-1 8-bit mux |
16:40 | | You're now known as TheWatcher |
17:02 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
17:09 | | Attilla [~The.Attil@194.72.70.ns-11849] has joined #code |
18:50 | | GeekSoldier [~Rob@Nightstar-3593.pools.arcor-ip.net] has quit [Ping Timeout] |
19:26 | | Derakon[AFK] is now known as Derakon |
20:34 | | Derakon is now known as Derakon[AFK] |
20:35 | | Vornicus-Latens is now known as Vornicus |
20:54 | | Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has joined #code |
20:54 | | mode/#code [+o Chalcedon] by ChanServ |
21:08 | | You're now known as TheWatcher[afk] |
22:10 | | You're now known as TheWatcher |
22:24 | | GeekSoldier [~Rob@Nightstar-3262.pools.arcor-ip.net] has joined #code |
22:32 | | Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: going out] |
22:39 | <@jerith> | 23:32 < pjd> <zbigniew> the Honda CDR ZX-3 |
22:39 | <@jerith> | 23:32 < pjd> her |
22:39 | <@jerith> | 23:32 < pjd> har, even |
22:39 | <@jerith> | 23:32 < pjd> "my other car is a CDR", indeed |
22:40 | | * jerith giggles. |
22:40 | < Vornicus> | :( |
22:41 | <@jerith> | You not a lisper? |
22:41 | <@AnnoDomini> | Zbigniew. Sounds Polish. :p |
22:41 | <@jerith> | Indeed. |
22:42 | < GeekSoldier> | lol. |
22:43 | <@AnnoDomini> | Could someone explain the joke to me? |
22:44 | <@jerith> | AnnoDomini: It's a lisp thing. |
22:44 | < GeekSoldier> | lisp has two operations car and cdr, that return the head and tail of a list, respectively. |
22:44 | <@jerith> | Yeah, what he said. |
22:44 | <@AnnoDomini> | I see. |
22:47 | < GeekSoldier> | I know scheme, at least, has up to caaaar to cddddr; I don't know if lisp nests them lke that. |
23:00 | | You're now known as TheWatcher[T-2] |
23:03 | | AnnoDomini [AnnoDomini@Nightstar-29265.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
23:04 | | AnnoDomini [AnnoDomini@Nightstar-29643.neoplus.adsl.tpnet.pl] has joined #Code |
23:04 | | mode/#code [+o AnnoDomini] by ChanServ |
23:06 | | You're now known as TheWatcher[zZzZ] |
23:15 | | GeekSoldier is now known as GeekSoldier|Bed |
23:56 | <@McMartin> | Ah, Python |
23:56 | <@McMartin> | parsed_lines = [[x.strip() for x in z] for z in [y.split(':', 1) for y in f.readlines()]] |
--- Log closed Sun Sep 23 00:00:28 2007 |