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 - Michael_Lee

Pages: 1 ... 4 5 [6] 7 8 ... 70
76
TI Z80 / Re: Axe Syntax Highlighting (for Gedit)
« on: October 02, 2011, 05:56:32 pm »
Looks nice! Is there any possibility to make it into a .8xp file?

There isn't a plugin for Gedit, per se (although I could try writing one, I suppose), but you could try using Croquette, a collaborative project between me and ephan -- just drag your text file over the exe, and out pops an 8xp (although you'll still have to compile it)


Looks nice! Some suggestions: define conditionals and controls structures (If, While, sub, Goto, etc.) separately from commands (Pt-Change, flipV, Copy, etc.) and define constants (10, Pic2, L4, °V, etc.) separately from data ("HELLO", [283A73B3], Data(5, 2341r), etc.) and variables (H, r3, etc.). That is the way I did it in BBify; it encourages users to understand the difference between these types, which is very important in Axe.
Those are good ideas, thanks!

77
TI Z80 / Axe Syntax Highlighting (for Gedit)
« on: October 02, 2011, 02:32:08 am »
I was poking around, and I didn't really see anything that had syntax highlighting for Axe, so I made one for Gedit for fun.  This isn't really anything spectacular, but it was a good excuse for me to practice my regex skills ;D

Add the file to the appropriate directory, and if your text file ends in .axe or if you select 'Axe Parser' from the Menubar ([View] -> [Highlight Mode] -> [Sources]), the syntax highlighting should kick in.  The colors you get should depend on what theme you currently have.

I believe this should support TokensIDE-style syntax (although it's been a long time since I've looked at TokensIDE, so I don't know how well this actually complies).


For Linux, just copy axe.lang to '~/.local/share/gtksourceview-3.0/language-specs' (or '~/.local/share/gtksourceview-2.0/language-specs').

Windows is apparently 'C:\Program Files\gedit\share\gtksourceview-2.0\language-specs\' or 'C:\Program Files\gedit\share\gtksourceview-3.0\language-specs\' (althought I can't confirm).

I don't know about Macs, sorry.


Props go to Deep Thought for inspiring me to write this.

78
OmnomIRC Development / Re: chat does not work in ie
« on: September 30, 2011, 06:24:13 pm »
I believe there are portable versions for Google Chrome, Firefox, and Opera that can be run of off a usb drive -- a quick google search should pull them up.

79
OmnomIRC Development / Re: chat does not work in ie
« on: September 30, 2011, 06:03:35 pm »
I can also confirm that OmnomIRC fails to work with Internet Explorer 8 or below, on at least Windows XP.

It's not an issue with his computers, and probably not the operating system.   IE 8 and below often don't play very nicely.

I think this issue was actually acknowledged before somewhere.

80
Site Feedback and Questions / MOVED: chat does not work in ie
« on: September 30, 2011, 05:49:18 pm »

81
Miscellaneous / Re: Tutoring others
« on: September 27, 2011, 06:07:12 pm »
I'm due to start my first real job (Hooray!) this Wednesday: I'm going to be tutoring another student in math.

I was wondering if there were any tips/tricks/things to keep in mind while tutoring?
Don't ever make the students lose interest. Math-interest = terrible time

Okay, how do I make sure they don't lose interest?  I mean, I'm not entirely sure why I like math so much myself.

82
Miscellaneous / Tutoring others
« on: September 27, 2011, 02:01:36 pm »
I'm due to start my first real job (Hooray!) this Wednesday: I'm going to be tutoring another student in math.

I was wondering if there were any tips/tricks/things to keep in mind while tutoring?

83
Axe / Re: Third-party Axe tutorial
« on: September 26, 2011, 12:08:53 am »
I really like the image for chapter 1, and the expanding Javascript expanding thing :)

Question: Are you planning to take a 'here's how to do things, quickly' approach, or a more comprehensive 'bottoms-up' approach where you discuss the internals of the calc first?

84
Other Calculators / Re: I need help..
« on: September 20, 2011, 11:24:45 pm »
First off, what is a slide?

Also, do you think you can post a sample of your code or a reasonably detailed summary of your code?

Without really knowing what you're having trouble with, it's hard to help you :)

85
TI Z80 / Re: Water Simulation w/ Track Drawing
« on: September 20, 2011, 11:22:35 pm »
This is a really nice version of this style of program.  I really like how the pixels go from gray to black to indicate that more water is there - that's a really nice touch I've never seen before.

lol I didn't even notice that. XD   The thing is, the more pixels there are, the less they move around, so the more solid, or black, they appear. So when the pixels are by themselves, they go crazy and appear to flicker, I guess thus seeming to be gray. but when there are big solid chunks they don't move hardly at all. :)

Emergent behavior, right there ;D
That's one of the things I love about stuff like cellular automata.

Nice job, looks very slick!

86
Axe / Re: [Tutorial] Edition 2: Using Axe to its full functional form λ
« on: September 20, 2011, 09:52:41 pm »
That's pretty cool!

You should post that in the Axe Routines Thread

I don't know much about functional programming -- is it possible to pass in an arbitary lambda to the iterator generator so that it can iterate over a sequence of numbers other then just '1 2 3 4'?


87
Axe / Re: Axe Q&A
« on: September 20, 2011, 05:51:11 pm »
How can I do the equivalent of 'sub(TEST^^r,1,2,3)' using the new 'TEST(1,2,3)' function syntax?

(^^r is the small radians r).

88
Computer Programming / Re: Linux python
« on: September 19, 2011, 06:03:35 pm »
If you write a script named 'test.py', navigate using the terminal to the folder containing the file, then type in 'python test.py'.


89
Miscellaneous / Re: Why Johnny Can't Code
« on: September 19, 2011, 02:00:57 pm »
I got my start with TI Basic. I am the only programmer in my school. 83 series calcs are required for math classes. There are 2200 students in my school.
I see a problem here, how about you?

Oh god, you're right.
I never thought of it that way...

90
Computer Programming / Re: Linux python
« on: September 19, 2011, 01:25:58 am »
I'm 90% percent sure you already have Python.

Try typing in 'python' in your terminal, and see if it spasms.

If you don't have Python installed by default, just download a copy of Python from whatever repository you use or directly from Python's website.

The default IDE is called IDLE, and it works fine, but it looks like crap on Linux boxes, so you might want to consider getting a different IDE if that sort of thing bothers you (I like Geany, myself).



Pages: 1 ... 4 5 [6] 7 8 ... 70