Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phillipwills
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
JavaScript Data Structures
(got.phillipwills.com)
1 points
by
phillipwills
10y ago
|
0 comments
32.
▲
by
phillipwills
11y ago
I feel like I shouldn't be testing that the dependencies' api's didn't change, that's for integration tests, which don't need to run as often as unit tests. Therefore, they can be slower and more complex. Mock
33.
▲
by
phillipwills
11y ago
I try to keep my unit tests focused on the api of the unit I'm developing. If I'm refactoring and keeping the api the same, I shouldn't have to change any tests. Since I started writing my tests this way, I've felt I hav
34.
▲
by
phillipwills
11y ago
Just because you don't understand the JavaScript this, doesn't mean it's broken. It behaves exactly the same way every time you use it... It refers to the object that called the function (unless, of course you or someone else
35.
▲
by
phillipwills
11y ago
With casual speaking, you place emphasis and pauses, naturally... With writing, nobody can read your body language... hear your pauses... notice your _emphasis_... unless you s.p.e.l.l. it out...
36.
▲
by
phillipwills
11y ago
Quickly check crontabs for all users on your systems: cat /etc/passwd | cut -f1 -d":" | while read line ; do sudo crontab -u $line -l ; done
37.
▲
by
phillipwills
11y ago
There's a magic font-size that prevents this... I think it was around 19px, but I'm not sure...