1. Python, FTPS and mis-configured servers

    Today's project involves automatically uploading electrical metering data to an FTPS server (explicit FTP over TLS, otherwise knowns as ESFTP). Shouldn't be a problem, since Python supports FTPS out of the box. Only it doesn't work. Here's the code:

    import ftplib
    ftp = ftplib.FTP_TLS('host', 'user', 'password')
    ftp.set …
    read more
  2. Angular eats my default form values

    Today, AngularJS isn't doing what I expect. I've auto-generating a really long form in Django, and adding ng-model attributes so I can summarise the form. Unfortunately, Angular is overwriting my defaults. Here's a shortened example:

    <html>
        <head>
        </head>
        <body>
            <form ng-app="testApp" ng-controller="TestCtrl">
                <select name="colour" ng-model="colour">
                    <option …
    read more

« Page 2 / 3 »

(my software/consulting business)

links

social

Supporting

FSF member since 2006 Become a Conservancy Supporter!