Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
justin_oaks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
811.
▲
by
justin_oaks
9y ago
Because you can always "undo" the purchase by canceling it.
812.
▲
by
justin_oaks
9y ago
Both managers and co-workers come to me asking me to perform a task. If I don't know why they're asking, then I immediately ask: What is the problem you're trying to solve? This is just a different way of asking "Why?&qu
813.
▲
by
justin_oaks
9y ago
Ah, the realities of supporting IT infrastructure. When things go right, management wonders why they even pay you. When things go wrong, management wonders why they even pay you.
814.
▲
by
justin_oaks
9y ago
> one should simply accept them and understand that they are part of the game being played. If they are expected behaviors, being "pissed" about them simply is foolish. Does this apply to athletes who are upset when referees se
815.
▲
by
justin_oaks
9y ago
I wrote a program to check how many 9 digit numbers met the criteria. The answer I got was 897,674,400. I used the following Java code, which may be flawed, to count: public static void main(String[] args) throws Exception{ int
816.
▲
by
justin_oaks
9y ago
One word: incompetence
817.
▲
by
justin_oaks
10y ago
It could be allowed. Consider the case of var-args method called with a null value. Say you call the method ambiguousNull(String ...args) like so: ambiguousNull(null); Should args be null? Or should args be new String[]{null}? In t
818.
▲
by
justin_oaks
10y ago
I'll admit that my first reaction is "yet another programming language", but mostly because it's rare to see the announcement of a new programming language that will offer anything significantly different than the existi
819.
▲
by
justin_oaks
10y ago
I just wish I had some example commands to color in.
820.
▲
by
justin_oaks
10y ago
It is unreasonable for me to think that company owners should have the spine to say, "We take the decision to fire someone very seriously. We'll take your comments under consideration, but we retain sole discretion over such decis
821.
▲
by
justin_oaks
10y ago
The biggest problem I have with comments is that they quickly fall out of sync with the code. The code gets updated but the comments stay the same. Now you have a situation worse than no comments: misleading comments. It sometimes happens w
822.
▲
by
justin_oaks
10y ago
I never see any benefit to anthropomorphizing companies. Companies can't care for their employees because companies aren't people and don't have emotions. People in the company may care about you. And you may care about peopl
823.
▲
by
justin_oaks
10y ago
Plenty of apps look like shit but run just fine. Perhaps others don't share this view but I don't care so much how it looks if it gets the job done, especially if there is no other alternative.
824.
▲
by
justin_oaks
10y ago
Dangling images are just those that are not tagged. That happens if you create a new image and tag it with an already existing tag (e.g. latest). This command won't help you clean up disk space if you build/pull images each with t
825.
▲
by
justin_oaks
10y ago
Yes, I suppose this is the "correct" way. If my manager doesn't have a problem with my coworkers failures, then I'll just have to tolerate it too.
826.
▲
by
justin_oaks
10y ago
Well put. I prefer enforcing things by technical means when possible and via policy and process at other times. Sadly I see a lot of policy and process that isn't enforced, thus it might as well not be there. Nevertheless, I'll ju
827.
▲
by
justin_oaks
10y ago
Of course. I guess I can give some examples. One developer writes huge methods or functions with a tangled mass of if-else. The inevitable result is that an else case missed and the whole thing fails spectacularly in some situations. Discus
828.
▲
by
justin_oaks
10y ago
Junior developers who make a mistake? Cut them some slack and teach them. Senior developers who make the same mistakes over and over and never learn? I've kindly pointed out the mistake and invited them to avoid it in future. After a f
829.
▲
by
justin_oaks
10y ago
Firing for laughing? Did you forget the point of the article? Be kind. Don't hand out harsh punishments for mistakes. Teach instead. (Only fire if the person is immune to teaching.)
830.
▲
by
justin_oaks
10y ago
If enough people blocked ads via DNS, I wonder how long it would be before we saw advertisers using plain IP addresses instead of DNS hostnames.
831.
▲
by
justin_oaks
10y ago
That's an awesome list of features. It knocks a few entries out of my list of "Features I wish MySQL had". (Yes, I actually have such a list.) I am curious as to how features get prioritized, though. I would think certain thi
832.
▲
by
justin_oaks
11y ago
Do you really need those extra 11 bits? Javascript numbers accurately represent integers up to 2^53 - 1. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
833.
▲
by
justin_oaks
11y ago
I thought it was an April Fools joke, based on the layout.
834.
▲
by
justin_oaks
11y ago
Let's get behind Google, Facebook, and Amazon in their desire to not to hand over our data to the government. Even with as much data as each of them has, it's still better that the data isn't given to yet another party (the g
835.
▲
by
justin_oaks
11y ago
Way too many languages are trolls, or have troll features. Or in other words, too many languages have features that don't do what a reasonable person would expect them to do. I've long considered implicit type conversion to be a t
836.
▲
by
justin_oaks
11y ago
I think it's funny to notice how people are saying "If you want to get married to a (some profession) then you should work as a (other profession)." We shouldn't think that the correlation implies a cause. This data does
837.
▲
by
justin_oaks
11y ago
I can confirm this is the case for my company. The software we produce can be classified as security software, yet nobody is trained in secure programming or even basic security principles (e.g. validate all input, defense in-depth, etc). I
838.
▲
by
justin_oaks
13y ago
I grow tired of the endless comparisons of software development with some other practice, profession, or physical process. All analogies eventually break down if you take them too far. (If they didn't then you wouldn't be comparin