« first day (835 days earlier)      last day (4131 days later) » 

7:01 PM
Hi
 
Afternoon, all.
 
heya
quiet in here today
hey @Ellie
 
How are you today, @Pheonixblade9?
 
tired.
 
I can beat that.
 
7:03 PM
Same here.. Almost called in to work.
 
25 mile bloody hilly bike ride saturday, helped a friend move from Seattle to Hillsboro/Portland yesterday
 
I'm not only tired, but sore in about 10 places.
 
That's awful. :P
 
@KendallFrey I'm sore everywhere :(
 
I helped a friend with a catering event on Saturday and threw out my back. That was fun.
 
7:04 PM
@LewsTherin Even your tongue? What about your belly button?
 
nice
@KendallFrey why are you sore?
 
@KendallFrey Oh yeah.. even my tongue.. for some reason Salt and vinegar crisps didn't agree with me. Belly button... does hunger count?
 
I'm back at it in a skirt and heels, though! Nothing can slow me down!! haha
 
@Pheonixblade9 Too much hockey.
@LewsTherin Do you eat with your belly button?
 
@KendallFrey hah. gimme a sec :P
 
7:06 PM
@KendallFrey :S Ok you win..
 
hellow
 
that was my bike ride...
 
@LewsTherin Not last night, I didn't.
 
hi @KodeSeeker
 
@KendallFrey Bum :( You must learn, my young Padawan.. that winning isn't priority.
 
7:08 PM
It was They were just pickup games. But it would be nice to have scored in at least half of our games.
 
Can non-generic class derive from a generic class?
 
@LewsTherin You must learn, my young boy, men want to win. It's a primal urge that makes us who we are. We want competition, we want the challenge, we WANT to win. Screw political correctness, I play a game to win... except with my kids.
 
@KendallFrey Well you can be sure they will invite you over next time ha
 
@Sadiq Yes, if you specify the type arguments.
 
The best part of my day: Being able to tell people at the front desk they can apply for jobs online.
 
7:09 PM
@LewsTherin I'm not talking about me scoring, I'm talking about my team scoring.
 
@Ellie haha. Our receptionist Sheila hates that part of the job
 
Hehehehe. Yeah! More scoring! Hehehehe.
 
@Sadiq public class CSharpRoom : List<Geek>
 
@KendallFrey Mmn, if you had scored your team would have scored.. no?
 
 
7:10 PM
@RyanTernier Alpha male much?
 
Yes, but...
 
@RyanTernier It's the best part of my day because 2 months ago, you couldn't apply online. Can only do that now thanks to ME!!!!
 
@Ellie Woop!
Site?
 
@LewsTherin Lews, why would I play golf, soccer, volleyball, or go hunting with just "it'll be fun". Yes, It will be fun, but i'm also going to push myself as hard as I can to be the best I can be at anything I do. Men are becoming to lax, to "feminized" (yes I used that word). I'd rather be dominant than neutered.
 
@LewsTherin It's so exciting!
 
7:13 PM
why does this geerate error:
 
@Ellie Awesome! Nice job.
 
class People : IEnumerable<Person>
{
private Person[] _people;
public People(Person[] pArray)
{
_people = new Person[pArray.Length];

for (int i = 0; i < pArray.Length; i++)
{
_people[i] = pArray[i];
}
}

IEnumerator<Person> IEnumerable<Person>.GetEnumerator()
{
Console.WriteLine("in: IEnumerator IEnumerable.GetEnumerator()");
return (IEnumerator<Person>)GetEnumerator();
}}
 
@Sadiq You know, if you read the error, it will tell you why it generates the error.
 
Sadiq... what's the error?
 
Error 1 'getEnum.People' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'getEnum.People.GetEnumerator()' cannot implement 'System.Collections.IEnumerable.GetEnumerator()' because it does not have the matching return type of 'System.Collections.IEnumerator'
 
7:14 PM
@RyanTernier Why thank you. :)
 
You need to implement IEnumerable as well.
 
@RyanTernier I'm not saying one shouldn't put the effort.. but feeling let down because of a lose is irrelevant.
 
@LewsTherin You're correct. If someone loses, they need to suck it up and learn from it :) Not mope around.
 
@Ellie You can't tell us that.. and not link us.. site! site! site! site!
 
7:15 PM
@LewsTherin <wants to replace 1 word with another in that line>
 
@LewsTherin If I send you the link, you'll all know where I work and I feel like that's a bad idea...
 
Dang
 
@LewsTherin I always feel let down after a loss. I just forget about it and worry about the next game.
 
Greetings!
 
I'd love to show y'all, but a.) I gotta worry about myself and b.) you'd probably all find errors in < 1 min.
 
7:17 PM
I get angry if I lose because someone was an idiot :( Played a game of baseball the other day and my teammate was talking on his phone and missed an easy out. I wanted to throw him in the river (we were playing near a river bank)
 
@KendallFrey That statement seems contradictory ?
 
    I have the following code that searches for text in all rows of a DatgaGridView.

    grid.ClearSelection();
                foreach (DataGridViewRow row in grid.Rows)
                {
                    strRowValues = GetRowValuesAsString(row);
                    if (strRowValues.Contains(text))
                    {
                        row.Selected = true;
                        lastIndex = row.Index;
                    }
                }

How do I do the same thing but start at a given row index?
 
On a vaguely related note, is it a good idea to buy shares in the company I work for? On the one hand they're offering very generous terms that make it an excellent tax-avoidance scheme, on the other hand if it tanks then i) I may lose my job and ii) it tanks
 
Ok i got the Person class working .. but what's the reson for implementing ienumerable besides ienumerable<Person> ?
 
@TomW Is it a private or public company?
 
7:18 PM
@Ellie b. is a very good reason why you should paste link ;)
 
@LewsTherin Ughhhh...
 
@RyanTernier I'm pretty unlikely to be able to buy into a private company I've just started work for. It's a PLC.
 
@Ellie Oops.. sorry! :D
 
BTW, it's fun sharing a bench with the other team. During one of the games I overheard someone say "Kendall's getting rammy."
 
I'm torn. Very tempted, but I feel like I would open myself up to creepers.
 
7:18 PM
Hmm, well I could just take Ellie's picture, throw it into an image recognition software I made for the Florida State police and hook that up to Facebook...
 
@TomW I'd buy into it if it's not horribly expensive
 
can anybody tell me plz
 
@Ellie DUDE YOU HAD YOUR FACEBOOK ON YOUR SO PROFILE
lol
 
@Pheonixblade9 AND I TOOK IT OFF FOR THAT VERY REASON
 
7:19 PM
ALRIGHT. Jesus
 
@Ellie Thatssssss a very nice ssssssssite you have there. It would be a sssssssshame if anything were to happen to it.
 
@Pheonixblade9 Ellie is a dude!?!?!?! :o
 
No!
 
@RyanTernier I can't be...!
 
7:19 PM
Kendall can u tell me why we implemented ienumerable besides ienumerable<person> ?
 
On the right, it says New Apply Online (BETA)
 
@RyanTernier yep, we had a PM discussion the other day
 
@Ellie Sounds like a matchmaking site.
@Sadiq Because IEnumerable<T> implements IEnumerable.
 
i thought it said hitcock .com
 
your website is so 1990's :P
 
7:20 PM
@KendallFrey Haha. Hitch is the last name and we're in Oklahoma
@Pheonixblade9 I didn't design the website. :P
 
hehe
ok I love you all but I gotta do some research. Shutting off chat/email for a couple hours.
 
Oh, it's one of those places. Moo.
 
kendall can u refer me a site or any ebook to learn basics of generics?
 
LMAO at the drivers license question.
@Sadiq Sure.
$g generics
 
@Ellie It takes to long to get to the apply page :P
 
ok thx
 
Nursery Herdsperson
that sounds like child labour!
 
@LewsTherin I have no control over that. I had to deal with HR for all of this. That's the way she wants it done.
@RyanTernier Nursery as in baby pigs. :P
 
Clients.. ugh.
 
7:23 PM
@LewsTherin If it were up to me, it would take like 10 textboxes and a couple references, but it's like 12 effing screens because of HR.
 
Gota style that one ;)
 
oh crap
 
aaaand i guessed the password
 
"By clicking this button, you are confirming you are legally eligible for employment in this country. "
 
you gota fix that too
 
7:24 PM
@RyanTernier Not under my control.
 
What have I done?
 
@TomW Again, HR.
STOP HACKING MY WEBSITE
 
hahah
:P
 
Please, guys. Behave.
 
They're 'helping'
 
7:27 PM
<where can I find the place to give Ellie a raise>
@Ellie, I can see the current careers, but where do you apply online?
 
sup folks
nice Freemason logo, @GaneshKumar.
 
brb
Sorry. People were at the front desk./
 
No probs.
 
@RyanTernier So, here's the deal, because the online app is still in beta, there are 2 places to find current careers, but only one place to apply. I know. It's crazy, but you have to realize I'm not in charge. I'm just the intern.
Anyway, go back to the Hitch homepage and on the bottom right there are some links.
 
7:32 PM
One of them says "New Apply Online (Beta).
 
Ugh, falling asleep in my chair...
 
There are so many things about the online application I wish I could change, but because I'm not in charge, I can't. I have to just follow the rules that the manager of MIS and the HR director give me.
 
anyone here interviewed for Mathworks?
or @Mathworks?
 
lol, the guys who make MATLAB?
 
anyone still do winforms or has a nice grab bag of controls? I'm looking for a treeview control that I can use to easily allow users to 'create' a file structure (folders, import files, re-order, rename, etc)
 
7:42 PM
 
@ShotgunNinja er.. yeah?
 
@KodeSeeker Why do you ask, exactly? Looking to apply with them?
 
@ShotgunNinja considering it.
 
@ShotgunNinja I am like 20% into doing that and thought "well shit i'm basically mimicking a control I see in 99% of the 'treeview file browsers' in 99% of the editors I've used in the past... why isn't this done already?"
 
@Ellie Still a considerable improvement :)
 
7:46 PM
@rlemon maybe telerik? //ducks and runs
 
@LewsTherin I'm very proud of myself. Sure, useability is low and it takes a long time, but the simple fact that people can apply online now makes me so happy. That's something I get to leave this company.
 
@KodeSeeker You know Matlab is written in C, correct?
 
@ShotgunNinja er .. of course :\ .But do you know, that they have a load of other stuff?
 
@Ellie That'd be good for the CV alright. I wish I had something to show... oh well.
 
@LewsTherin Yeah, that makes 3 things I've written that are live and used by this company. It will be 4 when I leave in May. I'm working on a project now.
 
7:50 PM
May! Dang, time enough to get the tracker working? Mmn
@Ellie Web stuff?
 
@LewsTherin No. That's the only thing I've done online. The rest are just WinForms.
@LewsTherin :P I'm moving to Dallas to start my new job after I graduate.
 
@KodeSeeker Yeah, I know. Most of it is still written in C.
Excluding of course the hooks for other languages, that is.
 
@Ellie I'm finishing in May too :P But no job offer :( At least I'm waiting for the outcome of the interview I went to. How did you get a job so fast? Sleek..
 
@LewsTherin Well, it helps that the job I'm at while I'm in school is real programming stuff, but I actually found this company at an AITP contest.
 
@ShotgunNinja Agree. But I dont really mind, even if there is a little, it may be quite a bit for the few people hired to do it. Or at least thats what I think :)
IF I get hired , that is. Lol
 
7:54 PM
AITP is a great place to network. I handed my resume out to about a dozen companies, got interviews with 2, got flown out for second interviews with both, and got my job offer from the one I like the best. :)
 
@Ellie Would that AITP be an equivalent to ACM?
 
shrug
It's the Association of Information Technology Professionals.
There are contests in Web Dev, App Dev, Database, Networking, Microsoft Office, etc, etc.
 
My partner and I won 3rd place in App Dev, and the people judging that competition were the people I interviewed with.
 
Never heard of it :O I've heard of ACM though and they do similar thing.. but I joined a games dev competition instead.
 
7:56 PM
I'm off to do some filing. I'll be back in a little bit.
 
is it possible to set a textbox value from a change event of another textbox. I was trying to do that and I was getting a nullreference exception
 
what was null?
 
@developer What toolkit? WinForms, XAML/WPF, ...?
 
I am working in WPF and C#. Below is the error I get
System.NullReferenceException was unhandled by user code
Message=Object reference not set to an instance of an object.
 
@developer That's nearly as useful as Segmentation fault.
 
7:59 PM
right, but you have to know what is null before you can fix it
 
private void numericTB_TextChanged(object sender, TextChangedEventArgs e)
{


if (attendees.Text != "")
{
atten = Convert.ToInt16(attendees.Text);


else if (atten >= 700)
{
webdes = 7000;
regfee = 4 * atten;
}
else
{
webdes = 0;
regfee = 0;
}

wbdcost.Text = webdes.ToString() + ".00";

}
else
attendees.Text = "0";
}
I am getting wbdcost.Text as null
my XAML code, <TextBox IsReadOnly="True" Grid.Row="7" Grid.Column="1" Text="0.00" Height="26" Name="wbdcost"/>
 
are you sure wbdcost isn't null, and not the text?
or webdes is null?
 
Basically what I am trying to do is depending on attendee.text value I am trying to calculate value in wbdcost text box.
no webdes is not null
 
are you sure? I see no null checks there.
 
because I get this exception even when I give something like wbdcost.Text="1000";
 
8:02 PM
ok ok.. can you tell me what a null reference exception IS?
 
@developer then wbdcost might be null.
 
We can't tell what is null because in that code you pasted, neither variable is declared.
 
yes but I am not sure why is it null.
 
so either could be null. If Text is null then it won't throw an exception.
 
a string being null will just get set still without an error
 
8:03 PM
yes
 
I have declared variable as public static int webdes = 0;
public static int regfee = 0;
 
Convert.ToInt16(attendees.Text); tha could be a non-numeric value which will bomb
 
and wbdcost is the name of a XAML element?
 
yes
its a textbox in XAML
 
what is attendees?
 
8:05 PM
Are you calling this method from the right time during component load? Or does XAML actually load its components intelligently, rather than lazily?
 
I am doing this in change event of a textbox.
So when a textbox value changes(here attendee textbox), I am trying to set value in wbdcost textbox
 
If you're debugging this, why not just step into the code to see where it's erroring?
seems like you're taking the long way around
why on change vs on blur/onleave?
 
I did that and it is erroring at wbdcost.Text line
 
@RyanTernier i feel as though we are talking in circles.
 
well that's where your error is
if (attendees.Text != "")
{
atten = Convert.ToInt16(attendees.Text);
// You are NOT setting webdes here. so it's null

else if (atten >= 700)
{
webdes = 7000;
regfee = 4 * atten;
}
else
{
webdes = 0;
regfee = 0;
}

wbdcost.Text = webdes.ToString() + ".00";
 
8:08 PM
because the way my usercontrol is set up I just have a single textbox attendee and depending on that everything else calculates dynamically. I do not have any other button or control where the user can go to
 
also, you're not closing that first if it seems
 
can you please tell me how to fix this?
 
if you are, why do you have an else if?
 
I am sorry, its a typo
its just an if else.
 
when you set attten=ConverttoInt16...
set your webdes to something
because it's null
 
8:11 PM
no webdes is a public static int variable that bydefault has 0 value
so that should not be null
 
then you have to get a handle for your wbdcost control and set it to that value. that is the only other option.
 
ok (can you share more of your code then)?
 
sure
 
like in pastebin or something?
 
@RyanTernier haha beat me to the pastebin suggestion
 
8:15 PM
public partial class Widget : Dashboard
{

public static int addfcost = 0;
public static int atten = 0;
public static int webdes = 0;
public static int regfee = 0;

public CostWidget(WidgetContainer container)
: base(container)
{
InitializeComponent();
previousText = attendees.Text;
}

private void numericTB_TextChanged(object sender, TextChangedEventArgs e)
{


if (attendees.Text != "")
{
atten = Convert.ToInt16(attendees.Text);

if (atten >= 1 && atten <= 199)
{
webdes = 1000;
regfee = 16 * atten;
 
ugh
please delete that code paste and use pastebin instead
 
how can I use pastebin?
 
can you edit that and press CTRL-K
 
8:18 PM
will you be able to access pastebin.com/111MDR01?
I am using pastebin for first time so just confirming
also I am very new at WPF and C# development so please forgive my ignorance
 
yes that worked. and its as both ryan and i described. it has no idea what wbdcost is
if you reverse the order of lines 65 and 66, you will get the same error for wfcost
 
how do I fix this?
also if I have something like <TextBox IsReadOnly="True" Grid.Row="7" Grid.Column="1" Text="0.00" Height="26" Name="wbdcost"/> will its value not default to 0.00?
 
its not the value thats null.
its the variable pointing to the textbox. please verify by swapping the lines as i described.
 
yes you are right
I am getting the same error
when I swap the lines
 
also, you should be binding to a property to display it, not brute force setting it. have you looked at wpf databinding?
You are doing it the old winforms way. wpf is all about mvvm
 
8:31 PM
doing the non-databinding route is old-school WinForm way of doing things
they kept that way open for people to "move up" to WPF. Honestly I wish they would've scrapped it
 
ok. Like I said I am very new to wpf and its functionalities.
 
they should have. your model files don't get references to the controls just like the oldschool method, do you?
 
no worries man, we've all been there
(I'm still there)
 
I will take a look at databinding. Will I have to make a lot of change to my code to make this work
 
This doesn't solve the problem. Get what you've got working first, IMHO
 
8:34 PM
can you give me any hint as to how I can make it work
 
I can't see your pastebin, unspecified server error
so at the moment, no
 
tom, he needs to know how to get a reference to a textbox control in codebehind.
 
name_of_textbox?
 
its null for him
 
How is that even possible?
 
8:39 PM
dont know.
if it doesnt come up, refresh. pastebin seems to be slow today. might be having problems
 
pastebin isn't working
 
it just did for me
 
will keep refreshing
 
trying to get this damn listview columns lined up now. say you have a listview (list view mode) and you have a number of columns. To get the checkboxes to appear 'correctly' from a UI stand point I am having to create a column with no header text and pass null into it as a subitem
is there a easier way about this?
winforms... y u so ugly.
or even, list view column padding?
define an offset to the left for the columns but allow the row checkbox to remain where it is
 
8:58 PM
Holy crap. One hour later and I'm finally caught up on my damn filing.
 
Thought women were supposed to be good at filing? <runs and hides>
 

« first day (835 days earlier)      last day (4131 days later) »