code logs -> 2012 -> Fri, 16 Mar 2012< code.20120315.log - code.20120317.log >
--- Log opened Fri Mar 16 00:00:25 2012
00:00 * TheWatcher stabs windows for not having a kill -9
00:01
<&Derakon>
I have a program that sometimes hangs completely while trying to talk to a third-party library, and literally nothing will cause it to exit short of restarting the computer.
00:01
<&Derakon>
kill -9 would be lovely.
00:02
<&McMartin>
kill -9 doesn't always work either >_<
00:02
<@TheWatcher>
Yeah, but at least you can tell things like "stuck waiting on a device"
00:02 * McMartin has definitely had parts of VirtualBox stick around defying kill -9
00:06
<@TheWatcher>
Blegh, reboot time it seems
00:14 You're now known as TheWatcher[T-2]
00:20
< maoranma>
Okay, using python 3 formatting, can I reference inside of value of another key, ie, nested dictionary
00:22 eckse [eckse@Nightstar-48224a37.dsl.sentex.ca] has joined #code
00:22 mode/#code [+o eckse] by ChanServ
00:22
<&McMartin>
Heh
00:22 * McMartin finds his old Haskell stuff
00:22
<&McMartin>
My Sudoku solver is all of 54 lines long, and my Klotski solver is 87.
00:23
< maoranma>
Interesting
00:24
<&McMartin>
Though the Klotski one is arguably shorter since I embedded the problems to solve inside of it. The Sudoku solver reads them from a file.
00:41
< maoranma>
I can't read haskell or I'd ask to see the source for the sudoku solver
00:42
< maoranma>
Now, next step is to make a URL shortener, probably with goo.gl, that I can use to reference external sites in my bot for bulbapedia and the like
00:45
< gnolam>
Ugh, URL shorteners.
00:45
< maoranma>
gnolam: They have their use.
00:46
< gnolam>
They have exactly two uses: Twitter and Goatse (/specify shock site as appropriate).
00:46
< maoranma>
And if you want to link to say, three different sites over IRC?
00:47
< gnolam>
... then you link to three different sites over IRC? I don't see what an URL shortener would give you there?
00:48
< maoranma>
Smaller output
00:48
< maoranma>
http://goo.gl/IJqFZ vs http://bulbapedia.bulbagarden.net/wiki/Belue_Berry
00:53
< Eri>
I prefer the latter, actually
00:53
< Eri>
I knew where I was going, and the context as well
01:01
< maoranma>
Well, the bot isn't going to output random messages, just give a link when request, or multiple links depending. Ie, !berrydex Rowap [e[xt[ernal]]] "Sillybot > Nick: Bulbapedia - http://goo.gl/examp | Serebii - http://goo.gl/examp | Marriland - http://goo.gl.examp"
01:02
< celticminstrel>
I prefer non-shortened URLs in IRC, generally.
01:02
< celticminstrel>
However sometimes using a shortener is useful if you want to cram more stuff into the topic.
01:09 Attilla [Obsolete@Nightstar-da240ac4.threembb.co.uk] has quit [Ping timeout: 121 seconds]
01:10 Attilla [Obsolete@Nightstar-7d4a92bc.as43234.net] has joined #code
01:21
<&Derakon>
Hm, consequence #1 of Angband's new combat system: you deal zero damage with your fists.
01:21
<&Derakon>
Technically this was always the case, but you used to get a STR-based bonus to damage on all blows regardless of origin, which doesn't happen any more.
01:22
<&McMartin>
Mm.
01:22
<&McMartin>
That seems like it needs some tweaking.
01:22
<&Derakon>
Probably what we should do is make "fists" be a default 1d1 weapon with balanced power/speed attributes.
01:24
<&Derakon>
Second consequence: power-oriented weapons seem to be rather less common and/or cheap than speed-oriented ones in the stores.
01:29
< celticminstrel>
Those two attributes sound contradictory/
01:29
< celticminstrel>
^.
01:30
< celticminstrel>
Oh wait, less cheap.
01:30
< celticminstrel>
Never mind.
01:43
< maoranma>
Angband still gets updated?
01:43
<&Derakon>
Oh yes.
01:43
<&Derakon>
I think it's the most active of the oldschool roguelikes, actually.
01:43
<&Derakon>
NetHack last got an update in, what, '03?
01:43
< maoranma>
Even that short ago?
01:44
< maoranma>
Yea, apparently
01:45
<&McMartin>
3.4.3
01:45
< maoranma>
I've never played Angband
01:47
<@ToxicFrog>
Angband's lack of persistent dungeons gives me the jibblies.
01:47
<&Derakon>
Heh.
01:47
<@ToxicFrog>
For the longest time I only played Nethack, although recently I've been getting into ToME4 and it's pretty kickass.
01:47
<@ToxicFrog>
(death to consumables)
01:47
<@ToxicFrog>
And now, UWH
01:47
<&Derakon>
If you've played Diablo, Angband is what Blizzard based it on.
01:47
<&Derakon>
It's very much a dungeon crawler in the tactical-combat and equipment-optimizing sense.
01:48 celmin [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
01:48
<&McMartin>
UWH?
01:48 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [NickServ (GHOST command used by celmin)]
01:48 celmin is now known as celticminstrel
01:58 eckse_ [eckse@Nightstar-48224a37.dsl.sentex.ca] has joined #code
01:59 eckse [eckse@Nightstar-48224a37.dsl.sentex.ca] has quit [Ping timeout: 121 seconds]
02:01 Number3 is now known as ShellNinja
02:09 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: Kablammo! Celticminstrel is now unavailable for comment.]
02:12 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
02:19 Lowpass is now known as Tarinaky
02:21 Attilla [Obsolete@Nightstar-7d4a92bc.as43234.net] has quit [Ping timeout: 121 seconds]
02:22 Kindamoody[zZz] is now known as Kindamoody
02:31
<~Vornicus>
UWH: Underwater Hockey
02:40 * maoranma read underwear hockey, makes note to find glasses later
02:41 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
03:14
<~Vornicus>
--and then a 4-3, then you have 11, 18, 30, 37, and 45 degrees, which is enough for just about anybody
03:23 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
03:23 mode/#code [+o Vash] by ChanServ
03:54
< maoranma>
I wonder if I can figure out how to use this in my bot: http://bugs.veekun.com/projects/pokedex/wiki/CLI
03:58
< maoranma>
Apparently there's a database he offers to download, maybe I can interface with that instead
04:01
<~Vornicus>
gnah. Okay my plan to insert comments into my Project Euler code files has hit its first snag.
04:01
<~Vornicus>
http://projecteuler.net/problem=64 Shiiiiiiit
04:01
< maoranma>
what's a .sqlite file? Is it hard to work with in python?
04:01
<~Vornicus>
an .sqlite file is probably a sqlite database
04:02
< maoranma>
Hmm
04:02
<~Vornicus>
May I introduce you to http://docs.python.org/py3k/library/sqlite3.html
04:02
<~Vornicus>
sqlite support is built into the standard library.
04:02
<~Vornicus>
Also in 2.7.
04:02
< maoranma>
Oh, neat
04:03
< maoranma>
It looks...not easy
04:03
<~Vornicus>
It's actually quite easy.
04:03
< maoranma>
But I have database classes eventually :flatwoo:
04:04
<~Vornicus>
BUt it's SQL, so you'll have to learn to get used to it.
04:05
< maoranma>
This sqlite file is 25 MB...
04:05
< maoranma>
I'm guessing that is a lot of data
04:06
<~Vornicus>
Lots.
04:09
< maoranma>
http://bugs.veekun.com/projects/pokedex/wiki/GettingData these are the instructions for using the python pokedex hosted there, but I get lost as step 3
04:11
<~Vornicus>
got a sqlite file?
04:11
< maoranma>
Yes
04:13 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:14
<~Vornicus>
you're using the sqlite database engine, and your file is right there.
04:15
<~Vornicus>
Well, okay, it might be weirder than that; see what's in that .sqlite file first
04:15
< maoranma>
Well, loading it in notepad gives me garbage
04:15
<~Vornicus>
Okay then it's an actual database
04:16
<~Vornicus>
(the other possiblity was that it was a series of sqlite-targeted queries that would build a database if you ran it)
04:16
< maoranma>
And I would see that as plaintext?
04:16
<~Vornicus>
Yeah
04:18
<~Vornicus>
Then the "load the data" bit you have to tell it where your file is and what type of db it is and I'm not sure how to do that, that's in the docs somewhere
04:18
<~Vornicus>
or something
04:20
< maoranma>
sqlite3.connect()?
04:21
<~Vornicus>
that will tell it to connect but I think your pokedex will need to, um, hell I don't know, I'm too tired to say
04:21
<~Vornicus>
I think the code already handles that. You just load the module and ask questions of it
04:22
< maoranma>
Oh
04:22
<~Vornicus>
Or something. You may need to tell it the sqlite database is there but I'm not sure.
04:32
< maoranma>
I'll fool with it later, it's late
04:44 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
05:00 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
05:08 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:11 Derakon is now known as Derakon[AFK]
05:48 eckse_ [eckse@Nightstar-48224a37.dsl.sentex.ca] has quit [Client closed the connection]
06:12 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
06:57 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
07:01 Kindamoody is now known as Kindamoody|out
08:38 You're now known as TheWatcher
09:00 Attilla [Obsolete@Nightstar-7d4a92bc.as43234.net] has joined #code
10:57 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:57 mode/#code [+o himi] by ChanServ
11:01 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
11:29
< Tarinaky>
Stupid question: How do I set the python path as a parameter to the interpretter?
11:32
< RichyB>
env PYTHONPATH=... python foo.py ...
11:33
<@jerith>
You can't pass it as a param.
11:33
< Tarinaky>
Is there a way to do it from inside a Python script?
11:33
<@jerith>
Only an envvar.
11:33
<@jerith>
sys.path.append('foo/bar/baz')
11:33
<@jerith>
But mucking about with sys.path can be dangerous.
11:34
< Tarinaky>
For a 'run me' script?
11:35
< Tarinaky>
Also: Amusing. My code crashes when I raise the pygame.QUIT event on my laptop.
11:36
<@jerith>
Not "is", "can be".
11:36
<@jerith>
If you end up with two different ways to get to the same module, weirdness can ensue.
11:36 * jerith *glares* at Django's manage.py which does this.
11:38
<@jerith>
If foo/ and foo/bar/ are both in sys.path, you could potentially import foo/bar/baz.py as 'bar.baz' *and* 'baz'.
11:38
<@jerith>
The interpreter treats them as two different modules.
11:39
< Tarinaky>
Ah, okay.
11:39
<@jerith>
Which means that baz.SomeClass and bar.baz.SomeClass are different things.
11:41
< Tarinaky>
Pretty sure it's not my code. ipython freezes if I try to drop it into the debugger.
11:45 Attilla_ [Obsolete@Nightstar-d3057603.threembb.co.uk] has joined #code
11:46 Attilla [Obsolete@Nightstar-7d4a92bc.as43234.net] has quit [Ping timeout: 121 seconds]
11:46
<@jerith>
Are you catching it anywhere?
11:47
< Tarinaky>
Dunno. The interpretter just freezes.
11:47
< Tarinaky>
Has to be kill -9'd
11:47
< Tarinaky>
Only occurs on my laptop - works fine on Windows, lol.
11:49
<@jerith>
There might be something weird happening if you let a QUIT event escape. Or something.
11:49
< Tarinaky>
It's not escaping.
11:49
< Tarinaky>
It's being caught and it causes a loop to break and everything should just drop out.
11:50
<&McMartin>
You're doing it from a script, right? Not trying this in an interactive interpreter?
11:51 * Tarinaky nods.
11:51
<@jerith>
How long does it freeze for?
11:51
< Tarinaky>
Indefinately?
11:51
< Tarinaky>
I'm just invoking python2 <foo>.py
11:51
<@jerith>
We ran into some audio weirdness where it would hang for several seconds on shutdown if sudio had been initialised.
11:52 Attilla_ is now known as Attilla
11:52
< Tarinaky>
CPU usage is down so it can't be processing.
11:52
< Tarinaky>
And there's no disk activity.
11:56
< Tarinaky>
https://github.com/Tarinaky/DuelFieldStars/blob/master/duelfieldstars/demogalaxy viewer.py << This is the script I'm invoking.
11:56
< Tarinaky>
https://github.com/Tarinaky/DuelFieldStars/blob/master/duelfieldstars/ui/ui_abst ract/window.py << The main loop that 'dies' is here.
11:56
<@TheWatcher>
strace it?~
11:57
< Tarinaky>
How?
11:57
<@TheWatcher>
strace -o runlog python2 foo.py
11:59
< Tarinaky>
Okay. I have no idea how I can use that.
12:03
< Tarinaky>
It's too long to pastebin and I don't know what I'm looking at L.
12:05
< Tarinaky>
http://pastebin.com/dwW2VffG << The end of the log.
12:09
< froztbyte>
* JoeyA: Inform7 is a programming language.
12:09
< froztbyte>
A programming language tells a computer what to do.
12:09
< froztbyte>
The computer is in a room.
12:09
< froztbyte>
You are facing West.
12:10
< Tarinaky>
Ah. apparently it's the futex bit that's hanging.
12:10
< Tarinaky>
But apparently lots of things cause futexes.
12:11
<@jerith>
In your code or something else?
12:12
< Tarinaky>
No idea. I just dumped stract.
12:13
< Tarinaky>
So either python2.7 or pygame.
12:13
<@jerith>
But you aren't using futexes in your own code, right?
12:13
<&McMartin>
froztbyte: Tsk. It wouldn't have been too hard to make that be working I7 code, and that isn't. =P
12:13
<@jerith>
Are you doing anything multithreaded?
12:13
< Tarinaky>
No.
12:13
< froztbyte>
McMartin: I blame #haskell
12:14
<&McMartin>
A thing can be on fire. A thing is seldom on fire.
12:14
<&McMartin>
(A person has a direction called facing. The facing of the player is west.)
12:15
< froztbyte>
actually hang on
12:15
< froztbyte>
this just gave me an idea
12:15 * jerith hasn't I7ed in /ages/.
12:15
< Tarinaky>
Implement inform7 in inform7 :p
12:15
< froztbyte>
jerith: remember that rrd thing? I could totally perhaps use inform7 to map the grammer out
12:15
< froztbyte>
(I'd have to check the docs to see if this mad idea can pan out, of course)
12:15
<&McMartin>
Tarinaky: I7 is actually implemented in a language developed for implementing I7.
12:16
<&McMartin>
froztbyte: You may also want to look at I6 for that if it's got a verb/noun structure.
12:16
< Tarinaky>
I was thinking more along the lines of "Inform is is a programming language" and going from there~
12:16
<&McMartin>
I7 topic matches are basically a stock conditional-callout context sensitive grammar parser.
12:16
< Tarinaky>
A programming language contains formal grammars.
12:16
<@jerith>
froztbyte: I7 is a DSL, and its domain is IF.
12:16
< Tarinaky>
etc... etc...
12:17
<&McMartin>
Yeah, I7 is only general purpose the way a turing machine is.
12:17
<&McMartin>
Though I guess Glulx does have automated file output, at least.
12:17
< froztbyte>
hey, that's fine
12:17
< froztbyte>
if it supports the ability to pass some input stuff into an external script
12:17
<@jerith>
Hey, I still have the latest version.
12:17
< froztbyte>
I could totally make that work ;P
12:17
<@jerith>
Development has slowed down since I first used it.
12:18 * TheWatcher vaguely wonders why virtualbox is showing one processor at 100%, but windows is showing both at 100, huhs.
12:18
<&McMartin>
TheWatcher: VBox has traditionally been bad at correctly registering its idle time.
12:18
<&McMartin>
When the guest idles, the host charges VirtualBox.exe for the idle time.
12:19
<@jerith>
I7 is Turing-complete, because it has to be in order for it to be useful, but that doesn't make it a good language for anything other than IF.
12:19
< Tarinaky>
DF is turing complete and bad for doing anything at all~
12:20
<@TheWatcher>
Tarinaky: objection!
12:20
<@jerith>
Tarinaky: Except Having Fun and Killing Dorfs.
12:20
<@TheWatcher>
It is very good for inducing madness >.>
12:20
<&McMartin>
Though if it's coming up in #haskell, it's worth noting that I7 does make good use of argument pattern-matching.
12:20
< Tarinaky>
strace -p <pid> yields... futex(0xb1ba2ba8, FUTEX_WAIT, 7029, NULL
12:21
<@jerith>
TheWatcher: That's covered in the DF definition of "fun".
12:21
< Tarinaky>
Any idea why?
12:21
<&McMartin>
The core mechanism is basically repeatedly calling six methods (before, instead, check, carry_out, after, report) which each take four arguments (actor, action, noun 1, noun 2), which are individually and simultaneously specialized.
12:22
<@jerith>
Tarinaky: At a guess, SDL's doing something horrible with threads.
12:22
< Tarinaky>
How do I make it stop? I've never had trouble with sdl/pygame before :/
12:22
< Tarinaky>
And none of you guys have trouble so why is my code throwing it for a loop.
12:24
< froztbyte>
http://imgur.com/TOZZZ
12:29
< Tarinaky>
Especially since I thought SDL was single-threaded.
12:30
<&McMartin>
Should be, unless you're using SDL_thread, which pygame should not even expose
12:31
< Tarinaky>
How do I find the parent of a pid in ps?
12:31
< Tarinaky>
Google indicates that if there's a futex_wait there must be a parent process somewhere.
12:32
<@TheWatcher>
easier: pstree -p
12:33
<&McMartin>
Without pstree, it appears to involve including PPID as one of the output format columns.
12:34 * Tarinaky facepalms.
12:34
< Tarinaky>
I think I spotted the problem.
12:34
<&McMartin>
Oh?
12:34
< Tarinaky>
Well, while I was struggling to find the process in pstree I notice that it had, in fact, ended this time.
12:34
< Tarinaky>
Not only that but my music had stopped.
12:35
< Tarinaky>
:)
12:35
< Tarinaky>
Fucking pulse audio.
12:35
<&McMartin>
Pulseaudio should solve that
12:35
<&McMartin>
Using Alsa *directly* will fuck that up; we got burned repeatedly by that in UQM
12:35
< Tarinaky>
Well. For some reason shell-fm doesn't seem to want to play nicely with pulse.
12:39
< Tarinaky>
Linux audio is a complete PITA
12:41
<@jerith>
Tarinaky: Ah, so it /is/ the audio stuff. :-/
12:42
<@jerith>
What happens if you call pygame.mixer.quit()?
12:43 Attilla_ [Obsolete@Nightstar-7d4a92bc.as43234.net] has joined #code
12:45
< Tarinaky>
Dunno. Shell-fm needs fixing anyway.
12:46
<&McMartin>
Or just don't initialize audio in pygame at all
12:46
< Tarinaky>
The problem is it's easier to initialise everything than it is to initialise everything but audio.
12:47 Attilla [Obsolete@Nightstar-d3057603.threembb.co.uk] has quit [Ping timeout: 121 seconds]
12:47
<@TheWatcher>
Or, y'know, embark on a courageous and visionary crusade to fix audio sharing in linux once and for all!
12:47
<&McMartin>
It's apparently because I've stuck with Fedora, but the introduction of pulseaudio is when I stopped having Linux audio problems.
12:47
< Tarinaky>
"This is ridiculous, there are n conflicting audio standards and n^2 compatibility layers between them!"
12:47
< Tarinaky>
Later...
12:48 * McMartin looks at his web browser, where he is reading about RADIUS
12:48
< Tarinaky>
There are now n+1 conflicting audio standards and (n+1)^2 compatibility layers between them~
12:48
<&McMartin>
Problem: You have 14 competing authentication protocols.
12:50
< Tarinaky>
I -think- the problem is that both pygame and shell-fm are alsa applications.
12:50
< Tarinaky>
And they're both trying to molest the same alsa context.
12:50
<@jerith>
McMartin: The solution is *obviously* to add a 15th.
12:50
< Tarinaky>
Rather than getting different alsa contexts and pulse performing magic.
12:50
< Tarinaky>
But I might be talking out of my arse.
12:50
<&McMartin>
jerith: RADIUS was the 15th.
12:51
<&McMartin>
Tarinaky: SDL_audio and shell_fm should really be talking to libpulse directly and pretending that ALSA doesn't exist >_<
12:51
<@jerith>
McMartin: I've just written ten lines of code to extract an XML document from an HTTP POST variable.
12:51 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [Ping timeout: 121 seconds]
12:51
< Tarinaky>
I'm not sure should is the same as are.
12:51
<&McMartin>
jerith: ... hooray?
12:51
<&McMartin>
Which language?
12:51
< Tarinaky>
I know shell-fm is using alsa because it occasionally throws error messages to that effect.
12:52
<@jerith>
Because when I emailed the guys and said "you documented XML and gave me POST", they said "oh, we can give you XML".
12:52
<&McMartin>
Sure
12:52
<@jerith>
And then they gave me "XmlMsg=<blahblahblah>" all urlencoded.
12:52
<&McMartin>
I mean, the alternative is to give you PUT.
12:53
<@jerith>
And detecting that to extract the XML was quicker than asking them to change it again.
12:53
<&McMartin>
Yeah
12:53
<&McMartin>
That's not necessarily a bad system, tbh
12:54
<@jerith>
It isn't bad.
12:54
<@jerith>
It's just not what they documented.
12:54
<&McMartin>
More things speak POST than PUT, and it's only ever going to be machine-read anyhow, so encoding is an implementation detail
12:54
<&McMartin>
(I'm assuming here that "this is part of a web application" means HTTP is not optional)
12:55
<@jerith>
The outgoing message protocol is XML-RPC.
12:55
<@jerith>
The incoming protocol is not.
12:55
<&McMartin>
ah
12:55
<&McMartin>
meh
12:55
<@jerith>
And I'd really prefer it if they just used SMPP, which is the de facto industry standard for this stuff.
12:56
<@jerith>
Because whatever it is they're doing adds 10-15 seconds of round-trip latency.
12:58 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
12:58 mode/#code [+o Alek] by ChanServ
13:03
< Tarinaky>
That's the time it takes for the off shore specialist to type the data.
13:08
<@Tamber>
"off-shore specialist"? "sub-minimum-wage barely-literate Elbonians", you mean?
13:12 * TheWatcher eyes
13:12
<@TheWatcher>
... why has upgrading virtualbox broken my networking
13:13 * TheWatcher sighs, trys rebooting windows
13:13
<@TheWatcher>
*tries
13:21
<@TheWatcher>
Of course, that fixed it...
13:46 Attilla_ is now known as Attilla
13:49
< Tarinaky>
Is there a switch I can pass to python that will cause it to launch the debugger on an unhandled exception?
13:50
< Tarinaky>
It's ipython if it helps
13:51
<&McMartin>
TheWatcher: In that case, it was VBox's bridged networking driver fucking things up while being partially installed.
13:51
<&McMartin>
(My VBox knowledge is a little out of date, but certain things never change.)
13:52
<&McMartin>
(Sadly, none of them rhyme with War so I can't get my Fallout on.)
13:53
<@TheWatcher>
(snerk)
13:55
<&McMartin>
(Also, I guess it *did* change between 2.x and 3.x, from some kind of horrible literal bridge technique to a net filter)
13:56 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
14:01 McMartin [mcmartin@Nightstar-7b12951b.pltn13.sbcglobal.net] has quit [[NS] Quit: upgrade]
14:03 McMartin [mcmartin@Nightstar-7b12951b.pltn13.sbcglobal.net] has joined #code
14:03 mode/#code [+ao McMartin McMartin] by ChanServ
14:06 Kindamoody|out is now known as Kindamoody
14:11 * McMartin pokes a OCaml again.
14:11
<&McMartin>
*at
14:12 * TheWatcher eyes this
14:12
<@TheWatcher>
1137 lines of code. Now to see if it works.
14:12
<@TheWatcher>
If it does, I'm going buying a fucking lottery ticket...
14:16
<@TheWatcher>
drat, three typos.
14:27 * TheWatcher needs to work out a better test setup for his perl code
14:50 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
14:54 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
15:11
<@jerith>
TheWatcher: You're 200 lines short.
15:14
< ShellNinja>
Pff.
15:15 * ShellNinja reinflates himself.
15:15
<@TheWatcher>
... *facepalm*
15:38 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
15:38 mode/#code [+o Vash] by ChanServ
15:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
16:29
< maoranma>
*grows a palmtree from his face*
16:30
<~Vornicus>
wut
16:30
<@Vash>
...
16:30
< maoranma>
Facepalm :P
16:51 Derakon[AFK] is now known as Derakon
16:57
< maoranma>
The picasa photo viewer makes a surprisingly decent manga reader
18:05 maoranma is now known as Noah
18:17 iospace [Alexandria@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
18:20 Serah [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
18:20 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Client closed the connection]
18:55 Kindamoody is now known as Kindamoody[zZz]
19:25
< gnolam>
... explain to me why the Youtube player now hides the volume control?
19:26
< gnolam>
a) There's space in that bar to contain all the controls, even at the lowest resolution
19:27
< gnolam>
b) Besides pause/play, volume is the single most important control to be able to access immediately
19:28
<@ToxicFrog>
...it doesn't, maybe something is wrong with your Flash install and/or browser?
19:31
< gnolam>
Yeeeees. It's naturally me with a broken install and not Google, notorious for fucking with different users in different ways.
19:33
<@ToxicFrog>
Of the four browsers I have now tested it in (spanning four versions, two browser codebases, and two OSes) it works fine in all of them, so...
19:34
< gnolam>
It /works/, but requires a completely unnecessary mouseover to unhide.
19:35
< gnolam>
And AFAIK, they do their user fuckovery by region/IP address.
19:45 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Operation timed out]
19:46
< Rhamphoryncus>
still shows for me. Not using flash
19:47
< Rhamphoryncus>
Oooooh, thumbnail preview of the progress bar :D
20:23
< Noah>
gnolam: At least it isn't crashing after every youtube video like it was for me?
20:39
<@Ling>
gnolam: you Canadian?
20:39 * Ling has the same issue
21:00 Serah [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
21:07
<@ToxicFrog>
Ling: canada here too, not seeing it
21:08
<@Ling>
Oddness
21:08
<@Ling>
<-- Edmonton area, Alberta
21:08
<&McMartin>
gnolam's in Europe
21:08
<@ToxicFrog>
Guelph, Ontario
21:15
< RichyB>
Just to throw another data point on the fire, I'm in the UK and haven't seen youtube's behaviour change interestingly.
21:16 * Vornicus 's youtube recently added a "change video speed" button.
21:16
<~Vornicus>
I ran a TAS through it. It was even more comical than usual.
21:27
< Rhamphoryncus>
No, oddness that I'm also in edmonton
21:29
< Noah>
.typedex psychic flying
21:29
< Noah>
Oh
21:38
< RichyB>
http://www.jwz.org/gruntle/toooonight.html "I mean, it's not like I put it on my web page or anything!"
21:43 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:57 eckse [eckse@Nightstar-48224a37.dsl.sentex.ca] has joined #code
22:57 mode/#code [+o eckse] by ChanServ
23:34
<&Derakon>
Hm, git help, anyone?
23:35
<&Derakon>
I want to get https://github.com/derakon/v4's v4-master branch to be a copy of https://github.com/angband/v4
23:36
< celticminstrel>
I'm not even sure what you mean by this...
23:36
<&Derakon>
My github account's copy of v4-master is out of date.
23:37
<&Derakon>
So I want to get all the commits that have happened in the official copy, so when I make local changes the diff is minimal.
23:39
<&Derakon>
Ah, apparently I just want git pull.
23:40
< celticminstrel>
Yeah, pull from other repository, push to yours.
23:43
< RichyB>
You can actually do exactly what you described, at least in a working copy.
23:45
< RichyB>
git clone https://github.com/derakon/v4.git ; cd v4; git remote add upstream https://github.com/angband/v4.git; git fetch upstream; git branch -r; git branch --track v4-master upstream/v4-master
23:46
< RichyB>
http://gitready.com/beginner/2009/03/09/remote-tracking-branches.html
23:46
< RichyB>
Oh, last step's not quite right for you, you already have a branch called v4-master
23:47
< RichyB>
Make that last step: git branch --track theirs upstream/v4-master # :)
23:51
<&Derakon>
That's an awful lot of commands; what's wrong with just doing git pull?
23:52
<&McMartin>
You're pulling in the main branch but not merging it in to you?
23:52
< RichyB>
Nothing. git pull was what you wanted to do.
23:52
< RichyB>
I was just answering your original "how do I do this?"
23:53
<&Derakon>
McM: yeah, I'm getting a fresh copy of master, from which I'll make a new branch to make my changes.
23:53
<&Derakon>
Development's slow enough that nobody else will make changes before I can get my pull request off.
23:58
<&Derakon>
There, pull request submitted.
23:59
<&Derakon>
I just tweaked some values and added three entries to Angband's monster definitions file; nothing big.
23:59
<&Derakon>
Although players may not be too happy to see baby chaos drakes wandering around the dungeon.
23:59
<&Derakon>
(Chaos breath is nasty stuff -- confusion, hallucination, and experience drain)
--- Log closed Sat Mar 17 00:00:21 2012
code logs -> 2012 -> Fri, 16 Mar 2012< code.20120315.log - code.20120317.log >

[ Latest log file ]