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.62 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-25
[02:18]<kjr>wilco: I can't go in a MCD without getting sick
[02:18]<wyfaj>;)
[02:18]<kjr>tieTYT: I'll PM you a link if you wanna see it
[02:18]<vynvyv>ok
[02:18]<vynvyv>yes
[02:20]<kjr>the UML is crap, but the software itself is beautifully simple
[02:22]<sxjaaajzn>messageReceived.Replace("\pard\cf1\b0\f1 ", ""); ?? says it dosent reconize \p and \c lol how to escape those?
[02:22]<kjr>probably with \\p and \\c
[02:23]<sxjaaajzn>ok
[02:23]<sxjaaajzn>thk
[02:23]<kjr>if you give it \letter it'll try and use it as a character class
[02:23]<kjr>IE: \S is non-whitespace, \d is digit
[02:24]<rxrcr_>Alternatively you can use @"\pard\cf1\b0\f1 "
[02:24]<sxjaaajzn>oh
[02:24]<sxjaaajzn>that @ is nice!
[02:24]<kjr>literal strings
[02:25]<kjr>oh wait, you're trying to use character classes... dahar
[02:25]<sxjaaajzn>yeah
[02:25]<sxjaaajzn>hehe
[02:26]<sxjaaajzn>is @ok?
[02:26]<kjr>you shouldn't need to escape with literal strings
[02:26]<kjr>I thought you were trying to escape within the regex itself...
[02:29]<mupmvz>is there something in system drawing that will let me shrink a gif or png proportionally to a given height?
[02:29]<sxjaaajzn>but still messageReceived.Replace("\pard\cf1\b0\f1 ", ""); gives error at compile
[02:29]<sxjaaajzn>so should i put @ in front or escape em?
[02:29]<vxznrm_>mufdvr, you can scale an image as you please when you paint it
[02:29]<kjr>Shockcore: either one works
[02:29]<vxznrm_>there might be some stuff in Image or Bitmap you can use without having to paint though
[02:30]<mupmvz>thread_: not putting it in an object that has that
[02:30]<sxjaaajzn>ok
[02:30]<vxznrm_>mufdvr, there's alot
[02:30]<vxznrm_>just look around ;)
[02:31]<vxznrm_>e.g.
[02:32]<vxznrm_>System.Drawing.Bitmap has a ctor overload with following signature ctor(Image original, Size newSize)
[03:03]<azyfm>hm, very very neat: https://www.red-gate.com/products/SQL_Prompt/index.htm
[03:03]<azyfm>and free
[03:03]<txnjzd>funky
[03:04]<vynvyv>damn it
[03:04]<vynvyv>i wish i could find something for that for oracle
[03:04]<vynvyv>anyway i'm out
[03:04]<vynvyv>see ya
[03:04]<azyfm>even completes joins
[03:06]<rjjgwq>It also comes with some kind of dependency tool.
[03:06]<rjjgwq>I love the Sql compare, it's saved my ugly ass a few times.
[03:07]<kjr>bleh, it's MSSQL tho
[03:08]<jdvgdjgcgd>i take it everyone has seen the new c# to javascript compiler?
[03:08]<kjr>Jivemonkey: yeah,b ut no one cares ;)
[03:08]<kjr>Jivemonkey: how goes the fight w/ Craig?
[03:08]<jdvgdjgcgd>lol
[03:09]<jdvgdjgcgd>ah, i got bored with that
[03:09]<jdvgdjgcgd>i got shamed out of it
[03:09]<kjr>you should register CraigsBlacklist.com
[03:09]<jdvgdjgcgd>heh
[03:09]<jdvgdjgcgd>i'm not allowed to deploy my craigslist ad pwner anymore
[03:09]<drdyrrr_>i tried that sql prompt...
[03:09]<jdvgdjgcgd>i got an official cease and desist
[03:09]<drdyrrr_>it was dodgy
[03:09]<kjr>Jivemonkey: imagine that..
[03:10]<jdvgdjgcgd>yeah yeah
[03:10]<kjr>Jivemonkey: you forgot to subvert the dominant paradigm man
[03:10]<kjr>Jivemonkey: build a flux capacitor, it'll help
[03:10]<jdvgdjgcgd>i need 1.6 gigawatts
[03:10]<kjr>that's it?
[03:11]<kjr>are you sure your car can make it to 88mph?
[03:13]<jdvgdjgcgd>lol
[03:13]<jdvgdjgcgd>my car can barely make it down the driveway
[03:13]<vxznrv>morning
[03:13]<kjr>in the words of another movie: "that's something we shall have to remedy, isn't it"
[03:29]<kuggys>Jivemonkey Ha! Mine runs on 1.21 gigawats!
[03:29]<jdvgdjgcgd>oh yeah, 1.21, haha
[03:29]<jdvgdjgcgd>nerds
[03:30]<rfnss>hi, does the .net api provide a way to calculate a whole file hashcode>?
[03:30]<kjr>I usually have my scifi equipment running in multiples of e
[03:31]<kuggys>aless There's support for the MD5 Function (somewhere) and You can seek through the whole file I think and do it.
[03:33]<kuggys>aless I think MD5 is in the System.Cryptography namespace... though it's a compleate guess.
[03:35]<rfnss>thanks a lot
[03:37]<kjr>there's always CRC32
[03:38]<kuggys>Crc32 is very weak; And I dunno if there's support for it in the framework.
[03:38]<cxrcr>there isn't
[03:39]<sdz>what about the java runtime, which is accessible from .NET?
[03:39]<cxrcr>what blew my mind was that Microsoft doesn't have internal implementations in C# either
[03:39]<kjr>Kunnis: what, and MD5 is awesome?
[03:39]<kjr>SDr: yes
[03:39]<kuggys>It provides a hash function....
[03:40]<kuggys>And there's SharpZip, which is FOSS, and it has Crc32 in it
[03:40]<kjr>neh, CRC32 and MD5 are both crappy.. I just figured there'd be a CRC32 method around somewhere
[03:40]<kjr>I know there's an MD5 hasher somewhere in the framework
[03:41]<kuggys>Kog Yeah, in the Crypto API I think
[03:41]<kjr>where else would you put it heh
[03:42]<kuggys>I dunno... I didn't think of looking there when I was first looking for a hashing function
[03:43]<kjr>neh, the cornerstone of secure communications are things like fingerprints and hashes
[03:43]<kjr>and even simple CRC/MD5 sigs are about information security
[03:44]<kjr>(and slashing error propagation)
[03:44]<kuggys>CRC is easily reverseable.
[03:44]<kjr>and you can collide MD5, or use an Oechslin attack
[03:44]<kuggys>Kog Though it's very non-trivial. Crc collisions are.
[03:45]<kjr>I'm not saying they provide an equivocable amount of trust
[03:45]<kjr>I'm merely remarking that they are both deemed weak
[03:46]<kjr>although Xian is supposed to be publishing all kinds of stuff against random hashing algs this year or next







