HN user

jterrace

428 karma

Currently a software engineer at Google. Formerly a graduate student at Princeton.

Posts18
Comments31
View on HN
googlecloudplatform.blogspot.com 12y ago

Big Data processing with the Google Cloud Storage Connector for Hadoop

jterrace
4pts0
da-data.blogspot.com 12y ago

Briefly profitable alt-coin mining on Amazon through better code

jterrace
84pts53
plus.google.com 12y ago

Live streaming ATSC tuner - Chromecast

jterrace
5pts0
www.dial-multiscreen.org 12y ago

DIAL: The protocol behind the Chromecast magic

jterrace
1pts0
da-data.blogspot.com 13y ago

Show HN: Eiger: Low-Latency Geo-Replicated Storage for Cassandra

jterrace
3pts0
da-data.blogspot.com 13y ago

Two examples from the computer science review and publication process

jterrace
2pts0
da-data.blogspot.com 13y ago

On the Ph.D., from a CMU professor

jterrace
1pts0
googledevelopers.blogspot.com 13y ago

Google Cloud Platform samples, now on GitHub

jterrace
9pts3
jterrace-jstree.storage.googleapis.com 13y ago

Show HN: Metabucket - a Google Cloud Storage self-displaying bucket

jterrace
3pts0
jterrace.github.com 13y ago

Sphinxtr: Creating a Portable PhD Thesis

jterrace
93pts73
jterrace.blogspot.com 13y ago

Comparing Image Comparison Algorithms

jterrace
1pts0
jterrace.blogspot.com 13y ago

How I Write LaTeX

jterrace
2pts1
jterrace.blogspot.com 14y ago

Gigabit Hack Weekend 3D Demo

jterrace
1pts0
jterrace.blogspot.com 14y ago

Sharing photos across social networks

jterrace
1pts0
sns.cs.princeton.edu 14y ago

JavaScript in JavaScript (js.js): smaller, faster, and with demos

jterrace
174pts44
ewencp.org 14y ago

URL Shortener Analysis - Tweets from 2009 vs. 2012

jterrace
13pts10
ewencp.org 14y ago

URL Shortener Analysis

jterrace
2pts2
www.reddit.com 15y ago

Do you play WoW? Stanford and Princeton researchers need your help.

jterrace
1pts0

You're confusing the language with the build system. LaTeX wouldn't be very useful without the awesome build system. This project is a build system for producing both high-quality HTML and high-quality PDF (through latex) with a single, high-level ReST markup language. It also uses latex formulas for math.

The HTML format does generate multiple pages for different sections and chapters, completely configurable. The format above is the singlehtml format where everything is on one page. I'd much rather have a link to a specific anchor tag on a page that goes directly to where I want than a citation to a page number on a 200 page document.

Agreed, but for my case, I didn't really care too much about the PDF output. The printed version of my thesis is going to sit in my university library untouched forever. I'm much more concerned with having a semantically correct, searchable, beautiful HTML output.

Yeah, my university formatting requirements are crazy also. This allowed me to have one source that outputs (nicely) to a bunch of different formats, including the university PDF requirement.

Yeah, I'm in no way proud of that beast of a code. There are a couple things at play here:

1. The js.js API is currently very low-level, which makes it verbose and difficult to use. There's a lot of room for improvement.

2. The twitter script was actually chosen because it's complex. It has a ton of boilerplate code that you'd probably be surprised is in there.

3. A lot of the code written could be generalized into a generic virtual DOM interface library that is not specific to this twitter script. Things like screen.width and screen.height are common properties that would be accessed by many different scripts and so could be generalized.

Agreed, it's partially cheating, although a lot of work went into getting it to compile to LLVM and patching it work with Emscripten. That's not where it stops though. The plan is to make the library work just like the SpiderMonkey JS API, which will require wrapper scripts in JS.