« first day (862 days earlier)      last day (4085 days later) » 

8:00 AM
Hm.
 
@ThePhD Doesn't that just mean that you suck?
 
Of course not!
 
8:15 AM
@Rapptz Well, it's failing to build. D:
LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,struct sf::ContextSettings const &)" (__imp_??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@s‌​td@@V?$allocator@D@2@@std@@IABUContextSettings@1@@Z) referenced in function _main
q_q Link, my worst enemy
 
it's worse in GCC lol
also your error is with sfml-graphics
 
So I can tell, but...
sfml-system-d.lib
sfml-window-d.lib
sfml-graphics-d.lib
sfml-main-d.lib
sfml-audio-d.lib
^ Linking in all the libraries
 
wrong order
 
=[
 
graphics, then window, then audio, then network, then system
 
8:18 AM
Terribru.
 
well that's actually a GCC thing not really MSVC I forgot
are you building with release or debug? because your libraries imply debug
 
I'm doing a debug build.
I pet and groom and take loving care of this library
build it without warnings or errors and this is how it repays me
With linker errors
Broken, my heart. All the tears.
 
linker errors are usually your own fault
I hate them too but I always blame myself because I fucking hate linking with a passion of a burning suns.
 
user1357851
@ThePhD you get used to that cold hearted b!tch called compiler(&linker) soon enough
 
user1357851
We (the vets) have all been there done that before :p
 
8:24 AM
Welp I can't build your project Rapptz
Guess it's alllll over for me.
 
RIP.
 
;~; all my tears
.... Not that I wanted to anyways. SFML is boring and UI is boring anyhow.
 
hey hey now.
this is fun.
 
I'LL JUST GO WORK ON REAL STUFF WHILE YOU PANZY AROUND IN YOUR LIBRARY.
 
I don't even know how you're failing to link.
 
8:27 AM
Me neither.
Going to try some crazy shit.
 
user1357851
lol are your libraries all in the right locations
 
Yeah
OH
OH WELL THEN
SO RELEASE WILL BUILD
BUT NOT DEBUG
Fuck you SFML.
 
...lol
I didn't make debug builds cause GDB sucks ass yo :(
 
=[
=[[[[[[[[[[[[
All
my tearz
 
:<
 
8:36 AM
Whatever
Release master race
Access reading violating.
What have you done?
 
iunno.
 
Would be helpful if I could use the DEBUG LIBRARIES I BUILT
Fucking SFML.
Albeit, I've confirmed it happens in SFML-graphics-2.dll
So, not entirely your fault.
Vermin.
It fails on updateHover
So maybe you know what's going on in there that I don't
Okay.
Drilled it down
GetMousePosition
is fucking you in the mouth
@Rapptz Yo Stencil Class FAILS:
void updateHover() {
	    sf::Vector2i ms = sf::Vector2i( 0, 0 );
	   // Titties: ms = sf::Mouse::getPosition(*window);
        hover = (ms.x >= rect.left && (ms.x <= (rect.left + rect.width)) && ms.y >= rect.top && (ms.y <= (rect.top + rect.height)));
    }
 
?
what's wrong with it
 
// Titties
Is where the failure happens
 
o.o how
 
8:45 AM
The fuck am I supposed to know, it happens inside SFML.
 
eh?
 
sf::Mouse::getPosition(*window) is what triggers the Segfault.
 
Hm.
I have no other known way of checking for hovering though.
 
yesterday, by Cat Plus Plus
I, too, use WinAPI because it's easier to port to Android
Windoze is jur fwiend. :3c
 
that defeats the entire purpose :|
If I wanted to use WinAPI I would have done it from the very start
 
8:49 AM
:3c
 
rendering multiple objects doesn't fail or cause a segmentation fault on my end either, it only happened during the parent child relationship thing
:(
 
\o/ iunno
yes
 
LINK2001
Lovely.
Linker wubs me so mawwch.
 
9:06 AM
gonna go sleep. Night.
 
:(
top comment was decent until he said he prefers using pointers.
okay now I sleep.
 
same here
night
 
user1357851
9:53 AM
 
10:21 AM
it's possible that i'm still quite drunk
 
user1357851
it would be easy to tell
 
user1357851
what's your first reaction when you saw that pic
 
user1357851
drunk
 
yeah :(
I mean :)
 
user1357851
10:38 AM
view history probably, don't want my account to get suspended
 
dammit
missed it
 
what are you bitching about?
 
user1357851
Light is wondering whether he could make out with the mermaid while the shark is watching, but he's more interested in mermaid coming outside of the tank instead of him jumping into the tank.
 
that makes even less sense
 
user1357851
10:49 AM
aka, very complicated :)
 
user1357851
Going for a jog.
 
Its too early to jog.
 
@Xeo Chihayafuru is getting ridiculously high ratings. (lol spelling corrector wants to change Chihayafuru to Chihuahua)
@thecoshman Is Ireland a nice place to live?
 
@StackedCrooked pretty much, depends what you think makes a nice place really. why?
 
Never been there. But the country fascinates me somehow.
Nice nature, low taxes, :D
 
10:59 AM
@StackedCrooked taxes are not that low, and low taxes does result in you having to pay for more things your self, such as health care and bin collection
 
Oh, there's no health care?
 
yeah, low taxes not so great now is it
it's subsidised for the poor though
 
Xeo
Mornin...
Hey @StackedCrooked, guess what woke me up. (Hint: It rotates at high speeds.)
 
Drill?
lol
 
Xeo
:|
And it's fucking noon
 
11:05 AM
I think here it's not allowed to perform noisy activities on Sundays.
 
Xeo
@StackedCrooked Eh, that show didn't seem like something I'd watch.
 
Perhaps not.
Since it has no moe :P
 
Xeo
lol, that's not an important part for me.
Black Lagoon also has no moe. :P
 
going for a jog
 
Black Lagoon, I still haven't finished that one.
It's been a three-year hiatus now.
 
Xeo
11:17 AM
lol
Zero no Tsukaima has been on a 3 year Hiatus for me, since the anime is a pretty shitty adaption of the novels.
 
0
Q: Why do I get three different numbers when i try to output a UTF-8 character?

Cemal AKERI'm trying to tokenize the input consisting of UTF-8 characters. While some trying the learn utf8 i get an output that i cannot understand. when i input the characher π (pi) i get three different numbers 207 128 10. How can i use them to control which category it is belong to? ostringstream oss;...

 
@Xeo I finished all seasons.
 
Xeo
The first season was okay-ish.
But season 2 and season 3, from skimming through some episodes, were just horrible.
And the newest season seems to be no exception either.
 
Is there a new one?
 
Xeo
Louise's character is so bad in the anime...
@StackedCrooked a season or two ago?
 
11:19 AM
I've seen three seasons IIRC.
OK. There are only three.
@Xeo Haven't read the novels, but I agree.
 
Yep, that's the third one.
 
Xeo
So it was basically 1 year ago.
No, fourth.
:P
The first 4
 
I seem to have skipped one then.
 
Xeo
lol
@StackedCrooked I wish I could continue reading the light novels. I'm up to vol 13 of currently 21 IIRC, and the rest is getting translated, but that translator is... bad. I don't want to speak bad of anybody who tries to bring good Japanese content to the English-speaking world, but this translation is just horrible. The English sentences are so hard to read and make sense of, it just kills the fun.
 
11:24 AM
That sucks.
 
Xeo
Also, I can't say Louise isn't stingy and a tsundere in the Novels, but it doesn't really come across as bad, after she discovers her feelings for Saito. The anime totally overshot on this one.
And it's way. too. fucking. ecchi. The novels were never like that. :/
 
Esp the last season.
enryo shinakatta
 
Xeo
Wut?
 
They didn't hold back.
 
Xeo
I don't speak Japanese yet... do you have to remind me of that?! D:
 
11:28 AM
There was this ecchi fighting scene between Louise and the princess.
@Xeo Neither do I.
 
Xeo
Why use a Japanese expression, then? :P
So, now that I'm actually awake this early, might aswell do some coding.
 
11:50 AM
Hi guys, is it only me, or do you frequently encounter the situation when you're going to make a commit to some repo, but you notice from the diff that you changed more than one thing only
And potentially one of those things is really part of something bigger, and you'd like to put it into a separate commit
Oh, and all of that inside a single file
Is it just me?
 
Xeo
Well, seems like you don't commit frequently enough, if the small changes and the big changes come together.
 
@n2liquid if you use hg, you can use the shelve tool
 
@Abyx I will take a look, thank you
@Xeo I know, but even if you're really diligent, sometimes it just happens, and I wanted to know if there's an easy way to go about it
At least better than awkwardly trying to undo your changes, committing, then redoing, then commiting again
 
Xeo
Git also has interactive commit, IIRC.
Where you can commit parts of a file.
 
yay! wrote my first crashing program with Wide.
although I'm honestly not sure how it even compiles, because I didn't implement that bit of logic yet...
 
Xeo
11:55 AM
lol
You didn't implement the crashing logic yet? :P
 
no
 
@Xeo Hmm... Now that you mention it, I remember this interactive commit thing, but I didn't quite understand how to use it and forgot about it
 
it crashes because I didn't code type inference to not return lvalues for function local variables :P
 
I also felt like it wasn't really about committing parts of a file, but I'll take a look on the internet, thanks you too
 
but, the code should not compile because I didn't code assignment to deal with the RHS being an lvalue instead of an rvalue.
 
Xeo
11:57 AM
lol
 
so the LLVM type of the LHS is T*, the RHS is T*, and the store is supposed to be *lhs = rhs, which is obviously not legal.
 
@DeadMG What is Wide?
 
a language I am building
 
Oh; does it have any specs, concepts, or ideas published yet?
 
Xeo
aka another Lounge Projectâ„¢.
 
12:02 PM
huh
it did insert a load.
I automatically did *lhs = *f().
how did that happen?
 
Xeo
lol
 
oh, because I told it to.
whoops
 
Xeo
haha
 
let's just ... take that out for a minute.
 
Xeo
Accidental features, always fun.
 
12:06 PM
nah, it was intentional
otherwise you couldn't do var1 := expr; var2 := expr; var1 = var2;.
 
Xeo
Ah.
So the only problem is that you always return lvalues from functions?
 
only if the expression is an lvalue.
if you return "string", then you get an rvalue.
but if you do
 
Xeo
I see
 
Help() {
    str := "Goodbye, World!";
    return str;
}
then hello lvalue.
so what I need to do is decay all lvalues to rvalues, and if necessary, insert a load.
 
Xeo
Why not do as C++ does, and just check if it's a local variable or by-value parameter?
If you have move semantics, you might wanna do that anyways.
 
12:11 PM
because this applies to any lvalue.
for example, if I had pointers, and you returned *p.
 
Xeo
I don't quite see the problem with that being deduced to an lvalue.
 
the problem is that for any lvalue, I have no idea that it's actually going to stay that way.
I mean, consider a local std::map, and then you return map[k];.
that's an lvalue, but it's assuredly dead once the scope ends.
 
Xeo
Hm, so you'd want your type inference to always say "value-type"/rvalue for the return type?
If yes, you definitly need a way for a user to say that it should be an lvalue.
1
Q: C++ Template Metaprogramming- not sure I quite get the fuss?

user997112As I understand it normal C++ code is translated into assembler at compile time, which is then executed by the CPU at run-time. So I do not quite understand what the fuss is with the advantages of template metaprogramming? Wikipedia says the following about template metaprogramming: Template...

Man, two extremely bad examples of the need for TMP.
I mean, c'mon, factorial and fibonacci?
 
@Xeo Agreed.
 
Xeo
Do you want to allow explicit type specification?
 
12:17 PM
I am sick and tired
question
is there a site like freelancer where you are asked to do a project
 
@Xeo Probably.
 
because i have done none
and that's my problem
i did college related work
but i want to gain experience while being unemployed
 
but it still crashes, and I'm not quite sure why.
 
and i don't mind some cash if possible
 
oh
it doesn't seem to actually store anything into the variable for some reason.
 
Xeo
12:19 PM
@DeadMG Then you can just use that mechanism with a special keyword to say "deduce". Like, Help() -> auto lvalue, or something.
 
@Xeo Planning on it.
 
Xeo
Or have explicite type signatures like Haskell. :D
 
any ideas ?
 
no.
 
Xeo
no.
 
12:20 PM
Russian roulette ?
where can i join a russian roulette game ?
 
@Mhjr Can't you do internship?
 
seems the only way to go
not in this country
 
Xeo
@DeadMG Was that to my suggestion?
 
@Mhjr Then the other option is indeed freelance; just find a freelance website and try luck :P
 
@Xeo Both.
 
12:22 PM
We don't know any
 
Xeo
I see
 
huh
it appears that I never wrote any code to store to variables (whoops).
 
Xeo
lol?
 
ok
 
assigning them works fine.
but when I create them, I never store their initial value.
 
12:23 PM
just need an incentive, it feels hard being unemployed even with a good degree
must manage and use my time
 
curious.
my first test case was of this functionality
I must have broken it somehow
 
user1357851
@Mhjr try oDesk
 
user1357851
No idea what it is, but I from what I heard it is a bit like freelancer
 
mawning
 
@Telkitty much appreciated
 
user1357851
12:28 PM
@TonyTheLion it is 11:28pm here :p
 
user1357851
@Mhjr np
 
ok
now that works
note to self: variables do not store their functionality magically.
 
@Telkitty It's 12:29 pm where I am
 
now let's see if the more complex thingymajiggy works
and it does, woohoo.
 
user1357851
@TonyTheLion so why mawning?
 
12:31 PM
To both user2104352 and Barket Macros can be used. Just for header multiple protection. The reason not to use macros for other uses in C++ is that you have the protection by the compiler of making sure it is type safe. — Ed Heal 20 mins ago
To both user2104352 and Barket
Barket
 
@Telkitty because I just got up
morning: the time when you get up
doesn't matter what time of the day it is
 
I see I have taught you well, young padawan
 
is futuristicPROG a good nickname :)
for a coder ?
seems lame
 
@Mhjr Don't worry about nicknames, just pick whatever you like xP
 
Xeo
@DeadMG Pfft.
 
user1357851
12:34 PM
@Mhjr I am sure eventually it is how good you really are that counts. Name is just a name
 
Its when you are raised in a place where superficial things that matters not the core of things so forgive me if i seem too attached to this way of thinking :)
 
@DeadMG Yes you have. :)
 
is there a way to put a fake credit card information just to bypass a required registration step ?
nm found one
 
oh noes
deception is going on
 
lol
 
12:45 PM
where
 
^ there
 
i can't quite see it
 
you suck
 
yes Cicada can't see it
 
this
you are not @Cat
 
12:45 PM
tony you are terrible
 
ahahahah
 
anyone freelancer asks for a credit card number
what to do ?
 
Xeo
Mornin' FredO
 
user1357851
@Mhjr send your cat to steal one from your neighbour
 
12:51 PM
Where do you live, @Mhjr? Just curious
 
I need help
 
@BartekBanachewicz me too.
 
What's the easiest way to pass the variable up to the base class member function (compile-time)?
 
user1357851
 
I don't want to repeat the code in the base member
but that code knows nothing about derived classes
 
Xeo
12:58 PM
Do all derived classes have that variable?
 
Yup. It's the string literal that I need, actually.
 
Xeo
So, question: Why isn't the variable in the base class?
 
because it has to have a distinct value for each type
and uh, should have said that in the 1st place, it's static
IOW I need a static string literal identificator for every derived class that can be accessed by base class method
 

« first day (862 days earlier)      last day (4085 days later) »