Better HN
topnewbestaskshowjobs
Log inSign up

voidlogic

3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions

Submissions

comment 13y ago · link · parent

Ironic in Catch-22: "Snowden is a member of Yossarian's flight during a mission, and acts as catalyst for the fundamental change in Yossarian's mentality and outlook." [1]

Are U.S. Citizens Yossarian?

1: http://en.wikipedia.org/wiki/Yossarian#Snowden

comment 13y ago · link · parent

I was surprised he didn't do this interview from Iceland... I don't think he is going to find a non-stop flight from Hong Kong to Reykjavik without it being privately chartered...

comment 13y ago · link · parent

When I was in HS and I learned that police could lie I was floored. Obviously it is unethical, but I think it causes ethics rot: I think the scariest thing about telling police that it is OK to lie is that it sets up the standard that normal rules social of social conduct don't apply to them, and what are laws but very formal rules social of social conduct...

In this case I am impressed with the Cleveland County Prosecutor for letting this guy go.

comment 13y ago · link · parent

I thought "HTTPS everywhere" is just switching your connection from HTTP to HTTPS when the site you are visiting is on the list of sites known to support their services over HTTPS.

comment 13y ago · link · parent

"Two things that cannot be true at the same time"

Only if you assumed he is fully informed. Do you think Google chief software architect would fall within "need to know", if Google had been ordered to hand over their SSL private keys? I doubt it.

comment 13y ago · link · parent

"I think we should trust Google to keep their private keys safe, although it would help a lot if the published in general terms how they accomplish this."

Really, I would think it would be easy for the NSA, etc to get an operative inside Google, FB etc and steal these. Intelligence organizations are very good at this after all..

comment 13y ago · link · parent

"The government does not have access to Google servers"

No they just have Google's SSL private keys- perhaps...

comment 13y ago · link · parent

Possibly no direct access because the NSA has copies of Facebook, Google and Apple SSL private keys? Just sniffing the backbone...

comment 13y ago · link · parent

this a thousand times

comment 13y ago · link · parent

I'd bet lots of things at Lawrence Livermore fall under national security and will not be in the public domain for a very very long time.

comment 13y ago · link · parent

>>You can't get an "unlocked" cpu with virtualization, but you can get the same chip locked with virtualization extensions

The 4770K has the core virtualization function VT-x and VT-EPT, just not VT-d. I believe this has often been the case for desktop vs server CPUs; Intel needs to distinguish its desktop vs. server offerings after all. The 4770 is locked and gains VT-d and TSX-NI.

http://ark.intel.com/products/75123/Intel-Core-i7-4770K-Proc...

comment 13y ago · link · parent

> The problem is that being a young language, there aren't many libraries.

The Go standard library is large, there are many libraries on code.google and github. I feel like this statement would have been more accurate a year ago. My job is almost 100% Go based development and at this point, I have no issues finding libraries when I need them.

comment 13y ago · link · parent

-Dswing.aatext=true

-Dawt.useSystemAAFontSettings=lcd

-Dsun.java2d.xrender=true

comment 13y ago · link · parent

> "The office suite was built with NetBeans"

The code was written in Netbeans? The code uses the Netbeans platform (which rocks). Or both?

comment 13y ago · link · parent

Obviously much depends on your specific program and use case, but it appears likely that Go may be faster and more memory efficient than Erlang for many uses: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

As always your program is the best benchmark.

comment 13y ago · link · parent

You do realize that Go is an open-source project with contributors from both inside and outside of Google? I imagine more user's outside of Google use Go than inside.

comment 13y ago · link · parent

>>Any reasonably well engineered VM (e.g. V8, JVM, Go) will blow it out of the water.

FYI, Go does not use a VM like V8 or the JVM; Go code compiles to native binary.

However, like many VM based languages and unlike (a lot of) C, Go should be write once, (compile) and run everywhere(Win,Lin,BSD,Mac). Also like many VM languages Go is type/memory safe and is garbage collected.

Edit: It appears V8 is also not a VM, it is a interpreter that performs just-in-time (JIT) compilation of source with no intermediate representation such as bytecode (Java instead JITs bytecode). This makes sense since Java programs are distributed as bytecode and Javascript programs are distributed as source. @calinet6: Thanks for pointing this out.

Life-cycles:

  Developer's machine    | Runtime
  --------------------------------------------------------
  Go:   source->binary   | exec binary
  Java: source->bytecode | interp. bytecode / JIT & exec bin
  JS:   source           | interp. source / JIT & exec bin

comment 13y ago · link · parent

>>According to one grooveshark software engineer on twitter "@jameshartig: @fernando_takai Groovr was abusing our internal API to provide download links.

Its not an "internal API" if it is publicly accessible and doesn't require credentials other than the user's own. Did this API client have stolen creds embedded?

comment 13y ago · link · parent

If really needed you can have it both ways, you could roll a data structure that is a linked list of arrays. Then you have constant time growth and good caching/prefetching.

Toy example:

  struct ListSegment {
    T[64] items
    int nextItem = 0
    ListSegment* nextSeg, prevSeg
  }

comment 13y ago · link · parent

>>Imagine the scenario if an AirBnBer does this with say a cigarette?

How is the situation different if you have a friend stay over night? What if they house sit for you a couple of days?

The only difference above is they are not paying you, but how does that affect liability?

comment 13y ago · link · parent

I was thinking about this more, if the contract made you a chief arch in the new company and then the president told you to your face that they had no intent of really honoring the contract- if you had a recording the conversation cough glass, would the purchasing company not be provably in breach of said contract?

comment 13y ago · link · parent

>>I doubt a chief architect's job would be made easier if the C-level executives were contractually obligated to attend his presentations.

Perhaps not, but blowing you off would sure be more difficult. Wouldn't this also at least give you an influential audience to sell your value to?

I'm not saying that clause is a good idea, it was just a example of something concrete enough to be contractually enforceable.

comment 13y ago · link · parent

Really? I would think at the table you could say, 1. here is my concern, 2. here are examples of it happening to people in the past, 3. here is one idea I have have for addressing my concern, please share your thoughts...

If a reasonable concern kills a deal just by discussing it, the deal must be very fragile. Even if terms are not added to the deal, I think bringing up the issue could be beneficial.

comment 13y ago · link · parent

>>He watched a couple of slides and thanked me for the input. I asked What about my chief architect role? He told me that was something they told me to get me to do the deal.

I'm probably naive, but couldn't something like this be put into the acquisition contract, maybe even with monetary penalties if certain objective criteria (like reporting employee count or C-level meeting attendance) are not met? I realize that is not by any means bullet proof, but couldn't this kind of treatment at least be made harder?

comment 13y ago · link · parent

>>I'm going to go out on a limb and say that performance is more subtle than can be reduced to a single "is better than" about throughput in HTTP requests or computing mandelbrot fractals in the shootout.

Sure, and I'd agree with that. But when it comes to empirical data, microbenchmarks are one of the best sources of data we have to look at. The best source will always be your specific application of course. Benchmarks will never be perfect, but they should not be so easily discarded.

>>All of the languages have a specific area where they shine.

Agreed. I do think it is worth pointing out that the Computer Lang. Bench. Game has a wide variety of programs just for the reason you point out, and it gathers both execution time and memory usage data.

>>Erlang in largely concurrent systems.

Very true; however, concurrency is also a strong point of Go.

>>Python also has a sizable mindshare in the HPC world.

While I'm sure this is true, that could be for reasons other than performance. I know some Astronomers that use Python because as non-CS people its easier for them to use than C or Fortan. However, if they have a really expensive program and they bring in someone with formal C-S training to port to C Fortran or Java the resulting improvement is almost always huge.

comment 13y ago · link · parent

That transition (Go->Erlang) doesn't seem likely. Why? My impression this company's primary motivations switching to Python were 1. Maintainability (how maintainable Erlang was for them). and 2. Performance.

1. Maintainability: Go is ALGOL/C-family-esk and it will be much easier for a Java/C#/Python/<insert very common lang> programmer to ramp up on it than Erlang. Go code is sometimes called boring because it tends to be very straight forward and pragmatic- this makes for very maintainable large systems.

2. Performance: Go performs much better than Python or Erlang[1-3].

Computer Language Benchmarks Game:

1: Go vs Python: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

2: Go vs Erlang: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

TechEmpower: Web Framework Benchmarks: 3: http://www.techempower.com/benchmarks/

comment 13y ago · link · parent

My understanding is Google uses: Python, Java, C++ and Go and language choice is at the discretion of team involved.

comment 13y ago · link · parent

When people say C is the most popular, this is the metric they are often referring too: http://www.tiobe.com/index.php/content/paperinfo/tpci/index....

comment 13y ago · link · parent

They talk about how under "Scalability" how "Java did not seem to fit the project requirements"... I'm sure a Java implementation can be less scalable than a node.js implementation, but every anecdotal piece of evidence I have experienced suggests that a good Java implementation will be faster than a good node.js implementation.

If we look to popular micro-benchmarks, they support my anecdotal observation:

http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

http://www.techempower.com/benchmarks/

On a side node: node.js also suffers from the issue that while a small node.js program might be fast, what is actually fast is the C code and as the program grows larger and increasing amounts of time are spent executing actual javascript its performance characteristics change dramatically. This fact seems often lead to unrealistic understanding of node.js performance due to people benchmarking very small examples.

1
272829
40