« first day (852 days earlier)      last day (4079 days later) » 

4:00 PM
@EindacorDS if you mean coding rather than playing, all PRs are welcome
 
@EindacorDS give in, it's easier
 
i stopped playing for a while after this: youtube.com/watch?v=_MONWQb1VsI
 
Ell
Agh I must have died 11 or 12 times now
grr
 
Grats
 
that was the first time i had ever tried to capture something, and the first time that had ever malfuncitoned, still hurts
 
4:03 PM
@EindacorDS dude. My 10yo brother makes mc videos. Playing is one thing, but videos..
 
@EindacorDS try with jelly
 
@Ell and still alive? cool
 
Ell
:P
 
shocking news every one! I am correcting someone over alot.
 
@BartekBanachewicz haha, c'mon, i'm not one of those people. not like i voice-over or anything
 
Ell
4:05 PM
I'm gonna have to flood it with lava
Or go really prepared
I had loads of ore
 
Xeo
Erm... why does GHC fail me on a let ... in ... = ...\n\t ... = ...\n\t in ...? :(
 
@ScottW ¬_¬ I am going to claim ironic defence
 
@Xeo Show real code
Because this is unreadable
Also the error, you should know better
 
You probs got the indentation wrong, so we need to see.
 
context is everything en.wikipedia.org/wiki/Alot
 
Xeo
Don't tell me it doesn't accept tab.
Hm. And why does my notepad++ even insert a tab
 
@Collin i'd rather read "alot" 100 times before i hear another person use the phrase "for all intensive purposes"
 
@Xeo Tabs are expanded to 8 spaces
Don't use tabs ever
 
Xeo
Okay, compiles now.
 
@EindacorDS OW
 
Ell
4:12 PM
@BartekBanachewicz do I need the intel compiler? o.O
 
Xeo
Seems notepad++ inserted tabs most of the time, and for the second let line it inserted spaces, for whatever reason.
 
@ScottW few, got away with that one :P
 
@Ell yes and no. We all know how shitty VS compiler is. So either trial ICC, or MinGW. Sorry for no makefiles other than .vcxproj yet.
 
"few"? "FEW"?!?!?!?!
 
@EindacorDS oh my lord!
@Xeo sublime
@LightnessRacesinOrbit 'phew', right?
 
Ell
4:14 PM
@BartekBanachewicz ehh I need makefiles :L
It is too much effort otherwise xD
 
Isn't ICC behind MSVC in C++11 support
 
quite the opposite
or, actually
@Ell do you have newest CTP VS?
 
Damn, Markdown turns out to be inadequate for my blog :/
I don’t wanna write HTML, waa!
 
Ell
@BartekBanachewicz I don't think so
 
@Ell that might be able to compile the C++11 parts of it. It's mostly using = I think
 
4:15 PM
@KonradRudolph What
 
@KonradRudolph what are you trying to do?
 
@thecoshman Use HTML5 <section>s
 
Ell
@BartekBanachewicz yeah
Is it cross platform?
 
@KonradRudolph well there's your problem you are trying to use html rather then markdown
 
@KonradRudolph Forget about it, nobody cares
 
4:16 PM
@thecoshman No, I want to use semantic markup and CSS
 
@Ell I see no reason for it not to work on linux or MacOS. All of the dependencies are cross platform, and apart for _CrtDbgBreak used for convenience, it should work all fine.
 
the focus here is on the fact that I want to write CSS for it
 
You'll just invite problems with IE :v
 
Ell
@BartekBanachewicz I'll boot into linux then :P
 
@CatPlusPlus Fuck IE users
 
4:17 PM
@Ell you will need to grab all the dependencies manually though
 
Xeo
let l = map (map $ const 'x') $ lines c
    in mapM_ putStrLn l
@CatPlusPlus better?
(except that l is quite the bad name)
 
@thecoshman Right, you know it. Phew.
 
where is better but yeah
 
Xeo
What's the difference between where and let ... in ... anyways?
 
I like it better vOv
 
4:19 PM
typedef struct { int member; } foo; foo f = 12; //valid in C?
 
Xeo
@CatPlusPlus lol
 
Also scope is bit different
AFAIR
 
@TonyTheLion I don't think so
 
Ell
@BartekBanachewicz Is there a list of dependencies?
 
4:20 PM
@ScottW haha
 
@CatPlusPlus heh, I could have sworn I read once that this is possible. Perhaps I'm deluding myself.
 
@Ell boost 1.52, glm-0.9.4.1, pugixml-1.2, FreeImage, glew-1.9.0, lua-5.1.4. Newer versions should work. I try to keep them as up-to-date as possible
 
Xeo
@CatPlusPlus Seems like that, if I naively change it to where, I get Not in scope: 'c'
 
@LightnessRacesinOrbit eye no a phew things, there's four shore
 
No, that's you doing something wrong
 
4:23 PM
@thecoshman *Eye
 
Xeo
mapM_ putStrLn $ l
    where l = map (map $ const 'x') $ lines c
likely
 
@thecoshman did you just turn into a scouser?
 
f c =
    mapM_ putStrLn l
    where l = map (map $ const 'x') $ lines c
 
oh, no
"eye" not "ey", okay
i've just realised that I've been sat here for ... a long time. BYE
 
Xeo
@CatPlusPlus c is c <- hGetContents handle
aka in a do block
 
4:24 PM
@LightnessRacesinOrbit Have you been as far even as decided
@Xeo Well yes let is special in do blocks and can't be replaced with where
 
Ell
@BartekBanachewicz freeimage3?
 
@Ell the newest one.
 
Xeo
Back to let, then
 
watching someone use TFS without git-tfs or git-tf is just paaaaaainful
 
Xeo
Hm. mapM_ putStrLn l or putStr $ unlines l.
 
4:29 PM
TIL Sven is a Nordic name.
 
@TonyTheLion "Valintines"?
 
"PS this card is cheap"
 
@CatPlusPlus PS so is the person who sent it
 
@CatPlusPlus what
 
4:31 PM
happy valentines day to the ground!
 
eh
valentines is one of the many pathetically commercial festivals
there's nothing special about this day compared to any other
 
Ell
@BartekBanachewicz when did you start this project?
 
@Ell quite long ago. But it was 1.0. 2.0 started more or less with develop-2.0 branch :)
 
Ell
@DeadMG nor christmas nor pancake day etc etc but just enjoy it :D
 
4:35 PM
@EtiennedeMartel Hey, I was responding to the preceding discussion.
 
Ell
@BartekBanachewicz just wondering because you use lua 5.1
 
@Ell there's still no luaforwindows with 5.2, and I'm too lazy to build myself
 
@Ell 5.2 sucks horrifically.
they took one of the best features and effectively removed it
 
Ell
hah fair enough :L
 
@DeadMG why are you talking about it, then?
 
4:35 PM
then they're like "LOL BITWISE OPS" as if I couldn't have put that shit in myself.
 
Ell
@DeadMG why?
 
@LightnessRacesinOrbit Because the preceding several messages appear to discuss it and I wanted to weigh in.
same as with almost any other topic
 
@EtiennedeMartel How'd the lawsuit go for him?
 
@Rapptz He nailed it.
Everything was dropped.
 
4:37 PM
Aha that's good. That lawsuit was pretty retarded.
 
Xeo
hm.. my naive implementation of unlines' seems to drop newline ... damn.
 
In fact, I'd say everything is going swimmingly for Mr. Inman.
 
@Xeo Why are you implementing unlines
 
Xeo
@CatPlusPlus For fun
I wondered what it looked like, and tried something.
A simple foldl (++) "" isn't the answer, though, it seems.
 
you know, implementing Wide can be really annoying sometimes
every time I decide to implement X feature, it turns out I needed to have implemented Y feature first.
 
4:38 PM
@DeadMG I feel that way with a lot of things I write.
 
foldl (\a b -> a ++ '\n' : b) ""
 
@CatPlusPlus foldl pancakes.
 
Xeo
@CatPlusPlus D'uh, I'm an idiot, of course the individual strings from lines don't contain newline anymore.
 
foldl (++) "" is concat
 
Last time I used a foldl was in Racket.
Functional programming is weird.
 
Xeo
4:41 PM
@CatPlusPlus Although that will add an extra empty line, right? drop 1 should take care of that.. hm
Oh wait, I can just append \n to b instead.
 
@Xeo No
 
Xeo
@CatPlusPlus It does, I tested it.
 
Oh wait, yeah
I did foldl1 actually
 
1
Q: Aliased arguments in strtol

KirilenkoHere is how strtol has to be declared according to § 7.22.1.4 from C11 (n1570): #include <stdlib.h> long int strtol (const char *restrict nptr, char **restrict endptr, int base); As far as I know, the restrict keyword means that the object referenced by...

heh
interesting question
the restrict keyword here seems to violate the aliasing that is done
 
unlines [] = ""
unlines xs = foldl1 join xs where join a b = a ++ '\n' : b
 
4:45 PM
but I may have misunderstood it
 
Problem solved :v
 
Xeo
Hm. \x y -> x : y ++ '\n' gives "couldn't match expected 'char' with actual 'String'", geh.
 
x ++ y ++ "\n"
 
Xeo
d'uh
 
Why the fuck is everyone writing Haskell all of a sudden?
 
4:46 PM
Because it's a better language~
 
the foldl you're all discussing, is that specific to Haskell?
 
Xeo
@Borgleader I like functional-style.
 
I'm starting to think @Zoidberg hacked all of you.
 
Xeo
@EindacorDS No, in C++, it's std::accumulate.
 
@Xeo You can do functional in Scala.
 
Xeo
4:47 PM
@Borgleader So? I can also do it in Haskell.
And with Haskell, I'm sure to find help here. :P
 
FredOverflow can help you with Scala :)
 
@Borgleader Haskell isn't so bad, you should try it.
 
Xeo
And with Haskell
 
Can I use std::future<T&>? Or should I use std::future<std::reference_type<T>>?
 
Xeo
@StackedCrooked <T&> is specialized.
 
4:48 PM
@Xeo k got it
 
Xeo
So yeah, you can use that.
 
@Rapptz I haven't mastered any of the languages I've learned yet (C++, C#, Java, Python, Scala)... I'm not adding another one to the list of failures
 
"mastered" lol
 
@Xeo Ah, cool. Thanks.
 
Xeo
@Borgleader What if I tell you you'll never truly master them? :)
 
4:50 PM
@Xeo I consider "mastering" a language to be reaching R.MartinhoFernandes' level. Or Mysticial.
 
Xeo
Mysticial doesn't even know C, so that's a bad comparision.
 
Truthfully, I'm pretty sure he doesn't know C++
 
@Borgleader I'm pretty sure that Mysticial knows hardware, not any serious level of knowledge in any software language.
 
@DeadMG Isn't he a badass in Java?
 
Scala is meh
 
4:52 PM
I know everyone hates Java.... but
 
Xeo
@Borgleader Uh, no.
 
@Borgleader I've never seen him write anything in Java
 
Xeo
I don't think so, anyways.
 
lol badass in Java
 
Anyway I'm content just being proficient in a language
With proficient being, "Oh hey, I know how to do a lot of things with this language"
 
4:53 PM
Oh nvm, he only has 571 java tags. As opposed to 10k for C++.
 
Most of the 10k is from passive performance
 
I mean, he wrote y cruncher and optimised the shit out of it. That takes a certain level of mastery.
It's not like the whole thing is ASM.
 
You're right, the whole thing is macros :P
He's really good at performance and hardware.
 
Fine then, I'll limit my definition of mastery to the robots competence level in C++
Which I am far from.
 
Ell
glm is header only? o.O
 
Xeo
5:00 PM
Did I mention I get interwebs at home on the 25th?
 
You dont have interwebs at home ?!?!?
HOW DO YOU LIVE?
 
Xeo
Guess why I'm always here until late. :3
@Borgleader Visual Novels
I recently finished the only unfinished one I had, though. :(
 
Its gonna be a long 2 weeks
 
Xeo
Dude, I've applied for the connection ~a month ago
I was so pissed when they originally told me I'd get the connection mid March
 
@Xeo can i assume "visual novels" = porn?
 
5:09 PM
I'm pulling out comments from my blog.
 
Xeo
@EindacorDS No
 
Fuck Disqus.
 
@Xeo too late, i'm already assuming
 
Xeo
@R.MartinhoFernandes How come?
 
@EindacorDS It gives a whole new dimension to the conversation.
 
Xeo
5:13 PM
No other comment plugin?
 
Maybe, if I find one.
But for now I removed that <section> from the markup.
Actually, I would like something that supports Markdown for comments.
 
@R.MartinhoFernandes Question: how many buttons does your keyboard have?
 
No idea.
One hundred and something.
Like, normal.
 
Mine's only got 109ish..
Alright, programming decision: 255 keyboard state variables
I guess... all booleans?
If I want to be fancy I could do all-floats I guess, to measure pressure.
Er, well. 256.
256 * 4 bytes = 1024 bytes = 1KB per keyboard state, of which there will be a shitton.
 
Well, it didn't last long, but for a moment or two I was palindromic again:
 
5:19 PM
:O
Well, 'grats on capturing it!
 
@ThePhD Tanks!
 
Now it'll only take 1,100 more rep to make another palindrome!
At most, 5 past keyboard states will be kept in-memory...
 
@ThePhD Zero-one-infinity rule.
 
5 x 1KB = 5 KB = ... not much a lot at all, really.
 
Ell
@BartekBanachewicz ...where is "Engine.h"?
why is it not in the repository? :'(
 
5:21 PM
ah crap
#pragma once
#include "VertexAttributeArray.h"
#include "VertexBuffer.h"
#include "Shader.h"
#include "Camera.h"
#include "ModelData.h"
 
Ell
I've just built all the dependencies :L
 
@ThePhD In theory-- the hard part is the one's place. Any downvotes throw it off.
 
@JerryCoffin Why would anyone downvote you? D:
 
Ell
@BartekBanachewicz I know it took me a long time >.<
 
5:22 PM
@R.MartinhoFernandes Oh. Well I mean, 'for my purposes'.
 
@Ell I know dependencies suck. That's why windows version has everything prebuilt
 
At the moment, it'll be contained in a std::vector, on a KeyboardDevice class.
 
Xeo
@R.MartinhoFernandes What's that?
 
> Allow none of foo, one of foo, or any number of foo.
 
@ThePhD Most often for being honest about things like Java and PHP. Sometimes, almost no way to even guess why though.
 
Xeo
5:24 PM
@R.MartinhoFernandes Ah, k
 
@JerryCoffin Ah, well. Fight the good fight that you can afford to fight with your repcount. :D
On the other hand, I can't afford a downvote spree from talking about PHP or Java. >_>
I only just made it to 100. ;~;
And I earned the right to downvote!
Hm....
 
@ThePhD Actually, your rep is currently palindromic as well.
 
@JerryCoffin :O
We're partners in pilondromosity!
Also, I've been thinking about Alf Pilgrim v. The Mods
I spent some time sketching out in-game names for all the characters you can pick.
 
Xeo
lol
 
pilondromosity, OMG, the mistakes are horrendous.
 
5:26 PM
Surprisingly, none of the characters I originally thought up of actually was Alf.
@R.MartinhoFernandes It's beautiful. :D
 
Alf?
 
Aka Cheers
 
@Rapptz Cheers and HTH, Alf.
 
@R.MartinhoFernandes He just can't bring himself to type "Palin", for which it's hard to blame him.
 
Xeo
Fffff.... hotmail doesn't allow prefix underscore. :|
 
5:27 PM
So far I've been writing nicknames for everyone.
 
@Rapptz Alf P. Steinbach.
 
Oh I thought he meant someone else
 
@Xeo Hence why Boost.Variant sucks and mine is awesome: I allow visitation of an arbitrary number of variants!
 
@Xeo Why do you care?
 
Xeo
@R.MartinhoFernandes Because xeo@hotmail.com is already taken, so I thought I'd go with my usual prefix underscore.
 
5:30 PM
So far, I have Rapptz "Newtonian" Division, Robot "Unicode" Fernandes, Cat "Brandy Bravery" PlusPlus, and a few others.
 
because _xeo@hotmail.com is likely to work on a plurality of websites
 
Why do you want xeo@hotmail.com?
 
The concept also has the idea of teams, so if you pick people from Berlin, you get the Berlin Bonus to your party.
If you pick TonyTheLion and DeadMG, you get the British Backup.
So many ideas, so much fun. x3
 
> Contrary to the relevant standards, some defective systems treat certain legitimate addresses as invalid and fail to handle mail to these addresses. Hotmail, for example, refuses to send mail to any address containing any of the following standards-permissible characters: !#$%*/?^`{|}~
lulz
 
5:32 PM
uh.
 
@ThePhD thanks for including me :(
 
fail
 
Xeo
@R.MartinhoFernandes I have my RL mail (with my real name) and my 'hivemaster at hotmail' mail, which is my general go-to mail to sign up with anywhere. I just thought I'd get one for my projects to commit with.
 
This QuadTree thingy is really harder than I thought.
 
@Xeo I guess the crux of all these questions is "why do you want to use Hotmail"?
 
5:33 PM
@LightnessRacesinOrbit I don't know you well enough to make a nickname out of you and give you an in-game persona.
 
@ThePhD Tony lives in Britain but he's not British.
 
Xeo
@LightnessRacesinOrbit Because that's where the rest of my accounts already are, though I'm not particularly bound to it.
 
there are only three British coders here- myself, the pirate, and Lightness.
@BartekBanachewicz I wrote an octree. It's not that hard.
 
Ell
@BartekBanachewicz actually it was really easy, it's just my internet connection is dodgy, a lot of downloads had to be restarted :(
 
in my case, by British you mean "English" and by coder you mean "super-genius"
 
5:34 PM
@DeadMG His is only half as hard.
 
hey I suddenly have motivation to finish my 3D game engine and add octrees!
and........ there it goes.
*sigh*
 
Lol.
 
srsly
 
5:35 PM
Daknok "Million Projects" Zoidberg.
 
i am writing debug display alongside
 
am I the only guy here who wrote a spatial partitioning tree?
 
His special attack would be flinging millions of buzzword-projects at you.
 
Ell
@BartekBanachewicz it needs freeglut too doesn't it?
 
@Ell i think just for Sample_GLUT.
 
Ell
5:36 PM
I don't remember reading that o.O
 
@DeadMG I think I have one.
... Somewhere.
 
@ThePhD: I demand you include me.
 
@ThePhD You whined that I had frustum culling and you didn't.
 
@DeadMG they have surgeries for that now
 
Ell
@BartekBanachewicz what is Sample_GLUT?
 
5:36 PM
@DeadMG Well yeah, I don't need frustum culling for an octree. That, and uh. my Quadtree and Octree are back in my older C# game.
 
Xeo
(\x -> (++ "\n") . (x ++)) -- can I somehow get rid of the lambda?
 
@Ell sample that's using glut, obviously
 
yeah, but there's little point in having an octree and then not adding frustum culling
 
@Xeo I use shows for that kind of thing.
 
Ell
a sample?
 
5:37 PM
well, example
 
Xeo
@R.MartinhoFernandes That's just me reimplementing unlines for fun
 
@LightnessRacesinOrbit What do I call you and what would your special ability be?
 
@DeadMG at least it makes collision detection feasible
@ThePhD oooooh I get to choose?
 
@LightnessRacesinOrbit I'm taking recommendations, not orders. :P
 
Ell
5:38 PM
Oh yeah also what is Engine.lib? if engine.h is just more includes? o.O
 
Tomalak "Lightness Races in Orbit" Geret'kal will do fine, thanks. After all, racing lightness in orbit is fairly impressive in and of itself.
 
@LightnessRacesinOrbit And the first thing you'd usually check for collision against is a frustum.
 
@DeadMG Or just some boxes. :D
 
@DeadMG Yes but it's useful even if you don't
 
user142019
Morning.
 
5:40 PM
@ThePhD Yeah... in my first version, I approximated the frustum by turning it into a bounding box.
 
@Zoidberg Red grapes.
@Zoidberg your turn
 
user142019
wat.
 
or rather, in my first version that had an octree and attempted to use it for some kind of culling.
 
@Zoidberg Sky.
 
@Xeo concatMap (++ "\n")?
 
5:41 PM
@Xeo Lambdabot says ((++ "\n") .) . (++)
 
Xeo
@FredOverflow oooh
Although that looks damn cryptic now.
 
Don't do it!
 
@Borgleader I have been tipping my toes in Scala, but I'm sure I couldn't answer advanced questions. foldl is called :/ in Scala IIRC.
 
Xeo
@R.MartinhoFernandes heh
 
5:45 PM
@Xeo Infamously equivalent to ((.) . (.)) (++ "\n") (++).
 
@LucDanton BOOBS
 
Ell
@TonyTheLion doobs!
Eugh I just drank lukewarm drinking water
 
Or famously. I'm not sure why I said 'infamous'.
 
Xeo
0
Q: I am trying to pass a lambda as argument with template varargs

Loki AstariI am still struggling with some C++ syntax. This time I want to add extra arguments with the lambda. But to make the code generic I ant to be able to accept any function and its arguments: #include <functional> #include <exception> template<typename R> class Nisse { priva...

lambda <=> std::function problem again...
 
5:52 PM
@Xeo not quite, he wants to store the lambda into a std::function. He just doesn't realize it's in a non-deducible context.
 
Ell
non-deducible context?
 
4
A: How to have template type deduced in std::function arguments with lambda?

Luc DantonI recommend you think of std::function<Sig> as a container of any one functor that conforms to Sig as a signature -- and which can be replaced at any moment. This functionality comes in very handy for e.g. std::vector<std::function<Sig>> because such a container can then hold fu...

 
Oh, you guys got rid of the seriousness acceptance policy?
 
@TonyTheLion That's a little absurd.
But hey, for doing that they get to sell it for +100 dollars!
 
me thinks somethink is happening
 
5:54 PM
GLUT? Uh.
 
it's certainly better than this GLFW beast
 
@Ell er, wrong term. The correct template parameters cannot be deduced from a lambda though.
 
Ell
Right
 
You could just deal with the contexting yourself. o_O
 
@ThePhD what for?
 
5:56 PM
I dunno. :3c
 
Woa, woa.
 

« first day (852 days earlier)      last day (4079 days later) »