Aug
17
awarded Popular Question
Aug
12
comment HTTP Basic auth doesn't work with http.request, only with request because of missing sendImmediately flag
libraries like github.com/aacerox/node-rest-client use http.request instead of request and say they support HTTP Basic Auth, but it seems not to work in my case which kept me thinking if i am doing something wrong.
Aug
11
asked HTTP Basic auth doesn't work with http.request, only with request because of missing sendImmediately flag
Feb
24
comment Usage and limitations of custom Eloquent query bindings with Laravel 5
thanks for the info, yes i know thats how I usually do it.
Feb
24
accepted Usage and limitations of custom Eloquent query bindings with Laravel 5
Feb
24
comment Usage and limitations of custom Eloquent query bindings with Laravel 5
so the bindings are only to be used with prepared statements?
Feb
24
asked Usage and limitations of custom Eloquent query bindings with Laravel 5
Feb
24
accepted How to chunk results from a custom query with Laravel 5
Feb
24
comment How to chunk results from a custom query with Laravel 5
it's a complex ETL query with subqueries, variables, calculations, around 60 lines of SQL. I tested it with different MySQL clients and the results takes 17 seconds and returns 250k rows.
Feb
24
comment How to chunk results from a custom query with Laravel 5
nice idea, but the problem seems to be the first line as the result is too big to process, saved or received, i was hoping the chunk function of laravel would break apart the request.
Feb
24
asked How to chunk results from a custom query with Laravel 5
Feb
23
awarded Supporter
Feb
23
awarded Scholar
Feb
23
accepted How can I add a ipfw forward rule to little snitch?
Feb
21
awarded Teacher
Jan
28
awarded Teacher
Jan
28
answered Do I need to boil the water before using my moka?
Jan
27
asked NodeJS Sequelize Datamodelling with Custom Reference field
Nov
19
comment group MongoDB collection by month and aggregate revenue for churn/revenue chart
i was hoping the graph makes it pretty visible what is needed, its hard to write down the exact data. for the graph for example you need 18 different sets, because its 18 different graphs stacked. 1 would be all orders of customers who had their first oder in the first month + all their recurring orders, their revenue grouped by month. then 2 would be everyone who had their order in the second month + all their recurring orders, their revenue grouped by month...etc in the excerpt we only have data for one graph which stars on month 1 but would even have a revenue of 32.45 in june/2014
Nov
19
comment group MongoDB collection by month and aggregate revenue for churn/revenue chart
basically its a different graph/dataset for every month since lauch. you take everyone who first ordered in month 1 (12/2010) and collect all their orders, then you sort them by month and sum the revenues. then you can see if today, there are still some of your month 1 customer adding any revenue to your monthly. the same you do for month 2,3 etc. if you stack all of them you have the above graph.
1 2 3 4 5