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
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 6th Jan 2015 20:26
page.got();

Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Jan 2015 22:47
if(points.get() == FAILED && page.get() == FAILED)
this->sad(); //

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Jan 2015 02:57 Edited at: 7th Jan 2015 03:00
Quote: "I feel more people should do this for me."
They should! I might as well flip over my avatar, too.

Getting a site admin to flip my VP badge upside down would be epic.

Yodaman Jer
User Banned
Posted: 7th Jan 2015 03:00
WOOHOO I found my Windows 7 installation disk!

However, there are not further signs of whatever malware that was, so it looks like the need to reinstall is gone (for the moment, anyway). Perhaps I can wait to do any kind of installing until Windows 10's Tech Preview is more release-candidate like, to see if it will be worth the upgrade. Otherwise I'll cling to 7 a bit longer!


It's back, baby!
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Jan 2015 03:02
Future Windows versions: 10, 11, 11.1, 13

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 7th Jan 2015 03:50
Quote: "WOOHOO I found my Windows 7 installation disk!"


Was it in a "safe place"?

Quote: "However, there are not further signs of whatever malware that was, so it looks like the need to reinstall is gone (for the moment, anyway). Perhaps I can wait to do any kind of installing"


If you scan your system with your AV software as well as MalwareBytes AntiMalware and nothing comes up, you're good. I wouldn't worry one bit after that

Quote: "Future Windows versions: 10, 11, 11.1, 13"


??

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 04:38
Quote: "WOOHOO I found my Windows 7 installation disk!"




Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Jan 2015 04:48
Quote: "??"
7, 8, 8.1, 10, 11, 11.1, 13

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 7th Jan 2015 04:59
Quote: "7, 8, 8.1, 10, 11, 11.1, 13"


Oh yeah. For some reason I had it stuck it my mind that it went 7, 8, 8.5. That's why I couldn't work it out

Yodaman Jer
User Banned
Posted: 7th Jan 2015 05:48
points huehuehue

But yes my disk was in a safe place


It's back, baby!
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 06:46
Along with the key?

The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 7th Jan 2015 10:52
Quote: "7, 8, 8.1, 10, 11, 11.1, 13"


Naa, it won't be consistent for that long

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 12:27 Edited at: 7th Jan 2015 12:28
IF YOU HAVE NOT LOOKED AT THE ENTRIES FOR NaGaCreMo THIS YEAR, YOU ARE MISSING OUT!

Would be nice if word could spread across the forum and other places of the Sign Up thread!

Some of us have crated Level Editors for our entries!

NAGACREMO BOARD

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Jan 2015 14:37
Quote: "Naa, it won't be consistent for that long"
True...

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 14:41
Sent you a PM, DJD64

I like offending people. People who get offended should be offended. -- Linus Torvalds
Yodaman Jer
User Banned
Posted: 7th Jan 2015 15:23
@MrV:

Yes, the key was also with the disk, although before I found it I had used a "key unlocker" program to find it on my PC and was actually downloading Windows from Microsoft itself, so either way I was covered.

Is it possible for someone to create their own recovery partition? I would love to do that in the event I lose the disk again and my computer is largely unusable. Would make things a tad easier and faster too!


It's back, baby!
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 15:28
Quote: "Is it possible for someone to create their own recovery partition? I would love to do that in the event I lose the disk again and my computer is largely unusable. Would make things a tad easier and faster too!"


Can be done in a number of ways, there is even a tool for you to place the Windows installation disk onto a USB drive on the Windows website...

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 15:39
Quote: "Is it possible for someone to create their own recovery partition? I would love to do that in the event I lose the disk again and my computer is largely unusable. Would make things a tad easier and faster too!"


You're on a Mac right? Just use Time Machine, it's part of the system as far as I'm aware.

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: 7th Jan 2015 15:41
Yeah, ask if you can use Santa's.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 15:46
Touché

I like offending people. People who get offended should be offended. -- Linus Torvalds
Yodaman Jer
User Banned
Posted: 7th Jan 2015 16:43
Quote: "You're on a Mac right? Just use Time Machine, it's part of the system as far as I'm aware."


Indeed, Time Machine is a fantastic tool, but my PC has no such feature 9which really sucks).


Come to think of it I've been meaning to refresh my Mac as well, it's a tad sluggish and I'm sure refreshing it would make it feel brand new again!


Unrelated, my bank account got hit for $100 because I forgot to turn off auto-renewal on my website hosting plan... on the bright side, the site is mine for another year, so, yay! Too bad I now have barely any fundages in my account though...


It's back, baby!
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 7th Jan 2015 17:34
Quote: "IF YOU HAVE NOT LOOKED AT THE ENTRIES FOR NaGaCreMo THIS YEAR, YOU ARE MISSING OUT!"


Wow, I had a look and there is some good stuff in there. Makes me want to do something for it aswell

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 17:36
The Zoq2 - You still have over 2 weeks to go, get cracking!

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 18:43
Quote: "IF YOU HAVE NOT LOOKED AT THE ENTRIES FOR NaGaCreMo THIS YEAR, YOU ARE MISSING OUT!"


ALSO CHECK OUT MY WIP THREAD HERE BECAUSE I FAILED EPICALLY AT POSTING IT IN THE CORRECT LOCATION. WITH THAT SAID I DO NOT INTEND IT TO BE MOVED TO THE CORRECT LOCATION IF POSSIBLE.

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: 7th Jan 2015 19:29
RIP to those that died today.
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 7th Jan 2015 19:37
RIP indeed.

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 20:08
RIP indeed for certain

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 20:18
Why would people even do that.

I like offending people. People who get offended should be offended. -- Linus Torvalds
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Jan 2015 22:36
Not sure I would call those types "People" I think People implies "Civilised", "Humane", "Have some form of brain function"

I wish the lost souls were still here, but I hope they are in a better place...

Also I have cancelled my holiday to Paris this month...

TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jan 2015 23:26
Also I have points

I like offending people. People who get offended should be offended. -- Linus Torvalds
Thraxas
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 8th Jan 2015 00:03
Quote: "Also I have cancelled my holiday to Paris this month...
"


Why?

If I had a trip planned to Paris I would still go.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Jan 2015 02:46
Might instead go to Copenhagen and say HI to old friends...

But even CPH is a risky venture...

Screw it, going to go for a spa weekend...

Yodaman Jer
User Banned
Posted: 8th Jan 2015 03:38
Quote: "If you scan your system with your AV software as well as MalwareBytes AntiMalware and nothing comes up, you're good. I wouldn't worry one bit after that"


I also used SpyBot Search and Destroy, useful for clearing out those awful cookie buildups!

I definitely seem to have cleaned whatever it was out of my system, life is good for the compy at the moment.

Also definitely got collision working pretty well with my NaGaCreMo entry, for some reason using GetSpriteCollision() was having issues, whereas this technique does not. Yay!




It's back, baby!
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 8th Jan 2015 03:41 Edited at: 8th Jan 2015 03:43
Oh god it has 'Rem'.

Also you're breaking a rule of programming and using loads of magic numbers.
Yodaman Jer
User Banned
Posted: 8th Jan 2015 04:40
Indeed, I'm just so used to Rem from my DBP days I didn't even think twice about using "//". Oops

As for the magic numbers, I've since replaced a lot of those with actual constants, for readability. That function is really the only part of my program that used magic numbers and it's because I whipped it up really fast.

I still need to improve the collision, sometimes the ball will be going so fast that it detects multiple hits in a single frame and tons of bricks disappear at the same time. This is apparently a very common problem with making a breakout game and is supposedly easily fixed but I don't have the time tonight (have to be to work by 6am tomorrow morning!).


It's back, baby!
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 8th Jan 2015 06:21
Quote: "I still need to improve the collision, sometimes the ball will be going so fast that it detects multiple hits in a single frame and tons of bricks disappear at the same time"

Step it back until it's no longer colliding - then find out what it hits first. This is how physics engines do it. (I think).
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 8th Jan 2015 07:11
Quote: " Also definitely got collision working pretty well with my NaGaCreMo entry, for some reason using GetSpriteCollision() was having issues, whereas this technique does not. Yay!"

Good job! Have you run into any issues where the sides/corners either don't cause a collision or immediately glitch the ball travel? I ran into that last time I tried to make a Breakout clone.

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 8th Jan 2015 07:15
Quote: "Have you run into any issues"
He may need collision detection to determine is he has... collided... with any issues.

Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 8th Jan 2015 07:40 Edited at: 8th Jan 2015 07:41
Quote: "Is it possible for someone to create their own recovery partition? I would love to do that in the event I lose the disk again and my computer is largely unusable. Would make things a tad easier and faster too!"


Yes.

Quote: "You're on a Mac right? Just use Time Machine, it's part of the system as far as I'm aware."


No. Yodaman is referring to his Windows PC.

Quote: "RIP to those that died today."

Quote: "RIP indeed."

Quote: "RIP indeed for certain"


Have I missed something? I have no idea why you're saying that.

Quote: "Oh god it has 'Rem'."


Yeah, no one uses 'Rem'! Double-forward-slash FTW!

Quote: "He may need collision detection to determine is he has... collided... with any issues."


*groans*

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

Ok, so you know how I said my brother and I were planning an exciting Minecraft RPG adventure for our sisters? We did it! It was really fun!

I recorded everything from my end (except for the first 3-5 minutes) so maybe I'll upload it to YouTube later and show you

Yodaman Jer
User Banned
Posted: 8th Jan 2015 11:56 Edited at: 8th Jan 2015 12:18
Maybe I'll just take these available points!

EDIT:
Quote: "Step it back until it's no longer colliding - then find out what it hits first. This is how physics engines do it."


I believe that is the solution, step back and see what brick the ball hit first and don't delete the sprite until the ball's direction is already 100% reversed.

I thought Breakout/Pong would be fairly simple but this little collision issue is quite tricky. No matter, I shall solve it using the various techniques I've found online and will push through until I have a working game!


It's back, baby!
budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 8th Jan 2015 11:56 Edited at: 8th Jan 2015 11:57
Ponts

Arghhhh, I'll have my revenge.

"Giraffe is soft, Gorilla is hard." - Phaelax
Yodaman Jer
User Banned
Posted: 8th Jan 2015 12:20
Will you? I'll be here to take revenge for your revenge...

It's true, the early bird *does* catch the worm!

It's 5:20am where I am.


It's back, baby!
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 8th Jan 2015 13:19
I woke up at 12am today

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 8th Jan 2015 14:19 Edited at: 8th Jan 2015 14:20
Last night I had an interesting dream. I was walking through a Wal-Mart, presumably later at night, and I am near the back of the store. It seems that lots of construction is going on. As I am walking, I come across a large crowd of employees around a really large palette crate. The crate seems to be full of many milk cartons. On the side of the large crate, there is a sign that reads:

MILK CARTONS
DO NOT SELL
STOLEN FROM AFGHANISTAN




TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 8th Jan 2015 18:32
Does anyone know how I can make zsh highlight the words "ERROR", "error", and "WARNING" with a red and orange colour respectively? It would make spotting compiler errors a lot easier.

I like offending people. People who get offended should be offended. -- Linus Torvalds
swissolo
16
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 8th Jan 2015 20:00 Edited at: 8th Jan 2015 22:03
I switched to precalculated g-values and my results aren't any different. I didn't expect them to be drastically different, but it was a good change anyways. Thanks for catching it AppGameKit used to be able to measure in higher precision that 1 ms in v1 but not in v2. I really wish I could benchmark the code parts, but I suspect the slowdown is due to the searches in the open/closed list (yes essentially including that sorted insert as it's in the place of a search).

I'm going to attempt to create a heap in AGK. It'll require breaking Paul's rule (don't workaround to nest UDTs) but I'm doing that already. I'll discover if that's the cause of my occasional crashes too at least It's something I can change, but the farther I go from an object-orientated code structure the more ugly and unreadable the code becomes . Will report back (If the heap works out I'll share it on the AppGameKit board for others to use)

Edit: Oh I suppose I could implement the heap with an array Yep I'll do that.

Edit 2: Well that was easy I made a Minimum Complete Binary Heap. Forgot it worked alongside arrays so nicely. I'll share it in its own thread.

Edit 3: Remembered AGk's built in sorting using Radix so this probably doesn't help me oh well

budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 8th Jan 2015 22:01
Quote: "Does anyone know how I can make zsh highlight the words "ERROR", "error", and "WARNING" with a red and orange colour respectively? It would make spotting compiler errors a lot easier."

While I haven't used this particular plugin, I'd image it would be easy enough to configure for specific words.
https://github.com/zsh-users/zsh-syntax-highlighting

"Giraffe is soft, Gorilla is hard." - Phaelax
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 8th Jan 2015 22:49 Edited at: 8th Jan 2015 22:49
Thanks for the link, I gave it a shot and it only seems to work for the prompt. I'm trying to highlight *everything*, including stdout and stderr. I'm surprised this functionality isn't built in to the terminal emulators these days.

I like offending people. People who get offended should be offended. -- Linus Torvalds
budokaiman
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 9th Jan 2015 00:53
After some searching, found this, which may be of use:
https://stackoverflow.com/questions/1763891/can-stdout-and-stderr-use-different-colors-under-xterm-konsole

"Giraffe is soft, Gorilla is hard." - Phaelax
Dar13
18
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 9th Jan 2015 01:32
System.points.get()++;

Login to post a reply

Server time is: 2026-07-09 22:29:51
Your offset time is: 2026-07-09 22:29:51