[Haskell] Automated YouTube uploads

2014-05-13 Thread Henning Thielemann
In case I did not announce it before - I wrote a set of two small 
programs that upload videos to YouTube. It is useful in two situations:


1. Upload a list of videos with metadata fetched from a spreadsheet.
2. Upload from a remote machine without a graphical browser.

http://hackage.haskell.org/package/youtube

You need 'curl' to be installed and you need to register for a YouTube 
developer key.

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANNOUNCE: graphviz-2999.17.0.0

2014-05-13 Thread Ivan Lazar Miljenovic
It's taken me over a year, but I'm pleased to announce the latest
version of my graph visualisation (via the Graphviz suite of tools)
library: http://hackage.haskell.org/package/graphviz

You can read all the changes in the Changelog (now linked to from the
Hackage page, thanks to the magic of Hackage 2.0! :o), but here are
some explicit non-API changes that people should probably be made
aware of:

* Parsing is currently about 8x slower than previously... because I
suggested something two years ago to Malcolm Wallace on what seemed to
make polyparse faster; he then released that change as part of
polyparse-1.9 a year ago, but now when I do proper benchmarks (rather
than the extremely limited ones I did then) I find that my changes
actually make it _slower_ in real world usage.  Whoops!  I'm still
using polyparse-1.9 in the hopes that Malcolm is able to release a
point-fix release to revert my suggestion.

* I'm not sure when it happened, but upstream Graphviz seems to have
changed the behaviour of `dot -Tcanon` such that nodes are now
interspersed among the edges (and I have been told that it's just a
pretty-printer and that it's behaviour should not matter).  As such,
it is highly recommended that people only use the Generalised
representation for parsing unless they're very sure of their input
sources.

One other change that people might find useful: if I ever again take
so long (i.e. 4 major version releases of upstream) to update graphviz
such that the various Attribute definitions are no longer valid and
fail to parse, there's now (semi-experimental) support for having
unrecognised attributes be parsed as an UnknownAttribute instead; but
most of the other functions aren't aware of this functionality and
thus you might need to duplicate a lot of code if you want to use this
with other features like round-tripping.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
http://IvanMiljenovic.wordpress.com
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] ANNOUNCE: jhc-0.8.1

2014-05-13 Thread John Meacham
I modified it so all packages depended on are listed in only a single
spot in the configuration to make it easier to change and give much
better error messages. see the new
http://repetae.net/repos/jhc/configure.ac and the NEEDS_PACKAGE
macros.

Possibly existing instances are pretty easy to work around, see
USE_MONOID_DOC in the config file. I'll make the show instance for
identity conditionally defined too, since that seems to be floating
around. Having to specify specific versions in the script would be
hacky, much better to actually identify the reasons for
incompatibility and choose based on that.

John

On Mon, May 12, 2014 at 10:36 PM, Krzysztof Skrzętnicki
 wrote:
> Hmm, I'll give it a try, thanks!
> As for the other errors for sure there is missing Binary instance for strict
> ByteStrings in newest binary package.
> Another one is instance for Show (Identity a) which in turn needed to be
> commented out because it appeared in newer version of some other package,
> don't know which one.
> Lastly I get a lot of errors caused by mixing library versions. I *think*
> that the problem is that, unlike Cabal, the Makefile specifies -package foo
> without specific versions. The result is that, given the fact that I have
> more than 1 version of many libraries installed, it tries to build with two
> different versions of same library, or so would it seem: 1 is dependency of
> other library, the other is from -package specification. I think this is the
> case.
> This is why I asked for specific versions of all the libraries involved. The
> idea was to simply specify *all* of them on command line and/or Makefile.
>
> Right now I don't have time to replicate the errors, but I will try again
> building jhc later.
>
>
> Best regards,
> Krzysztof
>
>
> On Tue, May 13, 2014 at 5:09 AM, John Meacham  wrote:
>>
>> Yeah, there was a bug in the way it detected editline/readline which
>> has been fixed in the repo.
>>
>> You can run configure with --disable-line to work around it. or change
>> the word USE_NOLINE to USE_READLINE in src/Util/Interact.hs
>>
>> always some silly typo that works its way in somewhere. I should stop
>> the version number shift and declare it 1.0.0 and use the third digit
>> for actual point releases rather than keep the perpetual 0.x.y wasting
>> the first digit. but then I can't hide behind the 'beta' shield
>> anymore. :)
>>
>> John
>>
>> On Mon, May 12, 2014 at 7:56 PM, Jens Petersen
>>  wrote:
>> > Thank you for the new release. :)
>> >
>> > On 13 May 2014 04:40, John Meacham  wrote:
>> >>
>> >> as for the packages i've been testing with
>> >>
>> >>
>> >>
>> >> fgl,regex-compat,bytestring,binary,mtl,containers,unix,utf8-string,zlib,HsSyck,filepath,process,syb,old-time,pretty.
>> >
>> >
>> > and editline ?
>> >
>> > For me it fails to build on Fedora 20 with the readline package but
>> > completes with editline.
>> >
>> > Krzysztof: maybe try removing or hiding the readline package or posting
>> > your
>> > build error. :)
>> >
>> > Jens
>> >
>>
>>
>>
>> --
>> John Meacham - http://notanumber.net/
>
>



-- 
John Meacham - http://notanumber.net/
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell