« first day (857 days earlier)      last day (4074 days later) » 

9:00 PM
@Xeo Yeah. Some bright-eyed weirdo decided they should blend the readings from the triggers on the Xbox 360 controller, but separate them for XInput.
So what is basically happening is that I have to use XInput for Xbox 360's triggers to be fully supported.
 
@BartekBanachewicz hey no criticism intended whatsoever :)
 
So much for an easy one-stop shop.
 
Xeo
Eh, if they're counted as one axis, I don't see the problem.
 
@Xeo It's two separate buttons and the readings cancel each other out.
Holding down both buttons fully yields '0' on the axis reading.
 
@doug65536 ciritism is appreciated; I am motivated by constructive one.
 
Xeo
9:01 PM
@ThePhD Oh, ew.
 
@Xeo Yeah, ew indeed. For XInput they separate it, but for this they don't.
 
Xeo
Btw @Stacked, I have since found a better way to print tuples. :)
 
What's worse is that DirectInput has support for 6 axes. So it's really just Microsoft punching DirectInput and the Windows Multimedia API in the balls.
 
@Xeo Code? :)
 
Xeo
@StackedCrooked swallow{ os << std::get<Is>(t)... }; with indices and struct swallow{ template<class... Ts> swallow(Ts&&...){} }; to enforce evaluation order.
 
Ell
9:04 PM
@doug65536 I've written myself a cmakelists.txt but not sure how good it is
 
@Xeo That looks nifty.
`swallow{ os << std::get<Is>(t)... }; // So swallow is a type which accepts an std::ostream&.
 
Xeo
@StackedCrooked It accepts an infinite number of them, is the point.
 
I haven't mastered variadics yet.
I can do T... and std::forward<T>(t)... and that's about it :D
 
Xeo
T&&... t~
 
std::get<Is>(t)... is still a little mysterious
 
@StackedCrooked The thing before ... is a blueprint
It's mapped over packs inside
 
@FredOverflow oh, you
 
Xeo
@FredOverflow Pff, can be smaller.
 
@FredOverflow Well, points for originality, anyway.
 
@Ell ain't there no tools to conver .vcxproj to linux stuffz?
 
9:10 PM
@BartekBanachewicz I didn't say it's bugged, it just seems abnormally slow
 
@Cicada that's not raycast's fault; it's the instance recalc
 
Does that mean you're bad
 
@Cicada yes and no, depends what you think, I guess
Also, Minicraft is gonna have HTML GUI
 
Interpreting vague answer as yes
 
Well, you are free to fix it an PR me :P
 
9:12 PM
I wonder if I can identify a controller as XInputtable and then just pass off the job to XInput...
 
it just needs cache
So that instance rebuild happens every, I don't know, 15 seconds? A minute? 10 minutes?
 
Also instance buffer rebuild doesn't have to be total; it can be incremental, just like incremental linking.
if it seems too slow, reduce world size for now; my PC manages in realtime, but also lags a bit sometimes.
 
Ell
@BartekBanachewicz Not sure, but it wasn't very difficult so
 
Also, do I look like an attention whore?
 
9:16 PM
Not enough drama
 
@Xeo Presumably, it accepts an infinite number of any type?
 
Xeo
@DeadMG I have the definition right above.
 
oic
 
room topic changed to Lounge<C++>: Happy birthday, Mr. Copernicus. [c++] [c++11] [c++-faq] [no-helpdesk]
Just realized it was his birthday.
 
@Cicada I dunno, it makes me want to work more if I see interest in my project :<
 
Ell
9:17 PM
Ahh my main_sfml doesn't work :3
 
Xeo
@DeadMG In fact, right above that message, and the one you replied to. :P
 
Ell
segfault on this line: string Result = Shader.Load(Loader);
 
@Ell Step in!
 
Ell
step in? o.O
 
@Xeo I see. It reminds of of the seq command in shell programming: for i in $(seq 10) ; do echo $i; done.
 
9:20 PM
Step-in debugging.
 
With a debugger.
 
Ell
ohh
I'm running gdb now :3
 
Oh lawd.
Gdb.
Will anyone ever front-end gdb correctly? =[
 
Xeo
@StackedCrooked That's the idea.
It gets you a list of increasing integers, which you use as indices.
In the range [0, Size)
 
Ell
I'm just on the cli atm
 
9:22 PM
@Xeo i do. what is the question (VsVim)?
 
@ThePhD Hard to do because of how GDB is written.
 
Xeo
@sehe How do I get it to install to VS2012? When I run the VsVim.vsix, it only shows 2010.
 
@EtiennedeMartel Mmm. I've never tango'd with GDB. And I don't think I ever will.
 
@Xeo Darn. I don't have VS2012 yet. I remember seeing Jared talk about VS2012 support though. Moaning about having to do separate builds. Lemme see if I can find that
 
Ell
does clang have a debugger?
 
Xeo
9:24 PM
@sehe Yeah, I also read something about him complaining about how VS2012 loads options and breaking VsVim, but I can't find how to install it to 2012. :/
 
Ell
aha glCreateShader is causing segfault maybe :3
oh wait no it can't be that segfaulting, but maybe that failing is the ultimate cause of the segfault
 
Xeo
@Ell -g generates debug info for gdb IIRC.
1
Q: What is the bug exactly and what workaround is there for copy constructor erroneously called for Movable and Non-copyable member

EddieBytesPlease consider the code below, which compiles in VS2012 but fails in VS2010 with the error 1>------ Build started: Project: testconstinit, Configuration: Debug Win32 ------ 1> testconstinit.cpp 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory(48): error C22...

Wow, the assumptions here...
"No, my code can't be wrong. It must be a compiler bug!"
 
@Ell LLDB. I don't know if it's any good though.
 
Xeo
@EtiennedeMartel Eh, last I heard, it was as incomplete and unstable as an embryo. Edit: Or maybe not, if it's the default debugger in Xcode.
 
user142019
Hi.
 
user142019
9:29 PM
Let's get high.
 
Anybody wanna hire me now? ;)
 
@Xeo So it's propably a "production ready on OS X, experimental on other platforms".
 
Xeo
@EtiennedeMartel aka same as with libc++
 
Sounds reasonable.
 
user142019
@FredOverflow you listen to good music so anyway.
 
user142019
9:31 PM
But one rule: no Java ever.
 
@Zoidberg Don't do drugs, kid.
 
@EtiennedeMartel At least based on the last time tried XCode, that would translate to: "completely broken on all platforms".
 
@Zoidberg Don't worry, I don't drink coffee. But I like Pizza in the evening.
 
@JerryCoffin "Production ready" means different things in the Apple ecosystem.
 
user142019
Oeh pizza. :3
 
9:32 PM
@BartekBanachewicz yoes
 
@EtiennedeMartel It certainly seems to.
 
user142019
I need more kebab.
 
@FredOverflow Hmmm...if you were honestly trying to do it decently in Haskell, wouldn't you use pattern matching?
 
Xeo
@FredOverflow Why the uncurry stuff? (also, I think you can somehow get rid of the lambda)
 
user142019
@Xeo point-free style FTW.
 
9:34 PM
@Xeo What lambda?
 
Xeo
@FredOverflow The lambda in my version.
 
@Xeo id
 
Xeo
Oh look, ($) works.
 
@Zoidberg Everyone does.
 
user142019
@FredOverflow no.
 
user142019
9:36 PM
id is not function application.
 
user142019
id = \x -> x
 
@Xeo That's one breaking change, indeed. And there have been numerous problems with utility assemblies that weren't strong-named (~40 tweets with Phil Haack, among others). Then there is round about here:
 
lambdabot> @pl \a b -> a b
id
 
Love explaining to users that they need both Vs 2010 and 2012 installed + both SDKs to build / develop VsVim
^ but I can't really find the thing I was really looking for.
 
user142019
Oh yeah fuck.
 
user142019
9:37 PM
Every function takes only one parameter. Cx
 
But it doesn't work here :( Probably not enough type information.
 
Xeo
@FredOverflow Oh hey.
 
@Xeo You should be able to manually download the .vsix from visualstudiogallery.msdn.microsoft.com/…
 
Xeo
@sehe I do have the VsVim.vsix downloaded from there.
 
@Xeo nice
 
9:38 PM
@Xeo :(
 
The beauty of zipWith id is going to drive me insane for weeks :)
 
user142019
Write a function f = zipWith id!
 
Why don't you marry it then
 
@Zoidberg Yeah because fuck proper function names
 
Xeo
@Zoidberg mapL = zipWith id :D
 
9:40 PM
> I now pronounce you nerd and [a -> b] -> [a] -> [b]
 
Xeo
lol
Atleast I learned that I know some stuff about Haskell atleast.
 
You're hired! Oh wait, I don't have a company.
 
Xeo
lol
 
lol
 
Xeo
Damn, I can't get the same thing to work with some kind of list comprehension. :|
 
9:44 PM
Who needs list comprehensions? It works, so ship the damn thing! Oh wait, we don't have customers.
@Xeo I don't think zipping can be replaced with list comprehensions.
 
Xeo
@FredOverflow Never say never! (although that really just does the same thing as the zipWith id form...)
Oh wait, the zipping itself... nah, I also don't think so, since list comprehension does inner product for two lists.
 
Perfect, thanks, but will this slow execution time? (As a matter of interest.) — Edward Bird 1 min ago
 
@melak47 what was this an answer to?
 
@Xeo I liked your other version better. But I'm not the biggest fan of list comprehensions, anyway.
 
@BartekBanachewicz nothing. just wondering if you had any idea how to build librocket with vs 2012 for 64bit
 
Xeo
9:51 PM
@FredOverflow Me too, this is just zipWith id spelled out. With the other version, you immediately see what's going on.
 
@melak47 why for 64 bit?
 
@BartekBanachewicz just because
 
Xeo
Although I think I like ($) better than id, since $ represents function application.
 
@melak47 It doesn't have preconfigured x64 configs :( So expect fiddling.
 
Target 64-bit by default scrubs
 
9:52 PM
@Xeo Agreed, this is not a size coding contest :)
 
Xeo
Not that it matters for Haskell.
 
@BartekBanachewicz over 9000 errors
 
@CatPlusPlus Minicraft will have HTML GUI <dances>
 
Xeo
@FredOverflow Off to CodeGolf we go! ... j/k
 
That's a reason to be happy?
@Zoidberg This is easy to see just by looking at the type btw
 
9:53 PM
sure
 
Why?
You'll be writing HTML
 id :: a -> a
($) :: (a' -> b') -> a' -> b'
($) :: (a' -> b') -> (a' -> b') -- associativity
-- unified a = (a' -> b'), id == ($)
 
@CatPlusPlus <insert confession bear> I actually like HTML
 
Crazy
 
it is just fine for interface
 
I guess it's less bad when you've always got only one engine to worry about
 
9:56 PM
HTML is fine. its the mess you need to support a lot of browsers properly
 
what do you mean?
 
@BartekBanachewicz s/is just fine/sucks/
 
@Xeo I have a riddle for you, what is this:
 
It's still overly verbose
 
@JerryCoffin I don't get it. What's so wrong about it?
@CatPlusPlus maybe. But it's easy
 
9:56 PM
What's easy?
 
Ell
I don't like gui, it's the crossover between code and data which is icky imho
 
your mom HTML and CSS
 
Layouting in HTML is very manual
 
@CatPlusPlus and never works the same on 2 browsers unless you've mastered all the BS
 
gah, librocket... has a ROCKET_BREAK breakpoint macro thing. which uses inline asm. which isn't supported in msvc targetting 64bit.
 
9:57 PM
@melak47 I love that asm breakpoint. Change it to _CrtDbgBreak() ;)
 
I've never found HTML to be easier than a proper GUI language
 
@melak47 This shit is tight.
 
@Ell Depends.
 
@CatPlusPlus what's a proper GUI language?
 
@BartekBanachewicz XAML.
 
9:58 PM
@BartekBanachewicz asm :)
 
Xeo
@FredOverflow I have a feeling I should know, but sorry, no clue.
 
Even if you disregard the issue with multiple browsers always doing different things
 
Xeo
Oh wait.
 
uh, actually rocket uses RML
 
@Xeo It's a zip with dollar, a.k.a. zipWith ($).
 
9:58 PM
@BartekBanachewicz you should be using assert instead of if (cond) _CrtDbgBreak();
 
Xeo
@FredOverflow Yeah, typing out the $1 actually got me on that path.
 
assert is crap
It breaks into CRT
I want to break at the callsite
 
@Xeo I'm gonna use that picture as a model for my marriage cake :)
 
make a proper macro. sure you can do that
 
Xeo
@CatPlusPlus Assert, get call stack, print to debug window, double-click on any function, jump there! :)
@FredOverflow lol
 

« first day (857 days earlier)      last day (4074 days later) »