Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
631.
▲
by
DougBTX
10y ago
> > Whatever that variable resolves to The "fifth" or perhaps "zeroth" assumption is that the versions of all the dependencies must be resolved by a single system. If the developer does half the work by e.g., defin
632.
▲
by
DougBTX
10y ago
Interestingly even if the password has infinite length, an MD5 hash has a fixed finite length. You can think of it as a glorified modulus operator, beyond some point the longer passwords will have hashes that match shorter ones.
633.
▲
by
DougBTX
10y ago
The mitigation for this is: [ ] subscript operator except when the subscript is a numeric literal or string literal or an expression that must produce a number value. So expressions like a[i] are disallowed because we cannot statically det
634.
▲
by
DougBTX
10y ago
Similar to this: https://en.wikipedia.org/wiki/Tiled_web_map
635.
▲
by
DougBTX
10y ago
> so there is mini-DisplayPort (which looks suspiciously like ThunderBolt) You're right here, Thunderbolt 1 and 2 use the mini-DisplayPort connector, now Thunderbolt 3 uses the USB-C connector.
636.
▲
by
DougBTX
10y ago
Ah, thanks, that makes much more sense. I hadn't noticed that was mock server-side code, I thought it was advocating "vanilla JS" as a client side framework, using string-bashing as a template language.
637.
▲
by
DougBTX
10y ago
The last one can also be: git push origin --delete my_branch so, rm vs -d vs --delete
638.
▲
by
DougBTX
10y ago
I agree that it is good to keep the examples simple, I liked how easy it was to toggle between the live example and the source code. If the rendering was still done on the client using `userDisplayTemplate`, I'd guess that the response
639.
▲
by
DougBTX
10y ago
> unnecessary for the vast majority of web applications There's a sliding scale of what counts as "necessary" to different developers. For example, the first entry in the intercooler.js examples is a "Click To Edit UI
640.
▲
by
DougBTX
10y ago
Reading further into the article, that chart is a setup for the "new times are smaller than the old error bars" punch line.
641.
▲
by
DougBTX
10y ago
Microsoft's Managed C++ is frankly scary, but its gc root type seems pretty close to this.
642.
▲
by
DougBTX
10y ago
The select N+1 problem is a problem because of the overhead on each select, if that was free the graph navigation and relational set operations would match. Reminds me of, "in theory, there's no difference between theory and pract
643.
▲
by
DougBTX
10y ago
This is a problem I'm having at the moment, 20s webpack builds with ts-loader, plus other build steps running in VS 2015. Seems I need to drop ts-loader, and build more directly. Are your build files available to look at somewhere?
644.
▲
by
DougBTX
10y ago
Is that definition of pure closer to mthq's definition or the one in the article? I'm not sure. It says "same argument value(s)", but how does that apply when the argument is a function? The article seems to be saying th
645.
▲
When you change the insides, nobody notices (2004)
(blogs.msdn.microsoft.com)
1 points
by
DougBTX
10y ago
|
0 comments
646.
▲
by
DougBTX
10y ago
A badly coded website could go in the other direction, eg in JS, someone writes a poor string equality check: function normalise(s) { return (s + "").toLowerCase(); } function isEqual(a, b) { return
647.
▲
by
DougBTX
10y ago
Slide 4 here has one: https://dl.dropboxusercontent.com/u/12405967/ANSsem.pdf
648.
▲
by
DougBTX
10y ago
"High level abstraction" is mathethematcs.
649.
▲
by
DougBTX
10y ago
Yes, then it would be a discussion about append performance instead of insert performance. Might be handy to do if you know that all the changes to an array will be inserts at the front, then you can just write the array in reverse and also
650.
▲
by
DougBTX
10y ago
> You have to change your eating habits to a healthier standard. Isn't that exactly what the article is saying? Where is the deception? He even takes a swipe at the "biggest loser" too
651.
▲
by
DougBTX
10y ago
A result of "the USA" may not be an error, just the best data available, not all IPs are in the US.
652.
▲
by
DougBTX
10y ago
> Patents increase the sharing of information Do you know of anyone who has had a software development problem, searched a patent database, found a solution in the database, then implemented that solution? I know that I never have, if pe
653.
▲
by
DougBTX
10y ago
I like this analogy, it extends quite well. Two more cases to consider: the landlord has a "no sharing keys" policy, and it has told the maid, "you may not enter, regardless of which keys you have".
654.
▲
by
DougBTX
10y ago
http://everything2.com/title/Never+Trust+a+Straight+Line+on+... tl;dr, straight lines on maps are drawn for the convenience of the map maker, not as a representation of culture on the ground. Africa may be better off i
655.
▲
by
DougBTX
10y ago
https://www.ietf.org/rfc/rfc1738.txt may shed some light on this. It describes the ":" as the separator, while the // is a scheme-specific prefix, like a super-powered path separator. More here: ht
656.
▲
by
DougBTX
10y ago
TypeScript picked up a few features that were ultimately removed from JS at the draft spec stage, AFAIK the xml style references were never in a JS spec, but the convention has been around a while. TS also supports import etc.
657.
▲
by
DougBTX
10y ago
My example in the first paragraph has no random variation to explain how a test of 5 people could provide the same information as a test of 10000. The second example includes bias as a lead-in to the actual problems that tests of capillary
658.
▲
by
DougBTX
10y ago
If it is known beforehand that all the participants will answer in the same way, testing 5 will produce as much information as testing 10000, so the question is whether any beforehand assertion like that applies. One reason that assertion m
659.
▲
by
DougBTX
10y ago
Try this: http://www.geologyfieldtrips.com/haywardresidential.htm
660.
▲
by
DougBTX
10y ago
That's close to the content blocker api in Safari: https://webkit.org/blog/3476/content-blockers-first-look/
More ›