HNHacker News
TopNewBestAskShowJobs

redsymbol

1,474 karma · joined August 14, 2007

Aaron Maxwell Software engineer and media buyer/marketer Author of Powerful Python: https://www.amazon.com/dp/1098175700 Contact: amax@redsymbol.net
submissionscomments
redsymbol··on The Perfect Django Settings File
Good writeup.

One small thing I do differently: in my dev machines, I'll set and export DJANGO_DEBUG in the environment. Then in settings.py:

  import os
  DEBUG = 'DJANGO_DEBUG' in os.environ
This doesn't hardcode a single hostname in checked-in code, and works well across different machines and developers.
redsymbol··on Ask HN: How did you get your first paying customer?
We used barter to get our first clients last year, which worked pretty well:

http://ai.redsymbol.net/2010/09/boostrapping-your-business-w...

This may or may not be a great fit for you, but it's worth checking out.

redsymbol··on Is This the Birth of the Copyright Troll?
I love the quote at the end: “It’s like setting a hungry wild pig loose in a china shop to find a piece of bacon," Randazza said. "It’ll get the bacon, but it will destroy everything else in the process.”

I wonder if the reference to cannibalism is intentional :)

redsymbol··on Structure and Interpretation of Classical Mechanics
I LOVE this book. I've had a hard copy for years. I always felt kind of lonely, though - it's such a niche topic that I had trouble finding anyone else interested enough to actually work through it :) So it's great to see it on the front page of HN.

Its software, scmutils, includes an emacs-like editor and execution environment called Edwin. Here's an oooold blog post I wrote about using GNU Emacs with scmutils instead: http://ai.redsymbol.net/2007/06/using-gnu-emacs-with-scmutil...

redsymbol··on The Top Idea in Your Mind
(I hear similar complaints from friends who are professors. Professors nowadays seem to have become professional fundraisers who do a little research on the side. It may be time to fix that.)

Now there's a startup idea!

redsymbol··on Elon Musk: Correcting the Record About My Divorce
But hey, I'm getting married next month, so take what I say with a grain of salt ;)

Congratulations :) In spite of the subject matter of this story, let's send well-wishes ahead of a joyful and successful marriage for you both.

redsymbol··on SCO/Novell Lawsuit Is Over, SCO Loses
Wow, what a release to see this finally end. Seems like I've been watching this insanity drag on for most of my adult life.

So... time to CELEBRATE! Where are the "SCOwned" parties going to be? I know there's going to be some here in SF this weekend... where else?

:)

redsymbol··on Time Travel and Fresh Cherries
Don't think so. The total amount of energy you could send forward would always be finite. That's assuming you just have time-travel in the forward direction.

If you can time travel into the past, maybe. But I think paradoxes like that are a big reason why Hawking predicts time travel backwards is not physically possible.

redsymbol··on Obama administration wanted warrantless access rights to most US email
Thanks for these kind words, I appreciate that! (I'm a US citizen.)
redsymbol··on Hacker News bans Google and all other search engines
Everyone RELAX. There's probably a good explanation for this, maybe it was even an (easily correctable) accident. Give Paul a chance to respond before raising the pitchforks, okay?
redsymbol··on Tell HN: A small HTTP/REST dev utility I made. Hope you find it useful. Enjoy.
Gotcha, thanks!
redsymbol··on Tell HN: A small HTTP/REST dev utility I made. Hope you find it useful. Enjoy.
Thanks for the feedback. Re the request path, that was intentional: since the path will always be "/", I didn't see a good reason to explicitly print it; and instead just show the request method and protocol version. That said, I get your point: it's a bit surprising, so will consider modifying it.

As for how it's useful: Whatheaders.com is interesting and useful when you are working with some "black box" HTTP client, and which you cannot conveniently know what request headers it is sending. In particular, mobile-device web browsers, which are wildly divergent, capricious, and undocumented in their behavior; sometimes the only way to know what they are doing is to measure it directly. That's why I made it originally, in fact.

I imagine it would be similarly useful with any other kind of proprietary HTTP or REST tool or library if you don't have access to the source, and need to know exactly what headers it's sending in order to troubleshoot, etc. For something like Firefox with (e.g.) livehttpheaders installed, or standard vanilla web browsers like IE or Safari, IMO whatheaders.com isn't terribly interesting.

Be sure to read http://whatheaders.com/about/ for more details.

redsymbol··on Ask HN: Is legal language copyrighted?
I'm not a lawyer. You should talk with one before doing anything.

That said: I asked this question directly to my attorney a couple months ago, as she was reviewing a contract I had cobbled together from similar specimens I found on the web. She said that no, legal language found in contracts is not at all copyrightable in the USA. I've informally gotten the same response from a couple of other attorney friends over beers.

The funny thing is, from what I've been able to find about copyright law - again, as an entrepreneur and as an open-source/free software programmer, not an attorney - there is no explicit exception I know of for contract language. My guess is that common legal practice has evolved so that the courts won't enforce it, and attorneys won't pursue it, for a basic reason: it would be overwhelmingly stupid to do otherwise.

Contract language is normally intended to be precise, clear and unambiguous. If every contract had to be tweaked because some propane-tank business in Montana or something just happened to use the same wording before you did... well, that would be a minefield that makes the software patent mess look like a tranquil field of daisies in comparison.

redsymbol··on Why former employees say Microsoft can't innovate
Agreed, good point.
redsymbol··on Why former employees say Microsoft can't innovate
You know, I just realized that there has got to be a sample bias here. Almost by definition, ex-employees are more likely to have negative things to say about the company than those who have chosen to stay. Microsoft has been big enough, and for long enough, that no matter how great a place they are to work, many people would have had bad experiences - by bad luck and honest miscommunication, if nothing else - that caused them to leave.

I'm not saying the article's points are not valid and true; as far as I know, they are. Just pointing out that if we're looking at what EX-employees are saying, we're looking at reality through a certain filter.

redsymbol··on Ask HN: Marketing Books for Developers?
In early 2009, I got sick and tired of my incompetence with sales and marketing, and decided to learn. So I set out to learn, even if it meant sacrificing coding for a while.

Marketing (and its cousin, sales) has many facets, perhaps surprisingly many, with significant differences among them. Just like compiler implementation requires skills and knowledge different from 3D graphics coding, or secure web development, for example. At the "high end" of the marketing food chain, there are things like public relations. I personally don't know much about that yet.

Instead, I chose to focus on copywriting. Basically, the art and science of creating powerfully effective ads using only the written word. Often this means writing sales letters, i.e. several-page-long texts that sell something.

This focus has proven to be a good choice. It gives a very strong foundation that applies to other kinds of marketing and sales. For example, Adwords ads can be viewed as extremely short sales letters.

You asked specifically about books. Over the course of 2009, I worked through (not just read!) about half a dozen marketing tomes that people had recommended to me. In descending priority, my favorite three:

  * Hypnotic Writing by Joe Vitale
  * The Adweek Copywriting Handbook by Joseph Sugerman
  * Cashvertising by Drew Whitman
If you can read only three books, I'd suggest these, in the order listed. But if you can only read one, Cashvertising might actually be the best for you.

CAVEAT: Make sure you work through all the exercises the book has - and if it doesn't, invent them! Sugarman's book, for example, has few explicit reader exercises. So after each section or chapter, close the book and write an ad for your product, and/or some other product (real or imaginary), applying and exercising the principles you just learned. Use pen and paper, or better yet, a dedicated notebook. You'll miss out on at least 80% of the value of these books if you fail to do this!!

Another very good thing to do is to HAND COPY a good sales letter. Do it in long hand, on sheets of paper, with a pen or pencil. Why in the world, you ask? Because it's a powerful, powerful way to drill some of the more subtle advertising patterns into your subconscious.

Several important marketers - Dan Kennedy is one - famously recommend doing this with 100 long sales letters if you really want to manifest great skill in marketing. I've done about six of them myself, so far. Doing just the first one produced a difference in my skill that was too great to ignore.

Almost no one will do this, because it's so much work. A good solid sales letter may be ten pages, which takes me about three hours to hand copy. Let me just suggest that it's worth it, and you may want to try it out once to evaluate for yourself. Just make sure you use a GOOD (meaning, highly financially successful) sales letter - you want to make sure you ingrain good habits, not bad ones!

P.S. Cialdini and Collier are often recommended. Personally, I found less value in them. Cialdini's is good, but very, very mental and intellectual. That can be great for a typical advertising person. But most people reading this (programmers) need to be LESS mental, to grok marketing, not more. Reading even a few pages of Cialdini makes me feel "stuck in my head".

For Collier, I'm personally glad I took the time to read it, but for most people in your shoes it is probably not the first priority, and IMO not even a "must-read" at all.

EDIT: fixed formatting and a typo

redsymbol··on Chinese Python: “Translating a programming language”
I discovered a fascinating book once. It was written for English speakers, and explained certain Japanese words. There were, I believe, about thirty chapters, each covering ONE Japanese word: introducing the cultural background needed to truly understand the word; explaining all of its rich, subtle meanings... an attempt to teach the idea the word truly represented. The thesis is that many important single words simply have no direct, concise translation, to an English word or phrase.

Most mainstream programming languages today - from C, to Python, to Perl, to Java, to Javascript and Lisp [0] - were created by someone who was at least fluent in English - if not having that as their native language - and who "grew up" as an engineer by working with and studying other such languages. I wonder what kind of influence that has had on their design. Consider the if/then/else idiom that most programming languages have; or the while loop, or perhaps even the common OOP concept of classes (sets) and instance objects (members of a set).

Soon, if not already, there will start emerging higher-level, general-purpose programming languages that are conceived, designed, implemented and evolved by someone (or a group) that cannot read or write English, but has been fluent their whole life in Mandarin - someone who is a product of Chinese culture. Or Hindi, and India. Or Tagalog, and the Philippines. Some language and culture vastly different from that of the Germanic and Romance tongues, like English.

I wonder what those computer languages will be like. Obviously there must be similarities; it's still going to have to run on some hardware derived from von Neumann architecture, almost certainly. And it's difficult for me to imagine the subroutine / function call abstraction not being present in some form or another. But then, the only natural language I know well is English. Perhaps there are alternative forms I have not imagined yet.

The linked article describes an important start, I think. Even if it's technically just a different keyword / identifier mapping, perhaps it will start the gears turning in native Chinese speakers' minds.

[0] I consider Ruby a current "mainstream" language like Perl/Lisp/etc., since it was derived from the other languages mentioned - see this post by Matz: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/...

Edit: fixed a few typos.

redsymbol··on Why Speakers Earn $30,000 an Hour - Confessions of a Public Speaker
Whenever I give talks (2 or 3 sizable tech talks a year), I practice... a LOT. Like, go through the full, whole talk at least 15 times in its polished final form. If you count the more exploratory earlier practices, I think it's more than 30 or 40 practices, every talk.

So far I've only ever been paid a portion of travel expenses, which is why I don't practice more (honestly, I think practicing the final version only 15 times is kind of lazy). At $5,000 a gig... I think in the end I'd still be making a bit less per hour than I do programming, because I'd practice a lot more. The good thing is that I could suddenly afford to take the time to practice more :)

redsymbol··on The Zimbu programming language, by vim author Bram Moolenaar
Moolenaar is one of my biggest heroes in the software world. He created a tool (vim) that is probably on the short list of great free software... one that has catalyzed the creation of so many other tools. And he did it in the name of charity, to raise money for a children's clinic in Uganda.

If I end up having one tenth of the positive influence on the world as this fellow has already done, I'll count my life successful.

redsymbol··on SCO fires CEO Darl McBride, architect of litigation strategy
upvoted for making me laugh :)
redsymbol··on Criminalizing everyone - Needed: A 'clean line' to determine lawfulness
It's easy to have an emotional reaction to this. But maybe it's smart for us to think coolly and practically for a moment. This trend is probably unlikely to reverse in the short term. Until then, how can those of us in the USA protect ourselves and those we care about?

The two examples in the article were both entrepreneurs and small business owners. Would it have helped them to have better legal representation from the beginning? If so, exactly what form?

The article didn't mention their legal structures used; the fuel cell fellow may have been incorporated somehow, but I'd bet the orchid importer's vehicle was a sole proprietorship. Would operating as a corporation or LLC have helped?

I doubt this is something we can answer fully in this thread. But maybe we can get started.

-Aaron

redsymbol··on The New Google Search
> Its a completely new backend they are using so ordering of results is different.

Indeed. A search for "velociraptor defense" in the old version finds 72,100 results in 0.39 seconds, while the new backend yields 565,000 results in 0.30 seconds. That's nearly eight times as much practical defensive intelligence delivered 23% more quickly!

(ok, ok... I'll shut up and stop eroding the average comment quality now.)

redsymbol··on Simtec Entropy Key
I doubt me or my business happens to have any real, justifiable need for this now. But the enthusiastic geeky kid in me thinks this is super cool :)

Looks like it may be available by my birthday in a few months, maybe I'll suggest it if someone asks what to get me as a gift.

redsymbol··on Developing iPhone applications using Ruby on Rails
Re ignoring feature phones: Good point. Making a distinction between feature phones and smartphones gives us the choice to not support the former. At least in the USA, it's probably rarely worth the effort. (Don't know about other markets.)

Native is sometimes the way to go, for the reasons you mention. It's also AT LEAST an order of magnitude more expensive - especially for several platforms... It's good to see things like geo-location.js [0] taking shape.

cheers, thanks for the comments Aaron

[0] http://code.google.com/p/geo-location-javascript/

redsymbol··on Developing iPhone applications using Ruby on Rails
When developing websites recently with an eye towards mobile visitors, I've been using the device detection classify the requester into one of three categories, and serving a possibly different presentation for each:

  - smartphones
  - feature phones
  - desktop and laptops
I'd like to ask those of you doing mobile webdev what your take is on this. Do you use these three "buckets"? Or see any problems with doing so? Do you make different distinctions? If so, why?

Some background:

Been thinking much more about mobile users in the last few webapps I've made, using device detection to somewhat customize content depending on broad device capabilities. IMO this is a good middle ground between two extremes: (a) serving a lowest-common-denominator html response that will work OK for every requester, and (b) serving something slightly different for every (OS, browser, device) combination you care about. (And neglecting those you don't :)

So-called "feature phones" are the kind that still make up most of the cell phones people on the planet use every day. Smartphones are the more recent and, uh, featureful devices like the iPhone, Android/G1, Palm Pre, and color Blackberries.

The line between a feature phone and smartphone is fuzzy. Generally, though, a device called a smartphone will have a full qwerty keyboard for input (hard and/or soft); larger full color screens; higher data connection speeds; and richer web browsers capable of rendering full XHTML documents and (critically) complete, efficient javascript engines.

Smartphone browsers will often present the average web page more or less acceptably. However, there are a lot of good reasons to present something different to smartphones and to desktop clients. The article lists some. For an excellent demonstration, visit espn.mobi in a smartphone (which automatically serves you the mobile version). Then, at the bottom of the page, click on the link that lets you visit the desktop version, and compare.

My opinion is that, if you're going to do device detection, it makes a lot more sense to develop a smartphone version than an iphone version. Even if the iphone is the most common smartphone now (at least in the USA), a large double digit number of smartphone internet users do NOT have an iphone OS device. And who knows what the mobile landscape will look like in a few years, when the websites you're making now will hopefully still be in use?

Please share your thoughts if you've been making mobile websites.

On a related note, if you want to learn about mobile webdev, this is video is an outstanding overview of the current landscape:

http://video.google.com/videoplay?docid=-6391025572807739271

redsymbol··on Survey Confirms: Bing Will Bomb
Starting to hope it doesn't. Bing is sending lots more traffic than Google to one of my sites.
redsymbol··on Ask HN: P=NP, what do you do?
1) Cash in your discovery for US $1 million [0].

2) Fund your own disruptive startup incubator, a la YCombinator (using the publicity from your discovery to attract hoards of scrappy geniuses).

2.5) Optionally, focus on startups that monetize P=NP - again, for publicity reasons (as well being able to leverage your own expertise in evaluating biz ideas).

3) Profit!

(profferred tongue in cheek, of course - it's not very private :)

[0] http://www.claymath.org/millennium/P_vs_NP/

redsymbol··on Things Wolfram Alpha Does Better (And Vastly Different) Than Google
The most interesting thing about Alpha so far is the effectiveness of its public relations. A LOT of news organizations are talking about this. I've honestly been trying to ignore it, but that has been hard :)

Very curious how they built that kind of press coverage. I'm sure they hired a good PR firm, but still.

(It's scary how much I've become fascinated by marketing issues lately. Am I turning into a sales/marketing person?! I'll be the only marketer who VCs his emacs extensions in a git repo...)

redsymbol··on I don't want to register before downloading
I'm speaking as an entrepreneur and business owner here - not an end consumer of the download who will, quite reasonably, take something they want for free, if given the choice not to pay for it.

If the goal is to be financially successful, it's really important to ask what the purpose of the business communication is - including an offer of something for "free".

In reality, if the management of the business is honest, they'll recognize that they will nearly never give something away truly for free. There are strings attached that at least potentially can be used to increase revenue and profit. Otherwise why do it. That is why I put the word free in quotation marks above.

(Exception, sometimes: doing something for public relations reasons. That's uncommon compared to what we're talking about here.)

If a website requires you to give them an email address before being able to download, I think most people here will recognize that the download is not truly free, despite you not being required to give them any money. You have given them your contact info, raised your hand (identified yourself) as a potential customer, and given them the right to email you in the future (until you opt out).

Another idea, which I've implemented recently in my own business, is to structure things so that the "free" offer is structured in a series of emails delivered over time (so 10-minute spam email boxes won't work). Each email has sales copy encouraging the recipient to buy the for-pay product. The email sequence has continued value, so they mostly choose to stay subscribed.

Some people won't do this. Guess what: they unlikely to give you money anyway. If you read the comments of the original post, some poster calling himself "Heavy Battle Wombat" explains how basically he'll do everything he can to get around the strings being attached to the free offer. And if he can't he will go somewhere else instead.

So my uncircumventable mailing list will repel him. Excellent. He is very unlikely to ever want to pay for anything to begin with. Now I don't have to waste time and other resources trying to sell to him, and can focus more on serving those who have identified themselves as more willing to pay for goods of value.

Let me be clear, I don't mean to cast HBW as spoiled or "bad" in any way. He just has a certain value and belief system with regards to free-as-in-beer software downloads, and IMO there is nothing wrong with how he's choosing to move through life. Really. At the same time, it implies he is less likely to be a profitable customer for certain kinds of businesses. So I'm sure not going to bend over backwards trying to get him as a customer.

I'm being a little more pointed and blunt here than usual, because frankly this is important. It's obvious some people are thinking with their emotions rather than their heads, enchanted by a romantic notion that it'd be wonderful if everything would be free. (It would, and I'm working towards that world of great abundance-for-all myself. But the notion is not realistic yet.)

If you disagree, I welcome your comments, but please don't expect me to reply if you have not actually done it and can clearly support what you're saying with successful experience. (To edw519, who said "Make something so compelling that you won't need to collect emails" below: My friend, I am talking to you :)

redsymbol··on Tell HN: Monetization Meetup (May 18, 2009) at Googleplex (Bldg #43)
Thanks!
← PreviousPage 8 of 9Next →