« first day (859 days earlier)      last day (4086 days later) » 

6:00 PM
Mmm... Hi
 
Ell
Herro
 
House of Lies is so weird
 
After i left, I had so terrible headache, that I just laid down and died; I've just woken up
Did I miss something? Perhaps another post on how terrible I am?
 
Ell
Nope, but I can't get deadmgs value deleter to work, not sure why
 
@BartekBanachewicz I was waiting until you returned to post something about how terrible you are. I've forgotten what it was though, so you'll just have to try to feel badly without my help.
 
6:06 PM
5 hours ago, by DeadMG
@ThePhD Don't listen to Bartek- that guy is far more useless than you. I plonked him because a) he's worthless and b) all he does is bitch loudly.
maybe you wanted to repost this?
@Ell somehow that feels good -.- Can I take a look?
 
Well, well.
 
Stop reposting things
 
@BartekBanachewicz If I was going to slam you, I'd at least be original about it.
 
Ell
@BartekBanachewicz groups.google.com/a/isocpp.org/forum/#!msg/std-proposals/… <-- that's his value_deleter
I'm trying to use it like this: std::unique_ptr<GLuint, value_deleter<GLuint, decltype(&glDeleteShader), &glDeleteShader>> glHandle;
 
@BartekBanachewicz You missed an epic flag war; @thecoshman actually left in a strop
 
6:08 PM
At least my headache is gone
@LightnessRacesinOrbit umm? oh nvm
 
@BartekBanachewicz "umm" what?
 
@LightnessRacesinOrbit I feel fucking bad about this damn post.
 
@LightnessRacesinOrbit He'll be back.
 
Ell
error: ‘& __glewDeleteShader’ cannot be used as a function
 
6:09 PM
I leave you for one day and you start killing each other jesus
 
@CatPlusPlus WHERE WERE YOUUUU?
I was so worried.
 
@Ell I think I know what's the problem then
 
Ell
is it a macro?
 
yes, well, __glewDeleteShader no. But if you're passing a macro, weird shit can happen
 
No, it's a pointer
&__glewDeleteShader gives you pointer to a pointer and that's not callable
 
6:10 PM
@CatPlusPlus Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiyo.
@EtiennedeMartel Seriously, right? I had begun to imagine impossible things.
 
@ThePhD Come on, do it.
 
... Oh
Look at the time.
 
STOP FUCKING AROUND
 
@CatPlusPlus ...
 
Ell
`‘__glewDeleteShader’ is not a valid template argument for type ‘void (*)(unsigned int)’
`
 
6:11 PM
wait, wait, calmly
 
What are you doing
 
lemme open VS, will ya?
 
Ell
it must be the address of a function with external linkage. Not sure what this means? and why is it not a valid template argument? :O
 
Lovely weather we're having today, aren't we? :D
Spelling sucks.
 
Ell
You know what writing a destructor might just be easier
 
6:12 PM
Words are terrible.
 
You know, I think glew just fits it badly
 
@Ell Are you trying to call DeleteShader on a gluint ?
 
It's in C and for C
 
Ell
@ThePhD glDeleteShader yes
 
@EtiennedeMartel So I got up yesterday at 11, and immediately gone to classes
 
6:13 PM
pfft nowadays really is less like stackoverflow.com and more like free-regex-writers.com. "I want a regex to do this" "I need a regex to do that" "Any help is appreciated" fuck off and die
 
@Ell Maybe it doesn't return void. Maybe it returns int.
 
And I came home at 19 and then gone to meet coworkers
And then I came home at 3AM
 
Oh, that kind of meeting.
 
And then I woke up just now and I'm probably still drunk
 
Ell
6:13 PM
Now was it the rule of 3 or the rule of 5. Hmm.
 
But I can totally play poker now
 
Poker sounds fun.
 
I have a proper poker set, but no one to play with
2
 
@thecoshman They cut the link from 100Mbps to 10Mbps
 
6:14 PM
@CatPlusPlus Oh, right, @ThePhD's got something to ask.
 
@TonyTheLion :(
 
Ell
@BartekBanachewicz but I need to write a destructor to delete this shader :o
 
@TonyTheLion we can play throught the interwebz
@Ell no! :)
 
@EtiennedeMartel You're a terrible menace, you know that?
 
Do you know what rule of 0 is?
 
6:15 PM
@ThePhD I'm awesome.
 
Ell
@BartekBanachewicz yes - I can use smart pointers so I don't need to write my own destructor
 
@EtiennedeMartel at being a terrible menace
 
@BartekBanachewicz we could, but meh
 
@Cicada <3
 
@TonyTheLion we need more lounge Bonding time
 
Ell
6:15 PM
but sadly, the value ptr doesn't work :'( and I don't know what functions I need to implement for writing my own deleter
Lounge bondage time
 
@BartekBanachewicz I need real people
 
@LightnessRacesinOrbit What you said.
 
@Ell erm...
 
@TonyTheLion are you implying I am not real?
 
@BartekBanachewicz how could I know?
 
6:16 PM
@Ell glew isn't good for C++ thingies
 
heh, look what I just stumbled upon by chance
0
A: Write a function int mystrlen(char *s) that returns the number of characters in a string wuthout strlen func

ChimeraTo come up with a solution to your problem, you must understand that in C a "string" is an array of characters terminated by '\0'. That should be enough to help you work through a proper solution.

 
@BartekBanachewicz Well, Poland doesn't really exist.
 
Poland just cannot into space.
 
Ell
@BartekBanachewicz then I will make it good :3
 
@ThePhD Layout-based by default, but it has canonical desugaring defined with braces and semicolons which you can use directly if you're crazy enough
 
6:17 PM
@Ell Why don't you just use a wrapper made for C++? If you want to fix it, it's essentially complete rewrite
 
Ah.
Makes sense.
 
@BartekBanachewicz You're a complex individual (and as any mathematician knows, that means you're composed of both real and imaginary parts).
 
Get Zoidberg to do it
 
@EtiennedeMartel What?
 
@JerryCoffin too direct to be an effective joke. try again.
 
6:18 PM
@JerryCoffin that's a great sentence :)
 
You're all fake unless proven otherwise :)
 
@CatPlusPlus But he's too shy to ask you directly.
 
Xeo
Yay, finally home~
 
@Xeo howdy
 
Ell
@BartekBanachewicz an opengl wrapper? I want to write this myself for education
 
6:19 PM
@EtiennedeMartel I don't know what he's on about /cc @CatPlusPlus
 
@LightnessRacesinOrbit It may take a while -- it's getting close to noon here, but I still feel about half asleep.
 
@Ell no, Extension Loader. That's a bit different
 
so tomorrow, it's the last day of the one coworker I actually enjoyed talking to
that means, I'll just have to spend even more time in the Lounge :)
 
@TonyTheLion I can send you a photo of me in my hat. That should be a sufficient proof.
 
Ell
@BartekBanachewicz Ohh. I don't see how it's glew's fault though >.< glDeleteShader is pure opengl isn't it?
 
6:20 PM
@TonyTheLion Could give them your phone number, e-mail, and chat lines.
Or you could invite them to the Lounge.
And we can give them a hearty welcome!
 
@ThePhD I'd never want this person to see all the hours I've spent here instead of working :(
 
@TonyTheLion Hahahaha
 
Xeo
@TonyTheLion How about making someday between [now(), now() + chrono::days(30)) your last day too? ;)
 
years of procrastination that can be used against me
 
@TonyTheLion not really if he's leaving
 
6:21 PM
@Ell uhh. I've clicked delete by mistake, sorry. "What is pure OpenGL to you? :)" And that's a tricky question
 
user142019
How do I create folders in a C++ project in VS.
 
@Xeo I'm working on it, but it's not so easy finding something else in the area I want to actually live in
 
user142019
I can only create filters or something. I want file view as on the file system.
 
@LightnessRacesinOrbit but if I need a reference
 
Xeo
@Zoidberg Filter.
 
user142019
6:22 PM
@Xeo Can I map that to a directory?
 
Xeo
@TonyTheLion Just come to Germany. :D
@Zoidberg No, filters are entirely internal to VS.
 
user142019
Fuuuuck what a terrible program.
 
@Xeo or Poland :P
 
Ell
@BartekBanachewicz hmm. well I'll just do the rule or 42 or whatever it is xD
 
Xeo
When you add things, just put the files were you want them, sheesh.
 
6:23 PM
@Xeo I don't want to live in Germany
 
@Ell answer that question first, it's important
 
user142019
Oh.
 
user142019
Show all files in solution explorer.
 
Ell
@BartekBanachewicz well glew is just extension loading, pure opengl is everything in the opengl specification
 
Xeo
@TonyTheLion :O Blasphemy!
 
6:23 PM
how do i check if the string is bold, in Qt ?
 
@TonyTheLion ok
 
Xeo
@Zoidberg How does that help?
 
user142019
It shows the directory tree.
 
@Ell and that would be sensible, right? Well, too bad, GL.h only gives you core of 1.5. You have to load all functions from 4.3 yourself :(
 
user142019
Which is what I want.
 
6:24 PM
And that's the main part of GLEW's work
 
Ell
@BartekBanachewicz But having said that glcorearb.h gives you the rest :P
 
yesterday, by Etienne de Martel
Deep inside, he's a fragile flower.
 
Xeo
@Zoidberg Huh. Doesn't for me.
 
yea right :)
 
6:25 PM
@EtiennedeMartel It's a trap! /cc @CatPlusPlus Don't doo eet.
 
Xeo
Or maybe you had it enabled and disabled it now?
 
Ell
@BartekBanachewicz also I don't understand how that works >.< how does it even compile if glew is runtime?
 
@TonyTheLion I'm serious. Jerry (which is the closest thing we have to a wise guy) said something quite interesting right afterwards.
 
@Ell you use it by macros. After you call glewInit, it checks if every function exists and loads its address. Then magic happens. (Actually macros are resolved so they just use glew pointers)
 
yesterday, by Jerry Coffin
@EtiennedeMartel I'd say it's not even all that deep. Like most cynics, he's ultimately an optimist (and probably a perfectionist) who's been wounded a few too many times.
 
user142019
6:27 PM
@Xeo Nope. (The highlighted button in the button bar.)
 
user142019
 
So in theory, obtaining raw glew pointer should work. But that's just a theory.
 
well, I couldn't agree more
 
@Zoidberg why do you have your own vector class?
 
@BartekBanachewicz because why the fuck not
 
Xeo
6:28 PM
@Zoidberg Yeah, if I do that, I only get all files as a plain list.
 
It's easy to write
 
user142019
@BartekBanachewicz what kind of vector do you think it is.
 
@Zoidberg x,y,z
 
user142019
@Xeo maybe you have everything in the same directory?
 
user142019
@BartekBanachewicz yes what would I do else.
 
Xeo
6:28 PM
@Zoidberg nope
 
user142019
There is no standard class for that.
 
there's glm
 
@Zoidberg GLM? DirectXMath?
 
user142019
@Xeo hmm weird.
 
Xeo
@Zoidberg std::valarray!
 
user142019
6:29 PM
xd
 
@EtiennedeMartel DirectXMath handles like ass sometimes.
 
It's easy to make vector
 
@ThePhD Nah, it's just poorly documented.
 
But day after you need a matrix
 
6:30 PM
Okay. So I need to tag every function I've written in this entire project with this macro.
 
Why would you use an external library for something as simple as a vector?
 
user142019
@BartekBanachewicz hmm right.
 
NBD, let's see if I can make some regular expression magic.
 
user142019
I should write a generic tensor class instead.
 
Xeo
lol
 
6:30 PM
you shouldn't write that at all
 
Xeo
Wait, I answered a question to create an N-dimensional vector..
 
user142019
@BartekBanachewicz Oh no because my time is so incredibally limited and I'm not interested in writing such classes at all.
 
user142019
@Xeo std::array<T, N>? :P
 
@Zoidberg welp. okay then. I thought your goal is to make a game, not a maths library
 
Xeo
@Zoidberg That's not N-dimensional...
 
6:32 PM
@Xeo actually that is. Or do you mean N-dimensional array of memory?
 
Xeo
Oh hey, here it is: stackoverflow.com/a/8582634/500104 (note: I think it sucks.)
Also, I remembered it wasn't a tensor.
 
@ThePhD So what game
 
user142019
MSVC y u no variadic templates.
 
user142019
I'd rather have variadic templates than lambdas.
 
Xeo
@Zoidberg No
 
6:35 PM
huh
 
@Zoidberg Doesn't CTP have them?
 
I think I figured out an algorithm that I can use to do type inference, even in very complex inference situations.
 
Xeo
For the end-user, variadic templates are practically unimportant in contrast to lambdas.
 
What we really need is variadic template lambdas
 
lol, yes
 
Xeo
6:35 PM
@BartekBanachewicz Buggyadics.
 
@Xeo nearly as nice as buggex from gcc
 
Xeo
GCC simply doesn't implement std::regex, so eh.
STL told me that variadic templates are fixed in UpdateNext, though. Or atleast 10 out of my filed 11 bugs.
 
@Xeo It doesn't?
 
@CatPlusPlus U-Um...
The... the game
 
Xeo
@StackedCrooked The implementation of std::regex_search says it all: return false;. :)
 
user142019
6:38 PM
> error C2143: syntax error : missing ',' before '...'
 
Maybe it's just an optimization :P
 
user142019
 
man
 
Ell
@BartekBanachewicz I still don't understand - what if you use a function that isn't available? What happens? the programme compiles but then segfaults? or exception? o.O
 
why does anyone pierce themselves
 
user142019
6:39 PM
The more piercings the sexier.
 
Ell
because the majority of people think it looks good
which it does
in some places
 
@Zoidberg It's hard to get it up for a chunk of metal or rock. Those things are not sexy.
 
Ell
I don't understand how guys get their bellend peirced though, must hurt like hell
 
@DeadMG yep. Try commenting out glewInit and running
 
I just learned that this is valid C++:
int a = 0;
int b = 0;
(condition ? a : b) = 1;
 
6:40 PM
is it an lvalue? o.O
 
apparently, lvalueness survives the ternary operator
 
Xeo
Sure does.
 
@CatPlusPlus The game is a 3D-Platforming Beat 'em up, which already has a central story built up around it along with a a lot of art assets. At the moment, I'm currently the only programmer and working hard at it, but I started getting stuck on making levels and maps and stuff. The, um. The mechanics allow for a free-form battle system (see Seiken Densetu 3, Secret of Mana [ SNES titles ], and other regular beat 'em ups like Golden Axe, Streets of Rage, etc.). The feel is going to be a bit
 
user142019
Isn't there a way to emulate variadic templates in some obscure way?
 
6:40 PM
didn't know that.
 
user142019
Variadic macros! xD
 
Xeo
@Zoidberg _VARIADIC_EXPAND_0X(macro, , , , ) :3
 
@CatPlusPlus side-scrollery, but its done in full 3D with full 3D levels because the artists I have can't draw for shit.
 
Ell
@Zoidberg I thought boost had something which generated up to n definitions
 
@Zoidberg o.o
 
6:41 PM
.... N-Not that you should be interested or anything.
@EtiennedeMartel ( Curse you. ;~; )
 
Xeo
@Ell Boost.PP
 
@ThePhD So it's a free-time project, or are you looking for someone full time and what would you need me to do because I'm not sure it won't be over my head
 
@zneak It's not so strange if you think in terms of $(echo {l,r}value{-references,s})
 
Xeo
I have two (I think) answers on generating "variadic" overloads.
 
@Zoidberg Generating code
 
user142019
6:42 PM
Muh.
 
@LightnessRacesinOrbit left to go home actually
 
Generating variadics with Boost.PP is easy
 
user142019
@Xeo What about variadic template classes?
 
Same
Or typelists
 
6:43 PM
@StackedCrooked I'm not confused about how it works, I just didn't expect it to work
 
@CatPlusPlus really? my manager still says 100... and I was hardly getting 400kb last night. It's all good now though. When did they change it?
 
@CatPlusPlus At the moment, most everything needs to be done. Albeit I'm using that term liberally, so here's where I'm at right now: I have a very decent engine (which handles graphics and other setup, along with a very good input system). It has pretty good design, though some parts are outdated from when I first joined the lounge and I was a n00b (still good to use, just not as pretty). At the moment, I'm reaching the point where I need to build the physics for the levels and the maps for the
 
Xeo
@Zoidberg std::tuple uses default _Nil arguments
Or you can use typelist and partial spec.
 
@zneak I not saying you were confused, I just didn't find myself surprised. :D
 
@thecoshman I don't know, maybe it was just a hiccup in the network, look at their status pages
You can just ask them
 
6:43 PM
@CatPlusPlus levels, so you can move around a single entity in them. Enemies and AI will come shortly after.
 
Xeo
Like, mytuple<typelist(a, b, c, d)>
with struct typelist{}; somewhere. Or even typedef void typelist;
 
@CatPlusPlus can you give me a link to it, because I couldn't find it
 
I love " @CatPlusPlus At the moment, most everything needs to be done "
you should take his offer
 
@CatPlusPlus This is a free-time project for me, but there's payout involved at the end if we do a really good job: at the moment, I have no other obligations but to take care of my Mother, so really it's almost like a full-time project for me.
 
which means no payment.
ah, too bad he plonked me.
 
Xeo
6:46 PM
@ThePhD Aw, I couldn't work on that even if I would. :( Not allowed to work on other game projects for payment.
 
Yes, nobody is getting paid.
 
or not?
I genuinely don't know now.
 
@Xeo When I say "there could be a payout involved", I mean if we win the competition we're submitting this too.
 
@Xeo oh?
 
Ell
meh. I'll implement a dtor then delete the other stuff I should implement xD
 
user142019
6:47 PM
@Xeo awesome thanks! :D
 
Xeo
@thecoshman Work contract.
 
@Xeo stupid contracts
 
@thecoshman well, in Intel you also have to disclose other jobs
 
Xeo
@Zoidberg You could just rely on _VARIADIC_EXPAND_0X...
Where all this stuff has already been done.
 
but it's not like "you can't do X" , it's rather "of course, but work here is the priority"
 
6:48 PM
@Xeo The thing about this is there's really no payment involved, unless we win the competition we're submitting too. So technically, this isn't paid work: we have no obligation of being paid. However, if we manage to succeed at the competition we're entering, it'll bolster all of our resumes for when we get real jobs and if its really well-recieved at the competition, we're hoping to pretty up our asses and waggle it in Steam Greenlight's Direction.
 
Xeo
@thecoshman Well, let me reformulate, I'd have to ask my boss first. It's actually not that stupid, considering that I might stop working for them if the game really takes off, and I become a competitor to them. :P
 
On the whole, everyone who's in this though is doing it for 0 dollars and 0 cents and for the love of the game idea and just working together to make something nice.
 
@Xeo he still doesn't know you are working full time as a game dev, does he?
 
Xeo's a game dev? o_O
Cool Points += 100000
 
@ThePhD so you haven't plonked me, you sneaky...!
 
Xeo
6:49 PM
Anyways, some guys in our team actually published a small Android game (Marbelous!) with the approval of our bosses.
 
I never keep anyone plonked. ._.
 
bah.
Are you still mad at me?
 
I just opt to ignore or not say anything because it just is easier and less dramatic that way.
 
Xeo
Hmm.. too bad LWS doesn't provide msvc as a compiler.
 
@BartekBanachewicz Does it matter? I'm a bad coder on the internet; one in a million.
 
6:51 PM
@ThePhD no. you're in the lounge. It's enough of DeadMG isolating from me. I want to have friends here, not enemies
And yes, I've been acting like I want quite the opposite
And yes, I'm retarded and a terrible person
 
Ell
I might ask a question on putting glDeleteShader in an std::unique_ptr but don't really know how to ask it o.O
 
@Ell gimme 5
 
Mmm pineappless
 
._. Cut that out, it's not worth going into. It's already over with, I'm not one of those traditional angsty people that'll hold a grudge over chatroom shenanigans
@EtiennedeMartel So there. I explained everything. Are you happy now? ;~;
 
@ThePhD so we cool?
 
6:53 PM
We're fine.
 
you my man my man.
bah, I feel better now.
 
Now kiss
 
@Xeo what do you actually do?
 
nothing except bro-codex accepted stuff goes
@Ell okey. let's bite this
 
Oh my god so sexy
it compiles yes <3 <3
 
6:56 PM
the multifile project?
 
The everything.
Everything compiles.
 
that's nice
    #ifdef _WIN32
    #  define GLEW_GET_FUN(x) glewGetContext()->x
    #else
    #  define GLEW_GET_FUN(x) x
    #endif
 
Xeo
@thecoshman I'm supposed to work on a browser game, but currently I'm doing tooling.
 
@Xeo Sounds sexy.
 
Xeo
@ThePhD Eh, setting up an automated reviewsystem, and then writing a pre-commit hook that babysits our artists...
 
6:58 PM
Oh.
Sounds less-sexy.
But still pretty sexy.
@Xeo Why not help me out and write ~Real Code~ ?
 
@ThePhD When I got an offer from Intel, I had another one from a game company too. They cooperate with SEGA, EA and Konami, just to give few names. I turned down their offer. That was a tough decision.
 
Xeo
@ThePhD Sorry, got my own hobby projects going. Currenty 3, actually.
 
o_O
Damn.
HF GL.
 
@Xeo What VCS?
 
Or is it GL HF?
 
6:59 PM
glhf
 

« first day (859 days earlier)      last day (4086 days later) »