Better HN
topnewbestaskshowjobs
Log inSign up

2bitencryption

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

Submissions

comment 10y ago · link · parent

Unless I misunderstand what this is for, a similar concept is already used for trackerless bittorrent using magnet links https://en.wikipedia.org/wiki/Magnet_URI_scheme

It's not the exact same specification, but I imagine these two concepts are similar?

comment 10y ago · link · parent

My prediction is that one day some alternative Python interpreter (Stackless, or GIL-less, or which compiles ahead of time to machine code, or something like that) will go from being merely an interesting concept to a dominant runtime. Python is such an excellent language, and it only has a small handful of elements holding it back from being even better. I feel like eventually something has to give, and either there will be a radical new official Python runtime, or an alternative one that becomes the de-facto standard (Pypy, Jython, Cython, Stackless, etc).

Or maybe that's just wishful thinking. I just want it to be so.

comment 10y ago · link · parent

Snapchat is a surprisingly great platform. I'm 23 so I guess I'm pushing the target audience, but all my friends and I use it, and it's probably made keeping in touch with them about 1000x easier.

It's just so simple. It takes sending photos down to its very base level.

comment 10y ago · link · parent

Wow, I never knew about that. I always hated having std:: everywhere, just so I could have "correct" C++. But I also hated referencing to std implicitly. This is the perfect tradeoff: explicitly state intentions in the beginning, then implicitly reference them as you go. (works until you use eighty five billion lines just to import your symbols)

comment 10y ago · link · parent

> To bring this back to the topic, though: yes, my son is an absolute genius when it comes to data.

I just highly doubt anyone who is so excited to return the conversation to their "genius" son. It's very https://www.reddit.com/r/iamverysmart/ .

comment 10y ago · link · parent

also he can fly, tell the future, and count backwards from the last digits of pi.

Sure.

comment 10y ago · link · parent

Question about private api's:

What makes a private api private? Is it merely undocumented, but still usable in the exact same way as a "public" api? I.e., in my code I invoke it like normal, but I just need to know the name?

Or do I have to fiddle with the compiled code of my app to get it to call the instruction location of the otherwise invisible function?

If they were meant to be private, why can't the app, which surely runs in some underpriviledged mode, be blocked from calling the function, which knows it itself is privileged?

comment 10y ago · link · parent

Which makes Facebook's case interesting, since you can't control through which UI your recipient will view your message.

I once had to reconnect with someone whom I only know how to contact via Facebook, and sent an email-style message broken into a few short paragraphs. I did this in the "full screen" messages window, and later happened to view my sent message in the tiny chat box.

If I had received that huge message in a tiny chat box I would have had a very negative reaction: "Ugh, what does THIS guy want and what's he rambling about?"

comment 11y ago · link · parent

This reminds me of "usenet binaries."

The very existence of binaries on usenet still makes me chuckle. It's such a strange medium for binaries, and yet it was so prolific.

comment 11y ago · link · parent

something that's always had me a bit confused:

the type hinting in Python is just that -- hinting, right?

It's for IDEs like PyCharm to use to generate better docs and to be more intelligent about suggestions when writing code. But what it does NOT do is inform the interpreter/compiler about type information, correct?

I.e., Python3 code with perfectly implemented type hints would only make it easier on the developer, and not the interpreter/compiler, yeah?

comment 11y ago · link · parent

It wasn't terrible for its original purpose, which was to livestream a man named Justin's life continuously, a la the Truman Show.

comment 11y ago · link · parent

I think the real problem is that they are absolutely not calibrated for any weight. I don't know what the programming interface exposes, but I'd imagine it's something like a percentage out of 100, or something like that.

So people are going to think "My iPhone isn't weighing this accurately! It must be defective!" because Apple never intended for the technology to be translated into a scale.

comment 11y ago · link · parent

If the function returned s (the sum number), would it not optimize it away?

comment 11y ago · link · parent

Not true -- on newer iPhones this is actually done on dedicated hardware that enforces these limits.

It's actually really impressive.

comment 11y ago · link · parent

You misunderstand. The point is that the more data they have, the more valuable and "accurate" their analysis is -- it's like crowdsourcing genetics by building one large database.

So your complaint of "why don't they just sell it at the cost plus a margin" doesn't work here. They're dropping the price because they're paying you for your information to make their service better.

It's like Tumblr not having ads (for a period of time). "Why are you giving this to me for free?" you ask. Because then you're more likely to use us, and then we'll have a bigger user base and make tons of money later.

That's how SAAS models can give away their "service" for free and still be valued at billions of dollars.

comment 11y ago · link · parent

Do they actually still show the Alzheimer's information? If so, I'd be very interested in doing that...
1
2021222324