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-07-11
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Next >
[11:38]<`d0>Moridin8|Phone : they are similar ;)
[11:38]<mjzymygo>nihm: I suggest looking at the System.Collections namespace
[11:38]<`d0>Generics / Templates ;)
[11:38]<pzggjgg1000>`mo: That's USEFUL.
[11:38]<mjzymygo>m0`: generics and templates are not the same ;)
[11:38]<`d0>blehhhh
[11:38]<gyxd>Generics is poor man's duck-typing ...
[11:39]<`d0>SIMILAR :)
[11:39]<mjzymygo>'m0 and the java generics suck butt
[11:39]<pzggjgg1000>Well, php is the rich man's duck typing.
[11:39]<`d0>lol
[11:39]<`d0>php is amazing at typing :)
[11:39]<gyxd>im not talking about php
[11:39]<gyxd>..
[11:39]<mjzymygo>oh yeh... variant love anyone?
[11:40]<`d0>love?
[11:40]<pzggjgg1000>Perl? Lisp?
[11:40]<mj-c>hihm: R U Ruby-guy?
[11:40]<mjzymygo>"php is amazing at typing"
[11:40]<`d0>I believe arrays are created at runtime?
[11:40]<pzggjgg1000>Eventually we'll run out of duck typed languages.
[11:40]<`d0>or compilation
[11:40]<mjzymygo>PHP is a variant weak type lanaguge
[11:40]<pzggjgg1000>Er. Runtime for java.
[11:40]<`d0>Moridin8 are arrays created at compilation?
[11:40]<gyxd>do-k, kind of, but I havent used it that much, bit of smalltalk
[11:40]<pzggjgg1000>And generics are removed at compilation.
[11:40]<`d0>or runtime?
[11:40]<gyxd>alot of js, which is kind of similar to ruby's typing
[11:40]<mjzymygo>'m0: under the hood arrays are created in a memory buffer that is zero'd
[11:41]<`d0>yea :)
[11:41]<`d0>but over the hood?
[11:41]<mjzymygo>freeone3000: Generics are WHAT?
[11:41]<mjzymygo>generics are created at run time
[11:41]<pzggjgg1000>Yeah. C#. Useful. Java. Useless.
[11:41]<`d0>freeone3000 c/C++ are created at compilation time
[11:41]<`d0>Java isn't useless ...
[11:41]<`d0>Java is nice
[11:41]<mjzymygo>templates are created at compile time
[11:42]<mjzymygo>generics at run time
[11:42]<mj-c>YOu can use Java in .NET if you want
[11:42]<`d0>lol how many times we said that :)
[11:42]<mjzymygo>Java is great... for what it was designed for.
[11:42]<`d0>great for mobility
[11:42]<mjzymygo>exactly
[11:42]<`d0>lol
[11:42]<mjzymygo>but not much else
[11:42]<mj-c>ECMA C# has mobility and works in Linux just fine
[11:42]<`d0>awesome for "hello world"
[11:43]<pzggjgg1000>do-k: Except, it's not Java anymore.
[11:43]<`d0>Ok time to sleep :)
[11:43]<`d0>I watched Superman today
[11:43]<`d0>and 4 episodes of 24 season 2
[11:43]<`d0>amazing!
[11:43]<mjzymygo>a few new faces in here...
[11:45]<mj-c>anybody is thinking about 70-536, 70-528 and such (exams)?
[11:46]<mjzymygo>erm.... why?
[11:46]<mj-c>well, why not?
[11:47]<mjzymygo>do-k hmm... could you re-phrase your statement...
[11:47]<pzggjgg1000>Because random numbers arn't exam numbers?
[11:47]<pzggjgg1000>well. I'm sure they are.
[11:47]<mj-c>more tough than 70-315 at least (certification exams)
[11:48]<vyzusdjvnnv>hey i want to encode a password in asp.net what could i use and then decode it back to the normal letters?
[11:48]<mjzymygo>do-k: Doing the exam is one thing. knowing how to use it in the real world is another.
[11:48]<mjzymygo>VirusDotNet: Encode or encrypt?
[11:49]<vyzusdjvnnv>which is better?
[11:49]<mj-c>moridin8: nobody argues that. Still, it's something kinda intangible assets, important for stupid HR guys
[11:49]<mjzymygo>do-k: experience screams louder than an exam. ;)
[11:50]<mj-c>VirusDotNet: in .NET 2, you can use the ready-made component for that
[11:51]<vyzusdjvnnv>link to using it?
[11:51]<mj-c>experience does not scream, it's a problem. To demo your abilities you need more that 15 minutes. HR guy is not the final decision-maker, s/he is a filter to see decision maker for you
[11:52]<mjzymygo>VirusDotNet: It depends. does the password *need* to be retrievable?
[11:52]<mj-c>msdn2.microsoft.com/library search password
[11:52]<mjzymygo>do-k: I have 12 years in the industry. My exams haven't done zip for me
[11:53]<pzggjgg1000>Does anyone here know why mono requires me to have some stuff in ~ and if it always does or there's some way I can fix it?
[11:53]<mjzymygo>VirusDotNet: because the most secure way to store a password is a one way hash.
[11:53]<vyzusdjvnnv>for membership no but if i want to say like for password changing I want the password to match the one stored in the database so it would be better toencrypt it. Then when the user enters the current password i want it to match so yeah
[11:54]<pzggjgg1000>Er. Can't you just hash their input?
[11:54]<mjzymygo>VirusDotNet: The one way hash process works like this... 1. Get new password. Hash it (MD5/SHA1 or the like) and save to database
[11:55]<mjzymygo>next time someone logs in, they give the password, you hash it again and compare with whats in the DB. if it's the same... they are thru
[11:55]<vyzusdjvnnv>thank you :)
[11:55]<mjzymygo>But this method, while being secure means the password is not directly retrievable and you have to create a password reset mechanism
[11:55]<vyzusdjvnnv>thats what i want
[11:55]<vyzusdjvnnv>i want good security
[11:55]<mjzymygo>Then use that method.
[11:56]<vyzusdjvnnv>thank you
[11:56]<mjzymygo>in the cryptography namespace look into MD5 or SHA1.
[11:56]<vyzusdjvnnv>isn't there like SHA256?
[11:56]<vyzusdjvnnv>or something like that
[11:56]<mjzymygo>Yeh. that will work to
[11:56]<mj-c>there is ready-made the best practise reusable code for that, and you should not debug it. I would take this part out of msdn
[11:56]<mjzymygo>I use SHA1 though, not as resource intensive
[11:57]<mjzymygo>do-k: Yes their is, but you also get lots of stuff you don;t need and a bunch of code that EVERYONE knows about
[11:57]<mjzymygo>that means insecure
[11:57]<mjzymygo>but YES it's a good guide for your own salted implementation.
[11:58]<vyzusdjvnnv>but then if you can't remember your own salted then your fucked ;)
[11:58]<mj-c>Moridin8: I know, in the same way as with DAL and such, it's bloated
[11:58]<mjzymygo>VirusDotNet: thats why you do something called 'Documentation' ;)
[11:58]<vyzusdjvnnv>hehe
[11:58]<vyzusdjvnnv>and use commentd







