Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minitech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
601.
▲
by
minitech
9y ago
> Isn't Haskell's "Int" an arbitrary-sized integer That’s "Integer". "Int" is fixed-size.
602.
▲
by
minitech
9y ago
When it runs out of space, it resizes to (at least) a multiple of its current space to avoid having to resize too often, making pushing a constant-time operation on average. 1304209 is the smallest size in the sequence starting with an empt
603.
▲
by
minitech
9y ago
That’s dangerously wrong. If you generated a password using only microseconds as a seed, an attacker who knew the day you did it could crack (an MD5 hash of) the password within a few minutes, for example.
604.
▲
by
minitech
9y ago
> 10M iterations took 8 minutes for a single hash. ~: time node -p 'crypto.pbkdf2Sync("password", "salt", 10e6, 32, "sha256").toString("hex")' 3c0873fa17659d22450cfcc4a7dd8e51e66db2
605.
▲
by
minitech
9y ago
Can you list some alternatives you’d like to see it compared to?
606.
▲
by
minitech
9y ago
> Over the years, I've come to believe that using a hanging indent for alignment is actually better in terms of readability as opposed to aligning at a column after the opening parenthesis, brace, or bracket. It's also easier t
607.
▲
by
minitech
9y ago
I break lines if it looks like they’re getting too long, where it feels right to do so. Setting a fixed number of columns causes people to align hanging lines to the right in my experience: some_example_code = LongTypeName(argument_one=
608.
▲
by
minitech
9y ago
What do your computer model and school have to do with Flash?
609.
▲
by
minitech
9y ago
> I think anyone who uses the CLI is either trying too hard or hasn't realized the beauty of a git GUI. Nah, it’s just a lot easier than you make it out to be. GUIs are fine too, but if you read the documentation and don’t just memo
610.
▲
by
minitech
9y ago
> Good ORMs help tremendously with maintainability and security. ORMs don’t help with security compared to query builders or even typed text.
611.
▲
by
minitech
9y ago
> But compare it even with a GIMP is a joke. How?
612.
▲
by
minitech
9y ago
Content-Type whitelist, CSP, and a separate domain for proxying please? I don’t feel safe using DuckDuckGo now.
613.
▲
by
minitech
9y ago
> We require an open proxy in some form to protect our users' privacy Which feature relies on this?
614.
▲
by
minitech
9y ago
Python is very much alive. Not sure where you’re getting that. Perl 6 and Python 3 aren’t really remotely comparable, either.
615.
▲
by
minitech
9y ago
Ctrl+K is already search in both Firefox and Chrome.
616.
▲
by
minitech
9y ago
In addition to the middle-click refresh and context menu entry that others have mentioned: you can hold down Ctrl and drag the new duplicate tab anywhere.
617.
▲
by
minitech
9y ago
Maybe an example will make it clearer to you what #3 means. Firefox stops supporting certain types of extensions. Firefox stops making security patches to this (eventually) removed feature. Because there are no patches, you can’t backport t
618.
▲
by
minitech
9y ago
#3 is a weird one to take issue with. Unless by “demonstrably wrong” you mean “objectively right”? You can’t backport a patch from a fork for a feature that doesn’t exist in that fork. You can make your own patch. XUL ones can come fr
619.
▲
by
minitech
9y ago
Sure – not trying would be obscenely irresponsible. But: 1. I don’t trust them to do that right 2. You’re later to get the same patches 3. You can’t backport patches for removed features
620.
▲
by
minitech
9y ago
Using forks of unsupported Firefox versions/features (this, Pale Moon, etc.) is a good way to introduce vulnerabilities into your daily browsing. Firefox ESR should be the addons stopgap of choice while they’re ported.
621.
▲
by
minitech
9y ago
> NoScript classic has a lot of functionality that helps you keep sites usable when scripts are blocked Sounds good, but have you looked at the code behind this? The XSS filter is the same way – a giant mess that only protects against th
622.
▲
by
minitech
9y ago
The shallowest feature of NoScript – content blocking – is the only useful thing it provides. The rest of it, like the XSS filter, is poorly-written misfeatures, or stuff that’s available in about:config. (To be fair, µMatrix has its own mi
623.
▲
by
minitech
9y ago
You can just close the tab regardless of whether it’s showing an alert nowadays. (I also recommend µMatrix – it’s pretty much a better version of NoScript.)
624.
▲
by
minitech
9y ago
> type safety The text changes are type safety, but there are many more miscellaneous type safety improvements (like the default comparison between types (alphabetically by type name, except NoneType!) being removed, so now you can use
625.
▲
by
minitech
9y ago
> We’re so lazy about it that our modern languages don’t even support the ability to distinguish user strings from application strings (perl’s taint mode). “User strings vs. application strings” is too coarse. You just need to enforce ty
626.
▲
by
minitech
9y ago
> They aren't going to put in the effort to work out your slightly different hashing method and make a GPU based cracker for it. If you have a “slightly different hashing method” – especially one for which a GPU-based cracker would
627.
▲
by
minitech
9y ago
Maybe I’m misinterpreting that part of the original article, then. (I read it as implying that everything is hated, but UTF-8 and TCP are the least-hated – meaning someone quoting UTF-8 from that list of good things and implying it would on
628.
▲
by
minitech
9y ago
Why would a Python programmer hate UTF-8? Python (3) is even one of the better languages when dealing with encodings.
629.
▲
by
minitech
9y ago
"Download ZIP" downloads the repository’s files as a zip. No Git involved for the downloader.
630.
▲
by
minitech
9y ago
Eh… I wouldn’t call this phenomenal. https://i.imgur.com/X8g7J1D.png The design extends about as far as “blur the background of everything”. Beyond that, the choices are not so good. The file explorer’s sidebar was nice, at
More ›