Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Somehow refactoring turned info rewriting from scratch… So, meet the new shiny mucks app written in AWK language (instead of UNIX Shell). I played with quotes in tmux “send-keys” command, and it turned out that different shells treat quotes in the “read” command very differently, and I found no easy way to overcome it. That’s how AWK came to the rescue. A more mature, yet much simpler language made my code cleaner and shorter.

Somehow refactoring turned info rewriting from scratch… So, meet the new shiny mucks app written in AWK language (instead of UNIX Shell). I played with quotes in tmux “send-keys” command, and it turned out that different shells treat quotes in the “read” command very differently, and I found no easy way to overcome it. That’s how AWK came to the rescue. A more mature, yet much simpler language made my code cleaner and shorter.

Setting up a Google Project In order to use any of the Google APIs for your application, first you need to set up a project in the Google Developer’s Console . Enable all the APIs that you want to use in the APIs tab under APIs and auth. Under the Credentials tab, create a Client ID and Client secret which is used for communication between your application and the API. Enter all the allowed redirect urls in the Redirect URIs field. These a....

Since moving to Sweden I have become a sort of cafe hunter. I roam Södermalm with my laptop, sometimes on my Brompton, scouting out potential sitting spots with WiFi where I can sit and work on my personal projects or read.

Peeping Tim - zacs.site - 12 years ago - eng
Monday afternoon, at the tail end of a jam-packed and incredible keynote, Craig Federighi introduced yet another “kit” — HomeKit. Continuing an impressive trend present throughout the presentation, this framework makes your entire house an accessory to the iPhone in iOS 8 by allowing those with compatible systems to control everything from security cameras and door locks to lights and, although not explicitly stated, other devices such as t..

Configuration management is an essential part of securing your infrastructure because it can make sure that it is set up correctly. It is essential that configuration management only enhance security, and not weaken it. Unfortunately, the status-quo of secret management in puppet is pretty poor. In the worst (and most common) case, plain text passwords are found in manifests. If the module author tried harder, sometimes these password str..

Configuration management is an essential part of securing your infrastructure because it can make sure that it is set up correctly. It is essential that configuration management only enhance security, and not weaken it. Unfortunately, the status-quo of secret management in puppet is pretty poor. In the worst (and most common) case, plain text passwords are found in manifests. If the module author tried harder, sometimes these password str..


The snail simulation is coming along. Tonight I did some work on racing. The racing formula isn’t anywhere close to final yet, but races do run. Here’s how it works right now:

The magic of WWDC - sansink.org - 12 years ago - eng
As I catch up on missed articles, I came across this noteworthy one from Adam Haworth’s previously-mentioned Sansink, where he talks about fanboyism and WWDC. Worth reading, I believe, especially in the wake of Monday’s spectacular keynote address, because I think his point of view mirrors that of all but the relatively small sect who get genuinely enthused around this time each year: for most of the computer-using world, WWDC is an over-....

I recently stood up a azure VM to test out some work I’ve been doing around creating my own DNS server. Feeling bold and overconfident I created a machine with a long random name, punched open the firewall for dns and set my custom dns running. Having played with the code till late in the evening I left the box running and went to bed. My machines existence was only known to me, so I just left it there with unfinished code answering dns q..

Stories like this one from Craig Grannell remind me why I have been so reticent to enter the political landscape in any meaningful capacity up until now, a hesitancy I outlined when linking to Ben Thompson’s recent piece in which he called for greater political involvement for those in the technical professions. Everyone promises peace and to bring the soldiers home, but that will never happen: wars will forever wage on, and someone will ..


Fascinating short documentary done by Motherboard on Soylent. Since it came out I have been a somewhat vocal proponent of this product, but remained so only in theory: through this site I readily recommended others try Soylent every time I wrote about it, but never actually gave it a shot myself. After seeing this, though, I have finally decided to bite the bullet and order some: I’ll start with the original Soylent, and then, depending on ..

In a recent post I provided my initial impressions of Docker, which were glowing to put it mildly. After spending more time working with it, I've found that it does still have some additional drawbacks in certain situations just about every situation covered thanks to Vagrant.

Yet another great article from Sam Dogen over at Financial Samurai. Although I have considered unsubscribing from his site a number of times lately, for it seems that overnight his posts went from the single most interesting writing I could find on the internet to the most boring, he really hit it out of the park with this one: simultaneously excellent, rage-inducing, and depressing all at once. Especially in these socially-charged times we..

Earlier this year, R.I.Pienaar released his brilliant data in modules hack , a few months ago, I got the chance to start implementing it in Puppet-Gluster , and today I have found the time to blog about it. What is it ? R.I.’s hack lets you store hiera data inside a puppet module. This can have many uses including letting you throw out the nested mess that is commonly params.pp, and replace it with something file based that is el..

Earlier this year, R.I.Pienaar released his brilliant data in modules hack , a few months ago, I got the chance to start implementing it in Puppet-Gluster , and today I have found the time to blog about it. What is it ? R.I.’s hack lets you store hiera data inside a puppet module. This can have many uses including letting you throw out the nested mess that is commonly params.pp, and replace it with something file based that is el..

Python’s simple, easy-to-learn syntax can mislead Python developers – especially those who are newer to the language – into missing some of its subtleties and underestimating the power of the language. With that in mind, this article presents a “top 10” list of somewhat subtle, harder-to-catch mistakes that can bite even the most advanced Python developer in the rear. via 10 Most Common Python Mistakes .

A cycling adventure - liza.io - 12 years ago - eng
On Sunday we went on a day-long bike ride to Lake Mälaren. We didn’t get as far as we’d planned, but it was still a great day.

Change is inevitable - sansink.org - 12 years ago - eng
I subscribed to Adam Haworth’s site on a lark, and thus far doing so has proven a remarkably prescient decision. If you’re looking for another great site to start following, start with this piece on change and thank me later. Permalink.

In the last few posts we've gone over how to build and secure a reverse proxy. While this is a great option if you want to add extra access controls, rewrite urls, or hide multiple servers behind an IP, sometimes it is just a bit of overkill. Sometimes all that is needed is to change the port that a service listens on. Let's take Atlassian Confluence for example. By default it serves up pages on port 8090.

Amazing book.. About the consequences of money and fame as well as the rising and downfall of a very smart man.

Time for another screencast! This one is shorter and shows how easy it is to wrap a jQuery plugin in an Ember.js component for reuse.

Thought-provoking piece by Ben Thompson wherein he explains the importance of those within the technical professions getting involved in the morass that is politics. In the past I have taken zero interest in this whatsoever: despite turning eighteen just before the last presidential election, I did not vote; I have yet to even register. But Ben makes a strong case for greater involvement, and one that I feel will, ultimately, prove not onl..

Optimization is by far one of the richest ways to apply computer science and mathematics to the real world. Everybody is looking to optimize something: companies want to maximize profits, factories want to maximize efficiency, investors want to minimize risk, the list just goes on and on. The mathematical tools for optimization are also some of the richest mathematical techniques. They form the cornerstone of an entire industry known as ope..

Optimization is by far one of the richest ways to apply computer science and mathematics to the real world. Everybody is looking to optimize something: companies want to maximize profits, factories want to maximize efficiency, investors want to minimize risk, the list just goes on and on. The mathematical tools for optimization are also some of the richest mathematical techniques. They form the cornerstone of an entire industry known as ope..

Optimization is by far one of the richest ways to apply computer science and mathematics to the real world. Everybody is looking to optimize something: companies want to maximize profits, factories want to maximize efficiency, investors want to minimize risk, the list just goes on and on. The mathematical tools for optimization are also some of the richest mathematical techniques. They form the cornerstone of an entire industry known as ope..

In preparation for Apple’s WWDC keynote today, be sure to give Harshil Shah’s article wherein he lays out his wishes for iOS 8 a try: although I’m only about halfway through, in the interest of time I have decided to post it here anyway. He makes a lot of great points, and has some very interesting ideas for the future of Apple’s mobile operating system. It just might take you until the beginning of the keynote to finish, but I highly recom..

This Week in Podcasts - zacs.site - 12 years ago - eng
Almost exclusively old shows this week with but two outstanding exceptions. Turns out listening to back catalogs pays off; who would’ve guessed? Permalink.

Hi, This is something I wanted to do with my HypeMix app, the aim was that the user would be able to navigate around the app but, on any page, open the draw to see the currently playing track etc. Luckily, now Windows Phone 8.1 is in line with WinRT, we have the idea of Frames for Navigation. Using this I created a FramePage, this is the first page the app navigates to and it contains the Draw Content, Frame (for subsequent pages we n..

In the last installation of this series, we started using Java iterators to decompose the monolithic REPL (read-eval-print-loop) into modular compoments. This let us start decoupling the semantics of the REPL from the mechanisms that it uses to implement read, evaluate, and print. Unfortunately, the last version of rpncalc only modularized the command prompt itself: the ‘R’ in REPL. The evaluator and printer are still tightly bound to the....

Screenshot Saturday 173 - etodd.io - 12 years ago - eng
Last week was a  huge update , so this week is a bit smaller. First, we're hard at work on the animations. Here are some early WIP animations: There are also a ton of new player sounds to accompany those animations, but those aren't very screenshotable. :) I also vastly improved the god ray effect from last week, so everything is much smoother. Here's another 4K screenshot of it:

Shortly after Marco Arment and Dan Benjamin started Build & Analyze in 2010, I bought Instapaper. I did not buy this app out of any particular need for it, though, but rather out of a desire to give Marco a little something in exchange for the hours upon hours of enjoyment he had provided me in the form of his podcast. Fast-forward just a few months, however, and — just as I do now — I had begun to use Instapaper daily. Even so, it took m..

It's summer! - liza.io - 12 years ago - eng
It’s summer!!! Swedish weather has gotten so nice over the past week or so. It’s still a bit uncertain and there are cold days, but there have been a few unbelievably nice days where not being outside feels like some sort of crime.

When GNOME shell breaks, you get to keep both pieces. The nice thing about shell failures in GNOME 3, is that if you’re able to do a restart, the active windows are mostly not disturbed . The common way to do this is to type ALT-F2 , r , «em>ENTER>. Unfortunately, you can’t always type that in if your shell is very borked. If you are lucky enough to have SSH access, and another machine, you can log in remotely and run this script:

When GNOME shell breaks, you get to keep both pieces. The nice thing about shell failures in GNOME 3, is that if you’re able to do a restart, the active windows are mostly not disturbed . The common way to do this is to type ALT-F2 , r , «em>ENTER>. Unfortunately, you can’t always type that in if your shell is very borked. If you are lucky enough to have SSH access, and another machine, you can log in remotely and run this script:

One of my more popular blog entries is on using Ember.js without Ember Data . Recently I’ve been going through my old entries and making sure they don’t have any glaring mistakes, and I realized this would be a good opportunity to convert my emberreddit project to ember-cli . This screencast shows how you can build an Ember.js application without using Ember Data. It starts off simple and then shows how to build advanced stuff like ..


A couple of months ago I wanted to experiment with the serial console of an old router I had laying around. Not wanting to buy a UART to RS-232 adaptor, I decided to make one myself. After all, I had some spare MAX3232 left over from a previous project (for which I still haven't blogged).

Not so unique GUID - boyter.org - 12 years ago - eng
I have been doing a lot of work with the Sitecore CMS recently. Once of the things you quickly learn is how it relies on GUID’s for pretty much everything. This means of course when you start testing and need to supply GUID’s into your tests that you end up with lots of GUIDs that look like the following sprinkled through your code {11111111-1111-1111-1111-111111111111} Today I remarked that we should be using things like “deadbeef” for t..

I have problems remembering people’s names. Really, I’m not good at it. And that’s no exception with computer technology. That’s why I’ve written this post, to try to improve and persist those names in my head. Let’s see who is who in nowadays computer science. Methodologies
Kent Beck (wikipedia, twitter) – XP....

pRuby provides two different syntaxes to nest modules (and classes):/p div class=highlightprecode class=language-ruby data-lang=rubyspan/spanspan class=c1# Syntax #1/span span class=kmodule/spanspan class=w /spanspan class=nnAPI/span span class=w /spanspan class=kmodule/spanspan class=w /spanspan class=nnV1/span span class=w /spanspan class=kend/span span class=kend/span span class=c1# Syntax #2/span span class=kmodule/spanspan class=w /s....

I decided to port my blog to Octopress and move away from Wordpress after all these years. The reason for this is twofold: I've really gotten used to working with vim, git, github and the surrounding workflow. Static site generators are all the rage currently, so who am I to miss out? Why Octopress and not something based on Python like Pelican or Nikola ? I simply decided to do something that will get me out of my comfort zone and..

85 visitors online