HN user

petewarden

4,060 karma

ex-Apple, recovering game programmer, Techstars solo founder of Mailana, blogger at http://petewarden.typepad.com/

Email me via pete@petewarden.com

Posts117
Comments274
View on HN
github.com 8d ago

Speech Recognition and TTS in less than 500kb

petewarden
567pts90
masonjwang.com 3mo ago

PiTorch: ML on Baremetal Raspberry Pis

petewarden
1pts0
github.com 4mo ago

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

petewarden
316pts81
petewarden.com 12y ago

Why is everyone so excited about deep learning?

petewarden
1pts0
gigaom.com 12y ago

Democratizing deep learning with an iPhone app and open source SDK

petewarden
2pts0
petewarden.com 12y ago

How to add a brain to your smart phone

petewarden
17pts2
radar.oreilly.com 12y ago

Why deep belief matters

petewarden
2pts0
www.jetpac.com 12y ago

Deep belief image recognition running in JavaScript

petewarden
6pts0
radar.oreilly.com 12y ago

How to analyze 100 million images for $624

petewarden
7pts0
stackoverflow.com 12y ago

Dread Pirate Roberts' questions on StackOverflow

petewarden
4pts0
twitter.com 12y ago

Silk Road founder arrested

petewarden
6pts1
petewarden.com 13y ago

Why you should never trust a data scientist

petewarden
8pts0
petewarden.typepad.com 13y ago

No more heatmaps that are just population maps

petewarden
5pts0
intridea.github.com 13y ago

Stately - A US state map in a font

petewarden
132pts29
www.adexchanger.com 13y ago

Why IP tracking is a bad idea

petewarden
1pts0
groups.google.com 13y ago

Webfinger compromises

petewarden
1pts0
petewarden.typepad.com 14y ago

A day in the life of a CTO

petewarden
1pts0
www.disinfo.com 14y ago

Mythbusters Banned From Discussing RFID By Visa And Mastercard

petewarden
17pts2
www.newyorker.com 14y ago

The story of a suicide

petewarden
2pts0
petewarden.typepad.com 14y ago

Death of a startup

petewarden
4pts0
petewarden.typepad.com 14y ago

How to post a PhantomJS screenshot of your site to a user's Facebook account

petewarden
2pts0
www.newscientist.com 14y ago

US Internet providers hijacking users' search queries

petewarden
10pts0
radar.oreilly.com 15y ago

IPhones and 3G iPads log your location in an unencrypted file on the device

petewarden
415pts190
www.readwriteweb.com 15y ago

Using Public Data to Fight a War

petewarden
24pts3
www.readwriteweb.com 15y ago

The Secret Life of Robots

petewarden
16pts1
www.catb.org 16y ago

The Jargon File

petewarden
6pts4
www.nsf.gov 16y ago

Mysterious 'hole-punch' clouds produced by aircraft

petewarden
3pts0
www.startribune.com 16y ago

Credit card company rejects customers with too-good credit scores

petewarden
37pts29
petewarden.typepad.com 16y ago

Facebook employee responds on robots.txt controversy

petewarden
54pts39
petewarden.typepad.com 16y ago

Facebook changes the rules for the public web

petewarden
9pts2

One nice thing about Lite is that it's a lot easier to just include the operations you need (compared to TensorFlow 'classic'), there's fusion for common patterns, and the base interpreter is only 70KB. That covers a lot of the advantages of using XLA for mobile apps. In return you have the ability to load models separately from the code, and the ops are hand-optimized for ARM.

I'm still a fan of XLA, and I expect the two will grow closer over time, but I think Lite is better for a lot of scenarios on mobile.

I'm the original author of the freeze_graph script, so I'm to blame for a lot of the on-going mess here. For what it's worth I'm actively working on cleaning this up, since I know what a painful experience it is. Apologies for everyone who's struggled with this, and I will take a look at the case number mentioned above and follow up internally to see if there's anything I can help with.

I'm not going to cover it in detail in my talk, but the code with some barebones documentation is available at https://github.com/tensorflow/tensorflow/tree/master/tensorf...

One thing to note is that this isn't available on production phones yet, because we need a signed driver to run within Android. You should be able to run this on a Dragonboard 820 development board though, using the instructions in the README.

This is all very new though, so apologies in advance for any hiccups getting up and running. My email's petewarden at google.com if you are trying this and hit problems.

Yes, that was my screwup, sorry for any confusion! Despite multiple linear algebra courses, working in 3D graphics for a decade, I haven't internalized the basics of matrix notation. It doesn't help that my usual sandbox (Eigen) is column major by default, which is the wrong in-memory order for my raster-image trained brain to visualize. Funnily enough, I find tensor notation a bit easier, despite being less familiar.

I found college completely crushing, especially because I'd built up wild hopes for it as an escape from my unhappy childhood. I don't have any easy answers, but here's some of the tools that helped me:

- Exercise. I know, it sounds dumb, especially when you're depressed and have no energy, but it's an incredibly effective way of hacking your brain chemistry. Run, swim, bike, hike, just pick one and pour all your frustration, anger, and sadness into it.

- Get a hobby. I spent a lot of time worrying about being interesting to others, which guaranteed I wouldn't be. Being interesting is a many-body problem with lots of unknowns, but being interested is way more solvable. You can figure out what you like a lot more easily than you can guess what might make other people like you. Don't rule something out because it seems dorky, I guarantee you'll find other people who enjoy it too, even if it's Lego or collecting old maps. It's surprisingly hard to understand what you actually want though, especially if you've been focused on what other people think.

- Beware of magical transformations. I got married at 19, driven by an overwhelming desire to completely change my life to find happiness. It didn't work. I also took a lot of drugs. That didn't work either. I saw people get pulled into cult-like religions or extreme political groups. Drastic exterior changes don't alter who you are, you'll still have the same problems, no matter what anyone tells you. Focus on boring incremental improvements, like exercise and hobbies. I hated that idea, because I was in love with my life being dramatic and the basic stuff seemed so mundane, but it's what ended up making a lasting difference.

I doubt I'd have even listened to my present-day self when I was 19, but I hope there's something in there that helps you. Life really does get better.

I went through Techstars in 2010 as their first solo founder, and I failed pretty hard. The combination of talks, mentor sessions, wooing potential team members, and pitch practice left me almost no time to code and plan the product. For the final pitch, all I had was demo ware, and I felt an idiot getting up on stage.

It was a worthwhile failure for me, I made some great friends and learned a lot, but I'd counsel any lone founder to focus on growing some kind of support team around them as the first priority. I would never contemplate an accelerator as a solo founder, but I have nothing but admiration for those who have managed it.

I look through the 'new' page archives every few days, and reblog interesting posts. They're usually so old that upvotes wouldn't matter, but the signal-to-noise ratio for submissions is high enough that I can usually find some neglected gems.

I've wrestled with this pattern (anti-pattern?) myself. One key advantage is that I can run plain Ruby unit tests outside of Rails, as long as I make sure the right environment variables are set in my shell.

I'm conflicted about it though; I hate being out of the mainstream on something as fundamental for maintenance as this and I have to jump through hoops to get Apache to set my environment variables.

Bandwidth and general cumbersomeness of dealing with larger amounts of data with starving-startup resources. I actually spent about a decade of my career focused on image processing, and while I love it's power, I knew how much of an engineering challenge it can be at massive scale. I need to do a blog post about this, since I know my choice is a bit surprising and needs explanation.

I'm actually overjoyed to be living in a world where companies like Rackspace and Amazon are possible, it still blows my mind that I can rent a hundred machine cluster for $10 an hour.

I wrote up the article at the end of a long and frustrating day, and looking back on it, the tone's all wrong. I still stand by the content, but it needs way more context and the equivalent of smileys surrounding it.

I've just confirmed the nofollow behavior with Rich at Blekko. Sorry, it does make the results a lot less useful as a guide to what Google's taking into account (along with all the other disclaimers!). I'll be updating the blog post to reflect this.

[dead] 16 years ago

Flagging is a pretty drastic response to a post you disagree with. Andrew's article was certainly pretty blistering, but he had an argument backed up with evidence.

Saying a post is misleading but offering nothing to back that up is unhelpful to say the least. There was an active and civil comments thread that seems like the perfect venue to have a more enlightening discussion.

[dead] 16 years ago

I'm mostly on-board with this. I hate "7 Ways to X", and titles like "Is styrofoam going to kill us all?" that have the obvious answer of "No". I actually enjoy titles that are clever and provocative though, ones that provoke a smile or make me curious, as long as the article delivers.

Maybe part of this is cultural. I find the over-the-top sobriety of US newspaper headlines unintentionally funny, I much prefer something more in the tabloid style with a little zing.

I'm all for weeding out dumb articles, but let's not go on a puritanical crusade against every title that isn't anodyne and boring.

> I found that spending a lot of time reading other people's code dramatically improved the readability of my own code.

This I wholeheartedly agree with. I spent the first five years of my career porting large hairy codebases from PCs to embedded devices, without the original programmers available, and that has given me a drastically different code style to a lot of people.

> I venture to guess that his code is a little opaque in places without meaning to be, as a result of his not spending much time reading other people's code.

Here you lose me. I went out of my way to avoid memorizing the operator precedence rules too well, so that when I saw a complex one-line expression I'd have to stop and pay attention. A lot of the time the subtle bugs creep in because the naked expressions flow in a way that looks seductively correct, and so with an easy knowledge of precedence it's easy to make the same mistake as the original author.

As Bjarne S once said about casting in C++, I want it to look ugly in the code because it's an ugly idea. I want my code-reading to stumble when I hit those long unparenthesized expressions, to make sure I pay attention.

In tests I was able to get new users for around $2 each using Facebook ads. I went into the details here:

http://petewarden.typepad.com/searchbrowser/2009/11/get-new-...

In my limited experience it's all about testing and iteration, lots of it. Or just find a feeble excuse to show a picture of a busty girl, judging from most of the ads I see on Facebook.

Also, be prepared for shockingly low CTRs on banner ads like Facebook's. Even highly targeted I was seeing 0.07% on my best ads, and from talking to others that's not uncommon. Even at that low of a rate the ads were cheap enough to be worth running.

The credit-card company's agreements bar merchants from offering those sort of discounts:

http://www.datawedge.com/news/newsletters/june07.htm

This is why government action seems reasonable in this case. You can make the argument that we shouldn't have ended up with an effective duopoly, that regulation should be lighter to allow more competition that would drive out this sort of 'rent-seeking' behavior, and I'd be sympathetic. Unfortunately I don't think that sort of wider overhaul is politically possible, and even patching up the existing regulations with yet more seems better than doing nothing.

Having worked in both games and the desktop world, implementing replays is a lot like implementing undo/redo, and they're both an immense time-suck. It's easy for developers on the different sub-systems to create something that on the surface seems complete but is doing a bad job of recording and responding to the needed events. Inevitably either the original developer or the poor sucker tasked with implementing undo has to go back in and rewrite the code, which takes longer than everyone expects.

Wouldn't even just one be insanely useful for decryption? I've been lost by pretty much every description of what they actually did at Bletchley Park (anyone have recommended links?) but it seems like they could do a lot with some decent computing power.

Thanks Bret, I appreciate you taking the time to dig into this. You're right, my complaint is the disconnect between the terms-of-service and robots.txt, so I'm very happy you're addressing this.

I just wish we could have had this conversation a few months ago, before you guys threw your lawyers at me.

Or provided that your application can cope with minor inconsistencies. When I'm writing Twitter mining tools, I don't want to pay for financial-transaction-level reliability, either in terms of performance, cost or complexity.

You're completely missing the point. Terrorism is about spreading terror, killing people is just a technique. Finding reasons to laugh at these jackasses makes them a lot less terrifying.

The best way to fight their ideas is to avoid buying into their romantic self-image as heroic martyrs, and reveal them as the sad losers they really are.