« first day (653 days earlier)      last day (4311 days later) » 

9:00 PM
Anyone in Chicago ?
@Steve - aren't you in Chicago ?
I need to find a developer to help me for like 2 weeks , damn near impossible
 
Craigslist
 
yea - thats how they got me , we need to do an add , I tried looking at adds for developers , and they are all remote "Complete Websites $400 " made in India with the same template as every other one we've made
 
those are crazy letters in your name
 
@ScottSelby odesk.com elance.com
 
9:10 PM
why does everybody sees cyrillic letters as strange/crazy/f*cked up :D
 
because its not english
and we love us some english
 
sorry :)
automatic facebook login
when I start to ask my stupid questions the last thing you'll care about me is the encoding of my name :D
 
no, we still care about crazy encoding of your name :)
 
so you want me to leave the room, don't you :(
you don't accept
strange people with strange encoding of their strange names
 
haha
 
9:14 PM
so guys
I solved my last question
:)
it's time for my next one :D
 
@KyleTrauberman - can I access a hidden field in child page from the master page ? ?
 
since technically is not even there yet
ohhhhhhhhhhhhhhhhhhhhhhhh
I want to punch this computer
 
and because its not part of the masterpage class
 
@ScottSelby it's your pc's fault to see my name strange ..... hit it :D
 
9:18 PM
I know
After redesigning this site , the master page is only used once and everything is coded weird around the master page and I'm scared to see how much stuff will break if I take it out
 
*cough*MVC*cough*
 
I know, I didn't know MVC and my boss didn't either, we both agreed it would of probably been better , but not worth the time to learn it
 
grr stupid formatting
 
cough MVC cough
 
its worth the time to learn it
 
9:20 PM
no ,the deadlines for this are ridicilous
Its supposed to be done wednesday , I don't even have the login working anymore
 
scott, I had to launch my website on my birthday...... 3rd of january
 
cough MVC cough
 
then I decided to delay it to 1st of april
nah ...... 1st of june
 
Woot, we appear higher on the chat listings in SE than C++ channel :¬)
 
goes by last comment
 
ps. Does anyone have the answer to this? stackoverflow.com/questions/11729103/…
 
not by which is a better language , cus then we'd always be on top
 
I don't want to look at Linq right now
that little guy knows too much about me
 
lol he thinks ie9 is netscape 5
 
9:26 PM
he got chrome right
 
I have a question :)
 
where's that site that geolocates you
 
what music does a c# developer listens
 
on the map to your exact address
deadmau5
 
9:27 PM
he knows my router ip, but i'm not sure what he knows about the isp, since that's not the company we pay for internet.
@ЛюбомирМаринов Electronic dance.
 
@ScottSelby Yes :¬)
 
so it's not strange that I am listening to trance music and I am about to play at a trance party in a few weeks, right :D
 
@KendallFrey - you know what i'm talking about , if you google geolocate me , I can't find the one that actually works and gets your exact address , that actually asks your persmission to get you location
 
Small world... McLeod originates from the City I'm in...
 
@ЛюбомирМаринов - youtube.com/…
 
9:28 PM
ahh, @TravisJ :)))))))) the hero from last night
 
@ScottSelby You can look at Linq, superb.
 
:D
 
@ScottSelby I totally need you for the answering of my question.
@ScottSelby I've been given an answer but it dosn't work at all :(
 
@TravisJ Infected mushrooms <3
 
that song is rad! :)
 
9:29 PM
seriously I have to open my Linq book to fix that
@KyleTrauberman - those guys are all in India and countries I can't pronounce on that website
 
really? I've never used those sites, just heard about them.
 
you can't even select a location - maybe if you login , but that is not the way to get people to sign up
 
@KendallFrey lol, are you using me as a proxy? i work for GCU
 
proxy?
 
and alot of 20yrs experience Senior Developer $11.15 hr , well - I don't know about you , but I don't trust a senior developer im paying 11 dollars an hour
 
9:33 PM
relating to that image you posted with your ip and everything saying your isp was GCU
the company i work for
 
thats your ip
 
so you must be using me as a proxy
 
I'm not.
Switch to a different browser and see what happens.
 
ohhh
that hilarious
its dynamic
 
@KyleTrauberman - that little guy is in your computer and knows what youre doing
 
9:35 PM
Presumably when the image is requested from the server the server generates an image and returns that.
 
btw, i was joking about the proxy thing
i'm not really that stupid
 
or maybe I am... ?
 
its a little guy
 
@alan2here I would expect so.
 
9:36 PM
Theres 9 upvotes on the answer that dosn't work and no replies about the error.
Inside about 20mins, then nothing.
@KendallFrey cool
 
I'll look again
 
:¬) ty
 
why are you doing new byte?[,]{{1}},
new byte?[,]{{1}},
the same thing twice
 
to add two identical elements
The array returned by Distinct should contain everything except one of the duplicate elements.
 
oh, your just testing distinct ?
 
9:38 PM
yes
and it dosn't work
 
@alan2here Distinct uses .Equals and .GetHashCode to determine if items truly are distinct.
 
I think It is only checking if the entire a array is distinct of other arrays ,
 
what other arrays?
 
Correct.
You have an array of arrays.
 
exactly
 
9:40 PM
Multidimensional arrays are arrays of arrays.
 
It should be checking the contents of 'a'
 
So new byte[,] = new byte[][]
 
yea , you need something like ... hold on
 
@SPFiredrake NO.
 
youre going to make me pull out my linq book
 
9:41 PM
@KendallFrey Oh?
 
See the first answer from this question
47
Q: Remove duplicates from array

lomaxxI have been working with a string[] array in C# that gets returned from a function call. I was wondering what the best way to remove duplicates from this array would be? I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by using a temp...

 
I'm pretty sure that a multidimensional array is actually a multidimensional array.
 
It's where I got the information for using Linq to do it.
a multidimensional array is a multidimensional array?
I didn't realise that
It seems things are not as they are.
 
sometimes anyways
I got to go catch a train , I'll check that question later tonight , i'll answer it later if no one else didd
but if Kendall can't then im pretty screwed
 
9:43 PM
ty :)
Maybe it's a C# bug.
 
@alan2here Here's the thing about using distinct: for reference types, it uses GetHashCode to determine if objects are the same.
 
No...
It uses Equals.
Surprising, huh?
 
@KendallFrey I don't think so.
 
OK, in which case does it use GHC for equality?
 
The error states that there is something wrong with the equals
If it still dosn't work then I'll try and implment GetHashCode as well.
Like it's telling me the interface of the function is wrong.
Like I've spelt something wrongly.
Except I havn't
Also, GetHashCode shouldn't specify if two things are cirtainly equal.
 
9:46 PM
Crapper, you're right. I was thinking Lookup iterators.
Distinct uses DefaultEqualityComparer.
 
Which for reference types, is their pointers.
Pointer addresses.
I should say...
 
Or can be though of as such.
 
Yeah
 
They aren't necessarily pointers though.
Sorry for being such a b*tch :)
 
9:48 PM
So anywho, when using Distinct, it says "Is this array REFERENCE the same as any other array REFERENCE."
Obviously not, since you newed it.
 
Should my stratergy of overwriting the equality behaviour to do it in a more valueic way, as specified in the answer, work?
 
Overwrite? You don't overwrite, you just provide an alternate.
As far as I know, there's no way to "overwrite" unless you're creating your own class.
 
Provide alternative.
I see, that makes sence now.
 
Class BlackBoxClass()
{
public string GetDateVal();
}

class WrapperClass : BlackBoxClass
{
public new DateTime GetDateVal();
}

NO NO NO NO NO
 
Thanks for that clarification.
9
A: Linqs is ".Distinct()"ly Indistinct

Cole CampbellIt doesn't contain a duplicate. It contains two distinct arrays which happen to have the same values inside of them. Since arrays are reference types, Distinct() does a reference comparison by default; to change this behavior, use this override to specify your own comparer.

 
9:50 PM
@SPFiredrake I checked, and multidimensional arrays are distinct from jagged arrays.
@RyanTernier What's wrong?
 
Yes, they're more like a table.
 
Hate it when people build wrapper classes, and try to "enhance' functionality buy "new"ing base functionality into functionality that sucks
 
Hey guys
 
@alan2here class Nullable_Byte_2D_Array_EqualityComparer : IEqualityComparer<byte?[,]> is fine. Your Equals is off.
public bool Equals(byte?[,] a, byte[,] b) is missing the nullable operator on the second param.
Try public bool Equals(byte?[,] a, byte?[,] b)
 
FACEPALM.
 
9:52 PM
@SPFiredrake lol :¬) omg, how did I not notice that :¬o
It's only complaining about lack of hash code now, I'll include one that reuturns 0.
 
I want to refactor code for my custom window control buttons into some kind of new custom control
 
    public int GetHashCode(byte?[,] a)
    {
        return 0;
    }
 
But I wouldn't be able to access the parent window, would I? Or do I have to just make a new custom Window that inherits?
 
I realized what I said was 1. Wrong and 2. Made no sense, hah
36m to go
 
@KendallFrey I WAS RIGHT!
It DOES use GetHashCode for distinct!
It just uses the DefaultEqualityComparer's implementation!
bool Find(TElement value, bool add) {
            int hashCode = InternalGetHashCode(value);
 
9:56 PM
@walkingTarget Till 11:30? What happens at 11:30?
 
Uses DistinctIterator which uses a Set which uses a Slot to store the items:
internal struct Slot
        {
            internal int hashCode;
            internal TElement value;
            internal int next;
        }
 
I've given you a great comment SPFiredrake.
 
Then I rest
 
Although technically it uses both on hash conflicts.
Still :P
So @alan2here, returning 0 for GetHashCode forces it to use the equality comparer you specify, so you should be fine.
@KendallFrey You made me feel like such an idiot, and yet I've looked into it before and determined that it uses GetHashCode.
Never looked much further, but it does use Equals on hash conflicts.
GRR TO YOU!
 
It's removed the wrong element from the array, but I'm going to check my checking things logic in Equals, I may have messed up somewhere.
It starts with the GetHashCode (twice?) then goes on to the Equals, which I supose makes sence, and possibly means you were both right.
 
10:03 PM
@alan2here It uses hashcode to determine "distinct" elements by hash code first, since it's faster.
Usually...
Then if there are hash conflicts (same hash), it resolves to equals
 
@walkingTarget Smart movee
 
@SPFiredrake Where was that from exactly?
 
Fixed, had an == instead of a !=.
 
@KendallFrey Enumerable.cs
 
Which method?
 
10:05 PM
I have a local copy of the .NET source code.
 
I have .NET and ILSpy.
 
cool
 
Distinct creates a DistinctIterator, which uses Enumerable.Set
Look at Set.Add (which calls Set.Find)
 
It still uses Equality though, I'm pretty sure.
I'm looking.
 
@KendallFrey It uses GetHashCode FIRST. Then uses equals on hash conflicts.
 
10:07 PM
if (this.slots[i].hashCode == num && this.comparer. Equals (this.slots[i].value, value))
 
This is what coding in php will do to you
-10
Q: raciest americans

user1556385why americans are raciest and have high level of rancor in their dirty hearts? being white doesn't mean you pretty nor clean. New americans who invaded this country and uprooted the native people, still thing they are clean. What's the F***? you killed lots of them and you are all pigs!

 
Yes.
2 favorite stars? WTF!
 
@KendallFrey That's what I'm saying though. For reference types, GetHashCode will be different when using the default comparer (unless they're the same reference)
So for your average reference type object, it uses GetHashCode and treats every element as distinct.
Unless you provide a GetHashCode/Equals implementation.
 
26 mins ago, by SPFiredrake
@alan2here Here's the thing about using distinct: for reference types, it uses GetHashCode to determine if objects are the same.
 
What part of that is wrong? :P
It ALSO uses Equals, but it's not wrong.
 
10:10 PM
> it uses GetHashCode to determine if objects are the same.
 
Again, how is that wrong?
 
It's not wrong in itself, but it implies that if the hash codes are equal, then the object is.
 
Definition of HashCode is that distinct objects should return distinct hash codes.
 
Problem is, that's impossible, so Equals is used as the authority.
 
As the FINAL authority. If you can speed up a search by simply providing a strong GetHashCode implementation, everyone wins.
 
10:13 PM
Is it me, or is SO's 404 image needlessly, pointlessly complex?
 
Stop saying I'm wrong. Implications weren't made, but inferences were drawn.
 
10:36 PM
@walkingTarget It's an awesome polyglot!
Would anyone be kind enough to just look at some code and tell me if it's good or not?
 
lets see it
 
Should an installer be allowed to require restarting the computer twice? I think not.
</rant>
 
Anyone here used facebook real-time updates API?
 
11:05 PM
@TravisJ Oops, sorry I was in another room
It's part of a closed source project
 
@Kian - Seems fine to me, is there something wrong with it when it runs or compiles?
 
@TravisJ No, I'm just wondering about the quality
I don't get much (read:any) kind of feedback on code
So I don't really know if I'm writing good stuff or not
 
I don't see any bad practice.
 
Good:)
Anyone ever use Sublime Text?
 
TIL: When anonymous users open a dupe question, they get redirected to the original. Logged in users don't.
 
11:19 PM
That's cool
@TravisJ Did you think that the abstraction of the visible page to an int property was a good idea?
 
@KianMayne - I didn't look that closely, and I can't see the code anymore. I figured you were implementing pagination with that.
 
Yeah
 
11:35 PM
If people are allowed to have disclaimers on their websites that state :
"If you are browsing this site you agree that...... this and this... and that I, the person who wrote this, is awesome".

I wish my browser would send the disclaimer "I am browsing your website. If I find the error and email the fix, I will charge you $x per minute spent fixing your stupid website. Please take your head out of your rear and fix it. Good day mate. Toodles"
 
<html>
<head>
<script> alert("By navigating to this website you agree to allow me to hack your registry, keylog your computer, and impersonate your identity.");
</script>
</head>
<body>
<script> BeginRecursiveIntrusion(); </script>
</body>
</html>
 
Recursive intrusion? How does that work? Does it break each security hole into several smaller holes until it becomes transparent?
 
WEll you did give a disclaimer :)
 
But you want confirm instead of alert.
 
it intrudes by protruding security
 
11:40 PM
It was a fair warning, alternatively it could have been in an <font size="0.000001">.
 
@TravisJ Recent laws prohibit putting disclaimers at a smaller font
in the US and Canada
 
The recursive intrusion begins in their face by overloading their graphics card and then works down to more systems critical systems.
Hm, well I guess then it would be the same to do a <font size=999999> lol
Each letter would take up more than 5 screens.
lol: <font style="font-size:99999px">oops</font>
it isn't what you would expect, there might be a stack overflow
 
<rage>Why does Ubuntu take so long to install?</rage>
 
because it wants to hear your pretty little voice complain
 
That's not how Linux works.
Linux is fast.
 

« first day (653 days earlier)      last day (4311 days later) »