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
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 18th Mar 2013 12:40
Quote: "points is a std::vector<Vertex>, point is a Vertex."

I see what you did there.




Page.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Mar 2013 13:51
Ah, silly me.

I set that up so nicely for you to make a cool pun about getting 100 points with that post.

TheComet

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Mar 2013 14:01
@TheComet

points.size() just happened to be 100, lucky me.

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 18th Mar 2013 16:35
Alright, here is the call stack I think. Thanks for helping me with this

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Mar 2013 17:01
Alright, now I need to see the complete code. The call stack didn't hold enough information for me to guess at the problem, other than the fact that there's a points.back() call in there somewhere.

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 18th Mar 2013 17:29
Alright, here is the template.cpp



This is template.h



and vertex.cpp

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Mar 2013 18:13
In the template.cpp you just posted, there's a couple of problems.
1) You never call Vertex::create(). At all.
2) You call "points.push_back(point);" twice in a row. Why?
3) You call "points.back();" without doing anything to the reference. Why?

Other than that, I see nothing that would cause an iterator assertion like that. Heck, I don't see this code doing much of anything.

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 18th Mar 2013 19:33
All your statements are correct. And luckily for me, I got this error right when I started with this "project" so it dosn't do much. I call the push back twice because I wanted to test if this only happens when there is only one element in the vector. I also removed the .create function from the points.back() to test if that caused the same error, and it seems it did. Guess I should have fixed that before I posted this

So the code that I want to run is this:

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 18th Mar 2013 23:39
posting about nothing again

There are 10 types of people, those who understand binary and those who don't
http://splatstudio.joshwebsites.com/
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 19th Mar 2013 01:56
I think it's a bug with the AppGameKit calls you have within the Vertex::create() method. I recreated your program(without the AppGameKit stuff of course) [
]
I received no errors with my code. Seems most likely that you're using CloneSprite,SetSpriteScale, or SetSpritePositionByOffset wrong.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 19th Mar 2013 06:53
Quote: "3
User


Joined: Mon May 12th 2008
Location: Microsoft VisualStudio 2010 Professional

Posted: 19th Mar 2013 11:56 | link | toggle
I think it's a bug with the AppGameKit calls you have within the Vertex::create() method. I recreated your program(without the AppGameKit stuff of course) [+ Code Snippet]
I received no errors with my code. Seems most likely that you're using CloneSprite,SetSpriteScale, or SetSpritePositionByOffset wrong.

Follow WTLD's progress on Twitter
Git repository for WasTeLanD"


There are 10 types of people, those who understand binary and those who don't
http://splatstudio.joshwebsites.com/
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 19th Mar 2013 07:52
That sounds resonable, I think I have encoutered this error before when using AGK
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 19th Mar 2013 10:42
Perhaps I'll end up making a Z80 based computer instead of that 8x8 LED matrix display one. It should hopefully have a preemptive multitasking OS, and if I can figure out a way to implement a memory management system in hardware for the Z80, I'll do it. Doesn't seem they make Z80 compatible MMUs anymore. Or perhaps, I could just code a very rudimentary and efficient emulator/virtual CPU over the Z80, then all of the multitasking and memory management capabilities I want shall be possible when run on top of that!

Text only signature /troll
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 01:34
only 2 posts since yesterday?!?

There are 10 types of people, those who understand binary and those who don't
http://splatstudio.joshwebsites.com/
Fallout3fan
16
Years of Service
User Offline
Joined: 9th May 2009
Location:
Posted: 20th Mar 2013 03:03
Mr. Handy. It isn't Christmas or winter...It is March.

_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 03:19
Quote: "_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________"


There are 10 types of people, those who understand binary and those who don't
http://splatstudio.joshwebsites.com/
Fallout3fan
16
Years of Service
User Offline
Joined: 9th May 2009
Location:
Posted: 20th Mar 2013 03:28
My rich vintage person. He makes me laugh when I notice him. xD

_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 04:46
ok[u][/u]

There are 10 types of people, those who understand binary and those who don't
http://splatstudio.joshwebsites.com/
Fallout3fan
16
Years of Service
User Offline
Joined: 9th May 2009
Location:
Posted: 20th Mar 2013 04:50
What type of reaction is that? Just ok? xD

_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 04:56 Edited at: 20th Mar 2013 06:28
yep, that's all

QUESTION: how do you put links in your sig?!?!?
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Mar 2013 08:09
k[/b][b]

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 08:12
l

QUESTION: how do you put links in your sig?!?!?
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 20th Mar 2013 08:35 Edited at: 20th Mar 2013 08:36
Quote: "QUESTION: how do you put links in your sig?!?!?"


Like so:
[ href=http://www.google.com]
Click Me[ /href]

Click Me

of course without the spaces between href and the bracket.

Level 100 Forumer:
456,000 Health, 264,543 Keystroke Power.
Special Abilities: Flame Resistance, Troll Shield.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 08:38
The PS/2 interface looks very simple; it seems I understand the fundamentals behind it now. Now, I'll try to achieve the same with VGA. Fun fun!

Text only signature /troll
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 08:54
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 09:17
Aw piece of cake! I wanted the hard way out, so I'm going with VGA.

Text only signature /troll
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Mar 2013 09:25
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 20th Mar 2013 13:54 Edited at: 20th Mar 2013 18:00
Quote: "Mr. Handy. It isn't Christmas or winter...It is March."


It's always Chuckmas!

Learn Chinese in 5 minutes
(You MUST read them out loud)

1) That's not right .................... Sum Ting Wong
2) Are you harboring a fugitive?..........Hu Yu Hai Ding
3) See me ASAP................................ Kum Hia Nao
4) Stupid Man .................................... Dum Fok
5) Small Horse ................................. Tai Ni Po Ni
6) Did you go to the beach? .............Wai Yu So Tan
7) I bumped into a coffee table ........Ai Bang Mai Fa Kin Ni
8) I think you need a face lift ..............Chin Tu Fat
9) It's very dark in here .......................Wai So Dim
10) I thought you were on a diet ........Wai Yu Mun Ching?
11) This is a tow away zone ..............No Pah King
12) Our meeting is scheduled for next week .. Wai Yu Kum Nao?
13) Staying out of sight .......................Lei Ying Lo
14) He's cleaning his automobile .......Wa Shing Ka
15) Your body odor is offensive .........Yu Stin Ki Pu
16) Great .................................Fa Kin Su Pah

*** Merry Chuckmas! ***
Fallout3fan
16
Years of Service
User Offline
Joined: 9th May 2009
Location:
Posted: 20th Mar 2013 19:17
Quote: "It's always Chuckmas!"


Could be that Chuck Norris is the real Santa Claus. xD

_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 20th Mar 2013 19:31
Rooting an android is hard
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 20th Mar 2013 20:48 Edited at: 20th Mar 2013 20:49
@TheZachadoodle

Do you really want your present given by a Chuck's roundkick?

Also put some girls and booze under a chuckmas tree to make your sleep safe

edit: no, he's not santa. he's just a god.

*** Merry Chuckmas! ***
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 20th Mar 2013 20:50
Yeay, I managed to root my android and flash it to 4.2.2
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 20th Mar 2013 20:54
brandy, popcorn, shoes, table, mincemeat, curry, wildebeest, lamp, porcupine, gamble, gimp, sparrow, cord, whistle, flange, corset, sand-viper, corkscrew, veloceraptor, dinner, bat, lantern, quail, peanut, liposuction, vapour, scum, border, market, rodent, spatula.


budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Mar 2013 20:55
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 20th Mar 2013 21:00
weasel, flashpoint, duck, mandible, horseradish, aunty, yoghurt, bandanna, llama, eskimo, tyrant, jumpsuit...

angle, bicycle, crackpot, devil, earlobe, flint, goose, helium, icicle, jam, kiss, lighthouse, monocle, number, octopus, person, quiver, rancid, spectrum, tarantula, upside, venereal, waistcoat, xylophone, yacht, zany.

Alphabeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet! I clevered!


Fallout3fan
16
Years of Service
User Offline
Joined: 9th May 2009
Location:
Posted: 20th Mar 2013 21:06
LOL Mr. Handy xD

_!!!!_
,0~U -Well I do say, its been quite a fancy forum for
__-____TheZachadoodle.________________________________
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 21:24
The MLP thread is back!



Text only signature /troll
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Mar 2013 21:34
I don't think it ever died.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 21:51
It was off the upper section of the board for a while... Good times those were... Good times...

Text only signature /troll
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Mar 2013 22:32
Good points those were... Good points...

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 22:33
And I posted knowing you'd get those. Aren't I a nice guy?

Text only signature /troll
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Mar 2013 23:02
That depends. Are you the one that just stabbed me in the eye with a tuning fork?

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Mar 2013 23:54
That was I, good sir. It appears eyeballs do not resonate with a perfect A#

TheComet

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Mar 2013 23:57
Quote: "D-Sub Adapters & Gender Changers Min DB9M-M 9Pin Null Modem Gender Changer"

Quote: "Gender Changer"

Oooooh!

Text only signature /troll
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 20th Mar 2013 23:57
If you will allow me, I must object to the comets previous statement. From what I recall, I was the person who stabbed budokaiman with a tuning fork. But my memory may be wrong as so many other times. Budokaiman, do your ecall being stabbed in they eye by any other object in the past
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Mar 2013 00:20
Today is a good day because I finished LED matrix module! Now I just need to program some software to communicate with it. I'll end up programming a 4-player snake game.

For those interested:
-16x16 RGB
-12 bit colour depth
-single buffer based (I might improve on this and make it double buffered)
-Communication over UART, baud 115'200
-Command list: clr, dot, box, fillbox, blendcolourbox, blendcolourfillbox, line, blendcolourline, circle, fillcircle, blendcolourfillcircle, setblendmode
-Supported blend modes: replace, add, subtract, multiply, add normalized




TheComet

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 21st Mar 2013 01:33
Ah! What MCU are you using to control the device? And shall this be able to communicate with a PC?

Text only signature /troll
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 21st Mar 2013 01:36
I've always wanted to get one of those old computers with the 2 sets of 8 switchboards and the 8 lights, Maybe I'll make one some day (using a micro-controller)

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 21st Mar 2013 04:17
Iv'e alayws wtenad to get one of toshe old ceuptrmos wtih the 2 stes of 8 stawibchdors and the 8 lghtis, Mabye Il'l mkae one smoe day (usnig a mirco-ceornotllr)

Text only signature /troll
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 21st Mar 2013 05:18
Quote: "Iv'e alayws wtenad to get one of toshe old ceuptrmos wtih the 2 stes of 8 stawibchdors and the 8 lghtis, Mabye Il'l mkae one smoe day (usnig a mirco-ceornotllr)"


Login to post a reply

Server time is: 2025-06-10 23:59:49
Your offset time is: 2025-06-10 23:59:49