For a one-off you could just open it and remove the rectifiers. If you put a high enough voltage on the input then even an active PFC should not complain (it should make the average current proportional to the instantaneous input voltage while maintaining the average output voltage; i don't see a reason for failure here). It it does not have an active PFC then you should be completely safe.

Would this work? Using a computer SMPS as a DC-DC converter
int m = 0;

m += m++;

System.out.println(m);


prints to 0
but i thought m will be post incremented and finally be 1.
Would someone please explain.

Note: i know how post increment works (atleast i think i do :P). But what i am trying to figure out is that when i say m + = m++ lets assume it means m = m + m++ which will evaluate m++ after sending the value of m, 0 in this case, and evaluate to m = 0 + 0 then increment the value of m because of the post increment. now if post increment has occured, why is m not 1
