« first day (890 days earlier)      last day (4286 days later) » 

11:01
"Hey, remember that thing you bought from us last month? You should buy it again!"
Maybe they think I buy CDs as food.
Xeo
Xeo
0
Q: Tags don't want to play with 🍌s

Xeo[tag:🍌] As can readily be seen, tags seem to discriminate against bananas and don't want to play with them. I thought SO was a place of no discimination against other origins, but it seems the ASCII-Landers are considered first-class citizens, while the Unicodians are seated below them. The sam...

Xeo
Xeo
11:08
What?
getting ready for April 1st? — Abyx 14 secs ago
:<
357
Stack Overflow (in Portuguese)

Proposed Q&A site for professional and enthusiast programmers in Portuguese. Proposta de site de perguntas e respostas em português para programadores profissionais e entusiastas.

Currently in commitment.

Wait wat
@Xeo amount of hilariousness madness was just too high %)
@R.MartinhoFernandes ¬_¬ can we get an Indian one first please?
@R.MartinhoFernandes yeah, there is tons of StackOverflow in "Random language here" proposals.
11:15
@thecoshman lol
it is my first time to know that "Howdy" = welcome
mawnin
@Shog9 Sooo. It's about the people who don't give a shit, as preferred over those who do? lol :) I'm sure I'm cutting a corner here. Sadly, no time to chat now. Can I ping you later or will you be posting an answer at meta to clarify?
@Mysticial Well, that worries me. Can't have the quitters sap the juice out of a healthy site, right?
11:20
lol, found this old Welbog post.
15
Q: Comments, questions and answers don't trim Unicode U200B when counting characters

Sandwelbog​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

I could have put the zero-width character in the title, too, but then no one would be able to click it. As a test, I did use it in the title of a post on a forum I frequent. It's completely unclickable and I am completely happy with that. — Sandwelbog Jul 28 '09 at 19:46
Xeo
Xeo
I have an account I use with a blank username that posts blank questions, blank answers, and blank comments. My posts are everywhere - and nowhere. — user27414 Mar 25 '10 at 17:36
Now to get Unicode into Boost.Spirit.
Mawning
9
A: Where is the thread going when a future leaves scope?

Tony The LionThe future is the result of the async operation, it's is not a thread by itself. The async function spawns a new thread to do the computation, and when that is finished, the result is written to a future object. Depending on the implemented policy, you will either have to call .get() or .wait(...

one more upvote for a badge :)
11:28
Where is that Banana Sandwich dude
not here yet
I want to thank him for taking me on the right path in handling my game logic.
http://stackoverflow.com/questions/15597330/c-with-lua-object-design/15597626#15597626
hao2plink
@TonyTheLion Quote and +1. :D
11:30
:)
Cheers dawg
@Magtheridon96 plink
Oh, that's what you meant. I just realized this Chat keeps track of everything like that.
@rubenvb Maybe after C++14.
@BartekBanachewicz Yo, Mr. Banana, I'd like to thank you for suggesting Lua as the scripting language I should use for game logic. Really sped up my workflow. Peace Sandwich
@Magtheridon96 no shit, sherlock
11:34
He'll have an orgasm when he reads that.
Oh, already had.
Woot.
When did you enter?
user1357851
You people made it looked like this Lounge is about C++, C++11, C++-fag, not a helpdesk but with the ?? you are not sure?
nested types
this is what I must implement next.
type::nested_type?
having std::vector ain't much use if you can't specify std::vector<T>::iterator
11:35
@DeadMG I get from various google results that it actually can handle it, either by using UTF-32 (and lifting Unicode out of the parsing) or maybe UTF-8 by some magic #define incantations.
also, why does my std::function typedef give me a "multiply symbols defined" linker error?
I haven't another typedef with std::function afaik
typedef shouldn't do that
Fuck. Running b2 --toolset=gcc in cmd gives me too much error output to copy paste. Running b2 --toolset=gcc > log.txt 2>&1 show no error output whatsoever.
What you parsing with Unicode?
Also, it appears no L3 regex implementation exists.
PCRE is the bestest available.
@R.MartinhoFernandes I'd like to... try to... implement POSIX sh with Boost.Spirit. And to prevent problems faced later, I think about unicode up front.
11:38
Erm, can't you just use UTF-8 and let stuff through transparently?
maybe.
AFAIK all the special characters are in ASCII anyway.
True.
Good point.
I'll convert the commandline from Windows-UTF-16 to UTF-8 like I always did.
@rubenvb Yeah, you preserve all the important stuff.
Unless someone has some wild filepaths.
@DogPlusPlus that I'd like to handle obviously.
but a simple transparent conversion should work.
11:43
@TonyTheLion I upvoted yours and added an answer.
I don't think any filesystem has Unicode semantics by default anyway.
ZFS has it as options that you can enable, but I don't know of any other.
They all just treat names as opaque IDs.
Ell
Ell
Wow that sucks :L
it also works
Oh, right, and NTFS in Windows mode has that case-insensitive thing going on.
is there NTFS in non-windows mode?
11:46
@Ell Why?
@R.MartinhoFernandes Are those names exactly the same, or do those chars just seem to be exactly the same?
user784668
@BartekBanachewicz NTFS-3g
@Fanael oh, right.
@Magtheridon96 Depends on who you ask.
Ell
Ell
@R.MartinhoFernandes Because there is no way to tell those files apart
besides content
user784668
11:46
@BartekBanachewicz NTFS on Windows in POSIX subsystem
@TonyTheLion lol, I just noticed that the quesiton is almost 1.5 years old.
@BartekBanachewicz They are called Windows and POSIX "namespaces", apparently.
@BartekBanachewicz Prolly Linux stuff.
@Magtheridon96 NTFS says that they are not the same name. Unicode says they are.
user784668
@BartekBanachewicz …and Cygwin too
11:48
@R.MartinhoFernandes wow.
@bamboon yep it's an old question
How can CMake not find the Boost spirit library when there is no library to be built?
user784668
@R.MartinhoFernandes what are the code units?
@TonyTheLion you tricked me. ;)
does MSVC2012 have using x = foo<bar>; ?
11:48
Oct 26 '12 at 13:33, by R. Martinho Fernandes
@Xeo It's U+00F4 vs <U+006F U+0302>.
Xeo
Xeo
Ooh, nice, an Index movie, with original story it seems. /cc @Mysticial
@bamboon whatever, your answer does no harm
Xeo
Xeo
@TonyTheLion No
FUCK MSVC
Xeo
Xeo
Using-aliases are not even in Nov' CTP :<
11:49
eh
they are really frecking behind
user784668
Oh, some lambda fixes landed in 4.8 release branch.
like seriously, for a big company like Microsoft, its terribad
Ever since they became Metrosexual, things haven't been the same.
@DogPlusPlus When have they ever been better? MSVC 6.0? Ha!
user784668
11:52
@rubenvb MSVC 6 was a great compiler, actually.
@Fanael It's legendary for its lack of standards-enforcing power and the blurb of horrendous code that resulted in.
user784668
@rubenvb Compared with its contemporaries, obviously.
Also, custom extensions. Blurgh.
@DogPlusPlus heh, it's not like GCC doesn't have extensions.
@Geries Hai
11:54
But GCC supports C++11 like a boss, last version just two out. And one of them is irrelevant. :D
Did the puppy @DeadMG and the @Cat produce offspring named @DogPlusPlus ?
user784668
@DogPlusPlus ?
@TonyTheLion produced @DogPlusPlus
@rubenvb No, that's Domagoj.
@DogPlusPlus GCC 4.8.0 fails to compile Boost on Windows. Or GCC couldn't handle the optimisations I threw at it when I built it.
user784668
11:55
@rubenvb huh? Worked for me last time I bothered to compile boost.
@Fanael on Windows?
@TonyTheLion of course not, but it looks embarrassing now.
user784668
@rubenvb You see, on Linux there's the nice thing called "repos" that allows you to not compile stuff. Most of the time.
@bamboon don't worry about it
@Fanael Are we stating random facts now?
11:57
I like trains.
user784668
@rubenvb No, it was an answer. Yes, obviously on Windows.
Then GCC couldn't handle the optimizations I threw at it when I built it.
@DogPlusPlus Trains don't like you.
user784668
@rubenvb so you're like Gentoo user, only on Windows?
Hey, Zoidberg is not the youngest bird here anymore.
11:58
@Fanael FYI, I build and share MinGW-w64 toolchains.
user784668
@rubenvb I know? I'm making fun at you because you use weird CFLAGS?
@DogPlusPlus I'm a camel
@Fanael What's so weird about CXXFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer'?
> "its -O3 the letter, not -03 the number"
huh, the Graphite ones are missing.
user784668
@rubenvb -momit-leaf-frame-pointer disables -fomit-frame-pointer for all functions but leafs
huh
how did I ever implement recursion in this compiler?
user784668
@rubenvb also -fomit-frame-pointer is the default on x86 since some time
user1357851
@Magtheridon96 I am not sure why anyone would like trains to love them - I for one do not want a train to be on top of me
12:02
@DeadMG you're the only to answer that
I seem to recall posting an infinitely recursive program, but I don't see how it could possibly function.
it will overflow the stack
@Telkitty You have not LIVED until you've tried that!
@Fanael wrong, that's only on Linux/Darwin: Starting with GCC version 4.6, the default setting (when not optimizing for size) for 32-bit GNU/Linux x86 and 32-bit Darwin x86 targets has been changed to -fomit-frame-pointer. The default can be reverted to -fno-omit-frame-pointer by configuring GCC with the --enable-frame-pointer configure option.
user784668
@rubenvb also what makes you think the compiler needs SSE3 enabled? Seriously, I just compile with -march=i686.
12:03
And on 32-bit.
Wow, that was ironic
user784668
@rubenvb Wrong, try comparing assembly.
MC Doesn't Know What Irony Is.
@Fanael well then it doesn't matter much does it?
user784668
-2
Q: How many functions does winAPI have on estimate?

user1255237I know for a fact Windows NT had around 400 API functions since a book I've read mentioned it. POSIX currently has around 3500 documented functions. How many does Windows 7/8 have if anyone knows on average? I've heard rumors of 15,000+. I'm just curious.

user784668
12:05
what?
And I can't see anything in the docs about the two being counterproductive. One does mention the other.
"I've heard rumors"
Count them mathafucka
Is std::function<void()>()() an error or a no-op?
NT only had 400?
@R.MartinhoFernandes Error- std::bad_function_call.
or maybe it's just std::bad_call.
12:08
> I know for a fact Windows NT had around 400 API functions since a book I've read mentioned it.
Not on GCC according to Coliru.
user784668
    /*  from gcc/config/i386/i386.c; ix86_frame_pointer_required */
/* In ix86_option_override_internal, TARGET_OMIT_LEAF_FRAME_POINTER
     turns off the frame pointer by default.  Turn it back on now if
     we've not got a leaf function.  */
  if (TARGET_OMIT_LEAF_FRAME_POINTER
      && (!crtl->is_leaf
	  || ix86_current_function_calls_tls_descriptor))
    return true;
user784668
@rubenvb see?
@Fanael OK, so the GCC docs suck. I'll remove the options in the next build.
I'm kinda getting tired of building GCC.
12:12
wazzap
@Stacked I'm getting "./test: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./test)"
Is this guy serious?
ah well, I put it outside main.
Silly me.
damn
12:23
@DeadMG wat?
Clang says
"No, don't worry, this isn't a complex type, but I'm going to take it by reference anyway! harharharhar".
oh, well, I guess that the "trivial" copy constructor still has a signature of const T&.
so I need to just do a store, since I know that the copy constructor is trivial else it'd be a complex type and this code path wouldn't even be executed.
Hmmm.
If the future is ready, what should future.then(fun) do?
execute fun asynchronously.
Need Speed For Work.
12:29
@R.MartinhoFernandes What do you mean, "where"?
who cares where?
somewhere.
Lots of people.
the contract of then is "When the future is ready, fun executes asynchronously with the appropriate value".
"where" isn't part of that contract.
I think that's underspecified.
Zomg.
For my whole life, I thought that subtraction is spelled as substraction
@DeadMG Well, as you've said, it's easier for Clang to just treat it defaultly as const T& rather than analyze its complexity. Although, it shouldn't be too difficult.
@BartekBanachewicz Seriously? :D
12:31
yeah
@BartekBanachewicz what?
@DogPlusPlus yes.
IKR
that's retarded as fuck, but it's true
TIL
now I'm trying to construct some Clang type from some other Clang type, and they're both values.
Until 4th grade of elementary I thought that surprise is written as suprise.
Well, TIL :)
12:32
guess that means "Allocate T on stack, call constructor with U (possibly also needlessly duped on stack), load result from stack".
life would be so much easier if LLVM registers weren't worthless
Every time someone mentions allocation, stack, call and register, I start to crave working on my hobby kernel. And I really shouldn't waste time.
I've wasted some time. Watched 'Java Heat' this morning. Predictably, it was rubbish.
Yesterday, I met a guy who spoke to me about his uni. I don't know how he got to the subject, but he mentioned Eular angles. I wanted to slap him with my foot.
might have been "Worthless shit my university made me study for no reason"?
I've never heard so many misconceptions packed into a few sentences. Well, if I don't count when Telkitty talks.
12:38
Not a math, but I'm guessing 'Euler'?
@DeadMG It matters a lot when there are things like thread local storage and stuff flying around. FTR, the current proposal is not as poorly specified as you said.
@MartinJames Yup.
He seems to think Eular is some descriptive attribute, a special kind of angle. I proceeded to correct him and he said: "No, that's that mathematician. I'm talking about eular angles."
@R.MartinhoFernandes The only way to specify on which thread it should run would be to pass a std::thread, which would suck, and as you adequately pointed out, making it run on the same thread as the existing future also sucks. This would imply that there are no solutions except to not specify the executing thread.
12:40
@DeadMG No, it isn't.
Cannot open include file: 'initializer_list': No such file or directory WHAT
Late into this, but why care what thread executes what?
Oh, TLS. Fuck TLS, I never use it anyway.
@MartinJames You don't have to care that much.
How can I verify if I really have newest VS CTP?
12:43
But even without TLS... If I have a thread pool, I may want shit to run there, not to run somewhere else.
MartiNJo. <3
Or I might want something to run on the UI thread.
@R.MartinhoFernandes I don't see any specification of .then().
read the disclaimer
12:46
@DeadMG That's what .then() refers to.
.then() is on another paper.
right
but
firstly, the vast majority of uses of then() are not going to give a shit where it runs
12:47
Doesn't mean you should make the other uses impossible.
and secondly, if you do care, then you can just do .then(...{ launch_with_executor(real_function, executor); });.
Does any of those mention either explicitly or implicity a future quasi-concept?
@LucDanton No, it's just that one "model".
Bit of a shame.
Why does the argument to then accept a future?
@LucDanton To handle exceptions.
It's guaranteed ready.
12:51
Okay, does it still count as a bind in spirit, if not syntactically?
It's like unwrapping the future monad, and passing the underlying error monad.
So yeah, I'd say so.
I'm not so sure a future concept is that useful come to think of it. I can't imagine having different future types cooperating.
@DeadMG That's sub-par though. I see no reason to involve another thread in this.
My main pet peeve is that we currently have very magical and opaque futures, and the proposals seem to tack more magical bits on them.
@LucDanton Maybe they should expose the shared state.
12:54
Can anybody give me a dumbed-down one sentence explanation of rvalue references?
On the other hand, if we get the interface right, we might not need any other kind of futures. So, fingers crossed.
I see.
user784668
@Pawnguy7 sure, I can:
It's really not something you can explain in two sentences.
12:55
Those are the same proposals that fix std::async right?
@LucDanton I don't see any change in std::async besides adding an overload with executor.
I understand. I was just curious as it seems they are commonly talked about along with C++11, so I figured I should learn them, sometime.
How can when_any return a future tuple?
This is a Google proposal isn't it?
@LucDanton It returns a tuple of futures.
My god, a future tuple of futures.
8
12:58
-5
Q: Creating Sweden Flag in C++

user2204168can you help me to do my project please? i really dont know how to make the sweden flag in c++ program. Can you show me how to?

lol wat
user784668
Thanks.
On the other hand can there be a static signature that makes sense for C++?

« first day (890 days earlier)      last day (4286 days later) »