As an athiest, sometimes I ask myself what do I believe? That is, what are those things I don't have proof for, yet I nonetheless believe. My core belief is that the scientific method will yield the closest thing to truth. While I may not understand the exact science behind, say, carbon dating, I believe that there are people who do understand it to the limits of human ability and our current state of knowledge, and that there is sound basis for their understanding. I believe that if it represented a flawed understanding, that other scientists would make their careers out of correcting the flaw. And that over time, the model will become more and more accurate.
But even this "belief" is subject to revision. Perhaps the scientific method itself will be improved upon.
Science has learned humility, which is why it now speaks more of "theories" than "laws". Einstein's theory of relativity refined Newton's laws. Science has learned that it must make all knowledge provisional... that any bit of understanding may be replaced by a deeper understanding. At each point, we have a picture of how the world works, but that understanding is subject to revision. Perhaps String Theory holds the key to the next breakthrough in understanding. If so, it will have to prove itself to a skeptical scientific community.
Skepticism is so important to progress in science. Any new idea has to prove itself to a skeptical community. This means it can take a long time for a new idea to become accepted. When I was a child, I remember a crazy notion that birds evolved from Dinosaurs. Now it is accepted dogma. Sufficient evidence was accumulated to convince a skeptical scientific community.
It is the combination of skepticism with a high burden of proof that makes it possible for science to advance in a sure-footed way. This is part of the scientific method, and one reason I can believe in the scientific method. I know that accepted scientific theories have been subject to intense skepticism and scrutiny, and have passed the test.
Can the same be said of religious belief?
Sunday, November 28, 2010
Thursday, October 21, 2010
Hyper Productive Programming
A couple of years ago, I started a payments company with a (non technical) co founder. We teamed up just before the stock market tanked, and needless to say, had a hard time raising money. Eventually we did raise some VC, but not much. Anyway, we had to build the product and the company on a shoe string.
I started developing a philosophy, born of necessity, of hyper productivity. There has always been the myth of the super programmer (think of the evil geek from Jurassic Park). The dude who can do it all. Generally this falls under the category of Hubris, and yet... with todays technology (open source and cloud computing), it is in fact possible for one or two good engineers to build and run a fairly complex software enterprise.
Cloud computing allows a software engineer to let somebody else, such as Amazon, worry about the hardware. The cost of using a service of Amazon is so much cheaper than buying equipment and staffing an IT department that it's really the only way to go.
Google Apps provides an intranet in a box. Group Scheduling? Check. Email? Check. Shared Documents? Check. The free version is fine for a small organization.
Leveraging appropriate software engineering tools keeps things productive. We use a Java stack with Hudson and Ant for build automation, Ivy for a repository, Junit for test, Eclipse IDE, GIT for source control, and Jira for bug tracking. It's what you'd expect to find in any large organization. Except that, uh, it's just me.
It seems like a lot of infrastructure, and it has certainly taken time to put all the pieces in place. But I don't regret any of the time spent in building the infrastructure. It's all paid dividends. If an outside observer were to look at our software stack and engineering infrastructure, they would easily believe it was supporting a serious software organization. And it is. Just a very small one.
Saturday, July 10, 2010
IFrame URL should be displayed by the browser
I wasted several hours struggling through a problem with facebook's OAuth implementation, trying to get it to work within an iframe. After a bit of research, I worked out that it is designed NOT to work in an iframe, to avoid phishing/clickjacking attacks, and this is, in fact, the recommended practice in the OAUTH spec. Because the user can't tell (from the URL bar) what site an iframe comes from, it is recommended practice that the OAuth authentication happen in a popup window, or a page that you're redirected to, but not a page within an iframe.
In my opinion, this is getting things back asswards. This is a browser problem. Browsers should display (on mouse over, or focus) the actual URL for the iframe. If you're on www.foo.com which contains in iframe hosted by www.bar.com, when you mouse over the iframe, it should display the URL for that site (maybe hovering below the URL bar). Perhaps the browser could also change the mouse pointer, or have the favicon for the actual site appear near the cursor. It could also indicate whether the iframe is secure (https).
IFrames are great, but they do have security concerns... but those concerns should be addressed at the browser level, not by requiring unnatural user interface design.
In my opinion, this is getting things back asswards. This is a browser problem. Browsers should display (on mouse over, or focus) the actual URL for the iframe. If you're on www.foo.com which contains in iframe hosted by www.bar.com, when you mouse over the iframe, it should display the URL for that site (maybe hovering below the URL bar). Perhaps the browser could also change the mouse pointer, or have the favicon for the actual site appear near the cursor. It could also indicate whether the iframe is secure (https).
IFrames are great, but they do have security concerns... but those concerns should be addressed at the browser level, not by requiring unnatural user interface design.
Wednesday, August 27, 2008
A year off
Well, it's been over a year now that I have been off work. I have to say, it's been a good year. At first, I kept myself very busy. I had many projects around the house, and I knocked them off steadily. After awhile, that drive wore off, and I got into a more laid back routine. Since we're home schooling the kids, there's always something to do.
In the past year, I taught Devon to read (starting with the basics - hop on pop, to the most recent book, Pippi Longstocking). Considering that Devon is quite dyslexic (I suspect), this has been a lot of work, but a great accomplishment. I also taught Devon how to ride a bike. He was quite nervous much of the time while he was learning, but now he's very comfortable on a bike.
Recently I've been teaching Claire how to ride, and she's getting good too. Today was the first time she went out without me running along beside her for support. I was riding with her (and Devon), and only had to help her occasionally when starting from a dead stop on a hill.
I re-read my last post on Claire. She has come a long way since then. She's still a handfull, but she has matured in so many ways.
In the past year, I taught Devon to read (starting with the basics - hop on pop, to the most recent book, Pippi Longstocking). Considering that Devon is quite dyslexic (I suspect), this has been a lot of work, but a great accomplishment. I also taught Devon how to ride a bike. He was quite nervous much of the time while he was learning, but now he's very comfortable on a bike.
Recently I've been teaching Claire how to ride, and she's getting good too. Today was the first time she went out without me running along beside her for support. I was riding with her (and Devon), and only had to help her occasionally when starting from a dead stop on a hill.
I re-read my last post on Claire. She has come a long way since then. She's still a handfull, but she has matured in so many ways.
Monday, December 31, 2007
The Claire Connundrum
Claire is a puzzle to me. From early on, she appeared to have a will of steel. Where Devon was like a willow that could bend with the breeze, Claire will was stiff with resolve, until she broke down, usually in tears. Claire can be a very difficult child. Now one should understand that we consider ourselves "enlightened" parents. That is, co-sleeping, attachment parenting, home schooling, favoring natural consequences over punishments and rewards. But despite our enlightened modes of child rearing, we've got tough nut on our hands. Of course, one could argue that we have a tough nut because of our child rearing methods. On the other hand, I believe Claire is Claire, and her personality would out regardless ("what's bred in the bones will out in the flesh"). The question is: what's behind it, and what to do about it.
But first, let me describe her behavior.
Claire wakes up in the morning. Sometimes, she wakes happily, and plays in bed for awhile. Sometimes she wakes up angry. Maybe she's mad that Devon is in bed with her (if they've both made the pilgrimage to our bedroom). Maybe she wants Mama to come up stairs, and Papa came. "I didn't say Papa, I said Mama (grrr)". Eventually she comes down, and there is invariably a bit of tussle over breakfast. She wants cookies. She can have 1 cookie if she eats her oatmeal first. COOKIE FIRST. Argue, argue. Eventually, "OK, Oatmeal first". After the oatmeal is served, "Actually, I want skinny bread" (baguette). "But we don't have skinny bread." "Go out and get some". This may go on for 5 or 10 minutes, but eventually she'll eat her oatmeal. Or maybe half of it. "I'm done, I want my cookie now... actually I want 2 cookies".
As a parent, one sometimes banks on the forgetfulness of children, and make promises that you don't really expect to have to fulfill. This is a dangerous idea with Claire - she remembers all, and lets you know, usually opening with: "You lied Papa. You said when we walked the dog tonight, you'd carry me on your shoulders, and you didn't do it." Usually I try to honor my commitments, but with Claire, there are *so* many negotiations though out the day that it's hard to remember them all.
Besides being constantly argumentative, there are a few behaviors that have been concerning me:
1) Lying. She lies rather a lot, and sometimes pretty convincingly.
2) Hiding things. She takes my wallet, and hides it. Then sometimes lies about it.
3) Insisting on being carried.
4) Wrecking a game in progress (i.e. walking on the chess board, scattering the pieces).
5) Hurting (biting, hitting, pinching). She's not doing this as much lately.
It's easy to see that she wants attention. We talk of "filling Claire's cup", but the analogy doesn't quite work, because it's more like filling a sieve. You spend hours playing only with her, and if you then try to spend a few minutes with her brother, she'll go to pieces.
Sometimes, she will play quietly by herself, for as long as an hour. These are rare periods where Claire is low maintenance. She also enjoys playing with other children, and is very socially adept (unlike her parents).
I think there are some deep feelings of inadequacy that Claire suffers from. She thinks she's an idiot. She thinks she's clumsy (in her words: "I'm the oops girl"). She doesn't feel loved. If we loved her, says Claire, we'd always do whatever she wants.
Claire is not an idiot. In fact, she's extremely bright. She speaks like a child far older than her 5 1/2 years and is a logical thinker. She is clumsy, however. There may be some developmental condition that we could treat with occupational therapy, but it hasn't seemed serious enough to treat. My wife says she's no clumsier than other girls her age, but I disagree.
I'm not sure how to best deal with Claire. It seems the key is to make her feel loved.
But first, let me describe her behavior.
Claire wakes up in the morning. Sometimes, she wakes happily, and plays in bed for awhile. Sometimes she wakes up angry. Maybe she's mad that Devon is in bed with her (if they've both made the pilgrimage to our bedroom). Maybe she wants Mama to come up stairs, and Papa came. "I didn't say Papa, I said Mama (grrr)". Eventually she comes down, and there is invariably a bit of tussle over breakfast. She wants cookies. She can have 1 cookie if she eats her oatmeal first. COOKIE FIRST. Argue, argue. Eventually, "OK, Oatmeal first". After the oatmeal is served, "Actually, I want skinny bread" (baguette). "But we don't have skinny bread." "Go out and get some". This may go on for 5 or 10 minutes, but eventually she'll eat her oatmeal. Or maybe half of it. "I'm done, I want my cookie now... actually I want 2 cookies".
As a parent, one sometimes banks on the forgetfulness of children, and make promises that you don't really expect to have to fulfill. This is a dangerous idea with Claire - she remembers all, and lets you know, usually opening with: "You lied Papa. You said when we walked the dog tonight, you'd carry me on your shoulders, and you didn't do it." Usually I try to honor my commitments, but with Claire, there are *so* many negotiations though out the day that it's hard to remember them all.
Besides being constantly argumentative, there are a few behaviors that have been concerning me:
1) Lying. She lies rather a lot, and sometimes pretty convincingly.
2) Hiding things. She takes my wallet, and hides it. Then sometimes lies about it.
3) Insisting on being carried.
4) Wrecking a game in progress (i.e. walking on the chess board, scattering the pieces).
5) Hurting (biting, hitting, pinching). She's not doing this as much lately.
It's easy to see that she wants attention. We talk of "filling Claire's cup", but the analogy doesn't quite work, because it's more like filling a sieve. You spend hours playing only with her, and if you then try to spend a few minutes with her brother, she'll go to pieces.
Sometimes, she will play quietly by herself, for as long as an hour. These are rare periods where Claire is low maintenance. She also enjoys playing with other children, and is very socially adept (unlike her parents).
I think there are some deep feelings of inadequacy that Claire suffers from. She thinks she's an idiot. She thinks she's clumsy (in her words: "I'm the oops girl"). She doesn't feel loved. If we loved her, says Claire, we'd always do whatever she wants.
Claire is not an idiot. In fact, she's extremely bright. She speaks like a child far older than her 5 1/2 years and is a logical thinker. She is clumsy, however. There may be some developmental condition that we could treat with occupational therapy, but it hasn't seemed serious enough to treat. My wife says she's no clumsier than other girls her age, but I disagree.
I'm not sure how to best deal with Claire. It seems the key is to make her feel loved.
Thursday, December 27, 2007
Opting Out
More and more often, I find myself opting out; taking the path less trodden. One of the first fixtures of modern culture to be jettisoned was the television set. My son, at 18 months, was obsessed by the images, and it just didn't seem like a good thing for a developing brain. So when it broke, we put it on the curb and that was that. Even before then, my wife and I were skeptical of TV, and never bothered getting cable.
We haven't exactly opted out of that other American icon: the car, although I almost never drive mine anymore, having switched first to a 14 speed bike, later simplified to a single speed (although that is perhaps a conformist move here in San Francisco).
My son had a very difficult time in his first few months as school. He was seriously distressed by the experience, and we decided the best thing for him was to be at home. With a typical maker-fair DIY attitude, we figured we could do it ourselves better. And so far it is working out well. He's much better, psychologically, and isn't suffering academically (in fact, he's already a year ahead of his peers in math).
In July of 2007, I resigned from my job. I probably haven't opted out of the work world for good. I suspect I'll have to go back, if only to retain my sanity. But so far, I am enjoying the time and trying to gain a new perspective on life.
We haven't exactly opted out of that other American icon: the car, although I almost never drive mine anymore, having switched first to a 14 speed bike, later simplified to a single speed (although that is perhaps a conformist move here in San Francisco).
My son had a very difficult time in his first few months as school. He was seriously distressed by the experience, and we decided the best thing for him was to be at home. With a typical maker-fair DIY attitude, we figured we could do it ourselves better. And so far it is working out well. He's much better, psychologically, and isn't suffering academically (in fact, he's already a year ahead of his peers in math).
In July of 2007, I resigned from my job. I probably haven't opted out of the work world for good. I suspect I'll have to go back, if only to retain my sanity. But so far, I am enjoying the time and trying to gain a new perspective on life.
Wednesday, October 10, 2007
Teaching Devon to Ride a Bike
Devon has had a bike with training wheels for a couple of years now, and a few weeks ago I decided it was time for the training wheels to come off. I had tried taking them off once before, but he was too freaked out by it. Anyway, I decided to try again. My basic approach was this: take it slow. I would take Devon out every day for short sessions, and I'd try to ensure that he didn't fall, and he'd be riding in a week. It has taken more like 3 weeks, but we're almost there. The (almost) daily lessons are extremely short -- 5-10 minutes. Sometimes we just ride to the end of the block and back a couple of times. At first, I held on to the seat the whole time, running behind the bike. After a few sessions, I could let go briefly. Now I only hold on to get him launched, and we are practicing starting from a stop solo. After that, it'll just be practice.
I should say that Devon is a nervous kid -- not exactly a daredevil -- so biking is scary for him. Other kids would throw themselves into it, and learn after a few falls. But Devon needs a gentle touch. I think he is gaining some self confidence by being able to ride without training wheels.
I should say that Devon is a nervous kid -- not exactly a daredevil -- so biking is scary for him. Other kids would throw themselves into it, and learn after a few falls. But Devon needs a gentle touch. I think he is gaining some self confidence by being able to ride without training wheels.
Subscribe to:
Posts (Atom)