Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
idbehold
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
301.
▲
by
idbehold
10y ago
I wish there was an option on HN to hide all paywalled sites.
302.
▲
by
idbehold
10y ago
The OSI should trademark the phrase "open source". License it for anyone claiming their software is open source (as defined by OSI), and send cease and desists to anyone who is using the phase incorrectly.
303.
▲
by
idbehold
10y ago
Agreed. I've already contacted GitHub to report abuse. This license seems to directly contradict GitHub's Terms of Service. It says: > [...] you are hereby granted a non-exclusive, worldwide, royalty-free copyright license to (
304.
▲
by
idbehold
10y ago
Quite possibly the most rude comment I've read on HN.
305.
▲
by
idbehold
10y ago
Okay, I'll quote some more from the question: > […] for the sake of the challenge, let the expression be delimited (starting symbol, expression, ending symbol ex: /fancypantpattern/ or @[^2048]@), if you want to argue quot
306.
▲
by
idbehold
10y ago
> NOTE, delimiters must be included Your regex is actually /a/ which does not match the string "/a/".
307.
▲
by
idbehold
10y ago
Do you have a link to the story about the insurance policy? Sound like a fun read.
308.
▲
by
idbehold
10y ago
Inside the React component, (wherever this fetch() is being called from), where exactly are the user's cookies accessible from at this point in the code?
309.
▲
by
idbehold
10y ago
> For "arbitrary" routes, you design your application in a way that just by the pathname, query parameters, etc, you know exactly what data to get for the whole component tree. That entirely defeats the purpose of an isomorphic
310.
▲
by
idbehold
10y ago
Why would the route code need to know what data a deeply nested component needs? Making that the responsibility of the route code entirely defeats the purpose of an isomorphic/universal React application.
311.
▲
by
idbehold
10y ago
If the route requires a cookie to work how is that set when performing the fetch server-side?
312.
▲
by
idbehold
10y ago
But that means that I need to know which express routes are going to need what data. The react components should be able to declare the data they need and the server should be able to fetch that data before attempting to render server-side.
313.
▲
by
idbehold
10y ago
Okay, let's say I put the actual fetch() inside a redux "action creator" how am I fetching that data server-side? How does some arbitrary route know that a nested component needs to fetch() and then populate your store before
314.
▲
by
idbehold
10y ago
How would it decide? What does the server-side version do since it won't have access to the req or res objects at this level of the code? If the /api/user/:id route is restricted based on the cookies that get sent, how&#
315.
▲
by
idbehold
10y ago
> But yeah in practice you'd probably not want to slow down the rendering by doing an extra HTTP request so you'd probably send the data to the component in a more synchronous way. How would you do that without breaking the who
316.
▲
by
idbehold
10y ago
One thing that is never explained in these universal/isomorphic react frameworks/boilerplates is how to make a fetch() against your own server (e.g. a relative route). There's this https://zeit.co/blog/ne
317.
▲
by
idbehold
10y ago
Well you clearly have cache invalidation figured out. Any tips on naming things?
318.
▲
by
idbehold
10y ago
Why didn't they contact his "primary" account via its registered email address? They shut down two accounts but only contacted the first. The analogy would be better as I'm invited to a party and I bring my cousin. I lea
319.
▲
by
idbehold
10y ago
https://vimeo.com/36466564
320.
▲
by
idbehold
10y ago
That's still considered a viewer unless it the iOS docs were included in the application when you installed it.
321.
▲
by
idbehold
10y ago
If someone finds a way to scale nice weather to other parts of the world, I'm all ears.
322.
▲
by
idbehold
10y ago
From the article: > “Even assuming it’s a violation of the protective order...” Haag began to say, when Alsup interrupted her with an exasperated noise. > “Your firm is one of the biggest litigators in America,” said the judge. “Next
323.
▲
by
idbehold
10y ago
I can't even get permission to read from private repos without also requesting write access to the user's entire codebase on GitHub. I don't want that power.
324.
▲
by
idbehold
10y ago
I've done something similar in node to ensure URIs like those cannot walk up past a base directory: function saferesolve(base, target) { var targetPath = '.' + path.posix.normalize('/' + target) ret
325.
▲
by
idbehold
10y ago
There's an RFC for that! https://tools.ietf.org/html/rfc7807
326.
▲
by
idbehold
10y ago
I would assume that a translation service would essentially act as a key/value store for individual words entered without any other context, so how did this mistakenly happen?
327.
▲
by
idbehold
10y ago
Do any of those return true if you use double equals? The distinction only really comes up when you have to different types on either side and then It will coerce one of the types to match the other.
328.
▲
by
idbehold
10y ago
You've already finished wat, undef, random3, and random4?
329.
▲
by
idbehold
10y ago
Well, it's kind of a hint for solving some of the more "that's impossible" problems on here. I don't want to give the whole thing away.
330.
▲
by
idbehold
10y ago
Let me document all the reasons I dislike the HTML spec: it defines a willful violation of the ECMAScript standard.
More ›