Better HN
topnewbestaskshowjobs
Log inSign up

coderdude

11,507 karma · joined Jun 12, 2009 (17y ago) · 2,757 submissions

Submissions

comment 15y ago · link · parent

I doubt anyone would be threatened enough by foam projectiles to try to circumvent it. Now, getting someone else attacked for no reason is a different story. That would be amusing.

1172.

Miramax joins Warner Bros, Universal and Paramount in movie rentals via Facebook(readwriteweb.com ↗)

1 points · by coderdude · 15y ago · discuss

comment 15y ago · link · parent

This is well put together. Just a little nitpick though, HTML and CSS are part of the Web, not the Internet as a whole. If you're going to start teaching you might as well start at the beginning. Other than that it has a unique layout and the bold use of typography is pretty cool. It would be nice if the videos were accompanied below by the lesson in written form. The videos are high quality. Props!

Edit: Regarding my nitpick, I see that you start off with an actual introduction to the Internet, so I retract my nitpick. :)

1174.

Neo4j can now contain 32 billion nodes(blog.neo4j.org ↗)

1 points · by coderdude · 15y ago · discuss

1175.

Bulbflow: Python Framework for Graph Databases(bulbflow.com ↗)

5 points · by coderdude · 15y ago · discuss

comment 15y ago · link · parent

That is the hippest stack I've ever seen. :)

Makes me want to try a few of those that are new to me though.

comment 15y ago · link · parent

Mmm... sort of. But you're really stretching it there. I get your point and yeah of course that's totally stupid, but it's also somewhat irrelevant. They both have to do with enormous fines for small infractions and they both have to do with the Web. I said in another comment that it doesn't matter who is doing something stupid -- it's still stupid. But this article wasn't about copyright law in the United States. I make the same comments in those threads as well. Only since this one is about Germany being retarded, they get the special treatment.

comment 15y ago · link · parent

I think you make a good point. What I said also applies when one of our states makes the same kind of decision. I think it's dumb when Texas does weird stuff like this too, for example.

comment 15y ago · link · parent

This was certainly not about feelings of superiority. It was more about how every now and then we hear about some country somewhere wanting to do ridiculous things like ban a widget and fine you 50,000 euros if you have it on your site. That doesn't sound retarded to you?

comment 15y ago · link · parent

Little as in its size and population, as well as how no one cares what Germany does with their Internet (except for Germans, of course). What's really cute is how people whine about privacy but use the Web. Two things that clash entirely at a fundamental level (the client-server model).

comment 15y ago · link · parent

It's always funny when a little country like Germany or France wants to "ban the Internet" or something. It's kind of cute.

Edit: Man, I sure have offended a lot of people. I really didn't mean to make it seem like you're insignificant, or that the decisions you make are ridiculous and not well thought out when it comes to the Web. I think you guys are doing a great job!

Keep up all this good work and maybe one day we'll relinquish our control of the root name servers over to you.

comment 15y ago · link · parent

That's retarded. 90% of the articles on the homepage at all times are garbage tech gossip. I don't see you insulting those authors. You're either a troll or just a jerk.

comment 15y ago · link · parent

Sorry to spring this on you, but it looked interesting and I figured HN would dig it. Hopefully you're getting some good feedback though.

1184.

Shortuuid - Generate concise, unambiguous, URL-safe UUIDs (Python)(github.com ↗)

3 points · by coderdude · 15y ago · discuss

1185.

Dead Man's Switch(beta.deadmansswitch.net ↗)

185 points · by coderdude · 15y ago · 99 comments

comment 15y ago · link · parent

While I agree that what you listed would be useful to include I think it's important to note that it is documentation of his implementation (what the various parameters are for) and not of how A* works. To that end he did a good job. I especially like the little ideas he throws in under "Extending astar.js." He links to the Wikipedia entry for those who want to know more about how A* works.

comment 15y ago · link · parent

As far as I can tell there is nothing particularly interesting about this implementation. It's cool because it lets you play with it and because the code is pretty short which makes it easy for anyone unfamiliar with the algorithm to grok how it works. It also has some nice documentation: http://www.matthewtrost.org/projects/astar/documentation.htm...

For the Python programmer here is a very short implementation of A* that someone on Stack Overflow posted: http://stackoverflow.com/questions/4159331/python-speed-up-a...

1188.

Touch Mathematics(touchmathematics.org ↗)

2 points · by coderdude · 15y ago · discuss

1189.

Try the A* pathfinding algorithm with HTML5 canvas(matthewtrost.org ↗)

114 points · by coderdude · 15y ago · 43 comments

comment 15y ago · link · parent

I don't know anyone who plays The Elder Scrolls but I could see their fanbase calling it "Scrolls" for short. If not for trademark, they could just be trying to protect SERPs:

http://www.google.com/search?ie=UTF-8&q=scrolls&tbs=... (query: scrolls)

http://www.google.com/search?ie=UTF-8&q=scrolls+game&... (query: scrolls game)

You can clearly see that "scrolls" pulls up mostly pages about The Elder Scrolls. (You have to ignore the pages about the lawsuit.) Then again, Notch called his previous game Minecraft, which certainly makes you think of Warcraft and Starcraft. Sounds like this is just his shtick.

comment 15y ago · link · parent

RyanGWU82 makes a good point though. People only whined about the "evercookie" method of tracking because of the potential for abuse (across multiple Web properties). Why on Earth would you care if someblog.com knows for sure that you've been to their site five times? I don't think the problem here is that you can be tracked using multiple methods that were not originally intended for use in tracking. I think the problem is that people always had a false sense of privacy (i.e., there was ignorance about what can and cannot be used to track your client).

You're accessing a remote server. There will always be a way for sites to track your visits. There is a necessity for those sites to track your visits. Don't care about their necessity to track you? Stop going to those sites.

comment 15y ago · link · parent

I don't think that 'poor programming' is too harsh in this situation at all. You call it the obvious solution, but really there is only one solution worth spending your time on. The correct solution is to simulate the game on the server and update each client with only the information it is allowed to know.

The client should not make any decisions and should only ask for permission. If the player wants to move forward then the client sends a request to the server to move forward. The server will respond with new player position data if the move was allowed. If the player asks to move through a wall then the server will not comply.

The server should also never send clients data about other players not in their field of view (or in the immediate area, all depends on the game). To send the client any information it shouldn't have or to allow the client to make any decisions that the server takes and runs with is absolutely poor programming in the multiplayer game space.

You just have to ask yourself if it's worth it to possibly save some time at the expense of introducing a systemic flaw in your client and server that allows cheating to occur. For a competitive multiplayer game I think it's worth the time to make sure you're not sending clients the position data of invisible players.

Edit:

The client will most likely also calculate some of these changes at the same time it requests a move though. This is called client-side prediction and it's done to keep the gameplay smooth over unreliable and slow networks. The clients will interpolate and extrapolate certain game moves and sync with what the server says as the data becomes available. That's why sometimes in Counter-Strike (for example) you can run in one direction for a second or two and then suddenly be in another location altogether, because the server corrected the client's increasingly inaccurate extrapolation of position.

Some reading if this sort of stuff interests you:

http://developer.valvesoftware.com/wiki/Source_Multiplayer_N...

http://developer.valvesoftware.com/wiki/Latency_Compensating...

http://www.gamers.org/dEngine/q3suggest/final/generic.html

http://www.pingz.com/wordpress/wp-content/uploads/2009/11/tr... [pdf]

http://gafferongames.com/game-physics/networked-physics/

http://gmc.yoyogames.com/index.php?showtopic=415538

1193.

Gartner Adds Big Data, Gamification, and Internet of Things to Its Hype Cycle(readwriteweb.com ↗)

4 points · by coderdude · 15y ago · discuss

1194.

3 Growing Expectations for the Future of Tech, According to Kids(readwriteweb.com ↗)

2 points · by coderdude · 15y ago · discuss

1195.

Viral Invites Considered Harmful(readwriteweb.com ↗)

2 points · by coderdude · 15y ago · discuss

1196.

Eternal September(en.wikipedia.org ↗)

1 points · by coderdude · 15y ago · discuss

1197.

Doug Cutting talks about Hadoop, and open source(itworld.com ↗)

2 points · by coderdude · 15y ago · discuss

1198.

Couchbase Releases Developer Preview for CouchDB/Membase Combination(couchbase.org ↗)

4 points · by coderdude · 15y ago · discuss

1199.

UnQL - SQL-like Query Language for NoSQL (unqlspec.org ↗)

5 points · by coderdude · 15y ago · discuss

1
394041
92