class YARD::CodeObjects::NamespaceObject
A “namespace” is any object that can store other objects within itself. The two main Ruby objects that can act as namespaces are modules ({ModuleObject}) and classes ({ClassObject}).
Attributes
A hash containing two keys, :class and :instance, each containing a hash of objects and their alias names. @return [Hash] a list of methods
A hash containing two keys, class and instance, each containing the attribute name with a { :read, :write } hash for the read and write objects respectively.
@example The attributes of an object
>> Registry.at('YARD::Docstring').attributes => { :class => { }, :instance => { :ref_tags => { :read => #<yardoc method YARD::Docstring#ref_tags>, :write => nil }, :object => { :read => #<yardoc method YARD::Docstring#object>, :write => #<yardoc method YARD::Docstring#object=> }, ... } }
@return [Hash] a list of methods
The list of objects defined in this namespace @return [Array<Base>] a list of objects
Class mixins @return [Array<ModuleObject>] a list of mixins
@return [Array<String>] a list of ordered group names inside the namespace @since 0.6.0
Instance mixins @return [Array<ModuleObject>] a list of mixins
Public Class Methods
Creates a new namespace object inside namespace
with
name
. @see Base#initialize
# File lib/yard/code_objects/namespace_object.rb, line 55 def initialize(namespace, name, *args, &block) @children = CodeObjectList.new(self) @class_mixins = CodeObjectList.new(self) @instance_mixins = CodeObjectList.new(self) @attributes = SymbolHash[:class => SymbolHash.new, :instance => SymbolHash.new] @aliases = {} @groups = [] super end
Public Instance Methods
Looks for a child that matches the attributes specified by
opts
.
@example Finds a child by name and scope
namespace.child(:name => :to_s, :scope => :instance) # => #<yardoc method MyClass#to_s>
@return [Base, nil] the first matched child object, or nil
# File lib/yard/code_objects/namespace_object.rb, line 85 def child(opts = {}) if !opts.is_a?(Hash) children.find {|o| o.name == opts.to_sym } else opts = SymbolHash[opts] children.find do |obj| opts.each do |meth, value| break false unless value.is_a?(Array) ? value.include?(obj[meth]) : obj[meth] == value end end end end
Only the class attributes @return [Hash] a list of method names and their read/write objects @see attributes
# File lib/yard/code_objects/namespace_object.rb, line 68 def class_attributes attributes[:class] end
Returns all constants in the namespace
@option opts [Boolean] :included (true) whether or not to include
mixed in constants in list
@return [Array<ConstantObject>] a list of constant objects
# File lib/yard/code_objects/namespace_object.rb, line 163 def constants(opts = {}) opts = SymbolHash[:included => true].update(opts) consts = children.select {|o| o.is_a? ConstantObject } consts + (opts[:included] ? included_constants : []) end
Returns class variables defined in this namespace. @return [Array<ClassVariableObject>] a list of class variable objects
# File lib/yard/code_objects/namespace_object.rb, line 185 def cvars children.select {|o| o.is_a? ClassVariableObject } end
Returns constants included from any mixins @return [Array<ConstantObject>] a list of constant objects
# File lib/yard/code_objects/namespace_object.rb, line 171 def included_constants instance_mixins.inject([]) do |list, mixin| if mixin.respond_to? :constants list += mixin.constants.reject do |o| child(:name => o.name) || list.find {|o2| o2.name == o.name } end else list end end end
Returns methods included from any mixins that match the attributes
specified by opts
. If no options are specified, returns all
included methods.
@option opts [Array<Symbol>, Symbol] :visibility ([:public, :private,
:protected]) the visibility of the methods to list. Can be an array or single value.
@option opts [Array<Symbol>, Symbol] :scope ([:class, :instance]) the
scope of the methods to list. Can be an array or single value.
@option opts [Boolean] :included (true) whether to include mixed in
methods in the list.
@see meths
# File lib/yard/code_objects/namespace_object.rb, line 143 def included_meths(opts = {}) opts = SymbolHash[:scope => [:instance, :class]].update(opts) [opts[:scope]].flatten.map do |scope| mixins(scope).inject([]) do |list, mixin| next list if mixin.is_a?(Proxy) arr = mixin.meths(opts.merge(:scope => :instance)).reject do |o| next false if opts[:all] child(:name => o.name, :scope => scope) || list.find {|o2| o2.name == o.name } end arr.map! {|o| ExtendedMethodObject.new(o) } if scope == :class list + arr end end.flatten end
Only the instance attributes @return [Hash] a list of method names and their read/write objects @see attributes
# File lib/yard/code_objects/namespace_object.rb, line 75 def instance_attributes attributes[:instance] end
Returns all methods that match the attributes specified by
opts
. If no options are provided, returns all methods.
@example Finds all private and protected class methods
namespace.meths(:visibility => [:private, :protected], :scope => :class) # => [#<yardoc method MyClass.privmeth>, #<yardoc method MyClass.protmeth>]
@option opts [Array<Symbol>, Symbol] :visibility ([:public, :private,
:protected]) the visibility of the methods to list. Can be an array or single value.
@option opts [Array<Symbol>, Symbol] :scope ([:class, :instance]) the
scope of the methods to list. Can be an array or single value.
@option opts [Boolean] :included (true) whether to include mixed in
methods in the list.
@return [Array<MethodObject>] a list of method objects
# File lib/yard/code_objects/namespace_object.rb, line 112 def meths(opts = {}) opts = SymbolHash[ :visibility => [:public, :private, :protected], :scope => [:class, :instance], :included => true ].update(opts) opts[:visibility] = [opts[:visibility]].flatten opts[:scope] = [opts[:scope]].flatten ourmeths = children.select do |o| o.is_a?(MethodObject) && opts[:visibility].include?(o.visibility) && opts[:scope].include?(o.scope) end ourmeths + (opts[:included] ? included_meths(opts) : []) end
Returns for specific scopes. If no scopes are provided, returns all mixins. @param [Array<Symbol>] scopes a list of scopes (:class, :instance) to
return mixins for. If this is empty, all scopes will be returned.
@return [Array<ModuleObject>] a list of mixins
# File lib/yard/code_objects/namespace_object.rb, line 193 def mixins(*scopes) return class_mixins if scopes == [:class] return instance_mixins if scopes == [:instance] class_mixins | instance_mixins end


Home
News
Contact
About
Log out
CHOOSE WHERE TO VENTURE:
MALE
MALE CLOTHES
FEMALE
DRESSES
SHOES
SWIMWEAR
CHILDREN
PANTS


81-year-old man dies in Ecija mishap
by Steve A. GosuicoSAN ANTONIO, Nueva Ecija -- An 81-year-old man on a bicycle was killed after he was hit from behind by a speeding L-300 van Thursday morning.
Newly-installed police chief Major Roderick Corpuz identified the fatality as Rodolfo Cruz, of Bgy. San Mariano. The van’s driver, who was later arrested, was identified as Berlin de Guzman, 55, of Bgy. San Francisco.
Local police said both vehicles were traversing the same road in Bgy. San Mariano around 6:30 a.m. However, when bike-riding Cruz suddenly turned left, he was sideswept by the L-300 van (AAI-5376) being driven by De Guzman.
Cruz fellfrom the bike and was declared dead upon arrival at the hospital from severe head injuries.
Corpuz will be charged with reckless imprudence resulting in homicide.


Quite simply, where any application requires the highest resolution X-ray images as quickly as possible, our detectors provide the solutions.
About UsWith the increasing requirement by medical professionals for low dose orthopaedic imaging systems, tests with the XCounter Hydra detector has provided proof of its capability to find subtle extremity fractures with CT imaging. Such fractures would have commonly been missed by 2D radiographic systems. The XCounter photon counting detector brings a new level of resolution and speed to CT imaging applications. In particular, the market leading MTF and DQE set new standards in low dose imaging with up to 70% less dose required for the same image when compared with other products available.


Kraken uses a fluid, mobile-first grid system based on simple fractions—halves, thirds, and fourths. It includes offsets, grid nesting, and special classes for content choreography and image galleries.
In this section:

Kraken uses a fluid, mobile-first 6-column grid system...

.grid-third

.grid-two-thirds

.grid-fourth

.grid-fourth

.grid-half

.grid-half

.grid-half

.grid-full

.grid-half

.grid-half

.grid-full

Push grids to the right by adding an .offset-*
class. Center grids with the .float-center
class. Obviously, the grids and offsets cannot add up more than a whole or they'll spill outside of the container.

.grid-three-fourths .offset-fourth

.grid-third

.grid-third .offset-third

.grid-two-thirds .float-center

The grid activates on medium-sized screens by default. You can toggle the grid on smaller screens by adding a simple class—.row-start-xsmall
or .row-start-small
—to the desired .row
element.
Extra Small Screens
Small Screens
Extra Small Screens

.grid-fourth

.grid-fourth

.grid-fourth

.grid-fourth

Small Screens

.grid-fourth

.grid-fourth

.grid-fourth

.grid-fourth

Flip the order of a grid on bigger screens by adding the .grid-flip
class.

First in HTML

Second in HTML

Display images in a responsive gallery by using the .grid-img
class. You can add any number of image grids to a .row
. They'll automatically adjust themselves.


{% extends 'rcos/talks/talk.html' %} {% block title %}App Inventor for Android and CS Education{% endblock %} {% block speaker %}Prof. Ralph Morelli, (Trinity College, Hartford, CT){% endblock %} {% block date %}May 10, 2011, Lally 102 (Tuesday) 4:00 -5:00 pm{% endblock %} {% block content %}
App Inventor is a visual, web-based programming environment that makes it possible for non-programmers to develop apps for their mobile phones. The talk will describe the App Inventor language and how it can be used at the introductory level to teach CS concepts and principles. Sample apps and projects from a college-level CS0 course will be used as examples. The implications for CS education at various levels in the K-14 pipeline will be discussed.
Bio: Ralph Morelli is a Professor of Computer Science at Trinity College in Hartford, CT, where he has been teaching CS since 1985. He currently serves as one of the Principal Investigators of the NSF-funded Humanitarian Free and Open Source Software Project (HFOSS), an attempt to help revitalize undergraduate computing education by getting students engaged in building software that benefits society. He has a Ph.D. in Philosophy and an M.S. in Information and Computer Science from the University of Hawaii. In addition to HFOSS, his research interests include artificial intelligence and computer science education.
{% endblock %}


Top
×
Home
About Me
My Blog
My Portfolio
Education
Gallery
Contact Me
Logout
☰
Home
About Me
My Blog
My Portfolio
Education
Gallery
Contact Me
Logout
Home
WELCOME TO
WEBSITE


Monte Carlo Assembly
Rows:
Columns:
Concentration:
Molecule Type
O
H
R
K
U
Canvas not available.
Delta:
Steps:
Run
Pause
Quit
Speed:


{% load config %} {% block content %}
Join us now, live, as a note taker for our current meeting:
{% else %}
{% with IMPORTANT_URLS='MEETINGS.IMPORTANT_URLS'|get_config %}
Starting a new meeting based on our template.
Please wait a minute…
{% endwith %}
Did you know?
You can manually add a keyword to the notes by using #.
For example: #lasercutter


This web page recommends the Epicodus programming track that is most appropriate for your personality type. To get a recommendation adjust the following 5 sliders to best suit your personality.
Web design is a process of conceptualizing, planning, and building the electronic files that determine the layout, structure and use of interactive features that deliver pages to your site visitors.
Students who learn C# programming and combine it with their knowledge of the .NET framework can target larger enterprises, government agencies, and the companies serving them for employment.
Java is used for everything from web applications to backend services to mobile applications to embedded systems. Companies using Java who have hired Epicodus graduates include Nike and Thetus.
PHP is a popular programming language used for web development, especially for content-heavy websites. It's most commonly used with content management systems like WordPress, Drupal, and Joomla. Intel and OpenSesame have hired Epicodus graduates in the past.
Ruby and Rails are typically used by younger companies and startups, especially for building interactive web applications. Companies using Ruby and Rails who have hired Epicodus graduates include New Relic, LivingSocial, and SpendWell.


Qt-4.8.6
Introduction to Qt4
Qt4 is a cross-platform
application framework that is widely used for developing
application software with a graphical user interface (GUI) (in
which cases Qt4 is classifiedas a
widget toolkit), and also used for developing non-GUI programs such
as command-line tools and consoles for servers. One of the major
users of Qt4 is KDE.
This package is known to build and work properly using an LFS-7.6
systemd platform.
Package Information
Qt4 Dependencies
Required
Xorg
Libraries
Recommended
alsa-lib-1.0.28, MesaLib-10.2.7, Certificate Authority
Certificates, D-Bus, GLib-2.40.0,
ICU-53.1 (unicode support), libjpeg-turbo-1.3.1, libmng-2.0.2, libpng-1.6.13,
LibTIFF-4.0.3, OpenSSL-1.0.1i, and SQLite-3.8.6
Optional
Cups-1.7.5, GTK+-2.24.24 (GTK+ 2 theme support),
gst-plugins-base-0.10.36 (For
QtWebKit HTML5 Video), MariaDB-10.0.13 or MySQL, PostgreSQL-9.3.5, PulseAudio-5.0, and unixODBC-2.3.2
Runtime Dependency
qtchooser-39 (required if installing both Qt4
and Qt5)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qt4
Setting the installation prefix
Installing in /usr
If you want to install Qt4 in
/usr
, set the following environment
variable:
export QT4PREFIX=/usr
The advantage of installing in /usr
is that no additional configuration is required. The package files
are distributed within several subdirectories of the /usr
hierarchy. This is the method that most
distributions use. The disadvantage for BLFS users is that this
Qt4 instance cannot be upgraded
while it is in use. It also does not allow reverting to an
existing, known working instance of Qt4.
Installing in /opt/qt4
If you want to install Qt4 in a
directory other than /usr
, ie
/opt/qt4
, set the following
environment variable:
export QT4PREFIX=/opt/qt4
The advantage of installing Qt4 in
a custom directory such as /opt/qt4
is that it keeps all the package files consolidated in a dedicated
directory hierarchy. By using this method, an update can be made
without overwriting a previous installation and users can easily
revert to a previous version by changing one symbolic link or
merely changing the PATH variable.
Tip
Sometimes, the installation paths are hardcoded into installed
files. This is the reason why /opt/qt4
is used as installation prefix instead
of /opt/qt-4.8.6
. After installing
Qt4, you may rename the
directory and create a symlink:
mv /opt/qt{4,-4.8.6}
ln -sfv qt-4.8.6 /opt/qt4
Later on, you may want to install other versions of Qt4. To do that, just remove the symlink and
use /opt/qt4
as the prefix again.
Which version of Qt4 you use
depends only on where the symlink points to.
Setting the install location for executables
Both Qt4 and Qt5 executables have the same names and will
overwrite each other if they are installed in the same prefix. To
overcome such problem, BLFS offers qtchooser-39,
an utility used to switch between different Qt versions.
If qtchooser-39 is to be used or if installing both
Qt4 and Qt5 in /usr
, the
executables need to be installed to a non-standard location in
order to avoid the conflict with Qt5 ones. To accomplish that, set the
following environment variable:
export QT4BINDIR=$QT4PREFIX/lib/qt4/bin
If you choose not to install qtchooser-39
or if you are not going to install Qt5, simply set the bindir to a bin
subdir of the default prefix by setting the
following environment variable:
export QT4BINDIR=$QT4PREFIX/bin
Installation of Qt4
Caution
If you did not install some of the recommended dependencies,
examine ./configure
--help output to check how to disable them or use
internal versions bundled in the source tarball.
Warning
If Qt4 is being reinstalled into
the same directory as an existing instance, run the commands done
by root
, such as make install, from a console or
non-Qt4 based window manager. It overwrites Qt4 libraries that should not be in use
during the install process.
Note
The build time and space required for the full Qt is quite long. The instructions below do
not build the tutorials and examples. Removing the -nomake
lines will create a
complete build.

Remove references to the build directory from the .pc
files by running the following command:
find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;
Warning
Make sure that QT4PREFIX
and
QT4BINDIR
environment variables are
set for the root
user too.
Now, as the root
user:
make install &&
rm -rf $QT4PREFIX/tests
Remove references to the build directory from installed files by
running the following command as the root
user:
for file in 3Support CLucene Core DBus Declarative DesignerComponents \
Designer Gui Help Multimedia Network OpenGL Script \
ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml phonon; do
[ -e $QT4PREFIX/lib/libQt${file}.prl ] &&
sed -r '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' \
-i $QT4PREFIX/lib/libQt${file}.prl
done
unset file
Install images and create the menu entries for installed
applications by running the following commands as the root
user:
install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
/usr/share/pixmaps/qt4logo.png &&
install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
/usr/share/pixmaps/assistant-qt4.png &&
install -v -Dm644 tools/designer/src/designer/images/designer.png \
/usr/share/pixmaps/designer-qt4.png &&
install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
/usr/share/pixmaps/linguist-qt4.png &&
install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
/usr/share/pixmaps/qdbusviewer-qt4.png &&
install -v -dm755 /usr/share/applications &&
cat > /usr/share/applications/assistant-qt4.desktop << EOF
[Desktop Entry]
Name=Qt4 Assistant
Comment=Shows Qt4 documentation and examples
Exec=$QT4BINDIR/assistant
Icon=assistant-qt4.png
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Development;Documentation;
EOF
cat > /usr/share/applications/designer-qt4.desktop << EOF
[Desktop Entry]
Name=Qt4 Designer
Comment=Design GUIs for Qt4 applications
Exec=$QT4BINDIR/designer
Icon=designer-qt4.png
MimeType=application/x-designer;
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Development;
EOF
cat > /usr/share/applications/linguist-qt4.desktop << EOF
[Desktop Entry]
Name=Qt4 Linguist
Comment=Add translations to Qt4 applications
Exec=$QT4BINDIR/linguist
Icon=linguist-qt4.png
MimeType=text/vnd.trolltech.linguist;application/x-linguist;
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Development;
EOF
cat > /usr/share/applications/qdbusviewer-qt4.desktop << EOF
[Desktop Entry]
Name=Qt4 QDbusViewer
GenericName=D-Bus Debugger
Comment=Debug D-Bus applications
Exec=$QT4BINDIR/qdbusviewer
Icon=qdbusviewer-qt4.png
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Development;Debugger;
EOF
cat > /usr/share/applications/qtconfig-qt4.desktop << EOF
[Desktop Entry]
Name=Qt4 Config
Comment=Configure Qt4 behavior, styles, fonts
Exec=$QT4BINDIR/qtconfig
Icon=qt4logo.png
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Qt;Settings;
EOF
Some packages look for Qt4
executables with -qt4
suffix. Run the
following command as the root
user
to create the necessary symlinks:
for file in assistant designer lconvert linguist lrelease lupdate \
moc pixeltool qcollectiongenerator qdbus qdbuscpp2xml \
qdbusviewer qdbusxml2cpp qdoc3 qhelpconverter \
qhelpgenerator qmake qmlplugindump qmlviewer qt3to4 \
qtconfig qttracereplay rcc uic uic3 xmlpatterns \
xmlpatternsvalidator
do
ln -sfrv $QT4BINDIR/$file /usr/bin/$file-qt4
done
unset file
Command Explanations
sed -i ...: First
command fixes detection of libmng
2.0 and second one prevents configure script from writing to the
root directory if building as privileged user.
-confirm-license
: Accept
license without prompting user during configuration.
-opensource
: Install the
opensource version of Qt.
-release
: This switch
disables building with debugging symbols.
-nomake examples -nomake
demos
: These switches disable building programs that
are only of interest to a developer using Qt.
-system-sqlite
: This switch
enables use the system version of SQLite.
-no-phonon
-no-phonon-backend
: These switches disable building of
the bundled Phonon library. Better
version is provided by Phonon-4.8.0 package.
-dbus-linked
-openssl-linked
: These switches enable explicit linking
of the D-Bus and OpenSSL libraries into Qt libraries instead of dlopen()-ing them.
-no-openvg
: This switch
disables OpenVG support in
Qt.
-optimized-qmake
: This
switch enables building of the optimized qmake program.
Configuring Qt4
Configuration
Information
Note
If you have installed Qt4 in
/usr
you can skip this section.
If you installed Qt4 in a
location other than /usr
, you need
to update the following configuration files so that Qt4 is correctly found by other packages and
system processes.
As the root
user, update the
/etc/ld.so.conf
file and the
dynamic linker's run-time cache file:
cat >> /etc/ld.so.conf << EOF
# Begin Qt4 addition
$QT4PREFIX/lib
# End Qt4 addition
EOF
ldconfig
If you have installed qtchooser-39, create the /etc/profile.d/qt4.sh
file by running the
following command as the root
user:
cat > /etc/profile.d/qt4.sh << EOF
# Begin /etc/profile.d/qt4.sh
pathappend $QT4PREFIX/lib/pkgconfig PKG_CONFIG_PATH
# End /etc/profile.d/qt4.sh
EOF
If you have not installed qtchooser-39, create the /etc/profile.d/qt4.sh
file by running the
following command as the root
user:
cat > /etc/profile.d/qt4.sh << EOF
# Begin /etc/profile.d/qt4.sh
pathappend $QT4BINDIR PATH
pathappend $QT4PREFIX/lib/pkgconfig PKG_CONFIG_PATH
# End /etc/profile.d/qt4.sh
EOF
Note
If qtchooser-39 is not installed and you also
have Qt5 installed, you will
need to manually adjust the PATH
variable depending on which Qt
version is needed.
Contents
Installed Programs:
assistant, designer, lconvert, linguist,
lrelease, lupdate, moc, pixeltool, qcollectiongenerator,
qdbuscpp2xml, qdbus, qdbusviewer, qdbusxml2cpp, qdoc3,
qhelpconverter, qhelpgenerator, qmake, qmlplugindump,
qmlviewer, qt3to4, qtconfig, qttracereplay, rcc, uic3, uic,
xmlpatterns, and xmlpatternsvalidator
Installed Libraries:
libQtUiTools.a, libQt3Support.so,
libQtCLucene.so, libQtCore.so, libQtDBus.so,
libQtDeclarative.so, libQtDesignerComponents.so,
libQtDesigner.so, libQtGui.so, libQtHelp.so,
libQtMultimedia.so, libQtNetwork.so, libQtOpenGL.so,
libQtScript.so, libQtScriptTools.so, libQtSql.so, libQtSvg.so,
libQtTest.so, libQtWebKit.so, libQtXmlPatterns.so, and
libQtXml.so, and several plugins under /opt/qt4/imports and
/opt/qt4/plugins
Installed Directories:
$QT4PREFIX/include/qt4,
$QT4PREFIX/lib/qt4, $QT4PREFIX/share/doc/qt4, and
$QT4PREFIX/share/qt4
Short Descriptions
|
assistant
|
is a tool for presenting on-line documentation.
|
|
designer
|
is a full-fledged GUI builder. It includes powerful
features such as preview mode, automatic widget layout,
support for custom widgets, and an advanced property
editor.
|
|
linguist
|
provides support for translating applications into local
languages.
|
|
lrelease
|
is a simple command line tool. It reads a Qt project file
and produces message files used by the application.
|
|
lupdate
|
reads a Qt project file, finds the translatable strings
in the specified source, header and Qt Designer interface
files, and produces or updates the translation files
listed in the project file.
|
|
moc
|
generates Qt meta object support code.
|
|
pixeltool
|
is a desktop magnifier and as you move your mouse around
the screen it will show the magnified contents in its
window.
|
|
qmake
|
uses information stored in project files to determine
what should go in the makefiles it generates.
|
|
qt3to4
|
qt3to4 is a tool to help update Qt3 code to Qt4.
|
|
qtconfig
|
is used to customize the appearance of Qt applications.
|
|
rcc
|
is a resource compiler used in conjunction with designer.
|
|
uic
|
is a Qt user interface compiler.
|
|
uic3
|
is a tool to generate Qt4 code out of user interface
files generated by the Qt3 version of designer.
|
Last updated on 2014-08-24 04:24:00 -0700


This privacy policy describes how onClick Consulting (“onClick”, “us” or “we”) protects your (“you”, “the user”) privacy and your data. Before using any of our Alexa Skills (“our skills”), please read this policy and our Alexa Skills Terms of Service, as well as the Alexa Terms of Use and the Privacy Policies by the Amazon Digital Services LLC (with its affiliates, “Amazon”).
Regarding Amazon, “Alexa” means their Alexa Voice Service which includes third party services (like our skills) and other related Software.
If you use one of our skills you fully agree to this privacy policy.
When you use our skills you have to talk to Alexa. This voice input is sent to Amazon and us where we use it to understand what our skill should do for you. This is absolutely necessary for our service to give you an appropriate answer.
We never collect or share personal data with our skills.
To improve our services we analyze automatically how often utterances are spoken and other analytics. This is done automatically by Amazon in the Amazon Developer Portal.
For some of our skills it is necessary to save data for you in our databases. This data is only connected to your Alexa-UserId but never to your name or any other personal information. In the case of our “sittmacher” skill we save how many milliliters you drank per day. Otherwise we could not provide you this service.
Our skills or parts of it may change or be updated at any time. Further, this Privacy Policy might change. You can find a link to this policy on the description page of the skill in the Alexa App or in the Alexa Store. Your continued use of our skill after changes of the Privacy Policy or the skill itself will be seen as your acceptance of both.


Falafel, delivered
Place An OrderGood Food
A wise man once said: "Eat Falafel". Another wise man once said: "Eat Hummus". We have taken these two maxims to heart and pioneered a new philosophy, which goes something like this: "Eat Falafel AND Hummus".
Right Now
The only thing more important that eating Falafel, is eating Hummus and Falafel. And the only thing more important than eating Hummus and Falafel, is eating eating Hummus and Falafe RIGHT NOW!!
For Cheap
Because duh. The best food is cheap food.


Last Update August 2019
The first step is for a prospect or client to click on the Request Information button via the unique App Center listing.
Sample App Center Request Information Link:
Depending upon the authentication method the app is using, the Request Information link may also appear as a button as shown below:
After clicking Request Information the prospect is redirected to the App Center Inquiry form which is dynamic and customized for each partner. The prospect must then complete the form and submit it. After submitting the form the prospect will receive a confirmation page. Thereafter, they will be redirected back to the partner’s App Center listing.
Sample App Center Request Information Form:
Sample Confirmation Page:
After submitting the form the prospect will also receive a confirmation email. If the lead was submitted by a SAP Concur employee the email confirmation will be slightly modified.
Sample Confirmation Email:
The App Center partner will receive an inquiry notification email. Partners must click on the “Accept/Reject” button to be redirected to the Accept/Reject Form for completion within 20 days of receipt.
Sample Inquiry Notification Email:
Sample Accept/Reject Form:
The first step is for the SAP Concur sales representative to click the App Center Referral button on the contact’s Salesforce record.
Sample Salesforce App Center Referral:
The representative will select the correct App Center partner and complete the referral form in Salesforce. In the Comments field, they should include any relevant information or notes for the partner. For internal tracking purposes, they will also list the SAP Concur account members involved in the conversations. The representative may also select “Contact me first” if they would like to have a discussion prior to the partner following up with the client.
Sample Salesforce Task Information Form:
Partners will receive a notification email that a lead has been submitted. Unlike customer-submitted leads, there is no Accept/Reject button on rep-submitted lead notifications. Partners should instead use the following process:
Sample Rep-Submitted Lead Notification Email:
Leads will be sent to the partner from the SAP Concur marketing automation tool Marketo. To ensure receipt of all leads the following steps must be completed by the partner:


To do this, put in the tag marquee.
Dancing Endermen...
Dancing Zombies...
Dancing Creepers...
Dancing mobs!


United Center
About
United Center is located in Chicago, Illinois. This venue hosts a variety of events ranging from concerts to sporting events. It is also home to the Chicago Blackhawks and the Chicago Bulls.
Services Offered
United Center offers a number of services to people with disabilities. Below is a list of some of the services they offer that can found on their website
- Wheelchair Escorts
- Accessible Entrances
- Elevators
- Designated Parking Spots
- Hearing and Visual Assitance
More Information
For more information on the accessibilty services at United Center visit the venue's website at the link below.


Functions for fitting linear and non-linear mixed-effects models using stochastic differential equations (SDEs). The package allows for any multivariate non-linear time-variant model to be specified, and it also handles multidimensional input, covariates, missing observations, and specification of dosage regimen. The provided pipeline relies on the coupling of the FOCE algorithm and Kalman filtering as outlined by Klim et al (2009, <doi:10.1016/j.cmpb.2009.02.001>) and has been validated against the proprietary software 'NONMEM' (Tornoe et al, 2005, <doi:10.1007/s11095-005-5269-5>). Further functions are provided for finding smoothed estimates of model states and for simulation.
| Version: | 0.8-12 |
| Imports: | deSolve, graphics, MASS, numDeriv, stats, ucminf |
| Suggests: | datasets |
| Published: | 2018-05-12 |
| Author: | Stig Bousgaard Mortensen, Soeren Klim, Robert Miller |
| Maintainer: | Robert Miller <robert.miller at tu-dresden.de> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | http://www.imm.dtu.dk/psm |
| NeedsCompilation: | yes |
| In views: | MissingData |
| CRAN checks: | PSM results |
| Reference manual: | PSM.pdf |
| Vignettes: |
Population Stochastic Modelling: Model definition, description and examples |
| Package source: | PSM_0.8-12.tar.gz |
| Windows binaries: | r-devel: PSM_0.8-12.zip, r-release: PSM_0.8-12.zip, r-oldrel: PSM_0.8-12.zip |
| OS X binaries: | r-release: PSM_0.8-12.tgz, r-oldrel: PSM_0.8-12.tgz |
| Old sources: | PSM archive |
Please use the canonical form https://CRAN.R-project.org/package=PSM to link to this page.


{% load i18n humanize %}
{% trans 'The review authors have made the following evaluations. Since you are the reviewer, you can see them.' %}
| {% trans 'Author' %} | {% trans 'Status' %} | {% trans 'Criteria' %} | {% trans 'Comments' %} |
|---|---|---|---|
| {{evaluation.user.username}} | {{evaluation.get_status_html|safe}} | {{evaluation.selection_criteria}} | {{evaluation.comments}} |
| {% trans 'There is not evaluations yet' %} |
{% trans 'This article evaluation was finished by you, because you solved a conflict and set status as:' %}
{{article.get_status_html|safe}} ({{article.evaluation_finished_at}})


A slider, also known as a track bar, allows users to set or adjust a value. When the user changes the value, it does not change the format of the interface or other info on the screen.
VIA senior product manage
for UI/UX at REVOX
Pages is a range slider without bloat. It offers a ton off features, and it is as small, lightweight and minimal as possible, which is great for mobile use on the many supported devices.
Pages works with pretty much any device, mouse, touchscreen or both, and it'll work beautifully in responsive designs.
see the plugin for uiSlider
https://docs.pages.revox.io/v/angular/ui-components/sliders
Pages Sliders supports IE9 and up, and of course the latest versions of the 'evergreen' browsers: Chrome, Safari, Firefox and Opera.
Basic slider with different color options, use of the below classes to quickly create a styled slider. Uses native boostrap colors scheme classes
All the colours included in pages color pallete is applicable to the default pages slider.
See color PalleteThe slider variations are made by the ciours included as the base clours excluding the menue base color.
The limit option is the oposite of the margin option, limiting the maximum distance between two handles. As with the margin option, the limit option can only be used on linear sliders.
By default, the slider slides fluently. In order to make the handles jump between intervals, you can use this option. The step option is relative to the values provided to range.
The connect setting can be used to control the bar between the handles, or the edges of the slider. Use "lower" to connect to the lower side, or "upper" to connect to the upper side. Setting true sets the bar between the handles.
Option to segment and label the sliders with specific positions. You will have the ability to step to segment or free form slide as show in the examples.
Enable stepping with markers by adding Step
attribute
Allowing snap to markers can be adding Dots
attribute
The orientation setting can be used to set the slider to "vertical" or "horizontal".Set dimensions! Vertical sliders don't assume a default height, so you'll need to set one. You can use any unit you want, including % or px.


public class Huffman
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Huffman.IncompatibleTableException |
| Constructor and Description |
|---|
Huffman(HuffTable fTable)
Constructor for the Huffman object - generates a tree from the frequency
table given.
|
| Modifier and Type | Method and Description |
|---|---|
FileBuffer |
decodeHuff(FileBuffer myFile,
long stOff)
Uses the tree contained in this instance to decode the file
and returns the decoded version
|
FileBuffer |
decodeHuff(FileBuffer myFile,
long stOff,
long edOff)
Uses the tree contained in this instance to decode the file
and returns the decoded version
|
FileBuffer |
encodeHuff(FileBuffer myFile,
boolean includeTable)
Uses the tree contained in this instance to encode the file
and returns the encoded version
|
FileBuffer |
encodeHuff(FileBuffer myFile,
boolean includeTable,
long stOff)
Uses the tree contained in this instance to encode the file
and returns the encoded version
|
FileBuffer |
encodeHuff(FileBuffer myFile,
boolean includeTable,
long stOff,
long edOff)
Uses the tree contained in this instance to encode the file
and returns the encoded version
|
FileBuffer |
encodeHuff(FileBuffer myFile,
boolean includeTable,
long stOff,
long edOff,
java.lang.String head)
Uses the tree contained in this instance to encode the file
and returns the encoded version.
|
FileBuffer |
encodeHuff(FileBuffer myFile,
java.lang.String headerAdd) |
boolean |
equals(java.lang.Object other) |
static HuffTable |
freqTableFromFile(FileBuffer myFile,
int bitDepth)
Generates a new HuffTable from the frequencies of bit chunks (of width
specified) in given file.
|
HuffTable |
getTable() |
int |
hashCode() |
static FileBuffer |
HuffDecodeFile(FileBuffer myHuff)
Decodes the given file assuming it has been encoded by the above quick
encoder.
|
static FileBuffer |
HuffDecodeFile(FileBuffer myHuff,
long stPos)
Decodes the given file assuming it has been encoded by the above quick
encoder.
|
static FileBuffer |
HuffEncodeFile(FileBuffer myFile,
int bDepth) |
static FileBuffer |
HuffEncodeFile(FileBuffer myFile,
int bDepth,
long stPos,
long edPos)
Encodes the given file using the default table settings.
|
static FileBuffer |
HuffEncodeFile(FileBuffer myFile,
int bDepth,
long stPos,
long edPos,
java.lang.String fTablePath)
Encodes the given file using the default table settings.
|
static FileBuffer |
HuffEncodeFile(FileBuffer myFile,
int bDepth,
java.nio.file.Path fTablePath) |
static FileBuffer |
HuffEncodeFile(FileBuffer myFile,
int bDepth,
java.lang.String header) |
void |
printTable()
Prints frequency table contained in object to console.
|
void |
printTableToFile(java.lang.String printPath)
Prints frequency table contained in object to specified path.
|
void |
printTableToSTDERR() |
static HuffTable |
readHuffTable(FileBuffer myFile,
long stOff)
Parses a serialized HuffTable byte string stored in a file that has been
written by this library.
|
int |
serializedTableSize(boolean includeFSize)
Returns the number of bytes it would take to serialize the table contained
in the object.
|
FileBuffer |
serializeTable(boolean includeFSize)
Converts the table object contained in the Huffman to a serialized byte string.
|
FileBuffer |
serializeTable(long fileSize)
Converts the table object contained in the Huffman to a serialized byte string.
|
java.lang.String |
toString() |
public Huffman(HuffTable fTable)
fTable
- | The frequency table used to generate the tree.public HuffTable getTable()
public FileBuffer encodeHuff(FileBuffer myFile, boolean includeTable) throws java.io.IOException
myFile
- - FileBuffer to encodeincludeTable
- - Whether or not to include table serialization at beginningjava.io.IOException
public FileBuffer encodeHuff(FileBuffer myFile, boolean includeTable, long stOff) throws java.io.IOException
myFile
- - FileBuffer to encodeincludeTable
- - Whether or not to include table serialization at beginningstOff
- - the position of the first byte in myFile to encode.java.io.IOException
public FileBuffer encodeHuff(FileBuffer myFile, boolean includeTable, long stOff, long edOff) throws java.io.IOException
myFile
- - FileBuffer to encodeincludeTable
- - Whether or not to include table serialization at beginning\stOff
- - the position of the first byte in myFile to encodeedOff
- - the position in myFile to stop encodingjava.io.IOException
public FileBuffer encodeHuff(FileBuffer myFile, boolean includeTable, long stOff, long edOff, java.lang.String head) throws java.io.IOException
myFile
- - FileBuffer to encodeincludeTable
- - Whether or not to include table serialization at beginning\stOff
- - the position of the first byte in myFile to encodeedOff
- - the position in myFile to stop encodinghead
- - A string to add to the start of the file (if wanted for tagging)java.io.IOException
public FileBuffer encodeHuff(FileBuffer myFile, java.lang.String headerAdd) throws java.io.IOException
java.io.IOException
public FileBuffer decodeHuff(FileBuffer myFile, long stOff) throws java.io.IOException
myFile
- - FileBuffer to decodestOff
- - the position of the first byte in myFile to encodejava.io.IOException
public FileBuffer decodeHuff(FileBuffer myFile, long stOff, long edOff) throws java.io.IOException
myFile
- - FileBuffer to decodestOff
- - the position of the first byte in myFile to encodeedOff
- - the position in myFile to stop encodingjava.io.IOException
public int serializedTableSize(boolean includeFSize)
includeFSize
- | Whether or not to include file size in the byte string.public FileBuffer serializeTable(boolean includeFSize)
includeFSize
- | Whether or not to include table's stored file size in serialization.public FileBuffer serializeTable(long fileSize)
fileSize
- | The file size to include in the serialized data (overriding stored size in table object)public static HuffTable readHuffTable(FileBuffer myFile, long stOff)
myFile
- | File to read table fromstOff
- | Offset to start looking for tablepublic void printTableToSTDERR()
public static HuffTable freqTableFromFile(FileBuffer myFile, int bitDepth)
myFile
- | File to generate table from.bitDepth
- | Bits to analyze at oncepublic void printTable()
public void printTableToFile(java.lang.String printPath)
printPath
- | Path to write text topublic static FileBuffer HuffEncodeFile(FileBuffer myFile, int bDepth, long stPos, long edPos) throws java.io.IOException
myFile:
- File to encodebDepth:
- Bit depth of Huffman encodingstPos:
- First byte to encodeedPos:
- First byte not encoded (position after final byte)java.io.IOException
public static FileBuffer HuffEncodeFile(FileBuffer myFile, int bDepth, long stPos, long edPos, java.lang.String fTablePath) throws java.io.IOException
myFile
- | File to encodebDepth
- | Bit depthstPos
- | First byte in file to encodeedPos
- | Offset to encode tofTablePath
- | Path to put frequency table text filejava.io.IOException
public static FileBuffer HuffEncodeFile(FileBuffer myFile, int bDepth) throws java.io.IOException
java.io.IOException
public static FileBuffer HuffEncodeFile(FileBuffer myFile, int bDepth, java.nio.file.Path fTablePath) throws java.io.IOException
java.io.IOException
public static FileBuffer HuffEncodeFile(FileBuffer myFile, int bDepth, java.lang.String header) throws java.io.IOException
java.io.IOException
public static FileBuffer HuffDecodeFile(FileBuffer myHuff) throws java.io.IOException
myHuff:
- File to decodejava.io.IOException
public static FileBuffer HuffDecodeFile(FileBuffer myHuff, long stPos) throws java.io.IOException
myHuff:
- File to decodejava.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object


[ all classes ]
Overall Coverage Summary
| Package | Class, % | Method, % | Line, % |
|---|---|---|---|
| all classes | 47.8% (11/ 23) | 27.7% (41/ 148) | 43.9% (211/ 481) |
Coverage Breakdown
| Package | Class, % | Method, % | Line, % |
|---|---|---|---|
| <empty package name> | 0% (0/ 1) | 0% (0/ 3) | 0% (0/ 11) |
| controller.mainWindow | 0% (0/ 1) | 0% (0/ 10) | 0% (0/ 42) |
| controller.mainWindow.editorPane.listView | 0% (0/ 1) | 0% (0/ 7) | 0% (0/ 8) |
| view | 0% (0/ 3) | 0% (0/ 12) | 0% (0/ 42) |
| model | 0% (0/ 1) | 0% (0/ 11) | 0% (0/ 22) |
| controller.mainWindow.editorPane | 0% (0/ 3) | 0% (0/ 34) | 0% (0/ 89) |
| controller.mainWindow.editorPane.textArea | 0% (0/ 1) | 0% (0/ 5) | 0% (0/ 6) |
| model.fileIO.file | 0% (0/ 1) | 0% (0/ 14) | 0% (0/ 27) |
| model.editorModel | 100% (1/ 1) | 28.6% (2/ 7) | 40% (6/ 15) |
| model.editorModel.contentNodeModel | 100% (2/ 2) | 50% (2/ 4) | 75% (6/ 8) |
| model.diff.block | 100% (3/ 3) | 73.3% (11/ 15) | 71% (22/ 31) |
| model.fileIO | 100% (2/ 2) | 100% (8/ 8) | 96.4% (27/ 28) |
| model.diff | 100% (3/ 3) | 100% (18/ 18) | 98.7% (150/ 152) |


The Crimson Fairy Book
by Andrew Lang
“The Story of the Sham Prince, or the Ambitious Tailor”
by Andrew Lang
Additional Information
- Year Published: 1903
- Language: English
- Country of Origin: Egypt
- Source: Lang, A. (Ed.). (1903). The Crimson Fairy Book. London: Dover Publications.
-
Readability:
- Flesch–Kincaid Level: 7.3
- Word Count: 4,795
- Genre: Fairy Tale/Folk Tale
- Keywords: forgiveness
- ✎ Cite This
Downloads
Once upon a time there lived a respectable young tailor called Labakan, who worked for a clever master in Alexandria. No one could call Labakan either stupid or lazy, for he could work extremely well and quickly—when he chose; but there was something not altogether right about him. Sometimes he would stitch away as fast as if he had a red-hot needle and a burning thread, and at other times he would sit lost in thought, and with such a queer look about him that his fellow-workmen used to say, ‘Labakan has got on his aristocratic face today.’
On Fridays he would put on his fine robe which he had bought with the money he had managed to save up, and go to the mosque. As he came back, after prayers, if he met any friend who said ‘Good-day,’ or ‘How are you, friend Labakan?’ he would wave his hand graciously or nod in a condescending way; and if his master happened to say to him, as he sometimes did, ‘Really, Labakan, you look like a prince,’ he was delighted, and would answer, ‘Have you noticed it too?’ or ‘Well, so I have long thought.’

One day, the sultan’s brother happened to be passing through Alexandria, and wanted to have one of his state robes altered, so he sent for the master tailor, who handed the robe over to Labakan as his best workman.
In the evening, when every one had left the workshop and gone home, a great longing drove Labakan back to the place where the royal robe hung. He stood a long time gazing at it, admiring the rich material and the splendid embroidery in it. At last he could hold out no longer. He felt he must try it on, and lo! and behold, it fitted as though it had been made for him.
‘Am not I as good a prince as any other?’ he asked himself, as he proudly paced up and down the room. ‘Has not the master often said that I seemed born to be a prince?’
It seemed to him that he must be the son of some monarch, and at last he determined to set out at once and travel in search of his proper rank.
 He collected all his savings, and, concealed by the darkness of the night, he passed through the gates of Alexandria.
The new prince excited a good deal of curiosity wherever he went, for his splendid robe and majestic manner did not seem quite suitable to a person travelling on foot. If anyone asked questions, he only replied with an important air of mystery that he had his own reasons for not riding.
However, he soon found out that walking made him ridiculous, so at last he bought a quiet, steady old horse, which he managed to get cheap.
One day, as he was ambling along upon Murva (that was the horse’s name), a horseman overtook him and asked leave to join him, so that they might both beguile the journey with pleasant talk. The newcomer was a bright, cheerful, good-looking young man, who soon plunged into conversation and asked many questions. He told Labakan that his own name was Omar, that he was a nephew of Elfi Bey, and was travelling in order to carry out a command given him by his uncle on his death bed. Labakan was not quite so open in his confidences, but hinted that he too was of noble birth and was travelling for pleasure.
The two young men took a fancy to each other and rode on together. On the second day of their journey Labakan questioned Omar as to the orders he had to carry out, and to his surprise heard this tale.
Elfi Bey, Pacha of Cairo, had brought up Omar from his earliest childhood, and the boy had never known his parents. On his deathbed Elfi Bey called Omar to him, and then told him that he was not his nephew, but the son of a great king, who, having been warned of coming dangers by his astrologers, had sent the young prince away and made a vow not to see him till his twenty-second birthday.
Elfi Bey did not tell Omar his father’s name, but expressly desired him to be at a great pillar four days’ journey east of Alexandria on the fourth day of the coming month, on which day he would be twenty-two years old. Here he would meet some men, to whom he was to hand a dagger which Elfi Bey gave him, and to say ‘Here am I for whom you seek.’
If they answered: ‘Praised be the Prophet who has preserved you,’ he was to follow them, and they would take him to his father.
Labakan was greatly surprised and interested by this story, but after hearing it he could not help looking on Prince Omar with envious eyes, angry that his friend should have the position he himself longed so much for. He began to make comparisons between the prince and himself, and was obliged to confess that he was a fine-looking young man with very good manners and a pleasant expression.
At the same time, he felt sure that had he been in the prince’s place any royal father might have been glad to own him.
 He woke very early, and as he saw Omar sleeping quietly, with a happy smile on his face, a wish arose in his mind to take by force or by cunning the things which an unkind fate had denied him.
The dagger which was to act as a passport was sticking in Omar’s girdle. Labakan drew it gently out, and hesitated for a moment whether or not to plunge it into the heart of the sleeping prince. However, he shrank from the idea of murder, so he contented himself with placing the dagger in his own belt, and, saddling Omar’s swift horse for himself, was many miles away before the prince woke up to realise his losses.
For two days Labakan rode on steadily, fearing lest, after all, Omar might reach the meeting place before him. At the end of the second day he saw the great pillar at a distance. It stood on a little hill in the middle of a plain, and could be seen a very long way off. Labakan’s heart beat fast at the sight. Though he had had some time in which to think over the part he meant to play his conscience made him rather uneasy. However, the thought that he must certainly have been born to be a king supported him, and he bravely rode on.
The neighbourhood was quite bare and desert, and it was a good thing that the new prince had brought food for some time with him, as two days were still wanting till the appointed time.
Towards the middle of the next day he saw a long procession of horses and camels coming towards him. It halted at the bottom of the hill, and some splendid tents were pitched. Everything looked like the escort of some great man. Labakan made a shrewd guess that all these people had come here on his account; but he checked his impatience, knowing that only on the fourth day could his wishes be fulfilled.
The first rays of the rising sun woke the happy tailor. As he began to saddle his horse and prepare to ride to the pillar, he could not help having some remorseful thoughts of the trick he had played and the blighted hopes of the real prince. But the die was cast, and his vanity whispered that he was as fine looking a young man as the proudest king might wish his son to be, and that, moreover, what had happened had happened.
With these thoughts he summoned up all his courage sprang on his horse, and in less than a quarter of an hour was at the foot of the hill. Here he dismounted, tied the horse to a bush, and, drawing out Prince Omar’s dagger climbed up the hill.
At the foot of the pillar stood six men round a tall and stately person. His superb robe of cloth of gold was girt round him by a white cashmere shawl, and his white, richly jewelled turban showed that he was a man of wealth and high rank.
Labakan went straight up to him, and, bending low, handed him the dagger, saying: ‘Here am I whom you seek.’
‘Praised be the Prophet who has preserved you! replied the old man with tears of joy. ‘Embrace me, my dear son Omar!’
The proud tailor was deeply moved by these solemn words, and with mingled shame and joy sank into the old king’s arms.
But his happiness was not long unclouded. As he raised his head he saw a horseman who seemed trying to urge a tired or unwilling horse across the plain.

At last the horseman reached the foot of the hill. Here he flung himself from the saddle and hurried up to the pillar.
‘Stop!’ he cried, ‘whoever you may be, and do not let a disgraceful impostor take you in. My name is Omar, and let no one attempt to rob me of it.’
This turn of affairs threw the standers-by into great surprise. The old king in particular seemed much moved as he looked from one face to the other. At last Labakan spoke with forced calmness, ‘Most gracious lord and father, do not let yourself be deceived by this man. As far as I know, he is a half-crazy tailor’s apprentice from Alexandria, called Labakan, who really deserves more pity than anger.’
These words infuriated the prince. Foaming with rage, he tried to press towards Labakan, but the attendants threw themselves upon him and held him fast, whilst the king said, ‘Truly, my dear son, the poor fellow is quite mad. Let him be bound and placed on a dromedary. Perhaps we may be able to get some help for him.’
The prince’s first rage was over, and with tears he cried to the king, ‘My heart tells me that you are my father, and in my mother’s name I entreat you to hear me.’
‘Oh! heaven forbid!’ was the reply. ‘He is talking nonsense again. How can the poor man have got such notions into his head?’
With these words the king took Labakan’s arm to support him down the hill. They both mounted richly caparisoned horses and rode across the plain at the head of their followers.
The unlucky prince was tied hand and foot, and fastened on a dromedary, a guard riding on either side and keeping a sharp look-out on him.
The old king was Sached, Sultan of the Wachabites. For many years he had had no children, but at length the son he had so long wished for was born. But the sooth-sayers and magicians whom he consulted as to the child’s future all said that until he was twenty-two years old he stood in danger of being injured by an enemy. So, to make all safe, the sultan had confided the prince to his trusty friend Elfi Bey, and deprived himself of the happiness of seeing him for twenty-two years. All this the sultan told Labakan, and was much pleased by his appearance and dignified manner.
When they reached their own country they were received with every sign of joy, for the news of the prince’s safe return had spread like wildfire, and every town and village was decorated, whilst the inhabitants thronged to greet them with cries of joy and thankfulness. All this filled Labakan’s proud heart with rapture, whilst the unfortunate Omar followed in silent rage and despair.
At length they arrived in the capital, where the public rejoicings were grander and more brilliant than anywhere else. The queen awaited them in the great hall of the palace, surrounded by her entire court. It was getting dark, and hundreds of coloured hanging lamps were lit to turn night into day.
The brightest hung round the throne on which the queen sat, and which stood above four steps of pure gold inlaid with great amethysts. The four greatest nobles in the kingdom held a canopy of crimson silk over the queen, and the Sheik of Medina fanned her with a peacock-feather fan.
In this state she awaited her husband and her son. She, too, had not seen Omar since his birth, but so many dreams had shown her what he would look like that she felt she would know him among a thousand.
And now the sound of trumpets and drums and of shouts and cheers outside announced the long looked for moment. The doors flew open, and between rows of lowbending courtiers and servants the king approached the throne, leading his pretended son by the hand.
‘Here,’ said he, ‘is he for whom you have been longing so many years.’
But the queen interrupted him, ‘That is not my son!’ she cried. ‘That is not the face the Prophet has shown me in my dreams!’
Just as the king was about to reason with her, the door was thrown violently open, and Prince Omar rushed in, followed by his keepers, whom he had managed to get away from. He flung himself down before the throne, panting out, ‘Here will I die; kill me at once, cruel father, for I cannot bear this shame any longer.’
Everyone pressed round the unhappy man, and the guards were about to seize him, when the queen, who at first was dumb with surprise, sprang up from her throne.
‘Hold!’ cried she. ‘This and no other is the right one; this is the one whom my eyes have never yet seen, but whom my heart recognises.’
The guards had stepped back, but the king called to them in a furious voice to secure the madman.
‘It is I who must judge,’ he said in tones of command; ‘and this matter cannot be decided by women’s dreams, but by certain unmistakable signs. This one’ (pointing to Labakan) ‘is my son, for it was he who brought me the token from my friend Elfi—the dagger.’
‘He stole it from me,’ shrieked Omar; ‘he betrayed my unsuspicious confidence.’
But the king would not listen to his son’s voice, for he had always been accustomed to depend on his own judgment. He let the unhappy Omar be dragged from the hall, whilst he himself retired with Labakan to his own rooms, full of anger with the queen his wife, in spite of their many years of happy life together.
The queen, on her side, was plunged in grief, for she felt certain that an impostor had won her husband’s heart and taken the place of her real son.
When the first shock was over she began to think how she could manage to convince the king of his mistake. Of course it would be a difficult matter, as the man who declared he was Omar had produced the dagger as a token, besides talking of all sorts of things which happened when he was a child. She called her oldest and wisest ladies about her and asked their advice, but none of them had any to give.  ‘
‘Yes,’ replied the queen; ‘but what of that?’
‘Might it not be,’ said the old lady, ‘that the impostor has called your real son by his own name? If this should be the case, I know of a capital way to find out the truth.’
And she whispered some words to the queen, who seemed much pleased, and went off at once to see the king.
Now the queen was a very wise woman, so she pretended to think she might have made a mistake, and only begged to be allowed to put a test to the two young men to prove which was the real prince.
The king, who was feeling much ashamed of the rage he had been in with his dear wife, consented at once, and she said: ‘No doubt others would make them ride or shoot, or something of that sort, but every one learns these things. I wish to set them a task which requires sharp wits and clever hands, and I want them to try which of them can best make a kaftan and pair of trousers.’
The king laughed. ‘No, no, that will never do. Do you suppose my son would compete with that crazy tailor as to which could make the best clothes? Oh, dear, no, that won’t do at all.’
But the queen claimed his promise, and as he was a man of his word the king gave in at last. He went to his son and begged that he would humour his mother, who had set her heart on his making a kaftan.
The worthy Labakan laughed to himself. ‘If that is all she wants,’ thought he, ‘her majesty will soon be pleased to own me.’
Two rooms were prepared, with pieces of material, scissors, needles and threads, and each young man was shut up in one of them.
The king felt rather curious as to what sort of garment his son would make, and the queen, too, was very anxious as to the result of her experiment.
On the third day they sent for the two young men and their work. Labakan came first and spread out his kaftan before the eyes of the astonished king. ‘See, father,’ he said; ‘see, my honoured mother, if this is not a masterpiece of work. I’ll bet the court tailor himself cannot do better.
The queen smiled and turned to Omar: ‘And what have you done, my son?’
Impatiently he threw the stuff and scissors down on the floor.  Forgive me, my lord and husband,’ she added, turning to the king, ‘for trying to find out the truth in this way. Do you not see yourself now which is the prince and which the tailor? Certainly this kaftan is a very fine one, but I should like to know what master taught this young man how to make clothes.’
The king sat deep in thought, looking now at his wife and now at Labakan, who was doing his best to hide his vexation at his own stupidity. At last the king said: ‘Even this trial does not satisfy me; but happily I know of a sure way to discover whether or not I have been deceived.’
He ordered his swiftest horse to be saddled, mounted, and rode off alone into a forest at some little distance. Here lived a kindly fairy called Adolzaide, who had often helped the kings of his race with her good advice, and to her he betook himself.
In the middle of the forest was a wide open space surrounded by great cedar trees, and this was supposed to be the fairy’s favourite spot. When the king reached this place he dismounted, tied his horse to the tree, and standing in the middle of the open place said: ‘If it is true that you have helped my ancestors in their time of need, do not despise their descendant, but give me counsel, for that of men has failed me.’
He had hardly finished speaking when one of the cedar trees opened, and a veiled figure all dressed in white stepped from it.
‘I know your errand, King Sached,’ she said; ‘it is an honest one, and I will give you my help. Take these two little boxes and let the two men who claim to be your son choose between them. I know that the real prince will make no mistake.’
She then handed him two little boxes made of ivory set with gold and pearls. On the lid of each (which the king vainly tried to open) was an inscription in diamonds. On one stood the words ‘Honour and Glory,’ and on the other ‘Wealth and Happiness.’
‘It would be a hard choice,’ thought the king as he rode home.
He lost no time in sending for the queen and for all his court, and when all were assembled he made a sign, and Labakan was led in. With a proud air he walked up to the throne, and kneeling down, asked:
‘What does my lord and father command?’
The king replied: ‘My son, doubts have been thrown on your claim to that name. One of these boxes contains the proofs of your birth. Choose for yourself. No doubt you will choose right.’
He then pointed to the ivory boxes, which were placed on two little tables near the throne.
Labakan rose and looked at the boxes. He thought for some minutes, and then said: ‘My honoured father, what can be better than the happiness of being your son, and what nobler than the riches of your love. I choose the box with the words “Wealth and Happiness.”’
‘We shall see presently if you have chosen the right one. For the present take a seat there beside the Pacha of Medina,’ replied the king.
Omar was next led in, looking sad and sorrowful. He threw himself down before the throne and asked what was the king’s pleasure. The king pointed out the two boxes to him, and he rose and went to the tables. He carefully read the two mottoes and said: ‘The last few days have shown me how uncertain is happiness and how easily riches vanish away. Should I lose a crown by it I make my choice of “Honour and Glory.”’
He laid his hand on the box as he spoke, but the king signed to him to wait, and ordered Labakan to come to the other table and lay his hand on the box he had chosen.
Then the king rose from his throne, and in solemn silence all present rose too, whilst he said: ‘Open the boxes, and may Allah show us the truth.’
The boxes were opened with the greatest ease. In the one Omar had chosen lay a little gold crown and sceptre on a velvet cushion. In Labakan’s box was found—a large needle with some thread!
The king told the two young men to bring him their boxes. They did so. He took the crown in his hand, and as he held it, it grew bigger and bigger, till it was as large as a real crown. He placed it on the head of his son Omar, kissed him on the forehead, and placed him on his right hand. Then, turning to Labakan, he said: ‘There is an old proverb, “The cobbler sticks to his last.” It seems as though you were to stick to your needle. You have not deserved any mercy, but I cannot be harsh on this day. I give you your life, but I advise you to leave this country as fast as you can.’
Full of shame, the unlucky tailor could not answer. He flung himself down before Omar, and with tears in his eyes asked: ‘Can you forgive me, prince?’
‘Go in peace,’ said Omar as he raised him.
‘Oh, my true son!’ cried the king as he clasped the prince in his arms, whilst all the pachas and emirs shouted, ‘Long live Prince Omar!’
In the midst of all the noise and rejoicing Labakan slipped off with his little box under his arm. He went to the stables, saddled his old horse, Murva, and rode out of the gate towards Alexandria. Nothing but the ivory box with its diamond motto was left to show him that the last few weeks had not been a dream.
When he reached Alexandria he rode up to his old master’s door. When he entered the shop, his master came forward to ask what was his pleasure, but as soon as he saw who it was he called his workmen, and they all fell on Labakan with blows and angry words, till at last he fell, half fainting, on a heap of old clothes.
The master then scolded him soundly about the stolen robe, but in vain Labakan told him he had come to pay for it and offered three times its price. They only fell to beating him again, and at last pushed him out of the house more dead than alive.
He could do nothing but remount his horse and ride to an inn. Here he found a quiet place in which to rest his bruised and battered limbs and to think over his many misfortunes. He fell asleep fully determined to give up trying to be great, but to lead the life of an honest workman.
Next morning he set to work to fulfil his good resolutions. He sold his little box to a jeweller for a good price, bought a house and opened a workshop. Then he hung up a sign with, ‘Labakan, Tailor,’ over his door, and sat down to mend his own torn clothes with the very needle which had been in the ivory box.
After a while he was called away, and when he went back to his work he found a wonderful thing had happened! The needle was sewing away all by itself and making the neatest little stitches, such as Labakan had never been able to make even at his best.
Certainly even the smallest gift of a kind fairy is of great value, and this one had yet another advantage, for the thread never came to an end, however much the needle sewed.
Labakan soon got plenty of customers. He used to cut out the clothes, make the first stitch with the magic needle, and then leave it to do the rest. Before long the whole town went to him, for his work was both so good and so cheap. The only puzzle was how he could do so much, working all alone, and also why he worked with closed doors.
And so the promise on the ivory box of ‘Wealth and Happiness’ came true for him, and when he heard of all the brave doings of Prince Omar, who was the pride and darling of his people and the terror of his enemies, the ex-prince thought to himself, ‘After all, I am better off as a tailor, for “Honour and Glory” are apt to be very dangerous things.’


Feel free to wipe this paragraph if you want.
This code has been developed with Baldr, a mini web site engine. Head over to github to take a look at how you could re-use the code with just a few html/css changes (minimal or no javascript) and apply it to your own project. Feel free to give it a star if you appreciated the code.


[t]Please upload here your CV. It will be automatically parsed and the information will be used to prefill the question set. You can still edit/ append more data to the question set afterwards.[/t]
[t]CVs in .DOC, .DOCX, .ODT, .RTF and .PDF formats are accepted.[/t]


Domoticz IP/Host (required):
Port:
UseSSL:
Username:
Password:
Set & Backup
Look at the console in devTools
Test Version
Test Log
Test GetTimes
Test GetLights
Test Notifications
Test Cameras
Command device Id (idx) :
ON
OFF


Set to ON to enable knowledgebase or to OFF to disable it. Knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles.
TIP: A comprehensive, well written and organized knowledgebase is a great self help resource for your customers. Taking time to write and maintain
knowledgebase articles can save you a lot of time and drastically reduce the number of support tickets you receive in the future! It also helps your customers
solve problems quickly without having to wait for your reply.
This will enable a What You See Is What You Get type editor (a rich-text editor) for the knowledgebase articles rather than a simple text editor.
If set to YES Hesk will match ticket subject and message against knowledgebase articles and recommend customers to read matching articles before submitting a new support ticket.
Set to YES to allow customers to rate knowledgebase articles as Helpful or Not helpful
Enabling this feature will show a search form on top of help desk customer interface and allow them to use the search form to search your knowledgebase.
You can choose to display a small search box (located in the top right corner) or a large one (more visible, covers entire page width).
Set to YES to display number of knowledgebase article views publicly (views are always visible from staff control panel).
Set to YES to display knowledgebase article submission date publicly (date is always visible from staff control panel).
This is the maximum matching results Hesk will return when someone searches the knowledgebase.
Maximum length (number of chars) of knowledgebase article content that will be displayed in article list when browsing knowledgebase categories.
Number of (sub)categories to be displayed in table row when browsing knowledgebase.
Number of (preview) articles listed in subcategory display.
Number of popular (most visited) articles shown on help desk index and knowledgebase index pages. Set to 0 to disable listing popular articles.
Number of latest (most recently submitted) articles shown on help desk index and knowledgebase index pages. Set to 0 to disable listing latest articles.


New features in VCS
Enhancements
Single datasource mode, removes extra cost of XA transaction when all datasource points to the database. It simplifies configuration and enhances performance.
Soft delete, efficient deletion, use batch to perform mass deletion
NXP-10894, NXP-4803: Enables usage of internal db uuid or sequence as document id instead of varchar(36), thus improving performance and db memory footprint. specific conf to activate (repository conf idtype="sequence|uid"
Flag to disable proxies, if you don't use proxies then it removes extra useless clauses at the SQL level.
Allow attaching schemas to proxies
DataBase Support
MSSQL 2012 support, PostreSQL 9.2
NXQL
ecm:tag: a tag of the document. This property, when used multiple times in the same query, always refers to the same tag. If you want to refer to multiple tags in the same query, you can use a wildcard syntax similar to complex properties: every instance of ecm:tag/* will always refer to a different tag. If you want to refer several times to the same tag but still want to have flexibility, use correlated wildcards like for complex properties: ecm:tag/*1, ecm:tag/*2, etc. See the examples below for more.
ecm:proxyTargetId: the id of the target of a proxy (usually a version). Implies a search for proxies (ecm:proxy = 1).
ecm:proxyVersionableId: the id of the versionable document of a proxy (the versionable document is the one from which the version to which the proxy is pointing was created). Implies a search for proxies (ecm:proxy = 1).
Misc
Performance enhancements for Postgres, Oracle and MSSQL
Uses temporary tables for Oracle
Unlogged table for Postgres -> reduce I/O
Oracle: refactor ancestors search with STARTSWITH operator
Add indexes
Add "NotFulltextIndexable" facet to avoid indexing documents with this facet
Allow clustering for Oracle on Amazon RDS
Optimize complex list property update (no DELETE + INSERT)
Updating a complex list property triggers DELETE and INSERT SQL statements. This could be optimized using UPDATE statements (DELETE is quite costly because of the ON DELETE CASCADE option). Attached stack trace of such a call.


New Workload tab is introduced in this build. Workload tab encompasses all necessary tools to enable users to build their own application on their instance of vitalpointz IoT Core Platform, deploy them securely, monitor and manage them throughout the life of the application.
Workload tab is divided into following main areas - Template Ribbon, Container Management area and Registry.
This displays all the available container images. These images are hosted under the vitalpointz managed IoT Service platform aka vMIST. We continue to add new images & update existing one as & when we support them.
By clicking on the card in the template ribbon, a new container of the desired type can be spun up.
Container can be mounted with a storage volume. This is typically useful for database containers or any container that requires persistent storage.
'Always On' checkbox allows the container to be exposed to external world using URL entered by the user.
While 'Always On' is unchecked, the container's ports are not exposed to external world but remains available for other application containers within the platform.
Once a container is deployed, it is represented as a card in the management area. Each card represents a container with a bunch of controls based on the current state of the container.
Clicking on the card brings up a slider displaying additional information about the container.
There exists two kinds of container registries under the workload tab namely "Public" and "Private". Public registry service runs as part of vMIST (vitalpointz Management IoT Service) services. Private Registry service runs locally as part of every instance of IoT Core.
Public Registry hosts purpose built application, function or runtime containers with abilities to modify & debug. Authorized User can spin up a container from the public registry, modify if necessary, commit the modified container and export as an image into the Private Registry.
Outport Module is updated with a Logstash feeder service. This service can be invoked using Outport framework. Adding a new outport instance shows option to use REST service or Logstash feeder service.
When LOGSTASH is selected, index name is prompted from the user. This is useful when ELK Stack is instantiated using workload manager as described earlier.
Version 1.2.0 of vitalpointz IoT Core adds support for TCP Streaming IoT devices. TCP Streaming Service is available on a specific URL and port numnber in addition to other MQTT and websocket services. TCP Stream URL can be found under Device Tab, clicking on top most card. The slider shows a list of all available interface services.
In order to add a TCP Streaming device, click on Device Tab, Add IoT device under the slider of the Top most card.
Click on 'Auto' and click "upload file" option. A text file with list of device identity (such as IMSI number) has to be uploaded. one Entry per line and the identity can be any non-space, non-special character containing string of alpha-numeric identity.
This adds the devices - one per unique identity - and provisions the TCP interface service.
Device is expected to send its data in a CSV form with its own unique identity is sent at the 2nd field. When device connects to TCP Streaming Service and sends data, the TCP interface receives them , parses and using the unique id that is pre-uploaded, the data is published in the platform using its allocated topic.
In other words, the device data is available to workload or node red tool as if it came from regular MQTT channel with its own Topic.
2 Core CPU
4GB RAM
80 GB Storage
4 Core CPU
8GB RAM
160 GB Storage
Attach a Block storage of size 100GB (min) to have enhanced data protection and enhanced IOPS budget.
10 Device licenses per every user is Free. Additional licenses can be added at no extra cost.
Digital Ocean’s marketplace
Dec.19, 2019
Message I/O:100 messages per second using MQTT over TLS on 4Core,8GB RAM Droplet
50 messages per second using MQTT over TLS on 2Core,4GB RAM Droplet.
Device On-Boarding: 24devices per minute
vitalpointz is a software maker that specializes on developing and offering IOT platform softwares & services. IOT Devices and sensors can be registered on the IOT Platform and on-boarded securely. IOT devices can send or receive data securely, application can be built, Over-the Air software updates can be rolled out to the devices at scale. Vitalpointz IOT Platform also provides various interface methods to transfer the data to external third-party tools and platforms, if so desired. Vitalpointz IOT Platform also bundles various device agents.
For more information about our product please check our product documentation here.
If you have any enquires, reach out to us via email : info@vitalpointz.net


You are not authorized to view this page.
If you believe you are authorized to view this page then please email support the page you requested. You will you be notified when access has been granted.


Attack
Attacks are the techniques that attackers use to exploit the vulnerabilities in applications
A1 - Brute Force Attack Brute force attacks A2 - Phishing Attack (Spam Accounts) Spam Account Creation A2 - Phishing Attack (CSRF) Cross Site Request Forgery A3 - DDoS Attack HTTP Flood Attack A4 - Injection Attack (SQL Injection) SQL Injection A4 - XSS Attack Reflected XSS A4 - XSS Attack Stored XSSDefense
Defense is all about giving an entity the ability to thwart cyber attacks on the go through cyber security
D1 - Strong Password Defend against brute force attacks D2 - Phishing Attack Detection Defense phishing attack D3 - TCP 3-Way Handshake Defend against spoofing attacks D3 - Firewall Firewall D3 - DDoS detection Detect type of DDoS attack D4 - Injection Attack Defense Defend against SQL injection attack


Including images is made somewhat easy using the Calibre editor, but you will need to add some more attributes to obtain the best result. This ebook includes a sample image called sample.jpg that we will use to experiment with the different ways of including an image.
If we use the Insert image functionality and then select our sample file, the result will be the following:
This is not bad because our style file already has some code to get us properly started here, but it would be nice to also add a caption and to ensure that the caption doesn't get split from its image by a page break. To achieve this, we'll use the

tag to bundle the
tag with a

tag and we'll rely on a CSS command that will require avoiding the splitting of this bundle.
A perceptive reader might have noticed the alt="Image"
attribute of the
tag. This attribute defines an "alternative" text that gets displayed if the image cannot be loaded, but it can also be used for accessibility features, so it can help to make it descriptive as well.
We will also make our image description link to our image index in the toc.xhtml file, just to demonstrate how we can implement back-and-forth navigation between the image index and each image.
The result of all these changes is included below:
This last image looks more like how we should want to display our images in an ebook. Unfortunately, during my testing, I saw that the caption could still be separated from the image by a line break, so using break-inside: avoid;
doesn't seem to be bulletproof.


Output element sample Demo showing output element in HTML5 Principal Duration Interest Rate Total amount how old were you when you became a vegetarian?


Classic Web Applications
- Browser sends HTTP Request
- Content is rendered on the Server
- HTML is sent back to the Browser
- Browser only shows the page to the user
- Each interaction repeats this round-trip
- Frequent page load means severe limitation to UX
jquery / AJAX
Add some adhoc JavaScript snippet when UI needs to be responsive
- some renedering in the Browser, some on the server
- architecturally a PITA
- starts as a solution nice, quick and easy to implement
- sooner or later results in unmaintainable code
SPA: Single Page Application
Move your Application to the Client
- only one (single) HTML page that mainly loads JavaScript and CSS
- Server has Data-API (JSON/REST API)
- Server can still hold Business Logic (or it is on the client only)
- allows for Offline and best UX
- same challenges as all rich frontend applications
Single-Page Applications
Components with Templates
A SPA is composed of (business) components:
- Templates describe the UI of the component
- But now:
- Logic is part of the component
- Logic is a "first-class" citizen and no longer a "loose" snippet (like in jQuery)
- Logic is fully executed on the client
- Prominent Frameworks: React, Angular, Vue, and Web Components (Polymer)
Composing an Application from Components
Smart and Dumb Components*
*also known as Mediator Pattern with Web Components / Polymer
Smart Components
- Managing (part of) the application state
- Contain UI logic
- Pass parts of the state as immutable data to subcomponents
- Pass callbacks to subcomponents for interaction
- Mostly domain-specific, not intended to be reusable
Aka Container
Dumb Components
- only for presentation, no logic
- but might contain own ("transient") state
- have no knowledge or dependencies to their surrounding components
- children of Dumb Components are usually other Dumb Components
(but there are
exceptions)
- reusable
Aka Presentational Component or just Component
Smart Component
@Component({
template: `<sub [greeting]={{greeting}} (onSend)="sent($event)">`
})
export class AppComponent {
// component state
private greeting: string = 'Hiho';
// dependency injection
constructor(private greetingService: GreetingService) {
}
// "Business Logic" delegated to service
sent(greeting) {
this.greeting = this.greetingService.greetBack(greeting);
}
}
https://angular.io/tutorial/toh-pt4
Example
What would be candidates for Smart-/Dumb-Components?
Dumb
Smart
Smart and Dumb Components
Limitations
Mainly with growing and long-living applications
- "God-like" components: State and logic tend to slowly move up to a few really fat components
- Distributed, mutatable state makes maintainability and understanding hard
- Where does the state belong to?
- In which state is the application?
- Mash up of framework and UI code (hardens switching the framework)
- Still open questions regarding the architecture
- How to handle asynchronous code?
- How to do proper initialization of the application?
- How to test the business logic?
Redux
- Central state management: one store for whole app, like a database
- External state management: extract logic from the (UI-)components
It's not only a framework, it's also a pattern (like MVC)
Redux
Architectural guidance
- Uni-directional data flow
- Central and immutable state: store
- Only reducers are allowed to modify state
- State moves from Smart Components to store
- UI logic moves from Smart Components in Action-Creators / Services and Reducer
- Asynchronous code only in Action-Creators / Services or Effects
- Initializing of the app with central action
Redux is independent of UI framework
Bindings exist for popular UI frameworks
Redux extracts responsibility out of Components
Redux Pattern, Resulting Architecture
Reducer
export function counterReducer(state: number = 0, action: Action) {
switch (action.type) {
case INCREMENT:
return state + 1;
case DECREMENT:
return state - 1;
case RESET:
return 0;
default:
return state;
}
}
import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { counterReducer } from './counter';
@NgModule({
imports: [StoreModule.forRoot({ count: counterReducer })],
})
export class AppModule {}
Connection to Store
interface AppState {
count: number;
}
@Component({
template: `Current Count: {{ count$ | async }}
`
})
export class CounterComponent {
count$: Observable<number>;
constructor(private store: Store<AppState>) {
this.count$ = store.pipe(select('count'));
}
reset() {
this.store.dispatch({ type: RESET });
}
}
Is anyone really using this?
Microsoft Outlook, Twitter, Apple, XING and many others use React and Redux
Wrap Up
Overview of current (JavaScript) Frontend Architectures
- SPAs are just like any rich frontend application
- Which framework you use does not matter too much
- All make you compose your application from components
- Composing your Application into Smart and Dumb Components
- Redux as Data Layer
- for large applications with many dependencies between parts / components
- provides architectural guidance where which part of the application goes
Oliver Zeigermann / @DJCordhose
http://bit.ly/topconf-js


API Tariffs Example
Please wait while it loads.
Select Heading
Please select an agreement:
Please select a country:
Please select a heading:
Show
Select Item
Please wait while it loads
Item Details
HS Code
Loading...
Description
Loading...
Country
Loading...
Agreement
Loading...
Tariff Schedule
Date
Tariff
Notes
Loading...
Product Specific Rules
Loading...
RAW DATA


Water Treatment and Usage
The visualization for comparison of water usage per capita to government spending on environmental protection per capita is created in Tableau. The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2006. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country. The key point of this graph is that Japan has the highest environmental spending while relatively smaller water usage per capita. Other five years show similar pattern.
The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2007. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country.
The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2008. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country.
The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2009. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country.
The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2010. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country.
The left graph is the comparison of water usage per capita to government spending on environmental protection per capita in 2011. The blue rectangular bars represent water usage per capita and the pink rectangular bars represent government spending on environmental protection per capita. Two rectangular bars are stacked for each country.
- Canada: data are not available in Year 2006 and 2007.
- Mexico: data are not available.
- Turkey: data are not available.


Bitcoin version 0.4.0 released
23 September 2011
Full announcement (including signatures)
Bitcoin version 0.4.0 is now available for download at: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.4.0/
The main feature in this release is wallet private key encryption; you can set a passphrase that must be entered before sending coins. See below for more information; if you decide to encrypt your wallet, WRITE DOWN YOUR PASSPHRASE AND PUT IT IN A SECURE LOCATION.  Previous versions of bitcoin are unable to read encrypted wallets, and will crash on startup if the wallet is encrypted.
Also note: bitcoin version 0.4 uses a newer version of Berkeley DB (bdb version 4.8) than previous versions (bdb 4.7). If you upgrade to version 0.4 and then revert back to an earlier version of bitcoin the it may be unable to start because bdb 4.7 cannot read bdb 4.8 “log” files.
Notable bug fixes from version 0.3.24
-
Fix several bitcoin-becomes-unresponsive bugs due to multithreading deadlocks.
-
Optimize database writes for large (lots of inputs) transactions (fixes a potential denial-of-service attack)
Wallet Encryption
Bitcoin supports native wallet encryption so that people who steal your wallet file don’t automatically get access to all of your Bitcoins. In order to enable this feature, chose “Encrypt Wallet” from the Options menu. You will be prompted to enter a passphrase, which will be used as the key to encrypt your wallet and will be needed every time you wish to send Bitcoins.  This means you are responsible for your own security, store your passphrase in a secure location and do not forget it.
Remember that the encryption built into bitcoin only encrypts the actual keys which are required to send your bitcoins, not the full wallet. This means that someone who steals your wallet file will be able to see all the addresses which belong to you, as well as the relevant transactions, you are only protected from someone spending your coins.
 To do this, close the Bitcoin client and
copy the wallet.dat file from ~/.bitcoin/
on Linux, /Users/(user
name)/Library/Application Support/Bitcoin/
on Mac OSX, and %APPDATA%/Bitcoin/
on Windows (that is /Users/(user name)/AppData/Roaming/Bitcoin
on
Windows Vista and 7 and /Documents and Settings/(user name)/Application
Data/Bitcoin
on Windows XP). Once you have copied that file to a
safe location, reopen the Bitcoin client and Encrypt your wallet.
If everything goes fine, delete the backup and enjoy your encrypted
wallet. Note that once you encrypt your wallet, you will never be
able to go back to a version of the Bitcoin client older than 0.4.
Keep in mind that you are always responsible for your own security. All it takes is a slightly more advanced wallet-stealing trojan which installs a keylogger to steal your wallet passphrase as you enter it in addition to your wallet file and you have lost all your Bitcoins. Wallet encryption cannot keep you safe if you do not practice good security, such as running up-to-date antivirus software, only entering your wallet passphrase in the Bitcoin client and using the same passphrase only as your wallet passphrase.
See the doc/README
file in the bitcoin source for technical details
of wallet encryption.


404.
That's an error.
The requested URL was not found on this server.
Choose what to do?
Go Home
Log Out


Welcome to the serpeant's dungeon!
Move and attack with arrow keys
Interact with A
Hue rotate!
By Adrian & Gavelli for 3310 jam
Source on github


public interface ConfigurableConversionService extends ConversionService, ConverterRegistry
ConversionService
types. Consolidates the read-only operations exposed by ConversionService
and
the mutating operations of ConverterRegistry
to allow for convenient ad-hoc
addition and removal of Converters
through. The latter is particularly useful when working against a
ConfigurableEnvironment
instance in application context bootstrapping code.ConfigurablePropertyResolver.getConversionService()
,
ConfigurableEnvironment
,
org.springframework.context.ConfigurableApplicationContext#getEnvironment()
canConvert, canConvert, convert, convert
addConverter, addConverter, addConverter, addConverterFactory, removeConvertible


Dominik Wagner (a.k.a. @monkeydom) published an article a few days ago, called On my misalignment with Apple’s love affair with Swift.
I fully respect Dominik’s opinion, and have read most of his blog rants with pleasure. I also don’t claim to be worthy of calling myself an iOS developer, despite my recent work on iOS, and my early exposure to Objective-C back in 2010, when ARC was not yet a thing. This post is my response from the point of view of a future-looking full-stack developer. Of someone who has seen projects fail out of technical debt, and others leapfrog because of doubling-down on something new and untried.
As a full-stack developer, I believe that choosing Swift was a deliberate decision towards a future, in which Apple’s product line of today might no longer be the main source of revenue for the company. It is about accepting the fact that developing quality and scalable software can only be achieved by embracing the developer community drive, and guiding alongside, rather than blindly dictating the way forward.
See, there is nothing particularly wrong with Objective-C as a language. It has done a pretty good job within NeXT and later, within Apple. But it is a rather opinionated abstraction on top of C - a language which, despite being the root of most of modern programming, comes with its own bag of design limits and shortcomings. The languages of the early era were designed to cope primarily with the limitations of the existing hardware at the time. The focus was not on how to make code reusable, but primarily, to make it do something, anything, at all.
When the iPhone was first introduced in 2007, the choice of a software development stack for Apple was more than obvious. With the strict hardware requirements at the time, it was a no-brainer that running as close to the metal as possible, using a tried and proven technology was the single way to go. Plus, recall that the original idea did not envision 3rd parties developing apps for the iPhone. At least, not in the scale in which they did, eventually.
So, from early on, Apple set the rules of the game, a benevolent take-it-or-leave-it ultimatum of sorts. The appeal of the company’s brand, the coolness factor of being an iPhone pioneer, and even the slight obscurity of the technology stack, attracted a lot of people, for many of whom, Objective-C and Cocoa Touch were the first real taste of programming.
When you are at the beginning of your programming career, working with a closed-source technology stack, focusing solely on bringing a product to market, it is easy to slip into following Apple’s guidelines and conventions, without asking yourself how stuff works under the hood, or how it could potentially be changed for the better. Even if those principles did not always seem like the best decision one could take, hey those come from Apple. It’s their platform, right? Apple can’t be wrong, right? Right?
I thought pretty much the same about Microsoft, back in 2006. Fresh into University, I joined a CS program funded by Microsoft, and therefore, heavily influenced by its tech stack at the time. I thought that C# and .NET, along with MS’ design patterns and practices, heavily focusing on building uniformly looking, closed source enterprise apps, were the only things one needed to know for a successful career. I tried to stay away from activities that involved the command line, or anything that needed more effort than customising a few drag-and-drop controls inside Visual Studio. Boy, was I wrong, and what’s more important, was Microsoft.
Time to embrace the change
Like Microsoft, eventually, the time came for Apple to embrace the change too. A change, that would not have been necessary, were it not for the iPhone. Although Objective-C had existed for two decades before the iPhone, it was really the advent the device that brought the language to the masses, and not vice versa:
source: TIOBE Index
A language designed during the 80s with the sole purpose of making C a little more humane, and with a decade-old stack of proprietary libraries built with it, suddenly became the tool of hundreds of thousands of developers around the world. A set of design and development practices focused around building appealing and usable applications, but not necessarily reusable, scalable and robust architectures. Apple could continue to impose it on developers, but as the complexity of app use cases grows, it would have become harder and harder for the company to keep up with the constant demand for new features. A change was was supposed to happen, sooner or later.
Sometimes, a restart is inevitable, and the only way to look at the future. Restarts are often hard and transitions are long, but ultimately they are for the better of everyone involved. I understand most seasoned developers’ frustrations with Swift. It is by far not an easy language. Definitely, not the easy-to-learn language that Apple wants you to believe it is. At least, not yet. There is a lack of consensus in Swift’s evolution which is often letting it stray off the beaten path, and leads to additional complexity for both the developers and the compiler. Last but not least, the impedance mismatch between the language and the Cocoa/CocoaTouch stack adds yet an additional complexity on both the programmer and the compiler.
I can feel the pain, but I can also see a light at the end of the tunnel, leading to a bright future. A community driving force of Swift passionate developers which speak to one another, don’t fear to ask questions or tinker under the hood, and don’t hesitate to use every opportunity to teach, mentor, or share best practices. Developers from different developer backgrounds joining the Swift community and contributing their experience in turn. People taking a critical look at Apple’s patterns and practices, the unbreakable status quo. People sharing, and designing code with the intention to be shared, be it across mobile, on the server, on embedded devices, etc. People opening up to the change, going beyond the boundaries of mobile development, and embracing the unknown.
This vision of Apple’s future I want to live in. What about you?
Leave a comment


JSFight Mobile
This is JSFight Mobile.
The UI will be optimized for mobile devices.
Right now, JSFight-Mobile is still in development, which means it can't be played at the moment.
Sorry for the inconvenience.
If you'd still like to play the game, use a screen with a width greater than or equal to 699 pixels.


I am a focused and dedicated person, I enjoy learning new things and I usually dwell on subjects concerning technology and how it changes the world constantly throughout time.
Hello World,
I'm Alvin Awuor.
About Me
Skills
I am well-versed in the following technologies:
HTML5
CSS
BOOTSTRAP
JavaScript
TypeScript
ANGULAR
PYTHON
FLASK
DJANGO
PostgreSQL
Projects
Get in Touch
You can reach me by sending an email to<EMAIL_ADDRESS>You may also check out my Github account.


Highlighting Form Errors and Accessibly
Example Form
Email (required):
Number:
Advanced: Visual Cues


Home
About
Welcome to Queue N' A
An app for developers to help other developers troubleshoot and problem solve.
Enter Username:
Please select which channel you'd like to enter:
Javascript
Swift