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.44 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-31
[22:01]<rxrcr>hope that helps
[22:01]<fzzrjs>thanks for the link, I'll let you know how it goes..
[22:41]<jdvgdjgcgd>#lptrivia
[22:48]<fzzrjs>chaka: cool, that link is great :)
[22:54]<rxrcr>largos, excelent
[23:01]<ygmzymcjfm>hiiiiii
[23:03]<ygmzymcjfm>hmm quiet in here
[23:03]<rxrcr>IndridCold, hang on
[23:04]<rxrcr>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpovrasynchronousprogrammingoverview.asp
[23:04]<rxrcr>for you
[23:04]<rxrcr>your earlier Q
[23:04]<ygmzymcjfm>oooooh
[23:04]<ygmzymcjfm>thank you!
[23:08]<krffnjs>hi - where can I find some classes for working with csv files?
[23:14]<ygmzymcjfm>chaka, all I want to do is make asynchronous calls to a web service
[23:14]<ygmzymcjfm>and there's literally no documentation on how to use what's generated by wsdl.exe
[23:14]<fzzrjs>Kalleos: OpenCSV is a good library for using csv files, it's in java, but if nothing else it could be ported to c# with out much trouble
[23:14]<ygmzymcjfm>sure, there's lots on using asynchronous programming
[23:14]<fzzrjs>(if you do, it would be cool to keep the same license for the c# port.. it's under the apache license)
[23:15]<rxrcr>IndridCold, that's an area I know nothing about, web services
[23:15]<krffnjs>too bad, I don't know how to port a java library to c# :(
[23:16]<fzzrjs>Kalleos: basically you rename the files to .cs :)
[23:16]<rxrcr>heh largos :)
[23:16]<fzzrjs>for this project, that's pretty much true... it doesn't use any "fancy" tricks at all..
[23:16]<fzzrjs>I wouldn't be that surprised if the set of java syntax it uses is the shared subset with c#
[23:17]<rxrcr>some keywords are different, and others have no analog
[23:17]<fzzrjs>yeah, there would be a handfull of minor (syntactic) changes
[23:19]<krffnjs>but I can't believe that there aren't any classes for working with csv in the whole .NET
[23:20]<rxrcr>Kalleos, hardcore microsofties will tell you to use oledb with a custom datasource
[23:21]<rxrcr>Kalleos, that solution sucks imo
[23:21]<rxrcr>Kalleos, but noone's been man enough to write a better way because not that many people use csv over xml
[23:21]<krffnjs>well, I just want to program a poem generator
[23:21]<krffnjs>I have to save a small vocabulary
[23:22]<krffnjs>Do you got a better idea to save the few data?
[23:22]<krffnjs>+have
[23:23]<rxrcr>er, depends on how much work you want to do ;) You can use Xml, serialization, plain text word files, embedded databases
[23:23]<pz2>or, write an application that connects to a random poetry website and scrapes the poem :)
[23:24]<krffnjs>lol
[23:24]<krffnjs>nice one
[23:24]<fzzrjs>hehe
[23:24]<rxrcr>if it's a linguistics-based program, you might consider using word files. If you really wanted to get into it, you could use netspell.
[23:24]<krffnjs>embedded databases? But the user will have to build up a server doesn't he?
[23:24]<pz2>Kalleos, no, .net has native routines to access a local mdf file
[23:24]<rxrcr>netspell has some really interesting wordstorage schemes based off ispell; basically words are compressed by converting a word into it's root form along with a list of affixes
[23:25]<rxrcr>it's kinda cool
[23:25]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[23:25]<krffnjs>too bad, it must be a german generator :/
[23:26]<ajdfyfnz>;)
[23:26]<rxrcr>hrm, that shouldn't be much of a problem either
[23:27]<rxrcr>Kalleos, basically the point I'm trying to make is there are options.
[23:27]<vyvrgyr>hi. is there a built in way to have a message history in one lined textbox/rtb?
[23:27]<vyvrgyr>accessed via arrow up/down, like in most programs
[23:28]<rxrcr>if you still want to use csv, say because its easy to export them from excel, then you can use largos' suggestion, or write your own parser ;)
[23:28]<pz2>ok, I added a Keyword, but I've forgotten how to find them
[23:28]<krffnjs>I thought that I have to open a sql server If i want to use a database
[23:28]<pz2>"Task List" items
[23:28]<rxrcr>or use oledb to access them, but that requires some lame windows administration setup to add the csv as a flatfile database to DataSources
[23:29]<rxrcr>Kalleos, you can, but it's not the only option
[23:29]<pz2>Kalleos, in .NET 2.0, there are at least 5 different methods of getting access to a datastore
[23:29]<krffnjs>yeah, that's the think i would dislike
[23:29]<krffnjs>-k +g
[23:29]<krffnjs>hm
[23:29]<krffnjs>i think i will google for datastory
[23:29]<krffnjs>-y +e
[23:30]<krffnjs>thx competent guys
[23:31]<rxrcr>also, if you're not married to C#, other languages have csv parsing options. I know for sure python has some decent tools, and appearently so does java
[23:32]<krffnjs>i think im already married
[23:34]<krffnjs>I don't get it. What is Datastore? Is it used via oledb or something like that? Where in the namespace can I find classes about it?
[23:36]<krffnjs>I don't have to make with some gay windows tool a datesource for it, do I?
[23:37]<krffnjs>s/datesource/datasource/
[23:39]<d00g>Kalleos: Are you having problems parsing CSV ?
[23:40]<krffnjs>no, I try to find the right medium to save my data
[23:40]<krffnjs>22:29:11 › [ frb ] Kalleos, in .NET 2.0, there are at least 5 different methods of getting access to a datastore <-- he said something about a datastore
[23:40]<fzzrjs>Kalleos: hm.. probably take another 2 hours to port OpenCSV -- do you need it today?
[23:40]<d00g>what kind of data, how much (estimate)?
[23:41]<fzzrjs>(not counting unit tests)
[23:41]<pz2>datastore is a generic computing term used to describe a place to store data
[23:41]<krffnjs>like 200-400 rows and 4 columns
[23:41]<pz2>it can be a full RDBS, a local db file (like access), it can be XML, plain text, it can be in memory....
[23:41]<krffnjs>strings and integers
[23:42]<d00g>Use MySQL, it's fast like a Ferrari
[23:42]<pz2>but since the datastore is abstracted by the API, (System.Data namespace) it's better to use a generic term, than get confused with specifics
[23:42]<krffnjs>The user should just start my program without configuring some sql server
[23:43]<krffnjs>and without setting up some datasources
[23:43]<d00g>deploy your app with a pre-configured MySQL
[23:43]<krffnjs>but it's not much data
[23:43]<d00g>then use MS Access
[23:43]<vyvrgyr>is there a built in way to have a message history in one lined textbox/rtb?
[23:43]<krffnjs>gosh i think i will use xml
[23:43]<axzysvy>how can I run an external program with arguments that have spaces? something like notepad "C:\documents and settings\...\abc.txt"
[23:43]<krffnjs>Do you know a nice xml editor?
[23:44]<krffnjs>so I can enter my 200 rows of data
[23:44]<txnjzd>Kalleos: what form is your data in atm?
[23:45]<txnjzd>christi: you looked at System.Diagnostics.Process?
[23:45]<krffnjs>well, in an excel table - but when excel exports it to xml
[23:45]<krffnjs>the file is disgusting
[23:45]<krffnjs>a really bad structure
[23:45]<axzysvy>Theory: arguments is a string, not a list so I must quote the args manually
[23:45]<txnjzd>Kalleos: you using the latest excel?







