Jan
11
comment How can I get the index of an array in a Meteor template each loop?
Tested and working for Meteor v1.2.1
Jan
11
revised How can I get the index of an array in a Meteor template each loop?
Expanded to show more use cases
Jan
11
comment Which gets the measurements right, JMeter or Apache ab?
Hey Tom, actually I never said the mean from ab was not correct, only that it is just that, the mathematical mean, and not a more detailed breakdown of the results such as JMeter gives. Re. your other points about who can produce the most requests per second, can I refer you to my 3rd para about the fastest kid on the block, but basically the OP is confused because he hasn't factored in the limits of his test hardware. Thanks. Oliver
Dec
28
comment Remove UTC date from Highcharts tooltip
It's not clear from the docs but you must have both useUTC=false and timezoneOffset=whatever to ensure everything shows in the chosen offset. @PaweĊ‚Fus The example for timzoneOffset in the docs doesn't include the useUTC property, which is confusing, just a heads up.
Dec
16
comment Highstock / Highcharts dataGrouping points outside of viewport / canvas
Using smoothed: true fixes the problem described by the OP for me. @kacper-madej Thanks for this but can I ask: do you know why this option isn't true by default?
Dec
6
comment Mongodb: $gt and $lt in Javascript (Meteor) isn't working
Checking some more, I proved out that Meteor definately handles the $gt operator. You might want to cut and paste something similar to the following to your console and see what you get: var since = 9999999999999999; MyCollection.find({modified: {$gt: since}}).forEach(function(item){console.log(item)}) var since = 123; MyCollection.find({modified: {$gt: since}}).forEach(function(item){console.log(item)}) {_id: "g6XeiRnrxdKNnySds"...} {_id: "qGSxtXTn5yjkdnEQx"...} Then you can add change it to try and find the point where it stops working.
Dec
6
comment Mongodb: $gt and $lt in Javascript (Meteor) isn't working
Working Meteor query: { '_id': someVariable, deleted: false, modified: { $gte: since || 0 }, };
Dec
6
comment Mongodb: $gt and $lt in Javascript (Meteor) isn't working
I have queries that use $gte on the server with passed in variables that work in Meteor v1.2.1 so I doubt this is a Meteor specific issue. I'd be surprised if there was a difference between $gt and $gte.
Dec
6
comment Mongodb: $gt and $lt in Javascript (Meteor) isn't working
Could it be that startSegment is not a number? Have you tried parseInt(startSegment, 10)?
Nov
16
awarded Nice Answer
Nov
13
awarded Autobiographer
Nov
13
awarded Autobiographer
Nov
12
awarded Announcer
Sep
10
reviewed Approve suggested edit on MongoDB filter with date is not returning any result with C#
Aug
31
awarded Enlightened
Aug
30
answered When to create a template?
Aug
18
answered distributed load testing on aws with jmeter
Aug
6
revised Correct usage of the onEnrollmentLink() function?
Clarified problem
Aug
6
comment Correct usage of the onEnrollmentLink() function?
That would log out the current user, sure, but the problem here is the flow gets suspended so the new user is not being logged in. I'll update the question to make this clearer.
Aug
1
comment Correct usage of the onEnrollmentLink() function?
Yes. This is actually how enrolment works normally and I simply want the normal enrolment flow to continue but when I use this function the flow is stalled and I cannot restart it.
1 2 3 4 5