public class Taxes
extends java.lang.Object
| Constructor and Description |
|---|
Taxes(double hWorked,
double hRate)
Constructor that takes in hoursWorked and hoursRated
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeFedTax()
Calculates federal tax
|
double |
computeGrossPay()
Calculates gross pay (before taxes)
|
double |
computeNetPay()
Calculates net pay (after taxes)
|
double |
computeSocSecurity()
Calculates social security tax
|
double |
computeStateTax()
Calculates state tax
|
double |
computeTotalTax()
Calculates total tax
|
double |
getFedTaxRate()
Returns federal tax rate
|
double |
getHourlyRate()
Returns hour rate
|
double |
getHoursWorked()
Returns hours worked
|
double |
getSocSecurityRate()
Returns social security tax rate
|
double |
getStateTaxRate()
Returns state tax rate
|
public Taxes(double hWorked, double hRate)
hWorked
- Hours workedhRate
- Hourly ratepublic double getHoursWorked()
public double getHourlyRate()
public double getFedTaxRate()
public double getSocSecurityRate()
public double getStateTaxRate()
public double computeGrossPay()
public double computeFedTax()
public double computeSocSecurity()
public double computeStateTax()
public double computeTotalTax()
public double computeNetPay()


JacobsHack! ("us", "we", or "our") refers to the operator of this website, as well as the organizer of the jacobsHack! hackathon. Unless defined otherwise, terms in this Privacy Policy have the same meaning as in our Terms and Conditions.
This page informs you of our policies regarding the collection, use, transfer and disclosure of personal data when you use our Service and the choices you have associated with that data.
We collect several different types of information for various purposes to provide and improve our Service to you.
While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). In particular, if you apply to attend the hackathon we ask you to provide us with certain pieces of information, so that we can evaluate if you are a good fit to attend.
The Personal Information collected might include any of the following:
We may also collect information how the Service is accessed and used ("Usage Data"). This Usage Data may include information such as your computer's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that you visit, the time and date of your visit, the time spent on those pages, unique device identifiers and other diagnostic data.
We use cookies and similar tracking technologies to track the activity on our Service and hold certain information.
Cookies are files with small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Tracking technologies also used are beacons, tags, and scripts to collect and track information and to improve and analyze our Service.
You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service.
We use your data for two primary purposes, (1) to provide and (2) to improve the service. By using the Service, you agree to the collection and use of information in accordance with this policy.
JacobsHack! uses the collected usage & tracking data for various purposes:
We do not transfer any usage and tracking data to any third party outside of these purposes (see “Data Transfer” section below for details).
Your Personal Data is never transferred outside of Germany except with your explicit permission (e.g. as given by your acceptance of this document). If you are located outside Germany and choose to provide information to us, please note that we transfer the personal data, to Germany and process it here.
JacobsHack! only uses your personal data for specific purposes (see listing in the personal data section above). We only transfer your personal data to selected service providers (see the “Data Transfer” section below for details), and only for those specific purposes. Furthermore, we will take all steps necessary to ensure that your data is treated securely and in accordance with GDPR.
The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.
Furthermore, jacobsHack! strives to never disclose any of your data (both usage data and personal data) without your consent. However, in certain cases we might be required to do so:
We employ third party companies and individuals to facilitate our Service ("Service Providers"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.
These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose. When using our service, it might thus be required to accept the appropriate Privacy Policies linked below.
To allow us to easily manage a list of submissions at the event, we use the DevPost platform. At the end of the event, participants will be asked to submit their projects to DevPost. In order to be eligible for a prize, submission to DevPost is required. Submission to DevPost may be subject to the DevPost Privacy Policy.
SendGrid is a service provider that allows us to easily send an email to all attendees of the event. We thus may submit the names and email addresses of all attendees to SendGrid. For details on how SendGrid uses this data, see the SendGrid Privacy Policy.
Some of our websites use services called Content Delivery Networks (or “CDN” for short). Instead of hosting shared libraries on our own server, we instead use a third party Content Delivery Network to host it.
We allow certain third party sponsors to attend the event, to provide mentoring for the participants. In exchange for this service, we offer to send the collected CVs of all participants to these sponsors.
As the list of sponsors is not yet complete, we will therefore explicitly ask for your consent to submit your CV to them at a later point.
Furthermore, while we do not submit any information to the third party sponsors directly, they might collect certain information about the participants at the event. Any such collection is subject to their respective privacy policies.
JacobsHack! is a Major League Hacking (MLH) Event. As such, we are required to share with MLH certain information about you for the purposes of event administration, ranking, MLH administration, pre- and post-event informational e-mails, and occasional messages about hackathons. We share the following pieces of information about you:
The details of this are outlined in the MLH Privacy Policy, which you are required to agree to take part in this event.
We use Jacobs University Bremen gGmbH as the venue for our event. As such, we might be required to submit certain information about participants of the event to Jacobs University for security purposes. We limit this transfer of information to a minimum and thus will at most submit:
To provide participants with food and drinks at the event, we will employ several food vendors. To provide us with this service, we will (in anonymized form) submit information about the number of participants and their dietary restrictions to these vendors.
Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit.
We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
Our Service does not address anyone under the age of 18 ("Children").
We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.
When it comes to processing your personal data, the GDPR grants you certain rights as a data subject:
You have the right to request confirmation as to whether personal data concerning you is being processed; where this is the case, you have a right of access to this personal data and to the information specified in Article 15 of the GDPR.
You have the right to immediately request the rectification of incorrect personal data concerning you and, if necessary, the completion of incomplete personal data.
You also have the right to request that personal data concerning you be erased immediately if one of the reasons listed in Art. 17 of the GDPR applies in detail, e.g. if the data is no longer required for the purposes for which it was collected.
You have the right to request a restriction of processing for the duration of a review if any of the conditions specified in Art. 18 of the GDPR have been met, e.g. if you have lodged an objection to the processing.
In certain cases (which are outlined in detail in Article 20 of the GDPR), you have the right to obtain from us your personal data in a structured, standard, machine-readable format or to request the transfer of such data to a third party.
If data is collected on the basis of Art. 6(1)(f) of the GDPR (data processing on the grounds of legitimate interests), you have the right to object to the processing at any time for reasons arising from your particular situation. If you make such an objection, we will no longer process your personal data unless we can demonstrate compelling legitimate grounds for the processing which override your interests, rights, and freedoms or for the establishment, exercise, or defense of legal claims.
In accordance with Art. 77 of the GDPR, you have the right to lodge a complaint with a supervisory authority if you believe that the processing of your personal data violates data protection regulations. This right to lodge a complaint may particularly be exercised before a supervisory authority in the EU member state where you reside, work, or where you suspect that your rights have been infringed.
If you have any questions concerning our privacy policy, or would like to make any inquiries with respect to your rights under GDPR, please contact our Data Protection Officer:
If a provision of this document is or becomes illegal, invalid or unenforceable in any jurisdiction, that shall not affect:
This version of the Privacy Policy was last updated on August 23rd, 2021.
We may have to update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.
Furthermore, we will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the "effective date" at the top of this Privacy Policy.
You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page. Continuing to use this service after the new changes come into effect constitutes approval to our new terms.


Macclesfield charged by EFL over failure to pay players
The League Two club have been referred to a disciplinary commission.
Macclesfield’s problems continue to mount up after they were charged with misconduct over the non-payment of players.
The EFL has announced that the League Two club have now been referred to a disciplinary commission, which has the power to impose “a full range of sanctions” if the club are found guilty of misconduct.
A league statement released on Thursday afternoon read: “The EFL recognises the impact the non-payment of wages has on the health and well-being of those involved and has been engaged in discussions with Macclesfield Town and the Professional Footballers’ Association (PFA) to try and find an appropriate solution.
“The club was given until 4pm yesterday to provide a response to the EFL’s request for information in this respect.
“As a result of the information provided, the EFL has notified the club of multiple charges related to failing to adhere to the terms of the contracts that are in operation.”
The Cheshire club have been charged under section 63.7 of the EFL’s rules, which states that the terms of a standard contract between a club and a player shall be strictly adhered to.
The disciplinary commission has a range of sanctions available to it, which can start at a reprimand or warning up to sporting penalties such as docking points.
The EFL said on Tuesday that wages from July to September had been paid from solidarity and basic award payments.
In Thursday’s statement, the EFL said a further £30,000 had been released after the club fulfilled their EFL Trophy fixture on Wednesday night.
Concerns are growing that Macclesfield may suffer the same fate as Bury, who were expelled from the league in August after failing to provide guarantees of financial sustainability.
The club fielded six youth team players and five loanees in their FA Cup first-round defeat to seventh-tier Kingstonian at the weekend.
BBC Radio Manchester has reported that local businessman Joe Sealey has made an offer to buy the club.


December 22
Don't Just Sit There...Arise!
Now four men who were lepers were at the entrance of the city's gate; and they said to one another, Why do we sit here until we die.... So they arose.
– 2 Kings 7:3,5
No matter how bad the problem is you may be facing today, no matter how far under the circumstances you may be, in 24 hours you can be back on top!
"Oh, Brother Copeland, that would be impossible!"
That's what the Samaritans thought in 2 Kings 7. Their land was being ravaged by famine. Enemy troops had surrounded them and cut off all source of supply. Mothers were eating their own children just to survive.
But right in the middle of that, the Lord told the prophet Elisha that in 24 hours the whole situation would change. Flour and barley would sell for just a few pennies and there would be abundance for all.
What did God use to turn that situation around?
Four lepers! Four lepers who, instead of sitting around feeling sorry for themselves and waiting to die, decided to arise and take their chances in the enemy camp. When they got there, they found it abandoned. All the warriors had been frightened away by the angels of God, and they'd left enough food behind to feed all of Samaria!
Sometimes you and I are like the officials in that story. We get problem-centered instead of Word of God centered. We let ourselves be so surrounded with the loud voice of the world that the vision of our victory is pushed out of sight.
When that happens, faith and power begin to subside and life caves in on us from every side.
If that's happened to you, stop crying about it. Stop looking at your problem and feeling sorry for yourself. That won't change anything!
Just like He did for Elisha, God's given you a word. He's promised you victory. He's promised to make you an overcomer.
 Don't accept defeat. Rise up in faith. Stand up on God's Word and fight for your life. Get mad at Satan. Cast him out. Get mad at that sickness. Get angry with poverty and start giving.
Rise up and receive the deliverance of the Lord!
Scripture Reading: 2 Kings 6:24-33, 2 Kings 7:1-20


Please Enter First Name.
First Name must be Alphabet. Special characters not allowed.
using ngModel properties by assigning ngModel to template reference variable
is this field touched? : {{ fnameTmpl.touched }}
is this field untouched? : {{ fnameTmpl.untouched }}
is this field not modified i.e., retains initial value? : {{ fnameTmpl.pristine }}
is this field modified i.e., dirty? : {{ fnameTmpl.dirty }}
is this field valid i.e., mandatory? : {{ fnameTmpl.valid }}


This example allows the user to experiment with the behavior of idb observers.
The user can create observers with all possible configuations and see the changes
and metadata they receive when doing indexedDB operations.
Try the following to exercise edge cases:
Add an observer for os1, and see how the initial state is empty
Click 'add' for os1, and see the changes. Notice how there is no transaction and there are no values.
Add an observer for os1, put "3,3" in the key range, and check the values checkbox
Notice the initial state for the second observer.
Click 'delete' for os1, and notice how the first observer received the changes but the second didn't
Click 'put' for os1, and notice the difference in the changes between the first and second observer.
You can also experiment with having an observer listen to multiple object stores.
Object Store Controls
These buttons do basic modification to the given object stores. Make changes before
creating an observer to see the observer record the initial state correctly, or make
changes after creating an observer to view what the observer sees.
Object Store 1 ('os1')
the objectStore.
elements 1, 2, 3
elements 2, 3, 4
elements 1, 2
All of the above in one transaction.
Object Store 2 ('os2')
the objectStore.
elements 1, 2, 3
elements 2, 3, 4
elements 1, 2
All of the above in one transaction.
All for both object stores in one transaction.
Observer Controls
Use this form to create observers:
Object stores to observe (comma separated, example: "os1"):
Key range (optional, inclusive, and applies only to first object store*, example: "3,4"):
Include transaction
Include values
* for demo simplicity
Observers
Page Log
These examples show a prototype of IndexedDB observers.


--- layout: index title: Get3W开发者中心 ---
The best way to integrate with Get3w. Learn more.
New to the GitHub API? With these guides you’ll be up and running in a snap.
We’ve got you covered. Use the GitHub API in your favorite language.
Are you stuck? Already tried our troubleshooting guide? Talk to a supportocat.
with many formats and is ideal for b creativity


Apgar Score
Strength and regularity of heart rate
CriterionScore100 beats/minute or more2Less than 1001Absent0
Lung maturity
CriterionScoreRegular breathing2Irregular1Absent0
Muscle tone and movement
CriterionScoreActive2Moderate1Limp0
Skin color / oxygenation
CriterionScoreBody and extremities pink2Blue at extremities; pink body1Completely blue0
Reflex irritability to tactile stimulation
CriterionScoreCry/cough/sneeze2Grimace/feeble cry when stimulated1Silence; no response to stimulation0
Apgar V. A proposal of a New Method of Evaluation of the Newborn Infant. Current Researches in Anesthesia and Analgesia. 1953, 32: 261-267. Apgar V, Holaday DA, James LS, et. al. Evaluation of the newborn infant. JAMA. 1958, 168: 1985-1988. Casey BM, McIntire DD, Leveno KJ. The continuing value of the Apgar score for the assessment of newborn infants. N Engl J Med. 2001 Feb 15;344(7):467-71.


Complete the following procedure to compile and run the two examples:
- From yourbasedir/objectserializationexamples/UsingSockets, compile the files Server.java and Client.java using JDKTM1.1 or higher:
javac Server.java javac Client.java- Run the Server:
java Server- Suspend the Server, using Ctrl/Z on UNIX systems.
- Put the Server in the background, using the following command on UNIX systems:
bg- Run the Client:
java ClientUsing sockets and serialization, the current date is sent from the client to the server, which then prints out the date.


NAV
bash
javascript
C#
ruby
python
Sign Up for a Developer Key
Documentation Powered by Slate
Archive
2014
October
Status
Reserved Words
September
Interaction


-webkit-transition-property
Specifies the name of the CSS property to which the transition is applied.
-webkit-transition-property: none | all | <name>;
No transition specified.
The default transition name.
CSS property name. You can list multiple properties. Property names should be bare, unquoted names.


Off-The-Record is a private, encrypted messaging system that remembers you and your friends, but not what you were talking about.
Log in or register to get started!


REMBRANDT INTENSE STAIN BRILLIANT MINT- sodium fluoride paste, dentifrice
Johnson & Johnson Healthcare Products, Division of McNEIL-PPC, Inc.
Disclaimer: Most OTC drugs are not reviewed and approved by FDA, however they may be marketed if they comply with applicable regulations and policies. FDA has not evaluated whether this product complies.
Active ingredient
Sodium Fluoride 0.24% (0.15% w/v fluoride ion)
Use
aids in the prevention of dental cavities
Warnings
Keep out of reach of children under 6 years of age. If more than used brushing is accidentally swallowed, get medical help or contact a Poison Control Center right away.
Directions
- Adults and children 2 years of age and older:
- brush teeth thoroughly, preferably after each meal or at least 2 times a day, or as directed by a dentist or physician
- Instruct children under 6 years of age in good brushing and rinsing habits (to minimize swallowing)
- supervise children as necessary until capable of using without supervision
- children under 2 years of age: ask a dentist or doctor
Other information
- store at (20° - 25°C)
- do not use if inner foil is torn, cut or missing
Inactive ingredients
hydrated silica, water, glycerin, sorbitol, tetrasodium pyrophosphate, flavor, titanium dioxide, sodium lauryl sarcosinate, cellulose gum, lauryl glucoside, PVP, cocamidopropyl betaine, sodium saccharin, sucralose
Questions or comments?
US/Canada 1-800-548-3663, Outside US/Canada call collect<PHONE_NUMBER>, www.rembrandt .com
PRINCIPAL DISPLAY PANEL - 85 g Tube Carton
NEW! SUPERIOR STAIN REMOVAL®
REMBRANDT®
I
INTENSE STAIN®
+ ActiShield™
FLUORIDE TOOTHPASTE FORMULATED FOR SUPERIOR STAIN REMOVAL®
Removes Stains • Repels Future Stains • Restores Enamel
brilliant mint
NET WT 3.0 oz (85g)
Johnson & Johnson Healthcare Products, Division of McNEIL-PPC, Inc.


This is Words and Buttons Online — a collection of interactive #tutorials, #demos, and #quizzes about #mathematics, #algorithms and #programming.
Usually, when people talk about splines, like at a party or in a pub, they talk about polynomial cubic splines. This makes sense as cubics are the simplest functions you can link together and expect continuity and smoothness at the joints. But can you get it even simpler than that?
A parametric curve is a curve that has its every point defined as a function of some parameter. Let's build a polynomial curve that runs through 4 points.
x(t) = axt3 + bxt2 + cxt + dx
y(t) = ayt3 + byt2 + cyt + dy
There is an explanation of how to build an interpolating function in the Programmer's guide to polynomials and splines. Long story short, if you run a polynomial through some 4 points, it could minimally be of 3rd degree. Which is a cubic.
Here is an interactive example. You can drag the points across the canvas. The curve is rather predictable, especially in between the second and the third points. That's the piece we prefer to build aggregate spline functions.
Just like with the simple non-parametric interpolation, you can't just add more points to the interpolating polynomial and expect it to behave nicely. It will eventually oscillate due to the Runge's effect. To avoid this, you need splines in the first place.
Now let's say we don't know how many points we want. Let's say points keep coming even while we're building our spline. We want to add points and retain the pieces of the curve that we've built.
We can still use cubic splines. It's just now we don't have to conjoint each of them from both sides, we only have to attach it from one. This can be done, for instance, by solving these systems:
axit3 + bxit2 + cxit + dxi = xi
axi(t+1)3 + bxi(t+1)2 + cxi(t+1) + dxi = xi+1
3axit2 + 2bxit + cxi = 3axi-1t2 + 2bxi-1t + cxi-1
6axit + 2bxi = 6axi-1t + 2bxi-1
ayit3 + byit2 + cyit + dyi = yi
ayi(t+1)3 + byi(t+1)2 + cyi(t+1) + dyi = yi+1
3ayit2 + 2byit + cyi = 3ayi-1t2 + 2byi-1t + cyi-1
6ayit + 2byi = 6ayi-1t + 2byi-1
The first and the second equations here are just the interpolation conditions. The third and the fourth are the ones that connect the derivatives of the i-th piece to the derivatives of its successor.
Here is an example of a 3-piece curve made of such one-sided cubic splines. Feel free to drag the points.
As you can see, it is smooth and continuous, so it's kind of a win. But it is nearly impossible to make it go where you want it to. It's even worse than with the Runge effect as the oscillations start almost immediately.
You probably noticed that the first segment is straight. That's because both the initial derivatives, the first one and the second one, are zeros. The second segment is then quadratic, since its own second derivative on the left is still zero, and only the third one is fully cubic. And this is the least controllable one.
Still, since we keep the second derivative continuous, we know that our first derivative is smooth. You can see it in the next plot. The “hair” is the depiction of the derivative vector's length in multiple points. And yes, since the curve is parametric, and it's formed by two functions, it has two derivatives in every point: dx/dt and dy/dt, and you can make a vector out of them.
Now here is a trick that may help us tame the curve we got. With y(x), we can expect it to be smooth only if the first derivative of the function is continuous. That's true for y(x). But for x(t), y(t), the tangent is not the same as the derivative. It's the proportion of its derivatives. It doesn't have to be like that:
dpxi(t) / dt = dpxi+1(t) / dt
dpyi(t) / dt = dpyi+1(t) / dt
We only need this:
| dpxi(t) / dt | = | dpxi+1(t) / dt |
| dpyi(t) / dt | dpyi+1(t) / dt |
When your curve becomes uncontrollable, you can safely calm it down. Cut down its derivatives in every point to make it more like a piece-wise linear interpolation.
Here is the example, increment the derivative divisor to cut down the derivatives:
Look at its hair! It's no longer continuous, it gets cut off after every grid point.
We also have another way to calm down our curve, and it is to drop its second derivative in every grid point effectively turning it... into a quadratic spline!
Quadratic splines are even simpler than the cubic ones. We keep the idea of stealing the first derivative from the successor, but we don't touch the second one.
ait2 + bit + ci = xi
ai(t+1)2 + bi(t+1) + ci = xi+1
2ait + bi = 2ai-1t + bi-1
The first derivative is then continuous but it isn't smooth anymore. You can see it on the plot's hair. It gets a little bent at the grid points.
Now, this has all been fun, but is it really a problem to solve? I mean, why would we want to have a curve that grows as we plot it? There is a niche for building splines on the go, and it is the animation.
Here is an arrow. Just click somewhere on the canvas, and it will go there. Setup several way-points, it will run through them all. Note that it also accumulates derivatives, which is its speed, and becomes thin and uncontrollable.  That calms it down.
Spline function is a broad concept, and you get to choose what you want.  There are even non-polynomial splines, they have their applications too.
There is, however, some common body of knowledge that works for all splines, plots, and curves in general. I think, even if you wouldn't have to ever implement any kind of splines, you can benefit from learning about derivatives, parameterization, continuity, and smoothness. Quadratic splines demonstrate all that rather well.
| Index #mathematics #demos | ← there's more. |
+
So You Think You Know C (free book) + Geometry for Programmers (paid book) + Github & RSS |


--- profile: true ---
Hello world! I am Samuel de Medeiros Queiroz, a bachelor in Computer Science who is seeking for challenges in the free and open source world.
I enjoy travelling the world talking about Open Source and OpenStack software, allowing me to share my knowledge and perceptions, while meeting new people and gaining experiences.
In this website you will find my blog, information about the talks I have given, the articles I have published, my résumé and a bit more about me.
{% include footer.html %}


Trying to run away from the thing seems to be a bad idea,
it easily catches up to you and the last thing you hear
before darkness takes your senses is that terrible not quite human shriek.
This is the end of the game for you my friend. I am afraid you have died.
---> Restart Adventure


I'm currently working on a computing book aimed at biologists. Check out the Biologist's Guide to Computing!


[viewBag] title = "Administrative support office" ==
| Head of department: |
Aydarov Erkin Bakitovich |
| Reception days: | Monday to Saturday from 14:00 to 17:00 |
|
Graduated: |
2017 Povolzhye State Technological University |
| Phone: |
|
| Faks: |
|
| e-mail: |
|
The office is the main department of office management at the institute. Organizes their management in close cooperation with other departments, faculties based on the established requirements.
Conducts work with appeals of individuals and legal entities. The office includes an archive. The head of the office is directly subordinate to the rector.
The main purpose of the office is to establish and ensure the implementation of a single order of operational and cultural office work in the departments and faculties of the institute on the basis of a unified state system of office work, guidelines in force on the procedure for preparing official documents.
The decisions of the College, orders that should be taken under control from the Unified portal of public services, after registration of orders and tasks, execution and control of the necessary cards.
Sew control cards into the accumulative folder when the time comes for the distribution of cards to performers.
Ensuring the transfer of documents collected in the work of the office (orders, instructions, incoming and outgoing correspondence, books of accounting) for permanent high-quality storage in the archive, in a timely manner.
In due time, in accordance with the established procedure, with verification of the completeness of incoming correspondence to the office, to receive, register and deliver to the management or sender of correspondence; after the resolution of the head, transfer the documents to the internal control department or the executive body for control with the subsequent increase in the number of copies of documents.
Acceptance of written requests from individuals and legal entities, opening a control card and issuing a rector for a resolution, and then bringing to the contractor, maintaining his control and monthly inclusion of calls in the reporting table and following the results of each quarter, submitting reports to the Ministry.


iOS app // Objective-C
Contract project with SOAR Therapy
iOS app // Swift
Contract project with University of Montana
iOS app // Swift
Solo project from Coding Dojo
Web app // Python // Django
Group project from Coding Dojo
Web app // JavaScript // Node, MongoDB, Express, Angular
Black belt exam from Coding Dojo


LOGO
About
Work
Contact
Welcome to My Portfolio
Project 1
Web Design
Project 2
Web Design
Project 3
Web Design
Project 4
Web Design
Project 5
Web Design
Project 6
Web Design


Upholstery Cleaning Request
Building Name *
Enter Date for Upholstery Cleaning *
First Name *
Last Name *
Apartment # *
Email *
Phone *
I approve entry into my home. *
Instructions *
*
These fields are required.


Toronto Defiant
Upcoming Matches
Stage 4
| Sunday, August 18 |
|
win prob. |
map +/- |
|
Defiant |
0 |
27% |
-1.1 |
|
Mayhem |
4 |
73% |
+1.1 |
| Saturday, August 10 |
|
win prob. |
map +/- |
|
Defiant |
1 |
6% |
-2.4 |
|
Dynasty |
2 |
94% |
+2.4 |
| Thursday, August 8 |
|
win prob. |
map +/- |
|
Defiant |
1 |
55% |
+0.2 |
|
Mayhem |
3 |
45% |
-0.2 |
| Sunday, August 4 |
|
win prob. |
map +/- |
|
Defiant |
2 |
26% |
-1.2 |
|
Fusion |
3 |
74% |
+1.2 |
| Thursday, August 1 |
|
win prob. |
map +/- |
|
Defiant |
2 |
<1% |
-3.6 |
|
Dragons |
1 |
>99% |
+3.6 |
Stage 3
| Saturday, July 6 |
|
win prob. |
map +/- |
|
Defiant |
1 |
17% |
-1.6 |
|
Reign |
3 |
83% |
+1.6 |
| Saturday, June 22 |
|
win prob. |
map +/- |
|
Defiant |
0 |
48% |
-0.1 |
|
Charge |
4 |
52% |
+0.1 |
Stage 2
| Friday, May 3 |
|
win prob. |
map +/- |
|
Defiant |
1 |
<1% |
-3.6 |
|
Titans |
3 |
>99% |
+3.6 |
| Thursday, April 18 |
|
win prob. |
map +/- |
|
Defiant |
0 |
1% |
-3.2 |
|
Shock |
4 |
99% |
+3.2 |
| Saturday, April 13 |
|
win prob. |
map +/- |
|
Defiant |
0 |
34% |
-0.7 |
|
Fuel |
4 |
66% |
+0.7 |
| Thursday, April 11 |
|
win prob. |
map +/- |
|
Defiant |
1 |
51% |
+0.0 |
|
Fusion |
3 |
49% |
-0.0 |
Stage 1 Title Matches
| Friday, March 22 |
|
win prob. |
map +/- |
|
Defiant |
0 |
59% |
+0.4 |
|
Shock |
3 |
41% |
-0.4 |
Stage 1
| Saturday, March 9 |
|
win prob. |
map +/- |
|
Defiant |
3 |
59% |
+0.4 |
|
Spark |
0 |
41% |
-0.4 |
| Thursday, March 7 |
|
win prob. |
map +/- |
|
Defiant |
3 |
90% |
+2.1 |
|
Hunters |
1 |
10% |
-2.1 |
| Sunday, February 24 |
|
win prob. |
map +/- |
|
Defiant |
2 |
35% |
-0.7 |
|
Valiant |
1 |
65% |
+0.7 |
| Friday, February 22 |
|
win prob. |
map +/- |
|
Defiant |
1 |
45% |
-0.2 |
|
Reign |
3 |
55% |
+0.2 |
| Friday, February 15 |
|
win prob. |
map +/- |
|
Defiant |
3 |
25% |
-1.2 |
|
Outlaws |
2 |
75% |
+1.2 |


Chapter 23 Glossary
A:
Activities Log The section of a Tercen project where actions are taken in the project is recorded. Links to the object where the change happened are included.
App: A plug-in to Tercen. It can be one of three types: operator, app, template.
App library: A repository of Tercen apps. There are many repository locations, (e.g. GitHub, team library).
B:
Breadcrumb: A dynamic URL link-line at the top of the Tercen interface. The Breadcrumb displays a path to the user’s current location in the system. It is built up of individual links to each step on the path. Users can navigate to any part of the path by clicking the step link.
C:
Clone: Takes a copy of the element selected and saves it into an equivalent location selected by the user. The user can modify the clone without disturbing the original research. Full projects can be cloned as can parts of projects such as Workflow.
Color box: Part of the cross tab projection screen. When a factor is dropped on this box Tercen will assign a color to the value of that factor in the projection grid. Colors grade from warm (red) through to cold (blue) from highest plus number to lowest minus number. A rainbow palette is a default but other pallets can be selected for different effects.
Cross-tab window: A Tercen interface window to define a projection view (i.e. what is on the row, col, y-axis, x-axis, color, label).
D:
Data Set: A collection of measurements uploaded to Tercen or created by Tercen after manipulation in a workflow. Usually, Datasets take the form of a data table but can be linked to other sources such as databases.
Data Step: The basic Calculation or Projection unit of a Tercen workflow. All the heavy lifting of Data Analysis in Tercen is done here. Data steps contain a layout of Factors into a projection grid and settings to create a visualization from this. Operators can be applied to Data Steps so their calculations are passed down to data steps linked below it.
Docker: A platform that allows software applications to be packaged into a container. Containers run on Dockers virtual environment within a computer. The container holds the dependencies that the app needs to run so this way it can operate independently of the operating system on the computer which might conflict with it.
E:
Enterprise: A version of Tercen that can run on a local server and be available through an organization’s network. Organizations with strict access control requirements, restrictions on internet access, or regulatory commitments to local data storage should choose this option.
Explore: The community section of Tercen. Public projects are made available to everybody here.
F:
Factor: The Tercen name for the smallest group of data you can work with. If a table has 10 columns then there will be 10 factors to make projections with. If a spreadsheet has names and addresses then [FirstName] [Surname] {Street} and {City} will all be factors. Operators can also create new factors when they run. These are the calculated values and they are available for the next data steps in the workflow.
Filter: A method of subdividing data in Tercen. Simple filters might exclude data zero values from a graph. Filters are made on the Cross-Tab Projection screen. There are two ways to apply a filter. Drag a factor to the filters section and set a rule for how its data is included or excluded. Or Highlight rows in the projection and right-click to set the rules. Multiple filters can be applied to the same data set at the same time.
Filter box: The part of the cross-tab projection screen where filter settings can be created, modified or deleted. Factors can be dragged here to create a filter.
G:
GitHub: GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. Tercen connects to GitHub and we store all of our operators there for anyone to access
Git Repository: A folder or room where any type of file can be stored. GitHub will track changes to the files, even if multiple people are changing them at the same time. It allows rollbacks to any previous version and makes the files available to be downloaded according to your privacy settings.
H: Home: Your personal page. It works like a Team but with only one member… You. Your personal Projects are hosted here as well as access to administration areas such as your Tercen subscription or settings.
I:
J:
K:
L:
Layer: Created in the cross-tab window. Each layer has the same row, column, x-axis definition but allows the user to configure a different y-axis, filter, color, label, and error bar. This allows multiple graphical projections of the same data layout without having to create multiple data steps.
Library: A collection of Operators or Apps which have been made available to be used on a Project. Libraries can be used to control what calculations are available to a project team. Operators and Apps must be added to a Library by a Team member with the right permissions level.
Long format: A table format where every row has a single measurement. It is a list format that makes data more easily processed by computer code working from top to bottom rather than a human preferred left to right.
M: Measurement: A numerical variable representing a single point of data.
Multi-pairwise: A data projection in the crosstab grid lays out multiple scatter-plots in a matrix.
It is created by dragging and dropping the same factor into both the row zone and the column zone. A factor must also be defined in the label zone. This allows the projection to know what factor separates data points in the pairwise plot.
N:
O: Observation: A gathering of data at a particular moment in time. Observations can consist of one or more measurement variables.
Operator: Is an algorithm that computes data supplied to it by the input projection view defined using the cross-tab window. Tercen operators pass their calculations downstream to linked Data Steps.
P: Project: A folder containing all the elements of data analysis. Data files, workflows, and supporting documents are held here. Tercen provides an activity tracker on each Project to show a history of actions. Creating a README.md adds a web page to the project where research, data, and graphs can be displayed.
Projection: A projection is defined using the cross-tab window. It is a representation of the data factors laid out by dragging and dropping. Usually, it is in the form of a graph.
Q:
R:
Run: Appears in Tercen as a button or select from a drop-down list. Choosing this will cause the algorithms in an Operator to start their calculations. To help you remember to run your calculations Tercen puts a little green light on a Data Step when they are successful or a red light when there is a problem.
S:
Step: An event on a Tercen workflow. Events include Data Table Import, Visual Projection, Calculations, Joins, and Exports. A single step allows for a visual projection and optionally a computation using an operator.
Subscription: The fee you pay to access Tercen’s advanced features. Normally charged monthly to a credit card.
T:
Tag: A label is given to a piece of data. Normally issued on an ad-hoc basis but computer systems can track them and perform functions based on them.
Table:
A basic collection of data. Very like a spreadsheet, and indeed many data tables start out as spreadsheets. It normally has titles for the data in the first row and lists of individual data underneath those titles in the columns.
Team: A group of users on Tercen who are collaborating on one or more projects. Users can have different permissions to access and modify the elements of a project: Admin, Read Write, or Read Only.
Tercen: The next-generation data analytics platform. It’s drag and drops, and it lives in the cloud, so no coding is required. There are also a powerful community and sharing functions that you won’t find anywhere else.
Tercen GitHub: You can find everything Tercen here in our Tercen Repository. Sample data files, instruction manuals, and guides, and Mathematical operators for your analysis.
Tercen Studio: The development environment for Tercen integrates coding and testing features. Integrates RStudio to Tercen through your browser.
U:
Universal Table: An abstract internal table built by Tercen from all data sources uploaded to it. This unified data model allows Tercen to perform calculations on data throughout the workflow or visual projections regardless of the original source.
Username: Your unique personal identifier on Tercen. We even generate a unique icon from it so everybody can see who you are.
V:
Variable: A variable is a characteristic of a unit being observed that may assume more than one of a set of values to which a numerical measure or a category from a classification can be assigned (e.g. income, age, weight, etc., and “occupation”, “industry”, “disease”, etc.
Visual computation: Users of Tercen define a computation visually for example by dragging and dropping elements, setting filters and lines, or adding operators. The Tercen engine performs the calculations on the fly as visual adjustments are made.
W:
Wide-format: A format where every column is a variable. Considered the traditional layout for a spreadsheet with titles along the top and individuals down the side. This layout is optimized for human reading. For machine reading layouts see Long format.
Workflow: A sequence of steps or apps to achieve an analysis pipeline. Calculations made in a data step are passed downwards to steps which are linked below. Multiple branches of analysis can be created.
Workflow app: A small workflow composed of steps, visuals, and operators. Typically it achieves one task, e.g. PCA app. The PCA app is composed of one result visual and one computation and one data wrangling step.
X:
Y:
Z:
Zone: Part of the cross-tab projection screen. They are loaded with Factors dragged and dropped from the data and are used to form the layout of a projection. There are four zone types that run from inside to outside on the X and Y-Axis.
x-axis zone: The bottom-most division of the Data runs across the top of the cross-tab projection grid. Its primary function is to divide data. There can be only one X-axis zone.
y-axis zone: The right-most division of the Data that runs down the side of the cross-tab projection grid. Its primary function is to divide data. There can be only one Y-axis zone. This zone is often the most important one in a projection. It should be loaded first.
row zone: Zones running down the side of the grid parallel to the Y-Axis. Their primary function is to sort the information in the Y-Axis. There can be multiple Row zone factors but their order is important as Tercen applies to sort from the outside-in.
column zone: Zones running along the top of the grid parallel to the X-Axis. Their primary function is to sort the information in the X-Axis. There can be multiple Column zone factors but their order is important as Tercen applies to sort from the outside-in.
Label box: Part of the cross tab projection screen.


AmazonSNSClient Class Reference
| Inherits from | AmazonWebServiceClient : AmazonAbstractWebServiceClient : NSObject |
| Declared in | AmazonSNSClient.h |
Tasks
-
– confirmSubscription:
The ConfirmSubscription action verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true".
-
– getTopicAttributes:
The GetTopicAttribtues action returns all of the properties of a topic customers have created. Topic properties returned might differ based on the authorization of the user.
-
– subscribe:
The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days.
-
– setTopicAttributes:
The SetTopicAttributes action allows a topic owner to set an attribute of the topic to a new value.
-
– deleteTopic:
The DeleteTopic action deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist will not result in an error.
-
– removePermission:
The RemovePermission action removes a statement from a topic's access control policy.
-
– listSubscriptions:
The ListSubscriptions action returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results.
-
– setSubscriptionAttributes:
The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.
-
– addPermission:
The AddPermission action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
-
– createTopic:
The CreateTopic action creates a topic to which notifications can be published. Users can create at most 25 topics. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN will be returned without creating a new topic.
-
– getSubscriptionAttributes:
The GetSubscriptionAttribtues action returns all of the properties of a subscription.
-
– listTopics:
The ListTopics action returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.
-
– unsubscribe:
The Unsubscribe action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the its topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.
-
– listSubscriptionsByTopic:
The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results.
-
– publish:
The Publish action sends a message to all of a topic's subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected.
Instance Methods
addPermission:
The AddPermission action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
- (SNSAddPermissionResponse *)addPermission:(SNSAddPermissionRequest *)addPermissionRequest
Parameters
- addPermissionRequest
Container for the necessary parameters to execute the AddPermission service method on AmazonSNS.
Discussion
The AddPermission action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
confirmSubscription:
The ConfirmSubscription action verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true".
- (SNSConfirmSubscriptionResponse *)confirmSubscription:(SNSConfirmSubscriptionRequest *)confirmSubscriptionRequest
Parameters
- confirmSubscriptionRequest
Container for the necessary parameters to execute the ConfirmSubscription service method on AmazonSNS.
Return Value
The response from the ConfirmSubscription service method, as returned by AmazonSNS.
Discussion
The ConfirmSubscription action verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to "true".
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSSubscriptionLimitExceededException
For more information see SNSSubscriptionLimitExceededException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
createTopic:
The CreateTopic action creates a topic to which notifications can be published. Users can create at most 25 topics. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN will be returned without creating a new topic.
- (SNSCreateTopicResponse *)createTopic:(SNSCreateTopicRequest *)createTopicRequest
Parameters
- createTopicRequest
Container for the necessary parameters to execute the CreateTopic service method on AmazonSNS.
Return Value
The response from the CreateTopic service method, as returned by AmazonSNS.
Discussion
The CreateTopic action creates a topic to which notifications can be published. Users can create at most 25 topics. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN will be returned without creating a new topic.
Exceptions
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- SNSTopicLimitExceededException
For more information see SNSTopicLimitExceededException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
deleteTopic:
The DeleteTopic action deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist will not result in an error.
- (SNSDeleteTopicResponse *)deleteTopic:(SNSDeleteTopicRequest *)deleteTopicRequest
Parameters
- deleteTopicRequest
Container for the necessary parameters to execute the DeleteTopic service method on AmazonSNS.
Discussion
The DeleteTopic action deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist will not result in an error.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
getSubscriptionAttributes:
The GetSubscriptionAttribtues action returns all of the properties of a subscription.
- (SNSGetSubscriptionAttributesResponse *)getSubscriptionAttributes:(SNSGetSubscriptionAttributesRequest *)getSubscriptionAttributesRequest
Parameters
- getSubscriptionAttributesRequest
Container for the necessary parameters to execute the GetSubscriptionAttributes service method on AmazonSNS.
Return Value
The response from the GetSubscriptionAttributes service method, as returned by AmazonSNS.
Discussion
The GetSubscriptionAttribtues action returns all of the properties of a subscription.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
getTopicAttributes:
The GetTopicAttribtues action returns all of the properties of a topic customers have created. Topic properties returned might differ based on the authorization of the user.
- (SNSGetTopicAttributesResponse *)getTopicAttributes:(SNSGetTopicAttributesRequest *)getTopicAttributesRequest
Parameters
- getTopicAttributesRequest
Container for the necessary parameters to execute the GetTopicAttributes service method on AmazonSNS.
Return Value
The response from the GetTopicAttributes service method, as returned by AmazonSNS.
Discussion
The GetTopicAttribtues action returns all of the properties of a topic customers have created. Topic properties returned might differ based on the authorization of the user.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
listSubscriptions:
The ListSubscriptions action returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results.
- (SNSListSubscriptionsResponse *)listSubscriptions:(SNSListSubscriptionsRequest *)listSubscriptionsRequest
Parameters
- listSubscriptionsRequest
Container for the necessary parameters to execute the ListSubscriptions service method on AmazonSNS.
Return Value
The response from the ListSubscriptions service method, as returned by AmazonSNS.
Discussion
The ListSubscriptions action returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptions call to get further results.
Exceptions
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
listSubscriptionsByTopic:
The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results.
- (SNSListSubscriptionsByTopicResponse *)listSubscriptionsByTopic:(SNSListSubscriptionsByTopicRequest *)listSubscriptionsByTopicRequest
Parameters
- listSubscriptionsByTopicRequest
Container for the necessary parameters to execute the ListSubscriptionsByTopic service method on AmazonSNS.
Return Value
The response from the ListSubscriptionsByTopic service method, as returned by AmazonSNS.
Discussion
The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
listTopics:
The ListTopics action returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.
- (SNSListTopicsResponse *)listTopics:(SNSListTopicsRequest *)listTopicsRequest
Parameters
- listTopicsRequest
Container for the necessary parameters to execute the ListTopics service method on AmazonSNS.
Return Value
The response from the ListTopics service method, as returned by AmazonSNS.
Discussion
The ListTopics action returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.
Exceptions
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
publish:
The Publish action sends a message to all of a topic's subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected.
- (SNSPublishResponse *)publish:(SNSPublishRequest *)publishRequest
Parameters
- publishRequest
Container for the necessary parameters to execute the Publish service method on AmazonSNS.
Return Value
The response from the Publish service method, as returned by AmazonSNS.
Discussion
The Publish action sends a message to all of a topic's subscribed endpoints. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
See Also
Declared In
AmazonSNSClient.h
removePermission:
The RemovePermission action removes a statement from a topic's access control policy.
- (SNSRemovePermissionResponse *)removePermission:(SNSRemovePermissionRequest *)removePermissionRequest
Parameters
- removePermissionRequest
Container for the necessary parameters to execute the RemovePermission service method on AmazonSNS.
Discussion
The RemovePermission action removes a statement from a topic's access control policy.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
setSubscriptionAttributes:
The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.
- (SNSSetSubscriptionAttributesResponse *)setSubscriptionAttributes:(SNSSetSubscriptionAttributesRequest *)setSubscriptionAttributesRequest
Parameters
- setSubscriptionAttributesRequest
Container for the necessary parameters to execute the SetSubscriptionAttributes service method on AmazonSNS.
Discussion
The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
setTopicAttributes:
The SetTopicAttributes action allows a topic owner to set an attribute of the topic to a new value.
- (SNSSetTopicAttributesResponse *)setTopicAttributes:(SNSSetTopicAttributesRequest *)setTopicAttributesRequest
Parameters
- setTopicAttributesRequest
Container for the necessary parameters to execute the SetTopicAttributes service method on AmazonSNS.
Discussion
The SetTopicAttributes action allows a topic owner to set an attribute of the topic to a new value.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h
subscribe:
The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days.
- (SNSSubscribeResponse *)subscribe:(SNSSubscribeRequest *)subscribeRequest
Parameters
- subscribeRequest
Container for the necessary parameters to execute the Subscribe service method on AmazonSNS.
Return Value
The response from the Subscribe service method, as returned by AmazonSNS.
Discussion
The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the ConfirmSubscription action with the token from the confirmation message. Confirmation tokens are valid for three days.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSSubscriptionLimitExceededException
For more information see SNSSubscriptionLimitExceededException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
See Also
Declared In
AmazonSNSClient.h
unsubscribe:
The Unsubscribe action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the its topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.
- (SNSUnsubscribeResponse *)unsubscribe:(SNSUnsubscribeRequest *)unsubscribeRequest
Parameters
- unsubscribeRequest
Container for the necessary parameters to execute the Unsubscribe service method on AmazonSNS.
Discussion
The Unsubscribe action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the its topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.
Exceptions
- SNSNotFoundException
For more information see SNSNotFoundException
- SNSAuthorizationErrorException
For more information see SNSAuthorizationErrorException
- SNSInternalErrorException
For more information see SNSInternalErrorException
- SNSInvalidParameterException
For more information see SNSInvalidParameterException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSNS indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSNSClient.h


Home | Portfolio | Contact
Swipe, scroll or use the arrow keys to explore my arts.
Thanks for looking at my ARTS! Wait for the up coming photos and stay tune...


ABOUT
RICARDIAN CONTRACT 🤖
DOCS 📜
DAO ⚖
DISCORD 💬
VOTE DELEGATE DISCLOSURE
🦊
🔌
VDD
,
Blank Template Disclosure


@* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @this(summaryNumericRow: summaryNumericRow) @(gain: BigDecimal, totalDeductions: BigDecimal, taxableGain: BigDecimal)(implicit request: Request[_], messages: Messages, messagesApi: Option[MessagesApi] = None)


Company Name
smaller text about the company
Log in
Sign up
Please enter your email.
Invalid password.
No account with that name exists.
Please confirm your login attempt with the link sent to your email.
Remember me
Log in
Forgot password?
Please enter your name.
Please enter your email.
Password must be at least 8 characters and have a letter, number, and special character.
Passwords do not match.
Caps Lock is on
Sign up
By signing up you agree to our
terms of use


This class is for common class methods for things not dealing with requests, views, data, or models.
Located in /index.php (line 999)
Load our configuration file, app/config.php, so that the $config public variable is accessible with the array of returned values.
Returns our base file path of a site.
Returns our base URL of a site.
Loads our configuration file.
Returns the total page load time.
Returns our max session lifetime in seconds.
Documentation generated on Wed, 29 Jun 2011 18:43:30 -0400 by phpDocumentor 1.4.3


Nyzo version 538 (commit on GitHub) implements the BlockFileConsolidator options.
This version affects the verifier, sentinel, and Micropay server. They all use the BlockFileConsolidator.
If you update to this version without making any changes to your preferences file, the behavior of the software will not change at all. In order to take advantage of the changes in this version, you must make appropriate changes to your preferences file.
When blocks are frozen, they are written to files to ensure that they are available on restart. To make these file writes as fast as possible, each block is initially written to its own file in the /var/lib/nyzo/production/blocks/individual directory. These individual block files each contain both the balance list for the block and the actual block.
While individual block files are convenient and efficient as the blockchain is being produced, they consume significant filesystem resources. To recover some of these resources, the BlockFileConsolidator periodically bundles old blocks into files that typically contain 1000 blocks and 1 balance list each. This typically reduces the number of files by 99.9%, and it has historically reduced storage space by more than 99%.
The BlockFileConsolidator, though, does consume compute resources as it is running, and those resources have caused performance issues for the cycle in the past. Based on our observations, we think that the BlockFileConsolidator class was responsible for many of the verifier failures that ultimately resulted in the recent blockchain stall.
In a future version, the consolidation process will be improved to allow it to consume significantly lower compute resources than it does now while performing all the operations it currently performs. This version provides control over which parts of the consolidation process are performed. This will allow operators of verifiers to decide, based on their personal preferences and situations, how to best use the resources they have available to keep their verifiers as healthy as possible.
All changes in this version are in BlockFileConsolidator. The two separate options were replaced with a single combined option. The combination of active consolidation with disabled deletion would have been an efficiency issue without significant reworking of the process. A single option describing all valid behavior combinations is easier to understand and friendlier to use than a set of options for which certain combinations are invalid.
In /var/lib/nyzo/production/preferences, add the following line for delete-only operation. This is the least resource-intensive option.
block_file_consolidator=delete
Or add the following line to disable the consolidator completely. This is only recommended for a verifier running on a server with a large filesystem.
block_file_consolidator=disable
A main() method has been added for starting the consolidator independently. This is useful for testing, and it is useful for those who choose to run the consolidator as a separate process, as the comment explains.
In the start() method, the disable option value is used to bypass the consolidator thread entirely. Due to indentation changes, this change appears to be larger than it is.
In the consolidateFiles() method, consolidation is bypassed if the delete-only option is set.
File deletion has been split into a separate method. Also, exclusion of the Genesis block from deletion has been changed slightly. The previous logic, which removed the Genesis block from the list, was not causing any errors, but it was bad programming practice. Mutating a list provided by another source to avoid processing an element of that list can cause bugs if the ordering of processing on that list is later changed.


AMAZING PEOPLE ARE MAKING AMAZING DESIGNS IN A FUN ENVIRONMENT
When you work with us, you are part of a team of committed collaborators.All aspects of our software deVelopment process ared integrated,interactive and agile.
Our approach unifies design,development and product management to create exceptional products.We start each project by understanding your business goals,the user's needs and the product requirements.Then we help translate them into effective and elegant solutions
Before we sign a contract or write a line of code our team will spend the necessary time needed to understand your product vision.The outcome of this scoping session is a proposal or high-level statement of work.Based on your requirements,we can provide a complete offering or just the pieces you need.
Our design practices offer a full range of services including brand strategy interaction and visual design and user experience testing.Throughout your project, our designers create and implement visual design and workflows,solicit user feedback and work with you to make sure what gets built is what is needed.
All engineers are fluent in their latest enterprise, mobile and web application development.They collaborate with your team to write,and improve code on a daily basis,using proven practices such as test-driven programming and pair programming.
Planning and development is interactive.Because we are constantly coding and testing,the programs we buld are always ready to go live.This iteractive process allows for changes as business requirements evolve.
PORTFOLIO
Delani studio
2020


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivationSystem
The ActivationSystem
provides a means for registering
groups and "activatable" objects to be activated within those groups.
The ActivationSystem
works closely with the
Activator
, which activates objects registered via the
ActivationSystem
, and the ActivationMonitor
,
which obtains information about active and inactive objects,
and inactive groups.
Activator
,
ActivationMonitor
| Field Summary | |
|---|---|
static int |
SYSTEM_PORT
The port to lookup the activation system. |
| Method Summary | |
|---|---|
ActivationMonitor |
activeGroup(ActivationGroupID id,
ActivationInstantiator group,
long incarnation)
Callback to inform activation system that group is now active. |
ActivationDesc |
getActivationDesc(ActivationID id)
Returns the activation descriptor, for the object with the activation identifier, id . |
ActivationGroupDesc |
getActivationGroupDesc(ActivationGroupID id)
Returns the activation group descriptor, for the group with the activation group identifier, id . |
ActivationGroupID |
registerGroup(ActivationGroupDesc desc)
Register the activation group. |
ActivationID |
registerObject(ActivationDesc desc)
The registerObject method is used to register an
activation descriptor, desc , and obtain an
activation identifier for a activatable remote object. |
ActivationDesc |
setActivationDesc(ActivationID id,
ActivationDesc desc)
Set the activation descriptor, desc for the object with
the activation identifier, id . |
ActivationGroupDesc |
setActivationGroupDesc(ActivationGroupID id,
ActivationGroupDesc desc)
Set the activation group descriptor, desc for the object
with the activation group identifier, id . |
void |
shutdown()
Shutdown the activation system. |
void |
unregisterGroup(ActivationGroupID id)
Remove the activation group. |
void |
unregisterObject(ActivationID id)
Remove the activation id and associated descriptor previously registered with the ActivationSystem ; the object
can no longer be activated via the object's activation id. |
| Field Detail |
|---|
static final int SYSTEM_PORT
| Method Detail |
|---|
ActivationID registerObject(ActivationDesc desc) throws ActivationException, UnknownGroupException, RemoteException
registerObject
method is used to register an
activation descriptor, desc
, and obtain an
activation identifier for a activatable remote object. The
ActivationSystem
creates an
ActivationID
(a activation identifier) for the
object specified by the descriptor, desc
, and
records, in stable storage, the activation descriptor and its
associated identifier for later use. When the Activator
receives an activate
request for a specific identifier, it
looks up the activation descriptor (registered previously) for
the specified identifier and uses that information to activate
the object.
desc
- the object's activation descriptor
ActivationException
- if registration fails (e.g., database
update failure, etc).
UnknownGroupException
- if group referred to in
desc
is not registered with this system
RemoteException
- if remote call failsvoid unregisterObject(ActivationID id) throws ActivationException, UnknownObjectException, RemoteException
ActivationSystem
; the object
can no longer be activated via the object's activation id.
id
- the object's activation id (from previous registration)
ActivationException
- if unregister fails (e.g., database
update failure, etc).
UnknownObjectException
- if object is unknown (not registered)
RemoteException
- if remote call failsActivationGroupID registerGroup(ActivationGroupDesc desc) throws ActivationException, RemoteException
ActivationSystem
before objects
can be registered within that group.
desc
- the group's descriptor
ActivationException
- if group registration fails
RemoteException
- if remote call failsActivationMonitor activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation) throws UnknownGroupException, ActivationException, RemoteException
ActivationGroup.createGroup
method to inform
the ActivationSystem
that the group is now
active.
id
- the activation group's identifiergroup
- the group's instantiatorincarnation
- the group's incarnation number
UnknownGroupException
- if group is not registered
ActivationException
- if a group for the specified
id
is already active and that group is not equal
to the specified group
or that group has a different
incarnation
than the specified group
RemoteException
- if remote call failsvoid unregisterGroup(ActivationGroupID id) throws ActivationException, UnknownGroupException, RemoteException
id
- the activation group's identifier
ActivationException
- if unregister fails (e.g., database
update failure, etc).
UnknownGroupException
- if group is not registered
RemoteException
- if remote call failsvoid shutdown() throws RemoteException
RemoteException
- if failed to contact/shutdown the activation
daemonActivationDesc setActivationDesc(ActivationID id, ActivationDesc desc) throws ActivationException, UnknownObjectException, UnknownGroupException, RemoteException
desc
for the object with
the activation identifier, id
. The change will take
effect upon subsequent activation of the object.
id
- the activation identifier for the activatable objectdesc
- the activation descriptor for the activatable object
UnknownGroupException
- the group associated with
desc
is not a registered group
UnknownObjectException
- the activation id
is not registered
ActivationException
- for general failure (e.g., unable
to update log)
RemoteException
- if remote call failsgetActivationDesc(java.rmi.activation.ActivationID)
ActivationGroupDesc setActivationGroupDesc(ActivationGroupID id, ActivationGroupDesc desc) throws ActivationException, UnknownGroupException, RemoteException
desc
for the object
with the activation group identifier, id
. The change will
take effect upon subsequent activation of the group.
id
- the activation group identifier for the activation groupdesc
- the activation group descriptor for the activation group
UnknownGroupException
- the group associated with
id
is not a registered group
ActivationException
- for general failure (e.g., unable
to update log)
RemoteException
- if remote call failsgetActivationGroupDesc(java.rmi.activation.ActivationGroupID)
ActivationDesc getActivationDesc(ActivationID id) throws ActivationException, UnknownObjectException, RemoteException
id
.
id
- the activation identifier for the activatable object
UnknownObjectException
- if id
is not registered
ActivationException
- for general failure
RemoteException
- if remote call failssetActivationDesc(java.rmi.activation.ActivationID, java.rmi.activation.ActivationDesc)
ActivationGroupDesc getActivationGroupDesc(ActivationGroupID id) throws ActivationException, UnknownGroupException, RemoteException
id
.
id
- the activation group identifier for the group
UnknownGroupException
- if id
is not registered
ActivationException
- for general failure
RemoteException
- if remote call failssetActivationGroupDesc(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationGroupDesc)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


A sandbox framework to fast-prototype pixel-based games.
Pixelbox is inspired by retro-computers and projects like PICO8 or Pixel Vision 8
Install
npm install -g pixelbox
Use
Inside your new game project directory:
pixelbox
Pixelbox create a local server on port 3000 where your game is made available.
Just go to http://localhost:3000/
with your web browser.
The application is rebuilt everytime you refresh the page in the browser.
At the first startup, pixelbox will create a set of files and directories:
assets/
├── spritesheet.png
└── maps.json
audio/
build/
src/
└── main.js
tools/
node_modules/
settings.json
index.html
assets/
is where you put your game assets files (images, text files, JSON)audio/
is where you put sounds and musicsrc/
is the source folder, andmain.js
is the entry file of the game.
Programming with pixelbox
Pixelbox provides:
- a main screen canvas in which you can
print
text,draw
sprites, etc. - a transparent asset loader
- a keyboard inputs manager
- an audio manager with transparent loading system
- an automatic builder
- some customizable tools to create and edit your game assets (tile map, sprites)
pixelbox is also built-in with the following libraries and modules:
tina.js
tweening and animation libraryEventEmitter
API compatible port of Node.js' EventEmitter to the browserinherits
inheritance utility function
Program structure
The game entry point is the src/main.js
file.
If you provide a exports.update
function, pixelbox will call it every frame.
Build is made using browserify which give you access
to require
and exports
to easily modularize your project.
The project is automaticaly rebuilt everytime you refresh the game page in your
web browser.
Assets
Pixebox load all assets for you at startup.
All supported files you put inside the assets/
directory will in an object assets
.
The structure follow the structure of the directory. For instance, the file
file located in assets/sprites/player.png
will be accessible with
assets.sprites.player
.
Supported files includes:
- images (
.png
,.jpg
) - plain text files (
.txt
) - JSON formatted data (
.json
)
You directly have access to JSON content.
Because files are loaded inside assets
object and refered wthout their extension,
you cannot have a file and a directory with the same name inside the same directory.
Pixelbox API
Pixelbox expose the following methods directly on the global scope:
Graphics
cls()
clear screen with paper colorsprite(n, x, y [,flipH [,flipV [, flipR]]])
draw sprite numbern
on screen at pixel position(x, y)
.flipH
andflipV
can be used to flip sprite horizontally or vertically,flipR
adds a 90 degree clockwize rotation.draw(image, x, y [,flipH [,flipV [, flipR]]])
draw an Image, Texture or Map (tile map) on screen at pixel position(x, y)
spritesheet(image)
change image used as default spritesheetrect(x, y, w, h)
stroke a rectangle with pen colorrectfill(x, y, w, h)
fill a rectangle with paper colorcamera(x, y)
scroll add further drawing by provided position
Text
Pixelbox has a predefined bitmap font that you can use to print text on screen or in textures.
print(text, [x, y])
if x, y is provided, print text at pixel position (x, y). else print text at cursor current position.println(text)
print text and feed new line. When cursor reach the bottom of the screen, a vertical scroll is applied (just like it would happend in a terminal.)locate(i, j)
set cursor position at column i line jpen(colorId)
set text color to colorId in color palettepaper(colorId)
set paper color to colorId in color palette.
Controls
btn
state of the buttons. available buttons are:up
,down
,left
,right
,A
,B
btnp
if button has been pressed in current framebtnr
if button has been released in current frame
Sound
sfx('sound');
play the sound.mp3 file inaudio/
foldermusic('bgm');
play the bgm.mp3 file in loop. If another music is already playing, it will fade in and out to the new music. If no soundId is provided, the music stops.AudioManager is the module that handle audio loading and playback. You have access to its instance on
audioManager
.
Utility functions
clip(value, min, max)
clip a value between min and maxchr$(n)
return a character from coden
.random(n)
return a random integer between 0 and ninherits(Child, Parent)
make class Child inherits from class Parent
Pixelbox components
Texture
Texture is a basically a wrapper of an HTML canvas element that adds functionalities for Pixelbox rendering.
The main screen (accessible by the global variable $screen
) is an instance of Texture and most of its methods
are accessible from the global scope.
To create new texture, you need to require the Texture
module:
var Texture = require('Texture');
var texture = new Texture(128, 128); // create a new texture of 128 by 128 pixels
Texture settings
texture.resize(width, height);
texture.setPalette(palette);
texture.pen(colorIndex); // set PEN color index from palette (pen is used for text and stroke)
texture.paper(colorIndex); // set PAPER color index from palette (paper is used for fill)
texture.setSpritesheet(spritesheet); // set spritesheet used for this texture
A spritesheet is an Image containing 256 sprites organized in a 16 x 16 grid (the size of the spritesheet depend of the sprite size you set for your game).
Rendering
texture.clear(); // clear texture (it become transparent)
texture.cls(); // clear screen (the whole texture is filled with the PAPER color)
texture.sprite(sprite, x, y, flipH, flipV, flipR); // draw a sprite from current spritesheet in the texture
texture.draw((img, x, y, flipH, flipV, flipR); // draw an image in texture. img can also be another Texture or a Map
texture.rect(x, y, width, height); // stroke a rectangle
texture.rectfill(x, y, width, height); // fill a rectangle
Printing text
texture.locate(i, j); // set text cursor to specified location
texture.print(text, x, y); // print some text
texture.println(text); // print some text and feed a new line
Maps
Pixelbox has a built-in Map
(tile map) component.
A Map consist of:
- A name
- A spritesheet. When the spritesheet is changed, the whole map will be redrawn with the new spritesheet.
- A grid of sprites from the spritesheet plus few flags to flip or rotate sprites.
Once created, a map is rendered in one draw call only.
Map can be used to reder a level made of sprites, or just to store game data.
You can create maps from your game code; But usually, you will be using Pixelbox's
tools (see the Tools section bellow) to create and manage your maps as game assets.
A map can then be retrived by its name with Pixelbox's getMap
function.
The map can then be drawn on screen (or in another Texture), modified, copied, pasted, resized, etc.
When stored in assets, the map is compressed to Pixelbox format to reduce file size.
Get map
var map = getMap('mapName'); // get a map by its name
To create new maps, you need to require the Map
module:
var Map = require('Map');
var map = new Map(16, 16); // create a new map of 16 by 16 tiles
Draw map
map.draw(x, y); // draw map on screen at [x, y] position
draw(map, x, y); // idem, using the global draw function
texture.draw(map, x, y); // draw a map in another texture
map.setSpritesheet(spritesheet); // set spritesheet to use for this map. The whole map is redrawn when calling this function.
Access map content
map.get(x, y); // returns the MapItem at position [x, y]. null if empty
map.set(x, y, sprite, flipH, flipV, flipR, flagA, flagB); // add a sprite
map.remove(x, y); // remove sprite at position [x, y]. (set it to null)
map.find(sprite, flagA, flagB); // find all items with specified properties
Modifying maps
map.resize(width, height); // resize the map (size unit is tiles)
map.clear(); // Reset the whole map content by setting all its items to null
var mapCopy = map.copy(x, y, width, height); // copy this map to a new one.
// x, y, width, height can be specified to copy only a rectangular part of the map.
map.paste(mapCopy, x, y, merge); // paste map data in the map at position offset [x, y].
// if 'merge' flag is set, then null tiles will not overwrite current map tile.
Gamepad
The gamepad
module allow easy access to gamepads if the browser supports it.
getGamepads(); // get all gamepads state
getGamepad(id); // get gamepad state
getAnyGamepad(); // Merge states of all gamepads and return a global gamepad state.
the gamepad state returned by these function works like keyboard controls: You get the state of each buttons, button presses and button release, plus the values of analog controls.
var gamepad = require('gamepad'); // require the gamepad module
var state = gamepad.getGamepad(0); // get state of gamepad id 0
// buttons:
state.btn.A; // state of A button
state.btn.B; // state of B button
state.btn.X; // state of X button
state.btn.Y; // state of Y button
state.btn.start; // state of 'start' button
state.btn.back; // state of 'back' button
state.btn.up; // directionnal pad's up button
state.btn.down; // directionnal pad's down button
state.btn.left; // directionnal pad's left button
state.btn.right; // directionnal pad's right button
state.btn.lb; // left bumper button
state.btn.rb; // right bumper button
state.btn.lt; // left trigger button
state.btn.rt; // right trigger button
// button press and release.
// the structure is the same as state.btn but the values are true only
// on button press or release.
state.btnp; // button press
state.btnr; // button release
// analog values
state.x // x axe value (first stick horizontal)
state.y // y axe value (first stick vertical)
state.z // z axe value (second stick horizontal)
state.w // w axe value (second stick vertical)
state.lt // left trigger analog value
state.rt // right trigger analog value
Tools
Tools are accessible at http://localhost:3000/tools/
Assets browser
Displays assets and maps in a tree view.
Map editor window
- Draw sprites with the mouse.
- Hold
Shift
to erase. - Hold
Alt
to scroll inside the map.
Spritesheet window
display the spritesheet used by the map currently edited in the Map editor
window.
Spritesheet is saved with the map. When a map is loaded, the spritesheet will be updated accordingly.
Images from Assets browser
window can be drag and droped in the Spritesheet
window.
From this window, you can select the sprite and its transformations flags to be used when editing the map.
Custom tools
You can program your custom tools to be used inside the tools interface.
Custom tool scripts goes in the tools
folder and will appears in the Custom tools
window.
see pixelbox-utilities for code examples of custom tools.
Deployment
When your game is ready, the files you should deploy are:
assets
, audio
and build
folders along with the index.html
file.
Settings
settings.json
file let you change pixelbox parameters:
- sprite size. default is 8x8 pixels
- pixel size. default is 4x4 pixels
- canvas screen size. default is 128x128 pixels
- color palette.


module Button:sig
..end
Button widget with text or icon.
type
t
type
kind =
| |
Trigger |
| |
Switch |
val create : ?size:int ->
?border_radius:int ->
?border_color:Draw.color ->
?fg:Draw.color ->
?bg_on:Style.background ->
?bg_off:Style.background ->
?bg_over:Style.background option ->
?label:Label.t ->
?label_on:Label.t ->
?label_off:Label.t ->
?state:bool ->
?action:(bool -> unit) -> kind -> string -> t
The action
parameter is executed (with the current button state as
argument) just after the button state is modified by mouse clicking or
keyboard (on button up or key up). In order to execute an action that
depends on the button itself, use Widget.on_button_release
instead.
val state : t -> bool
val reset : t -> unit
val is_pressed : t -> bool