« first day (783 days earlier)      last day (4391 days later) » 

Xeo
Xeo
18:00
#define ignore_odr inline
Cool, I just found out that a lot of our communication runs on gotos. Now, I can no longer say anything bad about that.
What is the standard for window coordinates? 0,0 in the center or 0,0 in the top left corner?
Xeo
Xeo
@Jeffrey There is no standard.
@Xeo, then how do I decide? Personal preference? It quite a big decision to make...
Xeo
Xeo
Go with what your underlying system defines?
Or with what makes most sense for your application?
18:08
For a 2d game...?
Xeo
Xeo
Or just with personal preference.
Ell
Ell
or make a little thing which abstracts it
so you only gots to deal with it they waysis you want to
Ok I think I'll go for 0,0 in the center. It makes more sense to define a world space center to 0,0 rather than widht/2, height/2.
It's always personal preference.
Changing coordinate system is trivial.
You just need to translate coordinates in your space to coordinates in destination space.
@Xeo you got your clang 3.3 with libc++ ready to rumble?
18:12
@Jeffrey I've always seen it in the top left
Default OpenGL coordinate system is (0, 0) in the middle, and axes from -1 to 1.
Xeo
Xeo
@bamboon Sorry, I'm not at my home PC and the laptop I'm on can't run my debian vbox image it seems :s
Usually you can just manipulate the projection matrix you have to render something on demand.
@MooingDuck, yeah me too, that's why I was looking for a "You can't go with 0,0 in the center! Top left is the standard!" type of answer. I'm glad I was wrong.
Quick question, if you guys do multi-compilation, do you guys side-by-side install Linux and other OSes, or just run them in Virtual machines?
18:14
@Xeo lame
Xeo
Xeo
Why?
@ThePhD I run all my compilers on Windows.
Ideally I'd run everything from Linux.
@Xeo I need you to compile something for me ;)
Xeo
Xeo
@ThePhD Since I only have an SSD with 64gig, having multiple OSs on it is not really possible, so I just set up a vbox.
18:14
64GB is plenty for two OSes.
@ThePhD to make things more confusing, I have side-by-side OSX, and a virtual linux.
You can't really run OSX reliably anyway.
Xeo
Xeo
@bamboon To check if it's well-formed or something? I can try compiling it in my brain. :)
@CatPlusPlus Define "reliably".
@MooingDuck I must know how you did the Side-by-side OSX.
18:15
@EtiennedeMartel Non-Apple hardware assumed.
Is bitbucket fucking up for anyone else?
@CatPlusPlus Aaaaah.
I did side-by-side Linux for a long time, but it was fairly.... well. Windows liked to punch GRUB in the face a lot.
But, wait, why would you put OS X on non-Apple hardware?
@ThePhD I bought a mac, used the built in software to make the mac partition like 25GB, then used the built in software to install windows. I recommend virtual machines
Xeo
Xeo
18:16
Anyways, having it on a vbox is handy for quickly switching between platforms.
@MooingDuck Oh. Well then. Bootcamp & friends. I thought you did it in reverse. D:
The only reason I see to have OSX at all is to build OSX software. :v
@ThePhD but that would be illegal ;P
Xeo
Xeo
And a vbox allows snapshots and all that stuff.
Cross-compiling to OSX is pain in the ass
18:16
@CatPlusPlus You know, that's exactly why we have Macs here in the office. Because we need to target iOS.
@CatPlusPlus I mostly use it to keep my firmware up-to-date
Maybe Clang does it better.
And another thing that bothers me: Isn't GL_MODELVIEW just for 3d? (Trust me I've read so much about GL_MODELVIEW and GL_PROJECTION, it's not because I'm lazy that I ask, it's because I'll probably never understand it) I've seen it used to set up a 2d camera. Is it just to be able to use the z axis to zoom?
Well, Clang is cross-platform, right?
@ThePhD ish. Its Windows support is lackluster.
18:17
And supported by Apple, so if you can compile Clang that's a stronger gauruntee than none, right?
@MooingDuck Oh... well then.
The issue is more with libraries.
@CatPlusPlus I don't suppose there's 'Coco for Windows'?
@Xeo ah no, it's nothing fancy. It's just that this ideone.com/Ccsdey doesn't compile with clang/libc++ (Max OSX) for me and I wanted to know whether they fixed it already or if I shall file a bug report.
Last time I checked, cross-compiling with GCC required you to have libraries lifted from OSX, because compiling them too was unreliable.
@ThePhD technically you don't need it to work, it only needs to link.
18:18
That was some time ago though.
I would get a macbook,
If it wasn't 2.8K USD for a development-spec'd computer.
Apple is shit, so I wouldn't think they care much about Clang cross-compiling to OSX.
Xeo
Xeo
@bamboon Ah, that's nothing to do with Clang, though, but rather libc++ not having defined the necessary operator| after they switched to scoped enums, I think
Actually that's an interesting thought, making empty versions of OS APIs to confirm portable compilation without actually running that OS.
We have cross-compilers, you know.
18:20
@MooingDuck Sounds like something you could auto-generate from docs or headers.
@ThePhD yes, it would be
@Xeo yup, errors go into that direction
@Xeo I know. It's something I want to fix.
Does anyone know any redeeming windows 8 features?
Because I'm about to explode the native Windows 8 install I have here.
It's more stable than Windows Millenium?
18:25
That's.... not really compelling, deleting. :D
@ThePhD shortly it will be required for the new games
@MooingDuck Wait what.
Windows tends to release good, bad, good, bad, ...
@ThePhD soon, all the new games that are coming out will require Windows8.
@MooingDuck But.... why?
18:26
@ThePhD that's how the industry works
Oh.
Well then. D:
Aaaaaaaa I forgot to buy tea
@ThePhD Because Windows can release the new version of DirectX for Windows 8 and above.
Nooooooooooooooo.
It's a dirty tactic.
Worse than a dirty tictac.
2
18:27
Most games still support DX9.
Also OpenGL
At least I can still play my VNs on Windows XP.
Ironing is for moms.
@CatPlusPlus There's a fair number of games I want to play that don't. Halo2 for one.
@MooingDuck I don't think so.
18:30
You mean Microsoft game
The industry aims at the largest possible audience. Win8 isn't selling so well right now, especially at the gamer audience.
So, developers targetting the PC will keep targetting Win7.
Hell, we still got games coming out on XP.
@EtiennedeMartel Micorosft gives perks to companies that release games for only the new OS.
I didn't mean all or even most games would require Win8, but some.
@MooingDuck That probably won't be enough.
@EtiennedeMartel I don't think so either for 8, but time will tell.
There are always gimmick games for the NEWEST DIRECTX THAT MAKES IT SO MUCH BETTER
Nobody cares.
18:33
Let's not forget that if the brand new engine you spent years working on works on Win7, you won't remove that compatibility just for some Microsoft perks.
DX9/DX10 has already proven that it's all marketing shit and has no basis in reality.
EA is switching all its games to Frostbite 2, and it's a DX11 engine.
So I guess having Windows 8 shouldn't be too bad.
It's terrible.
DX9 versus DX11 are some serious changes, though.
18:33
Having it makes you terrible.
:c
I don't want to be terrible. I just want to know if Windows 8 runs legitimately well enough to use it for development.
Win8 is like Vista: a great kernel with a crap GUI on top.
Did kernel even change that much
What I dislike with Win8 is that Metro is the default on PCs, despite the fact that it's a GUI that only works well with touch screens.
What's new in Win8 beside that horrible Metro shit?
18:35
DX11.1? Although that was backported to Win7.
@EtiennedeMartel Not entirely. I try to create DX 11.1 contexts and my comp exploded.
@ThePhD I doubt it did. You're probably exaggerating. Humor shall not be tolerated.
@ThePhD mostly DX9 v DX10. DX11 is a superset of DX10.
@EtiennedeMartel But think of the laughs.
Laughs hate you.
18:36
What the hell is SMartScreen Filter...
Sounds like those thingies you put on CRT to not glow at night from all the radiation.
@ThePhD A phishing filter.
OH MY GOD YOUR ANTI ALIASING SUCKS ON THIS INTRO SCREEN TEXT WINDOWS 8.
I can smell the jagged edges.
There's a classic mode for this, right?
Wireframe mode
18:40
Alright, let's uninstall half of Toshiba's tattle-tale garbage...
XCode?
Qt Creator 2.6.0
Haven't used Xcode in a long time. Should give it a try.
@StackedCrooked no
18:46
Well, at least XCode gets it right.
Yeah. I'm surprised.
Yeah. I'm surprised you managed to take that screenshot without Xcode crashing.
0
Q: Java method with many parameters - Performance

Nick RusslerIs it unefficient in terms of computing performance when i use have/use methods with alot (more than hundred) parameters ? I don't mean efficient in terms of maintainability, but only in "raw" computing performance :)

That sounds crazy.. 100 method parameters??? I almost had a minor heart attack. — Rohit Jain 37 mins ago
@Mysticial That's quite the code smell.
@EtiennedeMartel Smell? At this point it's no longer just a smell. It even comes with it's own Gandalf replica to warn the programmers "FLEE! YOU FOOLS!"
18:52
@Borgleader Isn't it "run"?
Liking the Banquise on Facebook might not be the best idea for my sanity.
@EtiennedeMartel youtube.com/watch?v=meOCdyS7ORE Nope
@EtiennedeMartel That looks like the bastard offspring of a pizza and a poutine
@Borgleader Sure looks good.
@Borgleader So, it appears we were both wrong.
I was closer though ;)
0
Q: C++ Function Type?

Cody SmithI'm new to, and learning C++ (know a lot of Java) and the following code confuses me... I know this code fragment is dealing with a pointer-to-function (it's a callback, that makes sense) but what is throwing me off is the argument between the return type and the function name. What the bloody...

most of that question is his writing on a picutre
but actually, it is a good question :/
Well stop being a duck and answer him ;)
18:57
@MooingDuck It might be badly tagged, though, as it seems to be about C.
@EtiennedeMartel The code in the question could be either, though he's clearly working with a C API.
@Borgleader I don't know enough to write a good answer.
Looks like OpenGL. So it's a C API.
I'd read it more carefully but I'm busy being a marmot stomping cow
You will annotations in some compilers with calling conventions. — rerun 1 min ago
I think he's confused why they're using GLFWCALL
18:59
That's wonky.
GLFWCALL is just a calling convetion, AFAICT
GLFW is C.
Nailed it.
I'm so good.
If you want to use it, use GLFW3, because you have to use globals with GLFW2, because it's terrible and doesn't support user-data for callbacks.
Ugh adjusting colliders manually. I'm not going to like level design.
No, wait, I already don't.
Wait, what?
What are you doin', buddy?
19:02
My job sometime involves doing Java, sometimes games in Unity.
Don't ask me how this works.
Oh, the "shotgun" approach to teaching.
Ah, I knew there are keybindings for move/scale/rotate.
It's more tolerable now.
FFFF
Q_Q, no 1920 x 1080.
Only 1600 x 900
Of course there is no way to show two invisible objects but only manipulate one of them.
Not like I have to align them or anything.
I;ve never used Unity.
I've heard a crap ton about it, though.
Is it worth anything?
19:08
You can get something playable fast. I prefer not to think about it on any deeper level.
Okay.
Oh my god WHERE IS MY START MENUU
;~;
Windows 8 fail?
@ThePhD have to press the start key
@DeadMG Unfortunately this comes with Windows 8. I have a Windows 7 Thumbdrive ready to roll, but I can't bash Windows 8 without being subjected to it for a good long while.
Why is collider-top-east on the west and collider-top-west on the east.
This disturbs me greatly.
Now to figure out what collider-base-* does and why it's placed so weird.
19:27
Are you like debugging someone else's game stuff?
Also Mmmmm time to install VS2012 again.
I'm fixing level bounds.
Ah.
Hey crazy people
I replaced models earlier but apparently bounds are still slightly off.
A friend sent me this link: http://wsi-ksa.com/wp-content/themes/wallstreet/google.html. I suspect it's malicous...
19:28
It's Wordpress, so yes
Ah.
I thought it acted strangely.
I can't open the link
That link opens you.
Downloaded via wget. It's contents is <meta http-equiv="refresh" content="0; url=http://marketnewsonline11.com/?12/2">.
So, at least spam.
btw, the build system link with stuff I supposedly assumed is faulty in its premise.
19:31
@StackedCrooked Stuff in arab.
He apparently believes make to be a build system.
1
Q: Single Threaded Async Programming C++11

Josh EliasIs there a way to enable continuations so I could do asynchronous programming on a single thread using C++11? I can't use any 3rd party libraries.

..... Wat.
How.. that's not even possible.
@MooingDuck Windows API is single-threaded async.
The popular children's TV show LazyTown used UE3 during filming to generate virtual sets for real-time integration with footage of actors and puppets performing in front of green screens.
19:34
@StackedCrooked but I bet he wants a pure C++11 solution.
Or JavaScript.
@StackedCrooked ish. There's other threads involved, they're just not yours.
Is there a short notation for std::chrono::duration::milliseconds(10). 10_ms ?
Anyone using MonoDevelop?
@StackedCrooked #define scdm10 std::chrono::duration::milliseconds(10).10_ms
19:41
You're bad at reading.
@CatPlusPlus Why would you want to use MonoDevelop?
Because it's better at line endings than VS
@rubenvb Well, that works. But ..:(
Honestly, if you want to do C#, use VS. Preferably with ReSharper. It's the least bad thing around.
I want to reformat entire solution.
19:42
@StackedCrooked :) C++ is awfully verbose. Maybe an inline function as a shorthand.
I don't have enough RAM to run Chrome, Unity and MSVS together
And VS sucks so
I wanted to know if there is a operator"" defined that evaluates to std::chrono::duration::milliseconds.
Probably not.
Make one yourself.
I'm looking here. But doesn't seem to be there.
I don't think there are any UDLs defined by the standard
Eh, screw reformatting.
I'll clean this crap up some other time.
19:47
@StackedCrooked I'm trying to make one but losing my fight against complete ignorance of boost.
@StackedCrooked because there's no std::chrono::duration::milliseconds type.
does gcc have an equivalent of MSVC /bigobj?
wtf is /bigobj?
@MooingDuck Thanks.
GCC doesn't need it.
@DeadMG /bigobj (Increase Number of Sections in .obj file)
19:52
@DeadMG MSVC by default uses object file format that fails to contain very large code.
ah ok
I bet GCC on Windows does the same
so then it becomes a problem. The option sounds like something I'd enable by default.
@rubenvb why would it do the same?
user142019
@CatPlusPlus I do, sometimes.
user142019
For C#.
19:57
@MooingDuck because it outputs compatible object files.
@rubenvb Not really, no.
Okay. I have Windows 8, VS2012 is installing, and everything seems alright.
Anything else I should get from a Development Standpoint?
@ThePhD Except for the part where you use Win8.
@rubenvb stackoverflow.com/questions/8303536/… shows how to make GCC use the "out" object format

« first day (783 days earlier)      last day (4391 days later) »