Author Topic: Decimal-to-Octal/Na'vi Converter  (Read 2716 times)

0 Members and 1 Guest are viewing this topic.

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Decimal-to-Octal/Na'vi Converter
« on: December 29, 2010, 04:10:10 am »
I wrote a little application in Java that shows you the octal value of a given decimal number and this number in Na'vi, too.
So far it's available in English and German.
Just save and then doubleclick the .jar-file.
Notice: You need the Java Runtime Environment (I think at least version 1.3)!

If any of you spots an error (I'm not Eywa ;))or wants it translated into another language, please tell me!

Changelog now in README file.

===ADDITIONAL LANGUAGES===
addlang.zip contains:
- (README)
- Czech (thanks to hemmond)
- Netherlands (thanks to eejmensenikbenhet)
======
« Last Edit: October 26, 2011, 10:30:14 am by Eywa'eveng-tìranyu »

Offline Yayo

  • Palulukan Makto
  • *****
  • *
  • Posts: 1273
  • Karma: 21
  • You see, Watson, but you do not observe!
Re: Decimal-to-Octal/Na'vi Converter
« Reply #1 on: December 29, 2010, 04:12:19 am »
I promise to inspect it when I gain access to a computer.  ;D


Yayo on facebook
Skxaypxe: callofdoty95

Offline Carborundum

  • Palulukan Makto
  • *****
  • Posts: 1021
  • Karma: 24
Re: Decimal-to-Octal/Na'vi Converter
« Reply #2 on: December 29, 2010, 05:03:12 am »
It accepts negative integers with... interesting results. ;D
We learn from our mistakes only if we are made aware of them.
If I make a mistake, please bring it to my attention for karma.

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #3 on: December 29, 2010, 05:33:34 am »
I see... ;D
Fixed.

I suppose the Na'vi don't have negative numbers.
That wouldn't make sense.
Imagine -7 trees or -1 toruk fighting 5 ikran - who wins? ;)

(All updated versions will be at the top of the topic.)
« Last Edit: December 29, 2010, 05:45:24 am by Eywa'evengä-tìranyu »

Offline Swoka Ikran

  • Palulukan Makto
  • *****
  • *
  • Posts: 1642
  • Karma: 29
Re: Decimal-to-Octal/Na'vi Converter
« Reply #4 on: December 29, 2010, 12:05:58 pm »
Looks interesting...

I'll have to try it when I get to a real PC capable of Java (my 2001 laptop with 256MB RAM, 995Mhz processor, and IE6 isn't gonna work).
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Offline 'eylan na'viyä

  • Omatikaya
  • ****
  • Posts: 447
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #5 on: December 31, 2010, 09:05:08 am »
i did something similar.
It is a modification of the smf forum software which also learn na'vi uses that replaces decimal numbers with octal ones. It also works with fractions.

http://forum.learnnavi.org/navify-the-web/octal-numbers-for-smf-forums/
unfortunately the test forum doesn't work and the other test forum is temporarily down too.

so if someone is interested or wants to do something with php i can give you the source code.

Offline Swoka Ikran

  • Palulukan Makto
  • *****
  • *
  • Posts: 1642
  • Karma: 29
Re: Decimal-to-Octal/Na'vi Converter
« Reply #6 on: December 31, 2010, 07:50:32 pm »
Just tried the Java app. Works fine. :)

This going to help me a lot when it comes to the Na'vi words for numbers...
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!

 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Offline eanayo

  • 'Eveng
  • ***
  • Posts: 205
  • Karma: 13
  • [n.] (zool.) bluebird
Re: Decimal-to-Octal/Na'vi Converter
« Reply #7 on: January 02, 2011, 04:17:57 am »
There's one tiny issue:

If there's a number with zam-something, and that something happens to start with m (mun, mrr), you end up with two m, e.g. 6910=1058=zammrr
I believe that the second m should be elided in all of those cases (zamrr for example).

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #8 on: January 02, 2011, 07:58:45 am »
Irayo ma eanayo.

Fixed.

(latest version at the top)

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9223
  • nv Eywa'eveng
  • Karma: 230
  • Can't help helpin'
    • Tirea Aean
Re: Decimal-to-Octal/Na'vi Converter
« Reply #9 on: January 05, 2011, 11:37:00 pm »
this program is Fantastic. +1.

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9223
  • nv Eywa'eveng
  • Karma: 230
  • Can't help helpin'
    • Tirea Aean
Re: Decimal-to-Octal/Na'vi Converter
« Reply #10 on: January 11, 2011, 10:10:51 am »
any possible way for this to convert in the other direction? ie octal/na'vi to decimal?
« Last Edit: January 11, 2011, 10:13:34 am by Tirea Aean »

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #11 on: January 11, 2011, 10:41:58 am »
Yes, I'm working on it, bu since I'm back to school( :P) now and it's rather complex,
I think it may take 1 or 2 weeks

Offline Yayo

  • Palulukan Makto
  • *****
  • *
  • Posts: 1273
  • Karma: 21
  • You see, Watson, but you do not observe!
Re: Decimal-to-Octal/Na'vi Converter
« Reply #12 on: January 11, 2011, 12:18:14 pm »
Results will be just as successful.. you hope. *Evil Laugh*


Yayo on facebook
Skxaypxe: callofdoty95

Offline eanayo

  • 'Eveng
  • ***
  • Posts: 205
  • Karma: 13
  • [n.] (zool.) bluebird
Re: Decimal-to-Octal/Na'vi Converter
« Reply #13 on: January 12, 2011, 09:52:59 am »
I think it may take 1 or 2 weeks

*enter regex magic*

There's a small Ruby program attached to this post that will just do this. I don't have a webserver to put it on, so you'll have to set up Ruby (1.9) on your system to use it. Sorry about that.

It'll read the Na'vi number from either the command line argument or STDIN, so for example:
Code: [Select]
$unnavi.rb mrrvomun
42
$unnavi.rb
mevozamzampuvomun
1138
$unnavi.rb < some_file_that_contains_the_number_zampuvomun
114
$

Note that the console encoding must support UTF-8 in order to work with the non-ASCII characters. Also, it doesn't check whether the input is a valid Na'vi number so it's pretty much garbage in, garbage out.

Feel free to re-use the guts of that for your own purposes.

Have fun!
« Last Edit: January 12, 2011, 01:31:03 pm by eanayo »

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #14 on: January 12, 2011, 10:32:44 am »
Yes, I'm working on it, bu since I'm back to school( :P) now and it's rather complex,
I think it may take 1 or 2 weeks
Results will be just as successful.. you hope. *Evil Laugh*

Ready. ;D
« Last Edit: October 19, 2011, 11:52:01 am by Eywa'eveng-tìranyu »

Offline eejmensenikbenhet

  • Ikran Makto
  • *****
  • *
  • Posts: 981
  • nl Netherlands
  • Karma: 14
    • Ketuwong aNeyn
Re: Decimal-to-Octal/Na'vi Converter
« Reply #15 on: January 12, 2011, 03:18:37 pm »
Great program!
I've send Eywa'evend-tìranyu the Dutch translations so, who knows?

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #16 on: January 13, 2011, 01:06:45 am »
In Dutch available now. :)
« Last Edit: October 19, 2011, 11:52:52 am by Eywa'eveng-tìranyu »

Offline Tsufätu Ayioangä

  • Ikran Makto
  • *****
  • *
  • Posts: 843
  • Karma: 21
  • Beast Trainer and Master
    • The Afanc's Lake - Tumblr
Re: Decimal-to-Octal/Na'vi Converter
« Reply #17 on: January 15, 2011, 06:24:27 pm »
It didn't let me download :(

Offline Eywa'eveng-tìranyu

  • Tute
  • ***
  • Posts: 326
  • Karma: 10
Re: Decimal-to-Octal/Na'vi Converter
« Reply #18 on: January 16, 2011, 02:52:05 am »
It didn't let me download :(

Maybe try another browser?

Offline Yayo

  • Palulukan Makto
  • *****
  • *
  • Posts: 1273
  • Karma: 21
  • You see, Watson, but you do not observe!
Re: Decimal-to-Octal/Na'vi Converter
« Reply #19 on: January 17, 2011, 12:41:03 am »
I cannot wait to get my laptop and download all of the Programs.. Avatray, etc.


Yayo on facebook
Skxaypxe: callofdoty95

 

Become LearnNavi's friend on Facebook Follow LearnNavi on Twitter! Watch LearnNavi's videos on YouTube

SMF 2.0.11 | SMF © 2015, Simple Machines | XHTML | RSS | WAP2 | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, or the Twentieth Century-Fox Film Corporation.
All trademarks and servicemarks are the properties of their respective owners.
Images in the LearnNavi.org Forums and Gallery may not be used without permission.

LearnNavi Affiliates:
ToS

LearnNavi is the community to learn Na'vi, the Avatar Language
"A place where real friendships are made." -Paul Frommer

AvatarMeet | Learn Na'vi Forum | Learn Na'vi Wiki | Na'viteri

LearnNavi