Better HN
topnewbestaskshowjobs
Log inSign up

2bitencryption

6,051 karma · joined Oct 14, 2015 (11y ago) · 707 submissions

Submissions

comment 10y ago · link · parent

Interesting point.

Most of the important stuff is certainly done server-side, like determining whether a Pokemon appears at coordinates x,y or not (though my guess is the client is tasked with this, and then says "Hey server, I'm showing there should be a Pidgey at x,y, I'm gonna try to catch it." The server confirms by running the exact same deterministic check on x,y, then says "Yep, I see it too," or "No, you're a filthy liar, Joey.")

But for the actual "I caught it" or "I missed it," unless the exact user input is sent to the server, and then the server simulates the projected path of the throw, the client seems like it gets to say that. So perhaps the client could actually say "I hit it perfectly," and the server just says "Well if you say so."

comment 10y ago · link · parent

So let me get this straight -- for these "unnofficial" APIs, someone just scraped a bunch of packets from their phone while letting Pokemon Go run on it? Then investigated to see what the communication from client to server looks like, then implemented an API that mimicks that communication?

If that's all so, could the PoGo devs simply enforce some type of device authentication to 'shut down' these APIs, or otherwise take different steps to make unofficial APIs less compatible/more difficult/effectively impossible?

comment 10y ago · link · parent

You know that one mobile "space pilot" game? The one where everyone's phone displays different elements of a fictional spacecraft, with buttons labeled "Power Overdrive" and knobs and levers to pull with crazy names? And players get instructions they need to shout to other players, like "Whoever has the Neutrino Ray, set it to 4!"

Basically, the game forces one big fun social interaction by requiring players to exchange information to stay alive.

How could this work with Pokemon Go? I don't know. Currently the only social exchanges are "There's a Blastoise over here!" (which is pretty darn cool). But maybe more could be done. Some type of puzzle where one person in an area is designated the "Puzzle leader," and gets to rely information to other people...

comment 10y ago · link · parent

just to point out, NMS isn't PS4 exclusive, it is releasing on PC as well.

comment 10y ago · link · parent

You're confusing streaming (renting) with purchasing.

On iTunes, EVERYTHING is DRM free. If you purchase it, you get a mp4 (or mov), and that's it. No DRM.

So nothing is stopping you from paying for much of this content legally.

comment 10y ago · link · parent

I've read a fair share of criticisms against Tesla, and many of them are founded on solid points.

However, in the grand scheme of things, this really does seem like I am watching history unfold. I don't know if I've ever truly believed the "grand mission statement" of a company before so much as I do Tesla's. Mostly because, when it has come down to it, Musk has proved that he really means it. Silicon Valley has made the joke a billion times of start-ups saying they're trying "To make the world a better place." The difference with Tesla (and probably also SpaceX) is that if they succeed, it seems they really will make the world a better place. ..and probably cement Musk a pretty good paragraph in the history books, it seems.

comment 10y ago · link · parent

are you suggesting that DDG makes a call to Yahoo which then makes a call to Bing ("two times indirection")? Surely it's implemented differently than that, right?

comment 10y ago · link · parent

We might be thinking of different scopes of machine learning.

You could look at AlphaGo's weights for the entire neural network for ten thousand years. But you would become no better at Go. The only way AlphaGo can help us improve at Go is by showing us what it has learned in the games it plays.

comment 10y ago · link · parent

I don't consider luggage searches overbearing. I would not want to get on a plane if everyone's luggage wasn't searched beforehand.

comment 10y ago · link · parent

What's funny is I feel in some ways the exact opposite is true.

When Google creates a program to learn Go, it learns go so well that it knows it (arguably) knows it far better than any human (even if it isn't flawless).

But what did we learn about go? Well, we learned a bit about the opening I guess, since Lee Sedol has become fond of the "AlphaGo opening," but other than that... not much, right?

That's the funny thing about neural networks. They can converge to a set of weights that, when activated, perform better than any human. But we can't look at Weight 483 and Weight 958 and say "Ah, that's where it decided the corner is very valuable!" or something.

It learns, we don't. We can only learn from what it can then show us it has learned.

comment 10y ago · link · parent

Seeing as the Android version only required the LOWEST possible Google permissions scope, my guess is someone checked the wrong box, or for some reason was doing something in development that required slightly more permissions and simply forgot to switch it back.

comment 10y ago · link · parent

But that's my favorite part of mobile browsing!

Load the page, start reading an article, scrolling as you read. Then the CSS styling kicks in, knocking you back to the top of the page, or worse -- somewhere else entirely, who knows where. So you take some time to figure out where you left off and continue reading again.

But then the font loads. And that shifts everything again. And now you're in the middle of the fourth paragraph when before you were reading the third.

comment 10y ago · link · parent

Don't think it'd be solved by local caching. All that logic should be remote anyway. The local client shouldn't decide if a Pokemon was caught or not, the server should.

What the client should be doing is gracefully reconnecting and picking up at the state it left off in... which it certainly is NOT doing right now.

comment 10y ago · link · parent

> The truth is, those "lazy developers" are right.

I don't understand why this discussion is about the developers. Do you think Tim, who writes network code for the iOS version, gets to say when they launch?

No. Some top dog at Niantic says "We're launching early to catch the summer buzz while kids are out of school." And Tim says "But we don't handle network disconnects gracefully yet." And top-dog man says "Can you still catch Pokemon and battle at gyms?" And Tim admits, "Yes, you can." And top-dog says: "We launch tomorrow, then."

comment 10y ago · link · parent

> to it I'd add that this is also the difference between the $20/hour programmer and the $200/hour programmer

You could have a hundred "$200/hour programmers" on the team for this app, but if management says they need to ship three weeks early to catch the buzz, or something like that, it doesn't matter. We can't say the developers were bad. I mean it's possible, given how poorly the game handles network disconnections, among other bugs. But unfortunately we don't live in a utopia where the guys writing the code get to decide when they want to release. Or if features get added in the last minute. Etc.

comment 10y ago · link · parent

There is NO graceful handling of loss of network connection at all. Many times I've been out throwing Pokeballs at a Pidgy, then my phone catches the nearby Starbucks wifi and switches over. In the brief period of no connectivity during the switch, the game loses connection, and just... dies. All actions stop. The animations keep playing on loop, but it's impossible to throw another pokeball, impossible to leave the minigame, etc.

This doesn't just happen when in "catch a pokemon" minigame mode. This happens at all screens. The game was programming to expect full, 100% network connectivity, and if it loses that for even a brief moment, the whole thing comes crashing down, requiring a full kill and reset.

comment 10y ago · link · parent

> infringing on the "feel" of your song

(Popular) Country music would cease to exist.

"Truck ... girl ... warm beer ... boots ... mud ... tractor" (computer-altered guitar riff)

comment 10y ago · link · parent

Skype already works on OS X (ahem, macOS) and Windows, arguably the only two desktop operating systems with a significant amount of users. It still works on those two operating systems. So what are they extinguishing? And also what are they even embracing? They bought it outright. I don't think EEE, which hasn't really been a MS thing since the 90's, is even the proper term for this at all.

comment 10y ago · link · parent

It's not HFS. That in itself is a pretty huge advantage.

comment 10y ago · link · parent

Yes! So that's why I'm so disappointed I couldn't find a warning discouraging all use of pointer arithmetic.

comment 10y ago · link · parent

The sad thing is I still really do like Reddit for the little communities, especially the ones around programming languages and technology. r/cpp, r/python, r/c_programming, etc. I have them all in those "meta" reddit groups or whatever they're called, and when I log in I actually get a rather nice list of discussions and links. In years passed it seemed the "bad" part of Reddit was just a little growth on the "good" whole, but now it seems to be the reverse... It's strange having a nice discussion on r/cpp on the same site which is so full of racism and bigotry at the top level.

comment 10y ago · link · parent

The worst part of that whole debacle was that the Trump subreddit began touting itself as a champion of free speech and unbiased discourse, which is hilarious because you'd have one post with 3k upvotes titled "We are now the only subreddit to have a fair and even discussion!" and the one right below it with even more upvotes called "DEPORT ALL MUSLIMS". The only thing worse than being absurdly biased is being absurdly biased and then thinking you're not...

comment 10y ago · link · parent

heh not really. more like "I'm disappointed that gcc/clang doesn't even give me the option to warn me from doing something that I will surely never want to do, even if it is "legal" (but undefined) C++, for the sake of safety."

comment 10y ago · link · parent

unfortunately it passes -Weverything on clang, as well.

comment 10y ago · link · parent

The other day I thought "I'm finally gonna dive deep into C++, and I'm going to start out right, with a mindset toward modern C++ and statically forbidding memory errors, etc."

First thing I did was write up a test program that looks something like this, to see what errors I would get:

int x = 42; int* px = &x; px++; *px = 12;

Compiled on GCC with -Wall. No warnings. I thought for sure some warning must prevent pointer arithmetic. After asking around I guess what I did above wasn't really pointer arithmetic, at least not in the compiler's eyes, so it's not warned against.

comment 10y ago · link · parent

> Should proximity make what has happened any more or less significant?

Yes, in the eyes of those further away.

comment 10y ago · link · parent

I kind of want someone to do the same thing with a "NON-neural network" Picasso filter, like the ones in Photoshop and similar image editing programs. I want to compare how much the neural network's understanding of Picasso's style adds to the work (I imagine it's a lot, because this looks incredible).

comment 10y ago · link · parent

example?

comment 10y ago · link · parent

this is sort of an aside, but even though I wish other countries practiced the same degree of freedom of speech as the US, I think the Germans ban on Naziism might be a valid exception in my book. I only bring it up because I think of it quite a lot.

When that is part of your national history and identity, I think there's a good reason for banning that practice and behavior. Even if it violates free speech. To practice those ideals in the same country where those crimes were committed can do no service to anyone; there is no good outcome, no valid reasoning. It can only harm everyone. That's just about the only "exception" to free speech I can think of that holds up, though I still do question where you CAN have exceptions. Kind of like with encryption, you can't say "it's secure BUT..." you can't say "we have free speech BUT..."

1
2021222324