Author Topic: Features Wishlist  (Read 607071 times)

0 Members and 4 Guests are viewing this topic.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Features Wishlist
« Reply #2295 on: May 16, 2011, 04:59:11 pm »
I would love a switch statement. Just throwing that out there.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2296 on: May 16, 2011, 05:04:13 pm »
To be fair, I can't think of how these features would be terribly useful. I've never encountered a game or program that tells me to press any key except ENTER, or a game that tells me to press ENTER and not touch any other keys. If you can suggest a good use for it to me, then I will submit that it could be useful as a built-in feature.
Avoiding the hardware's three-corners bug.
Also, I edited my post.
EDIT: Edited it even further.
« Last Edit: May 16, 2011, 05:06:32 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2297 on: May 16, 2011, 05:06:08 pm »
How would that bypass the 3 corners bug?

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2298 on: May 16, 2011, 05:08:53 pm »
You can "avoid" the three-corners bug already by checking the key you want to check and then making sure the 3 corner keys aren't all pressed as well. For instance:
Code: [Select]
getKey(47) and not(getKey(48) and getKey(40) and getKey(39))

Although in reality you're not avoiding the bug, you're just changing how it works. Without the fix, pressing the 3 corner keys but not the key you want will result in a false positive. But on the other side of the coin, with the fix, pressing 2 of the corner keys as well as the key you want will result in a false negative.
« Last Edit: May 16, 2011, 05:12:19 pm by Runer112 »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2299 on: May 16, 2011, 05:10:03 pm »
Yeah, since it is in hardware, there really isn't any way to fix the 3 corners bug :/

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2300 on: May 16, 2011, 05:13:36 pm »
There are multiple sets of three corners that can set it off, and checking for all of them would be far larger than just checking if only that key is pressed. Also, things get surreal once you start pressing in the top five rows of keys.
In case you're wondering, I made a program for the explicit purpose of investigating this bug
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2301 on: May 16, 2011, 05:15:22 pm »
There are multiple sets of three corners that can set it off, and checking for all of them would be far larger than just checking if only that key is pressed.

Except thats exactly what the routine would have to do if implemented, check every single key.  Like Runer said, I think this is a pretty specific request, and might be better suited as an axiom because of its size and complexity.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2302 on: May 16, 2011, 05:18:20 pm »
Why must everything be an Axiom?
I also find it interesting that noone's commented on my Window() suggesstion
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #2303 on: May 16, 2011, 05:20:36 pm »
There are multiple sets of three corners that can set it off, and checking for all of them would be far larger than just checking if only that key is pressed. Also, things get surreal once you start pressing in the top five rows of keys.
In case you're wondering, I made a program for the explicit purpose of investigating this bug
Like this? http://ourl.ca/7652 :D
Why must everything be an Axiom?
I also find it interesting that noone's commented on my Window() suggesstion
It's because you're requesting specialized stuff that could be built with Axe's built-in routines.  In other words, you're more-so requesting sub-routines and not actual commands. ;) Edit: Or look at the post below for a better explanation.
« Last Edit: May 16, 2011, 05:34:00 pm by ztrumpet »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2304 on: May 16, 2011, 05:23:28 pm »
It's because you're requesting specialized stuff that could be built with Axe's built-in routines.  In other words, you're more-so requesting sub-routines and not actual commands. ;)

His specific command couldn't be written with Axe actually, without some sort of brute forcing of the getKey(A) command.  But we are not saying everything must be an axiom, we are saying things that have very specific uses should be made into Axioms.  Quigibo wanted Axe to have all the general use commands that programmers would use on a regular basis.  He also knew he could never fill all of the requests, and so he created the Axiom system specifically for cases like these, where there is a definite need for a new routine from a programmer, but that routine isn't general enough to be included into the Parser himself. 

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #2305 on: May 16, 2011, 05:31:08 pm »
I'M glad to see a new version out Quigibo :D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #2306 on: May 21, 2011, 07:11:41 pm »
:w00t: Some of these commands are really getting useful.




Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #2307 on: May 21, 2011, 11:38:27 pm »
Maybe a button in the program/compile list which jumps straight to the start of the backup files?  It could be the plus key or something.
Vy'o'us pleorsdti thl'e gjaemue

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Features Wishlist
« Reply #2308 on: May 26, 2011, 11:33:44 pm »
Did you add ++ and -- for increasing and decreasing like C++?  Those would be nice

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2309 on: May 27, 2011, 08:55:58 am »
I believe the reason computer languages introduced the ++ function is because it produced more optimized code. However, on the z80, incrementing a 2-byte value with C+1→C is already the most optimized way to do so. I guess it could be added to produce slightly smaller source code, but it wouldn't be adding any optimization.
« Last Edit: May 27, 2011, 08:56:58 am by Runer112 »