Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minitech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
481.
▲
by
minitech
7y ago
Of course it has a bearing on practical work, and that it’s implementation-dependent is the whole point. These are mistaken assumptions people make in the real world.
482.
▲
by
minitech
7y ago
Proxies and Observables are unrelated. Maybe you’re thinking of Object.observe?
483.
▲
by
minitech
7y ago
> It’s not a global `print` function that’s called but `window.print`, right? Both are true. Globals are stored on `window`. > `print` is sugar for `this.print` It is not.
484.
▲
by
minitech
7y ago
Not the parent objects – the containing scopes. (Which is how scope works in most languages.)
485.
▲
by
minitech
7y ago
> There's nothing stopping you using slack for thoughtful drawn our discussions. Nothing but the UI… limited formatting, poor suitability of threads to the purpose, and so on. It’s designed around chat messages.
486.
▲
by
minitech
7y ago
Disagreeing with a fact doesn’t make a lot of sense. Maybe you meant to say “I didn’t know this was standard terminology” or “I think it’s a confusing choice of word anyway”.
487.
▲
by
minitech
7y ago
It’s not click bait. It’s standard terminology.
488.
▲
by
minitech
7y ago
It’s mostly a target for other things to compile to. (The hint is in the name.)
489.
▲
by
minitech
7y ago
Who’s HN here? What’s driving you mad? Not really clear what your point is.
490.
▲
by
minitech
7y ago
> how can you know what happens when you call it? Documentation, good API design. Real-world example of a function I call pretty often (which I’m also interested in knowing your better alternative to): const extend = (dest, from) =&g
491.
▲
by
minitech
7y ago
Hmm… not sure how that particular iterator version is an improvement. Aside: the Python inspectors = list(name for name in ','.split(line) for line in file_lines) is backwards in two ways and should be inspectors = [nam
492.
▲
by
minitech
7y ago
It’s n^2 time, not space. Each property of the object gets copied each time around, and the number of properties being copied increases each time around. It’s probably a good idea to start considering this kind of copying an antipattern. Th
493.
▲
by
minitech
7y ago
What’s a listToKeyed function?
494.
▲
by
minitech
7y ago
function splitLineReducer(acc, line) { return acc.concat(line.split(/,/g)); } const investigators = fileLines.reduce(splitLineReducer, []); That’s unnecessarily quadratic. So yes, definitely use the more readable
495.
▲
by
minitech
7y ago
How did you manage to make that a “millennial” thing
496.
▲
by
minitech
7y ago
That’s a fun fact, but what does it have to do with this?
497.
▲
by
minitech
7y ago
I would and have…. If you’re in a position to specify that images can consistently be identified by a small key, that’s nice and simple. Go for it.
498.
▲
by
minitech
7y ago
This is a certificate that expired, not some insufficiently-tested change someone deployed. Mozilla devs had their extensions disabled at the same time as everyone else.
499.
▲
by
minitech
8y ago
It’s not a remote shell protocol, though… it runs local programs.
500.
▲
by
minitech
8y ago
How can an element be already tombstoned? Isn’t that the first loop, making only one pass?
501.
▲
by
minitech
8y ago
> If you want to get rid of caching with the CSS method, you either need to switch to serverside rendering (which blocks you from using static hosts like Github pages) or have Javascript enabled so you can generate the CSS on the fly. Or
502.
▲
by
minitech
8y ago
Integrating with Facebook or using phone numbers seems archaic – not everyone on the internet has either of those. Using Snapchat usernames seems even more myopic.
503.
▲
by
minitech
8y ago
> trounced by Chrome in every conceivable way but privacy and performance, and memory use, and UI.
504.
▲
by
minitech
8y ago
It would return an equivalent value, which is the important thing. You can specify `AT TIME ZONE 'UTC'` (or whichever timezone) when consuming it to get a consistent look. On the other hand, it’s not clear from just the value what
505.
▲
by
minitech
8y ago
Isn’t that the AppVeyor logo? (edit: yes: <a href="https://github.com/intika/Librefox/"><img width="727" src="https://img.shields.io/badge/Librefox-Browser-l
506.
▲
by
minitech
8y ago
LoopBack 3 was terrible - complicated, added no value, encouraged creating vulnerabilities, had lots of obvious vulnerabilities in official components. LoopBack 4 looks pretty different, but I wouldn’t trust it to be good unless the entire
507.
▲
by
minitech
8y ago
I think CSS is probably good enough that we can live without UA sniffing for this.
508.
▲
by
minitech
8y ago
That distinction seems like a bit of a nitpick.
509.
▲
by
minitech
8y ago
> And if not, there's still enough information from a typical bad hash table (95% of hash tables are bad) to get at the seed via ordering and timing. Really? How’s that? The SipHash seed isn’t supposed to be recoverable from hashes
510.
▲
by
minitech
8y ago
Saves space, is just what people expect, easier to work fast and loose with when you want to do that.
More ›