« first day (978 days earlier)      last day (3956 days later) » 

9:00 PM
@thecoshman That's not a VBO.
That's an IBO.
 
@CaptainGiraffe map<T, double>::iterator is dependent on T
 
Ell
Index?
 
user142019
@CaptainGiraffe Because iterator could be either a type name or a non-type name depending on what T is.
 
user142019
The parser needs to know because C++ is terrible.
 
And IBO has a fixed format (a list of integer indices), so there's no need for VAO-like state.
 
9:01 PM
@CatPlusPlus ah, do you 'genBuffer' a generic buffer object, then when you bind it, you bind to a certain role?
 
@rightfold :Would not the map declaration give the obvious?
 
@thecoshman Yes.
 
user142019
@CaptainGiraffe you can specialize std::map.
 
I see...
 
user142019
This is just a general thing.
 
9:01 PM
A buffer is just a binary blob.
 
user142019
The parser is not aware of template instantiations, but it does need to know whether things are type names or not.
 
Oh joy I get to implement iTunes purchase receipt validation.
 
@rightfold containsKey, knows the type of T at compile time. Why the need for specialization? Is there an obvious counterexample?
 
user142019
> PARSER
 
@CaptainGiraffe Basically C++ is a mess.
 
9:03 PM
@rightfold Is parsing done before template instantiation?
 
@CaptainGiraffe It's the fact that you can specialize it an obvious example
 
Welcome to dependent contexts.
 
@CaptainGiraffe Some basic checking for syntax errors, yes
 
user142019
template<typename T> struct foo { int x };
template<typename T> struct foo<T> { typedef int x };
template<typename T> void bar() {
    T::x *baz; // multiplication or vardecl?
};
 
:10122388: Bjarne should apologize to Chomsky.
 
user142019
9:04 PM
@CaptainGiraffe here.
 
C++ parsing is an epic tale of war, love and abandonment.
 
user142019
Remove the love part.
 
user142019
Torture can be part of love.
 
user142019
Exhibit A: love itself.
 
@rightfold Thanks. My understanding was at fault here. I was imagining parsing being postponed for templates.
 
9:06 PM
Phonies and Bronies
@Chemistpp Just caught your comment. Firstly, it's hardly my fault if C++ syntax is a bit much to take in. And after all, it appears you actually want to learn it? Anyways, I formatted the code a bit more friendly and removed the not-so-relevant use of std::move. Note that I already named the syntax if constructor initializer list (CLabel() : _name(name)) so google should help you along the way if that was new for you. — not-sehe 3 mins ago
^ Why do people claim they are learning things yet don't want to admit the pain of learning? (Or, at least give the wrong people a hard time about it)...
@CaptainGiraffe Well, it seems VC++ devs imagined the same when they stumbled together their interpretation of the specs
 
I ask how we can build our own platform ? what we need to start
 
@not-sehe Hey there, not polar bear.
@MuadhProgrammer Your syntax is weird.
 
@not-sehe I'm not one to blame them =)
 
I am confused by who's who and who's not.
 
You're easily confused, and you're the man with fake names and an animal name crossed with the name of programming language as screen name.
 
9:09 PM
@CatPlusPlus Why? The math checks out.
 
I'm not not sehe
 
Is allowed to make a simple question here?
 
@not-sehe missed at not there
 
Ell
@rightfold wow that was very poetic!
Did you think of that yourself?
 
user142019
Reply to message.
 
9:10 PM
@MarcosEusebi In general: nope.
 
@MarcosEusebi Is it about food or ponies?
 
user142019
I have no idea what the fuck you are referring to.
 
@MarcosEusebi No, only complex idiotic questions are allowed.
 
@rightfold All of it!
 
Is kinda a bug of VS2010
 
9:11 PM
That explains
 
In VS2003
 
It's not a bug, it's a feature.
 
Doesn't throw a error
For example
 
And I even guessed right, go me.
 
@EtiennedeMartel My native language is not English . We want to build platform like Openerp or Facebook platform what we need to start
 
9:12 PM
i have a Dynamic Defined List data type
 
@MarcosEusebi What did you poke it with?
 
@MarcosEusebi a VS2010 bug in VS2003?
 
I want to get the iterator fro ma Struct in the same class
 
@MarcosEusebi Did you miss the answers to your first question?
 
9:12 PM
We don't care, your code sucks, it's not a bug.
 
Give me a moment
 
@MarcosEusebi Yes. We'll give you a moment to post a proper question.
 
That platform-building question is pretty funny.
 
Any one have an idea how to build our own platform ? Please
 
@MuadhProgrammer A lot of things.
 
9:13 PM
@MarcosEusebi Post it on main SO. It will save you pain.
 
"We don't know what we want, but we're sure it's going to be a PLATFORM"
 
@MuadhProgrammer For start, a computer and a lot of patience
 
Too many trolls, must be Beer o'clock.
 
(Hint: you're asking wrong questions about wrong things.)
 
@CatPlusPlus How I loved Bubble-Bobble.
 
9:14 PM
class ListClass : public list<_T>{};
struct Somthing{
ListClass *RefList;
ListClass::iterator RefIterator;
};
 
@MartinJames Sadly, it's just fools. The regulars are having to do the trolling. o.O
 
That, for example
ListClass as data type
 
2 mins ago, by Cat Plus Plus
We don't care, your code sucks, it's not a bug.
 
Yes But what is the best tools
 
Ell
@rightfold I'm mobile. I mean the love is torture thing :L
 
9:15 PM
I know...
I haven't designd it
 
user142019
@Ell ah :P
 
user142019
Yes, I made that up.
 
@MuadhProgrammer The best tools are fools. It seems you're right on track
 
Ell
Wow <3
 
@MarcosEusebi Using inheritance as a typedef? Think again
 
9:16 PM
@not-sehe Seems like you picked up a lot of my snark while you were away.
 
@ScottW not sehe
 
Is a Dynamic Struct, can I use typedef?
 
(obvious answer)
 
@MarcosEusebi General parse error
 
@ScottW He is. Look at his tags. No one else is that good with Boost.Spirit.
 
9:17 PM
@ScottW Gah. Another easily-confused soul.
7 mins ago, by not-sehe
I'm not not sehe
 
@ScottW ahahaha :D
 
@ScottW I KNOW, RIGHT
 
Well
Thanks you
 
sehe, Netherlands
76.7k 5 72 130
 
@EtiennedeMartel s/good/insane about/
 
9:18 PM
just to clarify
 
@not-sehe It's strange that people don't understand when you say that, but would instantly get it if you write it like !!IsSehe.
 
I see the double negative thanks.
 
@ScottW Silly scotty.
 
@EtiennedeMartel My eyes! !!o.sehe() or, maybe just maybe, !!is_sehe(o)
 
milleniumbug, got the same problem
 
9:19 PM
@ScottW I have Java and Jon Skeet has Java :D
 
Missing ; before RefIterator
 
@Doorknob Incorrect, Java has Jon Skeet.
 
@Mysticial I ran ycruncher on the computer at work because it has a kickass cpu. Heres the log in case you want it pastebin.com/2XFyxxjB
 
Your paste has triggered our automatic SPAM detection filter.
 
@CaptainGiraffe No, obviously Jon Skeet made Java along with all the programming languages ever made, single-handedly
 
9:21 PM
@ScottW :) Well, the thing that is throwing you off, no doubt, is the fact that I spend less than 16 hours/day in the lounge?
 
@Doorknob Maybe not PERL, we have to give that one to Larry.
 
That's sorta-kinda the point of this exercise. So I better be going because the slope!
It's so slippery.
 
hey people... is it normal to feel "programming" is difficult? I feel less competent for not being able to find it enjoyable... Just throwing random question cuz me feels exhausted to work on this project.
 
plonk
 
@BlueBug Meh.
Depends
 
9:22 PM
@BlueBug That's normal. It's part of the deal. The "enjoying" is bluff. And the addiction to victory. But the battle is always tiring :) Much like any other creative work.
 
@BlueBug Likely the projects fault, not the programming part.
 
Programming is terrible and will destroy your soul.
 
In fairness, experience makes it palatable
 
good to hear lots of input,
feeling a bit better now man i appreciate it.
 
Ell
9:23 PM
The initial momentum is enjoyable, but when the real programming starts, it is laborious but not enjoyable, although satisfying for me
 
@not-sehe Ah, I deal with that the other way. I try not to push too much of an emphasis on the reward/victory itself.
 
needed that kick @milleniumbug @not-sehe @CaptainGiraffe
 
@BlueBug In this sentence, replace "programming" with "shoveling" and you'll get the same answers.
 
@BlueBug i think [P.SE] has lots of topics in this area (had?)
 
Ell
I don't really get bored, its just time spent programming
 
9:24 PM
@milleniumbug lol
 
@LucDanton I should learn that. I'm partly messed up because I forgot about being human doing my job. But I digress
 
@not-sehe So, when do you switch to your positive account?
I miss your fur.
 
Aw. Thanks
@EtiennedeMartel In due time, in due time. It's actually not much of a deal, anymore. But I don't dislike this - a symbolic reminder to myself.
 
@BlueBug We are all here because we love and easily recall the feelings of accomplishment, realization and enlightenment of learning from a creative project.
 
@CaptainGiraffe oh yeah, that feeling of accomplishment is good, indeed. :) school is less like stackoverflow wish college was more likestackoverflow.com
 
9:27 PM
Filled with bad questions that can be answered with 10 minutes of documentation reading/searching on Google?
 
Exactly. Because that is clearly miles superior than average college-level programming courses
 
Trying to enjoy the journey rather than the destination.
 
lol I meant that place filled with enthusiastic people.
 
@BlueBug You're obviously not talking about @CatPlusPlus.
 
than, u know, average college students.
 
9:29 PM
Any of you kind fellows mind pointing me in the direction of a room more associated with BASH scripting? Or someone who is proficent in it and wouldn't mind answering some questions?
 
@Looking2learned Kind? You obviously don't know us.
@milleniumbug Wow, you're learning fast, kid.
 
@EtiennedeMartel ehh true.
 
"If a man is caught raping a virgin he must pay her father fifty pieces of silver. Then he must marry her." (Deut. 22:28-29). #LookItUp
 
Be a professional alcoholic programmer.
 
9:30 PM
Everyone i've ever talked to on here has been awesome!
 
@EtiennedeMartel Trying to
 
@not-sehe Hey, do I know you? =p
 
@EtiennedeMartel One of us
 
@LucDanton The destination is death?
 
@Looking2learned You must have been talking to that April Fool's support bot :)
 
9:31 PM
@not-sehe Isn't the Book of Deuteronomy the most bullshitty part of the Bible?
 
@not-sehe I remember that :D
 
So is there a room here that is more akin to BASH/Linux scripting, or does such an animal not exist?
 
@Looking2learned again, Stack Overflow
 
@Doorknob You beat me to a close vote =p
 
Oh oh, I was looking for a more chat-roomy type experience, I've been on the boards there and found TONS of help.
 
9:32 PM
@EtiennedeMartel Nope. That'd be Canticles, Habakuk or, you know, Job, Revelations etc.
 
@Code-Guru closevote? on which question?
 
@Doorknob By less than a mouse click, I think
 
@Looking2learned chat.stackoverflow.com and filter rooms
 
@not-sehe I see.
 
Hey, does anyone know why this code throws a error in VS2010 and dosn't in VS2003? pastebin.com/sYNRV4d0
 
But Deutoromy is delicious. I read it when I was 4. I didn't have a clue. But I just loved the verbiage
 
@Code-Guru oh ok :P
 
@MarcosEusebi Google typename in c++ and get answers
 
@ScottW When the Omen is in the East. The beast will rise from the sea, one foot on the land, holding the book. That will be the day of my return.
 
@not-sehe When I hear someone quoting some hateful crap from the Bible, 99% of the time it's from Deuteronomy.
Maybe it's just cognitive bias.
 
9:35 PM
@milleniumbug strange though - I don't think it should need typename.
 
But I really feel like the guy who wrote that was a bitter jackass.
 
@CatPlusPlus Yes.
 
@TonyTheLion Only if your job sucks because you're too lazy to send your CV to someone who can give you a better one.
 
@LightnessRacesinOrbit Oh wait. I may have spoken too soon
 
@EtiennedeMartel There's some truth in there. But Kings has some stuff there too. Esther. And many others. Revelations, of course. Man the whole gamut :/
 
9:36 PM
@milleniumbug Can you explain me how to use it in that code?
 
ohai etienne and tony and lightness, you all just arrived at once :O
 
@EtiennedeMartel That's the guy!
 
@EtiennedeMartel The guys that included deuteronomy must have thought the lovey dovey stuff needed balance.
 
@EtiennedeMartel The question is really whether I have any hope that any other job in this industry will actually be any better than what I have now?
 
Ok, off to bed. Cheers chaps!
 
9:37 PM
@TonyTheLion To give you an idea, I have no trouble getting up in the morning.
I guess that says a lot.
 
Getting up in the morning is the least of my problems
 
@TonyTheLion As Etienne says, I'm really looking forward to most days.
 
@LightnessRacesinOrbit My g++ 4.8.1 disagrees though error: need 'typename' before blahblahblah
 
If you hate your job you should try a new one.
 
I don't always like it, but in the grand scheme of things, its not that big of an issue.
 
9:38 PM
@MarcosEusebi Where's your C++ book?
 
gah, coming up with names for games is hard
 
On the library >.>
 
@Rapptz If your job has sucked out every last bit of your soul, you haven't the energy to try a new one. Witness me.
 
@MarcosEusebi Come next rain, you won't have any book at all. Be careful where you put your stuff.
 
@TonyTheLion What you need is violence.
 
9:39 PM
@MarcosEusebi My advice to you - get a decent and recent compiler, and enable ALL warnings.
 
@EtiennedeMartel violence? Hmmm.
 
wtf you gonna do with a dead tree, burn it?
 
@TonyTheLion I'm not serious.
 
@DeadMG Burn it deader than dead
 
@milleniumbug the real problem is than I already paid for VS2010 licence
 
9:40 PM
Seriously though, you sound like you have a lot of pent up frustration.
 
@MarcosEusebi At least enable all warnings
 
@TonyTheLion @DeadMG and @CatPlusPlus should form a paintball team.
 
Ok, give me a moment
 
I'd shoot Cat in the back for laughs
8
 
@EtiennedeMartel Plenty of frustration here.
@DeadMG :)
 
9:41 PM
=)
 
The program throws lot's of warning about unsafe function but a error on that class...
Missing data type, guessing int
and
 
Go read a programming book, you sound like you could use it
 
Missing ; before RefIterator
 
@MarcosEusebi Now is your time to shine. Go back and debug the crap out of that program.
 
user142019
Well, add ; before RefIterator.
 
user142019
9:43 PM
Problem solved! Next!
 
@MarcosEusebi Hint: this means error is in this line
 
> RefCell* SingletoonHolder;
 
Singletoon
 
I was hoping Jessica Rabbit as Singletoon.
 
9:44 PM
I didn't write that code, I'm trying to fix it for a friend
Is a gameserver emulator
 
> class MRefCell : public list<Data0>{};
NO
Please go away, before I get sick
 
@TonyTheLion The typedef lesson is two weeks away.
 
user142019
It's terrible code. Get out.
 
this ^
 
user142019
 
9:46 PM
I know, but is the only source
 
@Cat where is your frog?
 
Thanks you, finally someone said something useful
 
user142019
 
The frog is not your slave
 
@MarcosEusebi We're not known to say useful things.
 
9:47 PM
@rightfold thanks you
 
user142019
Nos problem.
 
@CatPlusPlus Oh I'm sorry
 
Also I'm playing a silly Flash game.
 
user142019
@TonyTheLion FYI, it's on his profile page.
 
Almost is a great C++ chat
 
9:47 PM
@ScottW Oh baby, tomorrow if I could <3
I thought we should plan this though?
yes
 
@ScottW r u guys males by any chance? cuz so I really want to be invited to gay wedding once in my life. Pls invite me? will u?
 
let's go
 
Now kiss. Do you want the Chopin wedding march? I can do that for a simple +500.
 
@BlueBug ahahah
 
Learn to type.
 
9:49 PM
damn i don't have anything fabulous to wear for wedding.
 
@thecoshman Turns out your CV is in the pipeline. It's just there's a lot of people to process because of how fast we're hiring.
 
room topic changed to Lounge<C++>: ScottW & Tony Wedding. [c++] [c++11] [c++-faq] [no-helpdesk]
2
 
@CatPlusPlus "silly flash game" seems redundant
 
9:51 PM
i learned c++ through various web+youtube.
 
because terrible
 
There are plenty of reasons videos are poor learning material.
 
@EtiennedeMartel ooh, exciting stuff. Did you ask, or your man say to you?
 
user142019
#!/bin/sh
while true
do
    lessc css/style.less css/style.css
    sleep 2
done
 
user142019
This saved my life.
 
9:51 PM
@thecoshman I asked.
 
Please find something else to do with your life. — Tony The Lion 39 secs ago
 
@rightfold Doesn't less have filesystem watcher?
 
Ell
Ferrck long grass covered my whole body rash
 
@EtiennedeMartel cool stuff :D
 
Ell
Well torso/leg area
 
9:52 PM
@ScottW hahaha
 
fingers crossed, I get to buy you a pint in person :D
 
@thecoshman But, hopefully, you might get an email sometime next week.
 
@EtiennedeMartel oooh, exciting :D
 
I learned some java on thenewboston(Sorry to go slightly off topic) and after watching 100 videos, and than turning to the oracle website and actually taking the time to read the real documentation, I realized that I had learned nothing about what object oriented programming was. I didn't even understand what an object was. Nor did I understand half of the other things I was doing.
 
@ScottW Once we're married, you'll feel better <3
 
9:53 PM
grumble grumble seg fault grumble grumble
 
@ScottW well noobs
 
Java is literally trivial.
 
@JesseTylerThompsonUmoette Good for you!
 
What do you mean @Cat Plus?
 
Don't worry, most Java programmers have no idea what OOP is about.
 
9:54 PM
@JesseTylerThompsonUmoette That is one of the realizations you will find important in the future.
 
inb4 but java is pure oop
 
Most Java "programmers" have no idea about programming
 
@thecoshman Java is pure shite.
 
@TonyTheLion We can blame economics and the boom from yesteryear.
 
We can blame this industry and all its terribleness
 
9:55 PM
I still don't understand exactly what happens on the hardware level when objects are created, But I do understand at least what OOP is from the programming standpoint. Question: What happens on the hardware level when objects are created?
 
@FredOverflow Java is impure /cc @rightfold
 
@JesseTylerThompsonUmoette Memory is allocated, stuff is put inside that memory in some order. Basically that's it
 
user142019
XTC is impure.
 
user142019
It has side-effects.
 
Line 20 gives a nice summary of your question :) — FredOverflow 14 secs ago
 
9:57 PM
Hi, What is the best way to learn C++ (best books )
just send me a link please
 
user142019
2832
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are released every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book...

 
@JesseTylerThompsonUmoette What happens on hardware level is irrelevant.
 
@MuadhProgrammer Programming: Principles and Practice using C++
 
user142019
Learn Haskell instead of C++.
 
@TonyTheLion I OBJECT!
 
user142019
9:58 PM
For great good.
 
@ThePhD objections overruled
he's mine now. :)
 
:[
]:
Sadness. Sadness everywhere.
 
@ScottW lol
 
@Cat Plus I have an extremely curious mind. I like to know what happens at the hardware level. Im 17 and I would probably poop in my pants if someone offered to teach me assembly lol
 
user142019
> C++
 
9:59 PM
@rightfold Thanks
 

« first day (978 days earlier)      last day (3956 days later) »