HNHacker News
TopNewBestAskShowJobs

shaddi

1,420 karma · joined March 2, 2009

"Lucky me, lucky mud."

CS grad student at UC Berkeley.

My site: www.shaddih.com

Let's talk: sh@ddih.org

submissionscomments
shaddi··on Endaga – Community Cellular Networks
We don't support roaming yet, so phones from other carriers won't work on our networks. The networks are fully independent, with their own phone numbers and connectivity to the global phone network though.

Definitely get in touch if you'd like to talk more! Many of our customers live in places that sound like where you live.

shaddi··on Endaga – Community Cellular Networks
Basically this. Spectrum regulations (both de facto and de jure) vary dramatically between jurisdictions. It's definitely a challenge, but not as big of a deal as one might expect, particularly for rural networks.
shaddi··on Endaga – Community Cellular Networks
Our current model retails for $6,000. It's an exciting time to be working in this space -- five years ago, setting up a single tower in a rural location could cost upwards of $100,000.
shaddi··on Endaga – Community Cellular Networks
Cofounder here. All service is prepaid, and we have a credit transfer system built-in. The network operator can load up credits onto someone's account directly through our management interface, and that user can resell it to whoever they like. For example, a network operator could sell credits in bulk directly to shop owners, who could then resell to the community at large.
shaddi··on Mesh Networks
It seems like there's been another surge of interest of late in mesh networks. Last time this happened, I wrote up a piece explaining why mesh networks are really a poor solution for circumventing censorship: http://sha.ddih.org/2011/11/26/why-wireless-mesh-networks-wo.... Since then, some of my colleagues and I at Berkeley wrote a more academic version of this blog post. The talk is available here: http://www.youtube.com/watch?v=doMYDmtzsTQ and you can grab the paper too if you're interested: http://www.cs.berkeley.edu/~shaddi/papers/foci13.pdf. The short version is mesh networks have fundamental scaling limitations that make them a poor choice for building alternative infrastructures like the ones discussed in this article; for example, a result from 2000 showed that capacity available to each node in a mesh network actually decreases as the mesh grows.

The other thing I'd note is that this article is referring to "mesh networks", when it really means "community networks": networks run by a community, regardless of whether the network is a mesh or not. I don't know about the Athens network in particular, but I know that the Freifunk and Guifi networks are rather hierarchically structured (i.e., are not true mesh networks). This is necessary for building a wireless network with reasonable performance due to the aforementioned fundamental scaling limitations of mesh networks.

I love the enthusiasm of everyone working on mesh networks, but I think it's valuable to keep a critical perspective and not get carried away with that enthusiasm, if for no other reason than to stay honest about the technical challenges involved.

shaddi··on Turning the Raspberry Pi Into an FM Transmitter
I have this sitting on my desk at the moment (just OpenBTS + rPi + a SDR). Nothing too crazy about it.

I like this because they are using the rPi itself as a radio -- that's a pretty neat hack.

shaddi··on What's Wrong with Amazon's DynamoDB Pricing?
To be fair, they're not explicitly charging twice as much for consistent reads. You get consistent reads until you exceed your provisioned read amount, which unfortunately is measured in these odd units of "read capacity"). It's not clear (to me, anyway) if the 2x number represents something accurate about resource usage or if it's just a provisioning guideline.

That said, what provisioned capacity means in DynamoDB is pretty opaque. Great point about the utility of latency information for developers.

shaddi··on Why wireless mesh networks won’t save us from censorship
I'm less worried about this actually -- I think the biggest problem is your own nodes interfering with themselves ("internal interference") rather than with an attacker. Agreed this is an issue though, and using omnidirectional antennas exacerbates it. Using directional antennas actually helps, for the same reason it's hard to see a laser beam from the side.
shaddi··on Why wireless mesh networks won’t save us from censorship
Even an electronically steerable antenna would help, but then you start running up the cost of equipment. Interference is still an issue since one must always be listening from all directions for possible transmissions. Spectrum and time scheduling remain a (NP-)hard problem as well. You're up against fundamental laws of physics and computer science: pick your poison. :)
shaddi··on Why wireless mesh networks won’t save us from censorship
I generally agree, but I tried to shed some light on the fundamental physics/math behind why building such a network is impractical. In any case, it might one day be possible, but I think a better use of resources (especially for non- and semi-technical people) is to contribute to the social movement around Internet free speech and to build real-world political networks.
shaddi··on Show HN: We built Callroulette, a chatroulette for phones
Yeah, that's the tricky part. It took a couple revisions in front of users to figure out the right way to do bootstrapping.
shaddi··on Show HN: Callroulette, a chatroulette-like service for phones
We need to get a dozen or so simultaneous users for it to work nicely. Please be patient! I'm seeing several users calling in right now.

Edit: we've made some changes to greatly increase the likelihood of matching with someone!

shaddi··on The Politically Incorrect Guide to Ending Poverty
Excellent point -- no simple solutions. It's why this is a hard problem.
shaddi··on The Politically Incorrect Guide to Ending Poverty
Once again, I don't dispute that; we're in full agreement. My key point is that the effects of liberalism that lead to growth in Hong Kong did not lead directly to growth in rural China; as nice as that would be, there were other forces at play that caused that. Another way of putting this is to say that the effect of the communist government was to constrain growth around Hong Kong, and infrastructure development occurred in rural areas despite that.

The motivation behind "charter cities" is exactly that such a direct effect from liberalization would occur, whereas that doesn't necessarily follow and certainly not well-illustrated by the article's example. It is just one point in a broader criticism of the whole concept: such cities may provide an example, but they don't solve the (IMHO, harder) problem of affecting change in the non-charter city areas, which will still face broader structural obstacles. The existence of a Hong Kong is not a sufficient condition for broad societal change, though it is certainly a helpful one, if not exactly necessary.

I'm happy to continue this discussion via email, no need to take up more of this thread.

shaddi··on The Politically Incorrect Guide to Ending Poverty
I never meant to say communism was responsible for the country's economic growth. Clearly, liberalisation caused that, as your graphs imply. However, the growth was concentrated on the coast, and the existence of a central command economy was the direct mechanism for infrastructure development in rural areas that were not directly benefiting from liberalisation. I don't claim communism is a good approach to economic growth, I meant it as a counterexample to the claim Hong Kong brought liberalism to the countryside and poverty went away. Hong Kong brought the wealth, Beijing redistributed it (violently).

I expect I was upvoted for commentary on the charter city idea, not because I proposed communism as an alternative. Thank you for bringing up an important point though.

Edit: please include the full sentence from my post, I think the part that you removed obscures my meaning.

shaddi··on The Politically Incorrect Guide to Ending Poverty
Of course, that is clear. However, declaring a Charter City won't magically erase corruption and other structural causes of poverty, and bringing in a foreign party to impose governance brings its own set of issues / has historically not worked out well.

Something closer to the lines of SEZs seems to capture the best of both worlds and makes more sense to me. It's a way to encourage liberalization (which we'll accept as a purely good thing for now, though obviously there is debate on that), bring in improved regulation, and provide some foreign expertise which could be helpful. It also aligns incentives a bit better, since it specifically focuses on business, rather than all aspects of governance (it's easier for us all to get along when we're in a mutually profitable relationship).

shaddi··on The Politically Incorrect Guide to Ending Poverty
Most folks I know living on reservations would debate that. Just saying, it's a strong claim to make.
shaddi··on The Politically Incorrect Guide to Ending Poverty
It's arguable whether such a thing is possible. Cooperation, where all stakeholders have say in the endeavor, is probably close to ideal. But that's not colonialism. Once you start fixing all the problems that colonialism has (authoritarian outside rule, no power held by the governed, operating solely for the profit of the colonizer) you wind up with something that really doesn't look like colonialism at all. At best, you need another word, but as my earlier comment stated I think there are more fundamental flaws with the scheme.

I think a more relevant (if less sensational) question is "What role should outsiders play in defining the goals and mechanisms of development?"

shaddi··on The Politically Incorrect Guide to Ending Poverty
Perhaps more accurately, it doesn't work well for those involved who don't have power. Puppet governments seem to do quite well for themselves, as do the colonizers.
shaddi··on The Politically Incorrect Guide to Ending Poverty
I'm not going to fault this piece for being hand-wavy and poorly justified: it is that, but then again, it's a piece of popular journalism which is allowed to be. So, I'll criticize the broader idea.

This article cites China as a model. Hong Kong did not pull the rest of China up as it grew. It certainly played a role, but frankly the communism that took resources from the urban coast and built roads, schools, and other infrastructure in rural areas was more likely a bigger contributor to the massive improvement in (purely economic) standard-of-living for most Chinese.

It was in particular /not/ enlightened foreign rule of urban areas that did this. If we accept that all geopolitical entities respond to incentives, it is not clear that direct foreign control of areas of the developing world will produce the ideal outcome for those areas: this will only be the case when the incentives and interests of both the local population (which is not monolithic, btw, but we'll ignore that for now) and the foreigners align; long term prosperity requires that incentives align for both in the long term, which seems terribly unlikely. Moreover, the history of development is fraught with stories stories good-intentioned outsiders failing to make a beneficial impact because they poorly understood the complex local situation, and it's simply unrealistic to assume you can just start with a clean-slate-by-fiat in a "charter city" and build without considering a place's history.

I think Romer has a good core idea, one that few people would argue with. Namely, development is not just a matter of fixing the "Production = F(capital & labor)" equation; good governance, good ideas, and good people all are required. While it may be surprising to some, this is an idea that is pretty well understood (at least at a high level) in the development community/industry. My beef with his idea is a flawed execution, and one that I think could be potentially damaging in the long term. These ideas need to come from local populations and make sense for their own contexts.

As an analogy, you just aren't going to reproduce Silicon Valley by emulating the Bay Area's regulations and investment level: there is a whole history that made it the way it is. Attempts to do so are kind of doomed from the start, so it's better to focus on creating new centers of prosperity that make sense for the local context. I don't think foreigners are well positioned to do that.

---

Another point to make, the Millennium Villages Project had a similar premise to Romer's. The idea was that solving the problems of poverty in particular villages through strong international partnerships would lead to spillover effects throughout the surrounding areas. Everything I've heard about it is that the results have been alright, but not really that great. Besides a bit more of a heavy-handed foreign-involvement approach, I'm not sure if the "charter cities" idea really is that different than MVP and hence it's not clear how it will overcome the obstacles MVP faced.

Edit: William Easterly is quoted here. He has an awesome book, "The Elusive Quest for Growth", that discusses a lot of non-intuitive reasons why development efforts have historically failed. I would highly recommend it.

shaddi··on Is Tor Safe? Think Again.
Right, but the idea behind direction finding is that you can triangulate the position of the transmitter. If you just have a bearing you have to search over a large area -- these links could be many kilometers long.

Not saying it's impossible, but using highly directional antennas makes direction finding much more difficult.

shaddi··on Is Tor Safe? Think Again.
Some good points here. A couple thoughts:

- If, for some reason that I can't really conceive of, you wanted to connect to a far-away access point, you'd need a highly directional antenna (due to RF physics). Doing this actually makes direction finding extremely challenging, for the same reason you can't see a laser from the side (unless it's super high power and has something to reflect off of, which is unlikely to be the case in the wifi scenario).

- End-to-end encryption plus an anonymization mechanism like Tor seems to me to be pretty impervious to attackers, assuming the implementation of your encryption and anonymization are both correct (which, admittedly, is a big if, but is not a /fundamental/ issue; you could envision a system engineered to be correct). If you have a secure, trust-worthy, out-of-band mechanism for exchanging keys with whoever you want to talk to, even if someone owns the infrastructure you're using they won't be able to decrypt your communication, or know who the source and destination are if you're using an anonymization mechanism. This also assumes you trust the person you're communicating with, etc.

I'd love for someone to correct my understanding of this if I'm wrong.

shaddi··on You Owe it to Yourself to be Old-School
Alright, I'm an idiot. For some reason I had it in my head that development had ceased a couple years ago. Thanks for the info.
shaddi··on You Owe it to Yourself to be Old-School
I've used Dummynet extensively (with great satisfaction!), but I've been looking for a more recently updated alternative (preferably with good Linux support). Is anyone aware of any such thing?
shaddi··on Solve Homelessness: Cut Out The Middle Man
Isn't this already possible? There are plenty of day laborers who wait in the morning at "The Corner", and people with jobs for the day come pick them up. They work when they are able, and when there is a job for them. Regardless of whether or not this is legal, the market for this already exists, and it frankly isn't that great for employees. The benefit of a steady job -- or more accurately, a steady stream of income -- is that you can plan around it.

Also, I fail to see how regulation has prevented this from happening. Do you have any evidence you could point to? Lots of businesses have a big payroll of part-timers who only work a few hours a week. Speaking from personal experience, when I used to work these kinds of jobs many of my coworkers (myself included) had extremely flexible "work when you can" schedules. Lots of transient employees, too. For some industries this works, but for most non-minimum wage jobs frankly I don't see what the incentive for an employer to do this would be.

shaddi··on Solve Homelessness: Cut Out The Middle Man
This pretty great, but it's also pretty anecdotal. How were these 13 chosen (probably not randomly)? What is the outcome going to be in 6 months? A year? Five years?

Based on the (admittedly not extensive) work I've done trying to help homeless folks get back on their feet, a lot of people do just need some money to get their life back in order. For instance, it's hard to apply for jobs when you don't have an address or a phone number for people to call you back at. Giving someone the ability to not have to worry about making their rent payment for a couple months can be huge.

But a significant portion of the cases I've seen can't be solved this simply. Despite what this article says substance abuse issues /are/ a big factor for a lot of the homeless people I've worked with. Providing cash money can alleviate some of their problems in the short term, but there are generally more fundamental obstacles that are holding people back. If you don't address these issues people can very easily fall back into the trap.

The best intervention I've ever seen for a homeless person is an employer who is willing to give them a steady job and be understanding about the difficulty of the situation they're going through. Anything that can get a homeless person to this point should be encouraged. Sometimes that can mean covering their expenses for a while to get back on their feet. But often it means providing substance abuse support; often it means teaching job skills; often it means connecting them with the right social service or civil society groups.

shaddi··on Caltrain July Proposed Service Changes
Yup. To be fair the intended payment model for the Clipper is to link it to a credit card and do autoload whenever your balance crosses below a threshold. Kind of silly in some ways but it works just fine after you get it set up.
shaddi··on Google IPO? No Thanks (2004)
Seriously. This article was published a year before Maps existed. Less than a month after the Gmail beta started. Facebook was less than six months old.

This was all seven years ago! How times have changed.

shaddi··on Silicon Valley sees big shake up (literally)
Same here in Berkeley.
shaddi··on Testing is waste of time, I know that my code works
I've always wanted to try TDD, but for the stuff that I am working on these days -- wireless kernel drivers -- it isn't clear to me exactly how to do this. Does anyone have experience doing TDD at the kernel level?
Page 1 of 7Next →