• What are you working on? January 2012
    3,401 replies, posted
I'm working on an application that gives electron configurations for elements and quantum numbers for single electrons. [t]http://i.imgur.com/7NaN0.png[/t] [t]http://i.imgur.com/xCMFu.png[/t] The combo box lets you select an element, or you can enter a name or atomic number. It's pretty much my first thing of any use using GUI :v:
[QUOTE=Yogurt;34021281]Google doesn't take 30%. They take $.30 + 2.9%.[/QUOTE] [url=http://support.google.com/androidmarket/developer/bin/answer.py?hl=en&answer=112622&topic=15867&ctx=topic]Am I missing something?[/url] Not saying you're wrong, but the linked document appears to conflict with what you're saying, and I can't find much else on it o.O
[QUOTE=Mattz333;34021323]That is very cool, but for some reason my Desire S isn't supported. What sensors does it use?[/QUOTE] Gyroscope, the Desire S doesn't have it. [url=https://market.android.com/details?id=in.vineetsirohi.wallpaper]Wallpapyrus[/url] is free and supports gyroscope-less devices though.
[QUOTE=Yogurt;34021281]Google doesn't take 30%. They take $.30 + 2.9%.[/QUOTE] That's the google checkout fees? I believe that the android market has its own fees associated with it.
Recently I've become addicted to Space Station 13, but BYOND is a utterly terrible engine so I've decided I'm going to make a SS13 remake (obviously this won't end up anywhere but at least it looks nice so have this picture) [img]http://i.imgur.com/0Pnb7.png[/img]
[QUOTE=Octave;34022685]I'm working on an application that gives electron configurations for elements and quantum numbers for single electrons. [t]http://i.imgur.com/7NaN0.png[/t] [t]http://i.imgur.com/xCMFu.png[/t] The combo box lets you select an element, or you can enter a name or atomic number. It's pretty much my first thing of any use using GUI :v:[/QUOTE] Is that Mint 12? [editline]2nd January 2012[/editline] [QUOTE=Dlaor-guy;34023086]Recently I've become addicted to Space Station 13, but BYOND is a utterly terrible engine so I've decided I'm going to make a SS13 remake (obviously this won't end up anywhere but at least it looks nice so have this picture) [img]http://i.imgur.com/0Pnb7.png[/img][/QUOTE] What about Froid 2
[QUOTE=Dlaor-guy;34023086]Recently I've become addicted to Space Station 13, but BYOND is a utterly terrible engine so I've decided I'm going to make a SS13 remake (obviously this won't end up anywhere but at least it looks nice so have this picture) [img]http://i.imgur.com/0Pnb7.png[/img][/QUOTE] The guys that made SS13 are actually doing a remake on a new engine(not sure which). Even so that's pretty cool.
[QUOTE=ZenX2;34023157] What about Froid 2[/QUOTE] It's paused until I find out what's causing the terrible performance.
[QUOTE=ZenX2;34023157]Is that Mint 12? [/QUOTE] No, it's Mint 11
[QUOTE=Dlaor-guy;34023086]Recently I've become addicted to Space Station 13, but BYOND is a utterly terrible engine so I've decided I'm going to make a SS13 remake (obviously this won't end up anywhere but at least it looks nice so have this picture) [img]http://i.imgur.com/0Pnb7.png[/img][/QUOTE] I am interested in this, enough so to help develop it. Add me on steam if you're interested in a programming partner.
Oh god SS13 is such an amazing game. Dlaor if that gets ANYWHERE near as good as SS13 is then I will have your babies.
[QUOTE=Yogurt;34022158][img]https://github.com/c0bra61/libdetector/toggle_watch[/img] Don't mind me[/QUOTE] We won't, don't worry.
So I took a bit of a break from graphical programming and started on something I've wanted to do for a long time; an algebraic calculator. So far I've gotten a basic RPN-based calculator that can handle +, -, * and / operations. Adding more should be very easy, I just haven't gotten around to it yet! [img]http://i.imgur.com/nKv0D.png[/img] When I've added a few more common operators, as well as unary minus and so on, I plan to implement the shunting-yard algorithm to parse "normal" expressions such as "(3 + 5) * 10". [editline]forgot...[/editline] Oh, and it works with floating point numbers. I forgot to show that in my first screenshot! [img]http://i.imgur.com/SaneT.png[/img] No floating point input just yet; my parser doesn't recognise the '.' character yet.
[QUOTE=Robber;34020285]Yes [url]https://market.android.com/details?id=at.robbert.deepand[/url][/QUOTE] Purchased
[img]http://dl.dropbox.com/u/9791791/WreckingBall/1.png[/img] [img]http://dl.dropbox.com/u/9791791/WreckingBall/2.png[/img] [img]http://dl.dropbox.com/u/9791791/WreckingBall/3.png[/img] [img]http://dl.dropbox.com/u/9791791/WreckingBall/4.png[/img] [img]http://dl.dropbox.com/u/9791791/WreckingBall/5.png[/img] [media]http://www.youtube.com/watch?v=y-521pU_fpg&context=C38d9e7bADOEgsToPDskIt4daWdrPcXz_4Y3njjhjX[/media]
[QUOTE=Chris220;34024972]So I took a bit of a break from graphical programming and started on something I've wanted to do for a long time; an algebraic calculator. So far I've gotten a basic RPN-based calculator that can handle +, -, * and / operations. Adding more should be very easy, I just haven't gotten around to it yet! [img]http://i.imgur.com/nKv0D.png[/img] When I've added a few more common operators, as well as unary minus and so on, I plan to implement the shunting-yard algorithm to parse "normal" expressions such as "(3 + 5) * 10". [editline]forgot...[/editline] Oh, and it works with floating point numbers. I forgot to show that in my first screenshot! [img]http://i.imgur.com/SaneT.png[/img] No floating point input just yet; my parser doesn't recognise the '.' character yet.[/QUOTE] You lucky bastard! D: For my Comp Sci class, we have to edit a program that solves RPN to allow it to accept exponents and brackets... I've got the exponents part figured out, but the bracket part really pisses me off. Anyone want to give me some tips if I post the source code given to us? Also, I'm working on a simple text game, so it's not really that awesome, its accepting basic inputs like MOVE, or TAKE now which is really cool :D
[QUOTE=RoflKawpter;34026033]You lucky bastard! D: For my Comp Sci class, we have to edit a program that solves RPN to allow it to accept exponents and brackets... I've got the exponents part figured out, but the bracket part really pisses me off. Anyone want to give me some tips if I post the source code given to us? Also, I'm working on a simple text game, so it's not really that awesome, its accepting basic inputs like MOVE, or TAKE now which is really cool :D[/QUOTE] I was under the impression that one of the major reasons to use RPN was to eliminate the need for brackets! I know you can check for bracket validity using a stack; i.e for each ( you encounter, push a value onto the stack, and for each ) you encounter pop a value off that stack. What those values are, is something you'll have to work out! :D
lint64.c [cpp]/* * lint64.c * Addition of int64/toint64() for Lua 5.1 * Andrew McWatters <me at andrewmcwatters.com> * 2 Jan 2012 21:33:00 */ #include <stdlib.h> #include <string.h> #define lint64_c #include "lua.h" #include "lauxlib.h" #include "lint64.h" /* ** access functions (stack -> C) */ LUA_API int64 lua_tointeger64 (lua_State *L, int idx) { int64 n = *(int64 *)lua_touserdata(L, idx); return n; } /* ** push functions (C -> stack) */ LUA_API void lua_pushinteger64 (lua_State *L, int64 n) { int64 *pn = (int64 *)lua_newuserdata(L, sizeof(int64)); *pn = n; luaL_getmetatable(L, "int64"); lua_setmetatable(L, -2); } LUALIB_API int64 luaL_checkinteger64 (lua_State *L, int narg) { int64 *d = (int64 *)luaL_checkudata(L, narg, "int64"); if (d == NULL) /* avoid extra test when d is not 0 */ luaL_typerror(L, narg, "int64"); return *d; } static int int64___eq (lua_State *L) { lua_pushboolean(L, lua_tointeger64(L, 1) == lua_tointeger64(L, 2)); return 1; } static int int64___tostring (lua_State *L) { char d[21]; sprintf_s(d, 21, "%lld", luaL_checkinteger64(L, 1)); lua_pushfstring(L, "%s", d); return 1; } static const luaL_Reg int64meta[] = { {"__eq", int64___eq}, {"__tostring", int64___tostring}, {NULL, NULL} }; static int toint64 (lua_State *L) { // Andrew; ew. lua_pushinteger64(L, _atoi64(luaL_checkstring(L, 1))); return 1; } static const luaL_Reg int64_funcs[] = { {"toint64", toint64}, {NULL, NULL} }; /* ** Open int64 object */ int luaopen_int64 (lua_State *L) { luaL_newmetatable(L, "int64"); luaL_register(L, NULL, int64meta); lua_pushvalue(L, -1); /* push metatable */ lua_setfield(L, -2, "__index"); /* metatable.__index = metatable */ lua_pushstring(L, "int64"); lua_setfield(L, -2, "__type"); /* metatable.__type = "int64" */ luaL_register(L, "_G", int64_funcs); lua_pop(L, 2); return 1; } [/cpp] :(
Spoilers!
[lua]require( "lopensteamworks" ) local chatID = CSteamID() chatID:SetFromUint64( toint64( "103582791430091926" ) ) local hSteamPipe = ISteamClient012.CreateSteamPipe(); local hSteamUser = ISteamClient012.ConnectToGlobalUser(hSteamPipe); local steamFriends = ISteamClient012.GetISteamFriends( hSteamUser, hSteamPipe ); steamFriends:JoinClanChatRoom( chatID ) [/lua] :) [editline]2nd January 2012[/editline] [QUOTE=amcfaggot;34027508]lint64.c :([/QUOTE] Whoops, I used my __type check for inheritance there, I should be using luaL_checkudata. [editline]2nd January 2012[/editline] Fixed, updated the post above
Beginning work on my MMO again I changed a shitload of variables to private and made Gets/Sets. It was a bitch changing all the code. [IMG]http://img441.imageshack.us/img441/7325/gtclientexe201201030047.png[/IMG]
[QUOTE=thisBrad;34028528]Beginning work on my MMO again I changed a shitload of variables to private and made Gets/Sets. It was a bitch changing all the code. [IMG]http://img441.imageshack.us/img441/7325/gtclientexe201201030047.png[/IMG][/QUOTE] Love the art style, whoever did it should get an award of some kind.
[QUOTE=thisBrad;34028528]Beginning work on my MMO again I changed a shitload of variables to private and made Gets/Sets. It was a bitch changing all the code. [IMG]http://img441.imageshack.us/img441/7325/gtclientexe201201030047.png[/IMG][/QUOTE] Is it just me, or does his body look like a ball-sack?
[QUOTE=Naarkie;34028636]Is it just me, or does his body look like a ball-sack?[/QUOTE] I BEG TO DIFFER (Hi Facepunch the Artist for this MMO here), This is a Neck with 2 Thighs D:<... Now that i look at it... it kinda does... when there is no equips...
[QUOTE=Tezzanator92;34022819]That's the google checkout fees? I believe that the android market has its own fees associated with it.[/QUOTE] Did a bit more digging for anyone that cares (I wanted to know anyway), and google checkout has a separate transaction fee for transactions via the android market, which is 30%. The 2.9% + $0.30 or whatever is for standard google checkout transactions, not android. [url]http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=89800[/url]
Because videos are better: Be warned, it has audio (it captured my desktop audio) [vid]http://triebr.com/Out.ogg[/vid]
[QUOTE=thisBrad;34028852]Because videos are better: Be warned, it has audio (it captured my desktop audio) -vid-[/QUOTE] Artwork and the animation style sort of looks like Squeebs. Nonetheless, great job.
[QUOTE=thisBrad;34028528]Beginning work on my MMO again I changed a shitload of variables to private and made Gets/Sets. It was a bitch changing all the code. [IMG]http://img441.imageshack.us/img441/7325/gtclientexe201201030047.png[/IMG][/QUOTE] why is the torso a nutsack?
[QUOTE=thisBrad;34028528]Beginning work on my MMO again I changed a shitload of variables to private and made Gets/Sets. It was a bitch changing all the code. [IMG]http://img441.imageshack.us/img441/7325/gtclientexe201201030047.png[/IMG][/QUOTE] The torso is a scrote Remove the thighs, just make it one blob.
Added saving and loading to and from JSON to my editor. Everything is loaded from the maps folder, except protected levels. It also defaults to a random entrance, exit or waypoint if they haven't been placed by the player. [t]http://i.imgur.com/rACAS.png[/t] [code]{ "platform" : "8,7,6,14,22,30,28,29,20,12,4,5,31,32,24,40,48,47,46,54,62,63,64,53,52,51,50,42,34,18,26,19,3,2,1,9,17,41,49,57,58" "bridge" : "8N,7N,6N,5N,4E,12E,14E,6E,22E,30N,29N,28W,19N,20N,18E,26E,34E,42E,50S,51S,52S,53S,54E,54W,62S,63S,46S,47S,48W,40W,32W,32N,31N,4N,3N,2N,1E,9E,17S,42N,41E,49E,57S" "entrance" : "random" "exit" : "random" "waypoint" : "random" }[/code]
Sorry, you need to Log In to post a reply to this thread.