Dependency Injection

It seems like very PHP ZF2 blog has an article about Dependency Injection, so here's mine. I hope it's clear, or at least helps corroborate what you're reading on other sites.

Altering Some Resistors Changes One NVidia Card to Another One (and this explains the Linux driver situation)

This article explains how to hack an NVidia card to make it act like a better model. The hack is basically to modify the identification of the card, so the driver unlocks a feature to enable multiple screens. Now, allofasudden, I understand why the NVidia drivers for Linux are closed source: if they offered open source drivers, they would invariably enable all the features to all the cards.

The point of the closed source drivers isn't to provide the best performance (though they usually do that because they are probably better written than the open source ones) but to allow NVidia to disable features to the cheaper card, despite the fact the cheaper card can perform exactly like the more expensive card.

The Return of Pipes (which never went away)

A while back I wrote about higher-level programming, and jQuery's map-style programming.

What is a Server?

I've been asked this simple question, and given the simple answer: it's a PC that's on all the time, running services for others. Well, that's right, technically, but it's also the wrong answer to tell everyone.

Cloning Many Windows 8 Laptops

Clonezilla's now playing a little catch-up with the latest laptops, which feature UEFI boot and Windows 8, which requires UEFI boot. Mainly, it'll tell you that what you think will work, can work, if you know how to deal with UEFI.

This is a followup to Cloning Many Windows 7 Computers Quickly.

Photo Wall that Scrolls Forever Loading New Photos at Bottom

I was reading the code at iworkfortheinternet.org and learned how to do this "scrolling forever wall" effect. It's clever.

Zend Framework 2 References Page

A bunch of useful references.

ZF2 @ Read The Docs

iSCSI on Linux

After going through some stupid contortions to use Active Directory on the Terastation Pro (meaning it didn't do what I wanted), I thought to look and if there's free iSCSI support on unix.

Minimal P3 Debian System

I got Debian to run on a very small 128MB laptop with a Pentium III processor. It's running Transmission bittorrent client, which is nice.

Branch Predication

I was reading about make, and came across a paragraph about branch predication and Konrad Zuse, who I'd never heard of. Fascinating.

Class Autoloading, Namespaces, PSR-0 and Acting Like Java

One of the surprises of ZF2 is that the preamble to the code looks like this:

namespace Album\Model;

use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;

Conditional IF statements in DOS batch files (BAT) and a little GOTO

DOS batch files are usually very simple, but it's possible to include some logic. The CMD.EXE language is pretty limited, but it works.

Cannot copy file. The parameter is incorrect.

What this probably means is you're trying to copy a file larger than 2 gigabytes. The 2GB limit on FAT32 is affecting you. The two formats to consider are NTFS and ExFAT.

Font Creators Getting Paid (Maybe?)

Typeface designers have been some of the most screwed-over artists of the modern age. Not only aren't their faces patented or copyrighted, they generally don't earn that much money. I remember reading some articles in Serif, and getting the distinct impression that they were basically working class artists. It's an elegant job, sure, but so is playing in a chamber orchestra, and just as not-lucrative. They're only a few yards short of being the cholo who writes letters, placas and tattoos for the local gangsters.

Deliverability Blues 2013

We recently had a rash of spam sending due to someone finding, guessing, or leaking a user's password. Sometimes, it just requires that, not some security breach. Well, we didn't catch it and stop it in time, and now we're suffering some deliverability problems ranging from slowdowns to outright blocking by some servers.

Syndicate content