Thanks Luke for this interesting read: http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/
It reminds me of English as it is substantially simpler than most other languages. What I've heard (from themselves) is that most native English speakers are not easily motivated to learn a second language. And that is although they know all the corresponding advantages like healthier brains, better first language, more interesting traveling, etc.
A good article about why to learn a second language: http://www.omniglot.com/language/articles/benefitsoflearningalanguage.htm
Tuesday, March 29, 2016
Tuesday, March 22, 2016
Safe Cache Invalidation
![]() |
| Caches - as fragile as bubbles. |
There are only two hard things in Computer Science: cache invalidation and naming things.And right he is. Both is true for the package that I would like to present in this post. Based on functools.lru_cache, it allows you to specify when the caches should be invalided. In the absence of a proper name for this kind of functionality, I called it xcache, analogous to xheap and xfork.
– Phil Karlton
Tuesday, March 8, 2016
Even Faster Heaps
![]() |
| An ambulance rushing by. |
Sunday, March 6, 2016
Raymond Tomlinson, the inventor of email, died
Raymond Tomlinson invented one of the most famous technologies of today: email.
He died on Friday.
Read more about him on Ars: http://arstechnica.com/business/2016/03/e-mail-inventor-ray-tomlinson-who-popularized-symbol-dies-at-74/
He died on Friday.
Read more about him on Ars: http://arstechnica.com/business/2016/03/e-mail-inventor-ray-tomlinson-who-popularized-symbol-dies-at-74/
Wednesday, March 2, 2016
LRU Caches
![]() |
| Precious little pieces preserving the balance of nature. |
RLU stands for "least recently used", i.e. if the maximum size of the cache has been reached and a new item is to be inserted, the item with the oldest access timestamp will be discarded to make room for the new resident. The cache size can be unlimited which especially useful for short running scripts.
Let's get our hands dirty:
Tuesday, March 1, 2016
DROWN—Yet Another Vulnerability of TLS
Yet another vulnerability of TLS has been discovered even affecting the latest version 1.2 as Ars wrote:
http://arstechnica.com/security/2016/03/more-than-13-million-https-websites-imperiled-by-new-decryption-attack/
Best,
Sven
http://arstechnica.com/security/2016/03/more-than-13-million-https-websites-imperiled-by-new-decryption-attack/
Best,
Sven
Designing xfork
Recently, I came to know a small team working on a problem which they try to solve by using threads. As expected, problems popped up soon and development slowed down considerably. So based on the previous post, I would like to lay out my intentions and design decisions regarding xfork, a module I've written and actively maintain in analysis of the newly introduced async/await syntax.
Concurrency is a hard engineering problem.
Take it seriously and even consider not being concurrent a valid option.
Design Assumptions
I created xfork from the following observations based on my own experience. Developers usually:
Concurrency is a hard engineering problem.
Take it seriously and even consider not being concurrent a valid option.
Design Assumptions
I created xfork from the following observations based on my own experience. Developers usually:
Subscribe to:
Posts (Atom)


