...analyzing...
Could not load transcript.
Meeting effectiveness:
...
%
Talk times
Collaboration
Wordcloud
circumference = turns, depth = average time/turn


{% extends "base.mail.html" %} {% load djmoney %} {% load i18n %} {% block content %}
{% blocktrans context 'email' %}
Hi platform manager,
A live campaign has a problem with their KYC validation.
Please check this soonest!
{% endblocktrans %}
{% blocktrans context 'email' %} If you fail to complete your identity verification we won't be able to payout the crowdfunding campaign. All donations will be returned to your supporters! {% endblocktrans %}
{% endblock content %} {% block action %} {% trans 'Check payout account' context 'email' %} {% endblock %}`


HOME
ABOUT
CONTACT
CULTURE BLOG 1
CULTURE BLOG 2
CULTURE BLOG 3
CULTURE BLOG 4
CULTURE BLOG 5
CULTURE BLOG 5
TECH BLOG 1
TECH BLOG 2
TECH BLOG 3
TECH BLOG 4
TECH BLOG 5
TECH BLOG 6


new Certificates()
Certificates class.
The Certificates class contains functions required for the certificate generation form an existing
public key as well as for new key pair and their certificate generation.
- Source:
Returns:
Certificates object
Methods
-
<private> addCertificateTextarea(certificate)
-
Creates a certificate textarea container and adds it to the DOM within a container identified by the "#generatedCertificate" selector. The textarea is filled with the provided certificate text. The function triggers download button generation and prepeds it to the generated container so the certificate can be easily downloaded by a user.
Parameters:
Name Type Description certificate
value to be placed into the generated textarea container. - Source:
-
<private> addKeyAndCertificateTextarea(keyAndCertificate)
-
The function triggers the container creation for the generated private key and its certificate.
Parameters:
Name Type Description keyAndCertificate
String - - Source:
-
<private> createDownloadCertificateBtn(filename, certificate) → {Object}
-
Creates a button for downloading of the generated certificate.
Parameters:
Name Type Description filename
String name of the downloading file. certificate
String certificate value, to be stored in the downloading file. - Source:
Returns:
download certificate button object with the appropriate on click event listener.- Type
- Object
-
<private> createDownloadPrivateKeyBtn(filename, privateKey) → {Object}
-
Creates a button for downloading of the generated private key.
Parameters:
Name Type Description filename
String name of the downloading file with a private key. privateKey
String private key value, to be stored in the downloading file. - Source:
Returns:
download private key button object with the appropriate on click event listener.- Type
- Object
-
<private> createOptionItem(public) → {Object}
-
Creates an select option item for a given public key description
Parameters:
Name Type Description public
String key description to create an select option item for - Source:
Returns:
select option object with the value of the given public key description.- Type
- Object
-
<private> createTextAreaContainer() → {Object}
-
Creates textarea container for representing a generated certificate and private key with specified container identifier, header text, content and private key and certificate values for creation of the appropriate download buttons.
- Source:
Returns:
generated certificate and private key container including the appropriate download buttons.- Type
- Object
-
<private> getUserPublicKeysFromServer() → {Array}
-
Requests from a server a list of the all public keys stored in a profile of the current user
- Source:
Returns:
user public keys array- Type
- Array
-
initForm()
-
Triggers functions for the certificate management form initialization. It initializes public key select element that contains all the public keys from the current user profile. It defines the behaviour for the certificate generation from the existing public key as well as generation of the certificate and the corresponding certificate.
- Source:
-
<private> initGenerateCertificatesBtn()
-
Initializes the behaviour after clicking on the button for the generation of the certificate from the currently selected public key.
- Source:
-
<private> initGenerateKeyAndCertificateBtn()
-
Initializes the button for the ssh key pair generation and the appropriate certificate for it. The function defines the button hint in a tooltip. It defines on the button click behaviour. It checks if the pass-phrase for the private key is valid, Sends the request to the server, evaluates it and shows the responded message to the user, updates all of the related public key forms.
- Source:
- See:
-
- Server#generatePublicKeyAndCertificate for generate public keys and certificate request towards the server
-
<private> initPassphraseField()
-
Initiates twitter botstrap tooltip depending on the current screen size. Tooltip on top for small screens and on the right side for a large ones.
- Source:
-
initPublicKeySelect()
-
Triggers select element initiation for existing user public keys representation. It fills the selector object identified by "#selectKeyForGeneration" selector with the options of the user public keys if there are keys available, otherwise it shows an info message, that no public keys are available.
- Source:


Calls to 911 from Lower West Hampden
Calls for 1400 37TH
Calls for 1300 37TH
Calls for 1200 37TH
Calls for 3600 BUENA VISTA


New England Digital Synclavier II
In 2011 I acquired a New England Digital Synclavier II. This is a digital synthesizer and sequencer, one of the first workstations before that term was even invented. It uses a combination of additive synthesis and FM synthesis (under licence from Yamaha) and the synthesizer and sequencer part occupy a large rack unit. Some of the Synclavier II's sounds are very distinctive and have not been copied by later instruments because, so far, no instrument has replicated the precise combination of additive synthesis and FM synthesis.


Welcome!.
This is the sample tasks application for Becoming Smart, a set of articles for developers about the JavaScript Smart Platform.
Maybe you would like to play with the sample tasks application?. Try admin/secret
as your credentials.
You can get the source code from the Public Joyent Git Repository.


?01
234
567
89
10
Iggj
The
New
York
cm
copyright
reserved
Botanical
Garden
v
„
NEW
yfORK
BOTANICAL
GARDEN
FIELD
MUSEUM
OF
NATURAL
HISTORY
~?>x
.
ff
2
f
NEW
YORK
BOTANICAL
GARDEN
01497957
štA*Wi*E0
FOR
BAHAMA
FLORA
W.
T.
GILLtS
01497957
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


Measurement Tool Box functions¶
In the following a simple doc string representation of all tool box functions are displayed. These functions can be used to simplify your own measurement plugin. You can simply import it and save an instance of this class and reference it. Or more conveniently, your measurement plugin can inherit the tools class and make every member of tools a member of your plugin. To see how this works see in the tutorial section the chapter Add a new measurement.
VCW - Visa Connect Wizard¶
In the following a simple doc string representation of all VCW functions are displayed. These functions can be used to simplify your own measurement plugin. You can simply import it and save an instance of this class and reference it. Or more conveniently, your measurement plugin always gets a working instance of it in the form of the framework variables object. With it you can easy and savely send your devices any kind of command directly.
Note
Usually you are using a wrapper function of the Measurement Tool Box functions for this functions!
XYZ-Stage Control Class¶
The XYZ-Stage Control Class is a core feature of COMET it allows you to safely operate any configured automated table. An instance is generated on start up -if a stage is configured- in the Framework variables. It features several move functions which has build in the functionality to first move down the stage and then move to another location and if in position move the table up again. This prevents scratches on e.g. silicon sensors when contacted with needles.
Furthermore, it checks the position of the stage to make sure the table is always on the correct location. If not an error will be raised in the COMETs internal error handling system.
Switching System Control Class¶
The Switching System Control Class gives you functions to safely operate a switching system. An instance is generated on start up in the Framework variables. It has the ability to cope with lots of different variants of switching systems. In the following section the needed config files and a how to, will be explained.
First of all you need at least one switching device configured. This device needs an entry Device_type: Switching relay
so that COMET knows that this device is a switching capable device. The other parameters of this device are of the same
type as any other measurement device.
The other thing you need are configs to tell COMET what to switch. Therefore, you need a config YAML file in your project
with the Settings_name: Switching
entry and Device_type: Switching relay
. This is followed by the entry Switching_Schemes
.
In it are the different measurement types to switch followed by the name of the device and then the switching relays which need
to be closed.
To clarify what I mean with that see an example:
---
Settings_name: Switching
Device_type: "Switching relay"
Switching_Schemes:
IV: # Name of the switching configuration
HVSwitching: # Name or Alias of a Switching device
- A1 # relay to switch
- B1
- C2
Rpoly:
HVSwitching: # Name or Alias of a Switching device
- A1
- B1
- C1
LVSwitching: # Name or Alias of a Switching device
- 1C05
- 1C06
Here two switching schemes are defined. IV and Rpoly. For IV only the device/alias HVSwitching will be switched with the relays: A1,B1,C2. For Rpoly not only HVSwitching also the switching device LVSwitching will be switched.
If you have configured your setup like this it is fairly easy to switch to the measurement configuration IV.
Just call the function: switch_to_measurement("IV")
and the class will handle the switching on its own.
Important
The class checks if the switching has been done correctly. If your switching of the device does not match the intended switching an error will be raised and the user will be informed.
Some devices have the ability to do a device exclusive switching, so all switching logic is done by the device.
If you want to use this device exclusive switching, the device config file must have the entry: device_exclusive_switching: True
Otherwise you can set it False or not state it at all.
For non exclusive switching devices the switching logic will be done via the switching class.
Note
In future releases there will be a config option to decide BBM or MBB. Currently it is hard coded to BBM since this is the recommended way to do it.


Sleef_float32x4_t_2
Description
Sleef_float32x4_t_2 is a data type for storing two float32x4_t values, which is defined in sleef.h as follows:
typedef struct { float32x4_t x, y; } Sleef_float32x4_t_2;
Vectorized single precision sine function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_sinf4_u10(float32x4_t a);
float32x4_t Sleef_sinf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sinf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision sine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_sinf4_u35(float32x4_t a);
float32x4_t Sleef_sinf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sinf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision cosine function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_cosf4_u10(float32x4_t a);
float32x4_t Sleef_cosf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_cosf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision cosine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_cosf4_u35(float32x4_t a);
float32x4_t Sleef_cosf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_cosf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision combined sine and cosine function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
Sleef_float32x4_t_2 Sleef_sincosf4_u10(float32x4_t a);
Sleef_float32x4_t_2 Sleef_sincosf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sincosf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision combined sine and cosine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
Sleef_float32x4_t_2 Sleef_sincosf4_u35(float32x4_t a);
Sleef_float32x4_t_2 Sleef_sincosf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sincosf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision sine function with 0.506 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_sinpif4_u05(float32x4_t a);
float32x4_t Sleef_sinpif4_u05neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sinpif_u05. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision cosine function with 0.506 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_cospif4_u05(float32x4_t a);
float32x4_t Sleef_cospif4_u05neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_cospif_u05. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision combined sine and cosine function with 0.506 ULP error bound
Synopsis
#include <sleef.h>
Sleef_float32x4_t_2 Sleef_sincospif4_u05(float32x4_t a);
Sleef_float32x4_t_2 Sleef_sincospif4_u05neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sincospif_u05. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision combined sine and cosine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
Sleef_float32x4_t_2 Sleef_sincospif4_u35(float32x4_t a);
Sleef_float32x4_t_2 Sleef_sincospif4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sincospif_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision tangent function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_tanf4_u10(float32x4_t a);
float32x4_t Sleef_tanf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_tanf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision tangent function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_tanf4_u35(float32x4_t a);
float32x4_t Sleef_tanf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_tanf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision power function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_powf4_u10(float32x4_t a, float32x4_t b);
float32x4_t Sleef_powf4_u10neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_powf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision natural logarithmic function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_logf4_u10(float32x4_t a);
float32x4_t Sleef_logf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_logf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision natural logarithmic function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_logf4_u35(float32x4_t a);
float32x4_t Sleef_logf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_logf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-10 logarithmic function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_log10f4_u10(float32x4_t a);
float32x4_t Sleef_log10f4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_log10f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-2 logarithmic function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_log2f4_u10(float32x4_t a);
float32x4_t Sleef_log2f4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_log2f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision logarithm of one plus argument with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_log1pf4_u10(float32x4_t a);
float32x4_t Sleef_log1pf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_log1pf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-e exponential function function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_expf4_u10(float32x4_t a);
float32x4_t Sleef_expf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_expf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-2 exponential function function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_exp2f4_u10(float32x4_t a);
float32x4_t Sleef_exp2f4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_exp2f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-10 exponential function function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_exp10f4_u10(float32x4_t a);
float32x4_t Sleef_exp10f4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_exp10f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision base-e exponential function minus 1 with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_expm1f4_u10(float32x4_t a);
float32x4_t Sleef_expm1f4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_expm1f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision square root function with 0.5001 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_sqrtf4(float32x4_t a);
float32x4_t Sleef_sqrtf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sqrtf_u05. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision square root function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_sqrtf4_u35(float32x4_t a);
float32x4_t Sleef_sqrtf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sqrtf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision cubic root function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_cbrtf4_u10(float32x4_t a);
float32x4_t Sleef_cbrtf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_cbrtf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision cubic root function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_cbrtf4_u35(float32x4_t a);
float32x4_t Sleef_cbrtf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_cbrtf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision 2D Euclidian distance function with 0.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_hypotf4_u05(float32x4_t a, float32x4_t b);
float32x4_t Sleef_hypotf4_u05neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_hypotf_u05. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision 2D Euclidian distance function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_hypotf4_u35(float32x4_t a, float32x4_t b);
float32x4_t Sleef_hypotf4_u35neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_hypotf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc sine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_asinf4_u10(float32x4_t a);
float32x4_t Sleef_asinf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_asinf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc sine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_asinf4_u35(float32x4_t a);
float32x4_t Sleef_asinf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_asinf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc cosine function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_acosf4_u10(float32x4_t a);
float32x4_t Sleef_acosf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_acosf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc cosine function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_acosf4_u35(float32x4_t a);
float32x4_t Sleef_acosf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_acosf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc tangent function with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_atanf4_u10(float32x4_t a);
float32x4_t Sleef_atanf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_atanf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc tangent function with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_atanf4_u35(float32x4_t a);
float32x4_t Sleef_atanf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_atanf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc tangent function of two variables with 1.0 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_atan2f4_u10(float32x4_t a, float32x4_t b);
float32x4_t Sleef_atan2f4_u10neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_atan2f_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision arc tangent function of two variables with 3.5 ULP error bound
Synopsis
#include <sleef.h>
float32x4_t Sleef_atan2f4_u35(float32x4_t a, float32x4_t b);
float32x4_t Sleef_atan2f4_u35neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_atan2f_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic sine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_sinhf4_u10(float32x4_t a);
float32x4_t Sleef_sinhf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sinhf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic sine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_sinhf4_u35(float32x4_t a);
float32x4_t Sleef_sinhf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_sinhf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic cosine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_coshf4_u10(float32x4_t a);
float32x4_t Sleef_coshf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_coshf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic cosine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_coshf4_u35(float32x4_t a);
float32x4_t Sleef_coshf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_coshf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic tangent function
Synopsis
#include <sleef.h>
float32x4_t Sleef_tanhf4_u10(float32x4_t a);
float32x4_t Sleef_tanhf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_tanhf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision hyperbolic tangent function
Synopsis
#include <sleef.h>
float32x4_t Sleef_tanhf4_u35(float32x4_t a);
float32x4_t Sleef_tanhf4_u35neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_tanhf_u35. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision inverse hyperbolic sine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_asinhf4_u10(float32x4_t a);
float32x4_t Sleef_asinhf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_asinhf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision inverse hyperbolic cosine function
Synopsis
#include <sleef.h>
float32x4_t Sleef_acoshf4_u10(float32x4_t a);
float32x4_t Sleef_acoshf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_acoshf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision inverse hyperbolic tangent function
Synopsis
#include <sleef.h>
float32x4_t Sleef_atanhf4_u10(float32x4_t a);
float32x4_t Sleef_atanhf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_atanhf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision error function
Synopsis
#include <sleef.h>
float32x4_t Sleef_erff4_u10(float32x4_t a);
float32x4_t Sleef_erff4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_erff_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision complementary error function
Synopsis
#include <sleef.h>
float32x4_t Sleef_erfcf4_u15(float32x4_t a);
float32x4_t Sleef_erfcf4_u15neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_erfcf_u15. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision gamma function
Synopsis
#include <sleef.h>
float32x4_t Sleef_tgammaf4_u10(float32x4_t a);
float32x4_t Sleef_tgammaf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_tgammaf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision log gamma function
Synopsis
#include <sleef.h>
float32x4_t Sleef_lgammaf4_u10(float32x4_t a);
float32x4_t Sleef_lgammaf4_u10neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_lgammaf_u10. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for rounding to integer towards zero
Synopsis
#include <sleef.h>
float32x4_t Sleef_truncf4(float32x4_t a);
float32x4_t Sleef_truncf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_truncf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for rounding to integer towards negative infinity
Synopsis
#include <sleef.h>
float32x4_t Sleef_floorf4(float32x4_t a);
float32x4_t Sleef_floorf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_floorf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for rounding to integer towards positive infinity
Synopsis
#include <sleef.h>
float32x4_t Sleef_ceilf4(float32x4_t a);
float32x4_t Sleef_ceilf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_ceilf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for rounding to nearest integer
Synopsis
#include <sleef.h>
float32x4_t Sleef_roundf4(float32x4_t a);
float32x4_t Sleef_roundf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_roundf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for rounding to nearest integer
Synopsis
#include <sleef.h>
float32x4_t Sleef_rintf4(float32x4_t a);
float32x4_t Sleef_rintf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_rintf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for fused multiply-accumulation
Synopsis
#include <sleef.h>
float32x4_t Sleef_fmaf4(float32x4_t a, float32x4_t b, float32x4_t c);
float32x4_t Sleef_fmaf4_neon(float32x4_t a, float32x4_t b, float32x4_t c);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fmaf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision FP remainder
Synopsis
#include <sleef.h>
float32x4_t Sleef_fmodf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_fmodf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fmodf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision FP remainder
Synopsis
#include <sleef.h>
float32x4_t Sleef_remainderf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_remainderf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_remainderf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for obtaining fractional component of an FP number
Synopsis
#include <sleef.h>
float32x4_t Sleef_frfrexpf4(float32x4_t a);
float32x4_t Sleef_frfrexpf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_frfrexpf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision signed integral and fractional values
Synopsis
#include <sleef.h>
Sleef_float32x4_t_2 Sleef_modff4(float32x4_t a);
Sleef_float32x4_t_2 Sleef_modff4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_modff. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for calculating the absolute value
Synopsis
#include <sleef.h>
float32x4_t Sleef_fabsf4(float32x4_t a);
float32x4_t Sleef_fabsf4_neon(float32x4_t a);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fabsf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for copying signs
Synopsis
#include <sleef.h>
float32x4_t Sleef_copysignf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_copysignf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_copysignf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for determining maximum of two values
Synopsis
#include <sleef.h>
float32x4_t Sleef_fmaxf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_fmaxf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fmaxf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for determining minimum of two values
Synopsis
#include <sleef.h>
float32x4_t Sleef_fminf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_fminf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fminf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function to calculate positive difference of two values
Synopsis
#include <sleef.h>
float32x4_t Sleef_fdimf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_fdimf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_fdimf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.
Vectorized single precision function for obtaining the next representable FP value
Synopsis
#include <sleef.h>
float32x4_t Sleef_nextafterf4(float32x4_t a, float32x4_t b);
float32x4_t Sleef_nextafterf4_neon(float32x4_t a, float32x4_t b);
Link with -lsleef.
Description
This is the vectorized function of Sleef_nextafterf. This function may less accurate than the scalar function since AArch32 NEON is not IEEE 754-compliant.


A Review By Adam Godfrey PLEASANTVILLE Starring Tobey Maguire, Reese Witherspoon, Joan Allen, William H. Macy, Jeff Daniels, J.T. Walsh, Don Knotts Written & Directed By Gary Ross Grade: A-
Recently I read 4 reviews of Pleasantville-one from Entertainment Weekly, one from a newsgroup, and two from different online resources. Each review compared this film to The Truman Show. Why? The only reason people compared Pleasantville to Truman is due to the fact that their lives are on television. Other than that, the two movies are completely different from each other. Reviewers seem to love to pick one movie (i.e. The Truman Show), obsess over it, and make it a guideline for other movies. When Pleasantville and EDtv opened, all critics seemed to treat the two films like they were subjects of King Truman. The same goes for The Thin Red Line, as well. When it opened in Decemeber, probably 98% of reviews compared it to Stephen Spielberg's Saving Private Ryan, giving Thin Line no chance whatsoever. Critics loved Private Ryan so much, that they automatically decided no movie is good enough to reach its standards. This is why I think Pleasantville was underrated. If The Truman Show had never been made, Pleasantville probably would have received better reviews, done better at the box office, and would be remembered after it's long been on the video store shelves. Sure, it wasn't perfect, and it wasn't very believeable, but neither was The Wizard of Oz or Star Wars, and there stands two of the most prominent movies in history. With the exception of Don Knotts as the annoying "TV repairman" the film is cast perfectly: The Ice Storm's Tobey Maguire is David in real life; he watches the old 50's sitcom "Pleasantville" to escape from his feuding parents. His twin sister, Jen (Reese Witherspoon) is a popular slut who (steriotypically) smokes and wears revealing clothes. But what makes her character believeable is the dialogue-those excessive 90's terms such as "like", "whatever", and "cool" make her sound like the total dimwit she's supposed to be. The twins, with a little help from a TV repairman (casting Don Knotts in this role was obviously a cameo-esque cast rather than a true acting one), are sucked into Pleasantville by a magical new remote. Their new parents, played by William H. Macy and Joan Allen, are perfect in every way. Their new names are Bud and Mary Sue, and right away they start to corrupt the town of Pleasantville. After the siblings fit comfortably in their new roles, the movie begins to take form. It's just like watching a sitcom in itself; you don't want it to end. "Mary Sue" has sex with her date, the school basketball champion; when he tells all his friends about it, they stop preforming perfectly at basketball, and things start to take color. Soon we learn that these people don't know how to express true emotions, and when they learn to do so, they eventually turn into color. This eventually sparks a racial war between the "coloreds" and the "black & whites." Entertainment Weekly reviewer Lisa Schwarzbaum claims the movie has, "none of the depth, poignance, and brilliance of The Truman Show..." Yes, The Truman Show was maybe a little more intelligent. But the racial setting-intensified by the forcing of the coloreds to sit in the upper box of the courtroom-certainly classifies as deep, considering it's what I least expected. Gary Ross did not try to create an intelligent, award masterpiece-he just tries to convey moral messages within his work. Take for example Big and Dave, his past films. Big-be careful what you wish for. Dave-Good or bad lying is still lying. Did these movies win big awards? No, but they won the heart of millions. Pleasantville could have done that too, if it wasn't for snotty reviewers who set precedents with preceeding films. Pleasantville: A- Ad2am "I almost lost my nose...and I like it. I like breathing through it." -Jack Nicholson, Chinatown
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


@* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(params: Map[String, Any]) @uk.gov.hmrc.hmrcemailrenderer.templates.helpers.html.template_main(params, "You submitted a registration for duty on biofuels and other fuel substitutes (EX103/103A BFS)"){
Dear @params("customerName")
HMRC has received your application to register a business for duty on biofuels and other fuel substitutes.
To complete your registration you will need to do the following.
You must complete form ‘Excise entry: incorporated company EX103A’ for each of your premises to provide us with further registration details. You’ll need to go to GOV.UK and search for the EX103A form.
You must complete form ‘Excise entry: private trader EX103’ for each of your premises to provide us with further registration details. You’ll need to go to GOV.UK and search for the EX103 form.
You must complete form ‘Excise entry: incorporated company EX103A’ for each of your premises to provide us with further registration details. You’ll need to go to GOV.UK and search for the EX103A form. You’ll also need to email<EMAIL_ADDRESS>to tell us that your business is a limited liability partnership (LLP), so that we can ask you for more details about this.
You must complete form ‘Excise entry: private trader EX103’ for each of your premises to provide us with further registration details. You’ll need to go to GOV.UK and search for the EX103 form. You’ll also need to email<EMAIL_ADDRESS>to tell us that your business is a partnership, so that we can ask you for more details about this.
You’ll need to check ‘Excise Notice 179e: biofuels and other fuel substitutes’ for details of how to apply for deferment. You’ll need to go to GOV.UK and search for ‘Excise Notice 179e: biofuels and other fuel substitutes’.
From HMRC Excise team
}


Parallel coordinate plotting with resolutions for large data sets and missing values.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.2.0), data.table, plotly, freqparcoord, magrittr, partools |
| Suggests: | rmarkdown, knitr |
| Published: | 2017-08-31 |
| Author: | Norm Matloff and Vincent Yang and Harrison Nguyen |
| Maintainer: | Norm Matloff <normmatloff at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | no |
| Materials: | README |
| In views: | MissingData |
| CRAN checks: | cdparcoord results |
| Reference manual: | cdparcoord.pdf |
| Vignettes: |
Vignette Title |
| Package source: | cdparcoord_1.0.0.tar.gz |
| Windows binaries: | r-devel: cdparcoord_1.0.0.zip, r-release: cdparcoord_1.0.0.zip, r-oldrel: cdparcoord_1.0.0.zip |
| OS X binaries: | r-release: cdparcoord_1.0.0.tgz, r-oldrel: cdparcoord_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=cdparcoord to link to this page.


The triangle here is an entity with a Clickable component attached. This component has callback functions for actions such as clicking/tapping on an entity or generic pointer down/move/up events.
The button below is a full implementation of an Entity + Clickable component to form a click button. Check the source of bento/gui/clickbutton to learn more about the Clickable component.


Shanda Woods Pintereach Team Lead
Vaidehee Patel The Marketing Page Designer
Ashley Bergsma React I
Tim Bogdanov React II
Manuel Back-end Designer


One Hour Game Jam is open-source, Get One Hour Game Jam software on GitHub. Content posted to this website might be subject to Copyright, consult with content authors before use. Established 2015


Vitamin B12 is a nutrient that helps keep the body's nerve and blood cells healthy and helps make DNA, the genetic material in all cells. Vitamin B12 also helps prevent a type of anemia called megaloblastic anemia that makes people tired and weak.
1. It is needed to convert carbohydrates into glucose in the body, thus leading to energy production and a decrease in fatigue and lethargy in the body.
2. It helps in healthy regulation of the nervous system, reducing depression, stress, and brain shrinkage.
3. It helps maintain a healthy digestive system. Vitamin B12 also protects against heart disease by curbing and improving unhealthy cholesterol levels, protecting against stroke, and high blood pressure.
There is a synthetic version of vitamin B12 used in supplements and in the B12 shot. Mild side effects of diarrhea and swelling can occur. Serious side effects include muscle weakness, extreme thirst, confusion, shortness of breath, headache, exhaustion, reddening of the skin, and a fast or irregular heartbeat.


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nhn.android.maps.NMapOverlay
public abstract class NMapOverlay
Base class representing an overlay which may be displayed on top of a map. To add an overlay, subclass this class, create an instance, and add it by NMapOverlayManager.
| Constructor Summary | |
|---|---|
NMapOverlay()
|
| Method Summary | |
|---|---|
void |
draw(Canvas canvas,
NMapView mapView,
boolean shadow)
Draw the overlay over the map. |
boolean |
draw(Canvas canvas,
NMapView mapView,
boolean shadow,
long when)
Draw call for animated overlays. |
static void |
drawAt(Canvas canvas,
Drawable drawable,
int px,
int py,
boolean shadow)
Convenience method to draw a Drawable at an offset. |
void |
drawFocusedItem(Canvas canvas,
NMapView mapView,
boolean shadow)
Draw the focused item on the overlay over the map. |
boolean |
hasPathData()
|
boolean |
isDrawnOnSnapshot()
|
boolean |
isHidden()
|
boolean |
isPersistent()
|
boolean |
onKeyDown(int keyCode,
KeyEvent event,
NMapView mapView)
Handle a key down event. |
boolean |
onKeyUp(int keyCode,
KeyEvent event,
NMapView mapView)
Handle a key up event. |
boolean |
onTap(int px,
int py,
NMapView mapView)
Override this method to handle a "tap" on an item. |
boolean |
onTouchEvent(MotionEvent ev,
NMapView mapView)
Handle a touch event. |
boolean |
onTrackballEvent(MotionEvent event,
NMapView mapView)
Handle a trackball event. |
void |
setHidden(boolean hidden)
Show or hide the overlay |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NMapOverlay()
| Method Detail |
|---|
public boolean hasPathData()
public boolean isDrawnOnSnapshot()
public boolean isPersistent()
public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- set true to hide this overlay, otherwise false. default is false.public void draw(Canvas canvas, NMapView mapView, boolean shadow)
canvas
- The Canvas upon which to draw.
Note that this may already have a transformation applied, so be sure to leave it the way you found it.mapView
- the MapView that requested the draw.
Use NMapView.getMapProjection() to convert between on-screen pixels and latitude/longitude pairs.shadow
- If true, draw the shadow layer. If false, draw the overlay contents.public void drawFocusedItem(Canvas canvas, NMapView mapView, boolean shadow)
canvas
- The Canvas upon which to draw.
Note that this may already have a transformation applied, so be sure to leave it the way you found it.mapView
- the MapView that requested the draw.
Use NMapView.getMapProjection() to convert between on-screen pixels and latitude/longitude pairs.shadow
- If true, draw the shadow layer. If false, draw the overlay contents.public boolean draw(Canvas canvas, NMapView mapView, boolean shadow, long when)
canvas
- The Canvas upon which to draw.
Note that this may already have a transformation applied, so be sure to leave it the way you found it.mapView
- the MapView that requested the draw.
Use NMapView.getMapProjection() to convert between on-screen pixels and latitude/longitude pairs.shadow
- If true, draw the shadow layer. If false, draw the overlay contents.when
- The time-stamp of the draw.
public static void drawAt(Canvas canvas, Drawable drawable, int px, int py, boolean shadow)
public boolean onKeyDown(int keyCode, KeyEvent event, NMapView mapView)
public boolean onKeyUp(int keyCode, KeyEvent event, NMapView mapView)
public boolean onTap(int px, int py, NMapView mapView)
public boolean onTouchEvent(MotionEvent ev, NMapView mapView)
public boolean onTrackballEvent(MotionEvent event, NMapView mapView)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Implementing the concept of gamification, we combined racing game and math questions together to make our fascinating racing game. Since the game is designed for primary school students, we add 5 themes including dessert, forest, city, sky and space.
Supervision
We update children' game data to database after each session so that parents and teachers are able to supervise children' progress and conclude the strengh and weakness. This function helps parents and teachers on advicing.
Shop
Math racing game consists of a shop where user can puchase cars and drive them in the game. To some extent, children will be motivated to play the game in order to buy cars.
About the game
Background
Game background
Gamification
Improving engagement
Requirements
Functional and non-functional requirements
Technologies
Technologies we applied in the project
Prototype
Initial game prototype we designed
Architechtural diagrams
Diagrams displaying the architechure design
Use cases
Interactions between roles and system.
Themes
Fascinating themes for children
Monitoring system
Monitoring system for parents and teachers.
Our Amazing Team
Jiafeng Liao
Lead Designer
Tuan Phung
Lead Deleloper
Contact Us
Lorem ipsum dolor sit amet consectetur.
Background
Introducing the background of the project
MathRacing is a collaborative project between UCL and Morgan Stanley. This project will aim towards enhancing numeracy skills in primary school children through gamification. A number of games and environments already exist that help learning in both literacy and numeracy.
Implementing the concept of gamification, we employed racing game elements to combine with the math questions so that users can engage in and improving learning interest.
Gamification
Improving engagement of users
What is Gamification?
Gamification is the process of applying game playing techniques to enhance engagement and user experience. It can be particularly useful in enhancing learning as students interact with simulated real world artefacts in reference to the concepts they learn in their conventional study. Gamification aids learning through:
1.Virtual interaction with simulated real world environments,
2.Constant evaluation of their actions leading to instant reward and loss ,
3.Scenario adaptation based on skills and knowledge
A solid example
Math Invaders, which is an adaptation of the famous console game Space Invaders. In this game, numbered aliens descend and the defender can only shoot the one whose number matches the answer of an arithmetic problem on the screen allowing players to practice mental arithmetic.
And the ultimate goal of this project is, by using gamification as a method, we are going to build a tool for primary school children, teachers and parents to help improve numeracy skills and also understand practical applications of these skills.
Requirements
Functional requirements
We specified requirements after meeting with our client and discussing about the feasibility. We create the functional and non-functional requirements for the game and
ID
Requirement
Priority
Activity
Users
Description
1
User must be able to register
Must
Registration
All users
a register page including first name, last name, gender, email address and school
2
Allow the creation of 3 types of account:
Parents
Children
Teacher
Must
Registration
All users
parents and teachers can access children's accounts' databse
3
Require user’s information and their agreement during their account creating process
Must
Registration
All users
4
Require correct combination of username and password to login
Must
Log in
All users
same as the details they registered
5
Allow user to reset password if they forgot it
Should
Log in
All users
there whill be a 'forgot passwaord' option in the logging in page
6
Children’s accounts shall allow students to start a new game or continue their last session
Must
Account
Children
the progress of session will be restored in database
7
Allow the users to edit profile information
Must
Account
All users
8
Allow the assignment of parents account to children
Must
Account
Parents
9
User’s password shall be encrypted by SHA1
Should
Account
All users
10
The game should display the user current information (progress, gold, accuracy, …)
Must
Display
Children
(can be seen on the prototype page)
11
Children information should be available to their corresponding parents and teachers
Must
Display
Parents, Teacher
12
Students should be allowed to choose difficulty
Must
Gameplay
Children
there should be 3 difficulties(easy, medium, hard), each assigned to certain session when starting the game.
13
There shall be a pause, resume during gameplay
Must
Gameplay
Children
there will be a pausing menu button during the game
14
Display the number of right and wrong answers in on top of current session
Must
Display & Gameplay
Children
15
Summarize the result at the end of session
Must
Gameplay
Children
16
Save the session state if the user quits before the session finished
Must
Gameplay
Children
17
Update user profile after each session
Must
Account
Children
18
Show storyboard after login for first time user
Must
Display
Children
the storyboard can be seen on the storyborad webpage
19
Question should be randomly generated and avoid the duplicate of question (3 + 4 is different from 4 + 3 so this is not counted as duplication)
Must
Gameplay
Children
20
Question should be harder while the user progress further in one game session
Must
Gameplay
Children
21
Allow the user to choose theme for next session (only plus, combination of plus and minus, …)
Must
Gameplay
Children
22
Allow user to get money from each correct question
Must
Gameplay
Children
the reward is gold which can be used to buy cars
22
Update balance at the end of every session
Must
Gameplay
Children
23
Allow user to purchase item from shop
Must
Gameplay
Children
24
The game shall be implemented with JavaScript and template Phaser
Must
Gameplay
all users
so that it could be run in all platforms and phaser is a template featuring all the elements we need to make this game
25
The game shall be controlled by input from keyboard.
Must
Gameplay
Children
all user inputs are from keyborad.
26
The game shall feature music and sound effects.
Should
Gameplay
Children
27
The game shall contain a main character(racer)
Must
Gameplay
Children
shown on the storyboard
28
The question must be answered in limited time, otherwise it will be considered as unpassed.
Must
Gameplay
Children
the time will be 5-10 seconds. We will adjust the time after testing.
29
The game ends when the player completes the last level
Must
Gameplay
Children
30
Player should be able to retry the sessions
Should
Gameplay
Children
31
The current correctness and level should be displayed on the game screen
Must
display
Children
32
Teachers and parents should be able to get access to the student's database
Must
Gameplay
Children
33
An AIcar will be displayed as rival of the racer in during the game
Must
Gameplay
Children
34
The AIcar will be set a correctness determine the standard of pass
Must
Gameplay
Children
Non-functional requirements
ID
Requirement
Description
Priority
1
Platform
Web-based platform which is available to PC user, Android, IOS and Windows Phone
Must
2
Availability
Should be up 24/7 with minimum downtime
Must
3
Performance
The game should be fairly responsive and the longest task should take at most 5 seconds
Must
4
Navigation
Smooth and working navigation between all forms
Must
5
Source control
An up-to-date source version control for the client to check our progress
Must
6
Documentation
List all our APIs
Must
7
Privacy
Only required information will be collected and will not be shared to any third party.
Must
8
Maintenance
Database should be back up daily
Must
9
Testing
Provides unit testing, Integration Test, Navigation Test and Security test
Must
Technologies
Technologies and researches
Game engine and template
HTML5, Php, Javascript
HTML5 is a markup language for World Wide Web. It is the fifth and latest version of HTML standard. It specified scripting API that can be used in JavaScript. HTML also supports mySQL database engine, these are why we use HTML5 for login page and the game console.
PHP is a server-side language for web development. It can be embedded into HTML5. We use it for structuring the web content, connecting database with website and submiting data.
JavaScript is dynamic, prototype-based language. It has several advantages(source: http://www.jscripters.com/javascript-advantages-and-disadvantages):
1. Javascript is executed on the client side.
This means that the code is executed on the user's processor instead of the web server thus saving bandwidth and strain on the web server.
2.Javascript is a relatively easy language
The Javascript language is relatively easy to learn and comprises of syntax that is close to English. It uses the DOM model that provides plenty of prewritten functionality to the various objects on pages making it a breeze to develop a script to solve a custom purpose.
3. Javascript is relatively fast to the end user
As the code is executed on the user's computer, results and processing is completed almost instantly depending on the task (tasks in javascript on web pages are usually simple so as to prevent being a memory hog) as it does not need to be processed in the site's web server and sent back to the user consuming local as well as server bandwidth.
4.Extended functionality to web pages
Third party add-ons like Greasemonkey enable Javascript developers to write snippets of Javascript which can execute on desired web pages to extend its functionality. If you use a website and require a certain feature to be included, you can write it yourself and use an add-on like Greasemonkey to implement it on the web page.
Importantly, one is our client requires the game should be run on all platforms. So HTML5, PHP and JavaScript are perfect since it is compatible on all mainstream platforms
Phaser
We want to work with a Javascript framework that has OOP structure, and this is also the first time we are working on a web game, so we want to choose a language that offers maximum result with minimum efforts. So we decide to go with Phaser for the following reason.
1. Phaser can draw and animate sprites
2. Phaser allow user Input (keyboard,mouse and touchscreen)
3. Phaser can draw Fonts
4. Phaser can handle physics
5. Phaser can play sound
6. Support on most modern devices
7. Well-written documentation
Plugin
JQuery: a fast, small, and feature-rich JavaScript library. This is used in this project to handle AJAX communication between server and game console.
Database
mySQL: mySQL is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. It reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file. Compared to mySQL it is a lightweight database engine that includes all the requirements we need. Another reason we choose it is that we do not have much cucurrency works in our game. So sqlite is an ideal free-to-use engine for our game.
phpMyAdmin: we use phpMyAdmin to visualise project database. It is extremely handy to import/export databse as sql file. It also helps to check the effectivity of submitting data.
Prototype
The shaby prototype we made for the game
1. Login
The very first screen when you land on the site is the login screen. It is a very basic login screen, consists of 2 text boxes Username and Password and a Submit button
2. Register
User can register if this is the first time they play the game.
3.
4. Main menu
5. Update Profile
6. PLAY!
Operation Select
Gameplay
Pause/Resume
7. Shop
8. Report page
Architechural diagrams
Game Model
The game model illustrate the process of the game and the elements in each part. It is able to display the connection and relationship between elements and sessions.
Initial data model
The initial datamodel displays the database structure that indicates the data we required to store and read by the game console.
Final database diagram
Themes
Fascinating themes for children
Since the game is designed for primary school's students, we created 5 themes consist of dessert, forest, city, sky and space. Each theme has its own obstacles, sidelanes and backgound.
Dessert
Forest
City
Sky
Space
Use case
Interaction between roles and system.
Use Case
Register
ID
UC1
Description
User registers for an account
Actors
All users
Precondition
None
Main Flow
Use case starts when users click Register at Login page
User is asked to provide their username, email, password, date of birth and account type
User entered all information
The system displays the register succeed page
Post Condition
User’s details are stored in databased
Alternative Flows
Register - Invalid information, Register - Existing information
Use Case
Register - Invalid information
ID
UC1a
Description
User entered invalid information
Actors
All users
Precondition
Happens after register – step 3
Main Flow
Use case starts after step 3 – register
User provided one invalid field
The system reload the register page saying the information is invalid
User can correct his/her detail
Post Condition
None
Alternative Flows
None
Use Case
Register - Existing information
ID
UC1b
Description
User is already registered
Actors
All users
Precondition
Happens after register – step 3
Main Flow
Use case starts after step 3 – register
System found out that the user may have registered here
The system reload the register page asking if the user want to log in or has he/she forgotten password
Post Condition
None
Alternative Flows
None
Use Case
Log in
ID
UC2
Description
User login using his/her information
Actors
All user
Precondition
User has an account within the system
Main Flow
User opens the system website
The system displays a form asking user to input his login information
System checks his/her information
System redirects to main menu
Post Condition
User can access to system in his/her privilege
Alternative Flows
Invalid Information
Use Case
Log in: Invalid Information
ID
UC3
Description
Wrong login information
Actors
All user
Precondition
User tried to log into the system
Main Flow
The alternative flows happens after step 3 of the main flow
The login information of user does not match with one in database
System reload the login page saying Invalid login information
Post Condition
None
Alternative Flows
None
Use Case
Forgot Password
ID
UC4
Description
User forgot his/her password
Actors
All user
Precondition
The user forgot his/her password
Main Flow
User is redirected to the forgotten password page
He/she is asked to input the email used for registration
The system looks for his/her email in database
The system sends an email to him/her to reset password
Post Condition
User receives email in his/her mailbox
Alternative Flows
Forgot Password – Non Exist
Use Case
Forgot Password – Non Exist
ID
UC4
Description
User forgot his/her password
Actors
All user
Precondition
The email of the user does not exist in the database
Main Flow
This alternative flow happens after step 3 of the main flow
The system reload the forgotten password form saying that the email is not found in the database
Post Condition
None
Alternative Flows
None
Use Case
Logout
ID
UC5
Description
User ends his/her working session here
Actors
All user
Precondition
User is logged in the system
Main Flow
The user hits the log out button
System returns to the sign in page
Post Condition
User session is cleared
Alternative Flows
None
Use Case
Play Game: Start a new session
ID
UC6
Description
User wants to start a new game
Actors
Children
Precondition
User is logged in
Main Flow
User clicks play at main menu
User selects the operations and difficulty
System processes the request
System loads the game console
Post Condition
Game console displays with correct difficulty
Alternative Flows
Play Game: Continue Session
Use Case
Play Game: Continue Session
ID
UC7
Description
There is an uncompleted game and system asks if the user wants to continue
Actors
Children
Precondition
User is logged in and has an unfinished game session
Main Flow
This alternative flows happens after step 1
The user is asked whether he/she wants to continue the last session
Post Condition
If yes, continue the last session. Else, create a new game session
Alternative Flows
None
Use Case
Shop
ID
UC8
Description
User want to upgrade his car
Actors
Children
Precondition
User has enough money for a car in shop
Main Flow
User selects shop from main menu
User chooses the car they want to buy
User clicks “Purchase”
System processes the user request
System display “Successfully Purchased”
Post Condition
The data is stored in database
Alternative Flows
Shop – Not enough currency
Use Case
Shop – Not enough currency
ID
UC8a
Description
Users want to upgrade his car
Actors
Children
Precondition
User does not have enough money for a car
Main Flow
This alternative flows happens after the step 4 in the main flows
User does not have enough money for car
System alerts the user that he/she doesn’t have the money for that car
Post Condition
None
Alternative Flows
None
Use Case
Statistic
ID
UC9
Description
User want to check his/her learning progress
Actors
Children
Precondition
User logged in
Main Flow
User selects Statistics from main menu
The system queries all the required data from database
It processes the data and displays the following information: Accuracy, Number of Session, Accuracy of ‘-‘, ‘+’, ‘/’, ‘x’
Post Condition
Display correct data
Alternative Flows
None
Use Case
Update information
ID
UC10
Description
User wants to update his/her personal information
Actors
All user
Precondition
User logged in
Main Flow
User selects Update Profile from main menu
The system asks the user to provide the following information: First Name, Last Name, Email, Password, Date Of Birth, Parents(Children)
User submits the form
System checks the provided information
System redirects the user to main menu, saying the process is succeed
Post Condition
User information is updated in database
Alternative Flows
Update information – invalid fields
Use Case
Update information – invalid fields
ID
UC11
Description
User provided invalid information
Actors
All user
Precondition
User tried to update the profile information with invalid field(s)
Main Flow
This alternative flow happens after step 4 of the main flow
There is one or more invalid data in the submitted data
System reload page, asking user to provide correct data
Post Condition
None
Alternative Flows
None
Use Case
Game Complete
ID
UC12
Description
User completed a game session
Actors
Children
Precondition
User was in a game session.
Main Flow
User clicks play at main menu
User selects the operations and difficulty
System processes the request
System loads the game console
User plays through the 20 questions in that session
System saying the session is finished, and load up the statistics
User is redirected to main menu
Post Condition
Session data is updated in database
Alternative Flows
Game Complete - Unfinished
Use Case
Game Complete - Unfinished
ID
UC12
Description
User left halfway in the game session
Actors
Children
Precondition
User was in a game session.
Main Flow
This alternative flow happens after step 4 of the main flow
User selects to leave during the game session
System asks for confirmation of the user
If yes, redirects the user to database
Post Condition
Game session is saved in database
Alternative Flows
None
Monitoring system
We provides monitoring system for parents and teachers. After login as parenting account, the website will be redirected to display page which shows the students' details including sessionID, questions correct answers, students answers adn the accuracy.


I've checked my electricity meters and they are of the old, rotating disk style, not smart at all!
Other than a mention in regard to gas meters, there's not much information here about them.
Does anyone have any experience with sensor usage on these type of meters?
Power connections are not accessible from the front of the meter board so CT sensors are out.
Re: Analogue, disk type meters
Google is your friend
http://community.pachube.com/node/65
http://www.cerebralmeltdown.com/programming_projects/Arduino_Kilowatt_Meter/index.html
and 48 300 more results
Re: Analogue, disk type meters
Yes I have heard of google, I'm looking more for information relevant to this project and experiences that anyone may have in implementing it with an emonTx
Re: Analogue, disk type meters
Don't rule out CT's their the best option even if you have to open up a panel (carefully!). Obviously it would be entirely at your own risk, consult an electrician if you are in doubt.
Re: Analogue, disk type meters
I'm pretty sure that it would be illegal to have a 'device' behind the board wires coming out to the front (despite no electrical connection being made). I doubt I'd find an electrician who would sign off on it.
Electricity suppliers are rather particular about what they allow in the meter box, despite it belonging to the property owner!
Re: Analogue, disk type meters
the cables from the meter still go inside your house, I say track them and clamp on a CT from the inside, not at the or around the meter to avoid unnecessary explanations. This is exactly what I have done, I placed my CT inside the breaker box, it is inside my house
Re: Analogue, disk type meters
Breaker box and meter box are one and the same. Not sure how practical that would be to monitor after the meters as I'd have a lot more lines to monitor.
From one meter, it will split out to (I think) 3 power circuits and 1 lighting circuit plus a circuit for the stove/oven. From the second meter I would only have the off peak (hot water) but from the third, theres at least three circuits for storage (space) heaters and a couple of heat pumps. Some cables run through the roof, others under the floor. Messy.
Re: Analogue, disk type meters
In my house the meter box is outside, the "fuses box" or breaker box how i call it is inside, that may have caused the misunderstanding
Re: Analogue, disk type meters
Actually I do have a small sub-board inside with the light and (most) power CBs. Hot water and heating CBs are in the main box outside.
The main reason I want to read from the meter directly is that each meter is on a different tariff which makes cost calculation easier.
Re: Analogue, disk type meters
Gee, I guess I wouldn't know anyone who has mucked about with this in the past...
Re: Analogue, disk type meters
Thanks for the link, every bit of information is useful.
I'd really like to get my hands on an old electricity meter so I could do some testing of the best way to mount sensors so they can work reliable through the glass window of the meter. Shouldn't be too hard seeing there's a trend to replace the analogue ones with smart meters.
Re: Analogue, disk type meters
Check Ebay. When the utility replaced my analog, disc-type meter with a flash Itron Centron (thereby ruining my default solar net metering system), I bought an identical electronic meter at auction for $19, shredded it up into little pieces so I'd know how it worked and performed other diabolical experiments on it's innards. Eventually, it expired during a moment of experimental inattention, and I went back and bought a case of four more so I could continue.
Re: Analogue, disk type meters
No sign of a local meter on eBay. The energy authority that owns them, probably scraps them.
Re: Analogue, disk type meters
Re: Analogue, disk type meters
In my case, three meters, I'd thought of making a 'special' emontx that just monitored those three inputs and nothing else (and reporting them obviously :-) )
I'm going to try and get and old (broken) meter from the suppliers so I can work with it on the bench. I only need it to be able the turn the disk,
Re: Analogue, disk type meters
My meter is similar. I will try and take some pictures of the meter and the gadget to keep the reflective object sensor in place to give you some idea of my setup. If I remember correct the code I used was based on the link the code tries to detect the transition from dark to light by using a comparing window of samples. The one thing I have noticed in my setup is that it is easy to miss one revolution if the adunio is busy sending data to the server and the dark to light transition happens. Thus the need to calibrate things.
I see your meter has 266 and 2/3 revolutions per kWh. I have changed my setup allows for entering the meter reading as per the meter. The server then works out a factor based on the meter reading and the virtual reading and applies this to calculate the kWh virtual reading. It has proven to be over and under by approximately 5 kWh per day in my case. Some days it reports the same value as the real meter and other days it just looses it totally. On average over a month it pretty accurate and works for my application.
Re: Analogue, disk type meters
I've made some progress in that it seems an electrician can and will install current transformers between the meter and the load - for a price of course. This will be more accurate and allow more frequent updates than waiting for a disk to rotate.
I've ordered some CTs from Seeed, I just hope they fit behind the switchboard panel.
Next problem will be getting a signal from the emontx to the emonbase (when I get them ordered). The meter box that has to contain the CTs and emontx is metal!
Re: Analogue, disk type meters
The CTs that I've seen described simply clip over the incoming cable so there's no need to disconnect the original wiring. From this thread, I get the impression that a CT may work better if the 1000+ turns are wrapped directly around the incoming cable, rather than around a 1-turn intermediary conductor (like 2 links of a chain rather than 3).
If an Arduino can get the necessary input from the '3-link' split-core CT approach, why go to the trouble/risk of interfering with the original wiring?
Could a simple/cheap '3-link' CT be made from a screw-type carribena (or a beefy length of copper with the ends firmly pressed or soldered together) and a simple bobbin of fine copper wire?
Robin
Re: Analogue, disk type meters
If you're thinking of building your own CT's, you need a highly permeable ferrous core, copper won't work and mild steel will work only poorly. Most clamp-on CT's will use laminated cores of high silicon steel for highest efficiency.
There are some posts on this site from a user who was building their own CT's, winding the coils and such. Search around a bit and see if you can uncover that information if this interests you. I think his designs were through-the-coil type, but might be adaptable to split-core type modification.
Also see:
http://en.wikipedia.org/wiki/Current_transformer
http://en.wikipedia.org/wiki/Transformer
Re: Analogue, disk type meters
Thanks for that advice. As I only intend to measure current at one place, I will no doubt go for a proper CT from somewhere. I do recall the term 'ferrite core' from long ago, but hadn't really thought through what it meant. Sorry, early days ...
Re: Analogue, disk type meters
In my case, the problem in connecting of the CT is a legislative one rather than technical.
Unless you're a licensed electrician, it's illegal to perform any work on a fixed electrical installation i.e. house wiring.
Hefty fines and, if someone if seriously injured or killed, a jail sentence.
Re: Analogue, disk type meters
Geoffs, I appreciate that the laws are different in Aussie to the UK, but I'd be surprised if it was illegal to clamp on a CT to a power cable. (even if it's behind the meter).
There would be no physical contact with the installation, you are just measuring induced current.
If it were illegal, how can effergy and others market CT connected power monitors in Australia?
Paul
Re: Analogue, disk type meters
Paul,
Unless you have an older installation, all wiring in meter boxes is located behind the board on which the meters, circuit breakers are mounted. To access these requires that the board is opened (it's usually hinged) which can only be done by a licensed electrician. If a meter reader or some other inspection found CT's connected, they would want to know who did it and if not by a suitable authorized person, then they MAY choose to disconnect your supply even if the CTs are connected between the meters and the load.
In Australia, it's not illegal to market monitoring devices such as those sold by Effergy, there's just no requirement on the sellers part to ensure that they are correctly installed only that the devices have the relevant certifications for emissions and insulation. As these devices are either battery powered or from a plug in power supply, getting these certifications is easy.
 I'm sure there are lots of people here who have installed there own CTs without having any issues at all but considering the possible consequences, I'm not willing to risk it.
There are no statistics to prove that DIY wiring is inherently dangerous but unlike New Zealand which has identical electrical wiring rules (AS/NZ 3000:2007), we're not allowed to do DIY wiring where as a New Zealander can. BTW, this incudes fitting a 3 pin plug to an appliance.
Re: Analogue, disk type meters
hello, I am certain of such topic and it was part of our current discussion in electrician course. Tapping a connection in a CT is illegal and is considered prohibited to users. It can cause several damage to the panel that would result to destruction. The best way to fix it is to consult an electrician expert. I was actually enrolled in an electrician school in Texas, currently on my second year in the course.
Re: Analogue, disk type meters
Cecilia,
There might be local rules where you live that prohibit any interaction with the installation, but in general clipping a split-core c.t. around a - in strict terminology - low voltage cable can by itself neither damage nor destroy a panel, and unless damage is caused to the insulation or elsewhere in the process, any effect on the installation will be immeasurably small. However, if the c.t. not short-circuited, connected to its burden or otherwise protected and the conductor is carrying current, then dangerously high voltages may appear on the secondary winding and there is a risk of electric shock to the operator and damage to the c.t.


I recently tried to apply logistic regression to distinguish between images of a cat from the images of a dog. While I was unsuccessful in creating a good model, I am noting down the findings for future reference.
In the deep learning course on coursera, in week 2 assignment, we built a logistic regression model to distinguish cat images from non cat images. We trained our model on 209 images, each of which were 64x64. We obtained an accuracy of 99%+ on training set. Our test set consisted of 50 images, each of which were 64x64. We achieved an accuracy of 70% on the test set. Each image was either a cat image, or a non cat image (in which case it could be buildings, or a flower, or bottles, etc)
I wanted to try out logistic regression to some other problem than the assignment problem. I found out this Kaggle Problem. The training set consists of 25000 images each of which is either a cat image or a dog image. The test set consists of 12,500 image which you need to classify as either cat image or dog image. I thought this is a problem very similar to what I have done in the assignment, and should be solvable by logistic regression.
Since the input images were of various sizes, and I do not know how to deal with variable size images, I resized them all to 200x200 size, padding them with white strips if necessary. This is what a few images look like:
I ran logistic regression model on 500 cat images and 500 dog images. I took rather few images because even in our assignment we had taken only ~200 images. To my surprise, all the weights came close to 1 (larger than 0.9999), and thus all predictions are that the image is that of a cat. This is clearly incorrect.
Here is the model that I use:
$\hat{y} = \sigma(w^{T}x + b)$
where
$\sigma(z) = \frac{1}{1 + e^{-z}}$
Here $x$ is the feature vector. I use gradient descent to find weights $w$ and $b$. All the components of $w$ turn out to be close to 1. b turns out to be 0.
I need to figure out if I am commiting some error in coding, or is there some inherent limitation of 1 layer neural network here. Perhaps there is a lot of divergence in cat vs non cat images, but not that much divergence between cat and dog images. Any points from readers would be appreciated. I'll upload a docker image if I find time. I have put my code here.


| Author: | Ali Afshar |
|---|---|
| Contact: |<EMAIL_ADDRESS>|
If you have closed a vim buffer using :bd or Delete from the Buffer menu, the buffer will still remain in the PIDA buffer list. This is not a bug but a feature of how Vim works. It does not actually delete the buffer on :bd but merely hides it.
The solution is to use :bw. This properly unloads the buffer and PIDA correctly recognises this situation. If you have read the Vim docs (like a good Vimmer) you know hat the documentation regarding :bw is a bit scary, and asks you to make sure you know what you are doing. Rest assured, it works fine.


Ignus is a cross-platform application which will change the way people manage their social debts radically. Built on a solid Parse foundation, we allow users to create accounts, send/recieve favors, as well as view statistics.
Before, people were forced to download a mutlitude of applications including Venmo, Paypal, Stripe and many others in order to pay back their friends. Ignus takes all of these platforms and combines them into one easy to use application.
Ignus is the future. Download or login now.


List of dense columns that convert from sparse, categorical input.
tf.compat.v2.feature_column.shared_embeddings
tf.feature_column.shared_embeddings( categorical_columns, dimension, combiner='mean', initializer=None, shared_embedding_collection_name=None, ckpt_to_load_from=None, tensor_name_in_ckpt=None, max_norm=None, trainable=True )
This is similar to embedding_column
, except that it produces a list of
embedding columns that share the same embedding weights.
Use this when your inputs are sparse and of the same type (e.g. watched and impression video IDs that share the same vocabulary), and you want to convert them to a dense representation (e.g., to feed to a DNN).
Inputs must be a list of categorical columns created by any of the
categorical_column_*
function. They must all be of the same type and have
the same arguments except key
. E.g. they can be
categorical_column_with_vocabulary_file with the same vocabulary_file. Some or
all columns could also be weighted_categorical_column.
Here is an example embedding of two features for a DNNClassifier model:
watched_video_id = categorical_column_with_vocabulary_file( 'watched_video_id', video_vocabulary_file, video_vocabulary_size) impression_video_id = categorical_column_with_vocabulary_file( 'impression_video_id', video_vocabulary_file, video_vocabulary_size) columns = shared_embedding_columns( [watched_video_id, impression_video_id], dimension=10) estimator = tf.estimator.DNNClassifier(feature_columns=columns, ...) label_column = ... def input_fn(): features = tf.io.parse_example( ..., features=make_parse_example_spec(columns + [label_column])) labels = features.pop(label_column.name) return features, labels estimator.train(input_fn=input_fn, steps=100)
Here is an example using shared_embedding_columns
with model_fn:
def model_fn(features, ...): watched_video_id = categorical_column_with_vocabulary_file( 'watched_video_id', video_vocabulary_file, video_vocabulary_size) impression_video_id = categorical_column_with_vocabulary_file( 'impression_video_id', video_vocabulary_file, video_vocabulary_size) columns = shared_embedding_columns( [watched_video_id, impression_video_id], dimension=10) dense_tensor = input_layer(features, columns) # Form DNN layers, calculate loss, and return EstimatorSpec. ...
categorical_columns
: List of categorical columns created by a
categorical_column_with_*
function. These columns produce the sparse IDs
that are inputs to the embedding lookup. All columns must be of the same
type and have the same arguments except key
. E.g. they can be
categorical_column_with_vocabulary_file with the same vocabulary_file.
Some or all columns could also be weighted_categorical_column.dimension
: An integer specifying dimension of the embedding, must be > 0.combiner
: A string specifying how to reduce if there are multiple entries
in a single row. Currently 'mean', 'sqrtn' and 'sum' are supported, with
'mean' the default. 'sqrtn' often achieves good accuracy, in particular
with bag-of-words columns. Each of this can be thought as example level
normalizations on the column. For more information, see
tf.embedding_lookup_sparse
.initializer
: A variable initializer function to be used in embedding
variable initialization. If not specified, defaults to
truncated_normal_initializer
with mean 0.0
and standard
deviation 1/sqrt(dimension)
.shared_embedding_collection_name
: Optional collective name of these columns.
If not given, a reasonable name will be chosen based on the names of
categorical_columns
.ckpt_to_load_from
: String representing checkpoint name/pattern from which to
restore column weights. Required if tensor_name_in_ckpt
is not None
.tensor_name_in_ckpt
: Name of the Tensor
in ckpt_to_load_from
from
which to restore the column weights. Required if ckpt_to_load_from
is
not None
.max_norm
: If not None
, each embedding is clipped if its l2-norm is
larger than this value, before combining.trainable
: Whether or not the embedding is trainable. Default is True.A list of dense columns that converts from sparse input. The order of
results follows the ordering of categorical_columns
.
ValueError
: if dimension
not > 0.ValueError
: if any of the given categorical_columns
is of different type
or has different arguments than the others.ValueError
: if exactly one of ckpt_to_load_from
and tensor_name_in_ckpt
is specified.ValueError
: if initializer
is specified and is not callable.RuntimeError
: if eager execution is enabled.


If you are coughing up blood, it is important to find out where it is originating.  Or it may actually be originating in your lungs, which suggests the presence of blood clots or various infections, including tuberculosis. Also, you may have an abnormal growth in your lungs, possibly cancer.
You need to see a doctor immediately for evaluation and appropriate therapy. A thorough examination of your mouth and nose may help determine the cause of the bleeding. Alternatively, the doctor may need to look into your lungs with a tube, by taking an X-ray of your lungs, or by scanning them.
When you get a cold or the flu, you usually cough up phlegm. It is important to note the color. Mucus produced by the lungs, airways, nose, and sinuses is usually clear and is often thicker than water. However, mucus is also produced in response to allergies, irritants like cigarette smoke, and illnesses such as a cold and the flu. “Dirty-looking” phlegm (usually gray or green) contains pus cells, which may be coming from a serious lung infection such as bronchitis or pneumonia. When the infection is confined to the air passages, you have bronchitis, and when it invades the substance of the lung, you have pneumonia. These infections may be caused by a number of different germs, including bacteria that require antibiotic treatment or viruses that usually disappear on their own (antibiotic treatment is not effective with viruses). Smokers, diabetics, or people with other serious medical problems often require antibiotics to clear up their dirty phlegm.
When your phlegm turns dirty, seek medical evaluation and treatment as soon as possible, especially if fever and fatigue are present or if you have other medical ailments. The doctor will determine what type of infection is present and if antibiotic treatment is needed.
Note: Also be aware that coughing up dirty-looking phlegm could be a result of mucus that has dripped down from a sinus infection.
Everyone coughs from time to time, whether from postnasal drip, a cold, an allergy, or irritants in the air. Most of these minor illnesses run their course in fourteen days or less. If a cough lasts longer or is associated with additional symptoms, other causes must be considered by a physician. Some of these potential causes are life-threatening; they include lung infection, heart disease, and cancer. Smokers often cough constantly, so they may not realize when a more serious disease is present.
If routine treatments for coughs have failed, and more traditional causes have been ruled out, another possibility is reflux of stomach contents into the esophagus, which may be associated with a hiatal hernia. A hiatal hernia occurs when part of the stomach pokes through a hole in the diaphragm, which separates the chest from the abdomen. This condition can wake you up at night with the feeling that you are strangling. You may cough so hard that it takes your breath away, and you may even black out.
A hiatal hernia or other conditions can allow acid-containing fluid to back up the esophagus and then into the windpipe, which irritates the lining and causes repeated coughing episodes. This is called acid reflux. Acidic liquid is able to flow up the esophagus much more easily when you are lying down, so the reflux is usually more troublesome at night. If the cause of your cough is a hiatal hernia, you need to take medication for your stomach problem, not an antibiotic or cold medicine for your cough. It is important to address this problem—if your lungs become soiled by acid over a long period of time, scarring may occur, along with a reduction in lung function.
Treatment begins with prescription medicines designed to suppress acid formation in the stomach. Other practical measures are important as well. Before lying down, try to remain upright for two to four hours after eating or drinking. Avoid overeating at any time. Elevate the head of your bed by placing a brick under each leg of the headboard. This will provide enough of an incline to reduce the acid reflux yet not enough to disturb sleep.
Long-term coughing may also be the result of a postnasal drip, allergies, or asthma, which need to be ruled out as causes by your doctor. In addition, a chronic cough may be a side effect of medication, including a class of blood pressure and heart medications known as ACE inhibitors. If you take one of these blood pressure pills and develop a cough, tell your doctor.
People often think pneumonia always follows a bad cold. That is, first you have the typical cold symptoms—congestion in the head and a sore throat—and then your symptoms spread to the chest, accompanied by coughing. Not so. The first symptoms may be the sudden onset of a cough, fever, and chest pains, with no cold symptoms whatsoever. If this occurs, you should see your doctor right away.
Once you start treatment for pneumonia, your condition should improve within forty-eight hours. If it does not, touch base with your doctor again. Seek immediate medical attention if you develop shortness of breath, since this may indicate that the therapy is ineffective at this point and that the infection in your lungs has reached a very serious stage. If you have had your spleen removed, pneumonia can very quickly become fatal.
Pneumonia is often caused by the bacterium pneumococcus. Alcoholics, smokers, senior citizens, and frail or disabled persons are particularly susceptible to this strain of pneumonia. While the vaccine for pneumococcal pneumonia may prevent the disease or help the body’s defenses fight it, many other germs can also cause pneumonia, including staphylococcus, mycoplasma, and hemophilus.
These symptoms could also be caused by a rare condition called Legionnaires’ disease, which is difficult to culture and identify. The illness often starts with diarrhea and possibly other flu-like symptoms. Then it goes on to involve the lungs. When this occurs you may have severe shortness of breath, fever, and a cough in which you bring up no phlegm (or only a small amount). This condition can be fatal if left untreated. The secret to survival is early diagnosis and appropriate antibiotic treatment. The disease is named Legionnaires’ disease because it was first discovered at an American Legion conference. Several members of the American Legion contracted the disease because the germ had contaminated the conference room’s air-conditioning system.
If the cough, fever, and chest pain are diagnosed as being due to blood clots in the lung, your doctor will start you on blood thinners and other therapies immediately. This treatment can be life-saving.
Tuberculosis (TB) infections most commonly occur in the lungs but they can spread to other parts of the body. In the common course of the disease, an early cough is joined by other symptoms like weight loss, night sweats, and an overall ill feeling.
For a while, tuberculosis seemed to be a disease of the past. Improved medications and the isolation of infected persons helped decrease the prevalence of this ailment. But stronger forms of the bacterium have caused a marked resurgence of TB. Even powerful drugs are not very effective in killing some of these new TB germs.
TB can spread through nursing homes, attacking senior citizens, the debilitated, and AIDS patients, but in rare instances, there have been outbreaks of TB among healthy individuals. These outbreaks are more likely to occur in close quarters where air is recirculated through air-conditioning systems. People who have traveled extensively overseas are generally more likely to contract and spread TB.
These red light signals warrant immediate evaluation by a physician. If you have tuberculosis, adhere to your medical regimen, since the disease can be fatal. In addition to tuberculosis, other possible causes of these symptoms include various infections of the lung and cancers such as lymphoma.


Egg Rolls (2)
Deep Fried Roll with shredded cabbage, chopped pork, and carrots.
Cream Cheese Wontons
Cream Cheese mixed with our blend of seasonings all wrapped in a wonton and deep fried.
Pot Stickers
Your choice of steamed or fried pot stickers stuffed with pork, cabbage, and bok choy served with a side of soy sauce.
Beef Noodle Soup
Pan noodles, beef, broth, eggs, and bok choy boiled.
Boiled Mutton Soup
Lamb leg, green onions, radishes, and various herbs boiled and served.
Chicken Chow Mein
Chow mein noodles, carrots, cabbage, green onions, bean sprouts, and chicken cooked in ou special chow main sauce. Served with a size of white or fried rice.
Pork Chow Mein
Chow mein noodles, carrots, cabbage, green onions, bean sprouts, and pork cooked in ou special chow main sauce. Served with a size of white or fried rice.
Beef Chow Mein
Chow mein noodles, carrots, cabbage, green onions, green and red peppers, bean sprouts, and neef cooked in ou special chow main sauce. Served with a size of white or fried rice.
Shrimp Chow Mein
Chow mein noodles, carrots, cabbage, green onions, bean sprouts, and sea-fresh shrimp cooked in ou special chow main sauce. Served with a size of white or fried rice.
Chicken Fried Rice
Fried Brown Rice with Diced Chicken, Mixed Vegetables, Red Peppers, Eggs, and Green Onions.
Pork Fried Rice
Fried Brown Rice with Diced Pork, Mixed Vegetables, Red Peppers, Eggs, and Green Onions.
Beef Fried Rice
Fried Brown Rice with Sliced Beef, Mixed Vegetables, Red Peppers, Eggs, and Green Onions.
Shrimp Fried Rice
Fried Brown Rice with Sea-Fresh Shrimp, Mixed Vegetables, Red Peppers, Eggs, and Green Onions.
General Tso's Chicken
Sweet and/or Spicy Fried Chicken and Coated in Original Tso Sauce Served with a side of White Rice.
Sweet and Sour Chicken
Fried Chicken coated in our sweet and sour sauce with green and red peppers and pineapple. Served with a side of white rice.
Orange Chicken
Fried and breaded chicken thats coated in our special orange sauce and served with a side of white rice.
Sesame Chicken
Fried and breaded chicken coated in sesame sauce and topped with sesame seeds served with a side of white rice.
Kung Pao Chicken
Sliced Chcicken with Red and Green Peppers tossed in our Famous Sweet and Spicy Kung Pao Sauce.
Chicken Lo Mein
Chicken, Bok choy, carrots, and lo mein noodles cooked in our lo mein sauce.
Beef Lo Mein
Beef, Bok choy, carrots, and lo mein noodles cooked in our lo mein sauce.
Pork Lo Mein
Pork, broccoli, carrots, pea pods, and lo mein noodles cooked in our lo mein sauce.
Shrimp Lo Mein
Shrimp, carrots, broccoli, pea pods, mini corn cobs, and lo mein noodles cooked in our lo mein sauce.
Beef and Broccoli
Beef and Broccoli cooked in a special soy sauce and seasonings served with a side of white rice.
Mongolian Beef
Spicy Marinated Beef coated in a spicy mongolian sauce and served with a side of white rice.
Sweet and Sour Pork
Fried pork with green peppers and onion, and bok choy cooked in our signature sichuan sauce.
Twice Cooked Pork
Pork belly cooked in a spicy bean sauce with green peppers and leeks served with a side of white rice.
Vegetable Stir Fry
Combination of broccoli, carrots, mushrooms and onions cooked in stir fry sauce. Served with a side of white rice.
Buddha's Delight
Mixture of pea pods, bok choy, shitake mushrooms, carrots, mini corn cobs, brocolli, coated in a special sweet and spicy soy suace. Served with a side of white rice.