tungwaiyip.info

home

about me

links

Blog

< March 2010 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   

past articles »

Click for San Francisco, California Forecast

San Francisco, USA

 

SFUSD 2010 Round 1 Demand Data

SFUSD has released the Round 1 Demand data for the 2010-2011 school year. The data is in PDF format, making it rather hard to do any analysis. For the benefit for myself and others I've converted the K-level data to spreadsheet format. For example, I used the data to generate the over/under-subscription chart below. I subtracted the number of first choice requests from the capacity to come up with the absolute over-subscription number.

SFUSD 2010 Round 1 Demand

It also shows that the top 10 school programs account for 72% of total number of over-subscription. Two third of the programs are balanced or under subscripted with respect to the number first choice. This includes the popular West Portal GE! It seems not that hard to find some good school with good confidence to get in. Of course the Diversity Index system makes everything unpredictable.

2010.03.15 [] - comments

 

Peak Traffic Solution (Facebook Programming Puzzle)

The Peak Traffic puzzle is easy to interpret. It is a graph problem to find all maximal cliques. Implementating it, like many graph problems, is quite difficult though. The possible combination is huge. And there is no simple ordering graph subset. It end up costed me several days to do it. Here is the outline of my solution:

  1. Parse the input. Generate an undirected graph.
  2. Generate a list of cliques using recursive algorithm.
  3. Eliminate subsets from the result to find all maximal cliques.

After working on it for several days, I'm quite done. I haven't spent any more effort to optimize it and expain it. So here is my un-tidied code.

2010.03.03 [] - comments

 

past articles »

 

BBC News

 

Coronavirus: South Korea 'emergency' measures as infections increase (21 Feb 2020)

 

Afghanistan war: US and Afghan Taliban to start partial truce (21 Feb 2020)

 

Hanau: Germany boosts security amid far-right threat (21 Feb 2020)

 

St Paul's bomb plot: IS supporter Safiyya Shaikh pleads guilty (21 Feb 2020)

 

Detective stood down over car-fire 'victim blaming' (21 Feb 2020)

 

'What was that all about?': Donald Trump mocks Oscars winner Parasite (21 Feb 2020)

 

Google sued by New Mexico over claims it spies on US students (21 Feb 2020)

 

Quaden Bayles: Australian boy in bullying video receives global support (21 Feb 2020)

 

Iran elections: Hardliners set to sweep parliamentary polls (21 Feb 2020)

 

Tarana Burke: MeToo movement not a war against men (21 Feb 2020)

more »

 

SF Gate

 

Google updates terms in plain language after EU scrutiny (20 Feb 2020)

 

Amazon starts health care service for Seattle employees (20 Feb 2020)

 

Ship traffic, February 21 (20 Feb 2020)

 

Ship traffic, February 20 (19 Feb 2020)

 

Ship traffic, February 19 (18 Feb 2020)

 

Your foam coffee cup is fighting for its life (17 Feb 2020)

more »


Site feed Updated: 2020-Feb-21 09:00