Better HN
topnewbestaskshowjobs
Log inSign up

thomblake

4 karma · joined Aug 18, 2008 (18y ago) · 6 submissions

Computer ethics
Submissions

comment 11y ago · link · parent

>6. Ad-exchange receives all the bids and picks the second highest bidder (no idea why it's the second highest) >7. Ad-exchange then sends this second highest bidder's ad URL back to the waiting javascript running in the users browser, and ad-exchange marks the winning bid so it knows who won/who has to pay at the end of the month.

It's a second-price auction - the highest bidder is picked, but the second-highest price is paid (more or less). The URL thus is from the highest bidder, not the second highest bidder.

comment 14y ago · link · parent

If you know of some way to swap out servers with 100% uptime, I'd like to hear it. Even Stack Exchange, which had that sort of plan in place, had to go 'static' for about a half hour.

comment 15y ago · link · parent

Parsing is syntax. Interpretation is semantics. Just parsing JS just gives you information about its syntax, and any decent editor (like vim or emacs) has a programmable interface such that you can write a JS parser.

comment 15y ago · link · parent

No IDE needed - any decent editor will do syntax highlighting.

comment 15y ago · link · parent

The funny thing about this comment is that you think he can use Internet Explorer to check his server-side code.

comment 15y ago · link · parent

The fork of js2-mode at https://github.com/mooz/js2-mode will catch that, as will js3-mode.