Better HN
topnewbestaskshowjobs
Log inSign up

finishingmove

177 karma · joined Mar 24, 2013 (13y ago) · 155 submissions

Submissions

comment 10y ago · link · parent

Things like this can only be endorsed by malicious or very stupid people (if you are getting excited about this and have Minority report pop into your head -- you're of the latter).

comment 10y ago · link · parent

Inside Gmail for Android: ads. Lots of ads.

Disclaimer: if you haven't seen ads in the Gmail android app yet, please consider yourself lucky and kindly buzz off from this comment.

comment 10y ago · link · parent

"This guy fucks."

comment 10y ago · link · parent

What "security industry"? In how many companies nowadays is sitting and thinking things through an encouraged approach? It goes against the current economical values. The problem are not IoT vendors, the problem is money-driven economics.

comment 10y ago · link · parent

How great. Can't wait for "Music for tech-savvy young adults with interest in retro games" or "Music for Asian women aged 35-45".

Before these industry-disrupting services emerge though, I guess I'll just stick to music that I like.

comment 10y ago · link · parent

Does anyone know what the maximum possible (combined-)output resolution of the Radeon Pro 460 is? I'm having a hard time finding this info on AMD's website.

comment 10y ago · link · parent

Why replace the wifi card if you don't mind me asking?

comment 10y ago · link · parent

"Why Tokyo Is the World’s Best Food City"? Because the author uses the word "fucking" at least once per paragraph. That is why. So off I go to Tokyo, visibly impressed.

comment 10y ago · link · parent

Could it be that nepotism exists in the (free) free market world? Shocking.

comment 10y ago · link · parent

I'd just gone through the process of moving some ~40 accounts on various websites from having a Yahoo email address to a Gmail one. By far the most unpleasant experience was with PayPal.

First I changed my email address. I received a confirmation and re-activated my account. Nice so far. Then I thought I'd generate a new, longer password. I pasted the 24-character password into the settings form. It was saved successfully.

After trying to login again though, it just wouldn't accept my login! So I went through the password recovery process. I received a link and then was asked to answer security questions. The security questions were ancient, so I facepalmed at first, but I was pretty sure I got the answers right after some thinking. It took me 10 tries to get the proper variation of the answers (it doesn't tell you which one is wrong).

Then I was presented with the new password form. I tried to paste the new 24-character password again. This form didn't allow you to paste the password in, you had to type it in manually for "added security". Then I realized the password was limited to 20 characters, and the previous form (in account settings) was just happily letting me paste a 24-character password while trimming the end silently!.

And this is 2016 on the web...

comment 10y ago · link · parent

Unfortunately, even though I would very much like to abandon mine (even though it's used only for some spammy registrations), email forwarding is not possible unless you pay them, which is obviously out of question.

So basically, the best I can do is start changing my associated email address at the services I care about that are still using my yahoo email address. After a while, my yahoo inbox will be 100% spam (as opposed to 90% spam now), so I'd be able to move on.

comment 10y ago · link · parent

From the pricing, and the fact that the blue version is available only in the US, this seems to be an "iPhone for Muricans that don't want an iPhone" (for whatever hissy fit). Now they have a choice, exactly like between Republicans and Democrats. Enjoy your HTC Pixels.

comment 10y ago · link · parent

2016, ladies and gents.

  Everyone is hypersensitive.  
  Nobody thinks or researches anything past a Google search.  
  Everyone has an opinion.  
  Everyone is on the internet.  
  Everyone yells everything they think on social media.

comment 10y ago · link · parent

An article was recently featured here, that said functions were limited to 60 lines. That seems like way too loose of a restriction considering the possible consequences.

comment 10y ago · link · parent

And it's extremely hard to write unit tests for crappy code.

comment 10y ago · link · parent

> a function shouldn’t have more than 60 lines of code.

I started having headache spikes after reading this sentence that refers to keeping functions "short", in the article about safety critical programs.

comment 10y ago · link · parent

Goes well with your name :)

comment 10y ago · link · parent

As someone who doesn't know much about how parallelism primitives are implemented, I need to ask why SharedArrayBuffer needs a length to be specified? From my layman viewpoint, this seems too low-level to be used for casual everyday applications.

comment 10y ago · link · parent

> Making each an individual test would triple the test time, pollute the test codebase and not bring any advantage.

Would it really? None of what you said here is true.

comment 10y ago · link · parent

They should be tested independently, each with a completely reproducible setup that does only what is required for the assertion that will be made. I'm not sure what's hard to understand here... Are you trying to say that they need to be run together? Because it doesn't seem like that to me.

comment 10y ago · link · parent

I am well aware of that and I agree on being pragmatic, but more often than not, the reason for multiple assertions per test is developer laziness and/or unawareness of the benefits of isolating failures by having just one assertion per test.

comment 10y ago · link · parent

We see the test checks three things:

  Verifies:
    - KogMaw deals less damage to non-lane minions
    - KogMaw deals percentile magic damage
    - KogMaw deals normal damage to lane minions
and the verify method has three assertions. In my opinion, this should be three tests, each with only one assertion.

comment 10y ago · link · parent

Question to C programmers: Every time I encounter some C code, it doesn't take long until the obscurely short variable names start popping up from all directions. Is naming variables in this manner considered acceptable by today's "C best practices" or what's the deal with that?

comment 10y ago · link · parent

I love reading gray on gray. No, really, the web needs more of this. Let's also make sure the font is readable only on retina displays.

25.

Beyond Clojure: Prelude(martintrojer.github.io ↗)

2 points · by finishingmove · 10y ago · discuss

comment 10y ago · link · parent

I was hoping to read something in this article that could be used to inspire today's girls/women who are not programmers, but aspire to be (or have at least given it some thought). Unfortunately, it's hard to see things like "genius-level mathematician" and "studied maths religiously for her first thirty years" having anything other than an off-putting effect. The most common reaction to this would be, "I'm just not like that. Not everyone was born to be a programmer..."

comment 10y ago · link · parent

> you know what this reminds me of? The state of infrastructure in a booming underdeveloped country

Here's what it reminds me of: "jungle capitalism".

123456