News for hackers. Stuff that matters.

matthiaskramm

Re:Signal Carnival on Monday April 21, 2025 @04:21AM (#43749517)
I... might have to try that. :)
Looks like Pi is still ahead, in the Tau vs. Pi arms race.
Also, feel free to contact us at [email protected] if you see any more issues.
Uploading bot revisions is broken right now- you can try to upload a new bot, or wait for our fix which should go live in a couple of hours. :)
Log into www.scribd.com, that'll make viewing of the bot pages work. We'll deploy a fix for that later today.
Fixed.
10 seconds as well.
Thanks! We'll fix the API docs.

About the bug: Try to trace() out a few messages in your make_move() function, that might tell you whether something went wrong (the logs will appear at the bottom of the game replays.)

Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @11:09PM (#4021704)
Yeah, we're seeing the first problems with that right now- newly uploaded bots progress faster than they should because they play against a more "diluted" pool of opponents than the oldtimers did. We'll think of something.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @10:54PM (#4021663)
Yep! Width and height are between 5 and 15, and there are up to five different types of fruits on the grid.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @09:56PM (#4021525)
Fixed, thanks :) We'll deploy a new page tomorrow.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @09:45PM (#4021499)
Try creating a new account on www.scribd.com before you go to www.scribd.com/jobs/botrace_upload_bot
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @09:39PM (#4021484)
It's using SpiderMonkey right now. Using nacl as sandbox is a neat idea though.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @09:36PM (#4021475)
Aw, that sucks. We're still fixing glitches in the system, but uploading actually should work.

What kind of error are you seeing?

Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @09:27PM (#4021454)
We're planning to keep this running indefinitely.

We may also add additional languages in the future, like Haskell and Lua, and possibly some advanced playing modes.

Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @08:45PM (#4021341)
We do plan to add some additional languages. Next on our list are: Haskell, Lua, Python.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @08:43PM (#4021338)
You can get half a fruit if you and your opponent pick it up at the exact same time.
Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @08:21PM (#4021284)
Fixed, thanks!

Your bot is doing pretty well already. :)

Re:Scribd says: Beat our programmers at a coding challenge on Thursday May 24, 2012 @07:36PM (#4021150)
Btw. here's a game, played between our two best bots so far:

http://www.scribd.com/job_game/match/263907

Re:Why zooming on mobile is broken (and how to fix it) on Wednesday February 29, 2012 @06:17PM (#3650220)
I'll try! I'm a big fan of open source, and I actually have a long list of components I want to open-source at some point, like for example Scribd's PDF to html5 conversion software.
Oh, it's about SOPA, trust me. I felt defenseless when the DMCA (and the "European DMCA", 2004/48/EC) were introduced (I went to a couple of demonstrations, but that only goes so far), and SOPA is even worse. It's nice to work at a place where you can have more of an impact, and take a stance that has an actual chance of being heard.
Browsers are "smart"- they won't let you select text that's 100% transparent. 99% transparency works... but also looks kind of weird if the texts don't overlap perfectly.

You can roll your own text selection in javascript (on top of the bitmap) if you know the glyph positions though- that's what e.g. Google Books does. It's a valid option if you don't care about zoomability.

> but it describes a problem that hasn't been considered 'interesting' for decades

Actually, polygon operations on grids is still an active research area, with the latest papers on the topic less than two weeks old: http://www.sci.utah.edu/socg2010agenda.html

> Why would they need to run the same intersection logic over and over [...]?

We usually don't. It basically depends on the context in which the glyphs appear on the page. For a standard, say, LaTeX document consisting of mostly text and without weird graphic operations taking place around or on top of the text, a given glyph is just processed once.

Re:How Scribd runs 150,000,000 polygon intersections a day on Thursday June 24, 2010 @09:32PM (#1459725)
Absolutely. Modern graphics card hardware can easily process a few hundred million triangles per second. In all fairness, however, that has nothing to do with polygon intersection. Drawing a triangle on the screen with a z-buffer check is something quite different from actually computing an intersection polygon from two (multiply connected) input polygons.
Re:How Scribd's HTML document reader works (part 1) on Monday May 17, 2010 @07:57PM (#1355991)
Performance issues, among others. IE's DXImageTransform, as the name suggests, renders an html element to an image and then transforms that entire image.
Re:How Scribd's HTML document reader works (part 1) on Monday May 17, 2010 @07:05PM (#1355880)
Well. We're talking about making this work in quite a number of different browsers, including IE6. So yes, it is.

Older ยป