The top and uptime utilities can be used to monitor the system CPU load:
top ... uptime ...
The top and iostat utilities can be used to monitor the system I/O load:
top ... iostat ...
If your LDM is a node on the IDD and is a gateway LDM, then the most convenient way to monitor data-product latency is to go to the IDD rtstats webpages, select your computer, find the feedtype in which you're interested, and then select the latency plot.
The ldmadmin utility can be used to monitor the data-product latency of incoming data:
The output is in the formldmadmin watch (Type ^D or ^C when finished) ...
MMM DD hh:mm:ss pqutil: nbytes YYYYMMDDhhmmss.sss ft seqno pidwhere:
By comparing the two timestamp fields, one can get an idea of the data-product latency.
- MMM DD hh:mm:ss
- is the month, day, hour, minute, and second when the line was printed.
- nbytes
- is the size of the data-product in bytes.
- YYYYMMDDhhmmss.sss
- is the data-product creation-time of the data-product.
- ft
- is the feedtype of the data-product.
- seqno
- is the sequence number of the data-product (and usually unimportant).
- pid
- is the data-product identifier of the data-product.
The pqmon utility can be used to monitor the product-queue. For example
The above shows 70301 data-product slots that each refer to a data-product (nprods); 12 slots refer to gaps (i.e., contiguous empty space) in the product-queue (nfree); and 417968 slots that refer to nothing at all (nempty). The total number of slots is 488281 (nprods + nfree + nempty). The maximum number of slots that refer to data-products since the product-queue was created is 234870 (maxprods). Similarly, the maximum number of slots that reference a gap is 1293 (maxfree) and the minimum number of empty slots is 253410 (minempty). The size of the largest gap currently in the product-queue is 92040 bytes (maxext) and the age of the oldest data-product in the queue is 2867 seconds (age). Because this product-queue is known to have been active for quite some time (several months) the large number of empty slots means that it was created with an unnecessarily large parameter specifying the maximum number of data-products. The overhead of managing the queue could be slightly reduced by recreating the queue with a smaller number of slots (e.g., 250000).pqmon Oct 27 16:48:28 pqmon: Starting Up (19969) Oct 27 16:48:28 pqmon: nprods nfree nempty nbytes maxprods maxfree minempty maxext age Oct 27 16:48:28 pqmon: 70301 12<PHONE_NUMBER>781144<PHONE_NUMBER><PHONE_NUMBER>0 2867 Oct 27 16:48:28 pqmon: Exiting
The ldmping utility can be used to determine the availability of an upstream LDM. For example
where:ldmping -i 0 hostname MMM DD hh:mm:ss State Elapsed Port Remote_Host rpc_stat MMM DD hh:mm:ss state time port hostname rpcMsg
If the state of the upstream LDM is anything other than RESPONDING, then an LDM on the computer on which the ldmping utility was executed will not be able to receive any data-products.
- MMM DD hh:mm:ss
- is the current month, day, hour, minute, and second.
- state
- is the state of the upstream LDM:
- NAMED
- The hostname couldn't be converted into an IP address.
- SVC_UNAVAIL
- An LDM is not running on the upstream host on the expected port (both port 388 and the upstream host's portmapper will have been tried).
- ADDRESSED
- An LDM is running on the upstream host on the expected port but we're not allowed to connect to it (i.e., there's no ALLOW entry for our LDM in the configuration-file of the upstream LDM).
- RESPONDING
- An LDM is running on the upstream host on the expected port and we're allowed to connect to it.
- time
- is the amount of elapsed time.
- port
- is the port number. This is only valid if the state is RESPONDING.
- hostname
- is the name of the upstream host.
- rpcMsg
- is the associated message (if any) from the RPC layer.
If an ldmping to the upstream LDM shows no problems, then the notifyme utility can be used to determine what an downstream LDM connecting to the upstream LDM should receive:
notifyme -vl- -h hostname
You can monitor a downstream LDM process that is executing on the local system by setting its logging-level to verbose, at which time it will print the data-product metadata of every data-product that it receives to the LDM logfile. The logging-level of a downstream LDM process can be changed by sending it a SIGUSR2 signal via the kill utility, e.g.,
where pid is the process-ID of the downstream LDM process, which can be discovered by searching the LDM logfiles for the relevant "Starting Up" message, e.g.,kill -s USR2 pid
cd $HOME/logs grep -Fi 'Starting Up' `ls -rt ldmd.log*` ...
You can monitor an upstream LDM process that is executing on the local system by setting its logging-level to debug, at which time it will print the data-product metadata of every data-product that it sends to the LDM logfile (along with other debugging information). The logging-level of an upstream LDM process can be changed by sending it a SIGUSR2 signal via the kill utility, e.g.,
where pid is the process-ID of the upstream LDM process, which can be most easily discovered via the uldbutil utility:kill -s USR2 pid
or, less conveniently, by searching the LDM logfiles for the relevant "Starting Up" message:uldbutil ...
cd $HOME/logs grep -Fi 'Starting Up' `ls -rt ldmd.log*` ...
The non-standard utility netstat(1) is, nevertheless, available on many UNIX� platforms and can be used to show the state of network connections. For example, here is the output of a netstat(1) command on a computer at the Unidata Program Center that's running FreeBSD:
This output assumes that the string "ldm" was associated with port 388 during the LDM Preinstallation Steps. You might have to adjust the above command to suit your operating system.netstat -a -f inet -p tcp | awk 'NR<=2 || /ldm/' Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 emo.4392 flip.ldm TIME_WAIT tcp4 0 0 emo.ldm storm.sjsu.edu.39415 TIME_WAIT tcp4 0 0 emo.ldm storm.sjsu.edu.39413 TIME_WAIT tcp4 0 33304 emo.ldm storm.sjsu.edu.36000 ESTABLISHED tcp4 0 33304 emo.ldm storm.sjsu.edu.35999 ESTABLISHED tcp4 0 44 emo.ldm storm.sjsu.edu.35998 ESTABLISHED tcp4 0 928 emo.ldm storm.sjsu.edu.35997 ESTABLISHED tcp4 0 33304 emo.ldm storm.sjsu.edu.35996 ESTABLISHED tcp4 0 33304 emo.ldm storm.sjsu.edu.35995 ESTABLISHED tcp4 0 33304 emo.ldm storm.sjsu.edu.34569 ESTABLISHED tcp4 0 5828 emo.ldm storm.sjsu.edu.34562 ESTABLISHED tcp4 0 44 emo.ldm storm.sjsu.edu.34560 ESTABLISHED tcp4 0 23900 emo.ldm storm.sjsu.edu.34561 ESTABLISHED tcp4 0 22240 emo.ldm solon.meteoro.uf.2861 ESTABLISHED tcp4 0 44 emo.ldm bigbird.tamhsc.e.50860 ESTABLISHED tcp4 0 0 emo.ldm bigbird.tamhsc.e.50858 ESTABLISHED tcp4 0 8640 emo.ldm bigbird.tamhsc.e.50857 ESTABLISHED tcp4 0 0 emo.ldm bigbird.tamhsc.e.50856 ESTABLISHED tcp4 0 44 emo.ldm bigbird.tamhsc.e.50855 ESTABLISHED tcp4 0 44 emo.ldm bigbird.tamhsc.e.50854 ESTABLISHED tcp4 0 0 emo.1066 desi.ldm ESTABLISHED tcp4 0 28 emo.1065 jackie.ldm ESTABLISHED tcp4 0 0 emo.1064 thelma.ucar.edu.ldm ESTABLISHED tcp4 0 0 emo.1063 thelma.ucar.edu.ldm ESTABLISHED tcp4 0 28 emo.1062 shemp.ldm ESTABLISHED tcp4 0 0 emo.1061 desi.ldm ESTABLISHED tcp4 0 0 emo.1060 jackie.ldm ESTABLISHED tcp4 0 0 *.ldm *.* LISTEN
The last line of the output shows the top-level ldmd listening for TCP connections on port "ldm" (alias 388). The output also shows nineteen regular upstream LDMs (identified by having "emo.ldm" as the local address). The connections of two of these upstream LDMs are in TIME_WAIT and the associated processes should terminate soon. Seven active downstream LDMs are also shown near the end of the output. Lastly, the connection whose local address is "emo.4392" is special. This connection is due to the rtstats(1) process sending statistics to the Unidata Program Center computer "rtstats.unidata.ucar.edu" (alias "flip").
If your computer system has the top, netstat, uptime, and vmstat utilities installed, and you have configured the /metrics parameters in the LDM registry correctly, then you can periodically accumulate LDM performance metrics in a file for subsequent display and analysis by executing the addmetrics command of the ldmadmin utility from a crontab entry. See Edit the LDM user's crontab(1) file.
Additionally, if your computer system has the gnuplot utility installed, then you can plot the LDM performance metrics by executing the plotmetrics command of the ldmadmin utility.
The LDM logfile is your friend. If you encounter a problem, then one of the first things you should do is to look at it. Problems can often be diagnosed by comparing corresponding logfile entries from the upstream LDM and the downstream LDM.


Tree
- Set of nodes and links that express the parent-to-child relationship. Where each node:
- Is uniquely labeled in the tree.
- Contains one or more numeric variables with values over time.
- Contains one or more categorical attributes that may have more than one value.
Types of trees
Cluster Dendograms Radial
- Data: Trees
- Tasks: Summarize common connections.
- Considerations:
- Harder to read
- Better space usage
Phylogenetic Trees
- Data: Tree of Life
- Tasks: Summarize common connections. Identify Clusters.
- Considerations:
- Harder to read
- Also works with other clusters data
Collapsible Tree
- Data: Tree/Network
- Tasks: Navigate connections. Locate nodes
- Considerations:
- Great for larger datasets
Icicle Tree
- Data: Tree
- Tasks: Summarize values/hierarchy. Navigate links
- Considerations:
- Uses more space than the treemap
- Better for labels
Icicle Tree
- Data: Tree
- Tasks: Summarize values/hierarchy. Navigate links. Compare values in leaves
- Considerations:
Sunburst Tree
- Data: Tree
- Tasks: Summarize values/hierarchy. Navigate links
- Considerations:
- Radial values are confusing
- Fancy yet difficult animation


{%include 'nav.html'%}
Register with us to manage your customers' bills effectively.
See all the bills you billed your customer on each transaction and track payments.
Generate Bill
Upload Bill
Customer Bills


Grade 4 pupil ‘Batang Henyo ng Caloocan’
by Edd ReyesA Grade 4 student caught the attention of Caloocan City Mayor Oscar “Oca” Malapitan after the boy was named “Batang Henyo ng Caloocan” due to his knowledge of existing laws.
“Nakakatuwa sapagkat sa murang edad ay nagpapamalas na siya ng kagalingan at interes pagdating sa batas,” Mayor Oca said when Dwight Albajeso was chosen the genius kid of Caloocan.
Albajeso, together with his father Principe, went to the city hall on Friday to paid a courtesy call on the city chief executive.
Principe told the Mayor that his son wanted to become a lawyer someday to help the oppressed and victims of violence.
“Nawa’y isa lamang si Dwight sa mga bata sa ating lungsod na magiging matagumpay sa hinaharap. Asahan ninyo na tayo’y patuloy na magtatrabaho para bigyan ng magandang kinabukasan ang mga bata sa Caloocan,” Mayor Oca said.


>>
<<
Usr
Pri
JfC
LJ
Phr
Dic
Voc
!:
Help
User
Directory Paths in J
Directory Foreigns
1!:43 y Query Current Working Directory
1!:44 y Set Current Working Directory
Folder Tables
JFE defines BINPATH_z_ as the full path to the J bin folder that contains JFE, JE, and profile.ijs.
profile.ijs, before it boots up the rest of the standard library, defines SystemFolders_j_ as a 2-column table of folder names and paths.
UserFolders_j_ is a similar table defined from the user's configuration script config.ijs. As much as possible it should be defined relative to the names in SystemFolders_j_. UserFolder names should start with an upper-case letter.
Directory Verbs
The profile defines the following verbs in the z locale:
jpath converts argument to a full path name
jcwdpath return path in current working directory
These verbs are used to provide the full pathname for files, and to ensure that the path separator is correct for the host operating system.
jpath
Verb jpath references the folder tables. It converts strings with folder names preceded with ~, for example ~Mywork. The folder name is read up to the first path separator or the end, for example:
jpath '~temp'
c:\j807-user\temp
jpath '~temp\t2.ijs'
c:\j807-user\temp\t2.ijs
jpath '~JPB\classes\board\init.ijs'
d:\jss\jpb\source\classes\board\init.ijs
Where the folder name is preceded with ~., for example ~.Mywork, this refers to the corresponding parent directory, for example:
jpath '~.JPB\dev\regtest.ijs'
d:\jss\jpb\dev\regtest.ijs
jpath '~..JPB\release\pbr.ijs'
d:\jss\release\pbr.ijs
Verbs load, require and script call jpath, and so recognize ~path names, e.g.
load '~JPB/classes/board/init.ijs'
require '~user/projects/run/run.ijs'
>>
<<
Usr
Pri
JfC
LJ
Phr
Dic
Voc
!:
Help
User


{# wiki/action_mv_back.html ~~~~~~~~~~~~~~~~~~~~~~~ This template is not a full HTML page. Intead it is flashed to the show action. Djangos messages framework allows this to be in a cookie, so keep it small. :copyright: (c) 2013-2019 by the Inyoka Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. #} {% import 'macros.html' as macros %} {% call macros.outer_form(csrf_token(), action=page|url('mv_back')|e, submit_label=_('Move'), manually_rendered=True) %}
{% trans %}Are you sure you want to move the page into the wiki?{% endtrans %}
{% endcall %}


Your Appointments
{% for appointment in appointmentdb %} {% empty %}No appointments. Make an appointment Here.
Your Info
Name: {{ userinfo.name }}
Age: {{ userinfo.age }}
Gender: {{ userinfo.gender }}
Address: {{ userinfo.address }}
Income: ${{ userinfo.income }}


Editing {{product.product_name}}
{{ error.message }}
Product Picture
%
Product Name is required.
Short Product Description
Short Description is required.
Long Product Description
Full Description is required.
Choose a Product Category
Category is required.
Product Price
Price is required.
Update


SSW Mini Update - Coming events
|
|
|
|
Special Offer - Upgrading & Migrating from Access to SQL Server &
.NET
|
|
1 Day to go!
20th and 21st July 2005
9:00am - 5:00pm -
Directions to SSW
The Goal: To convert an Access application to .NET Windows Forms and Reporting Services
powered by a SQL Server database.
The entire process of converting from Access to an enterprise level solution will be covered in
two days, using a modified version of Northwind
as an example.
Special
offer - 2 for 1 entry if
you call before 7pm today. Limited
places remain so be quick
For more information please contact:
Scott McPhillips on (02) 9953 3000
or
email
<EMAIL_ADDRESS>|
|
|
|
|
.NET User Group
Additional presentation announced - Microsoft MapPoint Web
Services
|
|
1 Day to go!
20th July 2005
6:00pm - 9:30 - Directions to
Microsoft
In addition to
Adam's and Jeff Alexander's
talks,
Andrew Coates will be
discussing Microsoft MapPoint Web Services.
The Microsoft MapPoint Web Service is a hosted, programmable Web service that application
developers can use to integrate high-quality maps, driving directions, distance calculations,
proximity searches, and other location intelligence into applications, business processes, and Web
sites. This session will introduce you to the 4 services available and will show
you how to integrate the vast amount of geographic data into your application. You will also learn
about uploading your own data to the MapPoint server so it can be integrated with
the base geographic data sets.
See You There /
Sorry I can't make it
|
|
|
|
|
.NET User Group
**Special Additional
Event **Application Compatibility with .NET Framework 2.0
|
|
15 Days to go!
Wednesday 3 August 2005
5:30pm - 7:30pm - Directions to
Microsoft
The Microsoft .NET Framework 2.0 builds on the success of the Microsoft .NET Framework 1.0 and 1.1
to provide the best runtime environment for Web and Microsoft Windows client applications.
Microsoft's compatibility goal for .NET Framework 1.1 applications is that they should work
smoothly on the .NET Framework 2.0 except for a set of documented changes.
Please join Kit George and
Vinaya Bhushana Gattam Reddy , Program Manager and Developer
from the Common Language Runtime team, as they walk through
the most frequently
encountered of these issues, best strategies for avoidance and their work arounds.
See You There /
Sorry I can't make it
|
|
|
|
|
SSW August Tech Breakfast
Update
What's new in Reporting Services 2005 and Developing Custom Report
Items
|
|
31 Days to go!
Friday 19 August 2005 08:00am till 11:00am - Directions to SSW
Reporting Services makes viewing your data a breeze and SQL Server 2005 brings database reporting
to a whole new level. In this session you will learn how to take full advantage
of the new Report Designer that is integrated into Visual Studio 2005. We will discuss the core
product improvements, reporting improvements, the better integration, and the
richer developer experience. You will also discover how to create and implement Custom Report
Items - custom data visualization controls that allow you to make powerful reports.
Book Now
|
|
|
|
|
ASP.NET Beta 2 Hosting now available at SSW
|
|
Advertisement:
To ensure we remain one of
Australia's premier hosting
companies, SSW takes pride in announcing we now offer ASP .NET 2.0 Beta 2 hosting.
More...
YOu can advertise here as well, we
get 66,000 unique visits a month.
More...
|
|


Quests
Characters
Upload
How To
Log Out
Lobby
Dungeon Master
Created Quests
Create New
Random
- OR -
Create
Player
Player Quests
Join New
Need valid lobby
Character
Must select a character.


|
Class Summary |
| AnnotatedMapData |
The annotated SVG map and associated data. |
| AnnotatedMapDescriptor |
A compact description of the satellite data associated with a GLAMM-annotated SVG map - it's effectively a data transfer object. |
| Cart |
A cart for holding ordered sets of compounds, genes, pathways, reactions, and samples, as selected by the user. |
| Citation |
Representation of an external data source's citation |
| Compound |
Representation of a Compound |
| Experiment |
Representation of an Experiment - wraps a collection of Samples with the same experiment id. |
| Gene |
Representation of a Gene |
| Measurement |
A measurement, typically associated with a sample. |
| MetabolicNetwork |
The metabolic network graph associated with a GLAMM annotated SVG map. |
| MetabolicNetwork.MNNode |
Representation of a node in a metabolic network. |
| Organism |
Model class for Organism. |
| Organism.OrganismComparator |
Comparator for listing Organism names alphabetically. |
| Pathway |
Model class for Pathways - ordered lists of reactions. |
| Reaction |
Model class for reactions. |
| Reaction.Participant |
Internal class for reaction participants. |
| Sample |
Model class for Sample - the basic unit of experimental data. |
| User |
Model class for users. |


| I l@ve RuBoard |
There is no real need to talk to modems these days, because Windows provides a standard set of dialogs and APIs for making and breaking dial-up connections. These are collectively known as Remote Access Services, or RAS for short. Users can create and save connections that specify many things, including the number to dial, usernames and passwords, and network protocols and settings.
The dialogues vary considerably between Windows 95, 98, and NT, but the principles under the hood are the same. Windows thinks in terms of a phonebook. NT can have many phonebooks, stored in files with extension PBK; on Windows 95 and 98 there is a single default phonebook. The machine in Figure 19.1 has three entries.
The win32ras module supplied with PythonWin provides a number of functions to manipulate these. EnumEntries() returns a list of tuples with the names of the entries in the phonebook:
>>> import win32ras >>> win32ras.EnumEntries() # what is in the phonebook? [('Assi Modem Pool',), ('Demon',), ('Demon Private',)] >>> win32ras.EnumConnections() # show what's active now [] >>>
To make a connection, you need to specify a tuple of up to six strings. This matches the RASDIALPARAMS structure in Windows. The values are:
Entry name
Phone number
Callback number (used if you are dialing an NT server configured to call you right back)
Username for the remote network
Password for the remote network
Domain name for the remote network (only for NT)
You can obtain such a list from an existing phonebook entry with the GetEntryDialParams(PhoneBook, EntryName) function. This displays some entries but hides passwords for obvious reasons:
>>> params = win32ras.GetEntryDialParams(None, 'Demon Internet') >>> params (('Demon Internet', '', '', 'username', '', ''), None)
However, in most cases you just want to make a call, so you can provide the attributes you need yourself. Let's dial up an Internet provider, specifying the name of the phonebook entry to use:
>>> import win32ras >>> myParams = ('Demon Internet','0845-3535666','', \ 'username','password','') >>> (hras, success) = win32ras.Dial(None, None, myParams, None) >>> # do your stuff on the network now >>> win32ras.HangUp(hras) >>>
When you hit Return after Dial, Windows goes through its usual connection procedure, and control is returned to Python only after a connection is made or an error has occurred. If success is zero or greater, you can assume the connection works.
It's also possible to supply a callback function as the fourth argument to the Dial() function; this is called whenever a RAS event occurs, such as a successful connection, the line being dropped, or an error. See the win32ras documentation in the PythonWin help file for more details.
A typical use for RAS would be writing a script to connect at various times of the day, and conversely to ensure that connections are brought down again after a certain amount of time. What you can do when you get connected depends on the type of network, which is most easily specified in the various dialogs for the phonebook entry. If dialing into a corporate NT network, you could begin mapping network drives after connecting; with a TCP/IP network, you can start using Python's many TCP/IP libraries to automate web, email and FTP operations.
| I l@ve RuBoard |


NEW QUESTION
[NEW QUESTION] to get a question, [ASK] to send to Quizzers
ASK
Who Answered
Results
RESET ALL


When the motor power supply of controller suddenly falls from 50V to 24V,Then due to sudden change in voltage avalanche occurs in the mosfets and causes them to break apart.
Using a free wheeling diode can help avoid avalanche
the p-n junction acting as a diode no longer
blocks voltage
The power dissipation increases temperature, thus
increasing RB, since silicon resistivity increases with
temperature.
This strong electric field causes maximum current flow in
close proximity to the parasitic BJT,
Sufficient voltage drop
When the voltage drop is sufficient
to forward bias the parasitic BJT, it will turn on with
potentially catastrophic results, as control of the switch is
lost.
During avalanch the energy produced should be below 13 mJ for IRF540N(from the datasheet).From the above graph and below eq-1 we have avalanch energy (assuming motor inductance to be 3mH and current to be 10Amps measured during experiment).
This equals to 16mJouls, which is bigger than13mJouls as ber datasheet.Hence the mosfet avalanche


| Modifier and Type | Method and Description |
|---|---|
ECCurve |
X9ECParameters.getCurve() |
ECCurve |
X9Curve.getCurve() |
| Modifier and Type | Method and Description |
|---|---|
int |
X9IntegerConverter.getByteLength(ECCurve c) |
| Constructor and Description |
|---|
X9Curve(ECCurve curve) |
X9Curve(ECCurve curve,
byte[] seed) |
X9ECParameters(ECCurve curve,
ECPoint g,
BigInteger n) |
X9ECParameters(ECCurve curve,
ECPoint g,
BigInteger n,
BigInteger h) |
X9ECParameters(ECCurve curve,
ECPoint g,
BigInteger n,
BigInteger h,
byte[] seed) |
X9ECPoint(ECCurve c,
ASN1OctetString s) |
| Modifier and Type | Method and Description |
|---|---|
ECCurve |
ECDomainParameters.getCurve() |
| Constructor and Description |
|---|
ECDomainParameters(ECCurve curve,
ECPoint G,
BigInteger n) |
ECDomainParameters(ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h) |
ECDomainParameters(ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h,
byte[] seed) |
| Modifier and Type | Method and Description |
|---|---|
static ECCurve |
EC5Util.convertCurve(EllipticCurve ec) |
| Modifier and Type | Method and Description |
|---|---|
static EllipticCurve |
EC5Util.convertCurve(ECCurve curve,
byte[] seed) |
static ECPoint |
EC5Util.convertPoint(ECCurve curve,
ECPoint point,
boolean withCompression) |
| Modifier and Type | Method and Description |
|---|---|
ECCurve |
ECParameterSpec.getCurve()
return the curve along which the base point lies.
|
| Constructor and Description |
|---|
ECNamedCurveParameterSpec(String name,
ECCurve curve,
ECPoint G,
BigInteger n) |
ECNamedCurveParameterSpec(String name,
ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h) |
ECNamedCurveParameterSpec(String name,
ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h,
byte[] seed) |
ECNamedCurveSpec(String name,
ECCurve curve,
ECPoint g,
BigInteger n) |
ECNamedCurveSpec(String name,
ECCurve curve,
ECPoint g,
BigInteger n,
BigInteger h) |
ECNamedCurveSpec(String name,
ECCurve curve,
ECPoint g,
BigInteger n,
BigInteger h,
byte[] seed) |
ECParameterSpec(ECCurve curve,
ECPoint G,
BigInteger n) |
ECParameterSpec(ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h) |
ECParameterSpec(ECCurve curve,
ECPoint G,
BigInteger n,
BigInteger h,
byte[] seed) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ECCurve.F2m
Elliptic curves over F2m.
|
static class |
ECCurve.Fp
Elliptic curve over Fp
|
| Modifier and Type | Method and Description |
|---|---|
ECCurve |
ECPoint.getCurve() |
| Constructor and Description |
|---|
ECPoint(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression) |
Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y)
Create a point which encodes with point compression.
|
Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression)
Create a point that encodes with or without point compresion.
|
Copyright © 2015. All rights reserved.


Are you an Opensource lover and want to come out of your comfort zone to connect and support different global Opensource organization? If yes, you are at a right place.
Are you an organization and looking forward to spread a word? No doubt, you are at the right place.


COVID-19 Fake News on Twitter
David Lazer, Damian J. Ruck, Alexi Quintana, Sarah Shugars, Kenneth Joseph, Nir Grinberg, Ryan J. Gallagher, Luke Horgan, Adina Gitomer, Aleszu Bajak, Matthew A. Baum, Katherine Ognyanova, Hong Qu, William R. Hobbs, Stefan McCabe, Jon Green
A 50-State COVID-19 Survey, 2020
Abstract
The COVID-19 pandemic created an unprecedented disruption of everyday life in America that has been exacerbated by the infodemic of COVID-19 misinformation spread on social media. In this report, we examine the tweets of 1.6 million registered American voters to ask: who is sharing COVID-19 fake news and what are they sharing? We find that older people and Republicans are more likely to share URLs from fake news web domains. In addition, we show that the most shared fake news web domain is The Gateway Pundit, which received far more shares than even the second most popular fake news domain.


--- post_id: /transitio-clinic date: 2010-05-18 08:33 return_url: '2009-10-11-transitio-clinic.html' name: '22 lcd monitor' email<EMAIL_ADDRESS>comment: '
Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.
' ---


all narratives imply a world with spatial extension, even when spatial information is withheld. so what kinds of processes are there?
bakhtin’s polysemic concept of chronotope: how configurations of time and space are represented in language and discourse (bakhtin, “Forms of Time and the Chronotope in the Novel”, 1937).
fauconnier’s mental spaces
starts the spatial extension of the text. spatial extensions range from 0 dimension (oral narratives), 1 dimension (tv tickers), 2 dimension (printed page, digital page), 3 dimension (theater). of particular interest is the fact that the digital page is accessed by the hypermediated display.
the one she focuses on strongly is the spatial form of the text: it de-emphasizes temporality and causality through compositional devices such as fragmentation, montage of disparate elements, and juxtaposition of parallel plot elements. Particularly, in digital media:
When the notion of space refers to a formal pattern, it is take in a metaphorical sens, since it is not a system of dimensions that determines the physical position, but a network of analogical or oppositional relations perceived by the mind. It is the synchronic perspective necessitated for the perception of these designs and the tendency to associate the synchronic with the spatial that categorizes them as spatial phenomena.
Readers gather spatial information (e.g. informed by chronotopes) into a cognitive map or mental model (fauconnier) of narrative space.
Mental maps, in other words, are both dynamically constructed in the course of reading and consulted by the reader to orient himself in the narrative world.
Regarding the thematization of space:
Architecturally, as well as plot-functionally, narrative space can be described in terms of the partitions, both natural and cultural, that organize it into thematically relevant subspaces: walls, hallways, political boundaries, rivers and mountains, as well as in terms of the openings and passageways that allow these subspaces to communicate […]


Armed police attend 'domestic incident' in Shrewsbury
by Lucy TodmanArmed police were called to a property in Shrewsbury this afternoon to reports of a domestic incident.
Traffic was diverted from Ellesmere Road at its junction with Coton Hill after a 999 call was made at around 2.20pm.
Eye witnesses described seeing around six marked police cars descending on the area, with a number of officers seen with guns.
The road closure reportedly caused chaos for drivers in the area.
A West Mercia Police spokeswoman said: "At around 2.20pm we were called to reports of a domestic incident in Coton Hill in Shrewsbury."
The road closure meant that traffic in the Castle Foregate/Smithfield Road and Coton Hill/Berwick Road area was disrupted and parents were concerned they would not make pick-up time for their children at Greenfields School.
Police said the operation was concluded by around 4.30pm, and confirmed a 23-year-old man had been arrested on suspicion of assault and criminal damage.
They confirmed no one had been injured in the incident.


I am a creative designer in the making. My area of specialization will be Web developement and design.  I have an eye for details, which is more than resourceful in helping me be keen and efficient in writing my program codes in a professional structure that will give room for later reviews. I am also wellequipped with people skills which has helped me know how to interact with people from all walks of life. I believe that when ,the right opportunity presents itself, I will be a good candidate for the role of providing not only solutions through my technical skills, but also the soft skills that I have gained over time!


Found {{ documents.count }} {% ifnotequal q q_corrected %} assuming you meant {{ q_corrected }} {% endifnotequal %}
{{ document.body }}
No documents yet


Problem Solving
16 April 2016
I encountered a simple problem this week while programming the basic movement of the racer game. The move button was definately clicked, the move function was called, but there was an error and the car wouldn't move.
I had implememnted many changes since the last test so I couldn't be sure where the error was coming from. The first thing I did was revert a lot of these changes to the last working version. One by one I reintroduced the changes until I got the error. Aha! It was to do with accessing the position of a car. After slowly reading through all the related code twice, I noticed a subtle typo 'positon'...
Going through the problem solving process I felt determined to find a solution. I think I was too confident in parts of my code that when checking them I read over the 'positon' typo without seeing it. I learnt that sometimes it's best to check the basics before assuming the problem is something complex.
Another problem I encountered this week was in trying to reduce the lines of code for the two player racer game. It looked liked I would need to write code for player one and player two seperately, referencing the correct players variables. I realised I could call functions with a player number and then use this player number to access an array.
Using Google I refreshed how to make an array of objects. Now the functions were able to take the player number and use it to move the player etc. From this I reinforced the idea that there is almost always a way to avoid repeating oneself in programming.
There are many problem solving techniques and below I rate my confidence with each of them.
Pseudocode: I made use of pseudocoding to plan the logical steps of a few functions this week.
Trying something: When a project is quite simple I don't mind trying something out to see if it works. Larger projects I am more cautious and use other methods.
Rubber ducky method: I haven't tried pretending to talk to a rubber ducky yet.
Reading error messages: This is extremely useful for me. I often understand what the error means and I use this to know what the problem is.
Console.logging: Always when I can't find the error I place a lot of console.logging, but usually it just rules out a few things without pointing out the cause.
Googling: In this learning phase, a lot of our problems have been solved before. I've found Googling to be useful and am confident in how to ask the right questions.
Asking your peers for help: I solve most issues with the above methods but will ask my peers before asking coaches.
Asking coaches for help: Once I've exhausted all other avenues, I ask coaches how to solve the problem.
Improving your process with reflection: I don't yet have a habit of reflecting on my process. I feel like I benefit from reflection immediately after completing something, but not so much the next day.
Manipulating Javascript arrays
.map() is for creating an array by adjusting every element, in the same way.
.filter() creates a new array from all the element in our array that follow a given rule. This could be used for filtering a general list of people to only the people that said yes to having a drivers license.
.reduce() is great for adding up all the values in an array. It runs a function on the first value and then runs it for the result and the next value, and so on.


Readability Test:
- italics in highlight color normal text.
- just normal text.
- normal text followed by bold emphatic set of words followed by normal.
- Background colored bold special words normal text bold highlight text.
- line of background colored normal text.
- Special words normal text highlighted words special words.
- Special words normal text background colored highlighted words.
- Background colored bold special words normal text bold highlight text.
- Background colored italics special words normal text special words.
- normal text special words, background colored bold special words.
- Normal text highlighted text background colored bold emphatic words.
- Normal text bold highlighted text normal special words & special words.
- Normal text background colored bold special words text italics highlighted..
- Normal text highlighted text background colored italics emphatic words.
- Normal text bold highlighted text → → → highlighted text.
- Special words normal text background colored italics highlighted text.
- Special words normal text bold highlighted text.
|
|


I am learning how to make websites through BluePrint, and I think it's cool! I can highlight random things, or add styling to specific texts by their ids!
By the way, this link to BluePrint will open a new page, but the previous one will not. SAD.
It is the year 3024. An alien species has dominated the Earth. After each invasion by these foreign beings, we've discovered and recorded new messages they've left for us. As one of Washingtin D.C.'s top linguists, you have been assigned a task and a team to decode these findings. <
My ranking of food is the following:
Pusheen is cool!


{% extends "header.html" %} {% block body %}
import RPi.GPIO as gpio import time def init(): gpio.setmode(gpio.BOARD) gpio.setup(7, gpio.OUT) gpio.setup(11, gpio.OUT) gpio.setup(13, gpio.OUT) gpio.setup(15, gpio.OUT) def forward(tf): init() gpio.output(13, True) gpio.output(15, False) gpio.output(7, False) gpio.output(11, True) time.sleep(tf) gpio.cleanup() def reverse(tf): init() gpio.output(13, False) gpio.output(15, True) gpio.output(7, True) gpio.output(11, False) time.sleep(tf) gpio.cleanup() def turn_left(tf): init() gpio.output(7, True) gpio.output(11, True) gpio.output(13, True) gpio.output(15, False) time.sleep(tf) gpio.cleanup() def turn_right(tf): init() gpio.output(7, False) gpio.output(13, False) gpio.output(15, False) gpio.output(11, True) time.sleep(tf) gpio.cleanup() forward(1) reverse(1) turn_left(1) turn_right(1)
Now it is time to talk about turning the car, and one more concept. Each time you modify the pins, you need to reset them, or they will retain their last position plus any new changes. For this reason, it's best we instead run the init() function in every function. We're also going to now add turning left and right.


Specializing in Audience Experience Cultivation
We aim to inspire communities through the use of movement as a medium for storytelling.
View PortfolioExquisite choreography with a message.
Learn from and alongside our dancers.
Enhancing special events and festivals
Your next chance to catch TDC in action


Actions, resources, and condition keys for AWS Amplify Admin
AWS Amplify Admin (service prefix:
amplifybackend
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service .
-
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by AWS Amplify Admin
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| CloneBackend | Grants permission to clone an existing Amplify Admin backend environment into a new Amplify Admin backend enviroment | Write | |||
| CreateBackend | Grants permission to create a new Amplify Admin backend environment by Amplify appId | Write | |||
| CreateBackendAPI | Grants permission to create an API for an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| CreateBackendAuth | Grants permission to create an auth resource for an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| CreateBackendConfig | Grants permission to create a new Amplify Admin backend config by Amplify appId | Write | |||
| CreateBackendStorage | Grants permission to create a backend storage resource | Write | |||
| CreateToken | Grants permission to create an Amplify Admin challenge token by appId | Write | |||
| DeleteBackend | Grants permission to delete an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| DeleteBackendAPI | Grants permission to delete an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| DeleteBackendAuth | Grants permission to delete an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| DeleteBackendStorage | Grants permission to delete a backend storage resource | Write | |||
| DeleteToken | Grants permission to delete an Amplify Admin challenge token by appId | Write | |||
| GenerateBackendAPIModels | Grants permission to generate models for an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| GetBackend | Grants permission to retrieve an existing Amplify Admin backend environment by appId and backendEnvironmentName | Read | |||
| GetBackendAPI | Grants permission to retrieve an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Read | |||
| GetBackendAPIModels | Grants permission to retrieve models for an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Read | |||
| GetBackendAuth | Grants permission to retrieve an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Read | |||
| GetBackendJob | Grants permission to retrieve a job of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Read | |||
| GetBackendStorage | Grants permission to retrieve an existing backend storage resource | Read | |||
| GetToken | Grants permission to retrieve an Amplify Admin challenge token by appId | Read | |||
| ImportBackendAuth | Grants permission to import an existing auth resource of an Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| ImportBackendStorage | Grants permission to import an existing backend storage resource | Write | |||
| ListBackendJobs | Grants permission to retrieve the jobs of an existing Amplify Admin backend environment by appId and backendEnvironmentName | List | |||
| ListS3Buckets | Grants permission to retrieve s3 buckets | List | |||
| RemoveAllBackends | Grants permission to delete all existing Amplify Admin backend environments by appId | Write | |||
| RemoveBackendConfig | Grants permission to delete an Amplify Admin backend config by Amplify appId | Write | |||
| UpdateBackendAPI | Grants permission to update an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| UpdateBackendAuth | Grants permission to update an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| UpdateBackendConfig | Grants permission to update an Amplify Admin backend config by Amplify appId | Write | |||
| UpdateBackendJob | Grants permission to update a job of an existing Amplify Admin backend environment by appId and backendEnvironmentName | Write | |||
| UpdateBackendStorage | Grants permission to update a backend storage resource | Write | |||
Resource types defined by AWS Amplify Admin
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| backend |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}
|
|
| environment |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/environments
|
|
| api |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/api
|
|
| auth |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/auth
|
|
| job |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/job
|
|
| config |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/config/*
|
|
| token |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/token
|
|
| storage |
arn:$
{
Partition}:amplifybackend:$
{
Region}:$
{
Account}:backend/$
{
AppId}/storage
|
Condition keys for AWS Amplify Admin
Amplify Admin has no service-specific context keys that can be used in the
Condition
element of policy statements. For the list of the global context keys that are available to all services, see
Available keys for conditions
.


| Interface | Description |
|---|---|
| QNA_fragment.Callbacks |
Required callback interface to delegate functionality back to the hosting activity.
|
| Class | Description |
|---|---|
| QNA |
Represents the QNA data that is retrieved from the db according
to the user selection and then displayed in the
QNA_fragment . |
| QNA_activity |
This class is the activity for the QNA Fragment that shows the QNA for the quiz.
|
| QNA_fragment |
Shows the QNA according to the selected and / or default settings.
|
| QNAControlQuestionHelper |
Singleton helper class for the QNA control questions, as set in the
AppPreferences class. |
| QNAManager |
Singleton manager class for the qna package.
|
| QNAOnExitDialog |
Extends the
CustomDialogFragment class to show an AlertDialog with "Yes", "No" and "Dismiss"
action buttons in order to allow the user to either:
QNASummaryActivity to show a summary of the quiz results so far
"No": start StartActivity to go back to the start page
"Dismiss": dismiss the dialog
Called from QNA_activity.onBackPressed() . |
| QNAonShowHintDialog |
Extends the
CustomDialogFragment class to show an AlertDialog with a "Dismiss"
action button in order to allow the user to view a hint for the currently quizzed question. |
| QNAPreferencesActivity |
Activity for the QNAPreferencesFragment that allows the user to set-up the quiz before it is
started.
|
| QNAPreferencesFragment |
This class is a fragment for the QNAPreferences.
|
| QNASavedProgressHelper |
QNASavedProgressHelper is hereby defined here as the saved state of the quiz.
|
| QNASettings |
Manager singleton class for the QNA,
which will exists as long as the application stays in memory.
|
| QNAStartButtonPreference |
Placeholder class for a custom button which serves as a Preference inside a PreferenceScreen.
|
| QNASummaryActivity |
This class is the activity for the QNASummaryFragment that shows the summary for the quiz.
|
| QNASummaryBarChartBuilder |
Builds a QNASummary BarChart.
|
| QNASummaryFragment |
Fragment that shows a summary of the current quiz.
|
| QNASummaryTable |
Contains data for a single row in the QNASummary table.
|
| QNASummaryTable.Comparators |
Comparators for table sorting in an inner static class.
|
| QNASummaryTableBuilder |
Builds a QNASummary table based on the data provided through the
QNASummaryTable class. |


{% extends 'brambling/mail/__base.html' %} {% block content %} {% load zenaida %} {% url 'brambling_order_code_redirect' event_slug=event.slug organization_slug=event.organization.slug code=order.code as url %}
Note: Your passes are reserved, but the organizer has not yet received your payment by mail.
If you believe this is in error, please contact the event organizer directly.
If the button doesn't work for you, you can also copy-paste the following link directly into your browser's URL bar:


I'd like to try and connect the emontx3 directly to the raspi as per this setup http://openenergymonitor.blogspot.co.uk/2014/03/direct-connection-emontx...
But I'd also want the raspi to receive bluetooth serial data as well via a bluetooth dongle then store and send both the emontx3 and bluetooth data to emoncms (via a wifi dongle)
Is this possible ie to receive data from the emontx3 and via bluetooth?
Also I assume connecting the emontx3 directory to the Pi means I can't connect the RFM12Pi as well right?
Thank you.
Re: Raspi 2 inputs?
If by "bluetooth dongle" you mean usb dongle then that should not effect the GPIO's serial UART, so they can both be physically connected to the Pi without conflict but you will need to write an interface script for the bluetooth dongle to "handle" the data.
To use the direct serial connection between emonTx and emonhub you would use an "EmonHubSerialInterfacer" as discussed in this thread.
You are quite correct that connecting an emontx via serial wil prevent use of a rfm2pi, however if you did want to add an RF network and did not want to just move the emontx from a direct connection to the new "rfm2pi based" network you can use a JeeLink which is a usb version of the original JeeNode the rfm2pi is based on,
The same " EmonHubJeeInterfacer " settings would be used but with " com_port = /dev/ttyUSB0 " or similar depending on the address allocated by the Pi, emonHub is fully JeeLink compatible .
With regard to the "bluetooth dongle" software you could probably write a small script to present data frames to emonhub via a socket as discussed here and here.
One small area of uncertainty is the automatic allocation of usb addresses by the Pi, you need to be sure that when the Pi restarts it re-allocates the same addresses to the jeelink and bluetooth or there maybe confusion.
Paul
Re: Raspi 2 inputs?
Thank you for the reply. I'm researching atm and quite new to everything.
yes, bluetooth dongle is usb. which will be either this
CSR - http://www.ebay.com.au/itm/MINI-USB-2-0-Bluetooth-Dongle-Adapter-Wireles...
or
csr 4 - http://www.ebay.com.au/itm/V4-0-Mini-USB-2-0-Bluetooth-Dongle-Wireless-A...
1. I assume emonhub is installed on the Pi and its the software that handles the serial data and sends it to emoncms or does it include emoncms?
So I have to add code (an interface script) into it to process the bluetooth data as well?
2. The jeelink plugs into Pi so that it can talk to other 'sensors' using the Rf network? And to enable the jeelink, I make slight changes to the code in emonhub.
3. If I don't have a jeelink, then I don't need to worry about "automatic allocation of usb addresses by the Pi" correct?
sorry for the naive questions and thank you for your help.
Re: Raspi 2 inputs?
Yes, emonhub is an interface software, The "direct-connection" guide you linked to refers to oem gateway on the "rock-solid gateway" image, which has been replaced by emonhub and is it is included on the current sd card image along with emoncms or it can be installed independently. More info on this can be found here. and about half way down that thread is also an explanation of the softwares and images etc
I'm not really familiar with bluetooth applications and so I am guessing here, but I expect some sort of script will be needed to route data into emonhub as emonhub isn't equipped to access the device directly (yet)
Yes, a JeeLink is basically a USB version of a RFM2Pi, so emonhub is already to go code wise, but emonHubs "RFM2Pi" settings will need editing to point to the relevant "com_port" as the default is the serial uart not a usb port, so no code changes just a setting.
If you are not using a JeeLink you should be ok with the usb addresses, It may not cause a problem anyway, I can't be sure, but being aware it may can save a lot of diagnosis time should you have a problem.
Out of interest what are you connecting by bluetooth ?
Paul
Re: Raspi 2 inputs?
got it. Thank you.
"what are you connecting by bluetooth ?"
a growatt solar inverter using an RS232 serial to bluetooth adapter.


MultiObjectManager Class
Manages a list of object and their tile positions. Multiple objects can be at a given tile map coord. Handles adding, removing, moving objects within the game.
Constructor
MultiObjectManager
-
game
-
ObjectConstructor
-
[width]
-
[height]
Parameters:
-
game
Game- Game instance this
MultiObjectManager
is attached to.
- Game instance this
-
ObjectConstructor
Object- Object constructor used to create new objects with
this.add()
.
- Object constructor used to create new objects with
-
[width]
Number optional- Width of current map in tiles.
-
[height]
Number optional- Height of current map in tiles.
Item Index
Methods
Methods
add
-
x
-
y
-
obj
Adds an object to the manager at given map tile coord. Multiple objects can be added to the same coord.
Parameters:
-
x
Number- Map tile coord x.
-
y
Number- Map tile coord y.
-
obj
Object | String- The Object being set at given coords. If
obj
is a string a new Object will be created usingthis.makeNewObjectFromType(obj)
.
- The Object being set at given coords. If
Returns:
The added object.
get
-
x
-
y
-
[filter]
Retrieves all objects at given map tile coord.
Parameters:
-
x
Number- The tile map x coord.
-
y
Number- The tile map y coord.
-
[filter]
Function optional- A function to filter the array of objects returned
function(object){ return true }
.
- A function to filter the array of objects returned
Returns:
getAdjacent
-
x
-
y
-
[settings]
Same as this.map.getAdjacent
, but merges all results into on flat array.
Parameters:
-
x
Number- Map tile x coord.
-
y
Number- Map tile y coord;
-
[settings]
Object optional
Returns:
getFirst
-
x
-
y
-
[filter]
Retrieves the first object in array at given map tile coord.
Parameters:
-
x
Number- The tile map x coord.
-
y
Number- The tile map y coord.
-
[filter]
Function optional- A function to filter the object returned at this map tile coord
function(object){ return true }
. The first object in the array the filter matches is returned.
- A function to filter the object returned at this map tile coord
Returns:
getLast
-
x
-
y
-
[filter]
Retrieves the last object in array at given map tile coord.
Parameters:
-
x
Number- The tile map x coord.
-
y
Number- The tile map y coord.
-
[filter]
Function optional- A function to filter the object returned at this map tile coord
function(object){ return true }
. The last object in the array the filter matches is returned.
- A function to filter the object returned at this map tile coord
Returns:
loadEntitiesFromArrayString
-
mapData
-
charToType
-
[defaultType]
Loads Obj data from an array of strings.
Parameters:
-
mapData
Array- The array of strings to load.
-
charToType
Object- An object mapping string characters to Obj types (see Obj.Types[type]). Characters in mapData not in charToType are ignored.
-
[defaultType]
String optional- If set, all characters in
mapData
not found incharToType
will be replaced by an object withdefaultType
.
- If set, all characters in
Example:
var mapData = [
'####',
'#..#',
'#.Z#',
'####',
],
charToType = {
'Z': 'zombie'
};
entityManager.loadTilesFromArrayString(mapData, charToType);
makeNewObjectFromType
-
type
Creates a new object instance.
Parameters:
-
type
String- The type to make the object
Returns:
move
-
x
-
y
-
object
Changes the position of an entity already added to this entityManager.
Parameters:
-
x
Number- The new map tile coordinate position of the entity on the x axis.
-
y
Number- The new map tile coordinate position of the entity on the y axis.
-
object
Obj- The objectity to be removed.
remove
-
obj
Removes an entity from the manager.
Parameters:
-
obj
Obj- The objity to be removed.
removeAt
-
x
-
y
-
[filter]
Remove all objects from given location.
Parameters:
-
x
Number- Tile map x coord.
-
y
Number- Tile map y coord.
-
[filter]
Function optional- A function to filter the objects removed
function(object){ return true }
.
- A function to filter the objects removed
reset
()
Resets this entityManager.
setSize
-
width
-
height
Sets the size of the map to manage objects within.
Parameters:
-
width
Number- Width of current map in tiles.
-
height
Number- Height of current map in tiles.
update
-
[excludeObject]
Calls the object.update()
method on all objects. Removes object.dead == true
objects.
Typically called after a player has resolved their actions.
Not all object managers need to upade the objects they manage.
Parameters:
-
[excludeObject]
Object optional- excludeObject will be skipped if found in
this.objects
.
- excludeObject will be skipped if found in


Page 8 of 8
Posted:
Fri Feb 23, 2007 4:58 pm
by Joe M.
could you post a render of that model from a slightly different angle? I'm still not too happy with the texture on the blade, but what I'd really like to see is the hand guard. That shot isn't exactly flattering for it...
Posted:
Fri Feb 23, 2007 10:55 pm
by secretrk1313
i dont have a real renderer, could you show me where to get an easy to use free one?
Posted:
Fri Feb 23, 2007 11:23 pm
by secretrk1313
sorry about the doubble post but i was looking at the list and the dirrectory, has every model been made?
Posted:
Fri Feb 23, 2007 11:34 pm
by thadiusofx3
by render he just means a shot from a different angle
and yeah I completed almost every model for the map maker
Posted:
Sat Feb 24, 2007 12:07 am
by secretrk1313
i accualy had some one render that for me because my 3d app has not renderer built in, i understand what he is saying and need to find a simple free rendering program.
Posted:
Sat Feb 24, 2007 1:25 am
by thadiusofx3
what format is your model in?
blender can import most popular model formats
http://www.blender.org
Posted:
Sat Feb 24, 2007 9:27 am
by secretrk1313
i have tryed importing multiple formats of my model into blender with no luck, either the texture is gone or it just dosent work.
Posted:
Sat Feb 24, 2007 10:33 am
by thadiusofx3
what format is it in?
Posted:
Sat Feb 24, 2007 1:34 pm
by thadiusofx3
oh and sorry everyone for not finishing up the few models that are left, I'm a little burned out on modeling right now, but it will come back to me, 66 models in the 8 days I did them all is a bit much.
Posted:
Sat Feb 24, 2007 1:54 pm
by secretrk1313
i use milkshape so i can basicly use any format out there, and tell me some of the models that are left and maby i could help out.
Posted:
Sat Feb 24, 2007 2:11 pm
by thadiusofx3
the only models left are from the environment set and they are:
dead_tree2
flower_group
flowers
rock2
rock6
shrub2
shrub3
shrub
tree1
tree2
tree3
Posted:
Sat Feb 24, 2007 2:56 pm
by secretrk1313
thanks, am i allowed to use the pictures on the list as the textures? such as what i did here
by the way thats rock2, and its .x ready for karl if we are allowed to do that
Posted:
Sat Feb 24, 2007 3:01 pm
by thadiusofx3
use textures from the texture pack on the first page
Posted:
Sat Feb 24, 2007 3:04 pm
by secretrk1313
ok, and i added you on msn so we dont have to use this as our personal chat room lol
Posted:
Sat Feb 24, 2007 3:05 pm
by thadiusofx3
It didn't show up lol
what's your screenname
Posted:
Sat Feb 24, 2007 3:14 pm
by secretrk1313
<EMAIL_ADDRESS>and here is the rock2 with the new texture
Posted:
Sat Feb 24, 2007 6:09 pm
by secretrk1313
i uploaded rock6.x to ur upload thing i didnt see a rock6 texture made, so i used rock1.png
Posted:
Sat Feb 24, 2007 6:49 pm
by thadiusofx3
right, you use whatever textures are in there, disregarding their names
rock2.png doesn't necessarily go with rock2 model
Posted:
Sat Feb 24, 2007 7:03 pm
by secretrk1313
k
Posted:
Sun Feb 25, 2007 11:27 am
by Ender
Updated the first thread to include the color coded complete/incomplete. Sorry it took me so long but I've been swamped with work lately.
Posted:
Sun Feb 25, 2007 1:05 pm
by secretrk1313
thank you Ender that really helps, and by the way i completed rock 6 and uploaded it here
http://poorserver.no-ip.org/upload.php it uses rock1.png as the texture and here is a pic of it.
Re: Map Maker Models - The List [with links to concept images]
Posted:
Sun Sep 28, 2008 12:45 pm
by Burnt Ferret
Here's a question oh master Thadius...
Can you make one model that links to multiple textures via UV mapping. I'm thinking it might work if you don't join the individual pieces? Say a sword with the blade one texture, the hilt another, and the hilt guard yet a third. Would you have to make the three pieces in three different files and append them together later?


Ailona
Ailona
Ailona
Performing
Ailona performing in England
Performing
Performing her Rock version of the act in Germany
Performing
Ailona
Ailona
Ailona
Ailona
Ailona
Ailona
Getting Ready
Ailona is preparing to go out on stage in Germany
Performing
Rock that stage
Performing
Singapore
Ailona is performing her UV version of the act.
Singapore
Singapore
Performing
Performing
Performing
Performing
Performing
Ailona
Ailona
Ailona
Ailona
Click thumb to zoom


The request flow graph visualizer is a tool for visualizing the request flow differences output by Spectroscope.
This tool takes as input a collection of graph clusters generated from end-to-end traces in dot format. The Spectroscope Cluster IDs and metadata are used to identify precursor-mutation pairs, which are compiled into a JSON index. The dot graphs themselves are also lexed into JSON, and are then loaded with XHR into the visualization page. This page performs parsing, graph differencing and styling, and displays the precursor-mutation difference pairs with the help of the JIT library.
To use your own graphs as input to the tool, conversion scripts are available in the graphs directory. The tools use graphs in DOT format as input - in particular, those generated by Spectroscope as described in the Spectroscope documentation.
To use the conversion pipeline as-is, you will need weighted_combined_ranked_graphs.dot and originating_clusters.dot. First run extract.py originating_clusters.dot outdir, where outdir is the desired output directory for graphs (examples of successful output are in graphs/*/out of this source tree). Then, run extract.py weighted_combined_ranked_graphs.dot outdir, which will generate an index of precursor-mutation pairs; the UI currently loads the pair with the highest cost value.
To obtain proper timing information on graph edges directly from Spectroscope output, there is a required preprocessing step; run fixup.py targeting a directory with weighted_combined_ranked_graphs.dot and originating_clusters.dot (run this after extract.py)
Some (very) experimental code for generating input from graphs in GraphML format is available in graphs/test/yed. If you are interested in writing your own converter or converting from a custom format, the graph input format is a folder containing index.json and a set of files name.json, where index.json has the form:
[ { "id":1,"precursor":2, "cost":9999, "type":"Structural mutation" }, { "id":3,"precursor":4, "cost":8888, "type":"Response time change" }, ... ]
where the graph in 2.json is the precursor for the graph in 1.json, has cost 9999, and is a structural mutation. Each graph has format:
{ "nodes": [ { "id":"1", ... }, { "id":"id_from", "label":"e10__t3__nodename_from" }, { "id":"id_to", "label":"e10__t3__nodename_to" } ], "edges": [ { "from":"id_from", "to":"id_to", "color":"black", "label":"... 23us ... 50us ..." } ] }
The node with id 1 is special, and contains graph metadata (not used in the basic visualization). Each other node has a unique ID (e.g., id_from), and a label with format emachineID__tthreadID__label. Nodes are colored by their machineID, and will contain text label. In the example above, the only edge connects the two nodes. Timing information is parsed from the label property: the first match of numberus in the precursor graph file will be the edge time (used for length) for the precursor, and the second match of numberus in the mutation graph file will be the edge time for the mutation. As an aside, graphs do not need to be strict JSON - for historical reasons, they are eval'ed.
To register graphs with the UI, place the resulting graph files in graphs/<name>/out, where <name> is folder of your choice. The existing sibling directories provide examples of this structure. Then, in index.html, add <name> to Tasks.ALL = ["training", <name>, ...
Documentation for the javascript and visualization components are available in the jsdoc (also linked on the left). Formatted js code is also there under "File Index."
Licenses of libraries are contained within the libraries themselves; please see the lib directory.
Other source is licensed as:
Copyright (c) 2014, Carnegie Mellon University. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


Thank you for using Tool Sharing!
{{ borrower }} has requested to borrow your {{ tool }}.
Please login into the application to either approve or reject this request.
Sincerely,X-Mates Team


{% extends "floppyforms/layouts/p.html" %} {% load floppyforms %} {% block forms %} {% if form_title %}
Current row: {{ current_row }}. Rows to process: {{ batch_length }}.


Class RoomsGenerator
Carves out non-overlapping rooms in a map. Rooms generated will not overlap with themselves, or any existing open areas on the given map. Rooms will not be connected -- for automatic connection of rooms generated by this generator, see GoRogue.MapGeneration.QuickGenerator.GenerateDungeonMazeMap().
Inheritance
Inherited Members
Namespace: GoRogue.MapGeneration.Generators
Assembly: GoRogue.dll
Syntax
public static class RoomsGenerator
Methods
| Improve this Doc View SourceGenerate(ISettableMapView<Boolean>, Int32, Int32, Int32, Int32, Single, Single, Int32, Int32)
Carves random rectangles out of the map, setting the interior of the room to true. Does not set the wall of the rooms to false.
Declaration
public static IEnumerable<Rectangle> Generate(ISettableMapView<bool> map, int minRooms, int maxRooms, int roomMinSize, int roomMaxSize, float roomSizeRatioX = 1F, float roomSizeRatioY = 1F, int maxCreationAttempts = 10, int maxPlacementAttempts = 10)
Parameters
| Type | Name | Description |
|---|---|---|
| ISettableMapView<System.Boolean> | map | The map to modify. |
| System.Int32 | minRooms | Minimum amount of rooms to generate. |
| System.Int32 | maxRooms | Maximum amount of rooms to generate. |
| System.Int32 | roomMinSize | The minimum size of the room. Forces an odd number. |
| System.Int32 | roomMaxSize | The maximum size of the room. Forces an odd number. |
| System.Single | roomSizeRatioX | The ratio of the room width to the height. Defaults to 1.0. |
| System.Single | roomSizeRatioY | The ratio of the room height to the width. Defaults to 1.0. |
| System.Int32 | maxCreationAttempts | The max times to re-generate a room that cannot be placed before giving up on placing that room. Defaults to 10. |
| System.Int32 | maxPlacementAttempts | The max times to attempt to place a room in a map without intersection, before giving up and re-generating that room. Defaults to 10. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Rectangle> | A collection of rectangles representing the interior of the rooms that were added to the map. |
Generate(ISettableMapView<Boolean>, IGenerator, Int32, Int32, Int32, Int32, Single, Single, Int32, Int32)
Carves random rectangles out of the map, placing rooms at odd x and y positions, with odd width/height. Sets the interior of the room to true. Does not set the wall of the rooms to false.
Declaration
public static IEnumerable<Rectangle> Generate(ISettableMapView<bool> map, IGenerator rng, int minRooms, int maxRooms, int roomMinSize, int roomMaxSize, float roomSizeRatioX = 1F, float roomSizeRatioY = 1F, int maxCreationAttempts = 10, int maxPlacementAttempts = 10)
Parameters
| Type | Name | Description |
|---|---|---|
| ISettableMapView<System.Boolean> | map | The map to modify. |
| Troschuetz.Random.IGenerator | rng | RNG to use. |
| System.Int32 | minRooms | Minimum amount of rooms to generate. |
| System.Int32 | maxRooms | Maximum amount of rooms to generate. |
| System.Int32 | roomMinSize | The minimum size of the room. Forces an odd number. |
| System.Int32 | roomMaxSize | The maximum size of the room. Forces an odd number. |
| System.Single | roomSizeRatioX | The ratio of the room width to the height. Defaults to 1.0. |
| System.Single | roomSizeRatioY | The ratio of the room height to the width. Defaults to 1.0. |
| System.Int32 | maxCreationAttempts | The max times to re-generate a room that cannot be placed before giving up on placing that room. Defaults to 10. |
| System.Int32 | maxPlacementAttempts | The max times to attempt to place a room in a map without intersection, before giving up and re-generating that room. Defaults to 10. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Rectangle> | A collection of rectangles representing the interior of the rooms that were added to the map. |


| Package | Description |
|---|---|
| com.sun.jini.phoenix |
A configurable Java(TM) Remote Method Invocation (Java RMI) activation
system daemon implementation.
|
| com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
| Modifier and Type | Field and Description |
|---|---|
(package private) MarshalledWrapper |
Activation.ObjectEntry.stub
the stub (if active)
|
| Modifier and Type | Method and Description |
|---|---|
MarshalledWrapper |
Activator.activate(ActivationID id,
boolean force)
Returns a marshalled proxy wrapped in a
MarshalledWrapper for the activated object
corresponding to the specified activation identifier. |
MarshalledWrapper |
Activation.ActivatorImpl.activate(ActivationID id,
boolean force) |
(package private) MarshalledWrapper |
Activation.GroupEntry.activate(UID uid,
boolean force) |
(package private) MarshalledWrapper |
Activation.ObjectEntry.activate(UID uid,
boolean force,
ActivationInstantiator inst) |
| Modifier and Type | Field and Description |
|---|---|
MarshalledWrapper |
Item.service
ServiceItem.service as a MarshalledWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
MarshalledWrapper |
RegistrarImpl.lookup(Template tmpl) |
MarshalledWrapper |
Registrar.lookup(Template tmpl)
Returns the service object (i.e., just ServiceItem.service) from an
item matching the template, or null if there is no match.
|
private MarshalledWrapper |
RegistrarImpl.lookupDo(Template tmpl)
The code that does the real work of lookup.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.


DisTrack helps you to be more productive by giving you insight into your work habits and providing you with tools to stay focused.
Monday, December 8th 10:30am @ CSE Atrium
See how you spent your while you studied or worked broken down by activity and distraction category. You can see your performance for the whole day, or for the specific sessions you worked in that day. Try to maximize productive time!
View your performance on weekly or monthly time spans to see how you're improving over time!
Set up tools to use in Work Mode that will help you stay focused. Some tools will help you by blocking distractions or notifing you when you get distracted, while others will help you by reminding you to take breaks or engage in good habits.
We'll recommend helpful tools to you based upon the activities that distract you.
You can easily activate work mode on your watch to enable your tools and to start getting real time feedback on your performance.
The hand of your watch traces in color to indicate if you were being distracted or productive in real time as you work. This gives you some immediate feedback into how well you are doing during a work session.
Your watch is an ideal place to use many of the tools we provide. Distraction notications will notify you when you get off task to remind you to stay focused.
Taking breaks is an effective way to stay focused for long periods of work. The break reminder tool can tell you when and for how long to take breaks through the watch or the desktop.
Project Manager
Computer Science & Engineering
<EMAIL_ADDRESS>Designer & Videographer
Human-Computer Interaction + Design
<EMAIL_ADDRESS>User Researcher
Computer Science & Engineering
<EMAIL_ADDRESS>Designer
Computer Science & Engineering
<EMAIL_ADDRESS>Designer & Editor
Computer Science & Engineering
<EMAIL_ADDRESS>We went through two major phases of development as we designed DisTrack. The first, called Getting the Right Design, was about defining the core tasks in our problem space, researching our target users, and brainstorming different high-level design solutions. The second, called Getting the Design Right, was about refining our design idea through usability testing and inspection based methods. We used rapid prototyping methods to develop our final design mockups for the desktop and watch and to create our video prototype.


TeamNote
What's the most useful thing that you learned today?
Characters Max: 180
Author:
Anonymous
Siva
Tobi
Abhi
Chandan
Read what others have learned today
Author
Note
Keywords
Time


Settings
Board
Help
Import / Export
Rotate:
↻
↺
↔
↕
Writing mode:
OVR
INS
Blank character:
Click
Select / unselect.
Any character
Write character under cursor.
Arrows
Move selection and point cursor.
Shift+Arrows
Resize selection.
Alt+Arrows
Change direction without moving.
Alt+Shift+Arrows
Move cursor without pointing it.
Ctrl+Arrows
Pull selection.
Ctrl+Shift+Arrows
Scroll.
Backspace
Delete selection.
CTRL+C
Copy selection.
CTRL+X
Copy and delete selection.
CTRL+V
Paste selection.
CTRL+W
Switch between INS and OVR mode.
Esc
Unselect.
Tab
Move forward
spaces.
Export as text:
example
Export
Pad lines
Import text:
Import
Copy to clipboard


Ashland University in Ohio freezing tuition for new freshmen
by EndPlayASHLAND, Ohio (AP) - Ashland University is joining the list of Ohio campuses that freeze tuition for incoming freshmen to lock in that cost for four years.
University President Carlos Campo says in a statement that the change will help to keep tuition affordable and maintain the value of a student's financial aid or renewable scholarships throughout their career at the private school in north-central Ohio.
Ashland's tuition freeze starts with on-campus undergraduates entering the school next fall.
Ohio's 13 public undergraduate universities all have tuition guarantee programs


Networking with overlay networks
読む時間の目安: 21 分This series of tutorials deals with networking for swarm services. For networking with standalone containers, see Networking with standalone containers. If you need to learn more about Docker networking in general, see the overview.
This topic includes four different tutorials. You can run each of them on Linux, Windows, or a Mac, but for the last two, you need a second Docker host running elsewhere.
-
Use the default overlay network demonstrates how to use the default overlay network that Docker sets up for you automatically when you initialize or join a swarm. This network is not the best choice for production systems.
-
Use user-defined overlay networks shows how to create and use your own custom overlay networks, to connect services. This is recommended for services running in production.
-
Use an overlay network for standalone containers shows how to communicate between standalone containers on different Docker daemons using an overlay network.
-
Communicate between a container and a swarm service sets up communication between a standalone container and a swarm service, using an attachable overlay network. This is supported in Docker 17.06 and higher.
Prerequisites
These requires you to have at least a single-node swarm, which means that
you have started Docker and run docker swarm init
on the host. You can run
the examples on a multi-node swarm as well.
The last example requires Docker 17.06 or higher.
Use the default overlay network
In this example, you start an alpine
service and examine the characteristics
of the network from the point of view of the individual service containers.
This tutorial does not go into operation-system-specific details about how overlay networks are implemented, but focuses on how the overlay functions from the point of view of a service.
Prerequisites
This tutorial requires three physical or virtual Docker hosts which can all communicate with one another, all running new installations of Docker 17.03 or higher. This tutorial assumes that the three hosts are running on the same network with no firewall involved.
These hosts will be referred to as manager
, worker-1
, and worker-2
. The
manager
host will function as both a manager and a worker, which means it can
both run service tasks and manage the swarm. worker-1
and worker-2
will
function as workers only,
If you don’t have three hosts handy, an easy solution is to set up three Ubuntu hosts on a cloud provider such as Amazon EC2, all on the same network with all communications allowed to all hosts on that network (using a mechanism such as EC2 security groups), and then to follow the installation instructions for Docker Engine - Community on Ubuntu.
Walkthrough
Create the swarm
At the end of this procedure, all three Docker hosts will be joined to the swarm
and will be connected together using an overlay network called ingress
.
-
On
manager
. initialize the swarm. If the host only has one network interface, the--advertise-addr
flag is optional.$ docker swarm init --advertise-addr=<IP-ADDRESS-OF-MANAGER>
Make a note of the text that is printed, as this contains the token that you will use to join
worker-1
andworker-2
to the swarm. It is a good idea to store the token in a password manager. -
On
worker-1
, join the swarm. If the host only has one network interface, the--advertise-addr
flag is optional.$ docker swarm join --token <TOKEN> \ --advertise-addr <IP-ADDRESS-OF-WORKER-1> \ <IP-ADDRESS-OF-MANAGER>:2377
-
On
worker-2
, join the swarm. If the host only has one network interface, the--advertise-addr
flag is optional.$ docker swarm join --token <TOKEN> \ --advertise-addr <IP-ADDRESS-OF-WORKER-2> \ <IP-ADDRESS-OF-MANAGER>:2377
-
On
manager
, list all the nodes. This command can only be done from a manager.$ docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS d68ace5iraw6whp7llvgjpu48 * ip-172-31-34-146 Ready Active Leader nvp5rwavvb8lhdggo8fcf7plg ip-172-31-35-151 Ready Active ouvx2l7qfcxisoyms8mtkgahw ip-172-31-36-89 Ready Active
You can also use the
--filter
flag to filter by role:$ docker node ls --filter role=manager ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS d68ace5iraw6whp7llvgjpu48 * ip-172-31-34-146 Ready Active Leader $ docker node ls --filter role=worker ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS nvp5rwavvb8lhdggo8fcf7plg ip-172-31-35-151 Ready Active ouvx2l7qfcxisoyms8mtkgahw ip-172-31-36-89 Ready Active
-
List the Docker networks on
manager
,worker-1
, andworker-2
and notice that each of them now has an overlay network calledingress
and a bridge network calleddocker_gwbridge
. Only the listing formanager
is shown here:$ docker network ls NETWORK ID NAME DRIVER SCOPE 495c570066be bridge bridge local 961c6cae9945 docker_gwbridge bridge local ff35ceda3643 host host local trtnl4tqnc3n ingress overlay swarm c8357deec9cb none null local
The docker_gwbridge
connects the ingress
network to the Docker host’s
network interface so that traffic can flow to and from swarm managers and
workers. If you create swarm services and do not specify a network, they are
connected to the ingress
network. It is recommended that you use separate
overlay networks for each application or group of applications which will work
together. In the next procedure, you will create two overlay networks and
connect a service to each of them.
Create the services
-
On
manager
, create a new overlay network callednginx-net
:$ docker network create -d overlay nginx-net
You don’t need to create the overlay network on the other nodes, beacause it will be automatically created when one of those nodes starts running a service task which requires it.
-
On
manager
, create a 5-replica Nginx service connected tonginx-net
. The service will publish port 80 to the outside world. All of the service task containers can communicate with each other without opening any ports.Note: Services can only be created on a manager.
$ docker service create \ --name my-nginx \ --publish target=80,published=80 \ --replicas=5 \ --network nginx-net \ nginx
The default publish mode of
ingress
, which is used when you do not specify amode
for the--publish
flag, means that if you browse to port 80 onmanager
,worker-1
, orworker-2
, you will be connected to port 80 on one of the 5 service tasks, even if no tasks are currently running on the node you browse to. If you want to publish the port usinghost
mode, you can addmode=host
to the--publish
output. However, you should also use--mode global
instead of--replicas=5
in this case, since only one service task can bind a given port on a given node. -
Run
docker service ls
to monitor the progress of service bring-up, which may take a few seconds. -
Inspect the
nginx-net
network onmanager
,worker-1
, andworker-2
. Remember that you did not need to create it manually onworker-1
andworker-2
because Docker created it for you. The output will be long, but notice theContainers
andPeers
sections.Containers
lists all service tasks (or standalone containers) connected to the overlay network from that host. -
From
manager
, inspect the service usingdocker service inspect my-nginx
and notice the information about the ports and endpoints used by the service. -
Create a new network
nginx-net-2
, then update the service to use this network instead ofnginx-net
:$ docker network create -d overlay nginx-net-2
$ docker service update \ --network-add nginx-net-2 \ --network-rm nginx-net \ my-nginx
-
Run
docker service ls
to verify that the service has been updated and all tasks have been redeployed. Rundocker network inspect nginx-net
to verify that no containers are connected to it. Run the same command fornginx-net-2
and notice that all the service task containers are connected to it.Note: Even though overlay networks are automatically created on swarm worker nodes as needed, they are not automatically removed.
-
Clean up the service and the networks. From
manager
, run the following commands. The manager will direct the workers to remove the networks automatically.$ docker service rm my-nginx $ docker network rm nginx-net nginx-net-2
Use a user-defined overlay network
Prerequisites
This tutorial assumes the swarm is already set up and you are on a manager.
Walkthrough
-
Create the user-defined overlay network.
$ docker network create -d overlay my-overlay
-
Start a service using the overlay network and publishing port 80 to port 8080 on the Docker host.
$ docker service create \ --name my-nginx \ --network my-overlay \ --replicas 1 \ --publish published=8080,target=80 \ nginx:latest
-
Run
docker network inspect my-overlay
and verify that themy-nginx
service task is connected to it, by looking at theContainers
section. -
Remove the service and the network.
$ docker service rm my-nginx $ docker network rm my-overlay
Use an overlay network for standalone containers
This example demonstrates DNS container discovery -- specifically, how to communicate between standalone containers on different Docker daemons using an overlay network. Steps are:
- On
host1
, initialize the node as a swarm (manager). - On
host2
, join the node to the swarm (worker). - On
host1
, create an attachable overlay network (test-net
). - On
host1
, run an interactive alpine container (alpine1
) ontest-net
. - On
host2
, run an interactive, and detached, alpine container (alpine2
) ontest-net
. - On
host1
, from within a session ofalpine1
, pingalpine2
.
Prerequisites
For this test, you need two different Docker hosts that can communicate with each other. Each host must have Docker 17.06 or higher with the following ports open between the two Docker hosts:
- TCP port 2377
- TCP and UDP port 7946
- UDP port 4789
One easy way to set this up is to have two VMs (either local or on a cloud provider like AWS), each with Docker installed and running. If you’re using AWS or a similar cloud computing platform, the easiest configuration is to use a security group that opens all incoming ports between the two hosts and the SSH port from your client’s IP address.
This example refers to the two nodes in our swarm as host1
and host2
. This
example also uses Linux hosts, but the same commands work on Windows.
Walk-through
-
Set up the swarm.
a. On
host1
, initialize a swarm (and if prompted, use--advertise-addr
to specify the IP address for the interface that communicates with other hosts in the swarm, for instance, the private IP address on AWS):$ docker swarm init Swarm initialized: current node (vz1mm9am11qcmo979tlrlox42) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-5g90q48weqrtqryq4kj6ow0e8xm9wmv9o6vgqc5j320ymybd5c-8ex8j0bc40s6hgvy5ui5gl4gy <IP_ADDRESS>:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
b. On
host2
, join the swarm as instructed above:$ docker swarm join --token <your_token> <your_ip_address>:2377 This node joined a swarm as a worker.
If the node fails to join the swarm, the
docker swarm join
command times out. To resolve, rundocker swarm leave --force
onhost2
, verify your network and firewall settings, and try again. -
On
host1
, create an attachable overlay network calledtest-net
:$ docker network create --driver=overlay --attachable test-net uqsof8phj3ak0rq9k86zta6ht
Notice the returned NETWORK ID -- you will see it again when you connect to it from
host2
. -
On
host1
, start an interactive (-it
) container (alpine1
) that connects totest-net
:$ docker run -it --name alpine1 --network test-net alpine / #
-
On
host2
, list the available networks -- notice thattest-net
does not yet exist:$ docker network ls NETWORK ID NAME DRIVER SCOPE ec299350b504 bridge bridge local 66e77d0d0e9a docker_gwbridge bridge local 9f6ae26ccb82 host host local omvdxqrda80z ingress overlay swarm b65c952a4b2b none null local
-
On
host2
, start a detached (-d
) and interactive (-it
) container (alpine2
) that connects totest-net
:$ docker run -dit --name alpine2 --network test-net alpine fb635f5ece59563e7b8b99556f816d24e6949a5f6a5b1fbd92ca244db17a4342
Automatic DNS container discovery only works with unique container names.
-
On
host2
, verify thattest-net
was created (and has the same NETWORK ID astest-net
onhost1
):$ docker network ls NETWORK ID NAME DRIVER SCOPE ... uqsof8phj3ak test-net overlay swarm
-
On
host1
, pingalpine2
within the interactive terminal ofalpine1
:/ # ping -c 2 alpine2 PING alpine2 (<IP_ADDRESS>): 56 data bytes 64 bytes from <IP_ADDRESS>: seq=0 ttl=64 time=0.600 ms 64 bytes from <IP_ADDRESS>: seq=1 ttl=64 time=0.555 ms --- alpine2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.555/0.577/0.600 ms
The two containers communicate with the overlay network connecting the two hosts. If you run another alpine container on
host2
that is not detached, you can pingalpine1
fromhost2
(and here we add the remove option for automatic container cleanup):$ docker run -it --rm --name alpine3 --network test-net alpine / # ping -c 2 alpine1 / # exit
-
On
host1
, close thealpine1
session (which also stops the container):/ # exit
-
Clean up your containers and networks:
You must stop and remove the containers on each host independently because Docker daemons operate independently and these are standalone containers. You only have to remove the network on
host1
because when you stopalpine2
onhost2
,test-net
disappears.a. On
host2
, stopalpine2
, check thattest-net
was removed, then removealpine2
:$ docker container stop alpine2 $ docker network ls $ docker container rm alpine2
a. On
host1
, removealpine1
andtest-net
:$ docker container rm alpine1 $ docker network rm test-net
Communicate between a container and a swarm service
Prerequisites
You need Docker 17.06 or higher for this example.
Walkthrough
In this example, you start two different alpine
containers on the same Docker
host and do some tests to understand how they communicate with each other. You
need to have Docker installed and running.
-
Open a terminal window. List current networks before you do anything else. Here’s what you should see if you’ve never added a network or initialized a swarm on this Docker daemon. You may see different networks, but you should at least see these (the network IDs will be different):
$ docker network ls NETWORK ID NAME DRIVER SCOPE 17e324f45964 bridge bridge local 6ed54d316334 host host local 7092879f2cc8 none null local
The default
bridge
network is listed, along withhost
andnone
. The latter two are not fully-fledged networks, but are used to start a container connected directly to the Docker daemon host’s networking stack, or to start a container with no network devices. This tutorial will connect two containers to thebridge
network. -
Start two
alpine
containers runningash
, which is Alpine’s default shell rather thanbash
. The-dit
flags mean to start the container detached (in the background), interactive (with the ability to type into it), and with a TTY (so you can see the input and output). Since you are starting it detached, you won’t be connected to the container right away. Instead, the container’s ID will be printed. Because you have not specified any--network
flags, the containers connect to the defaultbridge
network.$ docker run -dit --name alpine1 alpine ash $ docker run -dit --name alpine2 alpine ash
Check that both containers are actually started:
$ docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 602dbf1edc81 alpine "ash" 4 seconds ago Up 3 seconds alpine2 da33b7aa74b0 alpine "ash" 17 seconds ago Up 16 seconds alpine1
-
Inspect the
bridge
network to see what containers are connected to it.$ docker network inspect bridge [ { "Name": "bridge", "Id": "17e324f459648a9baaea32b248d3884da102dde19396c25b30ec800068ce6b10", "Created": "2017-06-22T20:27:43.826654485Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "<IP_ADDRESS>/16", "Gateway": "<IP_ADDRESS>" } ] }, "Internal": false, "Attachable": false, "Containers": { "602dbf1edc81813304b6cf0a647e65333dc6fe6ee6ed572dc0f686a3307c6a2c": { "Name": "alpine2", "EndpointID": "03b6aafb7ca4d7e531e292901b43719c0e34cc7eef565b38a6bf84acf50f38cd", "MacAddress": "02:42:ac:11:00:03", "IPv4Address": "<IP_ADDRESS>/16", "IPv6Address": "" }, "da33b7aa74b0bf3bda3ebd502d404320ca112a268aafe05b4851d1e3312ed168": { "Name": "alpine1", "EndpointID": "46c044a645d6afc42ddd7857d19e9dcfb89ad790afb5c239a35ac0af5e8a5bc5", "MacAddress": "02:42:ac:11:00:02", "IPv4Address": "<IP_ADDRESS>/16", "IPv6Address": "" } }, "Options": { "com.docker.network.bridge.default_bridge": "true", "com.docker.network.bridge.enable_icc": "true", "com.docker.network.bridge.enable_ip_masquerade": "true", "com.docker.network.bridge.host_binding_ipv4": "<IP_ADDRESS>", "com.docker.network.bridge.name": "docker0", "com.docker.network.driver.mtu": "1500" }, "Labels": {} } ]
Near the top, information about the
bridge
network is listed, including the IP address of the gateway between the Docker host and thebridge
network (<IP_ADDRESS>
). Under theContainers
key, each connected container is listed, along with information about its IP address (<IP_ADDRESS>
foralpine1
and<IP_ADDRESS>
foralpine2
). -
The containers are running in the background. Use the
docker attach
command to connect toalpine1
.$ docker attach alpine1 / #
The prompt changes to
#
to indicate that you are theroot
user within the container. Use theip addr show
command to show the network interfaces foralpine1
as they look from within the container:# ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet <IP_ADDRESS>/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 27: eth0@if28: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff inet <IP_ADDRESS>/16 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::42:acff:fe11:2/64 scope link valid_lft forever preferred_lft forever
The first interface is the loopback device. Ignore it for now. Notice that the second interface has the IP address
<IP_ADDRESS>
, which is the same address shown foralpine1
in the previous step. -
From within
alpine1
, make sure you can connect to the internet by pinginggoogle.com
. The-c 2
flag limits the command two twoping
attempts.# ping -c 2 google.com PING google.com (<IP_ADDRESS>): 56 data bytes 64 bytes from <IP_ADDRESS>: seq=0 ttl=41 time=9.841 ms 64 bytes from <IP_ADDRESS>: seq=1 ttl=41 time=9.897 ms --- google.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 9.841/9.869/9.897 ms
-
Now try to ping the second container. First, ping it by its IP address,
<IP_ADDRESS>
:# ping -c 2 <IP_ADDRESS> PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes 64 bytes from <IP_ADDRESS>: seq=0 ttl=64 time=0.086 ms 64 bytes from <IP_ADDRESS>: seq=1 ttl=64 time=0.094 ms --- <IP_ADDRESS> ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.086/0.090/0.094 ms
This succeeds. Next, try pinging the
alpine2
container by container name. This will fail.# ping -c 2 alpine2 ping: bad address 'alpine2'
-
Detach from
alpine1
without stopping it by using the detach sequence,CTRL
+p
CTRL
+q
(hold downCTRL
and typep
followed byq
). If you wish, attach toalpine2
and repeat steps 4, 5, and 6 there, substitutingalpine1
foralpine2
. -
Stop and remove both containers.
$ docker container stop alpine1 alpine2 $ docker container rm alpine1 alpine2
Remember, the default bridge
network is not recommended for production. To
learn about user-defined bridge networks, continue to the
next tutorial.
Other networking tutorials
Now that you have completed the networking tutorials for overlay networks, you might want to run through these other networking tutorials:
networking, bridge, routing, ports, swarm, overlay


---
layout: post
title: How iterasi Fits With Screen Capture Tools
date: '2008-05-17T00:44:54-07:00'
tags:
tumblr_url: http://alexhwilliams.tumblr.com/post/35102691/how-iterasi-fits-with-screen-capture-tools
---
How iterasi Fits With Screen Capture Tools


4.7.2. Why Can’t I Login?!¶
If you’ve reached this page, you’re having issues logging into your system with a newly created account.
In almost all cases, this is because either your user has not been placed in a group allowed to access the system, your DNS is setup incorrectly, or your PKI certificates are invalid.
<IP_ADDRESS>. SSSD Password Checks¶
SSSD has been made the default name service caching service in SIMP. During this process, we discovered that SSSD will enforce password complexity restrictions upon login. This means that, if your password does not meet the system password complexity requirements, you will not be able to login until an administrator changes your password to something stronger.
For the default complexity rules, see the What is the Password Complexity for SIMP? FAQ.
<IP_ADDRESS>. PAM Access Restrictions¶
By default, SIMP uses the pam_access.so
PAM module to restrict
access on each individual host. While this may not seem as flexible as some
methods, it is the most failsafe method for ensuring that you don’t
accidentally interrupt services due to network issues connecting to your
LDAP server.
To allow a user to access a particular system, you need to use the pam::access::rule define as shown below.
pam::access::rule { 'Allow the security group into the system':
users => ['(security)'],
origins => ['ALL'],
comment => 'The core security team'
}
pam::access::rule { 'Allow bob into the system from the proxy only':
users => ['bob'],
origins => ["proxy.${facts['domain']}"],
comment => 'Bob the proxied'
}
<IP_ADDRESS>. Faillock¶
If a user fails to authenticate properly in 5 consecutive tries (the
default pam::deny
), PAM will lock the account.
To see a list of user authentication attempts, run faillock
.
If a user is marked as invalid (I) or reaches the max number of attempts, you
will need to reset faillock
before authentication can occur. To do so, run
$ faillock --reset --user <user>
<IP_ADDRESS>. LDAP Lockout¶
If your account is in LDAP, you may have locked yourself out. Like
PAM, LDAP has a maximum number of logins, 5 by default.
See openldap::server::conf::default_ldif::ppolicy_pwd_max_failure
.
To determine if the account is locked, run the following on the LDAP server:
$ slapcat -a uid=<user>
If you see pwdAccountLockedTime
then the account is locked, and you will
need to follow the instructions in Unlock an LDAP Account to unlock it.
<IP_ADDRESS>. Troubleshooting DNS¶
If PAM is not the issue, you may be having DNS issues. This can evidence itself in two ways.
First, per the ‘Bob’ example above, you may be using an FQDN to identify a host on your network. If DNS is not properly configured, then there is no way for the host to understand that you should have access from this remote system.
Second, the default PKI settings in SIMP ensure that all connections are validated against the FQDN of the client system. In the case of an LDAP connection, a misconfiguration in DNS may result in an inability to authenticate against the LDAP service.
In the following sections, we will assume that we have a host named
system.my.domain
with the IP address <IP_ADDRESS>
.
<IP_ADDRESS>.1. Testing a Forward Lookup¶
The following should return the expected IP address for your system.
$ dig +short system.my.domain
<IP_ADDRESS>. PKI Issues¶
If both PAM and DNS appear to be correct, you should next validate that your PKI certificates are both valid and functional.
See Checking Your SIMP PKI Communication for additional guidance.