IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.50 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-12
[00:00]<pz2>nothing
[00:00]<pz2>you just have to be registered, then ask a staff member
[00:00]<maxgg_>idunno85850: as much as you feel like
[00:00]<maxgg_>it's all you
[00:00]<maxgg_>sounds like freenode needs a lot of help though
[00:00]<maxgg_>is freenode in the red?
[00:00]<pz2>that will get you an unaffiliated/user cloak like I have
[00:01]<pz2>if you donate, you get a pdpc/contributer cloak or something
[00:01]<maxgg_>how are traffic routed in a irc network?
[00:01]<maxgg_>is it centralized?
[00:01]<kjr>frb: you need to be linked first
[00:01]<kjr>dchen_: freenode has been having some serious issues of late...
[00:01]<pz2>I don't know, I never donated
[00:01]<kjr>they're doing some audits of the security - stuff they should have done the FIRST time information was compromised
[00:01]<pz2>I only wanted a cloak for bot hostmask simplicity anyway
[00:02]<kjr>dchen_: 1459 specifies that networks are trees
[00:02]<kjr>dchen_: it's got a central services set sitting off on the side
[00:02]<kjr>be nice if there was a backup instance, but I don't think they have one
[00:04]<maxgg_>trees
[00:06]<ymuggjotot0>maybe i'll donate $5
[00:07]<kjr>why?
[00:08]<kjr>I wouldn't donate until accountability exists
[00:08]<sxdzz>Ok... linked a nick.... so whos a staffer then?
[00:08]<kjr>the only way to get the people who run the network to realize that there need to be some tad bits of reform is not to give them $$
[00:08]<kjr>shmar: /stats p
[00:08]<kjr>stats p yields: * p :nalioth (i=nalioth@freenode/staff/ubuntu.member.nalioth)
[00:08]<kjr>nalioth is fast about cloaks too... message him and ask him for a user cloak
[00:09]<sxdzz>ta
[00:09]<kjr>I only offer ##csharp cloaks to people I've seen around quite a bit
[00:09]<kjr>otherwise I'd offer one
[00:09]<sxdzz>np...
[00:09]<sxdzz>maybe one day I'll earn it...
[00:09]<sxdzz>btw: are there nunit users in the room?
[00:10]<kjr>I seem to recall some
[00:11]<sxdzz>Well... I'm an Nunit-dev.... I'm thinking of registering the ##nunit chan, and am wondering if there's customers for it...
[00:14]<nm-q0n>got a flame going on here
[00:14]<nm-q0n>can csc compile to pure native code?
[00:14]<nm-q0n>'cause gmcs can
[00:14]<sxdzz>ed: no... you need to csc, and then ngen...
[00:15]<nm-q0n>ngen compiles to pure native code, no CLR required?
[00:15]<sxdzz>no... I don
[00:15]<fjzyafzm>neither csc nor gmcs can compile to native code
[00:16]<nm-q0n>they intend to provide for that in the near future
[00:16]<nm-q0n>wrong, logiclrd
[00:16]<sxdzz>'t think so... If i remember correctly,
[00:16]<fjzyafzm>ngen can store the JITted forms of methods into the assembly, but the framework is still required
[00:16]<nm-q0n>yes logiclrd
[00:16]<sxdzz>ngen-ed assemblies still require CLR...
[00:16]<fjzyafzm>mono comes with a tool called mkbundle which includes all referenced assemblies into a single file package
[00:16]<nm-q0n>gmcs -aot source.cs <-- compiles to pure native
[00:17]<fjzyafzm>you end up with an extremely large file which is self-hosting, but only on the platform it was generated on of course
[00:17]<sxdzz>logiclrd: that's just an embedded framework though...
[00:19]<fjzyafzm>shmar: of course, but it's packaged into a single file, so it can be distributed without requiring people to separately install the framework
[00:19]<fjzyafzm>shmar: that's the only way to have a stand-alone binary starting with .NET code
[00:19]<sxdzz>logiclrd: true....
[00:20]<zgzzcygnv>those embedded solutions are worthless
[00:20]<zgzzcygnv>makes things like updates/patches a total PITA
[00:20]<fjzyafzm>ed-209: I can't find any documentation to back me up, but I'm certain you're wrong. if gmcs takes an "ahead of time" option like you describe, all it does is ngen the code before producing the assembly. the assembly is still a .NET assembly and not a native binary
[00:21]<nm-q0n>k
[00:23]<fjzyafzm>ed-209: I've dug deeper and found what you were talking about. the "mono" binary (the VM) takes a -aot parameter which causes it to JIT all methods in the assembly and store the JITted result in a special file called AssemblyName.exe.so alongside the assembly. the next time you run 'mono' (without -aot), it picks up the .so file and uses the JITted output instead of re-JITting the code
[00:23]<fjzyafzm>ed-209: the reason you don't get an error when you pass that parameter to gmcs is that gmcs is actually a shell script which runs "mono gmcs.exe"
[00:24]<fjzyafzm>ed-209: in effect, you're telling the runtime to AOT-compile GMCS itself, the compiler; the option has no effect on the output of the compile process
[00:27]<nm-q0n>I see
[00:27]<lnvnzxu>actually, it should error because it passes the arguments to gmcs
[00:27]<lnvnzxu>mine does
[00:35]<ajsnlx>Hey guys, what's wrong with this line. this.DataGridView1.SelectedRows.Item(2).SetValues("installed")
[00:36]<ajsnlx>The error I get is Index out of range, but I'm not sure why. I have five columns, I'm just using two as an arbitrary number to see it work... The column I actually want the value in is 4, though I got the same error when I used that number
[00:37]<zgzzcygnv>SelectedRows
[00:37]<zgzzcygnv>are you selecting multiple rows?
[00:37]<zgzzcygnv>(3 or more)
[00:38]<zgzzcygnv>arrays and such in code are generally zero-indexed
[00:39]<ajsnlx>no, lol. Just saw that. I'm only selecting 1 row, and I want to set column 4's value to installed
[00:40]<2jzfrgm>hey, can I ask about ASP.NET in here? I can't find a channel about it
[00:42]<ajsnlx>so what's a good way to set a value of a column for a selected row?
[00:45]<cxrfnm>borland, go ahead
[00:46]<2jzfrgm>At what point during the ASP.NET page lifecyle does the framework bind postback values to the actual controls
[00:47]<2jzfrgm>ie: At what point does Request.Form["ctl00_MyTextBox_etc"] get put into this.MyTextBox.Text
[00:48]<cxrfnm>1) Page Preinit
[00:48]<cxrfnm>2) Page Init
[00:48]<cxrfnm>3) end of page init
[00:48]<cxrfnm>4) load ctrl & view state
[00:48]<2jzfrgm>it hasn't happened in OnInit yet, but it has happened at OnLoad, so somewhere in betwen there
[00:48]<cxrfnm>5) load post back data
[00:48]<cxrfnm>so there
[00:48]<2jzfrgm>I have a collection of sub controls inside a repeater - I have to bind the repeater before this happens, otherwise the controls don't exist and the framework doesn't transfer the postback values, however, I want to read something out of the viewstate _before_ I bind the repeater
[00:48]<2jzfrgm>is this even possible?
[00:49]<2jzfrgm>ok
[00:49]<ajsnlx>okay, I answered my own question, but I still have a dumb one. How do I auto select the next row in a datagridview?
[00:49]<2jzfrgm>so which functions/events can I override in order to read something from viewstate and call databind before postback data is loaded
[00:49]<2jzfrgm>?
[00:51]<cxrfnm>hmm ..let me try to find the function information
[00:51]<cxrfnm>so you want something between loading view state and loading of postback ?
[00:52]<cxrfnm>borland, http://msdn2.microsoft.com/en-us/library/ms178472.aspx
[00:53]<2jzfrgm>khaled: yes
[00:53]<2jzfrgm>Thanks a lot btw for your help
[00:54]<cxrfnm>no problem
[00:55]<ajsnlx>you'd think they'd have a datagridview1.selectnextrow function or something...
[00:56]<2jzfrgm>hrm
[00:56]<2jzfrgm>"PreLoad: After the Page raises this event, it loads view state for itself and all controls, and then processes any postback data included with the Request instance."







