Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minitech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
721.
▲
by
minitech
10y ago
I mean, what do you want me to say? It is way too complicated. Why are you using a pre-shuffled character set and getting a permutation of it by index when the index is always extremely low compared to the number of permutations just to g
722.
▲
by
minitech
10y ago
I think you’d probably get used to it after using it a couple of times/being familiar with what the types represent. Text is a sequence of characters, but you can encode it into a sequence of bytes when necessary. Give it a try! Also,
723.
▲
by
minitech
10y ago
`encode` converts text to an encoded form. `decode` converts an encoded form to text. This was confusing in Python 2 because you could encode bytes into… more bytes. What? Python 3 only lets you encode text and decode bytes, as it should,
724.
▲
by
minitech
10y ago
So it’s way too complicated for that purpose, then.
725.
▲
by
minitech
10y ago
If I were out of country and my laptop got stolen, for example, I’d lose it. Sure, you can use a separate password for your Dropbox/email/etc. that you remember, but that’s pretty much the same thing as generating based off a mast
726.
▲
by
minitech
10y ago
This change seems kind of worrying: https://github.com/libeclipse/visionary/pull/40/files#r79336... The distribution of characters in “complex passwords” isn’t even?
727.
▲
by
minitech
10y ago
> If an attacker is specifically targeting me and thinking about my passwords, there's not much I can do at that point. You could use a password manager…
728.
▲
by
minitech
10y ago
Use a master password that’s impossible to brute-force, then. (128 bits.)
729.
▲
by
minitech
10y ago
I use a deterministic password generator so all I have to remember is my master password and default password scheme to get access to all my critical accounts (critical ones generally don’t have silly password requirements). If I were using
730.
▲
by
minitech
10y ago
If your comparison is sufficiently expensive, the frame count is an accurate representation.
731.
▲
by
minitech
10y ago
That’s not what “invisible” means in this context. A better name might be ”unnoticed”. It’s interface sufficiently natural as not to add to the things you have to think about.
732.
▲
by
minitech
10y ago
A small portion. (It’s listed in the mitigations.) Use HTTPS anyway, though.
733.
▲
by
minitech
10y ago
> You download YT videos before watching them? Seriously? I do this because the YouTube website (when the player is present) is too slow for my device. It adds about 5 seconds, nothing terrible.
734.
▲
by
minitech
10y ago
> > It gives the candidate a real life sense of how you interact with people on the team. > Where is this coming from ? This is just another assumption the author is making. It’s coming from the fact that you’re giving someone a pr
735.
▲
by
minitech
10y ago
It may not wear out your drive, but it will waste power and take up CPU time and I/O bandwidth unnecessarily!
736.
▲
by
minitech
10y ago
Anything to back this up? Why is SHA-256 stupid? I’d use truncated SHA-512 for speed on large inputs, maybe, but the extra 256 bits don’t usually add much in terms of security…
737.
▲
by
minitech
10y ago
If you use one password for all sites: * if password hashes from any site you use leak and they’re weak, you’re compromised everywhere * if any site is or becomes malicious and its operators/hackers read your password, you’re compromis
738.
▲
by
minitech
10y ago
Suggestion: remove hover effects on the outer theme boxes. They’re not interactive, and large background colour changes are distracting.
739.
▲
by
minitech
10y ago
Yes, I am replying to that point. It’s incorrect, or at least misleading. Containers are meant to store any data that they have to externally; volumes are a facility to do this. Storing your data in an ephemeral container would absolutely b
740.
▲
by
minitech
10y ago
The section on not running databases with Docker isn’t really fair. Of course you wouldn’t use something that crashed all the time to run your database server, but Docker’s not designed to crash . It has volumes and you can do regular cras
741.
▲
by
minitech
10y ago
Doesn’t seem to be – https://github.com/hashedin/jinjasql/blob/master/setup.py#L5... – so I don’t know why the README implies that.
742.
▲
by
minitech
10y ago
What about using them? Doesn’t look like this will stop you, if that’s what you mean.
743.
▲
by
minitech
10y ago
> and in most promise libraries .then and .catch DID use try-catch under the hood To catch thrown errors, not to implement the behaviour of transforming rejected promises.
744.
▲
by
minitech
10y ago
It results in a rejected promise. (The other behaviour would be a bit inconsistent/annoying.)
745.
▲
by
minitech
10y ago
> [1] please don't tell me that I just don't "get" asynchronous programming. I was writing js event handlers when you were in diapers (something something lawn something). This sounds pretentious and detracts from an
746.
▲
by
minitech
10y ago
This seems inaccurate. For example, Box Alignment lists Firefox as having no support at all when it actually has full support as far as I’m aware. Edit: the detailed information page disagrees with the summary (indeed listing full support)
747.
▲
by
minitech
10y ago
https://xkcd.com/1200/ (Privilege separation is great, but running things as your main account is approximately equal to running them as root.)
748.
▲
by
minitech
10y ago
The original PAM RFC defines PAM as Pluggable Authentication Modules (plural – it’s the name of the framework and not one of its components), so it’s fine and more natural to say “PAM module”.
749.
▲
by
minitech
10y ago
> Maybe because after decades I'm frankly pissed of all the infinite glitches in windows and Linux and I want something that just works? I actually ended up switching from OS X to Linux (on a MacBook) for this reason. Things break a
750.
▲
by
minitech
10y ago
It isn’t. It’s the equivalent of the Windows and Mac versions.
More ›