Tribal golB: Sep'10

link to post

2010-09-01 Back from Vacation

golB is back from its vacation.

I miss the open dialog with my readers. While golB is on vacation, I continue the correspondence privately. Some of the feedback I get is extremely insightful. I miss sharing these insights with my readers. golB is back from vacation as of today.

link to post

2010-09-01 Wants to Learn Lisp Quickly

Thank you for your email. I was looking to solve the problem [of learning Lisp] by getting job where I would be programming in Lisp, which is proving to be extremely tough. I'm looking into other ways I can solve the problem. I appreciate your idea of the babysitter, but it won't really work in my situation.

Maybe you could provide me with some advice on the best, quickest, most effective way to learn Lisp. I have installed Ubuntu, with CLISP. I can evaluate Lisp expressions in the CLISP command prompt. I was reading Paul G's ANSI Common Lisp, then briefly jumped to Practical Common Lisp, which partially introduced me to emacs and slime. Now I'm trying to use emacs and slime but its taking a bit too long to figure out how to use it as an IDE. Sometimes I wish I was still 14, I'd have all the time in the world to become an expert in emacs, slime, CLISP, UNIX, Java, C, C++, Python, Pearl.

I don't, as a rule, give people advice on what they "should" do. I can share my own experience learning Lisp and associating environments.

When I discover Lisp, I have 10 years of industry experience and a Master's degree. I am an Emacs user, including using Gnus for email. I run Linux on my home and office desktops. I feel very comfortable on the Unix command line. I'm working a boring corporate job. I lament having experience. I recall how easy it used to be, when I was younger, to jump into new languages, when I had no experience with any of them. I recall feeling shame about asking newbie questions when I have so much experience.

I work though the exercises in Paul Graham's ANSI Common Lisp. I print out a copy of his On Lisp. I switch from Red Hat to Debian which supports many Lisp packages out-of-the box in its binary distribution. When Practical Common Lisp comes out, I buy a copy and find it very readable and on the lighter, less academic side of Lisp. I like Peter's treatment of the LOOP macro. I ask questions in comp.lang.lisp.

I rewrite one of my Java programs in Lisp. I notice the Lisp version uses 10 times fewer lines of code. I meet Paul Graham and many of the folks at Franz. I notice that I start answering questions in comp.lang.lisp. I write a larger project in Lisp, a technical analysis package. I notice how quickly the level of abstraction rises in my code. I start with a string representation of a historical price quote, and two pages later I define indicators like moving averages in terms of lists of these quotes. I imagine the mounds of Java code in dozens of file that do an equivalent job. I notice that I refer more to the Lisp Hyperspec and less to introductory Lisp books.

I notice that learning new languages is again easy for me. I no longer feel that I need to be a know-all. I notice that few programmers understand the languages they use in any kind of depth. I notice feeling that's it's OK to have no deep understanding of a language as long as I understand how deep my understanding of it is. I notice that I categorize new languages I learn in terms of the features they are missing comparing to Lisp.

link to post

2010-09-02 Give Peace a Map

http://www.ted.com/talks/thomas_barnett_draws_a_new_map_for_peace.html

Thank you for the link.

link to post

2010-09-03 Learning Perspectives

I really appreciate the experience you shared with me, thank you. I notice the same type of praise of the language in Paul Graham's writings echoing in your experience. I'm wondering if, after learning Lisp, you've ever needed to complete a task with another language? Also, do you wish you did anything differently on your journey to learning Lisp?

I'm using the online version of PCL, but it looks like I'll have to buy the hard-copy. I got a little lost when I reached the setup of the Lisp Box, I installed emacs, slime, clisp all separately in my ubuntu distro via apt-get. I wish there was a step by step guide to get me quickly up to speed... I can figure it out without one, it just takes extra time. Currently I only know C#, SQL and VB.NET. I have Bachelor's degree in Management Information Systems (which is proving to be very useless) and I'm thinking about obtaining a Master's in Computer Science, but I'm not sure how useful it would be. Currently I'm taking some programming classes at Contra Costa College in Assembly, C++ and Java to give me a broader perspective, and it solves the problem of the child tugging at me every 2-3 minutes. They don't have a lisp class, but I think I can travel to the library for a couple of hours to learn it myself after completing the assignments.

What are your thoughts on a Master's Degree in Computer Science?

Sorry for bombarding you with all these questions, some day I'd like to meet you, I feel I could learn a tremendous amount from you.

Thank you for sharing your feeling that you are learning from me. It is tremendously rewarding for me to get this kind of feedback.

The languages you know suggest that most of your experience is in a Windows environment. While it technically possible to write VB in a text editor, in practice Microsoft languages couple very closely with IDEs and graphical shells. Programming in Visual Studio takes a lot of pointing and clicking and dragging and dropping. Even when you type code, the IDE tries to auto-complete for you, and you end up going for the mouse all the time.

The Lisp environment you are learning presents a different way of looking at programming. It's a world of plain text source files and command lines. This worldview predates IDEs in the same way that walking predates riding a Segway. I don't judge one as "better" than the other, but going from one to the other may take some adjusting.

You may find Neal Stephenson's 1999 essay In the Beginning was the Command Line interesting.

link to post

2010-09-04 Disaster Relief

Hi Ari,

I'm very new to this. I can see I can buy the helicopter. That package doesn't include radio controller. Where can I buy the radio controller you connect to iPhone app? How much would it cost?

Would this helicopter be able to carry some weight such as a wireless camera?

I have a few things I am researching mostly related to Disaster Relief and health care. I am brainstorming how to transmit radio signal to either computer or iphone microphone from Earthquake Alarm so it can alert me to escape from a collapsing building.

It would be nice to learn if you can suggest any good reference in AudioQueues and RemoteIO. We can exchange note.

If my idea works, I may need a hardware developer to make chip prototype.

Thank you for your email.

You can buy the module (with an extra receiver) from the same website for $109.99. You can buy just the module from some distributors, e.g. Chief Aircraft for $49.99. Many physical hobby stores carry both the helicopter and the module.

I am not clear on the use case for your alarm design. If you want your iPhone application to respond to respond to sound input, it must be running in the foreground when the alarm sounds.

The official Apple documentation for AudioQueues is at http://developer.apple.com/library/ios/#documentation/musicaudio/Conceptual/AudioQueueProgrammingGuide/Introduction/Introduction.html. AQ is most useful when you want to take a digital audio stream and play it through the speaker or headset, or record audio from the microphone and write it to a disk file. It includes support for decoding codecs like MP3. A typical use case is playing audio streams from the Internet. AQ give you access to raw data, but at a latency of about 100 milliseconds.

Audio Units, and specifically RemoteIO Unit, give you access to low-level, low latency raw data. You work with raw samples, in real time. There are hard limits on how long you can take to process the data. You can get the latency down to about 5 milliseconds. The official Apple documentation is sparse. You can look at this blog entry for some pointers. You can also try to make sense of Apple's sample application for RemoteIO, auriotouch. The difficulty with this code is that you have to tease out the actual audio stuff. The application mixes together s lot of different technologies, including Objective C, "Subjective" C, C++, Objective C++, OpenGL, Fast Fourier Transforms, inline assembly, multitouch event processing, etc., in one big bowl.

link to post

2010-09-04 Tough Love

see link - tough love message for start ups

How to Lose An Investor Before You Finish Speaking

Thank you for the link.

You may wish to take your feelings about $TOUGH_LOVE to a Tribe meeting.

link to post

2010-09-08 Nails it Down

Hi Ari,

How's it going? I think about you when I receive the attachment.

Pretty neat!

SiDidieravaitunmarteau.wmv

Regards,

Thank you for thinking about me--and for the video.

link to post

2010-09-14 Other Dice Art

I thought you'd appreciate this:

http://www.buzzfeed.com/sarab4/amazing-dice-art-rqt

Thank you for the link.

link to post

2010-09-15 Kds n iPhn

Chk today's Wall Street Journal p B6

"Kid's ...Take the App Route"

Sent from my iPhone

Thank you for the pointer.

I don't have a copy today's Journal. I let my subscription expire after the Murdoch takeover.

link to post

2010-09-16 Kids on iPhone

WSJ Kid's Apps.doc

Thank you for the article. I find the price tag Mr. Trachtenberg quotes, $12,000 to $30,000, a particularly interesting piece of information. This is for software-only apps with no hardware components.

link to post

2010-09-20 The Case for Etch-a-Sketch

Official Etch A Sketch case makes iPad even more attractive to your kids

TUAW

Thank you for the link.

$39 is an interesting datapoint for a piece of plastic with knobs that don't spin. I wonder how much more the market can bear for a functioning Etch-a-Sketch peripheral.

link to post

2010-09-20 Wants to Know

Has your provisional patent been filed? I want to know what you're working on :)

[My business] seems to be doing well. I've got growing pains.

Thank you for your patience. The secrecy is over. I am building an iPhone radar detector.

link to post

2010-09-21 Fights Hackers

Guys,

I have been fighting for months on hackers already. Since March this year, my site got hacked over 50 times. I had to restore entire website properly 30+ times.

We finally started a more robust site at [link]

Our site has 900+ products, update each time take about 4 people 60-80 hours. Just a lots of pictures and specs to update.

I just figure to let you guys know what happen to me lately. I hope this could be an end of this, I lost track how much we lost on order this year already.

Thank you for sharing your process.

I wish your new site more resilience than the old one.

The positive intention of $ANGER is boundary management. You may wish to bring your feelings about setting boundaries to a Tribe meeting.

link to post

2010-09-24 I Haz Can Spam?

Dear Mr. Krupnik,

We wish to welcome you to [Name] Store.

You are now registered with our store and have account privileges: With your account, you can now take part in the various services we have to offer you. Some of these many services include:

Order History - View the details of orders you have completed with us.

Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out.

Address Book - We can deliver your products to an address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.

Products Reviews - Share your opinions on our products with other customers.

For help with any of our online services, please email the store-owner: [email]

This email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to [email]

This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

Thank you for your note. When I buy your product on your website, I notice that I have no option to opt out of creating an account on your website. While I am looking forward to receiving the physical product I order from you, I have no interest in your promotions, address books or permanent carts.

You may wish to bring your feelings about $SPAM to a Tribe meeting as an entry point.

Please delete my account.

link to post

2010-09-24 Wants to Talk iPhone Dev

Hi Ari,

Nice meeting you [at the Hacker Dojo startup event]! Let me know what information you would like me to share with [radar detector manufacturer].

The drive was pretty interesting. Very busy. We'll be back in the bay next week, let me know if you want to get together for coffee. I would like to talk iphone dev with you.

Thank you for sharing your process.

I encourage you to share with your contact everything you know about us from the show, including the state of our prototypes and MFi licensing.

I wonder if you can be more specific about the dev you want to talk.

link to post

2010-09-24 parrot ar.drone

did you see this?

http://ardrone.parrot.com/parrot-ar-drone/usa/how-does-it-work

may be similar to what you are doing...

Thank you for the link. This is becoming an FAQ item.

link to post

2010-09-25 Patent...

I guess the follow up question is obvious... the antenna on an iPhone (and presumably other smartphones) is capable of detecting radar signals?

Possible applications:

The crowdsourcing real-time map is the focus of this venture. Your other suggestion puzzles me--I wonder what use you can derive from calculating these odds. While only one state in the Union prohibits radar detectors for private cars, gambling is illegal in most of them.

To your followup question, the iPhone by itself cannot detect radar. I am building a bit of hardware that connects to the phone that can.

link to post

2010-09-26 Needs iPhone Device Integration

Ari,

It's been a while. I have been swamped with launch activities as well as biz dev.

How are your projects going?

We are bidding on some very interesting projects which require device as well as enterprise system interfaces.

If some of these projects materialize we will need some very smart iPhone/iPad/Android programmers locally.

Interested? Know others who may be interested?

Let me know.

Congratulations on your business expansion.

I am very happy with how my projects are going--thank you for asking. Manufacturing in China has its challenges, as I'm sure you can appreciate from your experience. These challenges are an enormous opportunity to practice accepting people as they are, rather than how I expect them to be.

I recall the assertion in your last communication that you cannot afford my consulting rate. I wonder if the growth of your business changes that assertion.

link to post

2010-09-26 Has Funds, Needs Integration

Ari,

Good to hear that things are going well for you.

With regard to your consulting rate, let me say that we are better placed to have a discussion [now than before]. It is likely that we will need a greater time commitment as well.

I like clarity in commitments.

I wonder what can I do for you.

link to post

2010-09-26 Made For iPhone

We are doing some iphone mfi stuff with our device and just wanted to compare notes. We are having some trouble with our authentication.

MFi authentication is a favorite topic of mine.

As you know, Apple are rather strict about confidentiality in the MFi program. I would like to have your contract number before we have that conversation.

link to post

2010-09-26 Safety Net

http://www.boston.com/bigpicture/2010/09/scenes_from_china.html#photo38

A worker walks out of a factory building outfitted with nets, installed to prevent workers from jumping to their deaths, at a Foxconn factory, in Langfang, Hebei Province August 3, 2010. There have been nearly a dozen suicides at Foxconn plants around China this year alone, prompting calls for investigations into poor working conditions at the plants that make parts for customers such as Apple, HP and Dell. (REUTERS/Jason Lee)

Apparently it's more convenient than improving working conditions.

I recall seeing similar nets on many government buildings in Moscow in the 1980s. Somehow, nets on the KGB headquarters st Lubyanka stand out in my memory.

The story goes that in the old days, personnel turnover at all levels of government hierarchy is high. Officials who lose the high office prefer jumping out the window to going down into the cellars--they know all to well what happens to them there.

Moderns photos of that building show no safety nets. Perhaps this signifies an improvement in working conditions.