News for hackers. Stuff that matters.
Re:Your World of Text, my current side project. Requires FF3... by bdr on Tuesday August 04, 2009 @05:41PM (#742272)
An explanation from the author: This isn't a startup, it's just an idea I thought would be cool. I'm announcing it on HN first, hoping to get technical and aesthetic feedback before I throw the URL around.

The two browsers in the submission title are the only ones I have on this machine. Right now it doesn't run as smoothly as I'd want in FF3. There are a couple big optimizations ideas I have, but I was comfortable enough to post this without them. Was that a mistake? If you can try it out in some other browsers I'd appreciate that. I have no idea what IE will do.

That's all. Hope you have fun.

Re:Your World of Text, my current side project. Requires FF3... by hyperbovine on Tuesday August 04, 2009 @07:38PM (#742440)
doesn't load on my iPod so I can't speak to the functionality but I'd just like to commend you on not choosing some idiotic name like Floovr or Meeerrblap or Dooglity or Phlambo or Hogchaw or Speebu for your project. Makes it that much easier to take seriously.
Re:Your World of Text, my current side project. Requires FF3... by joshu on Wednesday August 05, 2009 @12:55AM (#742877)
i think you could make some good money as a naming consultant.

"Meeerrblap denontes speed, reminds the user of flapping, perhaps like a glorious seagull."

Re:Your World of Text, my current side project. Requires FF3... by joshu on Wednesday August 05, 2009 @01:54AM (#742922)
And no, I have no idea why that specific sentence came to mind.
Re:Your World of Text, my current side project. Requires FF3... by davepeck on Tuesday August 04, 2009 @07:29PM (#742429)
This is oddly entertaining. Could you explain how you represent the "world" in the AppEngine data store?

(Also, could you use cookies to bring me back where I left?)

Re:Your World of Text, my current side project. Requires FF3... by bdr on Tuesday August 04, 2009 @07:52PM (#742456)
It's really simple. This was my first App Engine project. There's only one model, Tile, that has contents, namespace, and x/y coordinates. The contents field is a string representing the text in this tile. The namespace tells you what page the tile belongs to (e.g., /newsyc), and the coordinates are relative to the starting position. Namespace, x, and y are part of the keyname, so contents is the only model property. I don't create a tile until someone writes to that area.

I don't want to use cookies, but I'm thinking about implementing some kind of directions feature. ("Where am I?" "How do I get to X?") But I also want to keep the system really simple, so I don't know.

Re:Your World of Text, my current side project. Requires FF3... by davepeck on Tuesday August 04, 2009 @07:58PM (#742467)
I assume you only construct a tile if someone types in it; not if someone simply scrolls over it?

How large are the tiles?

Re:Your World of Text, my current side project. Requires FF3... by bdr on Tuesday August 04, 2009 @08:27PM (#742513)
Correct, and 8x16.
Re:Your World of Text, my current side project. Requires FF3... by davepeck on Tuesday August 04, 2009 @10:47PM (#742727)
Got it. I ask because the tile size will seem to directly impact the amount of data store contention (aka the number of db.TimeoutExceptions). It would be an interesting study to look at contention rates (percentage of failed datastore reads) vs. tile sizes when the app is under load.

(I also assume you make use of memcache, though I further presume that typing implies an immediate db put().)

Re:Your World of Text, my current side project. Requires FF3... by bdr on Wednesday August 05, 2009 @01:15AM (#742898)
Yeah. The tradeoff is that smaller tiles are harder on the client. I wasn't really rigorous in choosing the size, so it's likely not optimal. I actually don't use memcache yet.
Re:Your World of Text, my current side project. Requires FF3... by anigbrowl on Tuesday August 04, 2009 @07:29PM (#742427)
Looks like it already arrived at 4chan :)
Re:Your World of Text, my current side project. Requires FF3... by ekiru on Tuesday August 04, 2009 @06:03PM (#742308)
It also works fine in Chrome.
Re:Your World of Text, my current side project. Requires FF3... by patcdr on Tuesday August 04, 2009 @07:54PM (#742460)
It actually runs better in IE8 than it did in Chrome on my work machine...
Re:Your World of Text, my current side project. Requires FF3... by yread on Tuesday August 04, 2009 @06:25PM (#742349)
works OK in Opera 9 and 10
Re:Your World of Text, my current side project. Requires FF3... by Pistos2 on Tuesday August 04, 2009 @10:08PM (#742674)
If it works in Opera, then it is too CPU-heavy on this older machine. I don't understand what it is, and can't interact with it.
Re:Your World of Text, my current side project. Requires FF3... by Torn on Wednesday August 05, 2009 @03:52AM (#743012)
Using opera 10 beta, and all I see is a grey screen :(
Re:Your World of Text, my current side project. Requires FF3... by endtime on Tuesday August 04, 2009 @10:32PM (#742708)
Confirmed, works in Opera 10b2.