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.18 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-17
[14:07]<mracn>you're talking about nullable types
[14:08]<mracn>I figured the comma after the question mark was just a typo, my bad
[14:08]<edjg>Macke, so what's Integer? I know in Java, Integer is a class that wraps the primative type int, they are not interchangeable, except in some cases where Java's autoboxing lets you do so (like adding and removing from arrays of ints or Integers, for example)
[14:10]<cjfmfusyjg>so pros and cons about this?
[14:10]<edjg>how are there pros and cons?
[14:10]<edjg>it's just an integer. just use it.
[14:10]<cjfmfusyjg>yeah but, when you do int?, what is then the difference? does it take up more memory space or something?
[14:10]<edjg>If it does, it's not a noticable amount
[14:11]<mracn>Emon: short is an alias for Int16, int is an alias for Int32, long is an alias for Int64. Using int is the same as using Int32. In the resulting IL both usages will render System.Int32
[14:11]<edjg>What about Integer though?
[14:13]<mracn>There is no such thing as System.Integer
[14:13]<edjg>.net 1.1 or 2.0
[14:14]<edjg>hmm I could have sworn there was an Integer
[14:14]<edjg>maybe I was thinking of Boolean or something
[14:15]<mracn>ColdFusion: I don't know, I guess nullable types are reference types and as such, allocated on the heap instead of the stack. And then there's some syntactic sugar for handling them. But I don't know for sure. I'd check the C# spec for details.
[14:16]<cjfmfusyjg>ok
[14:16]<mracn>Emon: Perhaps. I think there is also Integer in VB, which is afaik just an alias similar to int.
[14:16]<edjg>ok
[14:16]<mracn>in either case, it's not an object in the framework
[14:16]<edjg>thanks for clearing that up
[14:18]<mracn>np
[14:18]<edjg>http://www.albin.net/CSS/RoundedCorners/ <--- this page is lies
[14:18]<edjg>I did a straight copy/paste of the provided CSS and HTML, they do NOT work
[14:19]<edjg>rather, they barely work and are hideous
[14:30]<cjfmfusyjg>If any of you have spare time and want to do something, make a combobox that has a selectedchanging eventlistner, if it gets fired it gets fired before the combobox has made the new choise, and the event e is to be able to use like e.cancel(); so that the new choise in the box was not made ;)
[14:31]<cjfmfusyjg>I have one of those for tabcontrol, but would be nice in a few situations for combobox too
[14:31]<cjfmfusyjg>obvious workaround is available but thats so wrong so if you have spare time ;)
[14:48]<dyguw>Is this correct: OleDbCommand sql = new OleDbCommand("SELECT * FROM table WHERE ID = {0}"); sql.Parameters.Add(23); ?
[14:51]<cjfmfusyjg>minux
[14:51]<cjfmfusyjg>you have not specified a table
[14:52]<cjfmfusyjg>unless it's named table
[14:52]<dyguw>It's named table :)
[14:52]<dyguw>But, I think I know what was wrong
[14:52]<cjfmfusyjg>in which case, if table is a reserved word you need to write [table]
[14:52]<dyguw>WHERE ID = ?... sql.Parameters["ID"].Value = 23;
[14:53]<cjfmfusyjg>s this correct: OleDbCommand sql = new OleDbCommand("SELECT * FROM [table] WHERE ID = "+id.tostring());
[14:53]<sufgzfyguw>hi all
[14:54]<lzzrn>hi sl
[14:58]<cjfmfusyjg>minux did it work?
[15:00]<dyguw>ColdFusion: Yeah =)
[15:00]<cjfmfusyjg>:)
[15:03]<_slwm1z_>where I can search an example to read n write
[15:03]<_slwm1z_>to excel file?
[15:04]<_slwm1z_>someone have a idea?
[15:04]<cjfmfusyjg>www.google.com
[15:04]<_slwm1z_>:) great! what's google?
[15:04]<cjfmfusyjg>lol
[15:04]<cjfmfusyjg>a search engine
[15:05]<_slwm1z_>lol
[15:06]<_slwm1z_>I need to write in excel file from c#... do you know I can do?
[15:07]<cjfmfusyjg>no but I bet you can find something about it if you try to search on it or check at ms homepage
[15:08]<cjfmfusyjg>maybe someone else knows thou
[15:09]<_slwm1z_>ok thanks, now I find it on ms site
[15:11]<cjfmfusyjg>=)
[15:43]<dyguw>I hate GUI design.
[15:43]<dyguw>Anyone here who likes to design GUI's? I want to hire you.
[15:51]<wyfaj`>minux: Yes, I will design your GUI. Here's my latest portfolio entry: http://thedailywtf.com/images/2/o_filematrix.png
[15:53]<dyguw>Nice.
[15:53]<wyfaj`>;)
[15:54]<wyfaj`>it only took me 2 years too
[15:54]<edjg>haha, gross.
[15:54]<wyfaj`>and i only charge $80/hour..... so, what do you want me to do again?:)
[15:55]<dyguw>:P
[15:55]<dyguw>I kinda like that GUI, I like it messy.
[15:55]<edjg>kinky
[15:55]<edjg>wanna hang out sometime?
[15:57]<dyguw>I'd love to.
[15:57]<edjg>great
[16:21]<y-gz>Guys, what software do you use for drawing diagrams, execution flow stuff etc?
[16:22]<edjg>I think visual studio has something for that
[16:23]<edjg>If not, I hear some people use visio. but there's probably free stuff out there
[16:23]<dyguw>I use Visio 12
[16:23]<y-gz>err I am on linux
[16:23]<dyguw>bah
[16:23]<y-gz>I think i will use Umbrello
[16:26]<afd>i-nZ: drawing on paper..
[16:26]<y-gz>done that already :P
[16:29]<y-gz>I wanted to make my drawings on paper more professional :)
[16:31]<rtdfyrrf>i-nZ, me too. :-)
[16:31]<y-gz>Umbrello seems nice
[16:31]<y-gz>but dunno how to represent events
[16:31]<y-gz>as Attributes of type "event" may be o0
[16:32]<y-gz>and also properties :/
[16:32]<y-gz>darn
[16:32]<y-gz>there is no way to show what has only a getter or a setter or both
[16:37]<wdznmbjd>because most of the times it seens the socket gets like full of time_wait connections for some time not accepting newer connections.
[16:37]<wdznmbjd>if i get attacked by alot of incomming connections and disconnections how can my asynchronous server survive? because most of the times it seens the socket gets like full of time_wait connections for some time not accepting newer connections.
[16:37]<y-gz>WiredBoy: was that for the mono channel ?
[16:37]<y-gz>:)
[16:37]<y-gz>*wasn't it
[16:37]<wdznmbjd>no i-nZ
[16:38]<y-gz>oh sry cause there was one guy talking about sockets there :P
[16:38]<y-gz>i need coffee
[16:39]<rjjgwq>WiredBoy, it's been a while since I have programmed with sockets, but you might want to do something like a back_log.
[16:40]<wdznmbjd>back_log?
[16:42]<rjjgwq>actually, that was C and I dont know if C# has anything like that. sorry
[16:42]<wdznmbjd>but what Back_log does?
[16:43]<rjjgwq>specifies the max length of pending connections queue
[16:43]<rjjgwq>if it's full the client gets an error
[16:43]<rjjgwq>if you're on a unix box, check the man page for listen







