Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by MathOnNapkins
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
User Post
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1765/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-23-05 05:55 AM, in Spoiler tags should... Link
Cheer up kids, I was just having a little fun. We're all allowed to do that once in a while.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1766/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-23-05 10:34 AM, in Minesweeper Plus Link
Originally posted by R2H2
It needs to say 'somebody set up us the bomb' when you lose.


nah, it should take a random file on your computer "hostage" and delete it if you lose. It would be a great incentive to win.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1767/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-23-05 11:36 AM, in can i add my favorite music to smw?!?!?!?!??!? Link
I was under the impression that that would be by using your whole rom, and streaming the data into the SPC every so often. You wouldn't have anything left for a game, would you?
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1768/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-23-05 04:35 PM, in Star Wars # 3: Will it Suck? Link
While I hope it will be good, I don't expect much out of Lucas after watching the last two movies. As long as he isn't doing the dialogue directing, I think we'll be fine.

But really, there are parts of Eps I and II that I would just love to erase from my memory.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1769/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-24-05 07:08 AM, in C struct problem Link
I am currently looking at someone else's code, trying to comment it, make sense of it. It's over 20,000 lines long. Thus, it has some complex behavior going on.

*This is C source btw*

I modified one of the structs by grouping like primitive variables towards the top, and windows API variables towards the bottom. e.g.

before:

typedef struct {

int var1;
HWND win;
short index1;
short index2;
RECT rc1;
int var2;
} myStruct;

after:

typedef struct {

int var1;
int var2;

short index1;
short index2;

HWND win;
RECT rc1;

} myStruct;

the above example is fabricated, b/c I can't really release the code since I do not have permission to, and the person who I got it from is rarely online. But the example is roughly equivalent. I did not believe doing something like the above could affect program behavior, but alas, it did. Can anyone explain why struct declarations order might matter? I'm used to thinking in Java, where everything is class encapsulated and order doesn't really matter for the most part.

Here is a list of the types of data present in the struct:
BITMAPINFOHEADER
RGBQUAD
HWND
HPALETTE
RECT

int
short
void*
char
char*

there is also another struct variable type at the top of the this one, but I have not moved it at all, and it was defined outside the scope of this typedef declaration. (above)

edit: typos and clarification.


(edited by MathOnNapkins on 04-23-05 02:11 PM)
(edited by MathOnNapkins on 04-23-05 02:28 PM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1770/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-24-05 08:55 AM, in C struct problem Link
d'oh, I should have thought it would deal with pointer arithmetic. thanks Disch. IN VC++ 6.0 the code generates 1500 errors warnings ( whoops), so I suppose it could be considered somewhat sloppy, but hell it works.


(edited by MathOnNapkins on 04-23-05 03:56 PM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1771/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-24-05 06:12 PM, in A personal goal of mine, accomplished. Link
Originally posted by windwaker
Anyone with 1440 posts or more has no life.




It went by so fast, eh?
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1772/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 11:55 AM, in Right, Left... Link
I've heard that statistic. Some jackass kid told it to me when I was little, in fact. I always thought it was a myth, so I decided to investigate. If you wade through it (the article below is a little statistically intensive), it shows that left handed people actually only have a higher occurence of death in warfare, and COULD be more prone to serious accidents, but that part is debatable. Thus lefties, provided they do not engage in warfare and are lucky enough to not have a serious accident, have about the same life span until death as righties.

http://bmj.bmjjournals.com/cgi/content/full/309/6970/1681
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1773/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 05:47 PM, in Popeman and Priest Boy Link
Originally posted by Nebetsu

Hey! It's Catholicism here! It doesnt HAVE to make sense!


This, from the comedian whose jokes don't have to be funny...
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1774/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 05:53 PM, in A personal goal of mine, accomplished. Link
Originally posted by Kyouji Craw

MON: Your name still amuses me.


What am I some kind of clown here to amuse you? *Throws a slide rule and an abbacus at Kyouji*

edit: And I just noticed it's the best day of the week.... MONday.


(edited by MathOnNapkins on 04-25-05 12:54 AM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1775/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 06:19 PM, in Hello, and Pi Pi!!!! Link
and to Femine



.... who is probably never going to read this. Based on the last thread we had about Femine I'm not even sure whether she exists or not. (As a distinct person and not a duplicate account of somebody else.)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1776/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 06:21 PM, in Where's it from? Link
I picked puzzle :p

some of you guys really know your dating sims *cough*
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1777/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-25-05 11:41 PM, in Pi Link
Originally posted by Smallhacker
I know 78 of 'em.


He's the envy of all his friends....

But seriously, I only know 3-5 of them on a good day, and knowing more won't help me get laid. Pi is just one of (uncountably) many transcendental numbers, so I don't care to memorize their digits.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1778/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-26-05 04:55 AM, in Pi Link
The series 1 - 1/3 + 1/5 - 1/7 + ...

converges to pi/4 (uber slowly, and I mean uber)

just getting 4 digits of accuracy took over 15,000 iterations to achieve. But whenever you need a spare digit and have a few hours (possibly a lot more) to sit around, you can use this.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1779/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-27-05 08:41 AM, in Pi Link
Eh, well I think we're all better than the ancient hebrews, who insisted on just using 3 instead of even 3.14. I don't want any of them as my engineers.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1780/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-27-05 09:36 PM, in Question about 65816 structure Link
This depends on what kind of function call you mean. If you mean an interrupt (IRQ) or an non maskable interrupt (NMI) then yes. During those, all registers are put onto the stack. But those happen relatively rarely compared to the rest of code execution. A JSR or JSL for example, only push their return address to the stack (Program Counter and Program Bank if Long). I mean, it's possible that some companies implemented their functions this way, but given how many subroutines there are , and the limited space of the romfiles, that would get expensive in space reallllllllly quickly.

So the answer is no, b/c I've never seen that in any code I've looked at. Geiger's Debugger is an option for tracing, but if that's all you want to do I would recommend his older build of snes9x, since that is mainly all it does and is easier to use for that purpose. I have not at this point tried out the bug fixes for the tracing in the Debugger, but will soon. If you need Peer (Geiger's) Tracer I can get it to you.
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1781/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-28-05 12:04 PM, in .___.;;;;;; Link
Originally posted by Admiral Kefbar
(and the FF6ish name is good enough for me)


Is this FF6 Bigotry I'm seeing O_o?
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1782/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-28-05 12:52 PM, in Pi Link
i is the imaginary basis number. Together with 1 you can form a two dimensional plane, similar to the normal plane most of you draw your graphs in. The first coordinate is in real numbers, and the second coordinate consists of real numbers times i. That is the complex plane, or the number field C. Real numbers is R.

Specifically, it is adjoined as the solution of the equation x^2 + 1 = 0. In other words, it's the square root of negative one. Ignorant people will complain that i doesn't exist in the real world, but it exists in the theory of electrical engineering and quantum physics, which are real world applications, as well as fluid dynamics.

edit: btw, Grey, smallhacker was being facetious, b/c i has no decimal places, or alternatively, it's real coefficient is 1, as in 1 times i. So it would only have one significant decimal place anyways.


(edited by MathOnNapkins on 04-27-05 07:53 PM)
(edited by MathOnNapkins on 04-27-05 07:54 PM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1783/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-28-05 01:53 PM, in Pi Link
Originally posted by NSNick, Rogue Jedi
Damn complex numbers and their applications in electrical engineering. Grr.


Yes, damn modern technology! It's Amish Time!
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 1784/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 04-28-05 02:00 PM, in Thoughts on the "New World Order" agenda? Link
Originally posted by cds113089
One-world government leads to a one-world religion, which would be a disaster for Christians.


Maybe you could elaborate? This statement doesn't make any sense. In fact it sounds more like paranoia to me than anything. While government can tend to normalize people's religion, it is not always the case. Do you really have that little faith in the Christian faith to think it would be overrun by something like government? It survived the periods of Roman persecution, right?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
Acmlm's Board - I2 Archive - - Posts by MathOnNapkins


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.033 seconds.