This week's podcast features Juan Vuletich and Jecel Assumpcao, two of the members of the Squeak Oversight Board. This is part 2 of two - if you want to hear part 1 first, download that here. This is our second talk with member sof the SOB; we plan to do regular updates with them over time.
To listen now, you can either download the mp3 edition, or the AAC edition. The AAC edition comes with chapter markers. You can subscribe to either edition of the podcast directly in iTunes; just search for Smalltalk and look in the Podcast results. You can subscribe to the mp3 edition directly using this feed, or the AAC edition using this feed using any podcatching software. You can also download the podcast in ogg format.
To listen immediately, use the player below:
If you like the music we use, please visit Josh Woodward's site. We use the song Effortless for our intro/outro music. I'm sure he'd appreciate your support!
If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!
The saga continues. A reader forwarded us this note he got from AT&T, simply stating that his iPhone 4 preorder had been cancelled, for no apparent reason. And he's not the only one.
Follow the link for an image showing the cancellation notice. There are a few hard foreign policy issues about which it's common to say (about one party or the other) that "they never miss an opportunity to miss an opportunity". Well, when it comes to having positive PR, that pretty much defines AT&T. IT's as if they see the possibility, and run. Fast.
My daughter got me Alan Wake
for Father's Day - I started playing it late last night. It's an interesting game - a lot like an episodic TV series with a game component added on. The only complaint I have so far is the controller actions - what on earth were they thinking when they made the "B" button the action one? That's contrary to every other game I've played :)
I have to admit, it does a good job of setting the atmospherics though. It sort of freaked my daughter and I out when a light blew out in the room while we were playing :) If you don't get that - light (or its absence) plays a big role in the game. Your flashlight seems to be the best weapon (at least so far; I'm not very far in).
Phishing isn’t (just) about finding a person who is technically naive. It’s about attacking the seemingly impregnable defenses of the technically sophisticated until you find a single, incredibly unlikely, short-lived crack in the wall.
To be honest, I'm surprised that Doctorow got tripped up by the "Is this you" Twitter/Facebook thing though - that's a pretty well known attack. On the other hand, we all click on stuff without thinking too deeply about it, and url shorteners are a very useful attack vector.
It's getting to the point where I'm wondering whether copyright law has any value at all. Witness this idiotic proposal from Germany:
It looks as if publishers might really be lobbying for obtaining a new exclusive right conferring the power to monopolise speech e.g. by assigning a right to re-use a particular wording in the headline of a news article anywhere else without the permission of the rights holder.
I can see it now - the literary police swooping in and shutting down a blog for malicious reuse of a sentence. If sentences can be copyrighted, are there any limits at all? The only "positive" from this is that it reassures me that North America does not have a monopoly on stupidity with respect to copyright law....
I finished a second run through of Mass Effect 2 last night; now I'm looking for a new plot driven game to get. Any suggestions? Alan Wake looks interesting, but I'd love to hear from anyone who's actually played it.
This story explains why Microsoft isn't in the mobile game at all. Not long after touting Windows Phone 7 as the next big thing, they've announced Windows Mobile:
The company has previously announced the Windows Phone 7 OS for smartphones. Microsoft's focus on consumer mobile devices will continue through the Windows Phone brand, Kelley said. It's unclear if the Windows Embedded Handheld announcement means that Windows Phone 7 will not support enterprise capabilities originally promised for that OS, or if Windows Embedded Handheld and Windows Phone 7 will compete with each other for business users.
It's becoming clear to me, at least, that the rot at MS starts at the top. Ballmer is a sales guy with no grasp of what his company does, or of where the industry is headed. He needs to go - and whoever they replace him with should start by radically downsizing the company. If it's big enough to come out with this kind of confusion, it's too big.
I did a screencast on the mini-aggregator code recently - it allows you to specify a set of feeds (possibly with content filters), and push out an output set of links. I thought it might be nice to actually start using that - so over on the sidebar, you'll notice a new section titled "Related". Under that I have a set of the most recent (only 1 deep) posts from some of the Smalltalk blogs I read. It auto-updates via cron every fifteen minutes, so it should stay current.
Today's Smalltalk Daily looks at immutable literals in Smalltalk - and how to deal with legacy code that does not know about immutability. You can watch it on YouTube right now, or follow this link to the video.
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
Patrick McKenzie explains why everything you think you know (as a software developer) about names (personal names, not variables) is wrong. While email addresses don't share all of those problems, it's not safe to assume that everyone who goes into your system will have one...
I can choose to place an ad in the New York Times if my target is nationwide or in my town’s paper if it is locally relevant. I can direct (control) who sees my ad. The folks following me on Twitter are from all over the world. As far as I know, there isn’t a simple way to reach only the those in a particular market. Nor do I currently have a strong enough local base of followers. I would need to find someone else local with a bunch of followers and hope they’d re-tweet for me.
The targeting thing is only partly correct. Why? Well, what are the circulation numbers? What's the demographic uptake? At least in the US, the readership for printed news drops through the floor the lower the age bracket gets.
The better question is, would traditional ads do you much good anyway? I still think most advertising is a shared fiction, where the buyers and sellers agree to pretend that something useful is happening.
It sounds to me like the mobile phone field is still moving to quickly to get definitive data - the studies on cell phones and brain tumors were all done in a largely (gone now) analog spectrum phone world:
Unfortunately, there were flaws and vagueness in the Interphone study, starting with the fact that it was based on cell phone use six years ago and out of date compared to today's 3G-class phones. This enabled the CTIA to cite it as evidence that cell phones were not a definitive factor in cases of brain cancer.
Then we had 2G digital for a bit (still do), and 3G, while mature, is still rolling out. 4G (LTE) is right around the corner. Nothing has been in the field long enough for a longitudinal study to yield useful numbers. Even if 3G and LTE settle down and stick for awhile, you'll still have to wait for years before there's enough data. As I was saying on a different topic yesterday, we just don't know what we don't know...
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
This story out of New Scientist about the sun is one of the reasons I get skeptical about anything premised with "the scientific consensus is...". It appears that we don't know what we don't know, at least about the sun:
But for the past two years, the sunspots have mostly been missing. Their absence, the most prolonged for nearly a hundred years, has taken even seasoned sun watchers by surprise. "This is solar behaviour we haven't seen in living memory," says David Hathaway, a physicist at NASA's Marshall Space Flight Center in Huntsville, Alabama.
The thinking had been that after the (somewhat prolonged) solar minimum, sunspots (and solar storms, which could cause grief for power systems on earth) would be back with a vengeance. However, they aren't, and no one seems to understand why. This part is what should give people pause:
Even with the solar cycle finally under way again, the number of sunspots has so far been well below expectations. Something appears to have changed inside the sun, something the models did not predict. But what?
Models are useful, but they depend on data - the more data, the better the model tends to be. What if you only have partial data? Or worse, what if you aren't even sure what data you still need? In fields like this - solar weather - the models obviously need more data before they can be fully accurate. That's not anyone's fault; it's not as if we know how to send a probe into the sun and have it transmit data. It should give us pause about any scientific field that relies too heavily on models that are derived from partial data though...
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
Even with all the problems, I guess I'm glad that I pulled the trigger last night - 9 to 5 Mac is reporting that new pre-orders are backing delivery up into July.
I'm a big fan of only adding scaling to a system when you need it - but there are times when you know that you are going to need it. Like, say, yesterday, with the Apple/At&T iPhone pre-ordering system:
They're just using some web interface, not the exact same customers are using online, but not much better. It's probably the same servers. Basically, they were getting one pre-order thru every 20 minutes. They said the problem was system wide. Here's how it worked: They just kept mashing on the 'submit' button and getting error after error. On the umpteenth try, it'd go through and then the next step, whatever that was, would get error after error. After a long time, it would finally go through. What's worse is that the first step of the process reups your 2 year contract, so you can't walk away if you get fed up. I had to stick around until it went through, or i'd have a new contract but no subsidized phone.
I ran into that myself - and the error message from the Apple site probably confused some people. The site told me that there was an error at the point where I entered my Apple ID. That made me wonder, so I pulled out my existing iPhone and asked it to update a bunch of apps - just to get prompted for my password. I hadn't entered anything wrong; it was just the servers having problems.
This isn't a new thing, either - you would think that Apple and A&T would be ready for this by now.
As the iPhone 4 preorder disaster worsens by the minute, the blame looks to fall squarely on AT&T's shoulders as we learn more about what went wrong. The most damaging of these may be an source close to the carrier which now claims the system which AT&T was not tested before the launch.
From May 2009 to May 2010, Quantcast finds, Apple's share of the mobile market slipped 8.1 percent. In that same time span, Android's market share jumped up by 12.2 percent. And remember: These numbers don't even take into account the HTC Droid Incredible or HTC EVO 4G, both of which have been selling like hotcakes, nor do they factor in piqued interest in older Android phones thanks to Google's new Android 2.2 upgrade.
There are significant differences though - Apple has the app store and a lot of good apps; the Android app situation is progressing, but it's not the same seamless experience - yet. I don't know that it's a sure bet that history will repeat, but if Apple doesn't pay attention - over the air updates, easing up on some of the sillier app store rules - they may paint themselves into a corner they can't escape from.
I apparently qualify for an upgrade at cost - i.e., I'd only have to pay for the new iPhone. I've been on the Apple and AT&T sites multiple times today, pondering :)
France enacted a "three strikes" law for digital copyright violations, so one of the ISPs there started offering a service (2 euros a month) to sit on user PCs (Windows only) and monitor for p2p activity. That's when the stupid started to pile up. The application periodically pings a server for updates - people looking into it found out that it's a Java servlet listening. However:
Nothing too out of the ordinary there except that all information is not only being transmitted in the clear but all information on that server is public (via http://195.146.235.67/status), meaning that every user had their IP addresses exposed to the public. But it doesn’t stop there.
It gets worse - hackers can apparently use the client apps to inject malware onto end user systems. This is what happens when you decide to solve a "problem" (p2p copyright violations) with complex "solutions".
That server doesn't seem to be accessible anymore, but go ahead and read the story - it's just too funny in a pathetic kind of way.
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
Bert Freudenberg has Etoys (in Squeak) ported to the iPad. Whether it ever makes it past the app store hurdles in front of it probably depends on what happens with Scratch. I embedded Bert's YouTube video below:
At Wired’s Business Conference in New York City, Starbucks’ Howard Schultz announced that the coffee giant is now offering free Wifi to customers beginning July 1.
That's a cool idea - it'll certainly make me look for Starbucks shops when I travel.
I've added a new segment to the Seaside Tutorial - using JQuery for the Ajax calls instead of Scriptaculous. Tomorrow's screencast will add a video covering the same topic.
When I updated the Seaside tutorial, I ran into an interesting change from Seaside 2.8 - the way anchors work when you have an onClick Javacript action. If you don't include an #url: call with some string, you don't get an anchor. In Seaside 2.8, that wasn't the case - look at the code in WAAnchorTag in 2.8:
There was an explanation (I missed it; I don't track the Seaside mailing list that closely):
We removed that because it was causing unwanted side-effects in some cases. I suggest that you create your own #onClick: method that sets the 'href'.
However, for many applications (most, I daresay), it's simpler to just restore the 2.8 behavior. If you don't, you need to do something like this (note the usage of #url: below):
Before you can get the anchor to render. You need to do the same using older Scriptaculous/Prototype code - because the change is in the way anchors render. When I do screencasts on JQuery in seaside, I won't be including this change; I don't want to force people down that path. However, I think it's useful to know. Hat tip to Boris Popov for pointing me in the right direction on this stuff.
Today's Smalltalk Daily looks at how to inline a method within a class. Doing this will not remove the original method, as other classes may have code that references the original method. You can watch it on YouTube right now, or follow this link to the video.
You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.
You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?
Ahead of E3, lots of rumors are flying about what Microsoft will announce - there's been a story pulled from USA Today, alleging that Natal has been renamed Kinectic (does that mean that a release date for it is imminent?). This stuff sounds more based on reality:
But the other rumor circulating involves a diet-sized Xbox 360 (slim!) with a 250GB hard drive and integrated WiFi. Now that's something to get excited about. If it pans out, anyway.
Based on the pains I've been going through to get my XBox on the network in my exercise room, that sounds good :)
This week's podcast features Juan Vuletich and Jecel Assumpcao, two of the members of the Squeak Oversight Board. This is part 1 of two - we'll be releasing part 2 next week. This is our second talk with member sof the SOB; we plan to do regular updates with them over time.
To listen now, you can either download the mp3 edition, or the AAC edition. The AAC edition comes with chapter markers. You can subscribe to either edition of the podcast directly in iTunes; just search for Smalltalk and look in the Podcast results. You can subscribe to the mp3 edition directly using this feed, or the AAC edition using this feed using any podcatching software. You can also download the podcast in ogg format.
To listen immediately, use the player below:
If you like the music we use, please visit Josh Woodward's site. We use the song Effortless for our intro/outro music. I'm sure he'd appreciate your support!
If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!
One of the things that often ensnares new Smalltalkers (and sometimes keeps them ensnared) is the simple power of the language - the things you can do that are either hard or impossible in whatever languages you used before. For me, when I first started using Smalltalk (many years ago now, I'll admit) it was constructed message sends.
Consider a simple set of messages you might have in a class: #doThis1, #doThis2, #doThis3 (and so on). The idea is simple - you have a set of messages that have almost the same name, but differ in their prefix or postfix. So... the seemingly elegant solution is something like this:
Seems simple, right? The code is fairly straightforward, and all execution funnels into that one method. Except... when you come back to the code a few months/years later (or worse, a follow on developer does), and find the method #doThis4 - one of the first things you do is check for senders - and you find none.
I've been bitten by that more than once. It's easy to start blowing away the "unneeded" methods to spruce things up, and then have the application die in a stream of MNUs. After a bit of cursing at the debugger, the problem becomes clear, but a lot of time and energy was wasted in the process.
What that gets to is this: just because you can do something in Smalltalk doesn't mean that you should do it. Cleverly constructed message sends are almost always a mistake (it's a nice thing to be able to use when you need it but - there's almost always a simpler solution). Clever handling of #doesNotUnderstand: is another one. Useful for proxy objects, usually just a bomb waiting to go off for anything else. Likewise, message eating nil code. That tends to work fine right up to the point when it doesn't, and then it's nearly impossible to figure out why things are working badly.
Other languages have their can/should not partterns as well, but Smalltalk seems to have a few that really excite people before they get bitten by them. You kind of need to take the Spiderman thing seriously - "With great power comes great responsibility".
Buyers complained about pressure to buy other add-ons such as covers, chargers, extended warranties and Telstra 3G SIM cards. They reported sales assistants said it was “company policy” or “Apple policy” to sell the devices only with accessories, or not at all.
This sort of tactic probably worked a lot better in the pre-internet era. Most iPad buyers are going to be savvy enough to whip out an iPhone and actually chek for evidence of such a policy, first.