Recent Forum Posts
From categories:

Here's an article on Wired.com about Scratch being used along with a physical computing device called a PicoBoard. This allows you to measure things in the physical world and use that data as input to Scratch.

I thought this was really cool because lately I've been experimenting with an Arduino microcontroller and doing things like writing ruby programs to calculate and display the temperature using a thermistor.

I was thinking of dedicating an entire class session to talking about the Arduino towards the end of the semester.

Scratch in the news by Chris ChalfantChris Chalfant, 11 Mar 2009 15:01
Re: .chomp?
Chris ChalfantChris Chalfant 06 Mar 2009 05:13
in discussion Forum / Questions » .chomp?

chomp removes a newline character from the end of a string if it has one. A newline is the return character that signals a "new line".

chomp gets used a lot when you are reading input from the keyboard or from a file and don't want to include the newline in the string.

Re: .chomp? by Chris ChalfantChris Chalfant, 06 Mar 2009 05:13
.chomp?
kbeardkbeard 06 Mar 2009 00:08
in discussion Forum / Questions » .chomp?

I am going over the notes from class, and I can't seem to remember what .chomp does. Can anyone enlighten me?
Thanks!
Kate

.chomp? by kbeardkbeard, 06 Mar 2009 00:08

I'll mention this in the next class, too, but I wanted to say a few things about the reports.

The purpose of these reports is to expose you to different topics in computing. I don't expect you to spend more than an hour or two on each report. I do want you to show me that you've read up on the topic and thought about it. I don't want you to get hung up on word count or formatting. Just show me that you really did learn something about the topic.

So far, I've been impressed with all of the reports. I can tell that you guys really are reading about the topics. I'm a little disappointed that we are missing a few from the last round. But, hey, no one in this world can make you learn. It's entirely your responsibility.

As we go on, I'd also like you to read your classmates' reports. Follow up on any topics you find interesting and feel free to ask me questions about them offline via email.

You can do lots of cool formatting in wiki pages. When you're editing a page, use the wiki syntax description to see how. You can also make use of the buttons above the edit box.

To insert an image, make sure you get the full URL to it. You can get this by right-clicking on any image and selecting "Copy Image Location" if you are using Firefox. In Internet Explorer, it's a little tricky. Right-click on the image and select Properties. A window will pop up and you can copy and paste the image URL from it.

Later on, you may see me use the "code block" feature to display snippets of ruby code like this:

# how old is Brian in seconds?
puts 36 * 365 * 24 * 60 * 60

# alternatively...
puts Time.now - Time.local(1973, 'feb', 11)

You can post questions or comments here.

What's a Forum? by Chris ChalfantChris Chalfant, 22 Jan 2009 15:21
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License