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.63 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-05
[15:44]<nfna>damien could post me a nice sample.. ?
[15:44]<dzdyzzz-wjzc>Remi, I had mIRC circa 97
[15:45]<dzdyzzz-wjzc>stil use it at home... but at work... this is sneakier ;-)
[15:45]<mjzymygo>wilco: cya
[15:45]<fyfuym-syfggag>damieng-work: I use irssi
[15:45]<fyfuym-syfggag>for windows
[15:45]<fyfuym-syfggag>Moridin8: check that link
[15:45]<fyfuym-syfggag>:P
[15:45]<fyfuym-syfggag>its funny
[15:45]<fyfuym-syfggag>I saw it along time ago
[15:45]<dzdyzzz-wjzc>post you a sample of what?
[15:46]<nfna>a faaast asp page with alot of users
[15:46]<fyfuym-syfggag>elec: dude
[15:46]<mjzymygo>Elec... ASP or ASP.NET?????
[15:46]<fyfuym-syfggag>./ignore
[15:47]<mrfjrrg>I have a question for the experts. Assume I have a class that offers an event. How would my class know if somebody added themsevles or removed themsevles as an event requestor?
[15:47]<nfna>asp net if you did it in that
[15:47]<zndy_wjfnz>damieng-work: you can have a boss key on mIRC. You can even change the title text
[15:47]<mrfjrrg>I have a case where I would like to turn on or turn off TCP/IP packet transmissions depending on whether or not anyone subscribes to certain events
[15:47]<dzdyzzz-wjzc>http://www.microsoft.com/ http://www.dabs.com/ http://www.monster.com
[15:47]<mjzymygo>Elec... your trying to compare PHP to ASP.NET????
[15:47]<dzdyzzz-wjzc>all of which are asp or asp.net powered and get more hits than you'll ever see.
[15:48]<fyfuym-syfggag>Moridin8: lawl
[15:48]<fyfuym-syfggag>j00 have tits
[15:48]<dzdyzzz-wjzc>http://www.lloydstsb.com/ http://www.blahdvd.com/blah/Home.aspx
[15:49]<mjzymygo>Elec: did you know that there is a PHP cmpiler out there that compiles PHP to work 2.5 times faster than normal... and that isn't yet fully optimised?
[15:49]<mjzymygo>and it's in .NET
[15:49]<lcs>php compiler in .net?
[15:49]<zndy_wjfnz>Moridin8: Phalanger?
[15:49]<mjzymygo>Remi: to name one
[15:50]<zndy_wjfnz>i used that one. It kinda rocks in it's own way. Never used it for webserving though
[15:50]<nfna>yes bu the problem was the db fetch and not the php filopen.. if you grab a static copy
[15:50]<mjzymygo>Remi: I had a client that did. They used it as a way to transit to .NET
[15:50]<zndy_wjfnz>but it's fun to get your previously written php classes to work in a .net app
[15:50]<wyfaj`>hm, not had to go yet.
[15:50]<dzdyzzz-wjzc>http://www.promoteware.com/Module/Article/ArticleView.aspx?id=10
[15:50]<mrfjrrg>Surely somebody knows the answer to my question..anyone? :)
[15:50]<mjzymygo>Elec: your talking out your anus.
[15:51]<wyfaj`>djlogan: you pretty much want to check if an event has eventhandlers ?
[15:51]<wyfaj`>is that your question?
[15:51]<mjzymygo>there is no way PHP (interpreted) can outperform .NET (JIT'd to machine-code)...
[15:51]<dzdyzzz-wjzc>http://www.pzycoman.myby.co.uk/lspeed.html
[15:51]<dzdyzzz-wjzc>ASP.NET did 800 million loops in half the time it took PHP to do 8
[15:51]<zndy_wjfnz>agree. But there are way's to get PHP to binary code as well (like Zend Encoder)
[15:52]<wyfaj`>Phalanger, IronPython... both outperform the original in general, from what ive heard/seen
[15:52]<wyfaj`>Remi_Woler: costs though
[15:52]<wyfaj`>doesnt it?
[15:52]<dzdyzzz-wjzc>elec, proof that if you start with a decent development system you don't need to waste time and effort fucking round with entire page caching.
[15:52]<zndy_wjfnz>wilco`: only to encode. Not to use
[15:52]<wyfaj`>ok
[15:53]<wyfaj`><elec> asp net if you did it in that
[15:54]<wyfaj`>that sounds like you dont quite know the difference between asp/asp.net.... correct me if I'm wrong
[15:54]<mjzymygo>wilco: I suspected that about an hour ago... ;)
[15:54]<sfuym0>is there a system method to construct an absolute url from a relative one?
[15:54]<sfuym0>*url = pathname
[15:54]<mjzymygo>Elec: http://www.php-compiler.net/
[15:54]<fyfuym-syfggag>squid0: sup
[15:54]<sfuym0>hi
[15:55]<wyfaj`>squid0: lookup VirtualPathUtility
[15:55]<mrfjrrg>wilco`: I need to know as soon as somebody does instance.SomeEvent += new EventDelgate(MyEvent) ...
[15:55]<fyfuym-syfggag>man php sucks by default
[15:55]<fyfuym-syfggag>I wil keep quiet now
[15:55]<mrfjrrg>wilco`: and when they do a -= as well
[15:55]<sfuym0>wilco`: thanks
[15:55]<dzdyzzz-wjzc>php sucks full stop.
[15:55]<wyfaj`>djlogan: explicitly implement the add/remove of the event
[15:55]<zndy_wjfnz>damieng-work: that page is not really reliable. The php code has way more overhead then the asp page
[15:55]<wyfaj`>ie:
[15:55]<mjzymygo>Damieng: compared to .NET and JSP? I'd have to heavily agree
[15:56]<fyfuym-syfggag>Moridin8: I am not a lover of jsp
[15:56]<dzdyzzz-wjzc>no, it sucks in general.
[15:56]<dzdyzzz-wjzc>you can't transfer your language skills to something to code games, mobile apps or desktop apps with.
[15:56]<wyfaj`>public event MyEventHandler MyEvent { add { [do your thing] [add eventhandler] } remove { same thing as add } }
[15:56]<dzdyzzz-wjzc>the naming of functions and routines is a total mismatch.
[15:56]<mjzymygo>Remi: It is reliable... want me to get you the Machine Code for the ASP.NET example?
[15:56]<nfna>yes sure php sucks.. i did only think about to make typo3 in asp.net
[15:57]<mrfjrrg>wilco`: Cool, thanks!
[15:57]<zndy_wjfnz>Moridin8: no, that's not what I mean. I mean that the php code does way more then the asp one
[15:57]<wyfaj`>djlogan: might want to use System.ComponentModel.EventHandlerList with that
[15:57]<mjzymygo>Remi: how so? it's functionally equivalent
[15:57]<mrfjrrg>ok
[15:57]<mrfjrrg>I'll look into it
[15:57]<fyfuym-syfggag>Remi_Woler: php does a hell of alot more then asp
[15:57]<wyfaj`>djlogan: if your type doesn't have an internal Events object or something
[15:57]<fyfuym-syfggag>but but vbscript is a bettter lanauge then php
[15:58]<dzdyzzz-wjzc>elec, and we're telling you that asp.net is so much faster don't waste your time with caching entire pages.
[15:58]<wyfaj`>djlogan: otherwise just specify a private static readonly MyEventKey object (of the type object) and use that as the key of the eventhandlerlist
[15:58]<mjzymygo>Liquid: I'd disagree with that
[15:58]<wyfaj`>for your specific event
[15:58]<dzdyzzz-wjzc>you may want to cache fragments that are slow using the caching stuff, but it's all there. don't be concerned with if it ends up on disk or in memory.
[15:58]<fyfuym-syfggag>Moridin8: syntax of vbscript is nicer then php
[15:59]<wyfaj`>premature optimization often prevents more important things than you're trying to solve
[15:59]<dzdyzzz-wjzc>syntax of morse-encoded lisp is nicer than php ;-)
[15:59]<fyfuym-syfggag>lawl
[15:59]<nfna>yes maybe i should trust the asp way
[15:59]<dzdyzzz-wjzc>.. -. .-- ---. --.-. .-. --.-
[15:59]<fyfuym-syfggag>perl syntax is the worse tho
[15:59]<mjzymygo>Elec: .NET way!
[15:59]<nfna>i did lisp in 99 it was nice.. lol
[15:59]<dzdyzzz-wjzc>Last weird language I touched was SmallTalk.







