jonlachlan
jonlachlan
I suppose if I have a sorted array, I know the rank of each value, then take that as a percentage of the array length, then multiply by the number...
Hmm I'm not seeing a bisect function, is that in a new ss dist?
I have done this, I added the following meteor packages: meteor add natestrauser:x-editable-bootstrap meteor add workman:x-editable-reactive-template The first is the x-editable library. The second is a wrapper to make it...
@patrickbolle Your fork worked for me, thanks much! @ShrinathGupta you have to download the forked repo as zip, unzip the file, rename the directory to "yogiben:notifications" and move it into...
> I in fact prefer local storage because it is linked to origin exactly, while cookies are shared also for subdomains. According to [this](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) the default behavior does not include...
@filipenevola This looks to me like you're setting 3 cookies that are all session cookies (removed when browser/tab closes). Why not set 1 cookie with `expires` with the login token...
@filipenevola > The only limitation that I see in this solution is that you can't get the auth information from the cookie in the same round-trip because we can't write...
> Cookies generally have more security vulnerabilities, so they should be used more cautiously than localStorage, see the Meteor article for some detailed examples. This is completely unfounded and incorrect...
@mullojo I'll let you fall on your sword on this one.
> But for single-page apps this makes no sense. I want JavaScript to have access because this allows me to sign-in the user and sign-out the user without having to...