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.


Messages - cooliojazz

Pages: 1 ... 7 8 [9] 10 11 ... 41
121
Computer Projects and Ideas / GDF - Global Data Format
« on: March 12, 2012, 01:11:38 am »
A few projects ago, I was thinking how I really didn't have any good ways to save data, and I was too lazy to do all this fancy data storage stuff, especially between languages.  So I made GDF, which is just a really basic file format, that I am making libs for in various languages.  Yes, there's probably lots of things like this out there, but oh well, I like this! So there.

Quick description:
There are 5 data types, integers (32 bits), longs (64 bits), floats (32 bits), double (64 bits), boolean (8 bits), strings (X bits)
It is stack based, working on an array (stack) of entries, each entry consisting of a data type and a value.  There's really not much more to it.  I have the java and php versions done (done != bugless) and am working on a version in AXE just for fun, though I don't know if I'll finish that as GDF isn't really meant for that structureless of a language, plus the whole really big numbers that the calc doesn't like thing, so we'll see...

Examples!
Code: [Select]
/* PHP code */
$gdf = new GDF();
$gdf->readGDF(fopen("test.gdf", "rb"));
echo $gdf->getSize() . " total entries.<br><br>";
while ($gdf->getSize() > 0) {
    $cur = $gdf->rpopEntry();
    echo "<br><i>" . DATATYPE::toString($cur->datatype) . "</i>: " . $cur->value;
}
Reads and prints all entries in a gdf file called "test.gdf" (html formatting)

Code: [Select]
/* Java code */
try {
    InputStream mr = new FileInputStream(new File("test.gdf"));
    GDF gdf = new GDF();
    gdf.readGDF(mr);
    System.out.println(gdf.getSize() + " total entries.\n")
    while (gdf.getSize() > 0) {
        GDF.Entry entry = gdf.rpopEntry();
        System.out.println(entry.datatype.toString() + ": " + entry.value);
    }
} catch (Exception ex) {
    ex.printStackTrace();
}
Same thing as before but in java to the standard output stream.

There's a bit more to actually saving etc, but I have almost everything pretty well documented, so it should be pretty easy to figure out.  Maybe I'll add more sample later.
The zip includes GDF.java, the java source file, and GDF.inc, the php source file.

122
Art / Re: All art made by me!!!!!!!!!!
« on: February 08, 2012, 10:31:08 pm »
Watcha testing?

123
TI Z80 / Re: Fire
« on: January 21, 2012, 05:06:29 pm »
That would be amazing if you could do that.  I would totally program with fire... XD

124
TI Z80 / Re: TFE
« on: December 24, 2011, 02:56:48 pm »
TFE v1.6

New Stuff:

-Custom token sets.  Allows for custom definitions of tokens, eg for axe.  This replaces the old method I was using for having basic and axe syntaxes and adds the ability for anything!  Right now there are just the default and axe (each with a "web standard" version which has some of the more common ways of writing special tokens eg -> for →, help with expanding the current list would be appreciated) but next version I will probably be adding a way to load custom syntaxes.  Of course if you really want to, you can open up the jar and edit the 4 current ones, but... :P
-Intellisense type feature (dubbed "Unreal Helper") almost complete. Turn on and off with Ctrl-H, will automatically pop-up as you start typing tokens.
-Added a program menu which appears when editing programs which has the token switcher list (and yes, it actually changes it in the program when you switch sytaxes) and the token list
-Finished assigning a "token type" to every token for highlighting and Unreal Helper and additionally added 3 more token types
-File location in the tile bar! Sooooo exciting! XP

Planned Stuff (Probably):
-Fix the d*** font! It is really annoying me... :P
-Loading custom token definitions, and adding token type definitions for custom handling into the file
-Custom highlight colors
-Etc

And a demo thing!

125
TI Z80 / Re: TFE
« on: November 17, 2011, 02:22:23 am »
TFE v1.5

New Stuff:

Pic Editor:
-Fill, press F to use. Yes the flood fill glitches sometimes, sorry
-History! Which is useful. (Ctrl-Z Obviously)
-Text tool coming eventually! (You can play with it with T, Enter to exit, but its not terribly useful atm with how glitchy it is still)

Program Editor:
-"Quick Keys", basically shortcuts for common TI Symbols.  Here's the current list:
Code: [Select]
Ctl-Shift-S - →
Ctl-Shift-T - θ
Ctl-Shift-P - π
Ctl-Shift-L - ˪
Ctl-Shift-E - ℯ
Ctl-Shift-X - ᴇ
Ctl-Shift-Left - ◄
Ctl-Shift-Right - ►
Ctl-Shift-< - ≤
Ctl-Shift-> - ≥
Ctl-Shift-= - ≠
Ctl-Shift-- - ­(negative)
Ctl-Shift-(1-0) - (₁-₀)
-A Goto feature; Ctl-click on the label names of goto statements in basic or axe, of the function names in sub(NAME) format in axe to have it scroll to that label
-Couple highlighting updates (eg highlighting the NAME in axe sub(NAME) as a label)
-Possible code helper feature! (like your common IDE intelli-sense feature) Not even close to being useful, but press Ctl-I to toggle and play with it

And of course more random bug fixes!

126
TI Z80 / Re: Unreal Notator
« on: November 11, 2011, 12:12:47 am »
No, not really.  It's a possibility... but remote :P  And that's probably what I'll end up doing if I can't find anything more accurate.

127
TI Z80 / Re: Unreal Notator
« on: November 10, 2011, 10:13:40 pm »
@buttsfredkin, yes, If you press enter it plays the song, @epic7, nope, not yet, atm you clan play around with the song by editing the data as desribed in the fisrt post, but in program iditing is still something being worked on.  And yes, those retarded notes are just you going past the end of the song. I'll put a limit on the end next version :P  And thanks you guys :D
@ZTrumpet wasn't planned, but I'll consider it :)

128
TI Z80 / Unreal Notator
« on: November 10, 2011, 12:38:31 am »
If some people remember a long time ago, back when http://ourl.ca/405050 was posted, thinking, "That looks interesting wonder what it really does?" The wait is now over.  Months later :P  I felt like actually working on something for the calculator the other day, so I chose one of my random unfinished projects, and this was the lucky winner.

Unreal Notator - A basic musical notation program for your calculator.  Right now, it allows 2 things, viewing the score and playing the score.  Atm, the notes are hardcoded in.  Right now, it's just a simple D major scale in Quarter, Eighth, ...Eighth, Quarter, Eighth, ...Eighth, Quarter form, but this can be changed for purposes of fun-ness by editing the line ?List(2,2,...50)?Str1. The format is (Half-steps up from middle C, length in log2(1/(length)) eg, whole note = 1, quarter note = 2) with a 50 to mark the end.  In the program, press the r/l arrow keys to view different parts of the score, and press enter to play the song.  That's about it for this version, still a ton to add, but this should be a good demo :) (Note: for the note wavelengths, I'm using a cubic approximation, which is decent for the lower notes, but by the 20-30s, it starts getting really out since I can't use the accuracy in axe that I would need for it to stay precise out there)

Things coming - Loading saving songs, editing songs, song tracking (move as it plays), better wavelength approximation formula?, awesomeness.

Edit: Screenie! Obviously without the sound, but...

129
Minecraft Discussion / Re: Minecraft HUGE bomb
« on: October 31, 2011, 10:54:41 pm »
No worries, it doesn't crash your computer or anything exciting like that.  Minecraft just runs out of memory :P  If only I could remember howto start it with >1G of RAM... XD

130
Gaming Discussion / Re: Omnimaga Starcraft tournament
« on: October 23, 2011, 02:49:35 pm »
Well, SC1 can easily be gotten for "free" off the internet, but SC2 is definitely not free :P (~$50-$60)  Also, I'm totally in for this :D

131
News / Re: Survey
« on: October 01, 2011, 08:49:07 pm »
Hece the "abuse" ;D  Also, thanks everybody who participted, greatly appreciated :D I'll post something here about the results in a couple days, feel free to keep voting! (As long as you haven't before)  Also, I apologize to the non-english members for not taking you into consideration :\  I would fix it, but its probably kinda pointless now XD

132
News / Re: Survey
« on: September 30, 2011, 11:09:06 am »
Well, there are two questions.... But they are asking the same thing.  Also, who was messing with it and put in a response of 127? O_o

133
News / Re: Survey
« on: September 30, 2011, 01:27:22 am »
True, but that would've have been... wait... hmm.... hold on, actually, i probably could've checked for that pretty easily. D=!!!!!!!! Dang it, Oh well :P I saw a good few people who were active in the list, so i should be okay...

134
News / Re: Survey
« on: September 30, 2011, 01:21:58 am »
I'm sorry Netham!!!!! It's not  my fault random numbers hate you!!!!!

135
News / Survey
« on: September 30, 2011, 12:33:35 am »
Hey everyone, just wanted you to be aware that I (Cooliojazz) am abusing Omnimaga for a survey for my stats class.  So I will be sending a pm to 60 of you randomly asking you to visit a webpage and answer a very simple question.  So if you get one, and don't mind taking part to help me, please visit it and answer :)  Also, anyone else who wants to join, I'll collect a separate set of data and report them out combined to you guys later, so if you want, visit http://unrealphantasies.tk/survey.php Also, those who are asked or choose to participate, please dont't abuse it, take it once and be done.  kthbai!!
EDIT: I apologize to those of you who got PMs, I totally spaced out the bbc and wrote it as html with brackets XD  Also, if someone gets two, im sorry, my script isnt perfect, please smack me then move on.

Pages: 1 ... 7 8 [9] 10 11 ... 41