code logs -> 2010 -> Sun, 07 Mar 2010< code.20100306.log - code.20100308.log >
--- Log opened Sun Mar 07 00:00:20 2010
00:22 You're now known as TheWatcher[T-2]
00:23 You're now known as TheWatcher[zZzZ]
00:31 Orthia [orthianz@Nightstar-eea9d69e.xnet.co.nz] has joined #code
00:46 Derakon[AFK] is now known as Derakon
01:10
< Bobsentme>
For the record: I hate JSP. But not as much as an entire application written around it.
01:15
< Serah>
I think JSP hates you back (Probably).
01:40 AbuDhabi [annodomini@Nightstar-8d39e7d8.adsl.tpnet.pl] has quit [[NS] Quit: Way past my bed time.]
01:52 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
02:37 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?+]
02:41 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
04:27 Vivitas|Here [Vivitas@Nightstar-16a6823c.dh.suddenlink.net] has joined #code
04:28 Vivitas|Here is now known as Vivitas
04:28 Vivitas [Vivitas@Nightstar-16a6823c.dh.suddenlink.net] has left #code []
04:43 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
04:54
<@Derakon>
Someone remind me, what's the proper way to redirect stderr to stdout on the commandline?
04:54
<@Derakon>
I'm trying to read make's error output and it's making it rather difficult for me.
04:54
<@Derakon>
My standard trick of doing "2>&1 | less" is failing.
04:55
<@ToxicFrog>
Should work fine, that's correct.
04:55
<@Derakon>
Hrmph.
04:57
<@Derakon>
Oh, wait, it's working when piped to less, but not when redirected to a file. Weird.
04:57
<@ToxicFrog>
Order matters.
04:57
<@ToxicFrog>
>foo 2>&1 is not the same as 2>&1 >foo
05:00
<@Derakon>
Oh, right.
05:00
<@Derakon>
I keep expecting these to work like references.
05:00
<@Derakon>
Doesn't explain why | is able to catch it properly when > doesn't though.
05:02
<@ToxicFrog>
Because | is handled differently.
05:04
<@Derakon>
Bah. IMO it should be a file handle like any other.
05:04
<@Derakon>
I'm sure there's technical reasons why this doesn't work out, probably dealing with buffering or something.
05:07
<@ToxicFrog>
...I'm not sure what your objection is
05:08
<@Derakon>
I'm just grumbling.
05:08
<@ToxicFrog>
Or rather, I'm not sure what behaviour you would consider more reasonable
05:09
<@ToxicFrog>
| overrides >, the same way > > does?
05:09
<@Derakon>
I had not considered trying to use the two together.
05:09
<@ToxicFrog>
In that case I'm completely lost
05:10
<@Derakon>
I'm surprised that while "make 2>&1 | less" works, "make 2>&1 > /tmp/t.txt" doesn't.
05:10
<@ToxicFrog>
make 2>&1 >/tmp/t.txt works just fine.
05:10
<@ToxicFrog>
It just doesn't do what you think it does.
05:10
<@Derakon>
...
05:10
<@Derakon>
By that definition, all computers everywhere are working just fine.
05:10
<@ToxicFrog>
You probably want make >/tmp/t.txt 2>&1
05:11
<@Derakon>
TF: I'm implicitly reading "|less" as "> console window".
05:11
<@ToxicFrog>
I mean it is working as designed and as documented, and the fact that it doesn't do what you wanted it to is a consequence of you using the redirection operators incorrectly.
05:11
<@Derakon>
Hence why, when you got confused, I stated I was just grumbling.
05:11
<@Derakon>
I don't pretend to have a leg to stand on here.
05:13 * Derakon goes back to trying to remember how to tell gcc where the SDL libraries are in OSX.
05:15
<@Derakon>
Ahh, there we go. /usr/local/include/SDL instead of /usr/include/SDL.
05:15
<@Derakon>
I guess that's my own install of the SDL libs.
05:15
<@Derakon>
Holyshit fullscreen Angband.
06:03 Vornicus is now known as Vornicus-Latens
06:46 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
07:17 Derakon is now known as Derakon[AFK]
07:47 Kaura [kaura@Nightstar-118230d2.snfc21.sbcglobal.net] has joined #code
07:47
< Kaura>
Ahem. Was wonderin' if folks in here happened to know their way around xilinx? Got a friend struggling through it, thought I'd help him test the waters a bit.
07:48
< Kaura>
Specifically EDK/Platform studio in relation to flash memory.
09:04 You're now known as TheWatcher
09:14 AnnoDomini [annodomini@Nightstar-8d39e7d8.adsl.tpnet.pl] has joined #code
09:14 mode/#code [+o AnnoDomini] by Reiver
10:55
<@AnnoDomini>
I never thought about this before, but just now I've read a description of the Save button in VS in a tutorial, and it struck me that I never made the connection between the graphic and the object it takes the appearance from.
10:56
< Namegduf>
It's a floppy disk there, too, right?
10:56
<@AnnoDomini>
Yes. I wonder if the generation that won't get to see/use floppies at all will, if they are presented with the picture, make a mental association directly to the process of saving data to disk, rather than the physical storage medium.
10:57 Kaura [kaura@Nightstar-118230d2.snfc21.sbcglobal.net] has quit [[NS] Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...]
10:58
< Namegduf>
Hmm, maybe.
11:50 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
12:24 Tarinaky [Tarinaky@Nightstar-1a2efb86.adsl.virginmedia.net] has joined #code
12:28
<@AnnoDomini>
Damn it. I'm trying to follow a tutorial to make a LINQ to SQL using website in .NET, using C#. How do I make the webpage's code see the class library with the data layer classes?
12:28
<@AnnoDomini>
The compiler complains of lack of using statements or assembly references.
12:43 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
12:54
<@AnnoDomini>
Nevermind. I found the answer.
13:23
<@AnnoDomini>
LINQ seems much simpler than Java's objective database stuff, especially Hibernate.
13:23
<@AnnoDomini>
You push da stick and it goes.
13:33
< Bobsentme>
Anything is easier than Java's Database crap. *bit jaded over here, sorry*
13:34
< Bobsentme>
speaking of Java...question: window.location.reload() or self.location.reload()...can I put parameters (say, a variable in those parenthesis)?
13:35
< Bobsentme>
I'm trying to sort the results of a page, which is easiest done by reloading the page with an Order By in the SQL query, rather than sending everything to a sort function.
13:35
< Bobsentme>
But, of course, this app sucks so...yeah.
13:58 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
14:27 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
14:54 Vornicus-Latens is now known as Vornicus
15:10 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
15:54
< Bobsentme>
Ok, stupid question:
15:54
< Bobsentme>
nevermind.
16:18 * Bobsentme sighs
16:19
< Bobsentme>
Ok, trying to get a multiple onclick event to work. It's supposed to hide multiple divs on a page. Problem is, it only does the first function the onclick event calls.
16:19
< Bobsentme>
My google-fu is failing me.
16:19
< Bobsentme>
<input type=button value='Titles Only' onclick="hide_elements('<%=strAbsHide%>'); hide_elements('<%=strAuthHide%>'); hide_elements('<%=strPubHide%>'); hide_elements('<%=strYearHide%>');";>
16:19
< Bobsentme>
There's the code.
16:21
< Bobsentme>
I've tried to write a container function but failed at that miserable.
16:21
< Bobsentme>
miserably*
16:23 * Bobsentme smacks forhead.
16:23
<@AnnoDomini>
+e
16:23
< Bobsentme>
NEvermind, rearranged things so the hide elements are all inside one div.
16:25
<@AnnoDomini>
*e
16:30
< Bobsentme>
sorry. baby distracting me.
17:05
< celticminstrel>
...it took me this long to realize I had a + where I needed a * ?
17:05
< celticminstrel>
Bobsentme: What does hide_elements return?
17:06
< celticminstrel>
Oh wait.
17:06
< celticminstrel>
You solved it.
17:06
< celticminstrel>
Nevermind.
17:06 * Bobsentme nods
17:06
< Bobsentme>
I was over thinking it. Again.
18:11
< Bobsentme>
grrr
18:24 Zed_ [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Connection reset by peer]
18:24 Zed_ [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code
18:27
< Bobsentme>
My javascript function to hide elements and show elements fails.
18:27
< Bobsentme>
it's driving me nuts.
18:28
< Bobsentme>
Function (Records,Buttons) {hide_elements(Records);show_elements(Buttons);}
18:33
<@ToxicFrog>
How is it called?
18:39
< Bobsentme>
sorry, that function name is Titles_Only
18:40 * jerith read Titties_Only.
18:40
< Bobsentme>
onclick="Titles_Only('<%=strAllHide%>,<%=strShowRecord%>');"
18:40
<@ToxicFrog>
Doesn't that pass it the string '<%=strAllHide%>,<%=strShowRecord%>'?
18:40
< Bobsentme>
if I remove one of the parameters and one of the show_elements or hide_elements, the thing runs fine. But for some reason, the second call never works.
18:41
< Bobsentme>
maybe?
18:41
<@ToxicFrog>
What happens if you pass it '<%=strAllHide%>','<%=strShowRecord%>'
18:42
< Bobsentme>
I get javascript error "object required"
18:42
<@ToxicFrog>
Possibly I'm just confused, then
18:43
<@ToxicFrog>
What does the debugger say it's getting passed when you call it as you were before?
18:44
< Bobsentme>
no debugger.
18:45
<@ToxicFrog>
??? What browser are you testing this in?
18:45
< Bobsentme>
ie, unfortunately.
18:45
<@ToxicFrog>
Oh :/
18:45
< Bobsentme>
It's part of web app from hell that I've been tasked to code for.
18:50 Zed__ [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code
18:53 Zed_ [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
18:59
< Bobsentme>
damn. Yes, alert(Records); does show that both strings are being processed as Records
19:07
< Bobsentme>
Not a single thing I do seems to break the above into 2 parameters. I've tried spaces, re-arranging the single quotes, and even using double quotes.
19:10 * Bobsentme sighs.
19:11
< Bobsentme>
nevermind, got them seperated.
19:12
<@ToxicFrog>
How?
19:13
< Bobsentme>
'<%=strAllHide%>', '<%=strShowRecord%>'
19:13
< Bobsentme>
What you had worked, but needed a space in the middle. Which I thought I had done...but hadn't.
19:13
<@ToxicFrog>
....I thought Javascript wasn't whitespace sensitive.
19:13 * Bobsentme shrugs
19:27
< celticminstrel>
Maybe it's just IE fail.
19:28 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
19:33
< Bobsentme>
maybe
19:44
< gnolam>
http://www.uberent.com/blog/2009/11/hud-design/
19:48 Derakon[AFK] is now known as Derakon
20:04
< Bobsentme>
excellent choice for inspiration.
20:06 * Derakon snickers at the meter meter.
20:09
< Bobsentme>
hehe
21:58 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
22:39 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
23:40 Tarinaky [Tarinaky@Nightstar-1a2efb86.adsl.virginmedia.net] has quit [Connection closed]
23:53 AbuDhabi [annodomini@Nightstar-61c2abde.adsl.tpnet.pl] has joined #code
23:56 AnnoDomini [annodomini@Nightstar-8d39e7d8.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Mar 08 00:00:21 2010
code logs -> 2010 -> Sun, 07 Mar 2010< code.20100306.log - code.20100308.log >