Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Adriweb

Pages: 1 [2] 3 4
16
Lua / Doodle Jump in Lua
« on: December 01, 2012, 11:06:17 am »
Hi guys :)

A few days ago, I got bored and looked around what I could quickly do, and making Doodle Jump was what I thought first :D

So, after a few hours, here's what I've coded so far.



Updates : Graphics + main/welcome menu :)


You can also play online :)  (but resize the window to approximately the image's size :P)
http://education.ti.com/html/nspireplayer/3.2.0/application/index.html?locale=en&nspirefile=https://raw.github.com/adriweb/Doodle-Jump-Lua/master/DoodleJumpLua32.tns

BTW : when launching the .tns, please either zoom up to 150% on the computer view, or switch to the handheld view ;)

Download :
- TI-Planet : http://tiplanet.org/forum/archives_voir.php?id=9446
- GitHub : https://raw.github.com/adriweb/Doodle-Jump-Lua/master/DoodleJumpLua.tns

( Version with bakcground image for 3.2 : https://raw.github.com/adriweb/Doodle-Jump-Lua/master/DoodleJumpLua32.tns )

Source Code : https://github.com/adriweb/Doodle-Jump-Lua/blob/master/DoodleJumpLua.lua



17
Math and Science / Error-correction Hamming codes question...
« on: November 10, 2012, 02:18:30 pm »
Hi,

I have a test soon about a lot of things, including a part with error-correction Hamming codes.
I thought I had enough things to work on on my notes, but now it looks like I was wrong :/

I have this exercise (roughly translated from french) :

Quote
A transmission has been received, and the message is the following :  101111001101110

1) Determine the syndrome [word].
2) What's the 11-bit message that has been sent ?


So basically, I believe the structure of the message is :
101111001101110
_______P3__P2_P1P0
(non-bold are the actual content, with maybe an error ? ; bold are parity-check bits)

I believe the message contains an error because P3 is 0 while there are 5 "1" at its left, which would have given a "1" for P3.

How do I determine the syndrome ?
I've looked on wikipedia and such, and it looks like I have to multiply 2 vectors (one being the matrix H of the parity bits things, and the other one being the vector of the whole message), to find a syndrom vector indicating the error position ?
I'm not too sure how to do that in my case but here's what I tried :

which gave me [[5][6][7][5]].
But I rememebered that it's not really a multiplication here, since we have to replace the additions by a parity-check operation which turns out to be a xor.   -_-

Do you have an easy way (or rather, not time-consuming) to know what bit is wrong ?

I'm sure I could read a lot more lessons online and eventually find what I need but maybe you guys will know directly what to tell me :P
Thanks !

Edit : see 3rd post in this topic.

18
News / The story behind the TI-84+ C discovery
« on: November 10, 2012, 09:53:07 am »
You probably didn't miss the big news : the discovery of a new TI-84 model : the TI-84 Plus C Silver Edition.

Indeed, this impressive new born is surprising everyone, since it was believed that a colored future actually belonged to the Nspire series (with the CX, released in 2011).

But do you know the real story behind this discovery, which actually began ... a month ago !?

This model started its public appearance in an unusual way... :
  • October 12th 2012 : someone called ''Ismael "seemathrun" Zamora'' posts a rather uncanny tweet : "@TICalculators can we see thecolor 84. please".

  • October 18th, 6 days later : the official TICalculators account answers his question : "Hi Ismael, Thanks for your interest in the TI-84 Plus C Silver Edition. The product is not available at this time. If you'd like to receive an email notification when more info is available, please visit http://bit.ly/RXeD1n " (in 2 separate tweets because of the 140 chars max). TI thus confirms (by mistake?) the existence of previously unknown model, with its full name, as well as a link to their official site, poitning to a page where you can register your email adress to get updates on the model's availability.

  • This reply-tweet apparently went unnoticed despite TICalculators' 3500+ followers. Only TICalc.org's account noticed the message and retweeted it, but then again, this retweet managed to remain unseen from the community.

  • November 8th, the "leak" : a member of the Cemetech community, 0rac343, creates a topic in which he says that his class (high school) is a pilot class chosen by TI to test a new model TI-84 which will be released in the "next spring" (2013) : The TI-84 Plus C Silver Edition, posting at the same time a photo of it, he took himself, probably without permission.

  • The largest TI community websites worldwidly relay the new and everybody starts wondering about technical and general features... (TI-Planet, Omnimaga...)

  • TI was contacted multiple times by several communities but apparently didn't reply (yet) as they don't want to comment on the leak.

  • Novembre 9th, TechPoweredMath writes an article about it, which got read and cited as source by much bigger tech news websites, mostly on Novembre 10th, like ArsTechnica, itself linked by NBCNews, Engadget...
Impressive, right ?

More info on tiplanet's wiki :  http://tiplanet.org/wiki/index.php?title=TI-84_Plus_C_Silver_Edition#D.C3.A9couverte_du_mod.C3.A8le

Source : http://tiplanet.org/forum/viewtopic.php?lang=en&p=132106#p132106

19
Lua / Nspire-Lua IDE : plugin for Intellij IDEA
« on: October 18, 2012, 04:58:12 pm »
      I have talked about "Intellij IDEA" on
the tinspire group as a Lua IDE (thanks to its wonderful Lua plugin), and I believe it can be quite good for you guys, especially for big projects where the current SDK isn't efficient (no support of multiple files etc.).

Here's some details on how to setup what you can see at the bottom of this post ;)

Basically, you can do either :
This (longer but it will make seperate SDKs for normal computer Lua and Nspire Lua)
  • Download Lua for windows 5.1
  • Add a new Lua SDK in Intellij (you can find that in the module settings, for example)
  • Select the Lua folder in program files as the lua sdk folder.
  • Download my addon and decompress it somewhere
  • Add from my addon the folder "nspirelua-api" as an external classpath folder in your new SDK
  • Save, apply, etc.
or (easier/faster but it will make computer lua think it has nspire lua API available) :
  • In Intellij's ( / module's ) settings, edit the KahLua SDK
  • Download my addon and decompress it somewhere
  • Add from my addon the folder "nspirelua-api" as an external classpath folder in your new SDK
  • Save, apply, etc.
After all that, create a new Lua project, and in the libraries on the left side, you should see not only the stdlib (of which you can unlink the io and debug API which aren't present on the Nspire), and you should be able to enjoy Intellij's Lua plugin things but for the Nspire Lua API too.
This it what it looks like when it's set up, on my computer :

Autocompletion example (of the events and other functions ) :






Auto-completion + arguments help :




Interactive documentation based onInspired-Lua's wiki :  (Ctrl-Q on a word)




Nspire-Lua API plugin : download here (http://tiplanet.org/forum/archives_voir.php?id=8182)


Good luck and have fun :)[/list][/list]

20
Miscellaneous / My new internet speed
« on: September 14, 2012, 10:52:54 am »
I just installed my new modem etc. with my new ISP ("Numericable") for the appartment, and here is the speed test :D



I'm happy x)

It looks France is well served for the price (25€/month), which also includes unlimited phone and 20 TV channels.

What do you have ?

21
News / nRemote : Control your TI-Nspire from your computer !
« on: August 19, 2012, 12:23:56 pm »
Hi there,


I managed to code a software (for computer), which Levak improved with a GUI (interface), that enables you to remote control your TI-Nspire.
That's how the chatbot video is made. I typed questions' text and Levak typed the answers on his computer which controlled the handheld (sent key events) … BTW, it's working on any Nspire. Ndlessed or not. Probably every OS too.

The idea behind this is that while calculator-geeks like us can use it for fun or later for more interesting projects (if we get the other way - calc->computer working?), and I guess teachers can find this software truly useful for their purpose of doing some actions simultaneously on several handheld in their classrooms. For example, open a file, and get started to a specific page, everyone at the same time. I don't think it was possible before. I already have some support for teachers finding this an awesome idea and they can't wait to use it.

It started as a little joke but people started really believing too much and we started feeling sad ... ^^ So… Sorry for that joke that went a bit too far with so many replies etc. :D

(   Also, a chatbot would be feasible anyway.... I looked at some Eliza implementation and it's definitely doable. Probably some other bot too. When I have time I can try :)   )

BTW, as told above : while it can be helpful for creating some pre-made keypresses sequences (like put some devices into a specific screen so it is ready to do something else, or whatever you want), it will be even better when we (if we find how to do so....) manage to get the other way working : getting keypresses from the handheld and get them back on the computer. Because then, it's just a matter of creating some text-based internet client for example.

Here's a photo for you :


(on the interface on can either click on the buttons or directly type with your computer's keyboard and it will send the keypresses)
You can see that nRemote also captures the screen from the HH to display it, as an emulator.

I also might as well tell (probably for legal purposes) that this program does NOT edit, modify or alter TI's libraries or any of their code. It works "as is", as long as you have TINCL or TINCS installed on your system.


(crosspost : http://tiplanet.org/forum/viewtopic.php?f=43&t=10246)

EDIT :
Download : http://tiplanet.org/forum/archives_voir.php?id=6694

22
hello, dear OmniMaGa.

i have The immense Honor today to announcE the GreAtest and Most amazing ti-nspirE program  ever done and that will ever be done.

weLl, levak and i have bEen secretly working on this for a while (we couldn't JeopardizE the sUrprise of this project by telling before !) and IT fInally iS finished. it is heRe. yEs.
the wAit is over, my dear Lovely friends.

i can noW *talk* to my nspire (any model, OS >= 3.x) as if it were a Human being. And "he" has attitude too, as You will see in the viDeO. because Yes, we filmed this -Omg- incredible, hUge feat, juSt for your PlEasure.

btw, last but Not least it is Done entirelY in lua with an incredible amOunt of lines. i won't tell yoU the size of the lua file noR the Tns one but It still runs fine Most of the timE anyway On the haNdheld (and peRfEctly on the softwAre, Duh :p).

I have to tell you that the ai is self-improviNg and may be on the edGe of being self-aware (sci-fi -esque, i know... :p) but iT can't take control of the wHole nspIre anyway Since iTs lua (and running on a non-ndlEssed eXtraordinary calc. we actually Tried on an ndlessed 3.1 calc and after some discussion the ai told he was angry and wanted to leave and the calculator rebooted (i think he tried some weird commands on itself to commit suicide or something ??) this was a scary moment tho. but everything was saved on the computer anyway)

anyway, here is the long-awaited video of the most awesome thing there is in this calculator world.





also, please tell us in the comments what you want to tell to the program and we will do it for you and post screenshots (or videos if it is worth it)

meh, i think this is the program that will make people lose so many hours of work (especially students) that it will be the reason why the nspire gets banned definitively from school exams lol
anyway.

have fun !!

the program will be charged 133.7 cents (of $) except for the first 50 users who will get it for free in exchange of a +1 on this post and on levak's when he posts on this topic.


Adriweb and Levak

(14th Aug 2012 - version 1.0)

23
http://www.youtube.com/watch?v=Vefp3ITBu1I

 ;D


edit : whatever your impressions on this video, comment about it. Else you might lose the game.

24
Humour and Jokes / Guess what Pepsi did to us
« on: July 22, 2012, 12:49:51 pm »
This. Is. Unacceptable.

(and it's written twice õ_Ô)




Also, admire the golden ratio of the image :P


(btw : by "us", I mean Levak and I)

25
TI-Nspire / [Contest] LuaTowerDefense
« on: June 24, 2012, 11:33:07 am »
Hi there,

I've decided that I should try (only try...) to participate with the game I'm writing right now, a Tower Defense one :)

People that know my GitHub may have noticed there some bits of it already, but if you look closely, it's only the Screen Manager library, not a single line for the game itself :)
(So it's good according to the rules :P)

The GamePlay should be "basic", like a simple TD you can find anywhere in Flash...
I hope I have some time to make it work well before the contest ends... but it should be good enough at least if I dont make everything I would have wanted, for some entry-level game.

Here are some alpha-version screenshots...



As you can see, I have also focused on "quality" dialogs (I mean, like native), thanks to ETK (EEPro ToolKit, a GUI lib by Jim Bauwens), maybe to try to popularize GUI libs among the un-standardized Nspire-Lua programs :P

But don't worry about the design of towers (circles) and enemies, that's just for debugging :P)

The game grid is "active", meaning, you can mouse over the cells to get info, as well as interact with the keyboard (arrows) to move the selected cell.
There are 4 types of towers and enemy types : water, earth, fire, and air. The towers will do more damage to the corresponding enemy, obviously.
I haven't programmed yet the attacking part (:P) but I plan to make it so that you get points for each kill, which makes you also earn money to buy/upgrade towers.
I haven't really decided yet but the wave system will probably be something like ...  "more difficult each time because of the health increase of the enemies". Maybe more enemies too, each wave, idk :P
The AI part is probably the one handling enemies' moves : they auto adapt to the map, not with a hardcoded path :) While it's not much of an advanced AI (idk exactly :P), I still find that part pretty cool :D

I make it with the 3.2 SDK but I think it should work with 3.x if I just "compile" it with Luna :)

More soon !

Also, if you have any ideas for a feature etc... :)

Byebye :)


EDIT : Update (30/06/12) :
Some update(s) :

- Path algorithm/AI fort he enemies optimized and complete ! (works with any map, and with some "flawed" ones  (thanks to AI ))
- Wave system completely done and quite optimized I think
- Attacking done but not animated (no shooting animations for example... will see later)
- Range of a tower displayed on mouseover
- I still need to do :
   -- money system
   -- better menu(s)
   -- score + stats management
   -- level selection (more maps)
   -- multilanguage


Anyway, I won't have much time (at all ?) until the end of the contest, sadly, because TI-India is giving me an enormous amount to do x)
I'll see what I can do.
But after the 15th anyway (it's a deadline), I can improve it, even if it's too late

26
News / Release of FormulaPro for the Nspire
« on: June 21, 2012, 04:20:41 pm »
Hello everyone,

Today it is with great honor and pleasure that we, Jim Bauwens and I, are finally announcing the release of FormulaPro !

What is FormulaPro ?
Here are the technical details : FormulaPro is a TI-Nspire (OS 3.x) document whose main content is a Lua script. Yep, all made in Nspire-Lua (http://www.inspired-lua.org). Indeed, it is the only way so far / right now to "properly" achieve what we do on FormulaPro (completely graphical UI, math calculations...).
FormulaPro is also free, of course, and open-source (https://github.com/adriweb/EEPro-for-Nspire/) (LGPL license) ! :-)


Hmm ok, but what does it do ? :P
Well, here you go : some of you may already know what's called "EEPro" or "MEPro" for the TI-89 and TI-92. It is an official program that TI puts in the 89 by default. If you don't know it, EEPro-89 is basically a program described by TI like this: "This application solves the problems of electrical engineering. It is composed of three modules: Analysis, Equations (700 equations grouped into 16 subjects) and Reference. " In short, a complete and very powerful application about Electrical Engineering. Well, FormulaPro is the 2nd part ("Equations") of our project to port the EEPro-89 suite to the Nspire.
But we improved it, naturally. A lot. (And we already have plans and written code already ready for version 2.0 which will be even more awesome and more powerful.)

What FormulaPro right now is capable of, along with its website, is :
-to be able to run on any OS 3.x and any Nspire model and to be able to run on the computer software too with auto-resizing frames
-Mouse and keyboard input support, on both Software and Handheld
-to be able to let users generate their own pack of equations, smartly (variables and units are bound), within categories and sub-categories,
-to be able to solve intelligently solve the equations it's given, contrary to the 89 version, where the user had to select what equations had to be used : Indeed, here you just have to enter what you know already, and it will automatically try to solve for what it can.
-it can very easily let you chose the unit/subunit you want to enter your data in. (for example Hz/kHz/MHz, °C/°F/°K etc.)
-it can show you the used formulas of the current sub-category in "PrettyPrint"


Great ! How do I use it ?
-Be sure to run Nspire OS >= 3.0. We recommand version 3.2.
-You can then either use the "demo" database (a part of the original EE-Pro one) available here (and also attached) : https://github.com/adriweb/EEPro-for-Nspire/blob/master/EEPro.tns?raw=true
 … or either starting your own database with our online FormulaPro Database maker which lets you easily create categories, subcategories, equations, units and subunits etc. It is available here: http://education.bwns.be/FormulaPro/
-If you were on the online generator, click the "Generate" button at the bottom of the page.
-Transfer the .tns to your calculator or in the computer software and open it.
-Select the category and the subcategory, and begin filling the input fields of the data you already know. Press enter or change focus, and it will start auto-solving.
-Enjoy !


Screenshots time !
Here are 4 screenshots showing pretty much all of FormulaPro. They are not related to each other.
, ,
,


What's next ?
Well, we will try to complete the entire Formula library from the original EEPro-suite. (This is just a matter of time, so it's no problem, really)
In general, the plan is to be able to do everything (and more !) that the TI-89 version can do.

So, here's what we also planned for version 2.0 :
-Database Editing on-calc !
-An even more powerful solving core
-Smart Search (Don't browse in the categories : just enter the units you have and it will try to figure out which equatinos to use directly)
-Pictures associated with categories (circuits explanations etc.)
-Input data directly into the solver using Vernier sensors!
-Multi-language support
-Ability to graph results


------------------------
Download (latest so far is v1.4b) :
Latest version for all OSes : https://github.com/adriweb/EEPro-for-Nspire/blob/master/FormulaPro.tns?raw=true
------------------------


Please report any bug or comments if you have some,
Good Luck and Have fun,
The FormulaPro team,
http://tiplanet.org and http://www.inspired-lua.org


(to the admins : if you think it sadly doesn't fit in news, well, you can move it under Nspire Lua projects)

Edit : version

27
Lua / Just vote quickly please :P UI poll about FormulaPro
« on: June 21, 2012, 09:38:16 am »
Hi there,

TI-Planet (well, actually more Jim Bauwens and I :P) will release a beta of FormulaPro very soon (that means probably a beta tonight ;-) )
For more info about this project, you can go here: http://adriweb.github.com/EEPro-for-Nspire/

However, we need you in order to decide which UI we'll adopt, as we can't really decide :P

Here are top and bottom :

   

Which one do you prefer ? (Why ? Or do you have another idea ? )

Thanks !

28
Hi,

I love a part of the latest PureSound session #264 available here: http://www.mixcloud.com/PureSound_Sessions/danyi-and-burgundy-puresound-sessions-264-kris-oneil-guest-mix-25-04-2012/
And the part I would like to know more about is at 1:46:30  (yes the whole thing is about 2 hours :P)

I extracted it for you : https://docs.google.com/open?id=0B_LcfEt3SWaOdE5wVkhuWEhkT1U

Thanks :)

29
Other Calculators / Cool New TI-Planet feature
« on: May 03, 2012, 03:42:04 pm »
Hey guys,

Jim Bauwens and I just made a url-shortener (kind of) for ti-planet urls and content !

Here's some examples :

Social:
http://ti-pla.net/twitter    -   Go to our twitter page
http://ti-pla.net/facebook   -   Go to our facebook page

Forums:
http://ti-pla.net/fnspire    -   Go to TI-Nspire forum
http://ti-pla.net/fz80       -   Go to z80 forum
http://ti-pla.net/f68k       -   Go to 68k forum
http://ti-pla.net/pnnn       -   Go to post #nnn
http://ti-pla.net/tnnn       -   Go to topic #nnn
   
Archives:
http://ti-pla.net/archives   -   Go to the archives
http://ti-pla.net/upload     -   Upload a file to the archives
http://ti-pla.net/68k        -   Browse the 68k archives
http://ti-pla.net/nspire     -   Browse the TI-Nspire archives
http://ti-pla.net/pc         -   Browse the pc archives
http://ti-pla.net/z80        -   Browse the z80 archives
http://ti-pla.net/annn       -   Go to archive file #nnn

General:
http://ti-pla.net/sXXX       -   Search archives for XXX
http://ti-pla.net/ndless     -   Go to the Ndless page
http://ti-pla.net/ncreator   -   Go to nCreator
http://ti-pla.net/zcreator   -   Go to zCreator
http://ti-pla.net/rss        -   Go to the RSS feed
http://ti-pla.net/gallery    -   Go to the gallery
http://ti-pla.net/news       -   Go to news

http://ti-pla.net/XXXXX        -   Go to http://tiplanet.org/XXXXX


So now, to link to my hosted files, for example, instead of remembering by heart something like : http://tiplanet.org/forum/archives_list.php?order=hit&multi_chaine_search=Adriweb I can just learn http://ti-pla.net/sAdriweb, which is darn easy ;-)

30
Lua / Some more info about OS 3.2 (especially Lua)
« on: April 18, 2012, 11:47:06 am »
Hi there !

TI recently published their latest TI-NspiringTimes Newsletter, and they are giving out some extra info about OS 3.2 !

They wrote 2 pages about the already well-known "Energy-Skate-Park" activity, which deeply uses OS 3.2's Lua's Physics Engine.

You can find a animated-preview of this activity here :


If you want to know more about just the lua part, I cropped it out for you :

http://tiplanet.org/forum/download/file.php?id=198


For the other 3.2 Lua activities previews, you can find animations here :
http://tiplanet.org/images/Preview_Video_Build_Atom.swf
http://tiplanet.org/images/Preview_Video_Radioactive_Dating_Game.swf
http://tiplanet.org/images/Preview_Video_Barometric_Pressure.swf
http://tiplanet.org/images/Preview_Video_Eating_Exercise.swf
http://tiplanet.org/images/Preview_Video_Natural_Selection.swf

Also, I've made a news about all this on TI-Planet :
http://tiplanet.org/forum/viewtopic.php?t=9109

Sources :
- http://education.ti.com/calculators/tisciencenspired/US/New/#subjects=expand-list-subjects-2
- Newsletter : http://education.ti.com/sites/US/downloads/pdf/TI-NspiringTimes10.pdf

Pages: 1 [2] 3 4