One Hundred and Fifty-Three

  • Random
  • Archive
  • RSS
  • Ask me anything

Blofeld

Easy Git website deployment.

  • 2 days ago
  • Comments
  • Permalink
  • Share
    Tweet
Tenth of a second? I can live with that.
Pop-upView Separately

Tenth of a second? I can live with that.

  • 5 days ago
  • Comments
  • Permalink
  • Share
    Tweet

Better Touch Tool

Lets you map actions to trackpad and mouse gestures. Also has an Aero Snap workalike. Oh, and it’s free. Configuration dialog could use some work, but that’s by the by.

  • 1 week ago
  • Comments
  • Permalink
  • Share
    Tweet

Zsh, where have you been all my life?

  • 2 weeks ago
  • Comments
  • Permalink
  • Share
    Tweet

So it turns out Struct actually runs on the TouchPad. More surprising is the fact that it runs on Node 0.4.x.

  • 2 weeks ago
  • Comments
  • Permalink
  • Share
    Tweet
How many SEO experts do you need to change a lightbulb lightbulbs buy light bulbs neon lights sex porn
(via clientsfromhell)

(via merlin)

  • 3 weeks ago > clientsfromhell
  • 689
  • Comments
  • Permalink
  • Share
    Tweet

http://www.emacswiki.org/emacs/SmartTabs

This.

  • 3 weeks ago
  • Comments
  • Permalink
  • Share
    Tweet

SHE LIVES.

It only took my a month to port Struct to Node.js. Only.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

TouchPad & webOS, day 1

The Good

  • Cards. Android and iOS’s multitasking can suck it.
  • Form factor. Looks smaller and thinner that the iPad. It’s neither, but that’s by the by.
  • The built in apps. Mail and Facebook are top-notch.
  • Synergy. Like Android’s contact syncing, but actually works, and lets you manually merge them. Also works with, say, calendar events.
  • “Rooting” is a matter of typing “webos20090606” into the universal search bar.
  • Universal search (I refuse to call it HP’s marketingese “Just type”).
  • The Touchstone wireless charging dock, and Exhibition mode.

The Bad

  • The dearth of apps, especially free, second-party apps for things like Tumblr, Google+ and Google Reader.
  • It’s slow. But that can be fixed…
  • Sometimes after installing an app, the tablet needs rebooting before it will work. This happened once when updating the App Catalog(ue. Learn to localise, HP).
  • Navigation with the bluetooth keyboard is frustrating. Scrolling and switching cards must be done with the screen.

The Ugly

  • The volume and power buttons shake and rattle nastily. They feel like they could come straight off with the slightest of sideways force. They’re also far too easily pressed when resting the TouchPad on its side.

Final thoughts

I wish I could get the Novacom drivers working on my laptop so I can install Preware.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

My hobby: putting occasionally adverbs in unusual places

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

Things people write in JavaScript that make me angry and probably indicate they daren’t look past their pre- and misconceptions about the language and just fucking program, part 1

if(typeof something !== 'undefined' && something !== null)

As “the” “correct” way to check for an undefined variable.

Argh.

First things first, nothing is ever null unless you’ve told it to be. If you’re setting something to null, you’re never going to want to check if it’s undefined. So we can remove that:

if(typeof something !== 'undefined')

Sure: this works as a catchall. But anyone with any shred of sense, self-decency and knowledge about the values being passed around doesn’t need this kind of generality.

In fact, most of the time you can get away with:

if(something)

All this trips up on is 0, false and the empty string.

For a Number, we can use isFinite:

> isFinite("hello");
false
> isFinite(5);
true
> isFinite(0);
true
> isFinite(undefined);
false

Booleans have the old “strictly equal to false” trick:

> undefined === false
false
> false === false
true

As for Strings, are you ever really going to need to differentiate between undefined and the empty string? How is passing in an empty string better than passing in nothing?

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet
So I ported the old Wingpanel to Gtk+ 3.
Pop-upView Separately

So I ported the old Wingpanel to Gtk+ 3.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

Dear internet,

Fitts’ Law is not the kind of law you can break. It does not say “put things near screen edges”. It says “the bigger an object is in the direction of mouse travel, the easier the object is to hit”. What you think is Fitts’ Law is an fact a corollary of Fitts’ actual Law: since the cursor stops at a screen edge, an object at that edge essentially has infinite size in that direction.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

I do not write tests for my code. I do not write very many comments. I change styles very frequently. And, most of all, I shun the predominant styles of coding because that would go against the very essence of experimentation. In short: all I do is muck around.

So my way of measuring a great programmer is different from some prevailing thought on the subject. I would like to hear what Matz would say about this. You should ask him, seriously.

I admire programmers who take risks. They aren’t afraid to write dangerous or “crappy” code. If you worry too much about being clean and tidy, you can’t push the boundaries. (I don’t think!) I also admire programmers who refuse to stick with one idea about the “way the world is.” These programmers ignore protocol and procedure. I really like Autrijus Tang because he embraces all languages and all procedures. There is no wrong way in his world.

Anyway, you say you want to become better. I mean that’s really all you need. You feel driven, so stick with it. I would also start writing short scripts to share with people on the web. Little Ruby scripts or Rails programs or MouseHole scripts to show off. Twenty lines here and there and soon people will be beating you up and you’ll be scrambling to build on to those scripts and figure our your style and newer innovations and so on.

Until an asteroid,

_why

JavaScript needs a _whytheluckystiff.
  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet

You know what? Fuck Rhino. I’m moving to Node. I don’t care about having JavaScript 1.8.5. I want a sensible API and to be able to debug the goddamn thing.

  • 1 month ago
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 7

About

Avatar 153 Ways That Things Can Go Wrong and Then Awesomely Right, or Inventive Solutions to Problems That Don't Exist

Me, Elsewhere

  • Facebook Profile
  • quartertotomorrow on Flickr
  • mattyb1000 on Last.fm
  • Google
  • quarterto on github

Following

Cool Shit

See more →
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr