Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdiez17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
571.
▲
by
jdiez17
13y ago
True. We use 12 rounds of bcrypt, though, so they should be at least moderately secure. It's the best solution we've found so far... we'd be happy to hear alternatives that allow us to generate secure hashes for the IPs and a
572.
▲
Show HN: An open-source media hosting site that's anonymous and fast
(blog.mediacru.sh)
95 points
by
jdiez17
13y ago
|
57 comments
573.
▲
by
jdiez17
13y ago
I don't know about the Nexus 10 or the GNex, but I do know that you need the binary blobs to boot the Nexus 4 from source. However you can get the factory image (which contains the blobs and doesn't require you to extract them fro
574.
▲
by
jdiez17
13y ago
What's the worst that can happen, right? Haha! Because DRM always works perfectly and the legitimate customer is never stung by it. Cool!
575.
▲
by
jdiez17
13y ago
Right, but it's much less of a leap of faith, IMHO. Besides, if you turn off optimisations you can be reasonably sure the compiler didn't do something unintended.
576.
▲
by
jdiez17
13y ago
I don't think he meant to "involve the government." I do agree with his sentiment though, an inexperienced programmer should not be allowed to write critical software. This is, of course, very difficult to implement in practi
577.
▲
by
jdiez17
13y ago
Yeah, having Siri or your equivalent voice assistant listen in during calls could be interesting. Reminds me of Jane from Children of the Mind. There could potentially be major privacy issues, though.
578.
▲
by
jdiez17
13y ago
In order to upload recordings to Dropbox.
579.
▲
by
jdiez17
13y ago
I'm okay with hobby projects that use cryptography if every time the user tries to do anything in which security can be expected they flash a message that makes the user type "I understand my data may be read by an adversary."
580.
▲
by
jdiez17
13y ago
No. You learn to do cryptography. You get a book, you sit down and you read it. Understand what are cryptography primitives. Understand how they can be used together to create cryptographic systems. Understand every part of that system. The
581.
▲
by
jdiez17
13y ago
Thank you for being the voice of reason. It's so easy to get confused, too, because "crypto code" is indistinguishable from "other code", but the implications are much greater. You don't need to peer review a I
582.
▲
by
jdiez17
13y ago
Please, please, please, please, please, stop releasing hobby applications that use cryptography. You're bound to do it wrong. Please stop it.
583.
▲
by
jdiez17
13y ago
The point is that writing software that uses cryptography is unlike writing software that, say, uses a Twitter API library. In the latter case you can detect errors quite easily because functionality will be compromised if you make a mistak
584.
▲
by
jdiez17
13y ago
Relevant XKCD: http://xkcd.com/538/
585.
▲
by
jdiez17
13y ago
Ruby and Python can be shitty in the wild. In fact, every programming language has the ability to be shitty in the wild. It just so happens that PHP is shitty by default.
586.
▲
by
jdiez17
13y ago
No. PHP should never be used for anything, ever.
587.
▲
by
jdiez17
13y ago
It's quite scary though, at least to me. From the scribbles the teacher made, it looks like they are being taught to deal with fractions in the most mechanical way possible.
588.
▲
by
jdiez17
14y ago
You can actually do functional programming in Go. Lack of generics just means you have to think harder. In fact, a friend of mine did a Go library to write functional-style code: https://github.com/tcard/functional
589.
▲
by
jdiez17
14y ago
Well, what can I say. Adrian Chen being Adrian Chen. He raises some mildly valid concerns (people might not want to be recorded in public), but if I were to wear Glass and someone asked me to stop recording, I'd probably do it. Not that I w
590.
▲
by
jdiez17
14y ago
Hm, yeah, if a poorly written article with this "beautiful PHP" is what's needed to make it to the frontpage of "Hacker News" I think something has gone awfully wrong. Not to mention most of the code is absolutely horrible and should not be
591.
▲
by
jdiez17
14y ago
It says explicitly that you don't care about that value. If you used i, for example, you wouldn't know whether the loop depended on the iteration number.
592.
▲
by
jdiez17
14y ago
This looks pretty neat! I like it very much. It integrates a bit of electronics with some good old infrastructure design. Gotta say, I love it! Great work, man.
593.
▲
by
jdiez17
14y ago
Okay, thanks a lot. PS: Nice tip, I'm still new to Hacker News :-)
594.
▲
by
jdiez17
14y ago
@niggler Huh, interesting. We're using Ace, though, so it's not related to Google Code Prettify, but still a bug.
595.
▲
by
jdiez17
14y ago
Yep, just change the extension in the URL to .sh.
596.
▲
by
jdiez17
14y ago
What do you mean? I didn't specify "hh", that's just the paste identifier.
597.
▲
by
jdiez17
14y ago
Well, here you go: http://paste.pm/hh.py
598.
▲
by
jdiez17
14y ago
We intended to add account functionality; a pay what you want thing. More like a donation, yeah. But the frontend guy is kind of busy so we reckoned it's better to release without that rather than not releasing at all :)
599.
▲
by
jdiez17
14y ago
It does have syntax highlighting, but the detection is not very good yet. At any rate, you can always change the extension on the URL and it will try to highlight that language. Thanks for the kudos!
600.
▲
by
jdiez17
14y ago
The source code is available here: https://github.com/jdiez17/pastepm
More ›