Personal tools
You are here: Home Blog Recovery from Addiction

Recovery from Addiction Recovery from Addiction

Document Actions
New webcast: no, it's not marijuana, peyote, heroine, or LSD: it's Java. I've recovered. So can you.

I've made a new webcast celebrating my recovery from my addiction to Java. It's CC licensed and available at the Internet Archive. Do check it out.

Previous webcasts:

More to come? Oh yeah!


Tuesday, July 04, 2006 in Professional  |  Permalink | 

Dude!

Posted by Anonymous User at 2006.07.22 12.12AM

I'm like so high right now.

almost Ruby

Posted by Anonymous User at 2006.09.04 02.36PM

Really enjoyed the videos, but I ending up feeling a little uncomfortable. It's like those movies/stories where you know something that the main character doesn't, and you desperately want to tell them? Like in Romeo and Juliet, when Romeo is committing suicide because he this Juliet is dead, and then Juliet wakes up?

Well, Python is not going to kill you, but I had a touch of that I-wish-he-knew feeling watching "Recovery from Addiction".

Don't get me wrong, Python is a great language. I used it, evangelized it, and it made me much happier than I had been with C, or C++, or {insert annoying list of languages here}. I can't poo-poo the extensive libraries that Python has built up around it
of course, some people would argue the same about Java or Perl.

Then I started using Ruby.

When I first looked at Ruby, I had a response similar to yours. I saw the syntax borrowed from Perl, and man do I dislike looking at Perl. It took another look, a real hard look, before I gave Ruby a proper chance. Then I discovered that most of the "ugly" that Ruby got from Perl isn't used by the Ruby community. It is just used as an easy landing spot for those trying to get away from Perl.

When I used Python, there were a few things that always felt icky. Those are the things that, when I tried to explain them to someone who was new to Python, I would puke in my mouth a little bit:

1) len(something), but something.items(). It seems silly, but it's just one of those inconsistencies that makes me think about the language instead of the problem, and slows me down. I just knew that it should be something.len().

2) I have to pass "self" into my instance methods. Seriously? That feels a little tacked on.

3) Whitespace matters?!? For a while I tried to accept this. I even defended it
it enforces good style, I said. But every time tabs got mixed-in with spaces because someone had their editor configured wrong, ugh, I cringed. And if whitespace mattered so much, why did I have to keep putting colons all over the place.

4) Finally, public fields. Yes we are mostly consenting adults, but encapsulation can be useful, especially when exposing a class to a wider audience. So, as long as encapsulation can be had without a lot of syntax overhead, Why not?

So here is the example, in Ruby:

class Coord attr_accessor :lat, :lon def initialize(lat=0.0, lon=0.0) @lat, @lon = lat, lon end end

coord = Coord.new() coord.lat = -93.9

And here it is with the code to trap the bad latitude:

class Coord attr_accessor :lat, :lon def initialize(lat=0.0, lon=0.0) @lat, @lon = lat, lon end def lat=(lat) raise ArgumentError, Bad latitude if lat < -90.0 or lat > 90.0 @lat = lat end end

coord = Coord.new() coord.lat = -93.9

So, the nice thing here is that I didn't have to write the stock getter/setter methods. In fact, the meta-programming in Ruby is so easy and powerful, I could create my own attr_accessor-like method that would generate getters/setters with range checking, or type checking, or logging, or whatever. Creating genereic getter/setters is painless, and since it is explicit, I'm not exposing all of my "fields" by default, which make a lot of the purists happy.

Also, there is no property "magic." The setter for lat is a method called "lat=". I don't have to call anything like: lat=property(getter, setter). It's not a special case, it's just a method.

And the attr_accessor doesn't perform any magic, it's just defining: def lat return @lat end def lat=(lat) @lat = lat end

So, when I define my lat= method later, I'm just overriding the default one that attr_accessor created. And I love that I didn't have to reference "self" everywhere. Consistency abounds
objects and methods, s.length().

So, why did I just waste an hour of my day off ranting about some seemingly trivial difference between programming languages. Well, I guess it's because I'm a huge nerd, and because I want Romeo to know that Juliet is ok. It's going to be a happier ending that way.

bad formatting

Posted by Anonymous User at 2006.09.04 03.16PM

Sorry for bad formatting on my post. I was expecting plain text. Bummer.

addiction

Posted by Anonymous User at 2006.09.18 03.42AM

peyote & lsd don't addict human bodies. Their dangers lie elsewhere. I know it's figurative but the political ammo justifying prohibition is built upon the plethora of generalities spawned by casual conversation. 7.7 billion to fight U.S. marijuana isn't enough of a dent in the taxpayer's pocketbook to alter that gravy train. Expect status quo for a bit longer. The Sun powers both.

Going the opposite way

Posted by Anonymous User at 2006.09.25 09.36AM

This morning I checked my RSS, mail and all the stuff as I do everyday and found this astounding piece of news: Nuxeo moving from Zope to Java platform (http://www.nuxeo.org/sections/about/java-switch). What do you think?

Drug Rehab

Posted by Anonymous User at 2008.11.03 07.18AM

Drugs such as codeine or alcohol, for instance, typically require many more exposures to addict their users than drugs such as heroin or cocaine. Likewise, a person who is psychologically or genetically predisposed to addiction is much more likely to suffer from it. In my opinion this is really very informative post, from where people can gain lot of useful information. ------------------------- lauran Drug Rehab

it certr

Posted by Anonymous User at 2009.10.06 04.25AM

Pass4sure is your best choice for any IT certifications because of its high quality. It provides full-scale study materials, including the questions, answers and pinpoint explanations supplied by a group of IT experts. Its considerate

it certr

Posted by Anonymous User at 2009.10.06 04.28AM

Pass4sure is an expert in providing the most valuable training materials for IT certification exams, equipped with accurate exam questions and verified answers, considerate & warmhearted service and complete safeguard measures. The Affiliate Program is a marketing strategy that Pass4sure adopts to assemble more dealers for propaganda and profit.
The Most Popular Vendors List :
<a href="http://www.pass4sure.com/Microsoft-index.html">Microsoft exams</a> | <a href="http://www.passforsure.co.uk/SUN-Certifications.html">SUN exams</a> | <a href="http://www.pass4sure.com/SUN-index.html">SUN exams</a> | <a href="http://www.pass4sure.com/IBM-index.html">IBM certifications</a> | <a href="http://www.passforsure.co.uk/HP-Certifications.html">HP exams</a> | <a href="http://www.passforsure.co.uk/Nortel-Certifications.html">Nortel certifications</a> | <a href="http://www.passforsure.co.uk/HP-Certifications.html">HP certifications</a> | <a href="http://www.passforsure.co.uk/HP-Certifications.html">HP exams</a> | 
The Most Popular Certifications List :
<a href="http://www.passforsure.co.uk/CCNP-Certifications.html">CCNP certifications</a> | <a href="http://www.passforsure.co.uk/CCDE-Certifications.html">CCDE certifications</a> | <a href="http://www.passforsure.co.uk/CCDA-Certifications.html">CCDA certifications</a> | <a href="http://www.pass4sure.com/CCIE.html">CCIE exams</a> | <a href="http://www.passforsure.co.uk/CCNP-Certifications.html">CCNP certifications</a> | <a href="http://www.passforsure.co.uk/SCSA10-Certifications.html">SCSA 10 certifications</a> | <a href="http://www.pass4sure.com/CCSP.html">CCSP exams</a> | <a href="http://www.pass4sure.com/CCNP.html">CCNP exams</a> | <a href="http://www.passforsure.co.uk/CompTIA-Linux+-Certifications.html">CompTIA Linux+ exams</a> | <a href="http://www.passforsure.co.uk/MCDST-Certifications.html">MCDST certifications</a> | 
The Most Popular exams List :
<a href="http://www.passforsure.co.uk/642-825.html">642-825</a> | <a href="http://www.passforsure.co.uk/70-566(CSharp).html">70-566</a> | <a href="http://www.passforsure.co.uk/642-892.html">642-892</a> | <a href="http://www.passforsure.co.uk/350-029.html">350-029</a> | <a href="http://www.passforsure.co.uk/70-565(VB).html">70-565</a> | <a href="http://www.passforsure.co.uk/70-566(VB).html">70-566</a> | <a href="http://www.passforsure.co.uk/sk0-002.html">sk0-002</a> | <a href="http://www.passforsure.co.uk/70-564(VB).html">70-564</a> | <a href="http://www.passforsure.co.uk/70-680.html">70-680</a> | <a href="http://www.passforsure.co.uk/70-569(CSharp).html">70-569</a> | <a href="http://www.passforsure.co.uk/220-601.html">220-601</a> | <a href="http://www.passforsure.co.uk/70-567(VB).html">70-567</a> | <a href="http://www.passforsure.co.uk/640-863.html">640-863</a> | <a href="http://www.passforsure.co.uk/70-567(CSharp).html">70-567</a> | <a href="http://www.passforsure.co.uk/70-565(VB).html">70-565</a> | <a href="http://www.passforsure.co.uk/70-503(VB).html">70-503</a> | <a href="http://www.passforsure.co.uk/70-566(CSharp).html">70-566</a> | <a href="http://www.passforsure.co.uk/70-655.html">70-655</a> | <a href="http://www.passforsure.co.uk/642-892.html">642-892</a> | <a href="http://www.passforsure.co.uk/640-460.html">640-460</a> | <a href="http://www.passforsure.co.uk/70-562(CSharp).html">70-562</a> | <a href="http://www.passforsure.co.uk/70-567(VB).html">70-567</a> | <a href="http://www.passforsure.co.uk/70-680.html">70-680</a> | <a href="http://www.passforsure.co.uk/n10-003.html">n10-003</a> | <a href="http://www.passforsure.co.uk/642-873.html">642-873</a> | <a href="http://www.passforsure.co.uk/70-450.html">70-450</a> | <a href="http://www.passforsure.co.uk/sk0-002.html">sk0-002</a> | <a href="http://www.passforsure.co.uk/642-533.html">642-533</a> | <a href="http://www.passforsure.co.uk/n10-003.html">n10-003</a> | <a href="http://www.passforsure.co.uk/350-001.html">350-001</a> | 
Click <a href="http://www.pass4sure.com/">Pass For Sure</a> to get more information!

exam cert

Posted by Anonymous User at 2009.10.06 09.08AM

Pass4sure, a professional training website in IT certification exam, is designed for IT candidates who want to pass any IT exams. With its high quality products and 24*7 considerable services, Pass4sure has strengthened its leading position in this field, and attracted many famous vendors like Cisco, Microsoft, IBM, Sun, compTIA, HP, etc.
The Most Popular Vendors List :
CompTIA exams | HP certifications | Microsoft certifications | Microsoft exams | IBM certifications | Nortel exams | IBM exams | 
The Most Popular Certifications List :
CompTIA Linux+ exams | JNCIA certifications | CCDP exams | MCITP certifications | CCDP certifications | CCIP exams | CompTIA Linux+ certifications | CCNP certifications | CCIP exams | CompTIA Network+ certifications | CompTIA Linux+ exams | CCNP exams | 
The Most Popular exams List :
642-642 | 642-825 | 70-680 | 70-653 | 220-602 | 70-652 | 70-642 | 642-845 | xk0-002 | 70-503 | N10-004 | 70-563 | 70-452 | 70-294 | 70-567 | 70-504 | 70-454 | 70-567 | 350-018 | 70-647 | 70-432 | 70-568 | 70-536 | 220-603 | 70-455 | 70-565 | 70-236 | 70-294 | 70-655 | 70-620 | 
Click Pass4sure to get more information!

Myke

Posted by Anonymous User at 2009.10.09 11.19PM

I work at a Relapse Prevention Program, doing computer stuff, and I'm learning all these things right now

treat addiction

Posted by Anonymous User at 2009.10.12 11.52AM

It can be difficult to know which sources you can trust. Keep reading to learn more of the facts about addiction treatment. 350-018 Just about everyone has a distinct opinion about how to end the use of addictive substances and to treat addiction; there are just too many lines of thought out there. Is there a ‘best’ track of therapy for people who have been diagnosed as being addicted to drugs or alcohol? 640-721 There is no agreement on the best resolution. People debate the merits of controlling negative consequences, controlling the substances and staying away from the substances all together. 70-562 Not long ago, I saw 2 review studies; its research reported data drawn from hundreds of controlled research surveys and present the facts which are seen to be consistent across the board. There were some interesting points which were uniform across both of these review studies. These were:

nice

Posted by Anonymous User at 2009.10.15 08.07AM

These shining jewelries have fatal attraction to women who never feel satisfied for the cartier love jewellery they have had. cartier The following are some basic information in the hope that it could help you in some way. cartier love jewelry That is because as the ornaments and complements of dressing, cartier jewellery plays an important part in highlighting one's unique qualities. cartier love But it is hard for people to master the tips in choosing jewelries properly. cartier jewelry The suggestions herein are about how to choose jewelries in the hope that you will find them useful cartier jewelry Great attention should be paid to the coordination of the jewelries you chose to your face, complexion, temperament, hairstyle, etc. so that you can obtain the most suitable jewelries. cartier jewellery The basic criteria is to choose the jewelry whose shape is neither resemble your face shape nor totally opposite your face shape. cartier People with round face should choose cartier jewellery jewels that can increase the length of the faces. Such as long necklaces. And for earrings, lucky enough! Almost all earring types look good on this face shape. It seems that angular shapes such as squares or rectangles look great. But really this shape can get away with any earrings. cartier jewelry Hairstyle, as the essential part of your head decoration, should be well considered when choosing jewels to make sure that your hairstyle and cartier jewellery are well fit for each other. cartier bracelet Jeans and jackets go well with jewelries having exaggerated design. cartier pendants When you are in an informal place, you can wear designed jewelry that have some color to fit your clothes, which will have a special kind of taste from your general wearing. cartier bangles However, red and other dark color could not be more suitable for people with fair skins. cartier necklace While cartier earring in large size could better highlight the features of the ladies who are tall and plump, comparing with the ones in small size. cartier ring The simply designed cartier necklace are most suitable for the office ladies, which are a good match for the suits. cartier bangles

tiffany necklaces

Posted by Anonymous User at 2009.11.09 12.17PM

Christmas is coming, not have prepare the gifts for your friends? Tiffany rings will be the nice presents. Tiffany jewelry is your best choice, because tiffany&CO have so many beautiful kinds of producsts. Like tiffany necklaces for your love while the tiffany bracelets for your best friends, and tiffany earrings for your family members. So now go to the online-store for your tiffany jewelry.

exam cert

Posted by Anonymous User at 2009.11.18 09.37AM

As a professional IT study materials provider, Pass4sure is specially designed for IT candidates who want to pass any IT exams, supported by a powerful team for product research and development, as well as website development and operation. Its vendors like Cisco, Microsoft, IBM, Sun, compTIA, HP, etc, are all positioned as leaders in the IT field.The Most Popular exams List :350-030 | 220-603 | 642-642 | 642-845 | 640-802 | sk0-002 | 642-901 | 642-642 | 642-533 | 350-030 | 642-873 | 642-873 | xk0-002 | 642-436 | 642-533 | 640-802 | 220-601 | N10-004 | 642-642 | 642-892 | Click Pass 4 Sure to get more information!

wedding dresses

Posted by Anonymous User at 2009.12.07 08.58AM

The perfect and accurate questions and answers 650-575in the Microsoft PDF with the most functional quality has been designed for you in simexams.com which can help you get a 642-521good score in the coming Microsoft. Once you have already checked out various Microsoft Exam courses, it is very reasonable column wedding dressesto make a decision of buying this Microsoft PDF in our online store which is edited byempire wedding dresses the college senior experts and deserves the best approvals as the price is so cheap. The outstanding Microsoft PDF is70-293 written to the senior wedding dressescriterion in the subject.Aion Gold

exam cert

Posted by Anonymous User at 2009.12.18 03.14AM

Pass4sure is the best choice for IT candidates who want to pass any IT exams. Popular certifications like Cisco, Microsoft, IBM, Sun, compTIA, HP, etc, ensure that customers could find the exactly one they need. Product forms at Pass4sure are various, software, hardcopy, video, E-Zine and so on.
The Most Popular exams List :
350-001 640-802 642-072 ec0-350 350-001 646-563 642-456 642-661 642-456 642-072 jn0-532 642-642 640-553 640-553 220-601 642-971 642-974 646-046 646-204 646-563 646-656 650-393 JK0-016 JN0-100 VCP-310 VCP-410 xk0-002 
Click P4S to get more information!

Blog
« January 2010 »
Su Mo Tu We Th Fr Sa
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Categories:
Food (5)
Opinion (28)
 

Powered by Plone, the Open Source Content Management System