« first day (1013 days earlier)      last day (3950 days later) » 

6:05 PM
I can't find any name (signature) collisions from interfaces in .NET
 
I love smart and well planned questions like this one :
-1
Q: I simply can't change label text from another class

user2619948cheers, this is my first post. Seriously, what could be the problem? I've tried every possible solution here. Modifiers set to true, all possible solutions tried in this forum about this question, even changed vs2010 to 2012; heck set everything to public and yet, those damn label strings don't...

 
That question is getting blown to SMITHEREENS!
 
And what does MVVM have anything to do with it?
Also, 4 downvotes is not unusual
 
I am about to add "Is your computer turned on?"
 
> Did you try turning it off and on again?
 
6:10 PM
@KendallFrey Damn you were faster than me
 
DOWNVOTE TIME
 
Downvotes on questions are free!
 
Yayz!
 
put on hold as off-topic by John Koerner, Kendall Frey, Adi Lester, Jon Skeet, newStackExchangeInstance just now
JON SKEET ?
 
HE IS ALIVE
 
6:13 PM
What does hidebysig do again?
 
@CCInc He is always alive. He is omniscient and omnipresent apparently
 
@KendallFrey Because I didn't know if he was binding or what... I just wanted him to give more info... and quit arguing with my comments -_-
 
@Alxandr First google result:
67
A: What is the purpose of hidebysig in a MSIL method?

Jon SkeetFrom ECMA 335, section 8.4.10 of partition 1: The CTS provides independent control over both the names that are visible from a base type (hiding) and the sharing of layout slots in the derived class (overriding). Hiding is controlled by marking a member in the derived class as eit...

 
I remember when he visited our chat room.
 
lol, your google is not the same as mine o.O
 
6:15 PM
I'll check.
 
I remember when I missed him visiting our chat room.
 
@KendallFrey I second that
 
Sucks.
 
There I added my level of assholery to the mix.
 
@Alxandr Obviously, google creates a profile on your search results, so your result is not the same as ours.
 
6:16 PM
@CodeMonkeyAlx Not sure whether to flag or laugh.
 
Yeah, but my google tend to give me coding-results
 
@KendallFrey Use the Force? -- Also laughing would be optimal - Trolls be trolled for great justice.
 
And my google should know by now that Skeet is Law
 
Yep, but that depends on a lot of stuff you actually search and on what you click it
 
6:17 PM
skeet skeet
 
skeet
 
@KendallFrey If it helps there was a bit of productive input in there.
Bzzzzzz
 
Not really recognizable though
 
By the way, Kendall gave me this link and I use it a lot.. @Alxandr askjonskeet.com
 
lol really?
It's supposed to be a joke site. I think...
 
6:18 PM
o.O
 
You can find a lot of skeets answer on SO
I mean, really helpful at times
 
Yeah
You guys read the meta John Skeet super-power-thingy?
 
@Alxandr Jon*
 
Who's John Skeet
2
 
Protip: Never look up "jon skeet" on urban dictionary. No really. Don't.
 
6:18 PM
Right
366
Q: Jon Skeet Facts

Bill the LizardI'm looking for Chuck Norris Facts style answers. In case anyone is curious, this question was inspired by Jon's own comment to this question. EDIT: If you're into cryptography, you may enjoy these facts. Now with official sanction from the powers that be!

 
Guys... Apparently my comment on the guys post got marked as usefull o.O
 
I see that.
 
NOW THAT IS FUNNY.
 
@CodeMonkeyAlx You're welcome. And that was just a +1. I'm going to remove it now.
'CAUSE YOU HAD TO NOTICE
 
I love watching sci fi movies and laughing at their inaccuracy.
 
6:20 PM
@CCInc Go ahead.
 
@KendallFrey have you seen the new superman movie?
 
SCI FI?? INACCURATE?
 
Hell if you want me to I can just delete the comment.
 
blasphamy
 
A few days ago, I watched Star Trek The Naked Time. There were gravity fluctuations lol.
And lithium crystals look nothing like lithium.
 
6:21 PM
lol
its space lithium, duh
 
I should start programming in Paint.
 
Hey, speaking about gravity fluctuations....
 
thought to be theoretically possible, but probably only noticeable if you're sitting on the corona of an exploding star
 
in superman, the aliens come down from space and broadcast on all the tv signals
 
@CCInc omg, i have something for you
 
6:22 PM
You know how they mesure oil left in oil-fields out at deep-sea?
 
some dumb bitch runs through with her iphone "Theyre in the RSS feeds!!!!"
almost walked out
we are xml hackers from space
 
lool
 
474
Q: Why is this program erroneously rejected by three C++ compilers?

James McNellisI am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the best of my knowledge, conforms to all the rules set forth in the C++ Standard. I've read over the entirety of ISO/IEC 14882:2003 twice to be sure. The program is as follows: Here i...

Read it.
 
@CCInc I just started up paint to crop / highlight a screen cap of my victory today - IE: that post.
 
@KendallFrey When they mesure oil in oil-fields at sea, they messure the change in gravity as they pump out oil...
 
6:23 PM
@KendallFrey better question, why is this program written in mspaint
 
^
 
neat
 
woahhh, that's sweet
 
@KendallFrey lol that would get closed now-a-days and people would cry
 
6:25 PM
@KendallFrey Oh gawd
 
Yes, it's locked
 
omg can you remove that gif, PLEASE
 
Have you ever heard of the Friday afternoon phenomenon?
 
nope
 
In Fridays, lots of goofy questions would get posted on SO.
 
6:27 PM
dude, it takook me 5 minutes to write 2 sentences
gif removal!
 
I am not sure that I feel right or wrong about the room title.
 
Right click > inspect element > delete node
in Lounge<C++>, 3 mins ago, by Xeo
@rightfold You have sucked a cock before?
@rightfold What is going on in there?
 
too laggy to right click, i cant even type
 
user142019
@KendallFrey Read the messages above it.
 
You hate mint chocolate? Me too, but not that much.
 
user142019
6:30 PM
It's the worst thing I've ever had.
 
user142019
It's absolutely horrible
 
@Kendall - Click for message actions > click "hide".
 
JUST REMOVE THE GOD DAMNE MOTHER FUCKING SHIT YOU PICE OF FUCKING SHIT
 
2 mins ago, by Steve
too laggy to right click, i cant even type
 
6:31 PM
@Steve Woah. No need of that.
 
can't install random shit on work computers
 
Obviously a lie
 
fuck you
 
:(
:'(
:''''''(
 
@Steve Certainly. bends over
 
6:32 PM
it took me 15 god damned minutes to ask nicely 3 times, and you just want to be a dick for no reason
 
wow there is a ton of lag in here
 
No there's not?
 
what is going on?
 
.
 
@TravisJ lags in Sweden
 
6:33 PM
.
wtf
 
Do GIFs actually lag people's computers? WTF
 
It lagged mine
 
guess the D of SOLID is out then.
 
it takes 2 seconds per lettter that i typed, i had a lot of free time to open the clock while i watched what i type for 15 minutes
 
CPU usage is at 3% with 20 tabs open in Opera, VS, 2 RDP sessions...
 
6:34 PM
Mine was not affected.
 
It comes in waves.
 
No CPU usage but chat was sluggish
 
Yeah, really sluggish.
 
@KendallFrey Our computers are just beast.
 
I believe it is related to the flagging system.
 
user142019
6:35 PM
@KendallFrey Yes.
 
Although that may be unfounded.
 
user142019
Those who have pre-80s computers.
 
@rightfold ...are dudes.
 
Hasn't happened for a while
 
@JLott and btw i wasn't saying fuck you to you, my rage was directed at kendall
 
6:36 PM
lol
 
It was a stressful situation, my first reaction was to cry.
 
lmfao
 
So you are a girl.
 
kind of makes me want to lick your tears
 
:P
 
6:37 PM
IDGAF, GIFs don't give me ANY lag.
 
@Steve Don't do that.. it decreases testosterone.
@TravisJ True story
 
@JLott really? O_o
 
> The best lubricant for anal sex isn't tears. It's blood. - Jimmy Carr
 
@Steve Yep lol actually read this only moments ago
 
user142019
@KendallFrey Poop is way better.
 
6:38 PM
@JLott hahahaha strange
 
@rightfold You're just nasty
 
user142019
And highly abundant in the area.
 
Ugh. No food, again. Why does this always happen to me?
 
@TomW "Poop is way better."
 
@TomW Go get food lol
lulz
 
6:39 PM
@KendallFrey Jimmy Carr is hilarious.
 
Agreed.
> They say there's safety in numbers. Tell that to six million Jews. - Jimmy Carr
 
@KendallFrey ...
 
@ScottSelby I'm pretty good with MVC... sup?
 
no lag, not yet at least
 
6:44 PM
@TravisJ Yes. Mmm. Give me more....
 
I love looking at that shit
 
Oh. Yes. Yes! Ohhhhhh....
Dat hypercube...
 
try thinking in four dimensions. Einstein could do it. Most people, even very smart people, can't
 
6:46 PM
Heh 4. We are trying to optimize something with 8 :(
 
I can think in N dimensions :)
 
Anyone know how to determine if anything (like a method) is protected using reflection?
 
@TomW I can visualize 3D heightmaps.
 
The first one looks like a frog jumping and the second one is like a cheetah running.
 
@Alxandr IsFamily
 
6:48 PM
Isn't that internal?
 
IsAssembly
 
Oh, right.
@KendallFrey basically this:

public static AccessModifier MemberAccess(this FieldInfo member)
{
if (member.IsFamily && member.IsAssembly)
return AccessModifier.InternalProtected;
if (member.IsFamily)
return AccessModifier.Protected;
if (member.IsAssembly)
return AccessModifier.Internal;
if (member.IsPublic)
return AccessModifier.Public;
if (member.IsPrivate)
return AccessModifier.Private;
throw new InvalidOperationException("Unknown access modifier");
}
Oh, wait, ther's familyorassembly
 
IsFamilyAndAssembly and IsFamilyOrAssembly
 
yeah
 
6:53 PM
Though the And-one is only compilable from C++ it seems
At least not C#/VB
 
use it as a COM component?
those can be c++ I think
 
yay answering JS questions
0
A: How to get an image to not vanish even when the page refreshes

Pheonixblade9You can set and get a cookie like this on your button click: $.cookie("showImage", true); Then do the following: $(document).ready(function() { if($.cookie('showImage') $('#loadingImage').show(); });

 
So much $...
 
hey man, jquery gives you $
 
And cancer
 
6:56 PM
cache $$
@KendallFrey why u hate jqueryy
 
I don't hate it. It's just... too overpowered.
 
@Pheonixblade9 - What do you think cookie uses internally?
 
It should be split up to reduce overhead.
 
Do you think it uses localstorage?
 
@TravisJ probably cookies
 
6:57 PM
^
 
The guy that made this bug report obviously doesn't understand what's going on.
 
hm, I have never heard of document.cookie. How long do they persist
As long as a cookie placed with any other method?
 
SAPbobsCOM.OriginalItemParams OriginalItemParams = AltItemsService.GetDataInterface(SAPbobsCOM.AlternativeItemsServiceDataInterface‌​s.aisOriginalItemParams);
Watch out everybody! It's a method monster!
 
but whyy
 
7:10 PM
A wild CRUFT METHOD appears!
 
Hello
Anyone here have experience writing auto-updaters?
Been wondering if this is possible -> stackoverflow.com/questions/17848107/…
 
@JonathanBastnagel depends on what hashing method you use.
 
Hai there!
 
I'm using SHA1
 
if you use a simple XOR hash or something like that, two identical files should have the same hash
 
7:13 PM
Hi. Can anyone help-me to change a select distinct for one subselect?
 
@Pheonixblade9 the files generated aren't identical though, that's the issue
I was expecting them to be
but they're not
 
I'm trying to show a list of people that have entered a room. They first have to enter their name and it should show up on the list. What should I use from the ajax toolkit?
 
are you using an implementation that takes into account anything other than the file contents?
 
then if the files are truly identical (metadata, binary values) they should be identical
 
7:15 PM
Okay I understand that
My point is
On identical setups
on two different computers
With identical source
They generate different binaries
 
What is the problem with that?
 
yeah, that's likely.
^
 
@KendallFrey
 
But why must they have the same hash? Hashing seems to be the wrong solution to the problem. — Kendall Frey 1 min ago
 
Because I can't make binary diffs/patches
 
user142019
7:16 PM
Hello.
 
That sounds wrong also.
 
uhhh
yeah
 
Could you elaborate?
 
try taking a look at this: applicationupdater.codeplex.com
 
Binary diffs? Put them in /dev/null
Just overwrite the file
 
7:17 PM
That doesn't work in this implementation
Our binaries are very large
 
Why not?
 
Last 15 minutes of work = eternity.
 
Sending the entire binary is wasteful
 
That's why binary diffs/patches work better in our case
 
7:18 PM
Sounds like you need to split it into libraries.
 
More of them, then
 
Our primary module has 31
There's several others
And then our core module
 
Well, if you're concerned about the size of the patch, reduce the amount that needs to be downloaded.
And not by using diffs.
 
We've gone that route but it still doesn't solve our issue
 
7:20 PM
What issue?
 
Certainly it's helped
Every update you need to grab all the binaries which are large
 
Why do you need to get them all?
 
vs simply grabbing batches generated from binary diffs
 
Just the ones that have changed would suffice.
 
Anyone ever heard of "loop fusion"?
 
7:21 PM
nope
 
A good chunk of them are touched between every release
 
Split them up more, then.
 
sigh okay so regarding my original question, is it impossible?
 
In computer science, loop fusion (or loop jamming) is a compiler optimization and loop transformation which replaces multiple loops with a single one. It is possible when two loops iterate over the same range and do not reference each other's data. Loop fusion does not always improve run-time speed. On some architectures, two loops may actually perform better than one loop because, for example, there is increased data locality within each loop. In these cases, a single loop may be transformed into two, which is called loop fission. Example in C int i, a[100], b[100]; for (i = 0; i...
=/
 
@JonathanBastnagel Yes, without detailed semantic analysis.
 
7:24 PM
@TravisJ is it giving you trouble?
 
I'm wondering if it's a .NET limitation?
 
@Johan - I realized that my linked list had become a little more.. complex
@Johan - In fact, it is apparently more of a directed graph which contains a cycle.
 
@JonathanBastnagel It's not a limitation, it's just not a feature.
 
@Johan - I am reading up on ways to reverse the graph, and loop fusion seemed like it could possibly place the graph into one loop.
@Johan - There is an article here which seems interesting if you wanted to read something: utdallas.edu/~edsha/papers/tim/ijca00.pdf
 
> the compiler makes no guarantees whatsoever that two "identical" compilations will produce the same results.
 
7:25 PM
Okay thanks
 
15
A: Why is the binary output not equal when compiling again?

Eric LippertUPDATE: This question was the subject of my blog in May 2012. Thanks for the great question! How is this possible? Very easily. Isn't the binary result supposed to be exactly equal for the same input? Absolutely not. The opposite is true. Every time you run the compiler you should ...

You probably read it already
 
I may just take snapshots the automated builds and do diffs off that
That way I can guarantee the client has the same binaries
 
@TravisJ I have a feeling it would be fun to write code with you
 
:P
@Johan - I am still impressed by that js robot you made :)
 
But it would probably turn into two solo sessions just happening to be going on n the same room
 
7:30 PM
I want to try to contribute to the github project but have been pretty busy lately
 
It is pretty idle at the moment, I'm so fkn lazy sitting feels like effort :D
 
haha
 
Apparently my code crashes the system and wipes a certain table? I didn't even know that was possible intentionally.
 
You wiped out a db table?
 
@KendallFrey Lippert is beating Skeet. Impossiboru.
 
7:33 PM
@TravisJ Apparently so.
I'm trying to reproduce now
 
Even though Lippert is probably the only person able to challenge Skeet on C# without disappearing in a puff of logic
 
YES IM MAKING A BACKUP
 
@TomW Lippert probably has a decent rep/answer
 
Lippert - He Whose Blog Shapes What Is.
 
Is there a way to update a gridview whenever the database is changed?
I don't want to do it every 10 seconds. Only when the table changes.
 
7:39 PM
@kaser Using websockets and signalR
Push, or server push, describes a style of Internet-based communication where the request for a given transaction is initiated by the publisher or central server. It is contrasted with pull, where the request for the transmission of information is initiated by the receiver or client. General use Push services are often based on information preferences expressed in advance. This is called a publish/subscribe model. A client "subscribes" to various information "channels" provided by a server; whenever new content is available on one of those channels, the server pushes that information o...
 
how about on visual studios 2005?
 
user1804599
Hi.
 
user1804599
rightfold here.
 
user1804599
I got banned from chat for half an hour LOL.
 
@kaser VS 2005 is just an IDE. SignalR is a library that you would introduce into your solution and then leverage it in order to achieve pushing updates from the database to the user.
 
7:42 PM
@Aardvark You have a sock puppet?
 
really? I voted against your flags
 
ok, between websockets and signalR, which one is faster to understand?
@Travis J
 
user1804599
@KendallFrey I have a back-up account for silly reasonless bans.
 
user1804599
Seriously there was no reason to flag my message, but OH NO it contained the word "fuck"!
 
@Aardvark because of Amsterdam trip?
 
7:43 PM
@kaser - You must use both. SignalR is the server side component. Websocket is the client side component.
 
user1804599
@JohanLarsson :D
 
oh i see
ty :)
 
people flag dumb things
 
user1804599
dumb people flag things
 
@Aardvark That seems ...like breaking the rules
 
user1804599
7:43 PM
@KendallFrey You're allowed to have multiple accounts.
 
Link?
 
user1804599
19
A: What's the SO policy about having multiple user accounts?

Jeff AtwoodIt is not a problem to have multiple accounts, as long as they aren't voting for each other and doing other sockpuppet-y things. Though it is generally discouraged, as what legitimate reason would you need for multiple accounts? Idle hands are the devil's playground, etc etc. That said, for thi...

 
Sure, I have a test account, but I don't use it for breaking rules.
 
user1804599
Also I don't care about the rules nor about people who get ~offended~ by "fuck".
 
Flagged.
 
user1804599
7:47 PM
It's terribly silly to flag in chat.
 
user1804599
If you don't like a room, just leave it.
 
@refp - Where is your meta account?
 
I don't really care about profanity. But I do not condone "not caring about the rules".
 
user1804599
You don't have to be in a room.
 
7:48 PM
@Aardvark Neither do you ;-)
 
user1804599
@refp Your life must be wonderful.
 
@refp - Then how can you speak for the majority of the community?
 
@Travis J I don't think I'll be able to use the library since websockets is an html5 API. I'm using xhtml 1.0. My environment hasn't updated their software. Do you have any other suggestions?
 
They do not. But I don't see why you came in here to rant about it.
In fact.... I think you should probably move on
thanks :)
 
@TravisJ because I find it annoying.. the flags, as you know, show up even if you are not in the room in question. and this room alone is responsible for a buttload of flags
 
7:50 PM
@KendallFrey you flagged it?
 
Ah dammit, what's the delete window on chat messages?
1 minute?
 
censorship, how sweet of you @TravisJ.
 
2 iirc
@JohanLarsson Yes, I did.
 
@refp - The c++ lounge is the majority of flags. If you were in chat more you would probably realize that. This room rarely receives flags. Your assumptions in here are disruptive. It is not censorship, you may find your rant in the recycle bin.
 
Is he saying that we can leave our own chat room because he doesn't like rules? :/
 
7:51 PM
Where it belongs.
 
@Travis J Do you have another suggestion? :)
 
@TravisJ .. I'm a frequent Lounge<C++>er.
 
@TravisJ (Lounge flags are just from n00bs who don't like the talk in there)
 
Then you understand how many flags you guys generate.
 
Most flags come from iOS, Lounge, and PHP
 
7:52 PM
I had 8 in a row earlier from your room resulting in poor rightfold being banned
i voted no on them for reference
@kaser - Avoid push technologies if you cannot support websockets.
 
Starting to want 10k now, could be fun to see flags
 
@Travis J ughh, how bad is it if I use pull?
 
@kaser - Live updating tables are a huge burden. Are you sure you need that?
 
@JohanLarsson it's not, it's a pain.
<- gone
 
It is what is termed as "gold plating".
Gold plating in software engineering or Project Management (or time management in general) refers to continuing to work on a project or task well past the point where the extra effort is worth the value it adds (if any). After having met the requirements, the developer works on further enhancing the product, thinking the customer would be delighted to see additional or more polished features, rather than what was asked for or expected. The customer might be disappointed in the results, and the extra effort by the developer might be futile. Gold plating is also considered as a bad project m...
 
7:54 PM
@KendallFrey What does PHP flag?
 
@Travis J My boss wants it. There will be a screen outside the doorway. They enter their info. It should show up like 20 seconds on their screen when they enter the lobby.
 
@CCInc Trolls.
 
Oh. PHP. Right.
 
@kaser - And this must be done through a web browser?
@kaser - How will they guarantee that their session is active?
 
And I'm not certain, but probably alot of "*Hurr durr give teh codez or I'll hax0r you!@ pls? :)"
 
7:56 PM
LOL
 
If I have a public abstract string Foo { get; }, I can't add a set; in derivatives, can I?
Doesn't seem to work.
cannot override because does not have an overridable set accessor
Am I boned?
 
possibly
 
@Bracketworks no
Make an interface with get only instead?
 
@JohanLarsson Yea, little late for that :-(
Worth considering though; thanks.
 

« first day (1013 days earlier)      last day (3950 days later) »