IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-04-02 18:00:08
Channels: 41
Logged Lines: 6229042
Size: 1806.23 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-29
[00:00]<gjrvcxnne>damnit... is there another function like Activate I can use for a control?
[00:02]<edjg>Haha, I'm on some C# binary diff page and I almost closed it because I thought it was VB. It was just the psuedocode :P
[00:02]<edjg>VB has to be at least as verbose as psuedocode
[00:02]<gjrvcxnne>lol, yeah
[00:06]<awjzdd>woo
[00:20]<drygq>could anyone tell me if this stuff is still up to date > http://www.codeproject.com/books/1861005563_10.asp >>> ???
[00:20]<edjg>2001?
[00:20]<edjg>well it wouldn't cover .net 2.0 I highly doubt
[00:21]<slzygc>I dont see any options in the properties windows to disable window resizing
[00:22]<drygq>emon, ok thanks - ill try to find more recent stuff :-))
[00:22]<edjg>sprink, for a form?
[00:22]<slzygc>yes
[00:22]<edjg>main2, honestly I would just scoure the net for tutorials.
[00:23]<edjg>depending on how deep you want to learn and how much you like being frustrated and figuring things out on your own
[00:23]<edjg>sprink, it's called FormBorderStyle or something like that
[00:24]<gjrvcxnne>Emon: what are you doing again? and what are you looking for?
[00:24]<slzygc>ohhh I see it.. thanks
[00:24]<edjg>GoatCheez, what?
[00:24]<drygq>emon, i used ado and dao etc years ago
[00:24]<gjrvcxnne>err nm
[00:24]<edjg>the only thing I'm looking for right now is a good binary diff/patch util for C#
[00:24]<gjrvcxnne>i meant
[00:24]<drygq>but its not what it used to be..
[00:24]<gjrvcxnne>main2: what are you doing again? and what are you looking for?
[00:25]<drygq>nowadays, i only work with sql..
[00:25]<gjrvcxnne>err wait
[00:25]<edjg>I might just port bsdiff, but it's a nightmare of bad C syntax and deprecated IO
[00:25]<gjrvcxnne>i'm confused
[00:25]<edjg>my conversion rate will probably be like four lines per day :P
[00:25]<gjrvcxnne>Emon: if a utility can diff and patch binaries, it should theoretically work for any binary, even C# ones
[00:26]<edjg>GoatCheez, I said a GOOD one :P
[00:26]<gjrvcxnne>Emon: winpatch?
[00:27]<edjg>I would very much like to write my own util
[00:27]<edjg>since it needs to do some autoupdating stuff
[00:27]<gjrvcxnne>Emon: use a basic diff algo then... it should be failry straight forward
[00:27]<edjg>I know
[00:27]<gjrvcxnne>http://www.codeproject.com/vb/net/DiffQuest.asp
[00:28]<edjg>why settle for basic? :P
[00:28]<edjg>bsdiff makes patches some 15% smaller than rtpatch
[00:28]<gjrvcxnne>lol, convert that prog to C# and binary files
[00:28]<zgzzcygnv>hehehe
[00:28]<zgzzcygnv>silly people
[00:28]<zgzzcygnv>my project doesnt need unified diff :P
[00:29]<zgzzcygnv>it does it automagically
[00:29]<kjr>your update tool will be a binary diff?
[00:29]<edjg>the guy who wrote it describes an algorithm in his thesis that produces patches even 20% smaller than THAT, but I'm betting my head would implode if I tried to comprehend the math
[00:29]<zgzzcygnv>rofl
[00:29]<zgzzcygnv>just zip the patches, they should contain pretty redundant data
[00:29]<gjrvcxnne>lol, yah
[00:30]<edjg>heh
[00:30]<zgzzcygnv>hell, make them XML based, they'll still zip down to the same amount
[00:30]<gjrvcxnne>serisously... compress it lol
[00:30]<gjrvcxnne>oh gawd lol
[00:30]<edjg>I considered that
[00:30]<gjrvcxnne>that would just mean another person is using XML just because it's there
[00:30]<zgzzcygnv>nah
[00:30]<edjg>on the other hand it might be fun to port bsdiff since it would be significantly better
[00:30]<kjr>GoatCheez: sounds like SOAP to me
[00:30]<zgzzcygnv>it'd mean they could be easily read by other programs
[00:30]<edjg>er, not xml, I mean just a simple diff + zip or something
[00:30]<gjrvcxnne>lol
[00:30]<kjr>AnarkiNet: yeah, and it'd be fundamentally stupid
[00:31]<kjr>what the hell do you do with the packet? a large sequence of writes?
[00:31]<gjrvcxnne>yeah, use XML for your diffs, because we all know that all diffs are stored in an xml format lol
[00:31]<edjg>haha yeah
[00:31]<zgzzcygnv>kog, what?
[00:31]<edjg>each byte would be an attribute
[00:31]<edjg>in its own element
[00:31]<zgzzcygnv>no
[00:31]<zgzzcygnv>it'd be hexencoded
[00:31]<edjg>what
[00:31]<edjg>where's the fun if your patches aren't 500 times the size they should be
[00:32]<gjrvcxnne>why not MIME encode the binary files,
[00:32]<gjrvcxnne>lol
[00:32]<zgzzcygnv>even if they were 500 times bigger, XML is so extrordinarily redundant that it'll still compress down a huge amount
[00:32]<zgzzcygnv>infact
[00:32]<vynvyv>dude
[00:32]<zgzzcygnv>if you use something like WinRK or PAQAR you can get like 95%+ text compression
[00:32]<gjrvcxnne>yes, but the XML would still be totally useless
[00:32]<vynvyv>i don't think you're allowed to say bad things about xml
[00:32]<edjg>haha
[00:32]<vynvyv>what if your boss hears?
[00:32]<zgzzcygnv>lol, who?
[00:32]<zgzzcygnv>GoatCheez?
[00:33]<gjrvcxnne>I'll fire ya in a heartbeat if i hear ya badmouth xml!
[00:33]<gjrvcxnne>lol
[00:33]<kjr>tieTYT: http://www.marriedtothesea.com/072606/telegraph-chat.gif
[00:33]<edjg>hehe
[00:34]<edjg>Incase anyone is curious: http://www.daemonology.net/bsdiff/
[00:34]<vynvyv>heh
[00:39]<gjrvcxnne>so anyone have any idea about making sure a code segment is run with the application that is executing it the foremost window with focus(activated)?
[00:40]<edjg>uh
[00:40]<edjg>what?
[00:42]<gjrvcxnne>i have a code segment.... i want to make sure that the application is the foremost window when that sement runs
[00:43]<gjrvcxnne>(has blue title bar...)
[00:43]<gjrvcxnne>(no windows overlapping it)
[00:43]<edjg>oh
[00:44]<edjg>HasFocus or something
[00:44]<edjg>maybe Focus
[00:44]<edjg>if(this.Focus) { // your code } or something







