<

LEGO Turing machine

Keywords: , , , , , , , ,

Turing Top
Turing Middle
Turing Bottom
Here’s a great LEGO based Turing machine, Denis writes -

I chose to implement in Lego a slightly different version of the original Turing machine. Instead of having a bi directional tape, it uses a stack. When the symbol beneath the stack is read (and removed), the machine changes “states” and can add zero, one or two symbols on top of the stack.

This variation is maybe very different yet it is possible to show that this simple machine has the same capabilities than a Turing machine. Among other things, it can emulate a Turing machine placed on the stack.

I programmed a small interface (through an Access database so Microsoft Access must be installed on your computer) to enter an test simple Automaton With Append (AWA or AAA in French). Follow this link to download the demo: AAA.zip.

One reason to build the automaton with append instead of the original Turing machine was that I avoided building a bi directional (near) infinite tape.

Read more | Permalink | Comments |

Read more articles in LEGO |

Digg this!

Here's a great LEGO based Turing machine, Denis writes - I chose to implement in Lego a slightly different version of the original Turing machine. Instead of having a bi directional tape, it uses a stack. When the symbol beneath the stack is read (and removed), the machine changes "states" and can add zero, one or two symbols on top of the stack. This variation is maybe very different yet it is possible to show that this simple machine has the same capabilities than ... Read More

Develop for Maintenance

Keywords: , , , , , , , , ,

One thing I always keep noticing is that people will develop things without even giving a thought to maintenance.  This somehow seems impolite to me.   I suffer from Coder Alzheimer’s, which means I can’t remember a thing I wrote after not seeing after three weeks. That is why I think about things like maintenance.  I am seeing all new code if I have been away from it for awhile!  Now that is not completely true, but imagine how it may be for the guy who has never seen your stuff.

Challenge: How Easy is Your Code to Run?

I bet you can’t guess how many steps it takes to get your project code running from a blank slate! In fact I bet it takes more than five additional steps for you to get it running. Five additional steps besides getting the source.

Try this. First check in any changes that you need to get in.  Now I want you to blow away your local source files. Everything. Remove the database from your database server. Remove your web settings. Remove any files and folders you may need for processing that didn’t go away with getting rid of your local source files. Go ahead, I’ll wait. :D

  1. Now, pull everything back down from source control.
  2. Crack open Notepad.
  3. Completely set up to the point you can finally run the application locally.
  4. Document every step in Notepad. Save that as a readme.txt file.

How many additional steps did you need to take to be ready to go again? Were you right?

If it does take more than 10 additional steps, you have failed.  If any of them involve getting a file or creating a folder (something you could give them with source control), you have failed (unless that is automated through another file that is in source control). Permissions don’t count as part of the steps.

Maintenance Task 1: Make Your Code Easy to Read

What I like to see when I crack open code are methods named in a way they they actually tell you what they do.  They are also no bigger than about 25 lines and do no more than one task each.  I like it to be so blindingly simple to read or understand that even non-technical people can look at my code and sort of understand what it is trying to accomplish.

Maintenance Task 2: Make Your Code Easy to Run Right From Source Control

I came onto a project a long time ago that it took me a couple of days just to get the thing to compile. Two days! Imagine how much money in lost productivity that was for the company! The other developers on the project never really thought about what would happen if they blew away everything locally and pulled down from source. So they had certain things that were not right. They also kept some things checked out because each of them had conflicts and didn’t really think about how to make it relevant for all of them.

Please make sure to get everything into source that you would need to run the application.  This makes it easy for someone coming in to just download the source and be off and running. This will save your company money.  It makes it really great when someone who has never even seen a line of code of yours that may have to suddenly work on it to be able to have an easy experience getting your code from source and running it as fast as possible.  What does that mean? That means if you have a file you are picking up and processing when running an application, put one in source and check it in. Make sure it builds to the output folder.  You don’t have to have it deploy to other environments, but you need to think about the guy who is developing it locally.

The other thing is don’t ever, ever, ever put yourself in a situation in team development where people have to keep a config file checked out locally because you didn’t use a relative path.  If the path is important to running the application, please make sure it is part of your (local) build process. That also means it should be in source control.  If there is a file that is important to your application, it needs to be in source control as well. 

Maintenance Task 3: Include a ReadMe File For Additional Setup Required After Getting Source

One thing I have seen that I really like is when I pull down open source projects and they come with readme.txt files that I can take a look at and instantly know what I need to do to get the darn thing running besides just getting the code. 

That file you created in the challenge?  Check that puppy into your project’s source control, preferably at the top level.

If any of the steps in the readme file involve creating files or folders, remove them and/or find a way to automate them. Don’t make me create a file in a certain way. Provide me one or the means to build one automatically. Otherwise you are making me think too much. Make it easy for me or I will think you are not really being thoughtful and polite.  I already have enough to think about having to fix something in code I may have never seen before.  Make it blindingly simple for me.

Challenge 2: Give it to Someone Else

Now give that readme.txt to someone and have them follow it. Someone that is not on your project or has used your code before. When they are done, can they run the application locally?  How long does it take them?  How many questions did they need to ask?  Do any changes need to be made to the file to make it easier to understand (or for missed steps)?

Do not give them anything other than the readme and point them to the location to get the source. If they ask for any thing else, you have failed. If they cannot get the code running by the instructions alone, you have failed.

Conclusion: Make it Super Simple

Why do I promote making your code easy to maintain?  Very simply.  What would that person do if they don’t have anything other than the source? They may have no one to ask because it has been five years and you and the rest of your team has left the company. Or they have to put a fix into production in the next hour and no one is around that would be able to help them.  They have to make it happen. 

If you believe situations similar to these can’t possibly happen, we can still be friends, but I regret to inform you that you are very wrong.  If you think you write perfect code that never breaks, you are also sadly confused. It is a gamble to continue believing that someone could get in and work with your code without verifying it.

The question that you should ask when you develop code is: “How long would it take someone who has never seen your project before to be off and running?”

<a href=”http://technorati.com/claim/b58wqz24ma” rel=”me”>Technorati Profile</a>


One thing I always keep noticing is that people will develop things without even giving a thought to maintenance.  This somehow seems impolite to me.   I suffer from Coder Alzheimer's, which means I can't remember a thing I wrote after not seeing after three weeks. That is why I think about things like maintenance.  I am seeing all new code if I have been away from it for awhile!  Now that is not completely true, but imagine how it may be for ... Read More

Telerik CTPs RadControls for Silverlight 2`

Keywords: , , ,

If you haven’t seen the demos yet, go to Telerik’s demo page and prepare to spend some time!

I saw this back when it was a demo or maybe an early beta. I typically don’t like to talk about things until they are available to everyone and this now one is.

Log yourself into their site and create an account. That’ll take you straight to the downloads and you can scoop up all this SL2 goodness. Remember it is a CTP, so give feedback where necessary and blog your own darn self when you’ve got something fun running using it — and submit it to SilverlightCream too

I have downloaded but not tried it yet :( … I spent way too much time playing with the demo the way it was :)

Stay in the ‘Light!


If you haven't seen the demos yet, go to Telerik's demo page and prepare to spend some time! I saw this back when it was a demo or maybe an early beta. I typically don't like to talk about things until they are available to everyone and this now one is. Log yourself into their site and create an account. That'll take you straight to the downloads and you can scoop up all this SL2 goodness. Remember it is a CTP, so give feedback ... Read More

Zoomable Coma Cluster

Keywords: , , , , ,

The Hubble site has just released an incredible zoomable image of the Coma Cluster. (Wow! You can also download images to make a mural!)

The entire cluster encompasses a spherical shape more than 20 million light-years in diameter, more than 300 million light-years from Earth in the northern constellation Coma Berenices. Hubble’s mega-view takes in a scene several million light-years across, about a third of the way out from the cluster’s center.

Via

Read more | Permalink | Comments |

Read more articles in Kids |

Digg this!

The Hubble site has just released an incredible zoomable image of the Coma Cluster. (Wow! You can also download images to make a mural!) The entire cluster encompasses a spherical shape more than 20 million light-years in diameter, more than 300 million light-years from Earth in the northern constellation Coma Berenices. Hubble's mega-view takes in a scene several million light-years across, about a third of the way out from the cluster's center. Via Read more | Permalink | Comments | Read more articles in ... Read More

16 Free Image Editor Resources

Keywords: , , , ,

If your on a budget or just don’t like parting with your money, you can still find some good free software and save yourself a bundle. Listed here are 13 excellent image editors available for free download and my 3 favorite online image editors, also free of charge!

If your on a budget or just don’t like parting with your money, you can still find some good free software and save yourself a bundle. Listed here are 13 excellent image editors available for free download and my 3 favorite online image editors, also free of charge! Read More

Top 10 Most Pirated TV Shows on BitTorrent (wk23)

Keywords: , , , ,

TV shows are by far the most wanted files via BitTorrent, and according to some, it’s fast becoming the modern day TiVo. But what are all those people downloading? Let’s find out, and take a look at this weeks “Most pirated TV-episodes” chart.

The data is collected by TorrentFreak from a representative sample of BitTorrent sites and is for informational and educational reference only. At the end of the year we will publish a list of most downloaded TV-shows for the entire year, like we did last December. TV-shows such as “Lost” and “Heroes” can get up to 10 million downloads per episode, in only a week. Top Downloads June 01 - June 08 Ranking TV-show 1 (2) Battlestar Galactica 2 (3) The Daily Show 3 (4) The Colbert Report 4 (new) Doctor Who 5 (7) The Tudors 6 (5) Fear Itself 7 (5) So You Think You Can Dance 8 (10) Greek 9 (new) MTV ... Read More

SnagIt 9!

Keywords: , , , , , , , ,

In case you hadn’t heard, TechSmith released the newest version of SnagIt June 10, 2008. I have been playing with it for a while, and thought I would share my thoughts and loves with you.

Many of you know I love SnagIt. This version makes me love it even more!

Let me count the ways:

  1. New interface - They have ribbonized the SnagIt Editor. Now, many of you are thinking, “No, please, don’t”. Try it before you hate it. The new interface for the editor is really slick looking:

  2. Multiple image edit - You can have multiple images open for edit at the same time. Makes for a much better work flow when you need to merge images together.
  3. New process - You no longer have to close the editor when you are taking multiple shots or working with multiple images. Leave it open along with the main interface and you can pretty much have instant access to any part of the tool set you need.
  4. OneClick Capture - Turn it on and click where you want to take your shot. Almost as cool as timed captures. Integrated library - a task pane leads you directly to the shots you have taken, whether they are currently open or closed. Don’t want something in the library? Show the library, select the image, and delete it with the delete button from your keyboard

  5. Flags - You can now flag your images to make it easier to find them. There are 10 flags you can apply, plus you can attach your own keywords to the images.

     

     

  6. Fancier effects - You are going to have to play with this yourself to believe it, but the shapes, arrows, text, and everything else look even better than ever!
  7. Convert images from the editor - Instead of creating an image, saving it, then using the batch tools to convert it, you can now convert from the editor any image or images you want. No leaving the editor and coming back in to check your work.
  8. Instant access to Accessories and Stamps - Download a new accessory or stamp from the site and it is immediately available to you in the editor.
  9. New editing interface and tools for videos - Yeah, it got ribbonized too. But even better, videos go in the same editor interface as images. So, you can be working with still images and video images at the same time. You can still only save them as AVIs, but they are much easier to work with!

Now, it’s your turn….

Tell me what you think of the new SnagIt. Download it from the TechSmith site and play around with it. Post a comment telling us all what you find the most useful change and why. Believe me, I have only listed my top 10. There are many more changes and improvements that you will find as you play.

Why would you want to post back your additions? Because, thanks to Betsy Weber of TechSmith, I have two keys for SnagIt 9 to give away. A week from now, I will pick from the two winners from the posted comments and get them their keys. (That means that you need to be sure to put your email address in the comment form so that I can get the key to you. No one else will see your email address other than me and I will not keep it unless you tell me to.) 

Bonus: If you decide to blog or otherwise web-write about the new SnagIt, this post, and the contest, let me know. I might just have an extra drawing for all of you!


In case you hadn't heard, TechSmith released the newest version of SnagIt June 10, 2008. I have been playing with it for a while, and thought I would share my thoughts and loves with you. Many of you know I love SnagIt. This version makes me love it even more! Let me count the ways: New interface - They have ribbonized the SnagIt Editor. Now, many of you are thinking, "No, please, don't". Try it before ... Read More

Introduction to Linux Gaming

Keywords: , , , , , , , , , , , , , , , , , , , ,

When you think of Linux, you probably think of open source software and security, but not gaming. Most people think if you are into gaming, Windows is your only option. A few years ago this might have been the case but not anymore.
So, if you are a Linux power user, or just prefer […]

When you think of Linux, you probably think of open source software and security, but not gaming. Most people think if you are into gaming, Windows is your only option. A few years ago this might have been the case but not anymore. So, if you are a Linux power user, or just prefer Linux, here are a few of your options for playing games on your Linux box. Native Linux games I was very surprised to see how many games there were ... Read More

In a Multiplatform World, Brands Must Be Present, Relevant

Keywords: , , , , , , , , , , ,

AdtechMultiplatform marketing is about saturating the consumer’s world with the brand’s message.

As noted by GM’s Jaime de Valle, the old advertising adage "Fish where the fish are" has been flipped 180 degrees. Consumers are now the fishers, casting hooks to find the products, services, and brands they need, when and where they need them.

It is the marketer’s prerogative to swim where consumers are fishing, to be present and relevant at every touch point and tipping point in the decision-making process.

This is where the multiplatform approach becomes necessary.

In a world replete with marketing messages, the most competitive brands must use traditional media to place themselves before consumers before the decision becomes a priority. They must be present and relevant when research begins online. They must provide channels for response, interaction, and dialogue through nascent but omnipresent platforms such as mobile and social media. And they must send a consistent, persuasive message all the way to the point of sale.

Ok, I really only chose to cover the multiplatform sessions because I knew there’d be some talk of mobile, my one true love.

And talk there was. Carnival’s Jordan Corredera (with Susan Kidwell of Avenue A | Razorfish) and GM opened up the conversation Wednesday afternoon, echoing the industry-wide sentiment that mobile testing (WAP sites, search, etc.) is important but that the U.S. is too far behind other territories and right now is not the time for venturing beyond SMS text marketing. The good thing is, they’re testing.

Carnival’s case study on their Avenue A | Razorfish-created Funship Island campaign highlighted the mobile downloads they offered, including wallpaper and ringtones. GM’s mobile concentration seemed to revolve more around search.

Mobile, because of its everywhere-all-the-time nature, is the best medium for achieving the goal of any multiplatform campaign, as stated by de Valle: Being everywhere, all the time, at every tipping point for consumers in the decision-making process. Increasingly, he said, that process is being conducted almost entirely online, particularly for the automotive vertical.

Mobile aside, Carnival’s highly (read: insanely, borderline overwhelmingly) interactive microsite allowed users to virtually romp around an SL-like cruise ship. Their goal was to dispel common myths held to be true by cruise skeptics. Highly lauded by the digital ad community and cruise enthusiast community alike, the site was a hit.

Not only did they achieve critical success; by tracking user behavior on the site, they were able to optimize their other marketing channels. For example, they found that the section at which users spent the greatest amount of time was the stateroom page. As a result, they beefed up their coverage of stateroom features/benefits on the main Carnival page.

Most impressively, Carnival displayed a deep understanding of their brand ambassadors and partners using existing online communities. They used their advocates on cruise-related social nets to promote the new microsite, and they created a special subsection for travel agents to make sharing the Carnival Fun Ship experience easier.

They clearly understood that these days, consumers begin and end their buying decision on the Internet.

GM’s Andreas Huettner made that statement very clearly when he said that consumers are buying cars online.

He clarified that by the time consumers walk into a dealership, they, inmost cases, already know the exact make and model of the car they want, the price they want to pay, the kind of financing they expect and probably even the kind of warranty and insurance coverage they want. All the decisions have been preordained through hours of intense online work; they truly come to dealers to sign the papers and pick up the keys.

And although Internet is topping every other purchase-influencing medium, including word-of-mouth, the growth of mobile usage outstrips the growth of Internet usage. Hence, multiplatform advertisers need to very quickly figure out how to increase their presence and relevance in that medium.

A couple hours after the Carnival/GM awesomeness, Latin American portal Terra took the stage to talk about their approach to online marketing of music. Their presentation left me tweeting, "Where is the English-language version of Terra Musica?!?"

With artist sites constructed with building blocks of videos, blog feeds, UCG, photos, and every imaginable kind of social-media-friendly content acting as portals to more content and interactivity than was previously imaginable, one pities the technologically impoverished musicians stuck with MySpace Music.

Realizing that the best distribution is wide distribution, the folks at Terra have made most of the widgets portable across most social networks. They’ve also allowed for a great deal of user interaction and even submission to artists’ content.

And they understand that the best part of a content-rich site is incredible SEO, which is very likely where the user experience and direct artist-consumer interaction begin.

All these factors are what forward-thinking U.S. musicians have been struggling to define and realize. All in all, if there’s one thing I wanted to take away from ad:tech Miami and the world of Hispanic and Latin American marketing, it was to find one standout use of technology that marketers were getting right and from which the rest of us could learn and benefit.

Terra Musica may or may not get it entirely right, but it gives us some amazing clues as to the direction we should take for using rich, social media to market music directly to consumers.

Jolie O’Dell blogs, vlogs, tweets, and runs RAMPAGE, a new media ad agency.  Jolie covered ad:tech Miami and you can read all of her conference posts on the ad:tech blog.

Partner Links
Manage your finances online with Geezeo
Web Jobs
CenterNetworks LinkedIn Business Group
CenterNetworks Facebook Fan Page
Check out SmugMug for a free trial

Multiplatform marketing is about saturating the consumer's world with the brand's message. As noted by GM's Jaime de Valle, the old advertising adage "Fish where the fish are" has been flipped 180 degrees. Consumers are now the fishers, casting hooks to find the products, services, and brands they need, when and where they need them. It is the marketer's prerogative to swim where consumers are fishing, to be present and relevant at every touch point and tipping point in the decision-making process. This is where ... Read More

Trustware Bufferzone Has Your Browser’s Back

Keywords: , , , , , , , , , , , , , , , , , ,

When it comes to your security, no web browser is perfect - and no malware app is going to catch everything. I came across BufferZone Free a few weeks ago and have been running it since, and I’m pretty impressed.
BufferZone adds another layer of protection to your browser by setting up a sandbox (an […]

When it comes to your security, no web browser is perfect - and no malware app is going to catch everything. I came across BufferZone Free a few weeks ago and have been running it since, and I’m pretty impressed. BufferZone adds another layer of protection to your browser by setting up a sandbox (an isolated “virtual directory” on your hard drive). As Trustware puts it, the program “transparently redirects modifications in your PC to a virtual, isolated environment, so that ... Read More