Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minitech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
571.
▲
by
minitech
8y ago
> The basis of old internet protocols are simple, open and powerful > Email, IRC, HTML, FTP These protocols are anything but simple. “Be liberal in what you accept” was a huge mistake we’re still paying for. E-mail effectively can’t b
572.
▲
by
minitech
8y ago
> They don't mean immutable as in language form, but immutable packaging system I know. [2] and [3] have nothing to do with a package repository you can’t delete things from.
573.
▲
by
minitech
8y ago
Sounds to me like the list has one item: “the npm registry once allowed users to delete packages”. [2] and [3] have nothing to do with immutability. None of them have to do with reinventing the wheel, either, unless you wanted Node to use M
574.
▲
by
minitech
8y ago
> Very simple mistakes like immutable, never changing build releases Can you expand a bit more? Not sure what this means.
575.
▲
by
minitech
8y ago
Oh, nice. (This didn’t exist back when my team was on Bitbucket, sorry for the outdated info.)
576.
▲
by
minitech
8y ago
Probably because Bitbucket is a terrible product. It has the worst interface of the group, and less-than-minimal support for pull requests (comments disappear when unrelated changes are made, aren’t easy to browse, aren’t related to a rev
577.
▲
by
minitech
8y ago
Nobody said it was new.
578.
▲
by
minitech
8y ago
Sorry, didn’t mean to imply it couldn’t; just pointing out that it’s important to handle despite the way the parent suggests it’s a ridiculous expectation.
579.
▲
by
minitech
8y ago
> Putting spaces in pathnames is idiotic to begin with. The thing that’s idiotic is not being able to handle valid paths. Yes, all of them. Yes, including ones containing GREEK CAPITAL REVERSED DOTTED LUNATE SIGMA SYMBOL (but also apostr
580.
▲
by
minitech
8y ago
How does it solve this problem? A single SHA-256 isn’t a significant amount of work.
581.
▲
by
minitech
8y ago
> Pre-hash the input to bcrypt by passing it through SHA512. Makes bcrypt now grow in the exact same way as shacrypt. The pre-hash is only applied once, so the change in runtime is linear and very small compared to bcrypt.
582.
▲
by
minitech
9y ago
> The C++ version has two inline comments, one of which is incorrectly formatted (space or no space after indicator) It’s not unusual to use a space after // for comments and no space for code that has been commented out.
583.
▲
by
minitech
9y ago
> SPA => Nope This seems like a positive aspect for a blog? Most blogs are pretty far removed from being “applications”.
584.
▲
by
minitech
9y ago
> Wouldn't that be a bit of a privacy leak? If 0rrt works, it was a request for a static asset. Response size and timing probably already leak this.
585.
▲
by
minitech
9y ago
Weird, Firefox Quantum greatly improved all resource consumption for me. Maybe you’re running into a bug.
586.
▲
by
minitech
9y ago
> A number of innovative browsers never gained traction, because they weren’t a net improvement > and when mainstream ones try to improve UI it gets considerably worse. Examples? Firefox’s recent UI improvements are pretty great.
587.
▲
by
minitech
9y ago
Are you talking about fillings? Confusing to link to a generic article about mercury if so.
588.
▲
by
minitech
9y ago
It typically kills the browser. Sure, it gets you the same result as rebooting if you only have a browser open, but it’s much faster =)
589.
▲
by
minitech
9y ago
> Unless you lack the memory necessary to do something else This is the case. 8 GB of memory, VM takes half of it, Chrome will happily take the rest with few tabs open and lock up my computer.
590.
▲
by
minitech
9y ago
> I often end up having to hold down the power button for 5 seconds. If you enable the magic SysRq key, Alt+Print Screen+F will trigger the OOM killer. Quick enable for those who want it: kernel.sysrq = 1 in /etc/sysctl.
591.
▲
by
minitech
9y ago
I don’t use my tabs as bookmarks. I use them as tabs, to switch between and to have open, to group into windows. It works very well.
592.
▲
by
minitech
9y ago
> using the term “constant time” to refer to time complexity is far more common than using the term to refer to timing attacks susceptibility This doesn’t make it “confusing”.
593.
▲
by
minitech
9y ago
It’s extremely standard terminology and only confusing if you haven’t been exposed to the concept timing attacks. (Which is great! Now you have.)
594.
▲
by
minitech
9y ago
> With a JS miner, you pay exactly as long as you keep the tab open, which is a pretty good proxy for how much the page is personally valuable to you. I don’t think it is. People open links in new tabs for later, and “later” can be quite
595.
▲
by
minitech
9y ago
It’d be better to only include non-HTTPS entries when an HTTPS entry doesn’t also exist: $ sqlite3 places.sqlite 'select url from moz_places' | python3 -c ' import sys, urllib.parse v = [urllib.parse.urlparse(l) for l
596.
▲
by
minitech
9y ago
There’s history behind those one-liners: https://github.com/sindresorhus/array-uniq/commit/fb96562015...
597.
▲
by
minitech
9y ago
These are packages published to npm. If you’re bundling all of your dependencies into your package with webpack before publishing it, they should all go in devDependencies, since someone installing the published package doesn’t need them.
598.
▲
by
minitech
9y ago
JSON isn’t valid JS – its representation of strings allows U+2028 and U+2029 to appear unescaped, but JavaScript string literals don’t. Not sure how else executing (valid) JSON in a browser would be a recipe for disaster? `eval` was the sta
599.
▲
by
minitech
9y ago
> An example would be async/await and generators, both which are just a special cases of coroutines. If JS would have coroutines, then these two would just be coroutine libraries. async/await could be implemented with just gene
600.
▲
by
minitech
9y ago
The title is “Making GHC an order of magnitude faster with one neat trick” but the post is a draft and the part with the neat trick (or anything to do with making GHC faster) doesn’t exist yet.
More ›