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

5:01 PM
:/
 
@Xeo Variadic Template Master Xeeoooo
 
Xeo
Absent.
 
Aww. :c
Hm.
There's probably a better way to specialize this function.
 
just what is it that you are doing
 
After all, only one fucking line changes. =/
But NOPE
static_if is NOT ALLOWED
Stupid Stroutsup. ._.
 
5:08 PM
what would static if do?
 
It would save me having to write 2 functions
One for std::true_type
and one for std::false_type
Since, rather than just have a no-op function set_value on std::promise,
we will instead decide to just remove the function altogether.
Because why make it so I only have to write the code just once?
That's silly.
 
@ThePhD That.
 
Xeo
@ThePhD For good reasons.
@Mysticial Holy crap, Eva 3.33 subs almost done.
 
Is that a sequel to the first 2 Evangelion movies?
 
Xeo
ya
Also, KoJikan manga finished.. :'(
 
5:18 PM
@Xeo Concepts wouldn't cover me here. =/
If I used a concept to constrain the template type, in the end I would still have to write 2 functions
I haven't been saved any work that the compiler could do for me.
 
has anyone used Matlab?
 
Stack Overflow says you need more text for a reason. Stack Overflow says you need more text for a reason. Stack Overflow says you need more text for a reason. (see the version before the edit to understand why I wrote it three times). — dasblinkenlight 1 min ago
 
Anyone remember that song? :)
 
Xeo
Mhm
 
5:29 PM
> Estifi de baptême de câlasse de p'tit Jésus d'plâtre.
 
@StackedCrooked Pretty sure I never knew it to have anything to remember.
 
lol
So many silly songs from the 90s. Like this one.
 
@EtiennedeMartel That's random
@StackedCrooked The 80's was much more silly, I think
 
I preferred the Disco of the 80s sometimes.
 
@StackedCrooked Intriguing though: the shots of "her" camera are blurred enough I can't quite figure out what it is -- probably a Zeiss, but possibly a Retina.
 
5:34 PM
@ShafikYaghmour Don't know so much about that. I was born in 1980 and got my first own radio in 1992 :)
 
I don't know what decade this is from but it's some silly shit: youtube.com/watch?v=kvDMlk3kSYg
 
@StackedCrooked Born in 75 and listened to most of my early stuff on vinyl
 
I had one vinyl. It was stupid evangelical christian music.
 
@StackedCrooked Silly songs and even sillier videos.
 
Back then those videos were modern! :D
 
5:36 PM
What do you think ofAPIs that make use of flags?
 
@Pawnguy7 Does it have the Belgian flag?
3
 
I knew that would happen :\ say, like fstream.open.
 
@ScottW I've always wondered that. He has an impressive knowledge of lenses and cameras.
 
@ScottW He's an expert in everything.
 
@ScottW I sometimes try to be, anyway.
@StackedCrooked s/He's/He's conceited enough to think he's/
 
5:42 PM
@ScottW maybe flower arrangement
 
@ScottW Well, Wasps gather honey too, so I would think he'd have an impressive knowledge of all the flowers he could get to. :D
 
WHAT NUMBER AM I THINKING OF 1-10
 
@nightcracker 0
 
retards, 1-10 = -9
not it clearly is 110
scott my w
 
@ScottW Hmm...botany...I know how to spell that, anyway.
 
5:47 PM
@JerryCoffin botany bay.. botany bay! Oh no!
 
booty bay
 
@nightcracker -9
oh damn it, stupid scrollback
@nightcracker I didn't actually see the answer when I wrote the above
 
anyone who says that c++ is perfect is a liar (or ignorant)
speaking of liars
 
@EtiennedeMartel The game's not over until I punch someone in their hockeymask. :D
 
5:51 PM
That's the LHJMQ for you.
 
guys, I need some tips. how do I get through developing a web app without going nuts?
 
@melak47 Choose something that isn't completely crazy, like Python or Ruby.
 
@melak47 You stare at @EtiennedeMartel's wallpaper 'till you go crazy of ponies instead of Web Development. :D
 
@EtiennedeMartel You must be working on PonyOS, right?
 
@Griwes Nah, I just really like the show.
 
5:56 PM
I mean, PonyOS is your platform at work, for sure, then.
 
No, it's Windows 7.
Stoooop your huumooooor
 
@EtiennedeMartel it'll need to be able to take pictures using a smart phone's camera, is that something that would be possible with those? I have no clue with this stuff :p
 
@melak47 What. You'll need an app for that.
A native mobile app.
 
@EtiennedeMartel nuhh
requirement says web app
 
Burn these requirements, change your name and leave the country.
Not necessarily in that order.
 
5:59 PM
there is some HTML5/JS stuff that can dot his on android+chrome and iOS safari, apparently
but HTML, JS...ughh
 
Apparently, when getting the context, you need "2d", not "2D". I am still a bit confused how that works. are HTML attributes not case sensitive?
 
I'm not too thrilled about developing a "native" (:p) android app when I don't have nothing to test it on
 
hello
 
Quick Google search shows that.
 
@EtiennedeMartel yeah saw that. but that's for apps again
not really web apps
 
6:01 PM
@Rapptz Hiii Honeybunchees. <3
 
@ThePhD Why do I keep thinking about cereals whenever you pull that word out of your ass?
 
Honey Bunches of Oats.
 
@EtiennedeMartel Because it's a delicious cereal, and that's what Rapptz is. Delicious. <3
 
I wonder what he tastes like.
 
Anybody know what This will be?
 
6:04 PM
@Pawnguy7 An eyesore?
 
Besides that, I mean.
Those are temporary :D
Nope.
 
@Pawnguy7 A pain the patootie?
 
Javascript.
Which is arguably worse.
 
So, I was right with this.
 
I wanted a web demo though.
 
Ell
6:05 PM
Just discovered opal, ruby->js compiler
 
@ScottW You mean AAAALIIIIIVEEEEE like it's an experiment gone wrong?
 
Frankenscript.
 
It will be one of these sort of puzzles. I tried to find the name on wikipedia but cannot find it.
Anyway, I ask because, I tried but failed to think of a proper way to randomly generate them, but I think it exists.
 
Draw a random path,
generate a level around that path.
Presto.
 
That was my origional plan, but I wasn't sure what to do when the path crossed itself.
 
6:10 PM
@Ell Still wrapping my head around emscripten github.com/kripken/emscripten/wiki and the concept of people going from C++ to Javascript
 
@ScottW was this to me?
 
Hm.
Guys, when I type std::{Stuff}, where {Stuff} is stufff I'm searching for in CHrome, it searches google
When I type std::{Stuff} in Firefox, it has an address parsing conniption. Any way around it in firefox?
Cute, but no.
 
Xeo
@ThePhD It has what?
 
@Xeo std:: makes Firefox attempt to parse it as an actual web address (not sure why, Chrome has no such issue).
so std::result_of brings me to an error page rather than a google search.
Also,
But
But but but
 
Xeo
Ctrl-E, std::result_of
 
6:21 PM
:: is in my fingers ;~;
 
Xeo
nubkin
 
@Xeo ... Oooooooh.
@ScottW I'll give you all of mine. <333
I never knew you could do that.
@ScottW Just one.
I think. Unless the shit coming out of my mouth on a daily basis means that my face is also a butt.
9
In which case, I have 2.
:c
Ya'll so mean. D:
 
user1182183
 
Too much driving for one day, damn.
 
user1182183
ye
 
6:25 PM
@DomagojPandža Why do you drive so much?
 
user1182183
well, bad , a least I don't know if bad or good but I feel bad ;F
 
Well, the first two hours I enjoy it, the driving that is. And the rest of it is just business as usual. My office is 40 minutes out. And I had to see the local one being built these days.
 
user1182183
well I got a bit too drunk, and friends had to bring me home, couldn't walk by myself, ad they even called my work and told I was sick so I can't come work today
 
user1182183
so much vommit today bah
 
Lol
 
user1182183
6:27 PM
dunno i just feel bad I acted like thatb;f
 
user1182183
but the day was a cool day
 
user1182183
:P
 
user1182183
we got not trees left to tape puppies to
 
@ScottW Sexy time?
 
6:29 PM
@ScottW She's going to ask you for drugs.
At least, that's what happened to me.
 
user1182183
or sex
 
Or sexy drugs.
 
Is there a more sensible way other than using a tuple to hold a compile-time list of integers?
 
Texts from people years, years later.
 
Ell
Just take the sex and leave
 
6:29 PM
"Hey... ... do you deal Meth, man?"
And I'm like
.... Really?
 
user1182183
@rubenvb sexy array?:D
 
@ScottW It's a trap.
 
I'm following the Robots "Size Matters" series and he bases his integer list on std::tuple. Let that be one thing I don't have.
 
@rubenvb variadic template parameter?
 
user1182183
Godm damn it i'm still not sober
 
6:31 PM
@ThePhD ah, so a tuple? Which I'm trying to implement.
I don't want to implement a simple tuple in order to implement a good tuple
if all I need is a list of integers
 
std::array?
 
user1182183
@rubenvb #define integer_1 (1) #define integer_2 (5) ? XD
 
@ThePet So what - you think you have problems? I'm still not drunk!
 
Assuming the size is known at compile time?
 
@ThePet you're helpful today.
 
6:32 PM
@Rapptz He wants to do it so that every integer is accessible at compile-time
E.g. in the making of a tuple
 
@Rapptz I suppose. It's for indexing the real tuple to the optimal_storage order.
 
Well how do you plan on using it? Ah
 
user1182183
@rubenvb it's been forever since someone said that : o
 
He linked me to his tuple implementation earlier today when I mentioned tuple_cat is magic.
 
6:34 PM
Come fly with me.
 
Funny thing is that's the only thing he didn't talk about in his posts.
Heh.
tuple_cat is magic!
 
user1182183
life: if(sober) do { me.drink() } while(sober) goto life;
 
lol
 
Xeo
@Rapptz The simple implementation is actually rather easy.
 
He showed me his and I saw the way libstdc++ does it
 
6:36 PM
Well all I need is just a get for my simple_tuple which uses a crappy recursive implementation.
I just need to think
I'm being lazy
 
I like to do the no-thinking-required programming too.
 
:P
 
Xeo
@rubenvb get(element<I,T>&) :)
 
user1182183
what's I ?
 
size_t or whatever
 
Xeo
6:38 PM
Okay, wtf. Why isn't this Yt video loading at all.
 
index
 
user1182183
ah
 
Download YouTube Options to allow pre-buffering.
 
Xeo
No, I mean, nothing is happening
 
@Rapptz Firefox extension?
 
6:39 PM
No, Chrome.
 
Xeo
And if I change the resolution, all I get is "An error occured."
 
ah wait
 
=[
 
Xeo
That can't be right.
 
All the fun si in chrome.
 
6:39 PM
I think I got an idea
 
Xeo
@rubenvb I also gave you one!
 
@ThePet Clearly you should break out of that loop already, or you'd have written it much more simply as: do { drink(); } while (sober); or while (sober) drink();
 
recurse on index-1 and specialize for 0
 
Xeo
@rubenvb Ew :P
 
user1182183
anyone knows regex for visual studio to replace all NBinTree<whatever_1>::whatever_2 with NBinTreewhatever_2<whatever_1> ?
 
6:40 PM
What the fuck, looks like somebody has fired up his botnet to slowly upvote that answer -.-"
 
@Xeo it's for a list of ints
 
@Griwes The question got bumped 20 min. ago.
 
Isn't there a better way just storing them sequentially though?
Like in a C array?
 
@Mysticial Oh.
 
Xeo
Wait, what exactly are you doing right now?
 
user1182183
6:41 PM
nooone? :(
 
this would seem like flamebait on SO, but I hope it is ok to ask here... why do I get this feeling that ppl are sometimes OOP vs generic programming. I dont see any conflict except if you have sort(container) or container.sort .... :D
 
@Xeo Masturbating vigorously
 
@Xeo I'm writing a naive recursive simple_tuple to use to provide a list of mapping integers so my real tuple can use optimal storage as described by the robot.
 
@DeadMG Template Metamasturbating with O(logN) computation time.
 
Xeo
@rubenvb Why a recursive one again?
 
6:44 PM
@DeadMG Excellent.
 
@Xeo because that seemed easiest. I'm not implementing a half decent tule to implement a decent one.
I obviously should
But I'm stubborn.
 
Xeo
@rubenvb I'd like to concur on the first point. tuple : element<Is, Ts>... :)
 
@Xeo once i bothered you about should std support this and you said you are tired and going to sleep, and to ask you some other time... are you sleepy again ? :P
 
@NoSenseEtAl Oh dear.
 
Xeo
?
Not particularly right now
But that might change, depending on your question :P
 
@Xeo Scala has "pragma" that gives error if function tagged isnt tail recursive... Do you think it would be useful in C++. Scala uses it to avoid SO during those cool recursive FP algs :D
 
I am trying to think of a title for a blog post, about bitwise stuffs. But "...and Bitwise Stuffs" seems... a bit to informal.
 
@ThePet It would be something on the order of search for: NBinTree<([^>]+)>::(.+)$ and replace with: NBinTree$2<$1> (with "searching for regex" enabled).
 
Xeo
@NoSenseEtAl Those "cool recursive FP algs" usually have a better imperative implementation in C++.
 
user1182183
@JerryCoffin will try thanks
 
6:48 PM
@ThePet Are you trying to make your link dump less obvious so that we don't downvote you as quickly?
 
@Xeo, well for some it is easier to do rec than imperative coding... either way tnx for the a
 
Xeo
I want currying and easy partial application, though. Plx. :(
 
user1182183
@EtiennedeMartel sorry but I seriously got no idea what to cover it under
 
user1182183
:f
 
6:49 PM
0
A: g++ c++11 constexpr evaluation performance

refpThis is not "scientifically" proven since I'm not writing compilers, but I logically the arguments brought up in this post holds quite well. This is a very interesting "discovery" but the answer is probably more simple than you think it is. Something that should be evaluated compile-time and ...

how many down-votes vill I get for that answer?
 
At least zero.
 
I will need to rush out quite soon, so I'd rather delete it before mayhem strikes.. anyone care to look through it?
@EtiennedeMartel good call
 
@Xeo excuse my ignorance, but isnt bind currying ?
 
Xeo
@NoSenseEtAl std::bind is partial application, and it's unwieldy.
 
user1182183
well it changed `NBinTree<Player>::Iterator p(&players); *p; ++p)` to `NBinTreeIterator p(&players); *p; ++p)
<Player>` xd
 
6:52 PM
@Xeo care to elaborate, or give me link... from what i primitively know... currying bakes in one arg into a function and returns another function, like bind does(bind can eat more at once)
 
user1182183
misplaced <player> :F
 
Xeo
Currying: f(a, b, c) -> d => f(a) -> f(b) -> f(c) -> d (using pseudo-trailing-return)
 
@Xeo Ill read this : stackoverflow.com/questions/218025/… seems legit
 
Xeo
Partial application: f(a, b, c) -> d with a & b applied => f(c) -> d
Also, I remembered what uncurry does. /cc @LucDanton
 
ah : You're saying that partial application is when you curry a function, and use some, but not all of the resulting functions? – SpoonMeiser Oct 20 '08 at 11:22 -- I say distinction without difference :D
 
Xeo
6:55 PM
You don't need currying for partial application.
But it certainly makes it easier.
 
b-method master race reporting in
 
Xeo
As I said, std::bind is partial application - and it certainly isn't currying.
 
@Xeo std::bind doesn't allow _1 < _2 like boost::bind does, right? Meh.
 
Xeo
Ya, _1 etc are really just placeholders for std::bind
and you also can't do fancy shit like std::bind(...) < something
 
But _1<_2 is just so fucking sey!
 
6:59 PM
@Xeo do you have any examples where you need currying to make things easier... what i miss is super short super nice boost lambda syntax
 

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