Sunday, January 30, 2011

Long time no see.

A while ago

I have indeed not blogged here for quite a while now. Now as most most likely might have figured out, I stopped blogging because I stopped learning HLA, now the reason for that is the whole UEFI system and also the fact that HLA is more or less useless in this modern day and age. Now I personally love the HLA algorithm and the huge freedom it generally have, also the possibility to use low level ASM is a great thing as well!

No ASM\HLA?!

So then, why did I decide to start posting again? Well I've started with Python. Now for those that don't know python is a script-programming language. You could think of it as a script at equal ground of a programming language in term of flexibility, power and usability, however obviously it got limitations, hence it's a script.

Now the reason I decided on python is obviously just that, it's a script, it's easy and fast. Anyone can learn and master python with not too much time(of course, the more you do it the better you are, but for the basics are what I'm referring too), unlike ASM\HLA with takes month or years of pure dedication to get the basics under your belt! You won't be writing any serious or worthwhile programs in the first couple of months. in python you'd do that in the first couple of weeks!

Long term goal

Now, I had a long term goal in HLA so you'd assume I got one in python as well right? Well I don't, I do have small projects that I aim to create, however nothing too fancy and just small "easy" programs. The most interesting is a sort of database that I can easier access all of my pornography in a better categorized environment, haha, but more on that when i actually start creating the thing!

For now I've created allot of random programs which are rather fun and cool, using dropbox to share them atm, but going to create a google docs when I'm finished with the tutorials at some point, hopefully before the end of February!

Biggest program yet.

Mostly, the most advance program I've created up to date is an RPG character selection where you choose what stats you want how much points in, the points get rather nicely categorized as well, you can also remove the stat points from the stats to relocate them into another stat.

I created this into an additional module(library) which I then called upon that started the character generation(which is the module file) which then just after that you go back to the "main program" which you then get a couple of messages, depending on what states you choose and how many points are in those stats.

It's rather basic, but took a huge amount of work(4 hours) to actually create so I feel rather good about it(It took that amount of time because I've never created anything like it, haha)! In fact, I'm on chapter 6 and modules aren't before chapter 9! I only just learned how to define a function!

That's it for today, I hope to post something in the near future, I'll also discuss my first big project when my skills are closer to being able to actually make that program, look forward to it!

Thursday, November 11, 2010

This morning

This morning

This isn't about program however I want to share it either way. Today on the buss I heard some guy talking about how the next call of duty called cod 2012(yes I know that is just a rumor, but he said it like it was a fact.) would only be on Xbox 360 because PS 3 and PC don't sell enough, his reasoning was this: It's obvious why it won't be on PC\PS 3 because they use about 11 Million to produce the game and then the PS 3\PC versions only sell for around 7 million so they don't really earn anything on it!

Now most of you most likely understand why that was annoying me but I'll say it anyway. First of, it doesn't cost them more then a few days or weeks to port the game over to PS 3 when working on it for Xbox 360 or vice versa, meaning if they sold Xbox 360 games for 8-9 million and PS 3 for 7 million then they obviously earn on it if they've used 11 million!

However porting to PC is more expensive then PS 3\Xbox 360 that is true, as we require not only another control system but our hardware function differently! However it wouldn't cost more then 1-2 million to do that, so if they sold enough for 3 million they would be earning then as-well! So obviously he didn't know what he was talking about.

However even so I didn't point this out to him because it was in the morning and I don't like talking to strangers.

About programming

Now, as I said it's allot of theory, however I read the theory multiple times as-well, but right now I'm learning about memory and cache memory and how to actually use it in a program! So it's mostly just performance atm so it'll be a while until I go back to programs as i said, However I'll upload some sample programs in the near future so look forward to it!(Made by the guy that wrote the book not me obviously.)

Tuesday, November 9, 2010

Progress

I'm not doing, and not going to do too much progress on programming these next weeks, reason for that is it's pure theory now, no learning syntaxes or anything just pure theory of how stuff works, so no updates in quite a while for now.

Sunday, October 31, 2010

Comments

I've forgotten to actually add anon option for comments(silly me) so everyone is now free to post without having to register\logg in!

Anyway: Just a little bit about comments. If you post anonymously I'd guess it is most likely because your to lazy to either register or logg in. So if you don't absolutely mind please add a - [name\nick] at the end of the comment so I might understand who you are and people know your different from the [insert number here] other anons - thanks.

Way too much work!

First of, yes I've finished the short if program I promised a few weeks back, I actually made it just never completed it as I didn't know what to write about anyway, I found it rather cool\fun to make and hope you enjoy to test it. There are [insert number here] Easter eggs to be found in the program so good hunting.

First of to run it. open cmd. then write " cd [location]" without the " . example: cd c:\hla-programs. However if you got a space in the location such as: c:\msn programs. then you need to use " such as: cd "c:\msn programs"

now you should see the whole path on the left side of the cmd window where you can type text. write in if.exe and press enter and the program will start. There is no restart\replay option in it so when you've run it and either encountered an error or "finished" it you have to restart it. just write if.exe again and it starts(no need to re enter the location as you don't leave it even after you've "ended" the program.) Do note that if you close the cmd window you'll have to re enter the location.

links:





On a side note I've created my own encryption language("like Morse code only 100% written and not sound.) all of which I did today, so I've been productive today, yay! Then it was back to progress forward instead of making an endless amount of useless if programs!

Thursday, October 28, 2010

Operative system

I haven't posted in a while seeing as Fallout NewVegas just got released and Medal Of Honor right before that so I've been busy gaming. Anyway I'm now going to be talking about why I want to learn assembly and what I hope to achieve with it.
As you might have guessed yes I want to make my own operative system. My operative system would be a command line user interface instead of a graphical user interface operative system.
For those of you that might be wondering a command line user interface is like the cmd in windows or shell in Linux, graphical user interface is the one windows uses now. It allows you to click around with you mouse and see graphical icons of every option you want to do, instead of just text and having to actually write commands.

However my O.S wouldn't be 100% command line it would be closer to 80-90% instead. The
other 10-20% would be to browse\manage and see your files and your current hard drive space. And another part which would be used to browse the internet. You can see this in the picture to the right.

Now in the second picture on the right I've added an AI and a chat box. These are features I
would try to work towards as an end goal for my O.S. The AI would work as a "secretary" or "free helper" which would help and support you trough the use of the O.S. giving you hints or
correcting misspelled commands and such. She\he would also be able to learn and be taught new commands which would support newer languages and such.

Hopefully by the time I've learned enough assembly to do this I've gotten an UEFI computer so I can start to learn UEFI programming and create the O.S for that, but we'll see in the future.

On a different note I'll be uploading a small IF program later this week or early next week all I need to do is actually add some more or less interesting text.

Wednesday, October 13, 2010

Dropbox folder.

I've created a Dropbox(quite some time ago but anyway) That I usually dump all my test programs and half finished programs that just serves as samples for me to learn the codes. I also got a folder that serves as a "project" folder that I keep my more or less "finished" programs that I've written. So if your interested in getting the sample programs in .exe just to test it out and\or check it then just write down your e-mail in the comments section and I'll share the folder with you.

If you don't have Dropbox however you'll get an invite at the same time and the registration\download is really quick! Dropbox is more or less like an online "hard drive" in which you can store software on, however you only get 2gb as the free version and you'll need to buy for additional space(you can get more space by inviting people but only up to 8GB.)

So yeah, if you want the sample files fast and easy without having to download it manually just add your e-post in the comments section and I'll share the folder with you. However I will post many of the sample programs here but only the "finished" once that more or less serve a purpose so you won't miss out on too much without Dropbox!(doh you won't see many of the "useless" once which I've created just to test the syntaxes for)

--

On a different note I'll be adding up the first program as soon as I add a retry\restart function to it as it's annoying having to restart the program if you get an error or want to test other options ^^.