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

 

James Mattis: Trump's former defence secretary denounces president (04 Jun 2020)

 

George Floyd death: New charges for all four sacked officers (03 Jun 2020)

 

Curtis Hayes: Man behind the protest plea that moved America (04 Jun 2020)

 

Stalled vaccine programmes 'put children's lives at risk' (03 Jun 2020)

 

Russia's Putin declares state of emergency after Arctic Circle oil spill (04 Jun 2020)

 

HSBC and StanChart back China security laws for HK (04 Jun 2020)

 

US to suspend passenger flights from China (03 Jun 2020)

 

'We felt like we were going to die in that car' (03 Jun 2020)

 

Cyclone Nisarga: India's Mumbai escapes worst cyclone in decades (03 Jun 2020)

 

Demands grow for 'green industrial revolution' (03 Jun 2020)

more »

 

SF Gate

 

Ship traffic, June 4 (3 Jun 2020)

 

Ship traffic, June 3 (2 Jun 2020)

 

Ship traffic, June 2 (1 Jun 2020)

 

Ship traffic, June 1 (30 May 2020)

 

Ship traffic, May 31 (30 May 2020)

 

Popular Costco perk is coming back (29 May 2020)

more »


Site feed Updated: 2020-Jun-03 21:00