Old Mages Magic & Mayhem Gamers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Where the old players come back to what once was grand
 
HomeLatest imagesSearchRegisterLog in

 

 Frusteration

Go down 
+3
Jay.J
AquaAscension
Piddagoras
7 posters
Go to page : 1, 2  Next
AuthorMessage
Piddagoras
Map Maker
Piddagoras


Number of posts : 592
Registration date : 2008-05-22
Age : 36
Location : California

Your Character
Level: 1
Primary Move: Cosines and Sines.

Frusteration Empty
PostSubject: Frusteration   Frusteration EmptySun Sep 14, 2008 4:47 am

So this morning I was waiting for my boss to drop some merch. off and I decided to put matrices into JASS. Even if I can't imagine what they would be useful for.

Anyway, I got the basic structure down, you can add, multiply and copy matrixes. So then I decided "Hey, your linear algebra professor hasnt covered determinants yet, but fuck it, lets try some arbitrary determinant determination using enough loops to make a rubber band ball". So i made some functions that I believe at this point would do all the math correctly.

And then WC3 throws me off a cliff. For whatever reason, even using cheap trickery I can't loop my cofactor function for each entry in a row, I can call the determinant which will call the cofactor which will call the determinant and then chain some returns, but if i try to run it twice consecutively, WC3 dies like it was on the pedestrian side of a pedestrian/train collision.

I can't get it to work, this is basically just to vent, because I haven't made any progress in the last 3 hours.
Back to top Go down
AquaAscension
Legendary
Legendary



Number of posts : 580
Registration date : 2008-05-21

Your Character
Level: 1
Primary Move: Flying Dragon Kick

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 4:59 am

I had an issue like this with a GUI script and a repeating trigger that would select 2 units to duel randomly, but there were factors determining which would fight (like if the unit had fought in the previous duel, if the second unit was the same unit as the first duelist picked, if the second duelist was on the same team as the first, etc. etc). At first, the trigger would spas the f out and run itself too quickly. Or something like that. I had to add a wait function for it to work properly. Slows it, but keeps it stable.
Back to top Go down
Piddagoras
Map Maker
Piddagoras


Number of posts : 592
Registration date : 2008-05-22
Age : 36
Location : California

Your Character
Level: 1
Primary Move: Cosines and Sines.

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 5:36 am

Okay, I just pwnt JASS, determinants are now in, they're relatively fast too, considering how many calculations it takes.
Back to top Go down
Jay.J
Head Admin
Head Admin
Jay.J


Number of posts : 3470
Registration date : 2008-05-21
Age : 33
Location : Toronto

Your Character
Level:
Primary Move: Moderate

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 1:09 pm

High-Five.
Back to top Go down
http://lolcatz.jayj
TanK_OwneR
Apprentice Sage
Apprentice Sage
TanK_OwneR


Number of posts : 718
Registration date : 2008-05-26
Age : 31
Location : The Shadows

Your Character
Level: 1
Primary Move: Flying Face Pwn

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 1:13 pm

ok this sounds like pyth went from WTF hopeless to I R GOD KING!!
Back to top Go down
https://zyncmmm.forumotion.com
Dragonheart91
Godlike Sage
Godlike Sage
Dragonheart91


Number of posts : 2358
Registration date : 2008-05-21

Your Character
Level: 1
Primary Move: Cursed Waves (pwned much?)

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 1:44 pm

Those are his two default states of mind.
Back to top Go down
Lagger09
Legendary
Legendary
Lagger09


Number of posts : 535
Registration date : 2008-05-23
Age : 31
Location : SoCal

Your Character
Level: 1
Primary Move: I am the Destroyer of Time... guess...

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 6:16 pm

And it switched w/in 45 minutes of each other, gj. I have no idea how one would use this though.
Back to top Go down
Piddagoras
Map Maker
Piddagoras


Number of posts : 592
Registration date : 2008-05-22
Age : 36
Location : California

Your Character
Level: 1
Primary Move: Cosines and Sines.

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 6:40 pm

You are quite correct Dragon.

I have now incorporated the adjoint function into the system, which basically means that now I can tell it to solve systems of equations of any number of variables for me.

I still have no ideas on how this could ever be useful in a map, but the fact that I made it makes me feel triumphant.

I mispelled frustration because I felt like it, in case anyone else besides DBC noticed that.
Back to top Go down
Dragonheart91
Godlike Sage
Godlike Sage
Dragonheart91


Number of posts : 2358
Registration date : 2008-05-21

Your Character
Level: 1
Primary Move: Cursed Waves (pwned much?)

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 8:50 pm

I did, and assumed it was intentional. Extending the word artificially like that makes it seem more exasperated.
Back to top Go down
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 9:19 pm

lol@pyth i love the change in less than an hour..

good job glad you got jo problem fixed..
Back to top Go down
Piddagoras
Map Maker
Piddagoras


Number of posts : 592
Registration date : 2008-05-22
Age : 36
Location : California

Your Character
Level: 1
Primary Move: Cosines and Sines.

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 9:27 pm

Well, i was working on it for that entire hour, I was about to give up, even though the problem wasn't with the principle of functions calling themselves and others, it was just a slight overestimation of what I could do with JASS, just rewriting it as one function calling itself instead of two functions calling each other made it work much better.

It turns out even after i fixed that problem I had another, everytime I would destroy a matrix, it would almost completely zero out the entries, but the entries at the end of rows of new matrices that didnt have nextEntry pointers reassigned on creation would still point to entries in other rows, often leading to infinite function calls, which is always more fun than WC3 can handle.
Back to top Go down
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptySun Sep 14, 2008 9:31 pm

lol@pyth again for trying to explain this to me haha...

you can try all you want pyth but this just goes through me like.. well i cant think of anything that goes through me that fast but ya you get the point..
Back to top Go down
AquaAscension
Legendary
Legendary



Number of posts : 580
Registration date : 2008-05-21

Your Character
Level: 1
Primary Move: Flying Dragon Kick

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 4:30 am

Quote :
I mispelled frustration because I felt like it, in case anyone else besides DBC noticed that.

You also, ironically, misspelled "mispelled". And I would have noticed but, again, school > WC3. Also, you might as well be speaking Martian when you speak of functions and Matrices. I understand math slightly more than other English majors but... yeah, not that much Sad

Props on the solving of complex equations from a simple system though Very Happy

Maybe you can make a calculator program just to show off your leetness? Call it Tangents or something and have people solve incredibly complex equations like in those puzzle games but geared towards people who understand the language known as math.
Back to top Go down
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 5:41 pm

AquaAscension wrote:
Quote :
I mispelled frustration because I felt like it, in case anyone else besides DBC noticed that.

You also, ironically, misspelled "mispelled". And I would have noticed but, again, school > WC3. Also, you might as well be speaking Martian when you speak of functions and Matrices. I understand math slightly more than other English majors but... yeah, not that much Sad

Props on the solving of complex equations from a simple system though Very Happy

Maybe you can make a calculator program just to show off your leetness? Call it Tangents or something and have people solve incredibly complex equations like in those puzzle games but geared towards people who understand the language known as math.

this is not math.. this is pythometry... math is much more simple..

just thought id put that out there..
Back to top Go down
Piddagoras
Map Maker
Piddagoras


Number of posts : 592
Registration date : 2008-05-22
Age : 36
Location : California

Your Character
Level: 1
Primary Move: Cosines and Sines.

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 6:30 pm

Heh, its just linear algebra, the class I'm taking right now.

The thing that sucks though is that I can't think of a way to teach JASS to row reduce a matrix to REF to find determinants, I have to do it the hard way that reaches JASS's operation limit at a weak 7x7 matrix. The problem is that a 7x7 matrix has to compute 7 6x6 matrix determinants, and a 6x6 has to compute 6 5x5s and so on. The number of operations required increases quite quickly and JASS doesn't like it.
Back to top Go down
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 6:36 pm

ill just nod and act like i understand..

[nod nod]
Back to top Go down
SinisteRing
Webmaster
Webmaster
SinisteRing


Number of posts : 2032
Registration date : 2008-05-21
Age : 31
Location : New Hampshire

Your Character
Level: 1
Primary Move: Telekinetic Choke

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 6:49 pm

Pythagoras wrote:
one function calling itself instead of two functions calling each other made it work much better.
...Cmon now, seriously... you think having a function call itself is efficient?
Back to top Go down
https://zyncmmm.forumotion.com
TanK_OwneR
Apprentice Sage
Apprentice Sage
TanK_OwneR


Number of posts : 718
Registration date : 2008-05-26
Age : 31
Location : The Shadows

Your Character
Level: 1
Primary Move: Flying Face Pwn

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:00 pm

omfg pyth is the greatest person in the world!! he made a code think!!!
Back to top Go down
https://zyncmmm.forumotion.com
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:03 pm

i think sin is getting jelous Very Happy

whenever i hear him post anymore its something againts pyth's coding or rhys' ideas.. its kinda comical
Back to top Go down
TanK_OwneR
Apprentice Sage
Apprentice Sage
TanK_OwneR


Number of posts : 718
Registration date : 2008-05-26
Age : 31
Location : The Shadows

Your Character
Level: 1
Primary Move: Flying Face Pwn

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:05 pm

sinister isnt jelous lolz lol! lol! lol!
hes just being a smart ass :O :O :O
Back to top Go down
https://zyncmmm.forumotion.com
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:06 pm

thats what he wants you to think O.o
Back to top Go down
TanK_OwneR
Apprentice Sage
Apprentice Sage
TanK_OwneR


Number of posts : 718
Registration date : 2008-05-26
Age : 31
Location : The Shadows

Your Character
Level: 1
Primary Move: Flying Face Pwn

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:08 pm

no thats what you want me to want him to think
Back to top Go down
https://zyncmmm.forumotion.com
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:12 pm

no he planned this.. he knew id bring this up and youd think i was just trying to get you to think thats what he wants you to think when realy its what he wanted you to think..
Back to top Go down
TanK_OwneR
Apprentice Sage
Apprentice Sage
TanK_OwneR


Number of posts : 718
Registration date : 2008-05-26
Age : 31
Location : The Shadows

Your Character
Level: 1
Primary Move: Flying Face Pwn

Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:16 pm

thats what you want me to want you to what me to want him to think
---------------(^ that hurt^)
Back to top Go down
https://zyncmmm.forumotion.com
Guest
Guest




Frusteration Empty
PostSubject: Re: Frusteration   Frusteration EmptyMon Sep 15, 2008 7:22 pm

lmao... the whole point is he wants you to think hes not jelous when he really is aching inside of jelousy..
Back to top Go down
Sponsored content





Frusteration Empty
PostSubject: Re: Frusteration   Frusteration Empty

Back to top Go down
 
Frusteration
Back to top 
Page 1 of 2Go to page : 1, 2  Next

Permissions in this forum:You cannot reply to topics in this forum
Old Mages Magic & Mayhem Gamers Forum :: Archives :: Archives-
Jump to: