Hiya there. I know some stuff about the Windows32 API, and that it's the way to make GUI's on Windows. The good thing is that I'm not interested in Windows development as a main thing, rather just to port Linux applications to Windows/Mac. I have heard of two main GUI libraries - QT and GTK+. I'd like to know which one is better, which one is easier to learn, and which one you'd advice me to learn first. A link to a good tutorial would be appreciative too.
At least I got a response, but could you link to a good tutorial for it? And please specify, does it work for Linux and Windows? MacOSX is a plus, but not at all necessary.
Between QT and GTK+ is only few real differences.
1) License, you cann't use QT for commercial work for free. You mast pay to Nokia. But if your programs are free use as much as you want.
2) Here are a lot of books about QT, but here aren't a lot of books about GTK+.
I used a little bit of QT a while ago. The API seemed almost as odd as the Windows32 one, and don't users need QT installed to use it?
Hm, I was hoping to be able to make a little bit of money down the road, and if I had to pay, I probably wouldn't make very much money. Can you link to good tutorials for GTK+?
1) License, you cann't use QT for commercial work for free. You mast pay to Nokia. But if your programs are free use as much as you want.
This is not true.
QT has a commercial license AND a LGPL license product.
The LGPL license basically means that you can use QT in your commercial product, but you cannot say you wrote it, modify it, you have to dynamically link to it and you have to provide a copy of the LGPL licence along with it.
In practice this means you can perfectly well use it in commercial products, if you respect certain conditions within the LGPL.
If you google "QT vs GTK+" you will get quite a few comparisons.
Most seem to favour QT and now that it's been taken over by Digia hopes are that it will be ported to iOS (iphone / ipad) soon, making it the most supported cross platform framework.
Not an expert here but you might consider wxwidgets. As far as I know it is a portable (platform independent) toolkit that uses QT or GTK+ to implement things on the lower level. Or you might try JavaFX, I heard it is a replacement for the old Swing. Both are high level and object oriented thus easy to use and maintain.
Is it really possible to make GUI in WIn32 API? It sounds rather uncomfortable.
It seems that nobody said about wxWidgets, which is a very powerful cross-platform toolkit: http://www.wxwidgets.org/
It is my favourite toolkit because it creates much smaller executables compared with Qt (it also compiles very fast, if you ever want to compile Qt from sources it takes hours, multiply this with every debug - release combination) and it has very populated forums and extensive documentation.
Thanks for all the information.
Slazer, I'm not interested in Java at all. I'll learn it when I have to take AP Computer Programming. :) Yes it is possible to make a GUI with Win32 API. A lot of people do it. And being able to do it shows something about the programmer.
It means they are a bad programmer.
Modoran, I'll look into wxwidgets. Is it possible to mix wxwidgets, QT, and GTK+ all together? I'm the least interested in QT, having tried using a little bit of it a long time ago, but having the option would be nice.
Modoran, I'll look into wxwidgets. Is it possible to mix wxwidgets, QT, and GTK+ all together? I'm the least interested in QT, having tried using a little bit of it a long time ago, but having the option would be nice.
It should be possible (I never tried), but it could have issues even if it works, like very huge depedencies which must be present at runtime.
For GTK+ there is Glade, a GUI designer.
For Qt there is Qt-designer.
They generate C code but I remember having read they also have C++ support. Never used any of them though.
Hamm yeah, because Juce is not that much advertising and kind a new too.
But It is really good , believe me, It's very simple to use, based on inheritance and very powerful toolkit to build GUI for audio video kind of things....


Star Wars Jedi: Fallen Order PC patch fixes longer than expected load times
by Sherif SaedStar Wars Jedi: Fallen Order’s first patch is here.
Respawn has released the first post-launch update for Star Wars Jedi: Fallen Order. Available only on PC for now, a similar patch will soon arrive on PS4 and Xbox One.
This initial update isn’t massive, so don’t expect major fixes to the biggest-ticket items. The most interesting patch note in this one is a fix to address a problem that would sometimes cause slowdowns and extended loading times.
The dynamic resolution option, which some noted can be inconsistent, was apparently turning itself off. The update should make whatever setting you picked for it stick.
Read on below for the full change log:
- We’ve fixed a texture flickering issue that would display on the screen while driving the AT-AT on Kashyyyk.
- Sometimes the input from the arrow keys would fail to respond within menus, this has now been fixed.
- Dynamic resolution settings will now save properly.
- Fixed an issued where the game could become slow and loading times longer than expected.
Catch up on our full guides for Tomb of Eilram and Tomb of Miktrull if you haven’t already.
Games featured in this article


Please wait a moment while we process your entry.
{{#if errorMessage}} {{errorMessage}} {{else}} Enter your new password and we'll log you in! {{/if}}


Launch the CloudFormation template that creates the Pipeline in your account.
Lets dive into the template file located in ./pipeline/basic-pipeline.yaml
. This CloudFormation templates builds a pipeline for a sample WordPress site in a stack. The pipeline is separated into four stages. Each stage must contain at least one action, which is a task the pipeline performs on your artifacts (your input). A stage organizes actions in a pipeline. CodePipeline must complete all actions in a stage before the stage processes new artifacts, for example, if you submitted new input to rerun the pipeline.
The pipeline that performs the following workflow:
The first stage of the pipeline retrieves a source artifact (an AWS CloudFormation template) from a repository. You’ll prepare an artifact that includes a sample WordPress template and upload it to an S3 bucket.
In the second stage, the pipeline performs a series of validation tests to the AWS CloudFormation template. These include cfn-validate-template, cfn_nag and taskcat, and then the pipeline continues to the next stage.
In the third stage, the pipeline creates a test stack and then waits for your approval. After you review the test stack, you can choose to continue with the original pipeline or create and submit another artifact to make changes. If you approve, this stage deletes the test stack, and then the pipeline continues to the next stage.
In the fourth stage, the pipeline creates a change set against a production stack, and then waits for your approval. In your initial run, you won’t have a production stack. The change set shows you all of the resources that AWS CloudFormation will create. If you approve, this stage executes the change set and builds your production stack.
Open DevSecOps-Wordpress on the CodePipeline console. It looks something like this:
Why did the stack failed to run? Click on the details button of the Package Export
action, and link to the execution details to look at the build logs.
One of the validation tests failed. The output logs the following message:
An error occurred (ValidationError) when calling the ValidateTemplate operation: [/Parameters/InstanceType/Default] 'null' values are not allowed in templates
We are now deploying the template in ./wordpress/wordpress-single-instance.yaml
. Can you find the error on the template?


Thank you for registering employee profile. You can now schedule appointment(s) for this employee. Click here to go back.


http://glimmerhub.com/weather/image/lat/42.36/lon/-71.06/title/Boston%20Forecast
http://glimmerhub/baseball/image/team/BOS
Replace “BOS” with any other MLB team abbreviation


!= includeCssDependencies(); ?>
!= include('html/ModalCreation/Stylesheet'); ?>
!= includeJsDependencies(); ?>
!= include('filters/CurrencySymbol'); ?>
!= includeJson('properties', properties); ?>
!= includeJson('datalists', entityUniqueProperties); ?>
!= include('store/Store'); ?>
!= includeComponent('Creation/CreationSearch'); ?>
!= includeComponent('Creation/CreationRecord'); ?>
!= includeComponent('Creation/CreationImage'); ?>
!= include('html/ModalCreation/App'); ?>


|
|
bool | Execute (ClipType clipType, Polygons &solution, PolyFillType subjFillType=pftEvenOdd, PolyFillType clipFillType=pftEvenOdd) |
| |
|
bool | Execute (ClipType clipType, PolyTree &polytree, PolyFillType subjFillType=pftEvenOdd, PolyFillType clipFillType=pftEvenOdd) |
| |
|
void | Clear () |
| |
|
bool | ReverseSolution () |
| |
|
void | ReverseSolution (bool value) |
| |
|
bool | AddPolygon (const Polygon &pg, PolyType polyType) |
| |
|
bool | AddPolygons (const Polygons &ppg, PolyType polyType) |
| |
|
IntRect | GetBounds () |
| |
|
|
void | Reset () |
| |
|
virtual bool | ExecuteInternal () |
| |
|
void | DisposeLocalMinimaList () |
| |
|
TEdge * | AddBoundsToLML (TEdge *e) |
| |
|
void | PopLocalMinima () |
| |
|
void | InsertLocalMinima (LocalMinima *newLm) |
| |
The documentation for this class was generated from the following files:


The journey towards discovering people: Why I love qualitative research
Walking down the corridor of a dark, mysterious medical centre to find the empty waiting room on a cold January evening, I had many burning questions ready and waiting to jump from my notepad that...
[Read More]


--- layout: post title: Borders date: 2015-01-28 06:54:14.000000000 -08:00 type: post background: '/img/posts/bg.jpg' parent_id: '0' published: true password: '' status: publish categories: - travel tags: [] meta: _edit_last: '2' _thumbnail_id: '1013' permalink: "/travel/borders/" ---
I miss being an international traveler on a shoe-string budget deep in the thick of it, every moment heavy with novelty. This identity shift rubs at me, like a stiff clothing tag, an itch scratched by looking up AirBNB rooms and flights to exotic locales. There's also that unfulfilled adventure of my snail home stuck in the mud.
This week+ has been characterized by clarity of boundaries. Of my personal rules, mostly agreed upon by others, being asked and reciprocated. I speak very obtusely about romantic relationships and business relationships. How a clear definition allows for freer movement, simpler decision-making, on everyone's part. For the most part.
What I do know is that I'm decidedly and happily single and busy as **** with my business. With my job, it always feels like I'm dangling off of some unknown edge, desperately trying to learn everything I need to to get it done. This is very similar to my plumbing and other issues with the trailer.
Coming back to Portland has been thus far characterized as overwhelming, underwhelming, and just plain busy. There's no end to that in sight. Glad it's bedtime.


otter API module. Use the API in this module to interact with
the otter
application.
The module covers 3 APIs. The Span API
, Snapshot/Count API
and
Config API
.
The module exposes the functional span API.
These API calls allow you to create and manage spans. These are:
start/1, start/2, start/3
start_with_tags/2, start_with_tags/3, start_with_tags/4
finish/1
ids/1
log/2, log/3
tag/3, tag/4
The API supports pre-filtering of spans with the start_with_tags functions. Pre-filtering is invoked when the span is started with initial tags. The result of the pre filter rules can be an inactive span. Inactive spans do not trigger the rules when finishing the span (i.e. always discarded) and consume somewhat less resources (depending on the API) than gathering active spans.
There are additional span APIs developed for specific use cases to
simplify instrumentations for different code bases. These
are accessible in separate modules.
- simple process dictionary API : otter_span_pdict_api
- multi span process dictionary API : otter_span_mpdict_api
- span id/process API : otter_span_id_api
For further information on these APIs, check the documentation of the
modules
When finish/1
is called then the completed span is
passed to a configurable filter. The filter can check the Span tags
as well as the name and duration of the span and use the information
to decide to send the Span to the trace collector (Zipkin supported)
and/or increase counters based on values of the tags and store the
last Span for the counters. This latter is particularly useful for
troubleshooting e.g. error events when increase of the corresponding
counter is noticed. These snapshots (referred as Snap) and counters
can be retrieved, managed with this API. These are:
counter_list/0
counter_snapshot/1
counter_delete/1
counter_delete_all/0
otter.app`
file as a reference. These are:<br/>
`config_list/0
config_read/1
config_read/2
config_write/2
| config_list/0 | List all defined configuration. |
| config_read/1 | Read a configuration value. |
| config_read/2 | Read a configuration value with default. |
| config_write/2 | Write a configuration value. |
| counter_delete/1 | Delete (reset) a counter. |
| counter_delete_all/0 | Delete (reset) all counters. |
| counter_list/0 | List all the snapshot counters. |
| counter_snapshot/1 | Show the last event snapshot of a counter. |
| finish/1 | Ends an active span and prepares it for potential delivery to the backend based on filtering rules. |
| ids/1 | Returns the trace id and span id for a given span. |
| log/2 | Adds a log message to a span. |
| log/3 | Adds a log message to a span with the specified service information. |
| start/1 | Starts a span with the specified name. |
| start/2 | Starts a span with the specified name and parent span or a trace id. |
| start/3 | Starts a child span with the specified name, trace id and parent id. |
| start_with_tags/2 | Starts a span with the specified name and initial tags. |
| start_with_tags/3 | Starts a span with the specified name, initial tags and trace id or a parent span. |
| start_with_tags/4 | Starts a child span with the specified name, trace id and parent id. |
| tag/3 | Adds a tag to a span. |
| tag/4 | Adds a tag to a span with a given service. |
config_list() -> term()
List all defined configuration
config_read(Key::atom()) -> term()
Read a configuration value
config_read(Key::atom(), Default::term()) -> term()
Read a configuration value with default
config_write(Key::atom(), Value::term()) -> ok
Write a configuration value. Note : With the default config implementation this write is not persistent. Update the application environment/config accordingly to persist.
counter_delete(Key::term()) -> ok
Delete (reset) a counter
counter_delete_all() -> ok
Delete (reset) all counters
counter_list() -> [{term(), integer()}]
List all the snapshot counters
counter_snapshot(Key::term()) -> term()
Show the last event snapshot of a counter
finish(Span::span()) -> ok
Ends an active span and prepares it for potential delivery to the backend based on filtering rules.
ids(Span::span()) -> {trace_id(), span_id()}
Returns the trace id and span id for a given span.
Adds a log message to a span. If the span is not active, the tag is not added.
Adds a log message to a span with the specified service information. If the span is not active, the tag is not added.
Starts a span with the specified name. Automatically generates a trace id.
Starts a span with the specified name and parent span or a trace id
Starts a child span with the specified name, trace id and parent id
start_with_tags(Name, Tags) -> any()
Starts a span with the specified name and initial tags. Automatically generates a trace id and invokes pre filtering.
Starts a span with the specified name, initial tags and trace id or a parent span
start_with_tags(Name::info(), Tags::[tag()], TraceId::trace_id(), ParentId::span_id()) -> span()
Starts a child span with the specified name, trace id and parent id
Adds a tag to a span. If the tag already exists, its value will be overwritten.
Adds a tag to a span with a given service. If the tag already exists, its value will be overwritten.
Generated by EDoc, May 26 2017, 16:15:30.


Porticode Project
Send Phu
Gallery
Send Legends
Welcome to Phu Legends
A blockchain based trading card game
Current Money:
1500 Phu
Address
Value
Send!
>
Owned Legends
Collection
King Phu I
King Phu II
King Phu III
King Phu IV
Select Legend
King Phu I
King Phu II
King Phu III
King Phu IV
to
Address
Send!
Create One!


{% extends "layout.html" %} {% block content %} {% set currentPage = 'job' %} {% include "includes/main_nav.html" %} Application status Is this person currently in receipt of JSA/ESA/IS? Yes No Continue Continue {% endblock %}


mission and vision
mission
To provide high-quality, compassionate home care that supports the physical and emotional wellbeing of our clients, empowering them to lead dignified and independent lives in the comfort of their own homes.
vision
To be the best choice for home care in the Baltimore Washington area by continuing to support our clients’ wellbeing with compassion, hospitality, and respect, and continuing to grow our network of experienced home care professionals. To inspire individuals and families with our kindness, professionalism and care so that they can feel supported during challenging times in their lives.
values
We bring the care to home care.
C – Compassion
Our caregivers serve you with passion and empathy. Our caregivers are happy to see you. Our caregivers consider and understand what your life experience is like and how you might be feeling. This compassion is integral to providing the best service. We are all human — and our caregivers bring equal parts skill and humanity to their roles.
A – Action
We take action to assist our clients. Our role is not about sitting back. Our work is about stepping up. Doing. Helping. Supporting. Being steadfast. You can count on us for reliable, professional action in supporting healthier, morecomfortable, more independent lives for our clients.
R – Respect
Life is a journey. We are all at different stages. But one thing we can all have in common is respect for one another. We believe that respect is the foundation for a strong relationship and a positive outcome. Our caregivers serve you with respect.
E – Excellence
We are driven to consistently achieve the highest standards of excellence with every client, and in every interaction.


Open Source Project
What is an open-source code repository? The answer includes a great many things. For our project, I will require that your project consist of a library of code, meaning a collection of tools that others (potentially outside of the class) may wish to add/use in their work.Metrics
- The rubric that I will use you assess your project will make the following considerations, in somewhat similar weight.
-
Usefulness:
Your library should consist code that other people want to utilize, improve upon, and learn from. Thus, it shouldn’t be the code that powers a web app or contain only a collection of creative text, because it is unlikely that such a repository will be of much use to anyone. -
Novelty:
Does your project fill a hole in the software landscape? What are you trying to accomplish with this library, and how is it different from those repositories that accomplish similar tasks? -
Coherence/Organization:
Does your repository contain all of the content typically associated with an open source project? Is it well-thought-out, with a coherent folder structure and understandable purpose and direction? -
Documentation:
Can a new user of your library get up-to-speed quickly on how to use it? Does a potential contributor know how to effectively make a contribution? -
Completeness:
Does the project feel like it is in a complete and functional state, even if there is a great deal of desired work for the future? -
Future:
Do you have a desired future direction for your project? This can, of course, include primarily maintenance and implementation of relevant features corresponding to related work (for example, if you are making a library in Python, updating the codebase upon new releases of Python itself). -
Collaboration:
If you received pull requests, do you address them? Do you help others contribute to your work, and do you encourage it both vocally (including in class as well as potentially online) and through your documentation? -
Community:
Your work on others projects is also an important factor, especially (but not limited to) during “Other’s Project Week”.
Keep in Mind
- You have a limited amount of time to work on it: approximately 30 hours, provided you work effectively in class and for the amount of time outlined in the Blue Book for coursework. Thus, you should choose a task that can reach a complete state within that time. That doesn’t necessarily mean the entire life’s goal of the project has to be completed, but it does need to reach a usable state.
- Your library may, with approval from me, be built upon another library. For example, you could add a new feature to the Linux kernel, in theory, or to Mozilla Firefox, or even to another classmate’s project (hence a group project is possible, in a way. However, the core collection of features in your project will still be subject to the above, especially in terms of Novelty and Usefulness, but in terms of everything else as well. Thus, your library can be an entirely novel feature to an established open-source library, or it can be a group project with minimal overlap between student’s classwork.
Submissions
- Apart from the actual repository itself, on Github (including all issues and pull requests), I will also ask you to submit a short report describing each of the bullets in Metrics above. Tell me why you think you’ve accomplished what was asked of you in each category. Feel free to link to examples.
Daily Commits
- Each day that you work on the project, you should commit your work. I should be able to go back to a particular day’s work and see what you did that day. In order to facilitate this, your commit message at the end of each class period and/or evening work toward the project should contain the following header: Daily Commit 01/21/2018
/* The actual commit message, including potentially things from
previous commits during the day, to summarize the day. */


Dispatch Sender Node.js Library
The Dispatch Sender Node library provides convenient access to the Dispatch Sender API for applications written in server-side JavaScript. Detailed documentation can be found here.
Installation
Install the package with:
npm install dispatch-node --save
Usage
The package needs to be configured with your account's API Key, which is available in the Dispatch Dashboard.
const Dispatch = require("dispatch-node");
const dispatch = new Dispatch("key_EHKD5tbatzX59DArnTBjhr46G5n1f4aJkvwPByft");
dispatch.deliveries
.list()
.then((response) => console.log(response.data))
.catch((error) => console.error(error));
Using Promises
Every method returns a chainable promise which can be used instead of a regular callback:
// Create a new delivery and then select the cheapest rate to purchase
const sender = {
name: "Dispatch Roasters",
email<EMAIL_ADDRESS>phone: "4844836699",
location_id: "loc_1uzCQL4cTjjw3vRfE2qYk1",
};
const recipient = {
name: "Jamie Jones",
email<EMAIL_ADDRESS>phone: "4844836699",
address: {
address_line1: "500 7th Ave",
city: "New York",
state: "NY",
zipcode: "10018",
},
};
const parcel = {
length: 10, // inches
width: 10, // inches
height: 10, // inches
weight: 5.5, // pounds
item_description: "Coffee", //optional
special_handling: "Fragile", //optional
};
//options are completely optional. You can omit the whole object
//or any properties from the object
const options = {
checkout_total: 5000, //$50.00
verify_address: false,
metadata: {
my_custom_id: "123456789",
},
};
dispatch.deliveries
.create(sender, recipient, [parcel], options) //parcel is passed in an array since you can pass multiple parcels as part of one delivery
.then((response) => {
const delivery = response.data;
//your logic to select the rate you want.
//you could have a customer select it or
//you can filter by price or service level
//in this example, we're selecting the first rate
const rate = delivery.rates[0];
return dispatch.deliveries.buy(delivery.id, rate.id);
})
.then((response) => {
//new delivery was created
})
.catch((err) => {
//deal with the error
});
Delivery Lifecycle
The label generation process is a multi-step process and understanding how this works will make using the API much easier.
-
A request is made using the
sender
,recipient
, andparcels
fields. Here we are creating a delivery with all of the possible rates from any providers you have enabled on your dashboard. -
During this step, the rates are held for 15 minutes. If no rate is purchased during this interval, the delivery will expire. You can of course create a new delivery in this case.
-
Within these 15 minutes, you can now select one of these rates to buy. The selection process is entirely based on your business logic like displaying options to customers or having your backend decide the best option.
-
Once the transaction has gone through, the delivery will be populated with the label image url and all other properties you need for tracking.
-
At this point, if you have made a mistake, you are able to request a refund for a shipping label. You have up to 14 days to request a refund for a traditional carrier. For on-demand couriers, you'll have a 5 minute time window to request a refund.
Webhooks
From the Dispatch Dashboard you can configure webhooks. There are several webhook statuses you can choose from. Our webhooks expect a response with a status code of 200
within 5 seconds. This should be enough time to process the data and respond back to us. If we do not receive a response back from you within 5 seconds, we'll retry the webhook a second time after waiting for 3 seconds.
Our webhooks will attempt to POST
to your endpoint.
| Event | Description |
|---|---|
| delivery_created | This will fire when the delivery intent was created. This is before the purchase was made |
| delivery_canceled | This will fire after a delivery was canceled. This is usually due to a refund |
| delivery_purchased | This webhook will fire after a delivery intent is successfully captured |
| tracking_updated | This webhook will fire when there are any tracking updates to the package. The tracking updated webhook does not fire when the initial delivery intent is created or purchased. |
Each webhook will contain the entire Delivery object. Most often, you're probably interested in the tracking_updates
property which is an ordered array of Tracker objects or the tracking_status
property which is the current Tracker object.
Package Statuses
Dispatch packages have two "statuses": the status
and substatus
. The status
describes the general concept of what is happening to the package, and the substatus gives you more detail about the package. For example, the status
could be in_transit
but the substatus will give you details about the transit like out_for_delivery
. Internally at Dispatch, we use the substatus
field more often. The status
and substatus
can be found on the Delivery object and the Tracker object.
Below is the list of statuses that we support. Keep in mind that the Tracker object will always have a human readable message that you can display.
As we are in beta, there is a chance that some of these statuses will change before we hit V1.
| status | substatus | is_issue | description |
|---|---|---|---|
pre_transit |
created |
false | Package was created |
transit |
address_issue |
true | Issue with the address |
transit |
courier_at_sender |
false | Courier arrived to pickup up the package |
transit |
contact_courier |
true | Courier needs to be contacted |
transit |
delayed |
true | Package will not get there on time |
transit |
delivery_attempted |
true | Delivery attempted but not completed |
transit |
delivery_rescheduled |
true | Delivery rescheduled |
transit |
delivery_scheduled |
false | Delivery data scheduled |
transit |
location_inaccessible |
true | Courier could not get to the location |
transit |
out_for_delivery |
false | Package it out for delivery |
transit |
package_accepted |
false | Package was accepted. Taken from sender. |
transit |
package_at_waypoint |
false | Package was accepted by an intermediate location |
transit |
in_transit |
false | Package is in transit |
transit |
pickup_available |
false | Pickup available |
transit |
package_damaged |
true | Package was damaged in transit |
delivered |
delivered |
false | Package was successfully delivered |
returned |
return_to_sender |
true | Package was returned |
failed |
package_undeliverable |
true | Package could not be delivered |
failed |
package_lost |
true | Package was lost |
canceled |
canceled |
true | This delivery was canceled. Usually do to a refund |
unknown |
unknown |
true | Dispatch doesn't know what happened |


1.The bike broke down. What should I do?
Call our customer care number - +916232666123 and we’ll help you out. Customer care services are open from 8am to 12am, 7 days a week.
2.What if I return the bike late because the bike broke down? Will I be fined?
Call us and let us know what happened. If the reason is deemed genuine and we verify it from our GPS feedback, you will not be charged any penalties.
3.What happens if the bike has been damaged?
The repair estimate will be provided by our servicing manager. If the estimate is below INR 10,000, the customer has to bear the entire amount while returning the vehicle. However, in case the estimated amount surpasses INR 10,000, limit insurance will be claimed against the vehicle. The customer is liable to pay the estimated amount upfront. Once the insurance amount is received by the company, Rental Riders will add daily rentals to its downtime and refund back the differential amount. Please read our insurance policy for more information.


Gymy w parkach
Wykluczone
Wytypowane
Oops! This map will not work without javascript, so you need to enable it. It won't hurt, I swear on mewtwo's fingers.


About Me
Education
Location
Skills
Universidade Pedagógica - Systems Development Engineering
Location
Maputo, Mozambique
Skills
Coding Javascript + HTML + CSS jQuery Bootstrap W3 Css PHP Codeigniter SQL
Notes
Personal WebPage
Friday, 9th April, 2021 8:00 PM
I (Elon Afonso Massingue) launched the first version of my personal website as a way to show my work to the world.


x
Select a locale :
Start Download !
Compile
Download sketch !
Board
Arduino
Digispark
See this on GitHub <3 !
Hak5 Payloads


Before opening an issue:
When asking general "how to" questions:
When reporting a bug, include:
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
- Reduced test cases and potential fixes using JS Bin
When suggesting a feature, include:
- As much detail as possible for what we should add and why it's important to Bootstrap
- Relevant links to prior art, screenshots, or live demos whenever possible


Who will analyse the log files?
When is logging active?
What is the content of a log message
How long are the log messages useful?
Audit Logs
Debugging Logs
Security Personal
Activities, Errors and Possible Attacks
Years
Developers and Administrators
Hours or Days
Debug Information and Error messages
Always
While searching for errors


When I try to change a Feathers component's skins, why do I always see the default skins?
If you're using a theme, the theme won't pass any skins to a component until the component initializes. This usually happens when the component is added to the stage. If you try to pass skins to the component before it has initialized, the theme may end up replacing them.
There are two primary ways to modify a component's styles when using a theme.
1. Extend the theme
In general, it's considered a best practice to keep all of our skinning code inside the theme. If we want to style a component differently than the default provided by an example theme, we should subclass the theme and create a new style name for that type of component. This is called extending the theme. Once our new style name has been added to the theme, we can reuse it anywhere in our app. This helps us to avoid duplicating code, and we have a cleaner separation between the visual styles and the application logic or game mechanics.
For complete details and code examples, read Extending Feathers themes.
2. Use an AddOnFunctionStyleProvider
for minor tweaks
If we're generally happy with the styles provided by the theme, but we want to make some minor tweaks for one instance of a component, we can use an AddOnFunctionStyleProvider
. This class allows to us call an extra function after the theme has applied its styles.
Let's use an AddOnFunctionStyleProvider
to add an icon to a Button
component:
function setExtraStyles( button ):void
{
button.iconPosition = RelativePosition.TOP;
button.defaultIcon = new Image( texture );
}
var button1:Button = new Button();
button1.label = "Click Me";
button1.styleProvider = new AddOnFunctionStyleProvider( button1.styleProvider, setExtraStyles );
this.addChild( button1 );
In the example above, the button will be styled first by the theme. We made this possible by passing the original value of the styleProvider
property to our new AddOnFunctionStyleProvider
. Next, the AddOnFunctionStyleProvider
will call our setExtraStyles()
function to create the icon and set its position.


http://lukyvj.github.io/fifty-shades-of/#F00000
The project Fifty shades of <color> use jQuery & a wonderful script of Tim Pietrusky, called _select.
Licensed under Apache 2.0
This tool is a joke, and was inspired by the title of the book "Fifty shades of Grey" by E. L. James.


Join the Community
First Name
Last Name
Username
Location
Pick a Location
Old Town
Mwakirunge
Kibokoni
Majengo
Email
Phone
National Id
Password
Register


BLAST results files must be in tabular format (e.g., outfmt 6). For each BLAST results file, the single top hit (sorted by ascending evalue, then descending bitscore) will be extracted from the BLAST database and written to `out_dir`.
extract_blast_hits(blast_results_dir, blast_results_pattern, blast_cols = c("qseqid", "sseqid", "pident", "length", "mismatch", "gapopen", "qstart", "qend", "sstart", "send", "evalue", "bitscore"), database_path, out_dir, out_ext = "bestmatch.fasta", ...)
| blast_results_dir | Path to folder containing BLAST results files. |
|---|---|
| blast_results_pattern | Optional; pattern used for matching with grep. Only files with names matching the pattern will be used to extract top blast hits. |
| blast_cols | Character vector; column names of BLAST results. See https://www.ncbi.nlm.nih.gov/books/NBK279684/ (Table C1) for details. Must include at least 'sseqid', 'evalue', and 'bitscore'. Defaults to standard columns for output format 6. |
| database_path | Path to the BLAST database, including the database name. |
| out_dir | Path to folder to write results. |
| out_ext | File extension used when writing out top BLAST hit. |
| ... | Additional other arguments. Not used by this function,
but meant to be used by |
TRUE when runs successfully; externally, the top blast hit for each fasta result will be written to `out_dir`.
library(ape) # Make temp dir for storing files temp_dir <- fs::dir_create(fs::path(tempdir(), "baitfindR_example")) # Write out ape::woodmouse dataset as DNA data(woodmouse) ape::write.FASTA(woodmouse, fs::path(temp_dir, "woodmouse.fasta")) ape::write.FASTA(woodmouse, fs::path(temp_dir, "woodmouse2.fasta")) # Make blast database build_blast_db( fs::path(temp_dir, "woodmouse.fasta"), db_type = "nucl", out_name = "wood", parse_seqids = TRUE, wd = temp_dir)#> #> #> Building a new DB, current time: 05/15/2019 16:40:43 #> New DB name: /tmp/RtmpeNC9nF/baitfindR_example/wood #> New DB title: /tmp/RtmpeNC9nF/baitfindR_example/woodmouse.fasta #> Sequence type: Nucleotide #> Keep MBits: T #> Maximum file size:<PHONE_NUMBER>B #> Adding sequences from FASTA; added 15 sequences in 0.0116849 seconds.#> $status #> [1] 0 #> #> $stdout #> [1] "\n\nBuilding a new DB, current time: 05/15/2019 16:40:43\nNew DB name: /tmp/RtmpeNC9nF/baitfindR_example/wood\nNew DB title: /tmp/RtmpeNC9nF/baitfindR_example/woodmouse.fasta\nSequence type: Nucleotide\nKeep MBits: T\nMaximum file size:<PHONE_NUMBER>B\nAdding sequences from FASTA; added 15 sequences in 0.0116849 seconds.\n" #> #> $stderr #> [1] "" #> #> $timeout #> [1] FALSE #># Blast the original sequences against the database blast_n_list( fasta_folder = temp_dir, fasta_pattern = "fasta", database_path = fs::path(temp_dir, "wood") )#> [1] "c90963e4b507281024a89cbb54d8074f"# Extract the top BLAST hit for each fasta file. extract_blast_hits( blast_results_dir = temp_dir, blast_results_pattern = "\\.tsv$", database_path = fs::path(temp_dir, "wood"), out_dir = temp_dir )#>#> #>#> col_character(), #> col_character(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double(), #> col_double() #>#> #>#> [1] TRUElist.files(temp_dir)#> [1] "wood.nhr" "wood.nin" #> [3] "wood.nog" "wood.nsd" #> [5] "wood.nsi" "wood.nsq" #> [7] "woodmouse.fasta" "woodmouse.tsv" #> [9] "woodmouse.tsv.bestmatch.fasta" "woodmouse2.fasta" #> [11] "woodmouse2.tsv" "woodmouse2.tsv.bestmatch.fasta"#> 1 DNA sequence in binary format stored in a list. #> #> Sequence length: 965 #> #> Label: #> No306 #> #> Base composition: #> a c g t #> 0.309 0.258 0.125 0.308 #> (Total: 965 bases)


1.2. Error Analysis#
A real number such that 123.45 can be represented as
In this case, 10 is the basis of the decimal system. Computers use base 2 for storing a number which is known as the binary system. For example, for 123.45, we have,
Thus,
Note that,
1.2.1. Binary Machine Numbers#
In the realm of number storage, a real number is represented using a 64-bit expression. The first bit is allocated for the sign of the number (s). The subsequent 11 bits are designated for the exponent (c), while the remaining 52 bits comprise the binary fraction (f), commonly referred to as the mantissa. The following format is employed to showcase each floating-point number.
\(s = 0\), \(c = 1\), and \(f = 0\) produces the smallest normalized positive number that can be represented $\((-1)^0 2^{1 - 1023} (1 + 0 ) = 2^{- 1022} (1 + 0 ) \approx 0.22251 \times 10^{-307}\)$
\(s = 0\), \(c = 2046\), and \(f = 1 - 2^{-52}\) produces the largest normalized positive number that can be represented $\((-1)^0 2^{2046 - 1023} (1 + 1 - 2^{-52} ) = 2^{1023} (2 - 2^{-52} )\approx 0.17977 \times 10^{309}\)$
The underflow happens if numbers are smaller than the following (in magnitude): $\(2^{- 1022} (1 + 0 )\)$ The result of underflow is usually set to zero!
The overflow happens if numbers are smaller than the following (in magnitude): $\(2^{1023} (2 - 2^{-52} )\)$ Overflow usually results in computations stopping.
1.2.2. Decimal Machine Numbers#
The normalized decimal floating point is in the following form
where \(d_{1}\in \{1,2,\ldots,9\}\) and \(d_{1},d_{2},\ldots, d_{k} \in \{0, 1,2,\ldots,9\}\),
Consider the value of \(\pi\) as approximately \(3.14159265359\ldots\). We have the option to represent this number in a shorter form by using a limited number of significant digits. For instance, we can express it as \(3.14\), \(3.142\), or \(3.1416\). Among these options, the last expression is generally preferred as it displays the four significant digits extracted from the full number.
There are various methods to represent the original number in a concise format with only a few significant digits. One approach is known as chopping, where we simply truncate the remaining digits. For instance, we can approximate \(\pi\) as \(3.141\) through chopping.
However, a more commonly used technique is rounding. By rounding \(\pi = 3.14159265359\ldots\) to three significant digits, we arrive at \(3.142\). The rounding process involves adding 1 to the \(d_k\) digit if the next digit, \(d_{k+1}\), is greater than or equal to 5. Otherwise, we discard the digits beyond \(d_k\).
To illustrate, when rounding \(\pi\) to three significant digits, the fourth digit is 5, so we add 1 to \(d_3\), resulting in \(3.142\).
1.2.3. Absolute and Relative Error#
The absolute error is simply the difference between the exact value and the approximation.
The relative error is
The following definition is Definition 1.16 from [Burden and Faires, 2005]
Remark
Let \(x_{\text{app}}\) be an approximation of \(x_{\text{exact}}\) to \(t\geq 0\) significant digits. Here, \(t\) represents the largest number that satisfies the following equation for a nonnegative integer:


jQuery Style Listener
is a jQuery plugin that can monitor changes to specified styles in the elements you attach it to.
It periodically polls for changes in the styles you need monitored and notifies you via a callback function.
Tested on Firefox, Google Chrome and IE7 (and up). Please note that styles that
are not supported by the browser will not be monitorable. For example:
opacity will not be
monitorable on older versions of IE, similarly
-moz-.. styles will not be monitorable under IE and so on.
If you have any suggestions, comments or if you have found a bug, please send it to
<EMAIL_ADDRESS>Try out the demo below to see it in action. The source for the demo is on the right.
$('#foo').styleListener({
// the styles that you want to monitor for changes
styles: ['visibility', 'width', 'height', 'color', 'font-size'],
// function to be called when a monitored style changes
changed: function(style, newValue, oldValue, element) {
alert(style + ' changed from ' + oldValue + ' to ' + newValue);
}
});
Once you've downloaded the file, using it is simple. Steps below :-
- Include the script on your page:
<script src="/path/to/stylelistener.jquery.js"></script>
- Attach it to the elements whose styles you want monitored:
// jquery selector for your element(s)
// example: "#foo", ".bar", ".bar1, .bar2" etc..
$('element-selector').styleListener({
// the styles that you want to monitor for changes as an array of strings
// example: ['visibility', 'width', 'height', 'color', 'font-size']
styles: [ ... ],
// function to be called when a monitored style changes
changed: function(style, newValue, oldValue, element) {
// ... your code ...
},
// optional - the poll interval (default is 250ms)
interval: 1000 // poll once every second
});
- For destroying the instance (and stop polling for changes):
$('element-selector').styleListener('destroy');
I am Vijayakrishnan Krishnan. My main area of interest is JavaScript, jQuery, CSS and the awesome things we can achieve with them in combo. I currently work at
DeviceDriven with an amazing team of
engineers covering JS, CSS on the user side to Groovy on Grails, Spring and Hibernate on the server side.


Bases: horizon.tables.views.MultiTableView
A class-based generic view to handle basic DataTable processing.
Three steps are required to use this view: set the table_class attribute with the desired DataTable class; define a get_data method which returns a set of data for the table; and specify a template for the template_name attribute.
Optionally, you can override the has_more_data method to trigger pagination handling for APIs that support it.
Update the table server filter information in the session and determine if the filter has been changed.
Update the table server side filter action based on the current filter. The filter info may be stored in the session and this will restore it.
Bases: horizon.tables.views.DataTableView
A class-based generic view to handle DataTable with mixed data types.
Basic usage is the same as DataTableView.
Three steps are required to use this view: #. Set the table_class attribute with desired DataTable class. In the class the data_types list should have at least two elements.
#. Define a get_{{ data_type }}_data method for each data type which returns a set of data for the table.
Bases: object
A generic mixin which provides methods for handling DataTables.
Bases: horizon.tables.views.MultiTableMixin, horizon.views.HorizonTemplateView
A class-based generic view to handle the display and processing of multiple DataTable classes in a single view.
Three steps are required to use this view: set the table_classes attribute with a tuple of the desired DataTable classes; define a get_{{ table_name }}_data method for each table class which returns a set of data for that table; and specify a template for the template_name attribute.


Leeds City Region Wards
We like creating hex maps. We need help making a hex map of the wards of Leeds City Region. Fancy helping? We've already colour-coded the wards by the local authority they are in. To move a ward, click its hexagon to highlight it, then click an empty space to move it. You can select all hexagons of the same colour by pressing the 'c' key on your keyboard when one hexagon is selected. Once you have everything where you want it, save the output to maps/wards-leeds-city-regions.hexjson and send a pull request on Github. Thanks.


--- title: Home layout: default ---
“Stoplight is not only helping me to do my job more efficiently, it is dead simple to use. It makes the delivery preparations steps of documenting the API easy, since the documentation was started before customer validation steps, and is updated throughout the process.”
“Our API documentation is better than ever and we have StopLight to thank for it. They've somehow managed to distill a very technical product into a simple, easy to use and beautiful tool.”
“I feel like it [stoplight] has the potential to shift the landscape pretty significantly, something I haven't seen any API service provider do in a while.”
“What I didn't anticipate was the increased alignment across all stakeholders due to Stoplight creating a focal point for API definition and documentation. My plan to meet the aggressive MVP deadline at Twyla was to begin hiring API developers and outsource design and front-end development. Stoplight allowed us to mock the API so that front-end development could proceed in parallel with API development, always ensuring everyone had realtime updates.”


Before Change
//
// Here i use a particular form, derived in "Achlioptas: Database-friendly random projection",
// and his (1) scenario of Theorem 1.1 in particular (all entries are +1/-1).
tmp = numpy.random.binomial(1, 0.5, (self.numTopics, self.numTerms)) // FIXME temporary array unnecessarily big (int32 -> int8)
self.projection = numpy.asmatrix(1 - 2 * tmp.astype(numpy.int8)) // convert from 0/1 to +1/-1
def __getitem__(self, bow):
After Change
// Now construct the projection matrix itself.
// Here i use a particular form, derived in "Achlioptas: Database-friendly random projection",
// and his (1) scenario of Theorem 1.1 in particular (all entries are +1/-1).
randmat = 1 - 2 * numpy.random.binomial(1, 0.5, (self.numTopics, self.numTerms)) // convert from 0/1 to +1/-1
self.projection = numpy.asmatrix(randmat, dtype = numpy.float32) // convert from int32 to floats, for faster multiplications
def __getitem__(self, bow):


Class JustifyContentOption
Enumeration of ways items can be rendered across a flex-line. This impacts items along the flex-line's primary axis.
Inheritance
System.Object
JustifyContentOption
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Flexor
Assembly: Flexor.dll
Syntax
public class JustifyContentOption
Properties
| Improve this Doc View SourceCenter
Items are centered around the flex-line's center-line.
Declaration
public static JustifyContentOption Center { get; }
Property Value
| Type | Description |
|---|---|
| JustifyContentOption |
End
Items are packed along the end of the flex-line's primary axis.
Declaration
public static JustifyContentOption End { get; }
Property Value
| Type | Description |
|---|---|
| JustifyContentOption |
SpaceAround
All items are spaced equally apart.
Declaration
public static JustifyContentOption SpaceAround { get; }
Property Value
| Type | Description |
|---|---|
| JustifyContentOption |
SpaceBetween
Items are spaced evenly with first and last items in contact with the start and end of the flex-line.
Declaration
public static JustifyContentOption SpaceBetween { get; }
Property Value
| Type | Description |
|---|---|
| JustifyContentOption |
Start
Items are packed along start of the flex-line's primary axis.
Declaration
public static JustifyContentOption Start { get; }
Property Value
| Type | Description |
|---|---|
| JustifyContentOption |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
Operators
| Improve this Doc View SourceImplicit(String to JustifyContentOption)
Declaration
public static implicit operator JustifyContentOption(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type | Description |
|---|---|
| JustifyContentOption |


A simple example using the default point geometry. Select the "draw" tool, and you can draw and move a point.


Mark this option to enable TLS in the listening port.
Absolute path to the public key, or relative to the current working directory (CWD)
CWD


Building Without Adobe
Transforming Your Digital Collections with Free and/or Open Source Tools
Sara Allain, Special Collections Librarian / @archivalistic
Sarah Forbes, Scholarly Communications Librarian / @4bes
Digital Scholarship Unit, UTSC Library / @digitalutsc
Our goals today
- Reflect on UofT's move towards open source
- Talk about why we use F/OSS
- Introduce you to a few tools
- Discuss!
Why we use F/OSS
- Licenses for Photoshop + Illustrator + Dreamweaver = $1700 (that's how much it costs to employ a GSLA for 77 hours!)
- Dissemination of workspaces/freedom of movement
- Formats are open and malleable
Photoshop replacement
- Free and open source
- Suite of command-line image manipulation tools
- Converts, resizes, reformats, crops, adjusts colours...
- Can be used in the command line or through a user interface
Photoshop & Illustrator replacements
- Both free and open source
- Non-proprietary image formats
- Support layers, vectors, and other advanced formatting
Dreamweaver replacement
- Not open source, but it is free!
- Write XML, Dublin Core, MODS, python, etc...
- Support for snippets, macros, and other helpful features
- Extensions and plug-ins developed by the community
Best practices
- Supports agile workflows
- Every staff member can have all the tools they need, wherever they are
- No version concerns - upgrades are free!
- Non-proprietary formats easier to migrate in the future
- Strong user communities = strong support system
- Chance to give back to the community!
Discussion
Sara Allain, Special Collections Librarian / @archivalistic
Sarah Forbes, Scholarly Communications Librarian / @4bes
Digital Scholarship Unit, UTSC Library / @digitalutsc


BBC's new spin on War of the Worlds with convincing aliens and a star-studded cast
Originally a novel written in 1897 by HG Wells, left, the story tells of plucky humans fighting a superior race
by Mirror.co.ukAlien epic The War of the Worlds is being revived in a three-part BBC drama.
Originally a novel written in 1897 by HG Wells, left, the story tells of plucky humans fighting a superior race.
The TV drama, set in Edwardian times, starts on Sunday night.
Here is everything you need to know about it.
What is it all about?
In HG Wells’ book, Martians invade Earth when resources on their planet run out.  The invasion starts in Surrey.
In the BBC version, couple George and Amy (Rafe Spall and Eleanor Tomlinson) get caught up in the mayhem.
In 1938, actor Orson Welles appeared on CBS radio to report that the planet had been invaded. He told how aliens were destroying the US.
It was a play based on the book, but according to popular myth, thousands of New Yorkers fled their homes in panic. Residents in one town shot at a water tower they believed was a Martian craft.
The reports have since been disputed and one survey revealed only 2% of those asked had listened.
What’s new?
Amy is having an affair with the book’s narrator – originally unnamed – now called George. The characters’ chequered love lives are based on Wells’ own.
Who’s in it?
Eleanor and Rafe are joined by Robert Carlyle (right) as astronomer Ogilvy, the couple’s only friend. Sherlock’s Rupert Graves plays George’s brother Frederick.
Where was it filmed?
Mainly in Liverpool. Many of the city’s landmarks were used as backdrops including St George’s Hall, Sir Thomas Street and Dale Street.
A crashed alien pod was created in Ainsdale Woods.
Eleanor said: “To have a physical set that we could interact with, like our crash site, has been wonderful.”
Are aliens convincing?
Much attention has been paid to make them realistic.
Do stars do the stunts?
Yes. In fact, Eleanor almost drowned while filming.
She said: “There was a scene set in the sea, it was filmed in a big swimming pool. I had to dive in and swim to save a child.
“That costume when it gets wet, let me tell you, I was like a lead balloon and I just went down and ended up sitting on the bottom of the pool just waiting for this diving team to rescue me. I was thinking: ‘Oh gosh I think I might die here, this is quite strange’.”


Free Code Camp Gallery
FCC - Documentation Page
FCC - Local Weather
FCC - Portfolio
FCC - Product Landing Page
FCC - Random Quote Machine
FCC - Survey Form
FCC - Tribute Page


71% of worldwide GHG emissions come from100 organisations. Most are located in the USA. Our elected officials have allowed this to continue for decades. PG&E's "Safety Power Outages" paint a dark picture of what's to come.
75% of Arctic sea ice has already melted. This has already affected the gulf stream. A multi-breadbasket failure is right around the corner
-Martin Luther King, Jr.
-Bayard Rustin (Mentor to MLK Jr.)
Please get in touch. Who are we if we can't protect our children?
facebook.com/xruniverse
instagram @selfservingalias linkedin.com/in/breath


This document is aimed at people developing databases and looking for interoperability with other databases.
An introduction. And here we have a [[Marshall2012]].
Full ReSpec documentation can be found at http://www.w3.org/respec/guide.html.


Utopian for project owners
Attracting and retaining a team of contributors to an Open Source project can be nearly impossible without a bounty budget and massive personal efforts.
We are here to change that!
Utopian is the only platform rewarding contributions to Open Source projects by utilizing a decentralized, vote-based reward system built on top of the STEEM blockchain. Our growing community of thousands of professional Open Source contributors is being rewarded daily for developing, debugging and promoting their favorite Open Source projects.
Make Task Requests
Create task requests to address our international community of professionals, and Utopian will reward the contributors for delivering what you and your project need.
Use your favourite STEEM frontend Steemit.com or Busy.org and publish your task request by following our Guidelines.
Reward Your Contributors
By utilizing the STEEM blockchain, Utopian can reward contributors to Open Source projects. The rewards are generated and distributed using a Proof-of-Brain algorithm.
Try your first task request!  You can then use those rewards to offer bounties to the community, influence how rewards are distributed, or you can withdraw it to use it however you like. Learn more about Steem


A conclusion should leave a strong impact on your reader, after all it is the last thing they see of your work.
A conclusion shouldn't introduce any new information, in fact it should just be a summary of everything you introduced previously in your Essay.
The conclusion should accomplish 3 major tasks:


Media Kit
The conference media kit contains resources and materials you can use in order to promote our partnership:
- Here you can find our facebook and twitter social pages: you can tag us in your posts, or share/retweet. Official hashtag are #angularday and #angularday2020
- Here you can find the folder with angularday logo
- Here you can find a canva template to share the promo code to your community
- Here you can find the form to share for our scholarships
Aren’t you our partner yet?
Contact us
Do you need more information? Write us a mail to community@grusp.org.


2 Chronicles 17:4
But sought to the Lord God of his father, and walked in his commandments, and not after the doings of Israel.


Bio
An indolent researcher, enthusiastic tutor, tech entrepreneur.
I am interested in system software (compiler, vm, profiler, checker, debugger, instrumentation), operating systems and big-data systems. Ph.D. from McGill University and bachelor from Shanghai Jiao Tong University.
I am lucky to be influenced by numerous teachers and researchers in early days, by their innovation, pursuit and attitude. And I believe it is an honour as well as obligation to pass on the knowledge, perseverance and their stories. You can occasionally find me at 5406, School of Software building at SJTU.
Publications
Some extra materials for pubs
School-time Projects
AppAudit: Detecting Data-leaking Mobile Apps
We design AppAudit, a program analysis tool that checks if an Android application leaks sensitive personal data. AppAudit has three use cases:
- help mobile users to avoid installing data-leaking apps;
- assist app market operators to filter out zero-day privacy threats;
- prevent app developers from accidentally using data-leaking libraries.
AppBox: Sandboxing Apps
Ever tried the privacy browsing mode of web browers? Now AppBox extends this to all Android apps. AppBox is a universal sandbox for Android apps. Apps that enter AppBox appear like newly installed and have limited accesses to system resources and user data. When app exits from the AppBox, all traces and data produced are scrubed, like it never happened.
Program Mobile Applications Correctly and Easily
Hey, Your App is Draining Battery for Leaking Memory
When programming mobile applications, memory leaks would be a common but tiny mistake, since they never get noticed unless the program crashes due to memory outage. However, we surprisingly find that memory leaks lead to more on mobile devices. When this happens, the system has to kick out normal apps to accommodate leaking ones. This causes some apps to be loaded repeatedly, slowing down the device and drains the battery. Our study confirms that this is not rare among real mobile applications.
MonkeyHelper: Record, Replay and Understand User Interactions
We provide a tool-chain written in Python to capture, replay, manipulate and analyze the live user interactions with a smartphone. Our record-and-replay capability is universal for all Android boxes. The manipulation and analyses can be highly customized with Python code. See a video showing record-and-replay AngryBirds.
Storage Systems Meet Big Data
A Tale of Two Erasure Codes in HDFS
Enterprises continue to invest more and more disks to store growing data. Now petabyte-scale data poses a great challenge on the maintenance cost (for replacing dead disks), which largely confines the scalability of big data systems. Erasure coding is the technique that can store the same amount of data with 50% fewer disks, but at the cost of greater costs to recover unavailable data. In this paper, we explore novel erasure coding inventions and system techniques to tame the challenging recovery cost.Optimizing Enterprise and Campus VM Deployments
Nowadays, enterprises and campuses virtualize their infrastructure to cut down capital cost and enable better IT management. Due to a mix of workloads, these VM deployments usually encounter IO spikes during some periods. In this work, we aim to understand IO patterns of these deployment and propose an automatic tool to reconfigure storage to better serve VMs.
Givs: Controlling Mobile Devices with Gestures in Vehicles
The small screen and touchscreen interactions of mobile devices could be uncomfortable for users in a moving vehicle. To overcome this limitation, we propose a rich set of gestures for performing fine-grained interacting with mobile device in a vehicle environment. Our system carefully picks gestures to allow easy control of vehicle applications (such as navigation, audio playback and phone call). Our algorithms overcome various road conditions that affect gesture recognition accuracy. This is an on-going project and we have a simple demo here:
SLIM: An STL-like library for mobile-cloud programming
Programming a mobile-cloud application is hard considering the efforts of synchronizing data, managing different views, consistency and performance. We provide SLIM, a library that provide STL-like interfaces while distributing data across the device and the cloud. SLIM reduces the programming efforts by providing interfaces familiar to developers along with various pre-defined policies that address common trade-offs. This project is an intern project with Microsoft Research Asia and has been published on Asia-Pacific System Symposium 2011.
CuteStrike: A Cute Multi-player 2D Shooting Game
dumpvb6: A Practical VB6 Decompiler
Me
I was born in Shanghai, the economy center of China. In 1843, the Treaty of Nanking opens this city to the world, which once comprises the distinct areas of settlement for British, French, American and European. Thus Shanghai develops and maintains a unique fusion of cultures from traditional China (Wu) and various European countries. As a treaty port, it survives the great destruction of WW2. The citizens value peace, diversity and quality of life.
After twenty-two years in this city, I moved to Montréal for my doctoral degree. The English-French city has indeed impressed me with its wonderful maisons and unbelievable cold winter as well as accidental fall of snow flake from the roof, kidding. Ironically, I grow awareness of Chinese traditions and values that are being replaced by aggressive modernization, by looking at Montreal.
I have interests in many things, and am willing to waste time on them. Sneak out for a late night movie, a decent meal, cuisine research, a water spa, a visit to antique and small art galleries or an obsessed afternoon of browsing Swiss watch catalog.
Here are some great works and people that inspired me, and some quotes I would like to share:The simulacrum is never that which conceals the truth — it is the truth which conceals that there is none. The simulacrum is true.
真的，这就是春天呵，狂跳的心搅乱水中的浮云。
Did you ever know an officer to handcuff a prisoner to his right hand?
Where is the boundary between human and machine when the differences between the two become more philosophical than physical?
Gordon: I'm sorry, Harvey. For everything. But, please. Please don't hurt him.
I’ve found the light of your voice; it has always been with me


John Fullerton
Home
About
Portfolio
Contact
INTERESTS:
Skiing, Hiking, Rugby, Dogs
Portfolio
Connect with Me


🎅🏾 Santa Claus: Medium-Dark Skin Tone
This version of the 🎅 Santa Claus emoji has the 🏾 Medium-Dark Skin Tone applied, which is displayed as a Dark Brown Skin Tone on supported platforms.
Codepoints
Related
- 🎅 Santa Claus
- 🎅🏻 Santa Claus: Light Skin Tone
- 🎅🏼 Santa Claus: Medium-Light Skin Tone
- 🎅🏽 Santa Claus: Medium Skin Tone
- 🎅🏾 Santa Claus: Medium-Dark Skin Tone
- 🎅🏿 Santa Claus: Dark Skin Tone
- 🤶 Mrs. Claus
- 🤶🏻 Mrs. Claus: Light Skin Tone
- 🤶🏼 Mrs. Claus: Medium-Light Skin Tone
- 🤶🏽 Mrs. Claus: Medium Skin Tone
- 🤶🏾 Mrs. Claus: Medium-Dark Skin Tone
- 🤶🏿 Mrs. Claus: Dark Skin Tone
Browse
- 🎅🏾 on Instagram
- 🎅🏾 on Twitter
- 🎅🏾 on Wikipedia
- 🎅🏾 on Yelp
- 🎅🏾 on YouTube
- 🎅🏾 on Google Trends
- 🎅🏾 on Nomad List


Home > Data Structures and Algorithms Questions >Rotting oranges question
In a given grid, each cell can have one of three values:
0
representing an empty cell;1
representing a fresh orange;2
representing a rotten orange.Every minute, any fresh orange that is adjacent (4-directionally) to a rotten orange becomes rotten.
Return the minimum number of minutes that must elapse until no cell has a fresh orange. If this is impossible, return -1
instead.
Example 1:
Input: [[2,1,1],[1,1,0],[0,1,1]] Output: 4
Example 2:
Input: [[2,1,1],[0,1,1],[1,0,1]] Output: -1 Explanation: The orange in the bottom left corner (row 2, column 0) is never rotten, because rotting only happens 4-directionally.
Example 3:
Input: [[0,2]] Output: 0 Explanation: Since there are already no fresh oranges at minute 0, the answer is just 0.
Note:
1 <= grid.length <= 10
1 <= grid[0].length <= 10
grid[i][j]
is only 0
, 1
, or 2
.Here's a code snippet to help you out.
class Solution {
int[] dr = new int[]{-1, 0, 1, 0};
int[] dc = new int[]{0, -1, 0, 1};
public int orangesRotting(int[][] grid) {
int R = grid.length, C = grid[0].length;
// queue : all starting cells with rotten oranges
Queue queue = new ArrayDeque();
Map depth = new HashMap();
for (int r = 0; r < R; ++r)
for (int c = 0; c < C; ++c)
if (grid[r][c] == 2) {
int code = r * C + c;
queue.add(code);
depth.put(code, 0);
}
int ans = 0;
while (!queue.isEmpty()) {
int code = queue.remove();
int r = code / C, c = code % C;
for (int k = 0; k < 4; ++k) {
int nr = r + dr[k];
int nc = c + dc[k];
if (0 <= nr && nr < R && 0 <= nc && nc < C && grid[nr][nc] == 1) {
grid[nr][nc] = 2;
int ncode = nr * C + nc;
queue.add(ncode);
depth.put(ncode, depth.get(code) + 1);
ans = depth.get(ncode);
}
}
}
for (int[] row: grid)
for (int v: row)
if (v == 1)
return -1;
return ans;
}
}
Complexity Analysis
Time Complexity: O(N) where N is the number of cells in the grid.
Space Complexity: O(N) where N is the number of cells in the grid.


{% blocktrans trimmed %} The three conference days are packed with talks about Python by speakers from Taiwan and around the world. The talks will be either 30- or 45-minute long. Three tracks of talks will be delivered simultaneously, all with different topics and difficulties. We suggest you to make a schedule beforehand, and choose what you want ot listen based on your interests. Many people take notes on the program schedule before the meeting so they don't end up in some place wrong. {% endblocktrans %}
{% blocktrans trimmed %} Program schedule are subject to change. Please check this page frequently to get the latest version. {% endblocktrans %}


{% extends "base.html" %} {% block styles %} {{super()}} {% endblock %} {% block app_content %}
This application is designed to build on rich shopping history presented by InstaCart. Historical shopping data includes 13 million orders from over 3 million users.
What can we do with all this data? Machine learning of course. Each individual order is analyzed based on its products and metadata and then clustered with other similar orders.
To go even further, we can actually predict each user's most likely next order! This is done by training model to predict the archetype (cluster label) of each user's most recent order based on historical data.
To the right, you can simulate a user's historical shopping record by adjusting the toggles. Statistics describing a historical profile have been mapped to the inputs on the right via factor analysis to provide a more intuitive, simplified input.
Though this is fun, the real business value lies in mass predictions. Stores and suppliers can upload user purchase history and obtain a breakdown on predicted order types.
Both features can be demonstrated via the tools at the right. Hope you enjoy!


You have purchased for $.
Your order will be shipped to the following address and should arrive within two business days.


| Modifier and Type | Method and Description |
|---|---|
void |
addClan(Clan C)
Adds the given clan to the games list
|
boolean |
checkClanPrivilege(MOB mob,
Clan.Function func)
Returns whether the given clan set contains a clan that
allows the given mob to do the given function in the clan.
|
boolean |
checkClanPrivilege(MOB mob,
java.lang.String clanID,
Clan.Function func)
Returns whether the given mob belongs to the given clan, and if
so, whether they can do the given function in the clan.
|
void |
clanAnnounce(MOB mob,
java.lang.String msg)
Makes an announcement to the clan announcement channel from
the given mob.
|
void |
clanAnnounceAll(java.lang.String msg)
Sends a message to the games official CLAN chat channel.
|
java.lang.Iterable<Pair<Clan,java.lang.Integer>> |
clanRoles()
Returns all clans and their last-cached accept-positions
The auto-positions may be inaccurate.
|
java.util.Enumeration<Clan> |
clans()
Returns an enumeration of all the Clans in the game
|
java.util.Enumeration<java.lang.String> |
clansNames()
Returns a list of all available clans names in the game,
as Clan objects.
|
ClanGovernment |
createGovernment(java.lang.String name)
Creates the new stock government
|
ClanGovernment |
createSampleGovernment()
Creates, but does not add, a sample government object
|
boolean |
findAnyClanRelations(MOB M1,
MOB M2,
int relation)
This method is used to determine the basic relationship between two mobs clans.
|
Clan |
findClan(java.lang.String id)
Returns the Clan object associated with the given clan name, or
if the name is not found, the name that most closely matches it.
|
java.util.List<Triad<Clan,java.lang.Integer,java.lang.Integer>> |
findCommonRivalrousClans(MOB mob1,
MOB mob2)
Searches for all clans that can be rivalrous with other clans that are
commonly shared between two mobs, along with their two roles
|
Clan |
findConquerableClan(MOB mob)
Searches for a clan in the list that can be conquerable with other clans.
|
Pair<Clan,java.lang.Integer> |
findPrivilegedClan(MOB mob,
Clan.Function func)
If the given mob belongs to a clan, and if they can do the
given function in a clan, this will return that clan object
and the integer.
|
java.util.List<Pair<Clan,java.lang.Integer>> |
findPrivilegedClans(MOB mob,
Clan.Function func)
If the given mob belongs to a clan, and if they can do the
given function in a clan, this will return those clan objects
and their role integer.
|
Clan |
findRivalrousClan(MOB mob)
Searches for a clan in the list that can be rivalrous with other clans.
|
java.util.List<Pair<Clan,java.lang.Integer>> |
findRivalrousClans(MOB mob)
Searches for all clans that can be rivalrous with other clans.
|
java.util.List<Pair<Clan,java.lang.Integer>> |
findRivalrousClans(MOB clanSourceMob,
MOB filterMob)
Returns a list of clans that the source mob belongs to which the filter
mob does NOT also belong.
|
void |
forceTick()
Force the clans maintenance thread
|
Clan |
getClan(java.lang.String id)
Returns the Clan object associated with the given clan name
|
int |
getClanRelations(java.lang.String clanID1,
java.lang.String clanID2)
This method is used to determine the basic relationship between two clans.
|
java.util.List<Pair<Clan,java.lang.Integer>> |
getClansByCategory(MOB M,
java.lang.String category)
Returns the list of clans this mob belongs to in the given category.
|
java.lang.String |
getClanWebTemplateDir(java.lang.String webPath)
Returns the template vfs path associated with a given specific
web path.
|
ClanGovernment |
getDefaultGovernment()
Returns the default government definition object.
|
java.lang.String |
getGovernmentHelp(MOB mob,
java.lang.String named,
boolean exact)
Returns help on the government type named, if it is available
|
long |
getLastGovernmentLoad()
Get last time governments were loaded/updated
|
ClanGovernment |
getStockGovernment(int typeid)
Returns a government definition object of the given internal
stock clangovernments.xml id.
|
ClanGovernment[] |
getStockGovernments()
Returns all government definition objects from internal
stock clangovernments.xml file.
|
Clan |
getWebPathClan(java.lang.String sitePath)
Returns the clan which may or may not be assigned to the absolute file path specified.
|
Clan |
getWebPathClanMapping(java.lang.String webPath)
Returns the clan associated with a given specific web path.
|
boolean |
goForward(MOB mob,
Clan C,
java.util.Vector<? extends java.lang.Object> commands,
Clan.Function function,
boolean voteIfNecessary)
Examines the given command string, which is based on the given clan function code.
|
boolean |
isAnyCommonClan(MOB M1,
MOB M2)
Returns whether the two mobs share ANY common clans, even
non-rivalrous ones.
|
boolean |
isAtClanWar(MOB M1,
MOB M2)
This method is used to determine the basic relationship between two clan members.
|
boolean |
isCommonClanRelations(java.lang.String clanName1,
java.lang.String clanName2,
int relation)
This method is used to determine the basic relationship between two clans.
|
boolean |
isFamilyOfMembership(MOB M,
java.util.List<Clan.MemberRecord> members)
Returns whether the given MOB is a member of any of the families
represented by the given list of clan members.
|
java.lang.String |
makeGovernmentXML(ClanGovernment gvt)
Converts a given clan government object into xml.
|
java.lang.String |
makeGovernmentXML(ClanGovernment[] gvts)
Converts a given clan government objects into xml.
|
int |
numClans()
Returns the number of clans in the game.
|
ClanGovernment[] |
parseGovernmentXML(java.lang.StringBuffer xml)
Converts xml into clan government objects.
|
void |
removeClan(Clan C)
Removes the given clan from the games list
|
boolean |
removeGovernment(ClanGovernment government)
Deletes the stock government..
|
void |
reSaveGovernmentsXML()
Forces the stock governments to be re-saved to clangovernments.xml.
|
void |
tickAllClans()
Forces all clans to go through their maintenance process, which
normally only occurs infrequently.
|
java.lang.String |
translatePrize(Clan.Trophy trophy)
Returns a descriptive name for the given trophy code number.
|
boolean |
trophySystemActive()
Returns whether this mud has activated its trophy system for clans.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, ID, initializeClass, name, newInstance
java.util.Enumeration<java.lang.String> clansNames()
Clan
int numClans()
boolean isCommonClanRelations(java.lang.String clanName1, java.lang.String clanName2, int relation)
clanName1
- the first clan to evaluateclanName2
- the second clan to evaluaterelation
- the clan relation to compare toClan.REL_DESCS
boolean isAtClanWar(MOB M1, MOB M2)
M1
- the first mobs first rivalrous clan to evaluateM2
- the second mobs first rivalrous clan to evaluateClan.REL_DESCS
boolean isAnyCommonClan(MOB M1, MOB M2)
M1
- first mobM2
- second mobboolean findAnyClanRelations(MOB M1, MOB M2, int relation)
M1
- the first mob whose clans to evaluateM2
- the second mob whose clans to evaluaterelation
- the relation to look forClan.REL_DESCS
int getClanRelations(java.lang.String clanID1, java.lang.String clanID2)
clanID1
- the first clan to evaluateclanID2
- the second clan to evaluateClan.REL_DESCS
long getLastGovernmentLoad()
Clan getWebPathClan(java.lang.String sitePath)
sitePath
- the absolute path of the web dir assigned to this clanboolean checkClanPrivilege(MOB mob, Clan.Function func)
mob
- the mob to check the clans offunc
- the function to check forboolean checkClanPrivilege(MOB mob, java.lang.String clanID, Clan.Function func)
mob
- the mob to look for privileges forclanID
- the clanID to check for to check forfunc
- the function to check forPair<Clan,java.lang.Integer> findPrivilegedClan(MOB mob, Clan.Function func)
mob
- the mob to check the clans offunc
- the function to check forjava.util.List<Pair<Clan,java.lang.Integer>> findPrivilegedClans(MOB mob, Clan.Function func)
mob
- the mob to check the clans offunc
- the function to check forjava.util.List<Pair<Clan,java.lang.Integer>> findRivalrousClans(MOB clanSourceMob, MOB filterMob)
clanSourceMob
- the mob to source the clan list fromfilterMob
- the mob to use to filter out source clansjava.util.List<Triad<Clan,java.lang.Integer,java.lang.Integer>> findCommonRivalrousClans(MOB mob1, MOB mob2)
mob1
- the first mob to check the clans ofmob2
- the second mob to check the clans ofClan findRivalrousClan(MOB mob)
mob
- the mob to check the clans ofClan findConquerableClan(MOB mob)
mob
- the mob to check the clans ofjava.util.List<Pair<Clan,java.lang.Integer>> findRivalrousClans(MOB mob)
mob
- the mob to check the clans ofClan getClan(java.lang.String id)
id
- the clan nameClan
Clan findClan(java.lang.String id)
id
- Clan
java.util.Enumeration<Clan> clans()
java.lang.Iterable<Pair<Clan,java.lang.Integer>> clanRoles()
void removeClan(Clan C)
C
- the clan to removeClan getWebPathClanMapping(java.lang.String webPath)
webPath
- a full vfs resource pathjava.lang.String getClanWebTemplateDir(java.lang.String webPath)
webPath
- a full vfs resource pathvoid tickAllClans()
void clanAnnounceAll(java.lang.String msg)
msg
- the message to sendjava.lang.String translatePrize(Clan.Trophy trophy)
trophy
- the trophy code numberClan.Trophy
boolean trophySystemActive()
boolean isFamilyOfMembership(MOB M, java.util.List<Clan.MemberRecord> members)
M
- the mob to evaluatemembers
- the members of a clanjava.util.List<Pair<Clan,java.lang.Integer>> getClansByCategory(MOB M, java.lang.String category)
M
- the mob to evaluatecategory
- the clan goverment categoryjava.lang.String getGovernmentHelp(MOB mob, java.lang.String named, boolean exact)
mob
- the viewer of the government typenamed
- the possible name of the governmentexact
- true to only match exact, or false otherwiseClanGovernment getStockGovernment(int typeid)
typeid
- the internal typeidClanGovernment
ClanGovernment getDefaultGovernment()
ClanGovernment
ClanGovernment createSampleGovernment()
ClanGovernment[] getStockGovernments()
ClanGovernment
java.lang.String makeGovernmentXML(ClanGovernment gvt)
gvt
- the clan government objectClanGovernment
,
makeGovernmentXML(com.planet_ink.coffee_mud.Common.interfaces.ClanGovernment[])
,
parseGovernmentXML(StringBuffer)
java.lang.String makeGovernmentXML(ClanGovernment[] gvts)
gvts
- the clan government objectsClanGovernment
,
makeGovernmentXML(com.planet_ink.coffee_mud.Common.interfaces.ClanGovernment)
,
parseGovernmentXML(StringBuffer)
ClanGovernment[] parseGovernmentXML(java.lang.StringBuffer xml)
xml
- the xmlClanGovernment
,
makeGovernmentXML(com.planet_ink.coffee_mud.Common.interfaces.ClanGovernment)
,
makeGovernmentXML(com.planet_ink.coffee_mud.Common.interfaces.ClanGovernment[])
void reSaveGovernmentsXML()
ClanGovernment createGovernment(java.lang.String name)
name
- governmentnameboolean removeGovernment(ClanGovernment government)
government
- the government to deletevoid clanAnnounce(MOB mob, java.lang.String msg)
mob
- the mob who is announcing the messagemsg
- string message to send to the clan info channelsboolean goForward(MOB mob, Clan C, java.util.Vector<? extends java.lang.Object> commands, Clan.Function function, boolean voteIfNecessary)
mob
- the player who wants to perform the functionC
- the clan that the player belongs tocommands
- the command list describing the function that wants to be executedfunction
- the function code described by the commands listvoteIfNecessary
- true to start a vote if one is needed, false to just return true.Clan.Function.ACCEPT
void forceTick()


Default drawer
The default drawer has 2 option you can choose from.
These options are full-height and clipped
The full-height will cover the entire screen height while the clipped option remains below the app bar.
In order to make a navigation drawer item active you need to add the
.drawer__item--active
class to the .drawer__item
element.
When this class is added to a sub menu item it makes sure the sub menu is opened automatically.
Basic markup for the navigation drawer

Home

Getting started

Layout

Grid

Shadows

Active menu item

Navigation drawer

Fixed
It is also possible to use a fixed drawer.
With the fixed drawer the drawer remains visible on larger screen sizes.
This also means that the content is pushed over more.
In order to use the fixed drawer you need to change a couple of elements.
On the drawer you need to add the .drawer--fixed
class.
On the .container
you need to add the .container-drawer--fixed
class.
On the .app-bar
you need to add the .app-bar-drawer--fixed
class.


When a viewer visits a web page, the browser of the viewer sends a request to the server where the web page is located. Before the browser receives and displays the web page, the server where the web page is located returns a server header containing the HTTP status code in response to the browser request.
HTTP Status Code
| HTTP Status Code |
|---|
| 200 - Request success |
| 301 - Resources (web pages, etc.) are permanently transferred to other URL |
| 404 - The requested resource (web page, etc.) does not exist |
| 500 - Internal server error |
HTTP status code consists of three decimal digits. The first decimal number defines the type of the status code. The last two digits do not have a classification function. HTTP status codes are divided into 5 types. ：
| classification | Classification description |
|---|---|
| 1** | Information, the server receives the request and needs the requestor to continue the operation |
| 2** | Successful, the operation was successfully received and processed |
| 3** | Redirect, need further action to complete the request |
| 4** | Client error, the request contains a syntax error or the request could not be completed |
| 5** | Server error, the server encountered an error while processing the request |
| Status code | Name | Description |
|---|---|---|
| 100 | Continue | Carry on. The client should continue its request |
| 101 | Switching Protocols | Switch the protocol. The server switches protocols according to the client's request. Can only switch to a more advanced protocol, for example, switching to a new version of HTTP protocol |
| 200 | OK | The request was successful. Generally used for GET and POST requests |
| 201 | Created | Created. Successfully requested and created a new resource |
| 202 | Accepted | Accepted. Request accepted but not processed |
| 203 | Non-Authoritative Information | Non-authorized information. The request was successful. But the returned meta information is not on the original server, but a copy |
| 204 | No Content | No content. The server processed successfully but did not return content. Make sure the browser continues to display the current document without updating the page |
| 205 | Reset Content | Reset the content. The server is successfully processed and the user terminal (for example: browser) should reset the document view. Use this return code to clear the browser's form fields |
| 206 | Partial Content | Part. The server successfully processed some GET requests |
| 300 | Multiple Choices | Multiple choices. The requested resource may include multiple locations, and a list of resource characteristics and addresses may be returned for user terminal (eg, browser) selection. |
| 301 | Moved Permanently | Move permanently. The requested resource has been permanently moved to the new URI, the return message will include the new URI, and the browser will automatically be directed to the new URI. Any new requests in the future should be replaced with new URIs. |
| 302 | Found | Temporary move. Similar to 301. But the resources are only temporarily moved. The client should continue to use the original URI |
| 303 | See Other | View other addresses. Similar to 301. View using GET and POST requests |
| 304 | Not Modified | Not modified. The requested resource is not modified and no resources are returned when the server returns this status code. The client usually caches the accessed resources by providing a header indicating that the client wants to return only those resources that were modified after the specified date. |
| 305 | Use Proxy | Use a proxy. The requested resource must be accessed through a proxy |
| 306 | Unused | HTTP status code that has been deprecated |
| 307 | Temporary Redirect | Temporary redirect. Similar to 302. Redirect using GET request |
| 400 | Bad Request | The syntax of the client request is incorrect and the server cannot understand |
| 401 | Unauthorized | Request for user identity authentication |
| 402 | Payment Required | Reserved, used in the future |
| 403 | Forbidden | The server understands the requesting client's request but refuses to execute the request |
| 404 | Not Found | The server was unable to find the resource (web page) based on the client's request. With this code, the website designer can set the personality page "The resource you requested could not be found" |
| 405 | Method Not Allowed | The method in the client request is forbidden |
| 406 | Not Acceptable | The server was unable to complete the request based on the content characteristics requested by the client |
| 407 | Proxy Authentication Required | Request for proxy authentication, similar to 401, but requester should use proxy for authorization |
| 408 | Request Time-out | The server waits for the client to send a request for too long, timeout |
| 409 | Conflict | It is possible for the server to complete the client's PUT request to return this code, and the server has a conflict when processing the request. |
| 410 | Gone | The resource requested by the client no longer exists. 410 is different from 404. If the resource has been permanently deleted now, the 410 code can be used. The website designer can specify the new location of the resource through the 301 code. |
| 411 | Length Required | The server cannot process the request information sent by the client without Content-Length |
| 412 | Precondition Failed | Prerequisite error for client request information |
| 413 | Request Entity Too Large | The request was rejected because the requested entity was too large for the server to process. To prevent continuous requests from clients, the server may close the connection. If the server is temporarily unable to process, it will contain a Retry-After response. |
| 414 | Request-URI Too Large | The requested URI is too long (the URI is usually the URL) and the server cannot process it. |
| 415 | Unsupported Media Type | The server was unable to process the media format attached to the request |
| 416 | Requested range not satisfiable | The scope of the client request is invalid |
| 417 | Expectation Failed | The server cannot satisfy the request header information of Expect |
| 500 | Internal Server Error | Internal server error, unable to complete request |
| 501 | Not Implemented | The server does not support the requested function and cannot complete the request. |
| 502 | Bad Gateway | A server acting as a gateway or proxy that received an invalid request from the remote server. |
| 503 | Service Unavailable | Due to overload or system maintenance, the server is temporarily unable to process the client's request. The length of the delay can be included in the server's Retry-After header information. |
| 504 | Gateway Time-out | A server acting as a gateway or proxy, not getting requests from a remote server in time |
| 505 | HTTP Version not supported | The server does not support the version of the requested HTTP protocol and cannot process it. |


I started programming at age twelve when an older student at my school showed me that all you really needed to build video games was a laptop and an idea. I spent months tinkering with Game Maker , building as many games as I could to show my friends. SKULL is a remake of the first of those games, built with HTML5 canvas and Javascript, it follows in the footsteps of its predecessor by using no art what so ever, relying on emojis rather than custom sprites.
You can see the rest of my portfolio here . Or check out the code behind this game and others on GitHub


Blue iguana
Petty fraudsters Eddie and Paul manage to get out of prison early. However, under the terms of an early release, they are required to work for some time at the third-rate New York eatery.
Despite the monotony of the daily duties that they are forced to perform, the heroes do not give up hope for a change in life.
Deep down, they still believe that something ... exciting, meaningful will happen. One day, on the threshold of their institution appears adventurer Catherine Rackwood.
She offers the guys in an easy way to cut a big jackpot. However, for this you need to go to the heart of England - London.
And there they will have to steal a unique jewel - the "Blue Iguana" diamond. Further, everything is simple - you need to act according to the instructions.
At the agreed time to transfer the bag with a diamond to others. After a bit of thought, the heroes set off on an adventure.
And at first everything goes according to plan. That's just during the transfer of the bag situation takes a different course.


Starting from $49.99
Starting from $56.00
Starting from $27.00
Free shipping for all orders over $100
We return money within 30 days
Friendly 24/7 customer support
We posess SSL / Secure Certificate


Daily
Sign Out
The chart below is tracking your water, protein, and exercise for the previous five days. You should strive to be getting close to or excedding the black line which is your daily goal! Hover over a dot to see daily values.
Daily Intake Goal
Water Intake
Protein Intake
Exercise


public interface IScriptEventDispatcher
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(IScriptFunction func)
Enqueues an event at the back of the event queue.
|
void |
addTask(IScriptFunction task,
double priority)
Registers a function that will be called every frame until it is removed with
removeTask(IScriptFunction).
|
void |
prependEvent(IScriptFunction func)
Enqueues an event at the front of the event queue.
|
boolean |
removeTask(IScriptFunction function)
Cancels all active tasks for the given script function.
|
java.util.List<IScriptFunction> |
retrieveWork()
This method should be called once every frame.
|
void prependEvent(IScriptFunction func)
addEvent(IScriptFunction)
void addEvent(IScriptFunction func)
prependEvent(IScriptFunction)
void addTask(IScriptFunction task, double priority)
task
- The function to call.priority
- The relative priority of the task. Active tasks are scheduled in order of descending
priority.boolean removeTask(IScriptFunction function)
true
if the task was found and removed, false
otherwise.addTask(IScriptFunction, double)
java.util.List<IScriptFunction> retrieveWork()


ChannelId must be an identifier for an open channel such as the Tcl standard input channel (stdin), the return value from an invocation of open or socket, or the result of a channel creation command provided by a Tcl extension. The channel must have been opened for input.
If varName is omitted the line is returned as the result of the command. If varName is specified then the line is placed in the variable by that name and the return value is a count of the number of characters returned.
If end of file occurs while scanning for an end of line, the command returns whatever input is available up to the end of file. If channelId is in nonblocking mode and there is not a full line of input available, the command returns an empty string and does not consume any input. If varName is specified and an empty string is returned in varName because of end-of-file or because of insufficient data in nonblocking mode, then the return count is -1. Note that if varName is not specified then the end-of-file and no-full-line-available cases can produce the same results as if there were an input line consisting only of the end-of-line character(s). The eof and fblocked commands can be used to distinguish these three cases.
set chan [open "some.file.txt"] set lineNumber 0 while {[gets $chan line] >= 0} { puts "[incr lineNumber]: $line" } close $chan
Copyright © 1993 The Regents of the University of California. Copyright © 1994-1996 Sun Microsystems, Inc. Copyright © 1995-1997 Roger E. Critchlow Jr.


WCSWIDTH
Section: Linux Programmer's Manual (3)
Updated: 2014-01-22
Index
Return to Main Contents
NAME
wcswidth - determine columns needed for a fixed-size wide-character string
SYNOPSIS
#define _XOPEN_SOURCE /* See feature_test_macros(7) */
#include <wchar.h>
int wcswidth(const wchar_t *s, size_t n);
DESCRIPTION
The
wcswidth()
function returns the
number of columns needed to represent
the wide-character string pointed to by
s,
but at most
n
wide
characters.
If a nonprintable wide character occurs among these characters,
-1 is returned.
RETURN VALUE
The
wcswidth()
function
returns the number of column positions for the
wide-character string
s,
truncated to at most length
n.
ATTRIBUTES
Multithreading (see pthreads(7))
The
wcswidth()
function is thread-safe with exceptions.
It can be safely used in multithreaded applications, as long as
setlocale(3)
is not called to change the locale during its execution.
CONFORMING TO
POSIX.1-2001.
NOTES
The behavior of
wcswidth()
depends on the
LC_CTYPE
category of the
current locale.
SEE ALSO
iswprint(3),
wcwidth(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ATTRIBUTES
-
- Multithreading (see pthreads(7))
-
- CONFORMING TO
-
- NOTES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 02:54:52 GMT, September 18, 2014