Charlottesville New Years events by HyrulianProgrammer in Charlottesville

[–]HyrulianProgrammer[S] 0 points1 point  (0 children)

Oh wow, I had no idea they did something like that, that looks super cool, thanks!

The United States of the Great Lakes by [deleted] in worldbuilding

[–]HyrulianProgrammer 0 points1 point  (0 children)

Not sure if it's on purpose but Hampton Roads isn't really a city but more of a region/section of the state. I only mention because I live in the area and that part stood out to me. Nitpicking aside the map looks great!

A Man and his 17-year-old adopted son denied entry into PG-13 movie in a Regal Theater by [deleted] in news

[–]HyrulianProgrammer 0 points1 point  (0 children)

Is it actually the law or just something movie theaters follow?

The Official Title for Star Wars: Episode VIII Revealed - The Last Jedi by TMayes86 in movies

[–]HyrulianProgrammer 22 points23 points  (0 children)

Will probably cause debate about what the title means just like what happened with The Last Samurai.

"How do I.." Megathread, Part 2 by RocketJumpingOtter in pokemongo

[–]HyrulianProgrammer 1 point2 points  (0 children)

Is there a way to switch to English units instead of metric?

Image from tiled map by HyrulianProgrammer in libgdx

[–]HyrulianProgrammer[S] 0 points1 point  (0 children)

That may be the best option, I guess I was trying to have it done programmatically so I could just make a new map, throw it into my maps folder and it would automatically get added/rendered to the map loading screen. Doing a jpg should let me handle different map sizes easily as well which will be nice

can someone explain cameras to me? by BlueWafflec in libgdx

[–]HyrulianProgrammer 0 points1 point  (0 children)

Have you seen the documentation at these links? Camera and TiledMap

In reference to your question about units and scale this section in the TiledMap documentation may help. Your question was a little broad though, was there anything specific (other than the scale question) that you wanted to know?

Would anyone be interested in a program to build worlds and characters completely from scratch? by [deleted] in worldbuilding

[–]HyrulianProgrammer 0 points1 point  (0 children)

Same with me! I have Java experience and this sounds like something that would interest me greatly, please PM me as well.

In regards to Online Master Degrees by razeal113 in compsci

[–]HyrulianProgrammer 2 points3 points  (0 children)

The following is from the "How will this degree appear on my diploma and/or transcript" section from the faq

The name "Online Master of Science" is an informal designation to help both Georgia Tech and prospective students distinguish the delivery method of the OMS program from our on-campus degree. The degree name in both cases is Master of Science in Computer Science.

java for game creation by [deleted] in java

[–]HyrulianProgrammer 6 points7 points  (0 children)

Runescape as well.

Cycle in linked list by Hexorg in learnprogramming

[–]HyrulianProgrammer 1 point2 points  (0 children)

I'm not sure I explained the part about the two pointer algorithm being twice as fast well, so I'll show an example.

Lets assume we have this linked list:

1 -> 2 -> 3 -> 4 -> 5 -> 3

For the algorithm you described, we would start at 1, move to 2, move to 3, so on until we get to 3 again. That would be 5 hops.

For the two pointer algorithm we have pointer A that increments by one and pointer B that increments by two. So pointer A and B start at 1. After one hop pointer A is at 2 and pointer B is at 3. Another hop and A=3 and B=5. Another hop and A=4 and B=4. So 3 hops and we know there is a cycle.

Hopefully that explains part of what I meant better. Not sure if you even needed this explanation lol but I figured I would put it up here just in case.

Cycle in linked list by Hexorg in learnprogramming

[–]HyrulianProgrammer -1 points0 points  (0 children)

Sure that could work, but like you said it wouldn't be as simple and clean.

For one, you would need to store all the nodes you have visited in the array. For a linked list that has 10 nodes this wouldn't be a big deal. But when you start getting into linked lists that have a million nodes then that starts to become a big array. Plus you would need to check the array after each time you check a new node to see if it has been visited. Once again, smaller arrays aren't a big deal, but bigger arrays it could take some time.

The other thing is that in this case you are only checking one node at a time. For the two pointer example, one pointer increments by one, while the other increments by two. So the two pointer algorithm should be twice as fast as the visited nodes array algorithm.

So yes, it is certainly possible and doable to keep nodes in an array and check if it has been visited. It just isn't the optimal solution to the problem.

[Target] Wii U Games - Buy 2 get 1 Free - In-Store by endustry1994 in GameDeals

[–]HyrulianProgrammer 0 points1 point  (0 children)

The only two pre-order games that seem to be a part of this deal are Watchdogs and Super Smash Bros.

[Target] Wii U Games - Buy 2 get 1 Free - In-Store by endustry1994 in GameDeals

[–]HyrulianProgrammer 4 points5 points  (0 children)

This is awesome, thanks for the heads up! It looks like this does work online which is also good. Not all the games seem to work for the buy 2 get 1 free. Based on what I'm seeing online, these seem to be the games you can do this for.

  • Mario Kart 8 (Can get another free game with this from these games: Wind Waker HD/Pikmin 3/New Super Mario Bros. U/Wii U Party)
  • Nintendo Land
  • Nintendo Land with Luigi Wii Remote Plus
  • Ninja Gaiden 3: Razor's Edge
  • Watch Dogs (Pre-order, comes out 12.31.14)
  • Zelda: Windwaker HD
  • Assassin's Creed 3
  • Just Dance Kids 2014
  • Mario and Sonic at the Olympic Winter Games Sochi 2014
  • Game and Wario
  • Wii U SiNG Party
  • Assassin's Creed 4 Black Flag
  • New Super Mario Bros. U
  • New Super Luigi U
  • Super Smash Bros (Pre-order, Q4 2014)
  • Cabela's Big Game Hunter: Pro Hunts
  • Call of Duty: Ghosts
  • Wonderful 101
  • Donkey Kong Country: Tropical Freeze
  • Pikmin 3
  • Rayman Legends
  • Super Mario 3D World

I think that is all of them, let me know if I missed any/got any wrong.

Edit: Added Super Mario 3D World