« first day (1020 days earlier)      last day (3919 days later) » 

5:00 PM
@LightnessRacesinOrbit it's not (yet) if standard library, if that's what you are asking
I don't see how it makes this solution worse, really.
 
Arrows still own.
 
@CatPlusPlus Arrows?
 
foldl1 (&&) . (id &&& drop 1) >>> uncurry zip :v:
 
Xeo
:D
English Keyboard layout always confuses me
 
@CatPlusPlus are all these &&& realy necessary?
 
Xeo
5:01 PM
yes
 
&&& is fanout, >>> is left-to-right composition.
 
1
A: Consistency on 'Definitive Booklist' questions?

DeadMGAs far as I'm aware, it's because the C++ community is an organised gang of thugs, and when the question was closed, we beat everybody involved until they saw sense, whereas the C people don't seem to care, as far as I'm aware.

 
It's the same as zip xs (drop 1 xs)
Except point-free.
Unity, rotate the damn screen when device orientation changes, DAMMIT
 
Xeo
foldl1 (&&) . ((drop 1) >>= flip zip) ~
 
5:04 PM
@Mysticial Lol
 
Xeo
flip zip sounds weird
 
"Organized Gang of Thugs"
 
No need to wrap drop 1 in parens
Function application has highest precedence.
 
Xeo
@CatPlusPlus right
Can I somehow hide imported modules in GHCi?
 
:m -module
 
Xeo
5:05 PM
Doesn't that remove the module?
 
And you want to do what?
 
Xeo
Not have it clutter the prompt
 
Oh.
Then :set prompt.
 
Xeo
oh
 
I use :set prompt "[%s]\n> "
 
Xeo
5:06 PM
nice, thanks
that works too
 
I need pizza. now.
 
I ordered pizza.
 
Xeo
I should go and buy something to drink
BUT WAY TOO HOT
 
@refp euh i want to link this website which lets you schedule pizza deliveries for when you're half asleep/something ... but i'm at work :|
 
been partying constantly for three days now, hardly no food just drinks and "non healthy items". if I order pizza it might take up to 50 minutes for me to get it, if I walk to the pizza place just around the corner I might pass out and die (but if I make it I'll have a pizza in less than 10)
what to do?
 
5:10 PM
@refp why would you pass out and die. just pass out next to the street and hope someone takes pity?
 
@EiyrioüvonKauyf no energy left in my body, I struggle to light another smoke and walk to the window
@EiyrioüvonKauyf I'm black in a kinda fancy white neighbourhood, the old ladies will pass by thinking "ugh, those black people are real filthy"
 
:|
order food from a closer place?
 
anyway, I'll risk it. to the food place it is!
@EiyrioüvonKauyf stockholm isn't great when it comes to home delivery to be honest
gone.
 
Oh, look aty that
UnrealheaderTool not doing it's job
WHAT A FUCKING SURRPISE.
Well.
Looks like I'm going to be fully humiliated and embarassed tomorrow.
All because I can't wrap my head around Unreal's undocumented, uncommented, no-sample/example build system and code.
Whatever. I didn't want a real job anyways.
I hope it goes great.
@EiyrioüvonKauyf You know what you should fucking do? Write your whole response in one go the first time so you don't ping me FIVE FUCKING TIMES.
 
5:22 PM
every time i edit it pings?
 
he's got a point
 
while ( !donethinking ) { DONOTPOST(); }
 
@EiyrioüvonKauyf well. yes. kinda.
 
oh shit
@Gordon tyvm
 
@ThePhD suggestion: PLONK
 
5:25 PM
:| plank
 
plink
 
hi @Gordon!
are you coming to check if we're behaving?
 
@Gordon I'm being a good boy, I swear.
 
no that was me i asked him to delete one of my posts; i like jobs tyvm :|
 
this is cute
 
5:28 PM
This is it...
... Welp.
 
Good luck
 
yay I've send a mail to the Terra mailing list
2
 
Yay warnings in Unity standard assets.
 
dunno why it was starred really
@Cat is it a good time to talk about technology already? We could get on mumble.
 
the dumbest things get starred these days.
 
5:31 PM
I'm working right now, later.
 
Mumble! Yay!
 
@TonyTheLion well I should add some context.
I'll get on mumble anyway then. Awaiting, shall you come.
 
Ugh Unity's integration with VS is broken or something.
 
s/'s integration with VS//
 
> VS is broken - FTFY
 
5:34 PM
VS is perfectly alright in 2013 version IMHO
they are really moving in good direction
 
@TonyTheLion Oh you.
 
Xeo
@CatPlusPlus Talking about the Debugger?
 
No, it can't even open files properly.
 
Xeo
hm
 
Well, files open, but project doesn't, and no IS.
 
Xeo
5:41 PM
Coworker also uses VS with Unity and it's fine on the VS side of things
Anyways, off to buy food
 
Dunno. Maybe it's Resharper, maybe it's because of legacy project
 
Hmm, I just had some delicious pho.
 
awwww yissss its raining
 
@EtiennedeMartel :)
 
@ThePhD you seem tense
 
5:52 PM
@BartekBanachewicz Vote for Rainbow Dash!
 
@EtiennedeMartel Did you see Equestria Girls yet?
 
@DeadMG Saw it last week.
 
and was it a shitstorm ripoff?
 
Puppy is asking about ponies
 
5:54 PM
@DeadMG It was decent and entertaining.
 
no, I'm asking about a film, where I am expecting it to be horrific shite
oh, well that's disappointing
 
Great production values as always.
Although it was chock full of MLP references, so maybe they just knew how to get to me.
That said, I'd give it a 7/10.
 
so it's no Terminator 2 then?
 
I don't feel like I wasted 75 minutes of my life, but I wouldn't go and see it again.
 
5:57 PM
@MooingDuck You're missing lots of possible combinations. For example, "BET WORLD".
 
@DeadMG well that seems obvious all of a sudden
 
@EtiennedeMartel You know that's probably not a good time to break that to you but I dig Twilight just a tiny bit more
 
@DeadMG oh, I'm only doing combinations where they're in order. hmm
 
@BartekBanachewicz Shit. Then don't vote at all.
I want Rainbow Dash to win.
 
@EtiennedeMartel too late.
 
5:59 PM
Shit.
Then don't do the trivia questions.
Because you might earn extra votes
 
whew
interview over
 
@DeadMG wait, does that actually count as a separate combination?
 
@MooingDuck Er, of course it does.
 
@DeadMG That said, this is awesome.
 
@BartekBanachewicz For a second there I thought you meant twilight... the movie -.-;
 
6:00 PM
pro tip: the number of combinations for a set of N items is 2^N. That's why subset sum is an NP-Complete problem.
 
@DeadMG I think you're mistaken
 
@MooingDuck Then you're smoking crack.
:11001341 Nope, definitely combinations.
I mean, that's the total number, not for any given N.
 
@Borgleader ugh
 
but you still expect large numbers.
 
@Chemistpp how did it go?
 
6:01 PM
Well, the internet failed over there in Oxford, so they called me
I had to give my presentation via phone without my laptop
owned it
I think they'll offer me a job
I'll be immigrating to england
 
@Borgleader When someone asked Lauren Faust if "Twilight Sparkle" was a direct reference to Twilight, her answer was "It passed legal".
 
I'm coming home
 
Hahahaha NICE xD
I love it when people do these kinds of things
 
@DeadMG oh wait, I see what you're saying. I was referring to the mathematical combination "given N elements pick K": en.wikipedia.org/wiki/Combination
ah, for a general "combination" you're right, I was doing a "k-combination"
 
@MooingDuck Which would still require "BET WORLD" to be in the output.
 
6:03 PM
@DeadMG neither kind of combination requires "BET WORLD" to be an output, because order doesn't matter: en.wikipedia.org/wiki/Combination
@DeadMG also, that would make the number of combinations of a set of N items to be way the frick more than 2^N
 
oh yeah, I didn't notice that "WORLD BET" was already in the output.
 
oh, that explains most of the confusion then
 
@Borgleader There's also that part. Try to guess where the bit at 0:23 comes from.
 
part of me wants to optimize this to replace the std::vector<bool> use; with std::vector<iterator_type> and minimize iterator traversal.
 
well, it's really a tradeoff
you'll pay more for heavy iterator types in terms of memory and therefore cache and such, but less for accessing and such
more of a profile-based solution depending on the exact iterator size, I would say.
not something you could guarantee would be faster.
 
6:07 PM
@DarinBeaudreau the cout is immaterial, IMO, allthough you'd probably have a hard time telling whether %d, %i, %lu or whatnot would apply for scores.size(). Which is, actually, exactly the only reason I opted out of printf (I like printf, Boost Format, fastformat etc. libraries) — sehe 15 mins ago
yay for std::cout
 
yeah, this is totally faster and smaller for vectors, but would be slow for a set or maybe even a deque
 
Xeo
Yay, back. Also, @CatPlusPlus, (id &&& drop 1) >>> uncurry zip >>> foldl1 (&&) when you're already going with arrows, no?
 
@Xeo >>>>>>>>>>>>>>>>>>>>>>>
 
@EtiennedeMartel rofl lion king?
 
@Borgleader Yup.
MLP is full of references.
 
6:09 PM
hm I have to buy bus tickets to SOAD concert
 
I mean, they made it so the girls' parents could watch it without wanting to shoot themselves in the head.
 
@Borgleader Yes, I am king.
 
Xeo
@BartekBanachewicz Go learn Haskell
(cue "Go" pun)
 
heh, my app passes audio in 128 byte buffers asynchronously. I altered it to 4096, and my app became sluggish to pause/stop audio. When I did the math in seconds, I had changed the buffers from .02 seconds to .67 seconds :/ Smaller buffers it is then
 
noticed.
but I won't learn Terra then :F
 
6:12 PM
@TonyTheLion King of my heart <3
 
@Borgleader <3
 
Also discovered I have a threading bug. again.
 
Xeo
@BartekBanachewicz Learn both
@MooingDuck threading be hardz
 
ugh 293MB
really
 
Xeo
what?
Haskell Platform?
 
6:12 PM
# apt-get install ghc
not that?
 
Xeo
oh noez, 300mb
 
it's a VM on my SSD that's already pretty full
 
Xeo
@BartekBanachewicz Sorry, had Windows in mind
 
fuck windows.
 
Xeo
@BartekBanachewicz y u put VM on SSD
 
6:13 PM
@Xeo because performance? o.O
 
Xeo
... on a VM?
 
um, especially on a VM?
 
@Xeo Well, >>> is Category. Might as well be foldl1 (&&) . uncurry zip . (id &&& drop 1).
 
@TonyTheLion Don't you dare think he might be your new favorite Canadian.
 
Xeo
@CatPlusPlus hm
 
6:14 PM
you know I am using Windows just because VS and League of Legends
 
@EtiennedeMartel No he's just one of my lovebirds in this Lounge.
 
and TBH, since LoL is out on OSX that's only VS and :effort: in installing Hackintosh
 
Xeo
Why is >>> grouped with Arrows all the time, then?
 
@BartekBanachewicz LoL on OS X is kinda iffy.
 
6:14 PM
Arrows happen to be categories.
 
You start it and then you have 4 icons in your dock.
And it only starts on the account on which it was installed.
 
@EtiennedeMartel it's fullscreen anyway, so...
 
Xeo
@CatPlusPlus Why is the "mapping" called Category anyways?
 
@EtiennedeMartel I have only one account on my desktop
 
And since they're used like monads, to express computations/pipelines, (>>>) feels more natural than (.).
 
6:15 PM
Spritz, anyone?
 
Xeo
I thought morphisms mapped from one Category to another :(
 
@Xeo Ask category theory. :v:
 
Evening
 
Xeo
:s
 
Category class defines composition and identity.
 
6:16 PM
ok so I've installed haskell
 
Xeo
Position of ";: still fucks me up on English layout
 
@BartekBanachewicz I'm saying so because I installed it on my MBP because my technologically-impaired brother wanted to play. So I installed it, and then I did not want him to access my porn stash, so I made another account for him.
 
LoL crashes on startup on his account but not mine.
 
I can teach you how to cocktail it
 
6:17 PM
@EtiennedeMartel that's kinda different usecase from a Hackintosh, really
 
@Xeo "A category with objects X, Y, Z and morphisms f, g, g ∘ f, and three identity morphisms (not shown) 1X, 1Y and 1Z" en.wikipedia.org/wiki/Category_theory
 
@BartekBanachewicz Visual Studio and games are the reason I no longer book on the Mac partition
 
@MooingDuck All hail OpenGL and let's hope JetBrains IDE will be awesome
so I can finally ditch windows forever
 
I think functors map between categories, but I'm bad at cattheory.
 
not that's it's really that bad.
 
Xeo
6:19 PM
ITT: Cat being bad at Cat theory
 
> In fact, what we have done is define a category of categories and functors – the objects are categories, and the morphisms (between categories) are functors.
 
@CatPlusPlus you were supposed to be working :F
 
I'm stuck with this porting thing.
A BREAK
 
If this message gets 3 stars I'll make a video tutorial for the lounge @TonyTheLion (my only king) on how to make a Spritz.
 
Xeo
6:21 PM
> arrows (also called morphisms)
Wait, you just said arrows are categories
ugh
 
hm mailing lists really seem kinda... ancient
I really would prefer to use Discourse :v
 
Xeo
Hint: They are.
 
@Xeo class Category a => Arrow a where :v:
 
@Borgleader is it just me or did he not import anything AND has them in the wrong order
 
6:23 PM
I'm really operating with Haskell terms, and don't really care about category theory equivalents.
 
@EiyrioüvonKauyf I think you mean "Holy shit the formatting sucks ballz"
 
Xeo
:| head hurts
 
@Borgleader no @EtiennedeMartel fixed it <3
 
@Jeffrey Y U EDIT ME OUT OF YOUR MESSAGE :'(
 
@TonyTheLion *edit you in FTFY
 
6:24 PM
@Xeo Read more about arrows, it'll hurt harder.
 
@Borgleader Looks like he isn't linking with his C library.
 
@Jeffrey what?
 
Xeo
Fuck Category Theory, I'll just invent my own terms.
 
@TonyTheLion I edited my message to include only you instead of the entire lounge
 
@EtiennedeMartel You have to tell the linker to link with math.lib? (or wtv lib it is for math.h) TIL
 
6:26 PM
@Borgleader Depends.
 
lol
 
Apparently my browser failed to show me the latest version of that message
I had to reload the lounge to see what it actually said :(
 
@Etienne Thank you so much. — StephenTG 2 mins ago
It's like they don't know how to edit.
 
@TonyTheLion inb4 chat.SO sucks
 
it does
 
6:28 PM
@Borgleader -lm
 
Xeo
@EiyrioüvonKauyf Just "m"? Seriously? I mean, did somebody hand out a limited number of letters to those Linux programmers and now they have to manage with those until the end of their lives?
 
GAH. I need to stay away from RNG questions, there's simply far too many wrong answers....
 
@Xeo cue Linus
 
6:35 PM
@MooingDuck s/RNG//
 
@Xeo you can do -l‘/usr/lib/libm.a’. i personally link to -l/usr/local/bin/boost1.53.0
> In general, the compiler option -lNAME will attempt to link object files with a library file ‘libNAME.a’ in the standard library directories. Additional directories can specified with command-line options and environment variables, to be discussed shortly. A large program will typically use many -l options to link libraries such as the math library, graphics libraries and networking libraries.
 
@Xeo I know right. Thats the reason I hate thes compiler options. The one to ask gcc to spit out the assembly is -S
it could be just me, but that seems rather arbitrary
 
@Xeo "guys stop making lines so long my console is only 80 columns!"
 
yeah so they actually might need more 1 letter chars :|
i find --my-option more readable personally; though it's a pain when it stretches for 5 lines
 
@EiyrioüvonKauyf There's no need to use -l at all if you're specifying the whole path.
 
6:39 PM
@EiyrioüvonKauyf that sucks
what if I have that in another folder?
@EiyrioüvonKauyf are you not using any real build system? :/
 
WHY ARE ALL RSS READERS SO HORRIBLY BAD AT MARKING THINGS AS READ
 
@CatPlusPlus it's not in the standard path
@CatPlusPlus what are you using? i tolerate feedly and was ok with Google Reader T_T
@BartekBanachewicz make no not at the moment. they use automake somewhere
 
@EiyrioüvonKauyf Uh okay that's not relevant. Just specify the path without -l.
 
@CatPlusPlus oh fuck i just remembered i forgot to check this in 2 months.. i average a few thousand a week shit
 
@EiyrioüvonKauyf neither is a real build system.
 
6:41 PM
@BartekBanachewicz yes yes not cmake i know
 
@EiyrioüvonKauyf uh, Scons. or Premake
 
ohhhhkay lol
@CatPlusPlus :| I -l to link and - i (caps) for includes
and it is relevant
though i don't need the -l - you're right
 
Xeo
@Borgleader I'm not complaining about the option
 
Xeo
I'm complaining about the name of the math lib
which seems to be just "m"
 
6:43 PM
@CatPlusPlus dropbox is blocked T_T
@Xeo it's an abbreviation yo
just change the name and you're cool ... tho you'll break a lot of things i bet
 
user1886376
hello to all. In the graph can be nodes with the same value ?
 
@ՎարդանԳրիգորյան only 5 nodes can be the same value the rest have to be a different value
 
@ՎարդանԳրիգորյան The lounge is not known for answering questions. If you have a question, it's usually recommended to post a question on the main site. Good luck!
 
@MooingDuck excuse you i'm helping
 
Good guy Duck
 
6:48 PM
@Xeo Well i am
 
5.99€ for every node.
 
@EiyrioüvonKauyf heh, I'm suddenly reminded of the time somebody came in and asked for code that generates the factorial "sequence", and I gave him my highly optimized unrolled code that generates a Fibonacci sequence, which he subsequently turned in.
 
@MooingDuck :|. ok i'm going to go on a stupid and say
 
6:50 PM
then he got mad at me for some reason
 
dammit i just did the ping thing
 
Not that surprising
 
@EiyrioüvonKauyf I do that all the time :/
 
either way; how do you have unrolled fibonacci code .for (int n)
 
@EiyrioüvonKauyf glad you asked
 
6:51 PM
o_o
O____O
oh god why
 
hahahaha
 
@EiyrioüvonKauyf because FAST
 
Seriously, Duff's device?
 
@MooingDuck Wait... you gave a guy some code, he turned it in (for an assignment?) and then got mad at you?
 
Xeo
@MooingDuck ... Duff's device? Really?
 
6:51 PM
@Xeo Heh.
 
@EiyrioüvonKauyf notice it generated the first 92 Fibonacci numbers without caching in 0.00 seconds.
@Borgleader yes
 
@Borgleader Apparently he didn't verify it gave the wrong answers
 
@Xeo I profiled, it was significantly faster on MSVC9
 
Xeo
> VC9
 
I can't remember, what's wrong with Duff's Device?
 
6:52 PM
@TonyTheLion hard to read, I mean, just look at it. Also, for most compilers (not VC) the compiler can already do that
 
It's outdated as shit.
Compilers can unroll loops on their own.
 
ah right
 
@MooingDuck Wow... that's pretty shitty attitude
 
I think its hilarious
 
Xeo
@Borgleader Help vampires
 
6:54 PM
OP was obviously an idiot
 
You should've told them to go fuck themselves the second "assignment" came up.
 
You think they would have then proceeded to go masturbate somewhere in a corner?
 
Or make a code with timebombs I guess.
 
That could be possibly hilarious.
 
6:55 PM
> a code
 
An code
 
dafuq ^
code - FTFY
 
A art.
 
screenshotplz
 
@Borgleader -18
 
6:56 PM
Ahaha did I mention that Antichamber installs itself as "My Game Long Name" by Epic Games, Inc.?
 
Xeo
what
 
@TonyTheLion Yeah it updated to -18 when I downvoted. What surprised me was the jump from 0 to -15 in the 2 seconds time it took for me to load the question page.
 
@Borgleader yea crap questions
> pls halp!
oh gawd
 
I would have downvoted just because OP is called yoloswag
 
Learn to spell before asking questions.
@Borgleader Anybody with that name deserves downvotes
 
6:58 PM
@TonyTheLion This guy is named "yoloswag".
 
@TonyTheLion meh, totally trolling
 
That alone sets off my troll-o-meter.
 
> mom disappointd.
ahahahah ^
 
also jpg screenshot
 
6:59 PM
@MooingDuck wait i just checked the first 15 and they're right
 
I accidentally plonked Etienne :(
4
 
@CatPlusPlus So many consonants.
 
I wanted to look at this profile
 
.... is it just me or is that iterative but does the same number of ops as recursive :|
 
@CatPlusPlus why do you have Windows in Polish?
 
Xeo
6:59 PM
@CatPlusPlus lol
 
@TonyTheLion That's what happens when you plonk indiscriminately.
 
@EiyrioüvonKauyf well they better be
 
@BartekBanachewicz Dunno.
 
@EiyrioüvonKauyf it doesn't, it just appears to
 

« first day (1020 days earlier)      last day (3919 days later) »