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

 

Beirut explosion: Port officials under house arrest as rescue efforts continue (05 Aug 2020)

 

Zhang Yuhuan: Chinese court clears man of murder after 27 years in prison (05 Aug 2020)

 

SpaceX: Musk's 'Mars ship' prototype aces 150m test flight (05 Aug 2020)

 

Cori Bush: Activist beats Democratic veteran in Missouri primary (05 Aug 2020)

 

Twitter hack teen's court date 'Zoombombed' with porn (05 Aug 2020)

 

Ellen DeGeneres: Stars back TV host amid 'toxic workplace' claims (05 Aug 2020)

 

Meghan allowed to keep friends' identities secret (05 Aug 2020)

 

China Uighurs: A model's video gives a rare glimpse inside internment (04 Aug 2020)

 

Obesity not defined by weight, says new Canada guideline (04 Aug 2020)

 

Walter Lübcke: Man on trial admits to killing German politician (05 Aug 2020)

more »

 

SF Gate

 

Ship traffic, August 5 (4 Aug 2020)

 

Ship traffic, August 4 (3 Aug 2020)

 

Ship traffic, August 3 (2 Aug 2020)

 

Ship traffic, August 2 (31 Jul 2020)

 

Ship traffic, August 1 (31 Jul 2020)

 

Ship traffic, July 31 (30 Jul 2020)

more »


Site feed Updated: 2020-Aug-05 12:00