Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swish_bob
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
swish_bob
7y ago
i was so disappointed when I realised they were emulating a USB keyboard to enter the PINs. That first picture made me think they had a actual robot finger for a moment ...
2.
▲
by
swish_bob
7y ago
I am and have done both. I tend to prefer a functional style, but even then I'm going to be using classes (or a similar construct) for quite a lot of problems.
3.
▲
by
swish_bob
7y ago
I came here to talk about Liskov, but since you beat me to it I'll mention SOLID principles of class design instead, which it really sounds like the OP isn't aware of or just isn't following and it feels like is the source of
4.
▲
by
swish_bob
7y ago
Dunno, watching people cat something then pipe it to grep drives me up the wall. I'll let piping grep to wc -l instead of just using -c pass this time though.
5.
▲
by
swish_bob
7y ago
And a late 80s early 90s children's TV programme.
6.
▲
by
swish_bob
7y ago
"Are your parents proud of what you do for a living?" is quite effective.
7.
▲
by
swish_bob
7y ago
Your test should explain what it's testing. Via it's name or some other mechanism. Otherwise how do you know what's gone wrong when it fails?
8.
▲
by
swish_bob
7y ago
Why it exists ought to be explained by the existence of a test. This isn't always possible, but it's far more possible than many developers seem to think.
9.
▲
by
swish_bob
7y ago
It's (mostly) a broadcast service. Them metaphor in this case, it's the radio station boosting your signal ...
10.
▲
by
swish_bob
7y ago
I remember trying to create an MHD proof of concept in physics at school after reading the book, well before the movie was released. I thought it was inspired by the book ...
11.
▲
by
swish_bob
7y ago
I particularly enjoy IntelliJ's local history, which will go so far as to tell me whether the tests were passing or failing (and how many failed) on a specific file at a specific point in time.
12.
▲
by
swish_bob
7y ago
Use a graph database?
13.
▲
by
swish_bob
7y ago
I'm stunned by the number of people who think that reviewing a PR is just a matter of checking the code works and looks clean. Does nobody ask what the code is for and why you're doing it? I mean, I don't expect people to r
14.
▲
by
swish_bob
7y ago
How would they complain to you? How would they know what the problem is? Assuming they don't just fail to register and move on ...
15.
▲
by
swish_bob
7y ago
So, when I registered for my primary email account (many, many years ago), Firstname.Lastname@provider was already taken, so I took FirstnameLastname@provider. Are you suggesting I shouldn't be allowed an account with you if the person
16.
▲
by
swish_bob
7y ago
I've occasionally seen issues with thingId and thingID, but mostly they've been aesthetic or in serialised contexts (json is a swine for this).
17.
▲
by
swish_bob
7y ago
Which is a modded IntelliJ ..
18.
▲
by
swish_bob
7y ago
If you create a null reference to an Optional in any code base I have to deal with I will hunt you down and hurt you.
19.
▲
by
swish_bob
7y ago
or even: result = Optional.ofNullable(nullableVariable) .map(NullableType::someMethodCall) .orElseGet(this::fallbackIfNullMethodCall);
20.
▲
by
swish_bob
7y ago
Worse was when I had somebody adding the ip address as an Inet4Address on every message passed between machines in a production environment that explicitly didn't have DNS (banks have occasionally very odd ideas about securing subnets)
21.
▲
by
swish_bob
7y ago
Your choice is a salary that's too low or no salary. Which do you choose?
22.
▲
by
swish_bob
7y ago
I've read loads of suggested explanations for why this is a thing over the years, and none of them have ever felt satisfactory to me. However, none of the people doing this really care why this is a thing, they care that, for some reas
23.
▲
by
swish_bob
7y ago
This makes it clear why it's in the individual advertiser's interest _and_ advertising network/website's interest to get more data on the users. The cost to the advertiser has stayed the same (or in reality, has probably
24.
▲
by
swish_bob
7y ago
Even the jerry-can point is bullshit. I already have a portable battery pack in my garage for jump starting a car with a dead battery (because it's not possible to get another car onto the drive to jump start one that way). The tech to
25.
▲
by
swish_bob
7y ago
She writes well, but the snobbery towards "genre fiction" irks me enough that I generally refer to her as a science fiction writer who does other stuff. I get the impression I'm not alone and a whole lot of people who enjoy g
26.
▲
by
swish_bob
7y ago
SUVs have a dreadful record for safety. They feel safe, because they're so big, but they really aren't more safe than smaller vehicles.
27.
▲
by
swish_bob
7y ago
But that's a pun! It's literally the whole point!
28.
▲
by
swish_bob
7y ago
Most obvious in English when you're talking about "the quick and the dead".
29.
▲
by
swish_bob
7y ago
Nearly every part of this is incorrect. Most Americans do not have good enough insurance. The cost per person of health care in the US is far, far higher than that of the countries you're deriding. People do, actually, choose to have t
30.
▲
by
swish_bob
7y ago
Numerous, repeated stories over the years. They keep claiming they've improved, and it's possible they have, but stories keep surfacing. https://riskandinsurance.com/5-takeaways-from-teslas-safety-...
More ›