Better HN
topnewbestaskshowjobs
Log inSign up

shinuza

61 karma · joined Apr 13, 2011 (15y ago) · 13 submissions

Submissions

comment 10y ago · link · parent

Fun fact: Ruby 1.0 was released 19 years ago on this day.

comment 13y ago · link · parent

What about phalcon (http://phalconphp.com/)? Which reminds me of two things:

[] TechEmpower Benchmark Round 6 was due today, but it was re-scheduled to the 25th [] Symfony should remove High Performance from their homepage title.

comment 13y ago · link · parent

var a = {};

PHP != Javascript

comment 13y ago · link · parent

If

  var a = [1, 2, 3]
  a == a
Returned false, it would by screwy. In this case the == operator behaves like the `is` operator in Python when comparing lists.

comment 13y ago · link · parent

  > a.length
  0
Same as the article, you are adding properties to a. A is an array, not an hashmap. Any index that is not a number will create a property, not a new index.

comment 13y ago · link · parent

Bitbucket at it again.

comment 14y ago · link · parent

I'll say something not related to the service but to the .title image.

- You'd most likely want to do a sprite with the mousehover/mouseout images - Both images are 75kb-ish, so you'd probably want to display/hide the bandage (still in a sprite) on mouseover/mouseout - The eye moves slightly down when you hover it

comment 14y ago · link · parent

I've being using this pattern since day one with Backbone.js. If you want to avoid spaghetti code you need to have a central mediator that will take care of the communication between your modules.

It's also easier to debug if all your events business happens in one place.

comment 14y ago · link · parent

Maybe for the top level, but anything between that and the classname is useless IMHO.

comment 14y ago · link · parent

It's a good initiative but utterly wrong regarding best practices for css selectors.

ol.tags li a span.meta

Really? Why not something like:

.tags-vertical .meta

I like the overall style a lot tho.

comment 15y ago · link · parent

Cool stuff. I simplified it a bit :

https://gist.github.com/1063836

Should work on Firefox 3+ and Chrome 4+

comment 15y ago · link · parent

I've been waiting for this feature for a long time, congratz.

comment 15y ago · link · parent

I'll be there!