« first day (1014 days earlier)      last day (3933 days later) » 

6:00 AM
And that was just to taste it.
I'd rather not find out how good being drunk feels tbh.
 
@chris IMO, there are much better drinks than beer. Some obviously like it a lot, but there's no reason to feel bad if you don't.
 
@trojansdestroy the trick in happiness is doing things you like and don't care about what others say ... unless doing what you like depends on those people :p
 
One of the most fun soundtracks of a scroller. References to Mario too
 
@Telkitty猫咪咪 There's a lot more to it than that. Sometimes you really need to push yourself a bit beyond what you know you like, to find new things that will make you happier.
 
@ScottW Agreed. I'd rather stay home and learn something about something, or, hey, talk to you folks! (which is not a knock at all - I'm enjoying myself a ton)
I highly recommend the game I linked, btw. Good for a try or two
 
6:03 AM
@JerryCoffin Well, I need to make up for my terrible lifestyle somehow. My metabolism won't last forever. And even for something more my age (or younger now if the legal age is normally when people really start drinking a lot), I don't particularly prefer pop over other drinks anymore, so I choose the others. Much healthier and it makes no difference to me.
 
@JerryCoffin that's true ... but that's only for certain type of people though. Some people do not like to leave the comfort zone ... most of the females I know of actually ...
 
@ScottW I sit there all day on the computer.
@ScottW But it's so boring walking :p
And it's 2am.
 
@Telkitty猫咪咪 Anybody who refused to leave their comfort zone would (literally) continue to crawl instead of ever learning to walk.
 
It's 8 am.
 
@StackedCrooked Yeah, I'm a Canadanoob.
 
6:06 AM
@JerryCoffin hey many mammals walk on all fours :p
 
I'm a Lesbianese
 
You can go with the Canadian boob.
 
But you're still pregnant
 
@Telkitty猫咪咪 So they do. A fine way for food animals to live.
 
6:07 AM
I remember being 16 in 1996.
 
I'm in California. We ought to all meet up some day.
 
It's okay Dog, I can barely pass for 20 ;_;
 
@StackedCrooked I remember being past thirty in 1996.
 
My earliest memory is when I was 3. This really bitchy neighbor girl took something I was playing with and said it wasn't safe.
Then I can't put a definite age on any memory until fifth grade
 
@trojansdestroy What part of California? It's a pretty big place...
 
6:09 AM
Near the sea.
 
@JerryCoffin Right now, Sacramento (Elk Grove, if you know it). But I go to school in LA.
 
Or ocean.
 
@StackedCrooked Quite a bit of shoreline too.
 
I remember very specific events from my early age. That's it.
 
@chris yeah, obviously you were not programmed for that
 
6:11 AM
possible duplicate of uint8_t iostream behaviorRapptz 33 secs ago
 
> NO MORE WET BUTT!
From LPT.
@ScottW lol that sounds hilarious
 
Holy shit, Jerry's older than my dad
4
 
@Magtheridon96 lol
 
@Magtheridon96 Umm, yeah, I know the feeling.
Apparently I get along a lot better with adults on the web than I do in real life.
 
6:13 AM
Which sounds like a suspicious statement.
 
@chris i don't really like you, you know
:P
 
@StackedCrooked Hmm, now what's that face.
 
@chris oops, my face betrayed me
 
@trojansdestroy Ah -- I've been in the bay area for the last month or so (and Mysticial lives fairly close-by as well).
 
6:14 AM
@ScottW go play with your neighbours doggy :)
Ok, I should go back to sleep. But I can't since I have work soon.
 
@JerryCoffin people who push the boundaries tend to be 'burnt alive' a lot ... galileo, copernicus, sophie germane ... or more controversially julian assange
 
@chris I may be old, but you can't force adulthood on me!
 
Seriously, the only adults I can get along with irl are my parents (which is probably good) and my teachers.
And then the odd few who are actually interesting.
 
@JerryCoffin Does he really? Huh. I read all these posts and obviously I don't know anyone in real life, so to me they're just these floating sources of answers who may or may not actually exist. It'd be good for me to know you're all real.
Oh thank god, if you were rela I don't know what I'd do with myself
 
@trojansdestroy I'm not real -- I'm complex.
 
6:17 AM
@ScottW Besides them, friends. Technology teachers at the school were very good with relating to computer-oriented students, but no others really had such a genuinely friendly nature.
 
So Michigan is all fake. Michigan
Canada's up next, @chris.
 
@trojansdestroy Hooray!
 
@trojansdestroy Michigan is also complex. The snow and giant mosquitoes are all too real, the nice weather apparently imaginary.
 
@chris My friends and I typically use Canada as the victim of any jokes we make about countries
 
@trojansdestroy I usually love those kinds of jokes, whether they're about Canada or somewhere else.
 
6:19 AM
@JerryCoffin Where are you from originally?
 
@trojansdestroy Pangaea
 
@JerryCoffin Woah, you're way older than my dad.
 
Microsoft is allowing indies!
 
old news
 
Pretty sure I saw that. I don't like too many of the xbox games anyway, so it doesn't affect me too much.
 
6:22 AM
I was staying up to date until the last few weeks. This is good news to me
Mainly excited for Fez 2
 
@chris I always use Yoda-style comparisons in my code (to remind me of my young, green friend).
3
 
@JerryCoffin I can only hope I meet someone in life who cracks jokes like that.
 
Well, I need to get up ridiculously early tomorrow, so I'd better go try to sleep.
 
laterz wasp
 
Good point, I'm off to the cottage tomorrow.
I'm still not sure if it's in the morning or afternoon I'm leaving.
At least I have the ability to pack in five minutes.
 
6:25 AM
@chris You have a cottage?
 
Including the time to wake up.
@trojansdestroy Both pairs of grandparents have one.
 
I have spent way too much time socializing yesterday and too much time chatting here today... and I will spending tomorrow showing my parent's place + possibly on more socializing activities.
Back to work for now ...
 
Is that a word for primary residence? Or like a country home?
 
Well, I guess I can't say that anymore. One isn't actually a pair as of last year.
 
Poor guy :<
 
6:28 AM
Why did I read as ?
3
 
How many tumbleweeds does he have?
 
Your picture didn't do him justice
 
Morning!
 
morning
(I said, at 11:30 p.m.)
Well shit, I've got to go to work in 3.5 hours
How about that Everyman 3
@ScottW Not actually. It's about 6.5 my time
 
6:36 AM
@ScottW on jogging ... yeah will join you this evening, currently on high heels, can not jog unless wanting to break ankle :p
 
Anyone know why they implemented chat profiles as children of the parent users?
 
> template<typename Ret, typename... Args, typename... UArgs>
Is that a problem? Pretty sure this shouldn't work.
 
Fucking Clang
 
@Magtheridon96 The rest and the rest.
 
being a bitch and not working.
 
6:38 AM
Which is which.
 
@Magtheridon96 Couldn't it if the first pack was deduced as a funciton's parameters or something?
 
@StackedCrooked Guess I solved this question then :p
@chris I have no idea, never tried such a thing
 
@chris What a sexy template ;_;
 
vampire onion ginger :x
 
6:50 AM
I'm off. Goodnight everyone. Fight On!
 
I feel too bad to answer this.
Oh, someone just did.
 
I can make a soup out of you
 
@ScottW Apparently it was on the more severe end of the effects from some drug.
 
@ScottW That's because you already are my sunlight. <33
 
7:06 AM
What have I done
So shoul I declare all the variables global? In that way we wouldn't need to use function parameters as well. — kutluhanmetin 51 secs ago
I explicitly said to avoid them.
 
Xeo
@Magtheridon96 That's perfectly fine.
 
@ScottW LOL
 
user142019
7:21 AM
@JerryCoffin lol
 
@ScottW lolwat
 
user142019
38
A: When are global variables acceptable?

DannySmurfGlobal variables are used all the time, by many, many programmers. We just call them Singletons now.

 
Morning
 
user142019
-3
Q: How to fetch answer from DB same as questions?

hmjhafaq.php <!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://dl-web.dropbox.com/get/js/jquery1.js?w=AABNm9g-6mngXn6MMoufgtLDJE2VsPrk7tdMQCko4clSPw"></script> <script type="text/javascript" src="https://dl-web.dropbox.com/get/js/jquery.watermarkinput.js?w=AAB5O0jvVd3oJ9dANd...

 
user142019
Sometimes I don't understand what people are thinking. Are they trolling are they really just complete idiots?
 
7:34 AM
@rightfold They might have the idea we are just really smart?
 
2 days ago, by Borgleader
 
user142019
@FlorisVelleman If we are smart, we avoid shit like this.
 
user142019
@Borgleader awesome.
 
I linked one to Etienne De Martel, apparently he bought it
i hope he posts a picture
 
user142019
lolcool
 
7:36 AM
¬_¬ it's funny how being cheap to use results in no one caring how shady they may or may not be
 
The chinese: haha, we know what you are watching ;)
 
user142019
@StackedCrooked I don't remember being three in 1996.
 
Oh my god
I was so drunk yesterday
How did it happen
 
user142019
@BartekBanachewicz You drank.
 
Please don't tell me they're forcing this chart as an absolute: student.cs.uwaterloo.ca/~cs137/current/res/lecture4.pdf
 
7:41 AM
balmer curve experiments ?
 
user142019
> .cs
 
user142019
They probably are.
 
you drank alcohol ... too much of it ... that's what happened ...
 
user142019
> in C: false is 0, true is 1 (non-zero)
 
user142019
7:42 AM
1 is not the same as non-zero. :V
 
user142019
2 is also true in C.
 
That's the course I'm deciding whether to skip if it's possible.
 
Xeo
int(true) == 1, guaranteed.
 
@BartekBanachewicz you drank lots of vodka
 
true no exist in C
 
7:43 AM
@A.H. It does since C99.
 
user142019
Casting Booleans to integers makes no sense.
 
user142019
Booleans are not integers.
 
@chris as a macro?
 
Xeo
@rightfold They are integral types, according to C/C++ standards.
 
@A.H. In <stdbool.h>
 
user142019
7:43 AM
@Xeo Doesn't mean it makes sense.
 
user142019
It's like saying a house can be cast to a horse.
 
@chris and I thought my handwriting was terrible ..
 
So yeah, a macro's like the only option. I'm not sure whether it has to be.
They had a few sample notes.
 
i guess it could be a global constant
 
AFAIK, macros are much preferred for global constants in C.
 
user142019
7:45 AM
someBoolean ? 1 : 0 woop
 
@rightfold try reinterpret_cast
 
@A.H. Look, I know it looks like a house, but it's actually a horse. Just go with it man!
 
@chris so many bad things in one sentence
 
user142019
@A.H. It wasn't about "is possible", it was about "makes sense".
 
@TonyTheLion derp
 
7:46 AM
@BartekBanachewicz light weight :P
 
@BartekBanachewicz That's what I saw the last time I came across the matter.
 
@rightfold I fucking hate the ternary operator
 
I hava a question. After reading data from file, could kernel have been noticed for that action?
 
@BartekBanachewicz So do you have a headeache?
 
user142019
I don't mind it as long as you don't make it terribly long.
 
7:47 AM
I should really go to bed but mythbusters is on TV
 
@thecoshman i should start using it all over GLDR code
 
@Borgleader decisions decsions
 
user142019
It's not much different from if someBoolean then 1 else 0.
 
@TonyTheLion no not at all. I've slept really well
 
@chris what was this lecture about ? or is it like a graded assignment
 
7:48 AM
oh woah
 
I'm creating a VM and I'm tempted to call it EroticKitchenUtensil ;-;. Any better ideas?
 
user142019
@Magtheridon96 Skullfuck
 
@DarkHorse read is a sysycall if thats what you are asking
 
@rightfold x = cond and a or b :3
 
struct poly *q = malloc(sizeof(struct poly));
 
user142019
7:49 AM
@BartekBanachewicz wat.
 
Hooray! It seems they don't cast the result.
 
user142019
That's the least readable shit ever after Java code.
 
@A.H. It might have been an SO question.
 
@BartekBanachewicz The only way ternary operator is getting into GLDR is if I am no longer working on it
 
lol
 
user142019
7:50 AM
Quarternary operator.
 
@thecoshman aww, I like the ternary operator
 
user142019
Or a ? b : c ? d : e ? f : g. Always fun.
 
ok, I like simple usages of it :)
 
user142019
The associativity of the ?: operator in PHP is different. :D
 
Xeo
@thecoshman Nothing's wrong with the conditional operator :s
 
7:50 AM
well to be fair sometimes a ternary operator looks cleaner than if/else
 
Xeo
Anyways, time to work.
 
@jalf if you never had it, you would never think "oh, you know what I need, a convoluted way of saving precious few characters"
 
Xeo
@thecoshman No, a way of "embedding a condition into an expression"
 
In Python it's x if a else y iirc.
 
user142019
@Rapptz I find that horrible.
 
7:51 AM
@thecoshman it's not about saving characters. But it's useful for initializing variables, for example
 
omg, the page on how to compile programs on Windows uses GCC 3.4.5.
What is this?
 
@A.H. IMO, it never does. I always prefer the more explicate 'if/else' block
@Xeo Just embed expressions into conditions
 
The ternary operator is cool.
 
user142019
std::vector<T>{ x, y }[static_cast<int>(condition)] who needs short-circuiting anyway?
 
if(x) y = b; else y = a; is meh
 
7:52 AM
(a > 1 ? x : y) = (b < 8 ? 5 : 3);
 
@jalf I would still prefer and if/else any day
 
@rightfold Lua
 
rather than T a; if (x) { a = b; } else { a = c; }, I can just do T a = x ? b : c (and then T won't need to have a default ctor)
 
user142019
x = if condition
        do something
        do something else
    else
        do something
        do something else
 
user142019
CoffeeScript :D
 
7:53 AM
@thecoshman nothing wrong with it
 
something I am looking at atm
int32_t domain = ( t == Type::IPv4 ) ? AF_INET : AF_INET6; doesn't look bad
 
@thecoshman It's similar to how if/else works in functional languages
 
user142019
@jalf Except Erlang. :D
 
I get a third paty model, it provid some file for my application, now I can read the file uninterrupted, and the date is not same everytime. I think the model rewrite the file when get a notice for that I have already get the data. so I want to ask when and how the model get notice for reading action?
 
@thecoshman except it is ofte a lot more troublesome
 
7:54 AM
@jalf and?
 
user142019
Erlang's if is much like switch (true).
 
It's more expressive
 
@DarkHorse no idea what you are talking about , maybe a question on SO with a bit more detail would be a better idea
 
@jalf oh sure, through a trivial enough example at anything and it looks like a good idea.
 
@thecoshman and nothing. It was an observation. :)
 
7:55 AM
Also default construction
 
sorry, it's module not model
 
@thecoshman ... which is a fairly good reason to use it in trivial examples ;)
 
user142019
Today is a wonderful day.
 
user142019
It's so much fun to work with a denormalized constraintless relational database of doom.
 
a bit more detail? oh, christ
 
7:56 AM
@thecoshman note how this is an arbitrary T and a really common situation. I have no idea what nontrivial opertaion you would expect
 
@rightfold I forgot what normalizing means in DBs
damnit
 
user142019
@A.H. minimizing redundancy, basically.
 
oh yeah the normal forms thingy
 
user142019
Nobody cares about normal forms.
 
user142019
If you use common sense you can normalize a database. There isn't much thinking about normal forms to it.
 
7:58 AM
@rightfold the bullshit terms for the various 'stages'
 
@thecoshman point is, it allows me to make more of my code immutable, which is nice. If I can just initialize an object to the right value, rather than do a dummy default initialization followed by a subsequent assignment, then my code becomes easier to reason about, because I don't have an object hanging around with a meaningless value, and I might be able to delete the type's default ctor and assignment operator completely
 
user142019
The only thing I know is that the Nth form implies the (N - 1)th form.
 
You can't bind temporaries to non-const references. — chris 12 secs ago
How many times a day do I say that?
 
ITT default constructors are evil.
2
 

« first day (1014 days earlier)      last day (3933 days later) »