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

Introduction It is idiomatic in Go to use the error interface type as the return type for any error that is going to be returned from a function or method. This interface is used by all the functions and methods in the standard library that return errors. For example, here is the declaration for the Get method from the http package:   Listing 1.1

This Week in Podcasts - zacs.site - 11 years ago - eng
Another week has gone by, made all the better with a few great podcasts. This time around, Roderick on the Line makes another appearance, and is accompanied by a great episode of Systematic and a fantastic episode of Zac & Co. Enjoy. Permalink.


Last Friday night I attended what was apparently the first ever Laravel Meetup in Sweden. I’m glad I actually made myself go, because I’m not really good with social engagements. I don’t tend to go out much and sometimes end up just not bothering and staying home at the last minute.

I previously showed you how to Load a Github Gist with Composer, but sometimes you need to install code that isn't isn't even in a public facing VCS. I for instance wanted to use a library only distributed by Zip. It's actually fairly easy! In your composer.json file, you simply add a repositories section to the root. You will want to update the url section to point at the remote zip you intend to load, as well as updating the name an..

I previously showed you how to Load a Github Gist with Composer, but sometimes you need to install code that isn't isn't even in a public facing VCS. I for instance wanted to use a library only distributed by Zip. It's actually fairly easy! In your composer.json file, you simply add a repositories section to the root. You will want to update the url section to point at the remote zip you intend to load, as well as updating the name an..

I just patched puppet-gluster and puppet-ipa to bring their infrastructure up to date with the current state of affairs… What’s new ? Better README's Rake syntax checking (fewer oopsies) CI (testing) with travis on git push (automatic testing for everyone) Use of  .pmtignore to ignore files from puppet module packages (finally) Pushing modules to the forge with blacksmith (sweet!) This last point deserves another mention...

I just patched puppet-gluster and puppet-ipa to bring their infrastructure up to date with the current state of affairs… What’s new ? Better README's Rake syntax checking (fewer oopsies) CI (testing) with travis on git push (automatic testing for everyone) Use of  .pmtignore to ignore files from puppet module packages (finally) Pushing modules to the forge with blacksmith (sweet!) This last point deserves another mention...

I've been using tmux for a while, and even though I didn't like it at first, now I'm in love with it. I'm mostly using it as a GNU Screen alternative, but I don't use some of its fancy features like tabs, mainly because my window manager takes care of multiple terminal windows for me.

Another article courtesy of the folks over at Gear Patrol, this time a photo essay after a trip to South Africa’s Sabi Sands Game Reserve. I spent three months in South Africa a number of years ago, and hours upon days trolling through an adjacent park (Kruger National Park, for those curious), but only managed to see a fraction of the sights the folks did here. Even then, though, I have no complaints: Africa was full of majesty everywhere ..

The recent surge in attention to searchcode from the Windows 9/10 naming fiasco resulted in a lot of questions being raised about searchcode’s policy about free software (open source). While the policy is laid out on the about page some have raised the issue of the ethics about using such a website which is not 100% free (as in freedom). For the purposes of the rest of this post “free software” is going to refer to software defined as n..

The first commandment that any young programmer learns is “Thou Shall Not Duplicate”. Thus instructed, whenever we see something that looks like it may be repeated code, we refactor. We create libraries and frameworks. But removing duplication doesn’t come for free. If I refactor some code so that instead of duplicating some logic in Class A and Class B, these classes share the logic in Class R (for reuse!). Now Classes A and B are indirect..


Sol Orwell is the co-founder of Examine.com, an independent encyclopedia for supplement and nutrition information.

Although I started out confident in Coin’s eventual success , I have since made no bones about my distaste for their questionable methodologyy , business model , and apparent inability to meet deadlines . Burn me once, shame on you; burn me twice, though, shame on me: I’m hesitant to get behind Plastc given the apparently insurmountable challenges of this space, but that won’t stop me from wishing them success. At this point, I just wan..

Event queues - liza.io - 11 years ago - eng
The brain thing is really getting out of control. Yesterday I ran into this problem: Fatal error: Maximum function nesting level of '100' reached, aborting!

C++ bookmarks - xenodium.com - 11 years ago - eng
Additional C/C++ Tooling . C++ Best Practices . C++ Core Guidelines . cppreference.com . Fast directory listing . FunctionalPlus: helps you write concise and readable C++ code . GitHub - mozilla/rr: Record and Replay Framework (debugging) . Modern C | Hacker News . Modern C++: Variadic template parameters and tuples . My favorite C compiler flags during development | Hacker News . My Most Important C++ Aha! Moments…Ever . Program..

In a day and age before ubiquitous personal drones roamed the skies, capturing incredible footage of active volcanoes, for example , filmmakers had no choice but to climb into planes and film those breathtaking views themselves. Harrison Sanborn found some of this footage in his father’s archives, digitized the film, and turned the result into a neat three minute video on Vimeo. There’s a certain quality to this footage that newer, digit..

An incredible, remarkably powerful story by Alan Heathcock that seeks to lay the harsh realities of drought to bear with a painful, hard-hitting story of good people who have lost everything for lack of one sample necessity: water. This article ought to be a prerequisite for forming any opinions on sustainability whatsoever. Permalink.

Reducing code complexity though conventions and stop services and controllers turning into a dumping ground for core logic

Jeff Kish, contributing editor at the excellent site GearJunkie, spent the summer hiking 1,200 miles on the Pacific Northwest Trail. I followed his journey from that first report in July all the way up to this the conclusion of his trek, and I have to say: I’m both jealous and impressed. If you had the misfortune of missing this great series, head over and check it out: it’s well-worth your time. Follow Thru-Hike Of “Pacific Northwest Trai..

This is the first entry in a series of random articles about some useful internals-to-know of the awesome Oracle Database In-Memory column store . I intend to write about Oracle’s IM stuff that’s not already covered somewhere else and also about some general CPU topics (that are well covered elsewhere, but not always so well known in the Oracle DBA/developer world). Before going into further details, you might want to review the Part 0 ..

This is the first entry in a series of random articles about some useful internals-to-know of the awesome Oracle Database In-Memory column store . I intend to write about Oracle’s IM stuff that’s not already covered somewhere else and also about some general CPU topics (that are well covered elsewhere, but not always so well known in the Oracle DBA/developer world). Before going into further details, you might want to review the Part 0 ..

The operations log or OpLog is a new Eve feature that I’m currently developing on the oplog experimental branch. It’s supposed to help in addressing a subtle issue that we’ve been dealing with, but I believe it can also emerge as a very useful all-around tool. I am posting about it in the hope of gathering some feedback from Eve contributors and users, so that I can better pinpoint design and implementation before I merge it to the main..

This Week in Podcasts - zacs.site - 11 years ago - eng
Another week has gone by, made all the better with a few great podcasts. This time around, we have appearances by Exponent, Back to Work, Roderick on the Line, and Defocused. Enjoy. Permalink.

I recently wrapped up a fun paper with my coauthors Ben Fish, Adam Lelkes, Lev Reyzin, and Gyorgy Turan in which we analyzed the computational complexity of a model of the popular MapReduce framework. Check out the preprint on the arXiv. Update: this paper is now published in the proceedings of DISC2015. As usual I’ll give a less formal discussion of the research here, and because the paper is a bit more technically involved than my previou..

I recently wrapped up a fun paper with my coauthors Ben Fish, Adam Lelkes, Lev Reyzin, and Gyorgy Turan in which we analyzed the computational complexity of a model of the popular MapReduce framework. Check out the preprint on the arXiv. Update: this paper is now published in the proceedings of DISC2015. As usual I’ll give a less formal discussion of the research here, and because the paper is a bit more technically involved than my previou..

I recently wrapped up a fun paper with my coauthors Ben Fish, Adam Lelkes, Lev Reyzin, and Gyorgy Turan in which we analyzed the computational complexity of a model of the popular MapReduce framework. Check out the preprint on the arXiv. Update: this paper is now published in the proceedings of DISC2015. As usual I’ll give a less formal discussion of the research here, and because the paper is a bit more technically involved than my previou..


Before I dived in earnest into writing the new version of my computer game that teaches Python, this time with game mechanics based on the classical puzzle game “Sokoban”, I wanted to make sure that Programmable Sokoban is a fun concept. So I wrote a prototype in a couple of hours. The programmers among you […]


A great companion to yesterday’s post, 10 Typeface Pairs for Cash-Poor Designers , for those looking to improve the design of their site through the adoption of strong design principles. Despite its original publication date of 2009, the best practices Michael Martin puts forth here have retained their value over the years in an excellent resource for aspiring designers. I have applied some of these lessons, too, in the creation of my elus..

This is just a short blip for people running Docker on CentOS who have encountered problems accessing containers from outside the localhost. The long and short of it is this command: shell sysctl net.ipv4.ip_forward=1 Why? Read this answer on StackExchange first. When Docker configures your iptables rules for network access, it likes to create a docker0 interface alongside any other network interfaces (like eth0) that Cen..

If you are interested in joining beta program for Wish ‘N U this post will help you to join the program.

If you are interested in joining beta program for Wish ‘N U this post will help you to join the program.

A hot subject these days is privacy. Since the Snowden's leaks we have been getting headlines about privacy every two or three days. This post is not about something new but it's to dwell into ways of thinking we haven't been accustomed to. I don't personally have any interest in conspiracy theories and secret societies but it's still interesting to relate it with terrorism, as we are in an era of psychotic people.

As I continue work on an as of yet unnamed and unreleased project, I came across this great article by Morgan Gilpatrick from a number of years ago that still maintains its relevance today. Here he puts forth nine different font combinations paired according to a matrix of criteria, and to great results. I plan on returning here and to other resources like it when it comes time to redesign this site once again; great advice, especially help..

Whole frameworks have been written with the purpose of handling the configuration of your application. I prefer a simpler way. If by configuration we mean “everything that is likely to vary between deploys”, it follows that we should try and keep configuration simple. In Java, the simplest option is the humble properties file. The downside of a properties file is that you have to restart your application when you want it to pick up changes.

Most web applications will add/remove columns over time. This is extremely common early on and even mature applications will continue modifying their schemas with new columns. An all too common pitfall when adding new columns is setting a not null constraint in Postgres. Not null constraints What happens when you have a not null constraint on a table is it will re-write the entire table. Under the cover Postgres is really just an ap....

Most web applications will add/remove columns over time. This is extremely common early on and even mature applications will continue modifying their schemas with new columns. An all too common pitfall when adding new columns is setting a not null constraint in Postgres. Not null constraints What happens when you have a not null constraint on a table is it will re-write the entire table. Under the cover Postgres is really just an ap....

Cabin Porn Roundup - zacs.site - 11 years ago - eng
Another installment in my ongoing Cabin Porn Roundup series, where I collect interesting pictures of cabins and cool stories about the outdoors from across the world and present them in a single location. Much like my “This Week in Podcasts” series, I feature only the best of the best here. Enjoy. Permalink.

Privacy Policy - allan.reyes.sh - 11 years ago - eng
I do not employ analytics, trackers, affiliate links, or page view counters. Ain’t nobody got time for that . If you do happen to find something that violates that privacy statement, reach out to me so I can fix it, because it’s likely a programming mistake. While I don’t personally collect anything, this site is hosted using GitHub pages , so you should check their privacy policy , specifically: Please note that GitHub may colle..

Privacy Policy - allan.reyes.sh - 11 years ago - eng
I do not employ analytics, trackers, affiliate links, or page view counters. Ain’t nobody got time for that . If you do happen to find something that violates that privacy statement, reach out to me so I can fix it, because it’s likely a programming mistake. While I don’t personally collect anything, this site is hosted using GitHub pages , so you should check their privacy policy , specifically: Please note that GitHub may colle..

Reading this article from Outside Online, it reminded me of a story a family friend once told me. She explained that her son and daughter-in-law, both schoolteachers in Alaska, had decided to raise their young son without the traditional lessons society dictates a small boy learn during his formative years. As far as his dad was concerned, if he never learned to play baseball, that was just fine: instead he would learn about the outdoors, a..

6 visitors online