Re: I can't believe how much this sucks

2012-11-15 Thread Carlo Wood
On Tue, 13 Nov 2012 14:11:17 -0700
t...@terralogic.net wrote:
> This is just a NORMAL way for a programmer to work IMHO.  I HATE
> comming into undocumented code years after its been written and IMHO
> its a big booby trap because its very easy to miss something and that
> creates hard to find bugs.  Really criptic error messages don't help
> this.  I've looked in the OOS community and there are attempts to put
> together systems and one I looked at was OXYGEN.

I concur. When I was 12, I wrote compact code with only single
character variables and no documentation. For some reason I was able to
have thousands of code lines all in my head at once and I had no idea
why I'd need to add documentation.

When I got older, I started to use more descriptive variable and
function names, mostly for the purpose of being able to
'grep' (reg.exp) them in large code. At some point I completely did
away with abbreviations and only used complete English words,
discovering that code is incredibly better to understand when the
variable names express exactly what they mean (to the point that it
avoids bugs). I still didn't see the point in documentation however:
the code explained itself as if it was English.

Only when my memory started to get worse and I couldn't remember
Megabytes of code anymore, especially when my code became so complex
that I had to use Object Orientation because it was impossible to keep
an overview, I started to document code. The funny thing is: I did this
mostly because I knew that a year later I wouldn't be able to
understand it myself anymore if I didn't; not because I thought that
anyone else might need it.

Now, after more than 30 years of coding experience I have reached the
same conclusion as terra wrote: Code is only as useful as it's
documentation. Don't bother to write code without good COMPLETE
documentation as it's worthless: only you, the developer (with a good
memory on top of that) will think it's trivial and usable. Everyone
else will not be able to use it.

> 
> http://www.stack.nl/~dimitri/doxygen/
> 
> 
> I have no idea at this time how useful this would be.  
> 
> 
> Perhaps the best we might be able to do on the user side is a wiki
> and perhaps one exists.
> 
> 
> I did a google search on this.  
> 
> https://help.ubuntu.com/community/OpenSSL
> 
> ^ I did find this and I did not look very hard.  Maybe there is
> something better.  If there is then it doesn't come up in the 1st
> hits google finds.
> 
> 
> So I think we can do much better.
> 
> Just my 2 cents.

-- 
Carlo Wood 
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: Handshake failure while trying to connect to imap.gmail.com

2012-09-20 Thread Carlo Wood
On Thu, 20 Sep 2012 01:50:16 -0700 (PDT)
Does it work if you add -no_tls1_1 to the command line?
Or add -tls1 ?

ckyh43  wrote:

> Hi,
> 
> I am unable to connect to the Gmail IMAP server with the OpenSSL
> s_client. I've tried the following commands and both of them give me
> a handshake failure.
> 
>     openssl s_client -connect imap.gmail.com:993
> 
>     openssl s_client -CAfile /etc/ssl/certs/Equifax_Secure_CA.pem \
>         -connect imap.gmail.com:imaps
> 
> Debug output (from the second command):
> http://pastebin.com/raw.php?i=BJumtDHV
> 
> Initially I had thought that some kind of firewall in my network was
> interfering with my connection, but a local install of OpenSSL
> version 0.9.8l connects fine without any problems. But every release
> after 0.9.8l fails to connect. So I'm suspecting that the problem is
> caused by something which changed between 0.9.8l and 0.9.8m-beta1.
> 
> Debug output (from version 0.9.8l):
> http://pastebin.com/raw.php?i=U2y5vFZT
> 
> I've tried changing operating systems (on the same network) and
> nothing seems to help. All of what I described started with not being
> able to use email clients which use libssl with Gmail. All ideas
> would be greatly appreciated! 
> --
> ckyh43
> __
> OpenSSL Project http://www.openssl.org
> User Support Mailing List    openssl-users@openssl.org
> Automated List Manager   majord...@openssl.org



-- 
Carlo Wood 
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: Does this mailinglist work?

2012-09-12 Thread Carlo Wood
On Mon, 10 Sep 2012 13:21:12 -0700
"Charles Mills"  wrote:

> Yes, it works. It may be moderated. Please be patient.
> 
> Charles
> 
> -Original Message-
> From: owner-openssl-us...@openssl.org
> [mailto:owner-openssl-us...@openssl.org] On Behalf Of Carlo Wood
> Sent: Monday, September 10, 2012 10:34 AM
> To: openssl-users@openssl.org
> Subject: Does this mailinglist work?
> 
> I just sent a long mail... but it doesn't seem to appear on the
> list :/
> 

Apparently my post got lost...

I just re-sent it again a few minutes ago...
Hopefully it will appear this time, before this reply does :/.

-- 
Carlo Wood 
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Does this mailinglist work?

2012-09-10 Thread Carlo Wood
I just sent a long mail... but it doesn't seem to appear on the list :/

-- 
Carlo Wood 
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org