Recent submissions

Comment · 14 years ago
You can pull up to 500 photos per flickr API call, so it's possible to fetch up to 180,000 photos per hour while staying under the limit.
Comment · 14 years ago
Thanks for pointing that out! Fixed now.
Comment · 15 years ago
As several others have suggested, the elevator should behave differently at different times throughout day.

A smart elevator algorithm would adapt to the arrival behavior of people in a building through some clever stochastic simulation and modeling. For example, a simple model that could work quite well is to optimize for (read: minimize) the average time any passenger would wait for an elevator to arrive. But to do this, we need to model how frequently people request an elevator on each floor over the course of the day.

Modeling elevator requests - We can assume that the number of people who request the elevator on each floor is a Poisson process with a mean of n. On a representative day (i.e. for an office building, choose a weekday), we can observe the number of people who arrive at the elevator each hour. This data would drop in as the n in our Poisson arrival processes.

Computing optimal solutions - Using a statistical library, we can start generating simulated arrival data and apply integer optimization algorithms to determine which floor the elevator should rest on when there are no elevator requests, for each hour of the day.

Comment · 15 years ago
Ah I believe that issue occurred before when you're on Linux only. It should be fixed now.
Comment · 15 years ago
Thanks for pointing that out. We probably haven't fully processed a single image from your queue yet, so sorry about the confusing circle it's throwing you in during that case... will fix on our end

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton