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

Members contribute nearly half of this site’s income. Which means there is no way I could be writing here as my full-time gig without the generous support of the members.” With a month left in Shawn Blanc’s membership drive he announced an additional incentive to the existing membership perks: prizes. Worth an aggregate of more than $3,000, these prizes are a great way to encourage readers on the fence about whether to become a member or ..

This week is shaping up to be full of crazy. Not only do I still have to finish my February One Game a Month submission, but just a couple of days ago I found out I’d have to pull off a move. The apartment now looks like a bomb went off as I stuff things into what empty boxes we have left and garbage bags. I’m trying to get as much as I can done over the weekend so that I don’t have to pull packing, cleaning, and JavaScript all-nighters on ..


Airpair - peterlyons.com - 13 years ago - eng
So I've just been one of the earliest progragrammers to get involved with AirPair . It's a service that pairs entrepreneurs with technology experts for code review and pair programming sessions to help them with their coding projects. I did some google hangouts with an entrepreneur who built his own Ruby on Rails app that analyzes geology data files for oil & gas companies and is just starting to port it over to node.js. There's a youtu..

We paid for these goddamn seats, and we’ll recline them if we want to.’ So then everyone was angry: I was angry because I had no room, and she was angry because I passive-aggressively kicked her seat once every 15 minutes — often enough to be annoying, but not often enough to definitely be on purpose.” Funny how such a little thing could become such a bone of contention to so many people. Having spent days in airports and on numerous long..

As I fill the last jar with sweet summer pears I ponder for a second. Why do all this work when I could buy it? Well the truth is I don’t like money. I’m not good with it. Thats why I’d rather work for my food. I know I’ll never be a rich man, I’ll never own anything of great expense, but I have everything I need, I don’t want for much more than this. I have pears in a jar.” Permalink.

In this post we’ll cover the second of the “basic four” methods of proof: the contrapositive implication. We will build off our material from last time and start by defining functions on sets. Functions as Sets So far we have become comfortable with the definition of a set, but the most common way to use sets is to construct functions between them. As programmers we readily understand the nature of a function, but how can we define one math..

In this post we’ll cover the second of the “basic four” methods of proof: the contrapositive implication. We will build off our material from last time and start by defining functions on sets. Functions as Sets So far we have become comfortable with the definition of a set, but the most common way to use sets is to construct functions between them. As programmers we readily understand the nature of a function, but how can we define one math..

In this post we’ll cover the second of the “basic four” methods of proof: the contrapositive implication. We will build off our material from last time and start by defining functions on sets. Functions as Sets So far we have become comfortable with the definition of a set, but the most common way to use sets is to construct functions between them. As programmers we readily understand the nature of a function, but how can we define one math..

Thank you for attending the Exadata Snapper (ExaSnapper) hacking session! I have split the recording of this session into 3 pieces and uploaded to enkitec.tv . The ExaSnapper beta that I demoed is also available now in my blog. See the links below. For quick reference, here’s the syntax of running ExaSnapper – there are two modes, one is the before/after capture (think Tom Kyte’s runstats, but for exadata metrics) and the other is mo....

Thank you for attending the Exadata Snapper (ExaSnapper) hacking session! I have split the recording of this session into 3 pieces and uploaded to enkitec.tv . The ExaSnapper beta that I demoed is also available now in my blog. See the links below. For quick reference, here’s the syntax of running ExaSnapper – there are two modes, one is the before/after capture (think Tom Kyte’s runstats, but for exadata metrics) and the other is mo....

Speaking of Marco Arment , yesterday he posted an article called The first “Read Later” service in which he discussed the origins of Instapaper and the service that was eventually rebranded as Pocket: “Months after Instapaper launched all of these features and was being very well-received in the tech press, in October 2008, Read It Later added a web service for sync, other-browser bookmarklets, and offline saving. Then an iPhone app....

Marco Arment gave Jacob Goldstein of NPR some concrete numbers for the Magazine, showing just how great an idea launching this publication was, the importance of a consistent publication schedule, and the rewards of such an excellent implementation. “Last fall, Marco Arment launched a general interest magazine. It’s called, aptly enough, The Magazine. Writers are paid $800 per article. There are no ads. Until recently, it was available ..

With years of programming under my belt and currently taking a philosophy course, I found the parallels a blogger writing under the moniker “panefsky” drew between programming, philosophy, and specific philosophers interesting. “It is perfectly reasonable to consider the programming languages as the different philosophies of a virtual world, in which entities do exist and interact with each other. To this respect, even the fundamental p..

We are at the very beginning of the build process,’ Dave Bedwood, creative partner at Lean Mean Fighting Machine, said in an email. ‘This site is very much for people to sign up now, get a second twitter account, private to them, and just watch it learn and grow. As A.I advances, then maybe we will then get into it being able to copy syntax. When you die, if you’ve had this account for a long time, it may be able to keep tweeting as you.’” ..

Two of my favorite libraries in C#: FluentAssertions and NUnit (of course). NUnit has a “hidden” gem (that is, it’s well documented, yet few developers use it): [TestCase]. Look at this: using FluentAssertions; using NUnit.Framework; public class RomanNumeralsTest { [TestCase(3333, "MMMCCCXXXIII")] [TestCase(555, "DLV")] [TestCase(999, "CMXCIX")] [TestCase(444, "CDXLIV")] public void ItConvertsNumbersToRomanNumerals(int number, string roman..

When I scrolled past this article on Hacker News late last night, I wasn’t quite sure what to expect. I certainly wasn’t expecting to see remote control quadracopters (flying vehicles with four rotors instead of one as in a helicopter) balancing, throwing, and catching a large pendulum with practiced precision. To my amazement though, that’s exactly what I found, along with another video showing two similar quadracopters juggling a ball ba..

Kenneth Erikson tells his amazing life story in an article titled I’m a shut-in. This is my story . No matter what I try I can’t quite capture the essence of this intensely personal piece, so I will leave you with this excerpt and the strongest urging possible to set aside a good hour to read K-2052’s amazing story from beginning to end. “If you’re fake for long enough you’ll eventually start to fake yourself. The same tricks you pull ..

I like things happening in parallel but which don't require mental effort thinking about synchronization and race conditions etc; i.e. where one can write code that basically looks like sequential code but is actually parallel. Futures, backed by threads, which are trivial to implement in Java, are great at this. My employee Martin’s written some code to fetch data (friends) from various connected accounts, which currently can include: ..

After my last post I had a variety of readers reach out about many different tweaks they’d made to their workflows using with psql. One people Grégoire Hubert had a wondeful extensive list of items. Grégoire has been a freelance in web development and he has worked with Postgresql for some time now in addition to being the author of Pomm. Without further ado heres what he has to say on how he uses psql: Get the most of psql Psql,....

After my last post I had a variety of readers reach out about many different tweaks they’d made to their workflows using with psql. One people Grégoire Hubert had a wondeful extensive list of items. Grégoire has been a freelance in web development and he has worked with Postgresql for some time now in addition to being the author of Pomm. Without further ado heres what he has to say on how he uses psql: Get the most of psql Psql,....

Quite some time ago I came across Jeffrey Way’s article Publishers: Don’t Restrict Writers and added it to my Instapaper queue more out of curiosity at an article posted on Nettuts+ not about programming than anything else. Nearly a month prior, I had read an article on Ben Brooks’ website called Self-Publishing in which he said something I found very interesting: Permalink.

A Writing Hiatus - zacs.site - 13 years ago - eng
Yesterday marks the tenth day since I last made a post to this site, the tenth day spent doing other things besides reading and writing in every free moment of my day; today marks the eleventh day since that last post went live, and the day I have decided to return to that lifestyle. Permalink.

This blog entry is about modern Linuxes. In other words RHEL6 equivalents with 2.6.3x kernels and not the ancient RHEL5 with 2.6.18 kernel (wtf?!), which is the most common in enterprises unfortunately. And no, I’m not going to use kernel debuggers or SystemTap scripts here, just plain old “cat /proc/PID/xyz” commands against some useful /proc filesystem entries. Troubleshooting a “slow” process Here’s one systematic troubleshooting examp....

This blog entry is about modern Linuxes. In other words RHEL6 equivalents with 2.6.3x kernels and not the ancient RHEL5 with 2.6.18 kernel (wtf?!), which is the most common in enterprises unfortunately. And no, I’m not going to use kernel debuggers or SystemTap scripts here, just plain old “cat /proc/PID/xyz” commands against some useful /proc filesystem entries. Troubleshooting a “slow” process Here’s one systematic troubleshooting examp....

Learn the best approach to center content in UIScrollView using contentInset instead of layoutSubviews or setContentOffset for better zooming behavior.

Hi All, This is a bit of an odd one but today I got one of the most abusive support requests I’ve ever received and realised I’ve never really talked about these. To clarify I’m all up for criticism of the app and suggestions on improvements, here I’m referring to out right abuse with terrible language and personal insults. While they’re actually quite rare you’d be impressed that they do come through and they aren’t pretty.

Dear readers, I’ve started the slow migration of code from puppet 2.6 all the way to 3.x+. There were a few things I wasn’t clear on, so hopefully this will help to discuss these and make your migration easier! I used hiera in 2.6, and I actually like it a lot so far. I was concerned that automatic lookups would pull in values that I wasn’t expecting. This is not the case or a worry. Let’s dive in and let the code speak:

Dear readers, I’ve started the slow migration of code from puppet 2.6 all the way to 3.x+. There were a few things I wasn’t clear on, so hopefully this will help to discuss these and make your migration easier! I used hiera in 2.6, and I actually like it a lot so far. I was concerned that automatic lookups would pull in values that I wasn’t expecting. This is not the case or a worry. Let’s dive in and let the code speak:

Erlang Profiling Tips - srijan.ch - 13 years ago - eng


There are many short methods in the Apache Commons libraries that seem like overkill at first glance, however, their purpose becomes more apparent when you examine the effect that these methods have on the readability of the caller. I see a lot of code that does stuff like this: if( s == null || "".equals(s.trim())) { // Do something } which could be re-written as if( StringUtils.isBlank(s)) { // Do something } Personally, I..

Erlang Profiling Tips - srijan.ch - 13 years ago - eng

Erlang Profiling Tips - srijan.ch - 13 years ago - eng

I often have this need to remove some keys from a list of dict, like cleaning it before passing it. Comment on Gist

The following [question]( http://stackoverflow.com/questions/4649423/should-switch-statements-always-contain-a-default-clause/4649518#4649518" target="_blank">http://stackoverflow.com/questions/4649423/should-switch-statements-always-contain-a-default-clause/4649518) was asked on Stack Overflow: I was told that it’s good practice to include a default clause in all switch statements. I recently remembered this advice but can’t remember ..


If you already downloaded snapper v4, then better re-download it again  as the v4.03 also runs in SQL Developer! You might also want to check how to enable the DBMS_OUTPUT display in SQL Developer post by “That” Jeff Smith :-) Update:   Niall Litchfield pointed out that the “set serverout on” command was ignored on SQL Developer because I was using the short syntax (server out  instead of server output ). Once I changed this,..

If you already downloaded snapper v4, then better re-download it again  as the v4.03 also runs in SQL Developer! You might also want to check how to enable the DBMS_OUTPUT display in SQL Developer post by “That” Jeff Smith :-) Update:   Niall Litchfield pointed out that the “set serverout on” command was ignored on SQL Developer because I was using the short syntax (server out  instead of server output ). Once I changed this,..

Snapper used to require access to DBMS_LOCK, so it could sleep for X seconds between the “before” and “after” performance data snapshots. Now it is possible to get away without using DBMS_LOCK. Instead you will run Snapper twice, once for taking the “before” snapshot, then run your workload and then run Snapper again for taking the “after” snapshot and print the output. So, the usual way of running snapper is this:

Snapper used to require access to DBMS_LOCK, so it could sleep for X seconds between the “before” and “after” performance data snapshots. Now it is possible to get away without using DBMS_LOCK. Instead you will run Snapper twice, once for taking the “before” snapshot, then run your workload and then run Snapper again for taking the “after” snapshot and print the output. So, the usual way of running snapper is this:

I have fixed most of the bugs that showed up during the Snapper launch party session and uploaded the new version (v4) of Snapper here: https://github.com/tanelpoder/tpt-oracle/blob/master/snapper.sql I have uploaded some of my videos to https://www.youtube.com/tanelpoder : Snapper & Ashtop Overview Snapper v4 Launch Party video (old) I have not updated the snapper documentation yet, but here are the main improvemen..

I have fixed most of the bugs that showed up during the Snapper launch party session and uploaded the new version (v4) of Snapper here: https://github.com/tanelpoder/tpt-oracle/blob/master/snapper.sql I have uploaded some of my videos to https://www.youtube.com/tanelpoder : Snapper & Ashtop Overview Snapper v4 Launch Party video (old) I have not updated the snapper documentation yet, but here are the main improvemen..

HtmlToWord - tomforb.es - 13 years ago - eng
You can find the code here on github and the package here on PyPi I have written and continue to maintain a reporting system for a group of pentesters. During/after the tests the results and details are inputted into a web application using a WYSIWYG editor called Redactor (which is pretty awesome!)...

3 visitors online