Page 1 of 2 [ 17 posts ]  Go to page 1, 2  Next

Moog
Veteran
Veteran

User avatar

Joined: 25 Feb 2010
Age: 45
Gender: Male
Posts: 17,671
Location: Untied Kingdom

19 Aug 2011, 9:23 am

I'm thinking about creating my own programs.

What I really want is something that can lookup data from tables to create uh, profiles I guess, then do comparisons through time and then notify me (print a message) when certain conditions are met.

Does that make any sense? I don't know the lingo.

Anyway, I believe that could actually be quite a simple programming job.

Are there any ways for an absolute beginner to get programming simple stuff quite quickly (and cheaply)? What tools do I need? Any other advice?


_________________
Not currently a moderator


Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

19 Aug 2011, 10:34 am

Moog wrote:
I'm thinking about creating my own programs.

What I really want is something that can lookup data from tables to create uh, profiles I guess, then do comparisons through time and then notify me (print a message) when certain conditions are met.

Does that make any sense? I don't know the lingo.

Anyway, I believe that could actually be quite a simple programming job.

Are there any ways for an absolute beginner to get programming simple stuff quite quickly (and cheaply)? What tools do I need? Any other advice?

Depends on how you want to do it.
Im assuming this will be client side?
Or will it be a server side script?
What language will you be using?
Dont know?
C++ should do the job nicely



FearOfMusic
Veteran
Veteran

User avatar

Joined: 3 Jun 2011
Age: 37
Gender: Male
Posts: 638

19 Aug 2011, 11:56 am

Python might be a nice place to start. I would recommend it because it comes with most everything you need to get going, its free, and there are plenty of good online tutorials and documentation to get you started. The official python tutorial is a nice place to start if you have never programmed before, it is easy to follow and somewhat interactive. Python gives you lots of choices as how to write programs, which is good for beginners, you really only need to learn a subset of the language to get started.


_________________
((12+144+20+3*(4^(1/2)))/7)+5*11 = (9^2) + 0


Oodain
Veteran
Veteran

User avatar

Joined: 30 Jan 2011
Age: 34
Gender: Male
Posts: 5,022
Location: in my own little tamarillo jungle,

19 Aug 2011, 1:25 pm

python is a great start +1

it runs everywhere, its easy to get started and fast to write in.
it will allow you to easily move on to other languages so in reality there is no bad choice when it comes to learning languages (well debatable but still)


_________________
//through chaos comes complexity//

the scent of the tamarillo is pungent and powerfull,
woe be to the nose who nears it.


AngelKnight
Veteran
Veteran

User avatar

Joined: 3 May 2011
Age: 48
Gender: Male
Posts: 749
Location: This is not my home; I'm just passing through

19 Aug 2011, 1:25 pm

FearOfMusic's suggestion is a nice low-friction way to get started, that should be doable. If you have access to a computer that can browse the web, you can probably get through installing Python, then getting started in the tutorial.



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 69,059
Location: Over there

19 Aug 2011, 5:14 pm

Moog wrote:
What I really want is something that can lookup data from tables to create uh, profiles I guess, then do comparisons through time and then notify me (print a message) when certain conditions are met.
Unless you need this to be highly dynamic (ie. will pressing a button to get results be Ok) and linked to several complicated database structures, it seems to me that you could do it in a spreadsheet or two.
Any spreadsheet worth its salt will include row and column lookups, data comparison, range checking etc. as well as the obvious calculation abilities.
You'd have the advantage of near instantaneous results after little more than a bit of tinkering about, and if it was ever required you'd still be able to export your data in a different format for a more typical sort of database program.

You may need to write some macros to smarten things up but that's no more complicated than BASIC and pretty close to spoken English, and the support required to write, test and debug macros is a part of the spreadsheet so there's nothing extra to tack on.
You can get a free and compatible replacement for Microsoft Office here: http://download.openoffice.org/
This also includes a database, if you need to go that far.
Section details: http://www.openoffice.org/product/


Having to learn an entire programming language - especially something like C++ which is pretty terse at times, but even Python - is much less than half the battle (and that's surely much bigger than it need be already) because having learned the language, you'd now have to learn how to use whatever libraries are required to implement database functionality.
The ability to use libraries at all will require its own special knowledge, and having mastered that you'd then need a detailed understanding of how whatever database method you've chosen works and is put together, and that will require an entertaining diversion into the exciting realms of the care and feeding of data structures.

While it's certainly possible and undoubtedly satisfying to build a two-storey log cabin given nothing more than a packet of tree seeds, a patch of land and a pound of nails - but no plans and no building experience, I can't help feeling that it would be more quickly productive for you to go out and get a flat-pack one from Ikea.
That's where the spreadsheet would come in. :wink:


_________________
Giraffe: a ruminant with a view.


oceandrop
Deinonychus
Deinonychus

User avatar

Joined: 9 Jul 2011
Gender: Male
Posts: 398

19 Aug 2011, 5:38 pm

Python +1.

VBA within excel may also do what you want for this particular project, but python will grow with you for all kinds of different projects.



Moog
Veteran
Veteran

User avatar

Joined: 25 Feb 2010
Age: 45
Gender: Male
Posts: 17,671
Location: Untied Kingdom

19 Aug 2011, 7:19 pm

Cornflake wrote:
Moog wrote:
What I really want is something that can lookup data from tables to create uh, profiles I guess, then do comparisons through time and then notify me (print a message) when certain conditions are met.
Unless you need this to be highly dynamic (ie. will pressing a button to get results be Ok) and linked to several complicated database structures, it seems to me that you could do it in a spreadsheet or two.
Any spreadsheet worth its salt will include row and column lookups, data comparison, range checking etc. as well as the obvious calculation abilities.
You'd have the advantage of near instantaneous results after little more than a bit of tinkering about, and if it was ever required you'd still be able to export your data in a different format for a more typical sort of database program.

You may need to write some macros to smarten things up but that's no more complicated than BASIC and pretty close to spoken English, and the support required to write, test and debug macros is a part of the spreadsheet so there's nothing extra to tack on.
You can get a free and compatible replacement for Microsoft Office here: http://download.openoffice.org/
This also includes a database, if you need to go that far.
Section details: http://www.openoffice.org/product/


Having to learn an entire programming language - especially something like C++ which is pretty terse at times, but even Python - is much less than half the battle (and that's surely much bigger than it need be already) because having learned the language, you'd now have to learn how to use whatever libraries are required to implement database functionality.
The ability to use libraries at all will require its own special knowledge, and having mastered that you'd then need a detailed understanding of how whatever database method you've chosen works and is put together, and that will require an entertaining diversion into the exciting realms of the care and feeding of data structures.

While it's certainly possible and undoubtedly satisfying to build a two-storey log cabin given nothing more than a packet of tree seeds, a patch of land and a pound of nails - but no plans and no building experience, I can't help feeling that it would be more quickly productive for you to go out and get a flat-pack one from Ikea.
That's where the spreadsheet would come in. :wink:


Actually, that sounds a lot more doable. I already have Open Office, I just couldn't conceive of making it do what I was thinking of.

I think the biggest obstacle I can think of is making the data usable for open office spreadsheet... I'll have to see. Maybe I'll come back with another problem soon :lol:

Thanks for the suggestions everyone, I might have a look at this python thingy anyway.


_________________
Not currently a moderator


Oodain
Veteran
Veteran

User avatar

Joined: 30 Jan 2011
Age: 34
Gender: Male
Posts: 5,022
Location: in my own little tamarillo jungle,

20 Aug 2011, 6:15 am

actually python is also directly supported by open office, you can use the basic spreadsheets to do most of the work and then use python for the few places where that isnt enough.

grabbing data is a problem i would love to solve as well, what format will you be grabbing from?


_________________
//through chaos comes complexity//

the scent of the tamarillo is pungent and powerfull,
woe be to the nose who nears it.


Moog
Veteran
Veteran

User avatar

Joined: 25 Feb 2010
Age: 45
Gender: Male
Posts: 17,671
Location: Untied Kingdom

21 Aug 2011, 6:31 am

Oodain wrote:
actually python is also directly supported by open office, you can use the basic spreadsheets to do most of the work and then use python for the few places where that isnt enough.

grabbing data is a problem i would love to solve as well, what format will you be grabbing from?


I'm not yet sure actually :lol:

I have a zip file full of weird stuff


_________________
Not currently a moderator


John_lzhc
Hummingbird
Hummingbird

User avatar

Joined: 20 Aug 2011
Age: 36
Gender: Male
Posts: 24

21 Aug 2011, 3:38 pm

If you decide to learn python, there's a really good free course/learning-guide called Learn Python the Hard Way (especially good if your a kinaesthetic learner). I'm going through it at the moment learning python as my first programming language: it assumes no previous programming experience and no tech-expertism, and tells you how to install the interpreter.

p.s. So I tried to post with a link to the site, but I've not got enough posts to do that. Just google 'Learn Python the Hard Way', it'll be one of the first links.



FearOfMusic
Veteran
Veteran

User avatar

Joined: 3 Jun 2011
Age: 37
Gender: Male
Posts: 638

21 Aug 2011, 5:20 pm

Oodain wrote:
actually python is also directly supported by open office, you can use the basic spreadsheets to do most of the work and then use python for the few places where that isnt enough.

grabbing data is a problem i would love to solve as well, what format will you be grabbing from?


I actually did not know open office had bindings to python, this is quite exciting actually. I am going to investigate this soon...


_________________
((12+144+20+3*(4^(1/2)))/7)+5*11 = (9^2) + 0


Oodain
Veteran
Veteran

User avatar

Joined: 30 Jan 2011
Age: 34
Gender: Male
Posts: 5,022
Location: in my own little tamarillo jungle,

21 Aug 2011, 5:48 pm

the open office plugin system is based on python, meaning you can write plugins using the SDK with some limitations, i havent tried yet but i want to see if i can read receipts automatically and input the data, im afraid its impossible without some form of edge detection and i have no idea how to do that.


_________________
//through chaos comes complexity//

the scent of the tamarillo is pungent and powerfull,
woe be to the nose who nears it.


dougn
Veteran
Veteran

User avatar

Joined: 19 Aug 2008
Age: 36
Gender: Male
Posts: 773

21 Aug 2011, 8:10 pm

If you really want to learn programming you might want to have a look at the How to Think Like a Computer Scientist series of books. I've never actually had the time to read one and do the accompanying exercises from beginning to end, but I've read parts of the Java version and liked it, and several people I trust have recommended them. Also, they're free, which is good.

Python version
Java version
C++ version



ruveyn
Veteran
Veteran

User avatar

Joined: 21 Sep 2008
Age: 88
Gender: Male
Posts: 31,502
Location: New Jersey

22 Aug 2011, 10:37 pm

dougn wrote:
If you really want to learn programming you might want to have a look at the How to Think Like a Computer Scientist series of books. I've never actually had the time to read one and do the accompanying exercises from beginning to end, but I've read parts of the Java version and liked it, and several people I trust have recommended them. Also, they're free, which is good.

Python version
Java version
C++ version


Do you know a URL where the material can be downloaded?

ruveyn



mcg
Veteran
Veteran

User avatar

Joined: 26 Jan 2010
Age: 34
Gender: Male
Posts: 538
Location: Sacramento

22 Aug 2011, 11:26 pm

ruveyn wrote:
dougn wrote:
If you really want to learn programming you might want to have a look at the How to Think Like a Computer Scientist series of books. I've never actually had the time to read one and do the accompanying exercises from beginning to end, but I've read parts of the Java version and liked it, and several people I trust have recommended them. Also, they're free, which is good.

Python version
Java version
C++ version


Do you know a URL where the material can be downloaded?

ruveyn
Those are links at the bottom. The stylesheet for these forums makes links the same color and style as regular text, which is really confusing. Odd that someone would go through the trouble of overriding the default behavior in order to make the forums less useful.