/var/log/snak.log
2025
Mar.
- Universal and existential quantification in Rust, Swift and Haskell [haskell][rust][swift]
newtype
with poly-kinded photom types [haskell]
Feb.
- Regular expression to free
Alternative
, part 5 [haskell] - Regular expression to free
Alternative
, part 4 [haskell] - Regular expression to free
Alternative
, part 3 [haskell] - Regular expression to free
Alternative
, part 2 [haskell]
Jan.
2024
Nov.
- Tips about
AVAudioEngine
[ios][swift]
Oct.
- Derivation with SymPy [python]
Sep.
- Hom functor [haskell]
Aug.
- Coyoneda from Yoneda [haskell]
- Yoneda lemma in Haskell [haskell]
Jul.
- Monoidal functor and
Applicative
[haskell]
Jun.
- Expressing monoidal functors in Haskell [haskell]
- Expressing monoid homomorphisms in Haskell [haskell]
- Category of monoids and monoid homomorphisms [haskell]
May.
- Expressing monoidal category in Haskell, part 2 [haskell]
- Expressing monoidal category in Haskell, part 1 [haskell]
- Sharing a file in Slack via API is now asynchronous [slack]
Apr.
Iterator::collect
can collectResult
s [haskell][rust]- Natural isomorphism between
Day Identity f
andf
[haskell] Data.Functor.Day
[haskell]
Mar.
- Mounting EFS [aws]
- Memoize with
Representable
[haskell]
Feb.
- Products and functions [haskell]
2023
Nov.
- WebAssembly text format [wasm]
- Importing a function to wasm [wasm]
- Exporting a function from wasm [wasm]
- Playing with wasm [wasm]
Oct.
- Type of optics, part 4 [haskell]
Sep.
- Type of optics, part 3 [haskell]
- Type of optics, part 2 [haskell]
- Type of optics, part 1 [haskell]
Jul.
Traversable
,Lone
andDistributive
[haskell]
Jun.
Control.Applicative.Backwards
[haskell]
May.
Apr.
Mar.
- zsh supports process substitution using a temporary file
- Smart cast doesn’t work well with computed properties [kotlin][typescript]
Feb.
- Use write-ghc-environment-files to run doctest with cabal [haskell]
- Renaming properties in TypeScript [typescript]
2022
Sep.
Omit
in TypeScript isn’t distributive [typescript]
Aug.
- Type-safe key and value pair [typescript]
- Coproduct to product monoidal functor [haskell]
- Coproduct monoidal functor [haskell]
- Monoidal functor [haskell]
Jul.
May.
- Expressing relations between types, part 8 [haskell][idris]
- Expressing relations between types, part 7 [haskell]
- Expressing relations between types, part 6 [haskell]
- Expressing relations between types, part 5 [haskell]
- Expressing relations between types, part 4 [haskell]
- Expressing relations between types, part 3 [haskell]
- Expressing relations between types, part 2 [haskell]
- Expressing relations between types, part 1 [haskell]
Apr.
- Expressing type equality [haskell]
Mar.
- Monoid of functors [haskell]
- When do you use
Data.Monoid.Endo
? [haskell] - Running a mongodb replica set in two availability zones may not as stable as you might think
2021
Dec.
Nov.
- Implementing length-indexed vector using dependent types in Idris [idris]
- Implementing
Maybe
using dependent types in Idris [idris]
Sep.
- Installing Python using asdf on macos
- Implementing length-indexed vector using dependent types (cont.) [haskell]
- Implementing length-indexed vector using dependent types [haskell]
- TypeScript 4.4 changes how it calls a method when it’s imported separately [typescript]
Aug.
Jul.
Jun.
May.
- Classic MVC and Reactive Programming, part 5 [typescript]
- Classic MVC and Reactive Programming, part 4 [typescript]
- Classic MVC and Reactive Programming, part 3 [typescript]
- Classic MVC and Reactive Programming, part 2 [typescript]
- Classic MVC and Reactive Programming, part 1 [typescript]
Apr.
- Using GADT as a type function [haskell]
Mar.
- Open the door with types, part 6 [haskell]
- Open the door with types, part 5 [haskell]
- Open the door with types, part 4 [haskell]
- Open the door with types, part 3 [haskell]
- Open the door with types, part 2 [haskell]
- Open the door with types, part 1 [haskell]
Feb.
2020
Dec.
Nov.
- Implementing
Maybe
using dependent types [haskell]
Oct.
- Playing with
Sigma
, part 2 [haskell] - Playing with
Sigma
, part 1 [haskell] - Function returning some types [haskell]
- Functions taking some types, part 2 [haskell]
- Functions taking some types, part 1 [haskell]
Sep.
- Installing GHC 8.8.4 and cabal-install to Ubuntu 20.04 LTS [haskell]
NSMapTable.count
counts released objects
Aug.
- MongoDB query planner can be very slow
- Converting a function taking a callback to a suspend function [kotlin]
Jul.
Writer
monad andTraced
comonad [haskell]Reader
monad andEnv
comonad [haskell]- PostgreSQL doesn’t create an index on a column with a foreign key while MySQL does
- Why do you need singletons? [haskell]
- Increase max number of open files of mongodb on Ubuntu with systemd
- Changing maxfiles for mongodb on Mac OS
Jun.
- Extend a class with a proxied constructor [javascript]
2019
Sep.
Aug.
Jun.
- Lenses in Javascript [javascript]
2015
Mar.
Feb.
- Convert a type level natural number to a value level integer and vise versa [haskell]
- Type-safe list with
GHC.TypeLits
[haskell] - Type-safe list,
DataKinds
,ConstraintKinds
and more [haskell]
2014
Nov.
- Hash with Pipes [haskell]
Oct.
- Using cabal-install-1.20 on Travis-CI [haskell]
Sep.
- Writing an instance of
Arbitrary
for a list [haskell] - Getting a path to a source file [haskell]
- Combining pipes [haskell]
- Evaluate lenses by hand [haskell]
- Calculating a sum in pipes [haskell]
Aug.
- Grouping in pipes [haskell]
Jun.
2013
Dec.
Oct.
Jan.
2012
Nov.
Jul.
Jun.
Apr.
Mar.
- How to upgrade a kernel image supporting pv-grub on EC2 [aws]
- Lifting a monadic computation through a stack of monad transformers, part 2 [haskell]
- Lifting a monadic computation through a stack of monad transformers, part 1 [haskell]
Feb.
- Catching an exception using
MonadCatchIO
[haskell] MonadBase
is a generalizedMonadIO
[haskell]- Recovering from a failure of
git svn dcommit
- Decreasing the number of generations kept by logrotate won’t delete old log files
- Generating a sequence in a shell script
Jan.
2011
Dec.
- Never call
mysql_real_connect
more than once without callingmysql_init
again - Killing a thread or query of MySQL running on RDS [aws]
for_
iswhenJust
[haskell]
Nov.
Oct.
Aug.
- Retrieve branches on a subversion repository using git-svn
- MySQL puts the default value to
NOT NULL
column - MySQL updates columns from left to right
Jul.
May.
Apr.
- Show diff of the specified commit with its parent
- Apply svn:ignore to git using git svn
- Using
WIFSTOPPED
withwaitpid
- B flag for RewriteRule doesn’t work in a path