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.


Messages - Jonius7

Pages: 1 ... 33 34 [35] 36 37 ... 129
511
Lua / Re: 15Puzzle for TI-nspire Lua
« on: March 29, 2012, 05:40:18 am »
Why do you need a bat file ?

Luna just works like that  :

luna[.exe] source.lua output.tns

:)
I had an answer in quick reply ready to go but then I refreshed the page :( (This reply isn't as good as my original one)
With cmd you'd have to navigate to the particular folder every time just to run Luna! I do not want to do that!
A slightly quicker way is to Shift +Click the folder but you'd have to go up a directory and still type in the stuff. A bit fiddly

So using a .bat file makes sense, in fact I can see no way of me using the cmd due to the fiddly methods above.

Here is the bat file code:
Code: [Select]
@echo off
set /p luafile= Type the lua filename (without extension):
set /p tnsfile= Type the tns filename (without extension):
luna.exe %luafile%.lua %tnsfile%.tns
@cyanophycean314 I used Levak's Batch File as a guide and just modified it to suit Lua! Though I don't completely get what "set /p" means

Just a few lines of code makes things much easier and logical :)


Concatenates two strings (joins them together into a single one)


Edit: So for the following code:
Code: [Select]
local str = Moves .. " moves"
Moves is a variable that contains the number of times you've moved a piece
" moves" is a string & remains the same

Let say Moves = 200, so the string is equivalent to:
"200 moves"
Thanks someone, I did see the word concatenates when I was searching and had no idea what it meant!

512
Miscellaneous / Re: They blocked Omnimaga at our school D:
« on: March 28, 2012, 09:24:18 pm »
The school finally blocked Omnimaga D:
Stupid xtech.boss.net :P

Noooooo, was my first reaction.
They haven't blocked Omnimaga at my school, namely because I'm the only one in my school actively using it, nor have they blocked ticalc, unitedti or cemetech either (phew)

I recommend Tor/Vidalia Bundle if things go out of hand. It comes with Portable Firefox in the Browser Bundle version too!

http://www.omnimaga.or is what? It doesn't work and is blocked at my school!

513
General Calculator Help / Re: Detailed Modulus Discussion
« on: March 28, 2012, 07:01:32 pm »
Sorry if I made some mistakes. I am still not 100% certain about both the modulo and modulus.
Also it is big, which is why I said view in a new tab, but shall scale it down when I next update it.

514
Miscellaneous / Re: What is the color of your nick on OmnomIRC?
« on: March 28, 2012, 10:04:18 am »
'turiqwalrus' is purple D:
that's why I tend to use 'turiq' when I can...
What colour is turiq?
EDIT: Oh blue,
hmm, I'd prefer blue or green too over yellow.

515
General Discussion / Re: DJ_O Music Discography Project
« on: March 28, 2012, 09:22:16 am »
I need to double check some things with the Mashups and Cover songs, as titles of songs have been varying.
Here's some export files with the basic IDE information. I could put in more such as track length and such, but can't be bothered modifying mp3tag config right now.
Of course I shall implement this in the spreadsheet when I have time.

516
Lua / Re: 15Puzzle for TI-nspire Lua
« on: March 28, 2012, 09:09:25 am »
I think I know what modulus does now!
Created some sort of a guide here: http://ourl.ca/15687.new#new

Now, I did find a definition for .. but still have little idea what it means

517
General Calculator Help / Detailed Modulus Discussion
« on: March 28, 2012, 09:04:29 am »
Hi everyone,
This is a follow up to the 15Puzzle thread
http://ourl.ca/15678#quickreply
where I asked to clarify what % meant (modulo)

I was aware that % might mean modulo, however someone's equation for modulo was confusing me a bit.

% Stands for modulo (though it can have other uses too)

a % b == a - math.floor(a/b)*b

Luckily Xeda helped me out a bit (and also ruler in the background :P):
Code: [Select]
[05:43:41] <+OmnomIRC> (O)<Xeda112358> Yeah, are you familiar with modulo?
[05:44:28] <+OmnomIRC> (O)<Xeda112358> It is the remainder after a division, so when you do A-2floor(A/2), you get the remainder after dividing by 2
[05:46:41] <+OmnomIRC> (O)<Jonius7> I know it's the remainder, however need to work out how A-2floor(A/2) works out to be the remainder
[05:46:55] <+OmnomIRC> (O)<Xeda112358> Ah, okay
[05:47:12] <+OmnomIRC> (O)<Xeda112358> So, say you divide a number by 2 and you drop the decimal
[05:47:39] <+OmnomIRC> (O)<Xeda112358> When you multiply by 2, you have the highest number up to A that is divisible by 2
[05:47:48] <+OmnomIRC> (O)<Jonius7> Oh I've got it I think
[05:47:56] <+OmnomIRC> (O)<Xeda112358> :D
[05:48:06] <+OmnomIRC> (O)<Jonius7> I'll draw a diagram and post it somewhere
[05:48:22] <+OmnomIRC> (O)<Xeda112358> *cough* posting addiction *cough* ?
[05:48:42] <+OmnomIRC> (O)<Jonius7> Oh. Everyone's been noticing lol
[05:48:46] <+OmnomIRC> (O)<ruler501> Its not an addiction till you have >500 a month :P
[05:49:09] <+OmnomIRC> (O)<Xeda112358> Anywho, by definition, A=2N+B
[05:49:12] <+OmnomIRC> (O)<Jonius7> well yes and no.
[05:49:15] <+OmnomIRC> (O)<Xeda112358> For some N and B
[05:49:19] <+OmnomIRC> (O)<Jonius7> depends how long you get addicted ruler
[05:49:39] <+OmnomIRC> (O)<Jonius7> Yeah
[05:50:06] <+OmnomIRC> (O)<Xeda112358> So (A-2N)=B
[05:50:16] <+OmnomIRC> (O)<ruler501> Jonius7true
[05:50:19] <+OmnomIRC> (O)<Xeda112358> we find N by doing floor(A/2) :3
[05:50:33] <+OmnomIRC> (O)* Xeda112358 <3 math
[05:51:12] <+OmnomIRC> (O)<Jonius7> The A-2floor(A/2) works out the difference between the actual number and the floor of the quotient *multiplied by the floor of the quotient or something rather
[05:51:24] <+OmnomIRC> (O)<Xeda112358> yes
[05:52:07] <+OmnomIRC> (O)<Jonius7> yay. I really needed to understand that somehow.
[05:54:06] <+OmnomIRC> (O)<Jonius7> are modulo and modulus the same?
[05:54:43] <+OmnomIRC> (O)<Xeda112358> Pretty much
[05:55:04] <+OmnomIRC> (O)<Xeda112358> I just say "mod"
[05:55:19] <+OmnomIRC> (O)<Xeda112358> like "a mod b"
[05:59:46] <+OmnomIRC> (O)<Jonius7> I like modulus over modulo because I have seen it more often, but yeah, mod is good for shorthand
[06:00:17] <+OmnomIRC> (O)<Jonius7> or...
[06:00:28] <+OmnomIRC> (O)<Jonius7> Maybe modulus is the function, but modulo is the symbol
[06:00:45] <+OmnomIRC> (O)* Xeda112358 has to go to class D:
[06:32:11] <+OmnomIRC> (O)<Jonius7> meh modulus and modulo are different
[06:37:53] <+OmnomIRC> (O)<Jonius7> modulo is the whole function, whereas modulus refers to the remainder
Thanks to Xeda for that!
Also I said I would make a diagram and put it up here, so see how it goes!
I did want to put another diagram overall for the modulus but haven't done that yet.
EDIT: the diagram's a bit big. It's best to view it in a new tab :)

518
Miscellaneous / Re: Parkour
« on: March 28, 2012, 05:47:08 am »
Oh I just read half the first post and thought it was talking about "planking" but seems it's something much more acrobatic. ;)
Does seem pretty dangerous,


Psst... If people have died from "planking" this could be even more risky...

519
Miscellaneous / Re: What was your first Omnimaga post?
« on: March 28, 2012, 04:43:39 am »
Shoot! I knew I did not look properly left and right before creating this topic :P
And that this topic might already exist lol.
EDIT: Even more fail was that I was the last poster of the old topic before the merge! AAAARRRRGGGHHH what a fail!

520
General Discussion / Re: DJ_O Music Discography Project
« on: March 28, 2012, 01:54:22 am »
O.O very nice!
I think I already have the first Set of 5 album covers included in the rar file but nice HQ Magic Hardcore and others!

521
Miscellaneous / Re: What was your first Omnimaga post?
« on: March 28, 2012, 01:51:50 am »
I think mine was more about the whole greatness of DJ_O inspiring me at the time and he joining my website (tho he deleted his account after).
And you've got the 240000th message HOMER-16!

522
Forum Arcade Games / Re: Submarines
« on: March 28, 2012, 01:47:28 am »
It has been for a long while actually. I also remember when those posts were made the post notifier spammed the hell outta OmnomIRC too. X.x

Btw might sharing that strategy? :P (assuming it doesn't ensure a gold win but simply give some tips)
I remember the spam posts very clearly the minute these topics were introduced. I still have the Hexxagon trophy ;)
Anyway my strategy is to aim for the fastest closest ships of course. As the shots have a delay before they are in range of actually hitting ships, you can shoot a projectile on one side of the screen while the boat is on the other, and when the boat travels to the side you shot on, it should get hit most of the time.
Ill leave the actual mouse movements for you to think up, as I've revealed too much already :P

EDIT: Oh I've gone past 1400 posts already! Wow!

523
Miscellaneous / Re: What Does Your Voice Sound Like? (New Collection)
« on: March 28, 2012, 01:39:00 am »
This is not a spam topic. Therefore why all the short posts? :P
Now all the attachments for good filenames are ruined! lol.

524
Miscellaneous / Re: What was your first Omnimaga post?
« on: March 28, 2012, 01:37:21 am »
Edit: What a fail. Literally 4 months after I post last in Epic7's topic on what was your first Omnimaga post, I create my own topic. I guess the most fail thing is posting in the old topic! Good to see things have been merged now. :)

Hi everyone,
Thought it'd be interesting to find out what everyone's first post was.

Here's the link: http://ourl.ca/6924/114494
And the post here:
Hi, i am honored for you joining my website at jhgenius01.webs.com, and the number of your posts on omnimaga is phenominal!!! over 13000!!! anyway about me...

I first arrived on the calculator scene in 2008 when i received my cousin's CASIO CFX-9850GB+. I soon wanted some games but there was no link cable. In the end i found many games on UCF and CasioKingdom and managed to type them in (opened the .cat file in word and then printed it out for me to type) I even typed out the whole Star Wars game (at least 18000 bytes) by Sean Tan but i changed it to save memory! I also took a basic game, Indy2000 and changed into a cool featured pack game with highscores and stuff. Anyway, this year my new school required a TI-nspire and so i moved into the TI-nspire programming scene. I soon realised that the programming capability of the nspire was much lacking than the 9850, I couldn't make games such as pacman. Oh well, I finally made a game on 15 August 2010, Jason's TI-nspire's Hold 'em available for download on ticalc.org. Upcoming games include Battle of 16s and Cosmic Legions, both strategy games.


Wow I sounded so noobish.
Now I wonder about everyone else!

525
Miscellaneous / Re: What Does Your Voice Sound Like? (New Collection)
« on: March 28, 2012, 01:31:25 am »
Muaha...nice

Though it doesn't contain anything else which is disappointing, such as your username and other stuff.
I think the instructions on the first post are getting neglected :(.

Pages: 1 ... 33 34 [35] 36 37 ... 129