ScreenManager
public static class ScreenManager
Defines a set of methods for managing windows on different screens.
Enums
Properties
Functions
- SendToPrimary()
- SendToSecondary()
- SwapScreen()
- SendToScreen()
- ExtendScreens()
- CloneScreens()
- SetInternal()
- SetExternal()
- SendProgramsMainWindowToScreen()
- SendProgramsWindowsToScreen()
- getProcessWindowByName()
- getScreenFromWindow()
- getWindowHandlesFromScreen()
- getWindowHandlesFromProgramName()
- AlignmentToOffset()
- getDPI()
- getDPIRatio()
Enums
DisplayConfigTopology
enum DisplayConfigTopology
represents different display modes
- Internal - Disconnect Projector
- Clone - Duplicate
- Extend
- External - Projector only
ScreenAlignment
enum ScreenAlignment
represents different screen alignments
- None
- Center
- Left
- Right
- Top
- Bottom
Example:
ScreenManager.SendToSecondary(myWindow, ScreenAlignment.Center | ScreenAlignment.Right);
Properties
SecondaryScreen
static Screen SecondaryScreen { get; }
will return the first screen which is not a primary screen or null if there is only one screen. this will work assuming the first screen that is not the primary screen is the second screen. works only on extended mode
PrimaryScreen
static Screen PrimaryScreen { get; }
will return the primary screen
CurrentTopology
static DisplayConfigTopology CurrentTopology { get; set; }
DisplayConfigTopology of current state
Example:
ScreenManager.CurrentTopology = ScreenManager.DisplayConfigTopology.External;
NumberOfDisplays
static uint NumberOfDisplays
The number of displays, even on clone or internal/external
Functions
SendToPrimary()
static bool SendToPrimary(Window window, ScreenAlignment align)
static bool SendToPrimary(Window window, int offsetX = 0, int offsetY = 0)
static bool SendToPrimary(IntPtr hwnd, ScreenAlignment align)
static bool SendToPrimary(IntPtr hwnd, int offsetX = 0, int offsetY = 0)
Sends a window to the primary screen
Parameters:
- Window window/IntPtr hwnd
- to send to the primary screen
- ScreenAlignment align / int offsetX+offsetY
- Screen alignment / offset
Return value
indicates success and failure
Example:
ScreenManager.SendToPrimary(myWindow, ScreenAlignment.Center | ScreenAlignment.Right);
SendToSecondary()
static bool SendToSecondary(Window window, ScreenAlignment align)
static bool SendToSecondary(Window window, int offsetX = 0, int offsetY = 0x)
static bool SendToSecondary(IntPtr hwnd, ScreenAlignment align)
static bool SendToSecondary(IntPtr hwnd, int offsetX = 0, int offsetY = 0)
Sends a window to the secondary screen
Parameters:
- Window window/IntPtr hwnd
- to send to the secondary screen
- ScreenAlignment align / int offsetX+offsetY
- Screen alignment / offset
Return value
indicates success and failure
Example:
ScreenManager.SendToSecondary(myWindow, ScreenAlignment.Center | ScreenAlignment.Right);
SwapScreen()
static bool SwapScreen(Window window, ScreenAlignment align)
static bool SwapScreen(Window window, int offsetX = 0, int offsetY = 0)
static bool SwapScreen(IntPtr hwnd, int offsetX = 0, int offsetY = 0)
static bool SwapScreen(IntPtr hwnd, ScreenAlignment align)
Sends a window to from primary screen to secondary or from secondary screen to primary screen.
Parameters:
- Window window/IntPtr hwnd
- window/window handle to send
- ScreenAlignment align / int offsetX+offsetY
- Screen alignment / offset
Return value
indicates success and failure. failure will denote when there aren't enough displays or the current screen topology is not extend and the extend mark is set to false
Example:
ScreenManager.SwapScreen(myWindow, ScreenAlignment.Bottom);
SendToScreen()
static bool SendToScreen(Window window, Screen screen, ScreenAlignment align)
static bool SendToScreen(Window window, Screen screen, int offsetX = 0, int offsetY = 0)
static bool SendToScreen(IntPtr hwnd, Screen screen, ScreenAlignment align)
static bool SendToScreen(IntPtr hwnd, Screen screen, int offsetX = 0, int offsetY = 0)
Sends a window to a screen.
Parameters:
- Window window/IntPtr hwnd
- window/window handle to send
- Screen screen
- to send to
- ScreenAlignment align / int offsetX+offsetY
- Screen alignment / offset
Return value
indicates success and failure.
Example:
ScreenManager.SendToScreen(myWindow, ScreenManager.SecondaryScreen, ScreenAlignment.Left);
ExtendScreens()
xstatic bool ExtendScreens()
Changes CurrentTopology to DisplayConfigTopology.Extend
Return value
indicates success and failure.
CloneScreens()
static bool CloneScreens()
Changes CurrentTopology to DisplayConfigTopology.Clone
Return value
indicates success and failure.
SetInternal()
static bool SetInternal()
Changes CurrentTopology to DisplayConfigTopology.Internal
Return value
indicates success and failure.
SetExternal()
static bool SetExternal()
Changes CurrentTopology to DisplayConfigTopology.External
Return value
indicates success and failure.
SendProgramsMainWindowToScreen()
static bool SendProgramsMainWindowToScreen(string progName, Screen screen, ScreenAlignment align)
Sends the main window of a program to screen
Parameters:
- string progName
- The name of the program
- Screen screen
- Screen to send the window to
- ScreenAlignment align
- alignment on screen
Return value
bool to indicate success or failure
SendProgramsWindowsToScreen()
static bool SendProgramsWindowsToScreen(string progName, Screen screen, ScreenAlignment align)
Sends all window of a program to a screen
Parameters:
- string progName
- The name of the program
- Screen screen
- Screen to send the window to
- ScreenAlignment align
- alignment on screen
Return value
bool to indicate success or failure
Example:
ScreenManager.SendProgramsWindowsToScreen("chrome", ScreenManager.SecondaryScreen, ScreenAlignment.Center);
getProcessWindowByName()
static IntPtr[] getProcessWindowByName(string proccessName)
Returns an array of window handles of all processes with the name [processName]
Parameters:
- string processName
- The name of the process
Return values
an array of window handles of all processes with the name [processName]
getScreenFromWindow()
static Screen getScreenFromWindow(Window window)
static Screen getScreenFromWindow(IntPtr hwnd)
Retrieves a Screen for the display that contains the largest portion of the window
Parameters:
- Window window
- to get screen from
Return values
The Screen for the display that contains the largest portion of the window
getWindowHandlesFromScreen()
static IntPtr[] getWindowHandlesFromScreen(Screen screen)
returns an array of window handles in a given screen
Parameters:
- Screen screen
- A screen
Return value
an array of window handles in given screen
getWindowHandlesFromProgramName()
static IntPtr[] getWindowHandlesFromProgramName(string progName))
returns an array of window handles associated with a program name
Parameters:
- String progName
- program name
Return value
an array of window handles associated with a program name
AlignmentToOffset()
static Point? AlignmentToOffset(Window window, Screen screen, ScreenAlignment alignment)
static Point? AlignmentToOffset(IntPtr hwnd, Screen screen, ScreenAlignment alignment)
Converts ScreenAlignment to Offset. alignment is depend on the window and the screen
Parameters:
- Window window/IntPtr hwnd
- WPF Window/window handle
- Screen screen
- Screen
- ScreenAlignment align
- alignment on screen
Return value
Point? - the offset or null in case of a problem
geDPI()
public static Point getDPI()
Returns the current dpi ((96.0,96.0) is default)
geDPIRatio()
public static Point getDPIRatio()
Returns the current dpi ratio ((96.0, 96.0) will be (1.0,1.0))


{% if title %}
Cratejoy Elo Dart Rankings 🎯
Want to know how we rank? Check out the TrueSkill rating system!
Add game


A Bug's Life (1998) Voices of Dave Foley (Flik), Kevin Spacey (Hopper), Julia Louis-Dreyfus (Princess Atta), Hayden Panettiere (Dot), Phyllis Diller (Queen), Richard Kind (Molt), David Hyde Pierce (Slim), Joe Ranft (Heimlich), Denis Leary (Francis), Jonathan Harris (Manny), Madeline Kahn (Gypsy), Bonnie Hunt (Rosie), Michael McShane (Tuck and Roll), John Ratzenberger (P.T. Flea), Brad Garrett (Dim), Roddy McDowall (Mr. Soil), Edie McClurg (Dr. Flora), Alex Rocco (Thorny), David Ossman (Cornelius). A Buena Vista release of a Walt Disney Pictures presentation of a Pixar Animation Studios film. Produced by Darla K. Anderson, Kevin Reher. Screenplay by Andrew Stanton, Donald McEnery, Bob Shaw, original story by John Lasseter, Stanton, Joe Ranft. Directed by John Lasseter. Co-director, Andrew Stanton. 94 minutes. Rated G, 4.5 stars (out of five stars)
Review by Ed Johnson-Ott, NUVO Newsweekly www.nuvo-online.com Archive reviews at http://us.imdb.com/M/reviews_by?Edward+Johnson-ott To receive reviews by e-mail at no charge, send subscription requests to<EMAIL_ADDRESS>When you see "The End" appear onscreen at the conclusion of "A Bug's Life, " stay in your seat, because the show isn't over quite yet. The filmmakers have added a very clever little treat to the closing credits. The rollicking "A Bug's Life" is that kind of movie; so bright, clever and eager to please that it does everything but walk you out to your car. The computer-animated feature, from the makers of "Toy Story," deftly combines comedy, action and razzle-dazzle visuals to produce 94 minutes of pure fun.
Flik ("NewsRadio's" Dave Foley, in a spirited performance) is an ant with a vision. Eschewing the conformity of the colony, he works on various inventions, even as his colleagues roll their eyes at his fanciful notions. They're far more concerned with collecting food for the seasonal payoff to the grasshoppers; thugs who threaten violence if the ants fail to present a sufficient "offering." When Flik accidentally knocks over the bounty, invader boss Hopper (Kevin Spacey) delivers a blistering edict: if the ants don't collect a double-offering, the grasshoppers will wipe out the entire colony.
Anxious to atone, Flik sets out, in "Seven Samurai" fashion, to gather a group of warrior insects to protect the community. He finds what appears to be a formidable assemblage of bugs and convinces them to accompany him home. Unfortunately, there's been a major miscommunication: the "warriors" are in fact a hapless band of circus insects who believe they have been hired to put on a show. When the truth comes out, things look disastrous for the colony, but wait... Flik has another plan!
"A Bug's Life" earns bonus points for its knock-out supporting characters. While the early portion of the film is charming and visually stunning, things really don't kick into high gear until the wonderfully eccentric members of P.T. Flea's Circus make their appearance. The ants are a sweet, but bland, bunch, with only Flik, the Queen (Phyllis Diller), Princess Atta (Julia Louis-Dreyfus), and young Dot (Hayden Panettiere) really displaying any individual sparks. Even they pale in comparison with the motley band of circus insects. The group includes a glamorous spider (Bonnie Hunt), Hungarian acrobat bugs Tuck and Roll (Michael McShane), a grumpy, misunderstood ladybug (Denis Leary) and prickly walking-stick insect Slim (a hilarious David Hyde-Pierce).
Best of all is Manny, an aging, narcissistic praying mantis with regal pretensions, played to perfection by Jonathan Harris. When Harris, the villainous Dr. Smith from the old "Lost In Space" TV series, was offered a cameo in this year's big-screen adaptation of the show, he turned it down, sniffing "I don't do bit parts." At the time, I dismissed his words as mere prattling from a egocentric has-been. Who knew that the old ham had a gig this good up his sleeve?
Without minimizing the pleasures of the similarly-themed "Antz," "A Bug's Life" is a much more satisfying film. The production mixes radiant colors, a score that echoes epic westerns, and extraordinary imagination in creating its miniature landscapes. A visit to an insect city is wonderfully realized, with discarded food containers from the human world serving as buildings (and, in marked contrast to "Antz," there is nary a product placement in sight).
The visuals from the computer graphic wizards at Pixar are nothing less than breathtaking. A scene depicting Flik taking flight, parasailing on a single sprig of a dandelion blossom, is both lyrical and stunning. The detail work in the shot shows just how far computer graphics have come in the three short years since "Toy Story."
Of course, an adventure film can't succeed without a good villain, and Kevin Spacey does terrific work as Hopper, malevolent leader of the menacing grasshoppers, playing the character like a swaggering biker from "The Wild Ones." Listen closely as the grasshoppers prepare to take off and you'll notice that the audio effect boys incorporate the sounds of motorcycles revving up into the background noise. Nice touch.
"A Bug's Life" isn't perfect. The secondary ants are unnecessarily bland and some of the action scenes are too boisterous for their own good, but these are small quibbles. Warm, funny and thrilling, "A Bug's Life" represents a powerful stride for computer animated films, as well as yet another triumph for the alliance between Disney and Pixar Studios. Get ready for one of the best films of the year and don't forget to stay for the closing credits.
Incidentally, "A Bug's Life" is preceded by "Geri's Game," a delightful Pixar comic short about an elderly gent's tricks during a chess game in the park. Sunny, ingenious and very funny, the feature showcases the best computer rendering of the human form to date.
© 1998 Ed Johnson-Ott
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


|
All HIV Exposed infants are listed in this profile table. In IQCare these are infants below two years registered in the ANC Maternity and postnatal service area. Lab tests for these patients is extracted into the tmp_Labs table.
#
|
Name
|
Type
|
Description
|
Options
|
1
|
PatientPK
|
Integer
|
System assigned unique key
|
0,1,2,3,4,5,6,7
|
2
|
PatientID
|
|
|
|
3
|
FacilityID
|
|
|
|
4
|
DOB
|
Date
|
Date of birth
|
|
5
|
AgeEnrollment
|
Number
|
Age at enrollment
|
|
6
|
RegistrationAtPMTCT
|
Date
|
Registration date at PMTCT module
|
|
7
|
PatientSource
|
Text
|
Entry point into PMTCT
|
|
8
|
BirthWeight
|
Number
|
Weight at birth
|
|
9
|
ARVProphylaxis
|
Text
|
ARV drugs infant is taking for prophylaxis
|
|
10
|
MotherID
|
Text
|
Patient ID of the mother
|
|
11
|
HEIOutcome
|
Text
|
Outcome
|
|
12
|
OutcomeDate
|
Date
|
Date of outcome
|
|
|


Hey!
×
Hey!
×
Username
Please choose a username.
Password
Please type password.
Email
Please choose an email.
Submit form
Clear form


|
DESERT
3.0
|
#include <marptable.h>
Public Member Functions | |
| UWARPEntry (nsaddr_t dst) | |
Public Attributes | |
| int | up_ |
| nsaddr_t | ipaddr_ |
| int | macaddr_ |
| Packet * | hold_ |
| int | count_ |
ARP table entry.
Definition at line 63 of file marptable.h.
|
inline |
| int UWARPEntry::count_ |
Number of tries.
Definition at line 88 of file marptable.h.
| Packet* UWARPEntry::hold_ |
cached packet
Definition at line 86 of file marptable.h.
| nsaddr_t UWARPEntry::ipaddr_ |
network address
Definition at line 82 of file marptable.h.
| int UWARPEntry::macaddr_ |
mac address
Definition at line 84 of file marptable.h.
| int UWARPEntry::up_ |
Is address up?
Definition at line 80 of file marptable.h.


Settings of game.
See Also: Inherited members from object.
|
|
GameSetting
()
|
Initializes a new instance of this class. |
|
|
EnableNoAttack | bool . Whether or not the game permit to attack no one. |
|
|
MaxTalk | int . The maximum number of talks. |
| [read-only] | PlayerNum | int . The number of players. |
|
|
RandomSeed | long . The random seed. |
|
|
RoleNumMap | Dictionary<AIWolf.Common.Data.Role, int> . The number of each role. |
| [read-only] | VotableInFirstDay | bool . Whether or not there is vote in the first day. |
|
|
VoteVisible | bool . Whether or not agent can see who vote to who. |
|
|
Clone
()Creates a new object that is a copy of the current instance. |
|
|
static
|
GetDefaultGame
(int)Default setting of game. |
|
|
static
|
GetSeminarGame
()The setting of the game for the seminar. |
Initializes a new instance of this class.Syntax
public GameSetting ()Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
Creates a new object that is a copy of the current instance.Syntax
public object Clone ()Returns
A new object that is a copy of the current instance.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
Whether or not the game permit to attack no one.Syntax
[System.Runtime.Serialization.DataMember(Name="enableNoAttack")]
public bool EnableNoAttack { get; set; }Value
True if the game permit to attack no one, otherwise, false.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
Default setting of game.Syntax
public static GameSetting GetDefaultGame (int agentNum)Parameters
- agentNum
- The number of agents.
Returns
Default setting of game with given number of agents.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
The setting of the game for the seminar.Syntax
public static GameSetting GetSeminarGame ()Returns
GameSetting for the seminar.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
The maximum number of talks.Syntax
[System.Runtime.Serialization.DataMember(Name="maxTalk")]
public int MaxTalk { get; set; }Value
The maximum number of talks.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
The number of players.Syntax
[System.Runtime.Serialization.DataMember(Name="playerNum")]
public int PlayerNum { get; }Value
The number of players.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
The random seed.Syntax
[System.Runtime.Serialization.DataMember(Name="randomSeed")]
public long RandomSeed { get; set; }Value
The random seed.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
The number of each role.Syntax
[System.Runtime.Serialization.DataMember(Name="roleNumMap")]
public Dictionary<AIWolf.Common.Data.Role, int> RoleNumMap { get; set; }Value
Dictionary storing the number of each role.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
Whether or not there is vote in the first day.Syntax
[System.Runtime.Serialization.DataMember(Name="votableInFirstDay")]
public bool VotableInFirstDay { get; }Value
True if there is vote in the first day, otherwise, false.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>
Whether or not agent can see who vote to who.Syntax
[System.Runtime.Serialization.DataMember(Name="voteVisible")]
public bool VoteVisible { get; set; }Value
True if agent can see who vote to who, otherwise, false.Remarks
Requirements
Namespace: AIWolf.Common.Net
Assembly: AIWolfLibCommon (in AIWolfLibCommon.dll)
Assembly Versions: <IP_ADDRESS>


--- layout: page title: Contact UKMON description: Get in touch with team behing largest UK Meteor Detection Network permalink: /contact/ image: img/twitter-card-default.jpg ---
If you want to report fireball, join UKMON or even if you just have a question.
And we are on Social Media too.


Singapore’s healthcare system is designed to ensure that everyone has access to different levels of healthcare in a timely, cost-effective and seamless manner. Healthcare services are accessible through a wide network of primary, acute, step-down care providers & other supporting services.
- over 1500 Private General Practitioner clinics
- 18 Public Polyclinics around the island
As the bedrock of its Healthcare system, the primary care network is designed to deliver efficient and affordable front line healthcare services to members of the public.
16 public hospitals & Specialty Centres
10 private hospitals
The Government has restructured all its acute hospitals and specialty centres to be run as private companies wholly-owned by the government. This is to enable the public hospitals to have the management autonomy and flexibility to respond more promptly to the needs of the patients.
12 Community Hospitals
71 Nursing Homes
116 Non-Residential Long Term Care Providers
Intermediate and long term care (ILTC) services are typically required for persons who need further care and treatment after being discharged from an acute hospital as well as community-dwelling seniors who may be frail and need supervision or assistance with their activities of daily living.


Artist Name - Artist Title
Tim McMorris - A Bright And Hopeful Future
Tim McMorris - Be My Valentine
Tim McMorris - Give Our Dreams Their Wings To Fly


|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dxf2svg.util.Pen
This class encapsulates an AutoCAD pen object. Pens, like their real world counterparts, have attributes that make them useful. These attributes are line width (line weight or thickness), line colour (or stroke in SVG) and line type. The line type of a pen controls whether the lines created by the pen have dashes in them.
Pens also have general characteristics that describe how all pen lines behave when then meet at end points. Key words that discribe this behaviour are miter, round and bevel. In addition you may specify how the end of the line ends; whether it is ends with a round end a square end or a butt end, where the line stops dead at the end point.
| Nested Class Summary | |
protected class |
Pen.InvalidColourValueException
This exception gets thrown if an argument colour value is out of range. |
| Field Summary | |
static int |
DEFAULT
Default for both linecap and linejoin setting this will switch off explicit join and cap requests and let the plugin decide. |
static int |
LINECAP_BUTT
|
static int |
LINECAP_ROUND
|
static int |
LINECAP_SQUARE
Types of line caps for all pens either square, butt or round. |
static int |
LINEJOIN_BEVEL
|
static int |
LINEJOIN_MITER
Types of line joins for all pens which can be either miter, round or bevel. |
static int |
LINEJOIN_ROUND
|
| Constructor Summary | |
Pen()
Creates a pen object with default colour, line weight and line type of 'CONTINUOUS'. |
|
Pen(double lineWeight)
Creates a new pen object with line weight and the default colour of "#000000" (black) and line type of 'CONTINUOUS'. |
|
Pen(int colourNumber)
Creates a new pen object with a specific colour, default line weight of '0.01' inches and line type of 'CONTINUOUS'. |
|
Pen(int colourNumber,
double lineWeight)
Creates a new pen object with colour and line weight values and line type of 'CONTINUOUS'. |
|
Pen(TableLineType lineType)
Creates a new pen object with a specific line type, the default colour of black and a line weight of '0.01' inches. |
| Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getColour()
Returns an unformatted hex string value of colour i.e. '#00FE09'. |
int |
getColour(int i)
Returns the colour of the pen as an integer value. |
static java.lang.String |
getLineCapType()
Returns a string value of the current line cap type. |
static java.lang.String |
getLineJoinType()
Returns a string value of the current line join type. |
java.lang.String |
getLineWeight()
Returns the line weight of the pen, converted to a String value. |
double |
getLineWeight(double d)
Returns the line weight of the pen in it's original as a double. |
boolean |
isVisible()
Returns the visibility of the pen. |
void |
setColour(int colourNumber)
Sets the colour of this pen. |
static void |
setLineCapType(int capType)
Sets the line cap for pens. |
static void |
setLineJoinType(int joinType)
Sets the join type for pens when two lines meet at a corner. |
void |
setLineType(TableLineType lineType)
Sets the line type of the Pen's line; leaving this unset results in the pen having a default line type of CONTINUOUS. |
void |
setLineWeight(double lineWeight)
Sets the line weight of this pen. |
void |
setVisible(boolean isVisible)
This method switches the visibility of a Pen on or off. |
java.lang.String |
toString()
Returns a string version of the Pen object in the following convienent form: "stroke:#000000;stroke-width:0.007in;visibility: ... |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int LINECAP_SQUARE
public static final int LINECAP_BUTT
public static final int LINECAP_ROUND
public static final int LINEJOIN_MITER
public static final int LINEJOIN_ROUND
public static final int LINEJOIN_BEVEL
public static final int DEFAULT
| Constructor Detail |
public Pen(int colourNumber, double lineWeight)
Pen.InvalidColourValueException
- if argument is out of range.public Pen(double lineWeight)
public Pen(int colourNumber)
Pen.InvalidColourValueException
- if argument is out of range.public Pen(TableLineType lineType)
public Pen()
| Method Detail |
public void setLineType(TableLineType lineType)
lineType
- This object is created from a line type definition
within the blocks section of the DXF and are typically created by EntityProcessor.
Passing a TableLineType allows the pen to determine the current drawing's
line type configuration for this pen. The TableLineType object describes
the dashes and dot sequences of a line type. If no line type is set for this
type of Pen, the default value is assumed (CONTINUOUS) and no 'stroke-dasharray'
attribute is included.public void setLineWeight(double lineWeight)
public void setColour(int colourNumber)
setVisible(boolean)
method. This is done to over come a short
coming in AutoCAD that allows frozen objects to have positive
colour numbers, and therefore appearing in the drawing dispite
their being frozen. What was happening is a pen for a layer
was created, the layer turns out to be frozen so the visibility
is turned off, and then the colour is switched to a positive
value; rendering the previous calculations null.
The default colour of a pen is black (#000000).
Pen.InvalidColourValueException
- if argument is out of range.public void setVisible(boolean isVisible)
for more information about setting colour values
for Pens.
public final java.lang.String getColour()
public final int getColour(int i)
public final java.lang.String getLineWeight()
public final double getLineWeight(double d)
d
- the argument can be any arbitrary, double value.public final boolean isVisible()
public java.lang.String toString()
"stroke:#000000;stroke-width:0.007in;visibility: ... "
.
public java.lang.Object clone()
public static void setLineJoinType(int joinType)
LINEJOIN_MITER
LINEJOIN_ROUND
LINEJOIN_BEVEL
DEFAULT
uses the viewer's default value for line joins.
All pens for all drawings inherit this value.
public static void setLineCapType(int capType)
LINECAP_SQUARE
LINECAP_BUTT
LINECAP_ROUND
DEFAULT
uses the viewer's default value for line caps.
All pens in all drawings will inherit this value.
public static java.lang.String getLineCapType()
LINECAP_BUTT
default.
LINECAP_SQUARE
LINECAP_ROUND
public static java.lang.String getLineJoinType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


{{template "links.html"}}
This tool uses a Master Key and a SafeNet Key Variant to calculate a clear key from an encrypted key, or an encrypted key from a clear key.


Previous: Tilde I-> Indent, Up: FORMAT Pretty Printer Operations
~/name/
User defined functions can be called from within a format string by using the directive ~/name/. The colon modifier, the at-sign modifier, and arbitrarily many parameters can be specified with the ~/name/ directive. name can be any arbitrary string that does not contain a "/". All of the characters in name are treated as if they were upper case. If name contains a single colon (:) or double colon (::), then everything up to but not including the first ":" or "::" is taken to be a string that names a package. Everything after the first ":" or "::" (if any) is taken to be a string that names a symbol. The function corresponding to a ~/name/ directive is obtained by looking up the symbol that has the indicated name in the indicated package. If name does not contain a ":" or "::", then the whole name string is looked up in the COMMON-LISP-USER package.
When a ~/name/ directive is encountered, the indicated function is called with four or more arguments. The first four arguments are: the output stream, the format argument corresponding to the directive, a generalized boolean that is true if the colon modifier was used, and a generalized boolean that is true if the at-sign modifier was used. The remaining arguments consist of any parameters specified with the directive. The function should print the argument appropriately. Any values returned by the function are ignored.
The three functions pprint-linear, pprint-fill, and pprint-tabular are specifically designed so that they can be called by ~/.../ (i.e., ~/pprint-linear/, ~/pprint-fill/, and ~/pprint-tabular/). In particular they take colon and at-sign arguments.
Previous: Tilde I-> Indent, Up: FORMAT Pretty Printer Operations


Brag Sheet
I love writing and technical development.
My Medium articles get hundreds of views a month. Some of my most popular have been my take on proxy voting, my technical explanation of mobile development heirarchy, and my piece on mobile testing automation.
I began volunteering with the World Health Organization COVID-19 App project in March 2020. The team started a series of exploratory teams, along with a major effort that the majority of developers focused on. I lead an exploratory development in Flutter. After 2 days, it was clear that the app I created was the more developed than the main effort. We switched the main effort to it, and I was promoted to a mobile code owner and a Client UI lead.
Click the down button to find out more.
Over the next few months I continued to do technical development. I wrote over 10,000 lines of code. In mid-August, as the app prepared to launch in Nigeria, I was promoted to an overall technical lead, and an overall code owner.
Click the down button to find out more.
Recently, I began doing more than technical. I have started contributing to our media packets and reaching out to government agencies. I have had meetings with Ted Lieu's office, and the Nigeria CDC and participate in weekly meetings with the WHO.
Click the down button to find out more.
Yale Open Lab was the first international project I was a part of. I partnered with a group of developers in Los Angeles, and a parallel German team to build a web extension to Amazon that kept track of user's carbon footprints from their Amazon purchases on a decentralized ledger. I led the web extension front end team.
Hack for LA is a group of programmers who work to help develop tech to help Los Angeles, and America. When I joined during my freshman summer, I was the first minor. I spent 8 months as a web developer, before I became a technical lead. I served as a technical lead for two months before I left to work on the World Health Organization COVID-19 App
HackSC is USC's largest hackathon, and one of the worlds largest collegiate level hackathons. When I went in 2020, it was my first hackathon. My friend Jason and I built an app, but when the judges came to judge us it didn't work. This year we came back and won. In a weekend we built a full stack marketplace with advanced animations, server security and network acceleration. Click here to see a video about our project.
I had the pleasure of working with Ben on an all-volunteer project building the World Health Organization’s consumer-facing mobile app responding to the COVID-19 pandemic. I served as co-lead of the engineering effort, and Ben was one of the star engineers who was one of the most valuable contributors to the code base and the project overall. Ben was an absolute joy to work with, bringing a strong technical skill set, experience in Flutter, a constant positive attitude, a voracious appetite for learning, and a strong work ethic to the team. Ben proved his value very early on in the project, when we ran parallel efforts to develop the first version of the application in a week’s time using a couple of different mobile frameworks. Though the primary effort ran in Ionic React, Ben led an auxiliary effort to develop the same application in Flutter, coordinating with two other developers. As the deadline approached, Ben’s effort with Flutter proved to be much more polished than that of the other frameworks, and so it was his version of the application that we submitted for our first App Store approvals. It was an incredible feat to build a launch-ready application for a global organization responding to a worldwide health crisis in just a few days; even more incredible to do so as a high school student! But that’s Ben: never intimidated, meeting every challenge with enthusiasm. Even as the project endured chaotic ups and downs, Ben never complained, only asking what more he could do to help and showing initiative in finding new ways to contribute. We leaned heavily on Ben, who continued to step up throughout the project, serving as the co-lead of the client UI. Outside of his development contributions, I enjoyed seeing how Ben interacted with other team members, too. On a team that had hundreds of worldwide volunteer engineers constantly flitting in and out of the project, Ben emerged as a positive, empathetic, and patient leader. He went out of his way to help teach the Flutter framework to those with less experience in it. He inspired others with his dedication to the project, as one of the handful of consistent contributors for the entire 6 months I was involved in the project, and when he spoke, the team listened. To say that Ben has an incredibly bright future ahead of him would be a massive understatement and would discount how much he has to offer right now - we would not have been able to launch the app without him. I’m extremely proud of Ben and impressed by him, and I can’t wait to see what he’s able to accomplish in his career.
When I first met Ben, I was impressed with technical acumen and his impressive experience building apps that had real world users. He both learns extremely fast, and is interested and able to slow down enough to explain it to the rest of us. There is no doubt that Ben could be off coding in basement someplace building the next Twitter. But his strong sense of community and team work, makes him uniquely qualified to run multi disciplinary teams and shepherd software projects to their successful completion. Detail about my experience working with Ben: Ben soft interviewed all my organizations leaders, identifying the most likely sponsor (which turned out to be me), and then pitched the project’s original concept. He then kept championing the New Schools Today project through the development of the concept until it was time to recruit (many projects don’t make it to that point). Ben began his recruiting outside the organization (most teams get to use the organizations recruitment pipeline, but Ben’s target team members were not part of that pipeline). This kicked off a cycle of continuous integration: onboarding new team members weekly, and getting the existing team started on productive work - although all the needed roles had not yet been filled. Ben's team has had almost 100% retention, and continues to grow. They are continuing to identify areas where they need expertise and are expanding their recruitment to gather that expertise. Ben has developed a product roadmap and through his observant and deliberate project leadership, the team has entered the Performing stage of Agile teams. I am very proud of Hack for LA / Code for America’s first all High School Team and I believe Ben’s team, project and product that they are building will change school environments measurably.
Please consider recommending me for college


-PLANS-
Private Office
Hold meetings or interviews, assemble your team to hash out the next strategy, or even have a Friday happy hour. This space is yours
$950 per month
Desk Space
Join us during daytime hours and have your own space to get things done.
$450 per month
Night Owl
Like to work while everyone else plays? Get a discount for avoiding the crowd. We get it. We're night owls too.
$300 per month


{% extends 'base.html' %} {% load static %} {% block aboutTabbedNavigation %}
{% endblock aboutTabbedNavigation %} {% block Content %}Originally developed by Mathieu Jacomy at the Sciences-Po Medialab.
Refreshed, refactored and tuned up by The Codokans in March 2018, a second year undergraduate computer science team from King's College London.
Dr. Jeroen Keppens and Dr. Solon Pissis of King's College London, for supervising the project and providing administrative support.
Sebastian Grauwin, for developing Bibliotools3.0, the back-end data processing prototype upon which ScienceScapeS is based.
And the developers of all the data science tools our website uses and builds upon


Getting Started¶
The easiest way to run the model is to use Docker (a kind of virtualization software). After installing Docker, you will download the model’s Docker image hosted on DockerHub, and run the image. The image contains everything needed to run the model (NEURON, Python, MPI, all required OS and Python packages). The image will open a Jupyter Lab environment which you can use to interact with the model.
Alternatively, if you have NEURON 7.7+Python installed, you can download the model source code, install required packages, and run the model locally.
Running Dockerized Model¶
Install Docker¶
Follow the steps for your OS to install Docker on your machine.
Download the Olfactory Bulb Model Image¶
In your OS terminal, run the following command to download the latest model image from DockerHub:
docker pull jbirgio/olfactory-bulb:latest
Run the Image and Open Jupyter Lab¶
Once the image is downloaded, run the image with the following command:
docker run -p 8888:8888 jbirgio/olfactory-bulb:latest
The Docker container will start and load the image. The image is programmed to start a Jupyter Lab environment. In the terminal output, you should see a URL that looks something like:
http://<IP_ADDRESS>:8888/?token=6e7edee...0e02142
Copy and paste the URL into your browser to open the Jupyter Lab environment that is running inside the model’s Docker container.
Run the Notebook with Experiments¶
On the right panel of Jupyter Lab, find the notebooks
folder and
open the LFP Wavelet Analysis
notebook. Then run all the cells of
the notebook.
Once the simulation starts, you should see something like this (OK to ignore any ‘Mechanism imported…’ NEURON warnings):
Starting paramset: GammaSignature (1/5)...
numprocs=16
Rank Complexity min: 551, mean: 662.625, max: 791
Starting simulation...
Time: 10.0 ms
After the simulations finish, running the next cell will plot the simulation output:
The first row contains the odor input spikes to the glomerular tufts of mitral (blue) and tufted (red) cells.
Next are the somatic voltage traces of tufted (red) and mitral (blue) cells
The next trace is the raw LFP signal
Then the LFP signal band-pass filtered to include frequencies between 30-120 Hz
Then a wavelett spectrogram of the filtered LFP signal
Finally, the average LFP spectrogram across all the sniffs, containing the two-cluster gamma fingerprint
The remaining cells demonstrate how the gamma fingerprint is disturbed when one of the key network mechanisms is disabled.
Adjusting Parameters¶
The show_plots
function takes the name of a parameter set Python
class.
To change the simulation parameters, use the right panel in Jupyter Lab
to open the [repo]/olfactorybulb/paramsets/case_studies.py
file.
After modifying e.g. the GammaFingerprint
class, rerun the
simulation with the new parameter values with this notebook command (replace
16
with the number of cores in your machine):
!cd ..; mpiexec -np 16 python initslice.py -paramset GammaSignature -mpi
After simulation completes, re-run the show_plots
function to see
the updated results:
show_plots('GammaSignature', sniff_count=8)
Building and Running the Model Locally (without Docker)¶
Running the model locally without Docker has the following requirements:
Ubuntu 16.04 LTS
Anaconda Python 3+ (miniconda ok) is installed
NEURON 7.7+Python+MPI is working (e.g. can run
python -c 'import neuron'
andmpiexec ...
).
Note: NEURON must be v7.7. As of this writing, 7.8 results in NEURON seg faults.
The general steps are:
Clone the model repository
Install required python packages
Compile .mod files
Run Jupyter Lab/Notebook
The commands below are similar to those performed by the Docker file.
Consider creating a new conda environment (e.g. conda create --name obenv python=3.7
) to keep the model python packages separate.
# Clone the model repository
git clone https://github.com/justasb/OlfactoryBulb; cd OlfactoryBulb;
# Install required Python packages
conda install pandas=1.0.3 -y
python -m pip install pip==9.0.3 # One of the packages requires an older version of pip
pip install -r requirements.txt
# Compile mod files (most importantly under 'prev_ob_models/Birgiolas2020/Mechanisms')
cd prev_ob_models
./compile_mod.sh # Assumes nrnivmodl is setup. This will also delete all x86_64 subfolders.
cd ..
To test the above steps, the following 1ms test simulation should run without errors:
mpiexec -np 2 python initslice.py -paramset OneMsTest -mpi
After the above steps are finished, run jupyter lab
and follow the
steps to run the notebook experiments.


{{name.initials}}
{{name.full}}
{{email}}
facebook.com/{{social.facebook}}
twitter.com/{{social.twitter}}
linkedin.com/in/{{social.linkedin}}
{{about}}
work_history
Professional Experience
{{ work.company }}
{{ work.years }}
school
Education
star
Competencies
saved_search
Others


Nothing without motorcycle!
We are sure that we will be delighted with this text by bikers like those who like motorcycles, that is, motors. Below we bring you the texts that are the most expensive motors in the world ...
Of course, it would be nice if some of us could afford such a luxurious fortune on two wheelss, so that after they tell us their impressions. However, the price is an important factor in all this, so we will be left with our words and pictures ...
This motorcycle was designed by Claudio Castillon, all in the desire to create something commercially and uniquely. The engine carrying its initials reaches a speed of 315 kilometers per hour, and the bodywork is made of platinum.
This engine is one of the most expensive and recorded in the Ginis's record book for the fastest and most powerful engine in the world. The MTT Turbine SuperBike turbocharger was built in cooperation with Rolls Royce, and besides standard gadgets, this turbo engine has built-in cameras and LCD color a screen for safer driving, a "Smart Start" ignition and a bunch of other interesting things, which makes it very popular among Hollywood stars ...
This engine was created by Andrew Morris in honor of the legendary British Grand Prix motorcycle champion Beri Shine who died in his 52. For this reason, only 52 models will be produced, each of which meets the unique requirements of the customer.
Designed when and Ducati 998RS, with this motorcycle, Italian designers and engineers began to create technologically serious and costly motors in order to win the leading position in the motor industry. Equipped with lightweight metals and alloys such as aluminum and titanium, which makes it quite lightweight. The covers and components are not hidden, but the top-of-the-line design makes it truly aesthetically pleasure.
This luxury motorcycle has a titanium body with bodywork and carbon fiber wheels. Its seat is ergonomically adjustable, has a fuel-injection system with internal cooling, and a special detail is the built-in watch of the exclusive French watchmaker BRM. There are only 10 models of this engine.
Reproduction of Dodge's concept of the "automotive sculpture" engine, let's just say that this Dodge engine is not legally allowed for a public drive. The 8-liter and 10-cylinder engine is fitted with this motor beast up to 100 kilometers in just 2.5 seconds ! Maximum speed Dodge Tomahawk reaches an incredible 400 kilometers an hour!


@* uploader Template File *@ @(message: String) @main("Welcome to Play") { Uploader example: @helper.form(action = routes.Uploader.upload, 'enctype -> "multipart/form-data") {


iOS vs. Android UI Design: The Main Differences
iOS vs. Android Navigation
Top-of-screen navigation
- iOS, the left action is some sort of “back” – whether to the previous screen sequentially or the parent screen hierarchically. The page title is virtually always present. Optional right page action(s) can be displayed as a single text action or multiple icon actions
- Android, there doesn’t need to be anything to the left of the page title, but (a) if the page is a top-level page and there’s a hamburger button in the app, it appears there, or (b) if this page follows another sequentially, you can optionally add a back button
- Resources: iOS navigation bars; Material Design top app bar
Primary Navigation Destinations
iOS, primary destinations in the app are listed as tabs across the bottom.
- There are 2-5 tabs total
- They represent the main destinations or “nouns” of the application
Many popular third-party iOS apps also conform to a few additional guidelines:
- Any tab that represents the primary action of the app – for instance, adding a new photo in a photo-based app – is centered
- Any profile- or settings-related tab appears last
- Search appears second
iOS default apps, on the other hand, (1) discourage actions being in the tab bar, (2) don’t have profile- or settings-related tabs, and (3) make search appear last.
- The biggest difference on Android is that the same primary destinations are more spread out throughout the interface – often between (a) a hamburger button, (b) a search bar, (c) tabs, or (d) a floating action button. Note: Android does use bottom navigation more recently.
- Resources: iOS tab bars; Material Design understanding navigation
Secondary Navigation Destinations
- iOS, navigation destinations that can’t fit in the bottom tab bar can (a) be shunted into a catch-all “More” tab or (b) appear as actions in the top-left or top-right of other destinations.
- Android, secondary nav destinations are listed in a side menu accessible by pressing a hamburger button.
- Note: while Apple doesn’t specifically encourage use of the hamburger button (or use it in their default apps), a lot of third-party iOS apps do have one
- Resources: Material Design nav drawer
Navigation Takeaways
- Bottom of screen - both use this and it is a safe option for placing universal primary navigation
- "Hamburger"/"More" probably provides the best mix of consistancy & scaleability, while leaving space at the top for other components
- Tabs - below the context these provide the means to show Parent and Children at any level of the information hierarchy
- Search - probably want to place a scoped search near the lists (hence below the context & tabs). A more universal one needs to be positioned at the top of the hierarchy. The 2nd spot on the footer menu may be best position as a universal default
- Floating action - this seems very particular to Material design, as a first pass we should probably start with a pattern closer to desktop model
“Back” Pattern on iOS vs. Android
On iOS, you can navigate backwards in 4 different ways, depending on the context.
- Press “Back” action on top-left of screen - Any screen on which a “Back" action appears
- Swipe right from left edge of screen - Any screen on which a “Back” action appears in the upper-left
- Press “Done” action on top-right of screen - Non-editing modal views
- Swipe down on screen content - Modal or fullscreen views
Modal and fullscreen views
- Modal views can be dismissed by swiping down or tapping a “Back” action at the top.
- Fullscreen views are media like photos or videos that take up the entire screen. They’re dismissed by swiping down on both iOS and Android.
iOS vs. Android Control Design
Primary call-to-action buttons
- On iOS, the page’s primary button will usually be on the upper-right.
- On Android, however, the page’s primary button will often appear in the bottom-right as a floating action button, or FAB for short.
- It’s worth noting that each platform will still have exceptions. Let’s take a look.
- Occasionally on iOS, important page actions will appear on a bottom toolbar. Apple likes to stress this is reeeeally different from a tab bar, but come on now.
- Likewise, occasionally on Android, important actions will appear at the top of the screen.
- Resources: iOS buttons; Material Design floating action button
Primary call-to-action Takeways
- We need to prioritise Create, Read, Update, Delete
- Read is navigation problem
- Update is the primary action from read
- Should probably be placed to right top side which seems more transferable outside of a full embracement of Material Design flot action
- Delete must only be available in context > tab > table > select
- Create is the primary on the list view.
- Is Create (child) a pairing with Update (parent) depending on the tab chosen and if the tabs can scroll is that an issue? Possibly not if the active tab is prioritised to keep in view.
- This suggests that the tabs need to locked to the header so the action is in proximity with the context tab.
- In a scrolling tab - if last place just inside right otherwise just inside left
Primary call-to-action Takeways 2
- Google and Apple both use tabs
- Google and Apple both place primary actions elsewhere
Search
iOS vs Android search UI differences;
- To cancel the search, press “Cancel” on iOS or “←” on Android
- To clear the current query, but remain on the search screen, press “X” on iOS or “X” on Android
Search 2
Search 3
Tapping the search bar will bring up a totally separate screen, when search isn’t as critical or common, you can access it via other places.
- iOS vs Android search access UI differences
- On iOS, it’s common to see search as one of the tabs in the primary tabs, or an action in the top nav bar.
- On Android, you’ll also see it in the contextual actions on the top bar as well.
- Resources: iOS search bars; Material Design search pattern
iOS & Android Action Menus 2
iOS & Android Action Menus 3
- A newer (iOS 13) iOS feature called “context menus” shows related actions when you tap and hold an element. When the context menu is shown, the background is blurred out.
- And on Android, many menus will appear in-place directly on the element. In newer versions of Android, the menu will cover the kebab icon itself.
- Resources: iOS action sheets, context menus; Android menus, bottom sheets
Action Menus Takeaways
- 3 dot "kebab menus" need to be supported
- These might be an option for Primary actions lets try to keep them on the list views
- iOS need to be explored better to see if we should have a place for them
Selection controls
On mobile, it’s smart to handle choices among few options differently from choices among many options.
- For choices among relatively few options, use a picker control on iOS. Pickers can appear anchored at the bottom (shown above), or inline with the content (see “Date Pickers” below for an example).
- For choices among few options on Android, it’s typical to use a dropdown menu (which appears in-place) or a modal dialog (which appears centered and darkens the app background) listing the options.
Selection controls 2
- For longer lists of options, or when multi-selection is possible, it’s common to see a dedicated “picker screen” on both iOS and Android. One of the biggest beginning designer mistakes in mobile design is not dedicating a full screen to the picking of a single choice with many options.
- Resources: iOS pickers; Android dropdown menus, dialogs
Selection controls Takeaways
- Android Patterns look closest to desktop and should define the default behavious - dropdowns, radio buttons, checkboxes
Date pickers on iOS vs. Android
Date pickers on iOS vs. Android 2
- On iOS, date pickers take the appearance of any other picker control, but with a column for day, month, and optionally year.
- Android has its own custom date picker control. You can choose to include year, not include it, or allow the user to choose whether or not they want to include it.
- Resources: iOS picker; Android date picker (notice the differences in the Material Design spec)
Date pickers Takeaways
- Android Pattern look closest to desktop and should define the default behavious
iOS and Android Tabs
- It’s worth noting that iOS doesn’t have a control that visually resembles “tabs”. Instead, Apple calls for you to use a segmented button to navigate between sister views.
- On Android, a “flat design” style tab is used for the same display.
- Resources: iOS segmented controls; Material Design tabs
Tabs Takeaways
- This is possibly the most important Pattern to help us with a toolkit
- It needs to reconcile with the Patterns used on a desktop machine
- Android Pattern with a back botton on left, primary button as text and tabs scrollable if needed
“Undo” Pattern on iOS and Android
- On iOS, alerts appear in the center of the screen, but you’ll also see alerts slide up from the bottom of the screen (technically called “action panels” in iOS lingo). Destructive actions (like deleting something) are red.
- On Android, some alerts appear in the center of the screen. However, for alerts that don’t require user input and should disappear after a few seconds, you can use “snackbars”. Snackbars are fantastic, because (a) they give you a way to tell the user that their action was a success, and (b) you can add an action or two on them – which makes them the ideal place for “Undo”. And when it comes down to it, I’d rather give my users the option to undo a mistake then ask them twice every single time they try to make an important decision.
- Resources: iOS Undo; Material Design snackbars
"Undo" Takeaways
- iOS Pattern look closest to desktop with non trivial data and should define the default behavious
iOS - this is duplicating much of first set
iOS Nav Bar
The nav bar is where the app displays navigation, the page title, primary page actions, and – often – search.
You can think of the iOS nav bar as being comprised of up to three “rows”. Typically;
- First row: Page Actions
- Second row: Page Title
- Third row: Search (very optional)
iOS Nav Bar 2
Use a single row if you just need to compactly display some page actions (even the page title is optional).
iOS Nav Bar 3
The default iOS app page layout contains two rows: one for page actions, and a second for a large page title.
But if you need to show search, then you need a third row (even if the first row is left blank!).
iOS Nav Bar 4
- As soon as the user starts scrolling, iOS specifies for some interesting behavior.
- If a search bar is important to see at all times, it merely moves up from the third row to the second row while the app is scrolled.
- If it’s less important, it will disappear entirely – only visible when the user is at the very top of the page.
- When iOS nav bar rows disappear upon scrolling, they will re-appear when the user scrolls back to the top.
iOS Nav Bar 4
We can simplify out by stating that we should only ever entertain the 1st 2 rows as 1 and they always have a background colour.
Also the Title should always be stated
iOS Tab Bar
On iOS apps, primary destinations in the app are listed as tabs across the bottom.
Let’s note a few things:
- The selected icon is denoted with the app theme fill color
- Different tabs remember their state.
- The tab bar is always visible within the app, except: ** When a keyboard is shown ** When a modal is open (during critical tasks, the user should focus on the task at hand rather than navigate to other parts of the app)
iOS Tab Bar 2
There should be 2-5 tabs in total. If you need to display more than 5, the fifth icons should be a “More” catch-all that shows other destinations on a quasi-picker screen when tapped.
Navigating Back
On iOS, you can navigate backwards in 4 different ways, depending on the context. Swipe may not be appropriate as a pattern for multiple devices, so these may be more relevant;
- Tap “Back” action on top-left of screen - Any screen on which a “Back" action appears
- Tap “Cancel” or “Done” action on top of screen - Modal views
Also consider;
- Modals
- Table views
- Search
Reclaiming the screen v creating a Modal
In Asana the nav is kept til you get to Task (and then Sub Task) and then is dropped for a 'Task' menu.
In Google Chrome the app was showing a Navigation bar that dissappeared moving from U2 (Navigation bar + Context menu) to War (just Context menu), but I can no longer replicate this functionality and suggests I should have a persistant menu at the bottom (therefore a Tab bar), if I want to use Context menus at the top.
I need to re-visit Apple docs and the work done with this in mind.


The $79 iWork ’08 appears to be a good deal for anyone needing an affordable office suite for the Mac. Apple has finally added a spreadsheet application. At first glance, Numbers is an elegant no-brainer for anyone migrating from Microsoft Excel. In the past, many Mac
Read more →15
AUG
Hongerige Donderdag (Season Finale)
22
OCT
Cliff de Zoete (LIVE) - PIP Den Haag
19
SEP
Happening x Kollektiv w/ Trikk (Innervisions) & more.


Main Navigation
HOME
GALLERY
BLOG
CONTACT ME
GET IN TOUCH
University Of the West Indies
Mona
Kingston 7
St. Andrew
Jamaica
<EMAIL_ADDRESS>1(876)818-1737
SEND A MESSAGE
Name:(required)
Email:(required)
Message:
What is 5 +4?
Submit
AndenisSimms 2020
©


Dcd driver actions Structure which collates all actions required by the dcds to implement The protocol core call these actions to generate USB traffic. More...
#include <usb_dev_object.h>
Data Fields | |
| void * | pDcdObject |
| uint32_t(* | pFnDcInit )(struct usbDcd *pDcdObject) |
| uint32_t(* | pFnDcKill )(struct usbDcd *pDcdObject) |
| uint32_t(* | pFnConfigDevChara )(struct usbDcd *pDcdObject, usbDevChara_t *pDevCharecteristic) |
| uint32_t(* | pFnEndpt0Req )(struct usbDcd *pDcdObject, usbEndpt0Request_t *req) |
Dcd driver actions Structure which collates all actions required by the dcds to implement The protocol core call these actions to generate USB traffic.
| void* usbDevDcdAction::pDcdObject |
pointer to device control driver object.
| uint32_t(* usbDevDcdAction::pFnConfigDevChara) (struct usbDcd *pDcdObject, usbDevChara_t *pDevCharecteristic) |
Function pointer to function which is used by the core to set device charectristics such as device speed, device address,Number of endpoints required and their endpoint numbers. Fifo config must be done by dcd.
| uint32_t(* usbDevDcdAction::pFnDcInit) (struct usbDcd *pDcdObject) |
Function pointer to init routine for the specific device controller instance.
| uint32_t(* usbDevDcdAction::pFnDcKill) (struct usbDcd *pDcdObject) |
Function pointer to function which deallocates all mem and stops the controller.
| uint32_t(* usbDevDcdAction::pFnEndpt0Req) (struct usbDcd *pDcdObject, usbEndpt0Request_t *req) |
< Function pointer to start an EP0 IN/OUT request. Function pointer to start a non control request . The usbEndptRequest_t would have necessary details like add, endpoint number, type of trans, interval etc .


--- layout: post title: JRun ? CFMX instance log files tags: [] status: publish type: post published: true meta: {} ---
If you are running CF on top of JRun and have separate instances you may be wondering where the log files for these applications are now kept and here is where:
{install path}\servers\instanceName\cfusion-ear\cfusion-war\WEB-INF\cfusion\logs
The following path holds the logs files for JRun instances with their start up info, error/debug and event information
{install path}\logs


The tool will check the dependencies listed in the package.json and if there is a newer version that does not satisfy the stated version it will flag a warning. For example if your dependencies are:
{ "acme" : "~1.0.0"}
And the latest version of acme is 1.1.3 then this will not warn as the latest version will be installed when the package is added to node-red. However if acme is at 2.0.0 it would flag a warning.
Packages are often updated to include security fixes so users should be able to use the newest version available. When your package needs to use an older version this should be noted in the README
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#dependencies


{% extends "base.html" %} {% load staticfiles %} {% load crispy_forms_tags %} {% block title %}{{ block.super }}Template{% endblock %} {% block navbar-left %} {% include "_navbar.html" with active_link="template" %} {% endblock %} {% block container %} New Project Use this document as a way to quickly start any new project. All you get is this text and a mostly barebones HTML document. {% endblock container %}
Use this document as a way to quickly start any new project. All you get is this text and a mostly barebones HTML document.


Better libuv/Node.js/io.js error handling & reporting. Available in npm as errno.
Ever find yourself needing more details about Node.js errors? Me too, so node-errno contains the errno mappings direct from libuv so you can use them in your code.
By errno:
require('errno').errno[3]
// → {
// "errno": 3,
// "code": "EACCES",
// "description": "permission denied"
// }
By code:
require('errno').code.ENOTEMPTY
// → {
// "errno": 53,
// "code": "ENOTEMPTY",
// "description": "directory not empty"
// }
Make your errors more descriptive:
var errno = require('errno')
function errmsg(err) {
var str = 'Error: '
// if it's a libuv error then get the description from errno
if (errno.errno[err.errno])
str += errno.errno[err.errno].description
else
str += err.message
// if it's a `fs` error then it'll have a 'path' property
if (err.path)
str += ' [' + err.path + ']'
return str
}
var fs = require('fs')
fs.readFile('thisisnotarealfile.txt', function (err, data) {
if (err)
console.log(errmsg(err))
})
Use as a command line tool:
~ $ errno 53
{
"errno": 53,
"code": "ENOTEMPTY",
"description": "directory not empty"
}
~ $ errno EROFS
{
"errno": 56,
"code": "EROFS",
"description": "read-only file system"
}
~ $ errno foo
No such errno/code: "foo"
Supply no arguments for the full list. Error codes are processed case-insensitive.
You will need to install with npm install errno -g
if you want the errno
command to be available without supplying a full path to the node_modules installation.
Use errno.custom.createError()
to create custom Error
objects to throw around in your Node.js library. Create error hierarchies so instanceof
becomes a useful tool in tracking errors. Call-stack is correctly captured at the time you create an instance of the error object, plus a cause
property will make available the original error object if you pass one in to the constructor.
var create = require('errno').custom.createError
var MyError = create('MyError') // inherits from Error
var SpecificError = create('SpecificError', MyError) // inherits from MyError
var OtherError = create('OtherError', MyError)
// use them!
if (condition) throw new SpecificError('Eeek! Something bad happened')
if (err) return callback(new OtherError(err))
Also available is a errno.custom.FilesystemError
with in-built access to errno properties:
fs.readFile('foo', function (err, data) {
if (err) return callback(new errno.custom.FilesystemError(err))
// do something else
})
The resulting error object passed through the callback will have the following properties: code
, errno
, path
and message
will contain a descriptive human-readable message.
Copyright (c) 2012-2015 Rod Vagg (@rvagg)
Made available under the MIT licence:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


School Management System
Home
Gallery
News
About Us
Contact Us
Campuse
Admissions
Time Table
Student Profile
Attandance
Time Table
Exams
Fee Dues


| Home | Trees | Indices | Help |
|
|---|
|
|
APIs for working with protein structure fragments and libraries.
This package contains the nuts and bolts of HHfrag. Everything here revolves around the Target class, which describes a protein structure prediction target. One typically assigns fragments (Assignments) to the target and then builds a fragment library with RosettaFragsetFactory.
| Submodules | |
|
| Classes | |
|
Assignment Represents a match between a fragment and its target. |
|
| AssignmentFactory | |
| BenchmarkAdapter | |
| ChemShiftAssignment | |
| ChemShiftAssignmentFactory | |
| ChemShiftTarget | |
| ChemShiftTargetResidue | |
| ClusterDivergingError | |
| ClusterEmptyError | |
| ClusterExhaustedError | |
|
ClusterNode Cluster node. |
|
|
ClusterRep Cluster's representative (centroid) node. |
|
|
FragmentCluster Provides clustering/filtering of the fragments, covering a common residue in the target. |
|
|
FragmentMatch Base class, representing a match between a fragment and its target. |
|
| FragmentTypes | |
| Metrics | |
| ResidueAssignmentInfo | |
| ResidueEventInfo | |
|
RosettaFragsetFactory Simplifies the construction of fragment libraries. |
|
|
Target Represents a protein structure prediction target. |
|
|
TargetResidue Wrapper around Target's native residues. |
|
|
TorsionAnglePredictor Fragment-based phi/psi angles predictor. |
|
|
TorsionPredictionInfo Struct container for a single torsion angle prediction. |
| Variables | |
RANDOM_RMSD =
|
|
__package__ =
|
| Variables Details |
RANDOM_RMSD
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 4 20:19:03 2017 | http://epydoc.sourceforge.net |


Score 0
High Scores:
Instructions:
- Click on any square of the grid to start.
- Next move is 2 squares away, in horizontal or vertical; 1 square in diagonal.
- The goal is to fill the grid with all numbers up to 100.
- The game ends when no more moves are possible.
Cookies used to store moves and high scores.


{% extends "base.html" %} {% block title %}
404 error message is a Hypertext Transfer Protocol (HTTP) standard response code, in computer network communications, to indicate that the browser was able to communicate with a given server, but the server could not find what was requested. The error may also be used when a server does not wish to disclose whether it has the requested information.
The website hosting server will typically generate a "404 Not Found" web page when a user attempts to follow a broken or dead link.


This page is not secured and can be used to display information to users that do not have login credentials.
Click following link to go to the login page.
Click following link to go to the logout page.
Click following link to go to the home page.
Click following link to go to the unsecured page.


{% extends "_modalbase.html" %} {% import "_formHelpers.html" as formhelper %} {% from "security/_macros.html" import render_field_with_errors, render_field %} {% block content %}
If you have any problems logging on or would like to request a logon, take a look at out Help Guide.


Django-filter provides a simple way to filter down a queryset based on parameters a user provides. Say we have a Product model and we want to let our users filter which products they see on a list page.
Let’s start with our model:
from django.db import models
class Product(models.Model):
name = models.CharField(max_length=255)
price = models.DecimalField()
description = models.TextField()
release_date = models.DateField()
manufacturer = models.ForeignKey(Manufacturer)
We have a number of fields and we want to let our users filter based on the price or the release_date. We create a FilterSet for this:
import django_filters
class ProductFilter(django_filters.FilterSet):
class Meta:
model = Product
fields = ['price', 'release_date']
As you can see this uses a very similar API to Django’s ModelForm. Just like with a ModelForm we can also override filters, or add new ones using a declarative syntax:
import django_filters
class ProductFilter(django_filters.FilterSet):
price = django_filters.NumberFilter(lookup_type='lt')
class Meta:
model = Product
fields = ['price', 'release_date']
Filters take a lookup_type argument which specifies what lookup type to use with Django’s ORM. So here when a user entered a price it would show all Products with a price less than that.
It’s quite common to forget to set lookup type for `CharField`s/`TextField`s and wonder why search for “foo” doesn’t return result for “foobar”. It’s because default lookup type is exact text, but you probably want `icontains` lookup field.
The FilterSet Meta class fields can additionally be set using a Dictionary to specify multiple lookup_type filters without significant code duplication:
import django_filters
class ProductFilter(django_filters.FilterSet):
class Meta:
model = Product
fields = {'price': ['lt', 'gt'],
'release_date': ['exact'],
}
The above would generate ‘price__lt’, ‘price__gt’ and ‘release_date’ filters. The filter lookup type keyword ‘exact’ is the default and therefore never added to a filter name.
Items in the fields sequence in the Meta class may include “relationship paths” using Django’s __ syntax to filter on fields on a related model:
class ProductFilter(django_filters.FilterSet):
class Meta:
model = Product
fields = ['manufacturer__country']
Filters also take any arbitrary keyword arguments which get passed onto the django.forms.Field initializer. These extra keyword arguments get stored in Filter.extra, so it’s possible to override the initializer of a FilterSet to add extra ones:
class ProductFilter(django_filters.FilterSet):
class Meta:
model = Product
fields = ['manufacturer']
def __init__(self, *args, **kwargs):
super(ProductFilter, self).__init__(*args, **kwargs)
self.filters['manufacturer'].extra.update(
{'empty_label': 'All Manufacturers'})
Like django.contrib.admin.ModelAdmin, it is possible to override default filters for all the models fields of the same kind using filter_overrides:
class ProductFilter(django_filters.FilterSet):
filter_overrides = {
models.CharField: {
'filter_class': django_filters.CharFilter,
'extra': lambda f: {
'lookup_type': 'icontains',
}
}
}
class Meta:
model = Product
fields = ['name']
Now we need to write a view:
def product_list(request):
f = ProductFilter(request.GET, queryset=Product.objects.all())
return render_to_response('my_app/template.html', {'filter': f})
If a queryset argument isn’t provided then all the items in the default manager of the model will be used.
If you want to access the filtered objects in your views, for example if you want to paginate them, you can do that. They are in f.qs
And lastly we need a template:
{% extends "base.html" %}
{% block content %}
<form action="" method="get">
{{ filter.form.as_p }}
<input type="submit" />
</form>
{% for obj in filter %}
{{ obj.name }} - ${{ obj.price }}<br />
{% endfor %}
{% endblock %}
And that’s all there is to it! The form attribute contains a normal Django form, and when we iterate over the FilterSet we get the objects in the resulting queryset.
You can allow the user to control ordering by providing the order_by argument in the Filter’s Meta class. order_by can be either a list or tuple of field names, in which case those are the options, or it can be a bool which, if True, indicates that all fields that the user can filter on can also be sorted on. An example or ordering using a list:
import django_filters
class ProductFilter(django_filters.FilterSet):
price = django_filters.NumberFilter(lookup_type='lt')
class Meta:
model = Product
fields = ['price', 'release_date']
order_by = ['price']
If you want to control the display of items in order_by, you can set it to a list or tuple of 2-tuples in the format (field_name, display_name). This lets you override the displayed names for your ordering fields:
order_by = (
('name', 'Company Name'),
('average_rating', 'Stars'),
)
Note that the default query parameter name used for ordering is o. You can override this by setting an order_by_field attribute on the FilterSet class to the string value you would like to use.
The inner Meta class also takes an optional form argument. This is a form class from which FilterSet.form will subclass. This works similar to the form option on a ModelAdmin.
Note that these options do not go in the Meta class, they are specified directly in your FilterSet class.
The strict option controls whether results are returned when an invalid value is specified by the user for any filter field. By default, strict is set to True meaning that an empty queryset is returned if any field contains an invalid value. You can loosen this behavior by setting strict to False which will effectively ignore a filter field if its value is invalid.
If you want to use a custom widget, or in any other way override the ordering field you can override the get_ordering_field() method on a FilterSet. This method just needs to return a Form Field.
Ordering on multiple fields, or other complex orderings can be achieved by overriding the Filterset.get_order_by() method. This is passed the selected order_by value, and is expected to return an iterable of values to pass to QuerySet.order_by. For example, to sort a User table by last name, then first name:
class UserFilter(django_filters.FilterSet):
class Meta:
order_by = (
('username', 'Username'),
('last_name', 'Last Name')
)
def get_order_by(self, order_value):
if order_value == 'last_name':
return ['last_name', 'first_name']
return super(UserFilter, self).get_order_by(order_value)
In addition to the above usage there is also a class-based generic view included in django-filter, which lives at django_filters.views.FilterView. You must provide either a model or filterset_class argument, similar to ListView in Django itself:
# urls.py
from django.conf.urls import patterns, url
from django_filters.views import FilterView
from myapp.models import Product
urlpatterns = patterns('',
(r'^list/$', FilterView.as_view(model=Product)),
)
You must provide a template at <app>/<model>_filter.html which gets the context parameter filter. Additionally, the context will contain object_list which holds the filtered queryset.
A legacy functional generic view is still included in django-filter, although its use is deprecated. It can be found at django_filters.views.object_filter. You must provide the same arguments to it as the class based view:
# urls.py
from django.conf.urls import patterns, url
from myapp.models import Product
urlpatterns = patterns('',
(r'^list/$', 'django_filters.views.object_filter', {'model': Product}),
)
The needed template and its context variables will also be the same as the class-based view above.


Don't like it? Too bad.
BS2 used to have a "responsive" css file you could add in. BS3 is much more flexible and let's you really tailor the view to every device it will be viewed on.
What this means for you is:
- You'll have to think about the mobile before/while thinking about the desktop experience.
- You're stuff will look good on mobile without you having to think about it.
- You're clients/customers will be happy because it looks good on their iWhatever.
- You can start thinking about what content/media is most important, and add extra stuff in later.
Again, Bootstrap is not for everyone or every project, but before starting on your project think about how many mobile users you might lose.


The Arduino BT is an Arduino board with built-in bluetooth module, allowing for wireless communication. To get started with the Arduino BT, follow the directions for the Arduino NG on your operating system (Windows, Mac OS X, Linux), with the following modifications:
When uploading to the Arduino BT, you may need to press the reset button on the board shortly before (or shortly after) clicking upload in the Arduino software.
In most respects, the Arduino BT is similar to the Arduino Diecimila. Here are the main differences of BT board (besides the fact that it communicates over bluetooth instead of USB):
For more details, see the Arduino BT hardware page.
The on-board serial communication between the bluetooth module and the Arduino sketch (running on the ATmega168) needs to be at 115200 baud (i.e. call Serial.begin(115200) in your setup() function). Communication between the bluetooth module and the computer can be at any baud rate.
Communication between the BT module and the computer can be temperamental. You might want to open the serial monitor a couple of seconds after resetting the board.
The text of the Arduino getting started guide is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.


We analyzed Wine Enthusiast ratings and local weather data for over 53,000 wines from across the world in order to
build a model that can predict whether a given location will be 'successful' for growing great wine grapes based on weather.
Use the interactive dropdown box below to see which counties in the United States we recommend for growing each type of wine.


open class InvalidStatementException : Exception
Created by Tom Needham on 12/03/2016.
| <init> |
InvalidStatementException(message: String) Created by Tom Needham on 12/03/2016. |
| message |
open val message: String? |
| InvalidQueryException |
class InvalidQueryException : InvalidStatementException Created by Tom Needham on 12/03/2016. |


Chatter Fox
Username
Room
Trolls World Tour
Cheese Doodles and Banana Bread
Air Fort
Folding Party
Hammock Snuggles
Tiger King
Join Chat


You may create circuit-diagram like diagrams to facilitate your daily work as developer. Or create beautiful force-directed graphs to visulize your application..
You can run the application from your local file system or you may just click on the following button:You may visualize JavaScript Code from a local folder on your computer. You can also analyze a folder in your local file system to view and search directories and files.
This application is developed since 2015 with the original purpose to analyze SAP applications. Most users will not need this option. See this blog on how to analyze SAP applications:https://blogs.sap.com/2022/08/28/somix-suite-for-software-visualization/.
The intention of this visualization is to visualize applications as being composed of code and data which are coupled and assigned to groupings (The logo at the top shows an example for this). The main aim is to support developers during their daily work. Currently not all details of an application are part of the model. But diagrams which are made with this application are commonly more detailed than conventional architecture diagrams.
Diagrams are not stored as images. Instead the information is stored which components shall be in a diagram. These components are then displayed with all components to which they are currently coupled. Components are automatically placed the first time they appear in a diagram. Positions can be changed. Components will always be shown at the place where they have been the last time. This helps to preserve the mental model of the developer. This technique is as far as the author understand special. The author is not aware of other tools which use this technique.
It is possible to change positions with force-directing. When model informations are loaded all components are displayed in a diagram 'All model elements". They are placed in a circle. Youy may activate force-direction to place coupled components nearer to each other.
To test the application you may load this example file to your local computer and load it into the application. There is also the option to load a hard coded demo model directly in the application.
See also the documentation.
The project is available on Github at https://github.com/Moose2Model/Moose2Model2.
Please join the News Group of this project https://groups.google.com/g/somixsuite.
This application does not work in all browsers. One example is Firefox, the reason is that Firefox does not support the File System API.
There are no dependencies to any other frameworks. Only native JavaScript logic is used. This reduces the risk of security problems.


{% load dates finance %}
{% if demarcation.established_after_last_audit %}
{{ geography.name }} was established on {{ demarcation.established_date|as_date|date:"j F Y" }}.
Annual financial performance indicators will only be available after the end of the {{ demarcation.established_date|as_date|finyear }} financial year.
Until then, you can explore the historical performance of
{% for g in demarcation.established_from_geos %}{% if forloop.last and not forloop.first %} and {% elif not forloop.first and not forloop.last %}, {% endif %}{{ g.short_name }}{% endfor %}, which became part of {{ geography.name }}.


{% extends "layout.html" %} {% block page_title %} Help with your application {% endblock %} {% block content %} {% include "../includes/phase_banner_alpha.html" %} Back Are you applying for yourself? Yes, I'm applying for myself Yes, with help from someone else No, I'm applying on behalf of someone else The name of the person helping you How you know them Why they're helping you You are completing this application on their behalf because: you are their registered power of attorney you are their deputy authorised by the Court of Protection you are their registered appointee they can't manage their own affairs Other Appointee details Forename Surname Power of attorney details Title First name Last name Other name Date of birth DD MM YYYY Day Month Year National Insurance number Mobile telephone number Address Postcode Deputy details Title First name Last name Other name Date of birth DD MM YYYY Day Month Year National Insurance number Mobile telephone number Address Postcode Details of the person helping with the application Title First name Last name Other name Date of birth DD MM YYYY Day Month Year National Insurance number Mobile telephone number Address Postcode {% include "../includes/help.html" %} {% endblock %}
DD MM YYYY


--- layout: post title: TV causes autism - study date: 2006-10-23 00:00:00 categories: digital-media social ---
TV causes autism: "According to the research, heavy TV indulgence before the age of three is clearly associated with an increase in autism. The paper suggests that TV could be a trigger for those with a genetic predisposition toward the condition."
This made me think of Bowling Alone, and its persuasive argument that the rise of TV has contributed to the collapse of community in American culture. Autism on a macro level?


A lightweight Java client library for calling APIs exposed by the Amazon Web Services API Gateway. The API Gateway can route client calls to invoke AWS Lambda functions or any publicly addressable REST service regardless of where it is hosted. This library is ideally suited for integrating services exposed by the API Gateway into a wide range of applications, from mobile to new or existing server, middleware and cluster computing solutions.
This library provides the following AWS API Gateway support:
When working with this library the basic usage pattern involves two steps:
AWSGateway gateway = AWS.Gateway(api-id).region(api-region).stage(api-stage).build();See the documentation on the {@link io.onetapbeyond.aws.gateway.executor.AWSGateway AWSGateway} class for builder details. Note, if an application needs to integrate with more than one API on the AWS API Gateway then it should create an {@link io.onetapbeyond.aws.gateway.executor.AWSGateway AWSGateway} instance per API.
AWSTask aTask = AWS.Task(gateway).resource(api-endpoint).get();See the documentation on the {@link io.onetapbeyond.aws.gateway.executor.AWSTask AWSTask} class for builder details.
The following code snippet demonstrates the creation of an {@link io.onetapbeyond.aws.gateway.executor.AWSGateway AWSGateway} targeting the beta release of a fictitious Echo API. The API is identified by echo-api-key, and maintained in the us-west-2 region by the AWS API Gateway:
AWSGateway gateway = AWS.Gateway(echo-api-key).region(AWS.Region.OREGON).stage("beta").build();Once your application has an instance of {@link io.onetapbeyond.aws.gateway.executor.AWSGateway AWSGateway} you can start to create instances of {@link io.onetapbeyond.aws.gateway.executor.AWSTask AWSTask} in order to make calls on the API. For example, the following code snippet demonstrates how to define a simple HTTP GET call on the API's echo resource endpoint:
AWSTask aTask = AWS.Task(gateway).resource("/echo").get();To pass JSON data on an API call simply specify the data when building the {@link io.onetapbeyond.aws.gateway.executor.AWSTask AWSTask} instance:
Map data = new HashMap(); data.put("hello", "world"); AWSTask aTask = AWS.Task(gateway).resource("/echo").input(data).post();Finally, to exeucte an {@link io.onetapbeyond.aws.gateway.executor.AWSTask AWSTask} call the {@link io.onetapbeyond.aws.gateway.executor.AWSTask#execute execute} method as follows:
AWSResult aResult = aTask.execute();When the task execution completes the API call status, result data and/or error details are available on the {@link io.onetapbeyond.aws.gateway.executor.AWSResult AWSResult} returned by the {@link io.onetapbeyond.aws.gateway.executor.AWSTask#execute execute} method.


{% extends "layout.html" %} {% block body %} {% set invalid_active = invalid %} {% set valid_active = not invalid and valid %}
{% if invalid and valid %} There were both valid and invalid users in your cohort. You can either try again or upload only the valid users. {% elif invalid %} All of the users in your cohort were invalid. Please try again. {% elif valid %} All of the users in your cohort were valid. You can review and finish the upload. {% endif %}
{% endblock %} {% block scripts %} {% endblock %}


Inkshade
Home
Github
Docs
🌙
Inkshade.
An
Open Source
Front-End UI Library, with the ultimate
themeing
support.
Based on Bootstrap and Grayshift.
Github
Documentation


{% extends "otree/admin/Session.html" %} {% load otree %} {% block internal_scripts %} {{ block.super }} {% endblock %} {% block content %} {{ block.super }} {% if not mturk_ready %}
MTurk is currently disabled. If you want to publish your HIT on MTurk please do the following steps:
| Step | Done? |
|---|---|
Run pip3 install otree[mturk]
and in your requirements_base.txt ,
replace otree==N.N.N with otree[mturk]==N.N.N .
This will install oTree along with extra MTurk-specific packages.
|
{% if boto3_installed %}Yes{% else %}No{% endif %} |
Set the settings AWS_ACCESS_KEY_ID and
AWS_SECRET_ACCESS_KEY |
{% if aws_keys_exist %}Yes{% else %}No{% endif %} |
View this page with HTTPS.
|
{% if https %}Yes{% else %}No{% endif %} |
You can read more about Amazon Mechanical Turk integration here.
{% else %} {% endif %} {% include "otree/includes/messages.html" %} {% endblock %}


--- layout: post status: publish published: true title: Best of the 2012 Chicago Cubs author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 8107 wordpress_url: http://ivyenvy.com/?p=8107 date: '2013-01-27 19:12:24 +0000' date_gmt: '2013-01-28 01:12:24 +0000' categories: - Minor Leagues - The Cubs tags: - Cardinals - Jeff Samardzija - Peoria Chiefs - Prince Fielder - Albert Pujols - Starlin Castro - Matt Garza - Daytona Cubs - Boise - Javier Baez - David Freese - Bryan LaHair - Anthony Rizzo - 2012 Cubs - '2012' - Kansas City - Phil Rogers - Gary Sheffield - 2012 All Star Game comments: - id: 5641 author: Cueil author_email<EMAIL_ADDRESS>author_url: http://twitter.com/Cueil date: '2013-01-29 16:30:02 +0000' date_gmt: '2013-01-29 22:30:02 +0000' content: LaHair's number started to drop of more and more as they used him less and less... the whole circle of violence theory at full effect. He was thrown into the 5 spot (a black hole) to protect Sori who was protecting Rizzo and the only person who got screwed was LeHair - id: 5642 author: Cueil author_email<EMAIL_ADDRESS>author_url: http://twitter.com/Cueil date: '2013-01-29 16:33:14 +0000' date_gmt: '2013-01-29 22:33:14 +0000' content: 'one of my favorite things was keeping watch on Vogelbesh who was destroying balls and was being held back by his weight... looking like he''s moving in the right direction though and with that power he could eventually push Rizzo out to LF or be a trading piece for really good #! starter' ---
Spring Training is just a few weeks away and we will soon start talking about the specifics of the players and positions for the 2013 Chicago Cubs. In episode 4.51 of the Ivy Envy Podcast, we gave you our lists of the best and worst of the 2012 Chicago Cubs. Before we completely move onto the 2013 team, let's take a quick look back at some of the bright spots of the 2012 Cubs.
In Episode 4.51 of The Ivy Envy Podcast we gave you our lists for the best and the worst of the 2012 Cubs. Here are my top three best of 2012. If you would like to hear Andy's and Kurt's list, you can listen to that episode here.
#3 - Bryan LaHair (of April/May)
LaHair was a Triple-A veteran that came up and played 20 games with the Cubs in 2011. He hit .288 in 2011 and benefitted from a weak team that was shallow in depth and started the season at 1st base. It was obvious that he was probably just keeping the position filled until Anthony Rizzo came up. Rizzo tore it up in Iowa and LaHair was promptly pushed out of the position.
LaHair ended April batting .390 with 5 HR 8 doubles and 14 RBIs. He was batting .286 with 14 HR and 30 RBIs by the time the All Star Game rolled around. I mentioned that LaHair benefitted from a lack of depth on the team to get a spot. He also benefitted from a lack of depth at 1st base in the National League with the departure of Prince Fielder and Albert Pujols and he was the reserve 1st baseman at the 2012 All Star Game in Kansas City.
The funny thing is that Cardinals 3rd baseman David Freese was put in the game at 1st base before LaHair got in. He did finally get in the game. LaHair saw one pitch in the 9th inning and grounded out to short.
I wasn't a huge fan of LaHair, for obvious reasons…he's not that good. But at the same time, I think it's cool a career AAA player was able to work his way into the All Star Game. He'll be able to tell his grandkids about it.
#2 - Javier Baez
My number 2 best in 2012 is an indication of where the hopes for the organization lay. The hopes aren't on one particular player, but rather a group of players. However, the one that probably has the most promise is Javier Baez..he's my #2.
We had the opportunity to see Baez in Peoria and you can hear the interview that Andy and I did with him by going to ivyenvy.com/baez -
Baez played 57 games in Peoria and really established himself as a main attraction as the Chiefs toured the Midwest League. He was hitting monstrous home runs in batting practice and during games. He finished his time in Peoria hitting .333 with a .979 OPS. He had 12 HR and 33RBIs. He also stole 20 bases. What he did in Peoria was pretty exciting since he was only 19 years old…plus he had only played 2 game with Boise in 2011.
He was promoted to Daytona and struggled a bit there, but was definitely attracting attention in the Arizona Fall League before he injured his thumb. He was leading the league with 4 HR and 16 RBIs in 14 games. He has a very strong and quick swing…very reminiscent of Gary Sheffield.
Phil Rogers wrote a piece and quoted an anonymous long-time baseball executive that said "he's going to be a star. He will be a far more impactful player than Starlin Castro". His power is exciting and I guess just because he's showing this promise and has made progress in 2012, he's earned his way to being on our best of list.
I think his progress in the minors in 2013 is one of the most interesting story lines of the organization, really.
#1 - Jeff Samardzija
Samardzija is my #1 because he did well in his first full season as a starter. It feels like he's been around forever…and he has, but now he's finally doing what the Cubs drafted him to do.
He had a pretty rough June, he went 0 and 4 with an ERA of 10.41, but rebounded with a 2 and 1 July with a 1.91 ERA.
He ended the season with a 3.81 ERA. He had a 9-13 record, but with the line-up the Cubs had, I think it's unfair to judge a pitcher on their record. In the second half of the season, he had a 2.58 ERA.
He had 180 strikeouts and 56 walks. He kept the ball down and forced more ground balls. Control has always been an issue with Samardzija. He had under 3 walks per 9 innings…and you can compare that to over 5 walks per 9 innings in 2011 and over 9 walks per 9 innings in 2010.
Basically, he solidified himself as a piece of the rotation. He's a piece of the team that the front office had no interest in moving when they were willing to listen to offers on basically everyone else, including Starlin Castro.
With Garza no doubt being shopped, I think it makes Samardzija even more important and I'm really hoping for a similar 2013.


First Name:
Last Name:
Username:
Password:
Male
female
I have a bike
I have a car
Username:
Volvo
Saab
Fait
我是一个文本框
Person Information
Name:
E-mail:
发送邮件到<EMAIL_ADDRESS>Name:
E-Mail:


Housewife charged with six counts of insulting Islam
SEPANG, Nov 8 — A housewife was charged in separate Sessions Courts here today with six counts of uploading offensive postings on Islam.
Fadilah Hamid, 42, however, pleaded not guilty to all the charges.
She was alleged to have committed the offences on Facebook using the account name of “Fadhilah Abdulhamid” between February and March this year.
In the court before judge Saifulakmal Mod Said, the woman was charged with three counts of knowingly using the Facebook account to make and initiate the transmission of offensive communication with intent to annoy another person at about 11.05 pm on Feb 19, 12.39pm the following day and 3.38pm on March 2, respectively.
The other three charges were read out to her before judge Tengku Shahrizam Tuan Lah, where the offences were allegedly committed at 10 pm on March 1, 8.52pm on Feb 19 and 1.25am on March 4, respectively.
Both courts set Dec 18 for mention.
Deputy public prosecutor Norhani Mohamad Adzhar prosecuted, while the woman was unrepresented. — Bernama