HNHacker News
TopNewBestAskShowJobs

folz

2,277 karma · joined September 9, 2010

submissionscomments
folz··on Unsticker Me – Get rid of Facebook stickers in comments
By popular demand, Unsticker Me is open-source at https://github.com/folz/unsticker.me with a link there on the homepage!
folz··on Unsticker Me – Get rid of Facebook stickers in comments
More than happy to open-source it, just give me a minute!
folz··on Scalable A/B Experiments at Pinterest
I work at Pinterest on Growth, so I use our AB framework every day. Most of our experiments have nothing to do with each other – two of our current experiments are "add a button promoting group boards, compare to control" and "test different designs for our typeahead, compare against each other". Pinterest is a pretty big website, so it's unlikely that our experiments affect each other in ways that'd make our tests invalid.
folz··on Debugging Asynchronous JavaScript with Chrome DevTools
Comment from Paul Irish, who is marked [dead]:

Protip with this feature: It can resolve where you originally bound your event listeners, regardless of if you used jQuery or whatever. So, either set up a breakpoint or establish an Event Listener Breakpoint[1] and you can walk back to where you registered the handler.

[1]: https://developers.google.com/chrome-developer-tools/docs/ja...

folz··on Show HN: Appcubator - Easy way to Prototype Web Apps
I'm pretty blown away at how easy the build-a-twitter demo was. Awesome work!
folz··on Bridge is a new RPC framework for building modular services
Your private API key, not your private SSH key.
folz··on Bridge is a new RPC framework for building modular services
Hi, I'm the first person quoted on the testimonials page. I've gotten a few emails related Bridge and my job, and I'd like to clarify: The email that quote came from was personal, and not at all related to my employment at Facebook (specifically, it is not an endorsement by Facebook). I use Bridge for personal projects, and that's what my email was referencing. I've asked that my quote be made clearer, and I'm sorry if you were confused or misled by the ambiguity.
folz··on You are getting used by your accounting software
The author does a lot of fence-sitting for very little conclusion. For instance:

     Your focus should be on responsibly tracking your cashflow
versus

    [A]ll I really only care about is one thing: my bank balance
Responsibly tracking cash flow is completely different than knowing your bank balance. One is hard and requires keeping track of income, payments, expenses, etc; the other involves pushing a button at an ATM.

Similarly:

    You...need an accountant. Someone who can do your tax
versus

    what you really need is software
TurboTax != a trained accountant.

It's also childishly written. "The nasty stuff the tax man needs to see," really? It's almost as bad as Blogger Bob. This reads like (bad) advertising copy for a press release, but it somehow got five points in five minutes. I'd suspect fake accounts, but pg is good about detecting upvote rings.

folz··on [dead]
Fair point. I edited the original post to be less accusatory. It was just disappointing to end up visiting a web developer's personal site when the title seemed to promise cool PSD hackery.
folz··on [dead]
The title is unclear. It makes it sound like you can upload a .psd file and get HTML/CSS back, which would be really cool. Instead, it's just someone trying to advertise his web design services.
folz··on Tor project needs volunteers to help Iranian users access the internet
That's still a legal gray area. The short answer is maybe, but the EFF will probably take your case if you get in legal trouble.

> Can EFF promise that I won't get in trouble for running a Tor relay?

> No. All new technologies create legal uncertainties, and Tor is no exception. Presently, no court has ever considered any case involving the Tor technology, and we therefore cannot guarantee that you will never face any legal liability as a result of running a Tor relay. However, EFF believes so strongly that those running Tor relays shouldn't be liable for traffic that passes through the relay that we're running our own middle relay.

https://www.torproject.org/eff/tor-legal-faq.html

folz··on Show HN: An anonymous microblogging platform
1) Your /uploads/ directory lists all files uploaded to it. To fix this, add

    Options -Indexes -FollowSymLinks
to your .htaccess for the uploads directory.

2) You appear to be running nginx as a reverse proxy to apache, but you've left apache open to the world on port 81. Either have it only listen on localhost, or have an iptables rule denying the world connections.

Edit: formatting.

folz··on Skype lets hackers track your BitTorrent downloads
This was posted about a couple of days ago (https://torrentfreak.com/security-flaw-links-bittorrent-user...), and the Register makes the same (incorrect) assumption as TorrentFreak that IPs can be traced to a single person.

This attack vector links Skype accounts to IP addresses, and then tries to find those IP addresses in BitTorrent swarms. But IP addresses are not people: an IP assigned to an account I owned is not necessarily being used by me, and the person who has a Skype account using a given IP is not necessarily the same person who is using BitTorrent to join a swarm from that IP.

The major issue here is that anyone can find out the IP address of any Skype user just by knowing their username, which can be found in the Skype global directory. Even worse, the user isn't able to block this (or even be notified about this) and the attack can be done by someone not in your contact list.

folz··on [dead]
Edit: I read the [bill][1] and there's nothing of the sort mentioned. I'd call hoax too.

[1] http://www.legislation.govt.nz/bill/government/2010/0160/lat...

folz··on [dead]
In case people miss it, this is probably fake. The disclaimer at the bottom reads, in part:

    "All posts, information and content on the web site
    DomainGang.com are fictional, humorous and depict a satire.
    No information contained herein is to be perceived as real,
    even if parts of it are accurate or appear to be real."
folz··on Follow people on Hacker News
Clickable: http://beta.fedang.com
folz··on Apple Has $51 Billion and a Shopping List. Is Facebook On It?
Duplicate of http://news.ycombinator.com/item?id=1805839
folz··on California Highway Patrol salaries
No. The Freedom of Information Act (http://en.wikipedia.org/wiki/Freedom_of_information_act) allows anyone to request the salaries of government officials. Usually this means that newspapers request the salaries for all government officials and put it in a public database. My local newspaper does the same thing (http://datacenter.courier-journal.com/government/salaries/in...), and I presume yours does too, providing you live in the United States. Try searching for "$YOUR_NEWSPAPER_NAME salary database" in your favorite search engine.
folz··on California Highway Patrol salaries
It'd be interesting to get comment from the highway patrol about what the "other" category is. Looking at the individual officers per-year, "other" was around $4,000 in 2007 and 2008, but jumped to about $140,000 in 2009. Kind of makes me want to become a California Highway Patrolman.
folz··on OK, here's the thing: this is only the entrance of the rabbit hole.
It's not even really indirection. Variable variables using strings is a useful feature for quickly getting functionality up and running (although there are usually security trade-offs, especially if you accept user input as the string to be evaluated).

Edited for clarity

folz··on OK, here's the thing: this is only the entrance of the rabbit hole.
I agree. While I see absolutely no reason to justify using this in production, it makes sense syntactically.
folz··on Asteroids JavaScript Bookmarklet to blow up any web site
This is absolutely brilliant.
folz··on Ask HN: Advice for those in high school?
I, too, am in high school, but have been programming for several years. One of the best things that I've been able to do that I wholeheartedly recommend you try to do as well is to find someone in your school or community that knows computer science (the theory and principles involved, not just how to program). A solid knowledge of computer science is a terrific foundation to have, but it's hard to learn on your own. If you have a mentor (I found mine in my school's computer science teacher, and a professor at my local college), you will have someone to guide you and someone to go to when you're confused about something.

In addition, as tommynazareth said, find something to make. It doesn't have to be the next Facebook or the Linux 2.8 kernel, but you should find something that you can program. You mentioned Android/iPhone applications were something you were interested in doing. If that is the case, try deciding on a single-functionality app like, for example, a "Where's My Car" clone, where you create an app that remembers where the user last parked his car by using the Android's GPS data. Or maybe you want to make an app that can interact with Twitter. Whatever the case is, pick something and make it. If you have a mentor, you can go to him or her if you get stuck (or even for project ideas!). Contributing to open-source projects (once you're comfortable programming in whatever language the open-source project is in) is a great way to not only make contacts in the programming world and improve your skill set, but also add to your college and job resume.

If you're interested in learning CS theory on your own, the more power to you. How To Design Programs, mentioned previously, is a great textbook -- in fact, it's the same one I used when I was first starting out. MIT's OpenCourseWare has copies of most MIT class lectures, and you can try to follow along. Stanford has something similar. Read pretty much anything by O'Reilly. If you want your brain to explode, you can try working your way through Don Knuth's Art of Computer Programming. Since you mentioned "languages ... valuable to learn," check out why's (poignant) guide to ruby at http://mislav.uniqpath.com/poignant-guide/book/chapter-1.htm... (although programming languages come and go like grains of sand on the wheel of time).

The most important thing of all, though, is to never stop wanting to learn. TED talks can provide the inspiration for that.

Now I must go and finish my homework that I have due for tomorrow. Hope this helped.

folz··on Google's HTML, CSS, and Javascript from the Ground Up
@alf: thanks for the kind words! Another great resource for web programming is w3schools (http://www.w3schools.com/), on the off chance you haven't already found it.
← PreviousPage 2 of 2