Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Hemlos

Pages: 1 2 [3] 4 5 ... 10
31
Bug Reports / GETFILESIZE
« on: 2012-Dec-08 »
GETFILESIZE doesnt work when it is called after a file has been opened for reading.

It should be noted that DEBUG wont display a value properly

32
Bug Reports / helpfile typo UCASE LCASE
« on: 2012-Dec-01 »

helpfile typo in UCASE and LCASE

PRINT LCASE$("123 - MAXImax"
 style="color:white;">), 0, 40

33
This program allows you to analyze .ddd objects.

Everything seems to be working fine, let me know if theres any problems.

File is attached to this message:

34
3D-snippets / Link to gl.gbas
« on: 2012-Nov-17 »
Was looking for this...had to dig around in the threads...no longer.

OpenGL

OpenGLES

35
Off Topic / Need Web links for my webpage.
« on: 2012-Nov-16 »
Hi gang, I have a website that im putting together to host my libs and programs.
The links page is looking a bit barren, and needs some additions.
If you would like me to link your site, please leave a message here with any details.
My site will not be active for a while, but i will respond here with my sites details when it is ready for public.

36
Off Topic / Planetside Beta Keys
« on: 2012-Nov-12 »
I am giving out a few planetside beta keys.

First come first serve, leave msg or send pm.


37
Off Topic / Python 2.7.3 Discussion
« on: 2012-Nov-09 »
   :offtopic:

 :happy:

I am taking a course at edx.org, the intro to computer science from MIT 6.00x.
This is just a bit of feedback from what ive gotten so far from the first 6 weeks:
Just one word, wow.

Enough ranting, i wanted to get a discussion going here about python and its value especially concerning GLBasic.
The computational power of python is extraordinary, simple yet sophisticated in so many ways.
Its not just OOP style code making me wow, its the way you can manipulate data with such amazing ease and depth.

IDLE is a command interpretter for python. If im not mistaking you can use command line inputs.
The python can manipulate data, and store it in files, or even call commands.
From what i understand there is a c++ api also.

In the next few weeks i will be sharing some bits and pieces of what im working on in class, stuff i write.
I will also be thinking of ways to introduce python into GLBasic...perhaps databases are something useful.

edit:

link to the program, (note mit is teaching python 2.7, which is an option in this download) http://www.enthought.com/products/epd_free.php

38
Bug Reports / GBAL
« on: 2012-Nov-08 »
GLBasic IDE, Version: 10.283

GBAL allows for all the functions to be recognized by the ide, you can see the functions colored properly.
However, when complied, the IDE complains:

"stuff"(stuff) error : call to undefined function : (stuff)

39

Dictionary of General Algorithms and Data Structures

I think the site is moving sometime in the future.
Let me know when the link is dead.
 
http://xlinux.nist.gov/dads/

40
Media Section / Wall art
« on: 2012-Nov-06 »
I was looking for some nice volumertic art, and i found this site with free digital artwork.
The author says he does not want anything in return, but donations are welcome.

http://www.sgeier.net/fractals/index.php

42
Beta Tests / Towers of hanoi
« on: 2012-Oct-16 »
Beta test for Towers of Hanoi, brainteaser puzzle.
This program will solve the game for you with a recursive algorithm, displaying all the moves step by step.
There are many videos on youtube showing the brainteaser.
Im not taking credit for the original algorithm, it is converted from a python snipet, i found during the recursive lecture on MiTx 6.00x at Edx.org.
With a bit of tweaking, i was able to put it into glbasic in about 10 minutes.
I dont actually have the puzzle, so i dont know if this is properly working, but it looks like the same output from python.

If you have the puzzle....try it with an even number of stacks, then an odd number...
Test:
Try with 4 stacks, then 5 stacks.

Enjoy, have fun!
- regards Neil



[attachment deleted by admin]

43
Edx.org Harvard, MIT, and Berkley team up for new wave of education!

http://www.edx.org/

Hi gang! Great stuff here!

     Edx.org is a new system of education designed by MiT, and Harvard. Im writting up a review due to being HIGHLY impressed with what is offered from this new style of education system. This year they began thier new education project, which i have been following all year and now am participating in. This system is designed for researching how to better teach, and how to better understand how people learn. I will give a quick review of my experience at Edx.org, with the classes i am participating in, later in this review.

      The University of Texas System joins Harvard, MIT and UC Berkeley in not-for-profit online learning collaborative. Berkley and University of Texas has recently jumped on board, and i suspect there will be other universities joining thier list in the years to come. These universities have opened thier campus to the public, and are offering a limited list of free courses in computer Science and other stuff. This is a new style of education, where you can be part of the class and become interactive with thier classes, offers;  lectures, homework, quizes, exams, walkthroughs, shorts, the works! At the end of any class you take, they will be offering for free(for now), a certificate of completion assuming you make the grade.

     You as a member, a student of Edx.org can register for any of these courses, at no obligation, and may freely register/unregister from any one of them as well. Furthermore, you do not have to do any homework, quizes, exams to in order to participate in the course, and you may study along with all the lectures at your own pace. However, if you want that certificate of completion, you must do the work. There is also an option to do a proctored exam to prove (to employers and the world) you actually have the know-how, though this is probably very limited by geographics.
[ Invalid YouTube link ]
Here is a list of all the classes offered at this time:
  • MiT:
    • 3.091x - Introduction to Solid State Chemistry
    • 6.002x - Circuits and Electronics
    • 6.00x   - Introduction to Computer Science and Programming

  • Harvard:
    • CS50x  - Introduction to Computer Science I
    • PH207x- Health in numbers: Quantitative Methods in Clinical & Public Healther Research

  • Berkley:
    • CS169.1x - Software as a Service
    • CS188.1x - Artificial Intelligence

Ok, i have registered for all 4 computer courses and now i will do a very brief review of my experience with them.

  • MiT:
    • 6.00x   - Introduction to Computer Science and Programming
      • A great class to get your feet wet with computer computation, where they teach (so far) basic mathematical algorithms, in the python language. By week 3 this has been a very rewarding class indeed!!! This class has already began, but im sure you may signup at any time and pickup here in week 3 very easiliy. You can begin with week 1 and catch up very easily if you have some time to dedicate to learning some cool stuff! This class is very easy to follow, with examples and very well explained via lecture.
        If you made it to highschool math, you can very much get a rewarding experience here! This course was designed for the student who has no programming experience, though you do need to be somewhat familliar with a computer. I look forward to completing this course.

  • Harvard:
    • CS50x  - Introduction to Computer Science I
      • WOW, this class has began this week, and WOW! This course seems to be going in the direction to an introduction to C programming. It looks and sounds VERY fun at this point, and the first lecture was just amazing, AMAZING! I look forward to completing this course as well!


  • Berkley:
    • Note: Both courses offered by Berkley are not beginners courses.
      Though you can register and possibly walk away with something, even not living up to the prerequisits.
    • CS169.1x - Software as a Service
      • Although this is a very advanced course, based on internet web programming(html,css,javascript,ruby), you can sign up with no obligation, download and install the editing software, and enjoy thier course anyway. Be warned, if you do not know Ruby, you will not be getting that certificate, they stated it is Ruby as a prereq, and they MEAN IT!

    • CS188.1x - Artificial Intelligence
      • This course sounds great, i am following along with the lectures. Due to my lack of undergraduate math under my belt, i will not be able to complete all the work, however i will continue to watch all the lectures. So far, the methods underlying the Ai programming is very well documented. Regardless of my weakness in math, certainly i will walk away in the end with more knowledge about Ai programming than i ever imagined! Note and warning: In order to complete the work in this class you will definetly need at least Trig and calculus know-how. But this doesnt mean you can follow along and take in some VERY useful information as the course progresses!

That is my review.
In short, i must say, that this new system of education is very personally rewarding, simply AWESOME!!!
i highly recommend any of these courses to everyone, college grads and otherwise!

Back to class!
-Neil

PS. If you sign up too, post a message here in this thread, and perhaps we can help each other out!

44
Beta Tests / Liars Dice (Pirates Dice)
« on: 2012-Oct-10 »
Hi gang,

Maybe if i get a mac, one day, i will publish this game to the app store.
That doesnt look like it will happen anytime soon.
So while it sits in disuse i will put it out as a beta for windows os.
There is a readme included with more information and play and the history.
Enjoy, Neil

Ps. the song is Smile By Charlie Chaplin , which i transcomposed from sheet music into GLMidi program i wrote a few years ago, then i converted it into a mp3.


[attachment deleted by admin]

45
Bug Reports / SAVESPRITE
« on: 2012-Jul-30 »
 :noggin:
Im confused, i cant get the command to work: SAVESPRITE

notes:

1. ive tried with BMP, and get pink background.....and still its a screenshot for the internet, so bmp wont do either.

2. ive tried to fix the problem with settransparency command too(before and after SAVESPRITE )...further incorrect white background result.
note here:
   SETTRANSPARENCY 0x000000
   SAVESPRITE FileName$ , 100
   SETTRANSPARENCY 0x8000ff
regardless of these transparencie colors(any used aside from these also), nothing seems to affect it proper.

This function below is the only version that properly produces the actual screen colors, in mspaint only.
And this is without using settransparency anywhere in the program.
i am using CLEARSCREEN 0x202020 in the header, before my main loop function call

Code: (glbasic) [Select]
@FUNCTION SYS_2d_SCREENSHOT:
STATIC ShotNum
LOCAL FileName$ = "Screenshots" + ShotNum + ".png"
INC ShotNum , 1

LOCAL ScreenSizeX , ScreenSizeY
GETSCREENSIZE ScreenSizeX , ScreenSizeY
GRABSPRITE 100 , 128 , 0 , 1024 , ScreenSizeY
SETCURRENTDIR(GETCURRENTDIR$()+"ScreenShots")
SAVESPRITE FileName$ , 100
SETCURRENTDIR("..")
ENDFUNCTION

[attachment deleted by admin]

Pages: 1 2 [3] 4 5 ... 10