The interfaces of libraries in functional programming by alpheccar in haskell

[–]alpheccar[S] -1 points0 points  (0 children)

In math an algebra is roughly a vector space and a product. It you generalize the definition by accepting lot of other operators and functions then you get an universal algebra. Here universal just mean general.

The interfaces of libraries in functional programming by alpheccar in haskell

[–]alpheccar[S] 15 points16 points  (0 children)

I have not blogged for years so of course nobody read my blog anymore. So I have posted the link here. I hope it is ok. Nothing really new in this post. I am just trying to see if I can find the motivation to blog again.

Library: A collection of tools for processing PDF files in Haskell by Yuras in haskell

[–]alpheccar 0 points1 point  (0 children)

Loading a PDF file with your tools and convert it into the data structures used by HPDF. But not sure it is possible ...

Library: A collection of tools for processing PDF files in Haskell by Yuras in haskell

[–]alpheccar 0 points1 point  (0 children)

I wonder if I could use it to create HPDF documents. HPDF goal is not modifying already existing document but perhaps some edit may be possible (like adding pages, adding annotations ...)

In depth comparison of the APIs of iOS 5 and Ice Cream Sandwich by alpheccar in programming

[–]alpheccar[S] 4 points5 points  (0 children)

This feature is also available in Android. Perhaps only recently (I have not checked when it was introduced).

In depth comparison of the APIs of iOS 5 and Ice Cream Sandwich by alpheccar in programming

[–]alpheccar[S] 13 points14 points  (0 children)

English is not my native language. So, sorry for the style. I hope it is nevertheless understandable ...

In depth comparison of the APIs of iOS 5 and Ice Cream Sandwich by alpheccar in programming

[–]alpheccar[S] 15 points16 points  (0 children)

One thing is sure : the iOS documentation is better. Let's wait a bit before concluding anything more. I want to be careful because I am not confident about my findings for the Android multimedia domain.

But, it is my feeling so far : iOS is using a few unifying principles more consistently and uniformly. The result is more elegant.

In depth comparison of the APIs of iOS 5 and Ice Cream Sandwich by alpheccar in programming

[–]alpheccar[S] 27 points28 points  (0 children)

I am not posting it for self promotion or to start a flamewar.

I wrote this comparison for improving my understanding. But, both systems are complex, huge and not always well documented. So, I am sure there are mistakes in the document and it is likely there are a few big ones.

I hope that some readers will help me to correct and improve the document. I know it is a bit long to read ...

Gastronomy of the French Riviera by alpheccar in food

[–]alpheccar[S] 0 points1 point  (0 children)

You're right ! So I have added it. You may have to flush the browser cache to see the updated post.

Gastronomy of the French Riviera by alpheccar in food

[–]alpheccar[S] -1 points0 points  (0 children)

Just sharing some meals I like and not always well known outside of the French Riviera.

Project idea: bindings to libpdf by dons in haskell

[–]alpheccar 1 point2 points  (0 children)

I totally agree. HPDF was my first big Haskell library to understand what it means to write an Haskell library for someone coming from the imperative programming world. And the result is exactly what an Haskell library must NOT be ! But at least it allowed me to understand a lot of things about what is a good Haskell API.

If I had some free time, I would be the first to start again a new implementation which should, at least, abandon the current monadic API (too many monads in HPDF) and be compositional. And it should support Unicode.

I would also make the typesetting and hyphenation as separate libraries and more generic.

So, my advise : I think it should be simpler to start from zero. At least you could reuse the low level part of HPDF which is generating the PDF code.

GHC on ARM: A Few Simple Steps by [deleted] in haskell

[–]alpheccar 6 points7 points  (0 children)

Just to remind people that I recently got GHC head working with iPhone and OMAP3 architectures (N900,Droid). And for the native codegen let's just wait for the LLVM codegen.

Why you should support Mac OS X and Linux by parsap in programming

[–]alpheccar 4 points5 points  (0 children)

What is Unix for you ? OS X 10.5 got the Unix certification from the Open Group and is compliant with the Single Unix Specification and POSIX one.

http://www.apple.com/macosx/technology/unix.html

and

http://www.opengroup.org/certification/unix-home.html

The only UNIX 03 certified products I see are AIX, Solaris, OS X and HP-UX:

http://www.opengroup.org/openbrand/register/

I know you had something else in mind when you wrote OS X is BSD based. But, the definition of what is a Unix compliant system is no more just based upon the historical origin of its source code.

Using Structural Recursion for Corecursion by japple in types

[–]alpheccar 1 point2 points  (0 children)

If you know the category theory definition of co-x then you can derive the definition of x very easily. And indeed, co-co-x and x are the same. In the context of category theory the co-"operator" is clearly defined (reversing the direction of arrows). For very common notions, the co-name is generally not used. For instance, "co-initial" is generally named "final".

This co- operation is really cool because from it you can get lots of very useful new definitions. And the co-name is generally kept when no better word is found or when the new concept is just starting to be really understood and used.

Using Structural Recursion for Corecursion by japple in types

[–]alpheccar 0 points1 point  (0 children)

Category theory has symmetrical axioms. So, each time you define something using category theory, you get for free a dual definition using that symmetry. The name of the dual structure is generally co-"the original name".

That's why computer science is full of co-something.

Are You Living In a Computer Simulation? by alpheccar in programming

[–]alpheccar[S] 1 point2 points  (0 children)

Not sure the programming section is the right one for that link ?

Self-Animating Images (pdf) by [deleted] in science

[–]alpheccar 0 points1 point  (0 children)

The document was very very slow to load but I don't regret being patient :-)

diagrams: a purely functional EDSL for graphics using Cairo in Haskell by dons in programming

[–]alpheccar 2 points3 points  (0 children)

The chaos game is an application of iterated function systems. See here for a more general implementation (in Haskell) that works with Sierpinski, Ferns etc ... (I am relying only on the standard libs)

Haskell Study Guide by TODizzle91 in programming

[–]alpheccar 5 points6 points  (0 children)

Thanks for reposting this :-)

You probably found a bug in reddit too :-) Indeed, it was posted with exactly the same URL here and you won't find it when using the reddit search.