Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [STICKY] The Posting Competition

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 4th Sep 2012 00:58
Quote: "Does IE9 work on IE9?"

In windows ME compatibility mode.

What about book, does book work in IE9? If it does I can't use it.




also gonna try posting slightly more interesting stuff to twitter. https://twitter.com/Neuro101

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 4th Sep 2012 02:31
Page!

Quote: "In windows ME compatibility mode."

Does it work in Windows 2000 compatibility mode or just ME?

swissolo
15
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 4th Sep 2012 02:58
points! (this post does not, in fact, contain points)

swis
Joined: Tue Dec 16th 2008
Interstellar
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 4th Sep 2012 02:59
It's just you.

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 4th Sep 2012 03:02
Quote: "It's just you."

I have to say I laughed out loud at that one. Been a while since I've heard one of those jokes.

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 4th Sep 2012 21:51
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 5th Sep 2012 04:17
Interesting that my thread I just made has only gotten 18 views. I don't know of anything more interesting than the TI 84 operating system and its genuineness!

I'll ask a more vanilla version of the question here. Does the TI 84 calculator use a legitimate multi threading operating system? Also, do ASM programs get full control over the calc? I don't think they do and that leads me to think that the OS does indeed multi thread. Arron Miller, I'd assume you should have some insight on this type of thing!

"MOVE R1,R2"~~Genesis 1:1, Bible
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 5th Sep 2012 04:53
I don't use a TI-84 and some half-done research didn't reveal anything useful.

I was writing a more detailed post with insights into multithreading and interrupts, etc... But, you see, my keyboard has these keys on it that offer the "feature" of navigating in your page history. (The web back/forward keys.) That's great and all, except they're near the up arrow key. (The top row: web back, up arrow, web forward; the bottom row: left arrow, down arrow, right arrow. All keys have the same dimensions and are spaced evenly.) So, while I was typing, I accidentally offset my hand a little bit. This eventually caused me to navigate backward a few pages. I thought to myself, "No big deal. I'll just navigate forward and all my text will still be there." Except, somehow there was a redirect loop on the "forum.thegamecreators.com" page. It wouldn't go past that page in my history, it just kept on reloading that. I tried navigating directly back to this page, but the web browser refused to load the page. So I navigated back manually (following links), which of course erases all of the text in my post.

Forum feature suggestion: Drafts.

Anyway, I was going to mention that you should consider that key presses cause interrupts to be triggered, which the processor handles by switching contexts to the appropriate interrupt handling routine, which is registered by the OS. (At least that's the case for x86, but is likely the case for the TI processor too... but I don't know for sure.) If the OS is configured to recognize certain combinations (like Ctrl + C to cancel the current job) then the OS can gain control from an app that "has full control." Also, multi-threading does not mean extra control. The OS can gain control in other ways; like the key combination I mentioned above.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 5th Sep 2012 05:37
Ah that backspace thing has enraged me before in such situations countless times.

Ah! So it seems like you're saying an OS can do its job without multi threading? Just interrupts?

"MOVE R1,R2"~~Genesis 1:1, Bible
Yodaman Jer
User Banned
Posted: 5th Sep 2012 06:14
So I realized that my previous fall damage wasn't utilizing the order of operations correctly, and I was performing an unnecessary subtraction (if you multiply by a percentage it automatically decreases the number, so... yeah ). Revised, it now will perform the math exactly as I want it to, and is neater:



I've also added a line that tells the player exactly how much damage they've taken, like so:



Who knew that these calculations were actually quite simple!

"The ships hung in the air in much the same way that bricks don't."
~ Douglas Adams
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 01:57
Quote: "So it seems like you're saying an OS can do its job without multi threading? Just interrupts?"

Yup!

----

I got my old forum code working. It was kind of fun to PM myself from separate user accounts, testing out the mod/admin controls, etc. So many ways it could be improved though. (Also, ignoring its incompleteness, I'd be a bit concerned on the security of it if I were to upload it to my server right now...)

Yodaman Jer
User Banned
Posted: 6th Sep 2012 02:56
My deskity-topity!



"The ships hung in the air in much the same way that bricks don't."
~ Douglas Adams
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 6th Sep 2012 04:27
Anyone know how to calculate slope from angle without using the tangent function? Or better yet, anyone know how calculators calculate sin, cos, and tan? Been doing tons of research on that and can't find any useful info.

"MOVE R1,R2"~~Genesis 1:1, Bible
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Sep 2012 05:09
Quote: "Or better yet, anyone know how calculators calculate sin, cos, and tan?"

I would imagine that they use a polynomial approximation equation. Probably a Taylor series.

Quote: "Anyone know how to calculate slope from angle without using the tangent function?"

If all the information that's supplied is the angle itself, I'm not sure it's possible.

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Sep 2012 05:13 Edited at: 6th Sep 2012 05:14
Without using the tangent function? Well. If the angle is close to zero, tan(x)=x is a good approximation.

You can also use infinite series.
http://functions.wolfram.com/ElementaryFunctions/Tan/06/01/02/01/0001/
=z + (z^3)/3 + (z^5)*2/15 + (z^7)*17/315 + (z^9)*62/2835 + more terms

In the general case you can only approximate it.

Actually this series might be better. It's most accurate around z=pi/2, so you could take advantage of the fact that tan is an odd function, and just use this series to calculate it for x=0 to pi/2.
http://functions.wolfram.com/ElementaryFunctions/Tan/06/01/03/01/

[edit]
also:
Quote: "Quote: "Anyone know how to calculate slope from angle without using the tangent function?"
If all the information that's supplied is the angle itself, I'm not sure it's possible."

Sure! Use sine and cosine

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Sep 2012 05:18
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 05:40 Edited at: 6th Sep 2012 05:48
iirc, tan(x) = sin(x)/cos(x).

----

Edit: Check out this Windows 7 taskbar fail.


Attachments

Login to view attachments
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 6th Sep 2012 07:35
@Dar13 I'll check that out in a bit!

@Neuro Ah, I had a suspicion you would come in and save the day! I looked at those 4 equations, and i chose this one:

Tan[z] \[Proportional] -(1/(z - Pi/2)) + (1/3) (z - Pi/2) + O[(z - Pi/2)^3]

In the image of the equation there is this little sideways ribbon like symbol, and it seems to represent 'proportional' according to the text version of the equation. What is that?

"MOVE R1,R2"~~Genesis 1:1, Bible
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 09:07
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 6th Sep 2012 09:11 Edited at: 6th Sep 2012 09:12
ooooooh shooooot.... That was the big one Right?

Edit:

xD Forgot about the ten posts points.

"MOVE R1,R2"~~Genesis 1:1, Bible
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 09:34
The big one is 32,768.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2012 11:23
Ah yes, 2^15 if my brain didn't fart. log2(32768) = 15.

Those new smileys are shiny. I'm not sure what to think of them when compared to the classic TGC ones.

TheComet

"if you don't understand recursion than you probably don't understand recursion." ~Jerico2day
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 6th Sep 2012 11:47
Oh gawd, wish I had a tablet and not this smartphone (which is not a very intelligent phone).

RANT
Stupid incompetent idiots who rund our *only* electricity company!!! Those morons have done it again. Another blackout that'll be "fixed sometime today" according to the call centre. I hate Durban sooooo much. Blackouts on a monthly basis, sometimes > 1 per month. They all last hours, even the whole day once.
/RANT

btw, anyone here know much about solar-power? Internet sources all contradict each other so I'm confused. I'm wondering if a solar plate for a geyser is producing enough excess to power a laptop? Geyser thermostat is set to only about 50 deg celcius so it's low consumption. My laptop's power supply is only 90watt/19v/4.74a. I figure that a geysey must use a lot more when it heats up since. My plan would be to jack into the power supply to charge my laptop battery while the geyser isn't heating (it heats in cycles) and run on battery while it is. Am I crazy??

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Sep 2012 16:53
The proportional symbol is "approximately equals". So, just to reiterate, those aren't exact formulas for tangent! Also the argument is in radians, not degrees. I mean, obviously if you plug in "Pi/6" no amount of adding with integer powers and multiplying by rational numbers is going to get you exactly 1/Sqrt(3) [=tan(Pi/6)]

Also this tea I'm drinking is horrible. It's green tea but it tastes like the took some random plant leaves and shoved them in a bag.

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 6th Sep 2012 17:19
Quote: "
Also this tea I'm drinking is horrible. It's green tea but it tastes like the took some random plant leaves and shoved them in a bag.
"


And theeeeeeere's your problem. Don't drink green tea, drink real tea. Here, take advice from my dear friend Professor Elemental:


Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Sep 2012 17:24
ahh... professor elemental's work has gone downhill since he got tenure...

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 6th Sep 2012 17:40
It's all the tea, it's corrupting his mind.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2012 17:44
Why is it so hard for me to find a simple timer function in C? Is there anything similar to the DBP command "timer()"?

TheComet

"if you don't understand recursion than you probably don't understand recursion." ~Jerico2day
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Sep 2012 18:47
Quote: "hy is it so hard for me to find a simple timer function in C? Is there anything similar to the DBP command "timer()"?"

http://www.cplusplus.com/reference/clibrary/ctime/? I know it's on cplusplus but I was under the assumption those libraries are c libraries.

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Sep 2012 19:12
The Win32 API has a really nice timer, called timeGetTime(). Has accuracy down to 1ms. But yeah <ctime> is a C library that was adopted by the C++ standard.

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 21:39
Crappy timers:
clock() <Standard>
GetTickCount() <Windows>

High resolution timers:
gethrtime(CLOCK_MONOTONIC) <Linux/Mac OS X>
QueryPerformanceFrequency(), QueryPerformanceCounter() <Windows>

#if _WIN32
<Windows>
#else
<The rest of the world>
#endif

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2012 21:44 Edited at: 6th Sep 2012 21:45
Thanks guys!

That moment when you notice that this was the reason why your application was crashing:



*face palm* When did I get so bad at pointers?

TheComet

"if you don't understand recursion than you probably don't understand recursion." ~Jerico2day
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Sep 2012 22:23
Debugging:
Quote: "1. That can't happen.
2. That doesn't happen on my machine.
3. That shouldn't happen.
4. Why does that happen?
5. Oh, I see.
6. How did that ever work?"


Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 6th Sep 2012 22:59
Aertic
17
Years of Service
User Offline
Joined: 2nd Jul 2007
Location: United Kingdom
Posted: 7th Sep 2012 04:08
sure do love the smell of IRC.
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 7th Sep 2012 08:59
☑ Left ☑ Right
☐ Left ☑ Right
☑ Left ☐ Right
☑ Left ☑ Right
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 7th Sep 2012 10:10
Quote: "sure do love the smell of IRC."

iirc iDon't.

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 7th Sep 2012 11:47
Quote: "iDon't."


Careful, Apple might sue.


And I Love The Smell of Napalm in the Morning.



Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 7th Sep 2012 12:19 Edited at: 7th Sep 2012 21:53
I just got back from the Buckethead show. One word: YES. It was a great show by the time Buckethead got up there, but I had already been there for two hours waiting to see him. Totally worth it. My back was killing me though as I was standing in the same spot for the three and a half hours I was there for. I can't believe I actually saw Buckethead, live. He did not disappoint.

Just made a Buckethead playlist featuring the songs he played there too. I wish my phone hadn't died while I was there or I would've recorded.



Attachments

Login to view attachments
Yodaman Jer
User Banned
Posted: 7th Sep 2012 19:52
Testin' mah signature.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2012 21:53
@ Seppuku - If you want to join in and practice some writing skills, check out this game we're playing : http://ponycraft.forumatic.com/viewtopic.php?f=38&t=284

We're in need of some more skilled writers.

TheComet

"if you don't understand recursion than you probably don't understand recursion." ~Jerico2day
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 7th Sep 2012 22:55
Steam sucks. I could do a better job.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2012 23:04 Edited at: 8th Sep 2012 00:31
By using one of those high pressure boilers?

TheComet

"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 8th Sep 2012 03:25
Quote: "I could do a better job."

Then do it.

Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 8th Sep 2012 07:17
Quote: "Then do it."


Get me hired by Valve, and I will.
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Yodaman Jer
User Banned
Posted: 8th Sep 2012 21:01




Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th Sep 2012 23:20 Edited at: 8th Sep 2012 23:20
I had to mention this somewhere because it's bizarre! Type "In space is it" into google and the only suggestion is "In space is it impossible to cry?": what a strange question, and it appears to have been asked many times. Why is this a thing? It sounds like some emo album title.

Shh... you're pretty.
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 9th Sep 2012 00:00


The fact that I have to resort to such a hackish method to prevent a major(some 30kb) memory leak bothers me.

Login to post a reply

Server time is: 2025-06-08 19:56:51
Your offset time is: 2025-06-08 19:56:51