• What Are You Working On August 2012
    2,271 replies, posted
[QUOTE=Lexic;37426571]You don't mean that you'll be forced to [I]actually program something[/I] for once???[/QUOTE] in a shitty language
[QUOTE=Lexic;37426571]You don't mean that you'll be forced to [I]actually program something[/I] for once???[/QUOTE] I actually checked to see if the poster was Mr. T.
[QUOTE=Jookia;37426631]I actually checked to see if the poster was Mr. T.[/QUOTE] I think Mr T might be a more productive person than Jamie. He's at least made a Hello World program after all.
God damn it, now that I got used to GLSL I loath structs in every other language. Why can't we have such nice things like this in C++? [cpp]x.rgba = y.abgr;[/cpp]
[QUOTE=Lexic;37426674]I think Mr T might be a more productive person than Jamie. He's at least made a Hello World program after all.[/QUOTE] [IMG]https://dl.dropbox.com/u/34137666/ShareX/2012-08-27_13-09-50.png[/IMG]
[QUOTE=voodooattack;37426688]God damn it, now that I got used to GLSL I loath structs in every other language. Why can't we have such nice things like this in C++? [cpp]x.rgba = y.abgr;[/cpp][/QUOTE] Firstly you can with the shuffle instructions exposed via your compilers vector extensions or builtins. Secondly it's not at all a struct, it's a vector. [url]http://en.wikipedia.org/wiki/Vector_processor[/url] Thirdly yes that would be awesome.
[QUOTE=voodooattack;37426688]God damn it, now that I got used to GLSL I loath structs in every other language. Why can't we have such nice things like this in C++? [cpp]x.rgba = y.abgr;[/cpp][/QUOTE] [url=http://glm.g-truc.net/api-0.9.2/a00002.html]You can psuedo-swizzle in GLM[/url]. Why would you want to do it elsewhere though?
[QUOTE=geel9;37422384]So TF2Scrap is doing so well that our servers literally can't handle it. This is a terribly wonderful problem to have.[/QUOTE] [img]http://www.niggaupload.com/images/W6gb.png[/img]
[QUOTE=geel9;37426204]Thank you for that entirely warranted and constructive reply.[/QUOTE] judging by your front end code, I'm probably not wrong
[QUOTE=swift and shift;37427120]judging by your front end code, I'm probably not wrong[/QUOTE] [quote=Neil Gaiman]I know that this is the internet, and we’re all anonymous and all that, but really. It doesn’t hurt to try to be nice.[/quote] I'm mucking about with the Android SDK again now that I've actually got a phone to test it on. I wish documentation for this stuff wasn't so long-winded. Doesn't help me concentrate, especially since I'm trying to kick the coffee habit. v:v:v
but he isn't anonymous
[QUOTE=esalaka;37427599]but he isn't anonymous[/QUOTE] Not really, but we're in a place where we aren't particularly accountable for our actions or what we say to other people. Hence efex being a fag, kopimi being told to commit suicide, etc.
Had a quick look at the android sdk today, they seem to have changed it quite a bit, much more usable, have no real use for it atm but good to know its usable now. BTW if anyone wants to develop holo aps without the ICS dependency I found this project: [url]https://github.com/ChristopheVersieux/HoloEverywhere[/url]
[QUOTE=qqqqqqqq;37426789]Firstly you can with the shuffle instructions exposed via your compilers vector extensions or builtins. Secondly it's not at all a struct, it's a vector. [url]http://en.wikipedia.org/wiki/Vector_processor[/url] Thirdly yes that would be awesome.[/QUOTE] A vector is generally a struct in C++. But I get your point. :v: [QUOTE=Lexic;37426835][url=http://glm.g-truc.net/api-0.9.2/a00002.html]You can psuedo-swizzle in GLM[/url]. Why would you want to do it elsewhere though?[/QUOTE] Because it'd make things way easier? Here's a scenario: Rendering engine has a vector class, physics engine has a different vector class. Now every time something changes you'll have to do: [cpp]vector1 = vector1 (vector2.x, vector2.y, vector3.z)[/cpp] Why not: [cpp]vector1.xyz = vector2.xyz[/cpp] It'd be kind of doable if C++ offered extension methods (coupled with some template magic and operator overloading). Too bad it doesn't. :|
[IMG]http://i49.tinypic.com/11ig7jo.png[/IMG] I love finding out handy keyboard shortcuts.
[QUOTE=voodooattack;37427718]A vector is generally a struct in C++.[/QUOTE] Only if you're doing it wrong. [editline]28th August 2012[/editline] [QUOTE=voodooattack;37427718] Here's a scenario: Rendering engine has a vector class, physics engine has a different vector class. Now every time something changes you'll have to do: [cpp]vector1 = vector1 (vector2.x, vector2.y, vector3.z)[/cpp] Why not: [cpp]vector1.xyz = vector2.xyz[/cpp] It'd be kind of doable if C++ offered extension methods (coupled with some template magic and operator overloading). Too bad it doesn't. :|[/QUOTE] This isn't a very good example and is really just a case of working around horrific design. Your first example involving colour format conversions is much better. [editline]28th August 2012[/editline] Actually here's a better but still simple example. [cpp] static inline vec4 sg_vec4_dot(vec4 lhs, vec4 rhs) { vec4 temp0 = _mm_mul_ps(lhs, rhs); vec4 temp1 = _mm_shuffle_ps(temp0, temp0, _MM_SHUFFLE(1,0,3,2)); vec4 temp2 = _mm_add_ps(temp0, temp1); vec4 temp3 = _mm_shuffle_ps(temp2, temp2, _MM_SHUFFLE(2,3,0,1)); return _mm_add_ps(temp2, temp3); } [/cpp] It'd be much nicer if it could look like [cpp] static inline vec4 sg_vec4_dot(vec4 lhs, vec4 rhs) { vec4 temp0 = _mm_mul_ps(lhs, rhs); vec4 temp1 = temp1.yxwz; vec4 temp2 = _mm_add_ps(temp0, temp1); vec4 temp3 = temp2.zwxy; return _mm_add_ps(temp2, temp3); } [/cpp] And yes I have been too lazy to generate swizzle functions.
I absolutely love AIDE. I had a bug in the app I posted yesterday. It only showed one day instead of two. I can't debug that at home though because today disappears from the list as soon as I stop working. So I just installed AIDE and with like 3 clicks it automatically downloaded the Eclipse project from my Dropbox and configured it. I added a bit more logging, recompiled and found the problem with aLogcat within a minute, fixed it right on my device and uploaded it back to Dropbox. [t]http://imgur.com/7exDW.png[/t]
[QUOTE=Nigey Nige;37427725][IMG]http://i49.tinypic.com/11ig7jo.png[/IMG] I love finding out handy keyboard shortcuts.[/QUOTE] apparently that also opens the bookmark manager in chrome, which is pretty handy considering chrome doesn't have the best way of managing bookmarks upfront
[QUOTE=swift and shift;37427120]judging by your front end code, I'm probably not wrong[/QUOTE] I don't touch the front end code.
AIDE looks really cool indeed, I'm going to give it a try.
How big are your phones that you can use an IDE on them? Theres no way i could use one comfortably
[QUOTE=Richy19;37428348]How big are your phones that you can use an IDE on them? Theres no way i could use one comfortably[/QUOTE] I think you're supposed to connect a keyboard. Either that or someone's found a way to turn cheeto dust into magical finger-lubricant that glides programmers' hands nimbly across tiny virtual keyboards to spin bits into glistening, funny-smelling code.
[QUOTE=voodooattack;37427718]Because it'd make things way easier? Here's a scenario: Rendering engine has a vector class, physics engine has a different vector class. Now every time something changes you'll have to do: [cpp]vector1 = vector1 (vector2.x, vector2.y, vector3.z)[/cpp] Why not: [cpp]vector1.xyz = vector2.xyz[/cpp][/QUOTE] [cpp]class myvector1 : public vector1 { public: myvector1(float x, float y, float z) : vector1(x, y, z) { // . . . } myvector1(vector2 vec) : vector1(vec.x, vec.y, vec.z) { // . . . } myvector1& operator=(vector2 vec) { x = vec.x; y = vec.y; z = vec.z; return *this; } operator vector2() { return vector2(x, y, z); } }; myvector1 vec = function_returning_vector2(); function_needing_vector1(vec); function_needing_vector2(vec); [/cpp] v:v:v (Probably messed up the syntax a little there)
facepunch for android seems to have been released? [url]https://play.google.com/store/apps/details?id=com.russellsoftworks.facepunch&feature=search_result[/url]
[b]It's the last day to vote for my Sim Trader Application for Win8, so if anyone is a kind gentlemen please go here:[/b] [url]http://codercharts.com/hackathon/windows-8-online-app-a-thon/team/byte-code-canada[/url]
[QUOTE=Amiga OS;37428784]Not Holo, 3/10 would not fuck.[/QUOTE] Waiting on Overv's FP App!
[QUOTE=Richy19;37428348]How big are your phones that you can use an IDE on them? Theres no way i could use one comfortably[/QUOTE] 4.3'' is large enough to be usable. It's slow as fuck though (not performance wise, just typing and shit) and not very comfortable. It's so incredibly useful that I can live with that.
Just made my first android app, granted its only [url]http://developer.android.com/training/basics/firstapp/starting-activity.html[/url] but still this is so easy, why havent I done this before. Next us is figuring out how the hell to use [url]https://github.com/ChristopheVersieux/HoloEverywhere[/url] as it seems to not work on the emulator, and also I think my laptop doesnt recognise my phone because it has a custom rom, under the available devices it just lists one with ??????????? as the name
I would wait for Overv's app before using Kopimi's. Native views are always going to be sexier and faster than an HTML view.
[QUOTE=helifreak;37426215]Does it count as a menu with just one button?[/QUOTE] Yeah.
Sorry, you need to Log In to post a reply to this thread.