Difference between revisions of "Bit.bnot"

From ComputerCraft Wiki
Jump to: navigation, search
(Love Calculator)
(Undo revision 1868 by 91.121.27.33 (talk))
Line 1: Line 1:
Personal, Will be It A Way Out
+
{{lowercase}}
+
{{Function
+
|name=bit.bnot
+
|args=[[int (type)|int]] n
Negotiations with creditors have failed. Repossession is actually imminent and foreclosure proceedings have begun. Your income will be not sufficient to pay your bills, regardless of how low the payments are. It could always be time to consider personal.  
+
|api=bit
+
|returns=[[int]] the value of NOT <var>n</var>
Personal bankruptcy law advanced when a reaction to the abuses surrounding debtors prison. Before the nineteenth century a prison system existed for those types of who didn'big t pay their bills. In case a merchant filed a claim, the debtor was actually incarcerated till his bad debts were paid. (Women were not within debtor'utes prison, not because of chivalry but because they will did riot have the ability to be lent). The lender was lawfully dependable for the expenses from the prison stay, including regular food, but seldom paid. In any case, a debtor would have to sue in order to enforce this kind of law, and it ended up being somewhat difficult to sue when in prison. While a result, many credit seekers languished in prison for many years, surviving on what their family could deliver to them or, in many cases, basically starving to death. Even though some lenders would doubtless not object to the renewal of debtor'ersus prison, fortunately we reside in much more enlightened times. Personal was actually created to provide a second opportunity (or third, or 4th) to individuals hopelessly in debt It provides a procedure to wipe the slate clean and begin anew. As times have modified, though, so has the becoming a bankrupt signal. Not a lot of bad debts can be wiped out. The proceedings might be quite easily disqualified in the event of improper methods. There are many things a debtor should realize before resorting to bankruptcy.
+
|addon=ComputerCraft
+
|desc=Computes the bitwise NOT of a number, taken in the domain and range of 32-bit unsigned integers
The Personal Choice
+
|examples=
+
{{Example
There are two varieties of individual bankruptcy: Chapter 7 and Chapter 13. Chapter 7 becoming a bankrupt, named for the chapter number in the bankruptcy signal, requires an entire liquidation of just about all debts and cancels a lot of no-exempt debts. Chapter 13 personal will be essentially a court-mandated payment program that sets way up affordable monthly payments to your creditors,  
+
|desc=NOT the number 18 (10010), yielding 4294967277 (11111111111111111111111111101101, 32 bits in length)
+
|code=print(bit.bnot(18))
The decision to declare bankruptcy is not a fairly easy a single. Sadly, many individual bankruptcy attorneys recommend personal bankruptcy to just about everyone they will check with with. A lot of also often frightened many people are advised to declare personal just to prevent a few bad debts. This is a mistake. Becoming a bankrupt should truly be described as a last location as the legal system meant it to end up being. A becoming a bankrupt appears on your credit score for five decades, and despite the fact that lending criteria are continually changing, many lenders will never even consider a great applicant who has had a a bankruptcy proceeding. What'utes a lot more, a Chapter 7 personal can hit you up for every one of your property. Before coming up with a choice to declare individual bankruptcy, estimate just how negative your situation really is. On a piece of papers, make a listing of all your assets and the approximate value that they could be sold for. On the other side, add together all your financial obligations. If the financial obligations exceed the assets by a large per cent, you may wish to consider bankruptcy. On the other palm, if it seems the fact that situation may improve (you may get a brand-new job or a second income), or if your assets are of greater value or close in value to your financial obligations, a different approach may always be appropriate.
+
|output=4294967277
+
}}
Negotiate with your creditors
+
}}
+
 
Explain your situation and inquire for much more time to pay. If the creditors refuse and continue to threaten garnishment notify them this sort of activity would force you into individual bankruptcy. No creditor desires to hear the "B" word. Using bankruptcy since a danger will be a very powerful negotiating instrument, confronting creditors with a choice between getting a little every single month or most likely obtaining nothing through bankruptcy. Don'testosterone try this unique tactic on guaranteed creditors. That they may opt to repossess your property to keep having to proceed through court.
+
== Explanation ==
+
All bit operations operate in binary numeral system [http://en.wikipedia.org/wiki/Binary_numeral_system]. A NOT operation yields a 1 if its input is 0 and a 0 if its input is 1. This function produces an output by computing the NOT of each bit of its input independently. So, for the example above:
Contact Public Credit Counseling
+
 
+
{| class="wikitable"
Because mentioned earlier in the book, User Credit Counseling will be a non-profit group funded by creditors to help viewers work out repayment plans. It is truly often able to work out payment arrangements better than the individual because of their constant contact with a variety of creditors. If you can'big t work a satisfactory arrangement, give these people a try. Remember, the actuality you are using credit score counseling may appear on your credit record.
+
|-
+
! Bit index:
Consider Chapter 13 a bankruptcy proceeding
+
| 31
+
| 30
This specific kind of filing means repay your financial obligations in a court-mandated fashion and will appear on your credit rating record for only seven a long time, If negotiations fail or there just isn'capital t sufficient money to make ends meet Chapter 7 personal bankruptcy may end up being your only option. Individual bankruptcy will not necessarily discharge most bad debts. If your bad debts are exempt through becoming a bankrupt, filing will do almost no to improve your situation. If a co-signer was actually used, the debt would then always be owed of the co-signer, unless that particular person in addition declared becoming a bankrupt. In community property states a husband or wife'utes assets and bad debts would furthermore be included in the individual bankruptcy, if they are community property. Consider every single one very carefully before deciding to file.
+
| 29
+
| 28
Non-Dischargable Financial obligations - Bills You Have To Pay In Spite Of A bankruptcy proceeding
+
| 27
+
| 26
Particular types of debt will not be automatically gotten rid of by personal filing. These people must meet particular requirements before being taken out by personal. If almost all of your debts are non-dischargeable, individual bankruptcy may not remedy your economic dilemma. The only ways a non-dischargeable debt might be taken away through personal are through a helpful exception being given from the court, a selected period of your energy transpiring since the debt had been due, or because the creditor really doesn't object to the discharging in the debt. Particular financial obligations can only become discharged by a helpful exception. These are:
+
| 25
+
| 24
Recent Student loans
+
| 23
+
| 22
It does apply to university student loans that became due within the last five quite a few years. Any extension of repayment would be added to this unique time frame. Some courts, furthermore, is only going to discharge payments that tend to be than five quite a few years delinquent. So if the university student loan was due seven quite a few years ago and the payments were originally to end up being made over a five-year period, you would still be liable for the last three a long time of payments. The court may additionally grant a good exception to your student loan if it would produce a great "undue hardship" for people to pay it. This is rarely given.
+
| 21
+
| 20
Taxes
+
| 19
+
| 18
Federal, express, and near by taxes are not dischargeable for at least three years after you report your duty go back. Even if you've been tied upward in duty court for a lot more than three numerous years, any tax assessed within 240 times of filing for becoming a bankrupt is non-dischargeable. Property taxes are dischargeable if they are over a single year late, but the lien in opposition to your property is not. The camp good is actually that you simply can count on the federal government acquiring their own tax money eventually.
+
| 17
+
| 16
Child Assistance and alimony
+
| 15
+
| 14
These can only always be discharged in special circumstances, which generally include agreements that have not been court-ordered. If one particular girlfriend offers decided to assume greater than half of marital financial obligations in exchange for lower assistance payments, the court may not discharge all debts held with the soon-to-be ex for a bankruptcy proceeding. Look for advice a very legal professional if this particular situation relates.
+
| 13
+
| 12
Fines
+
| 11
+
| 10
Neither fines coming from a court, judge, or federal government agency nor surcharges, penalties, and restitution, when a standard rule, can be discharged in a bankruptcy. The same is truly true of financial obligations incurred because a result of damage or liability through driving while intoxicated. The debt incurred coming from intoxicated driving has to be established in court along with a judgment should be issued by a higher court. Simple-boasts, targeted traffic, and municipal judgments for intoxicated driving are a lot of dischargeable. Once more, talk to the attorney.
+
| 9
+
| 8
Financial obligations not discharged in a previous personal bankruptcy
+
| 7
+
| 6
If bad debts through a previous individual bankruptcy have been found non-dischargeable, they will may not be discharged in a later personal.
+
| 5
+
| 4
Bad debts not detailed on your personal petition
+
| 3
+
| 2
If you may not include a debt on your petition, it won't become discharged. Many people filing a bankruptcy proceeding carry on a single or much more credit rating lines with smaller balances or no balance out of the becoming a bankrupt proceeding to preserve element of their credit score resources. Another technique would be to reaffirm bad debts on the condition that credit remains to become offered. The creditor, confronted with a choice between collecting nothing and maintaining your credit, will occasionally find the latter. Always be very mindful when reaffirming debt. You're not obligated to and also you must have a brand new written arrangement spelling out most of the new conditions.
+
| 1
+
| 0
Other sorts of non-dischargeable financial obligations may be discharged immediately if the creditor won't object If the creditor objects, these debts will likely be judged of the court to end up being either dischargeable or non-dischargeable. The creditor can inquire that the financial obligations not end up being discharged if they claim the following conditions existed:  
+
|-
+
! Input (18):
The debt was actually acquired by Intentionally fraudulent behavior
+
| 0
+
| 0
Fraud in this case is any dishonest act used to obtain credit. Declaring to always be somebody you are not, or borrowing money when you have no means or intention of repaying it, would become clear-cut samples of fraud. Not disclosing specific relevant facts could in addition be construed when fraud. If you make a promise and intend to retain it and believe you will end up able to remain it, that is truly not fraud. Creditors tend to end up being paranoid and believe everyone is actually defrauding them, so this specific excuse for non-discharge is actually often employed by creditor'ersus attorneys.
+
| 0
+
| 0
Bad debts Incurred because a Result of False Written Statements
+
| 0
+
| 0
A blatantly false credit request would qualify. The inaccurate statement should be a very important fact then one that the creditor relied on in order for the debt to end up being judged non-dischargeable. A misspelled name or minor error would not render a debt non-dischargeable. Drastically overstating income or misrepresent a job title would be considered fraudulent.
+
| 0
+
| 0
Fraudulent usage
+
| 0
+
| 0
If you charge "luxurious goods or services" in a good amount over $500 within 40 days and nights before filing personal bankruptcy, the debt will be probably to be deemed non-dischargeable. The same is actually accurate if funds advances are obtained fewer than twenty times before boasting a bankruptcy proceeding. A lots of tiny charges, made to avoid pre-clearance, would in addition be considered fraudulent had you been over your credit score reduce or obviously unable to pay.
+
| 0
+
| 0
Bad debts resulting from against the law or malicious acts, embezzlement, larceny, or breach of fiduciary Duty
+
| 0
+
| 0
Any money owed because of outlawed assists these kinds of as embezzlement (getting property left within your safekeeping), larceny (theft), or the failure to fulfill your duties while a trustee may be non-dischargeable. The court will typically de a classification of fiduciary duty.
+
| 0
+
| 0
Once you've examined your debts and determined what is dischargeable and what is actually not, you can define whether personal bankruptcy would enhance your current monetary situation. There are several other things you need to know before you decide no matter whether to document.
+
| 0
+
| 0
Exempt Assets
+
| 0
+
| 0
A standard misconception about individual bankruptcy is actually for you to simply lose everything you individual to satisfy your debts. In fact, the court lets you to retain many things necessary to your well being, and perhaps even a little bit a lot more. Though there is a federal exemption law, only in states and the District of Columbia allow you to definitely work with it These states let you pick out between the state and federal exemption protocols. The in states are:
+
| 0
+
| 0
Connecticut
+
| 0
+
| 0
Hawaii
+
| 0
+
| 0
Massachusetts
+
| 0
+
| 1
Michigan
+
| 0
+
| 0
Minnesota
+
| 1
+
| 0
Brand new Jersey
+
|-
+
! Output (4294967277):
Brand new Mexico
+
| 1
+
| 1
Pennsylvania
+
| 1
+
| 1
Rhode Island
+
| 1
+
| 1
Texas
+
| 1
+
| 1
Washington
+
| 1
+
| 1
Wisconsin
+
| 1
+
| 1
Vermont
+
| 1
+
| 1
The other states require a person filing bankruptcy to use state exemptions.
+
| 1
+
| 1
Here are several illustrations of things that might be exempt, depending on condition by which the petition is truly filed.
+
| 1
+
| 1
· Personal consequences
+
| 1
+
| 1
· Furniture
+
| 1
+
| 1
· Cars (to a max of a selected amount of equity)
+
| 1
+
| 1
· Tools of the trade
+
| 1
+
| 1
· Equity m a residence (sometimes the entire residence)
+
| 1
+
| 0
· Stockings
+
| 1
+
| 1
· Household goods
+
| 0
+
| 1
· Books
+
|}
+
· Jewelry
+
+
1 very interesting exemption will be the homestead exemption. When Sara Connally, the former governor of Texas, announced becoming a bankrupt a couple of years ago, many people were surprised that he was actually allowed to carry on his huge mansion, valued at several million dollars. Texas seems to have a homestead exemption that allows everyone petitioning personal to preserve around 1 acre in a good urban area or 100 acres in a rural area, irrespective of value. The ex-governor may have had a very good legal professional, but many other states even offer homestead exemptions.
+
+
One individual bankruptcy strategy should be to sell non-exempt property before personal and convert it into exempt property. For example, a Texas resident might sell non-exempt assets and use the proceeds to pay off the house mortgage on her homesteaded property. You would almost certainly want to seek advice from an attorney before attempting this unique kind of transfer of assets, nonetheless, since the court could very quite easily view this sort of measure staying an abuse with the individual bankruptcy laws.
+
+
Even if the selected amount of equity is exempt, your creditors can often sell the investment to repair any excess equity you may have. If you individual a vehicle worth $12,000, for instance, and also you also only owe $5,000 on it and your state exemption will be $1,200, the creditor can sell the car and give you $1,200. Some states allow 'Wildcard" exemptions that may be used to hide the difference.
+
+
Knowing which financial obligations are dischargeable and what the law allows a petitioner to preserve, a rational decision can be made if to document for personal bankruptcy. If you do choose to file, there are several ways of going about it-in addition to several pitfalls to prevent.
+
+
Using Measure
+
+
When you've decided to take actions you can begin the filing process. If creditors are knocking on the front door and repossession, foreclosure, or garnishment is actually just surrounding the comer, it might always be wise to consider using an crisis filing to obtain the automatic stay. A great automatic stay stops creditors through using any further measure right up until the case should go before a a bankruptcy proceeding judge. Unlike a bankruptcy filing, which will is made up of several pages of information the crisis filing will be only one particular page longer and contains a listing of your creditors. Most of the petition must be filed within fourteen days or the case is actually dropped. The court will send notices from the pending personal to the creditors detailed, who must cease almost all further assortment motion. When they perform not cease, send them copies with the automatic stay and request that all further selection measure cease. A creditor can make sure you ask that the automatic stay become lifted, allowing your pet to continue selection activity. Only a landlord attempting to evict you from a rented dwelling will normally prevail, unless there is truly a prolonged-term lease involved. If you are renting on a long-term lease, which could become considered a great good point, the landlord may have to wait for a formal @g in order to evict YOU.
+
+
Once the wolves are at bay, another choice will should be made: no matter if to hire a personal law firm. Attorneys, like we all realize, are expensive. In the case of your complicated bankruptcy, however, they can be invaluable. If you have a significant bit of property or valuables, if you are trying to move money from non-exempt to exempt assets, if your creditors try to make your debts non-dischargeable because of fraud, or if there are every other complications, you may wish to retain the services of a good experienced individual bankruptcy law firm. Look all-around. Don't become anxious to make a deal. Inquire a lots of concerns and chat with several attorneys before you're making your decision.
+
+
If you have a very simple a bankruptcy proceeding or can'n pay for a very lawyer, invest $15 in a good carry out-it-yourself personal bankruptcy book. It will provide in-depth info not covered in this unique chapter. Typing services am additionally available to type upwards individual bankruptcy forms. They are competitively priced and, in the case of your very simple a bankruptcy proceeding, can take the place of a good legal professional. If your case is truly complicated and also you also can'big t find the money for the attorney, do your possess research. Read a client personal bankruptcy manual first after which seek advice from a good legal library. There are many legal guides devoted strictly to individual bankruptcy. Once you or your attorney have prepared your case, you're ready for elegant deliver the results.
+
+
The Filing Process
+
+
A lot of the proper papers may be obtained from your neighborhood bankruptcy court. Confer with the yellow pages under Government Services (usually in the beginning in the book) for an address and home phone number. The court gives you fourteen days through the date of a very crisis filing to accomplish the elegant experience. If Chapter 7 bankruptcy will be being filed, you will need to send in the following forms after you have received them coming from the court:  
+
+
· Statement of Financial Affairs.
+
+
· Lifestyle of Current Income and Current Expenditures.
+
+
· A routine conveying your financial obligations.
+
+
· A plan describing your property.
+
+
· A plan listing exempt property.
+
+
· A overview with the above schedules.
+
+
· Statement of Intention in regard to your guaranteed property and what you intend to do with it
+
+
· Statement of Executory Contracts conveying contract that will have to be fulfilled, these kinds of as auto leases.
+
+
· Personal Petition deal with sheet.
+
+
· Mailing addresses of most creditors.
+
+
· Any required nearby forms.
+
+
A fee will additionally be assessed, normally $90, due at the time of filing. The court will typically accept installments of the several-month period. A good application for installments must accompany the petition.
+
+
After your petition is actually filed, a achieving in the creditors is going to be arranged. The court appoints a trustee to preside over the visiting and to always be to blame for the liquidation of assets. With most smaller bankruptcies, only the man or woman filing and the trustee will show up at. The trustee, who is usually a community attorney, will request several concerns about the information on the a bankruptcy proceeding documents. Contact and inquire the court clerk what papers you will need to bring (usually economic statements or occasionally even taxes earnings). If your lots of property is truly involved, specially if it is actually nonexempt, property, your creditors may make an appearance to protest any exemptions. They will may also attempt to grill you about your intent to pay the invoice or about lying down on your app. Answer honestly and there shouldn't be considered a problem.
+
+
If the creditors' attorneys grow to be abusive, demand a hearing before the personal bankruptcy judge before the proceeding should go any further. If the creditors object to any of one's exemptions, they will have 30 days and nights after the creditor'utes meeting to report a very objection with the court. The court will routine a hearing and you will then be provided the possiblity to respond, even though you don'capital t have to. A creditor may additionally try to claim a debt because non-dischargeable because of fraudulent acts, a @ or malicious act, or embezzlement or theft. He can only accomplish this unique if he successfully increases the objection within sixty times from the creditors' meeting. To defend yourself, you or your attorney will have to document a written response and become prepared to argue your case in court.
+
+
Once just about all the requirements have been met and your intentions have been made clear, the court can declare the a bankruptcy proceeding discharged. No elegant hearing are going to be held unless you have chosen to reaffirm the debt by which case the judge may wish to always be sure that you simply determine what you are doing. After this specific time, provided the creditors do not raise any objections, the dischargeable bad debts are erased.
+
+
Picking Way up The Pieces
+
+
Personal ended up being once the lowest disgrace that could befall an individual. Today, nonetheless, it is actually commonplace. Corporations declare individual bankruptcy to get out of contracts or stay away from legal judgments. Individuals rely on it to protect them coming from a society that extends credit score too quickly.
+
+
Personal does not necessarily mean for you to simply will automatically become denied just about all credit for twelve a long time. In fact, many firms look at bankruptcy because a accountable way of discharging bad debts when there is truly no other way out. Creditors fear a bankruptcy proceeding, even so they additionally understand that when they lend to an agent who has announced a bankruptcy proceeding, they require not worry about another a bankruptcy proceeding for seven far more quite a few years (you can only document once each and every seven years). If you happen to have a good explanation for the bankruptcy, these kinds of when medical bills, divorces, or some other catastrophic event, a creditor may end up being willing to overlook it and extend credit score. Ask potential creditors about their policy toward bankruptcies. Their responses may end up being astonishing.
+
+
Darryl Power over 3 many years in online marketing, 1 year in Pay-Per-Just click advertising and 7 quite a few years of business management.
+

Revision as of 18:28, 27 June 2012


Grid Redstone.png  Function bit.bnot
Computes the bitwise NOT of a number, taken in the domain and range of 32-bit unsigned integers
Syntax bit.bnot(int n)
Returns int the value of NOT n
Part of ComputerCraft
API bit

Examples

Grid paper.png  Example
NOT the number 18 (10010), yielding 4294967277 (11111111111111111111111111101101, 32 bits in length)
Code
print(bit.bnot(18))
Output 4294967277


Explanation

All bit operations operate in binary numeral system [1]. A NOT operation yields a 1 if its input is 0 and a 0 if its input is 1. This function produces an output by computing the NOT of each bit of its input independently. So, for the example above:

Bit index: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Input (18): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0
Output (4294967277): 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1