Author Topic: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App  (Read 5333 times)

0 Members and 1 Guest are viewing this topic.

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #20 on: April 04, 2015, 03:35:46 pm »
Small bug report (run on Windows 7)

C:\Windows\system32>fwew
Fwew 1.00-BETA by Tirea Aean
Crossplatform dictionary search
fwew -h for usage, see README

Fwew:> hiyìk
panic: runtime error: index out of range

goroutine 1 [running]:
main.getLocalWordByID(0x515cf0, 0x2, 0x51ad50, 0x3, 0x0, 0x0)
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:140 +0x8ef
main.main()
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:271 +0x1421

Edit: seems it happens when word contains ä or ì. Dawm cmd.exe, which is not unicode application. Can you check it directly on windows, ma Tirea?
But also:
C:\Windows\System32>fwew
Fwew 1.00-BETA by Tirea Aean
Crossplatform dictionary search
fwew -h for usage, see README

Fwew:> return
panic: runtime error: index out of range

goroutine 1 [running]:
main.getLocalWordByID(0x515cf0, 0x2, 0x51ad50, 0x3, 0x0, 0x0)
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:140 +0x8ef
main.main()
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:271 +0x1421

C:\Windows\System32>fwew -r return
panic: runtime error: index out of range

goroutine 1 [running]:
main.getLocID(0xc082002205, 0x6, 0x51ad50, 0x3, 0x0, 0x0, 0x0)
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:70 +0x109c
main.main()
        C:/Users/Tirea/Documents/GitHub/fwew/src/fwew/fwew.go:221 +0x36df

Hmmmmm.
« Last Edit: April 04, 2015, 04:07:49 pm by Blue Elf »
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 9839
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #21 on: April 04, 2015, 04:10:58 pm »
Well, the Windows CMD is not designed to play with it like the Linux one...
That's why I would use a simple app.
« Last Edit: April 04, 2015, 04:14:04 pm by Tìtstewan »

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #22 on: April 04, 2015, 09:23:54 pm »
Well, the Windows CMD is not designed to play with it like the Linux one...
That's why I would use a simple app.

but they are alike in so many ways. This app should be (and is, at my latest personal tests) cross-platform.


--------
Thank you for your bug reports ma Blue Elf. I'll get to those soon as I can.

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #23 on: April 06, 2015, 07:28:41 am »
Some fun I've found today:

C:\Windows\>fwew hawmpam
n. noise$$ sound that is excessive, unnecessary, inappropriate, unextepected or
startling


BTW - why not to make this thread sticky ? IMHO it is worth of it
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 9839
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #24 on: April 06, 2015, 07:42:07 am »
BTW - why not to make this thread sticky ? IMHO it is worth of it
Tsakem soleiyi. ;)

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #25 on: September 10, 2015, 06:21:36 pm »
So, I've finally got to the bottom of these error outputs on the Linux version. What you have there is typically what happens when Fwew cannot find the word you're looking for.

I've just committed the fix for Linux; Mac and Windows are to come.

EDIT: Ma Blue Elf, I confirm that those issues you posted in that post are fixed.

In one of them, you asked:

C:\Windows\System32>fwew
Fwew 1.00-BETA by Tirea Aean
Crossplatform dictionary search
fwew -h for usage, see README

Fwew:> return


which means the same thing as

C:\Windows\System32>fwew return

which is to ask fwew to find the Na'vi word "return". You got the index out on that because it could not be found.

As for the others, you're right. I cannot help that Windows has its faults with UTF-8 I/O... :S
« Last Edit: September 10, 2015, 06:25:43 pm by Tirea Aean »

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 9839
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #26 on: September 10, 2015, 06:31:42 pm »
Tirea, just as info: Windows uses UTF-16 internally.

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #27 on: September 10, 2015, 06:41:19 pm »
yes, in "New Windows Applications" however, cmd exe is not a such app. It's probably one of the oldest Windows applications of all time. I don't think it's UTF-16 or UTF-8 native. I think it just uses a codepage from your locale. Or something?

Hmm. I still have to build the code on Windows and see how it works.  Looks good on Linux so far.

EDIT: HRH.gif Cloudflare said "BLOCKED" because I wrote the text sequence "cmd.exe" in my post. ;D ;D

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 9839
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #28 on: September 10, 2015, 06:51:10 pm »
HRH.gif

Hmm, the CMD of Win10:
old gallery link?id=6713[/img]

I should give it a try. :-\

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #29 on: September 10, 2015, 09:29:35 pm »
well, I merged the master source code to the Mac / Windows branches.  And now the binary has been updated for Mac.

I was hoping to be able to cross-compile this easily to Windows, but it's sort of a pain... :nantang:

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #30 on: September 11, 2015, 10:44:38 pm »
well, I've accomplished this today:

old gallery link?id=6719[/img]


Still a bit of work to do yet before I commit to master.

 :ikran: 8)

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #31 on: September 12, 2015, 02:38:30 pm »
HRH.gif

Hmm, the CMD of Win10:
old gallery link?id=6713[/img]

I should give it a try. :-\
Thats doesn't mean anything; I can write the same text correctly on Win7 with codepage 437 active and English default locale. If you change it something different, are you able to write ì? With Czech locale code for ì is written like ě....
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #32 on: June 19, 2016, 04:51:29 pm »
I've done a little bit of work on this program in the last few days. (see https://github.com/tirea/fwew )


Here's a small update...



kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #33 on: February 01, 2017, 01:41:37 am »
UPDATE for Linux users (will cross-compile to Windows/Mac soon-ish):


I've completely rewritten fwew.go

It has many amazing new features now. Such as,


* config file for default language
* non-args mode is now an infinite REPL (Read-Eval-Print-Loop)
* set and unset cli flag values, even in cli args mode!


See screenshots.


Feature temporarily removed: Affix parsing has been removed until I can rewrite it. It's the next feature I'm going to implement. Then it's data file updates.


To check out what's new / Install the new version, I recommend running this:


$ sudo rm /usr/local/bin/fwew
$ rm -rf ~/.fwew

(There is now an uninstall.sh script that comes with Fwew that does this)


You can then either clone the repo and run the install.sh script
or
You can download the source code zip, extract then run install.sh

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #34 on: February 03, 2017, 02:14:22 pm »
Impressive! Waiting for Windows version. BTW, how about dictionary data files? IIRC it uses same files as vrrtepcli, but it couldn't do update for ages.
Trying now...... it works! Txantsan!
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #35 on: February 03, 2017, 03:50:42 pm »
This new version is gonna be freakin AWESOME SAUCE.

I will get time to cross-compile for non-Linux OS next month. Ubtil then all I can do is work on Linux..

The newest version of Fwew on the Linux branch of github (and soon Mac and Windows too will) uses a new single data file. It will also feature automatic updates. All on the roadmap.

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline archaic

  • Palulukan Makto
  • *****
  • Posts: 3063
  • Karma: 73
  • Trying again with the language.
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #36 on: February 03, 2017, 06:09:42 pm »
Wow. you have been busy!

Thank you for all your endless hard work and dedication, it is deeply appreciated.

+1 from me.
The Dragon Affair my current fanfic - now complete.

The Dragons Clutch, my last fanfic, non Avatar related.

Machine, my last Avatar related fanfic.

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #37 on: February 03, 2017, 08:20:25 pm »
Wow. you have been busy!

Thank you for all your endless hard work and dedication, it is deeply appreciated.

+1 from me.

Irayo! :D

I enjoy every second of it. Writing Fwew has helped keep me sane lately. I'm still on it as I post this. I hope to get my TODO list down to empty very soon. Once I have it with all the features and optimizations I want, I'm gonna release it as 2.0 on all platforms. :D

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #38 on: February 05, 2017, 04:26:16 am »
Wow. you have been busy!

Thank you for all your endless hard work and dedication, it is deeply appreciated.

+1 from me.

Irayo! :D

I enjoy every second of it. Writing Fwew has helped keep me sane lately. I'm still on it as I post this. I hope to get my TODO list down to empty very soon. Once I have it with all the features and optimizations I want, I'm gonna release it as 2.0 on all platforms. :D
Good to hear all this - you are awesome person. +1 for all your effort.
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9891
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #39 on: February 20, 2017, 09:55:00 pm »
It's been a while since I shared a screenshot.

Much has changed over a year's time, but there is still so much to do (and re-do) :o



kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

 

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

SMF 2.0.15 | SMF © 2017, Simple Machines
Privacy Policy
| XHTML | RSS | WAP2 | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, LightStorm Entertainment or The Walt Disney Company.
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