code logs -> 2010 -> Fri, 02 Apr 2010< code.20100401.log - code.20100403.log >
--- Log opened Fri Apr 02 00:00:43 2010
00:26 cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code
00:33 You're now known as TheWatcher[T-2]
00:35 You're now known as TheWatcher[zZzZ]
01:33 RichardBarrell [user@Nightstar-58acb782.cable.virginmedia.com] has joined #code
02:44 Attilla [Attilla@FBC920.173C5E.203556.7F1065] has quit [Client closed the connection]
03:14 Zed [Zed@Nightstar-d7ade99d.or.comcast.net] has quit [Client closed the connection]
03:14 Zed [Zed@Nightstar-d7ade99d.or.comcast.net] has joined #code
03:48 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
03:54 Netsplit *.net <-> *.split quits: cpux, Tarinaky, @Derakon, @Kazriko, jerith, Zed, Namegduf
03:54 Netsplit over, joins: Zed
03:54 mode/#code [+o Derakon] by Reiver
03:54 Netsplit over, joins: Derakon
03:54 Netsplit over, joins: Namegduf
03:55 Netsplit over, joins: Tarinaky
03:55 Zed is now known as 459AAAF02
03:55 Netsplit over, joins: jerith, cpux, Kazriko
03:55 Zed [Zed@Nightstar-d7ade99d.or.comcast.net] has joined #code
03:55 mode/#code [+o jerith] by Reiver
03:55 mode/#code [+o Kazriko] by Reiver
03:57 jerith [jerith@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
03:58 Zed [Zed@Nightstar-d7ade99d.or.comcast.net] has quit [Ping timeout: 121 seconds]
03:59 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
03:59 mode/#code [+o jerith] by Reiver
06:18 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
06:37 Derakon is now known as Derakon[AFK]
07:15 Alek [omegaboot@Nightstar-7ff8f4eb.il.comcast.net] has joined #code
07:18
< Alek>
arghle.
07:19
< Alek>
firstly, I can't remember my MSDNAA login.
07:19
<@Vornicus>
elhgra
07:20
< Alek>
secondly, for my school they only have xp pro, vista business, and 7 pro.
07:20
< Alek>
I want ultimate, dangit. >_>
07:20
< Alek>
oh, and the 7 pro is an upgrade, anyway. and is a ship, not a download.
07:21
< Alek>
and it doesn't say whether you can upgrade from xp, from vista, or only from 7 home.
07:21
< Alek>
<_<
07:22 AnnoDomini [annodomini@Nightstar-40752a90.adsl.tpnet.pl] has joined #code
07:23 mode/#code [+o AnnoDomini] by Reiver
08:09 AnnoDomini [annodomini@Nightstar-40752a90.adsl.tpnet.pl] has quit [[NS] Quit: DWARF FORTRESS.]
08:49 Tarinaky [Tarinaky@Nightstar-83f5e5c6.adsl.virginmedia.net] has quit [Client closed the connection]
09:02 Alek [omegaboot@Nightstar-7ff8f4eb.il.comcast.net] has quit [Ping timeout: 121 seconds]
09:25 Alek [omegaboot@Nightstar-7ff8f4eb.il.comcast.net] has joined #code
10:13 AnnoDomini [annodomini@Nightstar-b89a176e.adsl.tpnet.pl] has joined #code
10:13 mode/#code [+o AnnoDomini] by Reiver
10:57 Alek [omegaboot@Nightstar-7ff8f4eb.il.comcast.net] has quit [[NS] Quit: ]
11:22 You're now known as TheWatcher
12:19 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
13:34 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
14:06 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
14:18 Attilla [Attilla@FBC920.173C5E.203556.7F1065] has joined #code
14:18 mode/#code [+o Attilla] by Reiver
14:33 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
16:07 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
16:20 459AAAF02 is now known as zed
16:45 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
16:49 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
16:50 Syloqs_AFH is now known as Syloqs-AFH
18:37 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
18:39 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection]
18:42 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
18:48
< Tarinaky>
Don't suppose a Linux user can help me figure out why my sound's not working since I moved my box?
18:49
< Namegduf>
You disrupted the Feng Shui.
18:49
< Namegduf>
Move it back.
18:50
< Namegduf>
Seriously... not working, okay.
18:50
< Namegduf>
You boot, start an app that should play sound, it doesn't play sound?
18:51
< Tarinaky>
mpd doesn't produce sound
18:51
< Namegduf>
Obvious thing, have you checked the volume settings?
18:51
< Tarinaky>
To give the problem a specific title.
18:51
< Tarinaky>
I checked alsamixer and my headset's hardware volume.
18:51
< Tarinaky>
Both check out.
18:52
< Namegduf>
Hmm.
18:52
< Tarinaky>
mplayer has the same problem (tested it on an avi)
18:53
< Namegduf>
What does "lsof /dev/snd/*" say?
18:53
< Namegduf>
This will reveal if your sound hardware is being bogarted by something, or if the sound drivers are not even loaded.
18:53
< Tarinaky>
bash: lsof: command not found
18:54
< Namegduf>
Yay.
18:54
< Namegduf>
Could you install that? It's quite useful, displays all processes with an open handle on something.
18:55
< Tarinaky>
Installed it, ran it.
18:55
< Tarinaky>
Zero rows returned.
18:55
< Namegduf>
Okay, so the files exist, and are not being controlled by something.
18:55
< Namegduf>
Hmm.
18:55
< Namegduf>
Would you know if you had PulseAudio or something similar installed?
18:56
< Tarinaky>
Unless I have an evil clone who knows my password and has been installing things behind my back. PulseAudio isn't installed.
18:57
< Namegduf>
Yeah, that's a lot less likely than the Feng Shui idea.
18:57
< Namegduf>
Do you have any other speakers than your headset?
18:57
< Tarinaky>
No.
18:57
< Namegduf>
Have you tried the headset in another system to check it is okay?
18:57
< PinkFreud>
Tarinaky: check alsamixer again and make sure the relevant channels are not muted.
18:57
< Tarinaky>
My headset can be made to produces sound independently of a computer.
18:58
< Namegduf>
Okay.
18:58
< Tarinaky>
But I don't have another system to try it with.
18:58
< Namegduf>
Does your computer have ports on the front AND back for headphones?
18:58
< Tarinaky>
Yes.
18:58
< Tarinaky>
I tried both.
18:58
< Namegduf>
Have you trie-okay.
18:59
< Namegduf>
If PinkFreud's idea doesn't work, the last thing I can think of is trying dmesg and seeing if anything likely shows up.
18:59
< Tarinaky>
PinkFreud: The only muted playback channels are Front Mic, Line in, CD, Mic, S/PDIF (Don't know what this is) and Beep.
18:59
< Namegduf>
Er, increase CD
18:59
< Namegduf>
See if that does something
19:00
< Tarinaky>
It does not.
19:00
< Namegduf>
Okay.
19:01
< Namegduf>
Can you go to mplayer's settings, and check that the audio driver is set to alsa?
19:01
< PinkFreud>
most of those are recording (input) channels, save for CD, and maybe SPDIF
19:01
< Namegduf>
More precisely, Preferences->Audio, then there's a list.
19:01
< Tarinaky>
Namegduf: Umm... mplayer doesn't have a GUI.
19:01
< Namegduf>
mplayer minus a GUI
19:02
< Namegduf>
Okay, I don't know how to use that.
19:02
< Tarinaky>
mplayer with the GUI turned on doesn't work for me.
19:02
< Namegduf>
Okay.
19:02
< Tarinaky>
And I never invested enough time to care.
19:02
< Namegduf>
I'm really low on ideas.
19:03
< Namegduf>
It sounds like the hardware/connections is okay, the OS is detecting the hardware, and you've tried multiple programs, so it probably isn't those. It could be a screwed up ALSA config, but that shouldn't happen unless you or someone else created an ALSA config in the first place.
19:03
< Tarinaky>
mpd is configured to use alsa (all other output devices are commented out)
19:03
< Namegduf>
Okay.
19:04
< Namegduf>
Hmm.
19:05
< Namegduf>
Could you run stat on the files in /dev/snd and see if they're A) group writable B) you're in said group.
19:05
< Serah>
more magic?
19:05
< Namegduf>
Today, the lights are all wrong
19:05
< Tarinaky>
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
19:06
< Namegduf>
ANd pressing more buttons isn't fixing it.
19:06
< Tarinaky>
I'm guessing the group should be audio - yes?
19:06
< Namegduf>
Give me a moment to check.
19:06 * Tarinaky 's user is in group audio.
19:07 * Tarinaky tries sudo mplayer
19:07
< Namegduf>
One file is 0755, but the others are 0660 for me, with "audio" as the group.
19:07
< Tarinaky>
sudo mplayer ReservoirDogs.avi doesn't work either.
19:08
< Namegduf>
Hmm, there's another option.
19:08
< Namegduf>
What does "cat /proc/asound/cards" look like?
19:08
< Namegduf>
The thought I had involved another audio device.
19:08
< Tarinaky>
0 [NVidia ]: HDA-Intel - HDA NVidia
19:08
< Tarinaky>
HDA NVidia at 0xdfdf8000 irq 22
19:08
< Namegduf>
Is that the only thing in there?
19:08
< Tarinaky>
Yes.
19:08
< Namegduf>
Okay, looks likely to be right.
19:09
< Namegduf>
Hmm.
19:09
< Namegduf>
What OS?
19:09
< Namegduf>
Er, distro.
19:09
< Tarinaky>
Arch
19:09
< Namegduf>
Okay.
19:09
< Tarinaky>
I'm going to try Windows. BBS.
19:09 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
19:09
< Namegduf>
Maybe you're missing an alsa startup script.
19:10
< Serah>
As far as I understoof, he just physically moved the box, and that broke it.
19:10
< Namegduf>
Yeah, but that shouldn't do anything, so I had to revert to more manual steps.
19:10
< Namegduf>
Also, if it wasn't restarted since setup
19:10
< Namegduf>
The reboot could have done it.
19:11
< Serah>
There's gooks in the wires!
19:11
< Namegduf>
I have a new likely theory, at least.
19:11
< Namegduf>
Arch has manual boot configuration, because it's a shitty distro.
19:11
< Namegduf>
(Okay, no, it's fine, but that particular decision was stupid in my view)
19:11
< Serah>
GOOKS IN THE WIRE I TELL YOU
19:12
< Namegduf>
So they could be missing the ALSA service stuff every sane configuration sets up for you.
19:12
< Namegduf>
This is kind of like getting a copy of Windows with half its essential services set not to run.
19:12
< Namegduf>
I think it'd display behaviour like that.
19:14 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
19:15
< Tarinaky>
Problem fixed.
19:15
< Namegduf>
What was it?
19:15
<@AnnoDomini>
Bugs crawled into the sound card.
19:15
< Tarinaky>
The transmitter dongle.
19:15
< Namegduf>
Transmitter dongle?
19:15
< Tarinaky>
When I put it in the 'on' position for some reason it hadn't actually turned on.
19:15
< Namegduf>
Ah.
19:15
< Tarinaky>
Wireless headset.
19:16
< Namegduf>
Yay, fixed.
19:16
< PinkFreud>
awesome
19:16
< Tarinaky>
It was only when I unplugged the charging cable it became apparent that it wasn't on.
19:16
< Tarinaky>
Since flashing lights are flashing lights.
19:16
< Serah>
Wireless headsets = Yucky.
19:17
< Tarinaky>
Beats breaking them by forgetting they're on and standing up.
19:18
< Serah>
Your wired headphones don't have a cord that supports standing up?
19:18
< Namegduf>
I destroy headphone wires.
19:18
< Serah>
Mine usually comoes with 3½ meters cord.
19:18
< Serah>
I do too.
19:18
< Namegduf>
I don't know why.
19:18
< Serah>
But I destroy wireless batteries even faster.
19:19
< Tarinaky>
Unrelated note - What's the key to boot in safemode on XP?
19:19
< Tarinaky>
Windows was playing silly buggers due to it currently being configured for a different (widescreen) monitor.
19:19
< PinkFreud>
http://googlesightseeing.com/maps?tw=1006&p=&c=&t=h&hl=en&ll=50.378683,-4.134657 &z=16&layer=c&cbll=50.378691,-4.134783&cbp=12,274.96,,2,0.86 - Party on Wayne. Party on, Garth.
19:19
< Namegduf>
I failed my Trivia - Windows check, sorry.
19:19
< PinkFreud>
Tarinaky: F8
19:20
< Namegduf>
(It wasn't a hard roll, either...)
19:20 * Tarinaky needs to be able to change the resolution without being able to see anything.
19:20
< Tarinaky>
Can safemode be used to this effect?
19:20
< Namegduf>
Safemode can/should be able to revert to 640x480, shouldn't it?
19:20
< PinkFreud>
Tarinaky: probably not, but it's worth a try
19:20 * Namegduf doesn't really recall.
19:21
< Tarinaky>
Namegduf: How do I change the 'real' resolution from within safemode though?
19:21
< Namegduf>
Hmm.
19:21
< Namegduf>
It's either easy and I don't know the way, or registry hax time.
19:21
< Namegduf>
Which I also don't know.
19:21
< Namegduf>
Can't help, sorry.
19:21
< Tarinaky>
You know there's something wrong when Linux does something in a more usefriendly way >.> *cough*
19:22
< Tarinaky>
*userfriendly
19:23
< Tarinaky>
Ah. Apparently I need something called 'VGA mode'
19:24
< Tarinaky>
Which can be accessed by a process ill understood.
19:24
< Tarinaky>
Apparently it can be summoned using a pint of rat's blood and 2 pieces of wood but it's recommended that you use some candles and stuff to make it look flashier.
19:25 * Tarinaky coughs - happy to have the snark out of his system.
19:26
< Serah>
GOOKS!?!?
19:27
< Serah>
Tar: Just uninstall your video driver in windows, it'll revert to 640x480.
19:28
< Serah>
Take it as an opportunity to update your video driver while you're at it.
19:30
< Serah>
Also, according to winows gooks stole my wireless net.
19:30
< Serah>
So typing this feels somewhat strange.
19:30
< Tarinaky>
Serah: There is no newer video driver.
19:30
< Tarinaky>
My card is getting on so to speak/.
19:31
< Namegduf>
That is a solution, though.
19:31
< Serah>
Then just disable it anyway.
19:31
< Tarinaky>
Anyway. The VGA mode looks to be the correct solution and I was only kidding about it being a difficult process.
19:32
< Tarinaky>
Apparently I have to hit F8 twice 'just after it boots'
19:32
< Tarinaky>
Which I presume means the loading screen.
19:32
< Serah>
Yes after bios init.
19:32
< Namegduf>
Just hammer F8.
19:32
< Serah>
As has been windows custom since ... ages.
19:32
< Namegduf>
:P
19:32
< Tarinaky>
Can't. Got to pass GRUB first.
19:32
< Serah>
Except in a less violent manner, because we like our keyboards.
19:32
< Namegduf>
Ah, yes.
19:56 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
20:04 ser4d [sparky@0C0840.02A5D0.A5BE39.62470B] has joined #code
20:07 ser4d [sparky@0C0840.02A5D0.A5BE39.62470B] has quit [[NS] Quit: leaving]
20:09 RichardBarrell [user@Nightstar-58acb782.cable.virginmedia.com] has quit [Operation timed out]
20:37 celmin [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
21:04
<@Vornicus>
I have an edge-weighted planar graph. I want to draw it so the edges have length approximately proportional to their weight. Does anyone know some software that can do that?
21:04
<@Vornicus>
Or an algorithm?
21:24 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
21:40
<@ToxicFrog>
There might be an option to dot for that
22:37
<@Vornicus>
hey, graphviz
22:37
<@Vornicus>
thank you, tf
22:52 * Vornicus treis to figure out how to specify!
22:57
<@McMartin>
Hm.
22:57
<@McMartin>
Hey, Vorn
22:57
<@McMartin>
You were dealing with, er, trie data structures not long ago.
22:57
<@McMartin>
I find myself in need of a refresher on them; do you have any handy links on this?
22:58
<@McMartin>
(I have forgotten the plural for trie.)
22:58
<@McMartin>
(Why yes, I was reminded of this by your typo)
22:59
<@Vornicus>
I don't really have a refresher handy other than the code I wrote for LZW.
23:00
<@Vornicus>
which is damn simple.
23:02
<@McMartin>
Hm
23:03
<@McMartin>
Wiki and digging through old textbooks it is, then
23:03
<@Vornicus>
Easiest way to implement it is a trie node is a (letter -> trie)
23:03
<@Vornicus>
map.
23:03
<@McMartin>
Right
23:06
<@Vornicus>
well, and whatever other data you need. then you just walk down the trie with each successive letter you see.
23:06
<@Vornicus>
cell phone "t9" uses a trie too, on numbers
23:06
<@Vornicus>
and then letter -> (trie, list of available spellings)
--- Log closed Sat Apr 03 00:00:44 2010
code logs -> 2010 -> Fri, 02 Apr 2010< code.20100401.log - code.20100403.log >