Join us at IRC!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Friday, May 25, 2012
Navigation
Members Online
Total Online: 33
Web Spiders: 15
Guests Online: 30
Members Online: 3

Registered Members: 70220
Newest Member: borsche_1110
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Page 1 of 3 1 2 3 >
Author

What should I code? - Hello, World and beyond...

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 10-01-10 15:44
When I start to learn to code in a new language, I can never think of any way to practise it, since I rarely learn it with a particular task in mind, so I thought I'd start a thread with a list of suggestions.

Some times I resort to looking through the code bank for what others have done.

I thought I'd roughly split them into suggested types and easiness (an estimate).

Hello World! goes without saying.

Procedural
Easy:

* Prime number generator - http://en.wikipedia.org/wiki/Prime_number
* Hash cracker - wordlist

Intermediate

* CMS - simple blog style (no users)

Hard

* Hash cracker bruteforce


OOP
Easy

* Address book - with contacts as objects.

Hard

* Boids - http://en.wikipedia.org/wiki/Boids


Perl/Python/Ruby
Easy

HTTP server - pythons basic http server makes it almost too easy.


C
Intermediate

Basic hardware driver - I'd suggest on linux)


misc
[b]php[b]
Intermediate

A FTP/HTTP log desktop widget. - Using gkt

For less general ideas check the thread body

Seeing as I'm stuck for things to do, please post suggestions, and if you know what it's suited to and how difficult. Or just if you don't agree with my choices.



BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.




Edited by wolfmankurd on 11-01-10 16:25
Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: What should I code? - Hello, World and beyond...

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 10-01-10 16:15
well, I would suggest that you write a network application of some sort for the intermediate level, and it can be anything related to computer networks.

I would also suggest you write a game or two, nothing two difficult.

btw, there's no comma in Hello World! most of the tutorials I read don't have that, and even Wikipedia confirms that it is Hello World.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus

catinthecpu@hotmail.com
Author

RE: What should I code? - Hello, World and beyond...

Compromise
Member

Posts: 224
Location:
Joined: 11.11.09
Rank:
Moderate
Warn Level: 30
Posted on 10-01-10 16:20
HTTP server in perl/python.
Write your own driver in C, you'd need to purchase some hardware though.
HTTP/FTP log/statistics output (live) as a desktop widget using php-gtk (Jake used to do this).


CrazySpai
minecraft.net
Author

RE: What should I code? - Hello, World and beyond...

SET
Member

Posts: 380
Location: 0
Joined: 22.02.07
Rank:
Hacker Level 1
Posted on 10-01-10 17:15
Right now i am doing all in one Alternate Registry Editor(medium) / Port Watcher(medium) / Process Controller(hard) / Start-up editor (easy) / Policy Editor (easy) / With automate controls (easy)

Next i am working on a audio editor so you can edit audio based off frequency manipulation for mp3s and wavs. (medium - hard)


ARCSET.com
Author

RE: What should I code? - Hello, World and beyond...

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Hacker Level 1
Posted on 10-01-10 17:28
Compromise wrote:
Write your own driver in C, you'd need to purchase some hardware though.

O.o more info about this would be appreciated. Where do I start (assuming I know C)? :p


@ topic:
PHP/Python:
- Random website generator --> generate random websites depending on given input by user (such as colors).

PHP:
- Create your own forum + admin-panel + login scblockedript





Edited by Demons Halo on 10-01-10 17:32
base_dropper@hotmail.com www.demonshalo.com
Author

RE: What should I code? - Hello, World and beyond...

NotMyFault
Member

Posts: 68
Location:
Joined: 23.12.09
Rank:
Hacker Level 3
Posted on 10-01-10 18:30
Very easy but a calculator for C++ and as an intermediate a calculator with a GUI?

Also Game Of Life wouldn't be too bad?

(This one taken straight from C++ through Game Programming) A word jumble (anagram) game with a scoring system...


Author

RE: What should I code? - Hello, World and beyond...

stealth-
Member



Posts: 999
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 10-01-10 20:59
A good one for python when first learning GUI modules would be a basic text editor of some sort. Eg: have a place to enter the file name and it will retrieve the file and put it into the main textbox. Allow saving and if you wanted to add a bit of a challenge you could include a file browser for the open file function.


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com

Edited by stealth- on 10-01-10 21:01
http://www.stealth-x.com
Author

RE: What should I code? - Hello, World and beyond...

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Hacker Level 1
Posted on 10-01-10 22:56
http://projecteuler.net/

there are lots and lots of problems to be solved on that site =)


base_dropper@hotmail.com www.demonshalo.com
Author

RE: What should I code? - Hello, World and beyond...

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 10-01-10 23:43
fuser wrote:
btw, there's no comma in Hello World! most of the tutorials I read don't have that, and even Wikipedia confirms that it is Hello World.


Thanks guys, I've added some will continue to add them, need to sleep now though!

Mhmmm, well k&r has "Hello, World" don't think it matters too much.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.




Edited by wolfmankurd on 10-01-10 23:48
Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: What should I code? - Hello, World and beyond...

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 11-01-10 03:51
what? SET is also working on a registry editor? just when I thought I can delay working on it for a while due to college, someone else comes in an does the same thing.

and wolf, it somehow matters a lot to me on how Hello World! should be written. I'm somehow attached to it, the same way I'm attached with my bike, even though it is lacking one pedal.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus

catinthecpu@hotmail.com
Author

RE: What should I code? - Hello, World and beyond...

Compromise
Member

Posts: 224
Location:
Joined: 11.11.09
Rank:
Moderate
Warn Level: 30
Posted on 11-01-10 11:18
I see you haven't added my PHP-GTK suggestion. If you haven't added it because you don't know under which difficulty to file it, I suggest you put it in "Intermediate", or at least medium. Due to the lack of documentation/help/usage it's pretty rough to get going with it. It's also awesome.

If you haven't added it for another reason you can ignore this.


CrazySpai
minecraft.net
Author

RE: What should I code? - Hello, World and beyond...

AldarHawk
The Manager



Posts: 1663
Location: Canada
Joined: 26.01.06
Rank:
God
Posted on 11-01-10 12:36
Here are my thoughts. Take something that you have programmed in another language, and try to get it working in said new language. That is the best place to start. You already know what it should do and you know what you are striving for. Once you have that you can then think of things that you always wanted that application to do, and try to make it happen.

Just my thought. Did not read through the entire posting though so this could have already been said.


I(don't)See Just ask Yahoo!Taboo! http://www.erikwestlake.com
Author

RE: What should I code? - Hello, World and beyond...

stdio
Member

Posts: 375
Location: omnipresent
Joined: 06.04.08
Rank:
God
Posted on 11-01-10 13:26
A completely different idea. But recently I bought a small demo board thats fun to program some different things with.

http://www.axman.com/ is one example of some boards that can be combined with all sorts of different hardware (motors/sensors/etc) and computers to do nifty things.

Can get pricey but throwing it out there.



I'm sorry, I cant hear you over the sound of how awesome I am!
www.thewebsiteisdown.com
Author

RE: What should I code? - Hello, World and beyond...

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 11-01-10 15:56
fuser wrote:
and wolf, it somehow matters a lot to me on how Hello World! should be written. I'm somehow attached to it, the same way I'm attached with my bike, even though it is lacking one pedal.


cellotaping that broken pedal to yoru foot like I do too? Also I wasn't sure you were joking, so edited :D

Compromise wrote:
I see you haven't added my PHP-GTK suggestion. If you haven't added it because you don't know under which difficulty to file it, I suggest you put it in "Intermediate", or at least medium. Due to the lack of documentation/help/usage it's pretty rough to get going with it. It's also awesome.

If you haven't added it for another reason you can ignore this.


Yeah basically wasn't sure where to put it, mainly cause I realised people devide up language in thier head different to I.


Aldar, I totally agree, it's just that sometimes something in one language doesn't really lend it's self to another and I feel like I should use X to do this and Y to do that, ya get meh?


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.




Edited by wolfmankurd on 11-01-10 16:00
Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: What should I code? - Hello, World and beyond...

Compromise
Member

Posts: 224
Location:
Joined: 11.11.09
Rank:
Moderate
Warn Level: 30
Posted on 11-01-10 16:05
wolfmankurd wrote:
Yeah basically wasn't sure where to put it, mainly cause I realised people devide up language in thier head different to I.


That doesn't make any sense :p, and the reason you gave before you edited your post was better.

Anyhow, PHP-GTK isn't a programming language, it's just PHP using a (butchered) GTK lib. You might want to file it in your list as PHP, and mention using PHP-GTK in the descblockedription of the programming task.


CrazySpai
minecraft.net
Author

RE: What should I code? - Hello, World and beyond...

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 11-01-10 16:26
Compromise wrote:
That doesn't make any sense :p, and the reason you gave before you edited your post was better.


I guess it's hard to describe, but for example, I never learnt perl or ruby because I consider them in the same niche as python. (whilst some of the hardcore perl peeps always seem to differ on that)


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: What should I code? - Hello, World and beyond...

AldarHawk
The Manager



Posts: 1663
Location: Canada
Joined: 26.01.06
Rank:
God
Posted on 11-01-10 16:43
wolfmankurd wrote:
Aldar, I totally agree, it's just that sometimes something in one language doesn't really lend it's self to another and I feel like I should use X to do this and Y to do that, ya get meh?


That is why I suggested it :evil: that is the best way to learn. You take a tool that you liked the code for, and make it work in the new language. That is the best way to learn ;)


I(don't)See Just ask Yahoo!Taboo! http://www.erikwestlake.com
Author

RE: What should I code? - Hello, World and beyond...

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 11-01-10 17:21
AldarHawk wrote:
That is why I suggested it :evil: that is the best way to learn. You take a tool that you liked the code for, and make it work in the new language. That is the best way to learn ;)


huh didn't think of it that way, maybe always coding in what I think seems easiest isn't helpful.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: What should I code? - Hello, World and beyond...

bl4ckc4t
Member

Posts: 591
Location: /etc/
Joined: 07.03.06
Rank:
HBH Guru
Posted on 11-01-10 17:34
Maybe your own portscanner or backdoor in any language you like?

Author

RE: What should I code? - Hello, World and beyond...

SET
Member

Posts: 380
Location: 0
Joined: 22.02.07
Rank:
Hacker Level 1
Posted on 11-01-10 17:40
port scanner medium(easy) ---Backdoor can range depending on what you are trying to do......from (easy)- (Very Hard)


ARCSET.com
Page 1 of 3 1 2 3 >
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.