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
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Jun 2013 10:21
Page
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 1st Jun 2013 10:26 Edited at: 3rd Jun 2013 01:57
just you wait, tomorrow my post will be first on the page

edit: famous last words :/

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 1st Jun 2013 11:04
Goodnight people
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 1st Jun 2013 11:29
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 1st Jun 2013 14:13
Quote: "edit: *sigh* no Windows, Looks like I'll have to write my own Whitespace language (seriously, this'll be fun!)"

Or you could use the power of the internet.

http://www.compileonline.com/execute_whitespace_online.php


"Giraffe is soft, Gorilla is hard." - Phaelax
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 1st Jun 2013 14:18
On the other hand, threads in Java are easy. Suck it C++ programmers

Level 100 Forumer - 456,000 Health, 264,543 Keystroke Power.
Special Abilities: Flame Resistance, Troll Shield.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Jun 2013 14:22
Quote: "On the other hand, threads in Java are easy. Suck it C++ programmers "

Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 1st Jun 2013 16:51
And C# has the same ease for threads while being a better language. Suck it Java programmers.

WTLD has been put on indefinite hold.
A new project is under initial development now.
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 1st Jun 2013 16:51
Lies. Java is the best.

Level 100 Forumer - 456,000 Health, 264,543 Keystroke Power.
Special Abilities: Flame Resistance, Troll Shield.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Jun 2013 17:08
Lies. Points is the best
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 1st Jun 2013 17:22
Java seemed bloated when I last used it. Of course, I was using Eclipse so...

WTLD has been put on indefinite hold.
A new project is under initial development now.
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 1st Jun 2013 21:15
I use eclipse, what do you mean bloated?

Level 100 Forumer - 456,000 Health, 264,543 Keystroke Power.
Special Abilities: Flame Resistance, Troll Shield.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Jun 2013 21:17
Hmm, looks like morrowind is on sale on steam, I may have to pick that up. I feel bad about not having played it
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 1st Jun 2013 21:45
Quote: "Hmm, looks like morrowind is on sale on steam, I may have to pick that up. I feel bad about not having played it "

Morrowind is great, but it's a huge pain to keep track of your missions.


"Giraffe is soft, Gorilla is hard." - Phaelax
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Jun 2013 22:02
That's what I have heard... I think I can enjoy it though
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 1st Jun 2013 22:36
Quote: "I use eclipse, what do you mean bloated?"


Fool of a took! Hath thou not heard of IntelliJ!? (Which even Google have now adopted).

For shame mere mortal. For SHAME.

Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 1st Jun 2013 22:39
I shall check it out right now

Level 100 Forumer - 456,000 Health, 264,543 Keystroke Power.
Special Abilities: Flame Resistance, Troll Shield.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 1st Jun 2013 22:48
Quote: "I think I can enjoy it though"

The game is still enjoyable. I think it's far better than Oblivion and Skyrim. It's just more of a warning.


"Giraffe is soft, Gorilla is hard." - Phaelax
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 1st Jun 2013 22:52


TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 1st Jun 2013 23:08
I suppose I should go buy that card.

320x224
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 2nd Jun 2013 00:03
If I have a pointer pointing to an element of a vector, can I get the slot of the element that it's pointing to? In c++ that is
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 2nd Jun 2013 00:14
slot of the element? Define slot.

I'm assuming you're doing something like this:



TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
baxslash
Valued Member
Bronze Codemaster
18
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Jun 2013 01:13
Nobody can accuse you of posting pointless rubbish now TC, that candy-floss video was amazing. No sarcasm.

Keep it up


this.mess = abs(sin(times#))
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 2nd Jun 2013 01:50 Edited at: 2nd Jun 2013 01:51
@ baxslash - I am touched, thank you! Here, have a cat:



TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 2nd Jun 2013 01:56
Hmm, the problem im having is that I have a vector of ships on a server, and the same vector on the client. But I want each client to have it's own ship which it controlls. Both the client need to know which ship is owned by which client. Just saving an ID of the slot would work as long as the vector stays the same size. But since it is a vector, the element in [1] will get moved to [0] if the old [0] get's removed. My solution (in my limited knowledge of c++) would be to give each client on the server a pointer to an element in the vector. But I have no way of sending a pointer to a client from the server. Therefore I need to send the slot that the client "owns".

An example.

There are 3 clients connected to the server, they have been assigned the ships in vectorOfShips[0],[1] and [2] and are able to controll them. The server knows that client 3 owns [2] and the client knows that it should place the camera at ship[2]. However, when client 2 disconnects and the server removes the ship from the vector, the ship which used to be in slot [2] will now be in slot [1]. I need to syncronise this between the client and the server so that the server can keep track of what client has what ship and the clients can get that information. For that I want to send an integer with the "slot" to the client, but I need to know what slot the server thinks that the client's ship is in. Hopefully that made some sense, im pretty tired.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 2nd Jun 2013 02:10
Oh, well word of advice: DON'T SEND POINTERS or I will personally fly up to Sweden and slap you.

Secondly, if you're synchronizing the array of ships between all computers, shouldn't you just need to tell all computers to delete index [1] of their vector?

In answer to your question, if you have the pointer to an element in the vector, I don't think you can directly find the index of said array. You'll have to search for it.



TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 2nd Jun 2013 02:56
Quote: "I shall check it out right now"




Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 2nd Jun 2013 06:38
I love std::function and lambda functions in C++ right now. Makes callbacks really easy and fun compared to function pointers and stuff.

Awesomeness in the form of a std::map. A map of vectors of functors of void functions. WOOHOO GO C++!


WTLD has been put on indefinite hold.
A new project is under initial development now.
pcRaider
18
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 2nd Jun 2013 10:00 Edited at: 2nd Jun 2013 10:04
Petit Computer

Nintendo DSi + BASIC programming language = Petit Computer
This is old BASIC programming language , 8bit CPU.

http://www.nintendo.com/games/detail/_YpH-64pY4G4_tAy1wrKVecHp4pmWSzw
http://www.petitcomputer.com/

windowsXp
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 2nd Jun 2013 11:09
God ideaa commet, i was curioua if you couöd compare pointers with pointers. And no, i wasnt planning to send any pointers
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 2nd Jun 2013 21:53
Quote: "FreeBASIC==Best cos you just use = not == ???"


= assigns, == compares.

Let's you do awesome stuff like this in C++:



OK, can't quite think of a scenario where you'd need both of them in the same expression, but the point is you can assign values to variables in places other languages won't let you.

TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 2nd Jun 2013 22:59
Quote: "Let us you do awesome stuff like this in C++"


320x224
Melancholic
15
Years of Service
User Offline
Joined: 26th Nov 2009
Location:
Posted: 3rd Jun 2013 00:38
There is a massive spider beside me...


I can count to banana...
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 3rd Jun 2013 00:43
Air has surrounded me
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 3rd Jun 2013 01:42
Quote: "Air has surrounded me"


Oh god it's in my nose, my ears and everything!

I can't believe I've joined in with this nonsense.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 3rd Jun 2013 06:22 Edited at: 3rd Jun 2013 06:22
@Randomness
I hope he reads that and has an aneurism. I hope that's literally what happens so that then I can feel bad about my hurtful hopes.





"I <3 u 2 bbz" - Dark Frager

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: 3rd Jun 2013 06:37
Quote: "I can't believe I've joined in with this nonsense."
It happens!
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 3rd Jun 2013 09:03
You had no choise.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 3rd Jun 2013 09:38 Edited at: 3rd Jun 2013 09:38
Quote: "You had no choise."

Do you want to kill you?
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 3rd Jun 2013 09:46 Edited at: 3rd Jun 2013 09:57
points!!
Quote: "Do you want to kill you? "


The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 3rd Jun 2013 11:20
Yes

Alsob page

Ans I can spell
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 3rd Jun 2013 12:04
That was not page
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 3rd Jun 2013 12:28
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 3rd Jun 2013 13:37 Edited at: 3rd Jun 2013 13:38
He claimed the page already, he's just claiming it again to be extra sure about it.

Have you ever read a triple paradox?



TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 3rd Jun 2013 13:41
Aye, I should get to bed instead of trying to comprehend that mess! >=|
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 3rd Jun 2013 13:45
The other missions mustn't be very difficult then...


"I <3 u 2 bbz" - Dark Frager
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 3rd Jun 2013 16:02
TheComet, you made my head hurt.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 3rd Jun 2013 16:37 Edited at: 3rd Jun 2013 16:38
https://www.facebook.com/photo.php?fbid=588830867804091&set=a.234698156550699.63068.111553948865121&type=1&theater

9 year old Om asked a very difficult question at the spooky action salon today: "If you have an entangled pair of particles, and one stays in the black hole and one stays out, what can we learn from studying the particle outside?"

A very interesting question. What would happen?

Entangling particles and throwing one of them into a different environment we know nothing about seems to be a new way of observing things.

TheComet


Yesterday is History, Tomorrow is a Mystery, but Today is a Gift. That is why it is called "present".
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 3rd Jun 2013 17:41
I read 'particles' as 'testicles'.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
Doomster
17
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Germany
Posted: 3rd Jun 2013 17:51 Edited at: 3rd Jun 2013 17:53


I'm rather shocked that this masterpiece wasn't recognized by the Academy Awards.

Login to post a reply

Server time is: 2025-06-08 19:52:47
Your offset time is: 2025-06-08 19:52:47