« first day (1279 days earlier)      last day (3669 days later) » 

1:07 PM
Urggh Drupal's users table doesn't use serial for the user ID
 
user1804599
LOL
 
what does serial mean here?
 
user1804599
Sequence and default value incrementing it.
 
user1804599
Like, id integer PRIMARY KEY DEFAULT nextval('users_id_seq')
 
waiting for this:
 
1:12 PM
It's ShitSQL so auto_increment
 
user1804599
I love the underscore.
 
user1804599
Instead of auto increment.
 
k
build with fix is running
does it mean I can slack off?
 
Oh.
It's Friday.
 
it's not
it's thursday
 
1:16 PM
IT'S FRIDAY.
Functionally, not nominally.
 
I DONT HAVE FREE DAY TOMORROW OKAY :<
 
user1804599
It's Monday.
 
I didn't realise that tomorrow is a holiday.
 
it's not :/
 
Thank god for Easter.
:P
 
1:17 PM
fuck
 
Had my coworker not told me "Enjoy your holidays" I would have come to work tomorrow.
Dammit.
 
lol
 
welp, at least I can stay home and play games all the evening
Natalia is gone
 
And Monday too!
 
yeah monday is free actually
this is nice
 
user1804599
1:18 PM
@BartekBanachewicz She is cheating on you.
 
In Portugal we have the choice of Friday or Monday, but here it's both. Awesome.
 
@rightfold she visits her mother in the UK during Easter
 
user1804599
Exactly. :x
 
I was here last year. How did I not notice this already?
 
@R.MartinhoFernandes you're doing it on purpose :/
 
user1804599
1:19 PM
Maybe I'll go to work on Monday anyway.
 
user1804599
Two days free is already way too boring.
 
Doing what on purpose?
 
talking about free friday
holiday friday
whatever\
 
if (!llvm::sys::DynamicLibrary::LoadLibraryPermanently("../Deployment/MinGW/mingw32-dw2/bin/libstdc++-6.dll"), &err)
fuck you comma operator.
and fuck you return codes.
 
1:21 PM
great api
 
Xeo
@DeadMG hahaha
 
@BartekBanachewicz Yeah, the list of dynamic libraries is global and you can never unload a dynamic library.
 
I wouldn't even consider using it, but, it's cross-platform and I'd rather not have to write a Linux dynamic library wrapper.
 
dammit, i put soap on my hands and then realized there's no tap water
had to rub it off a towel
 
1:25 PM
@R.MartinhoFernandes Fortunately, I spotted this one before executing it.
now all I have to do is solve the problem of "Where do I find stdlib implementation when running on Linux?".
 
user1804599
@StackedCrooked dommerik
 
@DeadMG Why do you need that?
Oh.
 
@R.MartinhoFernandes EH support routines and that kind of thing.
it makes me unhappy but you can't throw/catch exceptions or use RTTI without EH routines and the RTTI support symbols defined in the stdlib implementation.
and I define Wide as requiring a stdlib available anyway so there's not a terrific amount of point of running my tests in an environment without one.
 
1:42 PM
@DeadMG Unless it supports searching on platform-specific paths, you gotta write platform support code anyway
 
@CatPlusPlus I supply the paths. It only takes a filepath to load from.
 
Because I don't think dlopen does that
If you go through paths on here unixhelp.ed.ac.uk/CGI/man-cgi?ld.so+8 you'll find what you want
Or nevermind, dlopen does support that
So just give a filename, without a path
 
I'd need to find the header paths as well as just the physical dynamic library itself.
 
Includes are either in /usr/include, /usr/local/include, /usr/include/<arch triple>, /usr/local/include/<arch triple> or you're fucked and need to figure it out yourself
You can go through pkgconfig also
 
well
I already have the usual GCC include paths, but I'd have to find the latest installed version of GCC to use them since the version is included in the paths.
 
might just ask a question on SO
oh joy- remove LLVM header include, program changes runtime behaviour...
lol, who would pay $120 for a home licence of PE explorer?
 
user1804599
-1
Q: Is n++ faster than n=n+1?

DineshkumarDuring a lecture on C Programming, my professor asked this question. But how would it be? Both n++ and n=n+1 are two different ways of writing the same thing, aren't they? Then, how would n++ execute faster than n=n+1?

 
user1804599
lololol those answers
 
ergh
wasted way too many hours yesterday on a terribly annoying bug that caused my sidebar to be rendered in the wrong position for 1 frame: gfycat.com/LimitedGoldenCaracal
turns out I found a chromium bug >.< code.google.com/p/chromium/issues/detail?id=364348
 
rofl, counting "cake mix" as 1 ingredient.
 
user1804599
> Instant Noodles + Hot water = 2 ingredient recipe. I win.
 
or "crust".
or "toppings".
that guy is super generous with the definition of "ingredient".
 
cookies - 1 ingredient, I win!
 
2:14 PM
my favorite ingredient is spaghetti bolognese
 
any BBQed meat seems awesome when you are hungry ...
 
user1804599
Spaghetti is too boring.
 
user1804599
Too much of the same.
 
@rightfold plonked
 
user1804599
Okay. vOv
 
2:16 PM
what is vOv supposed to mean?
an erect penis with pointy balls seen from above?
 
user1804599
 
user1804599
@nightcracker lol
 
@nightcracker You have a wild imagination.
 
¯\_(ツ)_/¯
 
Xeo
Katakana abuse!
 
2:24 PM
you're katakana abuse.
hmm
 
must I now commit sudoku for my shamefur dispray?
 
rofl
it's seppuku
 
Did you mean seppuku?
 
sudoku is the puzzle game.
 
Lot safer,
 
2:28 PM
oh really now? :D god you guys are too easy :P
 
I don't get this.
 
I am bleeding left right and centre ... this isn't right
although most were the results of my own scratches
 
I moved the definition of the incomplete type from the cpp file to the hpp file, and the issue with the incomplete type in the vector went away.
BUT
I made the mistake of moving the definition to after where the vector member was declared and defined. And the error still disappeared.
 
it would only have to be after the dtor of the vector is used.
not sure what the Standard rules on that exactly are.
oh, and MSVC's one-phase lookup introduces fun in that department as well.
 
@DeadMG before*
 
2:36 PM
yeah that's what I meant.
 
I need to give answers to some silly "Django/Python back-end and front-end developers screening" form. It talks about EAV in databases oh my god
 
EAV?
 
I don't think "EAV is bullshit and has no place in a relational database" is what they're looking for here
Entity-Attribute-Value
 
> We have a complex inherited models with some static and dynamic attributes (EAV) + Generic relations. What packages and approaches will you use to implement the front-end forms to give the user flexible and convenient UI to enter all this data?
 
2:38 PM
That is horrible.
 
Redesign your fucking database
God
 
@DeadMG Something that shows up on TDWTF way too often.
 
@CatPlusPlus Oh, that "We're reinventing the database inside the database" shit?
 
2:39 PM
Exactly that.
 
~~~~dynamic attributes~~~
 
ah.
 
You either put a JSON field or use a non-relational database altogether
EAV is utter shit
 
It's one of those things where you probably want a NoSQL webscale DB.
 
webscale.
is it something like fish scale, but it grows on webs?
not funny, huh?
 
2:52 PM
sorry : - /
 
well then I'll show you this progress bar (anigif) /cc:@telkitty.exe
 
still nothing for me, sorry :c
 
don't like cats? bitches.
welp it's not like I really like one particular cat but still, cats in general are awesome
way better than dogs
 
@Abyx like this?
 
@telkitty.exe yeah that's also a good one
 
3:00 PM
@Abyx false
 
@JohanLarsson false
 
@JohanLarsson by any chance, are you... a dog?
 
dogs can't type, silly
 
oh that's good
 
3:03 PM
@Abyx no I'm a norrbottnisk rättshaverist
 
@JohanLarsson what is it? are you uhm alive?
 
@StackedCrooked well that's normally good, you don't want a flooded apartment... 'less you are a fish person
 
Grab a beer or go back to work?
 
@JohanLarsson both?
 
Feels wrong.
 
3:10 PM
@Abyx One need not be a dog to recognize the inferiority of cats as a species. A mere modicum of intelligence suffices.
5
 
chat rep++
 
@JerryCoffin what?! are you racist?
 
@JerryCoffin woof woof
 
@Abyx Yes. I like races a lot. Mostly Formula 1.
Used to enjoy bike racing as well, but have become somewhat disillusioned about it.
 
3:27 PM
@JerryCoffin dat response
int&, that's a new
void search(int x, matrix m, int& row, int& column)
 
int& is no more interesting than matrix& or any other T&.
 
He actually modify those. I thought they only served as sized for the underlying bi-dimensional matrix.
 
gotta love the Intel documentation
0F 16 /r MOVHPS
0F 16 /r MOVLHPS
I hope their CPUs can disambiguate it better than humans
 
3:44 PM
surely the hex opcode should be different for different instructions?
 
the hex opcode is 0f 16 with a ModRM
well at least that's what they say
I'm not sure how you're supposed to test that if you can't tell how to encode it
 
Xeo
Whee, extra long weekend
 
1
Q: x64 instruction encoding and the ModRM byte

rwallaceThe encoding of call qword ptr [rax] call qword ptr [rcx] is FF 10 FF 11 I can see where the last digit (0/1) comes from (the register number), but I'm trying to figure out where the second last digit (1) comes from. According to AMD64 Architecture Programmer’s Manual Volume 3: General-Purp...

I'm not sure what "mod" means in this sense
@Xeo Yay Yay
 
ModRM is a suffix byte for opcodes, it has 3 bitfields
/r means that a value is expected in the reg and rm registers
err, fields
 
@zneak lies, MOVHPS is 0f 17 (at least ref.x86asm.net/geek32-abc.html says so)
 
3:50 PM
oh yeah? tell that to the Intel® 64 and IA-32 Architectures Software Developer’s Manual volume 2A page 597
 
@zneak so what? you think there are no typos in manuals?
 
I wonder where x86asm got their information if the official manuals got it wrong, besides there are 4 encodings to movhps
0f 16 /r, 0f 17 /r, and equivalents with the VEX prefix
 
you know you can assemble or disassemble some code and see what that opcode really does.
 
well, where did the guys who made the disassemblers get their info?
 
@zneak from the ref.x86asm, seriously
 
3:53 PM
also, if you take a better look, you'll see that ref.x86asm.net also lists 0f 16 as movhps
 
@zneak ah, right
 
meh, they do accept different arguments
 
so the only difference is in operands
and yeah, mod rm defines that
 
@zneak why did you not ask in C#? :D
 
'cuz C++ is close to metal
 
3:58 PM
as much as I love you guys, I don't think you thrive in machine code
 
@zneak you love us? aww <3
 
hello
 
i suck at smileys
 
I was talking about the C# guys, but yeah sure, I love you guys too.
 
4:01 PM
You know what? Answering people's question on SO is all about the thanks and gratitude you receive for helping people.
And rep, of course.
 
and speed imo
 
you mean the drug?
 
@Jefffrey nope, it's rep and then everything else
 
no I mean FGIW
 
it's rep and showing off "how smart I am" ; D
 
4:03 PM
^ that
 
lol, you don't really demonstrate how smart you are
 
you had to register early to ever have a lot of rep though
 
Jan 28 at 23:55, by Johan Larsson
@Xeo they know things and have boring jobs?
 
my older answers are worth exponentially more than the new ones
 
@JohanLarsson what is FGIW?
 
4:04 PM
@JohanLarsson : D
 
@zneak Or go for new things, like answering Roslyn stuff now.
 
@Jefffrey well, often answering a question the answerer has the "mentoring" attitude, that's what I was referring to. I also do this : )
 
@Jefffrey I think they call it Fastest Gun In The West when answering questions on the hot list.
 
the guy just over me on the reputation ladder has been a member for about half as long as me but has 3x more answers
 
but you give much away in bouties
 
4:06 PM
I gave 1.1k
 
ok not that much
 
it just goes on to show that you have to work a lot harder if you weren't answering 3 years ago already
 
Did you solve your scary question?
 
which one was that?
 
movhps or something
 
4:09 PM
oh
I guess we do have an answer
I'm slightly annoyed but it isn't that much of a big deal
x86 is still the ugliest architecture that I know of
 
yep, but it's because it's old
 
MIPS is old too
PowerPC isn't that young either
 
Not as old.
x86 is old in the sense that it has a lot of history.
 
m68k is older and not as ugly (though that's probably because it essentially died before it had the chance to be)
 
Being older but having no history doesn't really affect the design much.
 
4:14 PM
yeah, x86 had a lot of changes while keeping all the backward compatibility
 
it didn't keep all the backward compatibility, either
just an annoyingly large part of it
 
user1804599
@TonyTheLion ModRM, good memories.
 
0f used to be pop cs
 
@zneak in 8086?
when was it again?
 
@rightfold oh you've toyed with it?
 
user1804599
4:26 PM
Yes.
 
user1804599
I wrote code that generated machine code.
 
user1804599
It was a pain. x86-64 sucks.
 
sounds painful
Yay weekend!
 
what? it's not even Friday yet
 
easter
nobody works tomorrow
 
4:31 PM
uhm... not here
 
sorry for ya
 
People get the Friday before Easter off? Where is that?
 
Långfredag in Sweden, red day in the calendar.
 
Venerdì Santo in Italy, red day too
 
user1804599
Real men work every day.
 
4:41 PM
@rightfold Well, good thing I'm actually fake.
 
user1804599
You’re imaginary.
 
@EricFinn Germany
 
Yup, just another mass hallucination that gained self-awareness.
 
It's a holiday in Canada too.
and so is the Monday after it
 
So is it just USA that doesn't get tomorrow off or something?
 
user1804599
4:46 PM
Yes.
 
Damn
 
user1804599
Canada, Germany and the USA are the only countries in the world.
 
Well, there's also Italy and Sweden
 
user1804599
But I’m going to work tomorrow! :3
 
@EricFinn and Russia and many not-so-Christian countries as well
 
4:47 PM
@Abyx Well, those are really far away and I'm not currently talking to anybody from there, so for all I know, they don't exist
Oh, fun. Looks like I need to go around to find a conference room to hold an interview in.
 
user1804599
Hmm.
 
user1804599
My pents smell like the drying machine.
 
user1804599
Beh.
 
@rightfold What are pents?
 
user1804599
I meant pants.
 
4:53 PM
I don't think I have ever put my pants in the drying machine.
I just let 'em hang for a while.
 
user1804599
The stuff that covers your legs and underpants.
 
I don't wear pants at home.
3
 
user1804599
Oh, I see.
 
user1804599
4:54 PM
Sounds fun.
 
user1804599
 
I'm glad my female roommate doesn't care :)
 
user1804599
She is secretly in love with you.
 
Probably not. I would have noticed something during the last 3 years.
 
user1804599
She sniffs your hairy legs while you are asleep.
 
4:56 PM
She doesn't like coming in my room, it's a mess.
 
user1804599
That’s a pity.
 
fine with me
 
user1804599
I love it when girls come in my room.
 
Meh, she smokes and eats animals. Not my kind of girl.
 
user1804599
Not that it has ever happened, but hey.
 
user1804599
4:57 PM
@FredOverflow Are you vegetarian?
 
user1804599
Or are you only attracted by vegetarians?
 
@rightfold So every time a girl was in your room, she ripped your clothes off and had sex with you?
@rightfold yes
 
user1804599
@FredOverflow There was never a girl in my room.
 
@rightfold I try not to fall in love with meat eaters. It makes things complicated.
 
user1804599
@FredOverflow you also have long hair.
 
user1804599
4:59 PM
Conclusion:
 
@rightfold So by the law of whatever, ALL OF THEM had sex with you, right?
 
user1804599
Yup. :D
 
user1804599
Vacuous truth.
 
lol
 

« first day (1279 days earlier)      last day (3669 days later) »