--- Log opened Sun Apr 22 00:00:35 2007 |
00:04 | | MyCatBurnsFood is now known as MyCatVerbs |
00:12 | | MahalSlep is now known as Mahal |
00:39 | | MyCatVerbs is now known as MyCatEats |
00:45 | | MyCatEats is now known as MyCatVerbs |
00:52 | | KarmaBot [~karma.bot@Nightstar-29697.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
00:53 | | AnnoDomini [~farkoff@Nightstar-29697.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
00:53 | | AnnoDomini [~farkoff@Nightstar-29697.neoplus.adsl.tpnet.pl] has joined #Code |
00:53 | | mode/#code [+o AnnoDomini] by ChanServ |
00:54 | | KarmaBot [~karma.bot@Nightstar-29697.neoplus.adsl.tpnet.pl] has joined #Code |
01:15 | | Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout] |
01:26 | | Thaqui [~Thaqui@Nightstar-25849.jetstream.xtra.co.nz] has joined #code |
01:26 | | mode/#code [+o Thaqui] by ChanServ |
01:44 | | Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: @ReivZzz, @Mahal |
01:44 | | Netsplit over, joins: ReivZzz |
01:44 | | Netsplit over, joins: Mahal |
01:44 | | mode/#code [+o Mahal] by ChanServ |
02:07 | | Chalcedon [~Chalceon@Nightstar-1013.ue.woosh.co.nz] has joined #code |
02:07 | | mode/#code [+o Chalcedon] by ChanServ |
02:19 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?] |
02:57 | | Chalcedon [~Chalceon@Nightstar-1013.ue.woosh.co.nz] has quit [Ping Timeout] |
02:58 | | Chalcedon [~Chalceon@Nightstar-1013.ue.woosh.co.nz] has joined #code |
02:58 | | mode/#code [+o Chalcedon] by ChanServ |
03:01 | | Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: ReivZzz, @Chalcedon, @Mahal |
03:01 | | Netsplit over, joins: ReivZzz |
03:01 | | Netsplit over, joins: Mahal |
03:01 | | Netsplit over, joins: Chalcedon |
03:01 | | mode/#code [+o Mahal] by ChanServ |
03:01 | | mode/#code [+o Chalcedon] by ChanServ |
03:04 | | ReivZzz is now known as Reiver |
04:17 | | You're now known as TheWatcher |
04:44 | | MyCatVerbs is now known as MyCatSleeps |
05:53 | | Silver_Adept [~silverade@71.238.34.ns-11293] has joined #code |
05:58 | < Silver_Adept> | Is there anyone here who is a Ruby on Rails guru? |
05:59 | | * Vornicus is here now. |
05:59 | | * Vornicus is less of a guru than you, but is probably the person who knows the most rails. |
06:05 | < Silver_Adept> | Well, something broke. |
06:05 | <@Vornicus> | I'm going to need more detail than that. |
06:06 | < Silver_Adept> | I used to be able to use allow_nil along with validates_numericality_of and validates_length_of, and things would go okay (and they still half-do), but now I can't pass a nil value in for either of the things that have those validations associated. |
06:06 | <@Vornicus> | Ah |
06:06 | < Silver_Adept> | It tosses back a "not long enough" error and a "It's not a number" error. |
06:06 | < Silver_Adept> | I don't get what happened. |
06:06 | <@Vornicus> | Hrm |
06:06 | <@Vornicus> | It's one of those things that it feels like order might be affecting it |
06:06 | < Silver_Adept> | The API documentation has an example where allow_nil => true is being used, too. |
06:07 | <@Vornicus> | Try changing the order of the calls to allow_nil and validates_etc |
06:07 | < Silver_Adept> | So, allow_nil first, then the items being validated? |
06:07 | <@Vornicus> | Try it, anyway |
06:09 | < Silver_Adept> | It does not like the new order. |
06:09 | < Silver_Adept> | (Also, if I comment out the validations, the operation works. So it seems the trouble is with the validation code.) |
06:10 | <@Vornicus> | strange |
06:12 | < Silver_Adept> | Weird. allow_nil works on all the other attributes. It only breaks on isbn_10 and isbn_13. |
06:13 | < Silver_Adept> | I don't understand why, to be honest. |
06:14 | <@Vornicus> | What are isbn_10 and isbn_13 set up as? |
06:15 | <@Vornicus> | And what other attributes have allow_nil and a validation thing, and so forth? |
06:15 | < Silver_Adept> | Strings. |
06:15 | < Silver_Adept> | Others that have allow_nil are price, number_in_series, and edition, all set up as integers. |
06:16 | < Silver_Adept> | If I put in a string of 10/13 digits, however, it passes validation (or trips the uniqueness validation) |
06:16 | < Silver_Adept> | price is a decimal, actually. But they all seem set up for numbers. |
06:16 | < Silver_Adept> | The length/size validation only seems to work consistently on strings, though. |
06:18 | < Silver_Adept> | Yet I can get away with creating records automatically that have blank isbn_10 and isbn_13 values. |
06:19 | < Silver_Adept> | I can't make heads or tails as to why things are behaving in this manner. I've shipped the code off to the instruction staff to see if they can't puzzle it out. If they can't replicate the error, though, I guess I'll just have to puzzle out why it's crashing on my system. |
06:31 | | SilverAdept [~silverade@71.238.34.ns-11293] has joined #code |
06:32 | | Silver_Adept [~silverade@71.238.34.ns-11293] has quit [Operation timed out] |
06:32 | < SilverAdept> | Sorry. Crash. Did I miss anything? |
06:32 | <@Vornicus> | no. |
06:33 | <@Vornicus> | I'm about to go to bed though |
06:35 | | Vornicus is now known as Vornicus-Latens |
06:36 | < SilverAdept> | Night, Vorn. Hopefully, there will be a fix in the morning. I'm going to bed, too. |
06:36 | <@Vornicus-Latens> | I hope so too |
06:36 | <@Vornicus-Latens> | If you find it, tell me about it |
06:39 | < SilverAdept> | I have no idea even if it's a bug, or whether I'm doing something wrong. |
07:10 | | SilverAdept [~silverade@71.238.34.ns-11293] has quit [Quit: Night, peoples.] |
07:59 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
07:59 | | mode/#code [+o gnolam] by ChanServ |
08:42 | | gnolam is now known as gnolamedieval |
09:26 | | GeekSoldier [~Rob@Nightstar-6221.pools.arcor-ip.net] has joined #code |
09:36 | | Chalcedon [~Chalceon@Nightstar-1013.ue.woosh.co.nz] has quit [Quit: ] |
10:20 | | Mahal is now known as MahalBed |
13:15 | | Thaqui [~Thaqui@Nightstar-25849.jetstream.xtra.co.nz] has left #code [Leaving] |
14:40 | | Reiver is now known as ReivSLEP |
14:58 | <@jerith> | I have squashed a bug in my Erlang code and managed to replace it with a completely similar one that I can't find. :-( |
15:06 | <@AnnoDomini> | Sad. |
15:18 | | MyCatSleeps is now known as MyCatVerbs |
15:20 | < GeekSoldier> | isn't that how debugging is supposed to work? |
15:22 | <@jerith> | No. Debugging is supposed to include me tracking down a minor issue in a couple of minutes and then everything just works. |
15:24 | <@jerith> | My initial problem was a disconenct as soon as a client had connected. I had accidentally spawned a new process to handle a connectino instead of using the old one, so the socket was being closed by process-death. |
15:24 | <@jerith> | Now I can send a single message before everything comes crashing down. |
15:25 | <@jerith> | Vaguely similar symptoms, but a completely different cause. |
15:25 | | * jerith sighs and goes back to doing battle with the code. |
15:26 | < GeekSoldier> | interesting. |
15:29 | | You're now known as TheWatcher[afk] |
15:56 | | You're now known as TheWatcher |
16:01 | | KarmaBot [~karma.bot@Nightstar-29697.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
16:03 | | KarmaBot [~karma.bot@Nightstar-29697.neoplus.adsl.tpnet.pl] has joined #Code |
16:08 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Ping Timeout] |
16:09 | | Attilla [~The.Attil@194.72.70.ns-11849] has joined #code |
17:02 | | gnolamedieval is now known as gnolam |
17:16 | | GeekSoldier_ [~Rob@Nightstar-2534.pools.arcor-ip.net] has joined #code |
17:18 | | GeekSoldier [~Rob@Nightstar-6221.pools.arcor-ip.net] has quit [Ping Timeout] |
17:19 | | GeekSoldier_ is now known as GeekSoldier |
17:19 | <@gnolam> | jerith: did you squash that bug whilst conversing with mustachioed engineers over the phone? |
17:23 | < Attilla> | Is there a way to tell if someone is mustachioed over the phone? Like the hair brushing against the mouthpiece? Or are we using newfangled moustache-phones? |
17:26 | <@gnolam> | Deep down, you KNOW. |
17:26 | | You're now known as TheWatcher[afk] |
17:32 | <@jerith> | gnolam: I did not. I would have fixed it while talking to myself on the chatserver I was writing, except the bug was in the bit that let me connect. |
17:36 | | * MyCatVerbs googles (on the basis that the internet must obviously know everything), "Growing an awesome mustache." |
17:36 | < MyCatVerbs> | ...fuck you, internet. Buy mustaches on eBay? |
17:38 | <@AnnoDomini> | !google "how to grow a mustache" |
17:38 | < KarmaBot> | [AnnoDomini] http://www.google.pl/search?q="how+to+grow+a+mustache" |
17:39 | < MyCatVerbs> | ...what the Hell is the point of that script? It's even returning the Polish site. |
17:40 | < Attilla> | AnnoDomini's Polish. So sue him. |
17:40 | | * MyCatVerbs slaps AnnoDomini with an injunction for hailing from the East of Europe. |
17:40 | | * AnnoDomini returns fire with a few decommissioned SCUDs. |
17:42 | <@AnnoDomini> | Well. At least you're not asking me how I learned English if I don't live in the United States of America. |
17:43 | < MyCatVerbs> | You kidding me? Excuse my bigotry, but everyone on the planet teaches their kids English these days. It's become the de facto standard language for in all sorts of places where it shouldn't be. |
17:44 | <@AnnoDomini> | MyCatVerbs: http://img.photobucket.com/albums/v130/Spook359/learnenglish.jpg |
17:45 | < MyCatVerbs> | AnnoDomini: not me. Firstly, I'd murder that bloke for using 'u' instead of "you". |
17:45 | <@AnnoDomini> | Good. :) |
17:46 | < MyCatVerbs> | AnnoDomini: secondly, I'm pretty well used to foreigners writing better than my own countrymen for long enough now that it never comes as a surprise. |
17:46 | | * AnnoDomini nods. |
17:46 | < MyCatVerbs> | "wtf how did u learn english" <-- "WTF? How did you manage to FAIL and SUCK at learning English quite so SPECTACULARLY!?" |
17:49 | <@AnnoDomini> | Heh. |
18:32 | | You're now known as TheWatcher |
19:29 | | KBot [~karma.bot@Nightstar-29249.neoplus.adsl.tpnet.pl] has joined #Code |
19:29 | | KarmaBot [~karma.bot@Nightstar-29697.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
19:30 | | AnnoDomini [~farkoff@Nightstar-29697.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
19:30 | | KBot is now known as KarmaBot |
19:31 | | AnnoDomini [~farkoff@Nightstar-29249.neoplus.adsl.tpnet.pl] has joined #Code |
19:31 | | mode/#code [+o AnnoDomini] by ChanServ |
20:33 | | GeekSoldier [~Rob@Nightstar-2534.pools.arcor-ip.net] has quit [Quit: Did anyone see my lost carrier?] |
20:44 | | Chalcedon [~Chalceon@Nightstar-1013.ue.woosh.co.nz] has joined #code |
20:44 | | mode/#code [+o Chalcedon] by ChanServ |
20:45 | | MyCatVerbs is now known as MyCatHungrs |
20:54 | | AnnoDomini is now known as Kiers |
21:09 | <@McMartin> | 09:46 < MyCatVerbs> AnnoDomini: secondly, I'm pretty well used to foreigners writing better than my own countrymen for long enough now that it never comes as a surprise. |
21:09 | <@McMartin> | The fact that they're writing English means they're at least good enough with languages that they've managed to learn at least two. |
21:09 | <@McMartin> | Your average English-native speaker on the Intertrons can't even speak one. |
21:46 | | MahalBed is now known as Mahal |
22:11 | | MyCatHungrs is now known as MyCatVerbs |
22:12 | < MyCatVerbs> | Hee, intertrons. ^^ |
22:30 | | Kiers is now known as AnnoDomini |
22:54 | | You're now known as TheWatcher[T-2] |
22:57 | | You're now known as TheWatcher[zZzZ] |
23:10 | | Mahal [~Mahal@Nightstar-12512.worldnet.co.nz] has quit [Quit: reboot!] |
23:14 | | Mahal [~Mahal@Nightstar-12512.worldnet.co.nz] has joined #Code |
23:14 | | mode/#code [+o Mahal] by ChanServ |
--- Log closed Mon Apr 23 00:00:35 2007 |