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
[16:00]<nfna>yes but perl has the nicest up2date modules..
[16:00]<fyfuym-syfggag>damieng-work: brainfuck?
[16:00]<wyfaj`>did you appreciate it though damieng-work?
[16:00]<mjzymygo>Damieng: you ever looked at a language called BrainFuck? look it up!
[16:00]<zndy_wjfnz>Moridin8: Why doesn't the ASP page calculate the time used? While the php page has to? Why is their an unnecesary function in the php code, and not in the asp code? To name a few
[16:00]<fyfuym-syfggag>Moridin8: great minds think alike
[16:00]<wyfaj`>brainfuck looks like a fun language....
[16:00]<mjzymygo>Elec: your still talking out your ass
[16:00]<wyfaj`>damieng-work: you should implement a codedom provider for a brainfuck.net compiler
[16:00]<wyfaj`>i'd love to build an app with the winforms designer and see what it generates
[16:01]<fyfuym-syfggag>yeah wilco` it will fuck with your mind
[16:01]<mjzymygo>Wilco: I was tempted once... but practicality got in the way
[16:01]<wyfaj`>;)
[16:02]<mjzymygo>Wilco: like life in general
[16:03]<zndy_wjfnz>Moridin8: I have coded php for webservices for the past 8 years, and still do. I am not going to argue which one is faster or something like that. But if you are going to compare them, at least do it fair. Tbh: I really don't care which one is faster. On most pages it doesn't even differs .1s
[16:03]<wyfaj`>.1s!
[16:03]<wyfaj`>:O)
[16:04]<fyfuym-syfggag>1ms?
[16:04]<dnscr>flaming again
[16:04]<afd>Liquid-Silence: !!!!!!
[16:04]<dnscr>100 ms
[16:04]<fyfuym-syfggag>AqD: !!!!
[16:04]<wyfaj`>.1s = 100ms
[16:04]<afd>hi meska!
[16:04]<fyfuym-syfggag>yar
[16:04]<wyfaj`>that's a lot
[16:04]<afd>hi wilco`!
[16:04]<fyfuym-syfggag>I saw
[16:04]<fyfuym-syfggag>lol
[16:04]<dnscr>hi AqD
[16:04]<zndy_wjfnz>Moridin8: For me, PHP is faster. As I would first need to learn ASP.NET :p
[16:04]<dzdyzzz-wjzc>10[13:56] Remi_Woler: 01Moridin8: no, that's not what I mean. I mean that the php code does way more then the asp one
[16:04]<dnscr>php is crap. really. forget it.
[16:04]<afd>agreed
[16:04]<dzdyzzz-wjzc> If "hello" Is "world" Then
[16:04]<dzdyzzz-wjzc>End If
[16:05]<dzdyzzz-wjzc> if ("hello" == "world") { }
[16:05]<dzdyzzz-wjzc>those are the only lines in that performance page's loop... so what exactly extra do you think the php one is doing?
[16:05]<dnscr>The thing i like with php5 the most
[16:05]<zndy_wjfnz>damieng-work: check pm. I'll paste one of the later comments of me
[16:05]<dnscr>is if you try to access a class variable from a functions, and that variable doesn;t exist, it will be created for you !
[16:06]<dzdyzzz-wjzc>what difference does it make? It's outside the loop
[16:06]<dnscr>ah how nice, when you must implement in every class the get && set
[16:06]<zndy_wjfnz>As I said, I am not going to argue. Really not. But if you compare, do it fair
[16:06]<sfuym0>wilco`: ok, i'd like to use VirtualPathUtility, but vb.net says it's not part of System.Web (yes :( i'm having to code in vb.net). any idea why that is?
[16:06]<afd>meska: and you can never get refactorying in php!
[16:06]<dzdyzzz-wjzc>unless you think the line $time = $time_end - $time_start; accounts for 4 seconds
[16:06]<mjzymygo>Remi: it is fair. its the calculation in the loop that counts
[16:06]<dzdyzzz-wjzc>in which case php has even wrose problems.
[16:06]<afd>meska: no IDE can trace all the damned variable names
[16:06]<wyfaj`>squid0: ASP.NET 2.0 ?
[16:06]<zndy_wjfnz>Moridin8: No, read the code. There is more
[16:06]<dnscr>that is not the poing
[16:07]<wyfaj`>its new in ASP.NET 2.0
[16:07]<sfuym0>wilco`: yes.
[16:07]<dnscr>AqD what ide are you using for php?
[16:07]<mjzymygo>Remi: not in the loop. loop is performance area being measured
[16:07]<wyfaj`>http://msdn2.microsoft.com/en-us/system.web.virtualpathutility.aspx
[16:07]<sfuym0>in the object browser in VS2005 i can browse it...
[16:07]<afd>meska: i tried zend and disappinted
[16:07]<zndy_wjfnz>Moridin8: No, the whole page is measured. Read the code
[16:07]<wyfaj`>squid0: add a reference to System.Web then
[16:07]<mjzymygo>Remi: I am
[16:08]<dnscr>well zend is the best so far, still it does not catch a lot of mistakes:/
[16:08]<sfuym0>wilco`: hm :) that would do it
[16:08]<dnscr>just simple typos
[16:08]<afd>meska: it's a joke compared to the x-develop which i use for c#
[16:08]<zndy_wjfnz>in both code samples, the code starts with calling the start time. There starts the measurement. That includes all the calculations in the function
[16:08]<afd>meska: every java/.net ide has refactyorying but none of php ides do
[16:09]<afd>and it just cant indent my code right...
[16:09]<mjzymygo>Remi: If you look at .NET the functions it is calling are themselves coded using C#, they are just part of an external library.
[16:09]<dnscr>php sux for bigger apps
[16:09]<afd>meska: it sux for small apps too
[16:10]<mjzymygo>Remi: the .NET version is doing just as much functional work
[16:10]<afd>meska: it will save more than 2x of code to use asp.net with my framework than php for a small site i'm working on
[16:10]<dnscr>well why .. no, for simple pages, it's quite good, cheap, easy to learn, programmer-spoiling ;)
[16:10]<afd>meska: no
[16:10]<dnscr>php doesn't have a good framework .. that is the problem
[16:10]<dzdyzzz-wjzc>teaches you bad programming from the moment you fire it up....
[16:10]<dnscr>and the zend new framework .. ahr .. code horror
[16:10]<afd>meska: you have to write SQL, and have to bind all the post data to form manually
[16:11]<zndy_wjfnz>Moridin8: Easier example: Why does the php page have to calculate the time used within the measurement (with really dirty functions) and the ASP code not?
[16:11]<fyfuym-syfggag>php does not need a good framewokr
[16:11]<wyfaj`>language wars--
[16:11]<fyfuym-syfggag>it will suck even tho it had one
[16:11]<afd>Liquid-Silence: yes it sux anyway :)
[16:11]<dnscr>Liquid-Silence no, that is not true
[16:11]<afd>wilco`: framework war, language doesn't matter
[16:11]<dnscr>it would get better
[16:11]<fyfuym-syfggag>meska: it is
[16:11]<dnscr>and there are people who are moving in a good way
[16:11]<afd>meska: but it's years behind java
[16:11]<afd>meska: there is nothing like hibernate, not even a port
[16:11]<fyfuym-syfggag>AqD: java is nice
[16:12]<dnscr>i know one framework there even namespace stuff is implemented
[16:12]<afd>Liquid-Silence: only the frameworks
[16:12]<fyfuym-syfggag>the virtual machine sucks balls tho
[16:12]<sfuym0>wilco`: "../../tmp.txt" is not allowed for ToAbsolute?
[16:12]<wyfaj`>dunno, i'd have to look into it myself to see how it works :P
[16:12]<sfuym0>that is, replace / with \







