Better HN
topnewbestaskshowjobs
Log inSign up

timb

142 karma · joined May 24, 2008 (18y ago) · 42 submissions

    .        . .                         .    .
    |        | |                         |    |
    |--. .-. | | .-.   .  .    ._.-. .--.| .-.|
    |  |(.-' | |(   )   \  \  / (   )|   |(   |
    '  `-`--'`-`-`-'     `' `'   `-' '   `-`-'`-
Submissions

comment 13y ago · link · parent

It's still not precisely centered. Check out this version using a table.

http://jsfiddle.net/nJy8t/

I added a background image with a grid that extends 80px from top and bottom. There's also a small margin/padding/border reset and doctype just to make sure defaults and quirks aren't messing with anything.

comment 13y ago · link · parent

"It's easy to idiomatically achieve vertical centering. http://jsfiddle.net/aMMxj/10/ "

that solution

1. only works for text, which is part of eranation's rant.

2. only works if you know the exact height of the container.

3. isn't even centered: http://i.imgur.com/lz8Mq.png

comment 13y ago · link · parent

indiegogo existed as a fundraising platform before kickstarter (but it was originally only for filmmakers).

comment 14y ago · link · parent

seems like that issue is being worked on: http://code.google.com/p/chromium/issues/detail?id=62435

Chrome has similar problems on Windows. For example, the Mathematical Alphanumeric Symbols work in Firefox, Internet Explorer, and even Notepad, but not in Chrome. http://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbo... http://code.google.com/p/chromium/issues/detail?id=109844

comment 14y ago · link · parent

Echoing what dflock said in the Apple thread, it would be great if webkit (and IE) added animated PNG support: http://caniuse.com/apng

Also, it's interesting to note that out of 31,000 open issues on the chromium site, APNG support is at #9 counting by user votes. http://code.google.com/p/chromium/issues/list?sort=-stars...

comment 14y ago · link · parent

http://libccv.org/post/an-elephant-in-the-room/

comment 14y ago · link · parent

try adding tsched=0 to one of the lines in /etc/pulse/default.pa so it becomes

load-module module-udev-detect tsched=0

this fixed my chrome ubuntu audio problems. (source: links at bottom of http://code.google.com/p/chromium/issues/detail?id=110375 )

comment 14y ago · link · parent

in the html of http://16s.us/sha1_pass/js/ add <!doctype html> to the top. this will prevent "quirks mode" in IE and String.prototype.trim will reappear.

if you want to support IE 8 and lower you'll have to add a shim for String.prototype.trim. (see http://kangax.github.com/es5-compat-table/ )

comment 14y ago · link · parent

that first image looks like the old munching square effect http://en.wikipedia.org/wiki/Munching_square

comment 14y ago · link · parent

the editor could turn down samples for lights while dragging, and turn samples back up when dragging is finished.

comment 14y ago · link · parent

the newest chrome has support for transferable objects that can be sent directly to a worker without being copied. this works with ArrayBuffer now, not sure if ImageData is transferable yet, but it should be eventually.

demo: http://html5-demos.appspot.com/static/workers/transferables/...

comment 14y ago · link · parent

There is a little bit of information in the 2nd edition. Parser combinators get a few pages in "17.4.2 Functional Programming". PEGs and packrat parsing are briefly covered in "15.7 Recognition Systems".

comment 14y ago · link · parent

The dev version has autocomplete http://www.sublimetext.com/dev

comment 14y ago · link · parent

http://i.imgur.com/o1A7M.png

comment 15y ago · link · parent

Quake, Quake II and Quake III are C.

comment 15y ago · link · parent

http://svn.webkit.org/repository/webkit/trunk/Source/WebCore...

http://mxr.mozilla.org/mozilla-aurora/source/layout/style/ns...

comment 15y ago · link · parent

Beautiful... the fading grain as it renders is extremely pleasing.

comment 15y ago · link · parent

There already is a hardware accelerated 3D context that uses the canvas element... WebGL!

comment 15y ago · link · parent

http://research.microsoft.com/en-us/um/people/kopf/pixelart/...

comment 15y ago · link · parent

Newer browsers ( http://caniuse.com/#search=history ) can manipulate the url without needing the #! hack.

comment 15y ago · link · parent

"The other thing that primates have that is so bizarre and interesting is that they are the only animal we know that practice deception and games of manipulation among each other. There is no other animal on the planet that we can say that about."

Some male cuttlefish will pretend to be female in order to sneak past the alpha male and mate with the female he is guarding. I am sure there are many, many other examples of non-primates using deception/manipulation.

comment 16y ago · link · parent

compare his horrendous 33kb jpg: http://i.imgur.com/djmBv.png to the 33kb jpg i made in photoshop: http://i.imgur.com/02E6e.jpg

comment 16y ago · link · parent

I think Firefox 4 will have typed arrays:

http://developer.mozilla.org/en/JavaScript_typed_arrays

http://cvs.khronos.org/svn/repos/registry/trunk/public/webgl...

comment 16y ago · link · parent

  #quicklinks { position: absolute; }
if you just want to turn off the toolbar stickiness.

comment 16y ago · link · parent

I think Dave's unique formatting is an essential part of the experience of reading his posts. Filtering it through the Readability tool is similar to listening to MIDI file versions of your favourite songs.

comment 16y ago · link · parent

there's ~45 snatches from that user

comment 16y ago · link · parent

Because OS X tries to compress letter spacing before cutting the line off.

http://imgur.com/cyTjS.png

See what happens when I resize this window? The text gets squished before it gives up and shows the "..."

comment 16y ago · link · parent

The engine should load assets in the background. For example, in the mario game, when I descend into a pipe, it pauses while it loads the level. Likewise, the Crystal Galaxy game should load assets while I am on the menu screen, rather than waiting for me to press Start.

comment 16y ago · link · parent

unobfuscated source: http://pastebin.com/m3e39a034

comment 17y ago · link · parent

On that site I can see a sort-of flash of unstyled content as the font loads, but that doesn't seem to happen on Typekit's own pages.
12