E

Electric Monk

electricmonk.nl · Personal blog · on HN since 2008

Electric Monk is a Dutch developer's blog on Python, Linux, Docker, tooling tutorials, and general programming practice.

What HN saysHN links it for practical tips such as keeping a home directory in git; commenters give no opinion on the blog as a whole.
16HN people shared it
7linked it in comments
9stories submitted
199story points
2 years agolast shared
2008people per year2026

Most-shared posts

  1. 1
    UMatrix Tutorial
    2 people · 2 points · first shared 2017 · 1 comments on HN
  2. 2
    Evolutionary Algorithm: Evolving "Hello, World"
    1 people · 117 points · first shared 2011 · 45 comments on HN
  3. 3
  4. 4
    Parameter expansion in Python
    1 people · 3 points · first shared 2008 · discussion on HN
  5. 5
    Umatrix makes the web usable again (2017)
    1 people · 2 points · first shared 2020 · discussion on HN
  6. 6
    Closures, and when they're useful. (2011)
    1 people · 1 points · first shared 2012 · discussion on HN
  7. 7
    Performance optimization: The first thing to do
    1 people · 1 points · first shared 2009 · discussion on HN
  8. 8
    Why you shouldn't be using S3 or Google App Engine
    1 people · 1 points · first shared 2008 · 2 comments on HN
  9. 9
    (Finite-) State Machines in practice
    1 people · 1 points · first shared 2012 · discussion on HN
  10. 10
    Python destructor and garbage collection notes
    1 people · first shared 2012
  11. 11
    How google fucked up usenet
    1 people · first shared 2023
  12. 12
  13. 13
    Fntdb07 architecture.pdf
    1 people · first shared 2016
  14. 14
    Setting io priorities on linux
    1 people · first shared 2014
  15. 15
    Virtualization security
    1 people · first shared 2015

What HN people wrote when they linked it

scottwernervt · 2021-05-13
https://www.electricmonk.nl/log/2015/06/22/keep-your-home-dir-in-git-w… has been working nicely for me on multiple computers.
tedyoung · 2016-06-06
The Red Book [1] (recently updated) is a good overview and has lots of useful references. Some might be too high-level, but this paper (really a short book!) is a good start at what makes up a database: "Architecture of a Database System"[2]. Keep in mind that the scope of a "database" can be huge, so you might want to start really small, e.g., writing a basic key-value store that can support things concurrent reads & write, isolation, etc. It all depends on what interests you. -- [1] http://www.redbook.io/ [2] http://www.electricmonk.nl/data/freeitebooks/fntdb07-architecture.pdf
mariusz79 · 2015-05-13
"You've been smoking something really mind altering, and I think you should share it. x86 virtualization is about basically placing another nearly full kernel, full of new bugs, on top of a nasty x86 architecture which barely has correct page protection. Then running your operating system on the other side of this brand new pile of shit." The rest of the rant is here: http://www.electricmonk.nl/log/2007/10/25/virtualization-security/
cmccabe · 2012-09-25
> > lack of real GC for data structures with cycles > This has not been true since (AFAIK) Python 2.0, > which was released 12 years ago. Sorta. It seems that CPython still can't garbage collect objects in cycles if those objects have a __del__ method. See http://www.electricmonk.nl/log/2008/07/07/python-destructor-and-garbag… Or see gc.garbage, from http://docs.python.org/release/2.7.3/library/gc.html
haberman · 2014-03-10
It always amazes me that after all these years, Linux still hasn't fixed this. In my experience, any program that overloads I/O will make the system grind to a halt on Linux. Any notion of graceful degradation is gone and your system just thrashes for a while. My theory about this has always been that any I/O related to page faults is starved, which means that every process spends its time slice just trying to swap in its program pages (and evicting other programs from the cache, ensuring that the thrashing will continue). I've never gotten hard data to prove this, and part of me laments that SSDs are "fast enough" that this may never actually get fixed. Can anyone who knows more about this comment? It seems like a good rule inside Linux would be never to evict pages that are mapped executable if you can help it. Has anyone experimented with ionice or iotop? http://www.electricmonk.nl/log/2012/07/30/setting-io-priorities-on-lin…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close