« first day (623 days earlier)      last day (4551 days later) » 

09:22
well. my room is mostly done
@TonyTheLion Hi
@TonyTheLion The sun in about a couple of hours over here.
09:31
lol, where are you?
UTC-08:00. :-)
(The pacific time zone)
oh wow
it's like 2 am where you are
2:32 AM to be precise.
My brain has not yet adjusted to summer times.
09:32
my stomach hurts
for the change
@DeadMG Then stop punching it.
you had too many cookies again?
yeah
@TonyTheLion Again?
09:33
then you can only blame yourself for your stomach ache
@Insilico many times, he's done this
So DeadMG is actually a cookie monster?
I thought he was a dog.
now, what's the easy way again to do string tokenization in C++?
@TonyTheLion Boost doesn't have a string tokenization thingy for you?
09:35
Boost
Or are you looking for a standard solution?
I thought there was one with streams
using operator>>
@TonyTheLion If you're tokenizing based on spaces, you probably can use std::stringstream.
yea spaces
I don't think that's a particularly efficient way to do it compared to a dedicated tokenizer though
09:39
hmmm
anyways, I need to place my strings into a struct after
so I need to be a bit smarter about it
Tokenizers are rather simple things you can write up yourself, if you really need it.
It's not like you're parsing XML or anything like that.
tokenizing is the simples
meh XML
you're not anywhere near Oxford, are you @DeadMG ?
uh... it's like, an hour or two away
not super-near but not super-far either
why?
cause I'm going there for a job interview on wed
09:43
gonna steal ur interview! :P
and thought maybe there was someone I could meet after
but no one I know is near Oxford, meh
what time
my interview is at 1.30
so i'll be done an hour or so later I guess
well, the train to Oxford would be like, three hours
that's a long time
09:46
yeah
-1
Q: Libraries for multi threading

BorgelWhen multithreading a game what do i need to think about when picking the Libraries when developing for pc? I have been looking at process.h and was wondering if there are any big downsides (like speed or stability) whit this library and if i should look at something else?

and when you consider return as well, that's a long way to go
Why does gamedev.se suck so much?
because, gamedev
09:47
@Pubby Protip: you probably don't need multithreading.
'nuff said
@Insilico But I need this game to be webscale!
Because (1) multithreading is hard as shit to write correctly
(2) it might actually be slower
English is pretty hard to write correctly too ;)
(3) you're guaranteed to write it wrong.
09:47
@Pubby Oops, I just answered that question, lols
@Pubby English doesn't exactly cause deadlocks. :-P
No wait, terrible analogy.
@Pubby Does it need to be enterprisy as well?
multithreading requires a good understanding of the subject before doing anything with it
that's my experience
@DeadMG what about C++11 threading stuff?
std::thread
@Pubby Also junk.
well, some like std::async isn't criminally bad.
but it's no TBB
09:49
4 hours ago, by RadheMohan
Yeh That's What I like, The Concept is to Q/A..why people keep bulshitting around in chat rather helping People on main site...
Looooool.
@DeadMG What's the difference? I don't have any experience with either.
@Pubby TBB is shit like
I keep missing the fun stuff.
concurrent_unordered_map<K, V> and parallel_for_each
Stupid sleep.
09:49
@Pubby TBB actually tries to make it easier to have parallelism without requiring a Ph.D. in concurrency.
so it's like, actual C++, but with concurrency added in
std::thread and friends, in comparison, is like trying to write all your concurrent code in freaking assembler
std::thread stuff makes threading easier, but has no direct support for concurrency.
@CatPlusPlus you're here now
@Insilico If you want concurrency isn't Boost.Coroutine the way to go? (although I don't know anything about that either :S)
@Pubby Coroutines are non-concurrent.
plus, there is currently no such lib in Boost
@TonyTheLion Damn. I was just about to regain some hope for humanity.
Maybe I'm thinking of a rejected proposal then. This is what I saw: crystalclearsoftware.com/soc/coroutine
@DeadMG What do you mean?
@Pubby Coroutines are not used to solve concurrent problems.
@Pubby Co-routines exist on only a single thread.
Coroutines are just generalizations of subroutines.
09:54
@Insilico oh, sorry to destroy your hopes
they do not represent hardware threads.
@TonyTheLion That's okay. I'll get it back some other way.
Concurrency != parallelism != multithreading
@TonyTheLion Was there a graph that showed all the different smartphone lawsuits being filed somewhere on Teh Interwebs?
@Insilico Yes, but I've no idea where to find it
09:56
I'm disappointed that these companies are willing to spend money on this litigious crap than making their phones less crappier. :-(
@Insilico never saw it
Looks like people are going to get their Samsung Galaxies somewhere else.
Now I can't tell if Oracle or Apple is more evil.
Morning fellas
10:11
0
Q: Any place to get Google Webfonts in all formats

amyI am looking for a solution to get all the Google webfonts as web formats. Meaning not the ttf files we can get from the Google code repo. Since the Google web "API" is just serving css with crypted filenames dependeng on the users browser it should not be that hard to send http requests to goo...

Rant. DVCV.
@TonyTheLion Donevote, Close-vote.
Downvote, closevote.
Here's a tip: when writing a question, it shouldn't take me more than 20 seconds to figure out what you want.
> "Meaning not the ttf files we can get from the Google code repo."
10:15
2
Q: SFINAE member function existence test issue

András KovácsI have this member function test: template <typename T> struct has_member { template <typename U> static true_type f(decltype(declval<U>().member()) *); template <typename> static false_type f(...); static const bool value = decltype(f<T>(0))::value; ...

the template wankers of this room will know this one
Couldn't you convert ttf files to webfonts?
You can.
That question is bad for so many reasons.
I think you can even use TTF directly in @font-face and whatnot.
So... why doesn't the OP try... converting ttf files to webfonts?
Because :effort:.
Or something.
I mean ignoring the whole Google rant (and whether or not they're valid points), you have the ttf files. That means you can use them. :-/
10:17
No, I don't get it, doing it the way OP wants is actually more effort.
vOv
I mean, the time it took to write the "question" must have been more than searching for "ttf to webfont converter" or something.
fuck, man
why oh why did I purchase those cookies
0
Q: why just putchar the 1st character of character string?

user1492839#include<stdio.h>main(){ int c; while((c=getchar())!=EOF){ if(c==' '||c=='\t'||c=='\n'){ putchar('\n'); } else putchar(c);}} why just putchar the 1st character of character string?

What.
Another protip: Your questions should not invoke more questions.
Why is it that people don't bother to format their code?
Because they're stupid.
0
Q: What's the name for snake_case with dashes?

lmsThis is upper CamelCase: SomeSymbol This is lower camelCase: someSymbol This is snake_case: some_symbol So my questions is whether there is a widely accepted name for this: some-symbol? It's commonly used in url's.

10:22
It's like they never had to read other people's code before.
They probably never read their own code, either.
-1
Q: C program with timer

user1490503Write a C program which counts 1, 2, 3... and so on, every second. On pressing Ctrl+C, the timer should pause and then pressing Ctrl+Z should resume the timer

@CatPlusPlus Everytime I read my own code the next day I think "I wrote this pile of shit?"
Stupid question Saturday!
Holy crap at least write your questions in the form of a question.
0
Q: How to ensure C++ object is not just temporary?

kotlinskiIt happened to me a bunch of times that class that is designed as scoped guard object was accidentally instantiated as temporary object only. Like this: { ScopedLock("foo"); // Should be ScopedLock lock("foo") ... ... } Anyone has idea for a trick that will disallow instantiation of ...

10:24
6
Q: If this is camelCase what-is-this?

Lea HayesThe naming convention for a term like doSomething is camel case. What would the naming convention of do-something be called?

There's a duplicate in the damn Related list.
lisp-case is better than delimited-separated-case
-3
Q: Why C++ remains so popular albeit the critique?

DragnoC++ has accepted a lot of critique in papers like "Dark side of C++" , "Why C++ is not my favorite language" and even Linus Torvalds has spoken against C++. However, C++ remains a very popular language(as TIOBE index shows). Why this happens?

What is it with people and TIOBE.
Why was that deleted?
CRUSADE.
Why not just instantiate them outside of the small scope of brackets. Or just new one dynamically in the runtime? — WiSaGaN 1 min ago
Lol.
10:28
@CatPlusPlus I fail to see how that solves anything.
It doesn't.
Okay then I won't have to see my optometrist for the 10 billionth time. :-)
> "C++ has accepted a lot of critique"
A programming language can accept things?
Lol I just noticed .
And that SO decided to put it in the title.
I mean yes, C++ sucks, but at least it can be made so it doesn't suck.
Unlike some other languages cough PHP cough.
Meh, some of the most annoying things cannot be fixed.
Like compilation model.
10:31
#define SCOPED_LOCK ScopedLock foo##__counter__
I mean I can explain why C++ sucks, because I've actually tried using it. :-P
I haven't used much PHP, but I can still tell you why it sucks
cause PHP
'nuff said
@Abhi looks like @chris
@TonyTheLion Is that your catchphrase now?
is that a rethorical question?
10:37
@TonyTheLion Do you think it's a rhetorical question?
@TonyTheLion Well then if you say so. :-P
Holy crap how is my room still really hot at 3:40 AM in the morning?
sbi
sbi
11:18
This is bovine excrements. The whole web is full of high-rep users whining about anonymous downvoters on Stackoverflow. As Alf noted, at the beginning, when you downvote, you are asked to explain your downvote. And that's what I do: If I downvote, I either upvote an existing comment explaining the problem, or I add my own comment saying "-1, because...". I used to not to do that, and I got involved in arguments more often than I am now, because now, if it comes to name-calling, I either ignore or flag the comments for deletion. Being sneaky buys you nothing. — sbi 4 mins ago
i almost never comment if i downvote
sbi
sbi
@CatPlusPlus I would not explain a downvote to The User That Must Not Be Named and a few other carefully picked idiots, but otherwise I add a "-1, because...", and I certainly will keep doing that. If some fuckwit goes through the roof because he got downed, he'll jump on your comment no matter whether you openly admit you downvoted or not. What gets you into an argument is you responding. If you don't reply to such idiots, it will never become an argument.
It might become something to be flagged and wiped off the face of SO by a mod, though.
@ScottW Everyone?! Not that's quite a request. You want us to recite the personal state of 6.8 billion people?
Wimp!
Ell
Ell
annoyed because I can't use git properly so I accidentaly commited a load of files ending in ~ and don't know how to roll-back so I just rm'ed them and commited again
@sbi to some nice people I will always explain what is wrong but I won't admit I was downvoting
@CatPlusPlus Lisp uses this-case, and because Google treats a - as a space, almost every SEO friendly URL uses it too. — lms 51 mins ago
Maybe we should create our own chat after all.
I still have two, ha.
sbi
sbi
11:31
Lol.
-1 for no freehand circles.
sbi
sbi
I haven't seen flags since the last time he's been here.
You seem grumpier than usual.
I guess his GF left him
sbi
sbi
@CatPlusPlus I am just sick of such a high-rep user playing the part of a 5yo trouble maker.
Ell
Ell
11:32
not cool man
It's 33 degrees here. That's very not cool.
You're forcing me to go to chat's main page to counterflag, people. Don't make me do that.
@sbi you seem to be having a bizarr sense of reality. do you notice that these "spurious" flaggings are trying to keep the room clean of such words as "idiot", "fuckwit'", etc?
sbi
sbi
@CatPlusPlus Or what? Really, that's the problem with these idiot flaggers. They get away, and we can't do anything about it but whine at meta.
Or I'll be a sad cat. :(
sbi
sbi
@CatPlusPlus That will buy you nothing.
Ell
Ell
11:37
Right, now to switch over to windows for development!
I have to :/ vm is not playing nice with opengl and I can't install linux native like :(
sbi
sbi
Well, now I got to see all of his messages, too. How nice.
Ell
Ell
I'm using mingw too :D
should be a fun time
sbi
sbi
@JohannesSchaublitb If you want a clean room, then go elsewhere. This isn't a clean room, this is the lounge, and we honor real live here. Stop waging your silly flagwars and go play elsewhere.
13
Idiot.
Ell
Ell
"If you plan to use your tools from the Windows command prompt, you're in the right place. If you plan to build from the Cygwin bash shell, you're actually running on a POSIX platform and should follow the instructions for getting started on Unix variants. Other command shells, such as MinGW's MSYS, are not supported—they may or may not work." - does that mean MinGW compiler is not supported, or just shell?
shell
Ell
Ell
11:41
right kk
@sbi how poetic. you are not the "boss" of any room to say what room is allowed to insult random people and what not. SO should be free of any such hate. I flagged some of your most insulting messages for moderator attention.
Great, sbi and litb are fighting again :(
@sbi now who is playing with flags!?
sbi
sbi
Oh damn, I didn't even want to see that.
And here we go again. Internet drama go.
11:43
oh I came at the right time
sbi
sbi
@FredOverflow Well, you know, I haven him plonked, but I saw him here while silly flags turned up.
to watch the drama :P
sbi
sbi
@TonyTheLion Move on, no sex here.
I can always insert some sex into this conversation
@TonyTheLion please do
11:44
He-he, insert.
@TonyTheLion sbi seems to be in need now that he lost is GF (or was it a BF?)
johannes, just go somewhere else
2
it's obvious you're achieving nothing productive here
> 1. Torvalds doesn't know C++. 2. TIOBE index is worthless. 3. C++ sucks, but it has a niche where it's hard to replace.
5
@CatPlusPlus haha so true :)
@FredOverflow Damn, <3
@DeadMG no because I'm not seeing how I should go somewere else just because one whatever-feeling guy wants to inslut other people and I flag him rightfully for that
11:45
If you post a link to the comment it oneboxes nicely, y'know.
The question was deleted, don't think that would work.
@JohannesSchaublitb Except everybody in this room has the same relaxed attitude as to it's contents.
3
@FredOverflow Linky? Most of us are >10k reppers
Let's try. For science.
11:46
@DeadMG its its its its its
told ya :(
the links still work
they just won't onebox
@DeadMG But I want to see the truth being told directly in the chat, not indirectly :)
11:47
@FredOverflow Certainly fair enough.
@DeadMG Any of the regulars <10k?
Several.
sbi
sbi
@DeadMG They only work for 10k+ users, though.
@FredOverflow Actually, I think there's a significant minority.
hard for me to name though because, well, it's not something that comes up that often
11:49
there used to be less, but now we have more regulars, and so it's more
@StackedCrooked is a regular, but has not got 10K afaik
sbi
sbi
Even now there's like quite a few users I'd call regulars who are well below 10k. (Ell, Scott, nil, Stacked, bamboon, Luc, kbok)
the fan of my computer annoys me
@sbi They should probably spend less time on the chat and more time on SO until they reach 10k :)
makes too much noise
@TonyTheLion What does it say? "Your computer rules"?
11:51
it whirs and is annoying
and I have to open up my computer cause it makes funny sounds every so often
Also, computers usually have at least 5 fans: PSU, CPU, GPU, case in, case out.
and I'm really not looking forward to doing that
@FredOverflow laptops too?
sbi
sbi
@FredOverflow Or maybe they ar elike me, and enjoy chatting, but have lost (or never had) interest in the rep game.
just not that many good questions
shitty noobs everywhere :P
sbi
sbi
See, another one (Scarlet) just came in, that make 8 regulars <10k.
Ell
Ell
11:53
I barely used so real :L
@TonyTheLion Oh, I didn't know you were talking about laptops.
@TonyTheLion I'm a Stackoverflow noob (but not a noob developer), and even I am noticing this trend
@YuriAlbuquerque wait a bit longer, and you'll notice
Ell
Ell
"compilation terminated" * > 9000 :'(
11:56
dog bunkbed :)
Ell
Ell
n'awww
awwwww
Ell
Ell
can I used libs built by visual-c++ with gcc?
I think you can
Ell
Ell
god windows is a pain -.-
sbi
sbi
12:00
0
Q: Why am I asked to vote on a flag to my own message, when I am then prevented from voting on it?

sbiThe C++ Lounge currently has another flag fest. (Recently they are usually incited by the same user, who comes to the lounge for his pranks, and then complains about the tone there.) On this occasion I have been noticed how I am asked to decide on the validity of flags against messages of mine, ...

@Ell Static ones? No.
One: wrong format. Two: wrong ABI.
Ell
Ell
I can't manage to build boost :/ or maybe I have built it and just don't know where the libraries went
bjam --prefix=where-to-install <other options> install
Ell
Ell
boost docs say b2, is there a difference?
I never used boost. What are the advantages?
Ell
Ell
12:04
@YuriAlbuquerque well tested
b2 is bjam.
They changed the bootstrapped executable name some time ago.
Ell
Ell
right kk
its now copying a load of files
@YuriAlbuquerque Not reinventing the wheel?
Ell
Ell
ooh I think its building something
12:20
and then it went quiet
Wait how is a screenshot of a circled litb's avatar offensive?
@Insilico need to read what he wrote next
@JohannesSchaublitb So why not flag the message that came after that?
saw a job advert for Skype
That's confusing as hell.
12:26
"Metro development experience a benefit"
nice to know they're being forwards-compatible with their job adverts
@DeadMG Perhaps they were talking about the Windows phones?
@Insilico i thought by flagging the image people will also see the following message. i guess that didnt work.
@JohannesSchaublitb Now, you know the flagging system here in chat is broken.
indeed
next time I just only ask for moderator attention like I did with the message following the pic
Usually the flags come from one of the Java/Android/PHP forums.
This is a new phenomenon.
12:28
@Insilico he also resized my avatar to look smaller than others. dunno whether he intended any symbolic expression by that
lol
Goodness it's like an explosion went off when I turn my back on Lounge<C++>.
@Insilico or he ignores me and had to put an articifial avatar of me there to be able to circle it
@JohannesSchaublitb Artificial? Wut?
i guess he took it from one of my messages. it has the same size as the avatar next to a one-line message
Ignored people's avatars are minimised on the list.
12:30
Okay I need to find some UTF-8 text to test which two versions of my validating UTF-8 to Code Point converter is faster.
One uses straight up conditionals and the other use a lookup table and unrolled loops and conditionals that's favorable to branch prediction
@CatPlusPlus ah now that makes sense
I want to say the latter is faster but I need actual numbers.
αóεπαóπóóαłśαóπóś
There you go.
@CatPlusPlus Hmm... I was hoping for more text. With lots of different types of characters so I can exercise all paths. But I'll add that
Preferably text written by humans for use in the real world.
Go to the wiki.
12:34
@CatPlusPlus Why didn't I think of that.
12:52
guys, I'm glad we stopped discussing about these silly flags now.
I found some jobs on SO careers I might be interested in applying for
a cover letter? what even goes in one of those things?
Some useless boilerplate stuff.

« first day (623 days earlier)      last day (4551 days later) »