« first day (1313 days earlier)      last day (3643 days later) » 

5:00 PM
Oh wait.
This compiles apparently.
 
> Selon nos sources, les nouvelles voitures consommeraient jusqu’à 30 % plus de l’électricité, une information que la STM n’a pas voulu confirmer.
ça se dit ça ?
 
@ThePhD What for?
 
"Jusqu'à 30% plus de l'électricité" ?
 
Je crois que oui.
 
Pas ici en tout cas
Jusqu'à 30% plus d'électricité, ou jusqu'à 30% plus en électricité
 
user3010322
5:03 PM
@R.MartinhoFernandes Measuring null-terminated strings and what not based on std::char_traits<TChar> (or whatever the user provides).
 
@ThePhD Or... just loop until zero.
 
Null terminated strings are terminated by nulls.
blinks
 
#define NULL 0
yay for C
 
Someone recently told me that only nulls in C strings are actually guaranteed to be nulls (i.e. all bits zero).
@ÓlafurWaage That's not C, that's C++.
 
5:05 PM
yea, C is #define NULL (void*)0
my point was NULL vs nullptr
 
I wish C++11 required NULL to be nullptr.
 
All operations char_traits provides are like... dumb.
 
I really wish they decided that slapping idiots in their faces is a feature.
 
static void assign( char_type& r, const char_type& a );
 
what robot says.
 
5:06 PM
aka r = a;
And so on.
 
there's nothing useful in char_traits.
 
user3010322
:c
 
It's a historical artifact.
 
user3010322
Okay, I'll just throw that out then.
 
@DeadMG inb4 "there's nothing useful in C++"
 
5:07 PM
and TChar should also be dictated by TEncoding.
 
brb, refactoring std::string out
 
there's little point in unicode_string<char, UTF32>
or unicode_string<char32_t, UTF8>
 
@ÓlafurWaage nullptr is so less powerful than NULL. I prefer NULL because of it's versatility. You can do arithmetic with it: NULL * 2, 4 / NULL. You can return NULL from main. You can do lots of things with NULL! Clearly it is vastly superior to nullptr.
 
@WilliamAndrewMontgomery clearly
Also all my functions return void* To be cast into the correct data structure later
 
@WilliamAndrewMontgomery Quick, remove that, before newbies take you seriously.
 
5:08 PM
@DeadMG Now I fear he made that "work" somehow.
 
lol
 
user3010322
u.u;
 
@ÓlafurWaage They are therefore NULL-compatible
 
user3010322
@WilliamAndrewMontgomery virtual void interface_func () = NULL; // what now, nullptr?
 
@WilliamAndrewMontgomery who says C isn't dynamic
 
5:09 PM
me.
 
My vaporware stdlib implementation will define NULL to nullptr. vOv
 
@ThePhD I'm so using this.
@Griwes Then it's non conformant
 
@WilliamAndrewMontgomery It sure is.
 
@WilliamAndrewMontgomery en.cppreference.com/w/cpp/types/NULL -> possible implementations
STL even talked about how they initially did that in MS' stdlib and reverted after it exploded and they realised it's not required.
 
user3010322
5:11 PM
So they have to keep it 0 ?
 
user3010322
Because someone's doing math with NULL and shit?
 
yep.
 
if they can, someone will
 
they found a bunch of char c = NULL; kind of stuff.
 
user3010322
... Hue.
 
5:13 PM
I'm pretty sure people were also passing NULLs to where ints are required.
You know, WinAPI.
 
user3010322
But why?
 
Should be called LoseAPI.
 
user3010322
If it's an integer, 0 is less letters than NULL
 
lots of pointer-to-integer conversions there.
e.g. SetWindowLong.
 
@ThePhD Because people are bad at programming.
@ThePhD int main() is less letters than auto main() -> int, yet some people insist on the longer one.
 
user3010322
5:14 PM
vOv
 
user3010322
Oh well.
 
for i in $(find . | grep cpp); do sed -i 's/0/NULL/g' $i; done;
 
lol
You'd need a semantic analysis tool.
 
@Griwes fewer*
 
@Griwes less letters?
OMG, I'm sold.
 
5:17 PM
@ÓlafurWaage Don't you know about xargs
 
@Griwes it wouldn't be so bad if trailing return types were actually easier to read
 
One that checks if it should be a number or a pointer.
 
@WilliamAndrewMontgomery oh I do, just dont have that in muscle memory like that thingy
 
COME ON GUYS
 
> like that thingy
 
5:17 PM
xargs is glorious
 
I AM NOT NATIVE ENGLISH SPEAKER and it's fucking 33 celsius in my room.
 
Neither are we
Thank God
 
find . | grep cpp | xargs sed -i 's/0/NULL/g'
there
 
You cannot expect me to be correct at everything.
 
5:18 PM
madness!
 
4
Q: Creating a console in Java

DeadMGWhen I try to use java.lang.System.console(), I get a null pointer. I can still write to out and read from in, but this only works when I run straight from my IDE. When I run the .jar file directly, nothing happens. How can I create a console like I'd see using std::cout for use in Java? Edit: I...

 
@ÓlafurWaage grep is superflous
 
7000 views, really?
 
Boss wants us to work at a barbecue tomorrow.
Or something.
 
@WilliamAndrewMontgomery don't you diss grep, grep is god, grep is wise, grep will smite you down
 
user3010322
5:18 PM
Pretend all the meat is VC++.
 
There will be no equipment around, but we're supposed to work.
 
@ÓlafurWaage but it's superflous there
 
user3010322
Begin to cathartically skewer and cook it and then tear into it with your teeth.
 
Sometimes he has these ideas.
 
@WilliamAndrewMontgomery I'm trying my best to care, really.
 
5:19 PM
1
Q: Register management tips

DeadMGImplementing a custom VM and I've come to use registers (these will store pointers and will be NULL when empty). But, I've come to realize that I actually have no idea how to manage register-based memory. Like, what do I do if all my registers are used up and some code wants another? Preferably, ...

 
@ÓlafurWaage I have saddening news for you
 
@WilliamAndrewMontgomery Do tell
 
welp that brings back memories.
 
@ÓlafurWaage you're failing
 
Fuck you, NapiProjekt, I just want my subtitles, not 1000 pop-ups :F
 
5:20 PM
@WilliamAndrewMontgomery Do explain
 
1 min ago, by Ólafur Waage
@WilliamAndrewMontgomery I'm trying my best to care, really.
 
0
A: Creating rapid function overloads in C++

DeadMGTurns out I just suck at the boost preprocessing library. #define ternary(z, n, data) data BOOST_PP_COMMA_IF(BOOST_PP_NOT_EQUAL(n, BOOST_PP_SUB(WIDE_RECURSE_UPPER_LIMIT, WIDE_RECURSE))) #define argternary(z, n, data) data ## n BOOST_PP_COMMA_IF(BOOST_PP_LESS(n, BOOST_PP_SUB(WIDE_RECURSE, 1))) ...

 
@WilliamAndrewMontgomery Ach so. Neat. Well have fun with all this. BBL
 
all the fun you can have without variadic templates.
excuse me, I'm just randomly looking at my older questions for no apparent reason.
 
@ÓlafurWaage aw come on don't be so susceptible are you french or what
 
5:21 PM
@WilliamAndrewMontgomery Icelandic
 
user3010322
@DeadMG I did something like that for my original Event<T....> class.
 
user3010322
I can assure you, it was most certainly a nightmare.
 
What on earth are you trying to do? — rlbond May 22 '10 at 0:32
lol
 
@ÓlafurWaage I know.
 
@WilliamAndrewMontgomery I'm also pretty happy :D
 
5:21 PM
@ÓlafurWaage BECAUSE YOU GOT A WAAGE INCREASE?
 
@WilliamAndrewMontgomery Nah, because I'm going to the gym to hug people. Later
 
user3010322
Wrastlin'.
 
Fuck this. Gonna fix some bug in nonius.
 
Hmm...
 
5:23 PM
I ate way too much chocolate today.
I'm ballooning.
 
Xeo
lol
 
I ran out of money and I'm not gonna get any more out of my bank account to spend, damnit.
 
Xeo
the curse of being able to eat
 
Has the 22nd episode of the Mentalist not been aired yet?
 
where did I put the salt
 
5:26 PM
on the table
 
no it's not there, I looked there first, obviously
it's not under my bed either
wtf
someone stole my salt
@rightfold I blame you
 
user1804599
Okay.
 
oh it was in the fruit basket
I blame @Bartek
 
@Griwes Signs of wide from 2010.
 
5:32 PM
> Answering three thousand questions really showed me which mistakes and misconceptions are common. It's easy to learn how to use a tool when the wrong ways are being posted every day and corrected by the same group of professionals who all recommend the same techniques.
hmm, too informal?
 
Sounds cocky
What is this from
 
I'm working on the SO section on my CV
I know it sounds wrong
but I guess I want to express a similar sentiment.
 
"SO has shown me that everyone is bad at programming and Internet, too"
 
lol
 
Cat nailed it.
 
user1804599
5:34 PM
Jesus nailed it.
 
no, he was nailed.
he didn't do the nailing
 
No he didn't don't you know history @wrongfold?
2
 
@WilliamAndrewMontgomery Jesus was a carpenter, of course he nailed it.
Or so they say...
 
He was all screwed up.
@VáclavZeman Yes.
@VáclavZeman Or, more correctly, no, it has not not been aired yet.
@VáclavZeman Look, put it this way - I've watched it:)
 
@MartinJames "Yes or more correctly no?" :) Is that not contradictory? Well, it is not on EZTV.it, yet :(
 
5:44 PM
@VáclavZeman I initially answered incorrectly, (I think:).
@VáclavZeman I got it from TPB yesterday.
 
Do you think ponies have racial slurs for like pegasi, earth ponies, unicorns, zebras, ect.?
 
@Griwes Pegasi surely must be "glorious winged faggot"
 
someone is on le reddit
 
user1804599
> I Put My Girlfriend's Tampons In My Ass When I Masturbate!
 
5:49 PM
@rightfold I Capitalize Every Word In A Sentence
 
@WilliamAndrewMontgomery Capitalism
 
I Post Totally Random Incredibly Disturbing Shit
 
Its not like this is like a formal chat room?
 
you post totally shit random?
 
yes I can shit at random
what
 
5:50 PM
I was merely joking since you mis-ordered the letters
 
I know, I joined in.
 
fair nuffages
did I mention that I'm working on my CV right now? :P
 
@TonyTheLion He was talking about the quote I guess and then joking because you thecoshmaned the acronym
 
I felt that you should know this.
 
@DeadMG you did
 
5:51 PM
I haven't shot or lynched anybody all day.
or changed a single line of Wide
 
> thecoshmaned
a new verb was coined
@DeadMG did you actually send someone your CV?
 
not yet
 
@TonyTheLion To ranmodly reodrer lettres in a wrod
 
but they're calling me up asking for it
 
5:52 PM
Lightness seems a lot happier with my efforts today, though.
 
oh cool
 
@DeadMG Have you switched to LaTeX yet?
 
no.
 
I did
 
and I'm not going to so stop it
 
5:53 PM
that takes :effort:
 
I already have a Totally Legit™ copy of Word 2k7
that's sufficient for me.
 
hahaha
 
&p->x is not (&p)->x, right?
 
right.
it's &(p->x).
 
Cat Plus ~ praise the sun?
 
5:54 PM
Hmm, gotta be something else then.
 
@BDillan Yes, you better
 
So if Im new here I have to have played Dark Souls
had* played
 
What?
 
you also have to be the most sexually attractive person within a hundred miles
 
> -bash: gdb: command not found
 
5:56 PM
you have to have landed on the Moon
 
Hmm, I might have fucked up something.
 
and been President of the World for a good ten to fifteen years.
 
Done and done
also done
 
ITT Robot forgot how to computer
3
 
then we'll consider you as a juniour member
send CV
 
5:57 PM
Hmm. How come I didn't install gdb on this machine. Weird.
 
hah, I just realized how stupid/ironic that is coming from me.
 
I dont need to send my CV. Im already working as a full stack software engineer. Im only here because I was stuck on a issue for 6 hours and decided to give up
 
#sadlyfe
 
you pussy.
 
5:58 PM
@BDillan Good man on giving up and joining the Lounge for a friendly chat with nice netizens.
 
I spent six months trying to figure out how to get Clang to codegen my functions.
 
Giving up is for wusses.
I should go home.
 
You give up?
 
yes.
go the fuck home.
 
5:59 PM
I'm home
 
you should have gone home two hours ago at least.
 
I been home all day
 
nice!
 
I'm home most of the time
 
me too.
 
oh yeah
did I mention that the sickness and disability benefit people have finally decided they might want to assess my eligibility?
 
oh wow
 

« first day (1313 days earlier)      last day (3643 days later) »