Author Topic: New User  (Read 4236 times)

0 Members and 1 Guest are viewing this topic.

Offline Converge

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +2/-0
    • View Profile
New User
« on: January 10, 2014, 02:11:03 pm »
Hi everyone

I am a first year high school math teacher in the US.  Since I was fortunate enough to have a set of NSpires and a Navigator system in my classroom, I have started coding scripts in Lua to create activites for my classes.  I am hoping to contribute to this forum, as well as learn more about coding in Lua for the NSpire.  I have a few "finished products" that I could share, but I'm not sure how or where I would do so. 

I have been coding for a long time, but only as a hobby.  In high school I did the USACO contests, and in college I worked through about 100 problems on Project Euler.  The language I am most familiar with is Python, but I have also worked with C++, Java, and Mathematica. 

So far I have been writing code in the Script editor built into the NSpire software.  I would prefer to use a fancier text editor (Notepad++) so that I can collapse blocks of code.  Is there any way that I can edit code inside a separate text editor and still be able to easily see the result in the NSpire software?  I thought about "importing" the file into a page of a .tns file, but could not find a way.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: New User
« Reply #1 on: January 10, 2014, 02:12:31 pm »
Hi converge welcome on the forum :)

i'll be the first:
have some peanuts :D
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: New User
« Reply #2 on: January 10, 2014, 02:16:08 pm »
Hi there!

Glad to see yet another Lua code join the forums! :)
You can use Luna for that: http://www.ticalc.org/archives/files/fileinfo/441/44113.html. It's a command line based tool that will just do the job. Also, you can use my buildtools to have the ability to include files, making life sometimes a bit easier: https://github.com/jimbauwens/ETK/tree/master/buildtools.

Looking forward to your projects :)

Edit: sorry, misread the fact that you want to view the files. You can just keep the software open and issue a command to open the tns file that is build using Luna.
« Last Edit: January 10, 2014, 02:17:11 pm by Jim Bauwens »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: New User
« Reply #3 on: January 10, 2014, 02:16:40 pm »
Ooh, a teacher! Welcome to Omnimaga and have some peanuts!

!peanuts

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: New User
« Reply #4 on: January 10, 2014, 02:16:48 pm »
Hello Converge, welcome to Omnimaga :)

Unfortunately, I don't know much about Lua in general. I use to use OCLua to code Lua on-calc via the classic Notes tab, but it's pretty outdated. If you want to have the features of Notepad++ (or nearly) on your TI-Nspire, you should take a look at Jen's Script Editor, which is an on-calc editor including block collapse for instance.

Offline Converge

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +2/-0
    • View Profile
Re: New User
« Reply #5 on: January 10, 2014, 02:26:43 pm »
Ah, I should clarify!

I want to be able to use Notepad++ while coding on my computer.  I just don't want to copy/paste my code into the NSpire script editor every time I want to run it.

Thanks for the link, Jim.  I will check it out.  Admittedly, I have never used any thing "command line" for my programming; somehow always been intimidated by it and sought more user-friendly options.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New User
« Reply #6 on: January 10, 2014, 02:55:33 pm »
Hey, welcome to the forum!
A teacher O.O
You could post your nSpire lua projects here: http://www.omnimaga.org/index.php?board=174.0
and your general programming projects here (use the appropriate sub-board): http://www.omnimaga.org/index.php?board=22.0

Anyways, have some peanuts:
!peanuts

I hope you'll enjoy your stay! :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: New User
« Reply #7 on: January 10, 2014, 05:26:38 pm »
Heya and welcome here! :)

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: New User
« Reply #8 on: January 10, 2014, 08:47:41 pm »
Welcome to σmπimαgα! Glad to see another Lua programmer. Have some peanuts.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline The_King

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 247
  • Rating: +6/-2
  • Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
    • View Profile
Re: New User
« Reply #9 on: January 10, 2014, 09:43:13 pm »
w3lc0m3 to omnimaga Converge

I hope help from omnimaga enhances your teaching

and help from you enhances omnimaga

once again welcome