--- Log opened Fri Jun 22 00:00:20 2012 |
00:01 | < Tarinaky> | You can produce the same output (as a plasma fractal) with Perlin Noise. |
00:02 | < Tarinaky> | But you can also force perlin noise into different shapes. |
00:02 | < Tarinaky> | From what I remember Perlin Noise also tends to look nicer. |
00:02 | < Tarinaky> | Depending on how much time you're willing to spend on the interpolation step. |
00:02 | | * Tarinaky spent quite a lot of time last semester trying to get his head around Perlin Noise >.> |
00:02 | | * Tarinaky has, sadly, forgotten most of it. -.- |
00:06 | | cpux[sick] is now known as cpux |
00:06 | | Number3 [abudhabi@D553D1.96DB05.BB60F8.B9C090] has quit [Ping timeout: 121 seconds] |
00:07 | < RichyB> | The results of most interesting transformations of Perlin noise continue to look good because it's always doubly-differentiable, right? |
00:10 | < Tarinaky> | Hmm... |
00:13 | <~Vornicus> | It certainly helps |
00:33 | | Noah [nbarr@Nightstar-9368be0f.pools.spcsdns.net] has quit [Ping timeout: 121 seconds] |
00:35 | | ShellNinja [abudhabi@842092.9F9B70.50BC1E.6D7E78] has joined #code |
00:36 | < Tarinaky> | Okay. This is a really weird bug. |
00:37 | < Tarinaky> | My program isn't quitting. |
00:37 | | Derakon[AFK] is now known as Derakon |
00:37 | < Tarinaky> | When I quit it just hangs. |
00:37 | | mode/#code [+ao Derakon Derakon] by ChanServ |
00:37 | <&McMartin> | Not processing the Window close/App Quit event somehow? |
00:38 | < Tarinaky> | Well, it reaches a debug statement that can (as far as I am aware) only be reached by doing so. |
00:38 | < Tarinaky> | Even weirder: |
00:38 | < Tarinaky> | I now can't reproduce it. |
00:39 | < Tarinaky> | And the only thing I changed was committing the change I made elsewhere. |
00:40 | <&McMartin> | Wacky file handle deadlock? |
00:40 | | * McMartin dunno |
00:40 | < Tarinaky> | Well, I'll just have to hope it re-emerges. |
00:40 | < Tarinaky> | Otherwise assume it was hardware. |
00:41 | < RichyB> | Hardware is like lupus. |
00:41 | < RichyB> | It's (almost) never hardware. |
00:43 | < Tarinaky> | list.append(listA) appends each element of listA to list right? |
00:44 | < RichyB> | Which language? |
00:44 | < Tarinaky> | Python. |
00:44 | < Tarinaky> | And it's extend that I wanted. |
00:44 | < RichyB> | In Python, list.append adds one element. |
00:44 | < RichyB> | Yes, it is list.extend that adds the contents of an iterable. |
00:46 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving] |
00:57 | < Tarinaky> | Ah! It is a reproduceable bug! |
00:57 | | * Tarinaky facepalms. |
00:58 | < Tarinaky> | Suddenly, I think I know what it is. |
00:58 | < Tarinaky> | And it would - indeed - be Hardware if it is. |
00:59 | < Tarinaky> | Yes. |
00:59 | < Tarinaky> | it is hardware. |
01:01 | < Tarinaky> | Well, Operating System at any rate. |
01:06 | <&McMartin> | Oh? |
01:06 | < Tarinaky> | Linux audio. |
01:06 | <&McMartin> | Oh. -_- |
01:07 | | * McMartin sadface |
01:07 | < Tarinaky> | Like Lupus... there's this one time it is Lupus :p |
01:08 | <&McMartin> | We were once teaching someone Python in this channel and their first project on their own failed due to an honest-to-god compiler bug |
01:08 | | * Tarinaky giggles. |
01:10 | <&McMartin> | It turned out that if you had either a local variable or argument named "top" that version of Python would misbehave. |
01:11 | < Tarinaky> | How weird. |
01:11 | <&McMartin> | It wasn't hiding its own compiler internals, one of which was a link to the top level environment, which was named "top". -_- |
01:12 | <~Vornicus> | No, it was |
01:12 | <~Vornicus> | 1. you have a function named top |
01:12 | <~Vornicus> | 2. you declare a global in that function. |
01:13 | < celticminstrel> | I think I remember reading about that bug somewhere. |
01:14 | <~Vornicus> | "python issue 9997" |
01:16 | <&McMartin> | That "somewhere" was likely this very channel |
01:16 | <&McMartin> | Since this channel is where it was tracked down. |
01:17 | < Rhamphoryncus> | Quite the weird bug |
01:36 | < Tarinaky> | http://imgur.com/r8JF0 Colonisation now works as much as it will with the schema currently implemented. |
01:36 | < Tarinaky> | :D |
01:56 | < Rhamphoryncus> | :) |
01:59 | < Tarinaky> | Unfortunately I really hate my code base and wish I'd planned more. |
01:59 | < Tarinaky> | It's a bit... crap. |
02:06 | < Rhamphoryncus> | Mine's like a collection of mutant growths. I wait until one gets too big and hideous, then chop it off and beat it with a hammer until I'm temporarily satisfied |
02:07 | < Tarinaky> | Well. Part of it was I wanted to get finished as fast as possible. |
02:08 | < Tarinaky> | So I'm trying not to touch code unless I'm either fixing a bug or adding a feature to it. :x |
02:14 | < celticminstrel> | I don't think it was in this channel that I heard it. |
02:15 | < celticminstrel> | Though I could be mistaken. |
02:57 | < Tarinaky> | Aaaand... my mind's gone blank :/ |
--- Log closed Fri Jun 22 03:06:47 2012 |
--- Log opened Fri Jun 22 03:06:55 2012 |
03:06 | | TheWatcher[zZzZ] [chris@Nightstar-3762b576.co.uk] has joined #code |
03:06 | | Irssi: #code: Total of 27 nicks [7 ops, 0 halfops, 0 voices, 20 normal] |
03:06 | | mode/#code [+o TheWatcher[zZzZ]] by ChanServ |
03:07 | | Irssi: Join to #code was synced in 44 secs |
04:00 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited] |
04:54 | | Kindamoody is now known as Kindamoody|out |
05:23 | | 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:25 | < Tarinaky> | http://imgur.com/qq9gz I am breaking new limits in how ugly I make the ugly game. |
05:51 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
06:14 | | Derakon is now known as Derakon[AFK] |
06:38 | | Reivthia [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds] |
06:54 | < Tarinaky> | How can I split composite logic statements across multiple lines? |
06:54 | < Tarinaky> | if a and b and c and d and e ... else |
06:54 | < Tarinaky> | (In Python) |
07:14 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
07:22 | < Tarinaky> | I'm having trouble finding something. |
07:22 | < Tarinaky> | In python, if I have a float I'm converting to a string. |
07:22 | < Tarinaky> | How do I specify the number of decimal points? |
07:27 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
07:27 | | mode/#code [+o himi] by ChanServ |
07:41 | | Kindamoody|out is now known as Kindamoody |
08:17 | <&jerith> | Tarinaky: Parens. Also, maybe use some other constructs. |
08:17 | <&jerith> | all() is good for "a and b and c and d", any() is good for "a or b or c or d". |
08:28 | < Tarinaky> | The issue is that the if statement requires everything to be on one line. |
08:29 | < Tarinaky> | Because Python is funny about whitespace. |
08:29 | < Tarinaky> | But this makes said line the same size as an XBox. |
08:31 | <&McMartin> | You can backslash newlines. |
08:46 | <&jerith> | You can also use parens, like I said. |
08:46 | <&jerith> | if (foo and bar |
08:46 | <&jerith> | and baz and quux): |
08:46 | <&jerith> | do_thing() |
09:03 | | Kindamoody is now known as Kindamoody|code |
09:07 | < Tarinaky> | Ah. |
09:07 | < Tarinaky> | "Parans" didn't really say much :) |
09:07 | < Tarinaky> | Also |
09:07 | < Tarinaky> | 08:46 <&jerith> and baz and quux): |
09:07 | < Tarinaky> | Err |
09:08 | <&jerith> | Tarinaky: Oops, sorry. |
09:08 | < Tarinaky> | http://imgur.com/EIO0a \o/ all of the 'basic' technology is implemented. |
09:08 | < Tarinaky> | I might have to actually implement some multiplayer soon... scary. |
09:10 | < Tarinaky> | I am going for a nap on that note. I have been up all night. |
09:20 | | You're now known as TheWatcher |
09:34 | | Orthia [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code |
10:06 | | Kindamoody|code is now known as Kindamoody |
10:34 | | Kindamoody is now known as Kindamoody|P2 |
11:10 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
12:58 | | iospace is now known as io|driving |
13:40 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code |
13:47 | | Kindamoody|P2 is now known as Kindamoody |
14:07 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code |
14:18 | | io|driving is now known as iospace |
14:37 | <@ToxicFrog> | Tarinaky: a bit late, but... |
14:37 | <@ToxicFrog> | >>> "%.4f" % 5.123456 |
14:37 | <@ToxicFrog> | '5.1235' |
14:39 | < celticminstrel> | Is that removed in Python 3? |
14:39 | < celticminstrel> | Apparently not. |
14:39 | < celticminstrel> | Oh wait, I typed python2 by mistake. |
14:40 | < celticminstrel> | ...I thought I had a Python 3 installed here... |
14:57 | | * TheWatcher eyes git |
14:57 | <@TheWatcher> | ... I'm telling you to ignore this directory, so why are you not doing so |
14:58 | < Rhamphoryncus> | iirc python3 hasn't even deprecated old-style formatting yet |
14:59 | <@TheWatcher> | Oh, wait, it's a shambolic link, so it doesn't need the / |
15:24 | < Rhamphoryncus> | watching a DF LP makes me want to play it. Knowing the interface makes me shudder at the thought. |
15:52 | | Attilla [Obsolete@Nightstar-ee4c9094.as43234.net] has quit [[NS] Quit: ] |
15:59 | | Attilla [Obsolete@Nightstar-ee4c9094.as43234.net] has joined #code |
--- Log closed Fri Jun 22 16:12:49 2012 |
--- Log opened Fri Jun 22 16:12:53 2012 |
16:12 | | TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code |
16:12 | | Irssi: #code: Total of 27 nicks [7 ops, 0 halfops, 0 voices, 20 normal] |
16:12 | | mode/#code [+o TheWatcher] by ChanServ |
16:13 | | Irssi: Join to #code was synced in 41 secs |
--- Log closed Fri Jun 22 16:39:14 2012 |
--- Log opened Fri Jun 22 16:39:22 2012 |
16:39 | | TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code |
16:39 | | Irssi: #code: Total of 27 nicks [7 ops, 0 halfops, 0 voices, 20 normal] |
16:39 | | mode/#code [+o TheWatcher] by ChanServ |
16:40 | | Irssi: Join to #code was synced in 43 secs |
17:00 | < celticminstrel> | XD |
17:15 | < RichyB> | The amount of errors that pyflakes keeps catching in my code is, uh, shocking. |
17:15 | | * RichyB takes this as a sign that his brain is wrecked today. |
17:57 | | rms [rstamer@genoce.org] has quit [Operation timed out] |
18:07 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving] |
19:04 | | Kindamoody is now known as Kindamoody[zZz] |
19:22 | | rms [rstamer@4CA975.228F8B.B8F8FC.CBE31C] has joined #code |
19:22 | | mode/#code [+o rms] by ChanServ |
--- Log closed Fri Jun 22 21:09:42 2012 |
--- Log opened Fri Jun 22 21:09:46 2012 |
21:09 | | TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code |
21:09 | | Irssi: #code: Total of 26 nicks [7 ops, 0 halfops, 0 voices, 19 normal] |
21:09 | | mode/#code [+o TheWatcher] by ChanServ |
21:10 | | Irssi: Join to #code was synced in 41 secs |
21:24 | < celticminstrel> | Hm... why is my text not bold when the font is "Arial Bold"? |
21:25 | < celticminstrel> | It works for size 14 or 16, but not for size 10. |
21:34 | < celticminstrel> | Not a huge problem, but... slightly annoying... |
21:40 | < celticminstrel> | Why does Xcode keep suggesting that I switch from GDB to LLDB when I'm using LLDB already? |
22:00 | <~Vornicus> | celmin: small sizes looking wrong sounds like the pixel hinting is wrong. |
22:00 | < celticminstrel> | I have no idea how I could do anything about that... |
22:17 | | Noah [nbarr@Nightstar-9368be0f.pools.spcsdns.net] has joined #code |
23:44 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer] |
23:48 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:48 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
--- Log closed Sat Jun 23 00:00:36 2012 |