Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 17, 2024Hacking Watson with Haskell - Part 3In the previous blog posts (part 1, part 2), we managed to read Watson frames and state from its JSON files. In this blog post, we will do something more useful: start and stop timer. Program This blog post is a Literate Haskell program that attempts...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 16, 2024Hacking Watson with Haskell - Part 2In the previous blog post, we read the Watson frames from a JSON file. In this blog post, we will read the Watson state file and print it to the standard output. Watson State In addition to the frames, Watson also stores the state of the frame in a s...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 15, 2024Hacking Watson with Haskell - Part 1Watson is a command-line tool that helps you to track your time. It is simple and powerful, yet it lacks some features that I would like to have. In this blog post, I will start hacking Watson with Haskell. Motivation I have been using Watson since e...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 14, 2024More Haskell Diagrams: Dynamic OpenGraph ImagesThis blog post is a Literate Haskell program that produces its own OpenGraph image using the infamous Haskell diagrams library. Motivation So far, I have written a few blog posts about generating images with Haskell's diagrams library. In this blog p...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 13, 2024More Haskell Diagrams: Wrapping TextWorking with text, especially wrapping it, can be tricky when generating images with Haskell's diagrams library. In this blog post, we will write a literate Haskell program to generate an image with text that fits in a box and wraps if we want so. Pr...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 10, 2024More Haskell Diagrams: ImagesLet's continue exploring the Haskell diagrams library. In this post, we will embed external images in our diagrams. Motivation I would like to create images from Haskell diagrams with embedded images. At the same time, I want to use diagrams' cairo b...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 9, 2024Introduction to Haskell DiagramsI need a solid declarative diagramming library or tool that I can invest time in. I always wanted to learn Haskell’s diagrams library. In this post, I will give it a try. Motivation I like drawing. Most people I know are visual people. I decided to f...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Aug 4, 2024Abusing Haskell: Executable Blog PostsWhy? Because I can, and it is a rainy Sunday. I post my notes on my blog, Hashnode and dev.to, which require slightly different markdown formats. I have been doing the sane thing to fix formats so far. But it is a rainy Sunday and I am bored, so I de...DiscussHaskell
Vehbi Sinan Tunaliogluthenegation.hashnode.dev·Oct 15, 2021Literate Haskell with MarkdownThis is a short guide to writing Literate Haskell programs using Markdown. The source code of this very Web page is a Markdown file with a frontmatter. At the same time, the source code is a Literate Haskell program, i.e. you can compile and run it....DiscussLiterate Programming