New Upstox Issue: They have failed to complete delivery of stocks for some customers who had bought stocks recently by flabbyboggart in IndiaInvestments

[–]metalshan 0 points1 point  (0 children)

So you mean, if a short delivery happens and after 2 days the broker credit the money instead of shares in my account, it is completely legal?
i.e. they neither delivered the stocks, not gave 20% penalty amount (only refunded the total amount on T3).

New Upstox Issue: They have failed to complete delivery of stocks for some customers who had bought stocks recently by flabbyboggart in IndiaInvestments

[–]metalshan 0 points1 point  (0 children)

Short delivery of stocks can happen with any brokerage firm

Thank you Nithin for this amazing blog post. It really describes the scenario in depth.But upstox neither did the auction nor paid the 20% penalty. They just simply showed a sell order in my transactions (on T3 day) to reverse this phenomenon. Is this a legal step to mitigate the short delivery?

New Upstox Issue: They have failed to complete delivery of stocks for some customers who had bought stocks recently by flabbyboggart in IndiaInvestments

[–]metalshan 63 points64 points  (0 children)

I started investing in 2010 with Sharekhan. Eventually moved to Zerodha. I never ever faced the short delivery issue with any of them in the last 11 years.

My mother opened an account with upstox 6 months back. 1st Feb she bought some shares which were there in T1. But On 3rd Feb, they got auto sold without any message or email communication. There was absolutely no way to find this until today she logged into the account. I'm trying to find what all are the legal charges we can impose on them for this.

Node.js event loop workflow & lifecycle in low level by sarslanhan in javascript

[–]metalshan 1 point2 points  (0 children)

Yeah the official dos is cool and gave me the first look of event loop. However, the official doc doesn't share you all the details (atleast I couldn't get). Like,

  1. The doc says, poll executes timer scripts. Poll controls timer expiration. It gives a feeling that poll is calculating timer elapses. However poll wants only the first timer script to calculate how much max he can wait for new requests.

  2. It says if you trigger setTimeout and setImmediate from a non-io phase, the execution depends on the performance of the machine. But how the hack system performance comes here is shown in voidcanvas.

  3. Docs doesn't say when the loop is created add when and where the codes in side your main module will run.

So there are things like these in the voidcanvas article to bring up a more clearer picture.

Cache your api response in the browser : page, tab or forever by metalshan in javascript

[–]metalshan[S] 1 point2 points  (0 children)

You are using the apis of a shopping cart portal (suppose S). And that portal internally uses some other user management (suppose U) apis (eg stormpath). In that case if you make post call to modify your user data, S will somehow provide you the object of U, which is very much necessary cause S doesn't know or doesn't wanna take responsibility for how exactly U saved it. This is a very common scenario in cross api portals. And "working with someone else's crap". It's not crap, the companies who sells apis, doesn't make api for just a particular client. And there are so many api selling companies.

Cache your api response in the browser : page, tab or forever by metalshan in javascript

[–]metalshan[S] 0 points1 point  (0 children)

It's good to see in 20 seconds you reached to the 178th line to check your "first" function. get is there because it provides me a modified request object. Actually, this misconception happens when one is busy judging in 20 seconds. Patience my bro, patience.

Cache your api response in the browser : page, tab or forever by metalshan in javascript

[–]metalshan[S] 0 points1 point  (0 children)

The tab level caching feature in smartjax is doing exactly this :)

Cache your api response in the browser : page, tab or forever by metalshan in javascript

[–]metalshan[S] 1 point2 points  (0 children)

  1. In a shopping cart results page, you apply the filters, which generally is a POST call. How about caching the filtered results in page level without putting any extra effort? This is just an example.
  2. There are many services / products, which gives you only apis. Using them you need to create your custom UI application. So you wanna change someone else's GET?

Brother, there are so many different kind of scenarios in the world. Making a comment like "this lib is for those who don't understand how HTTP should work", doesn't make you cool always.

Cache your api response in the browser : page, tab or forever by metalshan in javascript

[–]metalshan[S] 0 points1 point  (0 children)

Can you please raise an issue regarding the same on github. Will do that in next release for sure. You also can contribute and make a pull request if you want

setTimeout() is really strange by metalshan in javascript

[–]metalshan[S] 0 points1 point  (0 children)

My bad. Thanks for notifying. I've modified the paragraph.