Profile cover photo
Profile photo
Matthías Páll Gissurarson
137 followers -
Tu ne cede malis
Tu ne cede malis

137 followers
About
Posts

Post has attachment
I wrote a clock!
So, I wrote a clock . I based it on an analogue clock I had written for a tomato timer app (still working on that), but I added a color variation by the time, to make it cleaner.
Writing the clock itself was just an exercise in Canvas, and the source code ...
I wrote a clock!
I wrote a clock!
blog.mpg.is
Add a comment...

Post has attachment
Hy flow macros.
While working on my new web framework  Horn , written in Hy of course, I found myself lacking some flow controls. So I just wrote some macros! ;; Additional flow macros

(defmacro/g! guard [&rest args]
(setv g!cond (car args))
(setv g!body (car (cdr arg...
Add a comment...

Post has attachment

Post has attachment
Framed theorems in Latex
I just added framed theorems to my Latex repertoire.

I've been using amsthm for marking theorems for a long time, but since I encountered notes that had colored frames around the theorems, I decided that I'd add them to my latex header file. The part of t...
Add a comment...

Post has attachment
Added proper tail recursion to Hy. I hope the pull requests gets accepted!
Add a comment...

Post has attachment
Proper tail recursion in Python
I recently came across a new language, Hy . It is a Lisp dialect of Python!
This means that I can finally start programming as I want in a functional language, Lisp, and not have to worry about whether others can use my code or whether I hit a snag that I c...
Add a comment...

Post has attachment

Post has attachment
Hy <-> Python Interop
I added Hy <-> Python Interop documentation to the Hy documentation today! Best part of open source is that if you find something missing, you can just add it! Hy <-> Python interop By importing Hy, you can use Hy directly from Python! If you save the follo...
Add a comment...

Post has attachment
Skíðafrí
Núna um helgina fórum við Sólrún í skíðafrí til Noregs. Ferðalagið byrjaði á því að við flugum út snemma á fimmtudagsmorgni. Í flugvélinni horfðum við á Anastasíu, en það var frekar gaman að sjá hana aftur, enda ein af betri teiknimyndum sem ekki eru framle...
Add a comment...

Post has attachment
blog.mpg.is. Now with MathJax.
Add a comment...
Wait while more posts are being loaded