Chicken
The chickens that saved Western civilization were discovered, according to legend, by the side of a road in Greece in the first decade of the fifth century B.C. The Athenian general Themistocles, on his way to confront the invading Persian forces.
Beef
Beef, flesh of mature cattle, as distinguished from veal, the flesh of calves. The best beef is obtained from early maturing, special beef breeds. High-quality beef has firm, velvety, fine-grained lean, bright red in colour and well-marbled. The fat is smooth.
Sushi
Sushi is one of the most popular dishes here in Dubai, and happily for residents and visitors Dubai has loads of top places for sushi. From the best Japanese restaurants in Dubai (for a full list click here) to smaller more.


@* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import views.html.main_template @import uk.gov.hmrc.play.views.html.helpers.form @import views.html.helpers._ @import uk.gov.hmrc.play.views.html.{helpers => govHelpers} @(appConfig: config.AppConfig, turnoverForm: Form[VatFlatRateModel], turnoverPeriodString: String)(implicit request: Request[_], messages: Messages, lang: Lang) @main_template(title = messages("turnover.title"), bodyClasses = None, appConfig = appConfig) { @if(turnoverForm.hasErrors){ @govHelpers.errorSummary( Messages("base.errorSummary"), turnoverForm ) }
@messages("turnover.para.1")


Signup and Login (Simple)
This guide walks through building simple signup, login forms and a logout button.
In this guide you will learn how to:
- Set up a basic CanJS application.
- Collect form data and post it to a service endpoint when the form is submitted.
The final widget looks like:
To use the widget:
- Click the Sign up link.
- Enter an email and password and Click SIGN UP. You will be logged in.
- Click the log out link. You will be presented with the Sign Up form.
- Click the Log in link. Enter the same email and password you used to sign up. Click the LOG IN button. You will be logged in.
START THIS TUTORIAL BY CLONING THE FOLLOWING JS Bin:
This JS Bin has initial prototype HTML and CSS which is useful for getting the application to look right.
The following sections are broken down into:
- The problem — A description of what the section is trying to accomplish.
- What you need to know — Information about CanJS that is useful for solving the problem.
- The solution — The solution to the problem.
Understanding the service API
This JSBin comes with a mock service layer provided by can.fixture. It supplies:
POST /api/session
for creating sessions (log in).GET /api/session
for returning if there is a session.DELETE /api/session
for deleting a session (log out).POST /api/users
for creating users.
To tell if the current client is logged in:
=>
GET /api/session
<=
STATUS: 200
{user: {email<EMAIL_ADDRESS>If someone is logged out:
=>
GET /api/session
<=
STATUS: 404
{message: "No session"}
To log someone in:
=>
POST /api/session
{user: {email<EMAIL_ADDRESS>password: "123"}}
<=
STATUS: 200
{user: {email<EMAIL_ADDRESS>If someone logs in with invalid credentials:
=>
POST /api/session
{user: {email: "WRONG", password: "WRONG"}}
<=
STATUS: 401 unauthorized
{ message: "Unauthorized"}
To log someone out:
=>
DELETE /api/session
<=
STATUS: 200
{}
To create a user:
=>
POST /api/users
{email<EMAIL_ADDRESS>password: "123"}
<=
STATUS: 200
{email<EMAIL_ADDRESS>Setup
The problem
Let’s create a app-view
template with all the HTML content and render it with
a ViewModel called AppViewModel
.
What you need to know
CanJS uses can-stache to render data in a template and keep it live. Templates can be authored in

A can-stache template uses {{key}} magic tags to insert data into the HTML output like:

Load a template from a

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);
Check if the user is logged in
The problem
Lets make a request to GET /api/session
to know if there is a
session. If there is a session, we will print out the user's email address. If there
is not a session, we will show the Sign Up form.
We'll keep the session data within a Promise on
the sessionPromise
property. The following simulates a logged in user:
viewModel.sessionPromise = Promise.resolve({user: {email<EMAIL_ADDRESS>What you need to know
- The value property definition can return the initial value of a property like:
var AppViewModel = can.DefineMap.extend({ myProperty: { value: function(){ return "This string" } } }); new AppViewModel().myProperty //-> "This string"
- [can-util/dom/ajax/ajax can.ajax] can make requests to a url like:
ajax({ url: "http://query.yahooapis.com/v1/public/yql", data: { format: "json", q: 'select * from geo.places where text="sunnyvale, ca"' } }) //-> Promise
- Use {{#if(value)}} to do
if/else
branching in can-stache. - Promises are observable in
can-stache
. For a promisemyPromise
:myPromise.value
is the resolved value of the promisemyPromise.isPending
is true if the promise has not resolvedmyPromise.isResolved
is true if the promise has resolvedmyPromise.isRejected
is true if the promise was rejectedmyPromise.reason
is the rejected value of the promise
The solution
Update the template in the HTML tab to:

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
sessionPromise: {
value: function(){
return can.ajax({
url: "/api/session"
});
}
}
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);
Signup form
The problem
Lets allow the user to enter an email and password and click Sign Up. When this happens
we'll POST
this data to /api/users
. Once the user is created, we'll want to update the sessionPromise
property to have a promise with a session-like object.
A promise with a session-like object looks like:
{user: {email<EMAIL_ADDRESS>What you need to know
DefineMap.extend allows you to define a property by defining its type like so:
AppViewModel = can.DefineMap.extend("AppViewModel",{ name: "string", password: "number" });
The toParent:to can set an input’s
value
to a ViewModel property like:<input value:to="name"/>
Use ($EVENT) to listen to an event on an element and call a method in
can-stache
. For example, the following callsdoSomething()
when the

is clicked:
 ...

Notice that it also passed the event object with
%event
.To prevent a form from submitting, call
event.preventDefault()
.Use
.then
on a promise to map the source promise to another promise value.var source = Promise.resolve({email<EMAIL_ADDRESS>var result = source.then(function(userData){ return {user: userData} });
The solution
Update the template in the HTML tab to:

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
sessionPromise: {
value: function(){
return can.ajax({
url: "/api/session"
});
}
},
email: "string",
password: "string",
signUp: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/users",
type: "post",
data: {
email: this.email,
password: this.password
}
}).then(function(user){
return {user: user};
});
}
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);
Log out button
The problem
Lets update the app to log the user out when the log out button is clicked. We can
do this by making a DELETE
request to /api/session
and updating the sessionPromise
property to have a rejected value.
What you need to know
Use
.then
andPromise.reject
to map a source promise to a rejected promise.var source = Promise.resolve({}) var result = source.then(function(userData){ return Promise.reject({message: "Unauthorized"}); }); result.catch(function(reason){ reason.message //-> "Unauthorized"; });
The solution
Update the template in the HTML tab to:

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
sessionPromise: {
value: function(){
return can.ajax({
url: "/api/session"
});
}
},
email: "string",
password: "string",
signUp: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/users",
type: "post",
data: {
email: this.email,
password: this.password
}
}).then(function(user){
return {user: user};
});
},
logOut: function(){
this.sessionPromise = can.ajax({
url: "/api/session",
type: "delete"
}).then(function(){
return Promise.reject({message: "Unauthorized"});
});
}
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);
Login form
The problem
Lets allow the user to go back and forth between the Sign Up page and the Log In
page. We'll do this by changing a page
property to "signup"
or "login"
.
We'll also implement the Log In form's functionality. When a session is created,
we'll want to POST
session data to /api/session
and update sessionPromise
accordingly.
What you need to know
- Use {{#eq(value1, value2)}} to test equality in
can-stache
.
The solution
Update the template in the HTML tab to:

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
sessionPromise: {
value: function(){
return can.ajax({
url: "/api/session"
});
}
},
email: "string",
password: "string",
signUp: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/users",
type: "post",
data: {
email: this.email,
password: this.password
}
}).then(function(user){
return {user: user};
});
},
logOut: function(){
this.sessionPromise = can.ajax({
url: "/api/session",
type: "delete"
}).then(function(){
return Promise.reject({message: "Unauthorized"});
});
},
page: {value: "login"},
gotoSignUp: function(){
this.page = "signup";
},
gotoLogIn: function(){
this.page = "login";
},
logIn: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/session",
type: "post",
data: {
user: {
email: this.email,
password: this.password
}
}
});
}
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);
Login errors
The problem
If the user tried to login, but the server responded with an error message, let's
display that error message. We'll do this by catch
ing the create-session request. If
the request failed we will set a logInError
property with the server's response data.
What you need to know
- Use
.catch
to handle when a promise is rejected:var source = Promise.reject({responseText: '{"message": "foo"}'}) source.catch(function(reason){ reason.responseText //-> '{"message": "foo"}' })
- Use
JSON.parse
to convert text to JavaScript objects:JSON.parse('{"message": "foo"}') //-> {message: "foo"}
- Use the
"any"
type to define a property of indeterminate type:var AppViewModel = can.DefineMap.extend({ myProperty: "any" }); var viewModel = new AppViewModel({}); viewModel.myProperty = ANYTHING;
The solution
Update the template in the HTML tab to:

Update the JavaScript tab to:
var AppViewModel = can.DefineMap.extend({
sessionPromise: {
value: function(){
return can.ajax({
url: "/api/session"
});
}
},
email: "string",
password: "string",
signUp: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/users",
type: "post",
data: {
email: this.email,
password: this.password
}
}).then(function(user){
return {user: user};
});
},
logOut: function(){
this.sessionPromise = can.ajax({
url: "/api/session",
type: "delete"
}).then(function(){
return Promise.reject({message: "Unauthorized"});
});
},
page: {value: "login"},
gotoSignUp: function(){
this.page = "signup";
},
gotoLogIn: function(){
this.page = "login";
},
logIn: function(event){
event.preventDefault();
this.sessionPromise = can.ajax({
url: "/api/session",
type: "post",
data: {
user: {
email: this.email,
password: this.password
}
}
});
this.logInError = null;
this.sessionPromise.catch(function(xhr){
this.logInError = JSON.parse(xhr.responseText);
}.bind(this));
},
logInError: "any"
});
var viewModel = new AppViewModel({});
var view = can.stache.from("app-view");
var frag = view(viewModel);
document.body.appendChild(frag);


Bangladesh suffer heavy defeat in 1st Test against India
by bdnews24.comBangladesh have plunged to a humiliating innings defeat to India inside three days of in the opening Test match at Indore on Saturday.
The Tigers began the day trailing India by 343 runs after the hosts declared on their overnight score of 493-6.
But the visitors were skittled out for just 213 as seamer Mohammed Shami and off-spinner R Ashwin ran through the batting line up with only Mushfiqur Rahim (63) standing in the way.
Mushfiqur made the most of a reprieve earlier in his knock to be 53 not out, having added 56 runs with Mehidy Hasan Miraz 38.
Bangladesh's efforts to stave off defeat were dealt an early blow when opener Imrul Kayes (6) was bowled by seamer Umesh Yadav with the score at 10.
Shadman Islam (6) fell shortly afterwards as a length ball by Ishant Sharma sneaked through his defence and crashed into the stumps.
Captain Mominul Haque was the next to go after being trapped lbw by Mohammad Shami for 7.
Mohammad Mithun followed the skipper back to the pavilion after a quick-fire 18, including four boundaries, when he miscued a short-ball by Shami straight to Mayank Agarwal at mid-wicket.
A 63-run partnership between Mushfiqur Rahim and Liton Das offered some encouragement for Bangladesh supporters on an otherwise miserable day for the tourists.
But hopes of a fightback were nipped in the bud when R Ashwin removed Liton for 35.
Kolkata hosts the second and final match, which will be the first day-night test for both sides, from Nov 22.


Hillary Clinton hails Michelle Obama over Grammys nomination
by Oluwakemi AbimbolaFormer First Lady of United States, Michelle Obama, has been nominated for the Grammys.
The audio version of her memoir, Becoming, secured her a spot in the ‘Spoken Word’ category at next year’s 61st Annual Grammy Awards.
Reacting to the nomination is another former US first lady, Hillary Clinton.
Taking to her verified Twitter handle, Hilary, a former presidential candidate tweeted:


ARRAY_SET
Function
Creates a new array by copying an existing array and replacing one of the elements. The existing array is not
modified.
Syntax
ARRAY_SET(array, element-index, value)
Parameters
- array: blob
The existing array to copy.
- element-index: integer
Zero-based index into the array, specifying which element to replace.
- value: scalar
The replacement value.
Return Value
The new array, with the element at index element-index replaced with value. If the
index is out of range, then an error is raised.
Example
DECLARE @a = ARRAY(111, 222, 333);
DECLARE @b = ARRAY_SET(@a, 2, 999);
PRINT @a; -- "[111, 222, 333]"
PRINT @b; -- "[111, 222, 999]"
See Also


Various gameplay elements can be changed in this tab. It included features that affect what players can carry due to weight, what special actions they can or cannot perform, and how they can move about.
SetGravity(int)
Affects the weight of the objects the player is carrying.
SetTown(string)
Tags a room as belonging to a specific township. Used when allowing players to create their own homes within a region. Laregly unused in Stellarmass at this time. See http://dead-souls.net/docs/build/Towns for more details.
SetObviousExits(string)
Text that is displayed at the bottom of the room description for avilable exits. Useful for making certain exits 'hidden'. For example if a room has "avilable exits: north, east, south" by default, you could enter "north, south" and thus make' east' invisible.
SetTracksAllowed(int)
If checked, any living creature that passes through this room will leave tracks for a short time. Recommended to be left on so that Explorers can use their 'Track' skill.
SetProperties(mapping) or SetProperty(string,mixed)
Controls certain aspects of a room.
SetTerrain(int)
Sets the atmosphere, legal movement types, and stamina use required by players moving through a room. Some combinations are illegal (for example, underwater and road). Beware, some of these choices are leathal to exposed players; such as T_SPACE. Some are meant to be used as combinations with the room's Medium (such as T_SURFACE and MEDIUM_WATER).
SetMedium(int)
Another type of specification for atmoshpere and sometimes movement capacity. Note, MEDIUM_VACCUM is a costume value for stellarmass and represents a region with solid ground and no atmosphere as opposed to MEDIUM_SPACE which has neither ground nor atmsphere.


{% extends 'base.html' %} {% block title %}See you!{% endblock %} {% block register %}
You have been successfully logged out.


 Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
CodaLab is a platform built using Python, Django, and Foundation that lets communities explore experiments together and propose challenges designed to advance the state of the art. The first two communities helping build CodaLab are the Machine Learning community and the Medical Imaging community.
Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.
Start exploring CodaLab.


Zlatan Ibrahimovic: memorable goals from his time at LA Galaxy – video highlights
by LA Galaxy
Zlatan Ibrahimovic has thanked LA Galaxy for making him feel 'alive again' before instructing the club’s fans to 'go back to watch baseball' now he has played his last MLS game for them. The Swedish striker will end a two-year spell at the club when his contract expires in December. In a tweet the Swedish international wrote: 'I came, I saw, I conquered … You wanted Zlatan. I gave you Zlatan. You are welcome.' The striker is linked with a move back to Serie A.
• 'I came, I saw, I conquered': Zlatan Ibrahimovic leaves LA Galaxy


Marvelmind¶
Introduction to the Marvelmind Positioning System¶
The Marvelmind Indoor Navigation System is an indoor navigation system designed for providing location data to autonomous robots, vehicles (AGV) and copters. The precision is rated to be +- 2cm.
The following requirements exist to run it within our Lab:
- Windows PC with Windows 10.
- Mac with Mac OSX Sierra.
- Windows Defender anti-malware software.
- Marvelmind HW 4.5 or 4.9 package + additional beacons as needed.
Marvelmind Environment Setup¶
Go to the marvelmind main page, on your Windows PC, at
Scroll down to the Dashboard SW v5.31 + Beacon SW v5.63 + Modem SW 5.63 hyperlink, click it, and a download should start (the version numbers may change based on updates). Once the zip file is finished downloading, make sure to run a windows defender virus check by rightclicking on the zip file and clicking “Scan with windows defender”. After making sure that there is no malware in the zip file, unzip it, and then unzip the dashboard folder, and the firmware folder for your particular beacon, either HW4.5 or HW4.9, included in the package.
Now, go back to
and scroll down to the STM driver column and download the zip file in it. Once the download has finished, unzip the file, and run the STM driver for your particular windows computer. This is only required to be done once, and allows you to update your beacons and modems.
How to update marvelmind beacons and modems if they are not up to date
Now, you can start using the dashboard file that you unzipped earlier.
FIX: change to marvelmind/dashboard
The dashboard interface should give you an error as shown in Figure 1.
Figure 1: Marvelmind error if modem is not plugged in.
The error in Figure 1 essentially signals that you have not plugged in the Marvelmind modem into your Windows PC yet, which is shown in Figure 2. Without this modem, you will not be able to use the Marvelmind dashboard to set up your Marvelmind navigation environment.
Figure 2: Marvelmind modem.
Once the modem is plugged into the Windows PC using a USB cable, with the Marvelmind dashboard running, the error should go away. You will be presented with a coordinate plane, as demonstrated in Figure 3. There should be an error at the top left corner of the coordinate plane stating that not enough beacons are available. This error is due to the fact that you have not turned on enough beacons required to track movement with the dashboard environment. You will need at least two beacons. You now need to set up stationary and mobile beacons, as needed, to fit your navigational needs.
Figure 3: Marvelmind coordinate plane.
Marvelmind Stationary Beacon Setup¶
Marvelmind uses stationary beacons in order to track its mobile beacons. Any Marvelmind beacon, Figure 4, can be assigned the duty of being stationary or mobile, and it is up to you to decide how many beacons you would like to set up as stationary, or tracker, beacons. The larger the space you operate your environment in, the larger the amount of tracker beacons you should use. Keep in mind, the stationary beacons need to be a good distance apart, 3 meters is a good measure, and their recommended height is at least 1.85 meters. Therefore it is a good idea to mount the stationary beacons on stands of heights equal to or greater than 1.85 meters using velcro tape, as shown in Figure 5.
Figure 4: Marvelmind beacon.
Figure 5: Stand used to hold Marvelmind stationary beacon in place above recommended height.
Now that you have set up your beacons on top of the stands. You may turn them on one by one. The beacons will start showing up on the Marvelmind dashboard, they take approximaely 8 seconds to wake up, as green circles with random device addresses assigned to them, consisting of numbers between 1 and 99, as shown in Figure 6. Keep track of the numbers Marvelmind assigns to each beacon, as you can name them to your liking. You can now assign one of the beacons the coordinates (0,0,Z), Z being the height of the beacon, by making it the starting beacon. The menu to the right of the dashboard interface, Figure 7, has an option labeled starting beacon tritalateration. You can type the device address number of whichever beacon you would like to use as your point (0,0, Z) in terms of the x and y value, respectibly. The other beacons will now remap themselves around this beacon on the dashboard interface.
FIX: provide guidance how to name the beacons e.g. stationary vs mobile beacone
Figure 6: Marvelmind beacon list.
Figure 7: First cell shows starting beacon trilateration.
At the bottom of your dashboard there is a list of all 99 beacon addresses, as shown in Figure 8. Find each beacon the device address number of which you would like to change, and click on it and the menu presented to you on the right side of the dashboard interface should change to look like Figure 9. In this new menu, click the Device address option and type in whatever number, between 1 and 99, that you would like to assign to this specific beacon, as long as another active beacon does not have it. The beacon should now change device addresses. Do this for as many beacons as you like.
Figure 8: List of beacons circled red.
Figure 9: Menu you are presented with once you click a specific beacon to edit its settings.
Now that you have assigned your beacons device addresses to your liking and have picked a starting beacon, you can click the option freeze map at the bottom right corner of the coordinate plane, Figure 10, and lock your beacons as stationary on the Marvelmind screen. Now you can move on to introducing mobile beacons that will be picked up by these stationary beacons to your environment.
Figure 10: “Freeze map” option circled red.
Marvelmind Mobile Beacon Setup¶
Once you have frozen the stationary beacons, you can now start introducing mobile beacons to Marvelmind. These mobile beacons can be mounted on whatever object you are trying to measure the movement of using Marvelmind, such as a robot. In order to introduce a beacon as a mobile beacon. Simply turn a beacon, or as many as you would like, on in addition to the frozen beacons, it will show up green just like the other beacons on the dashboard. Find the beacon number in the list shown in Figure 9 of this newly started beacon, renumber it like demonstrated earlier, or keep the address if that’s your preference. Click on the beacon number in the list and the menu on the right should change again, as demonstrated in Figure 8. Now, there should be an option at the top of this menu labeled Hedgehog mode and it should be disabled. Click on it so it says enabled. The beacon should now turn blue on the coordinate plane, as shown in Figure 11.
Figure 11: Hedgehog beacon and its setting.
You can now move the beacon around as it is mobile, while the frozen beacons remain stationary. Now the Marvelmind python program, which you will find in the dashboard package that you downloaded from google docs, can be used to track the coordinates of this beacon, essentially tracking whatever object it is mounted on. If you are mounting other objects on top of the device you are tracking in addition to the beacon, you will need holders for mobile beacons that allow the beacons to be mounted higher up than everything else mounted on the device, so that they do not block the sound recepters on the beacons, since that’s the stationary beacons’ way of receiving feedback from the mobile ones. Figure 12 shows a selfie stick that can be purchased from any local store that seems to function very well as a holder for the beacons. Just make sure the beacon is not too far into the holder, because the sound recepters may become blocked off.
Figure 12: Selfie stick used as a hedgehog beacon holder (note how the sound receptors are elevated above the grip of the beacons).
Programming in Python¶
In order to get coordinates of the beacons from the python program.
Unplug the modem from the Windows PC after you have frozen your
stationary beacons and introduced the mobile beacon(s). Plug it into
your mac computer. Run the marvelmind.py program included in the program
package that you can download, along with example.py for reference on
using it,
Here,
by typing python marvelmind.py
into Terminal. If there is an error,
open the marvelmind.py program in your python editor and scroll to line
175, which should look like this
m = MarvelmindHedge(tty='/dev/tty.usbmodemFD121') # for macOS
Replace tty.usbmodemFD121
with the usb tty for your computer
assigned to that modem.
Once this issue is resolved, the program should start outputting coordinates of the remote beacons, as shown in Figure 13. You can now move the remote beacon(s) around and the marvelmind.py program will pick up on the movement, even if the dashboard on the Windows PC says there is no connection. You can now implement these coordinates into your python programs.
(ENV3) Ss-MacBook-Pro:tests username$ python marvelmind.py
Hedge 0: X: 0, Y: 0, Z: 0 at time T: 0.00
...
Hedge 0: X: 0, Y: 0, Z: 0 at time T: 0.00
Hedge 18: X: 200.20, Y: 229.30, Z: 12.80 at time T: 9.71
...
Hedge 18: X: 199.30, Y: 235.40, Z: 12.90 at time T: 13.71
...
Hedge 18: X: 199.30, Y: 235.50, Z: 12.90 at time T: 15.71
Hedge 18: X: 199.30, Y: 235.50, Z: 12.90 at time T: 15.71
Hedge 18: X: 199.30, Y: 235.50, Z: 12.90 at time T: 15.71
Hedge 18: X: 199.30, Y: 235.50, Z: 12.90 at time T: 15.71
Figure 13: Marvelmind coordinates presented as units of (X,Y,Z, and time elapsed since the program has been running) in MacOS Terminal. Note how marvelmind.py takes a little over the aforementioned 8 seconds to start picking up on coordinates, since that’s how long it takes the mobile beacon to wake up. beacons will report multiple times and we have removed them and replaced with …
BUG: LINK TO OUR OWN REPOSITORY DOES NOT WORK
Marvelmind Updates¶
Updating Marvelmind modem.¶
First, open the marvelmind dashboard with the marvelmind modem plugged in to a Windows PC. You should be presented with a screen that looks likes this:
As you notice, circled at the bottom left of the dashboard, in red, is the version number of the modem. If the modem is not on the latest update, according to Marvelmind.com, and you wish to be on the latest update, click on the firmware tab at the top left of the dashboard, as circled in this figure:
Navigate to the SW folder that you unzipped upon installation, and click on the folder labeled after your modem version, either 4.5 or 4.9. Then find the modem firmware zip file, unzip it, and double click the hex file inside and you should be returned to the dashboard, as shown:
Click next, and the update should start. Once the update has concluded, close the dashboard.
Updating Marvelmind beacons¶
First, open the marvelmind dashboard with the marvelmind beacon plugged in to a Windows PC. You should be presented with a screen that looks likes this:
As you notice, circled at the bottom left of the dashboard, in red, is the version number of the beacon. If the beacon is not on the latest update, according to Marvelmind.com, and you wish to be on the latest update, click on the firmware tab at the top left of the dashboard, as circled in this figure:
Navigate to the SW folder that you unzipped upon installation, and click on the folder labeled after your modem version, either 4.5 or 4.9. Then find the beacon firmware zip file, unzip it, and double click the hex file inside and you should be returned to the dashboard, as shown:
Click next, and the update should start. Once the update has concluded, close the dashboard.


The endsWith()
method determines whether a string ends with the characters of another string, returning true
or false
as appropriate.
str.endsWith(searchString[, position])
searchString
position
This method lets you determine whether or not a string ends with another string.
endsWith()
var str = 'To be, or not to be, that is the question.'; console.log(str.endsWith('question.')); // true console.log(str.endsWith('to be')); // false console.log(str.endsWith('to be', 19)); // true
This method has been added to the ECMAScript 6 specification and may not be available in all JavaScript implementations yet. However, you can polyfill str.endsWith()
with the following snippet:
if (!str.endsWith) { str.endsWith = function(searchString, position) { var subjectString = this.toString(); if (position === undefined || position > subjectString.length) { position = subjectString.length; } position -= searchString.length; var lastIndex = subjectString.indexOf(searchString, position); return lastIndex !== -1 && lastIndex === position; }; }
Created by Mozilla Contributors, license: CC-BY-SA 2.5


VMware Tools on Server 2012 Update Issues
There seems to be issues with auto-upgrading VMware tools to the newest version on some 2012 instances. The tools will install but will crash constantly. Trouble is it's not all of them. While I haven't been able to pinpoint the issue I have found a workaround. If you uninstall the tools with setup /c
and then remove ALL files from the VMware Tools directory under Program Files, then a clean install will succeed. The one key is that you MUST stop the VMware Auth service in services for this to fully work or else the delete won't work. See the very simple PowerShell script below. NOTE: It relies on the fact of the tools being mounted to D:\ (which can be done via PowerCLI with mount-tools
though I guess it depends if you've re-mapped that disk drive in Windows to something else… future improvement!)
d:/setup64/exe /c
stop-service 'VMware Auth Guest'
Remove-Item "c:\program files\vmware"


| deployOracle | index /Users/ik/GitRepos/devops-informatica-tools/cicd/deployOracle.py |
# MIT License
#
# Copyright (c) 2019 Jac. Beekers
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
| Modules | ||||||
|
| Classes | ||||||||||
|
|
| Functions | ||
|
| Data | ||
| logger = <Logger deployOracle (WARNING)> |


Step 1 of 3
Who would you like to plan a trip for?
Next
Step 2 of 3
What special occasion would you like to use DreamFunder for?
Step 3 of 3
What is your email address?
We'll let you know when you can get started on their trip.
We'll contact you as soon as Dreamfunder is ready to go


CLEAN_UP
signature
signature CLEAN_UP
This modules provides hooks for actions (e.g., closing files) to be performed at various important points in the ML process, such as at process exit.
datatype when = AtExportML | AtExportFn | AtExit | AtInit | AtInitFn
val atAll : when list
val addCleaner : (string * when list * (when -> unit)) -> (when list * (when -> unit)) option
val removeCleaner : string -> (when list * (when -> unit)) option
val clean : when -> unit
datatype when
AtExportML
AtExportFn
AtExit
AtInit
AtInitFn
atAll
addCleaner (name, when, f)
w
in the when list occurs, f(w
) will be called. If there was previously a cleaner (when',g)
associated with that name, then SOME(when',g)
will be removed and returned, otherwise NONE
.
removeCleaner name
NONE
.
clean when
Last Modified October 28, 1997
Comments to<EMAIL_ADDRESS>Copyright © 1998 Bell Labs, Lucent Technologies


Plugin Information |
|---|
Distribution of this plugin has been suspended due to unresolved security vulnerabilities, see below. |
The current version of this plugin may not be safe to use. Please review the following warnings before use:
The Script SCM plugin allows SCM polling to be managed using scripts.
The basic concept is as follows.
The plugin allows a groovy script to be configured to manage SCM polling and checkout life cycle. The groovy script can be embedded directly on the config page of the project or a reference to an external groovy script file can be specified.
The plugin also provides the groovy script with a mechanism to invoke an external ant script. The idea is that the groovy script has access to the Jenkins API but not to the SCM. The ant script has access to the SCM but not to the jenkins API. The groovy script together with an ant script provides the communication link between the Jenkins API and the SCM.
Whenever Jenkins polls the script-scm plugin for changes, the plugin invokes the groovy script passing in a variable called 'action' with the value 'compareWithRemoteVersion'.
The groovy script can then check the value of the 'action' variable and call an external ant script to detect changes in the SCM. When calling the external ant script the groovy script can pass in values like the time-stamp of the last successful build or the time-stamp of the last build or any additional information that the ant script requires from Jenkins. All the logic to determine the parameters that need to be passed to the ant script should be written in the groovy script. The logic to detect changes in the SCM should be written in the ant script.


Authors: Ricardo Gonçalves (tome.wave@gmail.com).
| add/2 | Adds the dots corresponding to each version in the DCC to the BVV; this is accomplished by using the standard fold higher-order function, passing the function swc_node:add/2 defined over BVV and dots, the BVV, and the list of dots in the DCC. |
| add/3 | This function is to be used at node I after dcc:discard/2, and adds a mapping, from the Dot (I, N) (which should be obtained by previously applying swc_node:event/2 to the BVV at node I) to the Value, to the DCC, and also advances the i component of the VV in the DCC to N. |
| context/1 | Returns the causal context of a DCC, which is representable as a Version Vector. |
| discard/2 | It discards versions in DCC {D,V} which are made obsolete by a causal context (a version vector) C, and also merges C into DCC causal context V. |
| fill/2 | Function fill adds back causality information to a stripped DCC, before any operation is performed. |
| fill/3 | Same as fill/2 but only adds entries that are elements of a list of Ids, instead of adding all entries in the BVV. |
| new/0 | Constructs a new clock set without causal history, and receives one value that goes to the anonymous list. |
| strip/2 | It discards all entries from the version vector V in the DCC that are covered by the corresponding base component of the BVV B; only entries with greater sequence numbers are kept. |
| sync/2 | Performs the synchronization of two DCCs; it discards versions ( {dot,value} pairs) made obsolete by the other DCC, by preserving the versions that are present in both, together with the versions in either of them that are not covered by the relevant entry in the other's causal context; the causal context is obtained by a standard version vector merge function (performing the pointwise maximum). |
| values/1 | Returns the set of values held in the DCC. |
Adds the dots corresponding to each version in the DCC to the BVV; this is accomplished by using the standard fold higher-order function, passing the function swc_node:add/2 defined over BVV and dots, the BVV, and the list of dots in the DCC.
This function is to be used at node I after dcc:discard/2, and adds a mapping, from the Dot (I, N) (which should be obtained by previously applying swc_node:event/2 to the BVV at node I) to the Value, to the DCC, and also advances the i component of the VV in the DCC to N.
Returns the causal context of a DCC, which is representable as a Version Vector.
It discards versions in DCC {D,V} which are made obsolete by a causal context (a version vector) C, and also merges C into DCC causal context V.
Function fill adds back causality information to a stripped DCC, before any operation is performed.
Same as fill/2 but only adds entries that are elements of a list of Ids, instead of adding all entries in the BVV.
new() -> dcc()
Constructs a new clock set without causal history, and receives one value that goes to the anonymous list.
It discards all entries from the version vector V in the DCC that are covered by the corresponding base component of the BVV B; only entries with greater sequence numbers are kept. The idea is that DCCs are stored after being stripped of their causality information that is already present in the node clock BVV.
Performs the synchronization of two DCCs; it discards versions ( {dot,value} pairs) made obsolete by the other DCC, by preserving the versions that are present in both, together with the versions in either of them that are not covered by the relevant entry in the other's causal context; the causal context is obtained by a standard version vector merge function (performing the pointwise maximum).
Returns the set of values held in the DCC.
Generated by EDoc, Oct 29 2015, 16:20:19.