Life, Programming, Everything

When I find something interesting and new, I post it here - that's mostly programming, of course, not everything.

Thursday, April 28, 2011

Church Numerals in Scala

›
As everyone knows (see http://en.wikipedia.org/wiki/Church_encoding ), in pure lambda one can define natural numbers out of nothing, like th...
Sunday, January 02, 2011

Notes on my relations with CT

›
Zaki suggested me to write something on this topic... So, what happened to me... In several stages. 1. I'm 19, a student in Leningrad Un...
5 comments:
Saturday, October 16, 2010

my codecamp talk here

›
Monads, Functors, Functions, Java/Scala on Prezi
Sunday, September 19, 2010

Running with SBT

›
So, you are tired of your slow and half-dumb ides, ok, what can you do to make your scala dev cycle more agile? Use sbt . First go to that w...
Sunday, September 12, 2010

Dealing with Infinities in Your Code - 3

›
Here I had introduced countable sets, and here I had demonstrated how we can build a union of two countable sets. Now is time for Cartesia...
2 comments:

Dealing with Infinities in Your Code - 2

›
In this post I had introduced the idea of having countable sets in your code. Next I want to show how we can combine countable sets produci...
2 comments:
Thursday, September 09, 2010

Dealing with Infinities in Your Code - 1

›
These days it is not unusual to have an infinite sequence in a computer system. The idea is that while the sequence grows, the system upgrad...
Tuesday, July 20, 2010

iterable, tree, monad, foundation axiom

›
Everybody knows now that linear data are bad for performance. But in Java everything is based on Iterable, with the idea, deeply rooted in m...
Saturday, May 08, 2010

A Better Option for Java

›
Just posted an article, A Better Option for Java
Sunday, April 18, 2010

How I Installed a TV Antenna

›
I live in South San Jose; recently we have discovered that now that we have fast Internet, WII and Netflix, we already have access to hundre...
2 comments:
Monday, March 29, 2010

Hidden Monads in Scala

›
Actually, not monads, just functorial stuff. But programmers seems to be unaware of the fact that a monad is a special kind of functor, so.....
Wednesday, March 24, 2010

Topics in Coding Style

›
While at Google, I believed in two things: peer code review and unacceptability of ascii art in the code. Peer code review means you are sup...
1 comment:
Monday, March 08, 2010

A Brief History Of Single Exit

›
Many many years ago people were writing their code mostly in FORTRAN, but also in PL/I. They were told by their teachers not to use too many...
4 comments:
Wednesday, January 20, 2010

Dispatch by Return Type: Haskell vs Java

›
If you are a Haskell programmer, this is all trivial for you; but if you are a Java programmer, you would ask yourself two questions: is it ...
1 comment:
Monday, November 30, 2009

Subclass and Subtype in Java

›
Here I just want to get together a pretty much widely-known information; somehow it escapes you if you just read Java books or google the in...
2 comments:
Monday, November 16, 2009

Not Just Subtyping

›
I've been trying to figure out how come the only relationship between types we use to encounter is "sub". Type a is a subtype ...
2 comments:
Monday, August 31, 2009

a sample comonad

›
Comonads still look a little bit enigmatic to programmers; I'm going to show a practical example from which one can start perceiving the...
Tuesday, June 23, 2009

Why Monoids?

›
I sincerely plan to explain in simple terms what's all this fuss about monoids, why we suddenly need these primitive structures, and how...
4 comments:
‹
›
Home
View web version

About Me

Vlad Patryshev
View my complete profile
Powered by Blogger.