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: 1822.38 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-04
[05:03]<jusvygc>if you don't make it virtual, then C.F() is called. otherwise D.F() is called if it is virtual
[05:03]<sxyg-rr>oh ok :p
[05:04]<sxyg-rr>ty
[05:05]<sxyg-rr>im trying to convert this os php script to asp.net :)
[05:06]<vjnv0z>blah
[05:07]<sxyg-rr>i see why php is so confusing :(
[05:07]<sxyg-rr>and why it sucks
[05:07]<jusvygc>it sucks because it's output-based rather than render-based
[05:07]<sxyg-rr>php needs namespaces
[05:07]<vjnv0z>i know some people that would stab you for saying that
[05:07]<jusvygc>all you do is print strings to stdout
[05:07]<vjnv0z>hehe
[05:07]<gzup>i though ms made a php to asp.net converter
[05:07]<sxyg-rr>yeah thats what im using
[05:07]<jusvygc>php is a language for quick prototyping it seems
[05:08]<sxyg-rr>if php had string int etc and namespacing it be find
[05:08]<sxyg-rr>fine*
[05:08]<jusvygc>namespaiing?
[05:08]<jusvygc>why would you need that
[05:08]<sxyg-rr>orangize
[05:08]<jusvygc>aren't there classes?
[05:08]<sxyg-rr>sp?
[05:08]<vjnv0z>$var = <anything>
[05:08]<jusvygc>classes should be pretty much the same thing
[05:08]<vjnv0z>hehe
[05:08]<sxyg-rr>yeah
[05:08]<sxyg-rr>$var = object
[05:08]<sxyg-rr>var*
[05:09]<sxyg-rr>namespaces make things neater
[05:09]<vjnv0z>nothing wrong with PHP. it does its job
[05:09]<vjnv0z>just like asp or jsp
[05:09]<wxrvs_yg_r_grdn>http://www.nomorepasting.com/paste.php?pasteID=68105
[05:09]<wxrvs_yg_r_grdn>need help here
[05:09]<vjnv0z>whats_in_a_name: whats PW?
[05:09]<sxyg-rr>toNt0r, thats why i choosed asp.net much better :D
[05:11]<wxrvs_yg_r_grdn>PW is a winform
[05:11]<kjr>Shin-Ra: it has typing...
[05:11]<kjr>and namespaces are really not the metric of a good language
[05:11]<jusvygc>why not?
[05:12]<jusvygc>only if your metric is a tensor are namespaces not a good one
[05:12]<jusvygc>you need to make sure your metric is invertible otherwise you'll get a non-riemann manifold
[05:12]<vjnv0z>riemann summmm
[05:12]<kjr>if the solo qualification for a good language is it has namespaces, then your qualification is bogus
[05:12]<jusvygc> ( http://en.wikipedia.org/wiki/Metric_%28mathematics%29 )
[05:12]<jusvygc>why is it bogus?
[05:12]<vjnv0z>whats_in_a_name: whats the error you are getting?
[05:13]<kjr>because namespacing does not a great language make
[05:13]<kjr>think about it
[05:13]<kjr>JustinC: and that's the wrong type of metric...
[05:13]<jusvygc>well that's the kind of metric you use to prove the poincare conjecture :P
[05:13]<wxrvs_yg_r_grdn>t0nt0r, im not getting an error.. but
[05:13]<wxrvs_yg_r_grdn>when i do .Show(), the form is not staying
[05:14]<vjnv0z>it just doesnt show?
[05:14]<wxrvs_yg_r_grdn>it just instantly exits
[05:14]<wxrvs_yg_r_grdn>or never shows
[05:14]<wxrvs_yg_r_grdn>i cant tell which
[05:14]<vjnv0z>umm
[05:14]<vjnv0z>hmm
[05:14]<vjnv0z>are you in a windows applications or a console applicaiton?
[05:14]<wxrvs_yg_r_grdn>a windows app
[05:14]<wxrvs_yg_r_grdn>the main form (parent) shows just fine
[05:14]<kjr>(downtown... to walk)
[05:15]<vjnv0z>have you tried using f11 to walk through it all to check if its null?
[05:15]<wxrvs_yg_r_grdn>is whats null, PW? or the parent?
[05:15]<vjnv0z>pw
[05:15]<wxrvs_yg_r_grdn>it cant be null.. before i do .show, i new it
[05:16]<wxrvs_yg_r_grdn>new PW()
[05:16]<wxrvs_yg_r_grdn>and, im not getting a null pointer exception or whatever that would be
[05:16]<wxrvs_yg_r_grdn>when i try and call .show() on a null pt
[05:16]<wxrvs_yg_r_grdn>ptr
[05:17]<vjnv0z>hummmm
[05:18]<vjnv0z>i would suggest debugging it with f11 and find out what its doing when it hits the .show()
[05:19]<vjnv0z>or
[05:19]<vjnv0z>make antoher form really quick to see if maybe you accidently set something wrong
[05:20]<wxrvs_yg_r_grdn>i stepped thru it, it just blows right past .show()
[05:20]<wxrvs_yg_r_grdn>my form never comes up though
[05:20]<vjnv0z>hmm
[05:20]<wxrvs_yg_r_grdn>it just seems to instatly return
[05:20]<vjnv0z>it just steps over it/
[05:20]<vjnv0z>?
[05:20]<wxrvs_yg_r_grdn>well it hits it..
[05:20]<vjnv0z>and nothing?
[05:20]<wxrvs_yg_r_grdn>nothing.
[05:20]<wxrvs_yg_r_grdn>it does not display
[05:20]<vjnv0z>does it go to PW form_load?
[05:21]<vjnv0z>and im assuming when you create it, it goes to the correct constructor
[05:21]<wxrvs_yg_r_grdn>form_load?
[05:21]<wxrvs_yg_r_grdn>whats that
[05:21]<vjnv0z>it should be called PW_load
[05:22]<wxrvs_yg_r_grdn>i need a function with tht name?
[05:22]<vjnv0z>i thought it created it automatically
[05:22]<vjnv0z>:-/
[05:22]<vjnv0z>nope im wrong
[05:22]<vjnv0z>ignore that
[05:22]<vjnv0z>hehe
[05:23]<vjnv0z>ahh
[05:23]<vjnv0z>is InitializeComponent() being called in the PW constructor?
[05:24]<wxrvs_yg_r_grdn>yes
[05:24]<vjnv0z>damn
[05:24]<wxrvs_yg_r_grdn>if i say .Showdialog and dont mess with the mdi stuff, it works fin







