HNHacker News
TopNewBestAskShowJobs

philipn

2,968 karma · joined October 27, 2008

https://localwiki.org
submissionscomments
philipn··on Guido on Python
I'm having the exact same experience! I just started using Python 3.4 (soon 3.5) for a new, major project and I'm pretty excited about it. I expected to find a bunch of roadblocks -- like being in a parallel universe or something. But, well, everything totally works!

The only package I found that didn't work with our Python 3 infrastructure was Fabric, but that's really easy to spin out (and will be fixed soon).

There's really no reason to not use Python 3 for (almost) all new projects at this point. It's exciting! I expect engineers who're used to developing in Python 3 will start to feel embarrassed that they're still running 2, and we'll port over all of those internal codebases (like at Dropbox :P).

philipn··on Can Wikipedia Survive?
The press really loves to write pieces about how Wikipedia is in a constant state of disrepair. If you were to go off what's written about Wikipedia in the press, you'd think it was filled with child pornography and that the project was a horrible, miserable failure. That said,

"One board member, María Sefidari, warned that 'some communities have become so change-resistant and innovation-averse” that they risk staying “stuck in 2006 while the rest of the Internet is thinking about 2020 and the next three billion users.'"

..is probably the best quote from this article. Wikipedia has a new set of growing pains now that it's a fully-established project. It will never be done, but a lack of increase of new contributors, month-on-month, isn't necessarily the worst thing in the world for Wikipedia. A focus on long-term maintenance (which includes not pissing off long-term editors, as the article mentions) and mobile growth seems smart.

philipn··on The Greatest Good: What is the best charitable cause in the world?
Sorry, I meant to say peat swamps, not boreal forests.

Regarding peat swamps, they are less valuable in that the land isn't being farmed. Transformation of "unvaluable and useless" peat swamps to productive oil palm plantations often, but not always, involves altering the water table of the forest, which causes a massive increase in CO2 (peat is an incredible carbon sink) as well as widespread fires.

http://www.scientificamerican.com/article/peat-and-repeat-re...

http://www.dw.de/peat-forests-pose-major-climate-threat/a-52...

https://en.wikipedia.org/wiki/Southeast_Asian_haze

philipn··on The Greatest Good: What is the best charitable cause in the world?
This is a really common argument that people make, but I think it's missing some essential externalities. I've worked in the nonprofit space for ~7 years now, and this is the most common over-cocktails argument folks tend to make.

First of all, and most importantly, most people do not give very much of their income away. And as you accumulate more money, your rate of giving tends to decrease. There are counter examples, thankfully (!), but this tends to be the trend.

There are also very important questions about the counter force of the labor you engage in to earn money. "Wall Street" type jobs make a great example here: say you earn $1M in a year by, say, funding expansive oil palm plantation development in southeast asian peat swamps. You may end up giving away a generous (!) 10% of your after-tax earnings, but you probably won't make up for the negative impact that you, or your money, had.

This particular externality is huge when you think about how investment works. For instance, all the major charitable foundations have large endowments that are tied up in various capital markets. Almost all of these foundations only give away their legally-mandated 5% payout amount. All the while, their complex financial machinery is generating, on average, returns in excess, or close to, 5%. So 95% of their money is actually working to make more money through the whole expansive and environmentally destructive capitalism thing[1].

Working at a soup kitchen full-time when you posses important skills does seem silly, though[2]. Like everything, I think there's a balance here. For instance, if you're highly skilled, donating a percentage of your time to volunteer or work at a lower-than-market-or-just-market salary at a nonprofit you believe in can have a tremendously important impact.

1. Not all foundations do this. A notable exception is the Bill & Melinda Gates Foundation, which I believe has a long-term goal of giving away all of their assets in some finite time period. A mixture of private investment in areas of interest can also help, e.g. what Omidyar Network does a lot of (http://www.insidephilanthropy.com/tech-philanthropy/2014/3/2...)

philipn··on Inceptionism: Going Deeper into Neural Networks
The reason they look so 'fractal-like' (e.g. trippy!) is because they actually are fractals!

In the same way a normal fractal is a recursive application of some drawing function, this is a recursive application of different generation or "recognition -> generation" drawing functions built on top of the CNN.

So I believe that, given a random noise image, these networks don't generate the crazy trippy fractal patterns directly. Instead, that happens by feeding the generated image back to the network over and over again (with e.g. zooming in between).

Think of it a bit like a Rorschach test. But instead of ink blots, we'd use random noise and an artificial neural network. And instead of switching to the next Rorschach card after someone thinks they see a pattern, you continuously move the ink blot around until it looks more and more like the image the person thinks they see.

But because we're dealing with ink, and we're just randomly scattering it around, you'd start to see more and more of your original guess, or other recognized patterns, throughout the different parts of the scattered ink. Repeat this over and over again and you have these amazing fractals!

philipn··on Show HN: Hydrogen Brings Light Table to Atom
For a vim version(ish) of this, be sure to check out vim-ipython: https://github.com/ivanov/vim-ipython
philipn··on Man’s Claims of Hacking Plane Discredited by Law Enforcement
"Hacking into a plane’s critical flight controls is at least theoretically possible on some new models, computer security experts told the GAO."

Can someone explain this? I've been asking knowledgeable people all day and haven't heard a good explanation of how this could be possible. Is the IFE system really on the same physical network as the flight control system on newer planes?

Edit: the best commentary on this appears to be the comments section on this Schneier blog post from a few weeks back - https://www.schneier.com/blog/archives/2015/04/hacking_airpl...

And here's an interesting puzzle: if these planes are sharing a SATCOM link between their IFE and control systems, is it even possible for it to be non-software-hackable?

philipn··on The Lessons Google Ventures Learned from Secret
Yeah, I'm not sure there's really a whole lot we can glean from the purchase of founders' stock here. To an outsider, it feels unfair, but I agree that without it the founders would have likely spent that $25M down to zero.
philipn··on Nick Bostrom: ‘I don’t think the artificial-intelligence train will slow down’
Many extremely well-informed people are concerned.

In fact, one of the most distressing things I hear from leading AI researchers who've made "AI is nothing to worry about any time soon!" comments is that they do not address any of the specific concerns raised by AI safety advocates. Instead, the most you hear from them is "we're really far away from that!" and "we don't know and I'm sure we'll figure it out when we're near that point."

These comments, from Andrew Ng and the like (insanely brilliant people!) show that they really haven't read Bostrom, etc. Or if they have, they didn't explain much (or get quoted) during interviews. It would make me feel more comfortable with their dismissal if they demonstrated a clear understanding of the arguments being made.

philipn··on Show HN: A tool to audit your Google Analytics implementation
I second the comments here about wondering what an "audit" does here. I have no idea what it means to "audit" my Google Analytics accounts.

The other thing is: I have no idea who you are, so why would I hand over my Google Analytics information to you? You have a client list, but no general "about" page, no information about your team, etc.

philipn··on Apple Watch Review – A Day in the Life
Yeah, same here. It was HTTPS everywhere's fault (or, rather, their fault for not supporting HTTPS correctly ;)
philipn··on How Wall Street Middlemen Help Silicon Valley Employees Cash in Early
This is really interesting, because in many cases these employees go many, many without being able to sell any of their stock. One thing stuck out to me, though:

"Terms of the deal call for Mr. Ballenegger to pay back the money if Chartboost goes public or is sold"

So if the company is acquired for less than the valuation made when he established the transaction with the derivative seller, he'd be up shit creek, no?

philipn··on Web Development as a career – the realities
I like pretty much everything someone takes the time to write about development, but this rubbed me the wrong way. I'm not sure what it is exactly the author is trying to express here: that engineers need to stay current on new, hot technologies? Everyone knows that. But then he seems to deride people who, based on his interviewing, haven't used a <new technology X> in production / in a new project.

You can't have it both ways. You need to find a way to evaluate people and, through that evaluation, grok whether or not they can pick up a new technology that they aren't already familiar with. If you can't figure that out, your interview process has failed. Think about it: the complexity and difficulty of your own problems vastly exceed the difficulty a senior engineer faces learning a few new frameworks or APIs. If not, you're doing something pretty trivial.

The best people I've ever worked with weren't people who a priori understood the technology stack we were working with -- instead, they have been seasoned engineers who know how go out and learn, and then apply what they already know in a new environment. This seems so obvious I feel silly even writing it down here, but this is on the front page, so it must be resonating with folks.

What tptacek has said about .NET developers working at IT departments at huge organizations really rings true here. If you immediately write someone off because they work with technologies you don't work with[1] then you're doing it wrong.

1. Assuming you're not looking for a quick, contracted hired gun for something fairly straightforward.

philipn··on In Defense of Inclusionism (2011)
Yup, over here: http://deletionpedia.org/en/Main_Page
philipn··on Django REST framework 3.0
Seems pretty clear from that linked post: Tom is going to use/used the money to support his time spent working on the project. And extra funds will be used/have been used to devote more time than he'd otherwise be able to spend.
philipn··on Wikipedia’s ‘complicated’ relationship with net neutrality
This is an interesting topic, but kind of a weird article. Wikipedia wrote a long article addressing the topic of Net Neutrality and Wikipedia Zero a few months back. This is worth reading if you're interested in the topic:

https://blog.wikimedia.org/2014/08/01/wikipedia-zero-and-net...

Kind of odd that the Washington Post doesn't mention any of these points. Personally, I still feel the Wikipedia Zero program violates net neutrality, but mentioning Wikipedia's self-imposed constraints here seems important.

philipn··on How Wikipedia's reaction to sudden popularity is causing its decline
I suspect the alternative is really just more material on "long-tail," open-contributor sites that cover many of the topics that Wikipedia does, but in more detail and with different policies. For instance, the http://newslines.org site linked above, or the non-profit that I help run, LocalWiki (https://localwiki.org). Let Wikipedia just be a really great general-purpose encyclopedia -- it's not supposed to replace the entire web.
philipn··on Police Use Department Wish List When Deciding Which Assets to Seize
In a range voting election, you'd have a lot of people who would bullet-vote for a particular candidate (100/100 points for candidate A). Then possibly lots of other people who would have to think about how people may be bullet-voting for those candidates, and then think about how they might distribute their points so as to ensure those candidates don't win.

If I love candidate B and C, kind of like D, and hate candidate A, but all of candidate A's supporters are bullet-voting, how should I vote? It's ridiculous.

It doesn't allow voters to express their preferences without strategic voting -- it's totally baked into the process. The range voting folks have come up with various metrics that say their system is the best, but completely ignore the most obvious reasons why its flawed.

For the record, though, I'd vastly prefer any system over the current plurality elections (including range voting).

philipn··on Help the Gnome Foundation Defend the Gnome Trademark Against Groupon
That's if someone is using it, not someone trying to register it. I always imagined that the US Patent and Trademark Office had a period where people could file complaints about pending trademarks, which is a different process.
philipn··on Police Use Department Wish List When Deciding Which Assets to Seize
Well, no voting system is perfect. See http://en.wikipedia.org/wiki/Arrow%27s_impossibility_theorem. IRV is pretty good, and is being slowly adopted across the country.

In particular, IRV satisfies the important "majority criteria," e.g. if the majority of people vote for a candidate, that candidate should win. Approval / range voting fail this criteria. See, again, Arrow's Theorem. http://archive.fairvote.org/monotonicity/.

Additionally, voting so as to strategically take advantage of non-monotonicity using IRV/STV/Ranked Choice Voting is NP-Complete- see http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.127....

philipn··on Police Use Department Wish List When Deciding Which Assets to Seize
It's also difficult because in a civil case you're not entitled to a state-funded attorney, so you're going to have to shell out a good chunk of change to challenge the case. Which, of course, you may not have as your assets were just seized. You're also facing the "preponderance of the evidence" civil burden rather than "beyond a reasonable doubt," which makes it more likely you'd lose in court.
philipn··on Even with 2FA, Google accounts can be hacked with just a phone number
You use your backup 2FA codes (which you've stored in a few different locations -- all offline -- including probably your wallet) to get back into your account. From there, you re-seed the 2FA.
philipn··on Even with 2FA, Google accounts can be hacked with just a phone number
That's my guess based on a pretty easy to figure out WHOIS. But security by obscurity here only goes so far: if someone really wants your phone number, there's lots of ways to get it.
philipn··on Wikipedia needs an IDE, not a WYSIWYG editor
I sympathize with the sentiment expressed by the OP here, but his conclusions -- especially that the VisualEditor project is not worth undertaking -- are, I believe, very much off base.

The Wikimedia Foundation did a great deal of research, including professional usability testing, and reached the (I believe fairly self-evident!) conclusion that a visual editing environment was sorely needed. You can go look up videos of regular people attempting to contribute to Wikipedia if you don't believe me[1].

The difficulty of the task, the particularities of hardcore Wikipedia editors, and the importance of preserving the record that Wikipedia's edits represent makes the project have a very real amount of essential complexity. If you think this is easy then you have not done much work with complex rich text editing on the web[2]. People in this thread suggesting Wikipedia use an off-the-shelf OSS rich text editor don't understand the requirements of the problem.

The team at the Wikimedia Foundation has done an exceptional job given the task at hand, especially given their relatively small amount of funding (relative to other sites Wikipedia's size). The reasons the VisualEditor isn't enabled by default have to do with getting from a 97% solution to a 99.9% solution[3], and based on the work I've seen out of the Wikimedia engineering team, I'm sure they will get there.

1. http://commons.wikimedia.org/wiki/File:Wiki_feel_stupid_v2.o... and http://usability.wikimedia.org/wiki/Usability_and_Experience...

1. Or really any kind of rich text editing.

2. In terms of never, ever causing a problem with the underlying wikitext.

philipn··on A Toast Story
One thing I've noticed these $4 toast stories seem to miss is that toast (though not the same flavor of "artisanal") has been a big, sometimes ridiculous part of life in Southeast Asia for decades and decades now. https://localwiki.org/sf/SF_Toast_Craze
philipn··on CVE-2014-7169: Bash Fix Incomplete, Still Exploitable
Ahah, okay, makes sense. Thanks!

And THANK YOU SO MUCH for all your amazing work on this stuff, mdeslaur!

philipn··on CVE-2014-7169: Bash Fix Incomplete, Still Exploitable
Possibly stupid question, but won't Ubuntu also publish these as soon as the fix is made available as well?
philipn··on Bitcoin Available at 10,000 Indomaret Stores in Indonesia
I'm living in Indonesia currently and I haven't seen anything being sold in bitcoin or any bitcoin-related advertising anywhere.

This also seems like a big drawback:

"There is currently no offline way to purchase Bitcoin through the Indomaret stores, however, since the users will need to log into their accounts and get a code."

That said, it's interesting how many essential services are a la carte here. You buy phone minutes by finding pretty much any seller on the street, handing them some cash, and they punch in some codes into their phone for you. You then use your phone minutes ("pulsa") to buy other phone credits (different tiers of 3G service, text service, etc). When your power goes out you wander down to the market and give them cash and your meter number.

This is probably a byproduct of a lack of banking and consumer credit infrastructure for most people here. Can bitcoin / other cryptocurrencies change that? I'm skeptical because bitcoin/etc don't solve the consumer credit problem. And if someone's going to go through the ropes to set up an account on a bitcoin wallet service and deposit money into it at the market, they're also likely to be able to do the same with a banking service.

So there's the credit problem (everything must be paid up front) but then there's the deposit problem. If the phone company or the electrical company just had my <whatever> ID and could withdraw from it, I wouldn't have to pay them every time the thing ran out. And I'm not really sure bitcoin/etc really solves the deposit problem here, either.

philipn··on Pump and Dump: How To Rig the IPO Market with $20M
I agree. Can an admin edit the link to point to the actual source, http://wolfstreet.com/2014/08/28/how-to-rig-the-entire-ipo-m...?
philipn··on Mapillary iD Editor for OpenStreetMap
Fantastic work!

I'm also really happy that Mapillary decided to make the project CC-BY-SA instead of CC-BY-SA-NC -- gives me a lot more confidence the project will stay alive for years and years to come.

← PreviousPage 2 of 5Next →