lang
Re:Don't use the jQuery .data() method. Use .attr() instead.
on Sunday December 18, 2011 @05:39PM (#3367726)
Hm, now I guess you better just delete your article. 1.410 IS 1.41, isn't it. Or am I missing something.
Re:Don't use the jQuery .data() method. Use .attr() instead.
on Sunday December 18, 2011 @05:34PM (#3367714)
I wasn't aware of this. This looks like a bad design choice indeed. I hate when libraries convert stuff implicitly for you. html5's localStorage has a similar problem. Only, it converts whatever you are trying to store into a string. Would be better if it accepted only strings and threw an error if you tried to store something else, imho.
Re:Google: Let it snow
on Saturday December 17, 2011 @05:17PM (#3365257)
Doesn't seem to work on ipad
Re:Why don't they implement Python and Ruby on the web browsers?
on Friday December 16, 2011 @04:48PM (#3362478)
I don't understand this fixation on js either. Even more, i don't understand the fixation on html, css and all so called web technologies. Common, web was never designed for the sort of applications we are trying to make it run. We need a totally new approach.
Re:Metaclasses in Python
on Friday December 16, 2011 @06:46AM (#3360410)
I find metaclasses philosophically unsound. If one introduces metaclasses, what about meta-metaclasses, meta-meta-metaclasses. In this regard Self's prototypical oop seems more coherent - there are only objects. Even object/class duality looks philosophically more attractive than object/class/metaclass trio.
Re:Metaclasses in Python
on Friday December 16, 2011 @06:41AM (#3360403)
If I'm not mistaken the authors of Smalltalk realized that metaclasses were a mistake long before they appeared in Python. Yet they were added to Python anyway.
Re:How big are PHP arrays (and values) really?
on Friday December 16, 2011 @03:15AM (#3359961)
php is not unique in having big memory footprint. AFAIC Python and Ruby are also memory hogs. An interesting question is how memory efficient a dynamic PL can be. Given that in modern computers memory access (cache misses) is fairly expensive it probably makes sense to trade instructions for memory.