Better HN
topnewbestaskshowjobs
Log inSign up

matthiaskramm

451 karma · joined May 5, 2010 (16y ago) · 39 submissions

Submissions

comment 1y ago · link · parent

I... might have to try that. :)

2.

Freespin: C64 demo running on 1541 floppy drive(quiss.org ↗)

174 points · by matthiaskramm · 5y ago · 30 comments

comment 14y ago · link · parent

Looks like Pi is still ahead, in the Tau vs. Pi arms race.

comment 14y ago · link · parent

Also, feel free to contact us at botrace@scribd.com if you see any more issues.

comment 14y ago · link · parent

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. :)

comment 14y ago · link · parent

Log into www.scribd.com, that'll make viewing of the bot pages work. We'll deploy a fix for that later today.

comment 14y ago · link · parent

Fixed.

comment 14y ago · link · parent

10 seconds as well.

comment 14y ago · link · parent

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.)

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

Yep! Width and height are between 5 and 15, and there are up to five different types of fruits on the grid.

comment 14y ago · link · parent

Fixed, thanks :) We'll deploy a new page tomorrow.

comment 14y ago · link · parent

Try creating a new account on www.scribd.com before you go to www.scribd.com/jobs/botrace_upload_bot

comment 14y ago · link · parent

It's using SpiderMonkey right now. Using nacl as sandbox is a neat idea though.

comment 14y ago · link · parent

Aw, that sucks. We're still fixing glitches in the system, but uploading actually should work.

What kind of error are you seeing?

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

We do plan to add some additional languages. Next on our list are: Haskell, Lua, Python.

comment 14y ago · link · parent

You can get half a fruit if you and your opponent pick it up at the exact same time.

comment 14y ago · link · parent

Fixed, thanks!

Your bot is doing pretty well already. :)

comment 14y ago · link · parent

Btw. here's a game, played between our two best bots so far:

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

comment 14y ago · link · parent

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.

22.

Why zooming on mobile is broken (and how to fix it)(coding.scribd.com ↗)

21 points · by matthiaskramm · 14y ago · 7 comments

comment 14y ago · link · parent

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.

comment 16y ago · link · parent

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.

25.

How Scribd's HTML5 conversion works ... even when it shouldn't(coding.scribd.com ↗)

123 points · by matthiaskramm · 16y ago · 19 comments

comment 16y ago · link · parent

> 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.

comment 16y ago · link · parent

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.

28.

How Scribd runs 150,000,000 polygon intersections a day(coding.scribd.com ↗)

138 points · by matthiaskramm · 16y ago · 35 comments

comment 16y ago · link · parent

Performance issues, among others. IE's DXImageTransform, as the name suggests, renders an html element to an image and then transforms that entire image.

comment 16y ago · link · parent

Well. We're talking about making this work in quite a number of different browsers, including IE6. So yes, it is.
12