Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
henrik_w
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
87 ms
·
871.
▲
by
henrik_w
13y ago
I use a standing desk at work, but one that can be raised/lowered, which I think is superior to a fixed one, since it is easy to adjust to a good height, and also makes it easy to switch between sitting and standing. Yes, they cost a b
872.
▲
by
henrik_w
13y ago
ZenMate is another free Chrome extension that works well if you want to show your country IP as e.g. US or UK (no affiliation either).
873.
▲
by
henrik_w
13y ago
Agree. I've been a subscriber of the newsletter for a while now, and the contents is almost always excellent.
874.
▲
Culture > Process (at Spotify) [pdf]
(dl.dropboxusercontent.com)
1 points
by
henrik_w
13y ago
|
0 comments
875.
▲
by
henrik_w
13y ago
Not exactly the same case, but it sure is nice to be independent of calling System.getCurrentTimeMillis() in the code under test. One example of how to do it (in a simple case): "TDD, Unit Tests and the Passage of Time" http:
876.
▲
by
henrik_w
13y ago
Yes, mocking too much is a problem. Perhaps the greatest benefit of unit tests is that they force you to write code that can be tested in isolation. In other words, your code becomes modular. When you mock the whole world around your object
877.
▲
Circuit Breaker
(martinfowler.com)
82 points
by
henrik_w
13y ago
|
22 comments
878.
▲
Why Most Unit Testing is Waste [pdf]
(rbcs-us.com)
306 points
by
henrik_w
13y ago
|
268 comments
879.
▲
by
henrik_w
13y ago
In line with the thinking in "Antifragile" by Taleb - failures of individuals in a population makes the the population as a whole stronger. The forrest fire example is also in the book - artificially "stabilizing" a syst
880.
▲
by
henrik_w
13y ago
Echoing other sentiments here: IntelliJ IDEA really is great, a real productivity boost to use. More here: http://henrikwarne.com/2012/06/17/programmer-productivity-em...
881.
▲
5 Unit Testing Mistakes
(henrikwarne.com)
3 points
by
henrik_w
13y ago
|
0 comments
882.
▲
Twenty-three Evergreen Developer Skills that will Keep you Employed Forever
(blog.zeusprod.com)
2 points
by
henrik_w
13y ago
|
0 comments
883.
▲
by
henrik_w
13y ago
Most people I work with are well aware of why we write software. I can't think of anybody that is so preoccupied with the programming side of things that they disregard the business side. So it's simply not a problem I encounter,
884.
▲
by
henrik_w
13y ago
Are you saying it is not possible to both be good at programming and have a good understanding of the business? Of course there are compromises, but when you know both domains you make better compromises and trade-offs.
885.
▲
by
henrik_w
13y ago
For me it is personal. I mainly use it as my contact database. If I ever want to get in touch with an old colleague, I can find their address there (kept up to data by them). Plus, I know what they are up to (status updates when they switch
886.
▲
by
henrik_w
13y ago
Exactly! Why would it have to be either/or, when both is what you want.
887.
▲
by
henrik_w
13y ago
Yep!
888.
▲
by
henrik_w
13y ago
Agreed! In the same vein, I recently wrote about both debugging vs logging [1] and about session-based logging [2]. [1] http://henrikwarne.com/2014/01/01/finding-bugs-debugger-vers... [2] http://he
889.
▲
by
henrik_w
13y ago
I find the professor's attitude quite puzzling. You often learn best when you have made a mistake, and then figure it out ("expectation failure"). Why not take advantage of that? I think bugs are quite useful as "teacher
890.
▲
by
henrik_w
13y ago
In my experience, good logging is the first step to good debugging. Having good logs lets you find a lot of problems without even debugging "properly" (using a debugger say). http://henrikwarne.com/2014/01
891.
▲
by
henrik_w
13y ago
What do you mean? It is both fun and exciting. It's like solving little mini-mysteries. Hmm, how come this variable is null here? That shouldn't be possible! But it is, so how did that happen? Mystery! You can also learn from it.
892.
▲
Unit Testing Private Methods
(henrikwarne.com)
3 points
by
henrik_w
13y ago
|
1 comments
893.
▲
by
henrik_w
13y ago
As do Canadian ZIP-codes.
894.
▲
Why is it that I love coding so much?
(nicoschuele.com)
1 points
by
henrik_w
13y ago
|
0 comments
895.
▲
by
henrik_w
13y ago
I get contacted a couple of times a week, pretty much only via LinkedIn. It is not often enough to be annoying. In fact, a lot of the times it is good. I find out about jobs I wouldn't otherwise know about. As a matter of fact, I am ab
896.
▲
Finding Bugs: Debugger versus Logging
(henrikwarne.com)
2 points
by
henrik_w
13y ago
|
0 comments
897.
▲
Jolt Awards: Coding Tools
(drdobbs.com)
2 points
by
henrik_w
13y ago
|
0 comments
898.
▲
by
henrik_w
13y ago
Can't resist to add this: “Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.” — Stan Kelly-Bootle
899.
▲
A Bug, a Trace, a Test, a Twist
(henrikwarne.com)
2 points
by
henrik_w
13y ago
|
0 comments
900.
▲
by
henrik_w
13y ago
Neat! There was a similar project here a few years ago: http://www.mapcrunch.com/ comments: https://news.ycombinator.com/item?id=3215460
More ›