code logs -> 2012 -> Sat, 24 Nov 2012< code.20121123.log - code.20121125.log >
--- Log opened Sat Nov 24 00:00:07 2012
00:29 You're now known as TheWatcher[T-2]
00:31 You're now known as TheWatcher[zZzZ]
01:11 * Vornicus pokes vaguely at arts.
01:26
<@simon_>
In Soviet Russia, though...
01:27
<&McMartin>
People named Arthur poke you?
01:28
<@simon_>
arts is short for Arthur? I didn't know. I thought he meant The Arts
01:28
<@simon_>
where "poking the arts" would mean "attempting to create art"
01:28 * simon_ makes up language in his own head whenever he doesn't understand.
01:32
<&McMartin>
Yeah, but arts can't poke you.
01:35 * Vornicus is working on planet graphics and trying to make them look... sensible.
01:43
<~Vornicus>
Solid circles aren't much fun
01:47 syksleep is now known as Syk
01:47
< Syk>
i hate ordering things from America
01:48
< Syk>
>Shipping on a half-pound box: $59, lol
01:48
< Syk>
and SOMEHOW it gets here faster than goddamn domestic mail
01:49
< gnolam>
Where is this?
01:50
< Syk>
from Arizona to Middle Of Nowhere, Australia
01:51
< Syk>
wtf shipping it to Perth is only $30
01:51
< Syk>
getting from Perth to me is not $30 worth :|
01:52
< gnolam>
Ah. Well, you see... from the US they can simply fly over Australia and airdrop the box at the nearest post office, whereas with your domestic mail they have to rely on a homing kangaroo relay.
01:52
< gnolam>
So you pay more for the fuel, but it gets there a lot faster.
01:52
< Syk>
heh
01:52
< Syk>
i think thats about right
01:52
< Syk>
i air-freighted a Cisco a few months ago
01:53
< Syk>
took four weeks to get here
01:53
< Syk>
i'm pretty sure they were just using a mass of galahs
01:53
< Syk>
anyway brb
02:12
<@simon_>
McMartin, by arts poking you I imagined one would be affected by art. if nothing else, art is by definition that which can affect you.
02:29
< Syk>
now to actually start working again...
02:40
<~Vornicus>
Okay. Each class has a size and a dominant color.
02:43
<~Vornicus>
Class 3 planets have moons; class 4 planets have a ring so they're obviously awesome.
02:43
<~Vornicus>
Class 2 planets might have a moon.
02:44
<~Vornicus>
The dominant colors are less saturated than that of the ships; also they've got some vague geography.
02:44
<~Vornicus>
They're only like 30 px across at the largest.
02:53
<~Vornicus>
But drawing Vague Geography is not my strong suit at all. Jerith knows me too well, it seems
02:54
< Syk>
"before you go further, 4.2 is the most bugridden android that has ever existed." < List of developers not having fun: ParanoidAndroid, CyanogenMod devs
02:59
<&McMartin>
I find this claim difficult to credit
03:03 * simon_ realizes how everything outside of Europe isn't so closely distanced.
03:04
<&McMartin>
"An American thinks 200 years is a long time; a Brit thinks 200km is a long way."
03:04
<@simon_>
ah :)
03:05
<@simon_>
visiting my family in one part of Canada and my friend on exchange in another costs almost the same as going to Canada from Denmark.
03:05
< Syk>
simon_: my capital city is 3500km away
03:05
< Syk>
the closest actual city is 800km
03:05
< Syk>
:>
03:06
<@simon_>
where in the world is that?
03:06
< Syk>
Australia!
03:06 * Syk lives near the WA/NT border
03:07
< Syk>
there is literally nothing for hundreds of kilometers
03:07
<@simon_>
do they have a university?
03:07
< Syk>
uh, my town?
03:07
< Syk>
no, we have 4,500 people
03:07
< Syk>
Perth has like 6, Darwin has two or so, although I think they might be agricultural unis
03:08 * McMartin meanwhile is in Silicon Valley, as part of a "metro area" that is actually over 100 individual cities and that everyone tends to treat as a single point on the map
03:08
< Syk>
heh
03:09
< Syk>
McMartin: well it's only a couple of km across, isn't it? :P
03:09
<&McMartin>
San Francisco, yes.
03:09
<&McMartin>
That's one of the hundred-odd cities in the SF Bay Area
03:10
< Syk>
the shire concept of cities here confuses me
03:10
< Syk>
as Perth is like... 30 cities
03:10
< Syk>
the "City Of Perth" is only like the CBD
03:10 * iospace eats Syk
03:10 * simon_ lives in Copenhagen, a capital you can actually run through in one day.
03:10
< Syk>
since there's City Of South Perth
03:10
<&McMartin>
Yeah, the Bay Area isn't that. That's Los Angeles :D
03:11
<&McMartin>
The SF region is more like a bunch of cities that used to be separated and then grew until they couldn't any more.
03:11
<&McMartin>
There is not a lot of cultural cohesion
03:11
<@simon_>
s/one day/a few hours/
03:11
< Syk>
http://www.cityofperth.wa.gov.au/images/layout/home/header-bg.jpg
03:11
< Syk>
you see those building?
03:11
< Syk>
s
03:11
<&McMartin>
It would appear that the SF Bay Area is 18,088 km^2
03:11
< Syk>
you think they might go on
03:11
< Syk>
(hint: that's all the tall buildings that Perth has)
03:11
<&McMartin>
Heh
03:12
<&McMartin>
Is Western Australia still close enough to the Ring of Fire to be earthquake country?
03:12
< Syk>
McMartin: nope
03:14
<&McMartin>
Also, we no longer host the murder capital of the United States
03:51 Attilla [Obsolete@Nightstar-540a6080.range86-151.btcentralplus.com] has quit [Ping timeout: 121 seconds]
04:24
<~Vornicus>
Okay. Class 1 planets are white to grey, class 2 are red to yellow, class 3 are yellow to green, class 4 are green to blue.
04:38
< Syk>
where does blue = best come from anyway?
04:38
< Syk>
C&C3 has the pristine zones as Blue Zones
04:44
< Nemu>
Best should be SSS Platinum. Just replace the colour with letters
04:44 Kindamoody[zZz] is now known as Kindamoody
04:47
<&McMartin>
If you're going RYG, B is "after" G in the spectrum.
04:47
<~Vornicus>
Also green to blue makes it look like Earth, sort of
04:50
< Syk>
McMartin: hm
04:50
< Syk>
heh there is also a blue alert
04:50
< Syk>
"Go to blue alert!" "But why, Sir?" "This is a serious situation and we need to reflect it!" "Are you absolutely sure, Sir? It does mean changing the bulb."
04:51
<&McMartin>
Syk: Yeah, there isn't an obvious reason to pick Blue as over or under green, psychologically.
04:52
<&McMartin>
Red and Yellow are both "hot" colors, while Blue and Green are 'cool'
04:52
< Syk>
hmm
04:52
< Syk>
i guess blue is cooler than green
04:52
< Syk>
or something
04:52
< Nemu>
You could organize the colours based on how they stimulate the retina and are processed by the visual pathways
04:53
< Nemu>
I believe red-green colour antagonism is processed faster than blue-yellow
04:53
< Nemu>
So, make those the extremes of the organizational spectrum
04:54
<&McMartin>
Er
04:54
<&McMartin>
Aren't dichromats unable to distinguish red and green?
04:54
< Nemu>
You'd still have that problem in the original colour specification, though
04:54
<&McMartin>
True enough, I suppose
04:55
< Syk>
it's weird
04:55
< Syk>
apparently some 5% of people are colourblind
04:55
< Nemu>
That's why D,C,B,A,S,SS,SSS,SSS SUPERPLATINUM is a better method
04:55
< Syk>
yet I have only known one in my entire life
04:55
<&McMartin>
SSS SUPERPLATINUM ALERT?
04:55
< Nemu>
TAIHEN DESU!
04:55
< Nemu>
Err, shit. I'm in the wrong room for that kind of joke
04:55
< Syk>
Nemu: Interplanetary DMC?
04:56
< Nemu>
Heh
04:56
< Nemu>
I'm not sure what a super-platinum alert light would look like
04:56
< Syk>
it'd look awesome
04:56
< Syk>
but it would be counterproductive
04:56
< Nemu>
You could spray everything down with chrome
04:56
< Syk>
"Man, that alert bulb looks smokin'." "What's it alerting us to?" "Oh right, there's some missiles inco-"
04:57
<&McMartin>
ACTIVATE COMMUNICATION PROTOCOL DISCO
04:57 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:58
< Syk>
DIPLOMACY THROUGH THE POWER OF DANCE
04:58
<&McMartin>
This is probably already like six games that Japan never exported
04:59
< Syk>
united nations resorts to their last known tactic: sweet beats
04:59
<&McMartin>
Altered Beats.
05:00
< Nemu>
It's probably an Ouendan scenario.
05:03 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [[NS] Quit: Leaving]
05:03 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
05:03 mode/#code [+o himi] by ChanServ
05:07 cpux is now known as birthdaypux
05:08
<&McMartin>
Or Space Channel 5.
05:08 * McMartin can't come up with a working Altered Beast parody
05:28
<@Alek>
bloop
05:32
<~Vornicus>
I'm actually doing both size and color; the size categories are pretty far apart.
05:32
<~Vornicus>
Colorblindness is a known issue. I've spoken about my occasional issues in here.
06:30 Kindamoody is now known as Kindamoody|breakfast
06:42 Reiv [Reiver@Nightstar-8b172949.vf.net.nz] has joined #code
07:09
<@Alek>
related: http://weknowmemes.com/2012/01/can-you-guess-what-these-pictures-are/
07:10
< AnnoDomini>
My initial guess was something like, "magnified worn-out coins".
07:11 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:22 Kindamoody|breakfast is now known as Kindamoody
07:25
< Syk>
i don't get why there's a trollface associated with that
07:25
< Syk>
since it's not trolling at all ovO
07:25
<@Tamber>
Because internet.
07:32 Kindamoody is now known as Kindamoody|out
07:39 thalass [thalass@Nightstar-20568af1.bigpond.net.au] has joined #code
07:43
< AnnoDomini>
It's there because you're led to believe they're planets and with that you are misleeeeed!
07:47
<@froztbyte>
<Syk> DIPLOMACY THROUGH THE POWER OF DANCE
07:47
<@froztbyte>
<Syk> united nations resorts to their last known tactic: sweet beats
07:47
<@froztbyte>
reminds me of the intro to http://www.tjoonz.com/dubstep/excision-shambhala-2011-dubstep-mix/
07:47
<@froztbyte>
wait, no
07:47
<@froztbyte>
must be the 2010 one, I guess
07:47
<@froztbyte>
that said, good mix to listen to
07:51
< thalass>
I keep expecting to encounter Transformers whenever i hear dubstep. :P
07:51
<@froztbyte>
hehe
07:53
<@Alek>
http://weknowmemes.com/2012/09/unimpressed-everyone/
07:55
<@froztbyte>
the intro on http://electronicexplorations.org/?show=bong-ra-2 is cool too
08:05
< Syk>
man
08:05
< Syk>
amazon is like
08:05
< Syk>
"hey syka, you can buy a horse mask, delivered to your door by christmas!"
08:05
< Syk>
amazon marketing emails are weird
08:06
<@Tamber>
...is that one of those horse masks that I keep seeing in random pictures over imgur?
08:06
< Syk>
yep
08:06
<@Tamber>
(I'm not going to go looking, I'll only screw up my recommendations even more.)
08:07
<@froztbyte>
look in a private browser
08:07
<@Tamber>
...good point!
08:09 * Alek pokes Vorn.
08:09
<@Alek>
http://weknowmemes.com/2012/07/can-you-solve-this/
08:10
< thalass>
I'm probably wrong, but 0.5?
08:11
<@Tamber>
I have 288.
08:11
< thalass>
Though i'm working on a vague recollection that it goes brackets, addition, subtraction, multiplication, division.
08:12
< thalass>
Vorn the Mathemagician will know!
08:12
< thalass>
Or possibly my phone
08:12
<@Tamber>
BODMAS.
08:12
<&jerith>
2
08:12 thalass is now known as Thalass|afk
08:13
<&jerith>
The order of the multiplication and division is ambiguous, but usually leaving out the operator is an indication that the bits are bound more tightly.
08:14
<@Tamber>
And this is why I paren the hell out of things. :)
08:15
< Thalass|afk>
Damnit, phone says 288. Handbrain is always right. >.<
08:16
< Thalass|afk>
And, well, how did i randomly turn 48/24 into 24/48. I have some special maths skills all right.
08:16
<@Tamber>
48 2 / 9 3 + * is how I understand it; but I'm thick of mud, and never did learn much in maths. ;)
08:17 mode/#code [+oooooooooooooo Zemyla Reiv_ Reiver Orthia birthdaypux Moltare Reiv AnnoDomini Nemu gnolam Thalass|afk auREAX Syk VirusHome] by Tamber
08:25
<@Syk>
BIMDAS works from left to right
08:26
<@Syk>
20 x 5 / 10 = 10
08:27
<@AnnoDomini>
Lessee. Brackets first, division, then multiplication. Yeah, 288.
08:28
<@Syk>
it's brackets, (multiplication division), (subtraction addition)
08:28
<@Syk>
division isn't done first, it's done left to right as they're equal operators
08:28
<@AnnoDomini>
I'm only talking about this specific example.
08:28
<@Syk>
oh yeah, this one
08:29 ErikMesoy|sleep is now known as ErikMesoy
08:31
<@Alek>
yeah. troll math. XD
09:37 Thalass|afk [thalass@Nightstar-20568af1.bigpond.net.au] has quit [Client closed the connection]
09:54
<@froztbyte>
<jerith> The order of the multiplication and division is ambiguous, but usually leaving out the operator is an indication that the bits are bound more tightly.
09:54
<@froztbyte>
that
09:55
<@froztbyte>
that said, the example is specifically designed to try to be stupid
09:58 You're now known as TheWatcher
10:05
<&jerith>
There's "the correct way to do it" and "the way the person writing it probably expects it to be done".
10:10
<@AnnoDomini>
I suppose it could have mutated from 48/(18+6). But I wouldn't write it the way it was presented.
10:31 thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code
10:40 thalass is now known as Thalass|teevee
10:43
<@Syk>
man, having a coffee machine in the house is probably bad for my health
10:43
<@Syk>
since i can have a coffee whenever i want
10:55
<@AnnoDomini>
Probably terrible on your teeth.
10:56
< Thalass|teevee>
Indeed. We got one of those pod coffee things, and we're going through them like crazy
11:04
<@Syk>
uuugh
11:04
<@Syk>
okay so
11:04
<@Syk>
i just realised the reason for my tummy problems
11:04
<@Syk>
milk went out of date three days ago
11:04
<@Syk>
well, two
11:14
< Thalass|teevee>
ew
11:14
< Thalass|teevee>
Does it smell bad? Just because it's out of date doesn't mean it's automatically gone off.
11:25
<@Syk>
Thalass|teevee: well it didnt smell great
11:25
<@Syk>
and seeing as i'm now having the usual digestive problems :<
12:27
< Thalass|teevee>
woe
12:39
<@Syk>
yeah
12:39
<@Syk>
asdf i should do some actual work today
13:11 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
13:16
<@Azash>
I should too, guess it's time to be productivvpfpvfpfpvffpfpf
13:20 * Syk infects Azash with Productivity Syndrome
13:21
<@Syk>
side effects may include: things being done, coffee consumption, death
13:21
<@Azash>
Emphasis on may
13:21
<@Azash>
:P
13:25
<@Syk>
well, the third option is probably more likely for me, looking at the "Line 1, Column 1" in ST2...
13:28 * Azash stares intently at the code, hopes that it will develop itself
13:28
<@Syk>
i think i might do a little useless side project
13:28
<@Syk>
because i can
13:29
<@Azash>
The best reason
13:32
<@Syk>
indeed
13:33
<&McMartin>
It is helpful to clear the mind
13:36
<@Azash>
The day I finish my current project I am going to get wasted and then start around six hobby projects
13:36
<&McMartin>
Heh
13:36 * McMartin just finished on of his!
13:36
<&McMartin>
*one
13:36
<@Syk>
my favourite part of demo code is when it doesn't work
13:39
<@Syk>
oh great now i broke wxpython
13:39 * Thalass|teevee flops bedwards, as morning shift starts in seven hours.
13:40
<&McMartin>
Sun should be coming up here soon
13:40
<@gnolam>
Syk: that's not hard to do. :P
13:40
<@gnolam>
It sort of comes prebroken.
13:40
<@gnolam>
McMartin: ... so what are you doing up then?
13:40
<@Syk>
there was 2.6 and 2.8
13:41
<@Syk>
i installed 2.8 first
13:41
<&McMartin>
Circadian rhythm was completely destroyed by a bout of illness
13:41
<@Syk>
the demo wasn't working, so i was like maybe i should try 2.6
13:41
<@Syk>
then the demo didn't work /at all/
13:41
<@Syk>
so i uninstalled 2.6
13:41
<@Azash>
McMartin: What'd you finish?
13:41
<@Syk>
...and then reinstalled 2.8
13:41
<@Syk>
...and now it doesn't work
13:41
<&McMartin>
Azash: That dynamic terrain demo I posted in here a few days ago
13:41
<@Azash>
Didn't see
13:41
<@gnolam>
Ok, that's just odd. You're not trying to use it in Python 3, are you?
13:41
<@Syk>
gnolam: nope
13:41
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/ground.zip
13:41
<@Syk>
it was working before
13:42 Thalass|teevee is now known as Thalasleep
13:42 Thalasleep [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [[NS] Quit: *thud*]
13:42
<&McMartin>
(Requires a DX9.0c-capable card, but anything recent enough to, say, play Bastion should handle it)
13:42
<@gnolam>
Also, thanks for that McMartin. Now I have Ghost's version of "Here Comes the Sun" stuck in my head. >:(
13:43
<@Azash>
Dynamically generated terrain, McMartin?
13:43
<&McMartin>
Azash: Yeah, it's a plasma fractal texture loaded into a texture and then interpreted as a height map
13:43
<@Syk>
how do i break things so easy
13:43
<@Azash>
McMartin: I know some of those words
13:43
<&McMartin>
OK, so
13:44
<&McMartin>
"Yes, the mountains there are generated algorithmically"
13:44
<@Azash>
Well, I got it except for "plasma fractal"
13:44
<&McMartin>
Plasma fractal, aka midpoint displacement fractal, is a specific algorithm you saw a lot of in the early 1990s demoscene >_>
13:45
<&McMartin>
http://en.wikipedia.org/wiki/File:Plasmafractal.gif
13:45
<@Syk>
YAY i fixed it again
13:45
<&McMartin>
So the CPU builds that, and extends it every thousand frames or so
13:45
<@Azash>
Woo
13:45
<@Syk>
and now PythonMagick isn't working
13:45
<&McMartin>
And it also, each frame, submits a flat grid of vertices to the graphics card
13:45
<@Azash>
McMartin: Alright, and you say that it's converted into a heightmap?
13:45
<&McMartin>
No, it stays a texture
13:46
<&McMartin>
All the rendering beyond the flat grid is handled by vertex and pixel shaders
13:46
<@Syk>
i'm assuming McMartin's doing it how Dark Reign did
13:46
<&McMartin>
The vertex shader interprets the texture *as* a height map.
13:46
<@Azash>
Right
13:46
<@Syk>
that the height map is coloured for height
13:46
<@Azash>
Ah, alright
13:46
<@Syk>
so the darker it is, the taller the point is
13:46
<@Syk>
it's then textured over
13:46
<@Syk>
Azash: think like cartography maps, how darker sections are taller
13:46
<&McMartin>
Actually, I'm using a 1D procedural texture, and the standard lighting model
13:47
<@Syk>
and you can see how tall a hill is through the colour
13:47
<@Azash>
Syk: Yeah I know
13:47
<@Syk>
liek that
13:47
<&McMartin>
Except I'm computing those in the pixel shader, and I'm working out angles in the vertex shader too.
13:47
<@Azash>
I was kind of trying to ask if it was that way but I guess 'converted' was the wrong word
13:47
<&McMartin>
(In a real system, you'd actually work out the normals with the heightmap and store it in a separate texture)
13:47
<@Syk>
now this is where i get lost
13:47
<&McMartin>
Yeah, 'interpreted' is better than 'converted'
13:47
<@Syk>
because i don't know anything about 3D or anything :<
13:48
<@Azash>
McMartin: Do you reuse memory that was given to now-not-visible areas?
13:48
<&McMartin>
Syk: Basically, the way you get the most basic shading is by having a virtual light source - basically, what direction the sun is coming from - and you darken it based on how much your polygon face is turned away from it
13:48
<&McMartin>
The math for that isn't hard but it is repetitive
13:48
<&McMartin>
So I have the vertex shader do that too
13:48
<&McMartin>
Azash: yes. One 256x256 texture is allocated at the very start of the program and it is continuously reused.
13:49
<&McMartin>
That's the rewrite every thousand frames or so
13:49 * Azash can now stop staring intently at the memory used by the program
13:49
<&McMartin>
(scrolling: also the vertex shader)
13:50
<&McMartin>
Anyway, it turns out that doing texture lookups during the vertex shader step didn't actually show up in graphics cards until partway through the DirectX 9 era
13:51
<&McMartin>
(Which is why when you look at sysreqs for games, they will often say "DirectX 9 with Shader Model 3 support")
13:52 * Azash nods
13:54
<&McMartin>
Also, I should stop having Laura Shigihara singing sad songs on loop
13:57
<@froztbyte>
I did not know this name
13:57
<@froztbyte>
her music is enjoyable
13:58
<&McMartin>
She is perhaps most famous for singing the songs in Plants vs. Zombies
13:58
<&McMartin>
But she also sang the songs in To The Moon, which I just beat.
13:59
<@froztbyte>
so I moments ago read on her profile
13:59
<@froztbyte>
I don't even recall hearing the PvZ soundtrack
13:59
<@froztbyte>
but then I acquired mine via via via
13:59
<&McMartin>
It was actually in the ads and IIRC the end credits. https://www.youtube.com/watch?v=0N1_0SUGlDQ
14:00
<@froztbyte>
my internet rarely has ads. of any sort.
14:00
<&McMartin>
This is a Very Different Song from "Everything's Alright"
14:00
<&McMartin>
Well, OK, trailers
14:01
<@froztbyte>
same issue :)
14:01
<&McMartin>
Ah
14:01
<@Azash>
What do you listen to for coding?
14:01
<@froztbyte>
my feeds are very strongly IRC-driven
14:01
<&McMartin>
Aha
14:01
<@froztbyte>
acts as a magnificent content filter
14:01
<&McMartin>
Yeah, I tend to track trailers of games I'm evaluating for possible purchase
14:01
<@froztbyte>
yeah, I figured
14:01 * froztbyte is still clearing out the backlog on his
14:02
<@froztbyte>
speaking of
14:02
<&McMartin>
As for coding music, of late I've actually been using the Frozen Synapse soundtrack, which is mostly meditative electronica
14:02
<@froztbyte>
her one vid has reminded me that I wish to try get FF8 running in a VM or something
14:02
<@froztbyte>
so that I can pass the VM some crappy emulated 3D device
14:02
<@froztbyte>
(so that I can get the "hardware" rendering working..)
14:03
<@Azash>
Meditative electronica? Sounds interesting
14:03 Attilla [Obsolete@Nightstar-540a6080.range86-151.btcentralplus.com] has joined #code
14:03 * Azash usually just overcaffeinates and listens to drum'n'bass or hip hop instrumentals
14:03
<@froztbyte>
try the Hackers OST sometime
14:03
<@froztbyte>
and the Cruel Intentions OST
14:05
<&McMartin>
A sample: http://www.youtube.com/watch?v=DB_jczxh7bE
14:05
<@Azash>
No sound right now, I'm afraid :(
14:05
<@froztbyte>
hrm: http://forums.qhimm.com/index.php?topic=5731.msg73847#msg73847
14:05 * Azash puts it on Watch later
14:05
<&McMartin>
A lot of the tracks also have names like "Concentrate" and "The Plan", so the iconified player is also a suggestion to get to work~
14:05
<@froztbyte>
McMartin: well, thanks for mentioning her name
14:05
<@froztbyte>
I'll certainly check more of it out
14:05
<&McMartin>
At your service
14:05
<@froztbyte>
she's got a very nice voice to listen to
14:06
<&McMartin>
Yes
14:06
<@froztbyte>
feed me music over time
14:06 * froztbyte needs as many ideas as possible for http://vu.vuze.la
14:07
<@Azash>
One project idea I wanted to share, by the way, as I think I don't have the expertise to work on it myself
14:07
<@Azash>
HTML5 open format game streaming
14:07
<@froztbyte>
huh??
14:07
<@froztbyte>
?*
14:07
<@froztbyte>
like, in-browser livestreaming of people's gaming streams?
14:08
<@Azash>
Like if I'm playing game X
14:08
<@froztbyte>
McMartin: ....man, now I want to buy Frozen Synapse again
14:08
<@Azash>
A solution for streaming my gaming, using open formats, through HTML5
14:08
<@froztbyte>
that music is excellent
14:08
<@froztbyte>
Azash: realistically, it's pretty easy
14:08
<@Azash>
It came up the other day when I was streaming some Hitman and seemed like a good idea
14:08
<@froztbyte>
you have two components
14:08
<&McMartin>
froztbyte: If you bought it through one of the Humble Bundles you have access through your library page to OST downloads for it
14:09
<@froztbyte>
and funnily enough, the client side (HTML5) is the easy part.
14:09
<&McMartin>
(Also, Triumph is my favorite track on the OST)
14:09
<@Azash>
Yeah, I know
14:09
<@froztbyte>
McMartin: I don't know if I did, I also don't recall which bundles I have
14:09
<@Azash>
It's the rest that's the problem :P
14:09 * froztbyte checks
14:09
<@froztbyte>
Azash: well, that depends on what software you'd use to screencap
14:09
<@Syk>
Azash: oh man hitman
14:09
<@Azash>
Writing software for that was included in the project
14:09
<@Syk>
Azash: is this the new one?
14:10
<@Azash>
Yeah
14:10
<@Syk>
my friend was playing it and i was watching
14:10
<@Syk>
he screwed up on the level on the train platform
14:10
<@Syk>
started firing a shotgun into the crowd
14:10
<@Azash>
Haha
14:10
<@Syk>
negative 465,000 points
14:10
<@froztbyte>
screw writing screencap software
14:10
<@Azash>
Hoo boy
14:10
<@froztbyte>
just use what's already around
14:11
<@Azash>
froztbyte: I guess
14:11
<@froztbyte>
they've already done all the hard work on catching all the various possible rendering modes etc
14:11
<@froztbyte>
and there is a lot of pain in that.
14:11
<@Azash>
Well, I'll give it another look when I get home~
14:11
<@Azash>
Good point
14:12
<@froztbyte>
quick idea I have for this is use some screencap software that grabs the picture, dumps it out in mpeg or whatever
14:12
<@froztbyte>
feed that to vlc, transcode it there to something nice and light
14:12
<@froztbyte>
then feed it to your browser
14:12
<@froztbyte>
you can probably hack it up in a few hours at most
14:12
<@froztbyte>
the vlc transcode bit is quick to get running, and then just takes a bit of tweaking to get the way you want
14:13
<@Azash>
Why would I feed it to my browser?
14:13
<@froztbyte>
how else will you watch it? :)
14:13
<@Azash>
Well, the idea with streaming is to get it to multiple people
14:13
<@froztbyte>
at least, this I understood to be the point of the exercise
14:14
<@froztbyte>
oh, you mean your browser in this case
14:14
<@froztbyte>
to test, of course
14:14
<@Azash>
True
14:14
<@Azash>
Well, I'll look at it again
14:14
<@froztbyte>
and then when you know what you have, just dump the transcode elsewhere or hairpin it through a rebroadcast box somewhere
14:14
<@Azash>
Syk: On a side note, I'm still working on the first level myself due to starting my first game on maximum difficulty
14:15
<@Azash>
froztbyte: I'm fairly skeptical of it being that easy though, but if it is, great
14:15
<@Azash>
Syk: What maximum gives you: Weapon menu, crosshair
14:16
<&McMartin>
I need to get around to playing Blood Money
14:16
<@Azash>
I didn't get a tutorial, or even a list of objectives
14:16 * Azash gets plopped down in front of a gate and is told to infiltrate a mansion
14:16
<@Azash>
Blood Money is great
14:17
<@froztbyte>
Azash: I've got a setup on my germany box that dumps iptv from a friend's home box in ireland, transcodes it down to h264 with some hax, and then I view it in .za at ~800Kbps
14:17
<@froztbyte>
704x576@50fps, no issues
14:17
<@Azash>
Nice
14:17
<@froztbyte>
the basic version took me about 10 minutes to get working
14:18
<@froztbyte>
a few hours of tweaking to get a nice picture into that bw profile
14:18
<@froztbyte>
(and some help from a friend who knows the insides of the h264 codec well)
14:18
<@froztbyte>
so, yeah, video's gotten a lot easier :)
14:18
<@Syk>
:< why is this so hard
14:18
<@froztbyte>
McMartin: must've been in bundle 4, or any that came out after 6
14:19
<@froztbyte>
what're you doing, Syk?
14:20
<@Syk>
trying to get pythonmagick to work
14:20
<@Syk>
the documentation link is dead
14:20
<@Syk>
:|
14:21
<@Azash>
Some imagemagick relative?
14:21
<@Syk>
python bindings
14:22
<@Syk>
ugh
14:24 * Azash eyes service that offers free UK VPN
14:24
<@Azash>
There has to be some catch
14:26
<@Syk>
Azash: it probably noms all of your bank details
14:26
<@Azash>
Hm
14:27
<@Azash>
Maybe I'll just set up a VMWare machine for BBC
14:29
<@Syk>
atgh
14:29
<@Syk>
i'm just gonna try another friggin library
14:29
<@Syk>
oh look, this one has documentation!
14:30
<@Syk>
holy crap
14:30 * Azash gives up, goes to nap
14:30
<@Azash>
Syk: :O
14:32
<@froztbyte>
if it's python-pil, you're probably going to hate your life soon
14:32
<@Syk>
froztbyte: it's Wand
14:32
<@froztbyte>
haven't used that
14:32
<@Syk>
which is a ctypes based imagemagick binding
14:32
<@Syk>
i dunno what anything but imagemagick binding means here, but oh well :D
14:35
<@Syk>
whooooo it does stuff
15:52 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
16:48 Syk is now known as syksleep
18:04 Kindamoody|out is now known as Kindamoody
18:40 Reiv [Reiver@Nightstar-8b172949.vf.net.nz] has quit [Ping timeout: 121 seconds]
18:40 Reiv [Reiver@Nightstar-8b172949.vf.net.nz] has joined #code
19:30
<@Alek>
Syk, if you're worried about milk, boil it. gently, stirring frequently, to avoid burning. it'll repasteurize, although much of the protein will curdle, though you can skim that off.
19:49 Kindamoody is now known as Kindamoody[zZz]
19:55
<@simon_>
I'm trying to find a quick way to detect if there are duplicates in my input lines in shell script.
19:56
<@simon_>
ahh... uniq -d
20:05 * celticminstrel checks man to see what that does.
20:06
< celticminstrel>
Okay, so uniq elminates duplicate lines while -d reverses it to eliminate not-duplicate lines.
20:08
<@simon_>
yes, uniq -d prints the duplicates
20:08
<@simon_>
rather than removing them.
20:08
<@simon_>
(it only works for adjacent lines, so calling `sort' first can be necessary.
20:09
< celticminstrel>
That's slightly silly, but okay.
20:09
< celticminstrel>
More importantly, if that's the case, why doesn't the manpage say so?
20:13
<&ToxicFrog>
...it does?
20:14
< celticminstrel>
I guess I can blame Apple, then.
20:15
< celticminstrel>
Well, this one doesn't mention it either. http://unixhelp.ed.ac.uk/CGI/man-cgi?uniq
20:32
<&ToxicFrog>
" -d, --repeated
20:32
<&ToxicFrog>
only print duplicate lines
20:32
<&ToxicFrog>
"
20:32
< celticminstrel>
That implies that if the lines are "123", "123", "456", "123", "123", that it'll print "123" once, not twice.
20:33
<&ToxicFrog>
""
20:33
<&ToxicFrog>
"Note: 'uniq' does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use 'sort -u' without 'uniq'."
20:36
< celticminstrel>
Oh, you're right.
20:37
< celticminstrel>
So yes, I can blame Apple.
20:37
< celticminstrel>
Mine doesn't have that note.
20:56
<@simon_>
I don't htink sort -u can use uniq's -d behaviour.
20:56
<&ToxicFrog>
Yeah, that note is for sort as a whole, not -d specifically
20:58
<@simon_>
celticminstrel, not having that line is quite misleading.
20:59
< celticminstrel>
Indeed.
20:59
< celticminstrel>
TF: For uniq as a whole, not sort. :P
20:59
<&ToxicFrog>
Yes.
21:36 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
21:40 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
21:43 Vash [Vash@Nightstar-126b8874.wlfrct.sbcglobal.net] has joined #code
21:44 mode/#code [+o Vash] by ChanServ
22:12 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:15 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
23:09 * TheWatcher horays, gets to try and work out why the fuck LWP::UserAgent (or, more precisely, HTTP::Request::Common) isn't sending file names correctly, by means of trying to dig through its sourcemeats >.<
23:13
<@Azash>
Oh boy, source digging
23:13 * Azash rubs hands together
23:22 ErikMesoy is now known as ErikMesoy|sleep
23:38
< celticminstrel>
Okay so... I need to run something when the process created by subprocess.Popen ends, but wait() is not an option...
23:55
< celticminstrel>
If this were C code, I think handling SIGCHLD would be the way...
23:58
< celticminstrel>
Or I could just do poll().
--- Log closed Sun Nov 25 00:00:22 2012
code logs -> 2012 -> Sat, 24 Nov 2012< code.20121123.log - code.20121125.log >

[ Latest log file ]