code logs -> 2010 -> Thu, 28 Jan 2010< code.20100127.log - code.20100129.log >
--- Log opened Thu Jan 28 00:00:17 2010
00:05 Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving]
00:43 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
00:55 Derakon[AFK] is now known as Derakon
01:02
< Rhamphoryncus>
Derakon: sorry, was afk
01:03
<@Derakon>
S'alright.
01:04
<@Derakon>
If I understand the program right, there are three important threads here: the main thread, the thread running the experiment (activated by clicking on a button), and the thread that gets activated when I click on the abort button.
01:04
<@Derakon>
I need the experiment thread to finish its business partway through the abort thread, but calling sleep doesn't seem to get the job done.
01:04
< Rhamphoryncus>
I know that debugging with gdb can cause extra wakeups. No idea about pdb
01:06
<@Derakon>
I wouldn't be surprised if pdb were based on gdb.
01:06
< Rhamphoryncus>
I don't think it is
01:07
<@Derakon>
Well, I'm clearly seeing the logs for a different thread in the logfile when I use pdb, and not when I run it normally.
01:07
< Rhamphoryncus>
Actually, I think it's rather mundane C code
01:07
<@Derakon>
If I could just get that other thread to kick in without invoking pdb, I'd be set.
01:08
< Rhamphoryncus>
.. wait, if one thread aborts the whole thing hangs, but if the aborting thing goes to sleep in pdb the rest continues properly?
01:08
<@Derakon>
Yes.
01:08
< Rhamphoryncus>
The aborting thread isn't releasing the right locks
01:08
<@Derakon>
Simply running the program in pdb is sufficient to avert the hang.
01:08
< Rhamphoryncus>
Can you use gdb?
01:08
<@Derakon>
Er. Not quite. Running the program in pdb, and stepping through the function, averts the hang.
01:09
<@Derakon>
I'm on Windodws. I can use windbg.
01:09
<@Derakon>
I see two threads in windbg that are waiting on locks.
01:09
< Rhamphoryncus>
hrm. On linux I can snoop the lock's internals to figure out which thread owns it
01:09
< Rhamphoryncus>
But it'd help to just see what the hung thread is waiting on
01:10
< Rhamphoryncus>
GIL or some other lock
01:10
<@Derakon>
I don't know enough about windbg to be able to figure that out, sadly.
01:10
<@Derakon>
And I'm not at the lab right now.
01:10
< Rhamphoryncus>
At a minimum just a backtrace of the hung thread
01:10
<@Derakon>
One of the threads is pretty deep into Python stuff, so I don't know what exactly it's doing.
01:11
<@Derakon>
I think the other thread is saving data to a file.
01:11 * Vornicus determines that he really needs to just get out the notebook and figure out what the hell this piece of code is supposed to do.
01:11
< Rhamphoryncus>
Run in debugger. Wait until everything is hung. Activate debugger. Print backtrace
01:11
<@Derakon>
It's probably waiting for a socket thread to write data to the ring buffer that it's stored in before moving to the file.
01:11
<@Derakon>
Rhamphoryncus: it'll have to wait for tomorrow. :(
01:11
< Rhamphoryncus>
No worries. Just giving you ideas
01:12 * Derakon nods.
01:12
< Rhamphoryncus>
How is the aborting thread aborting?
01:13
<@Derakon>
It sends remote procedure calls to several other machines, telling them to stop what they're doing.
01:13
< Rhamphoryncus>
And after? It exits?
01:13
<@Derakon>
One of these, in the process of aborting, sends a signal back to the cockpit machine (where the abort was triggered), which is supposed to wake up the experiment thread and get it to finish.
01:13
<@Derakon>
Yes, once abort is done it exits.
01:13
<@Derakon>
It's basically the equivalent of control-C in a shell.
01:14
< Rhamphoryncus>
Is it calling the right python cleanup stuff before exiting? Is it calling cleanup stuff it SHOULDN'T be doing?
01:14
<@Derakon>
No, no, the program continues to run after abort is called.
01:14
<@Derakon>
But the thread exits.
01:14
<@Derakon>
Sorry.
01:14
< Rhamphoryncus>
I know. I want to make sure the thread isn't screwing the rest of the program
01:14
< Rhamphoryncus>
The python APIs for that are a heap of shit
01:15
<@Derakon>
The function just ends after it makes the last RPC.
01:15
< Rhamphoryncus>
For instance, the "daemon thread" option has NEVER worked. Broken design from day 1.
01:16
<@Derakon>
I don't know how this thread is created in the first place, mind you. It's generated by clicking on a wx button.
01:16
< Rhamphoryncus>
Oh that's fun :/
01:16
< Rhamphoryncus>
What happens if the thread exits without activating the abort?
01:17
<@Derakon>
Um, presumably nothing happens.
01:17
< Rhamphoryncus>
Worth checking ;)
01:17
< Rhamphoryncus>
The hang might be independent of the abort
01:17
<@Derakon>
Here's the abort code, pasted earlier: http://pastebin.starforge.co.uk/110
01:17
<@Vornicus>
Nothing like stuff ends, or nothing like everybody else hangs out waiting for something to happen.
01:17
<@Derakon>
Nothing like everything keeps running as if it weren't aborted, because it wasn't.
01:18
<@Derakon>
This is the "Hey, program, stop the arbitrarily-long-running process I started you on, because I have enough data" button.
01:18
<@Derakon>
So the program tells each component to stop moving, stop collecting data, stop sending triggers to various bits of hardware, etc.
01:19
<@Derakon>
After the DSP gets aborted, the experiment thread should naturally finish its business.
01:19
<@Derakon>
It's waiting for the DSP to finish running the experiment, you see, but aborting counts as a "finish" in this context. So the experiment saves the data it's collected and terminates itself.
01:19
<@Derakon>
However, that doesn't happen unless I run the abort thread in a debugger.
01:20
< Rhamphoryncus>
are all those aborts blocking? ie do they wait for that component to finish writing any pending data?
01:21
<@Derakon>
Um, dunno. That depends on Pyro.
01:21
< Rhamphoryncus>
Can you run in the debugger, then close the debugger?
01:21
<@Derakon>
I don't understand the question.
01:21 * Rhamphoryncus likes asking questions. Makes him look smart ;)
01:21
<@Derakon>
Heh.
01:22
< Rhamphoryncus>
with gdb you set a breakpoint, this activates, then you can disable the breakpoint and let it continue
01:23
< Rhamphoryncus>
Are you sending signals to the process? Perhaps only handled by the thread that's exiting? Or causing trouble of handled by another thread?
01:23
<@Derakon>
Let me write this up real quick...
01:28
<@Derakon>
http://pastebin.starforge.co.uk/111
01:28
<@Derakon>
(To clarify: the experiment thread is the same thread that is generated by clicking on the "Experiment" button, AFAICT)
01:29
<@Derakon>
..."RPC call"? Derakon, for shame.
01:30
< Rhamphoryncus>
Design looks like it should work
01:31
<@Derakon>
The problem is that the experiment thread only seems to trigger its cleanup if pdb is invoked.
01:32 * Vornicus puts his DVD disc into the ATM machine.
01:34
< Rhamphoryncus>
Derakon: we've already verified that all the RPC stuff is thread-safe, right? And if appropriate, not reusing a single connection across multiple threads?
01:35
< Rhamphoryncus>
(RPC library might allow connection sharing, dunno)
01:36
<@Derakon>
I don't know, honestly.
01:39
< gnolam>
Vornicus: I think you need a PIN number for that to work.
01:41 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
01:56 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has quit [[NS] Quit: ]
02:03 * Vornicus gets out his notebook to figure out a design for the first time in like 3 years.
02:07
< gnolam>
You mean... an /actual/ notebook? :)
02:07
<@Vornicus>
Yes.
02:13
<@TheWatcher>
Egads
02:20 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
02:37
<@Derakon>
I filled three pages with notes today at work. *shrug*
02:37
<@Derakon>
It's another way of thinking about problems.
02:38
<@Vornicus>
Yeah, I haven't had to in a long time.
02:44
<@Derakon>
Well, it's kinda part of working in an academic institution.
02:45
<@Kazriko>
i don't use notebooks, I use engineering graph paper. :)
03:19 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
03:21 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:21 mode/#code [+o Vornicus] by Reiver
03:22 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:34 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
04:47 Orthia [Orthianz@Nightstar-ddd565db.xnet.co.nz] has joined #code
04:47
< Orthia>
Anyone here able to help with a wee puzzle?
04:48
< Orthia>
It would appear the young lass has had her computer infected by some variety of malware or virus
04:49
< Orthia>
For (Don't click) http://www.partypoker.com/hp_landingpages/hm_en_lp_500.html (Don't Click) keeps popping up whenever we open a new browser.
04:54
< Orthia>
It's been so long since I've dealt with a virus (XKCD jokes notwithstanding) that I don't remember how to do it without blundering around blindly >_>
04:55
<@Vornicus>
my entire antivirus repertoire is unfortunately "nuke and pave"
04:56
< Orthia>
Yeah, I'm vaugely planning this may have to happen, but not looking forward to it~
05:17 AnnoDomini [annodomini@Nightstar-698a2428.adsl.tpnet.pl] has joined #code
05:17 mode/#code [+o AnnoDomini] by Reiver
05:18 Orthia [Orthianz@Nightstar-ddd565db.xnet.co.nz] has quit [[NS] Quit: ]
05:51
<@Kazriko>
running a handful of different antivirus toys, antimalware, and then manually checking all of the runonce and run bits, and any other startup things...
05:51
<@Kazriko>
will usually get it a portion of the stuff off of it...
05:51
<@Kazriko>
likely not all.
05:53 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
05:59
<@Kazriko>
in other news, i hate EA and their completely broken patching system...
05:59
<@Kazriko>
spent upwards of 3 hours trying to get spore installed and patched on my new system...
05:59
<@Kazriko>
this is my 5th attempt at reinstalling it to make it work...
06:00
<@ToxicFrog>
Don't you only *get* five installs?
06:00
<@ToxicFrog>
Or did they finally fix that?
06:00
<@Kazriko>
3, but when you uninstall it it gives you one back.
06:00
<@ToxicFrog>
So they did fix that, then
06:01
<@Kazriko>
If spore were on any platform other than PC, i think I would play it there.
06:01
<@Kazriko>
C64? Sure...
06:01
<@ToxicFrog>
Reiver: boot liveCD, run klamav on it. Then boot safe mode, run antivirus, ad-aware, spybot.
06:01
<@Kazriko>
*grumble* windows...
06:02
<@ToxicFrog>
Sacrificing a goat under the full moon may also be useful.
06:02
<@Kazriko>
every time I see complaints about games and their patching and installation, they say to install Steam and download it that way, :(
06:04
<@ToxicFrog>
I have only ever been entirely satisfied with Steam.
06:04
<@Kazriko>
I prefer Impulse if the game exists on there, less DRM hassles with impulse usually...
06:04
<@Kazriko>
but buying a boxed game is terrible these days...
06:04
<@ToxicFrog>
But I don't recall if Spore is available on it, and some publishes are not as diligent as they should be about removing DRM for the steam release...
06:04 * ToxicFrog glares, in particular, at 2K Games
06:04
<@Kazriko>
people claim spore is on steam.
06:05
<@ToxicFrog>
I am not familiar with Impulse.
06:05
<@Kazriko>
along with torchlight, which I bought from the developer instead... and it has problems in linux because of that.
06:05
<@Kazriko>
Mostly stardock software and games they publish, but a handful of others.
06:06
<@Kazriko>
like Starscape and Mr Robot.
06:06
<@ToxicFrog>
Isn't there Stardock Central for that?
06:06
<@Kazriko>
Impulse is the replacement for SDC
06:06
<@ToxicFrog>
Both games that I really wanted to like, and didn't :(
06:06
<@ToxicFrog>
Aah
06:07
<@Kazriko>
Mr Robot was ok, but flawed. I really liked starscape though.
06:07
<@Kazriko>
I enjoyed the rpg segments of mr robot, hated the platforming in isometric view.
06:07
<@ToxicFrog>
My main problem with Mr. Robot is that jumping puzzles, an isometric perspective, and crates go together really badly.
06:07
<@Kazriko>
yep.
06:08
<@Vornicus>
I liked the platforming but hated the rpg segments.
06:08
<@ToxicFrog>
Starscape is fun in small doses but gets really grindy, just jumping from system to system trying to farm the minerals for the next upgrade...
06:08
<@Kazriko>
heh.
06:08
<@Kazriko>
I got more frustrated in starscape with the endlessly spawning worms that appear in an area after you clear out the enemy from it, makes it so you have to mine while the enemy is still around to an extent...
06:08
<@Kazriko>
otherwise you don't squeeze all the resources out.
06:09
<@Kazriko>
I enjoy mining though...
06:09 * Kazriko wonders if this bluray burner is slower reading dvds than a plain dvd burner...
06:09
<@Kazriko>
spore install takes forever with it.
06:09
<@ToxicFrog>
I do too, in moderation.
06:10
<@Kazriko>
nod. I don't think I played for more than one system at a time, then took a long break...
06:10
<@ToxicFrog>
Could be the DRM; StarForce is the worst offender, but far from the only one that interferes with optical drive access.
06:10
<@ToxicFrog>
And this often causes a noticeable performance hit.
06:10
<@Kazriko>
I don't have starforce on anything. Only securom, because of spore. -_-
06:10
<@Kazriko>
and the one torchlight uses, which isn't a common one.
06:11 * ToxicFrog seriously recommends just shelving your disc and installing a pirated version, ideally after purging securom with fire
06:11
<@Kazriko>
Yeah. :( I've thought about it seriously...
06:11
< Namegduf>
There's nothing ethical against it.
06:11
< Namegduf>
You do own it.
06:11
<@Kazriko>
or buying the steam version.
06:12
<@Kazriko>
more worried about the various hidden things that people put in pirated versions.
06:12
<@Kazriko>
i think the spore patch finally took...
06:14 * Kazriko copies over his saved data from the old 1tb drive...
06:14
<@Kazriko>
I miss the days when safe unprotect software was all over the BBSes you could dial into...
06:15
< Namegduf>
Pirated stuff is generally pretty safe.
06:15
<@Kazriko>
you have the legal copy already, it just takes it and removes the bits that have copy protection...
06:15
< Namegduf>
Torrent sites usually have comments, and it's unlikely that an illegal copy will retain the number of seeds it needs to be even downloadable if it's malware'd
06:18
<@Kazriko>
and my saved games appear to work...
06:19 * Kazriko wanders off to play the Pierson's Puppeteers in spore...
06:21
<@ToxicFrog>
Awesome.
06:26
<@Kazriko>
in particular, insane puppeteers, since they're not safely on their homeworld...
06:27 Derakon is now known as Derakon[AFK]
06:28 ErikMesoy|sleep is now known as ErikMesoy
06:30
<@jerith>
Hrm. I've just started rereading Neutron Star and suddenly Puppeteers are mentioned in here.
06:31
<@Kazriko>
i just read Nspace, finished it yesterday. :)
06:31
<@jerith>
You, sir, have superb taste in things to reread this week. ;-)
06:32
<@Kazriko>
Heh. You as well. I need to fill out my collection more though. going to get Playgrounds of the Mind next.
06:34
<@Kazriko>
I've been reading more David Drake recently than Niven though.
06:34 Alek [omegaboot@Nightstar-25fda8e1.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
06:34
<@Kazriko>
But drake doesn't have interesting aliens, niven does.
06:34
<@jerith>
I've been rereading more Rpbert Asprin than either.
06:34
<@jerith>
And the Asprin was a break from rereading James White.
06:35
<@Kazriko>
lets see how spore does on 1920x1200 with radeon 5870's...
06:35
<@jerith>
Now *there* is a man who writes interesting aliens.
06:36
<@Kazriko>
ugh. I don't recall the relative values of the spices anymore...
06:36
<@jerith>
He once complained that he's forever been ruined for non-medical SF. "Every time I come up with an interesting new alien, it promptly gets hurt or falls ill and becomes a problem for Sector Twelve General Hospital."
06:40 Alek [omegaboot@Nightstar-e750d2f9.emhril.sbcglobal.net] has joined #code
06:43
<@Vornicus>
...oh, DUH
06:43 * Vornicus feels dumb, throws out that bit of notebook. It really was easier than I was making it out to be.
07:12 You're now known as TheWatcher[afk]
07:42 AbuDhabi [annodomini@Nightstar-c3a802a6.adsl.tpnet.pl] has joined #code
07:44 AnnoDomini [annodomini@Nightstar-698a2428.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
07:57
<@jerith>
What was?
07:59
<@Vornicus>
A thing that dealt with tossing stuff through a permutation.
08:00 * jerith did factoradics in Haskell the other day.
08:00
<@Vornicus>
But I was being a dumbass and glomming together the model and the view for some unspeakable reason.
08:00
<@jerith>
Really fun maths, that. Once I wrapped my head around it.
08:02 Alek [omegaboot@Nightstar-e750d2f9.emhril.sbcglobal.net] has quit [Connection reset by peer]
08:08 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
08:09 Alek [omegaboot@Nightstar-e750d2f9.emhril.sbcglobal.net] has joined #code
08:10 AD[WarWalk] [Administrator@Nightstar-523b976c.gprs.plus.pl] has joined #code
08:10 * AD[WarWalk] searches for instructions on how to install screen on Windows.
08:10
< AD[WarWalk]>
So far, no luck.
08:13 AD[WarWalk] [Administrator@Nightstar-523b976c.gprs.plus.pl] has quit [[NS] Quit: Gotta pack this shit up.]
08:17 ErikM [LOL@Nightstar-9e58ffe9.opera.com] has joined #code
08:53 Vornicus is now known as Vornicus-Latens
09:29 Zed [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Client closed the connection]
09:30 Zed [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code
09:33 TarinakyKai [Tarinaky@Nightstar-01ab2d98.adsl.virginmedia.net] has joined #code
09:34 Tarinaky [Tarinaky@Nightstar-81c7bb86.adsl.virginmedia.net] has quit [Operation timed out]
10:40 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has joined #code
10:40 mode/#code [+o Attilla] by Reiver
10:47 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
11:33 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
11:45 AD[WarWalk] [Administrator@Nightstar-2724de3e.gprs.plus.pl] has joined #code
11:45
< AD[WarWalk]>
Is it even possible to compile screen under windows?
12:29 gnolaptop [gnolaptop___@Nightstar-7651d01b.netlogon.liu.se] has joined #code
12:30 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
12:44 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
13:02 AD[WarWalk] [Administrator@Nightstar-2724de3e.gprs.plus.pl] has quit [[NS] Quit: I must go. My planet needs me.]
13:53
<@Vornicus-Latens>
AbuDhabi: "Cygwin"
13:57
< gnolaptop>
Vornicus: Bless you.
13:57
< gnolaptop>
:P
14:01 gnolaptop [gnolaptop___@Nightstar-7651d01b.netlogon.liu.se] has quit [[NS] Quit: Moving]
14:01
< AbuDhabi>
Vornicus-Latens: Elucidate. I'm unfamiliar with Cygwin.
14:02
<@Vornicus-Latens>
It's a full-strength unix environment for Windows. If you can't get screen any other way, you can use that.
14:31 * ErikM grumbles, is doing the sort of gruntwork that will probably be farmed out to machines in five years or so.
14:31
< ErikM>
Test this. Test that. Test the other thing that we don't have a test suite for quite yet. See if this works.
14:51 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
15:26 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:39 * TheWatcher[afk] readsup, notes to AD that cygwin is the single thing that makes Windows a usable OS >.>
16:02 TarinakyKai [Tarinaky@Nightstar-01ab2d98.adsl.virginmedia.net] has quit [Connection closed]
16:03 Tarinaky [Tarinaky@Nightstar-01ab2d98.adsl.virginmedia.net] has joined #code
16:20 Tarinaky [Tarinaky@Nightstar-01ab2d98.adsl.virginmedia.net] has quit [Client closed the connection]
16:21 MyCatVerbs [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
16:21 mode/#code [+o MyCatVerbs] by Reiver
16:33
<@MyCatVerbs>
Any nightstar devs around, please?
16:34
<@MyCatVerbs>
I have a quick query; does inspIRCd (in your experience) rock particularly more or less than other IRCds which you may have tried? Or if not in relative terms, does it rock in absolute terms?
16:45
<@MyCatVerbs>
ToxicFrog: *poke*
16:54 ErikM [LOL@Nightstar-9e58ffe9.opera.com] has left #code []
17:11
<@jerith>
inspIRCd is the least crap of the ones we looked at when planning the changeover.
17:12
<@jerith>
Although if you have different requirements, YMMV.
17:25 MyCatVerbs [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
17:49 Tarinaky [Tarinaky@Nightstar-01ab2d98.adsl.virginmedia.net] has joined #code
17:56 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
18:26 Vornicus-Latens is now known as Vornicus
20:33 MyCatVerbs [mycatverbs@Nightstar-58acb782.cable.virginmedia.com] has joined #code
20:33 mode/#code [+o MyCatVerbs] by Reiver
21:14 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection]
21:14 ToxicFrog [ToxicFrog@Nightstar-a68aafef.dsl.teksavvy.com] has joined #code
21:14 mode/#code [+o ToxicFrog] by Reiver
21:50
< AbuDhabi>
I have a debian in a VMWare box. I need to get the contents of /var/www/ onto my usual box. Suggestions for the method?
21:50
< AbuDhabi>
Can SSH be used for this somehow?
21:50
<@McMartin>
Do you have the guest additions installed?
21:50
<@McMartin>
If so, vboxsf
21:50
<@McMartin>
Share a host folder, copy it all into it.
21:51
<@McMartin>
Er
21:51
<@McMartin>
VMWare box
21:51
<@McMartin>
Guest *tools* installed, use HGFS to share a folder, copy into it
21:51
<@McMartin>
Failing that it may be possible to drag and drop the directory from the VMware instance onto your desktop.
21:52
<@McMartin>
(I take it your "usual box" is the one running VMware here?)
21:52
< AbuDhabi>
Addendum: debian without !windows.
21:52
<@McMartin>
You should still be able to set up HGFS somehow.
21:53
<@McMartin>
You should be able to ssh/scp into it, though. Check its IP with ifconfig, and have the host try to connect to that IP.
21:53
< AbuDhabi>
I see a "Install VMWare tools" option in the RMB menu. This it?
21:53
<@McMartin>
If it's NAT, you'll need to be on the same host.
21:53
<@McMartin>
Yes, that will mount a CD-ROM that you can use to run a script to install it
21:53
<@McMartin>
This will take a while if you haven't done it yet
21:53
< AbuDhabi>
I can see it from this box, since the box is bridged.
21:54
<@McMartin>
Oh. Well, in that case, have sshd running on the guest and you can just "scp -r /var/www VirtualWebSite" o your host and it will mirror it.
21:54
<@McMartin>
If you're running Windows and don't have scp installed, install PuTTY, which includes a version of scp (but it's called PSCP.EXE in that case).
21:54
<@McMartin>
That's "on your host", not "to your host"
21:56 Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has joined #code
21:57 * Derakon[work] eyes his current "solution" to the abort-hang problem.
21:57
< Derakon[work]>
I've split the abort function into two functions, and tied them to two different buttons. You click one, let it finish, then click the other.
21:57
< Derakon[work]>
This reliably prevents the hang.
21:57
< Derakon[work]>
It's also WTF.
21:57
< ErikMesoy>
Yes.
21:57
< Derakon[work]>
(But better than formally integrating the debugger into the abort function)
21:57
< AbuDhabi>
McMartin: I'm not quite sure what to do there. What do I put instead of "VirtualWebSite"?
21:58
< Derakon[work]>
I've tried creating a new thread to automatically run the second function when the first finishes, but that hangs.
21:58
< ErikMesoy>
As the famous image goes: http://www.osnews.com/images/comics/wtfm.jpg
21:58
< AbuDhabi>
I have an SSH session open on PuTTY.
21:58
<@McMartin>
AbuDhabi: OK, I blew the syntax a little.
21:58
<@McMartin>
Ah, OK
21:58
<@McMartin>
Open up a command window on the machine running putty
21:58
<@McMartin>
Say the VM is at 192.168.1.42
21:58
<@McMartin>
Your command line will be something like:
21:59
<@McMartin>
"C:\Program Files\PuTTY\PSCP.EXE" -r abudhabi@192.168.1.42:/var/www targetDir
21:59
<@McMartin>
Where "targetDir" is the name of the directory you want to appear on the host
21:59
< Tarinaky>
ErikMesoy: I wonder why my wtf/min is :/
22:00
<@McMartin>
If you're running Windows 64, that will be "C:\Program Files (x86)\PuTTY\PSCP.EXE" as well.
22:00 Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving]
22:01 Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has joined #code
22:01 * Derakon[work] eyes X-Chat.
22:01
< Derakon[work]>
I wanted to open a new window for a separate server, not switch this window to a separate server.
22:01
< Tarinaky>
XChat eyes you back.
22:01
< Derakon[work]>
Not that it matters; can't seem to connect to freenode anyway.
22:01
< Tarinaky>
Derakon[work]: Ctrl+T?
22:01
<@McMartin>
... I'm on freenode right now
22:02
< Derakon[work]>
I'm getting an "Invalid argument" error when I try to connect to it.
22:02 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has left #code []
22:02
< Derakon[work]>
Tarinaky: yeah, something like that. I just don't like it automatically assuming that I don't want to be connected to my current server in this window, with no prompt.
22:02
< Derakon[work]>
"Connecting to chat.freenode.net (38.229.70.20) port 6667...Connection failed. Error: Invalid argument"
22:03
<@McMartin>
Try "irc.freenode.net"
22:03
< Tarinaky>
Derakon[work]: I dunno. I've never used an IRC client that didn't have that as its behaviour so I've just got new window/tab in my mnemonic.
22:03
< Derakon[work]>
McM: right before what I pasted is "Looking up irc.freenode.net", so I assume I'm getting autoredirected.
22:04
< AbuDhabi>
McMartin: "Host does not exist."
22:04
< Tarinaky>
/server irc.freenode.org right?
22:04
< Derakon[work]>
It's freenode.net.
22:04
<@McMartin>
AbuDhabi: same connection string as the SSH?
22:05
<@McMartin>
SCP is a wrapper around SSH
22:05
< AbuDhabi>
"abudhabi@debian5:~$" <- Here is the prompt on the SSH.
22:05
< Tarinaky>
Derakon[work]: http://tarinaky.pastebin.com/m1a0c0873 << try one of these.
22:06
<@McMartin>
AbuDhabi: type "/sbin/ifconfig" in it
22:06
<@McMartin>
That should give you the IP address it's using
22:06
< Derakon[work]>
Okay, got "Connection refused" when I tried going to crichton.freenode.net
22:06
< AbuDhabi>
McMartin: Got it!
22:06
< AbuDhabi>
Thank you!
22:06
< Tarinaky>
Derakon[work]: I'm on card atm.
22:07
< Derakon[work]>
Yeah, I seem to be getting refused by all of these.
22:07
<@McMartin>
Got "it" as in the IP address, or as in "the copy is now happening"?
22:07
< AbuDhabi>
The copy has happened.
22:07
<@McMartin>
sweet
22:08
< AbuDhabi>
This report will be extremely laconic.
22:08 * Derakon[work] mutters, wonders if Freenode is in fact under a DOS attack right now.
22:09
< AbuDhabi>
Seven pages of pictures. Quarter page of own text. Maybe a page worth of cited text.
22:09
< Derakon[work]>
I just want to get onto the wxWidgets channel to ask them about my hang problem. >.<
22:10
<@McMartin>
Hm
22:10
<@McMartin>
The only people joined are identified as being on irc.freenode directly
22:11
< Derakon[work]>
If I try to go there I get the invalid argument error.
22:13 * AbuDhabi makes sure to actually read the Wikipedia quotes, in case of vandals.
22:13
< ErikMesoy>
Cite old versions?
22:14
<@Vornicus>
I know that they've been updating their ircd laterly.
22:14
<@Vornicus>
-r
22:15
< gnolam>
The standard way of citing web resources requires a date, but yes, cite a specific revision.
22:15
< AbuDhabi>
I just love how quoting entire pages verbatim is completely fine, while leaving out the [1] at the end of each paragraph and a bibliography note at the end of the document is plagiarism.
22:15
< Derakon[work]>
It's all a matter of whether or not you represent it as your own work, Abu.
22:16
< AbuDhabi>
Yeah, yeah.
22:16
< Tarinaky>
It's not stealing if you give it back.
22:17
< Tarinaky>
On piracy: "You wouldn't steal a car. You wouldn't steal a Policeman's helmet, then Urinate in it, then give it back to their grieving widow... then steal it again!"
22:17
< ErikMesoy>
"I'd download a car!"
22:19
< AbuDhabi>
So would I.
22:20
< Derakon[work]>
Hmm...wonder if I'm getting blocked because too many people are connected from UCSF already, or something of that nature.
22:32
< AbuDhabi>
I have to wonder why printer manufacturers think that fast draft shouldn't be the default printing option?
22:33
<@MyCatVerbs>
People would file bug reports about the print quality?
22:33
< Derakon[work]>
So they can sell more ink, naturally.
22:34
< AbuDhabi>
I see.
22:35 * AbuDhabi misuses his binder o' charsheets to temporarily store something related to work.
22:43 Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving]
23:13 ErikMesoy is now known as ErikMesoy|sleep
23:36 * Vornicus considers Kaser.
23:36
<@Vornicus>
Used to be, these games would do certain "automatic deductions"
23:37
<@Vornicus>
for instance (say we're playing Minesweeper) if we've marked the right number of mines, it would automatically clear the other squares, or vice versa.
23:38
< Alek>
except minesweeper doesn't do that, because if you mark the wrong ones, that's an autodeath.
23:38
< Alek>
there IS an automatic-deduction key, which does that, though.
23:39
<@Vornicus>
Well, yes, but it's an example that everybody knows.
23:39
< Alek>
clears the unmarked keys if you marked the right amount. and kills you, if you marked wrong.
23:40
<@Vornicus>
Kaser games used to do it automatically - if there are certain blatant deductions available, it would do that for you.
23:46
<@Vornicus>
Now it doesn't.
23:48
<@Vornicus>
Which means that in some games (the one I've been playing today is "Knarly Hexes") I can spend a couple minutes just trying to find the otherwise-trivial deductions that I can't see because of all the visual noise I have to pick through.
--- Log closed Fri Jan 29 00:00:18 2010
code logs -> 2010 -> Thu, 28 Jan 2010< code.20100127.log - code.20100129.log >