Module: Aws::ClientStubs
Overview
This module provides the ability to specify the data and/or errors to
return when a client is using stubbed responses. Pass
:stub_responses => true
to a client constructor to enable this
behavior.
Also allows you to see the requests made by the client by reading the api_requests instance variable
Instance Method Summary
-
#api_requests(options = {}) ⇒ Array
Allows you to access all of the requests that the stubbed client has made.
-
#stub_data(operation_name, data = {}) ⇒ Structure
Generates and returns stubbed response data from the named operation.
-
#stub_responses(operation_name, *stubs) ⇒ void
Configures what data / errors should be returned from the named operation when response stubbing is enabled.
Instance Method Details
#api_requests(options = {}) ⇒ Array
Allows you to access all of the requests that the stubbed client has made.
# File 'gems/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb', line 195
def api_requests( = {}) if config.stub_responses if [:exclude_presign] @api_requests.reject {|req| req[:context][:presigned_url] } else @api_requests end else msg = 'This method is only implemented for stubbed clients, and is '\ 'available when you enable stubbing in the constructor with `stub_responses: true`' raise NotImplementedError.new(msg) end end
#stub_data(operation_name, data = {}) ⇒ Structure
Generates and returns stubbed response data from the named operation.
s3 = Aws::S3::Client.new
s3.stub_data(:list_buckets)
#=> #<struct Aws::S3::Types::ListBucketsOutput buckets=[], owner=#<struct Aws::S3::Types::Owner display_name="DisplayName", id="ID">>
In addition to generating default stubs, you can provide data to apply to the response stub.
s3.stub_data(:list_buckets, buckets:[{name:'aws-sdk'}])
#=> #<struct Aws::S3::Types::ListBucketsOutput
buckets=[#<struct Aws::S3::Types::Bucket name="aws-sdk", creation_date=nil>],
owner=#<struct Aws::S3::Types::Owner display_name="DisplayName", id="ID">>
# File 'gems/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb', line 227
def stub_data(operation_name, data = {}) Stubbing::StubData.new(config.api.operation(operation_name)).stub(data) end
#stub_responses(operation_name, *stubs) ⇒ void
This method returns an undefined value.
Configures what data / errors should be returned from the named operation when response stubbing is enabled.
Basic usage
When you enable response stubbing, the client will generate fake responses and will not make any HTTP requests.
client = Aws::S3::Client.new(stub_responses: true)
client.list_buckets
#=> #<struct Aws::S3::Types::ListBucketsOutput buckets=[], owner=nil>
You can provide stub data that will be returned by the client.
# stub data in the constructor
client = Aws::S3::Client.new(stub_responses: {
list_buckets: { buckets: [{name: 'my-bucket' }] },
get_object: { body: 'data' },
})
client.list_buckets.buckets.map(&:name) #=> ['my-bucket']
client.get_object(bucket:'name', key:'key').body.read #=> 'data'
You can also specify the stub data using #stub_responses
client = Aws::S3::Client.new(stub_responses: true)
client.stub_responses(:list_buckets, {
buckets: [{ name: 'my-bucket' }]
})
client.list_buckets.buckets.map(&:name)
#=> ['my-bucket']
With a Resource class #stub_responses
on the corresponding client:
s3 = Aws::S3::Resource.new(stub_responses: true)
s3.client.stub_responses(:list_buckets, {
buckets: [{ name: 'my-bucket' }]
})
s3.buckets.map(&:name)
#=> ['my-bucket']
Lastly, default stubs can be configured via Aws.config
:
Aws.config[:s3] = {
stub_responses: {
list_buckets: { buckets: [{name: 'my-bucket' }] }
}
}
Aws::S3::Client.new.list_buckets.buckets.map(&:name)
#=> ['my-bucket']
Aws::S3::Resource.new.buckets.map(&:name)
#=> ['my-bucket']
Dynamic Stubbing
In addition to creating static stubs, it's also possible to generate
stubs dynamically based on the parameters with which operations were
called, by passing a Proc
object:
s3 = Aws::S3::Resource.new(stub_responses: true)
s3.client.stub_responses(:put_object, -> (context) {
s3.client.stub_responses(:get_object, content_type: context.params[:content_type])
})
The yielded object is an instance of ::Seahorse::Client::RequestContext
.
Stubbing Errors
When stubbing is enabled, the SDK will default to generate fake responses with placeholder values. You can override the data returned. You can also specify errors it should raise.
# simulate service errors, give the error code
client.stub_responses(:get_object, 'NotFound')
client.get_object(bucket:'aws-sdk', key:'foo')
#=> raises Aws::S3::Errors::NotFound
# to simulate other errors, give the error class, you must
# be able to construct an instance with `.new`
client.stub_responses(:get_object, Timeout::Error)
client.get_object(bucket:'aws-sdk', key:'foo')
#=> raises new Timeout::Error
# or you can give an instance of an error class
client.stub_responses(:get_object, RuntimeError.new('custom message'))
client.get_object(bucket:'aws-sdk', key:'foo')
#=> raises the given runtime error object
Stubbing HTTP Responses
As an alternative to providing the response data, you can provide an HTTP response.
client.stub_responses(:get_object, {
status_code: 200,
headers: { 'header-name' => 'header-value' },
body: "...",
})
To stub a HTTP response, pass a Hash with all three of the following keys set:
:status_code
-- The HTTP status code :headers
- Hash- A hash of HTTP header keys and values :body
-- The HTTP response body.
Stubbing Multiple Responses
Calling an operation multiple times will return similar responses. You can configure multiple stubs and they will be returned in sequence.
client.stub_responses(:head_object, [
'NotFound',
{ content_length: 150 },
])
client.head_object(bucket:'aws-sdk', key:'foo')
#=> raises Aws::S3::Errors::NotFound
resp = client.head_object(bucket:'aws-sdk', key:'foo')
resp.content_length #=> 150
# File 'gems/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb', line 176
def stub_responses(operation_name, *stubs) if config.stub_responses apply_stubs(operation_name, stubs.flatten) else msg = 'stubbing is not enabled; enable stubbing in the constructor '\ 'with `:stub_responses => true`' raise msg end end


{{data.title | uppercase}}
{{data.job_date | date}}
{{data.categorie}}
{{data.description}}
Received offer is
{{data.price}} coins
Client
{{data.sender_fullname}}
Contact
{{data.sender_phone_number}} | {{data.sender_email}}
Date posted
{{data.date_posted | date}}
Accept
Accepted and waiting payment
Pending job
Received payment
Location
{{data.location}}


BITS SMS
HOME
SUBSCRIBER
LOGOUT
CLOSE APP
LoggedIn as:
Balance Rs.
0.00
Total Subscribers
Active
InActive
Click on the below buttons to renew the packages
Base/FTA Packages expiring today :
Other Packages expiring today :
Packages expiring in 7 days :
Most viewed packages (Top 5)
Refresh
Package No
Package Name
STB Count


MLConference, Munich, June 2019
Combining state of the art AI techniques can bring us a long way
Paradigm Shift in Chess Engines, MLConference, Munich, June 2019
Oliver Zeigermann / @DJCordhose
http://bit.ly/mlconf-chess


confirmed by KOMCA counted 105 song released known as jepp blackman, bang yongguk (방용국) and andrew baag


   Ei mel minim
|
|
Learn More
|
|
|
|
World's Most Advanced App With High-Tech Solutions
|
|
The Strong Museum has collected more than 55,000 video games and related artifacts from the history of gaming.
|
|
|
|
The Strong Museum has collected more than 55,000 video games and related artifacts from the history of gaming.
|
|
|
|
|
|
|
Features all joined together in one app
|
|
|
Sync
|
|
Computer manufacturer Lenovo is getting flak.
|
|
Learn More
|
|
|
Share
|
|
Computer manufacturer Lenovo is getting flak.
|
|
Learn More
|
|
|
Stats
|
|
Computer manufacturer Lenovo is getting flak.
|
|
Learn More
|
|
|
|
|
Responsive Layout
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
Retina Ready
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
|
|
Various Skins
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
Great Performance
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
|
|
UserFriendly Menus
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
Social Share
|
|
|
Tanjin is ont of nearly 2,000 people to have landed on Italy's sounthernmost.
|
|
|
|
Interested In our App?
Muriel Bowser's administration says move is unrelated to change that encruption caussed failures is Metro.
request a quote
|
|
|
|


Company profile - Canadian Company Capabilities
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
DVT Solutions Inc
Mailing Address:
4178-3961 52nd Ave NECALGARY, Alberta
T3J 0J8
Location Address:
4178-3961 52nd Ave NECALGARY, Alberta
T3J 0J8
Tel.:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
Full profile
Full profile
Contact information
Company description
Product / Service / Licensing
Center,
providing value added solutions for EMI, EMC, ESD, Antenna,
Power, Distribution,
Grounding and Software challenges for all stages of product
development. Let the
challenge be at Opportunity or Definition or Implementation or
Deployment stage of
Product Development, our in-house experts have cost-effective
and optimum solutions
for almost every scenario.
45yrs of in-house expertise on EM, Power & Software related
projects and with a
team of energetic, seasoned professionals having strong
technical expertise,
our company is always ready to assist in solving customer
product design, test
and compliance scenarios.
Our goal is to Seek and Solve System Challenges.
Antenna Design, Analysis & SolutionsDesign
Feeds for Parabolic Reflector with High F/B ratio
applications
Planar Compact Comparator for Monopulse
Waveguide Slot-Array Antennas.
Cylindrical Phased Array Antenna
EMC Antennas
Antennas for Wireless Applications
Fractal and Smart Antennas Analysis
Radiation pattern, Gain and Impedance
Numerical Modeling & Manufacturing Tolerance
Effect of Parasitic Radiators
With our Antenna Engineering Knowledge, we have provided custom
solutions to
Microwave, Millimeter wave and EMC Antenna Design. Analysis and
Test Challenges
and contributed to the success of our client organizations.
Our experts were
also commended for their Innovative Solutions.
Our EM Software Expertise is focused on providing Custom
Solutions in EMC and
Antenna Disciplines using Numerical Electromagnetic Codes and
Commercially
available Software. Whether it is a Smart Antenna Design or EMC
Situation
nalysis, our Experts have the Right Background and Experience
to Provide
Smart Solutions.
EMC Design
EMC and ESD Design consulting at all stages of product
development
(pre-architecture, architecture, prototype, de-risk,
cost reduction,
continuing compliance)
National, International, Military and Avionics EMC
Standards
Interpretation services.
ASIC & PCB EMC Design Simulations and troubleshooting.
System and sub system level EMC Assessment & Budgeting.
Shielding, Grounding, Filtering Design and
troubleshooting services.
EME and EMC control Plans and Reports..
Development of Special Design Guidelines for custom
scenarios.
Root Cause Analysis of EMI/EMC/ESD challenges
Custom EMI/EMC Design Solutions to solve the Challenges
of Hydro,
Airborne (RTCA/DO-160D), Industrial and Residential
Installations
As part of the EMC Design services, we offer ASIC, PCB, Module
and System
level performance estimates, detailed analysis and budgets and
custom
solutions to meet National and International Regulatory and
Customer EMC
Specifications (IEC, ETSI, FCC, RSS, Telcordia {Bellcore}, Bell
Canada, RTCA).
EMC Testing
Design and commissioning custom EMC Test facilities
(Semi Anechoic
chamber, GTEM, Absorbing Clamp Slide-way, Pre-
compliance, unique
test setups for design assessments)
Site Surveys and EMC testing @ customer site
Custom Test tools, Setups, Method and Procedure
development
Commercial and MIL - STD Test Consultation
End-to-End Management of EMC Test programs to FCC, IC
and CE Mark
(Scheduling, Lab and Test Audits, Test Reports Etc.)
EME and EMC Test Plans and Test Report Generation.
The extensive experience in managing customer EMC Test programs
enable us
to provide value added services to develop standard and custom
test plans,
manage and witness EMC test programs at 3rd party labs
EMI, EMC, ESD Training
Cabling for System EMC
Grounding Techniques for Telecommunications
EMI Filtering and Shielding for Systems
Designing with EMC-Fundamentals
Designing with EMC-Advanced
EMC Budgeting- Modeling, Analysis & Validation
EMC Trouble Shooting Challenges &Techniques
Printed Circuit Board Design Techniques
EMC of ASIC
SMPS-EMC Challenges and Solutions
EMC Design Techniques for Digital & Analog Circuits
EMC Diagnostic Measurements Techniques
EMC of High Speed Digital Circuits
System Level EMC Challenges and Solutions
Module Level EMC Design Techniques for Compliance
ESD Design for Equipments
One of the Key and Interesting DVT Solutions Service portfolio
is Technical
Training. Currently, the Technical Training is offered in
Canada and
United States and coverage is limited to Design, Modeling and
Measurement
of EMI, EMC, ESD, Smart Antennas and Broadband Wireless areas
and we are
continuously expanding.
We have Seasoned, Experienced and Industry Recognized Experts
in each of
these areas to provide Public as well as On-Site or In-House
Technical
Training.
Our Training duration can start as small as one day to a
maximum of
three days in one sitting to enable optimum learning. Many
topics
could be covered in a multi-day Training or a single topic can
be covered
in-depth in a day long session.
The Technical Training is intended for Electrical Engineers;
Mechanical
Engineers, Technical Managers, System Designers, System
Integration
pecialists, ASIC Designers and Application Specialists,
Technicians,
and Printed Circuit Board Designers & Layout Personnel and
Antenna
Designers. Many found the Technical Training was extensively
useful
The On-Site Technical Training usually has to be booked at
least six
to eight weeks in advance due to large demand.
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
Contacts
Contact information
Description
Company description
Products, services and licensing
Product / Service / Licensing
Center,
providing value added solutions for EMI, EMC, ESD, Antenna,
Power, Distribution,
Grounding and Software challenges for all stages of product
development. Let the
challenge be at Opportunity or Definition or Implementation or
Deployment stage of
Product Development, our in-house experts have cost-effective
and optimum solutions
for almost every scenario.
45yrs of in-house expertise on EM, Power & Software related
projects and with a
team of energetic, seasoned professionals having strong
technical expertise,
our company is always ready to assist in solving customer
product design, test
and compliance scenarios.
Our goal is to Seek and Solve System Challenges.
Antenna Design, Analysis & SolutionsDesign
Feeds for Parabolic Reflector with High F/B ratio
applications
Planar Compact Comparator for Monopulse
Waveguide Slot-Array Antennas.
Cylindrical Phased Array Antenna
EMC Antennas
Antennas for Wireless Applications
Fractal and Smart Antennas Analysis
Radiation pattern, Gain and Impedance
Numerical Modeling & Manufacturing Tolerance
Effect of Parasitic Radiators
With our Antenna Engineering Knowledge, we have provided custom
solutions to
Microwave, Millimeter wave and EMC Antenna Design. Analysis and
Test Challenges
and contributed to the success of our client organizations.
Our experts were
also commended for their Innovative Solutions.
Our EM Software Expertise is focused on providing Custom
Solutions in EMC and
Antenna Disciplines using Numerical Electromagnetic Codes and
Commercially
available Software. Whether it is a Smart Antenna Design or EMC
Situation
nalysis, our Experts have the Right Background and Experience
to Provide
Smart Solutions.
EMC Design
EMC and ESD Design consulting at all stages of product
development
(pre-architecture, architecture, prototype, de-risk,
cost reduction,
continuing compliance)
National, International, Military and Avionics EMC
Standards
Interpretation services.
ASIC & PCB EMC Design Simulations and troubleshooting.
System and sub system level EMC Assessment & Budgeting.
Shielding, Grounding, Filtering Design and
troubleshooting services.
EME and EMC control Plans and Reports..
Development of Special Design Guidelines for custom
scenarios.
Root Cause Analysis of EMI/EMC/ESD challenges
Custom EMI/EMC Design Solutions to solve the Challenges
of Hydro,
Airborne (RTCA/DO-160D), Industrial and Residential
Installations
As part of the EMC Design services, we offer ASIC, PCB, Module
and System
level performance estimates, detailed analysis and budgets and
custom
solutions to meet National and International Regulatory and
Customer EMC
Specifications (IEC, ETSI, FCC, RSS, Telcordia {Bellcore}, Bell
Canada, RTCA).
EMC Testing
Design and commissioning custom EMC Test facilities
(Semi Anechoic
chamber, GTEM, Absorbing Clamp Slide-way, Pre-
compliance, unique
test setups for design assessments)
Site Surveys and EMC testing @ customer site
Custom Test tools, Setups, Method and Procedure
development
Commercial and MIL - STD Test Consultation
End-to-End Management of EMC Test programs to FCC, IC
and CE Mark
(Scheduling, Lab and Test Audits, Test Reports Etc.)
EME and EMC Test Plans and Test Report Generation.
The extensive experience in managing customer EMC Test programs
enable us
to provide value added services to develop standard and custom
test plans,
manage and witness EMC test programs at 3rd party labs
EMI, EMC, ESD Training
Cabling for System EMC
Grounding Techniques for Telecommunications
EMI Filtering and Shielding for Systems
Designing with EMC-Fundamentals
Designing with EMC-Advanced
EMC Budgeting- Modeling, Analysis & Validation
EMC Trouble Shooting Challenges &Techniques
Printed Circuit Board Design Techniques
EMC of ASIC
SMPS-EMC Challenges and Solutions
EMC Design Techniques for Digital & Analog Circuits
EMC Diagnostic Measurements Techniques
EMC of High Speed Digital Circuits
System Level EMC Challenges and Solutions
Module Level EMC Design Techniques for Compliance
ESD Design for Equipments
One of the Key and Interesting DVT Solutions Service portfolio
is Technical
Training. Currently, the Technical Training is offered in
Canada and
United States and coverage is limited to Design, Modeling and
Measurement
of EMI, EMC, ESD, Smart Antennas and Broadband Wireless areas
and we are
continuously expanding.
We have Seasoned, Experienced and Industry Recognized Experts
in each of
these areas to provide Public as well as On-Site or In-House
Technical
Training.
Our Training duration can start as small as one day to a
maximum of
three days in one sitting to enable optimum learning. Many
topics
could be covered in a multi-day Training or a single topic can
be covered
in-depth in a day long session.
The Technical Training is intended for Electrical Engineers;
Mechanical
Engineers, Technical Managers, System Designers, System
Integration
pecialists, ASIC Designers and Application Specialists,
Technicians,
and Printed Circuit Board Designers & Layout Personnel and
Antenna
Designers. Many found the Technical Training was extensively
useful
The On-Site Technical Training usually has to be booked at
least six
to eight weeks in advance due to large demand.


A poor miller had three sons.When he died,all that e left behind was a mill.
a Donkey and a cat
since I am the oldest,said his first son, I will take the mill.


How it works
A TTK tool, not a gun builder
The tool focuses on showing a gun's real TTK when you have mixed shots on different body parts.
It attempts to answer the question of "which gun is better" when you already know the meta/favourite build of your choice of guns.
At current stage, I don't plan to make it a gun builder as we already have a lot of them.
Therefore, you will only see those TTK-related attachments on each gun, and you will only see how they affect range, RPM, and/or damage.
Convert headshot ratio to body parts hit ratios
It's hard to collect hit ratio of every body parts in this game. Based on very limited data from my personal playing of similar game (i.e. BOCW) which gives in-game stats of body parts hit ratio, I arbitrarily plot this graph as a rule of thumb which converts your headshot % into hit ratio on every body parts.
Why this can work
For most of guns, the damage of non-headshots are very close. When you mix your hit on all body parts together to calculate average TTK, a small error won't make much difference on the final result (as long as the headshot % is correct).
Absense of neck damage
We don't have enough data, and the actual chance of hitting neck is very low. Fortunately adding a hitbox won't require overhauling the site, so it may be added one day.
How TTK is calculated
It calculates the expected value of a gun's TTK using DP algorithm. You can find the very short algorithm in
quick_ttk.js. As it takes hit ratio of every body parts into account, the TTK value will be different from what you see elsewhere.


Before Change
step.append(-1)
new_shape += (-3,)
elif isinstance(index, Symbol):
if new_shape != ():
new_shape += (-4,)
sliced = _npi.slice(result, begin, end, step)
result = _npi.reshape(sliced, new_shape)
if not is_symbol_tuple:
is_symbol_tuple = True
else:
raise IndexError("Only integer, slice, symbol or tuple of these types"
After Change
end = []
step = []
new_shape = ()
assert len(key) // len(key) == 0 handled above
for index in key:
if isinstance(index, py_slice):
if index.step is not None and index.step == 0:


Registration
Register to sell something on webiste.
Seller Registration
Register to buy something on website.
Buyer Registration


I seem to have a datacode issue between the serial out of my Arduino and my Pi. Any assistance much appreciated, I'm very new at this!
I'm thinking Arduino serial output not structured correctly or Pi's /boot/emonhub.conf not configured correctly?
Setup is as follows:
EmonTXv3 (node 10 - emonTxV3_continuous_kwhtotals_noeeprom ) and EmonTH (node 19 - unmodified) --> Arduino with RFM12b <-- USB --> Raspberry Pi (emonSD-13-08-14.img on Model B+)
Arduino serial output
10 82884 3105 8 0 353 12887 25992 0 13242
10 82886 1075 6 0 355 12891 25992 0 13242
19 229 446 30
10 82894 1071 7 0 355 12895 25992 0 13244
10 82899 1091 6 0 354 12898 25992 0 13245
10 82904 3119 7 0 351 12905 25992 0 13246
10 82909 3099 7 0 352 12913 25992 0 13247
10 82914 3140 8 0 351 12922 25992 0 13248
10 82919 1225 6 0 352 12926 25992 0 13249
10 82921 1195 6 0 352 12928 25992 0 13249
$ sudo nano /boot/emonhub.conf
[nodes]
# List of nodes by node ID
# 'datacode' is default for node and 'datacodes' are per value data codes.
# if both are present 'datacode' is ignored in favour of 'datacodes'
#[[99]]
# datacode = h
# datacodes = l, h, h, h,
[[10]]
datacodes = L, h, h, h, h, l, l, l, l
[[19]]
datacodes = h, h, h
$ tail -f /var/log/emonhub/emonhub.log
2014-08-15 17:37:25,206 WARNING 24 RX data length: 9 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
2014-08-15 17:37:35,403 WARNING 25 RX data length: 9 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
2014-08-15 17:37:45,396 WARNING 26 RX data length: 9 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
2014-08-15 17:37:49,878 WARNING 27 RX data length: 3 is not valid for datacodes ['h', 'h', 'h']
2014-08-15 17:37:55,398 WARNING 28 RX data length: 9 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
Thanks heaps!
Norm
Re: datacode woes between Arduino & Pi
Hi Norm
It looks like the issue is because the arduino is reconstructing the byte values received via the rfm12b before tx over serial. emonhub is expecting a string of byte values eg node 10 L, h, h, h, h, l, l, l, l should be 29 numbers between 0 and 255 (inc node id), which is why it is saying the received data length of 9 values is not valid. Likewise node 19 should be 7 byte values not 3.
Effectively you have 2 decoding stages one prior to the serial link and one after, one needs to be disabled. The quick fix would be to just remove or comment out the nodes/datacodes lines in emonhub.conf as I'm guessing the arduino is already configured for the emonTx v3 sketch (9 values shown in serial print). The more flexible and scalable approach would be to edit the arduino sketch once to just pass the raw byte values (like a RFM2Pi board does) and then any changes or additions to your sensor network could be configured in emonhub.conf rather than rewriting sketches each time.
If you want to see more of what is happening in emonhub set the loglevel to debug in emonhub.conf.
Paul
Re: datacode woes between Arduino & Pi
Hi Paul, thank for your reply,
I edited emonhub.conf as follows.
#######################################################################
####################### Nodes #######################
#######################################################################
#[nodes]
# List of nodes by node ID
# 'datacode' is default for node and 'datacodes' are per value data codes.
# if both are present 'datacode' is ignored in favour of 'datacodes'
#[[99]]
# datacode = h
# datacodes = l, h, h, h,
#[[10]]
# datacodes = L, h, h, h, h, l, l, l, l
#[[19]]
# datacodes = h, h, h
This is what I get now with DEBUG on.
2014-08-15 19:38:38,746 DEBUG 18 NEW FRAME :<PHONE_NUMBER>.75 10 86271 910 10 0 346 15697 26010 0 14133
2014-08-15 19:38:38,750 WARNING 18 RX data length: 9 is not valid for datacode h
2014-08-15 19:38:43,636 DEBUG 19 NEW FRAME :<PHONE_NUMBER>.64 10 86273 908 9 0 347 15698 26010 0 14133
2014-08-15 19:38:43,640 WARNING 19 RX data length: 9 is not valid for datacode h
2014-08-15 19:38:53,400 DEBUG 20 NEW FRAME :<PHONE_NUMBER>.4 19 215 483 30
2014-08-15 19:38:53,404 WARNING 20 RX data length: 3 is not valid for datacode h
2014-08-15 19:38:58,693 DEBUG 21 NEW FRAME :<PHONE_NUMBER>.69 10 86281 903 9 0 346 15702 26010 0 14135
2014-08-15 19:38:58,697 WARNING 21 RX data length: 9 is not valid for datacode h
I guess I'll have a go at a different Arduino sketch. Do you think I can run the RF12_Demo_atmega328.ino sketch on a Arduino UNO with RFM12B without too much trouble?
Norm
Re: datacode woes between Arduino & Pi
Just had another thought, maybe the interface I'm using in emonhub.conf is incorrect for the Arduino/RFM12B/USB?
Is there an alternative?
[interfacers]
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubJeeInterfacer
[[[init_settings]]]
com_port = /dev/ttyACM0
[[[runtimesettings]]]
Any ideas?
Re: datacode woes between Arduino & Pi
That interface was designed to be primarily used with the RFM2Pi but intended to be compatible with all standard "rfm" devices, the old standard was to send data over an "rfm" network in byte pair integers only so there is a default datacode of 'h' inbuilt to provide backwards compatibility to all the standard "byte pair integer only" sketches by default.
Your application presents a previously unencountered scenario which I think emonhub should be able to cope with.
Try over riding the default value by adding "datacode = False" to the interfacer settings in emonhub.conf
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubJeeInterfacer
[[[init_settings]]]
com_port = /dev/ttyACM0
[[[runtimesettings]]]
datacode = False
Paul
Re: datacode woes between Arduino & Pi
Hi again Paul, nice to have someone helping me out! Much appreciated.
I have added datacode = False now this is all I get:
pi@raspberrypi ~ $ tail -f /var/log/emonhub/emonhub.log
1970-01-01 12:00:23,645 INFO EmonHub Pre-Release Development Version (rc1.0)
1970-01-01 12:00:23,648 INFO Opening hub...
1970-01-01 12:00:23,651 INFO Logging level set to DEBUG
1970-01-01 12:00:23,654 INFO Creating EmonHubEmoncmsReporter 'emonCMS'
1970-01-01 12:00:23,659 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000)
1970-01-01 12:00:23,663 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
1970-01-01 12:00:23,666 DEBUG Opening serial port: /dev/ttyACM0
1970-01-01 12:00:23,672 INFO Opened serial port: /dev/ttyACM0 9600 bits/s
1970-01-01 12:00:23,675 DEBUG Setting RFM2Pi datacode: False
1970-01-01 12:00:23,696 DEBUG 1 NEW FRAME : 23.7 10 8019 0 14476
No data shows up on emoncms.org
I'll post the whole emonhub.conf just incase I missed something obvious.
# SPECIMEN emonHub configuration file
# Note that when installed from apt, a new config file is written
# by the debian/postinst script, so changing this file will do
# nothing in and of itself.
# Each Interfacer and each Reporter has
# - a [[name]]: a unique string
# - a type: the name of the class it instantiates
# - a set of init_settings (depends on the type)
# - a set of runtimesettings (depends on the type)
# Both init_settings and runtimesettings sections must be defined,
# even if empty. Init settings are used at initialization,
# and runtime settings are refreshed on a regular basis.
# All lines beginning with a '#' are comments and can be safely removed.
#######################################################################
####################### emonHub settings #######################
#######################################################################
[hub]
# loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
# see here : http://docs.python.org/2/library/logging.html
loglevel = DEBUG
#######################################################################
####################### Reporters #######################
#######################################################################
[reporters]
# This reporter sends data to emonCMS
[[emonCMS]]
Type = EmonHubEmoncmsReporter
[[[init_settings]]]
[[[runtimesettings]]]
url = http://emoncms.org
apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yes I added it :)
#######################################################################
####################### Interfacers #######################
#######################################################################
[interfacers]
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubJeeInterfacer
[[[init_settings]]]
com_port = /dev/ttyACM0
[[[runtimesettings]]]
datacode = False
#######################################################################
####################### Nodes #######################
#######################################################################
#[nodes]
# List of nodes by node ID
# 'datacode' is default for node and 'datacodes' are per value data codes.
# if both are present 'datacode' is ignored in favour of 'datacodes'
#[[99]]
# datacode = h
# datacodes = l, h, h, h,
#[[10]]
# datacodes = L, h, h, h, h, l, l, l, l
#[[19]]
# datacodes = h, h, h
Thanks heaps!
Norm
Re: datacode woes between Arduino & Pi
The log entries are all dated 1970 which they weren't beforehand, have you changed anything else ? if not just try restarting emonhub using
sudo service emonhub restart
if that doesn't sort the dates out, comment out the "datacode = False" line and restart emonhub as above, to see if it returns to reporting the correct time and date, adding the line as suggested should not have effected the time & date or logging settings, so we should sort that before we move on.
Where there any further log entries? the log posted shows nothing abnormal beyond the wrong dates and the "rfm" settings are missing which you will have removed from the conf file due to your set-up. The last entry looks incomplete the "NEW FRAME" received indicates 3 values (8019 0 14476) from node 10 with a time stamp of 23.7 which although not the right time it corresponds to the 23.696 seconds after midday on 1/1/1970 in all the log entries.
I will try and set something up to replicate what you have, can you attach a copy of your arduino sketch?
Since you are just using serial to transfer data not control an rfm device it maybe better to create a simple EmonHubSerialInterfacer rather than using the EmonHubJeeInterfacer but we can look at that once we know a bit about why it's misbehaving.
Paul
Re: datacode woes between Arduino & Pi
Also now I have had another look back at the code I think the datacode should of been set to 0 (zero) not False. (appologies) False indicates a default datacode is not specified (ie use per value decoding) rather than a specifying a default datacode of none (ie all values not to be decoded).
Try "datacode = 0" once the log dates are back.
Or I see no obvious reason (so not conclusive) why changing the type from EmonHubJeeInterfacer to EmonHubSerialInterfacer shouldn't work if you fancy trying it, the default type for the serial interfacer is 0 so the "datacode =" entry wouldn't be needed
Paul
Re: datacode woes between Arduino & Pi
Hi Paul,
I was rebooting the Pi after config changes, thanks for the restart emonhub tip! (sudo service emonhub restart)
datacode = False seemed to cause the date problem above.
datacode = 0 results in the following errors.
pi@raspberrypi ~ $ sudo service emonhub restart
[ ok ] Restarting OpenEnergyMonitor emonHub: emonhub has been restarted ok.
pi@raspberrypi ~ $ Traceback (most recent call last):
File "/usr/share/emonhub/emonhub.py", line 336, in <module>
hub.run()
File "/usr/share/emonhub/emonhub.py", line 90, in run
values = I.read()
File "/home/pi/emonhub/src/emonhub_interfacer.py", line 368, in read
return self._process_frame(f, t)
File "/home/pi/emonhub/src/emonhub_interfacer.py", line 106, in _process_frame
frame = self._decode_frame(ref, validated)
File "/home/pi/emonhub/src/emonhub_interfacer.py", line 201, in _decode_frame
elif len(data) % ehc.check_datacode(datacode) != 0:
ZeroDivisionError: integer division or modulo by zero
^C
pi@raspberrypi ~ $ tail -f /var/log/emonhub/emonhub.log
2014-08-16 09:04:25,576 INFO Opening hub...
2014-08-16 09:04:25,579 INFO Logging level set to DEBUG
2014-08-16 09:04:25,581 INFO Creating EmonHubEmoncmsReporter 'emonCMS'
2014-08-16 09:04:25,587 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000)
2014-08-16 09:04:25,591 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
2014-08-16 09:04:25,594 DEBUG Opening serial port: /dev/ttyACM0
2014-08-16 09:04:25,599 INFO Opened serial port: /dev/ttyACM0 9600 bits/s
2014-08-16 09:04:25,602 DEBUG Setting RFM2Pi datacode: 0
2014-08-16 09:04:25,831 DEBUG 1 NEW FRAME :<PHONE_NUMBER>.83
10 110446 346 1182 0 349 23836 27028 0 18536
Tried EmonHubSerialInterfacer instead of EmonHubJeeInterfacer doesn't seem to make any difference.
pi@raspberrypi ~ $ tail -f /var/log/emonhub/emonhub.log
2014-08-16 09:18:30,489 DEBUG 104 NEW FRAME :<PHONE_NUMBER>.49 10 110869 158 1302 0 350 23878 27318 0 18618
2014-08-16 09:18:30,493 WARNING 104 RX data length: 9 is not valid for datacode h
2014-08-16 09:18:35,370 DEBUG 105 NEW FRAME :<PHONE_NUMBER>.37 10 110871 96 1304 0 350 23878 27320 0 18619
2014-08-16 09:18:35,374 WARNING 105 RX data length: 9 is not valid for datacode h
2014-08-16 09:18:40,462 DEBUG 106 NEW FRAME :<PHONE_NUMBER>.46 10 110874 16 1305 0 350 23878 27321 0 18619
2014-08-16 09:18:40,466 WARNING 106 RX data length: 9 is not valid for datacode h
2014-08-16 09:18:45,354 DEBUG 107 NEW FRAME :<PHONE_NUMBER>.35 10 110876 152 1307 0 349 23879 27324 0 18619
2014-08-16 09:18:45,358 WARNING 107 RX data length: 9 is not valid for datacode h
2014-08-16 09:18:50,444 DEBUG 108 NEW FRAME :<PHONE_NUMBER>.44 10 110879 148 1306 0 353 23879 27325 0 18620
2014-08-16 09:18:50,448 WARNING 108 RX data length: 9 is not valid for datacode h
2014-08-16 09:18:55,338 DEBUG 109 NEW FRAME :<PHONE_NUMBER>.34 10 110881 188 1308 0 352 23879 27327 0 18620
2014-08-16 09:18:55,342 WARNING 109 RX data length: 9 is not valid for datacode h
I'm thinking emonhub can't handle the decoded RFM12B string. I've attached my Arduino sketch. Maybe we can modify so it prints the undecoded string?
Thanks heaps
Norm
Re: datacode woes between Arduino & Pi
Oops made a mistake. I changed EmonHubEmoncmsReporter instead of EmonHubJeeInterfacer!
As you suggested I changed to EmonHubSerialInterfacer and it works!!!!!!!!!!
[interfacers]
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubSerialInterfacer
[[[init_settings]]]
com_port = /dev/ttyACM0
[[[runtimesettings]]]
# datacode = 0
pi@raspberrypi ~ $ tail -f /var/log/emonhub/emonhub.log
2014-08-16 09:31:50,817 DEBUG 49 Append to 'emonCMS' buffer => time:<PHONE_NUMBER>.72, data: [10, 111269, 2542, 1422, 0, 354, 24308, 27621, 0, 18696], ref: 49
2014-08-16 09:31:50,921 INFO Sending: http://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1408138310.72,10,111269,2542,1422,0,354,24308,27621,0,18696]]&sentat=1408138310
2014-08-16 09:31:52,206 DEBUG Receipt acknowledged with 'ok' from http://emoncms.org
2014-08-16 09:31:55,822 DEBUG 50 NEW FRAME :<PHONE_NUMBER>.82 10<PHONE_NUMBER> 1422 0 350 24310 27623 0 18697
2014-08-16 09:31:55,826 DEBUG 50 Timestamp :<PHONE_NUMBER>.82
2014-08-16 09:31:55,828 DEBUG 50 Node : 10
2014-08-16 09:31:55,831 DEBUG 50 Values : [111271, 2353, 1422, 0, 350, 24310, 27623, 0, 18697]
2014-08-16 09:31:55,925 DEBUG 50 Append to 'emonCMS' buffer => time:<PHONE_NUMBER>.82, data: [10, 111271, 2353, 1422, 0, 350, 24310, 27623, 0, 18697], ref: 50
2014-08-16 09:31:56,029 INFO Sending: http://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1408138315.82,10,111271,2353,1422,0,350,24310,27623,0,18697]]&sentat=1408138316
2014-08-16 09:31:57,411 DEBUG Receipt acknowledged with 'ok' from http://emoncms.org
2014-08-16 09:32:00,719 DEBUG 51 NEW FRAME :<PHONE_NUMBER>.72 10<PHONE_NUMBER> 1422 0 351 24314 27624 0 18697
2014-08-16 09:32:00,723 DEBUG 51 Timestamp :<PHONE_NUMBER>.72
2014-08-16 09:32:00,728 DEBUG 51 Node : 10
2014-08-16 09:32:00,731 DEBUG 51 Values : [111274, 2443, 1422, 0, 351, 24314, 27624, 0, 18697]
2014-08-16 09:32:00,829 DEBUG 51 Append to 'emonCMS' buffer => time:<PHONE_NUMBER>.72, data: [10, 111274, 2443, 1422, 0, 351, 24314, 27624, 0, 18697], ref: 51
2014-08-16 09:32:00,934 INFO Sending: http://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1408138320.72,10,111274,2443,1422,0,351,24314,27624,0,18697]]&sentat=1408138320
2014-08-16 09:32:01,870 DEBUG Receipt acknowledged with 'ok' from http://emoncms.org
Paul you've been an awesome help! Many thanks.
Norm
Re: datacode woes between Arduino & Pi
I have not been able to replicate the date issue so I'm not entirely sure what is happened there. nor am I sure why when trying the "EmonHubSerialInterfacer" it appears to be using a datacode of "h" the default is "0" so unless specified in the emonhub.conf should remain as zero.
The first of the results sets you posted, for the "datacode = 0" appears to be a variable type casting issue, the zero is being processed as a string"0" rather than a integer, therefore it goes wrong at this point as string zero is True where as int zero is False. Therefore it misses the if statement intended to filter off and return frames that require no decoding and continues till it trips up here with the divide by zero error
The logic worked ok in testing because if a "datacode" was specified by a user it was assumed it would be adding a "datacode" and not possibly removing one. Therefore the casting of a default int zero to a string "h" or "L" etc didn't create an issue and curiously nor does removing a datacode which causes the default zero to be reloaded, probably due to configObj.
Anyway, I believe changing this line to also test for a "0" string will remedy your issue so in ~/emonhub/src/emonhub_interfacer.py try changing line 193 to " if not datacode or datacode == '0': " (not a permanent solution but should do what you want until emonHub is updated
What is obvious from this experimenting there needs to be some filtering/casting of datacode values the user can enter as there is a vulnerability, The intention is emonHub will raise exceptions and continue rather than crash on error, a bulk of the code is filtering and error handling.
Although not an average application, I'm sure it will pop up again so I am keen to resolve this and I do appreciate your help highlighting and (hopefully) resolving this, However, as mentioned in my first post, in the long term I think altering your sketch to pass undecoded values is the way to go (I haven't looked at it yet). But if you prefer to decode in your sketch we can also retry the Serial Interfacer, your choice :-)
See how we get on with this fix first I guess
Paul
Re: datacode woes between Arduino & Pi
So maybe I should check PM's more frequently,
normosb 15/08/2014 - 22:37
Hi Paul,
It works! thanks very much for your help! Change to Serial did the trick;
My latest thrend post went to the moderator :)
# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
# Type = EmonHubJeeInterfacer
Type = EmonHubSerialInterfacer
[[[init_settings]]]
com_port = /dev/ttyACM0
[[[runtimesettings]]]
# datacode = 0
Much appreciated!
Regards
Norm
Thank you for letting me know, that clears the uncertainty as to why the serialinterfacer didn't work and I'm now confident the latter fix would of worked also. great.
Thanks again for putting emonhub to the test. I have started adding additional "datacode" qualifying.
Paul
Re: datacode woes between Arduino & Pi
Hello,
I just set up my Raspberry Pi, but I'm getting similar errors.
2015-03-20 21:43:29,243 DEBUG 17 NEW FRAME :<PHONE_NUMBER>.24 OK 10 42 2 0 0 0 0 0 0 (-51)
2015-03-20 21:43:29,248 WARNING 17 RX data length: 8 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
2015-03-20 21:43:31,611 DEBUG 18 NEW FRAME :<PHONE_NUMBER>.61 OK 10 40 2 0 0 0 0 0 0 (-52)
2015-03-20 21:43:31,616 WARNING 18 RX data length: 8 is not valid for datacodes ['L', 'h', 'h', 'h', 'h', 'l', 'l', 'l', 'l']
My arduino uses the new RF96 board.
I'll include the sketch:
http://pastebin.com/ZWNe8Y4y
And my emonhub.conf
http://pastebin.com/eKW94TnD
I used the 'Write API Key' from my account. Correct?
Regards,
Hans
Re: datacode woes between Arduino & Pi
That sketch sends the node number followed by a payload of 4 integers (8 bytes). That is specified in
typedef struct { int power1, power2, power3, power4;} PayloadTX;
therefore you should not need to specify datacodes. The default should be fine.
The datacode you specified is expecting:
unsigned long, int, int, int, int, long, long, long, long.
And that is not what the sketch is sending, hence the error.
The "read & write" APIkey is correct.
Re: datacode woes between Arduino & Pi
Thanks.
Commenting out these lines did the trick. Everything is up and running now.


We are the Australian providers of Zero Robotics - a free, international, high school coding competition where students compete to run their code in SPACE!
Check out the main MIT Website for information about the competition.
Zero Robotics software, submissions, tutorials and forums are all hosted on the MIT website. This site lists important dates in AEST/AEDT, some extra resources and Australia specific updates and information.
ISS Finals
A live stream of the finals, straight from the International Space Station was held at the University of Sydney on the 28th of January.
Four teams: SPATAR (Gosford High School), Trinity Infinity (Trinity College), SpaceXD (Parramatta High School) and Scholar Spacemen (Sydney Boys High School) ran their code in space, and an alliance of SpaceXD, Scholar Spacemen and a Romanian school won the Virtual (wildcard) Champtionship.
Congratulations to everyone involved, running your code on the International Space Station is a huge achievement. We hope that this is only the beginning, and you continue to create new and interesting things in the future.
Post Competition Survey
Please fill in the post competition survey!
It gives us feedback on the competition so that we can improve, justify funding, and provide this oppertunity to other students in the future.
Sponsorship
We're looking for sponsors for the 2019/2020 Competition.
Australia is a newcomer to the space industry, and
How much does it cost?
It's free!
Are students controlling the robots live on
the International Space Station?
No. They are writing autonomous code.
Like a self driving car, once they've finished
coding it, the robots will run on their own.
How much programming experience
do my students need?
Students will find this very hard unless they know the basics.

Teams are made up of 5-20 students, but often smaller teams are easier to manage.
When will the finals event date be released?
We have to fit into the ISS timetable for holding the finals event, which can change at short notice due to crew rotations and experiments. It is normally held in Early January.
What is the time commitment?
A few hours per week - more for less experienced
or highly ambitious teams.
What do students learn?
Project management, international teamwork,
coding skills and problem solving.
Do I really need to login with a gmail address?
Yes, you need to log into the MIT website with an email
linked to a google account. Some NSW det email addresses
are linked to an account, some aren't.
Do we need to use Slack to communicate?
You will need to use a collaboration tool, since most
of the students' work will be done outside of the classroom, especially during the alliance phase of the competition.
Why can't I see my team on the MIT website?
If you have only just registered/provided your email addresses
it may take a few days for them to be added to the system.
Please contact us if you are still having trouble after a
few days. Please note you don't need to be logged in to
work on your code, only to submit.
Is this related to FIRST Robotics?
They share some similarities but are different programs. If you would like to be involved with FIRST Robotics The University of Sydney has a team.
How do I sign up!
Applications will open in March 2019.
Important Dates
International Competition (2018)
Event
Location
Date
Time
2D Submission Deadline
online
Saturday 13 October
3pm AEDT
3D Submission Deadline
online
Wednesday 7 November
4pm AEDT
Alliance formation
online
Sunday 11 November
TBD
Alliance Code submission
online
Saturday 10 December
4pm AEDT
Virtual Code submission (updated!)
online
Monday 24 December
4pm AEDT
ISS Code submission (updated!)
online
Saturday 24 December
4pm AEDT
ISS Finals
The University of Sydney
Friday January 28th
8pm until late/early
FAQ
We recommend that they learn programming logic, if statements, loops and functions before joining the competition.
Slack is a great option, that is widely used by engineering teams.
However, we understand that it is blocked by many school firewalls.
Contact Us


This will reset the current visualization to its default state, as if you were viewing the model for the first time. The contents of the underlying model are unaffected.


Each puzzle consists of a 9x9 grid containing given clues in various places. The objective is to fill all empty squares so that the numbers 1 to 9 appear exactly once in each row, column and 3x3 box.
To play, click on one of the numbers (1-9) below the 9x9 grid. Then click the cell in the board you would like the number to go.
If you need a little help, click the 'Hint' button!


Home
All news
Contact
We have news
written by the most famous bloggers
Popular Posts
Newsletter
Subscribe Now


--- layout: example categories: example/v1.0.0 version: v1.0.0 title: Marker radius search description: Use the .distanceTo function to only show markers within a range tags: - ui - markers - omnivore ---


Core Courses Course Code: COMP 6501 Course Name: Research Methods, Entrepreneurship, and Intellectual Property Description: This course introduces students to three important non-technical topics: Research Methods, Entrepreneurship, and Intellectual Property. These broad non-technical skillsets are vital for students seeking to start businesses or engage in scientific research. Course Code: COMP 6925 Course Name: Applied Operations Research Description: The purpose of this course is to study the basic tools for quantitative methods for decision-making. The emphasis is on solution methods and strategies. The course introduces the student to a wide variety of tools used in the decision making process and demonstrates the application of these tools on real-world examples. Course Code: STAT 6105 Course Name: Probability and Statistical Methods for Data Analytics Description: Data Analytics is the process of examining data with the purpose of drawing conclusions and discovering useful information. In this science, probability theory provides the foundation for many of the fundamental data analyses and modelling techniques widely used today. Statistical methods, such as hypothesis testing, are used to draw conclusions about data and provide a foundation for more sophisticated data analysis techniques. Viewing questions about data from a statistical perspective allows data scientists to create more predictive algorithms to convert data into knowledge. Course Code: STAT 6106 Course Name: Statistical Inference for Data Analytics Description: The course is aimed at those whose future careers will involve a heavy use of statistical methods and at the same time fulfil the required knowledge of mathematical statistical inference needed at the postgraduate level. Statistical inference provides a foundation for sophisticated data analysis techniques. It is essential for data analysts to have a strong understanding of statistical inference before applying these techniques. Course Code: COMP 6930 Course Name: Machine Learning and Data Mining Description: With the rise of data science and big data fields, machine learning has gained further recognition as the key driver behind the successful advance of these fields. However, many recent entrants to the field can only utilize the variety of machine learning algorithms as black boxes. This course aims to empower students to effectively use and understand the primary approaches so as to be able to modify them for specific uses. Our focus is less on theory and more on practice. Students engage in hands-on implementation of some of the fundamental algorithms such as predictive modeling and clustering applied to real, open-ended problems. While most of the course focuses on machine learning, we also have a few lectures on text/data mining algorithms. Course Code: COMP 6940 Course Name: Big Data and Visual Analytics Description: Big data is data that is generally too large to fit into the analyst’s computer. Since storage and networking are getting less costly as well as faster, big data can be transported easily to a destination where analysis needs to be done. Insights and business value can be drawn from big data. It is also useful for policy makers e.g. Government. The course aims to provide a broad understanding of big data sets, emerging technologies for these large data sets and methods of analysis of big data. Course Code: COMP 6940 Course Name: Research Project Description: The objective is to allow students to think independently and provide a unique contribution to their field.


SampleTab file format
The BioSamples Database uses the SampleTab file format for submissions. This is a tab-delimited file that can be created in many spreadsheet editing software packages (e.g. Microsoft Excel). Although SampleTab files can have some advanced features, they can be written by users from a wide range of backgrounds using tools they are already familiar with.
The SampleTab format has a number of advanced features for power users, such as ontology mappings, anonymous groups, and UTF-8 character encoding.
SampleTab files are composed of two section - MSI and SCD. In general, the following rules apply to SampleTab files:
- Dates and times should be in ISO 8601 format to an appropriate level of accuracy i.e. YYYY-MM-DD HH:MM:SS.ss
- US English spellings should be used, and abbreviations are discouraged.
- Filenames should end with .txt
- Cells are tab separated and only tab separated. Tabs should not be within cells, even if quoted or escaped.
- If a data cell is empty and data for that tag is optional, then it is assumed that no data is provided for that cell for that tag. If data must be provided but is missing, the file is invalid.
- Within a cell leading and trailing whitespace is stripped. Empty cells at the end of a line are also stripped. Line endings can be in any format (Windows, Linux, Mac) but Linux line endings (LF) are preferred. New line characters must not be in any field, even if quoted/escaped. The presence of such character could prevent the submission of the SampleTab.
- Empty lines are ignored, including lines composed only of whitespace (inc tabs)
- If a cell is started and terminated with double quotes, they may be stripped.
- If the first character on a line is #, then that line is ignored. Use of # characters elsewhere is allowed, but discouraged.
- The use of only alphanumeric characters (upper and lowercase A-Z and 0-9, no accents or other symbols) is preferred.
- Files should be UTF-8 encoded.
Example SampleTab files
SampleTab files for all BioSamples are available from the FTP site, sorted by source. A specific example used in the screenshots in the following sections is this SampleTab file.


Early Bird Registration Discounts EXTENDED through Friday, February 8! 9th Annual National Young Feminist Leadership Conference March 23-March 25, 2013 Washington DC Metro Area Register NOW! $25/person $20/person for groups of 4+ For group registration information, email<EMAIL_ADDRESS>www.feministcampus.org/leadership [ https://salsa.democracyinaction.org/o/1400/p/salsa/event/common/public/?event_KEY=76709 ]
You have received this e-mail because of your interest in women’s issues. To unsubscribe, please click here. [ http://salsa.democracyinaction.org/o/1400/p/salsa/supporter/unsubscribe/public/index.sjs?unsubscribe_page_KEY=494 ]


|
Oceania & Pacific Islands |
|||
|---|---|---|---|
|
Countries |
Form of ownership |
Time constraints |
Price |
|
Marshall Islands |
(IBC) |
2 weeks |
€1,500 |
|
Vanuatu |
(IBC) |
2 weeks |
€1,900 |
|
North & South America |
|||
|
Canada |
Quebec Corporation |
4 weeks |
€1,100 |
|
USA |
Delaware (LLC) |
2 weeks |
|
|
Africa |
|||
|
Seychelles |
(IBC) |
4 weeks |
€1,500 |
|
Asia |
|||
|
Hong Kong |
(LTD) |
4 weeks |
€2,500 |
|
Labuan |
(IBC) |
2 weeks |
€4,000 |
|
Singapore |
(LTD) |
2 weeks |
€6,000 |
|
Caribbean Region |
|||
|
Antigua and Barbuda |
(IBC) |
2 weeks |
€3,000 |
|
Belize |
(IBC) |
2 weeks |
€2,200 |
|
British Virgin Islands |
(IBC) |
2 weeks |
€2,000 |
|
St.Lucia |
(IBC) |
2 weeks |
€3,000 |
|
St.Vincent and the Grenadines |
(IBC) |
2 weeks |
€2,000 |
|
Europe |
|||
|
Cyprus |
(LTD) |
2 weeks |
€2,500 |
|
Czech Republic |
LLC (s.r.o.) |
2 weeks |
€5,000 |
|
Estonia |
LLC |
2 weeks |
€3,000 |
|
Gibraltar |
(LTD) |
2 weeks |
€4,000 |
|
Ireland |
(LTD) |
4 weeks |
€4,000 |
|
Isle of Man |
(LTD) |
2 weeks |
€7,000 |
|
Netherlands |
(LLC) |
2 weeks |
€4,000 |
|
Scottland |
(LP) |
2 weeks |
€2,000 |
|
Switzerland |
(GmbH) |
2 weeks |
€10,000 |
|
United Kingdom |
(LTD) |
2 weeks |
€2,000 |
|
United Kingdom |
(LLP) |
2 weeks |
€2,000 |


Package com.jme.bullet.collision.shapes
Class HeightfieldCollisionShape
- java.lang.Object
-
- com.jme.bullet.collision.shapes.CollisionShape
-
- com.jme.bullet.collision.shapes.HeightfieldCollisionShape
-
- All Implemented Interfaces:
com.jme.export.Savable
public class HeightfieldCollisionShape extends CollisionShape
A terrain collision shape based on Bullet's btHeightfieldTerrainShape.This is much more efficient than a regular mesh, but it has a couple limitations:
- No rotation or translation.
- The collision bounding box must be centered on (0,0,0) with the height above and below the X-Z plane being equal on either side. If not, the whole collision box is shifted vertically and objects won't collide properly.
- Author:
- Brent Owens
-
-
Field Summary
Fields Modifier and Type Field Description protected java.nio.ByteBuffer
bbuf
buffer for passing height data to Bulletprotected boolean
flipQuadEdges
protected float[]
heightfieldData
array of heightfield samplesprotected float
heightScale
protected int
heightStickLength
number of columns in the heightfield (>1)protected int
heightStickWidth
number of rows in the heightfield (>1)protected float
maxHeight
protected float
minHeight
protected int
upAxis
index of the height axis (0→X, 1→Y, 2→Z)-
Fields inherited from class com.jme.bullet.collision.shapes.CollisionShape
margin, objectId, scale
-
-
Constructor Summary
Constructors Constructor Description HeightfieldCollisionShape()
No-argument constructor needed by SavableClassUtil.HeightfieldCollisionShape(float[] heightmap)
Instantiate a new shape for the specified height map.HeightfieldCollisionShape(float[] heightmap, com.jme.math.Vector3f scale)
Instantiate a new shape for the specified height map and scale vector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createCollisionHeightfield(float[] heightmap, com.jme.math.Vector3f worldScale)
com.jme.scene.Mesh
createJmeMesh()
Does nothing.protected void
createShape()
Instantiate the configured shape in Bullet.void
read(com.jme.export.JmeImporter im)
De-serialize this shape, for example when loading from a J3O file.void
write(com.jme.export.JmeExporter ex)
Serialize this shape, for example when saving to a J3O file.-
Methods inherited from class com.jme.bullet.collision.shapes.CollisionShape
finalize, getDefaultMargin, getMargin, getObjectId, getScale, setDefaultMargin, setMargin, setObjectId, setScale
-
-
-
-
Field Detail
-
heightStickWidth
protected int heightStickWidth
number of rows in the heightfield (>1)
-
heightStickLength
protected int heightStickLength
number of columns in the heightfield (>1)
-
heightfieldData
protected float[] heightfieldData
array of heightfield samples
-
heightScale
protected float heightScale
-
minHeight
protected float minHeight
-
maxHeight
protected float maxHeight
-
upAxis
protected int upAxis
index of the height axis (0→X, 1→Y, 2→Z)
-
flipQuadEdges
protected boolean flipQuadEdges
-
bbuf
protected java.nio.ByteBuffer bbuf
buffer for passing height data to BulletA Java reference must persist after createShape() completes, or else the buffer might get garbage collected.
-
-
Constructor Detail
-
HeightfieldCollisionShape
public HeightfieldCollisionShape()
No-argument constructor needed by SavableClassUtil. Do not invoke directly!
-
HeightfieldCollisionShape
public HeightfieldCollisionShape(float[] heightmap)
Instantiate a new shape for the specified height map.- Parameters:
heightmap
- (not null, length≥4, length a perfect square)
-
HeightfieldCollisionShape
public HeightfieldCollisionShape(float[] heightmap, com.jme.math.Vector3f scale)
Instantiate a new shape for the specified height map and scale vector.- Parameters:
heightmap
- (not null, length≥4, length a perfect square)scale
- (not null, no negative component, unaffected, default=1,1,1)
-
-
Method Detail
-
createCollisionHeightfield
protected void createCollisionHeightfield(float[] heightmap, com.jme.math.Vector3f worldScale)
-
createShape
protected void createShape()
Instantiate the configured shape in Bullet.
-
createJmeMesh
public com.jme.scene.Mesh createJmeMesh()
Does nothing.- Returns:
- null
-
write
public void write(com.jme.export.JmeExporter ex) throws java.io.IOException
Serialize this shape, for example when saving to a J3O file.- Specified by:
write
in interfacecom.jme.export.Savable
- Overrides:
write
in classCollisionShape
- Parameters:
ex
- exporter (not null)- Throws:
java.io.IOException
- from exporter
-
read
public void read(com.jme.export.JmeImporter im) throws java.io.IOException
De-serialize this shape, for example when loading from a J3O file.- Specified by:
read
in interfacecom.jme.export.Savable
- Overrides:
read
in classCollisionShape
- Parameters:
im
- importer (not null)- Throws:
java.io.IOException
- from importer
-
-


Mets' Jacob deGrom 7th in NL to win 2 straight Cy Youngs
by David SchoenfieldNew York Mets ace Jacob deGrom was named the National League Cy Young Award winner Wednesday, receiving 29 of 30 first-place votes. The right-hander is the seventh NL pitcher to win the award at least two years in a row.
Los Angeles Dodgers pitcher Hyun-Jin Ryu, the major league ERA leader, finished second in voting and was the only other player to receive a first-place vote. Three-time Cy Young winner Max Scherzer of the Washington Nationals was third.
DeGrom, 31, joins Randy Johnson, Tim Lincecum, Clayton Kershaw, Scherzer, Greg Maddux and Sandy Koufax on the list of NL back-to-back winners, and he had to rebound from a slow start to the season to capture his second award.
On May 17, deGrom allowed nine hits and seven runs in five innings in a loss to the Marlins. The reigning Cy Young winner was nine starts into his season, and he was 3-5 with a 3.98 ERA.
"I feel like I was trying to better what I did in 2018," deGrom said Wednesday. "I think that was something I struggled with to start this year, was kind of dwelling on what happened last year. Kind of not focusing on the task ahead as much as I probably should have."
He didn't have too many terrible starts after that.
DeGrom kicked back into his 2018 form and posted a 1.89 ERA the rest of the season to finish 11-8 with a 2.43 ERA and a league-leading 255 strikeouts in 204 innings. He's the 20th pitcher in MLB history to win multiple Cy Young Awards and 11th overall to win the award in consecutive seasons.
"It was a dream to play this game and a dream to win one Cy Young," he said. "To win back to back was a goal. It's hard to explain. You set these goals, but it almost doesn't feel real yet."
Because of the slow start, deGrom wasn't quite as dominant as in 2018, when he posted a 1.70 ERA and claimed 29 of 30 first-place votes in the Cy Young voting. Still, in 2019, he led NL pitchers in both Baseball-Reference and FanGraphs WAR, strikeouts and lowest OPS allowed while finishing second in ERA, second in WHIP, third in innings and third in ERA+.
In his final 23 starts, he allowed more than two runs just four times: three runs twice and four runs twice. One of the three-run outings included three unearned runs. He closed the season with a flourish, with three consecutive scoreless starts of seven innings apiece and nine hits allowed in 21 innings.
DeGrom's final start came on the day the Mets were eliminated in the wild-card race. "That would mean a lot. It'd be a huge honor," he said of winning a second Cy Young Award. "I guess you do kind of set personal goals, but tonight we fell short of a team goal. So it's kind of mixed emotions, and nobody in here is real happy that we're eliminated."
| Pitcher, Team | 1st | 2nd | 3rd | 4th | 5th | Tot |
|---|---|---|---|---|---|---|
| Jacob deGrom, Mets | 29 | 1 | - | - | - | 207 |
| Hyun-Jin Ryu, Dodgers | 1 | 6 | 8 | 7 | 3 | 72 |
| Max Scherzer, Nationals | - | 8 | 8 | 6 | 4 | 72 |
| Jack Flaherty, Cardinals | - | 5 | 11 | 6 | 4 | 69 |
| Stephen Strasburg, Nationals | - | 6 | 1 | 9 | 8 | 53 |
| Mike Soroka, Braves | - | - | 1 | - | 6 | 9 |
| Sonny Gray, Reds | - | - | - | - | 4 | 4 |
| Clayton Kershaw, Dodgers | - | - | 1 | - | - | 3 |
| Walker Buehler, Dodgers | - | - | - | 1 | - | 2 |
| Kirby Yates, Padres | - | - | - | 1 | - | 2 |
| Patrick Corbin, Nationals | - | - | - | - | 1 | 1 |
| --Total points on a 7-4-3-2-1 basis | ||||||
| --Baseball Writers' Association of America |
Similar to in his 2018 season, when he won 10 games, deGrom was once again plagued by poor run support. Three times he allowed no runs and didn't get a win. Four times he allowed one run and came away with a no-decision. He allowed two runs in eight starts and went 3-2 in those games.
DeGrom joins three-time winner Tom Seaver as a multiple Cy Young winner in Mets history. R.A. Dickey and Dwight Gooden are also Mets Cy Young winners. DeGrom should have more opportunities to win a third Cy Young Award in a Mets uniform: He signed a five-year, $137.5 million extension in spring training (though the contract includes an opt-out clause after 2022).
Ryu had his best season in the majors in 2019, going 14-5 with a league-best 2.32 ERA. He looked like the Cy Young favorite through Aug. 11, when he was 12-2 with a 1.45 ERA and had allowed more than two earned runs in a game once. In his final starts, however, he went 2-3 with a 5.40 ERA, including two seven-run outings. He pitched fewer innings than deGrom, with a 182⅔, and was less dominant, with 163 strikeouts.
Scherzer, who won back-to-back Cy Youngs with the Nationals in 2016 and 2017, also faded down the stretch, slowed by back and neck issues that popped up again during the World Series. He was 9-5 with a 2.30 ERA at the All-Star break, but he made just one start between July 6 and Aug. 22. In five starts in September, he had a 5.16 ERA. He finished 11-7 with a 2.92 ERA and 243 strikeouts in 172⅓ innings.
Washington's Stephen Strasburg, who led the NL with 18 wins and 209 innings while posting a 3.32 ERA and 251 strikeouts, finished fifth in the voting. Jack Flaherty of St. Louis was fourth.


NDLEA arraigns man for allegedly peddling 967.9kg marijuana
by Agency ReportThe National Drug Law Enforcement Agency on Friday in Lagos State arraigned man, Usman, who allegedly trafficked in 967.9kg of cannabis Sativa (marijuana).
The agency charged Usman on one count of drug trafficking before a Federal High Court.
The suit marked FHC/L/378/2019 is pending before Justice Oluremi Oguntoyinbo.
The Prosecutor, Mr Jeremiah Aernan, alleged that the defendant committed the offence on September 15.
He said that Usman unlawfully transported the large volume of a restricted substance in a bus, from the Eke-Akete area of Ajah, Lagos State.
He noted that cannabis was restricted by law, adding that trafficking in same contravened the provisions of Sections 11(c) of the NDLEA Act of 2004.
The defendant, however, pleaded not guilty to the charge.
The court adjourned the case until February 24, 2020, for trial.
The News Agency of Nigeria reports that the NDLEA Act provides for a penalty of up to life imprisonment for drug trafficking.
(NAN)


Melanie Stuart
Home
(current)
Portfolio
Contact
Portfolio
The No-Brainer-Trainer
Workout-Tracker
ExpressNoteTaker
Whats-For-Dinner
Weather Dashboard
Work Day Scheduler
Password Generator
Code Quiz
Favorite animal
About Me


Jonathan Doe
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.
Lara ZDubli
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.
Clasiner Dave
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.
Forman Cell
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.
Jesusa Lara
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.
Palistire Cale
content writerLorem Ipsum is simply dummy text printing typesetting industry. Lorem Ipsum.


Why Learn Python?¶
Why you should learn Python: (here’s why: http://www.skilledup.com/articles/reasons-to-learn-python/)
very human-readable syntax the clean and concise syntax makes it very easy to understand and to start learning, as well as being much less intimidating than something like C/C++ or Java which include many special characters
automatic memory management while memory management is something that is important to learn, not having to worry about allocating and deallocating memory at first can allow one to focus on the initial core programming concepts
highly expressive semantics writing less code means rapid prototyping and higher efficiency where something that may take a day to write in Python could potentially take a week or more in C/C++ or Java
multi-paradigm language can be used as an object oriented language, an imperative language, or even a functional language
loads of flexibility in applications executables can be easily created for scripting, C code can be easily linked into python interfaces, or python can even be easily embedded within certain languages like C/C++
interactive command line is good for experimenting and debugging
strongly typed language, but offers the flexibility of dynamic typing
highly extensive standard and third-party libraries are very easily accessible; most often there is a library that already does what you need, without reinventing the wheel
well-documented and well-established community
includes many complex data types as built-in standards
tons of great resources and tutorials are available
completely free to use


{% extends "layout.html" %} {% block page_title %} {{ proto.title + ' ' + proto.version }} - Declaration {% endblock %} {% block content %} Declaration You agree: the information you've given is complete and correct as far as you know you'll pay back any money you've been overpaid if you're asked to you'll report changes to your circumstances promptly Declaration Yes No If you do not agree to the declaration, your claim can not be processed. You may report a change in circumstances at any future point by contacting the Industrial Injuries Disablement Benefits team. Warning You could be prosecuted or have to pay a penalty if you deliberately give wrong or incomplete information, don't report changes or don't repay any money you owe when asked. Form Navigation {% endblock %} {% block body_end %} {{ super() }} {% endblock %}
If you do not agree to the declaration, your claim can not be processed.
You may report a change in circumstances at any future point by contacting the Industrial Injuries Disablement Benefits team.


I love to do Coding , Reading ,Travelling Right Now I am a Open Source Contributer. and I am Preparing myself to be a Great Software Engineer.
I made some projects in Pyhton , HTML , CSS , JavaScript and trying to be a good web Developer .
See the Pen wvowjZM by ayush (@pro-teen) on CodePen.


Welcome to my new blog. It is very much a work in progress but I hope to use this as a way of sharing the more technically focussed testing lessons I learn. Hopefully it will be of use to someone else.
Expect to see articles on performance testing and test automation, in particular framework design and building maintainable test packs as this is something I have a strong interest in.
I intend to supplement the blog (or maybe it's the other way around!) with libraries on Github. These are libraries I have written in my own time to solve real problems identified during my day job.
All my useful code is published under the TestWorx GitHub organisation. I decided to create this to separate anything useful that I wanted to share, from repositories I have forked or code that isn't considered functional that you might find under my personal account.


Library Usage¶
Leggiero¶
Leggiero uses following libraries:
A single-producer, single-consumer lock-free queue for C++ 1.0.3 under Simplified BSD License
moodycamel::ConcurrentQueue 1.0.2 under Simplified BSD License
AHEasing 1.3.1 under DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
libb64 1.2 on Public Domain
Crypto++ 8.5.0 under Boost Software License 1.0 and other attached licenses in the repository
curl 7.75.0 under MIT/X like license copied into the repository
{fmt} 7.1.3 under a MIT-like permissive license copied into the repository
FreeType 2.10.4 under FreeType License (Windows binary from https://github.com/ubawurinna/freetype-windows-binaries )
libjpeg-turbo 2.0.90 under zlib License
minimp3 under CC0-1.0 License
MetalANGLE GLES3 0.0.6 under BSD 3-Clause License
OpenAL soft 1.21.1 under LGPLv2 license via dynamic linking
oboe 1.5.0 with modification of issue https://github.com/google/oboe/issues/1148 under Apache 2.0 License
Ogg 1.3.4 under BSD License
Vorbis 1.3.7 under BSD License
OpenGL Mathematics (GLM) <IP_ADDRESS> under MIT License
OpenSSL 1.1.1j under OpenSSL License and Original SSLeay License
libpng 1.6.37 under libpng License
PowerVR SDK R20.2-v5.6 under MIT License
POSIX Threads for Windows 3.0.0 under Apache License - Version 2.0
TinyXML-2 8.0.0 under zlib License
UTF8-CPP 3.1.2 under Boost Software License - Version 1.0
zlib 1.2.11 under zlib License
Redist binary of OpenAL 1.1 under the license attached in the repository
Parts of The Android Open Source Project under Apache License, Version 2.0
LegToy¶
In LegToy project, some materials from others' works are used.
Exo 2(font) under SIL OPEN FONT LICENSE Version 1.1
Noto Sans(font) under Apache License, Version 2.0
《The Cask of Amontillado》(article) by Edgar Allan Poe(1846). Now in the Public Domain.
Nineteen(song) by debuggerP(username) (proprietary material)
Icon by Lee, Jihyung from Project SSR (proprietary material)
UI visual resources by Seo, Haeng Rak from <Protocol:hyperspace Diver> (proprietary material)


Survey Form
Let us know how we can improve freeCodeCamp =)
Name:
E-mail:
Age:
What's your profession:
Developer
Front-End Developer
Back-End Developer
Fullstack
Do you recommend fCC?
Yes
No
Maybe
What would you like to learn more?
Front-End
Back-End
Web-Design
SQL
Any recommendations or sugestions?
Submit


{% extends 'layout.html' %} {% block body %} {% include 'includes/_flashmsg.html' %}
We will send a passwrod reset otp to your email


The module altgraph.Graph provides a class Graph that represents a directed graph with N nodes and E edges.
Constructs a new empty Graph object. If the optional edges parameter is supplied, updates the graph by adding the specified edges.
Alle of the elements in edges should be tuples with two or three elements. The first two elements of the tuple are the source and destination node of the edge, the optional third element is the edge data. The source and destination nodes are added to the graph when the aren’t already present.
Return a list of all nodes connected by outgoing edges.
Return a list of all nodes connected by incoming edges.
Returns a list of nodes connected by an incoming or outgoing edge.
Return a list of nodes where the successors (based on outgoing edges) of any given node apear in the sequence after that node.
Return a list of nodes where the successors (based on incoming edges) of any given node apear in the sequence after that node.
Return a subgraph consisting of the breadth first reachable nodes from start_id based on their outgoing edges.
Return a subgraph consisting of the breadth first reachable nodes from start_id based on their incoming edges.
Yield nodes in a depth first traversal starting at the start node.
If end is specified traversal stops when reaching that node.
If forward is True (the default) edges are traversed in forward direction, otherwise they are traversed in reverse direction.
Yield the associated data for nodes in a depth first traversal starting at the start node. This method will not yield values for nodes without associated data.
If end is specified traversal stops when reaching that node.
If condition is specified and the condition callable returns False for the associated data this method will not yield the associated data and will not follow the edges for the node.
If forward is True (the default) edges are traversed in forward direction, otherwise they are traversed in reverse direction.
Returns a list of nodes starting at start in some bread first search order (following outgoing edges).
When end is specified iteration stops at that node.
Returns a list of nodes starting at start in some bread first search order (following incoming edges).
When end is specified iteration stops at that node.
Computes the hop distance to all nodes centered around a specified node.
First order neighbours are at hop 1, their neigbours are at hop 2 etc. Uses forw_bfs() or back_bfs() depending on the value of the forward parameter.
If the distance between all neighbouring nodes is 1 the hop number corresponds to the shortest distance between the nodes.
Typical usage:
>>> print graph.get_hops(1, 8)
>>> [(1, 0), (2, 1), (3, 1), (4, 2), (5, 3), (7, 4), (8, 5)]
# node 1 is at 0 hops
# node 2 is at 1 hop
# ...
# node 8 is at 5 hops
Returns True iff every node in the graph can be reached from every other node.
Returns the local clustering coefficient of node.
The local cluster coefficient is the proportion of the actual number of edges between neighbours of node and the maximum number of edges between those nodes.


Enyim Memcached Version History
Version 2.10
- Fixed Issue #65 - Getting multiple keys twice in a row fails.
Version 2.9
- Fixed Issue #48 - Allow the socket pool use maxPoolSize number of sockets instead of (max - min).
- Fixed the ObjectDisposedException coming from the DefaultNodeLocator.
- Multi-get now uses IOCP instead of threads from the ThreadPool. Performance should be the comparable or better (depending on the amount of items and size).
- New DataContractSerializer to enable caching of EntityFramework or LINQ to SQl entitites. See also Issue #54.
- Items should always be hashed to the same node when using the KetamaNodeLocator. (5fb9bfefb5bf1d9b5849)
- CasResult now contains the status code of Set/Add/Replace operations. (b8cb1639d600dbca6950)
- Expirations specified in TimeSpans are not limited to 30 days.
Version 2.8
- Performance monitoring support. The included DefaultPerformanceMonitor will use Windows performance counters. See the wiki about configuring this feature.
- Fixed a race condition in the InterlockedQueue. See Bug #36. Thanks to danp60.
- Now it's possible to change the timeout for acquiring a socket from a full pool. This can help reduce the impact of a dead node on yor application. See the memached/socketPool element on the wiki.
- Fixed Issue #37 - NLogFactory class name incorrect.
- Added some workarounds for undisposed clients blocking IIS application pool recycles causing 100% CPU spikes.
Version 2.7
- Removed log4net from the project and made the log provider configurable. See http://github.com/enyim/EnyimMemcached/wiki/Configure-Logging
- Fixed the config section to default to the Binary protocol. (The MemcachedClientConfiguration was already doing this for some time.)
- The client no longer checks if objects are larger than 1MB, but lets the server sort it out.


- Uid - Class in com.knowgate.stringutils
-
Functions for creating universal unique identifiers
- Uid() - Constructor for class com.knowgate.stringutils.Uid
-
- Update(MD5State, byte[], int, int) - Method in class com.knowgate.encryption.MD5
-
Updates hash with the bytebuffer given (using at maximum length bytes from
that buffer)
- Update(byte[], int, int) - Method in class com.knowgate.encryption.MD5
-
Plain update, updates this object
- Update(byte[], int) - Method in class com.knowgate.encryption.MD5
-
Plain update, updates this object with offset zero
- Update(byte[]) - Method in class com.knowgate.encryption.MD5
-
Updates hash with given array of bytes
- Update(byte) - Method in class com.knowgate.encryption.MD5
-
Updates hash with a single byte
- Update(String) - Method in class com.knowgate.encryption.MD5
-
Update buffer with given string.
- Update(int) - Method in class com.knowgate.encryption.MD5
-
Update buffer with a single integer (only & 0xff part is used, as a byte)
- urlEncode(String) - Static method in class com.knowgate.stringutils.Slugs
-
Return text enconded as an URL.
- USD - Static variable in class com.knowgate.currency.CurrencyCode
-


His father gave Matthew Carter a window into the world of literature and history, and provided him with an opportunity before going to school at Oxford. Matthew Carter took an internship for a year at the Joh. Enschedé type foundry. “During a teenage stint in the Netherlands, he trained with an eccentric designer to cut typefaces by hand, a process that involves working at two or three removes from the final cast-metal product. Such training was unusual even at the turn of the 20th century, when machine-aided cutting was the norm, but Mr Carter counts it as invaluable” (The Most-Read Man in the World, 2010).
The most-read man in the world. (2010, December 02). Retrieved April 02, 2017, from http://www.economist.com/blogs/babbage/2010/12/doyen_type_design
It was at the Joh. Enschedé type foundry that Carter was introduced to punchcutting. Punchcutting is a method where moulds were used to cast metal type and was considered a traditional approach used by artisans. Sadly the method was in decline long before the 1950’s and Carter considered himself lucky to be one of the last people in Europe to have been trained in the technique. He became enamoured with the experiences and skills he had during his time at the foundry and decided to move into a the graphic design and printing sector. “I was supposed to start my studies of medieval English, but I decided I couldn’t face it. I expected to face a problem at home, because my father was a real academic, and had studied at the same Oxford college that had accepted me. To my surprise and relief my parents were really understanding” (MyFonts: Creative Characters, 2013).
The Joh. Enschedé type foundry was an extremely long lived company and had a rich history of printing and creating conservative typefaces for books and other mediums. “Most of the famous type designers of the first half of the 20th century were first and foremost either letterers or book designers. There were only a handful of individuals who made their living exclusively from designing type and, with the notable exception of Frederic W. Goudy, they all worked for type foundries” (An Interview With Matthew Carter, 2011).
MyFonts: Creative Characters interview with Matthew Carter, October 2013. (n.d.). Retrieved April 02, 2017, from http://www.myfonts.com/newsletters/cc/201310.html
An Interview With Matthew Carter. (2011, March 02). Retrieved April 02, 2017, from http://www.printmag.com/interviews/an-interview-with-matthew-carter/