« first day (620 days earlier)      last day (4346 days later) » 

4:00 PM
Plonked?
 
"@CatPlusPlus" and "balls" go surprisingly well in the same sentence.
@Drise Ignored.
 
@Drise search SO chat history
 
sbi
@Drise You forgot a lot more than those.
 
@EtiennedeMartel Thought so.
 
@EtiennedeMartel Teach a man how to fish...
 
4:00 PM
@sehe And he gets hit by one.
 
@EtiennedeMartel how have I been here 9 months and not noticed plinked!=plonked
 
lulz
 
user784668
@sehe Teach a man how to duck instead.
 
Ha! I knew it wasn't self evident.
 
sbi
@Drise Plonked.
 
4:01 PM
@sbi Did I? I'm not familiar with anyone else off the top of my head.
 
Plonk is a Usenet jargon term for adding a particular poster to one's kill file such that the poster's future postings are completely ignored. It was first used in 1989, and by 1994 was a commonly used term on Usenet regarding kill file additions. The word is an example of onomatopoeia, intended to humorously represent the supposed sound of the user hitting the bottom of the kill file (imagining perhaps the kill file as a bucket). It is also sometimes given as an acronym standing for Please Log Off, Net Kook, though this is likely a backronym. Other used expressions are "put lamer on kill...
 
Robots are animals too.
Ok, maybe not.
 
sbi
@Drise For starters, there's a also a puppy, a penguin and a lion.
 
@RMartinhoFernandes About to say, quite a stretch.
 
user784668
@RMartinhoFernandes Flagged as offensive (towards robots).
 
user784668
4:02 PM
@sbi Penguin? Who?
 
The snowman.
 
@RMartinhoFernandes Frosty?
 
@sbi Oh bigger balls. How could I forget the puppy... Well, maybe because he still scares me.
 
@Drise He barks a lot, but he doesn't bite.
 
@EtiennedeMartel So I've been told.
 
sbi
4:03 PM
@Drise And then there's the Big Lurker, who's two shepherds.
 
oh, looking through the backlog, bob's real problem is his IDE is using GCC 4.4 for some reason instead of the latest GCC. And he doesn't seem to have boost installed.
 
Why is boost always a requirement?
 
user784668
@MooingDuck Yup. And not building the fucking code.
 
4:04 PM
@Drise Because C++ sucks without it.
 
user784668
@Drise Because you don't want your code to compile quickly.
 
sbi
@Drise Boost is required for C++ programming for the same reason sanity is required: How do you think you get anything done without it?
 
@MooingDuck I think Eclipse CDT comes with a built-in toolchain.
 
@bob if you don't have boost installed, you can't use boost's libraries. You'll have to use rand
 
user784668
@EtiennedeMartel Untrue.
 
4:05 PM
@Fanael Maybe.
 
user784668
@MooingDuck Untrue if you have TR1 or C++11.
 
bob
@MooingDuck how can I know for sure whether I have it or not?
 
@Drise Because the alternatively is to do it yourself.
 
@Fanael he doesn't
 
bob
@MooingDuck I mean apart from failing to do #include <boost/random.hpp>
 
4:07 PM
@bob It's possible you have it installed and haven't got the include paths right, but it's easier to tell you how to do rand right over the internet than to fix your include paths over the internet
 
user784668
@MooingDuck He should have TR1.
 
bob
I already had rand working
 
The best solution would be to have Eclipse use your newer version of GCC instead of using 4.4, but I don't know how to fix that over the internet either.
@Fanael was that before or after 4.4?
 
bob
@MooingDuck well yes I'm not going to update gcc just because of one function. Besides it could break existing code.
 
user784668
@MooingDuck Before. I think that 4.1 had good TR1 support, not to metion 4.4.
 
4:09 PM
@bob Aww come on. Be a risk taker. All the cool kids are doing it.
 
I checked the dates, he should indeed have TR1
 
bob
@Fanael well then if 4.4 has TR1 support, why does it say that #include boost/random.hpp can't be resolved ?
 
@sbi Hmm, just looked at this window and saw that
 
sbi
Hey, he can talk!
 
@bob boost is a library, and TR1 is a completely different library
 
user784668
4:10 PM
@bob Because Boost is a third-party library that has nothing to do with TR1.
 
@bob they just happen to have some of the same functions and stuff.
 
@sbi Ha! Is that why you linked it? Sorry, I have this tab open in Firefox, and never close it
 
@sbi Oh, I didn't associate "shepherds" with dogs. Here we call those "German shepherds".
 
bob
I see. so in the end, the easiest solution is probably to use rand() and let go of boost/random.hpp ?
 
@Prætorian That's the spirit.
 
4:12 PM
@RMartinhoFernandes We call them Alsatians in India
No one will know what is if I say that here though
 
sbi
@Prætorian Someone was listing users with animal avatars here, and he forgot many. So I listed a few, and when it came to shepherds, the robot was baffled. So, nothing to see, move along...
 
@bob replace boost with tr1 and see if that works
 
@sbi Well then thank you for remembering me. I only have 1 shepherd now, the smaller one in the picture died about a month ago
 
user784668
@Prætorian Aw, that sucks.
 
#include <tr1/random.hpp>  //or something, I don't recall exactly
 
sbi
4:13 PM
@Prætorian I am sorry to hear that.
 
user784668
@MooingDuck <tr1/random>
 
Thanks, it was hard, but she'd been sick for a while, so probably a good thing
 
bob
@MooingDuck #include <tr1/random> is found
 
@bob johndcook.com/cpp_TR1_random.html here's an article on how to use it
 
@sbi Although I can't say I like the Big Lurker moniker ... justified maybe, but I still don't like it :P
 
sbi
4:17 PM
 
bob
@MooingDuck Thank you very much for your help, I think I got it now. Can you please confirm that this is what I need in order to have a random number between 0 and 255 ?
std::tr1::mt19937 eng;
std::tr1::uniform_int<int> unif(0, 255);
int i = unif(eng);
 
Looks like it.
 
bob
thanks. What seed is used in that case ?
it's dealt internally by mt19937 ?
 
Yeah, you probably want to seed it with time or something.
 
@sbi Content wall at work is blocking that
 
bob
4:20 PM
do I though ?
 
user784668
@bob Some default constant.
 
@bob Otherwise it generates always the same sequence.
 
bob
@Fanael so it always produces the same result ??
 
user784668
@bob Yes.
 
@bob no, the same sequence
 
4:21 PM
A sequence such that the 10000th result is 4123659995.
I shouldn't have memorized that.
 
user784668
@MooingDuck A sequence is the result of a pseudo-random number generator.
 
3
A: C++ TR1: how to use the normal_distribution?

pmeerwI have had the same issue with the code originally posted and investigated the GNU implementation of first some observations: with g++-4.4 and using the code hangs, with g++-4.5 and using -std=c++0x (i.e. not TR1 but the real thing) above code works IMHO, there was a change between TR1 and c+...

 
sbi
@Prætorian It's just an image of a lurker.
 
bob
@Fanael and then the result of unif(eng), what is it?
 
user784668
@bob 5
 
bob
4:22 PM
but i mean, always the same one?
 
sbi
Ha!
@sbi: Your comment is fairly illustrative of your participation on Meta; you don't particularly care to have anything to do with us heathens, but you're quite happy to jump in and point out the occasional logical fallacy when it suits you. — Robert Harvey 20 mins ago
:)
 
user784668
@bob Run it and see.
 
sbi
@Fanael <insert xkcd about random number>
 
@sbi So he's calling you the Big Lurker of Meta :)
 
bob
what was that website you guys used to compile a short code snippet ?
 
4:24 PM
ideone.com
 
sbi
@Prætorian Yeah, but I gave him a well-linked reply.
 
bob
thanks
 
sbi
@bob It's all in the newbie hints.
 
@sbi Seems you're famous.
 
@sbi inmates ... that's funny
 
4:25 PM
^ I just had to try
 
sbi
@RMartinhoFernandes Pfft! Bad reputation is reputation, too, and has to be earned laboriously.
 
Didn't work in Windows' image preview.
 
:4293164 isn't posting animated gifs a no-no?
 
sbi
4:26 PM
@RMartinhoFernandes By binning an animated gif in the chat?!
 
@sbi No. What made you think that.
 
I was waiting for the build to finish while I binned that.
 
bob
well yeah it always produces the same output :(
that's not really the way to generate a random int :(
 
@bob std::tr1::mt19937 eng(seed)
 
bob
4:29 PM
what is 'seed' ?
 
The same thing you'd use for srand.
I think most people use time(NULL).
 
bob
would time(NULL) be ok then ?
 
Doesn't @JerryCoffin live in CO Springs? Wonder if he was affected by this
 
bob
thanks very much everyone. Sorry for the disturbance. Have a nice day
 
@Prætorian He mentioned it here.
yesterday, by Jerry Coffin
I feel pretty safe though. The Air Force Academy is between it and me. The last big fire, the commander of the Academy pointed out the resources he'd use to stop a fire if it got too close (something about "I'll have more equipment here in one day than they've assembled in a month -- and while they may not be as well trained, I'll throw 10000 men at it without even blinking").
 
4:33 PM
@RMartinhoFernandes That's comforting
It's been crazy with the wildfires around here, there was a much smaller one burning west of Boulder yesterday. The city was blanketed in smoke
 
sbi
@Prætorian Well, except when you're one of those 10000 man.
 
@bob did you see the answer I posted 13 minutes ago about how to seed and use the TR1 random generator in GCC 4.4?
 
@sbi True. And AFAIK, that academy is under evacuation orders
 
Oneiric tits sounds great.
 
4:39 PM
Is it possible to make a "general" makefile that will build all files within a directory (and possibly subdirectories) and add all dependencies in some way and link all the shit?
I'm so tired of makefiles
 
@ManofOneWay Try $(wildcard ...) to get a list of files.
For dependencies you need some other tool, like g++ -MM.
 
sbi
@RMartinhoFernandes They are gonna ruin my productivity for days...
 
@RMartinhoFernandes @sehe gave me some Makefile before, ideone.com/Mpm2I
I don't really know what everything means in there, it looks nasty
 
user784668
@ManofOneWay Isn't that "rebuild everything whenever a single source file changes"?
 
I don't know, is it?
 
user784668
4:42 PM
@sbi No, I said 5, not 4.
 
@Mysticial Waaaay to overachieve ;)
enjoy your gold badge :) you’ve earned it
 
@RMartinhoFernandes Too bad Ubuntu already used Oneiric once. That would've been a great name when they got to T
 
@ManofOneWay Visual Studio
 
user784668
@Prætorian But the two words have to begin with the same letter.
 
@MooingDuck I want C++11 and I have mac
 
4:44 PM
@ManofOneWay This adds linking ideone.com/6Lv8J
But doesn't do recursive directories.
For that I think the usual solution is to use a Makefile per directory. I.e., madness.
 
user784668
Makefiles are fugly.
 
Can't you use another build system?
 
makefiles are the coolest
 
@Fanael Thank you Capt. KillJoy. :) Maybe Terrific Tits then
 
@keithlayne You're back! Howdy.
 
4:46 PM
automake and LSD go hand in hand
@RMartinhoFernandes hey man
 
user784668
@Prætorian Tits aren't an animal.
 
@Fanael They are.
Tits are everything.
 
The Great Tit (Parus major) is a passerine bird in the tit family Paridae. It is a widespread and common species throughout Europe, the Middle East, Central and Northern Asia, and parts of North Africa in any sort of woodland. It is generally resident, and most Great Tits do not migrate except in extremely harsh winters. Until 2005 this species was lumped with numerous other subspecies. DNA studies have shown these other subspecies to be distinctive from the Great Tit and these have now been separated as two separate species, the Cinereous Tit of southern Asia, and the Japanese Tit of Eas...
 
user784668
@RMartinhoFernandes They aren't an animal.
 
@ManofOneWay g++ -o myprogram -I. 'find . -name "*\.cpp"' (Replace single quotes with backticks.). It will only work for simple projects though.
 
4:47 PM
@KonradRudolph thx! I definitely went a little overboard with that. lol
 
@ManofOneWay Btw, I asked a similar question on SO a while ago. (Nearly two years ago :) )
 
I'm working in a CS lab now, and the boss says that the work "has to be in Java, so it will be platform independent." sigh
 
And while we're talking about tits, this is one of the best headlines I've ever seen
[Great tits cope well with warming](http://news.bbc.co.uk/2/hi/science/nature/7390109.stm)
 
@Prætorian Must be a nightmare to teach about in college.
 
@Prætorian the picture and subtitle are amazing in that link.
 
4:50 PM
@StackedCrooked Are you also using mac?
 
@keithlayne I hadn't noticed the caption
 
It's classy. Um, I guess I meant caption, you know, for the photo.
 
I know what you meant
 
@Mysticial has pictures, must +1.
 
bob
4:53 PM
@MooingDuck yes I did, but in my cast the code sample I provided doesn't hang so I'm ok with it. I have one last question. time(NULL) provides one different random value per second. That's not enough, I need to be able to create more than one random number per second. What could the seed then be ?
 
You could try tr1::random_device if it's not a dummy in your implementation.
It's supposed to be a real source of entropy, but sadly is allowed to not be, and in some implementations (MinGW, I'm looking at you), it isn't :(
If that's not an option, you'll need platform specific things, I think.
 
bob
no i'm not using mingw
what's the exact syntax ?
 
std::tr1::random_device()() should give a nice seed.
 
user784668
@RMartinhoFernandes It should be easy to implement it in MinGW. But getting the patch into mainline… ouch.
 
And it seems the one in VS isn't non-deterministic either. WTF. Why is everyone making this thing useless?
 
bob
5:00 PM
#include <tr1/random>
#include <iostream>
int main(){
std::tr1::mt19937 eng(std::tr1::random_device());
std::cout << time(NULL) << std::endl;
std::tr1::uniform_int<int> unif(0, 255);
unif.reset();
int i = unif(eng);
std::cout << i << std::endl;
}
this syntax does not work, what's the correct one?
(for random_device())
 
@StackedCrooked Thanks btw!
 
@bob "does not work"?
 
@bob The two pairs of parenthesis were intentional :)
The first one constructs makes an object, the second gets a value from it.
 
bob
well the two pair don't work either
 
@bob you should only seed once per program run, not per random call.
 
5:04 PM
within java... do i need to explicity cast an integer to char?
 
bob
@MooingDuck right! that's not easy to do though, it means I have to seed it somewhere and use it elsewhere. Any easy way of doing that with some kind of static function or whatever, so that it the code has already been there, it won't go over it again ?
 
@bob define "doesn't work" what is the full error message?
 
bob
g++ -o prog test.cpp
test.cpp: In function ‘int main()’:
test.cpp:4: error: ‘parameter’ declared as function returning a function


In file included from /usr/include/c++/4.4/tr1/random:59,
from test.cpp:1:
/usr/include/c++/4.4/tr1_impl/random: In member function ‘_IntType std::tr1::uniform_int<_IntType>::operator()(_UniformRandomNumberGenerator&) [with _UniformRandomNumberGenerator = std::tr1::mt19937(...), _IntType = int]’:
test.cpp:8: instantiated from here
/usr/include/c++/4.4/tr1_impl/random:1612: error: ‘std::tr1::mt19937(...)’ is not a class, struct, or union type
 
std::tr1::mt19937& get_engine() {
    static std::tr1::mt19937 eng(std::tr1::random_device());
    return eng;
}  //seeds only once, no matter what
 
@MooingDuck Two pairs of parens.
 
bob
5:09 PM
@RMartinhoFernandes but I did try two pairs, and the output is copy pasted above
 
@thecoshman How else would you draw a pixel on non-integer coordinates? And what is OTT?
 
bob
I have one small question though. If I seed only once, will I not sooner or later reach the end of the sequence that was derived from it ? Is it an infinite sequence ?
because otherwise I can just use TIME(NULL) and let go of all that complicated stuff regarding random_device(), can't I ?
 
@bob yes, but it won't loop until after you die of old age
 
bob
well then let's just forget about random_device ?
 
Answering a question on "game engine architecture" with a guy who manages to misspell a D3D device and recognize that it shouldn't have a g_ prefix since it's not a global and, in the end - manages to show an example where he instantiates an OpenGL rendering path and defines a function which takes a pointer to the D3D device interface.
 
5:12 PM
@bob NULL makes your RNG theoretically predictable if you care
 
I need to get some sleep before I lose faith in humanity.
 
:( looks yummy though
 
bob
@MooingDuck well yes as a matter of fact I somehow do. So going back to the syntax, do you see what's wrong with the code I posted above ?
 
@bob If you create two RNGs with the same seed (in the case of time(NULL) within the same second), they'll have the same sequence.
 
@FredOverflow There wasn't much in it. The title says it all.
 
bob
5:14 PM
@RMartinhoFernandes (as opposed to random_device, right?)
 
@Mysticial But the title was brilliant. I was willing to vote up :)
 
@DomagojPandža What.
 
@bob Maybe I misunderstood what you meant, but if you're not creating more than one generator, time(NULL) is perfectly fine.
 
@bob I'm really baffled as to that error still. It obviously got into the right file, but why can't it find the mt19937 typedef?
 
@FredOverflow Nuking of that was expected.
@MooingDuck MVP, as usual.
 
5:15 PM
1
Q: Best approach on accessing variables on other class

DarkI'm now writing a Direct3D renderer for our engine. Here's the problem: In OpenGL, I can just easily call glClearColor() to clear. In Direct3D, I need to use g_pd3dDevice just to call ClearRenderTargetView() to clear. The design of our engine is like this: class Renderer { // ... } class ...

Shoot me, now.
 
Does C++ define that signed integers has to use two's complement?
 
bob
this is my new code:
#include <tr1/random>
#include <iostream>

std::tr1::mt19937& get_engine() {
static std::tr1::mt19937 eng(std::tr1::random_device()());
return eng;
} //seeds only once, no matter what

int main(){
std::tr1::mt19937 eng = get_engine();
std::tr1::uniform_int<int> unif(0, 255);
unif.reset();
int i = unif(eng);
std::cout << i << std::endl;
}
and this is my new error:
g++ -o prog test.cpp
test.cpp: In function ‘std::tr1::mt19937& get_engine()’:
test.cpp:5: error: ‘parameter’ declared as function returning a function
test.cpp:5: error: cannot declare static function inside another function
test.cpp:6: error: invalid initialization of non-const reference of type ‘std::tr1::mt19937&’ from a temporary of type ‘std::tr1::mt19937 (*)(...)’
 
@NikiC no
 
I see somebody asked about our little fire earlier. At least so far, it hasn't affected me much directly at all. The kids' summer camp was cancelled for (at least) the day because there's so much smoke in the air they're advising against outdoor activities. Some friends have been ordered to evacuate their homes, but so far we haven't.
 
@FredOverflow thanks
 
5:19 PM
@NikiC No. Ones complement, twos complement and sign/magnitude are allowed.
 
@bob You'll be baffled with the solution.
 
As were all other thinkable representations prior to C99/C++11.
 
static std::tr1::mt19937 eng((std::tr1::random_device()()));
Note the even more extra parentheses.
 
Who's afraid of MVP? :)
 
good, that's what I thought, just wanted to be sure
 
5:20 PM
@FredOverflow Not so. As of C99/C++11, those three are specifically named as what are allowed. In C89/C++98/03, other representations are allowed.
 
Why restrict the possible representations?
 
To guarantee more useful properties to programmers?
 
@JerryCoffin Is there some nice quote from teh spec on that?
 
@FredOverflow I'm not sure there was a specific reason, but nothing else seemed to be in use, so they (apparently) figured they might as well. I didn't follow the C standardization process closely though, so I can't say much more. I'm pretty sure C++ did just because C99 already had.
 
@NikiC There was a question the other day.
 
bob
5:23 PM
@RMartinhoFernandes adding paranthesis doesn't solve the problem
 
@JerryCoffin FTR, C++ didn't do so explicitly.
 
bob
@RMartinhoFernandes but changes the error message:
g++ -o prog test.cpp
test.cpp: In function ‘std::tr1::mt19937& get_engine()’:
test.cpp:5: error: ‘type name’ declared as function returning a function
test.cpp:5: error: ‘type name’ declared as function returning a function
(which happens to be puzzling: from what I understand, it expects a function and is astonished to receive... a function?!)
error messages are so confusing :(
 
@bob no, it thinks that eng is a function that takes a function as a parameter.
 
Not explicitly, no. But it has a note saying: "this International Standard
permits 2’s complement, 1’s complement and signed magnitude representations for integral types.", and depends on enough of C99 that I'm *reasonably* certain nothing else is possible.
 
bob
and what's wrong with that ?
many functions take functions as parameters, such as callback functions
in any case what's wrong with the syntax ?
 
5:28 PM
@bob good point, I have no idea what GCC means there
 
Well, try not using a temporary then.
std::tr1::random_device dev;
int seed = dev();
std::tr1::mt19937 eng(seed);
That should avoid confusing GCC to death.
 
This is what I got: ideone.com/VhdbL But it says 'uniform_int' is not a member of 'std' :/
 
@RMartinhoFernandes Or use static std::tr1::mt19937 eng = std::tr1::mt19937((std::tr1::random_device()()));
or uniform initialisation would fix it
 
@ecatmur C++03 (he's using GCC 4.4)
 
bob
@MooingDuck try tr1/random instead of just random as the include
 
5:31 PM
@bob wait, lemme try that
There we go, now I get your error: ideone.com/VhdbL
 
bob
well that's not much of a progress lol
 
@bob sure it is, now I can test theories before throwing ideas at you
 
bob
fair enough, just kidding
thanks for your help so far by the way, both of you (and all the others too), and for your patience
 
BAM (now we'll try to make it not crash)
 
-2
Q: storing the entire STL library using boost::any

LCYSoftIn my application, I am storing the entire STL containers such as vectors and queues using boost::any. So the code looks like this stack<boost::any>.push(std::priority_queue) Somehow, it worked but consumed a lot of memory. Do you guys see any possible problems of storing the entire S...

 
5:34 PM
terminate called after throwing an instance of 'std::runtime_error'
  what():  random_device::random_device(const std::string&)
 
That's bad.
@Prætorian WTF.
 
bob
@RMartinhoFernandes yes this work I think, thanks !!
 
WTF:
WTF.
WTF:
 
bob
lol
 
5:36 PM
@Prætorian "I put 100 megs of data into a container, and it consumed...like...*lots* of memory -- around 100 megs, as a matter of fact! Can anybody see why this would happen?"
 
bob
so my end result is:
#include <tr1/random>
#include <iostream>

std::tr1::mt19937& get_engine() {
std::tr1::random_device dev;
int seed = dev();
static std::tr1::mt19937 eng(seed);
return eng;
} //seeds only once

int main(){
std::tr1::mt19937 eng = get_engine();
std::tr1::uniform_int<int> unif(0, 255);
unif.reset();
int i = unif(eng);
std::cout << i << std::endl;
}

this compiles and runs and returns the expected result. It seems okay. Do you see anything else to add/improve ? does that seem ok ?
 
@JerryCoffin Who would've thunk it would do that!
 
I wonder what's the type of std::priority_queue.
 
@EtiennedeMartel It's a template.
 
@FredOverflow the method of simple rendering at 4x the resolution you want is not the best way to do it, there are better approaches, but yes, they do all boil down to sampling a pixel more then once. OTT, over the top
 
5:38 PM
oh, random_device might not work on ideone, got it.
 
bob
anything else to add before I leave, or does that code seem okay now ?
is it perfect ?
 
@bob yes, stop making copies of the engine
 
bob
does it make you want to masturbate all over it ?
 
The question is really not bound to any particular library. It's a general question about OO design.I was simply using the OP's variable/class names to exhibit the solution to his problem. — Tom Thorogood 6 mins ago
"OpenGLWin32 openGL;
openGL.useDevice(direct3d.get_gpd3device());"
Seriously, dude?
 
@bob Nope -- still C++.
 
5:40 PM
std::tr1::mt19937& eng = get_engine();
--or--
int i = unif(get_engine());
 
@DomagojPandža lol, great.
 
@DomagojPandža Oh. Now he's just bullshitting you.
-1 for lying.
 
bob
so my end result is:
#include <tr1/random>
#include <iostream>

std::tr1::mt19937& get_engine() {
std::tr1::random_device dev;
int seed = dev();
static std::tr1::mt19937 eng(seed);
return eng;
} //seeds only once

int main(){
std::tr1::mt19937& eng = get_engine();
std::tr1::uniform_int<int> unif(0, 255);
unif.reset();
int i = unif(eng);
std::cout << i << std::endl;
}
is it perfect now ?
 
It's not perfect because I didn't write it. But let's say it's close enough.
 
That one takes the gold for me, today.
 
5:43 PM
@RMartinhoFernandes Damn, don't tell me @DeadMG infected you.
2
 
bob
To make it perfect, do I really need to call reset() before each unif(eng) ? Or is it too much ?
 
No, it's not needed.
 
bob
in what case would it be needed ?
 
I can't really think of a good example. It's not particularly useful.
 
bob
fair enough
 
user784668
5:45 PM
@FredOverflow: nice avatar.
 
bob
well if nobody has no more comments to make about the code, then it's time for me to say thank you to everyone and leave
 
bob
bye everyone, thanks. specially to @RMartinhoFernandes and @MooingDuck
 
@bob Later.
 
Hmm. WPF allows me to put a group box inside a group box.
GROUPBOXEPTION!
 
5:47 PM
@EtiennedeMartel It pretty much allows you to put anything inside anything.
 
I can also put a button inside a button. Or a textbox inside a textbox.
So much potential for inception.
 
Controlception.
 
@EtiennedeMartel but can you put a button in itself?
 
@MooingDuck In XAML, no. In code, probably.
 
@MooingDuck No, because then the button would have more than one parent.
@RMartinhoFernandes You could probably mess around with resources.
 
5:49 PM
@EtiennedeMartel With what? Rabies?
 
@RMartinhoFernandes No, an indestructible sense of superiority.
 
Oh no. I don't have a sense of superiority. I am truly superior.
 
@RMartinhoFernandes Those people who think they know everything are really annoying -- especially to those of us who really do!
 
I know, right?
Adobe forbids the use of the verb "to photoshop": adobe.com/misc/trade.html#section-4
 
@Fanael So much Haskell love around :)
 
user784668
5:56 PM
@RMartinhoFernandes Fuck Adobe.
 
user784668
@RMartinhoFernandes I forbid the use of the noun "Adobe".
 
@RMartinhoFernandes That wouldn't hold very well in court, considering it's easy to argue that Photoshop is now a generic trademark.
 
@EtiennedeMartel Oh, that's why I said it was Adobe that forbade it.
> Correct: The image was enhanced with Adobe® Photoshop® Elements software.
lol
 
@RMartinhoFernandes So many ®.
 
@EtiennedeMartel you could argue it, but "Photoshop" isn't a generic trademark.
 
user784668
5:59 PM
@RMartinhoFernandes The®©™ image®©™ was®©™ enchanced®©™ with®©™ Adobe®©™ Photoshop®©™ Elements®©™ software®©™.
 
@Fanael I like "The®©™"
 

« first day (620 days earlier)      last day (4346 days later) »