• What are you working on? v15
    5,001 replies, posted
Hey, I don't understand how you get "gay" from "optimistic." Are you referring to the fact that optimistic people are usually happy ("gay")?
-snip-
[QUOTE=limitofinf;28006800]Hey, I don't understand how you get "gay" from "optimistic." Are you referring to the fact that optimistic people are usually happy ("gay")?[/QUOTE] No, were getting it from the fact that the icon is a rainbow which usually identifies gay people Google up the gay pride flag to see
[QUOTE=Richy19;28006873]No, were getting it from the fact that the icon is a rainbow which usually identifies gay people Google up the gay pride flag to see[/QUOTE] It's practically a Facepunch tradition by this point.
[QUOTE=Richy19;28006873]No, were getting it from the fact that the icon is a rainbow which usually identifies gay people Google up the gay pride flag to see[/QUOTE] Hence gaybow.
Are you guys seriously discussing whether rainbows are gay? Just stop it right now.
I call for rate everyone optimistic day, starting now :v: [editline]12th February 2011[/editline] On a more serious note, what thelinx said
Optimism!
I take it I am going about writing a neural network the wrong way when I have a class for a Neuron, and it has a list of other Neuron outputs, and a map of Neuron to double inputs, and when it's Recive(Neuron n) function gets called, it looks up the value in the map, increases a variable by it, and if that variable is greater than another variable, call Recive(this) on all of the outputs?
[QUOTE=bekka2712;28005519]put this: [url]http://filesmelt.com/dl/MCServerApp.csproj[/url] Here: MCServer_Working/MCServerApp[/QUOTE] It works, have some rainbows.
I'm trying to learn C++, and I realize that wanting to do this so soon is probably stupid, but could someone tell me how I can draw to the screen, preferable inside a window like I can with java, or unlike that?
Huge Troubles with Collisions and Physics D:
Android game programming was delayed by the power socket on my laptop breaking from the case, meaning any attempt to plug in to charge was met with failure.
[QUOTE=bobthe2lol;28009663]I'm trying to learn C++, and I realize that wanting to do this so soon is probably stupid, but could someone tell me how I can draw to the screen, preferable inside a window like I can with java, or unlike that?[/QUOTE] its probably easiest to use a third party library like SFML or SDL
[QUOTE=bobthe2lol;28008927]I take it I am going about writing a neural network the wrong way when I have a class for a Neuron, and it has a list of other Neuron outputs, and a map of Neuron to double inputs, and when it's Recive(Neuron n) function gets called, it looks up the value in the map, increases a variable by it, and if that variable is greater than another variable, call Recive(this) on all of the outputs?[/QUOTE] :psyduck: Maybe it's because I'm tired but that made no sense to me at all.
Oh, I go to the website, and download it. I'm dumb.
Maybe filling the whole page with rainbows would make them look less gay?
Okay, so I was right. How the hell do I use SFML on ubuntu with monodevelop? Their website is not very helpful, as they say stuff about command line compiling, which I am not doing because im using monodevelop. Is there some other IDE or something else I should use/do?
[QUOTE=bobthe2lol;28010516]Okay, so I was right. How the hell do I use SFML on ubuntu with monodevelop? Their website is not very helpful, as they say stuff about command line compiling, which I am not doing because im using monodevelop. Is there some other IDE or something else I should use/do?[/QUOTE] Sounds like you need to learn the library model in general, then.
[QUOTE=HubmaN;28010656]Sounds like you need to learn the library model in general, then.[/QUOTE] Probably true. Could you elaborate a bit?
[QUOTE=bobthe2lol;28010720]Probably true. Could you elaborate a bit?[/QUOTE] Teach someone how to set up a library for linking in VSC++ and he learns how to do so in VSC++ (and freaks out when the verbiage changes); teach someone how libraries and linking works and with some trial and error he can figure out how to do it in any IDE or compiler+linker or interface to one.
[QUOTE=bobthe2lol;28010720]Probably true. Could you elaborate a bit?[/QUOTE] How about you try the C# version?
[QUOTE=Richy19;28011079]How about you try the C# version?[/QUOTE] Because I want to learn some C++? I got as far as compiling the program successfully, but when I ./ it, it says [code]error while loading shared libraries: libsfml-system.so.1.6: cannot open shared object file: No such file or directory [/code] Any idea why? Am I doing something wrong? I installed all the stuff they said on their website, then I ran make, and sudo make install. When compiling i did g++ main.cpp -lsfml-system.
[QUOTE=HubmaN;28010810]Teach someone how to set up a library for linking in VSC++ and he learns how to do so in VSC++ (and freaks out when the verbiage changes); teach someone how libraries and linking works and with some trial and error he can figure out how to do it in any IDE or compiler+linker or interface to one.[/QUOTE] Or maybe you can stop trying to put some philosophical bullshit swing on it and just tell him.
So, writing a grapher, I've come up with a way to extend the grapher unintrusively, and without an 'addon' type deal. You'll be able to use 'scripting objects' in your math, which will be defined by a scripting language. There won't be any support for 'functions' (not mathematical, I mean, like a classic programming function with a scope and things) or anything like that. It'd work a little like this: [code] 3+sin(4) tokenize: 3 + sin * 4 turn into rpn: 3 sin 4 * + [/code]When this was executed it'd see 'sin' as an identifier and then check the scripts for a sin scripting object, and then it passes 4 to it's multiply function. It then returns a number -0.75. This could be used for various things, like input, time, etc. Have the graph modified if say w is down. [code] y = isdown(119)(3) tokenize: y = isdown * ( 119 ) * ( 3 ) rpn: isdown 119 * 3 * [/code]isdown's multiply function would return 0 or 1 if the ASCII character multiplied with it was down. So y would be 0 if w is up and 3 if it's down. I'd enjoy comments on this, problems I might run into that I'm not seeing, stuff like that.
[QUOTE=bobthe2lol;28011502]Because I want to learn some C++? I got as far as compiling the program successfully, but when I ./ it, it says [code]error while loading shared libraries: libsfml-system.so.1.6: cannot open shared object file: No such file or directory [/code] Any idea why? Am I doing something wrong? I installed all the stuff they said on their website, then I ran make, and sudo make install. When compiling i did g++ main.cpp -lsfml-system.[/QUOTE] Why are you using monodevelop then? Anyway, take it your on linux. download this [url]http://downloads.sourceforge.net/sfml/SFML-1.6-dev-linux-32.tar.gz[/url] unzip it to whatever foldder you want. go in the lib folder and remove the ".1.6" from the end of the files so it just ends in .so and link it wit your IDE I suggest you change to codeblocks and follow this [url]http://www.sfml-dev.org/tutorials/1.6/start-cb.php[/url] The linux versions seem to be always static so you just use [quote] -lsfml-graphics -lsfml-window -lsfml-system[/quote]
Richy Monodevelop is a great IDE...
[QUOTE=Richy19;28011862]Why are you using monodevelop then? Anyway, take it your on linux. download this [url]http://downloads.sourceforge.net/sfml/SFML-1.6-dev-linux-32.tar.gz[/url] unzip it to whatever foldder you want. go in the lib folder and remove the ".1.6" from the end of the files so it just ends in .so and link it wit your IDE I suggest you change to codeblocks and follow this [url]http://www.sfml-dev.org/tutorials/1.6/start-cb.php[/url] The linux versions seem to be always static so you just use[/QUOTE] First, I *was* using monodevelop, but I couldn't figure out how to add parameters to the compiler so i tried it with the command line. And I would use code::blocks, but I can't figure out how to install it on ubuntu! I looked at their wiki "how to install codeblocks nightly build" but in the thread for each build there weren't any linux files. Edit: oh. Its in the apt-get repo...
Hey, [QUOTE=Jawalt;28011689]So, writing a grapher, I've come up with a way to extend the grapher unintrusively, and without an 'addon' type deal. You'll be able to use 'scripting objects' in your math, which will be defined by a scripting language. There won't be any support for 'functions' (not mathematical, I mean, like a classic programming function with a scope and things) or anything like that. It'd work a little like this: [code] 3+sin(4) tokenize: 3 + sin * 4 turn into rpn: 3 sin 4 * + [/code]When this was executed it'd see 'sin' as an identifier and then check the scripts for a sin scripting object, and then it passes 4 to it's multiply function. It then returns a number -0.75. This could be used for various things, like input, time, etc. Have the graph modified if say w is down. [code] y = isdown(119)(3) tokenize: y = isdown * ( 119 ) * ( 3 ) rpn: isdown 119 * 3 * [/code]isdown's multiply function would return 0 or 1 if the ASCII character multiplied with it was down. So y would be 0 if w is up and 3 if it's down. I'd enjoy comments on this, problems I might run into that I'm not seeing, stuff like that.[/QUOTE] How would you deal with functions with multiple arguments? Using your current method, each function would have to return a proxy that would handle the following argument, and that would probably get very messy.
[QUOTE=limitofinf;28011944]Hey, how would you deal with functions with multiple arguments? Using your current method, each function would have to return a proxy that would handle the following argument, and that would probably get very messy.[/QUOTE] Or it could just return itself. Each scripting object will be a new 'instance' of the global one, allowing you to return the same object.
Sorry, you need to Log In to post a reply to this thread.