« first day (791 days earlier)      last day (4165 days later) » 

12:07 AM
SO removed the bold from rep at the top of the screen, now it looks bland :(
shakes fist
 
Do you guys let your resumes go over a page?
 
If you have enough good stuff on there.
 
@Billdr I try to keep it really short, strip out all that I don't think is relevant or fresh
 
When reviewing, I don't want to see a bunch of random crap on a resume. But I also don't want to have anything important left out.
 
Well, I've got a lot of help desk experience, and not a lot of professional development experience.
 
12:10 AM
Hi !
 
hello
 
I have an issue using SiteMap. Can any one help me with that ?
 
@Billdr I think you should always lie/bs at least 30%, you don't want a job that is too easy
 
Did anyone else lose rep when they changed the font from bold to normal?
 
@TravisJ don't think so but not sure what I had before
 
12:12 AM
I was robbed of exactly 1 rep
 
GASP
 
lol the horror!
 
[]
I have copied your edit style ^
 
Nice :P
It is easy
 
Is there a way to search for [ in transcript?
 
12:15 AM
SO chat's search is worse than AltaVista
 
might be gems under those rocks
@Sabby62 never heard of it
 
So I tried to inherit from an entity and ran into another MySql Connector bug.
</3 Oracle.
 
yay BMO!
 
12:20 AM
@Sabby62 no idea sry
anyone have a link to good vid tutorial on threading in C#
 
@JohanLarsson Thanks!
 
@JohanLarsson not video, but here's an eBook: albahari.com/threading
I learned threading in C, so in C# it's pretty nice and easy, lol
 
@JohanLarsson just saw your question. It went well. I'll see when its corrected.
 
@user1079641 nice work, we are proud of you
@Pheonixblade9 ty, I never really learned any threading. Read about it a couple of times but every time I use it I end up shotgun coding and writing ugly hax all over the place it feels like
@Pheonixblade9 mom wants to send you a gift for xmas, what is your address?
 
@JohanLarsson well I'm at your mum's right now, just drop it off there
2
 
12:32 AM
ur fast!
xpert on that topic
 
Anyone good with brass instruments?
 
@CCInc yep, played euphonium at my university
 
Do you know what a bugle is?
 
yep
Bugles are a corn chip snack food from General Mills. They come in the following flavors: Original, Nacho Cheese, Sour Cream & Onion, Ranch, Chile Cheese, Salsa, Smokin' BBQ, Churros, Southwest Ranch, Sweet and Salty Chocolate Peanut Butter, Sweet and Salty Caramel Cheddar, Ketchup, Coriander, Hot Buffalo, and Hot & Spicy BBQ (Exclusively manufactured by Tom's). Bugles are named after the instrument that they take shape after, the bugle. Bugles were test-marketed in 1965 and introduced nationally in early 1966 as one of a trio of new snacks, the other two being the flower-shaped Daisie...
 
12:37 AM
The bugle is one of the simplest brass instruments, having no valves or other pitch-altering devices. All pitch control is done by varying the player's embouchure. Consequently, the bugle is limited to notes within the harmonic series. See bugle call for scores to standard bugle calls, all consisting of only five notes. These notes are known as the bugle scale. History The bugle developed from early musical or communication instruments made of animal horns, with the word "bugle" itself coming from "buculus", Latin for bullock (castrated bull). The earliest bugles were shaped in a...
 
Anyway, is there any way I can hit the low E on bugle? I don't think it is within the normal playing range
 
@JohanLarsson, haha, thanks! :)
 
@CCInc not sure, I can hit pedal tones on my euphonium and my trumpet... not sure about the bugle
 
Sigh, my model binding works, but the [Required] directive is failing
 
12:39 AM
I can play the note below G, but I think that is middle C on a normal bugle?
 
What would be the best way to declare constants throughout the program. Do I seriously have to put them in every file? Is there a special place that will declare them globally?
 
I can play any instrument with C#.
 
pretty sure the E is not hittable on a bugle
@user1079641 depends on what kind of constant. We have container files for things like error codes with sealed classes
 
@user1079641 app.settings?
 
@user1079641 - Don't use global constants :(
 
12:40 AM
The strange thing is is that these Mexican buglers can hit it, is there bugle different?
 
those look like traditional bugles
 
Do those play different?
 
@TravisJ there are certain cases for global constants. Like what I said, error codes are a good thing to have strongly typed constants defined for
@CCInc traditional as in the ones you are talking about. Nothing special about them
you also have to keep in mind that those guys are probably not actually playing the bugles, and they may have had a trumpet dubbed over that video
 
True, but I have never seen that note in bugle music
I would really like to play that piece, though
 
is this a good regex for positive numbers?
/^[1-9][0-9]*$/
 
Eve
12:45 AM
@TravisJ Terrible joke but I have to say it -- I can play C# with any instrument.
 
@CCInc DAAAAA DAAA DA DAAAA DAAA DA DAAAA DAAA DA DOOOOOO
DIK A DA DAAA
hooray brass!
unless you're one of those crazy bastards that uses "TA" instead of "DA"
 
@#%#&%*&@$^%
Why is nothing designed for fking object graphs.
So sick of hand coding over bad practice.
 
@TravisJ looks ok for ints, but int.tryparse is better I think, if that is available
 
DA? Who uses DA? Ta
 
@Johan - it has to be a number
Although, this whole generation of input validations is so fkd now I remember why I wrote a js library to do it for me.
 
12:51 AM
Okay, dropped a line to my connections, sent out two resumes. /seriousFriday
 
@CCInc people who triple tongue (Johan's mom)
 
@TravisJ how do you mean?
 
@Billdr you're looking for a job? where?
 
Minnesota
or telecommute.
 
ahh, only person I know there works as a chemical engineer.
 
12:53 AM
I work for a start up. It sounds like there are fiscal problems, and I'm in dire need of a raise. Kind of crappy.
I don't even have a year here :(
 
@Johan - Data annotations are supposed to be used for client side validation. The [Required] attribute will pair up with jquery.validator and some data-attributes attached to the html element in order to provide front end validation. However, when using an object graph the generic Html helpers in razor break because they cannot handle the complex nesting. This leads to a break in the validation.
 
@Billdr if you were willing to relocate, I could help you out
I have lots of connections in west michigan and northwest washington
 
In order to fix the break, I realized that it all comes down to jquery's interpretation of data attributes ( which the helper incorrectly assigns ). So I had to write a library to make them for complex object graphs. However, I only add to it when I encounter new situations, and this one is new, so I do not have a pre written handler for it. =/
 
@Pheonixblade9 I just bought this condo ~18 months ago. No can do
Thanks though
 
:) no worries
 
12:56 AM
I could easily handle the validation server side, but what a hassle, and also that is terrible UX.
 
@TravisJ it has to be regex, int parse is not available?
 
I think I'm going to try to boost my SO rep to over 1,000. (That's impossible!)
 
@Johan - Oh, that small part? I can use ranges too. I don't think that is much of an issue. The screen is not even being applied because the data attributes are not being properly rendered. It would be like asking your mechanic to fix your brakes, he changes your windshield wipers, and you only notice when your brakes fail.
@Billdr - I am trying to get mine to OVER 9000!!
 
ok lol
 
:P
 
Eve
12:58 AM
@TravisJ /^0*[1-9]\d*$/
In case you have leading zeros.
 
Nice
 
well, company holiday party in an hour. Wish me luck, everybody! Hopefully I'm not the only one bringing a date, that would be weird
wait did I say weird? I meant AWESOME
 
How would I get back to the original value from SHA512 Hash code?
 
@user1079641 I think the whole point of a hash is that you dont
You want encryption
 
What if I need to validate password?
 
Eve
1:08 AM
You hash it with the same method and compare the hashes.
But you don't do that for passwords.
 
these new SO styles suck
 
totes ^
 
they make my eyes hurt
 
I have not even noticed, what is it?
 
Go check the main site.
Hint: refresh
:P
All the font's have been reduced in size, bold was removed, ugh, oh how I could count the ways. Spacing has been reduced. They shat alll over UX.
All to save a few extra ms of loading time.
 
1:17 AM
it hurts my eyes
 
Eve
 
1:34 AM
Do we have any webforms people in the house? I'm beginning to suspect that msdn is lieing about the onTextChanged event being wired up to RadioButtonList.
 
2:02 AM
Ask about webforms and this room dies.
 
This room was dead since travis left
 
Have you ever worked for robert half? They keep pestering me to join their internal team.
 
Umm, who's that?
 
sounds like they'd loan me out as a consultant or something.
They're a big tech recruitment company
 
 
1 hour later…
3:15 AM
hello :)
 
hello
 
whats up
 
Most people say the sky is up, but that usually depends on your point of view.
 
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
 
3:53 AM
Anyone here?
@Steve @CCInc @Billdr , anyone here?
 
yeppers
 
need some help here
 
whats up
.......................
 
not a thing
 
3:58 AM
@user1079641 I am here, what you need?
 
@ccinc Still working on that qvfs.
 
What's the problem
 
4:19 AM
There is a method I have that asks for the string of a file in order to get its text
is there a way to just enter the text right in parameters when calling it instead of creating a new file with that text and puttings its url?
@CCInc ^
 
@user1079641 Is this still homework?
 
No.
 
You doing this for fun?
 
yes
 
I don't get your question
 
4:56 AM
hi guys
 
hi persons
 
5:22 AM
hey guys can anyone tell me how can i change the window size of my app in such a way that the ratio of the size of the objects in the window remains the same. i am making my app in wpf.
 
@aashish2s this?
1
Q: Resize a WPF window, but maintain proportions?

ChaslerI have a user resizable WPF Window that I want to constrain the resizing so the aspect ratio of the window stays constant. Ideally I would like to constrain mouse location when the window is being resized by dragging a corner to positions that maintain the proper aspect ration. If an edge is ...

 
This Connection is Untrusted





You have asked Firefox to connect
securely to www.bkdelivers.com, but we can't confirm that your connection is secure.
Normally, when you try to connect securely,
sites will present trusted identification to prove that you are
going to the right place. However, this site's identity can't be verified.



What Should I Do?

If you usually connect to
this site without problems, this error could mean that someone is
trying to impersonate the site, and you shouldn't continue.
i am having problem in firefox
does not contain " I understand risks"
This Connection is Untrusted
how to solve " This Connection is Untrusted' in firefox
fixed the problem
 
5:56 AM
@CCInc thanks ...
 
@aashish2s yups
 
Can any body Explain how this works
(from r in records select r).skip(1000);
will this skip 1000 records after fetching all records or before fetching.
 
6:14 AM
before
the linq query returns an IQueryable. The SQL query doesn't actually occur until you enumerate the returned collection.
 
so first it converts entire statement at once right
what i am asking is does this effect the performance
@kyle
@KyleTrauberman
Thanks
 
6:41 AM
yes, it affects performance, because it affects the sql query that is executed, and skipping 1000 records reduces the number of records returned
 
 
3 hours later…
9:50 AM
Good moaning.
 
10:00 AM
Hello
 
how do?
 
Ok.. you?
 
Alright thanks. Standard Saturday morning bleariness
Ugh, housemate's stupid gf is kicking off again
STFU you bint
 
10:16 AM
Kicking off? :O
 
Every single time she's here she has a tantrum at him
frequent shouting on saturday mornings
 
Bloody hell. Dump her I say.
 
don't know why he doesn't!
 
I hope I never get a woman like that.. bones and no flesh :(
 
changing subject...
Ah. It's transient. Fan-bloody-tastic.
Reboot VS - works now
 
10:22 AM
lol
 
Wait no I lie, this is a project without it installed
....so please try anyway? ;)
 
I will give it a go
 
Thanks :)
 
Laptop is running slower than usual.. my fault 200 processes..
Where can I find this package console thing.. during project setup?
Nvm.. found it
Attempting to resolve dependency 'T4Scaffolding'.
Attempting to resolve dependency 'T4Scaffolding.Core'.
Attempting to resolve dependency 'EntityFramework'.
Successfully installed 'T4Scaffolding.Core 1.0.0'.
Successfully installed 'T4Scaffolding 1.0.8'.
Successfully installed 'MvcScaffolding 1.0.9'.
Did you get that?
 
Yep, looks about right
 
10:32 AM
Oops.. exception!
 
Hurrah!
So it's not just me.
 
Let me restart VS
Ok it doesn't throw an exception after a restart..
 
Aha.
Me neither
So it IS transient
And I have the new controller scaffolds in the dialog, so I know it's working
 
Yep, same
 
I did restart VS at least once, I think
 
10:37 AM
A restart usually fixes issues.
 
Thanks anyway!
 
Np
Reading about middleware.. :(
It's like learning CS all over again.
 
any specific sort?
 
I'm reading (actually watching a tutorial) the concepts and architecture of MWare.
It seems similar to IPC
 
It's quite a broad/vague subject, I think
 
10:43 AM
You worked with MWare in your last job right?
 
a very little bit
my new one is entirely devoted to it
 
You will soon become an expert then :)
I can't even find a proper tutorial on this.. jeez
 
hello guys
any mvc 4 experts
i am a little confused in relation to the model in my application
0
Q: c# .net MVC4 Model to represent table or form

Matthew ChambersHello I am a little confused with regards to models in mvc 4 and thought someone may be able to point me in the right direction. This would be most appreciated. For example if i have a table that has the following fields [StringLength(100, ErrorMessage = "The {0} must be at least {2} ch...

was wondering if anyone could advise
 
10:58 AM
@LewsTherin tutorial on what?
 
MWare
 
What sort? For doing what?
 
I don't understand how MWare differs from OSI model.. or SOAP or any other goddarn protocols out there.
 
Unless you're talking about something I've never heard of
 
@TomW Not sure what you are talking about.. but I want to understand MWare in the general sense.
This is the definition I have written down:
Middleware is a software application that plumbs software applications together regardless of the underlying networks, hardware. It abstracts the plumbing from the developer and users alike.
But I don't understand da fuq it means
 
11:02 AM
What's not clear about that?
IMHO the concept is too general for any more detail. It depends on the systems involved
 
Alright, I guess I understand that definition.. But the why is what I don't get. What problem is it trying to solve.. doesn't TCP/IP do that already?
 
You might be thinking too low-level
Mixing TCP/IP handling into business logic isn't appropriate, for example
What causes you to compare it to TCP/IP? To me they naturally seem to sit at very different levels of abstraction
 
If I knew what Middleware was maybe I wouldn't compare the two.
I am just familiar with what TCP/IP does (mostly).. and what MWare tries to solve isn't clear
 
Microsoft BizTalk is an example of a - particularly large and arguably overly-complicated - middleware stack
It allows you to write applications that can throw strongly-typed messages down [arbitrary protocol] in [arbitrary format] and trust that at some later point in time, something that understands them will pick them up
 
Oh right
 
11:11 AM
hej killar
 
Hey Johan
 
@LewsTherin Good to see you active in daytime! ( I have the same problem)
 
e.g. I have a stock control application written in the late 80s that only speaks some obscure binary format written by a defunct company. In order to get anything to interop with that, it would be a lot more convenient to have a single point of contact that knows that format and converts it into something more useful, than embedding translation logic into my LoB application
 
@JohanLarsson Well, I am almost always on.. I just don't talk as much as I would before :( Which problem?
 
problem with sleeping and lack of sleeping, just woke up so got a healthy sleep this time
 
11:15 AM
@TomW That's clearer. So the MWare takes in messages from any application, infers the protocol the messages uses and handles it.. right?
@JohanLarsson Yeah, I only slept for 4 hrs I think. It sucks
 
@LewsTherin it can do. I mean, it's not magic
 
@TomW Oh yeah I know that lol. I would think it depends on how many protocols it has been designed to handle
 
@LewsTherin I think the question you're asking is about as specific as "What is an application?"
The answer can only be "it depends"
 
there's a standard out there somewhere for designing SOA applications
which I can't remember the name of
they're sort of by definition a large part middleware
I'll see if I can find it
At last I see where this difference of opinion is coming from
The definition there seems quite different from the one I'm familiar with
I've never heard sockets called middleware before
 
11:27 AM
Maybe it is a simplistic middleware ha
 
I can't see why anybody would choose to forego having some structure like sockets to interact with for writing any meaningful software
Some things are only named and considered a concept of their own to distinguish them from something else, and I'm not sure what the something else is
 
I dunno. My plan is to understand the concept well enough to pass the exam :P
I learn better with hands on experience. My college fails in that regard.
 
Did people used to assemble TCP packets themselves when writing applications? Because if so, that's insane
Changing subject...she's still shouting
 
@TomW Might not be so hard to imagine.. before one had to write code in machine language.
@TomW Kick her out!
 
Nothing to do with me!
Except that it's my bloody house too and she's disturbing my weekend
 
11:39 AM
Why is she emasculating her man that way? Poor bastard.
Windows defender is useless
MBam reports 19 infected files. Windows Defender reports nada!
And the new SO design sucks..
 
I didn't even notice the new design
 
It was there since last night. At least, that's when I noticed it.
It is horrible.
 
Slight font change
what else is different?
 
The upvote and downvote buttons as well
 
11:59 AM
a) I have a wpf project
b) I want to be able to show it like a messagebox, just do .Show() or something equivalent from other projects
c) I would like it to spin up in its own thread, is that called modeless?
And the question:
How is a good way to do it?
 
12:15 PM
Googled modal/modeless, I want a modeless
 
I didn't even notice the new SO design >.>
 
[Test]
public void ShowDialogTest()
{
    var mainWindow = new MainWindow();
    mainWindow.Show();
}
that fails in the MainWindow ctor, complains that thread is not STA
 
Did you mark your main program as [STAThread] ?
 
nope, i think I am trying to avoid it, want the dialog to spin up in its own thread
tbh I have some reading to do on threading :)
[Test, STAThread]
public void ShowDialogTest()
{
    var mainWindow = new MainWindow();
    mainWindow.Show();
}
That opens the window but then everything is frozen when I hit a breakpoint
 
Well the calling thread needs to be STA because many UI components require it. If you make a seperate thread you have to do this: thread.SetApartmentState(ApartmentState.STA); to make it be able to also run as an "ui thread"
 
12:32 PM
ok, ty will try
 
For example if you want to create windows on dedicated threads you would do something like this:
private void OnCreateNewWindow(object sender, RoutedEventArgs e)
{
Thread thread = new Thread(() =>
{

Window1 w = new Window1();
w.Show();

});
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
}
meh and my formatting sucks :(
 
ctrl + K^^
        [Test]
        public void ShowDialogTest()
        {
            Thread thread = new Thread(
                () =>
                    {
                        var mainWindow = new MainWindow();
                        mainWindow.Show();
                    }
            );
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();

            while (true)
            {
                Thread.Sleep(1);
            }
        }
That flashes it breifly^^
        [Test]
        public void ShowDialogTest()
        {
            MainWindow mainWindow;
            Thread thread = new Thread(
                () =>
                    {
                        mainWindow = new MainWindow();
                        mainWindow.Show();
                    }
            );
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();

            while (true)
            {
                Thread.Sleep(1);
            }
            thread.Abort();
That also just flashes it^^
It is boring to suk :(
 
What does your mainwindow look like?
 
12:47 PM
@Rutix I use a dummy thing that only has a textbox for this test
and as far as I can tell it runs fine when started the vanilla way
looks like some scoping issue, that is why I tried moving the MainWindow mainWindow; variable
 
hmm weird :).
So basicly you want it to popup a messagebox kinda window which runs in its own thread?
 
@Rutix yep, I want to use it like a remote for the app, and want to be able to use it while debugging
I once did this type of thing by starting a new process and doing wcf between them but feels like overkill
 
Cant you just spawn a new window? or use a popup?
 
popup sounds good gonna try
 
Been a while since i did wpf ;)
 
1:00 PM
@Rutix Does spawn new mean start new process?
 
NormalWindow win = new NormalWindow();
and then win.Show()
but i see you already do that basicly with mainwindow
booting up visual studio to try something hold on ;)
 
        [Test]
        public void ShowDialogTest()
        {
            MainWindow mainWindow;
            Thread thread = new Thread(
                () =>
                    {
                        mainWindow = new MainWindow();
                        mainWindow.Show();
                        while (true)
                        {
                            Thread.Sleep(1);
                        }
                    }
            );
            thread.SetApartmentState(ApartmentState.STA);
I fI write that type of ugly it stays open but frozen of course (of curse)
 
public void ShowDialogTest()
{
    MainWindow mainWindow = new MainWindow();
    mainWindow.Show();
}
wouldnt this work?
the reason it is not staying open is because .Show() returns and so the test finishes
 
but I have this in the end of the test to keep it running:
            while (true)
            {
                Thread.Sleep(1);
            }
            thread.Abort();
[Test]
public void TestNameTest()
{
    var window = new MainWindow();
    window.Show();
    while (true)
    {
        Thread.Sleep(1);
    }
}
 
that keeps it open here
 
1:11 PM
That gives me the STA issue, and changing it to STA gives me the freeze issue
@Rutix which?
 
TestNameTest
 
ok, it throws in Window ctor for me
 
Can you paste the exact error? and the mainwindow ctor?
oh and I am so stupid
i see why your window only flashes with the thread thing
try this:
        public void ShowDialogTest()
        {
            Thread thread = new Thread(
                () =>
                    {
                        MainWindow mainWindow = new MainWindow();
                        mainWindow.Show();
                        System.Windows.Threading.Dispatcher.Run();
                    }

                );
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
            //MainWindow mainWindow = new MainWindow();
            //mainWindow.Show();
 
The calling thread must be STA, because many UI components require this.
 
Forgot to run the dispatcher
 
1:17 PM
will try ty
public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
    }
}
 
Weird that works here
anyway i have to go but: reedcopsey.com/2011/11/28/… explains it in more depth
 
ty, that worked!
ty very much
 
np
 
I shoul probably wrap that in a factory method for the window
 
1:48 PM
goddamnit, the ground is wet. I can't snowboard on water.
Time to code, I guess
 
hey all
hows everyone
 
I'm doing. Yourself?
 
you're doing? well? bad? average? :) I am well thanks, just thinking about starting a new project and doing the research now... :)
 

« first day (791 days earlier)      last day (4165 days later) »