At 15 I started taking college courses and discovered the miracle of FORTRAN and PASCAL. These procedural languages had their own problems as they grew, with data structures getting mangled into invalid states as they passed from one procedure to another.
To combat this, we had the vast prescriptive bandaid that is Structured Design -- and almost endless list of do's and don'ts designed to guide you through the sharp edges of procedural programming.
Enter object oriented programming, …
…kaChing has been very active in the Lean Startup movement. If you haven't seen it, Pascal's recent presentation on continuous deployment is a must-see; slides are here .
With case studies like this, we aim to illustrate specific Lean Startup techniques through the stories of current practitioners. It is written using the information that the company voluntarily shared, and therefore reflects their current thinking and recollections. Sarah and I are particularly …
…himself Ruby and Ruby on Rails, but not before spending years programming in Pascal, C, and C++ and teaching himself PHP. His first language was Pascal, which he learned in high school while living in Hong Kong in the early 1990's. "I started programming in Pascal back in school in Hong Kong in 1992 because it was the language used in the public exams. And since I had a functional programming background, it was easy for me to switch from Pascal to C first, and then …
…since I was 14 years old, when I made my first "Hello World" in Pascal work. I'm absolutely sure that programming should be fun if you're not doing something wrong
Satish>> How did you get involved with Ruby programming?
Dmitry>> About one and a half years back I discovered Ryan Bates' RailsCasts. It was really inspiring, so I started to look at how these things work. That was my first Ruby experience.
Then I read a few articles on TDD/BDD…
…DOS. I quickly grew comfortable learning basic command line stuff." He had several PASCAL and C++ classes in high school. "As much as we coded, we also learned how to get around the computer lab's security codes so we could play Quake 2 on the LAN." But he wasn't in the Computer Science program very long; "After 3 months I firmly decided to quit that major; it was lifeless to me. Not in a judgmental sense, but rather on a personal level: at that time in my …
…Literate Programming . The idea here was that most compilers for languages like Pascal, Fortran and C, required you to write code for the compiler, rather than for a human being. So, you had things like header files and implementation files, declarations of variables far from where they were used, and so on. As a result, most programs were very hard for developers to read and understand.
Knuth's idea was to write in an intermediate form, sort of a macro preprocessor and document …
After trying for a (long) while to have multiple targets defined on the same host, and having my initiator to see both, the solution what in fact simple: Use different values for the LUN !
Here's a snippet of /etc/ ietd.conf Target iqn.2010-01.com.test:storage.disk1.sys1.000 Lun 0 Path=/media/usb/test0.img,Type=fileio,IOMode=rw Target iqn.2010-01. com.test:storage.disk1.sys1.001 Lun 1 Path=/home/psq/test1.img,Type=fileio,IOMode=rw
Then don't forget to restart: "service iscsitarget restart"
Heltech does not have it quite right for centos. The options are named slightly differently on newer versions.
Here's the correct sequence for CentOS 5.3
Boot in single mode
umount the main partition
check the partition for errors
remove the journal
remount
recreate the journal
for good measure, check the partition for errors or, in other words: # fsck /dev/VolGroup00/LogVol00 # umount /dev/VolGroup00/LogVol00 # tune2fs -O ^has_journal /dev/VolGroup00/LogVol00 # …
Pascal also writes technical and functional constraints into the contract. To me, this seems useful (it certainly adds gravitas!), but not strictly necessary - the first story that doesn't meet these requirements "should" fail done-done testing, immediately bringing it to the team's attention.
I think there are plenty of approaches to this and no 'right' solution, but I'd love to hear other people's experiences. Do you put scope in the contract? Does …
That said, Go allows you to do Pascal style return values where you give the result a name, assign to it, and use it in computation. However, you still have to put the return keyword at the end.
The only typing is duck typing. To Rubyists, this is a great thing.
As Carl Lerche comments, "It's not production quality yet, but there's enough that it's interesting to explore." This post was co-authored by Sam Tesla.