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.63 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-19
[18:50]<azyfm>but none that focused on the language
[18:50]<vjvrfd_fjsv>but it gets into c# general
[18:50]<svzz[wjzc]>totaly_lost i need that also, just moved to C#
[18:50]<svzz[wjzc]>:)
[18:51]<vjvrfd_fjsv>and Noyes focues only on datasources, databindings
[18:51]<svzz[wjzc]>okay i'll take note of that thanks
[18:51]<vjvrfd_fjsv>i've had a chance to read oreilly, wrox books about c# - mostly crap compared to Troelsen
[18:52]<svzz[wjzc]>http://www.amazon.ca/exec/obidos/ASIN/032126892X/qid=1148053895/sr=8-1/ref=sr_8_xs_ap_i1_xgl/702-9920371-0220845 <- this one totaly_lost?
[18:52]<vjvrfd_fjsv>yes
[18:52]<svzz[wjzc]>okay i'll bookmark it for later thanks
[18:52]<vjvrfd_fjsv>:)
[18:53]<azyfm>"My gut reaction was, "Will anyone need a whole book focused on data binding?""
[18:53]<azyfm>heh
[18:53]<azyfm>that's my thought too
[18:53]<vjvrfd_fjsv>:))
[18:53]<azyfm>Hm, wonder if I can get my boss to pay for this one
[18:54]<vjvrfd_fjsv>heh :D
[18:54]<azyfm>We do *a lot* of databinding
[18:54]<svzz[wjzc]>my boss just bought me Troelsen's i'll wait a couple of weeks before asking for another :P
[18:54]<vjvrfd_fjsv>Arild well if you are not new .. maybe it's not worth, but for me it was good
[18:59]<azyfm>well, done a lot of databinding, but a lot of it has been trial-and-error
[19:02]<svzz[wjzc]>OMG... giving a Datatable to a combobox is a reference... so i must keep the datatable intact in order to keep the combobox filled.. that's scrap! i'll for loop the reader and load it manually
[19:02]<svzz[wjzc]>:P
[19:03]<azyfm>but then you need to define a class
[19:03]<sdnffdxdlld>the idea of data binding is that its bound :P
[19:03]<dzdyzzz-wjzc>sorry, was busy.
[19:03]<sdnffdxdlld>apress pro ado.net 2.0 has lots of info on simple and complex data binding in .net 2.0
[19:04]<dzdyzzz-wjzc>don't know how you'd do it with databinding - i played around with it in early .net 1.1 days and decided it was inflexible, awkward, slow, overly complex and difficult to reconfigure on the fly.
[19:04]<vjvrfd_fjsv>damieng-work in 2.0 it has changed
[19:04]<dzdyzzz-wjzc>all my stuff uses mvc style techniques. adapters and event notifications.
[19:05]<azyfm>you can use MVC with databinding
[19:05]<dzdyzzz-wjzc>totaly_lost - i'd rather keep my skill set portable.
[19:05]<vjvrfd_fjsv>:)
[19:05]<dzdyzzz-wjzc>plus on the system i'm working speed is of the essence.
[19:05]<dzdyzzz-wjzc>it deals with huge amounts of data.
[19:11]<erryr>Do .NET questions go here ?
[19:11]<azyfm>sure
[19:12]<erryr>I have a dialog class derived from Form, and have ListBox in it. I add items in ListBox.items.add()
[19:12]<erryr>But only the items I've added before form.showDialog is painted
[19:12]<erryr>any idea ?
[19:12]<wyfaj>ShowDialog opens a modal dialog, and will only return once the dialog is closed.
[19:12]<erryr>oooh
[19:13]<erryr>how can I make a "debug console" then ?
[19:13]<erryr>which will always be open as the program runs
[19:13]<azyfm>make your app a console app and just do Console.WriteLine
[19:13]<wyfaj>I'm missing the relation to your question and debugging
[19:13]<erryr>it's not
[19:13]<azyfm>you can still show forms
[19:13]<erryr>it's a msn messenger plugin
[19:13]<wyfaj>lookup System.Diagnostics.Debug/Trace
[19:13]<erryr>I'm trying to make a debug console for thsi thing, that's the relation :)
[19:14]<erryr>the .dll loads in MS Messenger, so it's a bit hard tedious to debug as it is now
[19:14]<azyfm>make a form and show it non-modally?
[19:14]<azyfm>why? can't you attach the debugger to Messenger?
[19:14]<erryr>Arild, how so ? this is the fist few hours I'm in this stuff :)
[19:14]<dzdyzzz-wjzc>Arild I have a suggestion for ankhsvn.
[19:14]<azyfm>instead of ShowDialog(), call Show()
[19:15]<erryr>that crashed the first time I've tried iirc
[19:15]<erryr>let me try
[19:15]<dzdyzzz-wjzc>The behaviour of Revert needs to be a bit more sane.
[19:15]<dzdyzzz-wjzc>For nodes you've edited you'll lose your work
[19:15]<azyfm>well, it does ask
[19:15]<dzdyzzz-wjzc>yes
[19:15]<azyfm>"Do you really..."
[19:15]<dzdyzzz-wjzc>but for nodes + i.e. new
[19:15]<dzdyzzz-wjzc>you don't loose your work.
[19:16]<azyfm>That's a feature
[19:16]<erryr>oh it looks like working
[19:16]<dzdyzzz-wjzc>so one method is destructive, the other is not.
[19:16]<erryr>cool, thanks
[19:16]<dzdyzzz-wjzc>and it all depends if an item has a little yellow + or not
[19:16]<azyfm>Lets you rename added items
[19:16]<azyfm>Revert->Rename->Add
[19:16]<dzdyzzz-wjzc>right, i was wanting to rename two files
[19:17]<dzdyzzz-wjzc>i thought there were new - didn't realise i'd commited them earlier today
[19:17]<dzdyzzz-wjzc>so the procedure i needed to follow to rename them is revert...
[19:17]<dzdyzzz-wjzc>which is fine if they've never been added
[19:17]<dzdyzzz-wjzc>but destructive if they have.
[19:18]<azyfm>So what are you suggesting?
[19:18]<dzdyzzz-wjzc>i don't have an answer
[19:18]<azyfm>Our behavior matches that of the command line client
[19:18]<dzdyzzz-wjzc>i just think it's bad to push users down a potentially destructive route for what should be a non-destructive op
[19:18]<wyfaj>renaming and svn/tortoise.... I still don't know which one is a total screwup when it comes to renaming stuff
[19:19]<azyfm>"Revert" is implicitly destructive
[19:19]<dzdyzzz-wjzc>but it's not if you haven't actually commited yet - i.e. in the + add state
[19:19]<wyfaj>all i know is that when i attempt to do a rename, i make a backup on the client because either svn or tortoise can't be trusted when doing a rename
[19:19]<dzdyzzz-wjzc>no
[19:19]<dzdyzzz-wjzc>thats not the solution
[19:20]<azyfm>two more, then?
[19:20]<azyfm>three?
[19:20]<dzdyzzz-wjzc>the ideal solution would be to allow rename of modified items
[19:20]<dzdyzzz-wjzc>thereby avoid the whole revert or commit + rename path
[19:21]<dzdyzzz-wjzc>i guess thats more of a core svn problem?
[19:21]<wyfaj>it's just silly that such non-trivial things screw up.
[19:21]<azyfm>PS D:\halftemp\wc\WebSite2\Website2> svn add bleh.cs
[19:21]<azyfm>A bleh.cs
[19:21]<azyfm>PS D:\halftemp\wc\WebSite2\Website2> svn ren bleh.cs foo.cs --force
[19:21]<azyfm>svn: Cannot copy or move 'bleh.cs': it's not in the repository yet; try committi
[19:21]<azyfm>ng first
[19:21]<dzdyzzz-wjzc>wilco, i've only had problems with rename when the file has codebehind/resources attached







