CISC 3110 Lecture 8 Notes: Exception Handling

Professor Weiss is discussing exception handling. We were working on writing a function, called min, which returns the smaller of two numbers. We discussed three ways of doing this, considering the case of two equal numbers. We can have the function return the smaller value, and have a boolean reference parameter. Alternatively, the function could [...]

Sign Up for So.cl

If you are a university student, you can get early and exclusive access to Microsoft’s Social search experiment, called So.cl. (That’s pronounced “social”.) Enter an email address that you check and I’ll send you an invite. I only have about 300 of em, so get one while you can! Loading…

Apps. School. Life. Awesome.

The title of this blog is Apps. School. Life. Tonight I’d like to sum up my past week and tack on a fourth noun there. Awesome. Just taking a moment out to be thankful to Gd for everything that’s going on. It’s been a whirlwind of a week, and I’d like to record some of [...]

Introducing iBrooklyn

 Introducing iBrooklyn. An incredible tool for Brooklyn College students. Free, for iPhone, iPad, and iPod touch. I started Brooklyn College in Fall 2011. My first semester, was… interesting. (The mandatory learning communities were something else.) What I found frustrating, for the first few weeks, was finding my classes. Apple released the iOS 5 preview to developers [...]

Just a Little Reminder…

Commands in VIM are often performed with the key that is the first letter of the name of the command. It seems like I’m not the only one having trouble making this association, so made a little picture. Here’s a little list, which I’m making from memory, to help myself. It’s by no means exhaustive, but [...]

CISC 3110 Lecture 4 Notes: Kinds of Programs and Priming the Pump

Three kinds of programs: Applications: Words Processors etc. System: Provides the computer with services etc. Utility Libraries: Sets of useful functions. Let’s make an analogy with an electronic present. It’s sitting in the box. It has a 90 day warranty. Next year, if it’s defective, it can’t be returned. You should have tested it right [...]

My Train to Class

This is a repeat of the exercise I tried last week, so I hope it’s not too corny or repetitive. Here’s my commute to school this morning: I’m eating a nugoDark protein bar this time. The shouting from down the platform hasn’t ceased in three whole minutes. Can’t make it out or tell which side [...]

CISC 3110 Lecture 3 Notes: Arrays and the Ternary Operator

Let’s solve the common programming problem of how to find the smallest value of an array. The wrong way to approach the problem is to find a large number, start that as the maximum value, and compare each subsequent value to see if it is smaller than the maximum. The correct way to find the [...]

Two New Apps

Over winter break, I wrote about my attempt at writing an outrageously large number of apps in an unbelievably short period of time. Naturally, I didn’t succeed in accomplishing the supernatural, but I did write a few good apps. I finished Davka’s Torah Notebook for iOS, but even cooler, I met with, planned, and developed [...]