smitherfield

Joined 11 years ago

Karma
1,773
Submissions
745
Member since
Mar 26
View on Hacker News

Recent submissions

Comment · 1 day ago
Couldn't SIMD features include marking data as "the compiler is free to rearrange"?
Comment · 1 day ago
It was rejected because it did not receive the required 2/3 majority for approval.
Comment · 5 years ago
> because you don't have a reason to reinvent the wheel [in Rust]

This is a somewhat comical statement in a thread about "Rewrite it in Rust."

Comment · 5 years ago
No evidence? We know for a fact that US, Russian, Chinese, British, Israeli etc. intelligence agencies are looking for crypto vulnerabilities, and we know for a fact that they do not publicize the vulnerabilities they find.
Comment · 5 years ago
That's if you look at major PUBLICIZED attacks on TLS endpoints. It's quite plausible that the people who've found (i.e. are looking for) attacks based on incorrect crypto aren't publicizing them.
Comment · 5 years ago
But it wasn't an adverse inference in that case, at least not from Saddam's perspective. He wanted the world to believe he had WMDs, because he believed, not unreasonably (c.f. North Korea), that this would deter military action by the U.S. and his other enemies (Iran, Syria, Israel, Saudi Arabia).
Comment · 5 years ago
Mondale proposed some interesting ideas during his Presidential campaign, in particular a national industrial policy, that I think we would have done well to take heed of.
Comment · 5 years ago
I would (and do) consider it very suspicious.
Comment · 5 years ago
This is more like if the police come to search your house, and find that you've burned it down, or you've barricaded yourself inside with guns and hostages.

But, let's assume for the sake of argument that your analogy is the correct one. You know where they assume that if you don't let the police search your house, or if you don't answer police questions, you must be guilty? China.

So, we can just as easily judge the Chinese government by another heuristic: The Golden Rule

Comment · 5 years ago
Comment · 7 years ago
"Or have everything you do on the web be phoned to Google, to improve your advertising experience."

Chrome already does this.

Comment · 7 years ago
Speaking of, why both -ansi and -std=99 [sic[1]]?

[1] should be -std=c99

Comment · 7 years ago
All the discussion ITT so far has been about the concept or hardware implementation of full-memory encryption. I'm wondering if anyone has thoughts about the proposed API.
Comment · 7 years ago
Yeah, that's one of my biggest pet peeves when looking at other people's code (along with unnecessary dynamic allocations in general). One of the reasons I perhaps irrationally still prefer C++ to Rust is the pervasive use of dynamic arrays of known static size in the latter's documentation, and how it makes fixed-size arrays much less ergonomic to use than dynamic arrays.
Comment · 7 years ago
Why wouldn't an implementation along these lines be performant?

  template<typename... Ts>
  class SoA : public tuple<vector<Ts>...> {
          // ...
          template<size_t... Is>
          tuple<Ts&...> subscript(size_t i, index_sequence<Is...>) {
                  return {get<Is>(*this)[i]...};
          }
  public:
          // ...
          auto operator[](size_t i) {
                  return subscript(i, index_sequence_for<Ts...>{});
          }
  };

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton