Categories

Appocrisy

Why does mobile safari not come with an NC-17 rating?

There are a number of alternative web browsers available in the Apple app store. All are given a scary NC-17 rating in thr description. If you install one, you must acknowledge that NC-17 content is available via the application.

In comparison, there is no such [...]

YAPC 2010: Using Modern Perl

Talk Url: http://yapc2010.com/yn2010/talk/2643

Perl 5 was about lexical scope and encapsulation. Programs are about distilling problems into the smallest possible tasks.

use Modern::Perl enables a bunch of default pragams in 5.10+.

Features of Modern Perl

feature.pm. Adding new keywords to Perl 5 is difficult because people may have already used your keyword in their own [...]

YAPC 2010: Awesome Things You’ve Missed in Perl

Talk URL: http://yapc2010.com/yn2010/talk/2902

People are still programming Perl like it’s 2008 ( or even 1998).

OO Perl is not awesome. Many of the systems on CPAN are wrong, stupid or both. Intro Moose…Attributes are easy to use with Moose. More Moose stuff.

autobox: converts everything into a first class object. Can use it in local scope. [...]

YAPC 2010: Getting Out of CPAN Dependency Hell

Subtitle: And Staying Out!

Talk Link: http://yapc2010.com/yn2010/talk/2595

Also: http://perl.scaffidi.net

Dependency hell includes not just many nested layers of dependencies, but:

Installing in non-standard locations Broken Make/Build files Unsupported systems (e.g. legacy OSs ) Mixture of installation sources (i.e. RPM and CPAN)

This presentation has a very long introduction….

List of tools to help with Hell:

[...]

YAPC 2010: Dependency Injection

Sitting through a presentation at YAPC on Dependency Injection (DI). It seems DI can be summarized as: moving runtime-configurable code from the application code to configuration data.

I like the bit about moving heavy-lifting from constructors, thereby decoupling a class from helper classes. We are here changing hard-coded constructs into soft-coded, defined at runtime (or [...]

SysAdmin Tip: recursive chown can open your system for exploit

A scenario system admins often encounter on shared hosting servers is the permission and ownership issue caused by using mod_php (otherwise known is PHP DSO). Files and directories created by mod_php will be owned by the user that Apache runs as, usually nobody or www-data. This presents a problem in at least two scenarios:

The [...]

SysAdmin Tip: user may alter root-owned files and directories

Here’s a friendly system administration tip, for Linux/FreeBSD/Unix-type systems: root-owned files and directories in a directory owned by a user can still be modified by the user.

The scenario usually presented is that the sys admin doesn’t want a user modifying a certain configuration file in the user’s home directory. Modifying is usually understood as [...]

Why is my Phone Vibrating?

On Blackberry phones, applications that provide notifications have two separate states in the notification profile: Phone in Holster Phone not in Holster

For whatever reason it appears all applications set the “Phone in Holster” notification state to “Vibrate.” Only a few applications provide an On Screen indication to accompany the notification. With N number applications [...]