Pins

...and DRM!

Tags: , , ,

Queen Qwong

Tags: , , ,

Downtown San Francisco used to be known as "The Barbarian Coast"

Tags: , , ,

DNA Lounge update

DNA Lounge update, wherein we are a Place of Entertainment.
Tags:

Geo-IP, again

If you work at Youtube, can you tell me what country the system thinks 199.48.144.20 is in?

Bonus points if you can tell me how to fix it.

I've wrestled with this before and still haven't figured it out, years later.

The answer is not "US", even though that is the case. Here's a video that it won't let me view from that IP, with the error "The uploader has not made this video available in your country": 7KzK-1M3QjE.

And here's what the API says about that video's restrictions:

    https://www.googleapis.com/youtube/v3/videos?part=contentDetails&fields=items(contentDetails/regionRestriction)&id=7KzK-1M3QjE&access_token=[REDACTED]

    ... "allowed": [ "UZ", "ZW", "UM", "ZM", "ZA", "LV", "BS", "SA", "SB", "SC", "JO", "SE", "JM", "SG", "SH", "SI", "BY", "SK", "SL", "SM", "JE", "SO", "MH", "BB", "SR", "ST", "BF", "SV", "BD", "SY", "SZ", "JP", "BO", "BN", "BM", "BL", "KH", "CR", "CU", "PE", "KI", "PG", "PF", "PA", "KM", "KN", "PM", "CY", "CZ", "PN", "PH", "PK", "KG", "PT", "KZ", "CC", "CD", "CF", "PL", "KP", "CI", "KR", "CK", "PY", "CM", "CN", "CO", "DK", "DJ", "DM", "DO", "KE", "DZ", "LY", "US", "KY", "LS", "LR", "LU", "LT", "UY", "LI", "UG", "LK", "UA", "LA", "LC", "LB", "EG", "EE", "EC", "BR", "BH", "PR", "EH", "CH", "ET", "ER", "ES", "BW", "BV", "MZ", "MX", "MY", "MV", "CL", "MT", "MU", "RO", "MS", "MP", "MQ", "RS", "MO", "ML", "MM", "RW", "MK", "RU", "BZ", "MF", "MG", "MD", "KW", "SJ", "MA", "FO", "FM", "FK", "FJ", "FI", "BT", "SN", "FR", "NG", "NF", "NE", "BI", "NC", "NA", "NO", "NL", "BA", "NI", "WS", "NU", "NR", "NP", "BG", "WF", "NZ", "GL", "GM", "GN", "MC", "GH", "PW", "GD", "GE", "GF", "GG", "GA", "GB", "MW", "GY", "BJ", "GT", "GU", "GW", "GP", "GQ", "GR", "GS", "TR", "TT", "TW", "TV", "OM", "RE", "TZ", "TC", "TD", "TG", "TF", "TH", "TK", "TJ", "TM", "TL", "TO", "TN", "GI", "CA", "IT", "MR", "SD", "HM", "MN", "HN", "HK", "VN", "YT", "HU", "HT", "QA", "PS", "HR", "AI", "AO", "AL", "AM", "CG", "AF", "AG", "AD", "AE", "AZ", "AX", "CV", "CX", "YE", "AR", "AS", "BE", "AQ", "AW", "AT", "AU", "ME", "ID", "IE", "VU", "IN", "IO", "IL", "IM", "IR", "IS", "IQ", "VI", "VG", "VE", "VC", "VA" ]

From comparing that list to the list of all country codes, I can infer that Youtube thinks I'm in: "AC", "AN", "CW", "DE", "EU", "SU", "SX", "TP", or "UK" ... or maybe "" or NULL or something.


Update: I think it's fixed now. A fellow inside Google said: "I looked at our IP mapping data for 199.48.144.20, and it actually looks like we don't have a Geo mapping at all for it. That means it falls back to the "none" country code, which causes all kinds of havoc with things like YouTube." He opened a bug report with the Geo team, and a few weeks later, I am now able to download that video. Unfortunately, he also told me that there was absolutely no way I could have caused this problem to be fixed on my own, without involving an insider doing me a favor. So if this happens to you, good luck.

Previously.

Tags: , , ,

Why market-rate housing makes the crisis worse

If you require less than about 40 percent affordable housing, the net impact of high-end construction is to make the housing market worse.

How is that possible? How could building more housing (at any level) be a net problem for the housing market? Doesn't more housing trickle down and make things better for everyone? It's not that complicated: When you build a new luxury housing complex, new resident move into it. For the most part, they result in net additions to the number of people in the city: If the person who buys a new condo moves out of a rental unit, someone else will move into that rental. Quickly.

The people with high disposable incomes who fill those condos or luxury rentals will spend money in town, creating a demand for jobs -- restaurant workers, grocery clerks, cops and firefighters, bank tellers ... and those people will also need a place to live. [...]

So according to the study, by Keyser Marston Associates, every time the city allows 100 new high-end housing units, it needs to build between 20 and 43 new affordable units -- just to keep the housing balance the way it is now. Put the affordable units in the main complex and the impact is lower (because fewer millionaires move in). Built them, as is common, somewhere else and the impact is greater. [...]

If the city demands 15 percent affordable set-asides, then every market-rate building adds more demand for affordable housing than it supplies. That means every new building makes the housing crisis worse.

Again: This isn't me and some crazy leftists saying that. It's the city's own studies, done by a respecting economic consulting firm.

Tags: , ,