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

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..

1984 - apurva-shukla.me - 11 years ago - eng
This book is an absolute classic! It is basically a dystopian novel where the main character (Winston Smith) lives in. It is set…

I usually avoid proprietary cloud services because of freedom, privacy and vendor lock-in concerns. In addition, there are some excellent libre (and hosted) services such as WordPress , Wikipedia and OpenShift which don’t have the above problems. Thirdly, there are every day Free Software tools such as Fedora GNU/Linux , Libreoffice , and git-annex-assistant which make my computing much more powerful. Finally, there are some..

I usually avoid proprietary cloud services because of freedom, privacy and vendor lock-in concerns. In addition, there are some excellent libre (and hosted) services such as WordPress , Wikipedia and OpenShift which don’t have the above problems. Thirdly, there are every day Free Software tools such as Fedora GNU/Linux , Libreoffice , and git-annex-assistant which make my computing much more powerful. Finally, there are some..

I was interviewed by Anne Fisher of Fortune Magazine regarding the use of Google Glass in the workplace. This is the accompanying article published by Fortune.


A little while back I spent some time looking at an interesting issue with a colleage. He was trying to load a virtual machine from an .OVA but kept recieving error messages as he loaded it that the file was invalid. Somehow though, other people used the same file. This one could be fun to diagnose. To start with, the premise of our argument has a problem: it wasn't the same file but rather a copy of the file.

The Mona Lisa Leonardo da Vinci’s Mona Lisa is one of the most famous paintings of all time. And there has always been a discussion around her enigmatic smile. He used a trademark Renaissance technique called sfumato, which involves many thin layers of glaze mixed with subtle pigments. The striking result is that when you look directly at Mona Lisa’s smile, it seems to disappear. But when you look at the background your peripherals see a sm..

The Mona Lisa Leonardo da Vinci’s Mona Lisa is one of the most famous paintings of all time. And there has always been a discussion around her enigmatic smile. He used a trademark Renaissance technique called sfumato, which involves many thin layers of glaze mixed with subtle pigments. The striking result is that when you look directly at Mona Lisa’s smile, it seems to disappear. But when you look at the background your peripherals see a sm..

The Mona Lisa Leonardo da Vinci’s Mona Lisa is one of the most famous paintings of all time. And there has always been a discussion around her enigmatic smile. He used a trademark Renaissance technique called sfumato, which involves many thin layers of glaze mixed with subtle pigments. The striking result is that when you look directly at Mona Lisa’s smile, it seems to disappear. But when you look at the background your peripherals see a sm..

Preface I have been asked many times what closures are and how they work. There are many resources available to learn this concept, but they are not always clear to everyone. This has led me to put together my own approach to exchanging the information. I will supply code samples. //> denotes an output or return. Before discussing closures, it is important to review how functions work in JavaScript. Introduction to functions If a function d..

This Week in Podcasts - zacs.site - 11 years ago - eng
At first I attributed my absence of enthusiasm in a medium that I previously enjoyed so immensely a by-product of the increased demands on my time as of late. However, upon further consideration, and after yet another week of but one entry here in a list that previously contained double-digit items, I realized the true reason behind this unfortunate change: my interests had shifted. Just as I no longer derive the same pleasure in reading ab..

Back to the brain we go. I already had snails eating food in jars before, but it was kind of a hack. Each snail would just eat a bite of whatever consumable item was in the jar. When I stupidly decided to try to make a simple snail brain, I knew I’d have to make things like eating fit into it. Today I made a very rough version of something like that.

It’s occasionally useful when writing map/reduce jobs to get a hold of the current filename that’s being processed. There’s a few ways to do this, depending on the version of Spark that you’re using. Spark 1.1.0 introduced a new method on HadoopRDD that makes this super easy: import org.apache.hadoop.io.LongWritable import org.apache.hadoop.io.Text import org.apache.hadoop.mapred. { FileSplit , TextInputFormat } imp....

Yesterday I gave a talk at Dev Workshop Conf  introducing the basic concepts of vertex and fragment shaders. Unfortunately I don't have a video, just this one potato picture: It's probably for the best, because Chrome locked up on me halfway through. The slide deck is pretty cool though. It includes over 20 interactive WebGL samples, complete with source code. Check it out and let me know what you think!

A bi-temporal data model is a fancy way of saying that all tables have 2 pairs of dates: business from/to, and audit from/to. The business dates track expected day-over-day changes in business data such as the varying quantities of widgets in stock. The audit dates are used to track when the data was loaded into the database, and any data fixes applied by IT. In essence, every table contains the current record as well as the full log of..

Over the past few days I’ve paused work on the brain to tackle snail movement on the client. I ended up using Latchet , a Laravel-specific extended version of Ratchet. To start with I just wanted to get something running. I think I ended up doing this in a really roundabout way…basically we subscribe to a specific jar topic on the client, then ping the server every 5 seconds to get back the target position of each snail within that jar..

This book was a just a breeze to go through, I sat and read for hours on end because the book captivated me so much, the history of…

Incredible to think that today, in our modern society, things like this still happen. Not only do these sorts of things happen though, but they fly under the radar as well. Harrowing, to say the least. Permalink.

AirControl is a tool to control AirPlay Mirroring from the command line. TL;DR: it’s open source and available in our GitHub repo . If you’re interested in the details of how we got it working, read on. Once a month, the Engineering team has a Hack Day. Anybody can work on anything they like, be it discovering a new programming language, speeding up our test suite, or, in the case at hand, building a terminal tool to control AirPlay....

17 visitors online