Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Deestan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
331.
▲
by
Deestan
15y ago
For completeness, Square inheriting from Rectangle is horrible for at least the following reasons: 1. Inheritance is IS-A. A Square ISN'T-A Rectangle because it breaks Rectangle's contract. If I give you a Rectangle object, you know t
332.
▲
by
Deestan
15y ago
WiB is more about appreciating barebone low-level tools, like C/Unix in the posted example. These tools are crude but technically polished , otherwise no-one would bother to use them.
333.
▲
by
Deestan
15y ago
> put your code on Github or the like and others will add any features that you're missing. No they won't, because he hadn't even started on the "make it beautiful". When I want to solve a new-ish problem, I can't imagine grabbing som
334.
▲
by
Deestan
15y ago
> Surely a better challenge would be to publish a brief but involved spec, then say "implement this API that returns your job application details." I would personally interpret this as intolerably arrogant and lazy. "Dance, code monkey
335.
▲
by
Deestan
15y ago
> you're deluding yourself with semantics. Please elaborate. Where does my statement conflict with reality? > It's the real thing It's already a copy of a copy of an edit of an edit of a copy a magnetic tape in someone's camera. &#
336.
▲
by
Deestan
15y ago
> That's just not true. If you asked a random person "what do you call the act of taking something without paying for it", they'd answer "theft". By saying "taking" you've already given them the wrong question. If you ask a random perso
337.
▲
by
Deestan
15y ago
> A tragedy - I would love to work full-time on a killer product pitted against either of them, but I just can't see how it fits into the scheme of the market. :( Gimp would be a good competitor to Photoshop if it could just get a ton o
338.
▲
by
Deestan
15y ago
> I'm guessing posting anything about our password hashing will be frowned upon due to the context of this question. The only way it could be harmful to disclose the hashing method is if you're using an insufficient one.
339.
▲
by
Deestan
15y ago
> If your fingers protest at the additional "get" in your function names, go and buy yourself a real IDE. If you can't see how abstraction layers affect performance, go buy yourself a real education. This isn't about premature optimiza
340.
▲
by
Deestan
15y ago
> Oh, and for good measure--everytime you force yourself to use an accessor, you are providing the opportunity for somebody down the line to add debug and validation code. So add it then . Don't pre-generalize everything just in case.
341.
▲
by
Deestan
15y ago
> They can go back to farming Where? At the government-mandated pick-a-plot-land-for-free fair?
342.
▲
by
Deestan
15y ago
> You don't need to be sympathetic with the workers either. Of course not, they are just accepting 36 hour shifts because they are bored. Not because the alternative is starvation and unemployment.
343.
▲
by
Deestan
15y ago
It makes no sense thinking that they just need to understand their lack of rationality. Like Apple and North Korea, they do, say and claim whatever they want because they get away with it.
344.
▲
by
Deestan
15y ago
Or I could think of it as gambling that enough other people either 1) are lucky, 2) don't bother with the return ("I don't really need it/want another.") or 3) forget about the return. But, I don't think of it in terms of how much money I "
345.
▲
by
Deestan
15y ago
It can work, though. Some retailers do it properly. I have had use for it for a printer and a portable CD player. The extra warranty was about +10% of the product price, and they said it covered "anything, including kids dropping it on t
346.
▲
by
Deestan
15y ago
Yes. This is a trivial exploit of a designed weakness in hashtables. I shall, arrogant as I am, scoff at people who are surprised when this happens. I mean, honestly, what kind of developer doesn't know the basic properties of their d
347.
▲
by
Deestan
15y ago
> I disagree. The simple solution to this is to write tests. That's a step backwards. Code error checking should be done as early as possible. In order of earliness: * Typing in the code. (Ideal: it is clear from the syntax that the co
348.
▲
by
Deestan
15y ago
You are yelling angrily. Stop that. It is annoying. > Huh? Cowardly? Are you serious? Yes, if the developer knows at least 75% of the user base needs and wants A, but still gives the choice between A and B, it is just because he is af
349.
▲
by
Deestan
15y ago
> Since it's a one-time notification, it should've explained the rationale behind this feature and asked for a decision. That would mean treating users as intelligent adults. I disagree. This is the cowardly and helpless solution to th
350.
▲
by
Deestan
15y ago
Any good "goto" site won't stay that way for long, because it will automatically have strong incentives to try tons of stupid crap like this. But you can use these sites for software lookup. Then you check the listed developer name, Bing
351.
▲
by
Deestan
15y ago
> I remember the first time I found Sun bundling the Yahoo! toolbar along with the Java runtime. Rest assured that they have now ceased this insane pratice. Now the JRE installer force install the Ask Toolbar instead.
352.
▲
by
Deestan
15y ago
> It's called humor. It may not be appropriate on HN [...] Humor, or as in this case snarky look-at-my-clever-phrasing passed off as humor, is no excuse for writing pointless shit. The article offers no insight or useful discussion. &#
353.
▲
by
Deestan
15y ago
It is identical to the URL given on the submitted page before it crumbled from the load.
354.
▲
by
Deestan
15y ago
The first sentence on the page, right at the top there, gives a GitHub link.
355.
▲
by
Deestan
15y ago
You're assuming a different selection model, in which a father of two boys is twice as likely to volunteer information if he has two boys: "Pick a child at random, then if it's a boy - say: I have a boy [blablabla] what is the other?" Howev
356.
▲
by
Deestan
15y ago
> The problem is not other search engines, but disruptive innovation that makes search engines obsolete. Can you elaborate on what these innovations are? I cannot think of any. Or are you talking about a theoretical future problem?
357.
▲
by
Deestan
15y ago
Your comment is rude and offers no illumination.
358.
▲
by
Deestan
15y ago
> Agreed, but effects like this are not style No, it's a tech demo with artsy pictures. This is very obvious. The site is also very bad as a computer game and a travel catalogue.
359.
▲
by
Deestan
15y ago
That's horrible advice. Firstly: Leaving your key in someone else's property is a good way to lose it. Secondly: Burglars are very aware of people leaving extra keys around, and what you may think is a super hiding place is actually #4 on t
360.
▲
by
Deestan
15y ago
Ok, but you didn't, really. You gave an implementation difference between the two, but what is the conceptual difference? Also, the implementation difference is just, well, an implementation detail. If you need to worry about whether a
More ›