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 - AngelFish
Pages: 1 ... 41 42 [43] 44 45 ... 215
631
« on: July 19, 2011, 03:41:35 am »
Nice project, BlakPilar. Have you considered using a bytecode parser as the base of your compiler? TI-BASIC is very close to bytecode with the pre-tokenized functions, so it'd probably save a lot of work.
Request: Full math support. I know it's kind of obvious, but sometimes it annoys me to waste time writing simple functions (that take a long time to execute on-calc) in PC math languages that could be done very quickly in TI-BASIC.
Also, the ability to call external programs would be nice.
632
« on: July 19, 2011, 02:27:55 am »
I'm pretty sure Qwerty.55 has both calcs, and has messed with that.
I talked with him on IRC last night, he didn't mention messing with it but when I can I'm going to get a multimeter and find out what input for what part goes where.
I did mess with the IO cables a bit and got them to send signals. The TI kept freezing up for some odd reason while it was connected. Unfortunately, I appear to have lost my cable, so I'll have to buy a new one.
633
« on: July 18, 2011, 11:10:40 pm »
Actually, all of the normal primes would be prime according to that definition, since no other number evenly divides them. I'm not sure where Xeda's going with that, though, since integer factorization is only NP-complete if the numbers are prime relative to the set of natural numbers.
634
« on: July 18, 2011, 03:10:32 am »
Can we close this topic until someone comes up with a practical crack of the RSA algorithm itself? I don't mean to be a downer, but here's the situation:
Given the current 2048 bit keys and classical computations, the scale of the problem is vastly more difficult than even the largest keys broken today (768 bits). By vast, I mean volume of the known universe measured in nanometers vast*. The chance that anyone will solve it is so exceedingly slim that the only mathematical tool I have available to calculate it has to work with arbitrary precision operations simply in order to present it. Unless someone gets their hands on a massive quantum computer running Shor's algorithm**, it is, in short, an impossible problem. Feel free to prove me wrong, but the community's CPU cycles could be better spent on other projects.
*Even this is an understatement.
**It'd take about 30 seconds for a quantum computer to break the code, since the computations necessary increase according to (lg n)^3 for an n bit key.
635
« on: July 17, 2011, 11:32:04 pm »
Yeah, that might be a better choice. Get a life, don't waste your time doing useless autistic things on your calculator. Get to know people, talk to girls, drink, smoke pot, stay intelligent, etc. Go enjoy life.
1) Google the word "Autism." 2) Remember that all forums are inherently totalitarian and we will have no problems banning you if you continue breaking the rules.
636
« on: July 16, 2011, 03:35:14 pm »
Hum... My connection is SO BAD that I get disconnected right away from a timeout. I do have one bar and the network is god knows how far away. I wonder if someone can write a batch script or something to add the "PRIVMSG #omnimaga" autmatically. I dont know exactly how telnet works tho.
You can't do telnet with a batch script by design. The way microsoft wrote telnet.exe, all execution pauses when the commandline goes into telnet and requires manual input from that point forward. You'd probably have to use a compiled language to telnet. @DrDnar: The ban went away after a few hours.
637
« on: July 16, 2011, 12:56:31 am »
Yeah, it's just hard to keep track of your typing when the page scrolls every ten three seconds.
638
« on: July 16, 2011, 12:51:10 am »
I'm not sure why I was banned, but I can't reconnect now  Every time I try (even under different usernames), it just returns my IP followed by "( ***** BANNED )"
639
« on: July 16, 2011, 12:49:24 am »
It should be. Telnet basically allows you to implement the raw underlying IRC protocol.
640
« on: July 16, 2011, 12:44:13 am »
I was wondering how many people have experienced the pain sheer joy of IRC over Telnet. The premise of Telnet is that you can connect at a fairly low level to computers on other systems through its use, which means you can view IRC through the command prompt. To do it on windows and access #omnimaga from the command line (once Telnet is installed): telnet irc.prison.net 6667 NICK RickAstley USER RickAstley 8 * : Rick JOIN #omnimaga
This will set you up as a user named RickAstley in #omnimaga whose real name is Rick. Of course, what good is just joining? Talking is even more fun and uses the badly named PRIVMSG function: The code PRIVMSG #omnimaga "message" will send "message" to everyone in the chan. To send a private message, just use their username instead. If you remain inactive for too long, though, you'll receive "PING :irc.prison.net", to which the appropriate response is "PONG :irc.prison.net". If you don't respond, you'll be automatically disconnected. Also, be careful if you try it. My IP is now banned from EFnet
641
« on: July 15, 2011, 10:00:26 pm »
Hello everyone, I'm SitarKnight, I joined this community after seeing some videos of the TI-Nspire and TI-84 Plus playing games. One of the things that really got my attention was the video of the gameplay for Desolate. It totally inspired me to wanna go out and buy a calculator (which I don't yet have) and learn how to make my own games. (which I know nothing about and would appreciate some help on the matter) I don't really have any background with programming, but I'm willing to learn. Any advice would be highly appreciated:) Thank you for reading.
What calculator you should get depends on what you want to do. If you want a large base of existing software to learn from and play with, the 84+ series is your best bet. It has a lot of existing stuff like Axe, many active developers, and it's fully hacked as well as extraordinarily well documented. If you want a lot of memory as well as a good BASIC, then the 89's and other 68K calculators are nice. However, they have almost no developers remaining and finding help may be difficult. If you want the best hardware, the Nspire series has it. However, it's very difficult to ensure future compatibility and TI tends to block exploits, meaning that running code is often difficult. If you want the platform with the most potential*, the Prizm is the way to go. You can program for it in a number of languages, it has a useful (if slow) implementation of BASIC, and the hardware is far better than the 84+ series. It even has a high resolution color screen, so that you can draw those pretty images that the 84+ can't. The main problem is that the Prizm is so new that a lot of programming tools and documentation don't exist yet. There's also the HP calculators, which are insanely good at math, but tend to be rather user unfriendly and lack almost any sort of community. *I'll admit to being a bit biased
642
« on: July 15, 2011, 01:56:50 pm »
If you're going to write a serious compiler, it's pretty much a prerequisite to read the Dragon book. I've found it to be really good at explaining a lot of the techniques and difficulties in building a compiler.
643
« on: July 13, 2011, 05:40:10 pm »
You shouldn't have to overclock the Prizm to get a high framerate. At 58 Mhz a framerate of over 30 hz should be possible. What method are you using to draw the video. A slowdown will occur if you use pixel on commands instead of using the VRAM as a buffer. Also if you did any compression that would contribute to the slow down.
A framerate of 20Hz is the maximum I would expect with the OS screendraw routines.
644
« on: July 13, 2011, 12:00:39 am »
Khavi will accept both specially prepared .sh3 files containing Java bytecode and normal .class files when it opens a file. However, it does not accept .jar files, mostly because I don't have enough information on them to write a parser capable of handling arbitrary files. If anyone would like to point me to some decent documentation for them, I'd be happy to consider adding support for the filetype.
645
« on: July 12, 2011, 08:50:27 pm »
The Khavi project is once more active, since I now have a reasonable way to debug the program. Because writing an interpreter framework capable of interpreting serious language bytecodes like Java and Lua is a monumental task, there's obviously a lot of stuff that has to go together for it to work properly. Uncompleted features:- Full multi-threading support
- Privileges
- Shell dependencies/interfaces
- Interpreter run-time libraries
- Native interfaces and external libaries
- Boot code
- Memory management (distinct from garbage collection)
- Garbage collection
The Languages:- Java bytecode:
Currently being written and debugged.
Khavi will accept both specially prepared .sh3 files containing Java bytecode and normal .class files when it opens a file. However, it does not accept .jar files, mostly because I don't have enough information on them to write a parser capable of handling arbitrary files. If anyone would like to point me to some decent documentation for them, I'd be happy to consider adding support for the filetype.
getstatic java/lang/System/out Ljava/io/PrintStream; ldc "Hello, world" invokevirtual java/io/PrintStream/println (Ljava/lang/String;)V return
- Lua bytecode:
Currently being written and debugged.
Please note that the following is Lua bytecode. You can still write in Lua as long as you compile the code ahead of time. I currently use Lua for Windows as my compiler and have found it to be an excellent development environment. Khavi does not and will not interpret standard Lua files (.lua). These contain plaintext representations of the lua and are beyond the scope of the Khavi framework. In the future, extensions may be made to allow their use, but they will not be part of the interpreter itself.
getglobal ; print loadk ; "Hello World\n" call return sizek (2) const type 4 string size (6) "print\0" const type 4 string size (13) "Hello World\n\0"
- Brainf*ck:
Currently being debugged.
This is in here mostly as a joke and because I like the language. It also has the honor of being the first 3rd party interpreted language on the Prizm.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.
- Khavi Scripting Language (KSL):
Incomplete. The interpreter has only been partially written.
Khavi scripting language will be used in the native interfaces, while booting the VM, in thread management, in shell interfaces, debugging Khavi, etc... Basically, it's a language designed to be insanely fast to interpret, use as little memory as possible, and still remain editable on-calc. As the following example demonstrates, I don't expect anyone to actually want to learn it...
|0000|0001#02|0603^%48656C6C6F20776F726C640D00
Technical information:The Khavi framework is designed to assume as little as possible about the underlying code as possible. At present, the only assumption it makes is that it is parsing an underlying bytecode. Also, here's a simplified graph of Khavi's control flow and general structure. Latest release:Sorry, no releases are publicly available at this time.
Pages: 1 ... 41 42 [43] 44 45 ... 215
|