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.21 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-17
[19:28]<edjg>I tried at the Win32 API years ago in C++, a few hours later I said fuck it
[19:28]<azyfm>the vtbl is just an array of function pointers
[19:29]<cfudsd>COM even in C++ is horidly tedious
[19:29]<ygjgj>ah, they fake OOP by using function pointers?:P
[19:29]<azyfm>it's not "fake", really
[19:29]<azyfm>it's the way it works in pretty much all languages
[19:29]<azyfm>just most languages have the decency to hide it from you
[19:29]<cfudsd>yep, you can do 00 in assembly if you want.. but the sntax of the language typically abstacts and hides the implementation, while in C you have to do the implementation yourself
[19:30]<ygjgj>isnt that kind of the point, after all C++ gets compiled to asm :)
[19:34]<azyfm>would suck to be a compiler writer if you couldn't express OO in asm
[19:34]<y-gz>Kiryn: watching ?
[19:35]<kdzdg>yeah im starting to think that amica attacked america
[19:35]<kdzdg>america*
[19:35]<cfudsd>airld: i mean by hand :), but yep of course, all techniques have to somehow translate into machine code somehow
[19:35]<cfudsd>Kiryn: been watching looose change?
[19:35]<ygjgj>i guess everyone forgot Saddam tried to kill Bush Sr
[19:35]<kdzdg>yup
[19:36]<kdzdg>my hometown was going to get attacked too
[19:36]<cfudsd>the "evidence" in loose change is quite persuading, at least for some aspects, but i want to watch it and make a list of just who would have to be involved in the coverup, and its huge
[19:37]<cfudsd>and i mean what did they actually do with the people on these planes (though the ones they took off at cleveland into the nasa building? , surely there would be people talking
[19:37]<kdzdg>im starting to think that bush did this just so he can have a reason to go to war
[19:37]<kdzdg>i think bush is the actual terrorists
[19:37]<ygjgj>oh please, they covered up pearl harbor, they can cover up 9/11
[19:38]<kdzdg>pearl harbor and 9/11 something in common
[19:38]<cfudsd>watch it and make a list of who would have to be involved in the cover up, and its just far too huge
[19:38]<ygjgj>yeah both of them staged to go to war?
[19:38]<ygjgj>http://www.letsroll911.org/phpwebsite/
[19:38]<ygjgj>read that too, it states a lot of people said things in the open it jsut wasnt picked up by the press
[19:39]<cfudsd>so those peple on those planes, are they walking around, or do they have real families who are grieving, gravesides etc?, if they weren't on the planes, and are dead, were they effecticely executed?
[19:39]<ygjgj>although before i look like an idiot, i didnt mean pearl harbour was a fake attack
[19:39]<kdzdg>a tommahawk is fired from a naval vessel
[19:39]<ygjgj>the ends justify the means
[19:39]<kdzdg>imma go finish ill brb
[19:39]<ygjgj>would you kill 100 people to save 100 million from terrorists?
[19:40]<kdzdg>yea
[19:40]<cfudsd>why not kill them by flying them into the buildigns like it said they were, why rather take them into a warehouse ,and then kill them?
[19:40]<ygjgj>all it takes is a few nutjobs in power with other people who stand to benefit
[19:40]<cfudsd>(if thats what happened
[19:40]<rnzrnf_->you know: the terrorists didn“t really kill many ppl, every imaginable other threat has already killed more!
[19:40]<cfudsd>the buildings do look demolished professionally though
[19:41]<ygjgj>heh yeah, more people get into car accidents every month than die from terrorists in a year
[19:41]<ygjgj>i actualy didnt watch that video yet, but after reading the site it makes sense
[19:41]<rnzrnf_->what about pollution: nobody cares, esprecially usa ;)
[19:41]<cfudsd>JUST LIKE more people die from the flu every year by far than ever died by bird flu, sars
[19:41]<cfudsd>search loose change on google videos
[19:42]<cfudsd>its not hyped and stupid like F911
[19:42]<cfudsd>of course it is biased, but the whole time is just reading different "facts", analysis etc
[20:01]<jdvgdjgcgd>can someone help me with an access query
[20:09]<edjg>Does anyone have experience getting mod_mono to work with apache 2.x on windows? (this is temporary fix for a development box whose IIS refuses to work with asp.net)
[20:10]<wyfaj`>Emon: try using http://www.wilcob.com/Wilco/Toolbox/WebDevWebServer2.aspx instead
[20:10]<wyfaj`>see if that works
[20:11]<edjg>hmm, thanks
[20:11]<edjg>although I wouldn't mind having mod_mono working for kicks. I'm getting a 403 on my aspx files
[20:16]<rnzrnf_->has sb ever used steganography in real life?
[20:19]<ygjgj>When you do BeginInvoke with callbacks does the callback get executed in the original thread?
[20:19]<cjsvzzz11c>hey, what is the best way to connect to a MySQL server through C#
[20:20]<vxznrm_>inono, the whole idea of the Begin/End* calls in .net is async callbacks that runs in separate threads
[20:20]<vxznrm_>so to answer your question: no, it does not.
[20:20]<ygjgj>is something like that trivial?
[20:21]<vxznrm_>kostagr33k, www.mysql.com, it has a .net connector which is based on the ado.net model
[20:21]<vxznrm_>inono, what do you mean?
[20:21]<ygjgj>wherein you execute some task in a separate thread, then in your original thread do something once the task finishes execeuting?
[20:22]<vxznrm_>i dont understand what your question is
[20:22]<vxznrm_>async calls run in separate threads
[20:23]<ygjgj>like.. if i tell someone to go do something
[20:23]<ygjgj>and then he comes back to me when he's done and i can do something about it
[20:23]<ygjgj>but while that other guy is doing something, i'm doing something else
[20:23]<azyfm>inono: Look into the BackgroundWorker component
[20:23]<vxznrm_>do you understand what threading is?
[20:24]<ygjgj>Arild, hmm ok, thanks
[20:25]<ygjgj>thread_, yep
[20:25]<ygjgj>i am looking for high level functionality rather than using primitives
[20:25]<cjsvzzz11c>thanks
[20:25]<ygjgj>hmm, SWF? :(
[20:25]<azyfm>BgW handles most of the nasty cross-thread marshalling for you
[20:26]<ygjgj>I see
[20:32]<ygjgj>if you call Monitor.Wait from inside a lock statement does that drop the lock?
[20:33]<vufvuzn>assuming it's anything like Java's lock handling.. Wait requires you to have the lockf irst, and releases it inside the wait call, and ensures you have it again before it returns
[20:34]<ygjgj>hmm... ok
[20:34]<ygjgj>so Monitor.Wait is kind of like pthread_cond_wait ?
[20:34]<vufvuzn>read the docs - even the overview clearly states that it releases the lock & why.
[20:35]<ygjgj>I did, but its always good to ask someone else for clarification:)
[20:35]<vufvuzn>"Releases the lock on an object in order to permit other threads to lock and access the object. The calling thread waits while another thread accesses the object. Pulse signals are used to notify waiting threads about changes to an object's state.
[20:35]<vufvuzn>http://msdn2.microsoft.com/en-us/system.threading.monitor.aspx
[20:35]<ygjgj>sure, didnt say which lock though, hence my question
[20:36]<kdzdg>im back
[20:36]<vufvuzn>it takes one Object parameter.. which one could it refer to?
[20:36]<ygjgj>vulture, i was referring to lock(obj1) { ............. Monitor.Wait(obj2) .......... }
[20:37]<vufvuzn>the full docs are quite clear on what it does..
[20:37]<vufvuzn>they evendocument that case specifically
[20:37]<kdzdg>threading is a bitch
[20:37]<vufvuzn>"Calling Wait releases the lock for the specified object only; if the caller is the owner of locks on other objects, these locks are not released.
[20:37]<vufvuzn>"
[20:37]<vufvuzn>Manuals are amazing, read them.
[20:37]<vufvuzn>Kiryn: indubitably
[20:37]<ygjgj>why are you so uptight?
[20:37]<kdzdg>inono, who?
[20:37]<ygjgj>vulture
[20:38]<ygjgj>I have issues with large blocks of text, I often miss points
[20:39]<vufvuzn>because it's frustrating when people are too lazy to do some basic legwork, and instead rely on other people to do it for them (and when good documentation goes to waste.. developers spend time writing this stuff, it's not the most entertaining thing in the world to do)







