Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feliperibeiro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Spotify Client 1.x beta for Linux has been released
(community.spotify.com)
2 points
by
feliperibeiro
11y ago
|
0 comments
2.
▲
Algorithms, Data Structures and Web Development
(medium.com)
2 points
by
feliperibeiro
12y ago
|
0 comments
3.
▲
by
feliperibeiro
12y ago
I've been doing this sporadically and in my free time, just for fun, so there are a lot of fundamental things that haven't been covered there. :)
4.
▲
by
feliperibeiro
12y ago
You're right. This is the subtraction-based implementation, the division-based is the original and better one :) https://github.com/felipernb/algorithms.js/commit/e5a04f9ad0...
5.
▲
by
feliperibeiro
12y ago
Exactly! Also, many JS devs are clueless about CS101 basic things, it's a way to maybe make them a bit interested. From the wiki ( https://github.com/felipernb/algorithms.js/wiki ): The intention is to blen
6.
▲
by
feliperibeiro
12y ago
Still this is an issue with the algorithm, not the implementation. http://en.wikipedia.org/wiki/Euclidean_algorithm
7.
▲
by
feliperibeiro
12y ago
This is the Euclidean algorithm for GCD, it's naive and simple. But if you see it more carefully, the commit that says "Optimized performance ..." contains just the lines: 34 var tmp = a; 35 a = Math.max(a, b);
8.
▲
Design Patterns Can Be Evil
(blog.feliperibeiro.com)
3 points
by
feliperibeiro
13y ago
|
0 comments
9.
▲
by
feliperibeiro
14y ago
This is a complicated issue, but in my opinion the google/facebook style of interview is the one that gives you less false positives, even though it gives tons of false negatives. In other words, very few people who can do it are bad coders
10.
▲
How do you sharpen your saw?
(blog.feliperibeiro.com)
1 points
by
feliperibeiro
14y ago
|
0 comments
11.
▲
When not to use a tool
(blog.feliperibeiro.com)
1 points
by
feliperibeiro
14y ago
|
0 comments
12.
▲
This is not another "PHP Sucks" article
(blog.feliperibeiro.com)
2 points
by
feliperibeiro
14y ago
|
1 comments