RuneJensen Posted October 5, 2004 Report Share Posted October 5, 2004 Here is a Screenshot of the first piece of software I have ever made for Linux, a fairly simple program that simulates the stock market. I used Gambas, which I found a lot easier to use than the QT3 and KDevelop that Mandrake include in their packages. Does anyone one know how to make a rpm? Or at least how to make it possible for others to use stuff that I make? Or does anyone know how to fix my printer? http://mandrakeusers.org/index.php?showtopic=19181 Quote Link to comment Share on other sites More sharing options...
devries Posted October 5, 2004 Report Share Posted October 5, 2004 Why make a program that simulates the stockmarket? I think you would be better of when you made a program that predicts the market. :D Quote Link to comment Share on other sites More sharing options...
spinynorman Posted October 5, 2004 Report Share Posted October 5, 2004 http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo. B) Just post briefly in your printer thread to get it back on top of the pile. :) Quote Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted October 5, 2004 Report Share Posted October 5, 2004 Is the program linked online to get the newest info on the stock market? (If it's possible though) .:=The AI Dude=:. Quote Link to comment Share on other sites More sharing options...
adamw Posted October 5, 2004 Report Share Posted October 5, 2004 the latest information *costs*. an hour or so old is free, though. :) Quote Link to comment Share on other sites More sharing options...
RuneJensen Posted October 6, 2004 Author Report Share Posted October 6, 2004 spinynorman Thanks for helping out. I found a “make rpm”-function in the Gambas program. Unfortunately, it seems like the applications that I make in Gambas will not install on computers that don't have Gambas themselves. From the .spec file of the RPM: ... Requires: gambas-runtime >= 0.95,gambas-runtime <= 1.0,gambas-gb-qt >= 0.95,gambas-gb-qt <= 1.0 ... I think that a standard Linux installation should contain a BASIC compiler in addition to the g++, as there are a lot of people like myself who have used Visual Basic, if only to make Excel macros. devries I think I would have kept it to myself if I figured out a way to predict the marked :) There are however some simple rules that seems to apply, but usually not in a degree that would cover transaction costs. Like for instance the fact that markets go up on Mondays and down on Fridays. (Buying shares when the market closes on Friday evening is more risky as one usually have to hold them in 2 days no matter what happens). Quote Link to comment Share on other sites More sharing options...
devries Posted October 6, 2004 Report Share Posted October 6, 2004 I think I would have kept it to myself if I figured out a way to predict the marked Does this mean you haven't found a way to predict the market or that you have, and are not telling :D Quote Link to comment Share on other sites More sharing options...
RuneJensen Posted October 6, 2004 Author Report Share Posted October 6, 2004 The game generates all the numbers internally and is not linked to anything online. Using real-world data would make it impossible to play the game when the markets are closed, and would also probably be to slow to make the game “playable”. I think it is possible though, and might be useful if I would want to rebuild the program to analyze historical stock trends. Quote Link to comment Share on other sites More sharing options...
RuneJensen Posted October 6, 2004 Author Report Share Posted October 6, 2004 I think I would have kept it to myself if I figured out a way to predict the marked Does this mean you haven't found a way to predict the market or that you have, and are not telling :D <{POST_SNAPBACK}> I wish I had :) Quote Link to comment Share on other sites More sharing options...
Gowator Posted October 6, 2004 Report Share Posted October 6, 2004 if you do make sure to let me know.... p.s. its great to just start coding on something... you can read all the books in the word but actually doing it is what counts! Quote Link to comment Share on other sites More sharing options...
RuneJensen Posted October 16, 2004 Author Report Share Posted October 16, 2004 if you do make sure to let me know.... p.s. its great to just start coding on something... you can read all the books in the word but actually doing it is what counts! <{POST_SNAPBACK}> Coding is great, but takes a lot of time when one gets started :D I managed to compile the game in Windows, and I have made it available for download at this location: http://www.genepool.biz/ . I still haven’t been able to find a real basic compiler for Linux, but the mono-project looks very promising: http://www.go-mono.com . Installing it is quite hard at this stage though… Quote Link to comment Share on other sites More sharing options...
iphitus Posted October 16, 2004 Report Share Posted October 16, 2004 There ought to be mono rpms around.. Mono isn't basic, mind you, it's C# Quote Link to comment Share on other sites More sharing options...
RuneJensen Posted October 17, 2004 Author Report Share Posted October 17, 2004 There ought to be mono rpms around..Mono isn't basic, mind you, it's C# <{POST_SNAPBACK}> It comes with a visual basic compiler in addition to the C# : http://www.go-mono.com/mbas.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.