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

 

Covid: Lockdowns return as Europe confronts second wave (29 Oct 2020)

 

Nearly 100,000 catching virus every day in England (29 Oct 2020)

 

US Election 2020: Trump slams lockdowns, Biden accuses him of insulting victims (29 Oct 2020)

 

Al-Qaeda still 'heavily embedded' within Taliban in Afghanistan, UN official warns (29 Oct 2020)

 

US election: 'Our kids died in the Parkland shooting, but we disagree on guns' (29 Oct 2020)

 

'Anonymous' Trump administration critic identifies himself (28 Oct 2020)

 

Coronavirus: Remote Marshall Islands records first cases (29 Oct 2020)

 

Tony Chung: Hong Kong activist detained near US embassy charged (29 Oct 2020)

 

Philadelphia curfew after two nights of chaos and looting (29 Oct 2020)

 

Samsung sees sales surge from rival Huawei's ban (29 Oct 2020)

more »

 

SF Gate

 

Ship traffic, October 29 (28 Oct 2020)

 

Ship traffic, October 23 (22 Oct 2020)

 

Ship traffic, October 22 (21 Oct 2020)

 

Ship traffic, October 21 (20 Oct 2020)

 

Ship traffic, October 20 (19 Oct 2020)

 

Ship traffic, October 19 (16 Oct 2020)

more »


Site feed Updated: 2020-Oct-29 00:00