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-24
[18:06]<mjzymygo>Arild: nope.
[18:06]<azyfm>you can use ClrDebug, though
[18:06]<azyfm>it *can* attach
[18:06]<mjzymygo>yeh, manually ;)
[18:06]<mjzymygo>if you know the way to do it tell me as well
[18:06]<sdnffdxdlld>express can't??!! :'(
[18:06]<sdnffdxdlld>suck arse
[18:06]<mjzymygo>totally
[18:06]<azyfm>"manually"? it works the same as the VS debugger
[18:07]<azyfm>it *is* the VS debugger
[18:07]<mjzymygo>Arild: it's not part of Express directly. it's a 'lite' version
[18:07]<sdnffdxdlld>yer the clr debugger will do it
[18:07]<mjzymygo>ignore last stupid statement
[18:07]<mjzymygo>(just did it)
[18:07]<azyfm>I'm talking about the GUI debugger that ships with the framework
[18:07]<sdnffdxdlld>yer Arild
[18:07]<mjzymygo>arild: as I said.. ignore my last dumb fuck statement
[18:08]<azyfm>%SDKDIR%\GuiDebug\DbgClr.exe @ StaZ[work]
[18:08]<svzz[wjzc]>Arild lemme check out
[18:09]<zyccus>Moridin8: about using String.Format... if you have a suggestion for a more tidy way of sticking the database name into the middle of a string, please let me know. I'm still planning a named-parameter version of String.Format.
[18:10]<mjzymygo>Rikkus: I didn't say my solution would be tidy ;) just quicker ;)
[18:10]<sjg>:)
[18:10]<mjzymygo>and a named parameter of the String.Format I think is still a good idea anyway
[18:11]<mjzymygo>besides, VB.NET has the With/End With construct, so using StringBuilder would still be better
[18:11]<svzz[wjzc]>nothing appears in the debug window using the debug.WriteLine
[18:12]<mjzymygo>C# needs the with/end with kinda thing.... With(){} would be cool
[18:12]<mjzymygo>even if it was just a compiler nicety
[18:12]<svzz[wjzc]>and i have no GuiDebug folder on my C:
[18:12]<zyccus>it's quite nice - but I've avoided using it for some reason
[18:12]<azyfm>don't you have the .NET SDK installed, StaZ[work]?
[18:12]<currpurjrv>StaZ[work]: it should be in C:\Program Files\Microsoft.NET\v...\SDK
[18:13]<mjzymygo>rikkus: why?
[18:13]<mjzymygo>I'd use it
[18:13]<svzz[wjzc]>doesn't it come with VC# ?
[18:13]<mjzymygo>I grundgingly have to admit that it's a feature of VB.NET I miss
[18:13]<zyccus>Moridin8: not sure... perhaps because I don't get to use it elsewhere
[18:13]<mjzymygo>=)
[18:15]<mjzymygo>yup you can
[18:15]<zyccus>good :)
[18:15]<zyccus>was a bit worried then
[18:15]<zgzzcygnv>but
[18:15]<zgzzcygnv>only on constant strings
[18:16]<currpurjrv>therein lies the rub
[18:16]<zyccus>there's C, where you can't switch on anything that won't convert to a number, and Ruby where you can switch on anything, e.g. regex
[18:16]<zgzzcygnv>like switch (myStringVar) { case "Something": break; }
[18:16]<azyfm>you can't switch on anything non-constant anyway
[18:16]<mjzymygo>switch(someStringvar){case "literal1": etc...
[18:16]<zyccus>k
[18:16]<svzz[wjzc]>oh gosh, 350 mb
[18:16]<svzz[wjzc]>>_<
[18:17]<currpurjrv>StaZ[work]: for what?
[18:17]<mjzymygo>To switch on string in C you have to result to all kinds of fudges
[18:17]<azyfm>C doesn't have strings anyway
[18:17]<svzz[wjzc]>kungfugoat the .net 2.0 sdk
[18:17]<currpurjrv>drop in the bucket
[18:18]<currpurjrv>I'm sure we all have terabyte drives
[18:18]<mjzymygo>Arild: good point, it has char arrays. but an array of chars is technically a string
[18:18]<svzz[wjzc]>which seems not to be included in VC# 2005... even though VC# 2005 take 1gb
[18:19]<currpurjrv>I remember having fun with char arrays
[18:19]<currpurjrv>don't forget the terminator
[18:19]<mjzymygo>kungfugoat... "fun"
[18:19]<mjzymygo>hehe
[18:19]<mjzymygo>I ended up on the Amiga creating my own type that used malloc ;)
[18:20]<drsljur>OMG
[18:20]<mjzymygo>with a little pointer work it worked nice enough when I needed variable size strings
[18:20]<currpurjrv>can't beat human ingenuity
[18:20]<drsljur>OMG
[18:20]<drsljur>njit people
[18:20]<currpurjrv>you also can't beat human stupidity
[18:20]<drsljur>there's more than one of me!!!
[18:26]<sdnffdxdlld>god I hate making GUI stuff work with resizing
[18:27]<azyfm>.Dock is your friend :-)
[18:27]<pzrrnrvqt0wr>.SmackUser is also your friend.
[18:27]<sdnffdxdlld>.Dock and .Anchor are a pain in the arse :P
[18:28]<azyfm>nah, they work fine
[18:28]<azyfm>just use a lot of panels and subpanels etc
[18:28]<sdnffdxdlld>those 2 properties alone are nowhere near enough to get a complex gui resizing
[18:28]<sdnffdxdlld>exactly pain in the arse
[18:29]<azyfm>they are enough, it's just a matter of knowing how to use them effectively
[18:29]<zyccus>but yes, there's limitations
[18:29]<azyfm>You don't really need .Anchor either, using only .Dock is enough
[18:30]<zyccus>if you stick loads of panels all over the place, yes
[18:30]<azyfm>You don't need all that many
[18:32]<sdnffdxdlld>"knowing how to use them effectively" is knowing its a pain in the arse to have lots of panels and achoring and docking around :P
[18:32]<sdnffdxdlld>its effective but a pain in the arse :P
[18:36]<zyccus>the most comprehensive set of layout tools I've seen is that of Qt - and even then you get stuck
[18:39]<gjrvcxnne>REALLY good page on IEEE 754 (floats) http://ridiculousfish.com/blog/archives/2005/09/26/float/
[18:39]<gjrvcxnne>note the: Oh, and every integer from 0 up to and including 224 (floats) or 253 (doubles) can be exactly represented. This is interesting because it means a double can exactly represent anything a 32-bit int can; there is nothing lost in the conversion from int->double->int.
[18:40]<pzrrnrvqt0wr>GoatCheez: good to know.
[18:41]<gjrvcxnne>yeah, definitely a good ref page
[18:46]<z2zzcnv>Question. I'm running SQL Server 2005 and using VS05... I want to be able to just Add->New->SQL Database from within a VS project, but it tells me I need to install SQL Express or some other silly such thing. Can I make VS work properly with commercial sql server, or do I have to use the freebie?
[18:47]<azyfm>VS should work just fine with MSSQL Standard++
[18:47]<z2zzcnv>Yeah I assumed it would, I just can't figure out how to configure VS to use it rather than lookin for Express
[18:48]<z2zzcnv>I actually think I may have just found the solution, trying something
[18:48]<azyfm>you're looking inthe Server Explorer, I hope?
[18:50]<sdnffdxdlld>heh stupid VS bug: it seems to think "public class PSAddressDetails : PSAddressDetails<AddressBusinessObjectBase>" and "public partial class PSAddressDetails<T> : UserControl" are "several partial classes in a file"
[18:50]<sdnffdxdlld>visualstudio--
[18:52]<rwyfcygs>SpikeLite karma visualstudio
[18:52]<sdnffdxdlld>SpikeLite karma visualstudio
[18:52]<slycnlyvn>smellyhippy, karma for visualstudio is 0







