« first day (728 days earlier)      last day (4218 days later) » 

8:00 PM
I'm spamming now gotta stop
 
@JohanLarsson Reminds me of
 
sweet
 
It is really catchy. From the muller ads
 
great voice
 
Yep.
That's the only song of hers I listen to though
 
8:03 PM
You like soul?
 
Rarely. A few
Talking about Soul music reminds me of:
 
Guys, you have to look at this. Very interesting: pastebin.com/VhZn0grU
 
is there a way to make a variable accessable inside any part of a function
without declaring it a global variable
 
C#?
 
yea
 
8:06 PM
how do you mean? code?
 
I'm just trying to make this switch statement not so messy
 
Are you the guy with the XNA stuff?
 
yea
 
any part of a function?
What do you mean?
 
I have some vectors
and there outside the switch statement
but inside the same function
 
8:09 PM
Paste the code..
 
and I'm trying to access them
 
Bryan you're not
typing
coherently
 
        Vector2 apNumLoc = new Vector2((players[0].X - (_scrW / 2)) + 116, (players[0].Y + (_scrH / 2)) + 11);
        Vector2 apNumLoc2 = new Vector2((players[0].X - (_scrW / 2)) + 128, (players[0].Y + (_scrH / 2)) + 11);
        Vector2 apNumLoc3 = new Vector2((players[0].X - (_scrW / 2)) + 136, (players[0].Y + (_scrH / 2)) + 11);
        switch (APint)
        {
            case 1:
                _spritebatch.Draw(_numsb, apNumLoc, apNumRec, Color.White, 0f, _FPSv, 1.0f, SpriteEffects.None, 0f);
 
oh lords
strike me blind
you can access them
variables have the scope of an entire function
 
Yes, so what's your question?
 
8:11 PM
oops
i made a fail
brb
 
oh good he is going to erase that code forever
 
I was looking at the wrong thing haha
 
oh :(
so you're not going to erase it
 
I'll clean it up later
 
@GregRos Scarred for life.
 
I'm assuming your not liking this "(players[0].X - (_scrW / 2)) + 136, (players[0].Y + (_scrH / 2)) + 11"
 
The NAS is insanely fast
 
That is a subset of my disliek
Johan, you trust Windows?
 
why?
ah the speed
 
I mean, the copy timer usually lies.
It's better on windows 7 (I can't believe they literally used the same method for decades before it) but it's still not perfect
 
8:14 PM
but still much faster to move files to NAS than moving between disks on the same computer
 
That's true. I see your point. What's a NAS?
 
It's something you put in your car to make it go faster!
 
Oh, right. So you can hook one up to a computer.
 
yup
it makes it go faster 2
 
[Netgear ReadyNAS](http://www.readynas.com/?cat=94)
a really stripped down fileserver
quiet and efficient
 
8:15 PM
johan
 
@Bryan Bryan
 
Nice. Though you kind of expect that.
It's still pretty cool and a bit surprising.
 
@JohanLarsson i.imgur.com/xbH3P.png
 
That thing probably has RAID coming up the wazoo
 
8:18 PM
@Bryan dont understand?
 
my router = ghetto nas
 
@GregRos Yes RAID 5 but what is coming up a wazoo?
@Bryan ok
 
A lot
Means a lot of RAID.
 
@Bryan clean design
 
8:20 PM
Some of the HD are probably configured for write speed.
 
@GregRos but Raid is good? I bought it just for redundancy of data
 
I hope SO crashes again. Especially the chat. I need to do work
I haven't done anything FML
 
@LewsTherin :D
 
RAID offers different functions. It can be configured entirely for write speed, entirely for redundancy, or mixed.
If you have a RAID system that is configured for read/write speed, you can increase your HD write performance by a factor in your home PC>
 
@GregRos hmm, I never got much out of RAID 0 used to have twin raptors in RAID 0
turned out it was slower than a single raptor
but then the RAID controller was probably sucky (onchip)
 
8:36 PM
RAID literally allows both HDs to work at once, so it can't really be slower if the data is distributed well.
*Raid0
The pipeline is broad enough. The motors can't work any slower.
 
98.30.80.113 Huzzah! I have IIS set up!
 
@SpencerCole Congrats :D
Why not run Apache :D ?
 
I'm running both.
98.30.80.113 is my IIS, 98.30.80.113:33033 is my apache
 
Awesome :)
 
Cause I'm a winner.
 
8:39 PM
@SpencerCole Related post: sphotos-g.ak.fbcdn.net/hphotos-ak-prn1/… :D
 
It sucks how you can only post questions on SO
 
@PicrofoEGY LOL
 
(When you want to post other things; when you do it is very convenient!)
 
@GregRos StackoverFlow is a Q&A Site. Alternatively, you can chat :D
 
I am officially running two servers off of the same computer.
I'm such a nerd. Holy crap.
 
8:41 PM
Time to run MySQL :D
 
I have that running already lol
 
@SpencerCole What don't you have? Do you have a mail service :D ?
 
@PicrofoEGY I don't. I thought about maybe setting one up.
I do have an FTP server running.
 
@SpencerCole I think that it comes with a domain. It'll be weird if you have something like support@98.30.80.113
 
Maybe my next thing will be to set up a Tomcat server to run with my Apache server so I can host JSPs
 
8:44 PM
Don't forget to secure your server
 
@SpencerCole Tomcat and Apache, aren't they the same? "Apache Tomcat"
 
@PicrofoEGY, I know that. Okay. Let me try.
 
I never tried TomCat
 
Does anyone here know F#?
 
@GregRos I know C# :D
 
8:45 PM
@LewsTherin Tomcat is an add in to an apache server.
 
OMG me too!
What a coincidence
 
@GregRos Are you serious! :D
 
@SpencerCole And you can run it separately?
 
@LewsTherin You can run Apache independently, but not Tomcat. You can run a fixed version of Tomcat if you're trying to just look at some JSPs, but it's like a super stripped down version of Apache.
 
@GregRos good question. Would like to get some input from anyone who does know F# as to what the hell I'm doing wrong in learning it
 
8:48 PM
@SpencerCole Alright.
 
@GregRos you hated my code before right?
 
@TomW Learning Haskell and F# at the same time? Bravo.
 
what about now
int AP = players[0].AP;
string APs = AP.ToString();
char[] APc = APs.ToCharArray();
int APint = APc.Count();
int num1 = 0;
int num2 = 0;
int num3 = 0;
for (int i = 0; i < APint;i++ )
{
if (APint >= 1)
{
num1 = Convert.ToInt32(APc[0] - '0');
}
if (APint >= 2)
{
num2 = Convert.ToInt32(APc[1] - '0');
}
if (APint == 3)
{
num3 = Convert.ToInt32(APc[2] - '0');
}
}
Rectangle apNumRec = new Rectangle(num1 * 20, 0, 20, 30);
Rectangle apNumRec2 = new Rectangle(num2 * 20, 0, 20, 30);
Rectangle apNumRec3 = new Rectangle(num3 * 20, 0, 20, 30);
 
@LewsTherin It's like when you run IIS, ASP is just built in, Apache has that capability for JSPs, but it's not built in, you just have to run a Tomcat server in addition to your Apache sever.
 
@LewsTherin heh, thanks. Not getting very far with either though
 
8:49 PM
best code ever!
 
@SpencerCole Oh I see now. Thanks for clarifying.
 
@TomW F# is great
 
Conceptually, I think I get functional languages. But with both, whenever I try to write anything, I just get "FU" from the interpreter
 
Oh god I know way too much about server configurations. I need to go watch an action movie or punch someone in the face.
 
@SpencerCole is this a VPS?
 
8:49 PM
@TomW xD Yeah depressing
 
The syntax just doesn't stick in my mind
 
@PicrofoEGY is what a VPS?
 
@TomW What problems are you having with F#?
Isn't it similar to lambdas?
 
@PicrofoEGY The servers I'm running are on my home desktop. My personal computer.
 
@SpencerCole Virtual Private Server
 
8:50 PM
Probably the ability to do type inference is bothering him.
 
I know what a VPS is, but I need to know what you're referring to.
 
@LewsTherin nothing specific. Just the precise details of how to define types and functions - I can never remember the right syntax no matter how many times I re-learn it
 
I don't own any VPSs
 
@SpencerCole Seems dangerous. I'd suggest you to do a port test
 
@TomW the syntax for F#? IT's... very very simple.
 
8:51 PM
@PicrofoEGY It is! Lol.
 
and check your security settings to make sure you are not vulnerable to attacks
 
@SpencerCole Why is ASP built in to IIS anyway?
 
Don't depend on Windows Firewall. Try COMODO or ZoneAlarm
 
@LewsTherin Microsoft plays nice with itself.
 
@GregRos well, that's how noob I am
 
8:53 PM
@SpencerCole LOL :D
 
@SpencerCole Can it serve PHP pages?
 
I haven't looked at F# for a few months but I can remember...
 
@LewsTherin Poorly.
 
let fun factorial ...
 
@SpencerCole What does IIS serve without configuration?
 
8:53 PM
I've done it, you can set it up in the matter of an hour, but it's broke to the point of I'd rather just use apache for it anyways.
@LewsTherin Html/javascript/css, asp, razor, etc.
 
after that - not sure. Do you state the argument symbols immediately after the function name?
where does the equals go?
 
@SpencerCole Right :)
 
I seem to recall indentation matters - why?
These are purely things I just can't remember, even though I've looked it up dozens of times
 
You need practice I guess.
 
Alright, I gotta go kidnap someone cause they don't want to party tonight because they're sad. Taking my gun in case this gets out of hand.
Ciao.
 
8:56 PM
Have fun
 
Taking a gun to a party is always a recipe for laughs
3
 
lol
Try not to have an "accident"
 
@SpencerCole Hahahaha. Good Luck :D
Lews do you have anything else like Snow Patrol's :D? I can't stop listening to it :D
 
Oh dear.
 
@PicrofoEGY Do you mean band similar to SP? Or music?
@TomW I assume you are not a fan then? :(
 
9:04 PM
@LewsTherin Music or Band, anything :D
 
Last I heard they were a bit...poppy
 
@PicrofoEGY Well there was that Mumford and Sons, The Perishers, The Fray etc..
 
@TomW Snow Patrol - New York is amazing :D
 
@TomW They still write good music.
 
@LewsTherin I know The Fray. I have listened to one of their songs called Don't Let Me Go
 
9:06 PM
@PicrofoEGY Yeah.. listen to this:
My favorite.
 
I'm back. @HansRudel, these dancers, where are they?
 
Good start :D
 
@KendallFrey I took them.
They were impatient.
 
:) :)
 
9:08 PM
Well for me, this sort of stuff is too easy-listening. It's acceptable background noise, but sends me to sleep otherwise
 
@TomW Hahahahaha :D
 
try The Gaslight Anthem. They're a bit more energetic but still in the realm
 
@TomW That's when I listen to Nickelback lol
The lyrics for the song is funny lol
 
I prefer Snow Patrol :D
 
9:10 PM
@PicrofoEGY Me too.
Is that the dude from Inbetweeners?
 
haha, now you mention it...
 
Ah no it isn't.
Not my kind of song :(
@TomW Listen to this
Pumping.
Not good when coding, people think I'm going mad.
 
Better.
These 'people' must be sissies, though
 
Adam Gontier rules.
@TomW They don't look it to me.
 
Because this is still fairly soft
 
9:14 PM
And the one you posted is better? :O
Do you listen to Nirvana etc..?
 
Ha, I figured with the stuff being discussed, that was what was wanted
 
I haven't actually listened to LP in a while.. dang.
 
I cant stand much pop music find it depressing
 
It isn't pop.
 
pop/rock
 
9:18 PM
Depends who you ask. In the academic sense, almost everything that anybody listens to today is 'popular music'
 
@JohanLarsson What about R&B :D
 
You know how I feel when I hear the current pop hits? "Get off my lawn!"
 
I recently rediscovered old Chicago blues
 
As in "This music sucks"
as in, "I liked it better a year ago"
 
refactored a thing that resulted in 80 build errors can not run any tests, sucky spot
 
9:27 PM
Anyone tried TopLine?
 
9:41 PM
If I wanted to create a post-build process, what is the best framework to use?
i.e. modify IL directly
well not directly, but work with it anyway
 
sounds error prone and risky
Check out what theese guys do maybe:
http://visualstudiogallery.msdn.microsoft.com/bd351303-db8c-4771-9b22-5e51524fccd3
I think they do some IL tampering
 
@GregRos You mean, write a program to run post-build?
 
Hello from Disneyland
 
srsly
 
9:58 PM
Do any of you know any good Sci-Fi shows set in the present day?
 
Isn't that sort of counter to sci-fi?
 
and I don't mean like Continuum because that's all futurey and Just Another TV Cop Show
No?
E.g.:
-Heroes
-Warehouse 13
-Eureka
-The 4400
What was that show when people started having dreams about the future or something?
 
@JohanLarsson It depends how you modify it. That code uses Mono.Cecil. I was wondering at the options. There are other things.
 
ok I have never done it, was the only thing I could think of
 
@KendallFrey modify the resulting assembly using another program in order to make automatic modifications to build results.
How most static-weaving AOP frameworks work
Well, all, I guess.
 
10:06 PM
is post sharp open source?
 
Watching Fringe
 
Great show!
Saw it a few hours earlier.
 
10:23 PM
Post Sharp is not open source.
 
@JohanLarsson You should love this:
 
It's commercial.
 
0
Q: Delegates to generic operations where the generic type is non known. How to create something like that?

Ark-kunSuppose I have the following code. static class Store<T> { public T A; public T B; public T C; } public static class Store { public Value A = new Value(...); //Something like <T>(v) => Store<T>.A = v public Value B = new Value(...); //or public Value...

 
Also, it's out-dated.
But it's the only real AOP solution so... :[
@LewsTherin what about that question?
 
It was for Johan. He likes crazy things to do with generics
 
10:24 PM
Oh!
 
What are "generics" :D ?
 
Like templates in C++
List<T>
 
Oh, Okay. Thanks :D
 
Another one!
0
Q: C# How To Do Inheritance From A Generic Class

Landin MartensI have ClassA: public class ClassA<T> I have a generic method in ClassA: protected TP FunctionA<TP>(Expression<Func<T, TP>> p) { //Code for method here } ClassB derives from ClassA: public class ClassB : ClassA<ClassB> ClassC derives from ClassB: public...

I got lost trying to read the question.
DA FUQ?
 
Lews could you understand this? When creating ClassC like in the example above, ClassA will still have a type of ClassB because ClassC derives from ClassB, and ClassB is what sets the type of ClassA to ClassB.
@LewsTherin Yes. I find the question confusing :D
 
10:30 PM
Yeah very convoluted.
 
@LewsTherin Head hurts from both
 
LOL
Imagine how I feel :(
 
Extension methods are maybe a solution for him
but that is not an anwser not even a comment
 
I couldn't understand both questions so no idea at all :D
 
@LewsTherin Neither could I
 
10:40 PM
Jon Skeet would though :)
 
maybe
 
Yeah
 
could be the questions are just plain wrong?
But Skeet would understand that at least and why
 
Another possibility. I doubt they understand what they themselves are asking.
I only managed to get 2 modules done. Jeez
 
@JohanLarsson A moderator recently responded to Landin Martens' question with a Google Search :D
 
10:44 PM
I should have learnt python. Lots of questions
 
@PicrofoEGY lol
 
How did you link that way?
I think someone told me, I keep forgetting
 
@LewsTherin What do you mean?
[text](link)
 
Ah yeah
:(
I guess it has to be an actual link
 
10:47 PM
Yay...
Lol
 
@LewsTherin I forgot how to attach a tag as well :D
 
mmn no idea
I really should read the FAQ
 
Lol
Thanks. Now to read it.
 
They did not tell how to attach a tag! :D
 
10:50 PM
[c#]
:O
 
Sorry I have to go. I'll talk to you later. See you :)
 
[C++]
Later!
 
[C#]
 
lol
 
Does not work! :D
See you later :)
 
10:51 PM
:(
Maybe some day :)
 
Oh here it is [tag: tag ]
 
Without spacing
 
Lulz
 
10:52 PM
Ha ha nice. :P
 
OK. See you later :)
 
Bye!
Goodnight
 
Goodnight for you too. Bye! :)
 
11:09 PM
54
Q: How is Generic Covariance & Contra-variance Implemented in C# 4.0?

Morgan ChengI didn't attend PDC 2008, but I heard some news that C# 4.0 is announced to support Generic covariance and contra-variance. That is, List<string> can be assigned to List<object>. How could that be? In Jon Skeet's book C# in Depth, it is explained why C# generics doesn't support covar...

 

« first day (728 days earlier)      last day (4218 days later) »