« first day (247 days earlier)      last day (4927 days later) » 
03:00 - 21:0021:00 - 23:00

 
3 hours later…
05:41
xkcd wtf?
Xeo
Xeo
06:03
lol
It's kidneys.
They stole his ice, and left him in a bathtub of kidneys.
Not sure what AAA means.
 
1 hour later…
07:22
omg what the pictures
it's about C++ ?:D
No! Why would we talk about C++ here?
2
Xeo
Xeo
@MartinhoFernandes Sometimes we get distracted, that's when we talk C++.
08:28
Mornin
@Daniel If the B part starts at a different address, then yes.
Languages like Java and C# don't have this "problem".
08:46
Why the shit would anyone want to buy that? What market is that focusing on?
"(patent pending)" ... "iPod NOT INCLUDED" lol
Speaking of patents, here's a trick to a "No Prior Art " patent: patent something that's physically impossible.
I'm going to patent human flight with no devices.
@MartinhoFernandes You still need a healthy imagination though -- you might just end up trying to patent an impossible device someone else already made a drawing of!
@MartinhoFernandes Is there a patent on the perpetuum mobile?
09:02
No idea. But if you want to invest in what is basically wind, but with more energy loss because you add the friction of a pipeline, the guys of Cold Energy are looking for investors :)
@MartinhoFernandes I read your link more carefully, not just paying attention to the patent bit, and realized how ridiculous the 'operating principle' is. I guess it makes sense if you think like a crackpot.
morning guys
@DeadMG or is it....?
dun dun dunnnnnn!
yes
09:19
the main thing i noticed is that ecofriend spammed me with advertisements
The first one is a regular gas burner, the second is a "hybrid" gas burner. Which is to say, a regular gas burner decorated with some wind turbines.
They didn't even care to make them different to hide their ruse.
And apparently, a gas burner "could be the cheapest way to generate renewable energy"
Note how the first one produces 510 MW from gas, and the second produces 530 MW from gas + wind + solar. And that my friends, is somehow 70% more efficient.
uh
pretty easy if the second uses less fuel
Sometimes I hate IT guys.
My work mouse sometimes double clicks when it shouldn't, started to bother me so I went to the IT station and asked the guy for a new mouse. "Why? Where was this mouse located?"
I tell him that it sometimes double clicks, he plugs it into a station next to him "Nope, doesn't do that"
lol wtf#
got a new mouse from him after a bit, but man, how annoying can you be.
09:30
they don't grow on trees, you know!
I know :(
I bet you want a new pencil when there's still a bit of a stub left of the old one
busted.
"I have never seen a C program that ran faster than an equivalent C++ program. I don’t think such a program could exist."
Some number crunching program too complicated for the compiler to perform full alias analysis on, whereas C can use restrict.
Those are some big words from Bjarne.
Yay, the profiler crashed.
Xeo
Xeo
09:38
But he is right. Equivalent programs will run as fast in C as in C++
If you program them to be equivalent. Yes. But that is rarely done.
@MartinhoFernandes That's a good one. Saw it over at work.failblog.org over the weekend.
09:55
It was on the latest TDWTF, along with the iPod-enabled kitchen scale.
@MartinhoFernandes Oh neat. Will check that out.
Interesting how only the math heavy things get slower in a C# Debug build.
@MartinhoFernandes That is interesting.
AFAIK, the only difference between C# debug and release builds is a bunch of no-ops inserted so the debugger can do all the proper breakpoints.
10:05
Wonder why he isn't using the GCC for C++, I would believe the hash implementation would be better
He then ditches the MS implementation and uses his own.
aye, pretty much a facepalm
Ugh, reading files in C++ seems slow as hell.
I hope it's just MS's implementation.
10:20
@MartinhoFernandes it's both, afaik. Making iostreams go fast is nontrivial, and I don't know if any vendor actually does it
but microsoft's implementation is pretty awful on top of that too, iirc
as I recall
it's something to do with the locales
and no iostreams implementation is very fast
It got an entire section for itself in the TR on C++ performance, which should tell you something about how much work is required to make it perform :D
and as I recall, most of that section was speculative, about things that "could be done", but the authors didn't know of an implementation which did it
@DeadMG and virtual functions everywhere
10:35
yeah
not really the Standard way
Xeo
Xeo
10:50
How the fuck do I clear a property grid in C#? -.-
2
Q: Resetting properties from a property grid

Eric AnastasI am using a PropertyGrid to show properties from my objects. However, I'm also allowing the user to create their own properties, and set values for these custom properties. Each object that can have these custom properties has a Dictionary collection, where the string is a unique key to identify...

?
PropertyGrid.Categories.Clear ?
Xeo
Xeo
@ÓlafurWaage Don't want to reset the values, I just don't want anything in the grid itself xD
what about PG.Categories.Clear?
or iterating through it and using the remove method
Xeo
Xeo
No Categories property
What about PropertyGrid = new PropertyGrid()?
Bam! It's gone.
10:57
@Xeo perhaps Categories is a static?
and you pass to it your grid
Xeo
Xeo
@MartinhoFernandes Nope...
-.-
propertyGrid.SelectedObject = null;
screw it
How can a profiler take over 1000 seconds to run on something that takes 9 sec to run normally.
Xeo
Xeo
@ÓlafurWaage It recursively profiles itself
by inserting lots of instrumentation code
@jalf probably correct, it's java
Xeo
Xeo
11:04
Heh @DeadMG, same idea on that new question :D
owned ;p
11:41
Hello
I have in my source code an error which sometimes produces a SEGSEGV. It depends on the call environment. What is the best way to find it?
www.stackoverflow.com
Xeo
Xeo
Hm... can I catch an event when the user clicks on the [x] in C#? oO
www.stackoverflow.com
Xeo
Xeo
Heh :D
yo momma
11:51
@DeadMG Was the advice for me?
Xeo
Xeo
Hmm~ Nearly finished with my C# exam. I had 14 days of time to do it. I started 4 hours ago. :)
lol
my PROLOG exam is tomorrow
I'm so fucked, it's unbelievable
Xeo
Xeo
xD
Tell me... aren't you saying that for every single exam out there?
3
possibly
but for those exams, I just wasn't really paying attention until the last minute
for PROLOG, I already tried it repeatedly and it didn't work for me
I remember finding PROLOG to be a distateful but rather simple language.
11:59
Are you studying PROLOG or why the exam?
studying PROLOG
horrific language
Oh yeah
I know it -.-
it's just not a logical approach
why should I have to prod the CPU into logically deducing what the list looks like after appending to it? I already know the answer
What's the course about?
the first part is PROLOG
12:01
PROLOG itself? Or is PROLOG just the delivery method?
the rest is some AI stuff
Seems similar to one I had last year.
I actually liked it. If only there wasn't for all that PROLOG.
yeah
honestly? first-order logic is not particularly applicable to programming
stuff like agent-based systems is way better if you ask me
It's no fun to "program" in PROLOG.
Oh, we didn't deal with logic much. We dealt with stuff like (multiple or not) inheritance, how to handle different kinds of lack of knowledge, and then we finished with reactive agents stuff.
12:05
well, logic fundamentally doesn't model the state of a computer
because in logic, stuff is constant- either true or false, and in my computer, it's state changes billions of times a second
Oh yes, we also had a part about multi-valued (fuzzy) logic.
So we had true, false, and everything in between.
logic is bad enough with just true and false
Fuzzy logic? It seems to be amazing isn't it?
I haven't it yet
did you accidentally the word?
12:16
i think there's a word missing from your messages, possibly for profanity reasons
I haven't it yet <- is missing a word
oh ah ... sorry
I mean I haven't any lessons in fuzzy logic yet
hello
12:24
man
I hate my degree so much
t.co/JEWQfJq - How a company switched from C++ to Erlang to power Video Game Servers.
being used by Call of Duty is not an advertisement
I've played Modern Warfare 2, and the connection code in that thing sucked, horrendously
The mw parts of CoD aren't very good
In my opinion you can not call the physics physics.
Funny how they trusted the backend of the largest Call of Duty game to 16 guys from Ireland
especially one that had only a very small load factor relatively previously
12:41
yeah, that seems a bit of a leap of faith
Xeo
Xeo
12:54
Somehow, I feel sorry for this question xD
13:40
my "redefining" a name for typos answer still gets votes.... lol
I guess you high rep guys are used to that.
14:03
not really
I don't find many, if any, of my old answers get upvotes
every time my rep goes up, I can usually attribute it in it's entirety to votes on answers in the last 24 hours
Xeo
Xeo
Yeah
Sometimes, if someone links your answer / question or a post gets closed as a duplicate, then you get more upvotes, but normally after at most 48h the questions are dead, and as are the answers.
I dont find that, most of my upvotes (I'm pretty inactive) are old questions
Of the last 7 questions i've gottten rep from: two of them are recent
I get passive rep from very old answers once in a while.
Depends on the tag and the question. :P
14:20
It would be nice to be an iPhone developer. An app generates passive income, more apps give you a cumulative effect.
Of course, its easier said than done :D
Yeah, and then Apple comes along and kicks you out of business.
@MartinhoFernandes that would suck
Tell that to the iFlowReader guys.
And I have more bookmarks like that at home.
This is funny, someone posted a reddit question titled "How is it". He accidentally pressed enter too early. Now it's getting mass upvotes and all kinds of replies: reddit.com/r/AskReddit/comments/i41e7/how_is_it
14:50
I'm sleepy.
And this is boring.
Bad combination.
OWNED
And I'm trying to stay away from coffee.
It's addicting.
Xeo
Xeo
Coffee tastes bad.
@MartinhoFernandes Coffee is healthy.
> Coffee contains an as yet unknown chemical agent which stimulates the production of cortisone and adrenaline, two stimulating hormones.
Mystery
I read somewhere that it doesn't stimulate production of adrenaline directly but that it blocks adrenaline receptors in the brain, and it gets fooled into thinking the adrenaline levels are low. "Hey! We're losing adrenaline fast! Glands, starting pumping!"
But I can tell you from experience: too much coffee is not healthy.
15:02
For any T: Too much of T isn't healthy
But coffee being addictive, it's easy to fall into too much.
At least for me.
Xeo
Xeo
room topic changed to Lounge<C++>: Which should be named Lounge<cool people>
time we changed it again
Yay, I'm cool!
Xeo
Xeo
Lounge<C++> just doesn't fit, as we only talk about C++ when we get distracted
15:12
@MartinhoFernandes Blocking adrenaline (or dopamine) receptors would cause an increase in the amount of adrenaline in the synapses. This would cause the neurons to send signals at higher rate (literally overclocking the brain). This is how most powerful stimulants work. However, I believe caffeine works differently.
@MartinhoFernandes however, I didn't study medicine, so don't take my word for it.
Don't take mine either.
Xeo
Xeo
Johannes
Lounge<T>: Runtime what?
Wikipedia being most unbiased: "Caffeine has been shown to have positive, negative, and no effects on long-term memory." (en.wikipedia.org/wiki/Effect_of_caffeine_on_memory)
15:17
> Stroke patients are NOT "Charlie Carrots"
@StackedCrooked Wow. I wonder if it has been proved to cause all three (positive, negative, zero), or if it just doesn't have any effect, and something else causes the positive and negative.
Assuming Room Temperature, hah brilliant.
15:35
@MartinhoFernandes the former
Ryan Dunn dead. Car crash last night.
So, it was TDS then.
Anyone know of any Q&A modules that can be used to post live questions during a webcast and have the questions pushed to the presenter of the webcast by a moderator
@Magnum: Modules for..?
15:49
for a Q&A
sorry I should be clear, I'm after a Q&A with live comments with the ability for a moderator to push comments to the presenter during live webcasts
> If we had e fingers on each hand, our numbering system would have been a lot more natural.
6
lol
Oh, you were talking about exams earlier. I have an exam, too, tomorrow.
And I predict an utter failure, based on earlier tests.
@Magnum You're being incredibly vague. We have no idea what technology you are using, what dependencies/requirements there are, etc.
I have an exam at 20:00 tonight. It's now 18:00 and I still haven't started studying. Crap.
16:01
and I thought I was slacking
I'm pretty bad.
@StackedCrooke: You have an exam at night? That's pretty bad.
That's fine. It's evening classes anyway.
When I was a kid I'd leave studying for some of my undergrad modules until about 40 minutes before they started :P
Xeo
Xeo
RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGH
16:08
I want to play Fallout, not study for some stupid exam. :(
@TomalakGeretkal I've had occasion when I studied after it started :P
I hate you, mathematics, you deny me Fallout.
@MartinhoFernandes :D
@Xeo What?
Maybe he's learning COBOL, you need to get your inner dinosaur out for that.
Xeo
Xeo
@TomalakGeretkal My internet. I absolutly hate it, when it gets slow.
16:24
@Xeo I see.
@TomalakGeretkal, why are you chatting. go back to your SO-slave room
@JohannesSchaublitb :( sorry master
@litb: BTW, 20k :D
ohh
BTW "@litb" doesn't hilight me
just like @Tomalek doesn't you
16:26
BTW, about the earlier passive rep topic: data.stackexchange.com/stackoverflow/s/348/my-money-for-jam
(Let's start every second message with BTW!)
incidentally, both types of typos are some kind of mirroring transformations
WTB.
Way to blow.
first your mirrored my whole nick and then the first word of it (with a sequence point between two actions)
@JohannesSchaublitb I know
I wonder if I get banned if I start tagging PHP questions with 'derp' tag.
@JohannesSchaublitb Sometimes I use the reply button. Other times I just direct the message at the person generally. In the latter case I might just write "@litb", hence the disparity.
@CatPlusPlus Likely.
Well, it'd be worth it, if I could still chat.
16:30
in some cases you may have written "@litb" and I wasn't noticed hence couldn't answer and you thought of me like "hah, now I out-smarted him!"
@JohannesSchaublitb bwahaha my cunning plan
16:45
So, let's say I had a bunch of classes in a 3rd party dll that all had identical methods, but they didn't derive from a base class. I can't change it because I don't have source code. Can I use a template class that derives from a base class so I can implement dynamic polymorphism on the original set of classes?
@CatPlusPlus I'm debugging COBOL
@Xaade Hi T-Rex.
Rawr Nom-Nom-Nom.....
Lot's of rarer people today. Is our family growing?
Someone left candy on the floor.
Someone left candy on the floor and now the cat is distracted.
This is why we don't let animals come on our raids.
Wha?!?!
Not you feral druid. I'm talking about the vanity pet!
room name changed to Lounge<C++>: Mind the candy, please. It sticks to shoes
17:05
Mind candy.
@Xaade Ha! Gotcha! It's room topic ...
owned
Can we even change room name?
no idea
Lalala.
We can't!
17:06
yes
oh, yes, we definitely can
because I remember coming up with the current name
room topic changed to Lounge<C++>: Which should be named Lounge<cool people>
I wanted to see who'd notice. :(
I certainly did
the first thing I thought when I looked at the room info is "What prick changed it to C+-?"
Also, I find it funny that we can't delete audit messages, but can edit them.
Makes perfect sense.
17:23
room size changed to Lounge<C++>: Only holds 3 due to fire martial codes
I was told to hold more people, we'll have to build a 2nd entrance to the room.
room south wall knocked out
I sees the internetz.... zomg....
You've broken the fourth wall!
Xeo
Xeo
17:40
YaY, Wall 'O Text question done!
@CatPlusPlus I realized that I'm an avatar in a chat room forced to say everything a guy behind a keyboard types into a little box on the screen!!!!
@Xaade OH GOD, me too! WE SHALL LEAD A REVOLUTION!
Also, I suck at math and so going to fail tomorrow.
18:08
23
A: How many elements will be in the array?

Xeo6, with proof by Ideone (look at the errors). Edit: Actually, the example looked like this at first: #include <iostream> template<class T, int N> int length_of(T (&arr)[N]){ return N; } int main(){ char a [] = "EFG\r\n" ; std::cout << length_of(a) << std::e...

hahaha awesome :)
Xeo
Xeo
Did I mention I love templates? :)
> You are creating a pointer and putting stuff there without allocating memory. Therefore you will have a memory invasion.
MEMORY INVASION.
I'm so going to use this term.
char* george_w_bush;
*george_w_bush = "I'm in your memory!";
You have to put some oil there first.
xD
I also like this idiom for catching checked exceptions that you know won't occur:
try
{
    foobar();
}
catch (Exception theSpanishInquisition)
{
}
18:19
Do or do not, there is no try!
xD
Okay, suckers, I'm going to bed now with this babe:
Xeo
Xeo
This is actually very neat.
19:07
hey guys, question
what's the smallest tool to "unsfinae" something
like, template<typename T> typename T::foo f(T const&); I want this function to be used and fail to compile even if T has no foo member
Xeo
Xeo
@JohannesSchaublitb Huh?
what's the shortest way to write a common reusable tool for this
may depend on c++0x if you like!
Xeo
Xeo
Uhm... take away all other overloads?
independent of other overloads
for example template<typename T> typename T::foo f(std::vector<T> const&); and there are other f functions that still must be there
19:36
@CatPlusPlus Memory invasion, avatar revolution.... blockbuster wars?!?!?
hi hi
@Johannes: Put a static_assert in the body
I think
or you could do
typename std::enable_if<(static_assert... , true), T::foo>::type
2 hours ago, by Xaade
So, let's say I had a bunch of classes in a 3rd party dll that all had identical methods, but they didn't derive from a base class. I can't change it because I don't have source code. Can I use a template class that derives from a base class so I can implement dynamic polymorphism on the original set of classes?
rlc
rlc
@Xaade you mean the adapter pattern?
@rlc I co-discovered fire!!!!
19:46
@DeadMG not going to work xD
static_assert isn't an expression
oh
does that mean that you can put it wherever you want?
like, just randomly add it on the end of the declaration
@rlc Meaning I invented something without knowledge of it already existing.
co-discovering means that I actually discovered it on my own.
rlc
rlc
@Xaade makes sense
hey
I did that with AMP, thread pools, and reference counted pointers
rlc
rlc
in that case, I guess almost every toddler on earth co-discovered sucking their thumb
19:50
Although I did it without any boost stuff.
@rlc A discovery made by two or more people, especially such a discovery made independently.
So yeah, they did
rlc
rlc
20:14
do any of you know whether OALPAtoUA can be used safely in an iSR?
Xeo
Xeo
20:24
Wait what?
20:40
@DeadMG Also no comma operator in a constant-expression
@JohannesSchaublitb Can't you just use a return type that cannot be instantated?
template<typename T> std::array<int, 0> f(T const&);
Hmm, g++ only issues a warning that zero-size arrays are nonstandard, and that only with --pedantic, and even then std::array avoids the warning! But you get the point.
Anyway… Hi, everybody!
03:00 - 21:0021:00 - 23:00

« first day (247 days earlier)      last day (4927 days later) »