Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uw_rob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
uw_rob
10y ago
With this plan, couldn't the attacker just fake n cars, and thus your car would be determined to be the one that is uploading false information?
92.
▲
by
uw_rob
10y ago
I always wondered why they didn't use drones to warn drivers about upcoming construction. If people had miles to merge into one lane instead of hitting a wall, I suspect people may not have to come to a stop to merge, and thus everyone
93.
▲
by
uw_rob
10y ago
In my experience with Mockito and unit tests I haven't ever ran into this. However it seems like a very valid concern, and I could definitely see it causing problems. I wonder if it is possible to use reflection and have mockito throw
94.
▲
by
uw_rob
10y ago
Having just a single set of tests has a lot of draw backs compared to splitting up your tests. Consider this, we have a simple CRUD app that uses a datastore. Since you want everyone to be able to run the test suite locally, setting up a lo
95.
▲
by
uw_rob
10y ago
I believe Mockito can verify for you that unmocked stubs haven't been called. [0] For people looking for an alternative take on why it is good practice to let mocked objects have default stubs for unmocked methods, see this article [1]
96.
▲
by
uw_rob
10y ago
Do you have any examples of where mocking has let you down? I found creating unit tests with mocks and DI extremely easy and satisfying. At least for me, they also provide a pretty convincing argument that the tested code is correct. Also,
97.
▲
by
uw_rob
10y ago
Seconded. This book does a very good job at telling you why and when you'd want to use a specific design pattern, and why it would be better than the alternative.
98.
▲
by
uw_rob
11y ago
I think the user should have the right to choose what, and how, content is displayed. With that being said, I think it is morally dubious for a browser to inject ads. Regardless of the privacy concerns, I don't think anyone should prof
99.
▲
by
uw_rob
11y ago
Of course that is ok! I believe you have the right to choose how things are displayed for you. I however think it is morally dubious for a browser to remove ads from a site to just replace it with its own.
100.
▲
by
uw_rob
11y ago
It seems that most people in the comments haven't actually read the article as the complaint seems to not be about ad-blocking but about the browser replacing ads with its own. What would the argument for this being OK be? Also as an a
101.
▲
by
uw_rob
11y ago
Is there any way to register as a non-american? I'm moving to Seattle in a couple weeks for an Internship and it would be great to be able to get this all setup before I head out.