Better HN
topnewbestaskshowjobs
Log inSign up

rodneyrehm

26 karma · joined Dec 28, 2011 (14y ago) · 19 submissions

Submissions

comment 13y ago · link · parent

Most interesting in the regard of (eventually) being able to replace Selenium in our stack. While currently in an early stage - it will be capable of doing pretty much everything Selenium can do - without requiring Java. Functional / UI / E2E testing with a Node.js based stack would allow an even greater audience to create meaningful tests.

2.

Automated cross browser testing with JavaScript(dalekjs.com ↗)

2 points · by rodneyrehm · 13y ago · 1 comment

3.

Open Device Labs(opendevicelab.com ↗)

1 points · by rodneyrehm · 13y ago · discuss

4.

Hey Twitter, here's an idea(blog.rodneyrehm.de ↗)

1 points · by rodneyrehm · 14y ago · discuss

comment 14y ago · link · parent

While I doubt a javascript-space sorting implementation runs any faster than a C++ implementation could, there are some implementations around, http://millermedeiros.github.com/amd-utils/array.html#sort for example.

comment 14y ago · link · parent

http://blog.rodneyrehm.de/archives/14-Sorting-Were-Doing-It-... may be of [some] interest here, too.

7.

Gentoo Linux on the MacBook Pro 8,2 (late 2011)(ck.kennt-wayne.de ↗)

1 points · by rodneyrehm · 14y ago · discuss

comment 14y ago · link · parent

URI.js now has a feature to test equality of URIs - medialize.github.com/URI.js/docs.html#equals - is that what you were looking for?

comment 14y ago · link · parent

It is dual-licensed, MIT and GPL. Choose the MIT License to do what the fk you like. Choose the GPL License if you're building some GPL software yourself, and need all the components to be GPL-licensed as well. Maybe have a look at http://en.wikipedia.org/wiki/Multi-licensing

comment 14y ago · link · parent

Funny… URI.js is more or less a port of my PHP URL class. Zend Framework has one. look at https://gist.github.com/1499238 to get you started. (Not a chainable API and not as powerful as URI.js either). The path resolving can be taken from the code I wrote for Smarty a couple of months ago: http://code.google.com/p/smarty-php/source/browse/trunk/dist... - lemme know if/when/how you're done… interested in using the PHP version myself ;)

comment 14y ago · link · parent

window.location.search - https://developer.mozilla.org/en/DOM/window.location#Propert...

and decomposed IDL - http://www.whatwg.org/specs/web-apps/current-work/multipage/...

comment 14y ago · link · parent

That is noted in README.md of URI.js - you can also find a (very simple) performance comparison here: http://jsperf.com/idl-attributes-vs-uri-js

Does the IDL stuff work in non-browser Javascript (like node.js)?

comment 14y ago · link · parent

Do you honestly think I ever thought about my dimwit-no-rocket-science URI.js ending up on hacker news? But, to satisfy hacker news readers, I added the terms "fluent interface" and "method chaining" (while preserving "jQuery-like" for normal folk…)

comment 14y ago · link · parent

According to Google's Closure Compiler URI.js is compiled down to 11.81KB (3.38KB gzipped) Including punycode.js and IPv6.js you get 15.03KB (4.87KB gzipped) added your link to the alternatives section in README.md

comment 14y ago · link · parent

I figured more people understand "jQuery-style" than "fluent interface" / "method chaining". Pretty much like you call a tissue "Kleenex" (or "Tempo" in German).

comment 14y ago · link · parent

replaced "facility" by "library"…

comment 14y ago · link · parent

they just fixed it…

comment 14y ago · link · parent

"search" is the term for "query string" used throughout javascript. I prefer "query" (as in "query string"). I use query(), but made search() available to those, who are used to window.location.search

for some more groaning, have a look at http://tantek.com/2011/238/b1/many-ways-slice-url-name-piece... ;)

comment 14y ago · link · parent

Github has a nice little feature called issue tracking. Feel free to post your thoughts there. I'd be happy to figure something out. URI.js wasn't intended to limit anyone in what they were trying to do. It just never occured to me that ?foo=bar&foo=bar could be intentional.