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
Yodaman Jer
User Banned
Posted: 14th Dec 2014 23:46
Quote: "Have you ever actually had vegemite?"

Nope! At least not to my knowledge. Something tells me I'd know if I did thought.

Quote: "It's a very tough and dark kind of meat, not really that enjoyable. What are we supposed to do with the 30% overpopulation of kangaroos we kill every year?"


Eh, it's not really that surprising I suppose. It just sort of jumped out at me as odd.

No more odd than us Americans with our deer/venison, though. Although I've never had that, either.

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 15th Dec 2014 00:03
Page.

My grandpa makes bottle openers out of the ballsacks of dead kangaroos, it's pretty cool. He also makes back-scratchers out of their hands.

I like offending people. People who get offended should be offended. -- Linus Torvalds
easter bunny
13
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 15th Dec 2014 00:30
Quote: "Yikes"

Those were from the Black Saturday bush fires in Victoria a few years back. 173 people died, 414 were injured, 7,562 displaced, over 3,500 structes were destroyed, damage estimate over $4.4 billion dollars. Apparentely the energy released by the fires is equal to 1,500 Hiroshima sized atomic bombs.


Quote: "Speaking of Australia, is it true you guys eat KANGAROO?!?!?!?! I mean vegemite I can understand, but KANGAROO?!?!?!?!?!?!?!"

Not all the time, but occasionally yeah. It's pretty good, tastes like chicken.

Quote: "Have you ever actually had vegemite?"

Of course.


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 15th Dec 2014 00:37
Quote: "What are we supposed to do with the 30% overpopulation of kangaroos we kill every year?"
Biofuel

Yodaman Jer
User Banned
Posted: 15th Dec 2014 00:51 Edited at: 15th Dec 2014 01:03
Ok, why isn't this working in AppGameKit?!



My tileset1.png image is in the proper folder, and yet all I get is the plain white sprite image, or the one where it shows a checkerboard with a red X in the middle. Seriously!? What in the world is going on here?

EDIT: I have confirmed it seems to be a bug? I can load the tileset image just fine into Stencyl and it displays just as I expect it to, yet in AppGameKit I can't get it to work.

Surely I'm not misunderstanding the commands somehow?

Seppuku Arts
Moderator
21
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 15th Dec 2014 01:05
Quote: "Speaking of Australia, is it true you guys eat KANGAROO?!?!?!?! I mean vegemite I can understand, but KANGAROO?!?!?!?!?!?!?!"


I've eaten kangaroo burgers, I thought it was delicious.

A butchers up the road sells crocodile, snake, zebra and antelope, even has its own crocodile farm. A crocodile farm might not sound that strange, but not like we get crocodiles in the UK, at zoos maybe, but we're not eating lions, so it is a strange meat to be selling. Never actually tried.

I did have a Wild Boar spaghetti bolognase the other day, that was interesting.

budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 15th Dec 2014 02:28
Quote: "Surely I'm not misunderstanding the commands somehow?"

Caps?

"Giraffe is soft, Gorilla is hard." - Phaelax
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 15th Dec 2014 03:50
Thankfully my friends in Sydney are safe, hope this is resolved safely...

http://www.bbc.co.uk/news/world-australia-30474089

Sorry if this bends the AUP but it is important to mention...

easter bunny
13
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Yodaman Jer
User Banned
Posted: 15th Dec 2014 06:32
Quote: "Caps?"


No, everything is fine in that regard... I really don't know what's going on. I don't know why I got it to work last week and now I can't get it to work. I think it was on my PC where it worked fine, this is on my iMac so it could be that?

I suppose I should test and find out!

Seditious
12
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 15th Dec 2014 06:47
Quote: "Thankfully my friends in Sydney are safe, hope this is resolved safely...

http://www.bbc.co.uk/news/world-australia-30474089

Sorry if this bends the AUP but it is important to mention..."


I wondered initially why it would be against the AUP, and then I realised it.

On a related note, we keep having Jehovah's witnesses come to the door.
Yodaman Jer
User Banned
Posted: 15th Dec 2014 07:16 Edited at: 15th Dec 2014 08:09
Well, I can confirm that the problems I'm having are not just on the Mac. I'm having the same issues on my PC.

I posted about it in the AppGameKit Product Chat board, perhaps someone can help me there. I must say, this probably bug is driving me absolutely nuts.

EDIT: Ahha! Forum goer xCept helped me figure out what the problem is.
Turns out, AppGameKit is very picky about where you place files, as it by default wants to load from the default "media" folder it automatically creates. I somehow missed this very crucial information whilst perusing the documentation, and thus thought I could create my own media folder to house my files.

Seems a silly mistake now, especially looking back at how many hours it wasted this afternoon....

That's ok, now that I know, I can finally get some stuff going I think! Except that it's 1am and I am exhausted and work tomorrow. Such is life.

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 15th Dec 2014 13:07 Edited at: 15th Dec 2014 13:35
Quote: "That looks a lot nicer than the swedish licenses, ours are a pink color with lots of text and a gray picture of our face"


Yours looks more like a secret service license or something to me

Quote: "Gosh I love my job"


lol you get a lot of interesting stories at least

Quote: "Well, the United States House of Representatives just passed a law saying it's legal for them to intercept private communications without a warrant."


Ah, I see. Thanks for the heads-up. Not that I have anything I want to hide, but it's certainly worth knowing about.

Quote: "Time to concatenate two strings in C..."


I love that I knew exactly what your code was going to look like

Quote: "Ah yes, the jiff thread."


lol that thread was a good read. And I can tell you right now there's NO WAY I'm gonna say "jiff". It's GIF as in "gift".

Quote: "It's a lovely car I drove, a '92 Nissan Pathfinder:"


You used 'lovely' wrong. And you probably pronounced Nissan wrong in your head (NEE-sahn or somesuch).

Quote: "How do we all pronounce 'Nissan'? Here in the States, we say 'nee - sahn'."


LOL I wrote my last sentence before I saw this And yeah, you pronounced it wrong. It's NISS-n. I just can't remember the key-code for the Australian grunt noise that's half-way between a short A and a short E.

Quote: "Jokes aside, licenses here in the US do allow you to drive both manual and automatic transmissions; there are absolutely no training requirements for any person who wishes to hop into a manual car. I think the requirement for a special license to drive a manual would be a good idea, but the implementation of such a requirement would be massive."


In Australia, this is how it works:
Learner's = Manual or Automatic
P1 = Manual ONLY if the test was passed in a Manual, otherwise Automatic
P2 = Manual or Automatic
Full = Manual or Automatic

Quote: "I'd argue otherwise. Writing classes in C++ is frustratingly hard because there are way too many things you have to consider:"


The ONLY REASON this is an issue is the method of teaching used in virtually all classes. One day I'm going to revolutionise the way programming is taught.

For example:

Quote: "Polymorphism? (public virtual destructor or protected non-virtual destructor)"


A: Whatever suits you. If it works, use it. When you have more experience, you'll learn to plan ahead and know in advance which one you'll need.

Quote: "And haha, we have hardly any roundabouts here in the US. They are starting to pop up in brand new city projects, but they are few and far between. I never do well in them, even in an automatic."


You'd have serious issues driving in Australia, then! They're extremely common over here. I think they're a brilliant invention and work really well for controlling traffic - at least, when everyone knows how to use them. Sometimes you'll get people that just refuse to start moving if there's even ONE person on the other side of the roundabout. When everyone uses them properly, however, the flow is amazing.

Quote: "Hmm I think I need to figure out how to implement scroll bars in my tile map editor."


You could do like I did with PEP. Since the map is infinite, you can't have a traditional scroll bar. Instead, I made it so the bars could be used to drag the map at different speeds depending on how far you pulled the bar. In addition, you can right-click and drag to move the map around. I absolutely loathe map editors that force you to use the arrow keys and sit and wait for it to wander over to the other side of the map because you can't go any faster (*cough-cough*FPSC*cough*).

Quote: "Have some snow:"


Wow, awesome photos! I assume you didn't take them Where is that, do you know?

Quote: "have some australia:"


lol! I mean... not lol, not lol at all, but- yeah lol since it's not me Unless it wasn't meant as a joke, then not lol. I don't know, are there any major fires atm?

Quote: "Speaking of Australia, is it true you guys eat KANGAROO?!?!?!?! I mean vegemite I can understand, but KANGAROO?!?!?!?!?!?!?!"


Yes. Not me personally, but lots of people like it and you can buy it in Woolies.

Quote: "Have you ever actually had vegemite?"


The rest of my family insists it has a distinctive flavour when compared to the likes of Promite and Marmite, but IMO it's just a slightly saltier Promite. I like all of them on toast either way

Quote: "Those were from the Black Saturday bush fires in Victoria a few years back."


Oooook DEFINITELY not lol then. That was pretty horrific.

Quote: "On a related note, we keep having Jehovah's witnesses come to the door."


Annoying, no? Luckily our dogs are so huge the JWs are too scared to come up to our place

Good photo. Both of 'em lookin' totally derpy.



Honestly, I don't want to read those stories about the Lindt cafe. I'll be interested in the summaries after all that is over, but reading that kind of news in-depth just makes me depressed at the state of Australia. Far too easy to get into this country, IMHO... *smh*

------------------

I'm looking to buy a Bluetooth gaming controller for Android phones. With my Nexus 7 I used a cheap $4 aftermarket wired PS3 controller (it was on special at EB Games), but that doesn't work as easily on my HTC One M8, and besides that, the very long cable + OTG cable make it messy. AND you have to have somewhere to sit your phone. What I want is a controller that also has a phone clamp thingy so the controller becomes attached to the screen.

Basically, I want to bring back the days of mobile gaming with things like DSes and PSPs. Also I freakin love emulators and want to be able to use them more effectively ('cuz trying to play Hammerin' Harry on a touchscreen is a nightmare - Let's... Get... BU- whoops accidentally hit Home).

Any suggestions? My budget is around $50 AUD. Could maybe stretch to $60.

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 15th Dec 2014 14:33
Quote: "In October 2006, an Australian news company reported that Vegemite had been banned in the United States, and that the United States Customs Service had gone so far as to search Australians entering the country for Vegemite because it contains folate, a B vitamin approved as an additive in the United States for just a few foods, including breakfast cereals."


Quote: "However, in September 2011, former Australian Prime Minister Kevin Rudd reported that US Customs officials tried to confiscate his supply of Vegemite as he entered the U.S.,"


ROFL

Yodaman Jer
User Banned
Posted: 15th Dec 2014 16:38 Edited at: 15th Dec 2014 19:02
Quote: "you get a lot of interesting stories at least"


Indeed!

And she was fired, thank goodness, because the thought of dealing with anymore of her mistakes made me cringe.

My boss was a little upset with me too, though, even though I did try reversing it. She said that I should have called her because she might have been able to help me push the reversal through another way. She wasn't mad at all, just not exactly happy I didn't call her.

My boss was able to fix it though, so the company isn't out too much money anymore.

-----------------------------------------------------------------

I forgot how much fun it is to type with a proper mechanical keyboard, I hate the little keyboard my Mac has. It's ridiculously awesome to have the springy keys under your fingertips.

Now that I know how to properly load sprites, this code works pefectly:


Just a quick and dirty test to see what my tiles look like in a little row.

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 15th Dec 2014 20:33 Edited at: 15th Dec 2014 21:37




I like offending people. People who get offended should be offended. -- Linus Torvalds
easter bunny
13
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 15th Dec 2014 21:49 Edited at: 15th Dec 2014 21:52
Quote: "Honestly, I don't want to read those stories about the Lindt cafe. I'll be interested in the summaries after all that is over, but reading that kind of news in-depth just makes me depressed at the state of Australia. Far too easy to get into this country, IMHO... *smh*"

Well, it's over. It ended at 2am this morning [Tuesday] when the police heard gunshots from inside the building, they immediately stormed the building. Sadly two hostages were killed as well as the gunman.

http://www.abc.net.au/news/2014-12-16/sydney-siege-gunman-two-hostages-dead/5969162
http://www.abc.net.au/news/2014-12-15/sydney-siege-what-we-know/5967610


The Comet,
I find that top picture of yours highly disturbing and think it should be removed immediately.


Audacia Games - Latest WIP - AUTOMAYTE 2.1, AppGameKit one click deploy to Android
"When you've finished 90% of your game, you only have 90% left"
budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 15th Dec 2014 22:03
Quote: "The Comet,
I find that top picture of yours highly disturbing and think it should be removed immediately."

Tetris?

"Giraffe is soft, Gorilla is hard." - Phaelax
Seppuku Arts
Moderator
21
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 15th Dec 2014 22:23
Quote: "The Comet,
I find that top picture of yours highly disturbing and think it should be removed immediately.
"



*Contemplates abuse of moderator powers*

That pictures hurts my brain. I know it's going to happen, but I watch anyway with the ounce of hope that it's a double bluff.

Quote: "Gosh I love my job"


I hate mine, but it too provides amusing anecdotes, I think there should be a customer services equivalent to the Darwin Awards.

budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 15th Dec 2014 22:47
*contemplates abuse of points*

"Giraffe is soft, Gorilla is hard." - Phaelax
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 16th Dec 2014 00:54
Quote: "Well, it's over. It ended at 2am this morning [Tuesday] when the police heard gunshots from inside the building, they immediately stormed the building. Sadly two hostages were killed as well as the gunman."


Oh dear. Well... at least the others are free, I suppose, even if they'd all be traumatised by the experience.

Quote: "I find that top picture of yours highly disturbing and think it should be removed immediately."

Quote: "Tetris?"


*contemplates throttling whoever made that gif*

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 16th Dec 2014 05:42
My attempt at adding a lil Christmas flare to my signature, is it just me, or is it abhorrently ugly?

Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 16th Dec 2014 05:55 Edited at: 16th Dec 2014 05:57


Seditious
12
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 16th Dec 2014 11:28
Got a magnet implanted into my butthole - For SCIENCE!
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 16th Dec 2014 11:45
Quote: "My attempt at adding a lil Christmas flare to my signature, is it just me, or is it abhorrently ugly?"


No, it's good I should get around to adding some Christmas-y features to my avatar/sig before Christmas is over

Quote: "Got a magnet implanted into my butthole - For SCIENCE!"


That's... not my kind of humour...

--------------------------------------------

So aside from wanting to buy a gamepad for my Android phone, I'm also looking into Arduino boards and getting into that kind of electronics. Ultimately I want to attempt to build a 6DOF 3D joystick controller thingy like this guy built. It'd be an interesting and challenging project, particularly without access to a 3D printer, but it's the kind of thing I reckon I could pull off now that I have a bit of spare cash.

I've always been immensely interested in motion capture; specifically, Invensense's gyro/accelerometer chips like the MPU-6050, but never had a clue how they would be used. It turns out getting into this field of electronics is ridiculously difficult, just because it's so hard to find guides for noobs. I mean, I really have no idea what to search to even find information on this. Right now my only foothold is the Arduino boards, which is at least giving me something to Google with.

I don't even know what kind of experience you're meant to have to use Arduino boards or what market they're aimed at.

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 16th Dec 2014 12:57 Edited at: 16th Dec 2014 13:01
Time to... iterate a linked list in C in a way to make it safe to erase elements from the list at the same time...



Also let me stoop down to that level of humour:

Advice on building a compact butthole as a sampler machine

I like offending people. People who get offended should be offended. -- Linus Torvalds
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 16th Dec 2014 14:23
Quote: "Got a magnet implanted into my butthole - For SCIENCE!"
Quote: "That's... not my kind of humour..."
Quote: "Also let me stoop down to that level of humour:

Advice on building a compact butthole as a sampler machine"
The last one made me laugh in such a manner as to pop my back. Early morning fun!

Also, what manner of bad thing has happened to my house's heating system? It was 55 degrees (12.7 Celsius) in my bedroom when I woke up.

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 16th Dec 2014 14:53
Quote: "Also, what manner of bad thing has happened to my house's heating system? It was 55 degrees (12.7 Celsius) in my bedroom when I woke up."


I read "mouse" instead of "house" and I've been sitting here staring at your sentence for a minute trying to understand whether you meant your computer mouse or an actual mouse.

I like offending people. People who get offended should be offended. -- Linus Torvalds
Seditious
12
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 16th Dec 2014 15:48
Quote: "That's... not my kind of humour..."


I didn't really do it. That'd be gross and potentially messy.

Quote: "Advice on building a compact butthole as a sampler machine"


I lol'd and the chip flew out my butthole.
Yodaman Jer
User Banned
Posted: 16th Dec 2014 15:51 Edited at: 16th Dec 2014 15:55
yay points

On an unrelated note, I'm trying to build a customizable undo/redo list that I can share as a resource for AGK. Probably will come in handy to some people, especially those who want to make editors of some nature!

EDIT 2:

I also want to build my own GUI library. Something pretty simplistic, designed especially for tile map editors and suchlike. I tried something similar with DBP a few years ago and actually got pretty far, and now with the beautiful edit boxes that AppGameKit has built-in it will be even easier to do various input fields to store tiles' properties!

The GUI can support a few different color themes but beyond that I don't think I can really make it skinnable at all. Or maybe I can, who knows! Either way I look forward to programming it.

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 17th Dec 2014 14:23
Quote: "I read "mouse" instead of "house" and I've been sitting here staring at your sentence for a minute trying to understand whether you meant your computer mouse or an actual mouse."
Lol

Also, what manner of bad thing has happened to this forum? No new posts in the last like, forever.

Yodaman Jer
User Banned
Posted: 17th Dec 2014 18:15 Edited at: 17th Dec 2014 18:20
I think it's just the time of year, people are busy with finals for the semester or working extra hours because of the holidays. For example, I worked a 10 hour day yesterday, but at least I got two hours of overtime (which is automatically time and a half for pay, so I made darn near 30 bucks in two hours).


I have been working on my Undo Redo API, but I'm kind of stuck. There's really no easy way to make it as general as I can without coding some kind of specific functionality in it. Perhaps since it's really only going to be for a tile map editor I can release it as such for that?

"Yodaman Jer's Undo Redo API for Tile Map Editors!" Or some such looks like a good thread title, I suppose.

I do plan on making a GUI functions library as well, something that will give a unique look to applications. I want it to support...

- Toolbars
- Custom Menus
- Dialog Boxes
- Message Boxes
- Input fields/edit boxes

Should be easy enough to whip up, and once I'm done with that it will be easy to implement it into my tile map editor for my game.


EDIT: Dark Java Dude, if you wonder why I haven't been on Skype lately, it's because Microsoft decided to lock my new account since I couldn't use my old recovery email. I changed it to my current secondary and as a result they told me my account would unusable until the 8th of January.
Jerks. I hate them.

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Dec 2014 18:33
I accidentally uninstalled glibc. Never do that on linux, especially if it's Gentoo.



I like offending people. People who get offended should be offended. -- Linus Torvalds
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 17th Dec 2014 21:21
How did you manage that??

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Dec 2014 21:30
I was removing unneeded cross platform toolchains when suddenly I removed the host's toolchain.

I like offending people. People who get offended should be offended. -- Linus Torvalds
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 17th Dec 2014 23:34
Quote: "I have been working on my Undo Redo API, but I'm kind of stuck. There's really no easy way to make it as general as I can without coding some kind of specific functionality in it. Perhaps since it's really only going to be for a tile map editor I can release it as such for that?"


Man, it seems like you're the only person here putting in the effort to actually use the TGC products of which we all claim to be big fans! +1 to you, though. Gotta have someone talking about AppGameKit in this thread or we'll all forget it exists

Quote: "I accidentally uninstalled glibc."

Quote: "I was removing unneeded cross platform toolchains when suddenly I removed the host's toolchain."


Don't worry, nothing can top my stupidity.

--------------------------------------------------

So guess what I spend about $75 on the night before last?? Go on, guess! Too late ARDUINO STUFF!! The last time I did any kind of electronics... err... "learning"... was several years ago, so I've been watching tonnes of YouTube videos to brush up on basic electronics concepts (such as voltage/current/resistance, Ohm's Law, etc.). I also watched heaps of Arduino tutorials and now I'm super-excited for what I can do with the thing!

I have some questions, though, that maybe someone here will be able to answer:

1. What does a resistor actually do? Most tutorials say it "resists" current flow, but what does that mean? If I were to stick a voltmeter on the other side of it, would the voltage still be the same?
2. Does a resistor "set" the current to a specific value regardless of available current? So say I have a small (watch-battery-sized) 5V battery connected in a circuit to itself. In that circuit I stick a 1K [insert Ohm symbol here] resistor... that makes it 5mA of current, right? So what happens if I replace the watch battery with a much larger, say, ATV battery (still 5V). If I understand correctly, it would be capable of providing a far larger current... so would the resistor still bring it down to 5mA?
3. Does a resistor only change the current after the point in the circuit where it's placed?
4. To be clear - when you lick a standard 9V battery, it's pushing all the current it can provide through your tongue, right? So if you licked a car battery (using jumper leads or something) you'd get a far larger, probably dangerous shock?

I'm just hoping someone here actually understands electronics (and electricity) enough to answer my questions. Searching for such specific things in Google is near-impossible.

Anyway, here's a list of the parts I've bought so far (exclusively from eBay - still coming in the mail). Tell me if you think I'm missing something

$13.90 - Arduino Uno R3 board - non-Italian version, supposedly 100% Arduino compatible
$14.91 - InvenSense MPU-9150 - gyro + accelerometer + compass
$3.95 - InvenSense MPU-6050 - gyro + accelerometer
$7.98 - HD44780 LCD Display - 16x2 characters, green on yellow
$4.88 - UGN3503U Hall Effect Sensor
$4.95 - 50 tiny magnets - 3mm x 1mm, for use with the hall effect sensor
$3.31 - 10K 1/2W Linear Taper Pot
$6.30 - 400 Assorted Resistors - 10ohm to 1M ohm, 1/4W, metal film
$4.95 - 400 Tie Point Breadboard
$3.91 - 40 Jumper Wires - Male-Male, 20cm
$3.71 - 40 Jumper Wires - Male-Female, 20cm

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 18th Dec 2014 01:00 Edited at: 18th Dec 2014 01:26
I shall do the best I can to explain things for ya:

Quote: "What does a resistor actually do? Most tutorials say it "resists" current flow, but what does that mean?"
I have a great analogy for you; many electronics schools use this analogy to teach. Basically, you can think of any circuit as a series of pipes that water can flow through, often in circles (by circles, I mean the water keeps cycling through the circuit over and over). Voltage can be thought of like water pressure that is trying to move water through a pipe. Voltage is essentially the force that tries to move electrons, and the greater the voltage, the greater the force trying to move the electrons. Any time electrons move through a substance, we refer to that as electricity. An electrical current is the movement of electrons through a conductor, often a wire or other electrical component.

Now, as water flows through a pipe due to pressure (just like our voltage), it experiences resistance. In fact, resistance is the reason that water doesn't flow through the pipe infinitely fast. Electrical current can be thought of like the current of water flowing through a pipe. The more electrons flowing through a component or wire, the greater the electrical current.

All electrical components have some resistance; that's an unfortunate fact of practical electrical engineering. So to answer your question, resistors are basically components designed specifically to have a certain amount of resistance, often way more than a wire would. In our analogy, a resistor could be thought of like a constriction in a pipe; water will have a harder time flowing through that constriction than through an open pipe. The resistance of a resistor is measured, as you probably know, in Ohms. The greater the Ohm count, the more strongly the resistor will resist the flow of electricity. A resistor of a greater Ohm count could be thought of like a smaller constriction in a pipe.

Quote: "If I were to stick a voltmeter on the other side of it, would the voltage still be the same?"
This is a rather vague question, for reasons that would be sort of hard to explain. It depends where exactly you measure the voltage from the resistor. You could measure across the resistor, between the resistor and another component, etc. I won't get into that for now.

Quote: "Does a resistor "set" the current to a specific value regardless of available current?"
No. So back to our analogy, if you look at a water pipe, there will always be two factors determining how much water is flowing through it at any time. First, water pressure. The greater the water pressure, the greater the water current, and vice versa. Second, the pipe's resistance to the flow of water. Opposite of pressure, the greater the pipe's resistance to water flow, the smaller the water current, and again vice versa.

If we flip that analogy over to the electrical side, we can infer that there are two factors that always determine the amount of current flowing through something at any given time -- voltage and the resistance of that component. The greater the voltage, the greater the current, and vice versa. The greater the resistance, the less the current, and vice versa. Here is a handy and super simple formula that allows you to calculate the amount of current flowing through any component, given the voltage across that component and the resistance of that component.

I = V / R

I is current, in amperes. V is voltage. R is resistance, in Ohms. Simple as that! Voltage divided by resistance gets you your current.

Quote: "So say I have a small (watch-battery-sized) 5V battery connected in a circuit to itself. In that circuit I stick a 1K [insert Ohm symbol here] resistor... that makes it 5mA of current, right?"
Yes! You must know that formula I gave you. You simply took the voltage across the resistor (5 volts in this case, which even with a 5 volt battery may not always be the case, but that is more advanced so I will spare you that confusion for now), and divided that by 1000 Ohms, which left you with 0.005A, or 5mA.

Quote: "So what happens if I replace the watch battery with a much larger, say, ATV battery (still 5V). If I understand correctly, it would be capable of providing a far larger current... so would the resistor still bring it down to 5mA?"
Yes! Indeed, the battery would be capable of providing more current, but the resistance and voltage are still the same, so the current will remain just the same. I haven't mentioned this yet: in our analogy, you can think of a battery as being like a water pump. A battery of a greater voltage is just like a pump that imposes a greater pressure on the water it is trying to move.

Quote: "Does a resistor only change the current after the point in the circuit where it's placed?"
No. Current is always the exact same all throughout a closed circuit. There are some exceptions to this, but those are more complex circuits where current can branch off and take different paths through the circuit. We won't get into those for now. Just like our water analogy, if you have a pump and a pipe that connects its input to its output, and somewhere along that pipe you place a restriction (just like a resistor), the current will be the same all along that pipe.

Quote: "To be clear - when you lick a standard 9V battery, it's pushing all the current it can provide through your tongue, right?"
Not necessarily. The human tongue has a fair bit of resistance, so even with 9 volts, the current across your tongue will be very small when you lick a battery. It feels pretty intense because your nerves are very sensitive to small current. I am not quite certain what that current would be, since I don't know the resistance of a tongue (and I am not sure I want to test mine ), but I would suppose it's only a few mA. A 9V battery is capable of providing far more current than that, and will indeed provide more current if connected to a circuit of lower resistance.

Quote: "So if you licked a car battery (using jumper leads or something) you'd get a far larger, probably dangerous shock?"
Also not necessarily, but I wouldn't recommend it. A car battery is much larger, and it can deliver WAY more current than a 9V battery can, but that doesn't mean it always will. Its voltage is not that much higher; only 12 volts! It would be a more significant shock, yes, but probably still not dangerous. In fact, if we do the math, we can calculate that the current across your tongue with a car battery will only be 4/3 the current across your tongue with a 9V battery.

I hope I have explained things well. If you want an even better explanation of the analogy I gave you, check out the site I have linked below. That article also describes the analogy for various other electrical components, so when it comes time for you to learn about those, hopefully this article can be helpful then as well.

http://en.wikipedia.org/wiki/Hydraulic_analogy

Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Dec 2014 02:26
Man, the physics gets quite tricky when electricity gets involved. Magnetism too, because they share certain characteristics (a charged wire generates a magnetic field for example).

Good luck with your explorations/learning!

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Dec 2014 02:43
Quote: "1. What does a resistor actually do? Most tutorials say it "resists" current flow, but what does that mean? If I were to stick a voltmeter on the other side of it, would the voltage still be the same?"


There are many ways to describe what a resistor does, but in its most basic sense, it converts electrical current into heat. Since conservation of energy must be preserved, there must be a sacrifice for converting said current into heat, and it is in form of a voltage drop over the resistor, linear to the amount of current flowing through the resistor.

This can be expressed mathematically as: U=I*R (U=Voltage, I=Current, R=Resistance) and P=U*I (P=dissipated power)

Quote: "2. Does a resistor "set" the current to a specific value regardless of available current? So say I have a small (watch-battery-sized) 5V battery connected in a circuit to itself. In that circuit I stick a 1K [insert Ohm symbol here] resistor... that makes it 5mA of current, right? So what happens if I replace the watch battery with a much larger, say, ATV battery (still 5V). If I understand correctly, it would be capable of providing a far larger current... so would the resistor still bring it down to 5mA?"


A battery doesn't have an "available current" because it is a voltage source, not a current source.

Ideal voltage sources retain their voltage level regardless of how many amps a load consumes.

Resistors don't "set" the current, nor do they "set" the voltage. Resistors simply bring voltage and current into a linear relationship (see ohm's law), but it can go both ways. (I.e. if I connect a voltage source to a resistor then I can calculate the current, OR if I connect a current source to the resistor I can calculate the voltage).

So yes, if you were to connect a 1k resistor parallel to any 5V constant voltage source there would always be 5mA flowing through the resistor.

Quote: "3. Does a resistor only change the current after the point in the circuit where it's placed?"


Does a water turbine only change the flow speed of water after the point in the pipe where it's placed?

No, see Kirchhoff's Circuit Laws. The sum of all currents in a junction must equal 0A.

Quote: "4. To be clear - when you lick a standard 9V battery, it's pushing all the current it can provide through your tongue, right? So if you licked a car battery (using jumper leads or something) you'd get a far larger, probably dangerous shock?"


Wrong, 9V batteries and car batteries are voltage sources, not current sources. Your tongue has a resistance and the current flowing through your tongue will be I = Ubattery/Rtongue.

I like offending people. People who get offended should be offended. -- Linus Torvalds
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Dec 2014 02:52
There are many ways to describe points, but I have them so it doesn't matter.

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 18th Dec 2014 03:01
To clarify on what Comet said (all a great elaboration on the things I said), a 'current source' is a component that always produces a constant current in whatever circuit in whatever circuit it is connected; it does this by varying voltage as required, to compensate for changes in resistance of the circuit.

A voltage source always provides constant voltage, and as Comet said, a great example is any battery.

Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Dec 2014 03:24
Man, I'm going through the Rust guide and it's looking like it fixes a lot of the issues that C/C++ suffer from while also avoiding the issues that Java has. Of course, it's early days but I'm cautiously optimistic.

Yodaman Jer
User Banned
Posted: 18th Dec 2014 03:46
Quote: "Man, it seems like you're the only person here putting in the effort to actually use the TGC products of which we all claim to be big fans! +1 to you, though. Gotta have someone talking about AppGameKit in this thread or we'll all forget it exists "


AGK! AppGameKit! AppGameKit!

I actually love AppGameKit, but I'm still deciding whether or not I want to go with something like Stencyl for some of my ideas (rather than reinvent the wheel), or just code through it all. I would much rather program everything from scratch, but the ability to have a basic platformer up and running in 30 minutes is awful tempting.

I am too loyal to TGC to do that, though. I really think my idea for my small game will work out nicely with AppGameKit and will teach me a lot more about the process of game programming in general. The game will be a fixed-room game, so no need for scrolling. Each level can have as many as 10 rooms depending on the complexity of the puzzles inside, and players will be able to "link" these rooms together in each level rather easily, just by clicking a button (hence the need for me to write my own GUI system as well). As I said before, the level editor will be built in, and hopefully this will increase replay value.

I'm thinking about calling the game "Tiles" for now, since the main object of the game is to move colored tiles to their designated spots within the time limit of each room. Seems a good name for such a game.

I will be playing around with AGK's Box2D physics as well, since I want some of the puzzles to rely on physics quite a bit. Inverted Gravity, anyone?

But yes Clonkex, I do indeed seem to be the only one in here talking about AGK.

And guys, I figured out where forum activity is - it's in the AppGameKit boards. Almost every user online is someone over in the AppGameKit boards. I think forum activity in Geek Culture has dwindled because most people are just interested in AppGameKit and if they do venture down to GC, they only see the Posting Competition with almost 45k posts and just go "pfft, so not reading that kthx" and walk back up to the AppGameKit boards. Personally, if I were a new member I would pretty much not hang out in Geek Culture because its activity is so low.

OH NO A HUGE POST OH PLEASE DON'T TELL ME I'M THE NEW RAVEN PLEASE GOD NO

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Dec 2014 03:48
Quote: "AGK! AppGameKit! AppGameKit! "


You ok bro? You shouldn't be taking it in all at once you know, small bites is the key.

I like offending people. People who get offended should be offended. -- Linus Torvalds
Yodaman Jer
User Banned
Posted: 18th Dec 2014 04:11
Quote: "You shouldn't be taking it in all at once you know, small bites is the key."


Indeed, I am starting out with quite a big project it would seem. This is why I'm doing a bunch of little things first, like coding the undo/redo api and writing the GUI functions library after that. However, I do think I shuld write a few unrelated games first, as testing grounds for what I eventually want to do.

Small bites are, indeed, the key. But I can eat a sandwich in four bites with no repercussions (other than regret and shame for my apparent gluttony), and so it shall be with my programming!

AGK! AppGameKit! AppGameKit!

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 18th Dec 2014 04:53
Just so you know, I have fairly extensive knowledge of how some parts of electricity works, but utterly terrible gaps about others. So if I seem to know some things which may be considered advanced, don't assume I know everything below that (all the basics)

Quote: "I have a great analogy for you; many electronics schools use this analogy to teach. Basically, you can think of any circuit as a series of pipes that water can flow through, often in circles (by circles, I mean the water keeps cycling through the circuit over and over)."


Yeah, that's what I've read a lot, but it doesn't help for me. If you restrict a water flow, it flows faster through the hole and the pressure on the source side of the restriction increases. However I found a far, far better explanation that cleared up a lot of things for me: http://amasci.com/miscon/voltage.html

Quote: "This is a rather vague question, for reasons that would be sort of hard to explain. It depends where exactly you measure the voltage from the resistor. You could measure across the resistor, between the resistor and another component, etc. I won't get into that for now."


*derp* Yeah of course... not sure what I was thinking when I wrote that...

Quote: "Does a resistor "set" the current to a specific value regardless of available current?"


Oops, meant to say "as long as the voltage is the same".

Ok, so I think this is possibly my biggest confusion at the moment, and it might be a little hard to explain. Also, it may well be based on misconceptions. Right:

Is the current that can be sucked from a battery proportional to the battery's size? What I mean by this is... umm... ok, try this. Say I have a small 12V battery (maybe 8 AA batteries in series) and a 12V car battery. I also have some relatively thin wires... the kind you use as jumper wires in prototyping. If I were to connect a 12V incandescent bulb to the AA battery circuit, and then connect another bulb to the car battery circuit, would the car battery one glow brighter? And would the wires on the car battery circuit become hotter than the AA battery circuit?

I guess I'm confused as to what defines how much current a battery can supply, and whether or not a device that consumes power (such as a DC motor or an LED) will consume as much as is available or only as much as it "needs".

Quote: "Yes! You must know that formula I gave you."


Yup This was one of the most useful things I learned in all my random research. Ohm's Triangle FTW!



Quote: "Not necessarily. The human tongue has a fair bit of resistance, so even with 9 volts, the current across your tongue will be very small when you lick a battery."


Oh yeah, I hadn't considered that tongues might have lots of resistance. I was just picturing it as an ideal conductor.

Quote: "Good luck with your explorations/learning!"


Thanks! I'm thoroughly enjoying it

Quote: "There are many ways to describe what a resistor does, but in its most basic sense, it converts electrical current into heat. Since conservation of energy must be preserved, there must be a sacrifice for converting said current into heat, and it is in form of a voltage drop over the resistor, linear to the amount of current flowing through the resistor."


This is why I'm glad DJD64 replied before you did Obviously (to me at least) the current is being converted to heat. The second part of that explanation did nothing to explain it to me. I would need some example numbers to understand what you mean by that.

Quote: "A battery doesn't have an "available current" because it is a voltage source, not a current source."


No, but surely a battery has a maximum (if varying) amount of current it can provide?

Quote: "So yes, if you were to connect a 1k resistor parallel to any 5V constant voltage source there would always be 5mA flowing through the resistor."


But there's a limit to how big the current can be that the resistor is resisting, right? I mean it's gotta burn out if you try to put too much of something (either amps or volts, bit confused about this) through it?

Quote: "I = Ubattery/Rtongue."


Did you mean Vbattery? Remember that a mistake like that is confusing to someone who doesn't know better

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 18th Dec 2014 06:07
Quote: "it flows faster through the hole"
You are reading too far into my analogy! And yes, it does flow faster, but we are not talking about velocity, we are talking about flow rate (volume per time).

Quote: "the pressure on the source side of the restriction increases"
Yes! This happens in electrical circuits too, and it's a very important concept to understand. Research 'voltage drop' and 'electrical potential' to find more info on that. I would give a good explanation currently, and I would reply to other things as well, but I need to go to bed pretty quick here.

Yodaman Jer
User Banned
Posted: 18th Dec 2014 06:44
There are some shockingly good topics of discussion on this page. I guess we all know "watts" the word these days, eh?


Before I bow and take my leave from the stage, allow me to post a picture I photoshopped together a few years ago of a friend into a thicket of trees. i went out on a limb and thought it would be fun.



Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 18th Dec 2014 07:04
Quote: "You are reading too far into my analogy!"


I do that

Quote: "Yes! This happens in electrical circuits too, and it's a very important concept to understand."


Really? This could help de-confuse me a bit...

Quote: "Research 'voltage drop' and 'electrical potential' to find more info on that."


Will do, thanks

Quote: "I would give a good explanation currently, and I would reply to other things as well, but I need to go to bed pretty quick here."


That's fine, we've all gotta sleep and you've helped a lot already

Quote: "There are some shockingly good topics of discussion on this page. I guess we all know "watts" the word these days, eh?"


*smh*

Quote: "Jungle Pirates
Better Than Ninjas!"


lol

Yodaman Jer
User Banned
Posted: 18th Dec 2014 07:27
Quote: "*smh* "


What can I say? I like to stay current with my puns.



I'll just show myself out now.

Login to post a reply

Server time is: 2026-07-10 21:53:14
Your offset time is: 2026-07-10 21:53:14