« first day (13 days earlier)      last day (4951 days later) » 

2:00 PM
good question, you should post it
 
MVVM make sense with done in Silverlight or WPF with binding and command, all working together to give u true separation of concern
 
Also in ASP.Net MVC2, MVVM is just so pretty :3
 
seriously, sometimes i think my boss tries to find the most asinine obscure problem domain, makes it even more obscure and then implements it for two users.
 
I love having a solidly typed class to access everything I need in my view
 
:))
 
2:01 PM
@entens example?
 
@entens For example?
 
i'm just curious to know what it means to 'implement an obscure problem domain'
 
We have a non-standard UML-esque Visio template for describing IO points on PLC's. Right now we conceptualize everything in Visio, then transfer the data to spreadsheets where it is easier to manipulate.
 
what is a PLC
 
A programmable logic controller (PLC) or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or lighting fixtures. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an exam...
 
2:08 PM
ooo i like the sound of that :D
 
is there some easy way to figure out where my exception is being caught?
 
@tomdietrich what exception?
 
stacktrace?
 
I'm throwing my own exceptions from my domain when constraints are violated
 
o
 
2:12 PM
the UI is set to catch those types of exceptions and display a friendly popup
and it's not
 
Are you looking for data on class/function/line or context of why it threw?
 
I am watching it throw from a breakpoint
I want to know what's catching it between the Domain and the UI's app events
 
are you using a logging library like log4net?
 
you know I've been meaning to learn how to use that
but no
 
yeah... log4net or nlog would probably be a good way to clean up your problem
 
2:15 PM
so I finally thought of an idea or a side project, I want to make an app that is a little pair of binoculars icon in your taskbar, or possibly as a plugin to a chat client, and then you click it in relation to a friend who also has it installed on their machine, draw a little box on your screen and they can instantly peek..
...at a live real-time view of that area on your desktop, the goal is for it to be really quick to do unlike GotoMeeting where you have to set up a meeting and all this other garbage
 
... aka vnc?
 
so i could be like, hey check out this code and execution... etc
i dunno, is that as fast as my description?
i just want it to literally be like 2 clicks and you're in
 
probably could optimize yours
 
it would be cool if you could have a window for both people going and then drag and drop files too
 
@LasseVKarlsen not to burst a bubble but you could you know, they just chose not to. See cf msdn.microsoft.com/en-us/library/… where they reference that server 2003 could run 32 bit with much larger memory spaces ... it was an architectural decision that was carried through as a business rule. But I'm sure that Lasse knows this, it's the rest of the chatroom I don't intend to explain it too. I just wanted to point it out.
 
2:18 PM
check out jing
tell it you want to make a movie
draw a box on your screen
 
I have Jing but I thought that was just for screen recording
 
do your thing and narrorate
then e-mail them a link
it is for screen recording
 
yeah but i want a live thing
so my friend could say, try this, and i could do it, live
 
yeah that'd be pretty cool
 
instant desktop peek
we use gotomeeting a lot but i have to create a new meeting, send them credentials, fire up all this extra stuff that goes with it
im not sure what i would use to make this though, i have no idea how to capture realtime video of the desktop
nor stream it..
 
2:23 PM
Oh god. I'm looking at my old winforms UI code, and it makes me want to kill myself
 
well. i would probably set bounds on the screen such that i monitor (x,y, width,height) for differences at a set refresh rate (60ms maybe)?
server would send these as byte streams
client would decode byte stream to image
refresh image on receipt of new image
 
I can practically guarantee that there is a open source project for capturing screen to video.
 
continuing on @tomdietrich's statement you just would need to redirect the byte stream from the file system to your own protocol.
 
yes we heard you the first time.
 
yeah. did that by accident
VLC can send your desktop via stream
 
2:30 PM
Afternoon peeps o/
 
where you at @Sres
 
@Shogun UK
And now I'm afk for a brew.
 
We have this printed and stuck to our door at our office: imgur.com/jacoj
 
@entens as part of my EE minor I took some verilog classes. Since I was a CS kid, the professor thought it would be fun to have me duplicate a GE PLC on a Spartan. We got about 2/3 of it completely emulated, so they could work with the existing GE modules that the school already owned. It was an interesting project, to say the least, but I would have much preferred to have done something simpler, like implement a FFT or something ;)
@Shogun skype does this, as does Live Messenger, as does Microsoft Office SharedView (I think it's called)
 
OH yeah
you're right skype does do that
well im not wasting my time on it then haha
it would be cool to make a sort of standardized one that could be used with all the different chat protocols as a plugin for chat clients though
then i could be on google talk and connect with someone on AIM or something
 
2:39 PM
@drachenstern the complexity isn't the software, its making all the 3rd party modules that fit on the back plane work in harmony.
 
@entens at the time it was figuring out how to emulate the GE PLC in the first place in Verilog given nothing but a communications spec from the programmers guide (or something like that, it was 3 years ago and I didn't really want to do it in the first place. He just wanted to keep me busy and not interrupting the rest of the class wanting to get past "Parallel to Serial" type stuff) ~ Yay verilog ... :\
 
oh yeah. being given a 10 year old RFC and told to go implement it sucks so bad.
 
something like that, yeah ;)
 
What's the past tense of "I tweeted."? "I twatted."?
 
Whoever decided upon the terminology "tweet" didn't really think the idea through...
 
2:46 PM
lets twat together
 
lmao
yeah the only reason i dont have a twitter is because it sounds so fruity
hold on while i tweet something... wow
then i started to see it on magazine covers, "follow ashton kutcher as he tweets for fortune 500 company XYZ" that's when I knew things in america had taken a turn for the worst
 
i have to say though. twitter has replaced a large portion on my text messaging. i can send a single short message to multiple people and they can respond immediately from their phone or browser.
Meh. Looks like I'm stuck with the Visio COM objects. I hate office interop.
 
@SergioTapia I did tweet
 
another thing stopping me from joining is im not sure how i would actually recruit people to follow me
i dont really have a set of friends that already use it exclusively i can just join in
so i would just be tweeting to the server
 
@Shogun why? you just get on there and use it for you
 
2:50 PM
Oh wow, this article from the Onion is hilarious! theonion.com/articles/…
 
people will follow or not as they like
 
how does anyone see my tweet?
if they are not following me
 
I use it for instant aggregation of news
@Shogun they will either follow you or they will find your tweets from searches, like if you use #hashtags
 
On-topic: I use twitter just becuase I can have a direct line to people like Scott Hanselman, my friends on DreamInCode, or MOTHERFUCKING ICE-T
 
it's nice to have a running stream on CNN and HeadlineNews and BreakingNews to see what's really going on in the world
 
2:51 PM
Sometimes IceT posts some funny shit :P
 
ah so the point is not for me to tweet as much as it is for me to read other peoples tweets
one thing i do like is how i can go and do the twitter search
and see peoples response to things in the media etc
that is really awesome
 
I use twitter because it lets me hear GrantImahara and WilWheaton bitch about their daily lives ;) ~~ no, really, the 140 or so I follow is rather entertaining and just up my alley on daily entertainment
@Shogun the idea is for you to use the service as it benefits you
@Shogun if we told you HOW to use twitter then you would be using our twitter, not so much your own
 
Not really, see if you have a good blog and post regular content you can push something lik "I just posted X" and people will probably find it and then start following you. The point is creating good posts, not random "i just took a huge dump" tweets :P having said that, what's your twitter acountt, i'll follow you
 
lol, same here
also, follow @twelvetwo
I think that's his name, now I gotta go check it out
 
@shitmydadsays
 
2:53 PM
i really didn't use it much, but then i started using the Chromebird plugin for Chrome.
 
@TwelveTwo
This is where I share the adventures of my day!
142 tweets, 1.4k followers, following 7 users
that guy is hilarious
 
@shitmydadsays
I'm 29. I live with my 74-year-old dad. He is awesome. I just write down shit that he says
131 tweets, 1806k followers, following 1 users
 
@Ihnatko, iPhone: 42.375122,-71.231750
Technology Pundit and Internationally Beloved Industry Personality.
10.6k tweets, 39.3k followers, following 318 users
 
@Shogun I really don't think that's your twitterhandle :p
 
I dislike the new twitter page, everything is in ajax and i have no idea if the page is loading or not., give me a fucking status bar!
 
2:53 PM
no that's not mine
 
@jeffblankenburg, Columbus, OH
I'm a passionate technologist, husband, and father in Columbus, OH. I work for a small software company located in Redmond, WA. #wp7 http://blankensoft.com
5.7k tweets, 2k followers, following 653 users
 
it's a cool one, like i said i dont have a twitter
 
amazingly enough, I'm at @drachenstern
@drachenstern, Shreveport, LA
What? I promise I don't remember doing it! ... Oh, did I? ... damnit!
3.1k tweets, 116 followers, following 124 users
 
how do you post twitter accounts like that?
 
@SergioTapia just give the URL, it oneboxes then for us
 
2:54 PM
Just post a link to it as a message by itself
And please use the sandbox room to test if you must

Sandbox

Where you can play with regular chat features (except flagging...
 
@LasseVKarlsen I don't think we're testing it so much as sharing some links, but I agree the oneboxing for the twittering is a little much ;)
 
how does that onebox thing work, could i implement that into my web app?
 
@Shogun They've added special code for each of the sites they support
 
oh would i need to pay for it?
 
2:55 PM
@SergioTapia you forgot the http://
 
Well it didn't box it :P
Nah I put the http in there
 
lies
 
@Shogun Pay for it? What do you mean?
 
word
 
@sergtap, Bolivia
I'm Sergio Tapia - a 21 year old programmer who happens to love coding in his spare time and pretty much anytime. Currently working with MVC2 and loving it!
109 tweets, 17 followers, following 42 users
 
2:56 PM
oh wait
 
interesting ... worked for me
 
it is a special thing created by SO?
 
@Shogun Yes
 
@Shogun yes
 
i've seen that type of thing on many sites so i thought it might be a SaaS
 
2:56 PM
well, by the stackexchange team, yes
 
thats what i meant ya
omg im dying over here i.imgur.com/iaAap.jpg
 
this is a guy that I enjoy following most days ;)
@MikeG1, Newburgh, IN
Rails developer, homeschooler, web worker, reader, writer. #dailygoals at http://bit.ly/ZXYmY
29.1k tweets, 1.9k followers, following 661 users
and @RockHardAwesome is growing so fast
 
Wonder what the next social phenomenon will be...
 
No that's older
 
3:01 PM
lol
 
shaken baby syndrome isn't new...
 
no but it's sad that we have to deal with it over a video game
I'm just curious if the upcoming dependence on social networking isn't somehow vaguely hinted at by Asimov in his Robots series ...
the absolute rejection of face to face communication
instead opting for a remote viewing experience, so to speak
 
3:24 PM
@TomDietrich
190 tweets, 43 followers, following 71 users
Go figure
 
@drachenstern 29 thousand tweets ... doesn't he have anything better to do? Trim that beard maybe? ;)
 
anybody there?
 
anybody where?
 
3:40 PM
under the stairs
 
@Joren lol, he posts frequently during the day, but he's funny often as not
and I'm out of the office twice in this hour, so ttyl (again)
 
hi everyone
 
hi
Does either WinForms or WPF have a decent file/directory browser control?
 
3:56 PM
Like OpenFileDialog?
 
Yeah, but not as inflexible
Most importantly I want to be able to select an arbitrary number of items, like a ListBox allows you
But still have a tree-like display like the Explorer shell
Hmm, there is a TreeView control ... I wonder what it looks like
 
Aye Treeview will work
 
Yeah, it looks like it could be something
Any idea if the WPF TreeView and WinForms TreeView are mostly equivalent?
 
WPF treeview is very different
you can completely customize it
see HierarchicalDataTemplate
it allows you to do a lot that was completely impossible with Windows Forms TreeView
 
I've been thinking about switching to WPF ... it appeals to me more, but I have less experience with it and I'm not really looking forward to rewriting my UI
 
4:03 PM
@Joren yeah, same situation. XAML looks awesome though.
 
Hi
Have a Question about Deadlocks and how to avoid them
 
@Joren You can always mix and match, if required
there's a bit of a learning curve, but it's very, very worth it
once you switch mindsets, you'll never, ever want to deal with event handlers again ;)
 
@Joren I thought the Windows OS native OpenFileDialog (etc) windows would do that for you
 
(Though I highly recommend learning the right way - which I have strong opinions on - reedcopsey.com/series/windows-forms-to-mvvm
 
I have an application that is riddled with inline SQL and routines that probably connect to the database about 2000 times.
 
4:09 PM
@drachenstern @Joren You can set Multiselect to true: msdn.microsoft.com/en-us/library/…
 
Anyone able to please explain Database deadlocks to a newbie so I at least understand what I need to change, if anything in this
 
Sorry- should be (grabbed SL link by mistake last time) msdn.microsoft.com/en-us/library/…
 
@ReedCopsey @Joren I thought so
 
@drach @Reed: Yes and no, I basically want to have an openfiledialog that's always visible and you can select and deselect files and folders from at will
 
@Joren: If you switch to WPF, just make sure that you don't try to write it like Windows Forms
 
4:10 PM
@Joren oh well that's completely different. In that case, yes, a treeview with some sort of binding to the FS, maybe even with a FSW object?
 
I'll read some of your posts on it first then :P
 
@Joren: You'll need a customized window/control for that - TreeView and ListView provide the tools you'd require to do it...
 
@Reed: Yeah, that's what I was thinking
Currently I have a horribly hacked WinForms ListView – the sooner I get rid of that the better :)
 
@Kobojunkie What is your question?
 
So sad that neither SWF or WPF have a built in file chooser control you can embed.
 
4:12 PM
SWF?
 
System.Windows.Forms (winforms)
 
Ah okay
Figures
 
@Pete are you sure that's a generic enough concept?
 
Microsoft doesn't ship controls for everything anyway, they leave some to 3rd party vendors
You'll probably find a decent enough control on codeplex or similar
 
@drachenstern "Select files without popping up another window/dialog" seems generic enough to me...
 
4:15 PM
But not common enough
 
I challenge the premise that any controls in .NET should be generic :P
 
@Pete It's something that doesn't really exist in any MS tools - the standard workflow is to prompt for files modally
 
@ReedCopsey agreed on that one, who really, outside of Windows Explorer, keeps a running list of the files available on the system?
 
In Win32 though you can use the explorer shell for your own purposes
There are some very useful UI controls in Explorer, I would love to have access to them from .NET (without P/Invoke or COM hoops to jump through)
Watching the languages panel vid on PDC now
Erik Meijer and his shirts :P
 
Question for you guys - do you know of a reason why code (other than potentially pre-.NET 4 singletons) should rely on static initialization behavior?
 
4:30 PM
@ReedCopsey the only reason I can think of for static initialization is for singletons, and the only singletons I can think of that would need that sort of thing would be for in-memory configuration settings to keep inner-loops fast
 
yeah - and with .NET 4, you don't need it anymore there, either
2
Q: Static field initializer runs before Application_start, sometimes

WhiteknightI've got an ASP.NET web app that is starting to show some very strange behavior. Here's some example code: // in Bar.cs public class Bar { public static Baz baz = Something.Step2(); } // in Global.asax public void Application_Start(...) { Something.Step1(); } The short version of the ...

that question got me wondering - I see this issue pop up every now and then
where people don't understand the initialization behavior changes with or without a static constructor, and things break
but I don't know of a single good reason it should matter post .NET 4
 
I use static constructors for doing stuff that I would ideally want to do at compile time but can't. E.g. prebuilding state machines, doing some processing on resource strings, stuff like that
But what has changed in .NET 4 then about static initialization?
 
Lazy<T>
makes singletons and most static initialization requirements much, much better
because it's deterministic, truly lazy, and thread safe
without any worry about beforeFieldInit issues
 
Oh, okay
But some things you know you're going to be using
So I see no need to initialize those lazily
As for when static initialization happens exactly ... you just shouldn't write code that depends on that :P
 
yeah
 
4:38 PM
But sure, for singletons
Not that I ever use those
Evil stuff
If I want several components to have access to the same Foo instance, then I just create one Foo instance and pass it around
 
hehehe, I'm a bit more pragmatic - I still use them on occasion, though its rare
 
Making Foo a singleton doesn't scale well
 
passing references gets nasty - prior to using DI, it was a pain
 
Does anyone have experience with VB.Net to C# code convertors? I have a few files I need to convert but I don't have much time to do them by hand.
 
Not me
 
4:44 PM
@kervin Most work reasonably well
as long as you're not using an vb6 compat routines
then they occasionally fail
 
@ReedCopsey thanks. You have the name of one you've used? BTW, the VB.Net is very clean and standard. It's really a time/schedule issue for me.
 
I usually use Telerik's converter.telerik.com
If it fails, I try Dev. Fusions: developerfusion.com/tools/convert/vb-to-csharp
 
@ReedCopsey Thanks a lot!
@ReedCopsey BTW, what do you think about Telerik's tools in general? I've used DevExpress for a few years now, and they're ok usually ( don't use them for web stuff anymore though ).
 
@kervin I, personally, love the Telerik ones (though my experience is limited to the WPF tools)
I've used (and purchased) DevExpress, Infragistics, and Telerik tools
DevExpress is nice, but the desktop tools always have a "cartoonish" look to me - so for my clientele, it never seems appropriate
Telerik is the new kid on the block, but I like their company culture the best, so I recently switched from IG to Telerik for my new development
 
@ReedCopsey I second the telerik converter btw
 
4:51 PM
@ReedCopsey I see, thanks. I've tried them in the past, will keep them in mind. The converter worked great, thanks.
 
np
Telerik's not quite as "complete" feeling as some of the other toolkits
(oh, you can add Syncfusion to my list, too - though I strongly recommend avoiding them for everything but winforms)
But I think Telerik's catching up, and they always seem to "get it" in terms of building components that just feel native, but better
all of the other companies kind of have their "own" way of doing things - Telerik's feel a lot more like the framework controls, but with extra features added
 
i'm still waiting for someone to make a good trend chart/realtime scientific chart for winforms that works well with large datasets so i can stop using zedgraph.
 
BTW, I was wondering why the output on several converters had the same comments. Then I saw the 'NRefactory' reference ( wiki.sharpdevelop.net/NRefactory.ashx )
NRefactory project has a convertor of their own... codeconverter.sharpdevelop.net/SnippetConverter.aspx
 
I'm waiting for someone to release a nice SVG charting component (or really anything that's not flash) that will let me pipe in various forms of data (JSON leaps to mind, although there is surely something faster/easier to work with) that I can run in pretty well any browser for displaying dynamic charts, that allows me to have zoom and slideresque functions
guess what my next weekend project is going to be focused on?
 
@drachenstern make it work on winforms and i'd buy it
eh, i'd probably use a web version for my weekend warrior project too
 
5:00 PM
lol, I bet ... I don't know how that control would embed, since I'm thinking something that's probably going to be entirely processed clientside, with a minimal amount of serverside processing
that's my gamble anyways, there may be a reason nobody's done it, right?
two reasons to scratch: money, itch
I've got the itch but it may pass
 
interesting - just had somebody ask if they can translate my blog into Russian :S
 
interesting indeed @ReedCopsey
 
:|
 
at least they asked
 
why would anyone want to do that
 
5:02 PM
... they're russian?
 
@ReedCopsey you should ask if they can include one of their ads to use your google adsense id...
 
so their friends can read it?
lol, that might be a good idea there @entens
actually, that's a tavern question, I'll slide over there
 
5:17 PM
@ReedCopsey I had that happen to my wordpress blog... shortly after it was hacked
and it must have been a system thing with my host because i had no forms on my website except for the wordpress forms... which i secured according to their manual
 
mmm - interesting
I'm self-hosting mine, at least
so hopefully it won't be a problem :S
 
5:29 PM
And let the misunderstandings begin! :S
4
Q: How does C# 5.0's async-await feature differ from the TPL?

zildjohn01I don't see the different between C#'s (and VB's) new async features, and .NET 4.0's Task Parallel Library. Take, for example, Eric Lippert's code from here: async void ArchiveDocuments(List<Url> urls) { Task archive = null; for(int i = 0; i < urls.Count; ++i) { var docu...

 
?
doh
The question title alone ...
How does C# differ from the .NET Framework? :P
 
@Joren lol ditto... I wish I was more involved with .Net at my job or had more free time to play around with it more
 
5:44 PM
Gilad Bracha is hilarious :)
 
5:56 PM
@Reed: Is there a decent way to have a task ContinueWith one of two possibilities without resorting to using exceptions for normal flow control?
Basically I want to encapsulate something like this in Tasks and ContinueWiths:

Foo(Action continuation1, Action continuation2)
{
if (stuff) continuation1(); else continuation2();
}

I could do `if (stuff) throw whatever;` and then use the TaskContinuationOptions OnlyOnFaulted/NotOnFaulted to disambiguate
But I'd rather not use exceptions for this if I can avoid it. The flow control is far from exceptional
I guess I can return return a value to a mediating ContinueWith'ed task that does the switching
 
is stuff supposed to run async?
 
Foo entirely
 
one sec
how is "stuff" being determined?
is it a result returned from Foo?
 
Yeah, let me be a bit more explicit. I'll write a bit more explicit code in Gist or something
 
One of the failings we as a group, programmers, have, is that we try to analyze what the person that asks questions means, and then we answer the question we thought was asked, instead of the question that was actually asked
So I ask again
Is stuff (by itself) supposed to run async?
 
6:09 PM
Not in the context of the task that it's already running in
 
Ok
so what about just
if (stuff) starttask(continuation1); else starttask(continuation2);
 
just a sec
gist: 654056, 2010-10-29 18:18:13Z
// Looking for basically this functionality:

Action cont1 = ...;
Action cont2 = ...;

var scheduler = TaskScheduler.FromCurrentSynchronizationContext();

Task.Factory.StartNew(() =>
{
   if (some-synchronous-computation())
       Task.Factory.StartNew(cont1, ..., scheduler);
   else
       Task.Factory.StartNew(cont2, ..., scheduler);
});

// But then without the lambda needing to close over the continuation delegates and especially the TaskScheduler.
// That is to say, I want something much more like this:

var task = Task.Factory.StartNew(() =>
{
   if (some-synchronous-computation())
       throw new Exception();
   else
       return;
});

task.ContinueWith(cont1, TaskContinuationOptions.OnlyOnFaulted, TaskScheduler.FromCurrentSynchronizationContext());
task.ContinueWith(cont2, TaskContinuationOptions.NotOnFaulted, TaskScheduler.FromCurrentSynchronizationContext());

// But then without the arbitrary exception throwing that really has no place in the code.
// What would you suggest as an elegant way to deal with this?
Does that make it clearer what I want to accomplish?
There's a few compilation errors in there of course
 
Not sure, it looks to me as though you just need to make the method return a bool
and then add a continuation task that uses that bool to pick the next step
But I still don't know why you simply can't start the next tasks from within that if-statement itself
or why you need tasks at all here
 
I can, but I don't want to :P
 
why not?
 
6:22 PM
Because I don't want to drag a synchronization context in from nowhere
Running on that context is a requirement of the continuation functions, the main task has nothing to do with that
 
ok, then a method that returns bool, and a continuation task that picks the next step
 
Yeah, that'd be okay
I was mostly wondering if there were any super-elegant alternatives
As for why I need tasks at all, the main task is started from the UI thread, which I don't want to block, and the synchronous-computation is relatively heavy
And the continuation tasks need to run on the UI thread again
 
it's two actions you want to run?
Why are you trying to avoid closing over the actions?
 
One of the two
 
it's much, much easier to handle it if you just use a lambda that closes over them
 
6:33 PM
I need find information abou EMV library? Anybody can help me?
 
Because I prefer the linear model of ContinueWiths over extensive nesting of tasks
 
gist: 654094, 2010-10-29 18:34:37Z
Action cont1 = ...;
Action cont2 = ...;

Task.Factory.StartNew(() =>
{
   if (some-synchronous-computation())
       return true;
   else
       return false;
}).ContinueWith(t =>
{
    t.Result ? cont1() : cont2();
}, TaskScheduler.FromCurrentSynchronizationContext());
That's how I'd do it
(though I'd do return some-synchronous-computation();
instead of the if/else
 
Yeah, that's pretty elegant
 
gist: 654100, 2010-10-29 18:35:56Z
Action cont1 = ...;
Action cont2 = ...;

Task.Factory.StartNew(some-synchronous-computation)
            .ContinueWith(t =>
                {
                    t.Result ? cont1() : cont2();
                }, TaskScheduler.FromCurrentSynchronizationContext());
still closes over the actions, but at least the code is "clean" - and it only has a single continuation
 
Yeah
 
6:45 PM
@LasseVKarlsen So - I've got to ask - what's with the room description?
 
At the time it was made, there was two C# rooms
this one + one without traffic
if you got a better idea, let's hear it :)
 
i think it still works in the C# vs VB.net sense...
 
I like something to the tune of "Either Jon Skeet answered you or GTFO" hehehee, no really, not that, that's crap
 
I'd prefer something without making reference to Jon Skeet ... silly stackoverflow meme
 
lol, I know
hence I haven't come up with any good names myself, natch
The bit about there being only one is too highlander tho, inmy eversohumble opine
 
6:50 PM
I was just curious - as the other room's gone now (I think)
and the description has nothing to do with C# ;)
 
could always just call it "Discussion of C#" or "using StackOverflow.Chat;" or something
 
or c++++
 
Given an array of strings a, I want to select using LINQ all strings but the first
 
a.Skip(1)
 
the array may have 0 or 1 strings, in which case I should get an empty collection
I don't want to modify the array
almost like a.ForEachButFirst :)
 
6:52 PM
I have a fairly good understanding of the basics of c#; however, I seem to be really struggling with classes, class types, and class interactions. It's one thing to read what classes are in a book, but it's something else trying to implement them
 
otherwise, I'm stuck with a for loop from 1 to a.Length
 
@Michael
2 mins ago, by Joren
a.Skip(1)
 
oh, sorry I missed that, thanks
 
Under 10 characters, easy to miss :P
 
Ahh - I like that one :D
 
6:55 PM
me too
 
Mathematica has an even better one
Called Rest :P
No arguments except the list
 
which it stole from lisp
cdr anyone
(vs car)
or is that scheme
 
No idea. All of these functions are functional language staples anyway
Haskell has tail
 
(though, it'd technically have to be strange class that implements GetAwaiter(), BeginAwait(), etc)
 

« first day (13 days earlier)      last day (4951 days later) »