Red9_Setup¶
This is the main startup module that controls all aspects of the boot for both StudioPack and much of ProPack. Built to allow users to tailor and use these Maya boot calls in their own pipelines.
Main Functions
maya_QT_mainWindow () |
return the main “MayaWindow” QT widget |
maya_QT_QApplication () |
return the QApplication instance of Maya |
maya_appplication_size () |
return the current Maya QT Application screen sizes |
maya_screen_mapping () |
return the maya applications screen size mapping data. |
mayaVersion () |
get the application version back, this doesn’t track service packs or extensions |
mayaInstallDir () |
This is more for future reference, we read the key from the win registry and return the MAYA_INSTALL_LOCATION |
mayaPrefs () |
Root of Maya prefs folder |
mayaUpAxis ([setAxis]) |
current Maya UpAxis |
getCurrentFPS ([return_full_map]) |
returns the current frames per second as a number, rather than a useless string |
addScriptsPath (path) |
Add additional folders to the ScriptPath |
addIconsPath ([path]) |
Make sure the icons path has been added. |
addPythonPackages () |
Add the packages folder which is where any external modules will be stored |
sourceMelFolderContents (path) |
source all mel files in a given folder |
load_shelf (shelf_path) |
load Maya shelf |
start ([Menu, MayaUIHooks, MayaOverloads, …]) |
Main entry point for the StudioPack |
-
installedVersion
= False¶ 2008 . 2008 . ?????? . 2.5.1 na na . 2008 . 2007-09-01 2009 . 2009 . ?????? . 2.5.1 na na . 2009 . 2008-10-01 2010 . 2010 . 201000 . 2.6.1 na na . 2010 . 2009-08-01 2011 Hotfix2 . 2011 . 201102 . 2.6.4 na 4.5.3 . 2011 . 2011 SAP . 2011 . 201104 . 2.6.4 na 4.5.3 . 2011.5 . 2010-09-29
2012 . 2012 . 201200 . 2.6.4 na 4.7.1 . 2012 . 2011-04-01 2012 SP1 . 2012 . ?????? . 2.6.4 na 4.7.1 . 2012 . 2012 SAP1 . 2012 . ?????? . 2.6.4 na 4.7.1 . 2012 . 2012-01-26 2012 SP2 . 2012 . 201217 . 2.6.4 na 4.7.1 . 2012 .
2013 SP1 . 2013 . 201301 . 2.6.4 na 4.7.1 . 2013 . 2012-07-00 2013 SP2 . 2013 . 201303 . 2.6.4 na 4.7.1 . 2013 . 2013-01-00 2013 EXT . 2013 . 201350? . 2.6.4 na 4.7.1 . 2013.5 . 2012-09-25 . 2013 binary incompatible 2013 EXT2 . 2013 . 201355 . 2.6.4 na 4.7.1 . 2013.5 . 2013-01-22 . 2013 binary incompatible
2014 . 2014 . 201400 . 2.6.4 1 4.8.2 . 2014-x64 . 2013-03-01 2015 . 2015 . 201500 . 2.7.3 1 4.8.5 . 2015-x64 . 2014-04-15 2015 SP6 . 2015 . 201516 . 2.7.3 1 4.8.5 . 2015-x64 . 2015-03-26 2016 . 2016 . 201600 . 2.7.6 1 4.8.6 . 2016 . 2015-04-15 2016 EXT1 SP6 . 2016 . 201614 . 2.7.6 1 4.8.6 . 2016 . 2016-03-18 2016 EXT2 . 2016 . 201650 . 2.7.6 1 4.8.6 . 2016.5 . 2016-03-02 . 2016 binary incompatible 2017 . 2017 . 201700 . 2.7.11 2 5.6.1 . 2017 . 2016-05-15 2018 . 2018 . 201800 . 2.7.11 2 5.6.1 . 2018 . 2017-06-26 2019 . 2019 . 201900 . 2.7.11 2 5.6.1 . 2019 . 2019-01-15 2020 . 2020 . 202000 . 2.7.11 2 5.12.5 . 2020 . 2019-12-10 2022 . 2022 . 202200 . 3.7.7 2 5.15.2 . 2022 . 2021-03-29 2023 . 2023 . 202300 . 3.9.7 2 5.15.2 . 2023 . 2022-14-15
-
get_language_maps
()¶ Red9 StudioPack supports language packs IF found, allowing you to change from English to other languages, we just need somebody to translate the standard file! :)
-
set_language
(language='language_english', *args)¶ set the language pack, default ‘language_english’
-
mayaIsBatch
()¶ return if Maya is in batch mode
-
mayaFullSpecs
()¶ return standard Maya build info
-
maya_QT_mainWindow
()¶ return the main “MayaWindow” QT widget
-
maya_QT_QApplication
()¶ return the QApplication instance of Maya
-
maya_appplication_size
()¶ return the current Maya QT Application screen sizes
-
maya_screen_mapping
()¶ return the maya applications screen size mapping data. If we’re running in 4k, the screen width, the screen height, as well as the dot / pixels per inch (ppi) used by some of the ui scaling code
- full 4k 150% scaling : (True, 3840, 2097, 144.0dpi)
- full 4k 100% scaling : (True, 3840, 2097, 96.0dpi)
return: (bool(is4k), width, height, dpi)
- ..note::
- actual dpi return is only supported in PySide2 (2017 onwards)
-
maya_dpi_scaling_factor
()¶ this is a bodge really, but needed to remap the UI scales to 4k setups in some of the core StudioPack UI’s. This basically uses a scaling factor based on the DPI of the screen setups. This is also used in ProPack to control some of the widget sizes so we can consistently scale icon widgets as expected.
-
mayaVersion
()¶ get the application version back, this doesn’t track service packs or extensions
TODO: need to manage this better and use the API version, eg: 2013.5 returns 2013
-
mayaInstallDir
()¶ This is more for future reference, we read the key from the win registry and return the MAYA_INSTALL_LOCATION
-
mayaVersionRelease
()¶ get the api version back so we can track service packs etc
-
mayaRelease
()¶ wrap over the version and api to return EXT builds that modify the codebase significantly, prefs being set to 20XX.5 is a general clue but we use the api build id to be specific
-
mayaVersionQT
()¶
-
mayaPrefs
()¶ Root of Maya prefs folder
-
mayaUpAxis
(setAxis=None)¶ current Maya UpAxis
Parameters: setAxis – ‘y’ or ‘z’
-
osBuild
()¶
-
framerate_mapping
(value=None, asAPI=False, truncate_float=False)¶ single place to convert fps data between string representation, actual float(fps) and MTime.unit if no value is passed we return a full mapping dict {pal: (25, OpenMaya.MTime.kPALFrame), …}
Parameters: - value – if float or int we convert the data to timeUnit (‘pal’,’ntsc’,….) if value is a string we convert to actual fps as float
- asAPI – if value was given and this is True we return the OpneMaya.MTime.kUnit for the value
- truncate_float – round(fps, 3) round the float to 3 decimal places.
-
getCurrentFPS
(return_full_map=False)¶ returns the current frames per second as a number, rather than a useless string
Parameters: return_full_map – if True we return a dictionary of timeUnit:fps rather than the current actual fps - useful for debugging
Build the Red9 menu in the Maya top toolbar
-
addToMayaMenus
()¶ Red9 Additions to the Maya Menu’s themselves, additions to the timeSlider, fileMenu ETC..
-
addAudioMenu
(parent=None, rootMenu='redNineTraxRoot', prefix='')¶ Red9 Sound Menu setup
Parameters: - parent – parent UI to add the items too
- rootMenu – name of the new rootMenu built
-
red9ButtonBGC
(colour, qt=False, widget=None, opacity=None)¶ Generic setting for the main button colours in the UI’s
Parameters: - colour – target colour ‘green’, ‘grey’, ‘red’, ‘white’, ‘dark’, ‘yellow’, ‘blue’,’darkgrey’, ‘darkred’
- qt – bool, if True return the colour 0-255, else 0-1
- widget – If given we directly set the QT widget’s background-color in it’s StyleSheet
- opacity – opacity value fom 0 full transparent to 255 no opacity Just for qt
-
red9ContactInfo
(*args)¶ launch the stand-in UI for ProPack
-
red9Presets
()¶ get the default presets dir for all filterSettings.cfg files
-
red9Presets_get
()¶ generic extraction of all cfg presets from the default location above
-
red9PoseHandlers
()¶ get the default dir for all custom posehandlers in the presets, used to overload the behaviour of the poseSaver setups
-
red9PoseHandlers_get
()¶ return the posehandler files themselves from the default location
-
red9EntryPoint
()¶ Return the root folder, one up from the ModulePath below
-
red9ModulePath
()¶ Returns the Main path to the Red9 root module folder
-
red9MayaNativePath
()¶ Returns the MayaVersioned Hacked script path if valid and found
-
red9_help
(*args)¶ open up the Red9 help docs
-
red9_pro_docs_path
(*args)¶ path to the red9 ProPack docs docs
-
red9_blog
(*args)¶ open up the Red9 Blog
-
red9_website_home
(*args)¶ open up the Red9 Consultancy homepage
-
red9_facebook
(*args)¶ open up the Red9 Facebook Page
-
red9_twitter
(*args)¶ Open up the Red9 Twitter feed
-
red9_vimeo
(*args)¶ open up the Red9 Vimeo Channel
-
red9_youtube
(*args)¶ open up the Red9 YouTube Channel
-
red9_apidocs
(*args)¶ open up the Red9 API docs
-
red9_getVersion
()¶
-
red9_getAuthor
()¶
-
get_pro_pack
(*args)¶ launch the stand-in UI for ProPack
-
class
Red9_Video_Mappings
¶ Bases:
object
generic mapping for Red9 YouTube video files so we have a common place to pull the links from. This reads the red9_videos.json file in the Red9/docs folder. This class also allows us to search the video chapters and tags so we can, in future implement that in a more in-depth help search UI
-
data
= {}¶
-
classmethod
read_video_db
()¶
-
classmethod
get_url
(video, chapter=None)¶ get a given video’s url
Parameters: - video – the key for the video
- chapter – the index of the chapter
-
classmethod
get_date
(video)¶ get a given video’s date
get a given video’s tags
-
classmethod
get_info
(video)¶ get a given video’s info
-
classmethod
get_title
(video)¶ get a given video’s info
-
classmethod
get_chapters
(video)¶
-
classmethod
search_urls
(tags='', chapters='', info='', rtype='urls')¶ get the video keys based on matching the given search strings for tags or chapters
Parameters: - tags – search string of words to find
- chapters – search string of words to find in the video chapters
Note
this uses the filterListByString func which internally uses a regEx to do the matching. This allows for more specific, multi-word searches
-
classmethod
open
(video, chapter=None)¶ open the given video in the default system app
Parameters: - video – the video key in the db
- chapter – if given this is the sub-chapter of the video to start the video from
-
-
addScriptsPath
(path)¶ Add additional folders to the ScriptPath
Parameters: path – path to the folder you want to add to the ‘MAYA_SCRIPT_PATH’
-
addPluginPath
(path=None)¶ Make sure the plugin path has been added. If run as a module this will have already been added
Parameters: path – path to the folder you want to add to the ‘MAYA_PLUG_IN_PATH’
-
addIconsPath
(path=None)¶ Make sure the icons path has been added. If run as a module this will have already been added
Parameters: path – path to the folder you want to add to the ‘XBMLANGPATH’
-
addPythonPackages
()¶ Add the packages folder which is where any external modules will be stored
-
sourceMelFolderContents
(path)¶ source all mel files in a given folder
Parameters: path – path of the folder containing mel scripts you want to source
-
delete_shelf
(shelf_name)¶ Delete maya shelf and update maya shelf optionVars
Parameters: shelf_name – string: name of the shelf to be deleted
-
load_shelf
(shelf_path)¶ load Maya shelf
Parameters: shelf_path – string: file path to maya shelf
-
insert_python_security_optvars
()¶ <<< Testing Only >>> insert Red9 module imports into the safety setups for Maya Python. We’re still a little unsure what triggers the prompts as they seem very sporadic, if they were consistent it would be a little easier to track down!
-
pro_pack_path
()¶
-
has_pro_pack
()¶ Red9 Pro_Pack is available and activated as user
Return type: bool
-
exception
ProPack_UIError
(*args)¶ Bases:
exceptions.Exception
custom exception so we can catch it, this launched the get ProPack UI
-
exception
ProPack_Error
(*args)¶ Bases:
exceptions.Exception
custom exception so we can catch it. This is an in-function error
-
class
pro_pack_missing_stub
¶ Bases:
object
Exception to raised when the the Pro_Pack is missing and the stubs are called
-
get_pro_pack_user_dir
()¶ Returns: string with Red9pro user directory path, this directory is mainly use to store Red9 pro pack user files
-
get_pro_pack_prefs
()¶ Returns: string with Red9pro prefs directory path, this directory is mainly use to storing user setting files
-
has_internal_systems
()¶ Red9 Consultancy internal modules only
-
internal_module_path
()¶
-
red9ProPackVersion
()¶ use r9pro_version file to get ProPack build version
Returns: string build version
-
red9ProPackInfo
(*args)¶ launch the stand-in UI for ProPack
-
client_core_path
()¶ New Maya.env added 07/06/21 “RED9_CLIENTCORE” which if set will allow you to divert the Red9_ClientCore folder to any location available.
RED9_CLIENTCORE=R:/distributed/path/ClientCore
this will expect the ClientCore folder to have each client as a separate sub-folder which will be imported by the boot process. The ClientCore folder on disc must also have a blank __init__.py file in it to make it a valid Python module setup
-
client_core_env_path
()¶ return the path bound to the os.env ‘RED9_CLIENTCORE’ if setup in the Maya.env file
-
client_core_has_init
(path='')¶
-
has_client_modules
()¶ Red9 Client Modules is the distribution of bespoke code to clients that tightly integrates into our ProPack core
-
get_client_modules
()¶ get all client modules ready for the boot sequence
# TODO: link this up with a management setup so we can determine which client to boot if we have multiple client repositories in the system.
-
clients_booted
()¶ return the client modules booted by the system
-
class
Client_Manager
(*args)¶ Bases:
object
simple Client select manager which we trigger as a layoutDialog so it’ acts like a confirmDialog and pauses till you hit one of the confirmation buttons / is closed
-
show
()¶
-
add_client
(client, *args)¶
-
remove_client
(client, *args)¶
-
close_and_return
(mode, *args)¶
-
-
boot_client_projects
(batchclients=None, clientsToBoot=[])¶ Boot Client modules found in the Red9_ClientCore dir. This now prompts if multiple client projects were found.
Parameters: - batchclients –
aimed as use during mayaBatch to denote what we’re actually going to boot when there’s multiple clients. None, [] or [‘clientA’, ‘clientB’,…]
- if None we do NOT boot any of the ClientCore modules
- if [] we boot all available ClientCore modules
- if [‘clientA’, ‘clientB’,… ] we boot all clients matching the given
- clientsToBoot – [] custom list of clients to boot
Note
if the RED9_CLIENTCORE env variable is set pointing to a folder then the ClientCore will be imported from that location. If that given folder contains an __init__.py file then the import of child client modules is built as “import RED9_CLIENTCORE.client”, else the client is imported directly as “import client”. If the env isn’t given the Red9_ClientCore folder is expected to be at the same root level as the Red9 folder itself.
- batchclients –
-
start
(Menu=True, MayaUIHooks=True, MayaOverloads=True, parentMenu='MayaWindow', batchclients=None)¶ Main entry point for the StudioPack
Parameters: - Menu – Add the Red9 Menu to the Maya Main Menus
- MayUIHooks – Add the Red9 hooks to Maya Native UI’s
- MayaOverloads – run the Maya native script hacks for Red9 - integrates into native Maya ui’s
-
global_base_module_imports
()¶ import key Red9 modules to Maya global so you no longer have to import them within the Maya scriptEditor, they will be accessible from boot
-
reload_Red9
(*args)¶ careful reload of the systems to maintain the integrity of the MetaData registry setups for pro_pack, client_core and internals


| Constants |
| FRAME |
paragraph, including margins
|
| PRINT_AREA |
paragraph, without margins
|
| CHAR |
at a character
|
| PAGE_LEFT |
inside the left page margin
|
| PAGE_RIGHT |
inside the right page margin
|
| FRAME_LEFT |
inside the left paragraph margin
|
| FRAME_RIGHT |
inside the right paragraph margin
|
| PAGE_FRAME |
page includes margins for page-anchored frames identical with
RelOrientation::FRAME
|
| PAGE_PRINT_AREA |
page without borders (for page anchored frames identical with
RelOrientation::PRINT_AREA).
|
| TEXT_LINE |
at the top of the text line, only sensible for vertical orientation.
|
| Constants' Details |
FRAME
const short FRAME = 0;
- Description
- paragraph, including margins
|
|
PRINT_AREA
const short PRINT_AREA = 1;
- Description
- paragraph, without margins
|
|
CHAR
const short CHAR = 2;
- Description
- at a character
|
|
PAGE_LEFT
const short PAGE_LEFT = 3;
- Description
- inside the left page margin
|
|
PAGE_RIGHT
const short PAGE_RIGHT = 4;
- Description
- inside the right page margin
|
|
FRAME_LEFT
const short FRAME_LEFT = 5;
- Description
- inside the left paragraph margin
|
|
FRAME_RIGHT
const short FRAME_RIGHT = 6;
- Description
- inside the right paragraph margin
|
|
PAGE_FRAME
const short PAGE_FRAME = 7;
- Description
- page includes margins for page-anchored frames identical with
RelOrientation::FRAME
|
|
PAGE_PRINT_AREA
const short PAGE_PRINT_AREA = 8;
- Description
- page without borders (for page anchored frames identical with
RelOrientation::PRINT_AREA).
|
|
TEXT_LINE
const short TEXT_LINE = 9;
- Description
- at the top of the text line, only sensible for vertical orientation.
- Since
- OOo 2.0
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Hi,
Im' using EmonCMS since more than 1 year linked with my OpenRemote domotic project. So I can input KNX values into EmonCMS.
Today I wanted to upgrade my EmonCMS v3 to the current v6 version following the instructions; http://emoncms.org/site/docs/upgrading
So, I've installed the new version, updated the setting.php file with DB info and the "update" parameter, ... but the values, feeds are no more available. I've seen that a migrate.php script is required, but it's no more available in the GitHub repository.
Does anyone could point me to this file or send me the DB script to recover my values in the new v6 schema?
Thanks for your help,
Regards
Re: Migration from v3 to v6
Try this guide, it's more up to date.
Paul
Re: Migration from v3 to v6
How do you proceed if you have the pre-installed version of emoncms?
I have got as far as building/starting timestore, but when trying to upgrade emoncms I get the following:
root@emoncmspi:/var/www# git clone https://github.com/emoncms/emoncms.git
fatal: destination path 'emoncms' already exists and is not an empty directory.
root@emoncmspi:/var/www# git pull
fatal: Not a git repository (or any of the parent directories): .git
Do I just skip this part?
Re: Migration from v3 to v6
You need to run;
from WITHIN the emoncms folder.
ie /var/www/emoncms
I can see why you ran it from /var/www though - its a typo in the installation guide.
Paul
Re: Migration from v3 to v6
Thanks Paul, conversion to timestore is now in progress........ :)
Re: Migration from v3 to v6
All done but things are not working :(
I am not getting any feed data and the raspberry pi/config page has the following message:
No data has been recieved from the RFM12Pi in the last 30s. Check if the Pi interface script is running, if not you may need to configure cron
I've tried restarting the script but I get the following error:
PHP Fatal error: Cannot redeclare class ProcessArg in /var/www/emoncms/Lib/enum.php on line 3
Going to have to revert to a backup image for now, long day at work tomorrow (today)
Re: Migration from v3 to v6
Paul
I have found a similar result - all installed ok up to the point of "No data has been received from the RFM12Pi."
The method I have always used to restart the cron script was to reboot the PI - this does not work as it has in the past
This is all from the starting point of the image 2/5/13
Thanks for your patience and help Paul
Re: Migration from v3 to v6
Have you also updated your raspberry pi module?
The new raspberry pi module was updated to work with Timestore.
(you will also need to update your event module - if installed)
Paul
Re: Migration from v3 to v6
I am now getting feed data but all timestore feeds are only showing 0.3kb of data in the feeds table. No timestore feeds are showing anything in the visualisations, and also I am getting:
Notice: Undefined variable: timestore_adminkey in /var/www/emoncms/Modules/feed/feed_model.php on line 34
in the events page (though it now seems to be working)
I believe I have updated the event module:
cd /var/www/emoncms/Modules
git pull origin master
and that is showing as up to date.
My pi is running really sluggishly, though that may be down to a change of usb drive.
Re: Migration from v3 to v6
Fixed the event error, I was in the wrong folder :)
Re: Migration from v3 to v6
I've just tried this again with the same results, no timestore visualisations and the timestore feed sizes all = 0.3kb
Re: Migration from v3 to v6
It's probably worth checking that Timestore is actually running;
should return the process ID number, but if not, start the Timestore daemon by;
Paul
Re: Migration from v3 to v6
Thanks for your help Paul, but Timestore is running.
Re: Migration from v3 to v6
Hi Phil, my system appeared to be running OK until now, but whilst trying to find a solution to your problem, I found that I've now got the same issue - http://openenergymonitor.org/emon/node/2806
Hopefully Trystan will pick this up.
Paul
Re: Migration from v3 to v6
Ok Paul. I have also noticed that if I try to make a change to the process list on the input screen, the following is displayed, is this correct?
Read down the process column.
Re: Migration from v3 to v6
Paul
Thanks for you reply - need to restart the process - timestore ID is not there :(
The pi started receiving without a change however
Will go though things systematically this week end.
Dave


--- layout: default title: Sponsors --- {% include nav.html active='Sponsors' %}
These are the companies or individuals contributing a monthly amount to help sustain Neovim's development. See the Bountysource campaign for more details.
Bountysource does not yet have an UI for sponsors to provide their URL. Most URLs displayed in the list were obtained using the GitHub API and a heuristic to match the Bountysource slug (a sort of sponsor identifier) with the GitHub username, but this method was error prone and failed for many sponsors, including those that don't have a GitHub account.
If you are pledging $5/month or more and want to have your URL listed, please send a pull request to neovim.github.io with a new entry for your Bountysource slug in the js/sponsors-override.js file. If you don't have a GitHub account, you can write to the Neovim mailing list instead.
You can obtain your Bountysource slug with the following command:
curl --header 'Accept: application/vnd.bountysource+json; version=2' 'https://api.bountysource.com/supporters?team_slug=neovim&per_page=10000&page=1' 2> /dev/null | python -m json.tool | grep -C5 $NAME | grep slug
Replace $NAME
by your Bountysource display name as shown in the sponsor list.


nlp_architect.nn.tensorflow.python.keras.layers package¶
Submodules¶
nlp_architect.nn.tensorflow.python.keras.layers.crf module¶
-
class
nlp_architect.nn.tensorflow.python.keras.layers.crf.
CRF
(num_classes, **kwargs)[source]¶ Bases:
tensorflow.python.keras.engine.base_layer.Layer
Conditional Random Field layer (tf.keras) CRF can be used as the last layer in a network (as a classifier). Input shape (features) must be equal to the number of classes the CRF can predict (a linear layer is recommended).
Note: the loss and accuracy functions of networks using CRF must use the provided loss and accuracy functions (denoted as loss and viterbi_accuracy) as the classification of sequences are used with the layers internal weights.
Parameters: num_labels (int) – the number of labels to tag each temporal input. - Input shape:
- nD tensor with shape (batch_size, sentence length, num_classes).
- Output shape:
- nD tensor with shape: (batch_size, sentence length, num_classes).
-
build
(input_shape)[source]¶ Creates the variables of the layer (optional, for subclass implementers).
This is a method that implementers of subclasses of Layer or Model can override if they need a state-creation step in-between layer instantiation and layer call.
This is typically used to create the weights of Layer subclasses.
Parameters: input_shape – Instance of TensorShape, or list of instances of TensorShape if the layer expects a list of inputs (one instance per input).
-
call
(inputs, sequence_lengths=None, **kwargs)[source]¶ This is where the layer’s logic lives.
Parameters: - inputs – Input tensor, or list/tuple of input tensors.
- **kwargs – Additional keyword arguments.
Returns: A tensor or list/tuple of tensors.
-
compute_output_shape
(input_shape)[source]¶ Computes the output shape of the layer.
If the layer has not been built, this method will call build on the layer. This assumes that the layer will later be used with inputs that match the input shape provided here.
Parameters: input_shape – Shape tuple (tuple of integers) or list of shape tuples (one per output tensor of the layer). Shape tuples can include None for free dimensions, instead of an integer. Returns: An input shape tuple.
-
get_config
()[source]¶ Returns the config of the layer.
A layer config is a Python dictionary (serializable) containing the configuration of a layer. The same layer can be reinstantiated later (without its trained weights) from this configuration.
The config of a layer does not include connectivity information, nor the layer class name. These are handled by Network (one layer of abstraction above).
Returns: Python dictionary.
-
viterbi_accuracy
¶


Of course, you can remove 11ty Frame demo pages from your personal site
you should first have another index
and a post
tagged page of your own, otherwise you will get an error when building your site.
, but if you want to keep them in your source directory
for instance to have a handy reference
, without building them in your site, you just have to change two lines in their frontmatter section, replacing ex.1 code by ex.2 code:
permalink: ‘install.html’,
tags: [ ‘post’ ],
permalink: false,
tags: [],


Stratification, Composition, and Function of Marine Mammal Blubber: The Ecology of Fatty Acids in Marine Mammals
2014-05-20T08:26:49Z
Mass balance of three glaciers on Svalbard
2014-05-20T08:26:49Z
Atmospherical noise measurements
2014-05-20T08:26:49Z
Acustic profile data from seismic, penetration echo sounder and side-scanning sonar
2014-05-20T08:26:49Z
Accumulation and lactational transfer of PCBs and pesticides in harbor seals (Phoca vitulina) from Svalbard, Norway
2014-05-20T08:26:49Z
Glacier Mass Balance - Svalbard
2014-05-20T08:26:49Z
Gravity measurements
2014-05-20T08:26:49Z
Biomarker Responses and Decreasing Contaminant Levels in ringed seal
2014-05-20T08:26:49Z
Glacier Surface Type - Svalbard
2014-05-20T08:26:49Z
Biomagnification of polybrominated diphenyl ether and hexabromocyclododecane flame retardants in the polar bear food chain in Svalbard, Norway
2014-05-20T08:26:49Z
Seabird populations construction and its response to climate change
2014-05-20T08:26:49Z
Glacier Firn Area Change - Svalbard
2014-05-20T08:26:49Z
Marine core TN057-13 diatoms
2014-05-20T20:44:42Z
CTD data Kongsfjorden
2014-05-20T21:17:38Z
Physical Oceanography Data
2014-10-03T12:33:16Z
NP_Basiskart_JanMayen_WMTS_25833
2014-12-18T08:30:56Z
Marine mammals exploring the oceans pole to pole (MEOP) CTD data
2014-12-18T11:36:45Z
Terrengmodell Svalbard (S0 Terrengmodell)
2015-01-14T11:19:37Z
Abundance of ringed seals (Pusa hispida) in the fjords of Spitsbergen, Svalbard during the peak molting period
2015-04-22T15:49:07Z
Horizontal profiles of longwave and shortwave radiation components over sea ice near Barrow, Alaska during the 2011 melt
2015-04-08T13:22:30Z
Arealplanområder
2015-03-17T13:38:15Z
Congener-Specific Accumulation and Food Chain Transfer of Polybrominated Diphenyl Ethers in Two Arctic Food Chains
2015-01-15T13:24:06Z
Kartdata Svalbard 1:100 000 (S100 Kartdata)
2015-01-19T13:23:22Z
Area distribution of sea ice
2015-03-16T14:30:05Z
Glacier Snow Line - Svalbard
2015-04-21T12:37:09Z
The population biology and ecology of the world’s northernmost harbour seals in a changing Arctic
2015-05-29T09:36:30Z
Zeppelin Webcamera Time Series
2015-06-18T06:57:05Z
Kjell-G. Kjær's Historic Register of Arctic Vessels
2015-07-17T14:29:35Z
Monthly Arctic sea ice frequency 1984-2013
2015-08-06T13:34:27Z
Arealgrenser for Svalbard
2015-08-06T13:36:56Z
Nesting cliff photographies, Fridtjof Mehlum
2014-05-20T08:26:49Z
Prey preference and niche overlap of ringed seals (Phoca hispida) and harp seals (P. groenlandica) in the Barents Sea
2014-05-20T08:26:49Z
Documentation photographs, bird colonies
2014-05-20T08:26:49Z
Snow depth data
2014-05-20T08:26:49Z
Transcect data, Reindeer grazing effect
2014-05-20T08:26:49Z
Glacier velocity data
2014-05-20T08:26:49Z
Contaminants in killer whale
2014-05-20T08:26:49Z
Ice-algal aggregates
2014-05-20T08:26:49Z
Telemetry, Bearded seal
2014-05-20T08:26:49Z
Walrus counting from aeroplane
2014-05-20T08:26:49Z
Diving data, Walrus
2014-05-20T08:26:49Z
Jaktforbudssoner Svalbard
2014-05-20T08:26:49Z
Contaminant levels in walrus
2014-05-20T08:26:49Z
Movements and diving of ringed seals (Phoca hispida) in Svalbard
2014-05-20T08:26:49Z
Telemetry, Harbour seal
2014-05-20T08:26:49Z
Heavy metal concentration in precipitation
2014-05-20T08:26:49Z
Iceberg occurrences in the Barents sea (the IDAP project)
2014-05-20T08:26:49Z
Movements and diving of bearded seal (Erignathus barbatus) mothers and pups during lactation and post-weaning
2014-05-20T08:26:49Z
Svalbard 1:100 000 Map sheet index
2014-05-20T08:26:49Z
Contaminant levels in harbour seal
2014-05-20T08:26:49Z
PRIMOS - Prioriterte miljøområder på Svalbard
2014-08-19T13:04:30Z
Publication database [Legacy]
2014-09-22T08:04:49Z
Glacier Area Outlines - Svalbard
2014-12-11T12:31:34Z
NP_Ortofoto_Svalbard_WMTS_25833
2014-12-19T15:13:42Z
Stedsnavn Dronning Maud Land (D0 Stedsnavn)
2015-01-02T12:49:54Z
Terrengmodell Jan Mayen (J0 Terrengmodell)
2015-01-02T12:50:08Z
Stedsnavn Jan Mayen (J0 Stedsnavn)
2015-01-02T12:50:18Z
Kartdata Jan Mayen 1:100 000 (J100 Kartdata)
2015-01-19T13:24:48Z
Biogeografiske soner på Svalbard
2015-03-18T10:40:46Z
Skuterbegrensning på Svalbard
2014-05-20T08:26:49Z
Distribution of sex and age groups of ringed seals Pusa hispida in the fast-ice breeding habitat of Kongsfjorden, Svalbard
2014-05-20T08:26:49Z
Ecological role of polar cod in the marine food web of Kongsfjorden (MariClim)
2014-05-20T08:26:49Z
Sea Ice Biota
2014-05-20T08:26:49Z
Analyses of Bryophytes (moss)
2014-05-20T08:26:49Z
UV and UV-B
2014-05-20T08:26:49Z
COPOL pelagic 2007
2014-05-20T08:26:49Z
Snow and Ice Radio echo data
2014-05-20T08:26:49Z
Surface velocity, annual means at stakes and continuous records in a target area, Austfonna
2014-05-20T08:26:49Z
Svalbard National parks
2014-05-20T08:26:49Z
Serum chemistry values for free-ranging ringed seals (Pusa hispida) in Svalbard
2014-05-20T08:26:49Z
Congener-specific accumulation and patterns of chlorinated and brominated contaminants in adult male walruses from Svalbard, Norway
2014-05-20T08:26:49Z
Map over trapping stations and culture heritage at Svalbard
2014-05-20T08:26:49Z
Population dynamics, Arctic fox
2014-05-20T08:26:49Z
Diving behaviour of sub-adult harbour seals (Phoca vitulina) at Prins Karls Forland, Svalbard
2014-05-20T08:26:49Z
Diving and haul-out patterns of walruses (Odobenus rosmarus) on Svalbard
2014-05-20T08:26:49Z
Polar bear den registrations
2014-05-20T08:26:49Z
Millennially Averaged Accumulation Rates for the Lake Vostok Region Inferred from Deep Internal Layers
2014-05-20T08:26:49Z
PPS Arctic Norway
2014-05-20T08:26:49Z
Glacier maps
2014-05-20T08:26:49Z
Ground data for satelite images, sample plots
2014-05-20T08:26:49Z
Video archive
2014-05-20T08:26:49Z
Surveillance of vegetation, sample plots
2014-05-20T08:26:49Z
Svalbard reindeer Brøggerhalvøya
2014-05-20T08:26:49Z
Glacier Area Change - Svalbard
2014-05-20T08:26:49Z
Monthly Mean Sea Level Data of the Norwegian and Barents seas
2014-05-20T09:33:42Z
Cleopatra, Rijpfjorden 2007-2008:Sea ice, light, ice algae, phytoplankton and zooplankton
2014-10-29T13:50:18Z
Dataset Catalogue
2014-11-19T10:46:49Z
NP_Basiskart_Svalbard_WMTS_25833
2014-12-18T08:30:49Z
NP_Basiskart_JanMayen_WMS
2014-12-18T08:30:52Z
NP_Basiskart_JanMayen_WMTS_25829
2014-12-18T08:30:53Z
Kartdata Bouvetøya 1:20 000 (B20 Kartdata)
2014-12-19T13:52:35Z
Kartdata Dronning Maud Land (D250 Kartdata)
2014-12-19T14:12:18Z
Stedsnavn Bouvetøya (B0 Stedsnavn)
2015-01-02T12:49:33Z
March through August Ice Edge Positions in the Nordic Seas, 1750-2002
2015-01-12T12:28:32Z
Dronning Maud Land ice shelf front positions from August 2012 to December 2013
2015-03-13T13:37:45Z
Svalbard reindeer GPS tracking
2015-03-18T08:20:58Z
Satellite-based vegetation map (satellittbasert vegetasjonskart)
2015-04-22T08:19:17Z
Surface elevations (digital elevation models and GPS data) for three ice rises in Western Dronning Maud Land
2015-05-15T08:28:50Z
Polar bear telemetry
2014-05-20T08:26:49Z
Sounds produced by individual white whales, Delphinapterus from Svalbard during capture
2014-05-20T08:26:49Z
Solar irradiance over and under seasonal land-fast sea ice off Barrow, Alaska, in 2010
2014-05-20T08:26:49Z
Protection of geological sites
2014-05-20T08:26:49Z
Telemetry, Walrus
2014-05-20T08:26:49Z
Diving development in nursing harbour seal pups
2014-05-20T08:26:49Z
Eco-physiology, Arctic fox
2014-05-20T08:26:49Z
Arctic fox reproduction
2014-05-20T08:26:49Z
Sea Ice Means
2014-05-20T08:26:49Z
Analyses of lichen, Dryas octopetala and bryophytes
2014-05-20T08:26:49Z
Thin sections
2014-05-20T08:26:49Z
Sea Ice Macrofauna 1947-2012
2014-05-20T08:26:49Z
Summer and autumn movements of white whales (Delphinapterus leucas) in Svalbard, Norway
2014-05-20T08:26:49Z
Cruise ship landings on Svalbard
2014-05-20T08:26:49Z
Growth and population parameters of ringed seals (Pusa hispida) from Svalbard, Norway, 2002-2004
2014-05-20T08:26:49Z
Chlorinated pesticide concentrations in harp seals (Phoca Groenlandica) from the Barents Sea
2014-05-20T08:26:49Z
Nesting bird atlas for Svalbard
2014-05-20T08:26:49Z
Meteorological data
2014-05-20T08:26:49Z
Accumulation, Metabolism, and Food-Chain Transfer of Chlorinated and Brominated Contaminants in Subadult White Whales (Delphinapterus leucas) and Narwhals (Monodon monoceros) From Svalbard, Norway
2014-05-20T08:26:49Z
Ring readings Svalbard barnacle goose Vårsolbukta
2014-05-20T08:26:49Z
Distribution and diving of harbour seals (Phoca vitulina) in Svalbard
2014-05-20T08:26:49Z
Radiation budget
2014-05-20T08:26:49Z
Protected areas
2014-05-20T08:26:49Z
Automatic Weather Station data from Bouvetøya
2014-06-16T07:39:09Z
Ferdselregler på Svalbard
2014-08-19T12:58:06Z
Kartdata Svalbard 1:1 000 000 (S1000 Kartdata)
2014-12-18T15:35:08Z
Kartdata Svalbard 1:250 000 (S250 Kartdata)
2014-12-18T15:35:11Z
Incoming atmospheric radiation at Zeppelin Station
2015-02-11T09:20:40Z
Long-term Svalbard reindeer population monitoring
2015-01-29T13:31:18Z
Fast ice extent in the Kara Sea
2015-01-12T12:26:30Z
ReinBestandsområder
2015-03-18T10:31:32Z
Walrus terrestrial haul-out dataset
2015-03-18T10:33:51Z
Stedsnavn Svalbard (S0 Stedsnavn)
2015-01-02T12:50:38Z
Stedsnavn Peter I Øy (P0 Stedsnavn)
2015-01-02T12:49:18Z
400 MHz GPR profile Troll Station - South Pole
2015-04-22T15:50:07Z
Dielectric Profiling of Ice Cores
2014-05-20T08:26:49Z
Spectral albedo measurements at Ny-Ålesund and Kvitøya, Svalbard
2014-05-20T08:26:49Z
Contaminant levels in polar bear
2014-05-20T08:26:49Z
Orthophoto Ny Ålesund
2014-05-20T08:26:49Z
Marine Mammals Sightings in and around Svalbard
2014-05-20T08:26:49Z
Measurements of the surface UV radiation, global solar radiation and ground albedo by masseur of passive instruments at Polish Polar Station Horsund, Svalbard
2014-05-20T08:26:49Z
Temperature data from Norwegian and Russian waters of the northern Barents Sea collected by free-living ringed seals
2014-05-20T08:26:49Z
Stratigraphic name database
2014-05-20T08:26:49Z
Haulout behaviour of High Arctic harbour seals (Phoca vitulina vitulina) in Svalbard, Norway
2014-05-20T08:26:49Z
Thin sections archive
2014-05-20T08:26:49Z
Rock samples from Norwegian polar regions
2014-05-20T08:26:49Z
Serosurvey for Toxoplasma gondii in arctic foxes and possible sources of infection in the high Arctic of Svalbard
2014-05-20T08:26:49Z
Data from Norwegian BirdHealth IPY project (common eider)
2014-05-20T08:26:49Z
Contaminants in hooded seal Hoods WI 1998
2014-05-20T08:26:49Z
Spatial and temporal distribution of vocalising male bearded seals
2014-05-20T08:26:49Z
Faeces counts
2014-05-20T08:26:49Z
Literature database, birds at Svalbard
2014-05-20T08:26:49Z
Ringed seal post-moulting movement tactics and habitat selection
2014-05-20T08:26:49Z
Diving behaviour of lactating bearded seals (Erignathus barbatus) in the Svalbard area
2014-05-20T08:26:49Z
Telemetry, Ringed seal
2014-05-20T08:26:49Z
Polarimetric Radar Data from the Ross and Amundsen Sea Ice Flow Divide, West Antarctica
2014-05-20T08:26:49Z
Growth and population parameters of the world’s northernmost harbour seals (Phoca vitulina) residing in Svalbard, Norway
2014-05-20T08:26:49Z
Ocean Genereal Circulation model results
2014-05-20T08:26:49Z
Contaminant levels in beluga and narwhal
2014-05-20T08:26:49Z
Contaminant levels in ringed seal - RS 2004
2014-05-20T08:26:49Z
Fauna database - observations of birds and mammals in Svalbard and Jan Mayen
2014-05-20T22:43:08Z
GPS occupation data - Ice Rises D
2014-08-21T21:21:22Z
NP_Basiskart_Svalbard_WMS
2014-12-18T08:30:58Z
Terrengmodell Bouvetøya (B0 Terrengmodell)
2014-12-19T13:53:32Z
Terrengmodell Peter I Øy (P0 Terrengmodell)
2015-01-02T12:57:13Z
Sea Bird Colonies by the Barents Sea, White Sea and Kara Sea
2015-01-20T14:15:16Z
Place names in Norwegian polar areas
2015-01-30T11:06:44Z
Sea ice thickness monitoring at Hopen
2015-03-16T14:27:53Z
Utmål
2015-03-17T14:15:27Z
Biological Satellite Telemetry Data
2015-03-19T13:09:02Z
Sea Ice Frequency with Maximum and Minimum Sea Ice Extent - Arctic
2015-04-29T11:48:15Z
Summer vocalisations of adult male white whales (Delphinapterus leucas) in Svalbard, Norway
2014-05-20T08:26:49Z
Population, monitoring, Carcasses, Arctic fox
2014-05-20T08:26:49Z
Marine paleoclimate data
2014-05-20T08:26:49Z
Catching, trapping of freeliving Arctic fox
2014-05-20T08:26:49Z
UV irradiance, UV radiation, UV-RAD
2014-05-20T08:26:49Z
Serum chemistry of free-ranging white whales (Delphinapterus leucas) in Svalbard
2014-05-20T08:26:49Z
Meteorological data for Engabreen and Langfjordjøkulen glaciers
2014-05-20T08:26:49Z
Polar bear capture
2014-05-20T08:26:49Z
Englacial layers and attenuation rates across the Ross and Amundsen Sea ice-flow divide (WAIS Divide), West Antarctica
2014-05-20T08:26:49Z
Foraging behavior and energetics in Kittiwakes and Little auks
2014-05-20T08:26:49Z
Artificial Nests
2014-05-20T08:26:49Z
Seismic Activity
2014-05-20T08:26:49Z
Satellite tracking and diving behaviour of sub-adult narwhals (Monodon monoceros) in Svalbard, Norway
2014-05-20T08:26:49Z
Radarsat-2 Sathav Satellite Data - Svalbard, Barents and Greenland Sea
2014-05-20T08:26:49Z
The Kongsfjord - Hausgarten - transect study
2014-05-20T08:26:49Z
POPs in Svalbard
2014-05-20T08:26:49Z
Marine radiation measurements
2014-05-20T08:26:49Z
Population dynamics, vascular plants
2014-05-20T08:26:49Z
Spectral measurements of sun radiation
2014-05-20T08:26:49Z
COPOL pelagic 2008
2014-05-20T08:26:49Z
Vocalizations of male bearded seals, Erignathus barbatus: classification and geographical variation
2014-05-20T08:26:49Z
Feeding habits of bearded seals (Erignathus barbatus)
2014-05-20T08:26:49Z
Analyses, soil samples
2014-05-20T08:26:49Z
Ecology, Arctic fox
2014-05-20T08:26:49Z
Estimating the Number of Walrus in Svalbard from Aerial Surveys and Behavioural Data from Satellite Telemetry
2014-05-20T08:26:49Z
Glacial history
2014-05-20T08:26:49Z
Effects of ice cover on the behavioural patterns of aquatic-mating male bearded seals
2014-05-20T08:26:49Z
Herbarium entries
2014-05-20T08:26:49Z
Diseases, rabies, parasites, Arctic fox
2014-05-20T08:26:49Z
Geological maps of Norwegian polar regions, main map series
2014-05-20T08:26:49Z
Silene acaulis
2014-05-20T08:26:49Z
Spring diet of ringed seals (Phoca hispida)
2014-05-20T08:26:49Z
Size and weight of Purple Sandpipers during autumn migration
2014-05-20T08:26:49Z
Coast map series for Svalbard in scale 1:200,000
2014-05-20T08:26:49Z
Aerosol content in troposphere and stratosphere
2014-05-20T08:26:49Z
Goose counts in Adventdalen
2014-05-20T08:26:49Z
Stable isotopes of Carbon and Nitrogen in Svalbard
2014-05-20T08:26:49Z
GPS profile Troll Station - South Pole (IPY 2007-2009)
2014-05-20T21:14:59Z
Polar bear incidents in Svalbard
2014-06-02T10:34:11Z
Meteorological data from automatic stations in Ny-Ålesund
2014-09-11T18:42:06Z
Satelite images archive [Legacy]
2014-09-22T12:54:53Z
Polar bear habitat in the Barents Sea based on resource selection functions
2014-09-30T11:48:02Z
Geological map of Svalbard (1:750000)
2014-11-28T08:42:25Z
Kartdata Jan Mayen 1:1 000 000 (J1000 Kartdata)
2014-12-18T15:35:04Z
NP_Satellitt_Svalbard_WMTS_25833
2014-12-19T15:21:27Z
Satellite-detected surface features in Dronning Maud Land ice shelves
2015-03-13T15:11:16Z
Lingered iceberg along Dronning Maud Land coast from August 2012 to August 2014
2015-03-13T13:37:59Z
Strandsøppelovervåking på Svalbard MOSJ OSPAR
2015-03-11T10:02:56Z
Ring markings of birds in Svalbard
2015-04-21T11:50:39Z
Kartdata Peter I Øy 1:50 000 (P50 Kartdata)
2015-01-02T12:56:43Z
Svalbard Arctic fox telemetry data
2015-03-17T09:44:15Z
Dataset created by olga%40npolar.no at 2015-02-23T14:33:53Z
2015-02-23T14:33:53Z
BearHealth Norway
2015-04-22T10:32:08Z
2000-year-long diatom inferred high-resolution August SST reconstruction from the subpolar North Atlantic
2015-04-22T15:35:09Z
N-ICE2015 buoy dataset
2015-06-25T13:42:16Z


Using ECMAScript 6 Today
Why wait?
Scott Dillender (@smimp)
Interest in this after listening to some Javascript Jabber episodes on it
Mention your version grunt traceur
Overview
Should you use it today?
What ES6 gives us
Clarity on spec status
Types of features
Quick run through of the new features
How the existing tools work
Where to learn more
Yes; Is it the wild west. Not really.
Goal of the talk: Already loads of information out there. I aim to distill it and provide access to the better content.
No object.observe.
Proxies implemented differently. Older version of the spec
Syntactic sugar vs actual new features.
Comparison to Coffee script
What is ES6/Should you use it today
ES6 is the result of years long work by the TC39 standards body (Comprised of representatives from various tech companies)
Evergreen Browsers
We're finally to a point where all of the major browsers will be on a relatively frequent release cycle.
Firefox - 7 releases in the past year
Chrome - 8 releases in the past year
IE - last two major releases were in October of 2012 and 2013.
We have the technology
With features added in ES5, most of the features in ES6 can be implemented with a polyfill or with some clever code rewriting.
Tools that support this:
Traceur - Google
Regenerator/Recast - Facebook
Summary of New Features
Arrow Functions
Classes
Generators/Iterators
Comprehensions/Spread/Destructure
Map/WeakMap/Set/WeakSet
Proxies
Numerous Utility Methods
Imports
Current Spec Discussion
Generator Comprehensions
ES6 modules
Object.observe - Definitely in ES7, but no one got the message
Generator comprehensions: concerns about parallelization (Perhaps automatic)
Modules: what is the this. When doing modules, what is the equivalent of __dirname. module command, defaults
Observe: Moved to ES7. People are already moving forward with implementation/use, which makes it somewhat risky, more in regard to divergent implementations
Originally had the 'spread' in the middle, which can be done with JS, but isn't part of ES spec. It also really killed a sample for handlebar-helpers.
How about how this works. Proxy can intercept all sorts of calls.
As late May Firefox had the most complete implementation
Traceur could do it, but would incur performance penalties.
Need to use the reflection API to get this. Brendan Eich was corrected on the mailing list.
In the background, this generates a switch statement with all of the paths.
I think of it as unwinding cylcomatic complexity.
```
var numberator = $traceurRuntime.initGeneratorFunction(function $__22(base) {
return $traceurRuntime.createGeneratorInstance(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
$ctx.state = (base < 4) ? 1 : 5;
break;
case 1:
$ctx.state = 2;
return ++base;
case 2:
$ctx.maybeThrow();
$ctx.state = 0;
break;
case 5:
$ctx.returnValue = ++base;
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, $__22, this);
});
```
ES6 in 3 Easy Slides
Frankenfunctions
The One With the Friends Reference?
Hey you. Go line by line.
Make sure to go into how yield pauses execution until the next time data is needed.
Hey you. Go line by line.
Make sure to go into how yield pauses execution until the next time data is needed.
```
class Parent {
constructor(eek) {
this.eek = eek;
}
height(h) {
if(h) {
this.h =h;}
else {
return this.h;
}
}
}
```
```
class Child extends Parent {
constructor() {
super(10);
}
height(h) {
super.height(h);
this.h2=h;
}
static defaultKid() {
var toBe = new Child();
toBe.height(32);
toBe.name = 'Shakespeare';
return toBe;
}
}
```
Available tools - Traceur
grunt-traceur
gulp-traceur
Steps to use grunt-traceur
npm install grunt-traceur --save-dev
Update your gruntfile
Profit??
Will need to add watch as well and choose the destination of the js files. In addition, you should choose a module type. CommonJS and AMD(require) are also supported as well as an option that compiles everything into one file.
Questions?
Continued tomorrow at Afternoon Tea
Presenting at @midwestio in July


#assign n0_docs="active"> <#assign n1_platforms="active"> <#assign n2_nuodb="active">
To test against NuoDB docker test container set the platform to postgres
in
src/test/resources/application-test.yaml
Refer to docs / testing if application-test.yaml doesn't exist yet.
ebean: test: platform: nuodb # h2, nuodb, postgres, ... ddlMode: dropCreate # none | dropCreate | migrations dbName: my_app
We can use the io.ebean:ebean-nuodb
dependency rather than io.ebean:ebean
if we want to only
bring in the NuoDB specific platform code. Depending on io.ebean:ebean
will bring in all platforms.
NuoDB does not have a native UUID type. Instead this will be mapped to database binary(16) or varchar(40) based on the setting of PlatformConfig.DbUuid.
NuoDB does not have array types and these types are instead simulated.
Properties with @DbJson
and @DbJsonB
are mapped to database varchar or clob.
History support for NuoDB is provided by generating triggers and history table.
NuoDB supports table partitioning but this is not supported by Ebean yet (via @DbPartition).
We can programmatically start a docker container version of NuoDB.
The below uses ebean-test-docker
dependency which already comes with ebean-test
.
If we do not have a dependency on ebean-test
then add io.ebean:ebean-test-docker:5.0
as a dependency.
package main; import io.ebean.docker.commands.NuoDBContainer; public class Main { public static void main(String[] args) { NuoDBContainer container = NuoDBContainer.newBuilder("4.0") .schema("my_app") .user("my_app") .password("test") .build(); container.start(); } }<@next_edit "ElasticSearch" "/docs/database/elasticsearch" "/docs/database/nuodb/index.html"/>


Check
Accept
Reject
click here to stop
Accept
Try again
12345
GoodPassword2020
myname
Use firewall
Be careless
Do not use firewall
Nothing
Change your password
Sell your device
No
Yes
No matter
No matter
No
Yes
Yes
No
No matter
Yes
No matter
No


Chapter 3 Variables
3.1 Introduction
A variable is anything that can be measured or counted. In general, we think of our datasets as a rectangle, with a column for each variable and a row for each observation (there are some exceptions when discussing long/wide formatted data, but that is out of the scope of this course).
We care about four attributes of the variables:
- the variable’s type (statistical relevance)
- the different values the variable can take (statistical relevance)
- is the variable clean (i.e. ready to use in an analysis?) (statistical relevance)
- the name of the variable (useful for us)
We can use the fourth attribute to help us remember the first three.
3.2 Continuous Variables
A variable is continuous there is a meaningful “distance” between values.
For example:
- Temperature
- Weight
- Height
- BMI
- Blood pressure
Clean continuous variables can be given the prefix con_
to denote that they are clean. For example, temperature
could be called con_temperature
after it has been cleaned and is ready for analysis.
3.3 Binary Variables
A variable is binary if it can only hold two values.
For example:
- 0 or 1
- True or false
- Male or female
- Sick or healthy
- Born in Norway vs Born outside of Norway
Clean binary variables can be given the prefix is_
to denote that they are clean, binary, and reference the “active state”. For example, an unclean variable called sex
could be recoded as 0 for female and 1 for male, then called is_male
to denote that it is clean (ready for analysis), binary, and “male” is the active state when is_male=1
.
3.4 Categorical Variable
A variable is categorical if there is no meaningful “distance” between values.
For example:
- Sick or healthy
- Born in Norway vs Born outside of Norway
- Cancer stage (I, II, III, or IV)
- BMI category (underweight, normal, or overweight)
Clean categorical variables can be given the prefix cat_
to denote that they are clean. For example, BMI category
could be called cat_bmi
after it has been cleaned and is ready for analysis.
3.5 Censored Variables
Censored variables are a subset of continuous variables. They are artificially cutoff (“censored”) at some point.
For example:
- Height – if everyone over 175cm is recorded as “175+”
- Age – if everyone under 10 years old is recorded as “<=10”
- Time alive since receiving illness diagnosis if there is loss to followup (i.e. we know that the person has lived at least 4 years before we lost track of them)
Clean censored variables can be given the prefix cen_
to denote that they are clean. For example, time alive since receiving illness diagnosis
could be called cen_time_alive
after it has been cleaned and is ready for analysis.
3.6 Count Variables
Count variables are a subset of continuous variables. They can only have integer values (e.g. 0, 1, 2, 3).
For example:
- Number of cars that use the parking lot in a day
- Number of influenza patients who use the hospital every day
- Number of tuberculosis patients who are screened every year
Clean count variables can be given the prefix cou_
to denote that they are clean. For example, number of cars
could be called cou_num_cars
after it has been cleaned and is ready for analysis.
3.7 Independent Versus Dependent Variables
An independent variable is often called an exposure or predictor variable. In an experiment, this variable is manipulated by the researcher.
A dependent variable is often called the outcome. In research, we generally want to see if (the following all mean the same thing):
- The dependent variable is dependent on the independent variable
- The predictor variable predicts the outcome.
- The exposure affects the outcome
For ease of understanding, we will use the terms “outcome” and “exposure” for the rest of this course.
3.8 Dataset workflow (pipeline)
- We begin with a raw dataset (this is never altered)
- We clean the raw dataset and create new variables as needed
- We save a “clean” dataset (all variables have the prefixes
c_
oris_
) - We ONLY run analyses on the clean dataset
We do all of this in “do files” that allow us to recreate the clean dataset from the raw dataset.
Think of our analysis as making dinner, with the do files
as our recipe
and the raw dataset
as our raw ingredients
. The recipe
tells us how to prepare the raw ingredients
(clean dataset
) and how to cook
(analyse
) the prepared ingredients
(clean dataset
) to produce the food
(results
).
All we need are raw ingredients
and the recipe
! The prepared ingredients
and the food
are downstream by-products!
This means that if our code is written correctly, we can delete our clean datasets
and results
without any worry, because the raw dataset
and do files
are sufficient.


this is success message
this is warning message
this is danger message
this is on the right side of the page
this is on the center side of the page


--- layout: page title: Contact Us permalink: /contact/ --- Want to get in touch? Here’s how to reach us:
<EMAIL_ADDRESS>@CoderDojoBLR
https://www.facebook.com/coderdojoindia


Average [[[[]]]] Time for [[[[]]]] Students in [[[[]]]]
Select City
Washington DC
New York City
Detroit
New Orleans
Denver
Select Grade
Kindergarten
6th Grade
9th Grade
Layers


You need zenextroom add-on to login. Please follow the instructions to install it.
Please 'Login' from your zenextroom add-on.


?HERBARIUM
OF
THE
EXPERIMENT
STATION
OF
THE
PORTO
RICO
SUGAR
GROWER’S
ASSOCIATION.
r
__________R»0
PIEDRAS,
P.
R.
*
\
a
c.r
Acc-
No
^
Locality
(ZJLa
Date
^^-A-
a
»-v\
i
^
frf*
^^
^
^
?
%
<^>
IMAGED
MFW
YORK
BOTANICAL
GARDEN
'60874749
00874749
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


Dynamics
Satellites and Space
Shortest flight paths
Celestial velocities
Vehicle Dynamics
Accelerating and braking
Track transition curves
Banked turns
Steering geometry
Machines and Mechanisms
Four-bar linkages
Fluids and Flying
Projectiles with air resistance


--- layout: post title: Using SQLite3 with Rails categories: - general author: jamis published: true date: 2007-01-29 21:09:00.000000000 +00:00 ---
If you are using SQLite3 with a Rails application, make sure you are using SQLite3 3.3.7 or earlier. Versions after 3.3.7 incompatibly changed the way in which default values are stored, making it so that current versions of Rails get into quoting issues and problems with columns with NULL defaults.
The source code for version 3.3.7 may be downloaded here: sqlite-3.3.7.tar.gz. Likewise, a pre-compiled binary for Windows is available here: sqlite-3_3_7.zip.
I’ve got a ticket open on the SQLite3 trac about this (right here ); hopefully this will be recognized as an unacceptable change for a point release and will be reverted.


Temporal JDBC Proxy is a JDBC proxy that accepts SQL queries with the temporal extensions and rewrites them into standards SQL
for the targeted DBMS's (MySQL, Postgres). The proxy uses log4jdbc.
This is Open Source software:
Copyright © See NOTICE and AUTHOR files.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this log4jdbc except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


To Share your form click the "Share access" button (pictured above) located in the the sandstorm action bar, above your form. To Share annonymously use the "Get shareable link" tab in the "Share access" dropdown.


{% extends "main.html" %} {% block content %}
account_balance
Deity not found in the Pantheon
Try the homepage, or use the search field on the top right of this documentation.
If you think we made a mistake and deleted a page that should be here, then please let us know on Gitter.
{% endblock %}


NHL roundup: Oilers shut out Devils
Alex Chiasson collected a goal and an assist while Ryan Nugent-Hopkins and Joel Persson both registered two assists as the host Edmonton Oilers handily beat the New Jersey Devils 4-0 on Friday.
The two assists were the first points of Persson’s nine-game NHL career.
The Pacific Division-leading Oilers scored three goals in the second period and received a 29-save performance from goalie Mikko Koskinen to snap a two-game losing skid. Koskinen recorded his first shutout of the season and the fifth of his NHL career.
Edmonton has struggled to receive secondary scoring, and it finally received some against a Devils team that had high hopes before arriving in Alberta. New Jersey also lost 5-2 at Calgary on Thursday.
Lightning 3, Sabres 2
Nikita Kucherov, Alex Killorn and Yanni Gourde scored goals to help Tampa Bay beat Buffalo in the first of two meetings this weekend at the NHL Global Series in Stockholm.
Andrei Vasilevskiy made 20 saves for the Lightning, who won in regulation for just the second time since Oct. 15.
Sam Reinhart scored twice, and Linus Ullmark made 31 saves for Buffalo, which has lost four in a row and is 1-4-1 since an 8-1-1 start.
Red Wings 4, Bruins 2
Robby Fabbri scored twice on the power play in his Red Wings debut as Detroit stunned visiting Boston.
Dylan Larkin and Anthony Mantha also scored, and Tyler Bertuzzi had two assists as the Red Wings snapped a four-game losing streak. Detroit entered the contest mired in a 1-11-1 funk.
David Krejci and Torey Krug tallied for the Bruins, who lost a second straight in regulation for the first time this season. Jonathan Bernier stopped 26 shots for the Red Wings. Tuukka Rask made 28 saves for the Bruins.
Jets 4, Canucks 1
Kyle Connor had a goal and an assist as Winnipeg defeated visiting Vancouver.
Jack Roslovic, Mark Scheifele and Adam Lowry also scored and goaltender Connor Hellebuyck made 32 saves as the Jets improved to 3-0-1 this month.
J.T. Miller scored for the Canucks, who lost for the second consecutive night, and goalie Thatcher Demko stopped 31 of 34 shots. Vancouver had an eight-game points streak (5-0-3) snapped in a 5-2 defeat Thursday in Chicago.
—Field Level Media


TO DO LIST
Sign in
×
PROJECT NAME
CREATE NEW PROJECT
PROJECTS(1)
NEW TASK
×
TASK'S TITLE
TASK DESCRIPTION
DUE DATE
DEFAULT
HIGH
MODERATE
PRIORITY
CREATE NEW TASK
TASKS OF
Me


MALAYSIAN PALM OIL CALENDAR SW - CHICAGO MERCANTILE EXCHANGE Code-037642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 25 METRIC TONS) OPEN INTEREST: 23,952 COMMITMENTS 2,540 6,176 360 19,932 16,736 22,832 23,272 1,120 680 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: .) . . . . . . . . . PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 10.6 25.8 1.5 83.2 69.9 95.3 97.2 4.7 2.8 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 20) 3 6 1 6 8 10 15 BUTTER (CASH SETTLED) - CHICAGO MERCANTILE EXCHANGE Code-050642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 20,000 POUNDS) OPEN INTEREST: 5,114 COMMITMENTS 1,384 1,710 182 2,682 2,435 4,248 4,327 866 787 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 246) 67 -60 21 152 235 240 196 6 50 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 27.1 33.4 3.6 52.4 47.6 83.1 84.6 16.9 15.4 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 36) 5 9 7 16 18 27 28 MILK, Class III - CHICAGO MERCANTILE EXCHANGE Code-052641 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 200,000 POUNDS) OPEN INTEREST: 30,925 COMMITMENTS 19,247 6,284 1,122 7,667 16,679 28,036 24,085 2,889 6,840 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 1,046) 759 360 103 -15 308 847 771 199 275 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 62.2 20.3 3.6 24.8 53.9 90.7 77.9 9.3 22.1 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 75) 20 23 22 15 25 50 55 NON FAT DRY MILK - CHICAGO MERCANTILE EXCHANGE Code-052642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 44,000 LBS.) OPEN INTEREST: 7,351 COMMITMENTS 933 687 1,379 4,559 4,774 6,871 6,840 480 511 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 329) 154 26 -105 220 409 269 330 60 -1 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 12.7 9.3 18.8 62.0 64.9 93.5 93.0 6.5 7.0 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 42) 11 7 11 19 16 34 30 LEAN HOGS - CHICAGO MERCANTILE EXCHANGE Code-054642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 40,000 POUNDS) OPEN INTEREST: 237,466 COMMITMENTS 89,959 48,271 36,724 85,239 118,086 211,922 203,081 25,544 34,385 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 5,196) 2,303 636 3,082 -464 2,911 4,921 6,629 275 -1,433 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 37.9 20.3 15.5 35.9 49.7 89.2 85.5 10.8 14.5 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 319) 124 67 112 69 84 252 227 LIVE CATTLE - CHICAGO MERCANTILE EXCHANGE Code-057642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 40,000 POUNDS) OPEN INTEREST: 327,514 COMMITMENTS 129,921 38,903 48,104 121,470 189,885 299,495 276,892 28,019 50,622 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -11,109) -7,460 -2,043 -1,397 835 -3,505 -8,022 -6,945 -3,087 -4,164 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 39.7 11.9 14.7 37.1 58.0 91.4 84.5 8.6 15.5 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 411) 127 88 123 98 149 293 311 RANDOM LENGTH LUMBER - CHICAGO MERCANTILE EXCHANGE Code-058643 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 110,000 BOARD FEET) OPEN INTEREST: 5,065 COMMITMENTS 2,262 1,372 289 766 2,288 3,317 3,949 1,748 1,116 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 628) 586 147 93 -382 330 297 570 331 58 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 44.7 27.1 5.7 15.1 45.2 65.5 78.0 34.5 22.0 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 63) 24 12 5 16 22 44 37 FEEDER CATTLE - CHICAGO MERCANTILE EXCHANGE Code-061641 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 50,000 POUNDS) OPEN INTEREST: 51,212 COMMITMENTS 20,049 12,851 10,558 13,556 11,725 44,163 35,134 7,049 16,078 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 2,516) -913 799 2,611 933 -997 2,631 2,413 -115 103 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 39.1 25.1 20.6 26.5 22.9 86.2 68.6 13.8 31.4 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 203) 48 54 55 54 63 139 149 DRY WHEY - CHICAGO MERCANTILE EXCHANGE Code-052645 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 44,000 LBS.) OPEN INTEREST: 5,564 COMMITMENTS 280 4,532 154 3,981 436 4,415 5,122 1,149 442 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 364) 12 183 78 239 36 329 297 35 67 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 5.0 81.5 2.8 71.5 7.8 79.3 92.1 20.7 7.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 20) 4 6 3 9 4 15 11 CHEESE (CASH-SETTLED) - CHICAGO MERCANTILE EXCHANGE Code-063642 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF 20,000 POUNDS) OPEN INTEREST: 24,145 COMMITMENTS 6,505 16,895 147 16,814 6,324 23,466 23,366 679 779 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 1,120) 167 722 19 923 359 1,109 1,100 11 20 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 26.9 70.0 0.6 69.6 26.2 97.2 96.8 2.8 3.2 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 53) 16 6 5 21 16 37 27 RUSSIAN RUBLE - CHICAGO MERCANTILE EXCHANGE Code-089741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF RUB 2,500,000) OPEN INTEREST: 30,417 COMMITMENTS 19,639 1,437 0 8,924 28,107 28,563 29,544 1,854 873 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -586) -292 -966 0 0 518 -292 -448 -294 -138 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 64.6 4.7 0.0 29.3 92.4 93.9 97.1 6.1 2.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 32) 14 4 0 6 9 20 13 CANADIAN DOLLAR - CHICAGO MERCANTILE EXCHANGE Code-090741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF CAD 100,000) OPEN INTEREST: 125,056 COMMITMENTS 53,152 33,812 1,584 37,935 66,128 92,671 101,524 32,385 23,532 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 6,632) 7,025 -3,765 300 420 9,675 7,745 6,210 -1,113 422 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 42.5 27.0 1.3 30.3 52.9 74.1 81.2 25.9 18.8 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 82) 31 16 8 22 26 54 49 SWISS FRANC - CHICAGO MERCANTILE EXCHANGE Code-092741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF CHF 125,000) OPEN INTEREST: 47,482 COMMITMENTS 6,608 18,092 474 32,860 13,288 39,942 31,854 7,540 15,628 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -1,401) -451 -3,588 -246 138 829 -559 -3,005 -842 1,604 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 13.9 38.1 1.0 69.2 28.0 84.1 67.1 15.9 32.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 40) 7 16 6 12 9 22 28 MEXICAN PESO - CHICAGO MERCANTILE EXCHANGE Code-095741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF MXN 500,000) OPEN INTEREST: 190,028 COMMITMENTS 30,271 90,484 9,972 143,548 83,212 183,791 183,668 6,237 6,360 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 564) -958 767 -248 1,418 365 212 884 352 -320 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 15.9 47.6 5.2 75.5 43.8 96.7 96.7 3.3 3.3 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 138) 46 52 13 20 26 76 83 BRITISH POUND STERLING - CHICAGO MERCANTILE EXCHANGE Code-096742 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF GBP 62,500) OPEN INTEREST: 212,044 COMMITMENTS 39,039 104,567 3,999 143,574 69,947 186,612 178,513 25,432 33,531 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 1,031) 904 1,893 -936 -265 1,187 -297 2,144 1,328 -1,113 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 18.4 49.3 1.9 67.7 33.0 88.0 84.2 12.0 15.8 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 124) 25 52 16 23 43 61 98 JAPANESE YEN - CHICAGO MERCANTILE EXCHANGE Code-097741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF JPY 12,500,000) OPEN INTEREST: 204,277 COMMITMENTS 27,701 78,985 3,095 155,557 80,051 186,353 162,131 17,924 42,146 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 2,645) 1,827 -1,949 253 -679 2,837 1,401 1,141 1,244 1,504 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 13.6 38.7 1.5 76.2 39.2 91.2 79.4 8.8 20.6 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 119) 25 44 11 31 33 62 82 EURO FX - CHICAGO MERCANTILE EXCHANGE Code-099741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF EUR 125,000) OPEN INTEREST: 406,350 COMMITMENTS 125,333 172,097 10,485 216,770 159,331 352,588 341,913 53,762 64,437 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -2,828) -1,375 438 2,157 -3,720 -12,304 -2,938 -9,709 110 6,881 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 30.8 42.4 2.6 53.3 39.2 86.8 84.1 13.2 15.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 235) 68 81 31 60 62 139 164 EURO FX/BRITISH POUND XRATE - CHICAGO MERCANTILE EXCHANGE Code-299741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF EUR 125,000) OPEN INTEREST: 29,042 COMMITMENTS 13,098 2,286 279 6,086 21,735 19,463 24,300 9,579 4,742 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 1,784) 1,058 443 14 -29 828 1,043 1,285 741 499 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 45.1 7.9 1.0 21.0 74.8 67.0 83.7 33.0 16.3 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 21) 8 3 3 6 8 15 13 BRAZILIAN REAL - CHICAGO MERCANTILE EXCHANGE Code-102741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF BRL 100,000) OPEN INTEREST: 37,134 COMMITMENTS 28,702 2,652 2 6,247 33,779 34,951 36,433 2,183 701 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 484) 330 187 0 103 413 433 600 51 -116 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 77.3 7.1 0.0 16.8 91.0 94.1 98.1 5.9 1.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 29) 13 9 1 3 6 16 16 NEW ZEALAND DOLLAR - CHICAGO MERCANTILE EXCHANGE Code-112741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF NZD 100,000) OPEN INTEREST: 56,314 COMMITMENTS 36,565 33,689 276 14,467 19,525 51,308 53,490 5,006 2,824 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 2,241) 1,705 674 265 377 1,774 2,347 2,713 -106 -472 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 64.9 59.8 0.5 25.7 34.7 91.1 95.0 8.9 5.0 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 79) 37 22 4 14 10 53 34 SOUTH AFRICAN RAND - CHICAGO MERCANTILE EXCHANGE Code-122741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF ZAR 500,000) OPEN INTEREST: 31,502 COMMITMENTS 7,750 1,912 7,717 14,679 21,434 30,146 31,063 1,356 439 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -188) 472 346 -193 -416 -201 -137 -48 -51 -140 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 24.6 6.1 24.5 46.6 68.0 95.7 98.6 4.3 1.4 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 30) 16 4 2 7 7 23 13 3-MONTH EURODOLLARS - CHICAGO MERCANTILE EXCHANGE Code-132741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF $1,000,000) OPEN INTEREST: 12,069,047 COMMITMENTS 469,994 2907557 2227175 8802339 5768601 11499508 10903333 569,539 1165714 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 52,047) 83,715 221,575 -96,369 69,841 -22,479 57,187 102,727 -5,140 -50,680 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 3.9 24.1 18.5 72.9 47.8 95.3 90.3 4.7 9.7 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 288) 28 107 102 119 134 227 276 S&P 500 Consolidated - CHICAGO MERCANTILE EXCHANGE Code-13874+ FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (S&P 500 INDEX X $250.00) OPEN INTEREST: 675,290 COMMITMENTS 100,160 87,317 24,378 469,631 477,999 594,169 589,693 81,121 85,597 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 27,811) 4,752 1,083 3,697 18,817 15,017 27,267 19,797 544 8,014 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 14.8 12.9 3.6 69.5 70.8 88.0 87.3 12.0 12.7 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 608) 126 148 79 232 232 397 420 S&P 500 STOCK INDEX - CHICAGO MERCANTILE EXCHANGE Code-138741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (S&P 500 INDEX X $250.00) OPEN INTEREST: 71,643 COMMITMENTS 4,724 3,435 1,589 39,477 43,185 45,790 48,209 25,853 23,434 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 2,205) -3 -2,980 1,389 1,882 691 3,268 -900 -1,063 3,105 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 6.6 4.8 2.2 55.1 60.3 63.9 67.3 36.1 32.7 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 57) 12 5 2 22 25 35 31 E-MINI S&P 500 STOCK INDEX - CHICAGO MERCANTILE EXCHANGE Code-13874A FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- ($50 X S&P 500 INDEX) OPEN INTEREST: 3,018,235 COMMITMENTS 486,939 429,166 104,186 2150771 2174070 2741896 2707422 276,339 310,813 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 128,031) 10,396 6,933 24,922 84,677 71,631 119,995 103,486 8,036 24,545 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 16.1 14.2 3.5 71.3 72.0 90.8 89.7 9.2 10.3 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 599) 121 149 76 227 220 385 408 E-MINI S&P 400 STOCK INDEX - CHICAGO MERCANTILE EXCHANGE Code-33874A FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (S&P 400 INDEX X $100) OPEN INTEREST: 94,729 COMMITMENTS 23,813 2,852 1,226 56,760 87,200 81,799 91,278 12,930 3,451 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 267) -274 188 -424 109 794 -589 558 856 -291 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 25.1 3.0 1.3 59.9 92.1 86.4 96.4 13.6 3.6 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 86) 15 5 3 45 36 61 43 NASDAQ-100 Consolidated - CHICAGO MERCANTILE EXCHANGE Code-20974+ FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (NASDAQ 100 INDEX X $100) OPEN INTEREST: 45,770 COMMITMENTS 24,046 6,110 688 15,287 32,556 40,022 39,354 5,749 6,417 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -569) -497 50 139 -202 -1,334 -560 -1,145 -9 576 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 52.5 13.3 1.5 33.4 71.1 87.4 86.0 12.6 14.0 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 241) 71 52 17 69 70 148 131 NASDAQ-100 STOCK INDEX (MINI) - CHICAGO MERCANTILE EXCHANGE Code-209742 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (NASDAQ 100 STOCK INDEX X $20) OPEN INTEREST: 228,852 COMMITMENTS 120,230 30,549 3,441 76,437 162,778 200,108 196,768 28,744 32,084 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: -2,843) -2,485 251 697 -1,012 -6,672 -2,800 -5,724 -43 2,881 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 52.5 13.3 1.5 33.4 71.1 87.4 86.0 12.6 14.0 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 241) 71 52 17 69 70 148 131 AUSTRALIAN DOLLAR - CHICAGO MERCANTILE EXCHANGE Code-232741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (CONTRACTS OF AUD 100,000) OPEN INTEREST: 127,869 COMMITMENTS 79,313 55,095 1,734 16,536 49,043 97,583 105,872 30,286 21,997 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 13,764) 12,768 5,298 -170 -642 6,430 11,956 11,558 1,808 2,206 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 62.0 43.1 1.4 12.9 38.4 76.3 82.8 23.7 17.2 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 87) 37 21 8 18 21 59 46 NIKKEI STOCK AVERAGE - CHICAGO MERCANTILE EXCHANGE Code-240741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (NIKKEI INDEX X $5.00) OPEN INTEREST: 32,342 COMMITMENTS 10,365 4,782 123 12,600 18,874 23,088 23,779 9,254 8,563 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 2,843) 1,035 157 123 421 197 1,579 477 1,264 2,366 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 32.0 14.8 0.4 39.0 58.4 71.4 73.5 28.6 26.5 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 41) 15 6 1 15 8 31 14 NIKKEI STOCK AVERAGE YEN DENOM - CHICAGO MERCANTILE EXCHANGE Code-240743 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (NIKKEI INDEX X JPY 500) OPEN INTEREST: 61,522 COMMITMENTS 14,949 23,132 2,113 32,541 19,834 49,603 45,079 11,919 16,443 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: 3,316) 3,028 6,073 313 -1,677 446 1,664 6,832 1,652 -3,516 PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 24.3 37.6 3.4 52.9 32.2 80.6 73.3 19.4 26.7 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 89) 23 14 8 36 27 62 46 S&P GSCI COMMODITY INDEX - CHICAGO MERCANTILE EXCHANGE Code-256741 FUTURES ONLY POSITIONS AS OF 02/14/17 | --------------------------------------------------------------| NONREPORTABLE NON-COMMERCIAL | COMMERCIAL | TOTAL | POSITIONS --------------------------|-----------------|-----------------|----------------- LONG | SHORT |SPREADS | LONG | SHORT | LONG | SHORT | LONG | SHORT -------------------------------------------------------------------------------- (GSCI X $250) OPEN INTEREST: 16,096 COMMITMENTS 8,646 6,025 553 6,126 9,216 15,325 15,794 771 302 CHANGES FROM 02/07/17 (CHANGE IN OPEN INTEREST: .) . . . . . . . . . PERCENT OF OPEN INTEREST FOR EACH CATEGORY OF TRADERS 53.7 37.4 3.4 38.1 57.3 95.2 98.1 4.8 1.9 NUMBER OF TRADERS IN EACH CATEGORY (TOTAL TRADERS: 20) 6 4 3 9 2 17 7
Updated February 17, 2017


Something
went wrong while displaying this webpage. Closing the Apps and Tabs
that you don't need may help by making more memory available.
if you're seeing this frequently, try this suggestion.
| <link rel="stylesheet" href="./dist/css/30.min.css" media="screen" charset="utf-8"> | |
|  | |
|  |
| $(document).ready(function() { | |
| $('.break-link').breakThisLink(); | |
| }); |
| http://goo.gl/%%30%30 | |
| Google fixed it! |


Seattle Store
Seattle Store location
☎<PHONE_NUMBER>
9241 13th Ave SW
Seattle, Washington(WA), 98106
Working hours : 6am to 8pm.
Seattle Store location
☎<PHONE_NUMBER>
9241 13th Ave SW
Seattle, Washington(WA), 98106
Working hours : 6am to 8pm.


Some of the improvements to the java.net
classes in
JDK 1.1 allow sockets (Socket/ServerSocket) to be non-final,
extendable classes. The basic goal is to allow extended sockets to
be used whereever a base class Socket is used without rewriting
application code. So for example an already-existing email client
could be handed a subclass of Socket that does peer authentication
or encryption, which the Socket subclass would handle
transparently. Other examples include sockets that transparently
use compression, or which add functionality such as mirroring
traffic to multiple servers (e.g. using reliable ordered
multicast).
This document has the following sections:
JDK 1.0 allows licensees to extend socket functionality in one
very particular way: they can subclass
java.net.SocketImpl
, and provide an enhanced
java.net.SocketImplFactory() which returns such classes as
needed.
The SocketImpl/SocketImplFactory scheme is useful for, and was designed for, java apps/applications to be portable across environments that use different transport mechanisms. A client application that uses a java.net.Socket can work in the general case (where the runtime uses a PlainSocketImpl), as well as in environments where network connections must do something particular. For example, a java program should be able to work behind a firewall where connections to the Internet must be done through a proxy protocol, like SOCKS, assuming the right kind of SocketImpl is set for the java runtime in that environment.
Though the SocketImpl is useful for things like transparently providing proxy support to java apps, its utility is limited as a way to provide added functionality of network transport, or for layering other protocols on top of TCP. Additionally, it's only possible to have a single type of SocketImpl installed for a java runtime, which limits large-scale applications. It's cleaner and more intuitive to make ServerSocket and Socket extendable.
Note that the SocketImpl mechanism is designed to be orthogonal to the functionality provided by a subclass of Socket: for example, a subclass of Socket that is capable of doing compression on its streams would still want to use the system-default SocketImpl to get proxy support behind certain kinds of firewalls. The system-default SocketImpl can be thought of as an extension of the transport layer that applications needn't be aware of, and subclasses of Socket/ServerSocket provide richer functionality at the application layer.
In JDK 1.1, Socket and ServerSocket are made non-final, which is a pretty simple change. The one basic caveat is that subclasses do not have direct access to the underlying SocketImpl in the base classes, primarily for security reasons. But other than that, subclasses of Socket/ServerSocket inherit and can override methods from their superclass.
The JDK changed by:
final
modifier from the
Socket
and ServerSocket
classes.final
modifier only to methods
where it is needed to avoid bypassing security manager calls.protected final void implAccept(Socket client)
to use
when initializing a newly accepted socket.Socket
constructor so that
Socket subclasses could initialize their superclass without doing
an actual connection in the superclass. This is also required so
that a ServerSocket subclasses can return the correct Socket
subclass from accept() (e.g., FooServerSocket.accept() returns a
FooSocket)The public constructors to Socket of the general form:
Socket(String host, int port) { ... }
can be used by subclasses to initialize the superclass, but they will also create a system-default SocketImpl and connect it to the specified host, port. Socket also has two protected constructors to initialize the superclass without connecting the Socket:
protected Socket() { /* install system-default SocketImpl */ ... } protected Socket(SocketImpl impl) { this.impl = impl; }
The first constructor installs a system-default SocketImpl (either from the factory or a PlainSocketImpl). The second allows for a subclass of Socket to install its own impl if need be. If the Socket subclass doesn't need the default SocketImpl, it's perfectly valid to use the second constructor and pass it null. (But in this case the subclass should of course override all the base class methods, since they all rely on the underlying SocketImpl).
Subclasses of ServerSocket also have a protected constructor exposed to them that creates a default SocketImpl in the base class, but doesn't otherwise initialize it (e.g., doesn't call impl.create(), impl.bind() or impl.listen()). The public constructors of ServerSocket will initialize the underlying SocketImpl.
protected ServerSocket() { /* install system-default SocketImpl */ ... }
The only other thing about extending ServerSocket that should be explained is how to override accept() when the underlying SocketImpl for Socket/ServerSocket isn't accesible to subclasses. Since the base class can do this, ServerSocket has a method to make the necessary calls on the underlying SocketImpl's on behalf of subclasses:
public class ServerSocket { ... protected final void implAccept(Socket s) throws IOException { ... // on return from this call s will be connected to a client } ...
Note that subclasses of Socket/ServerSocket that don't use a SocketImpl needn't use this method. As an example of how this works, here's what some SSL code might look like.
class SSLServerSocket extends ServerSocket {
...
public Socket accept () throws IOException
{
SSLSocket s = new SSLSocket (certChain, privateKey);
// create an unconnected client SSLSocket, that we'll
// return from accept
implAccept (s);
s.handshake ();
return s;
}
...
}
class SSLSocket extends java.net.Socket {
...
public SSLSocket(CertChain c, PrivateKey k) {
super();
...
}
...
}


A little bit about me
I've made my home base in Providence, Rhode Island with my small growing family. My journey into tech started with a degree in journalism. As I started sharing my writing online, I was fascinated with how easily I could get my voice out there. I was hooked and wanted to learn how to build my own site to fit my own specific needs.
That curiosity then opened a door that could never be shut. When I learned how to build my first websbite, I realized I found something that gave me the freedom and versatility I was looking for in my work. Now I've made a full switch to front-end development, where I can use my organization skills and eye for detail to write clean, elegant code.
Hand-Coded HTML
My focus is writing clean, well formatted, semantic HTML5 by hand to make sure that the content is easy to read, easy to collaborate, trouble-shoot and accessible.
Well-Organized CSS
I pride myself on writing CSS that is easy to read and build on. I focus on keeping my CSS lean and fast to load, and I make it a habit to stay up to date on current best practices.
Ease Converting PSD to HTML
You can trust me to take a designer's PSD and quickly & accurately convert it into a webpage that is pixel-perfect match.


As my last entry was downright pessimistic, I'll try to keep this one in a more positive tone. Although it's true that systemd has now become the default init and daemon supervisor in pretty much every Linux distribution, there are alternatives still. Also, in recent months there's been a huge debate in the Debian community on whether to make systemd the default init in release 8 (codename Jessie) and quite some people were strongly against it. Many reasonable points were raised in regards to other available init systems (sysvinit, systemd, upstart, openRC, etc.). The debate is available here.
It's not necessary to read the entire debate. What's important is that Debian approached the issue in a very mature and
level-headed manner, at least temporarily stopping the systemd hype train. Why does it matter? Mostly because Ubuntu relies on
Debian's decision, even though it's been using upstart
instead of System V init scripts for quite a while. Therefore,
if Debian switches, Ubuntu will follow suit. No need to fret, though. Even if systemd becomes the default, Debian intends to
retain some degree of backwards compatibility with sysVinit scripts (default in Debian 7 Wheezy). Thanks to the work of many
volunteers, the switch to a different init is doable and doesn't require too much programming knowledge. Some BunsenLabs (BL)
users (descendant of Crunchbang) even suggested that BL should be init-agnostic due to its minimal approach and reliance on
standard open-source applications, such as Openbox. The irony of it all is that systemd should strive for compliance and not the
vast majority of the Linux ecosystem. The conclusion among BL users was that people who are aware of alternative init systems are
more than capable of performing the switch themselves. Fair enough.
Moving on, a multitude of Debian developers and users made an important observation regarding systemd. The problem is not its init functionality, but the fact that it tries to be anything and everything in the operating system. In a disturbing way it's reminiscent of Windows' subsystems. Hence, the only way around it is to entirely eliminate systemd from an OS. Debian’s fork Devuan was born with this premise. The undertaking is challenging and it won't happen without blood, sweat and tears (and balls, of course). However, I believe the people behind Devuan have the necessary qualities to make their noble goal a reality.
On the less user-friendly side of the Linux spectrum a new distribution was born over a year ago – Void Linux. Many people
criticized it for not being unique enough. Perhaps initially that was the case. Not anymore, though! Void Linux pioneered a novel
init system called runit. It is modular in a very Unix-like way and
extremely snappy. Void Linux also features a novel package manager – xbps
. It does its job, handles configurations,
etc. For instance, I have a dual GPU, the Geforce GTX 295. xbps downloaded dkms
, the nVidia driver sources and
compiled a dynamic kernel module without a hitch. Installed fonts also get added to the related config files automatically. What
I found the most positive is that Void Linux resembles Arch Linux before it drank the systemd Kool-Aid. It’s simple, sane and
very KISS!
To sum up, there are non-systemd Linux alternatives in sufficient abundance. One just needs to use them and show others that systemd is not mandatory and never should be. After all, Linux is all about choice!


Magister Gauen:
We attempted to recover the research documents precisely to prevent them from falling into the wrong hands...
Then you must be eager to find them.


{% extends 'payments/base.html' %} {% set active_page = 'payments.forget_me' %} {% from 'history/_history.html' import reset_button %} {% block title %}{% if session %}Forget me!{% else %}Privacy{% endif %} | {{ super() }}{% endblock %} {% block head %} {% endblock%} {% block content %}
This site does not store any information about you in the server, but some parts of the site can use cookies to provide extra features to you.
Features are enabled by selecting respective checkboxes.
There is data in your session cookie. In total of {{ session|length }} entries.
{{ reset_button('clear_session', "Remove session cookie and all information in it!", 'danger', 'btn-lg') }}
{% else %}Currently, there is no information stored in the session and thus there is no cookie in your device.
{% endif %}