Author Topic: Axing your mind  (Read 17836 times)

0 Members and 1 Guest are viewing this topic.

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: Axing your mind
« Reply #15 on: July 05, 2011, 04:13:42 pm »
Huh. Perhaps Axe is parsing the , as a }
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 Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axing your mind
« Reply #16 on: July 05, 2011, 04:18:12 pm »
Fixed the bug, it was simply skipping over it by mistake thinking it was }.

By the way, another syntax obfuscation you can do is that Axe doesn't usually differentiate between } and ) so you can sometimes use them interchangeably.  Sometimes you can't though, especially with r modifiers.  Try this: sin(5}
« Last Edit: July 05, 2011, 04:19:02 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Axing your mind
« Reply #17 on: July 05, 2011, 10:38:16 pm »
Good to hear, Quigibo! The first part is anyway. *.*
sqrt(X2+Y2->{{{ºD-I}r}+sin(5}}
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 Broseph Radson

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 295
  • Rating: +20/-1
  • Its 0x1A4 somewhere
    • View Profile
Re: Axing your mind
« Reply #18 on: July 05, 2011, 10:43:44 pm »
 O.O
good lord i dont stand a chance here...

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Axing your mind
« Reply #19 on: July 06, 2011, 01:50:19 am »
Good to hear, Quigibo! The first part is anyway. *.*
sqrt(X2+Y2->{{{ºD-I}r}+sin(5}}

Taking a wild guess here:
Its taking the square root of X^2+Y^2 and storing it to the position of D-I, plus the sine of 5?

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Axing your mind
« Reply #20 on: July 06, 2011, 02:02:06 am »
Interesting...an obfuscated Axe mini-contest would be cool to see, working similarly to the International Obfuscated C Contest

Ashbad

  • Guest
Re: Axing your mind
« Reply #21 on: July 06, 2011, 10:50:55 am »
Good to hear, Quigibo! The first part is anyway. *.*
sqrt(X2+Y2->{{{ºD-I}r}+sin(5}}

Taking a wild guess here:
Its taking the square root of X^2+Y^2 and storing it to the position of D-I, plus the sine of 5?

Not quite ;)

It's taking the square root of X squared + Y squared and loading it in the byte pointed to by the sine of 5 plus the byte pointed to by the short pointed to by the address of D minus the value of I.  Close :)

No one is gonna try mine? :'(
« Last Edit: July 06, 2011, 11:02:03 am by Ashbad »

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: Axing your mind
« Reply #22 on: July 06, 2011, 01:53:11 pm »
All y'all are wrong about mine.
Spoiler For Hint:
Note missing )
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 ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Axing your mind
« Reply #23 on: July 06, 2011, 03:19:17 pm »
so it's not valid...
There's something about Tuesday...


Pushpins 'n' stuff...


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: Axing your mind
« Reply #24 on: July 06, 2011, 04:05:24 pm »
Oh, it's perfectly valid.
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!

Ashbad

  • Guest
Re: Axing your mind
« Reply #25 on: July 06, 2011, 04:43:09 pm »
Oh, it's perfectly valid.

Well then I'm correct :P

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: Axing your mind
« Reply #26 on: July 06, 2011, 05:27:52 pm »
Oh, it's perfectly valid.

Well then I'm correct :P
No. Remember that -> doesn't close all open parentheses in Axe. Remember where Axe closes open parentheses. Remember....
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 FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Axing your mind
« Reply #27 on: July 06, 2011, 05:31:00 pm »
Then perhaps it does what Ashbad says, but it square roots everything last instead of first?


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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: Axing your mind
« Reply #28 on: July 06, 2011, 05:31:48 pm »
Then perhaps it does what Ashbad says, but it square roots everything last instead of first?
Still no.
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 Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axing your mind
« Reply #29 on: July 06, 2011, 06:23:53 pm »
({{rand+nib{8/cos(SQRT(rand20)+8erandrand)16BITANDsin(->F)}}->{°Θ}r/{EFFFF xor L1))}16BITXOR{->{°C-4}rr°A+{Trand*85+rand^°C}}r}//{rand+L1}2)**{F} and {5max(,)5}

This code is not valid Axe code. You have mismatched parentheses:

Depth: 0123        4     5    6      5          4           5   432  3  2 3           210
        ({{rand+nib{8/cos(SQRT(rand20)+8erandrand)16BITANDsin(->F)}}->{°Θ}r/{EFFFF xor L1))}    continued below...
Depth:          1  2    1     2               10 -1
        16BITXOR{->{°C-4}rr°A+{Trand*85+rand^°C}}r}//{rand+L1}2)**{F} and {5max(,)5}



sqrt(X2+Y2->{{{ºD-I}r}+sin(5}}

  • Calculate (X2+Y)2, save value for later.
  • Load the address of the D variable, and offset this address backwards in memory I bytes.
  • Load the word pointed by the address above.
  • Load the byte pointed to by the word above.
  • Add to this byte Axe's approximation of 127 times the sine of 5 binary degrees, which is 19.
  • Attempt to store the low byte of the previously calculated X2+Y2 to the byte pointed to by the address above. However, in the normal operational mode of the calculator, this address will point to flash so the write will fail.
  • Calculate the square root of the value from 2 lines above, giving a final value of 4 to 16.

Alternatively, as one run-on sentence:

Attempt, but fail because flash is read-only, to store the low byte of x squared plus y, squared to the byte pointed to Axe's approximation of 127 times the sine of 5 binary degrees, which is 19, plus the byte pointed to the word pointed to the address of the D variable offset backwards in memory I bytes, and finally take the square root of the address to which x squared plus y, squared was attempted to be stored, giving a final value of 4 to 16.
« Last Edit: July 06, 2011, 07:21:11 pm by Runer112 »