Well I personally, for scripting languages, find myself going to python a lot. It compliments my two main languages, Java and C nicely. For what I do, holistically speaking, it its the most practical.
[QUOTE=ief014;39924010]the future is here
[cpp]
#include <iostream>
int main()
{
for (int i = 0; i < 300; ++i)
{
if (i%2 == 0)
std::cout << "i: " << i << std::endl;
}
}
[/cpp][/QUOTE]
Ugh, -[b]4[/b] spaces? Filthy peasant! You should clearly set your IDE to -2 :v:
[editline]15th March 2013[/editline]
Also, debugging code on my computer, fun when there's no operating system yet
[QUOTE=r0b0tsquid;39924545]Also, debugging code on my computer, fun when there's no operating system yet[/QUOTE]
what
[editline]15th March 2013[/editline]
Oh, wait a second, isn't that for that breadboard compy you made?
BTW I was gonna ask you guys.. I wanna do something complex but cool with java. Gf's parents gave me an old desktop I'm going to put linux on. Anything cool I could do with it?
[editline]15th March 2013[/editline]
Completely experimental machine, willing to do anything on it / to it. Could write something that reqquires fetching data and sending it to the machine, all from my main computer, etc.
[QUOTE=war_man333;39924279]Anyone got any idea on where to get started if I want to program applications for Androids?
Last time I tried that it was horribly complex. I might have downloaded the wrong program for my PC.[/QUOTE]
Download Eclipse and the Android SDK.
The Android Open Source Project has great documentation for setting everything up.
It also contains some great tutorials for application programming
[QUOTE=acpm;39924768]what
[editline]15th March 2013[/editline]
Oh, wait a second, isn't that for that breadboard compy you made?[/QUOTE]
Yeah for the homebrew cpu/computer :) working on screenbuffers and stuff so you can just print to the screen and not care about word wrap or anything, but all my debug output is from 8 LEDs, and they're also linked to the LCD interface.
In login forms such as this: [URL="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTVSE8sH5UiEUJCiAl6VpcYsAQV1eIUtCjBoH0Eu1T0CtMkkJ1TGA"]https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTVSE8sH5UiEUJCiAl6VpcYsAQV1eIUtCjBoH0Eu1T0CtMkkJ1TGA[/URL] and this: [URL="http://support.citrix.com/article/html/images/CTX105647-1.gif"]http://support.citrix.com/article/html/images/CTX105647-1.gif[/URL] the Login button is to the left of the Cancel button. Every time i create such forms, i prefer to place the buttons like this: [Cancel] [Ok]. Is this acceptable in any way? Does it destroy the universe if used?
hell march
[img]https://pbs.twimg.com/media/BFbQ3UICUAAqkLu.jpg:large[/img]
I've been experimenting a lot with the backend of TinyCC. Anyone got some good experience with running C files as scripts?
[QUOTE=war_man333;39924279]Anyone got any idea on where to get started if I want to program applications for Androids?
Last time I tried that it was horribly complex. I might have downloaded the wrong program for my PC.[/QUOTE]
It's not horribly complex at all as long as you can follow directions, their website is excellent for it. [url]http://developer.android.com/sdk/index.html[/url] Start there, then follow the tutorial on setting it up, then work through a few (or all) of the beginner tutorials. Then if you're interested in games look into libgdx or cocos2d or something similar depending on what you need.
[QUOTE=Funley;39925095]In login forms such as this: [URL="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTVSE8sH5UiEUJCiAl6VpcYsAQV1eIUtCjBoH0Eu1T0CtMkkJ1TGA"]https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTVSE8sH5UiEUJCiAl6VpcYsAQV1eIUtCjBoH0Eu1T0CtMkkJ1TGA[/URL] and this: [URL="http://support.citrix.com/article/html/images/CTX105647-1.gif"]http://support.citrix.com/article/html/images/CTX105647-1.gif[/URL] the Login button is to the left of the Cancel button. Every time i create such forms, i prefer to place the buttons like this: [Cancel] [Ok]. Is this acceptable in any way? Does it destroy the universe if used?[/QUOTE]
It's "acceptable" in that it works, but it isn't usable at all. It's recommended that you don't try to do something like that in the exact opposite way from everyone else, since you'll just confuse people.
EDIT: If you're making a product for a right to left language, it might be a better choice if other products use it, but for English and other left to right languages, keep them the normal way.
[QUOTE=Richy19;39912198]Yes but in this case that would be valve, I was justwondering (as people on facepunch oftern contact valve) if there would be anyone specific, or someone thats fairly fast in answering back?[/QUOTE]
You should contact their lawyer for copyright matters. He'd be the one best suited to answer. Otherwise, get your own.
My virtual machine now writes/reads only little endian integers, and so my little assembly language can now be compiled into truly cross-platform binaries (provided you don't use a pdp-11). I haven't been able to test if the cross-platform binaries work yet, since I don't have any available big-endian machines on hand or the drive to go find one.
Started to work on a music player/UI thing using C++ and SDL today. It's coming along quite nicely. [img]http://i.solidfiles.net/5775539335.png[/img]
[QUOTE=Jcw87;39910372]Woops, thought this was the Garry's Mod Lua forum for a moment. derp. Well, i'll try to be helpful anyway.
Assuming you are using Lua, try this:
[url]http://unknownworlds.com/decoda/[/url][/QUOTE]
Awesome IDE... also I found garry :v:
[img]http://i46.tinypic.com/zkl9x4.png[/img]
[QUOTE=war_man333;39924279]Anyone got any idea on where to get started if I want to program applications for Androids?
Last time I tried that it was horribly complex. I might have downloaded the wrong program for my PC.[/QUOTE]
Google has now packaged the Android SDK with Eclipse (an IDE you'll use to make your apps), which you can find [URL="http://developer.android.com/sdk/index.html"]here[/URL]. From there, have a look at the [URL="http://developer.android.com/training/index.html"]training.[/URL]
I made a little juggling game. You control the "hands" with the xbox controller's joysticks and flick them to throw.
[vid]https://dl.dropbox.com/u/1548814/juggle.webm[/vid]
I am terrible at juggling.
Coming out to say I still hate multipart.
[img]http://puu.sh/2iqR2[/img]
I just wanted to create two new branches, clean the master branch and then merge, but it went ALOT more complicated then i expected..
Someone give me something cool to do in java, something, anything! I want to make something in eclipse (on a windows only machine.) At my rents house over spring break, packed my weak computing arsenal which im regretting. Realizing how much I picked up on programming things when I'm bored, should have brought my mini linux box w/ me :C
[QUOTE=Relaxation;39929317]Someone give me something cool to do in java, something, anything! I want to make something in eclipse (on a windows only machine.) At my rents house over spring break, packed my weak computing arsenal which im regretting. Realizing how much I picked up on programming things when I'm bored, should have brought my mini linux box w/ me :C[/QUOTE]
You said java and eclipse, and the 1st thing that fell on my mind was mods for minecraft, try making a nice minecraft mod.
[QUOTE=cartman300;39929328]You said java and eclipse, and the 1st thing that fell on my mind was mods for minecraft, try making a nice minecraft mod.[/QUOTE]
Sadly that still requires an idea.
Someone should help me implement multipart.
doodling up new characters
[img]http://i.imgur.com/34cWm0d.png[/img]
[img]http://i.imgur.com/TWnMyVW.png[/img]
Your art style is good
[editline]16th March 2013[/editline]
There's just a certain quality to it
Messing around with OpenCV again, this time some feature detection and matching.
[media]http://www.youtube.com/watch?v=mM-NgZ_hWq4&feature=youtu.be[/media]
Decided to not go with Octrees but instead doing this as render optimization:
[img]https://dl.dropbox.com/u/41041550/Coding/C%23/OGLFV/meshreconstruction.gif[/img]
I'm trying to figure out how to handle switches in my Lua console.
Should I just pass them as normal arguments? or should I pass them in a table? I could also make a function to check if a switch is set?
Example of all 3 ways:
[url]http://pastebin.com/9yagAeVG[/url]
What do you guys prefer?
io.write(switchA and "A" or (switchB and "B" or normalArg))
[QUOTE=WeltEnSTurm;39932357]io.write(switchA and "A" or (switchB and "B" or normalArg))[/QUOTE]
I think you missed the point of his question.
Also, what you suggested implies that the switches are mutually exclusive - but you can see from Trivkz's code that they are not.
Sorry, you need to Log In to post a reply to this thread.