HNHacker News
TopNewBestAskShowJobs

yonran

1,458 karma · joined March 21, 2011

yonathan@gmail.com

Little projects: https://github.com/yonran/

submissionscomments
yonran··on No GPS required: our app can now locate underground trains
> It now makes the right location prediction 90% of the time.

I’m curious about the failure cases. Are they caused by exceptional circumstances, such as the train moving more slowly than normal or skipping a station? Or when you unexpectedly catch an express train or go the opposite direction? Does the algorithm know that it doesn’t know where you are, or does it confidently tell you the wrong station until the GPS is acquired?

yonran··on 300 people applied to rent $700/month sleeping pods in downtown San Francisco
According to Brownstone’s planning application for 12 Mint Plz https://sfplanninggis.org/pim/?tab=Planning+Applications&sea..., the proposed use is Residential (which is Principally Permitted) rather than Hotel (which requires Conditional Use Authorization from the Planning Commission), and also I do not see an Intermediate Length Occupancy application (which would be Principally Permitted), so they are only permitted to offer year-long leases at this time.
yonran··on 300 people applied to rent $700/month sleeping pods in downtown San Francisco
I think someone should investigate why it took a year to permit this change of use from Credit Union to Residential Group Housing, which should be Principally Permitted in the Use District C-3-G of the address at 12 Mint Plz. According to the sfchronicle article linked, “James Stallworth, CEO of Brownstone Shared Housing, said the city’s planning department was unresponsive for around nine months as the company sought to bring the project up to code.” But sfplanning disputed this: “Dan Sider, the planning department's chief of staff, said claims that the department was unresponsive were “utter nonsense” and said Stallworth only filed an application in July after “months of noncooperation.”” So which was it?

Is San Francisco still failing to approve housing in a timely manner, or did the Brownstone drag thier feet?

yonran··on 300 people applied to rent $700/month sleeping pods in downtown San Francisco
Probably if the pods had a solid door, then each pod would be considered a room under San Francisco’s interpretation of the fire code and would require a separate fire sprinkler, like the WeWork phone booths https://sfstandard.com/2024/02/01/san-francisco-office-phone...
yonran··on We're forking Flutter
Here is a paper describing google3 https://research.google/pubs/why-google-stores-billions-of-l..., which includes the policy that “To prevent dependency conflicts, as outlined earlier, it is important that only one version of an open source project be available at any given time.” More documentation on The One Version Rule for third_party: https://opensource.google/documentation/reference/thirdparty.... This rule may make it more difficult to upgrade a third_party library frequently since the maintainer of the third_party library has to test all the uses of the library from all teams, rather than each team deciding when to upgrade.
yonran··on The Tragedy of Google Books (2017)
> that's not a fair overview of the amicus brief, there are good points there about the process of notifying orphan works rights holders and about the risk of a monopolistic position

What I meant by “jealous” is that the Internet Archive’s interest was not to improve author notification or to protect foreign authors; it was to provide a competing service under similar or better terms than Google was able to negotiate without spending the time and money that Google did litigating. Kahle wanted what was in Google’s settlement.

And what I meant by “Kahle was wrong” is not that every argument that his lawyers thought up was false; I think the agreement was later amended to fix some issues. My point is that Kahle’s theory of change was wrong. He thought that when the settlement was rejected, then Google would push Congress to create an orphan works law which the Internet Archive could use to publish old books too. As he wrote in his op-ed, “We need to focus on legislation to address works that are caught in copyright limbo. … We are very close to having universal access to all knowledge. Let's not stumble now.” https://www.washingtonpost.com/wp-dyn/content/article/2009/0... As it turns out, the rejection of the class action settlement did not cause Congress to create an orphan works law. In retrospect, we would have been more likely to get an orphan works law if Google had been allowed to set up a proof of the concept, making the monopoly on orphan works temporary.

yonran··on The Tragedy of Google Books (2017)
> Dan Clancy, the Google engineering lead on the project who helped design the settlement, thinks that it was a particular brand of objector—not Google’s competitors but “sympathetic entities” you’d think would be in favor of it, like library enthusiasts, academic authors, and so on—that ultimately flipped the DOJ.

I was at Google in 2009 on a team adjacent to Dan Clancy when he was most excited about the Authors’ Guild negotiations to publish orphan works and create a portal to pay copyright holders who signed up, and I recall that one opponent that he was frustrated at was Brewster Kahle of the Internet Archive, who filed a jealous amicus brief (https://docs.justia.com/cases/federal/district-courts/new-yo...) complaining that the Authors’ Guild settlement would not grant him access to publishing orphan works too. In my opinion Kahle was wrong; the existence of one orphan works clearinghouse would have encouraged Congress to grant more libraries access instead of doing nothing which is what actually happened in the 15 year since then. Instead of one company selling out-of-print but in-copyright books, or multiple organizations, no one is allowed to sell them today.

Since then, of course, Brewster Kahle launched an e-library of copyrighted books without legal authorization anyway which will probably be the death of the current organization that runs the Internet Archive. Tragic all around.

yonran··on ts-blank-space is a fast type-stripping compiler
Cool. Reminds me of a similar program to convert python3 code to python2, which similarly converts the typing into spaces to preserve row and column numbers: https://github.com/abarker/strip-hints.
yonran··on Hezbollah pager explosions kill several people in Lebanon
So how do you think that airport security will adjust to the widespread knowledge that you can hide an explosive alongside the battery?
yonran··on Ask HN: Why is Pave legal?
To make beneficiaries whole is perhaps the worst reason to keep a monopolistic system. In the case of taxi medallions in San Francisco, they are technically still owned by the city and the medallion should never have had any private value to begin with; Mayor Gavin Newsom should have leased them to the drivers instead of creating a $250,000 transfer program to give windfalls to retirees. In the case of zoning, ideally we would tax much of the land rent to reduce the incentive to exclude and increase the incentive to create capital. Rents from a government-created monopoly should not be anyone’s ticket to retirement.
yonran··on Ask HN: Why is Pave legal?
> As an example in support of this, healthcare is barely price-regulated and hardly run by the government in America, and is thus extortionate.

They are supply-regulated by governments. According to Niskanen Center, the high cost of health care is due to the American Medical Association limiting new accredited medical schools and certificate-of-need laws limiting new hospitals. https://www.niskanencenter.org/faster_fairer/liberating_the_...

yonran··on Ask HN: Why is Pave legal?
Fair enough, utility regulations fix prices except in the opposite direction. Without zoning, landowners could not act as a cartel since that would violate antitrust laws, whereas without utility regulation, a natural monopoly could set prices as high as the market will bear.
yonran··on Ask HN: Why is Pave legal?
It’s ironic that in response to a question about price fixing, failuser brought up other companies that were formed to circumvent government price fixing, and in his examples the governments doing the price fixing were supposedly the good guys!

In the case of Uber, they successfully broke up the taxi cartel since the state PUC ruled that ride hail is a separate category.

In the case of Airbnb, according to their founding story they were created to help economize on space because rents were high in San Francisco due to zoning. Although they made a useful service, they did not succeed in reducing rents because the underlying zoning is still the constraint that keeps rents high.

yonran··on Ask HN: Why is Pave legal?
I’m saying that government regulations that fix prices should be scrutinized and repealed if they reduce opportunity for ordinary people. Such as zoning codes that price out the poor.
yonran··on Ask HN: Why is Pave legal?
Can you give examples of the topic at hand, price fixing, that are justified? There are a handful of progressive forms of price fixing (e.g. minimum wage laws), but many others should be added to the Niskanen Center’s list of bad regulations in the Captured Economy.
yonran··on Ask HN: Why is Pave legal?
> Yes, that's kind of the main difference between government functions and private companies

Perhaps that should change. Or at least it’s a reason to scrutinize and repeal laws that are used for price fixing.

> Are you saying the very idea of zoning strikes you as a problem? Or are you trying to call out the bad implementations which strangle urban prosperity in the US?

Zoning Rules! by William Fischel gives good a history of zoning. Zoning was originally for segregation within the city but to the question of prices, no it was not inherently problematic. It was not until the 1970s that zoning was used for growth control to make entire cities unaffordable.

yonran··on Ask HN: Why is Pave legal?
Ironically for a question about antitrust price fixing you just named two incumbent government-sanctioned cartels (zoning and taxi medallions) that restrict supply and keep prices high. They would be illegal if private companies made them.
yonran··on Ask HN: Why is Pave legal?
The FTC Guidelines for Collaborations Among Competitors https://www.ftc.gov/sites/default/files/attachments/dealings... says it’s illegal to share “competitively sensitive variables”, not just any data. Some forms of data sharing such as industry averages may not be illegal, but more detailed data such as numbers of applicants or price elasticity that enable the companies to act together as if they were a monopoly probably are. RealPage crossed the line by sharing an optimization algorithm and encouraging collective action. I’m not sure what Pave does.
yonran··on My job is to watch dreams die (2011)
There wasn’t much of a bubble. The price bubble that people cited is mostly explained by exclusionary zoning driving up rents in Closed Access cities (e.g. New York, San Francisco, Boston) and migration from those cities to Contagion cities (e.g. Phoenix, Las Vegas, Seattle). There was no reason for the government to destroy home values nationwide in cities that had no boom at all (e.g. Atlanta). And given that since the Great Recession, rents and prices have risen even higher than the peak of the “bubble” in Closed Access cities, we now can see that the entire Recession was pointless since the Fed killed the homebuilding industry in Contagion cities but didn’t address the root of the problem in Closed Access cities.
yonran··on My job is to watch dreams die (2011)
The tragedy is even sadder when you find out that the foreclosure crisis and Great Recession were self-inflicted by the Federal Reserve and CFPB after 2007, not the inevitable result of reckless borrowers. Kevin Erdmann has been studying this for about a decade and gives examples of cities such as Atlanta that had no housing boom at all but were forced into foreclosure crisis. Here is his most recent op-ed: https://www.washingtonpost.com/opinions/2024/09/05/housing-c...
yonran··on San Francisco to ban software that "enables price collusion" by landlords
I don’t think this ordinance is useful (https://sfgov.legistar.com/LegislationDetail.aspx?ID=6789588...). The headline is that it bans “price collusion” which is already illegal under the Sherman Antitrust Act. But it is sloppy in that it also bans the use of any proprietary data about competitors (not even shared by competitors). So to the extent that it prohibits the use of neighborhood rent estimates (like Zestimate or airdna), I think it needlessly bans useful services.

In fact, can you sue Zillow for publishing a Rent Zestimate? It does seem like the ordinance bans “provid[ing]… any algorithmic device”. An “algorithmic device” “perform[s] calculations of non-public competitor data” and “advis[es] a landlord… on the amount of rent that the landlord may obtain”. “Non-public competitor data” is “information that is not available to the general public” (such as data on historical rental ads on Zillow). I’m not sure whether Rent Zestimate would fall under the exception “(A) report that publishes existing rental data in an aggregated manner but does not recommend rents or occupancy levels for future leases” since they provide a Zestimate on an individual address, not “aggregated”. Someone should try suing Zillow.

It is also pandering by mayoral candidate Aaron Peskin, who has opposed many efforts to loosen zoning to increase housing competition. Where the Board of Supervisors can make a big difference at increasing competition, he has stood in the way (e.g. opposed SB 50 upzoning near transit, banned group housing because there was a “glut” of old units, increased the inclusionary housing fee/tax to reduce construction, empowers nonprofits to make demands on development). But he’s happy to do something that supposedly promotes competition but has no substantive impact.

yonran··on MIT 11.350: Sustainable Real Estate
I think the best person who explains housing trends is Kevin Erdmann. This article provides an overview of his conceptual model for why prices fell nationwide in the Great Recession (people with bad credit were prohibited from getting a mortgage), why both prices and rents have been increasing since the Great Recession (when the Fed reduced prices too low, the construction industry collapsed), and why it is a mistake to attack build-to-rent landlords (they are a major source of new supply today). https://www.mercatus.org/research/policy-briefs/getting-corp...
yonran··on MIT 11.350: Sustainable Real Estate
The problem is not that rents are too low and sales prices are too high, which might make it appropriate to punish renting a unit and force landlords to sell. The problem is too few of both rental and ownership units.
yonran··on One-third of Amazon warehouse workers are on food stamps or Medicaid
It is counterproductive to shame an employer for hiring hundreds of thousands of low-income workers who would likely be on government assistance regardless of Amazon. By all means, we can regulate companies to ensure that working conditions are safe and encourage companies to provide more opportunities for advancement. But the act of hiring low-wage workers who need welfare is a good thing. What are other companies doing to employ non-college-educated workers in the bad parts of town?
yonran··on Police in Austin, San Francisco skirt facial recognition ban
Note that the section you quoted was unanimously amended to only apply to SF city-owned devices (https://sfbos.org/sites/default/files/o0286-19.pdf). To see the current version of the surveillance ordinance see Admin Code 19B.2 (https://codelibrary.amlegal.com/codes/san_francisco/latest/s...)
yonran··on Tiny in size, a Cupertino home is selling for big bucks: $1.7M
It sounds like you disagreed with the parent comment but then you demonstrated his point. You can build a new home, but the zoning code should have allowed you to build many homes instead of just one.
yonran··on Tiny in size, a Cupertino home is selling for big bucks: $1.7M
> Thank Scott Weiner for the builder’s remedy.

Scott Wiener did not create the builder’s remedy; it was created in 1990 and rediscovered by Chris Elmendorf https://twitter.com/CSElmendorf/status/1474286606982934528 https://escholarship.org/uc/item/38x5760j. But Wiener did make the builder’s remedy apply to more jurisdictions by increasing the RHNA quota (SB 828).

yonran··on SFMTA's train system running on floppy disks; city fears 'catastrophic failure'
The real scope of the project is a mind-boggling $600 million to track the light rail trains inside and outside the tunnels and to control the trains inside the tunnels. Divided by the 250 light rail vehicles (apparently does not include historic streetcars), it works out to $2.6 million per car. Plus $36M for consulting (2023-11-07 board presentation from the documents that I linked earlier https://www.sfmta.com/sites/default/files/reports-and-docume...).
yonran··on SFMTA's train system running on floppy disks; city fears 'catastrophic failure'
They do use 3.5 inch disks; this is a misstatement: “SFMTA's train control system relies every morning on 5 inch floppy disks.” The SFMTA Board presentation justifying the >$600M upgrade shows a photo of the real 3.5 inch floppy disks in use that were written in 2021. https://www.sfmta.com/sites/default/files/reports-and-docume...
yonran··on SFMTA's train system running on floppy disks; city fears 'catastrophic failure'
I believe that the article is about this RFP for “Contract No. SFMTA-2022-40 FTA” to upgrade the Communications-Based Train Control System (CBTC) or Advanced Train Control System (ATCS). The resolution to create the RFP for the supplier was approved 2023-01-17 (https://www.sfmta.com/reports/1-17-23-mtab-item-14-communica...), and a $36M resolution to create an RFP for a consultant was approved 2023-11-07 (https://www.sfmta.com/reports/11-7-23-mtab-item-11-train-con...). I’m not sure where the actual RFPs are pubished though.
← PreviousPage 3 of 14Next →