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: 1825.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-15
[19:41]<vufvuzn>though I've seen some cool ideas for non-textual (or at least less-textual) programming paradigms
[19:48]<sjlx>.NET 3.0 SDK is quite a holymoly bunch of megabytes
[19:49]<azyfm>vulture: what the linked-to paper argues is that some people plain don't have the aptitude for programming, and no amount of education will change that
[19:51]<fyfuym-syfggag>hmmm
[19:51]<fyfuym-syfggag>whats the easiest way to cache objects?
[19:52]<fyfuym-syfggag>reflected objects
[19:54]<vufvuzn>Arild: rightio - yeah, for a long while I've been undecided about whether the necessary creative/problem solving attitude can be taught, is developed in early childhood (or perhaps even predisposed genetically to some extent or another)
[19:54]<vufvuzn>Liquid-Silence: WeakHashMap?
[19:55]<vufvuzn>sorry, wrong language :)
[19:55]<vufvuzn>might be something similar in the .NET framework thoguh
[19:56]<azyfm>there's a WeakReference class
[19:56]<fyfuym-syfggag>vulture thanks mate
[19:57]<azyfm>I'm assuming a WeakHashMap is just a hashmap where all values are weak references
[19:57]<fyfuym-syfggag>Represents a weak reference, which references an object while still allowing that object to be garbage collected.
[19:58]<fyfuym-syfggag>what I want to do is this: I want to retrieve data from a sql database and then cache it so it only goes to fetch new rows or new values not the whole datatable
[20:04]<vufvuzn>Liquid-Silence: there's probably some ORM-like things that already do this for you
[20:04]<vufvuzn>such as nHibernate
[20:06]<fyfuym-syfggag>no man this is not a ORM
[20:16]<vufvuzn>right, you don't necessarily want to do any object mapping (just saying - ORMs usually have built-in caching) there are probably various general caching libs around too
[21:30]<vyzusdjvnev>lo people
[21:34]<fyfuym-syfggag>VirusDotFag!
[21:41]<vyzusdjvnev>bitch
[21:41]<vyzusdjvnev>i got to install windows now :)
[21:41]<vyzusdjvnev>brb
[21:42]<22vnax>Can anyone tell me what my problem is? http://67.15.24.27/$sitepreview/batie.com/calendar/Service.asmx
[21:42]<22vnax>I am just trying to do a simple hello world web service
[21:47]<cxrfnm>bbtech, open up IIS
[21:47]<cxrfnm>choose your web application
[21:47]<cxrfnm>and go to properties
[21:47]<cxrfnm>and check a web application
[21:47]<cxrfnm>s/check/create
[21:50]<22vnax>khaled: thanks :)
[21:51]<cxrfnm>bbtech, welcs :)
[21:53]<as_>does anybody know a good guide to using scrollbars with textboxes?
[21:55]<cxrfnm>js_, making a custom textbox ?
[21:56]<as_>i'm experimenting with visual studio.. so i'm trying to make a very simple text editor
[21:56]<as_>i made the textbox and scrollbar by dragging and dropping
[21:56]<as_>now i just need to make them work together
[21:57]<fyfuym-syfggag>js_ get a book
[21:57]<fyfuym-syfggag>or check codeproject
[21:57]<fyfuym-syfggag>and msdn is also a nice resource
[21:57]<as_>yeah, i feel i really need a book.. have you got anyone to recommend?
[21:58]<fyfuym-syfggag>let me get it
[21:58]<fyfuym-syfggag>Wrox.Professional.C.Sharp.2005.Nov.2005
[21:58]<fyfuym-syfggag>is what I use
[22:00]<as_>cool
[22:01]<fyfuym-syfggag>but I can not code c#
[22:01]<fyfuym-syfggag>I have just looked at it once
[22:01]<fyfuym-syfggag>never removed my nick from the channel
[22:01]<fyfuym-syfggag>ask Alacrity
[22:01]<fyfuym-syfggag>:P
[22:17]<as_>uh.. textboxes have builtin scrollbars
[22:17]<as_>how rare
[22:18]<as_>or at least vs creates it for me
[22:50]<vyzusdjvnev>Liquid-Silence, sup homie >.<
[23:08]<sjlx>i want to obtain a list of all types declared in an assembly
[23:08]<cxrfnm>soph, System.Reflection
[23:08]<sjlx>so i load the assembly and call gettypes()
[23:09]<sjlx>but how to conclude from an object array to the exact type?
[23:09]<sjlx>khaled: sure
[23:11]<sjlx>omg gettypes returns a type array
[23:11]<cxrfnm>Assembly my = Assembly.LoadFile(..)
[23:11]<sjlx>guess it was too sunny this afternoon
[23:11]<cxrfnm>Type [] ts = my.GetTypes();
[23:11]<sjlx>either increase coffein level or fetch beer and shutdown the computer
[23:12]<sjlx>khaled: thx
[23:13]<cxrfnm>welcome
[23:19]<sugsxdgnlrmd>Hello
[23:21]<vyzusdjvnev>Hello
[23:21]<vyzusdjvnev>dcc
[23:21]<vyzusdjvnev>oops
[23:25]<sugsxdgnlrmd>Im having some trouble with C#'s valriables as Im new to it, how can I assign a variable so it could be used it all objects?
[23:29]<vyzusdjvnev>public static (type) (variable name) = (info);
[23:31]<vyzusdjvnev>thats really the first time we got a lady in here =)
[23:32]<sugsxdgnlrmd>There aren't a lot of ladies with interest for programming
[23:32]<vyzusdjvnev>nope not really
[23:33]<vyzusdjvnev>so you can be ##CSharp's room lady =)
[23:33]<vyzusdjvnev>lol
[23:33]<awjzdd>VirusDotNET: there have been a few ladies here and there
[23:33]<vyzusdjvnev>really
[23:33]<sugsxdgnlrmd>Im mostly in PHP/MYSQL/JS
[23:33]<vyzusdjvnev>ewww PHP
[23:34]<awjzdd>yummy JS
[23:34]<vyzusdjvnev>i love JS :)
[23:34]<sugsxdgnlrmd>Anyway, this public static didn't really work, where should I insert it?
[23:35]<awjzdd>SunShineLady: a little reading would be a good idea in this situation
[23:35]<vyzusdjvnev>SunShineLady, insert it at the top
[23:36]<vyzusdjvnev>not in a class
[23:36]<awjzdd>not in a class?
[23:36]<awjzdd>where the fuck are you going to put it?
[23:36]<vyzusdjvnev>its oop i know
[23:36]<vyzusdjvnev>lemme explain dude
[23:38]<vyzusdjvnev>nevermind >.<
[23:38]<sugsxdgnlrmd>Please explain or point me to a proper reading :)
[23:39]<awjzdd>SunShineLady: http://www.eggheadcafe.com/articles/20020206.asp
[23:39]<awjzdd>SunShineLady: anything about static will do
[23:39]<vyzusdjvnev>SpikeLite msdn C# static







