Better HN
topnewbestaskshowjobs
Log inSign up

rbmoshe

15 karma · joined Oct 1, 2013 (13y ago) · 20 submissions

Submissions

comment 12y ago · link · parent

Can someone explain the different views of time? If someone were to time travel and make the mistake of doing a google search like that, then after they are caught, couldn't they go back and tell themselves not to do the search?

2.

Beating Amazon's System(kolodny.github.io ↗)

3 points · by rbmoshe · 13y ago · discuss

3.

Useful DevTools Snippets(kolodny.github.io ↗)

5 points · by rbmoshe · 13y ago · discuss

comment 13y ago · link · parent

This algoritm pragmatically computes how far left/right a senater's polical views are by placing them in the corresponding place on the page

comment 13y ago · link · parent

Thanks for the ignoreCase problem, I fixed it. I actually was using a \b in the link but forgot to update the source accordingly. The reason I use \s\s* over \s+ is because I once saw that it has some performance benefits, although it really doesn't make a difference

comment 13y ago · link · parent

Time to find a text version of cspan

7.

Randall Munroe's (from xkcd) newest idea(kolodny.github.io ↗)

2 points · by rbmoshe · 13y ago · 3 comments

8.

LastPass 3.0 released(lastpass.com ↗)

2 points · by rbmoshe · 13y ago · discuss

9.

Ask HN: Is Hacker News' rss feed broken

4 points · by rbmoshe · 13y ago · 3 comments

10.

Stackoverflow is down(stackoverflow.com ↗)

2 points · by rbmoshe · 13y ago · discuss

11.

Netbeans 7.4 Released(netbeans.org ↗)

2 points · by rbmoshe · 13y ago · discuss

12.

Javascript - Circular Doubly Linked List(kolodny.github.io ↗)

1 points · by rbmoshe · 13y ago · discuss

13.

Raycasting demo in 251 bytes of JavaScript(p01.org ↗)

1 points · by rbmoshe · 13y ago · discuss

comment 13y ago · link · parent

> Variadic functions

Doesn't PHP have that already? http://us2.php.net/func_get_args

Edit - Checking out that parent link it seems: Currently variadic functions are implemented by fetching the function arguments using func_get_args(). The following code sample shows an implementation of a variadic function used to prepare and execute a MySQL query (I'll be making use of this example throughout the RFC):

Firstly, by just looking at the function signature public function query($query) you cannot know that this is actually a variadic function. You'd think that the function can only run a normal query and doesn't support bound parameters:

  public function query($query, ...$params) { /*...
  $userData = $db->query('SELECT * FROM users WHERE id = ?', $userID)->fetch();

15.

Devtools Copy to Clipboard(kolodny.github.io ↗)

1 points · by rbmoshe · 13y ago · discuss

16.

Devtools - Jump to Debugger(kolodny.github.io ↗)

2 points · by rbmoshe · 13y ago · discuss

17.

Super Simple Quick Editor(kolodny.github.io ↗)

1 points · by rbmoshe · 13y ago · discuss