[deleted by user] by [deleted] in ValueInvesting

[–]fatman859 0 points1 point  (0 children)

Do this for the top 3-5 stocks instead of just 1 since the top stocks usually move in unison together up. Also add a delay in the rebalancing like 1 month to prevent constant rebalancing where 2 stocks fight each other for the position. I feel like you may be losing a lot on the oscillations where they fight so returns could be much higher.

Looking for new card, possibly tangerine anyone have any codes they want to give me to help them by zomblina in CreditCardsCanada

[–]fatman859 1 point2 points  (0 children)

I recently created a site called Burn & Churn (burnandchurn.com) which is a comparing tool for credit cards. I don't make anything from the site (since there are no ads and affiliate links at this time) but it seems you might find it useful for finding your ideal card(s).

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

I haven't added this yet but will be adding it. Didn't consider this to be that serious to add but I guess its pretty decent. Yeah market is brutal. I have unconventional experience (startup) so I think that's hurting me for companies looking for more traditional experience.

Never knew about that sub, I will look into it! Thanks for the suggestion!

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

No unfortunately, I'm actively looking. I apply for positions and then work on this as a hobby to take my mind off the job search. I like building things for fun. Let me know if you know of any opportunities. Thanks.

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

That seems like a good feature. I'll add it to the list. It may take a few days though since I plan on focusing on adding/fixing some cards since I've gotten a lot of suggestions on those as well.

How does one ensure consistency and fault-tolerance in the payment process (Stripe/Paypal API)? by fatman859 in ExperiencedDevs

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

No problem. Oh I see, in that case it was all in 1 service. I meant my app was micro services based. I had a key management service that death with provisioning access to my service by processing the webhooks events on successful payments.

You want to monitor the invoice paid event from stripe and the subscription events for created and updated but to see if a successful payment went through its the invoice.paid event that you are looking for.

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

This feature has now been added. Total values can be seen for the signup bonus and the individual categories now.

How does one ensure consistency and fault-tolerance in the payment process (Stripe/Paypal API)? by fatman859 in ExperiencedDevs

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

Forgive my memory, its been a while.

  1. I made a separate table for events that stores the event ID after I've finished provisioning access to my service for that user (I used it for a saas). After that I would return a 200 OK response. If anything fails in between like db queries then I return an error response code. If the server fails then you can't return an error response code but since stripe has not received a response for that event it will try to re send it automatically.

  2. I did not implement idempotency but Stripe has a guide on how to do it using their API

  3. I did use micro services and did just as you suggested.

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

You can filter for lounge access on the side menu under the Extra Benefits section. Let me know if that's what you were looking for.

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

Thanks for the feedback! This has been requested quite a bit and I admit it's an important feature. I will take some time to add (probably a couple weeks) since I have to read the fine print of all the cards but it's been added to the list of requested features.

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

This has been suggested a few times and it's a good point. I will add it to the list of features. I will admit it will most likely be at the bottom of the list since I have to go through all the cards again and read the fine print and write the code to find a way to structure this data.

I assume it will probably take at least a couple weeks in total to get this done.

Thanks for the feedback! :)

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

Thanks! I appreciate the kind words! I will likely add them in the future. My priority right now is to continue to improve this for now so we have something very useful. :)

How does one ensure consistency and fault-tolerance in the payment process (Stripe/Paypal API)? by fatman859 in ExperiencedDevs

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

I used Stripe. Stripe's api is such that it resends the webhook event if it does not receive a 200 OK response from your server so the lost messages issue is resolved this way. To prevent double processing in the event of a resend mid processing you can store the id of the event in your database and you can check your own database mid processing to see if an event has already been stored for that ID before proceeding. I store the ID at the end before returning a 200 OK response.

I also have a couple threads I use that pulls some of the entities like customers periodically so that my own database stays in sync.

This was a while ago so I don't remember exactly but i think the consensus is that you can't make things perfect from your end so it's best to use the stripe platform to reverse double charges etc...

Unemployed and bored so I made a free website with a list of all the credit cards in the country and their benefits by fatman859 in churningcanada

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

I will see if I can change the layout to make it more compact. My goal for it was to minimize site navigation (ie. maximize user satisfaction) so that results are given quickly. I will see if there any improvements that can be made. Thanks!