« first day (922 days earlier)      last day (4252 days later) » 

10:04
haha, just found someone asking where to find crappy American beer in Berlin.
(s/crappy//?)
> deleted by Mysticial, Andrew Barber♦ 1 min ago
Well that took care of it...
<33333
My thread pool works!
Xeo
Xeo
s/works/appears to work/
2
I can queue up functions, lambdas, the whole nine. <3
http://stackoverflow.com/questions/16210819/signals-and-slots-qt/16211056?noredirect=1#comment23183393_16211056

Need for new question?
10:05
I bet the moment he shows some code, half the Lounge will be horrified.
@R.MartinhoFernandes I will bet you that only a quarter of you will be horrified !
Xeo
Xeo
Aha. So you're sure that some will be horrified.
0
A: Symfony2: how to get config parameters in Form classes

Juan VilarWhenever you inject the %variables% through injection , how do you READ them on the form side?? cos I haven't got a clue and fucking internet won't tell me!

^^ lol
@Xeo Well, not completely horrified.
Just slightly miffed at the most, maybe.
Sort of.
Xeo
Xeo
@Mysticial I've done my part
10:08
I actually flagged it instead. Whatever...
Xeo
Xeo
I did all three. :)
Mmm, the more I understand Haskell, the more I like it.
FUCK
Variadic Templates never work with functions and function pointers in MSVC =[[[[[[[[[[[
Xeo
Xeo
Buggyadics
I don't want to write these overloads out by hand. ._.
10:15
@Xeo I'm glad to see that term picking up.
Didn't realize I linked to the user instead of the post.
@Xeo can I have my royalties now :)
@Mysticial Hah, I do that all the time (but I always notice because of my OCD to edit and re-edit postings)
It can take me good minute though, if I drop links very quickly
where in the standard is the rule saying that func<void()> (0) and func<void(*)()> (0) isn't supposed to be the same function (where template<typename T>void func (T);)?
because it clearly states that void bar(void(*)()) is a redeclaration of void bar(void()) because the latter void() is turned into the former
10:30
Where it talks about template-ids.
That they have the same signature means nothing there.
@R.MartinhoFernandes do you happen to think of a reason of why this is?
Because they don't have the same name?
@R.MartinhoFernandes :-/
Actually, "name" is a term defined by the standard, so no quotes :P
@Grapes a) it's Lua not LUA. b) Luabridge sucks. Use Lundi :3 c) Lua VM is not thread safe.
10:34
@R.MartinhoFernandes I actually thought that you were quoting the standard when using the quotes, which are there intended purpose (quoting)
seriously they make classes that accept lua_State*
@R.MartinhoFernandes but honestly I find it weird, not that I've been running into any problems because of this but just out of a "does it make sense?" perspective
@BartekBanachewicz the VM
@refp They have different names!
10:36
@BartekBanachewicz Lua VM has lock/unlock macros
@sehe Normally I catch it too. But I was multi-tasking a little too much. :)
It's the only thing that makes sense.
Consider: template <typename T> void f(int);.
Of course f<A> and f<B> are different functions.
@BartekBanachewicz It's the VM, not just VM
well, ok, the official Lua VM
also wat and
they are perfectly apt here, should've been added a long time ago
@R.MartinhoFernandes we have different meanings of the word "sense", if void bar(void()) and void bar(void(*)()) are considered to be the same "sense" would make func<void()> (...) and func<void(*)()> (...) to be the same as well (template<typename T> void func (T))
10:38
@BartekBanachewicz lol, Lundi is already recommendable?
has been here for a long time AFAIK
@R.MartinhoFernandes compared to Luabridge it's a technological marvel
Anything that I write is instantly recommendable
@refp void() and void(*)() are distinct types.
@R.MartinhoFernandes ... I know
10:39
Well, it's tested, the API isn't going to change much, I guess
void bar(void()) declares a function that takes a void(*)() parameter.
Don't let syntax fool you.
@BartekBanachewicz There's still a lot of things lacking
I see no reason for not recommending it, with explicit statement it's in alfa stage
@R.MartinhoFernandes what the.. I'm not letting the syntax fool me.
@kbok well of course, but what it has now can be enough for many appliances, and adding features doesn't usually break code
10:40
@R.MartinhoFernandes I want the same implicit "type conversion" to be the same way everywhere, that would "make sense" in my book.
eg debug interface, coroutines, returning void(!), classes
There is no type conversion anywhere.
It's just syntax.
@R.MartinhoFernandes wrong choice of words then.. it's an "adjustment" to make them the same
// use public member function to call private member functions.
(to quote the standard)
10:41
what. the. fuck.
@kbok wooooorking on it. As a matter of fuckt, fact work, I'll do it now
I'm here sooner that I should today anyway
@R.MartinhoFernandes "That is, the function type is adjusted to become a pointer to function type" 13.1/3, anyhow.. I buy your argument and I'm satisfied with it, BUT sense.. I'm not so sure
This builder pattern is truly horrible
It makes me want to kill myself
what's the builder pattern?
getGlobalNamespace (L)
  .beginNamespace ("test")
    .beginClass <Vec> ("Vec")
      .addProperty ("x", &VecHelper::get <0>, &VecHelper::set <0>)
      .addProperty ("y", &VecHelper::get <1>, &VecHelper::set <1>)
      .addProperty ("z", &VecHelper::get <2>, &VecHelper::set <2>)
    .endClass ()
  .endNamespace ();
It's like XML, but it's not
10:46
@R.MartinhoFernandes See? All lua binders sucked before we came in
Oh. That's what other Lua things look like?
This one is like the least horrible
exactly
now you see why we can recommend Lundi
Other things are just outright terrible
Luabind doesn't look half bad but my biggest gripe is the time it takes to compile.
10:50
Screw Nagle and his algorithm
@BartekBanachewicz No, I still don't.
meh. it just needs this tiny little fix and it will be really usable
@kbok it's more like js really, they like chaining methods like that
I don't.
Java people do that a lot also.
@jalf screw OSes which enables it by default
I just spent time interpreting hex bytes in memory (because I had no other choice) with a coworker to find out I had a directory misconfigured.
urgh
11:06
Does anyone have an idea why the November CTP is taking so long to get to RTM status? Did they program themselves into a corner full of bugs?
Xeo
Xeo
Hm... variable number of parameters, overloading and default arguments make currying without user-help pretty much impossible, huh?
@rhalbersma It's coming out Really Soon™.
@Xeo yeah 1H13, so sth like June 30
damn you crappy git://
@Xeo If you are asking wether it's a fucking mess, then yeah, it is.
y u no connect
Xeo
Xeo
11:08
@R.MartinhoFernandes And it's almost the same things that makes passing functions around a mess.
@Xeo Since both Herb Sutter and Stephan Lavavej have been very quiet on their blog/channel 9 for many months, I'm guessing that they have a big bugfest to clean up
@rhalbersma yeah, they were busy closing bugs as "wontfix"
Xeo
Xeo
@rhalbersma The 11 variadic bugs I submitted were fixed rather fast, atleast :)
@Xeo "fixed" as in their internal builds only, right?
@BartekBanachewicz I wonder if they'll ever fix EBO for multiple inheritance and 2 phase lookup
checkboxes were checkboxed
@rhalbersma you know, I stopped to care at some point. It was more or less the point I got my stuff building with MinGW
Xeo
Xeo
11:13
@rhalbersma ya
they must have forgotten the "release often" part of "release early, release often"
Xeo
Xeo
@rhalbersma There's nothing to "fix" for EBO
I wonder when ICC 14 is coming
I have to install the latest VTune update
@BartekBanachewicz if MS wants people to use their compiler, they should publish nightly builds as soon as bugs get fixed
@rhalbersma dream on
11:20
@jalf quite the nightmare :) seriously, I don't understand that they only have 1 way feedback
@rhalbersma because they basically don't want feedback?
if they listened to feedback at all they would get rid of all crappy language extensions
but that's not gonna happen, because microsoft likes code that works only on their compiler for obvious reasons
yet another reason for passing on Dx
it's towards the end of the semester and my professor has only graded one homework.
@BartekBanachewicz even for platform-specific extensions, it makes no sense to release in November and check the checkboxes but not publish an updated version
So dump MSVS.
If gdb can become really usable, using MSVS won't make much sense
11:25
@rhalbersma so it's about more frequent stable builds, not nightly builds? ;)
@BartekBanachewicz basically I did, but Eclipse + MinGW is no picknick either
Eclipse is terrible
@BartekBanachewicz That's a big if
@jalf yes
QTCreator is much better
11:25
@Xeo OCaml has optional and named parameters on top of currying IIRC, and that's pretty fugly too.
@jalf well, of course. Still, if the need for that appears (i.e. people say they don't want to use MSVS anymore), maybe gdb will kickstart
my biggest bet is on QTcreator right now
it's OpenSource
already has a nice community
user1357851
blushing ape you say ...
Xeo
Xeo
Not everyone fancies looking at baboon asses.
user1357851
Ooh why did I not see garbage collector here
user1357851
11:28
Xeo is the fastest garbage collector in this lounge
Xeo
Xeo
If you can acknowledge your own posts as garbage, why post them in the first place?
to annoy people
user1357851
I would like to argue with you, but I have more important things to do ... bbl
auto &info = *reinterpret_cast<std::pair<std::reference_wrapper<StreamT>, std::vector< char>>*>(data); oh god
you have no mercy @kbok
Q: How easy it is to make squiggles in vim?
11:37
I've found answer on SO stating that it will be slower than in IDEs
What do you mean "make squiggles"?
~~~~~~~~
@R.MartinhoFernandes automatic syntax error highlighting
@BartekBanachewicz I thought I saw that already
BTW it's wrong, should be StreamT &
Xeo
Xeo
11:38
@BartekBanachewicz Don't you have red underlay for that?
Xeo
Xeo
red background on the text
@kbok bah, you tell me, it's your code after all.
syntax error highlighting (besides balanced [({})]) are for pussies.
@BartekBanachewicz Yeah, LucDanton pointed that out earlier
11:39
There's a Syntastic plugin or something.
But since you said it was good to merge I assumed you saw it and thought it was OK
I have no idea how it works. I don't use that shit.
@kbok well it obviously works, but the syntax is kinda hard, huh? :)
@R.MartinhoFernandes you don't have any error highlighting?
@BartekBanachewicz honestly, I do think that is the case.. it's not that it's bad having it, just that I've never felt the need for it
11:41
@BartekBanachewicz For C++? No. It's bound to be crappy.
@refp cool. And?
@R.MartinhoFernandes MSVS squiggles are rather nice
we must be swift as the coursing river! We must be strong as a great typhoon!
@BartekBanachewicz what @R.MartinhoFernandes said. And [what is your reply to that]?
mysterious as... the dark side of THE MOOOOOOOON
11:42
@BartekBanachewicz lol, are you serious? Are you talking about the ones that don't agree with the compiler?
@refp that that's missing the point
@R.MartinhoFernandes meh. They don't have to be 100% accurate to be helpful
@BartekBanachewicz it certainly isn't.
@BartekBanachewicz The damn well better be; I don't want to waste my time on false positives.
it's like asking an eldery woman to take your hand when crossing the road, sure it isn't "unhelpful".. I just don't feel like I need or want that kinda help.
@BartekBanachewicz It works, but it's a bad cast so UB. Also it's ugly but I didn't realize in the first place.
11:43
@refp I asked how to enable them. The fact whether you think they are useful or not is kind of not important for me
They are distracting, and if they distract me for naught, they are not helpful, nor harmless.
I like them, because they work instantly and show things like missing semicolons for example
finding missing semicolon from compiler log can be tedious
Riiiiiiight. That explains it.
@BartekBanachewicz the fact that you failed to notice how my message wasn't a directly reply to yours.. well, if you didn't want this conversation you shouldn't have started it.
however, with constant syntax checking you know at once
so you can look just one line up and fix
@refp No, I wanted to have a conversation about how to enable syntax error highlighting in vim
@R.MartinhoFernandes IMHO that's a legit reason
@BartekBanachewicz then why did you reply to my message saying that syntax error highlighting was for pussies? if you didn't want to discuss that but merely how to enable it I don't see what I've got to do with it.
@BartekBanachewicz You can probably get that simply with a smart syntax highlight script, and so it runs all within vim itself.
@refp I thought you realize that an answer saying "cool." will precisely make you understand how much I care for you liking that feature or not.
@R.MartinhoFernandes finally something constructive
@BartekBanachewicz next time try to ignore it all together. (and with "try" I'm saying; don't reply to it if you don't want replies shooting your way)
11:47
@BartekBanachewicz Sure, it just explains why I don't find it helpful. I rarely miss semicolons, and these days it is quite obvious when I do.
7 mins ago, by R. Martinho Fernandes
There's a Syntastic plugin or something.
hm, what was the name of that plugin manager?
I use pathogen and vundle.
oh I found it in the transcript the same second
0
A: error while declaring double array of size 150000?

DropOkay! You have Stack Overflow in your app! Fixing examples: don't use stack - use dynamic memory allocation (heap): double* a = new double[150000]; use STL container, for example, vector - internally it allocates things on heap std::vector<double> a(150000); increase stack size (bad idea, b...

"creative" use of the stackoverflow logo or just plain annoying?
also; "redesign your code somehow" as a tip on how to fix a problem must be the best one yet, it will sure be my default answer to future questions
- How do I fix this pro-
- Redesign your code somehow!
meh!
11:54
stupid syntaxinchatthingie
1 message moved to bin
No gifs!
Xeo
Xeo
lol
also; am I the only one seeing a segment flowing into the stack in the stackoverflow logo? and not the other way around?
to me it doesn't look like an overflow, more like someone throwing something into the "stack" (container)
yes, pointless discussion.. but heck, who doesn't like pointers? (and that doesn't even make sense)
Xeo
Xeo
Cats don't like (laser) pointers.
11:56
I'll have what he's having.
@R.MartinhoFernandes >:(
Today I learned nobody else pronounces Celtic as Seltic outside of Boston. Everyone says Keltic.
@Xeo don't they or do they?
@refp I generally just think of laundry and forget about the flowing thing.
@LucDanton we should file a complaint, and by "we" I mean someone else but me because I'm a lazy bastard
11:58
> IMHO it started as a nice, simple proposal then ballooned into a monster as everyone piled in their favourite feature and it ended up trying to add new members to the already bloated std::string class. Way to stall a proposal.
hahaha, nice summary.
(Also, who the fuck tried to add new members to std::string)
2
members should be features
It's true, I've come to terms with the usefulness of constructing a string_view. As far as using I'm not sure what to do with one.
Xeo
Xeo
I'd mainly want it for substringing... I think.
Because fuck std::string::substr :|
@Xeo What, you need performance?
@Xeo You mean, ranges?
Xeo
Xeo
12:02
No, but I don't like the idea of copying the string when all I want is range manipulation. It's a psychological thing.
^ Ye so far I think I only care for data()/size(), which I guess amounts to using a range.
@Xeo "No, (...) all I want is range manipulation"
Is that supposed to make sense?
damn you vundle another thing using git://
I put :/ in git://
12:05
proxy
I can't get git:// to work
only http://
and of course vundle uses git://, pip uses git://
so yeah :/
Docs suggest it uses https by default.
They also give let g:vundle_default_git_proto = 'git' as a way to switch to git instead of https.
https should work
oh
Maybe you should try let g:vundle_default_git_proto = 'https'
http did the trick
hm weird
Powerline should be enabled by default,no?
12:12
I tried to install it using Vundle
and well it said it's ok, and help Powerline showed me the proper help text
the older one
Ah.
Dunno.
I use the new one.
can Vundle install the new one too?
they say the new one should be installed using pip
If we had had arbitrary time (and other resources) for developing C++14, would you have attempted something like using string_view = iterator_range<const char*>;?
12:13
I only use vundle.
I'll try the new one then
The only thing you need is to add the first line in the file I linked.
(The second one is optional, but a good idea anyway)
crap
I've just broken Vundle
lol, what did you do?
I am not sure, but I didn't add the Bundle line with Vundle itself, which is marked as required
ah, right! <facepalm>
I ran BundleClean, and it deleted itself
that was epic
facepalm
@BartekBanachewicz And now you know why that line is required.
aha!
too bad with new Powerline even help doesn't work
it shows as installed
What do you get for :version?
Does it have +python/dyn or +python3/dyn in it?
If so, try :python print 'Hello world' and see if it is working.
hello world
Version 7.3
12:23
Did you set the rtp?
If you set that correctly, and python is working, then it should work. Did you try restarting vim?
I vote for weekend now. Who's with me+
yes i am restarting it constantly
I've added that rtp thingy, still no workie
Does that mean it doesn't show anything at all?
12:25
@R.MartinhoFernandes actually, we have a national holiday tomorrow, so just a few more hours and it will be weekend :)
@R.MartinhoFernandes the normal statusline appears. Looks like normal vim
@jalf Bastard.
Oh wait, I learned something that might be useful now.
@jalf For i helvete!
just one day more and 9 days free
(Did I get that right?)
@R.MartinhoFernandes looks like Norwegian or something
In Danish it'd be For helvede
12:26
Ah. Dammit.
so where did you come across that? :D
Swedish guy taught me that. He said it was the same in Danish, just pronounced in a weird way.
Apparently he doesn't know Danish as well as he thinks.
Well, it's usually a fairly safe assumption, that "it'll be the same in Danish but pronounced in a weird way" :)
user1357851
18+? where is Luc Danton going to go?
inb4 sketch of Scandinavian people mumbling to each other.
Xeo
Xeo
12:33
@R.MartinhoFernandes I meant that as a reply to Luc
@Telkitty yep, it's 18+ now. what are you doing here?
user1357851
I hope you like my new avatar, it is awesome
it's not
I tied a tie for the first time in my life. Am I a big boy now?
@jalf I think he tends to exaggerate the weird way :) Is it true that Danish is difficult even for your own kids?
12:40
I have to wait till 6th May for a 'long weekend' national holiday :(
@BartekBanachewicz For me it does not work if I do as the guy did in that bug report. If I do it manually (set runtimepath+= blah blah) it works.
set runtimepath
hmmm
I have set rtp+=stuff. Are these equivalent?
Yes.
Needs to be an absolute path.
what do you have as an rtp for powerline? tutorial points to bindings, but I have no such folder
ah fuck
powerline/powerline/bindings/ :/
still nothing though. Should I get an error or something?
Hmm, wait, this works now Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim'}.
@BartekBanachewicz Check :set rtp? and see if it has the right path.
12:45
hey
NORMAL   [Vundle] Installer         5:1    ~/.vimrc                       33%     6
can it be that?
it only shows when I have 2 windows :/ (like in :vs)
lol. TheBlushingApe :D
@BartekBanachewicz That's... weird.
Objective-C still cracks me up
12:47
Works fine with a single window here.
Say you have a method - (void) setAbc(NSInteger abc) { _abc = abc; }
user142019
Is that Wombat?
If you write a method - (NSInteger) abc then the first one does not compile anymore
@R.MartinhoFernandes I'll first try to get fonts
user142019
12:48
@kbok Huh?
user142019
Y U NO AUTOMATIC PROPERTIES
@R.MartinhoFernandes how is that plugin called again that changes your statusbar?
So, a buddy of mine now enrolling in university messaged me for help with C (what a surprise) today, and the message translated was: "Hey Dom, I'm getting an error on calling memalloc(), is something wrong with my compiler?".
@R.MartinhoFernandes ah nice, thanks.
12:50
@Zoidberg They are. If you want to customize the getter, though, no luck.
user142019
@DomagojPandža lol memalloc.
WTF is memalloc?
user142019
A misspelling of malloc.
Ahahah, he was pretty sure memalloc was a thing.
user142019
@kbok SSCCE and error message?
12:51
@Zoidberg Create property. Use shadow ivar. Declare getter. Weep.
user142019
"Weep." is not an error message.
I just ate a 0xDEADBEEF sandwich. Delicious.
The error is that _rambouteau doesn't exist as soon as you provide the getter
user142019
@synthesize rambouteau = _rambouteau;
12:53
I've done all the instructions, still no fonts
oh wait, terminal restart!
yes yes yes
now colors
also vim is crashing now when I try to edit powerline configs
sbi
sbi
Oh damn. What have you done to this room?
7
Q: Powerline can be shown in multiple buffer, but not in a single buffer

code4jI have just installed Powerline plugin into my vim by using pathogen and submodule. The powerline is only visible when where are multiple buffers. When there is only one buffer in vim, I can't see it. I wonder whether it is a bug or not?

~ease of setup~ cc @R.MartinhoFernandes ^
@Zoidberg Yeah, I know. Pretty much the definition of sucking IMO
@BartekBanachewicz I'm using gvim, btw.
Powerline looks weird on terminal.
why should it?
user142019
12:58
@kbok If you define both a getter and a setter, but you do not synthesize it, then how is the compiler going to know you want it to create an ivar?
it's purely text based, so perfectly apt for terminal
user142019
Maybe you want a property that doesn't use an ivar at all!
I only have to fix colors now
@BartekBanachewicz Ah, I always set laststatus to always.
@Zoidberg He can't. That's my point. It's inconsistent. It's working around a lack of features in the first place.

« first day (922 days earlier)      last day (4252 days later) »