/var/log/snak.log
2025
Nov.
- Pairs and functions, part 3 [haskell]
- Pairs and functions, part 2 [haskell]
- Pairs and functions, part 1 [haskell]
Oct.
- Making all properties readonly recursively [typescript]
- Homomorphic mapped types map
unknownto{}[typescript] - Building RASP [wrf][rasp]
- Kleisli category and an adjunction [haskell]
Sep.
- T-Algebra and an adjunction [haskell]
- Terminal F-Coalgebra of monoid and cofree monoid [haskell]
Aug.
- Building WRF on Ubuntu 24.04 LTS [wrf]
- Initial F-Algebra of monoid and free monoid, part 2 [haskell]
- Initial F-Algebra of monoid and free monoid, part 1 [haskell]
Jul.
Jun.
- A parameter type is existential, a return type is universal, part 3 [haskell]
- A parameter type is existential, a return type is universal, part 2 [haskell]
- A parameter type is existential, a return type is universal, part 1 [haskell]
May.
- Implementing an instance of a type class dynamically, part 4 [haskell]
- Implementing an instance of a type class dynamically, part 3 [haskell]
- Implementing an instance of a type class dynamically, part 2 [haskell]
Apr.
- Implementing an instance of a type class dynamically, part 1 [haskell]
- Invisible kinds of GADT can be also generalized [haskell]
Mar.
- Universal and existential quantification in Rust, Swift and Haskell [haskell][rust][swift]
newtypewith 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.
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::collectcan collectResults [haskell][rust]- Natural isomorphism between
Day Identity fandf[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,LoneandDistributive[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.
Omitin 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
Maybeusing 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
Maybeusing 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.countcounts released objects
Aug.
- MongoDB query planner can be very slow
- Converting a function taking a callback to a suspend function [kotlin]
Jul.
- 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,ConstraintKindsand more [haskell]
2014
Nov.
- Hash with Pipes [haskell]
Oct.
- Using cabal-install-1.20 on Travis-CI [haskell]
Sep.
- Writing an instance of
Arbitraryfor 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] MonadBaseis 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_connectmore than once without callingmysql_initagain - 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 NULLcolumn - 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
WIFSTOPPEDwithwaitpid - B flag for RewriteRule doesn’t work in a path