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

Pages: 1 ... 4 5 [6] 7 8 ... 24
76
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: December 04, 2010, 06:36:14 pm »
Ah, I get what ScoutDavid was saying now (after our conversation over IRC).

A batch file is fairly straightforward to implement for this. Very, in fact.

But you could use this as part of another Python module (in this case, a wxPython GUI) without any modifications. (now that I come to think of it). :)

If you import calcpkg, you can call various functions like "ticalcSearch", "ticalcUpdatePackageLists", "ticalcCount", and "ticalcGet" without needing to invoke the program on the command line (which you could do anyway using the subprocess module). You'd just pass them arguments and they'd do stuff. The IRC bot is a good example of how you could run ticalc.org searches from another module.

77
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: December 04, 2010, 06:07:02 pm »
ScoutDavid: By "not run using cmd", you mean "not be a command line program and have a GUI", I assume. (Please clarify if I'm mistaken).

Honestly, I prefer it to be a command line program. (Wow! Three months ago I hated command line programs. Too much Linux...)

Personally, I feel like this is best suited for the command line. In Linux, I think package managers in the terminal are much simpler to use than the GUIs. That's just a personal preference though.

I could make a GUI for it in Python, yes- but I would much rather devote time to perfecting the existing tool. After that... I could try to hack out a Tkinter GUI (I'd rather not, but Tkinter is built-in to Python as opposed to PyGTK/wxPython/PyQT).

Whatever I did, I would make it a frontend that wouldn't remove any functionality from the command line tool- much like the IRC bot.

For the bug: did you search for "Formulum" or "formulum"? At the present it doesn't do case-insensitive searching. When I did "Formulum" I got 2 results.

78
News / Re: Ticalc.org gets POTY again
« on: December 04, 2010, 05:37:04 pm »
I haven't seen a review get posted in over half a year unfortunately :(

Probably that's because they have no review editor

They have one, but he (chronomex/Duncan Smith) is just lazy and/or rather busy.

79
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: December 04, 2010, 12:44:19 pm »
Getting ready to release an update.

In addition to case insensitive searching and the #! fix, I've:

1. Changed the way downloaded files are named- they contain the path (so "83plus-asm-games-generate.zip" rather than just "generate.zip") to fix the issue with multiple files containing the same name.

2. Added command-line opts for searching. The opts are:

-c [name]: --category=[name]: some category to search in. This can be high level like "83plus" or "win", and it can also be "games" or "math" or "basic" or "os" or whatever.
-g: --game: Searches for games only ("-c games")
-m: --math: Searches for math and science only ("-c math" and "-c games")

These switches only work with the list and get commands. I also added a switch for update, -s or --silent, which keeps output to a minimum. All switches can be viewed with "calcpkg.py -h".

I'm also just going to have a separate Unix and Windows version on ticalc.org (and Cemetech) with the different line endings.

I just need to rewrite the readme, boot into Windows and test the Windows version, and then I'll release.

80
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: December 01, 2010, 09:01:11 pm »
Attached is the current version of the package manager (adapted slightly for IRC) and the bot. (The bot imports the package manager).

It uses the Twisted framework for Python 2.x- which requires both Twisted and Zope.Interface to run.

It is set to join #cemetech and #omnimaga by default on whatever IRC network you specify when you run it- you specify the network by:

"python calcpkgbot.py #otherchan irc.efnet.net"

#otherchan could be anything- making it #cemetech or #omnimaga would make it only join the two default channels.

There are five commands in there- in addition to !calcpkg list, !calcpkg count, !calcpkg update, and !calcpkg help, I added a !nick to change the bot's nickname remotely (the default is set to "Hex", a Terry Pratchett reference and most likely a nick already in use somewhere).

The update command can only be ran by operators because it's a time/resource intensive operation.

If you send commands to a private message, it will return them to you via private message- so if it's spamming up the channel you can make people take it to privmsg (or just silence it). DJ suggested flood control of some sort- that is the closest I came to doing it now.

81
Miscellaneous / Re: What is your avatar?
« on: November 30, 2010, 06:22:44 pm »
I know it freaked me out the first time it happened. :P I thought my calc was bricked, but then I found out how to reset (ON + 2ND + LEFT + RIGHT).

82
Miscellaneous / Re: What is your avatar?
« on: November 30, 2010, 06:18:43 pm »
Mine is the TI-89 equivalent of the "RAM clear" avatar that someone has... can't remember who. Or did have.

It's the "LINE 1111 EMULATOR" error message. It's a crash of some sort, but the calc doesn't auto RAM clear, so it just sits there with that black bar across the screen until you reset it.

But, I took it in TiEmu, which has a smaller display screen than the LCD on the actual calc, so that's why it's a little small.

The TI-89 has an emu like NSpire's TI Emu? That's cool!

The NSpire's emulator is very good, but NCubate is much better because it allows ndless and easily C programming

Err, not exactly. The 68k emulator made by the community (now debrouxl) is called "TiEmu".

It's good and well-integrated with GCC4TI (and TIGCC).

83
Miscellaneous / Re: What is your avatar?
« on: November 30, 2010, 06:15:55 pm »
Mine is the TI-89 equivalent of the "RAM clear" avatar that someone has... can't remember who. Or did have.

It's the "LINE 1111 EMULATOR" error message. It's a crash of some sort, but the calc doesn't auto RAM clear, so it just sits there with that black bar across the screen until you reset it.

But, I took it in TiEmu, which has a smaller display screen than the LCD on the actual calc, so that's why it's a little small.

84
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 30, 2010, 04:37:53 pm »
I've fixed the #!/usr/bin/env python and added case insensitive searching. I think it'll just be best to distribute one copy for Windows and one for Unix/Linux, with the different line endings set.

I still need to get multiple files with the same name working, and a switch for searching in a specified directory. Once that is done, I'll upload a new version.

I also integrated it with an IRC bot... sort of. The bot can do "!calcpkg count text" and say in the channel the number of results. It can do "!calcpkg list text", but since saying it all in the channel would be bad, it pastebins the results and just gives back a link to that Pastebin. And "!calcpkg update" can be ran as well.

The Twisted framework for Python doesn't support sending files to people with dcc, so I can't make it download the files and send them to you.

85
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 30, 2010, 06:59:00 am »
Oops. I always seem to end up with the slashes the wrong way around, thanks for pointing that out.

Case insensitive searching is a good idea too.

I'll also set up a system of some sort to handle duplicate filenames.

I'm thinking of adding a switch for searching by directory as well, something like "-d ti89\" or "-d "ti83plus\basic\math\".

Thanks for the feedback!

86
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 29, 2010, 03:38:55 pm »
Odd.

I tried running this on my Fedora partition. At first, the output from running "calcpkg.py list" was screwy, but it still worked (it was still able to download packages fine when I ran "calcpkg.py get").

Then I ran an update to rewrite the package index files and the output looked normal.

So all I can say is, run a "calcpkg.py update" before anything else when trying it on Linux.

87
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 28, 2010, 05:27:26 pm »
Update!

I've completely changed the way this works.

Instead of searching ticalc.org using the websearch, it uses cached package lists (files.index and names.index). These cached files (which are why the download is larger) simply contain parsed forms of the master.index (each line of files.index has a path/filename on ticalc.org, each line of names.index has the name corresponding with the file on the same line in files.index). This means that for searches and counts (I added a "count" command), the script doesn't need the Internet. Searches are now pretty fast.

To download, obviously you need the Internet, but the script can pull the cached paths out of files.index, so no searching is involved.

Then, when you want to update the index files, you use the new "update" command- which parses master.index and recreates the names.index and files.index files. It will take some time to run, though.

The index files must be in the same directory as the script when you run it.

Also, I've uploaded this version to the Cemetech and ticalc.org archives (Omni doesn't have a folder for comp utilities).

88
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 25, 2010, 12:10:29 am »
Ah good to hear it will work on 7. I should try this and install python when I get some time. :)

I worry about what will happen if I type quadratic solver, though... I'll get about half of the quadratic solvers on ticalc.org (the other half not being spelled correctly)

True. quicklist "Quadratic Solver" gives me 157 results:

Spoiler For Spoiler:
Code: [Select]
C:\Python27\Dev>python calcpkg.py quicklist "Quadratic Solver"

Search for 'Quadratic Solver' returned 157 result(s)

File Name                                                              Category (excluded in quick search)
=======================================================================================================================
Quadratic Solver
23+ Advanced Solvers
25 Advanced Solvers
Quadrat 80 v1.0 Quadratic formula solver
Comprehensive Quadratic Equation Solver
Comprehensive Quadratic Equation Solver
Quadratic Formula Solver
Quadratic Solver
Quadratic Solver
QuadOreh 1.0 - Quadratic Formula Solver
Quadratic Equation Solver
Quadratic Solver v2.5
Quadratic Equation Solver
Quadratic Formula Solver
Aquations
Aquations
Quadrat 81 v1.0 Quadratic formula solver
Quadratic equation and vertex solver program 1.0
AP Tools 5.1
Quadratic Equation Solver
Ultra-Small Quadratic Equation Solver
DCSQuad Solver v1.0
Grayscale Quadratic Equation Solver
Erik Huelsebusch's Quadratic Equation Solver
ABC-Formula 3.1
ABC-Formula 3.1
Class Aid v2.0
Final Fantasy Quadratic Solver
All In One v1.5
Quadratic Equation Solver
Completing the Square Quadratic Solver
Multi-Display Quadratic Solver
Basic Quadratic Solver
QuadForm-92 6.4
AlgQuad - the ultimate quadratic equation solver!
Quadratics Solver
Quadra Solver v0.5a
Quadratic Solver v.1
Simple Quadratic Solver
Math99
QuadFACT Quadratic Equation Solver
Quadratic Formula
Quadratic Formula
Quadratic Multi-variable Solver
Quadratic Formula Solver
Quadratic Formula Solver
Advanced Quadratic Formula Program
Exact Quadratic
QForm 0.1
Exact Quadratic Solver
Quadratic Equation Solver
Quadratic Equation Solver
Quadratic Equation Solver
Quadratic Solver
N00B C4K3 Quadratic Solver
Equation Solvers
Quadratic Quarto
TI-Source Math Suite 2000, Second Series
TI-Source Math Suite 2000, Second Series
Quadratic Quarto
Quadratic Equation Solver v2.1
HGG's Math Program v2.0 for TI83
HGG's Math Program v2.o
TrigPrgm by Kyle
Quadratic Equation Solver
Quadratic Equation Solver
All About Quadratics
All About Quadratics
A Quadratic Solver!
Quadratic Equation Solver
Quadratics Equation Solver
AcT 2.0
Quad Solver v1.0
Quadratic Solver That Shows The Work
Geometry Formulas Plus
Quadratic Formula Solver
MATHMATX  Version 4.3
QFORM2
Reapex's Quadratic Formula Solver
Cheater v2.0
TI Tools v1.0
Quad 2001 v3.0
Quadform
Quad GS v1.1
Quadratic Equation Solver
Quadratic Solver
Pythag86 v1.0.5
Quadratic Solver
ABC-formula v2.0
MATH B formulas
pythagorean therom solver
QFormula
Quadform
Quad4Mula
CHS Math Utilities
Airwack v2.0
Quadratic Solver
83Quad v2.5.2
Nice Ice v3.5
Quadremy
Quadsolve
Quadratic equation solver
ZQuadrat v1.2
Quad GS v1.1
ZQuadrat v1.3
Some Cool Programs
Math Master 4
Quadrad89
Mathematical Solvers v1.0
Quad GS v1.1
Quad GS v1.1
Math OS
ZQuadrat v1.3
Ultimate Quadratic Solver
Tiny Quadratic Equation Solver
Math Programs v1.09
Equation Solver
Six Useful Math Tools
Nice Ice v3.01
qform( )
TriQuad2
Quadratic Equation Solver
ZQuadrat v1.3
MathPack v2.0
Cheater v3.0
AndyMath 1.0
Yet Another Quadractic Solver
The Everything Program
Equation Solver
FormsPro v1.46: Math Class Just Got A Whole Lot Easier!
TI-Source Math Suite 2000, Second Series SR2
Math Help
Mathh version 5.00
Tisthammerw’s Algebra Toolkit v1.3
blueNote lite
Math super solver
Algebra II Toolbox v6.89
Formula Solver
Function Solver
Equation Solver
Algebra Solver v2.1
Algebra Solver v2.1
Algebra Solver v2.6
Algebra Solver v2.6
Chromium 1.1
Xion OS v.4.0 Beta Shell
~Garrett's Toolbox
The Ultimate Algebra II and Geometry Collection!!
2nd Degree Polynomial Solver
The Ultimate Algebra II and Geometry Collection!!
Ultimate Math Program 2
The ultimate solver
The New Equation Solver
Esolve 4
Unique Equation Solver v1.01 with engine
Algebra I/Geometry/Trigonometry
Superior 1.2

If there was a ticalc.org repository set up in the same way as, say, a Linux repository, it would be much easier. I'm forced to use "Search" to get files.

All I'll say is: there's a reason "get" prompts you before it downloads something...

Also, you can use CTRL + C to interrupt the current process.

89
Other Calc-Related Projects and Ideas / Re: ticalc.org "Package Manager"
« on: November 24, 2010, 10:55:10 pm »
It will work on x64- I coded it on Windows 7 x64. And it doesn't require any other Python libraries.

Eeems:

Hrm, not sure why. Does it give Python exceptions?

If it does, can you post them?

I haven't had a chance to run it on my Fedora partition. On Windows 7, I have a Python 2.6.6 installation, where it works fine. I'm booting into Fedora now to find out, though.

EDIT: Booted into Fedora; it works fine. Try this command:

python calcpkg.py get "Wacky Fun Random Numbar Generator"

That should download all 12 WFRNGs from ticalc.org. Please post whatever it outputs.

90
Other Calc-Related Projects and Ideas / Re: X-Converter
« on: November 24, 2010, 10:51:14 pm »
Strange, I would have thought that libraries/compilers/whatever that are available to code on 68K now supported the 89T. X.x Good luck fixing compatibility with the calc.

Well, X-Link is a 83+ application, not an 89 application. :) So it's not really a problem with 68k coding.

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