Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
dev
Solving the "loose GPU" problem that seems to be common on Thinkpad T4x models (responsible for that redish garbage I'm seeing all accross the screen)
dev

.irbrc

lots of cool stuff in this guy's .irbrc
dev
8887 23c1 370
Basic OmniGraffle stencil for iPhone web apps, including standard components (fields, buttons, dialogs, lists, etc). Cocoa apps stencil is coming soon.

http://www.graffletopia.com/stencils/358
Reposted fromtupalo tupalo
dev
Designing the UI of Things for iPhone — I want those COPIC markers!
Reposted bylutomaCat-99straycatchaoskuekensofakissenelsebene
dev

MySQL Performance Blog: COUNT(*) vs COUNT(col)

Looking at how people are using COUNT(*) and COUNT(col) it looks like most of them think they are synonyms and just using what they happen to like, while there is substantial difference in performance and even query result
dev

MySQL trailing whitespace weirdness

Since version 5.0.3, MySQL ignores the trailing whitespace on varchar columns:

mysql> select 'a     ' = 'A';
+-------------------+
| 'a ' = 'A' |
+-------------------+
| 1 |
+-------------------+
Remember this, it could save your day
Reposted bylutomanazcoelse
dev
9690 7590 370
Can anyone help me with this one? Few days ago my firefox started rendering this red garbage on almost every page, very randomly. Have no idea why and how.
dev
3987 ecba 370
Lexmark driver cannot detect my CPU speed (probably due to Speedstep downclocking it) and thinks my 1.5 GHz Thinkpad T40 is too old for printing.

UPDATE This is a bug in Windows XP, what you have to do is shut down your computer and power it on with power cable connected and then retry the installation.
dev
Analog web response time meter, via Last.fm – the Blog · Quality Control
Reposted bylutomaelse
dev

keys

(AHK, 188 Bytes)
dev
6209 a0a0 370
Here is the autohotkey script that I've been using for some time now and that will make your your thinkpad keyboard more useful. It does three things:

1) It will map browser back and forward keys to page up/down, and when you're holding control to home/end keys. This is really handy when you're navigating text/editing.

2) Map Windows-Menu key to Ctrl-W which is almost universally mapped to close tab/window

3) It will produce a beep when you push down Fn key. After I first got my thinkpad I used to mistake Fn and Ctrl (Fn being placed leftmost). This is what'll help you learn where the Ctrl is ;-)
dev
After updating rubygems on ubuntu with gem update --system, you'll probably encounter the following error:

/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
This should solve it:
cp /usr/bin/gem1.8 /usr/bin/gem
dev

Things about GNOME that Suck

Did you know that GNOME doesn't remember the last position of a window, so you'll have to move your gnome-terminal to your favorite corner each time you start it.
dev
reCAPTCHA is a captcha service that takes words not recognized by OCR, so by solving it you're helping digitizing scanned books from the Internet Archive
dev
2376 eb4f 370
Please, let's reimplement this in ruby and give it a better name so that you can actually find related things in google. I really hate it.
dev

tp4usb

(ZIP, 2.45 MB)
I'm unable to find this anywhere online so I'm posting it here as I just threw the CD away when I was moving to my new place (CDs are really thing of the past).

Windows XP driver for the greatest keyboard evar: the IBM Space Saver (USB)
dev

Nested Sets

is a data structure for storing trees that lets you retrieve all node descendants in a single query.

Wonderfully supported in rails by the Better Nested Set plugin
dev
1255 8bd1
After lots of iteration, I'm starting tagdo from the scratch.

It turned out that what I really want is a simple outliner that will understand lots of semantics.

I'm now using JSON to pass objects between client and server and I am rendering everything in JS, so no more expensive roundtrips just to get the html for the edit form. Feels veeery responsive.

Give it a month or two until something usable comes out.
dev

PHP WTF

$a = array(1,2,3);
$b = array(1,2,3);
echo empty(array_diff($a,$b));
will give you Fatal error: Can't use function return value in write context in test.php on line 5 You'll have to write this instead:
$a = array(1,2,3);
$b = array(1,2,3);
$r = array_diff($a,$b);
echo empty($r); // returns 1
ZOMGWTF?
dev

Git repository over HTTP WebDAV with nginx

let's forget svnserve and apache
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl