Payment solutions for Magento 1.X


I am very new to this community, so let me know if I this is not the right place to ask this question.

In my case, we have 2 running websites operate in Europe (accepting C.C.; MC and VISA in EURO currency). Currently, the complete payment solutions is provided by Chase in U.S. but no longer supported soon.

For this reason, we need to replace the existing payment solutions with another (whether a platform plugin, highly customizations method programmed with API, a hosted page,…

Payment solutions for Magento 1.X

What are the best solutions for key value caching in WordPress?

I am using an API, but we’re using it too much, so I am looking for a caching method so we don’t have to request the API over and over again when we tend to return the same value 50% of the time.


I looked at the transients API and it’s good except it’s not, because it uses the database, and making too many database calls can slow down the website. I am making a call for every GET request, so making a db call to every GET request will not be good for performance, so I need a true caching library or API to use that’s easy to install and configure unless there’s one that’s natively supported.

How to plot the solutions of $f(z,a)=0$ on the complex plain of $z$?

I have an equation $ f(z,a)=0$ where $ z$ is a complex variable $ \frac {56}{10}<z<2\pi$ and $ a$ is a real variable $ 0<a<\pi$ .

I want to plot solutions of this equation on the complex plain $ z$ as $ a$ increases from $ 0$ to $ \pi$ , and show the behavior of $ z$ by changing the color of the curve (as $ a$ increases, the curve changes from blue to red), something like this plot

enter image description here

f[z_,a_]:=9 + 4 Cos[a - (273 z)/50] - 4 Cos[a - 2 z] - 2 Cos[2 z] -   3 Cos[(173 z)/50] + Cos[4 z] - 2 Cos[(273 z)/50] -   3 Cos[(373 z)/50] - 4 Cos[a + 2 z] + 4 Cos[a + (273 z)/50] -   4 I Sin[a - (273 z)/50] + 4 I Sin[a - 2 z] - 2 I Sin[2 z] -   3 I Sin[(173 z)/50] + I Sin[4 z] - 2 I Sin[(273 z)/50] -   3 I Sin[(373 z)/50] - 4 I Sin[a + 2 z] + 4 I Sin[a + (273 z)/50];   f[z,a]==0  56/10 <z<\[Pi] 0<a<\[Pi]  

Wich solutions is better for translate some data?

I’ve a little mobile app who need some translation. Currently, I just want to translate my app in one language, I don’t think I’ll need more. So I’m facing a problem, should I translate stuff in database, or in translations files on client side ?

The user will be able to select his language, but first i need to determine it with the locale variable for the registration (because he must select his country at registration).

First I tought about creating one translation table for each table who need it.

enter image description here

But it seems to not be the good solution if I need to add more language, I’ll have to alter all translations tables.

So, my second solution is to create a language table, keep the translation table for each table but as one-to-many relationship.

enter image description here

I think this solution is better, but I’m not sure about performance. I know it’s a little app and the question does not really arise, but we never know.

Now, I’m stuck because It means that every time I need translation, I have to query the database. There are tons of contries, and I’ll like to have auto completion. Fruits will be displayed in several pages and used in others tables.

So I thought about keep translations on client side within json files. For exemple translations/fr_FR.json

"fruits": [   {     "id": 1,     "original": "banana",     "translation": "banane"   },   {     "id": 2,     "original": "apple",     "translation": "pomme"   } ],   "countries": [   {     "id": "ES",     "original": "spain",     "translation": "espagne"   } ] 

Everytime I need translation, I can use a function to get the translation from the file.

It means more calculations, and user will have to update his app if translation has changed.

Wich solution is better ?

[ GSA SER Emails Mega Thread ] – GSA SER catchall Emails / Service Providers / Solutions

I made to create this thread for everyone.   Since we use GSA SER we need quality emails.  I know there are many catchall Email providers /  Major Email providers such as Yahoo , Google etc which is kinda expenses but best.
What kind of catchall services you guys use ?
What kind of solutions ?
How to create catchalls if you do your own ( If then what hosting / providers allows that )
Any tutorials etc ?
So far i use mixed emails.
I purchase catchalls from market places (where i am not soo happy and many catchall sellers domains are black list)
I purchase gmail / Hotmail / some private providers i found
Feel free to share yours and feel free to ask anything from mine..
LETS TALK ABOUT GSA Search engine ranker and Emails…
It’s all about emails..
 Let’s make this thread a GSA SER Email solution mega thread .
Note for admins : @Sven @S4nt0s&nbsp;  : I just wanted to create this thread to share knowledge . If mega threads or these kind of threads not allowed in this community please remove this. – Cheap Hosting Solutions- Dedicated server Starting $80 /M. always believes that web hosting should be fast, reliable, simple and affordable. We have started this web hosting venture to support the ever-growing online business and meet the expectations of business users at an affordable price. We are competent to offer hosting services to all sectors and businesses of all sizes.

Our Strength:
*Stable and profitable hosting company
*We have been serving our client’s worldwide for +4 years
*Quality Assurance
*99 % Uptime Guarantee
*24/7 Live Support
*7 Days Money Back Guarantee

Our Package:

*Dedi Startup:$80 /Monthly
– E3-1240 ( 2 Cores x 3.3 )
– HDD Storage
– 8 GB RAM
– 2x HDD SATAII 2TB 7.20 Storage
– 4 Free IP Address
– 1Gbps uplink 10 TB traffic included

*Dedi Pro:$85 /Monthly
– X5650 ( 2 Cores x 2.66 )
– SSD Storage
– 8 GB RAM
– 2x 240GB SSD Storage
– 4 Free IP Address
– 1Gbps uplink 10 TB traffic included

*Dedi Premium:$95 /Monthly
– E3-1240 ( 2 Cores x 3.3 )
– HDD Storage
– 16 GB RAM
– 2x HDD SATAII 2TB 7.20 Storage
– 4 Free IP Address
– 1Gbps uplink 10 TB traffic included

*Dedi Elite:$110 /Monthly
– Intel Xeon 56xx (4 Cores)
– HDD Storage
– 16 GB RAM
– 2x HDD SATAII 3TB 7.20 Storage
– 4 Free IP Address
– 1Gbps uplink 10 TB traffic included

For more dedicated server plans, please visit our website:
Should you have any questions, email us:

Real solutions of third and fourth degree equations

A few hours ago I "discovered" that if a third or fourth degree equation has distinct real solutions, it’s possible to calculate them avoiding complex numbers.

In particular, we have:

poly = (x - 1)(x - 2)(x - 3); {c, b, a} = CoefficientList[poly, x][[1 ;; 3]]; d = a^2/3 - b; e = 2 a^3/27 - a b/3 + c; f = ArcCos[-3 Sqrt[3] e/(2 d Sqrt[d])]; N[{-a/3 + 2 Sqrt[3 d] Cos[(f - 4 Pi)/3]/3,    -a/3 + 2 Sqrt[3 d] Cos[(f - 2 Pi)/3]/3,    -a/3 + 2 Sqrt[3 d] Cos[(f - 0 Pi)/3]/3}] 

{1., 2., 3.}

poly = (x - 1)(x - 2)(x - 3)(x - 4); {d, c, b, a} = CoefficientList[poly, x][[1 ;; 4]]; e = 3 a^2/4 - 2 b; f = 2 c - a b + a^3/4; g = b^2 + 12 d - 3 a c; h = 27 a^2 d - 9 a b c + 2 b^3 - 72 b d + 27 c^2; i = ArcCos[h/(2 g Sqrt[g])]; j = (e + 2 Sqrt[g] Cos[i/3])/3; N[{-a/4 - (Sqrt[j] + Sqrt[e - j + f/Sqrt[j]])/2,    -a/4 - (Sqrt[j] - Sqrt[e - j + f/Sqrt[j]])/2,    -a/4 + (Sqrt[j] - Sqrt[e - j - f/Sqrt[j]])/2,    -a/4 + (Sqrt[j] + Sqrt[e - j - f/Sqrt[j]])/2}] 

{1., 2., 3., 4.}

After a few moments of joy, however, I noticed that, for example, if I write (x - 10^-15) instead of (x - 1), I get respectively 6.66134*10^-16 and 8.88178*10^-16 instead of 10^-15 as the solution.

I intuitively believe that it’s a numerical problem and that the main cause is ArcCos, but I’m not too sure and also I’m not able to establish if something can be done to solve the issue, or if I have to give up and I must necessarily rely on it to the good Newton method.

Thank you!

Interpreting the accuracy of solutions to the correspondence problem

I have two pictures of the same object, taken by a car travelling down the road like shown on the right side of the image below. I want to find pixels of the object in each frame that correspond to each other.

Now, in the description of the Middlebury Stereo Evaluation v.3 dataset it says

Maximum disparities range from 200 to 800 pixels at full resolution.

This leads me to my two questions:

  1. Do I understand correctly that algorithms working with the Middlebury dataset had to match pixels that were a distance of 200 to 800 pixels apart, like shown on the left side of the image?
  2. Consider the leaderboard for the Middlebury Stereo Evaluation. Does an average absolute error metric of 1.4 mean, that above problem could be solved for the images in the dataset with an average accuracy of 1.4 pixels?

Correspondence Problem Setup

CLRS 22.3-1, How Come Solutions Online State There Can’t Be Edges From WHITE to GRAY nodes “at any point… during search”?

The exercise (from the book Introduction To Algorithms) states

Make a 3-by-3 chart with row and column labels WHITE, GRAY,and BLACK. In each cell (i, j) indicate whether, at any point during a depth-first search of a di- rected graph, there can be an edge from a vertex of color i to a vertex of color j . For each possible edge, indicate what edge types it can be. Make a second such chart for depth-first search of an undirected graph.

The colors WHITE, GRAY, BLACK correspond to Undiscovered, discovered but not finished, and finished. The following solution is what multiple sites & universities have posted(such as: walkccc, Rutgers University):

 |       | WHITE         | GRAY                | BLACK                | |-------|---------------|---------------------|----------------------| | WHITE | All kinds     | Cross, Back         | Cross                | | GRAY  | Tree, Forward | Tree, Forward, Back | Tree, Forward, Cross | | BLACK | -             | Back                | All kinds            | 

I will draw a minimal counter example as it helps understand my conflict:


  • Start at node 0: 0 is GRAY
  • At this point, 3 is still white and has an edge to 0
  • Resume and keep going, eventually the edge from 3 to 0 will be discovered as a tree edge

This contradicts the solutions saying you can only have Cross/Back edges going form WHITE->GRAY. This example can be easily modified to contradict many of the elements in the table. I think the solutions are doing one of the following:

  • Assuming that the graph is a tree and that we start at its root. (Wrong as DFS doesn’t need a tree graph and any node can be started from).
  • More likely (Just thought of this), interpreting the question of "can there be an edge" as "can there be an edge that we have discovered". In which case, the solutions work, as although the edge from 3->0 was a WHITE->GRAY edge at one point, we hadn’t discovered it yet.