Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RHSeeger
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
961.
▲
by
RHSeeger
4y ago
Interesting. I haven't seen this in the areas I've lived in. I wonder if it's more of a "big fish" type thing, where people that are the "big fish" in an area tend to tip worse (and expect people to be imp
962.
▲
by
RHSeeger
4y ago
I would argue it's more likely that most wealthy people that are the type to let you know they're wealthy either didn't tip at all or very little. There's plenty of wealthy people that tip very well, but many of them don
963.
▲
by
RHSeeger
4y ago
> decently paid experienced team If you're talking about the team they have doing the front end work for them, sure. But if you're talking about the two DF developers, certainly not. They've been making money on the game f
964.
▲
by
RHSeeger
4y ago
> Once you start testing the actual flow... all your unit tests are immediately entirely unnecessary because you need to test all the same cases, and edge cases to ensure that everything fits together correctly. You don't, but it&#x
965.
▲
by
RHSeeger
4y ago
I'm not sure what your point is on this; whether you're saying they make plenty of money, or not enough, or if you're not really speaking to whether it's enough. But speaking directly to the numbers - The smallest monthl
966.
▲
by
RHSeeger
4y ago
Unit one - returns a useful test for each type of error condition that can occur (N). Test that, for each type of error condition that can occur. One test for each error condition. Unit two - calls unit one - test that, if unit one returns
967.
▲
by
RHSeeger
4y ago
That seems like a silly opinion to me. I use unit tests to make sure that individual units work like I expect them to. And I use them to test edge cases that can be tested separately from their caller. If I had to test all the use cases for
968.
▲
by
RHSeeger
4y ago
>> this is the smallest thing I _can_ test usefully > Then you're testing useless things. We'll have to agree to disagree then. > Testing DB access layer and service layer separately (as units are often defined) Not at
969.
▲
by
RHSeeger
4y ago
> The unit tests is a statement that you will never refactor across this line, and that eliminates a lot of flexibility that I want. I certainly don't see it as that. I see it as "this is the smallest thing I _can_ test usefull
970.
▲
by
RHSeeger
4y ago
Just because there are cases where over-validation (email address being the primary example) can be a problem doesn't mean that _no_ type validation is useful. There are many, many places where validation-beyond-primitives is useful, o
971.
▲
by
RHSeeger
4y ago
> Testing lots of things at the same time means strictly speaking you're writing an integration test rather than a unit test There's nothing wrong with integration tests, but they're not unit tests. It's fine to have
972.
▲
by
RHSeeger
4y ago
> It's the job of the developer to cut as many corners of those policies as possible to ship code ASAP. I can't tell if this is supposed to be humor, or if you actually believe it. It's certainly not my job as a developer
973.
▲
by
RHSeeger
4y ago
The basic idea is that you use tabs to align "blocks" (ie, multiple lines at the same indent level), and then spaces from there to align line "elements") Aligning lines in the same block ____var a; // ind
974.
▲
by
RHSeeger
4y ago
I've seen many places that were designed "industrial" with various metal parts (conduit, vents, etc) showing; and the people that owned them were very happy with the look. Good code also doesn't need to "look pretty
975.
▲
by
RHSeeger
4y ago
To be fair, it looks terrible to you (and to me), but there are plenty of people who have no issue with it. Just like there's people who get agida when there's things like toasters that sit out on the kitchen counter, but a lot of
976.
▲
by
RHSeeger
4y ago
While it's not rocket science, I always find it to be super annoying to do. Getting things smooth/flat when you're done (generally, I think I wind up doing 4-5 layers of mud) takes a fair amount of time. Plus sanding it down
977.
▲
by
RHSeeger
4y ago
The fresnel lens/effect is used in a number of places - Those "invisibility shields" you see videos of - In (vision) glasses, to correct for double vision (you can get prism in the glasses or, if the double vision is too much
978.
▲
by
RHSeeger
4y ago
And to be specific, they generally look for _known_ unexpected behavior; in that you need to have a test for it. Though clearly there's still unknowns, like when you're throwing random data at an api to see if you can find bugs. B
979.
▲
by
RHSeeger
4y ago
> I usually explained that the people who design the HP printers most likely never even talked to the people who design the HP laptops While that is certainly true, the overall priorities of the company (is customer service important, wh
980.
▲
by
RHSeeger
4y ago
> The only company which builds all their hardware with comparable quality to other manufacturers' pro lines is Apple. Well, that's not strictly true either. Apple has had a well documented history of building some very poor qu
981.
▲
by
RHSeeger
4y ago
Indeed. Tests do not tell you code is correct. They only tell you a list of ways it is not incorrect.
982.
▲
by
RHSeeger
4y ago
To put it in a less pithy way... bullying is part of life, too. You certainly want to prevent what bullying you can in schools and give your children the tools to cope with it. But being home schooled means you (likely) never deal with it i
983.
▲
by
RHSeeger
4y ago
It depends entirely where you are. I have fond memories of Math in school; particularly in 6th and 10-12th grades. Teachers were interesting and extremely invested in making sure we enjoyed ourselves and the material. When we were bored, th
984.
▲
by
RHSeeger
4y ago
As has been shown again and again, what they plan on "now" is irrelevant. What matters is what they (or their successors) can do with it later.
985.
▲
by
RHSeeger
4y ago
This is what I see as the main point to get out of this. The larger your toolbox, the better you are able to solve problems. Learning new languages adds tools to that toolbox.
986.
▲
by
RHSeeger
4y ago
Nobody said they're the only way. But they _are_ a very good way, for a variety of reasons (which have already been discussed here).
987.
▲
by
RHSeeger
4y ago
I think the point was that people turned against him because he _didn't_ turn against someone else that was the target of cancelling. He wasn't cancelled, per se; but he did suffer negative consequences for it.
988.
▲
by
RHSeeger
4y ago
Consider the case where millions of people are convinced, influenced by a swarm of people on twitter, that someone in your company should be fired. Those millions of people are an impactful portion of your customer base. You can either do w
989.
▲
by
RHSeeger
4y ago
Interesting, thanks for the info. I had no idea there even _was_ a second web server at AOL that ran Tcl.
990.
▲
by
RHSeeger
4y ago
I like to use the phrase "I don't need to be better than someone else; just better today than I was yesterday".
More ›