|
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
#include <usbh_reg.h>
Data Fields | |
| __I uint32_t | HcRevision |
| __IO uint32_t | HcControl |
| __IO uint32_t | HcCommandStatus |
| __IO uint32_t | HcInterruptStatus |
| __IO uint32_t | HcInterruptEnable |
| __IO uint32_t | HcInterruptDisable |
| __IO uint32_t | HcHCCA |
| __IO uint32_t | HcPeriodCurrentED |
| __IO uint32_t | HcControlHeadED |
| __IO uint32_t | HcControlCurrentED |
| __IO uint32_t | HcBulkHeadED |
| __IO uint32_t | HcBulkCurrentED |
| __IO uint32_t | HcDoneHead |
| __IO uint32_t | HcFmInterval |
| __I uint32_t | HcFmRemaining |
| __I uint32_t | HcFmNumber |
| __IO uint32_t | HcPeriodicStart |
| __IO uint32_t | HcLSThreshold |
| __IO uint32_t | HcRhDescriptorA |
| __IO uint32_t | HcRhDescriptorB |
| __IO uint32_t | HcRhStatus |
| __IO uint32_t | HcRhPortStatus [2] |
| __IO uint32_t | HcPhyControl |
| __IO uint32_t | HcMiscControl |
@addtogroup USBH USB Host Controller(USBH) Memory Mapped Structure for USBH Controller
Definition at line 26 of file usbh_reg.h.
| USBH_T::HcBulkCurrentED |
[0x002c] Host Controller Bulk Current ED Register
| Bits | Field | Descriptions |
| [31:4] | BCED | Bulk Current Head ED
Pointer to indicate the physical address of the current endpoint of the Bulk list. |
Definition at line 1196 of file usbh_reg.h.
| USBH_T::HcBulkHeadED |
[0x0028] Host Controller Bulk Head ED Register
| Bits | Field | Descriptions |
| [31:4] | BHED | Bulk Head ED
Pointer to indicate the physical address of the first Endpoint Descriptor of the Bulk list. |
Definition at line 1195 of file usbh_reg.h.
| USBH_T::HcCommandStatus |
[0x0008] Host Controller Command Status Register
| Bits | Field | Descriptions |
| [0] | HCR | Host Controller Reset
This bit is set to initiate the software reset of Host Controller This bit is cleared by the Host Controller, upon completed of the reset operation. This bit, when set, didn't reset the Root Hub and no subsequent reset signaling be asserted to its downstream ports. 0 = Host Controller is not in software reset state. 1 = Host Controller is in software reset state. |
| [1] | CLF | Control List Filled
Set high to indicate there is an active TD on the Control List It may be set by either software or the Host Controller and cleared by the Host Controller each time it begins processing the head of the Control List. 0 = No active TD found or Host Controller begins to process the head of the Control list. 1 = An active TD added or found on the Control list. |
| [2] | BLF | Bulk List Filled
Set high to indicate there is an active TD on the Bulk list This bit may be set by either software or the Host Controller and cleared by the Host Controller each time it begins processing the head of the Bulk list. 0 = No active TD found or Host Controller begins to process the head of the Bulk list. 1 = An active TD added or found on the Bulk list. |
| [17:16] | SOC | Schedule Overrun Count
These bits are incremented on each scheduling overrun error It is initialized to 00b and wraps around at 11b This will be incremented when a scheduling overrun is detected even if SO (HcInterruptStatus[0]) has already been set. |
Definition at line 1187 of file usbh_reg.h.
| USBH_T::HcControl |
[0x0004] Host Controller Control Register
| Bits | Field | Descriptions |
| [1:0] | CBSR | Control Bulk Service Ratio
This specifies the service ratio between Control and Bulk EDs Before processing any of the non-periodic lists, HC must compare the ratio specified with its internal count on how many nonempty Control EDs have been processed, in determining whether to continue serving another Control ED or switching to Bulk EDs The internal count will be retained when crossing the frame boundary In case of reset, HCD is responsible for restoring this Value. 00 = Number of Control EDs over Bulk EDs served is 1:1. 01 = Number of Control EDs over Bulk EDs served is 2:1. 10 = Number of Control EDs over Bulk EDs served is 3:1. 11 = Number of Control EDs over Bulk EDs served is 4:1. |
| [2] | PLE | Periodic List Enable Bit
When set, this bit enables processing of the Periodic (interrupt and isochronous) list The Host Controller checks this bit prior to attempting any periodic transfers in a frame. 0 = Processing of the Periodic (Interrupt and Isochronous) list after next SOF (Start-Of-Frame) Disabled. 1 = Processing of the Periodic (Interrupt and Isochronous) list in the next frame Enabled. Note: To enable the processing of the Isochronous list, user has to set both PLE and IE (HcControl[3]) high. |
| [3] | IE | Isochronous List Enable Bit
Both ISOEn and PLE (HcControl[2]) high enables Host Controller to process the Isochronous list Either ISOEn or PLE (HcControl[2]) is low disables Host Controller to process the Isochronous list. 0 = Processing of the Isochronous list after next SOF (Start-Of-Frame) Disabled. 1 = Processing of the Isochronous list in the next frame Enabled, if the PLE (HcControl[2]) is high, too. |
| [4] | CLE | Control List Enable Bit
0 = Processing of the Control list after next SOF (Start-Of-Frame) Disabled. 1 = Processing of the Control list in the next frame Enabled. |
| [5] | BLE | Bulk List Enable Bit
0 = Processing of the Bulk list after next SOF (Start-Of-Frame) Disabled. 1 = Processing of the Bulk list in the next frame Enabled. |
| [7:6] | HCFS | Host Controller Functional State
This field sets the Host Controller state The Controller may force a state change from USBSUSPEND to USBRESUME after detecting resume signaling from a downstream port States are: 00 = USBSUSPEND. 01 = USBOPERATIONAL. 10 = USBRESUME. 11 = USBRESET. |
Definition at line 1186 of file usbh_reg.h.
| USBH_T::HcControlCurrentED |
[0x0024] Host Controller Control Current ED Register
| Bits | Field | Descriptions |
| [31:4] | CCED | Control Current Head ED
Pointer to indicate the physical address of the current Endpoint Descriptor of the Control list. |
Definition at line 1194 of file usbh_reg.h.
| USBH_T::HcControlHeadED |
[0x0020] Host Controller Control Head ED Register
| Bits | Field | Descriptions |
| [31:4] | CHED | Control Head ED
Pointer to indicate physical address of the first Endpoint Descriptor of the Control list. |
Definition at line 1193 of file usbh_reg.h.
| USBH_T::HcDoneHead |
[0x0030] Host Controller Done Head Register
| Bits | Field | Descriptions |
| [31:4] | DH | Done Head
Pointer to indicate the physical address of the last completed Transfer Descriptor that was added to the Done queue. |
Definition at line 1197 of file usbh_reg.h.
| USBH_T::HcFmInterval |
[0x0034] Host Controller Frame Interval Register
| Bits | Field | Descriptions |
| [13:0] | FI | Frame Interval
This field specifies the length of a frame as (bit times - 1) For 12,000 bit times in a frame, a value of 11,999 is stored here. |
| [30:16] | FSMPS | FS Largest Data Packet
This field specifies a value that is loaded into the Largest Data Packet Counter at the beginning of each frame. |
| [31] | FIT | Frame Interval Toggle
This bit is toggled by Host Controller Driver when it loads a new value into FI (HcFmInterval[13:0]). 0 = Host Controller Driver didn't load new value into FI (HcFmInterval[13:0]). 1 = Host Controller Driver loads a new value into FI (HcFmInterval[13:0]). |
Definition at line 1198 of file usbh_reg.h.
| USBH_T::HcFmNumber |
[0x003c] Host Controller Frame Number Register
| Bits | Field | Descriptions |
| [15:0] | FN | Frame Number
This 16-bit incrementing counter field is incremented coincident with the re-load of FR (HcFmRemaining[13:0]) The count rolls over from 'FFFFh' to '0h.' |
Definition at line 1200 of file usbh_reg.h.
| USBH_T::HcFmRemaining |
[0x0038] Host Controller Frame Remaining Register
| Bits | Field | Descriptions |
| [13:0] | FR | Frame Remaining
When the Host Controller is in the USBOPERATIONAL state, this 14-bit field decrements each 12 MHz clock period When the count reaches 0, (end of frame) the counter reloads with Frame Interval In addition, the counter loads when the Host Controller transitions into USBOPERATIONAL. |
| [31] | FRT | Frame Remaining Toggle
This bit is loaded from the FIT (HcFmInterval[31]) whenever FR (HcFmRemaining[13:0]) reaches 0. |
Definition at line 1199 of file usbh_reg.h.
| USBH_T::HcHCCA |
[0x0018] Host Controller Communication Area Register
| Bits | Field | Descriptions |
| [31:8] | HCCA | Host Controller Communication Area
Pointer to indicate base address of the Host Controller Communication Area (HCCA). |
Definition at line 1191 of file usbh_reg.h.
| USBH_T::HcInterruptDisable |
[0x0014] Host Controller Interrupt Disable Register
| Bits | Field | Descriptions |
| [0] | SO | Scheduling Overrun Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to SO (HcInterruptStatus[0]) Disabled. Read Operation: 0 = Interrupt generation due to SO (HcInterruptStatus[0]) Disabled. 1 = Interrupt generation due to SO (HcInterruptStatus[0]) Enabled. |
| [1] | WDH | Write Back Done Head Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to WDH (HcInterruptStatus[1]) Disabled. Read Operation: 0 = Interrupt generation due to WDH (HcInterruptStatus[1]) Disabled. 1 = Interrupt generation due to WDH (HcInterruptStatus[1]) Enabled. |
| [2] | SF | Start of Frame Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to SF (HcInterruptStatus[2]) Disabled. Read Operation: 0 = Interrupt generation due to SF (HcInterruptStatus[2]) Disabled. 1 = Interrupt generation due to SF (HcInterruptStatus[2]) Enabled. |
| [3] | RD | Resume Detected Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to RD (HcInterruptStatus[3]) Disabled. Read Operation: 0 = Interrupt generation due to RD (HcInterruptStatus[3]) Disabled. 1 = Interrupt generation due to RD (HcInterruptStatus[3]) Enabled. |
| [5] | FNO | Frame Number Overflow Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to FNO (HcInterruptStatus[5]) Disabled. Read Operation: 0 = Interrupt generation due to FNO (HcInterruptStatus[5]) Disabled. 1 = Interrupt generation due to FNO (HcInterruptStatus[5]) Enabled. |
| [6] | RHSC | Root Hub Status Change Disable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Disabled. Read Operation: 0 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Disabled. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Enabled. |
| [31] | MIE | Master Interrupt Disable Bit
Global interrupt disable. Writing '1' to disable all interrupts. Write Operation: 0 = No effect. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Disabled if the corresponding bit in HcInterruptEnable is high. Read Operation: 0 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Disabled even if the corresponding bit in HcInterruptEnable is high. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Enabled if the corresponding bit in HcInterruptEnable is high. |
Definition at line 1190 of file usbh_reg.h.
| USBH_T::HcInterruptEnable |
[0x0010] Host Controller Interrupt Enable Register
| Bits | Field | Descriptions |
| [0] | SO | Scheduling Overrun Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to SO (HcInterruptStatus[0]) Enabled. Read Operation: 0 = Interrupt generation due to SO (HcInterruptStatus[0]) Disabled. 1 = Interrupt generation due to SO (HcInterruptStatus[0]) Enabled. |
| [1] | WDH | Write Back Done Head Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to WDH (HcInterruptStatus[1]) Enabled. Read Operation: 0 = Interrupt generation due to WDH (HcInterruptStatus[1]) Disabled. 1 = Interrupt generation due to WDH (HcInterruptStatus[1]) Enabled. |
| [2] | SF | Start of Frame Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to SF (HcInterruptStatus[2]) Enabled. Read Operation: 0 = Interrupt generation due to SF (HcInterruptStatus[2]) Disabled. 1 = Interrupt generation due to SF (HcInterruptStatus[2]) Enabled. |
| [3] | RD | Resume Detected Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to RD (HcInterruptStatus[3]) Enabled. Read Operation: 0 = Interrupt generation due to RD (HcInterruptStatus[3]) Disabled. 1 = Interrupt generation due to RD (HcInterruptStatus[3]) Enabled. |
| [5] | FNO | Frame Number Overflow Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to FNO (HcInterruptStatus[5]) Enabled. Read Operation: 0 = Interrupt generation due to FNO (HcInterruptStatus[5]) Disabled. 1 = Interrupt generation due to FNO (HcInterruptStatus[5]) Enabled. |
| [6] | RHSC | Root Hub Status Change Enable Bit
Write Operation: 0 = No effect. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Enabled. Read Operation: 0 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Disabled. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]) Enabled. |
| [31] | MIE | Master Interrupt Enable Bit
This bit is a global interrupt enable A write of '1' allows interrupts to be enabled via the specific enable bits listed above. Write Operation: 0 = No effect. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Enabled if the corresponding bit in HcInterruptEnable is high. Read Operation: 0 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Disabled even if the corresponding bit in HcInterruptEnable is high. 1 = Interrupt generation due to RHSC (HcInterruptStatus[6]), FNO (HcInterruptStatus[5]), RD (HcInterruptStatus[3]), SF (HcInterruptStatus[2]), WDH (HcInterruptStatus[1]) or SO (HcInterruptStatus[0]) Enabled if the corresponding bit in HcInterruptEnable is high. |
Definition at line 1189 of file usbh_reg.h.
| USBH_T::HcInterruptStatus |
[0x000c] Host Controller Interrupt Status Register
| Bits | Field | Descriptions |
| [0] | SO | Scheduling Overrun
Set when the List Processor determines a Schedule Overrun has occurred. 0 = Schedule Overrun didn't occur. 1 = Schedule Overrun has occurred. |
| [1] | WDH | Write Back Done Head
Set after the Host Controller has written HcDoneHead to HccaDoneHead Further updates of the HccaDoneHead will not occur until this bit has been cleared. 0 =.Host Controller didn't update HccaDoneHead. 1 =.Host Controller has written HcDoneHead to HccaDoneHead. |
| [2] | SF | Start of Frame
Set when the Frame Management functional block signals a 'Start of Frame' event Host Control generates a SOF token at the same time. 0 =.Not the start of a frame. 1 =.Indicate the start of a frame and Host Controller generates a SOF token. |
| [3] | RD | Resume Detected
Set when Host Controller detects resume signaling on a downstream port. 0 = No resume signaling detected on a downstream port. 1 = Resume signaling detected on a downstream port. |
| [5] | FNO | Frame Number Overflow
This bit is set when bit 15 of Frame Number changes from 1 to 0 or from 0 to 1. 0 = The bit 15 of Frame Number didn't change. 1 = The bit 15 of Frame Number changes from 1 to 0 or from 0 to 1. |
| [6] | RHSC | Root Hub Status Change
This bit is set when the content of HcRhStatus or the content of HcRhPortStatus register has changed. 0 = The content of HcRhStatus and the content of HcRhPortStatus register didn't change. 1 = The content of HcRhStatus or the content of HcRhPortStatus register has changed. |
Definition at line 1188 of file usbh_reg.h.
| USBH_T::HcLSThreshold |
[0x0044] Host Controller Low-speed Threshold Register
| Bits | Field | Descriptions |
| [11:0] | LST | Low-speed Threshold
This field contains a value which is compared to the FR (HcFmRemaining[13:0]) field prior to initiating a Low-speed transaction The transaction is started only if FR (HcFmRemaining[13:0]) >= this field The value is calculated by Host Controller Driver with the consideration of transmission and setup overhead. |
Definition at line 1202 of file usbh_reg.h.
| USBH_T::HcMiscControl |
[0x0204] Host Controller Miscellaneous Control Register
| Bits | Field | Descriptions |
| [1] | ABORT | AHB Bus ERROR Response
This bit indicates there is an ERROR response received in AHB bus. 0 = No ERROR response received. 1 = ERROR response received. |
| [3] | OCAL | over Current Active Low
This bit controls the polarity of over current flag from external power IC. 0 = Over current flag is high active. 1 = Over current flag is low active. |
| [16] | DPRT1 | Disable Port 1
This bit controls if the connection between USB host controller and transceiver of port 1 is disabled If the connection is disabled, the USB host controller will not recognize any event of USB bus. Set this bit high, the transceiver of port 1 will also be forced into the standby mode no matter what USB host controller operation is. 0 = The connection between USB host controller and transceiver of port 1 Enabled. 1 = The connection between USB host controller and transceiver of port 1 Disabled and the transceiver of port 1 will also be forced into the standby mode. |
Definition at line 1211 of file usbh_reg.h.
| USBH_T::HcPeriodCurrentED |
[0x001c] Host Controller Period Current ED Register
| Bits | Field | Descriptions |
| [31:4] | PCED | Periodic Current ED
Pointer to indicate physical address of the current Isochronous or Interrupt Endpoint Descriptor. |
Definition at line 1192 of file usbh_reg.h.
| USBH_T::HcPeriodicStart |
[0x0040] Host Controller Periodic Start Register
| Bits | Field | Descriptions |
| [13:0] | PS | Periodic Start
This field contains a value used by the List Processor to determine where in a frame the Periodic List processing must begin. |
Definition at line 1201 of file usbh_reg.h.
| USBH_T::HcPhyControl |
[0x0200] Host Controller PHY Control Register
| Bits | Field | Descriptions |
| [27] | STBYEN | USB Transceiver Standby Enable Bit
This bit controls if USB transceiver could enter the standby mode to reduce power consumption. 0 = The USB transceiver would never enter the standby mode. 1 = The USB transceiver will enter standby mode while port is in power off state (port power is inactive). |
Definition at line 1210 of file usbh_reg.h.
| USBH_T::HcRevision |
[0x0000] Host Controller Revision Register
| Bits | Field | Descriptions |
| [7:0] | REV | Revision Number
Indicates the Open HCI Specification revision number implemented by the Hardware Host Controller supports 1.1 specification. (X.Y = XYh). |
Definition at line 1185 of file usbh_reg.h.
| USBH_T::HcRhDescriptorA |
[0x0048] Host Controller Root Hub Descriptor A Register
| Bits | Field | Descriptions |
| [7:0] | NDP | Number Downstream Ports
USB host control supports two downstream ports and only one port is available in this series of chip. |
| [8] | PSM | Power Switching Mode
This bit is used to specify how the power switching of the Root Hub ports is controlled. 0 = Global Switching. 1 = Individual Switching. |
| [11] | OCPM | over Current Protection Mode
This bit describes how the over current status for the Root Hub ports reported This bit is only valid when NOCP (HcRhDescriptorA[12]) is cleared. 0 = Global Over current. 1 = Individual Over current. |
| [12] | NOCP | No over Current Protection
This bit describes how the over current status for the Root Hub ports reported. 0 = Over current status is reported. 1 = Over current status is not reported. |
Definition at line 1203 of file usbh_reg.h.
| USBH_T::HcRhDescriptorB |
[0x004c] Host Controller Root Hub Descriptor B Register
| Bits | Field | Descriptions |
| [31:16] | PPCM | Port Power Control Mask
Global power switching This field is only valid if PowerSwitchingMode is set (individual port switching) When set, the port only responds to individual port power switching commands (Set/ClearPortPower) When cleared, the port only responds to global power switching commands (Set/ClearGlobalPower). 0 = Port power controlled by global power switching. 1 = Port power controlled by port power switching. Note: PPCM[15:2] and PPCM[0] are reserved. |
Definition at line 1204 of file usbh_reg.h.
| USBH_T::HcRhPortStatus[2] |
[0x0054] Host Controller Root Hub Port Status [1]
| Bits | Field | Descriptions |
| [0] | CCS | CurrentConnectStatus (Read) or ClearPortEnable Bit (Write)
Write Operation: 0 = No effect. 1 = Clear port enable. Read Operation: 0 = No device connected. 1 = Device connected. |
| [1] | PES | Port Enable Status
Write Operation: 0 = No effect. 1 = Set port enable. Read Operation: 0 = Port Disabled. 1 = Port Enabled. |
| [2] | PSS | Port Suspend Status
This bit indicates the port is suspended Write Operation: 0 = No effect. 1 = Set port suspend. Read Operation: 0 = Port is not suspended. 1 = Port is selectively suspended. |
| [3] | POCI | Port over Current Indicator (Read) or Clear Port Suspend (Write)
This bit reflects the state of the over current status pin dedicated to this port This field is only valid if NOCP (HcRhDescriptorA[12]) is cleared and OCPM (HcRhDescriptorA[11]) is set. This bit is also used to initiate the selective result sequence for the port. Write Operation: 0 = No effect. 1 = Clear port suspend. Read Operation: 0 = No over current condition. 1 = Over current condition. |
| [4] | PRS | Port Reset Status
This bit reflects the reset state of the port. Write Operation: 0 = No effect. 1 = Set port reset. Read Operation 0 = Port reset signal is not active. 1 = Port reset signal is active. |
| [8] | PPS | Port Power Status
This bit reflects the power state of the port regardless of the power switching mode. Write Operation: 0 = No effect. 1 = Port Power Enabled. Read Operation: 0 = Port power is Disabled. 1 = Port power is Enabled. |
| [9] | LSDA | Low Speed Device Attached (Read) or Clear Port Power (Write)
This bit defines the speed (and bud idle) of the attached device It is only valid when CCS (HcRhPortStatus1[0]) is set. This bit is also used to clear port power. Write Operation: 0 = No effect. 1 = Clear PPS (HcRhPortStatus1[8]). Read Operation: 0 = Full Speed device. 1 = Low-speed device. |
| [16] | CSC | Connect Status Change
This bit indicates connect or disconnect event has been detected (CCS (HcRhPortStatus1[0]) changed). Write 1 to clear this bit to zero. 0 = No connect/disconnect event (CCS (HcRhPortStatus1[0]) didn't change). 1 = Hardware detection of connect/disconnect event (CCS (HcRhPortStatus1[0]) changed). |
| [17] | PESC | Port Enable Status Change
This bit indicates that the port has been disabled (PES (HcRhPortStatus1[1]) cleared) due to a hardware event. Write 1 to clear this bit to zero. 0 = PES (HcRhPortStatus1[1]) didn't change. 1 = PES (HcRhPortStatus1[1]) changed. |
| [18] | PSSC | Port Suspend Status Change
This bit indicates the completion of the selective resume sequence for the port. Write 1 to clear this bit to zero. 0 = Port resume is not completed. 1 = Port resume completed. |
| [19] | OCIC | Port over Current Indicator Change
This bit is set when POCI (HcRhPortStatus1[3]) changes. Write 1 to clear this bit to zero. 0 = POCI (HcRhPortStatus1[3]) didn't change. 1 = POCI (HcRhPortStatus1[3]) changes. |
| [20] | PRSC | Port Reset Status Change
This bit indicates that the port reset signal has completed. Write 1 to clear this bit to zero. 0 = Port reset is not complete. 1 = Port reset is complete. |
Definition at line 1206 of file usbh_reg.h.
| USBH_T::HcRhStatus |
[0x0050] Host Controller Root Hub Status Register
| Bits | Field | Descriptions |
| [0] | LPS | Clear Global Power
In global power mode (PSM (HcRhDescriptorA[8]) = 0), this bit is written to one to clear all ports' power. This bit always read as zero. Write Operation: 0 = No effect. 1 = Clear global power. |
| [1] | OCI | over Current Indicator
This bit reflects the state of the over current status pin This field is only valid if NOCP (HcRhDesA[12]) and OCPM (HcRhDesA[11]) are cleared. 0 = No over current condition. 1 = Over current condition. |
| [15] | DRWE | Device Remote Wakeup Enable Bit
This bit controls if port's Connect Status Change as a remote wake-up event. Write Operation: 0 = No effect. 1 = Connect Status Change as a remote wake-up event Enabled. Read Operation: 0 = Connect Status Change as a remote wake-up event Disabled. 1 = Connect Status Change as a remote wake-up event Enabled. |
| [16] | LPSC | Set Global Power
In global power mode (PSM (HcRhDescriptorA[8]) = 0), this bit is written to one to enable power to all ports. This bit always read as zero. Write Operation: 0 = No effect. 1 = Set global power. |
| [17] | OCIC | over Current Indicator Change
This bit is set by hardware when a change has occurred in OCI (HcRhStatus[1]). Write 1 to clear this bit to zero. 0 = OCI (HcRhStatus[1]) didn't change. 1 = OCI (HcRhStatus[1]) change. |
| [31] | CRWE | Clear Remote Wake-up Enable Bit
This bit is use to clear DRWE (HcRhStatus[15]). This bit always read as zero. Write Operation: 0 = No effect. 1 = Clear DRWE (HcRhStatus[15]). |
Definition at line 1205 of file usbh_reg.h.


Passes and Policies
Optimization Passes
The Nemo IR can be flexibly modified, both in its logical structure and annotations, through an interface called Nemo optimization pass. An optimization pass is basically a function that takes an Nemo IR and outputs an optimized Nemo IR.
Compile-time passes
The modification during compile-time can be categorized in different ways:
- Reshaping passes modify the shape of the IR itself by inserting, regrouping, or deleting IR vertices and edges on an Nemo IR, such as collecting repetitive vertices inside a single loop or inserting metric vertices. This modifies the logical notion of data processing applications.
- Annotating passes annotate IR vertices and edges with execution properties with the provided logic to adjust and run the workload in the fashion that the user wants.
- Composite passes are collections of passes that are grouped together for convenience.
Run-time passes
After the compilation and compile-time optimizations, the Nemo IR gets laid out as a physical execution plan to be submitted to and executed by the Nemo Execution Runtime. While execution, an run-time optimization pass can be performed to perform dynamic optimizations, like solving data skew, using runtime statistics. It takes the old Nemo IR and metric data of runtime statistics, and sends the newly optimized Nemo IR to execution runtime for the physical plan to be updated accordingly.
Examples
Below are some example optimization passes that are used for different use cases:
Compile-time passes
Reshaping passes:
- Common subexpression elimination (CSE): to refactor the commonly occurring operation that unnecessarily computes multiple times.
- Loop invariant code motion (LICM): to extract an operation that does not need to be repetitively done iteratively from a loop.
- Loop Extraction: to observe the DAG structure and extract the repetitive workflow that can be refactored into a loop.
- Data Skew - Metric vertex insertion: to insert a vertex that indicated where to collect metrics and trigger data skew runtime optimization.
Annotating passes:
- Parallelism: to determine computational parallelism of each vertices by observing source data size and parallelism information of previous vertices
- Executor placement: to allocate different computations on specific types of resources.
Run-time passes
- Data-skew: to evenly re-distribute skewed data into a more evenly-distributed partitions of data.
Optimization Policies
An optimization policy is composed of a specific combination of optimization passes.
Using a carefully chosen series of optimization passes, we can optimize an application to exploit specific deployement characteristics, by providing appropriate configurations and plan for the execution runtime. A complete series of optimization passes is called a policy, which together performs a specific goal.
For example, to optimize an application to run on evictable transient resources, we can use a specialized executor placement pass, that places computations appropriately on different types of resources, and data flow model pass, that determines the fashion in which each computation should fetch its input data, with a number of other passes for further optimization.
Using different optimization policies for specific goals enables users to flexibly customize and perform data processing for different deployment characteristics. This greatly simplifies the work by replacing the work of exploring and rewriting system internals for modifying runtime behaviors with a simple process of using pluggable policies. It also makes it possible for the system to promptly meet new requirements through easy extension of system capabilities.
- Previous
- Next


{% extends 'application.html' %} {% block body %} Hello [username], My Postings POSTING 1 TITLE Link Status:Active REMOVE POSTING 2 TITLE Link Status:Removed POSTING 3 TITLE Link Status:Active REMOVE POSTING 4 TITLE Link Status:Removed POSTING 5 TITLE Link Status:Active REMOVE POSTING 6 TITLE Link Status:Active REMOVE Messages From: username1 Subject: Posting 1 Title Message Reply From: username4 Subject: Posting 3 Title Message Reply From: username2 Subject: Posting 5 Title Message Reply From: username8 Subject: Posting 1 Title Message Reply {% endblock %}


Item{{search_term}}
Category{{filteredTrash[0].title}}
Specifics{{filteredTrash[0].category}}
Advice{{filteredTrash[0].body}}
Useful Links
Check out when to put it curbside by consulting your
Garbage Collection Schedule.
More information on
Possible additional fees.


Redirect www to Non-www with Apache - Arch Linux
Difficulty: 2
Time: 15
Let's assume that have a domain with and without the "www" prefix. www.coolexample.com and coolexample.com. Both of them display the same content. Permanent redirect or "301 Redirect" is the type of redirect where you would be redirecting your users from one domain to the other.
Prerequisite
You must have Initial Server Setup done on your server and installed Apache. If you haven't installed Apache yet, do the following to install it.
sudo pacman -Syu
sudo pacman -S apache
Configure DNS Records
For this guide we will use COMPANY_NAME domain. Assuming that you have a domain with COMPANY_NAME, log into COMPANY_NAME account manager
-
Once you log in, click Manage in the Domains section.
-
This will take you to the list of domains you have with COMPANY_NAME. Click the drop down button on the domain that you want to work with and click on MANAGE DNS.
-
-
If you dont see a record for your domain, create one. You should also create another A record or CNAME record with the hostname "www" in the HOST field. Make sure to type in the IP address of your server in the POINTS TO field. Here's how both the records will look like
You should now be able to access both the www and non-www domains of your server.
Enable Rewrite and create .htaccess
We will make use of .htaccess file to hold our redirect rules. To configure Apache with the redirect information, you need to enable the mod_rewrite
module.
-
Open the configuration file.
sudo vim /etc/httpd/conf/httpd.conf
- Uncomment the following line:
LoadModule rewrite_module modules/mod_rewrite.so
-
In the same configuration file, replace the
AllowOverride None
Directive with AllowOverrride All
in the <Directory /srv/http>
module.
<Directory /srv/http>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Save and exit the file.
-
Restart Apache for the changes to take effect.
sudo systemctl restart httpd
-
Navigate into the DocumentRoot directory in this case
/srv/http
cd /srv/http
-
Create a .htaccess file to enter the redirection information. There are two options. We will take a look at both.
sudo vim /srv/http/.htaccess
Redirect www to non-www
-
If you want to redirect from www to non www, type in the below block of text in the .htaccess file.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Save and exit.
If you are using HTTPS, you need to replace http with https in the last line RewriteRule
-
To validate your redirection
curl
your domain name.
curl -I www.coolexample.com
You will see the following displayed on the console:
HTTP/1.1 301 Moved Permanently
Date: Mon, 24 Aug 2015 21:29:15 GMT
Server: Apache/2.4.16 (Unix)
Location: http://coolexample.com/
Content-Type: text/html; charset=iso-8859-1
-
You can also verify this by navigating to www.coolexample.com on your browser and you will be redirected to coolexample.com
Redirect non-www to www
-
If you want to redirect from www to non-www, type in the below block of text in the .htaccess file.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Save and exit.
If you are using HTTPS, you need to replace http with https in the last line RewriteRule
-
To validate your redirection
curl
your domain name.
curl -I coolexample.com
You will see the following displayed on the console:
HTTP/1.1 301 Moved Permanently
Date: Mon, 24 Aug 2015 21:39:55 GMT
Server: Apache/2.4.16 (Unix)
Location: http://www.coolexample.com/
Content-Type: text/html; charset=iso-8859-1
-
You can also verify this by navigating to http://coolexample.com on your browser and you will be redirected to www.coolexample.com
Next steps


| HBASE-10958 |
[dataloss] Bulk loading with seqids can prevent some log entries from being replayed |
Blocker |
. |
Jean-Daniel Cryans |
Jean-Daniel Cryans |
| HBASE-11143 |
Improve replication metrics |
Major |
Replication |
Lars Hofhansl |
Lars Hofhansl |
| HBASE-11188 |
"Inconsistent configuration" for SchemaMetrics is always shown |
Major |
metrics |
Jean-Daniel Cryans |
Jean-Daniel Cryans |
| HBASE-11110 |
Ability to load FilterList class is dependent on context classloader |
Major |
. |
Gabriel Reid |
Gabriel Reid |
| HBASE-11225 |
Backport fix for HBASE-10417 'index is not incremented in PutSortReducer#reduce()' |
Minor |
. |
Ted Yu |
Gustavo Anatoly |
| HBASE-11212 |
Fix increment index in KeyValueSortReducer |
Minor |
. |
Gustavo Anatoly |
Gustavo Anatoly |
| HBASE-11247 |
[0.94] update maven-site-plugin to 3.3 |
Major |
build, site |
Lars Hofhansl |
Lars Hofhansl |


{% extends 'dashboard/navbar_base.html' %} {% load static avatar_tags %} {% block title %}Change my Warwick.gg Avatar{% endblock %} {% block js %} {% endblock %} {% block body %}
You haven't uploaded your own avatar yet so we have generated one for you (seen above). To upload a
new one just use the form below:
Your current avatar is displayed above. If you would like to change it, upload a file using the form
below. Note: please only use JPEG images.


Data Scientist - Remote
As a Data Scientist in Product & Technology, you will help Paylocity discover the information hidden in vast amounts of data, to help our customers make smarter human capital decisions that drive organizational success. Your primary focus will be to apply knowledge of statistics, machine learning, programming, data modeling, simulation, and advanced mathematics to recognize patterns, identify opportunities, pose business questions, and make valuable discoveries leading to prototype development and product improvement.
Are you the teammate we are looking for?
Who you are:
Enthusiastic about advanced analytics and how predictive insights lead to a superior customer experience
Invested in staying current in data science by applying new technologies and practices
Able to work in a collaborative environment with a desire to share your ideas
Able to work independently on modules and complete tasks with high quality, but unafraid to seek out suggestions from other team members
Excited to work on cutting-edge technology!
How we work:
Curiosity and candor; the quality of the idea wins the day
Casual, focused, and agile environment operating under our shared principles
Customers at the center of everything we do
Small, mission-focused squads with an entrepreneurial spirit backed by enterprise investments
Consistent routines across stakeholders to ensure complete transparency
Close working relationship between executive stakeholders and customers
What we offer:
A compelling mission to elevate payroll and human resources across the backroom and into the boardroom
Focus on helping our customers automate manual processes, appeal to the modern workforce, and glean insights from analytics
Lean enabling process that focuses on putting our customers at the center of everything we do
A commitment to investing in our products, hiring the best talent, and giving them the chance to meaningfully contribute to a vast market opportunity
Ample opportunity and encouragement to stay current with external training
A phenomenal talent anywhere culture, where employees can work remotely anywhere in the U.S. and/or work from one of three U.S. offices located in Illinois, Florida and Idaho
What you bring:
Demonstrated ability to leverage data science to drive business results. Some ways previous successful candidates have demonstrated this are:
3-6 years of data science success at other software companies
Recognized success for data science skills via academic awards, scholarships or corporate recognition programs (Employee of the Year, etc.)
Experience in writing production grade machine learning models in Python. Some ways previous successful candidates have demonstrated this are:
A portfolio of publicly available data science projects that resulted in a fully functioning piece of software
Strong academic publication or speaking record in organizations such as ICML, NeurIPS, JML, KDD, and INFORMS
History of strong performance in Kaggle competitions
Experience with cloud infrastructure on AWS or Azure
Skilled at translating business problems into data science problems and communicating the results to non-technical audiences.
Some ways previous successful candidates have demonstrated this are:
A resume or cover letter outlining previous experience leveraging data science across many domains
A professional or academic track record of teaching mathematical or data science concepts to non-traditional audiences
Experience or interest for leveraging technology and data to empower employees. Some ways previous successful candidates have demonstrated this are:
Professional or academic experience in HR, social science or psychology
Advanced degree (Masters or PhD) preferred in computer science, industrial engineering, statistics, industrial organizational psychology, neurology, public policy, linguistics or other quantitative field preferred. Bachelor’s degree required.
During the last three months, you would have:
Selected features, built and optimized classifiers using machine learning techniques such as random forests, xgboost, TensorFlow, linear regression, time series methods
Collaborated with Product Owners, Sales Leaders, Enterprise Architects and other executives to translate complex human capital management challenges into data science projects
Extended company’s data with third party sources of information when needed
Enhanced data collection procedures to include information that is relevant for building analytic systems
Leverage cutting edge big data technologies on AWS and Microsoft Azure
Conducted ad-hoc analysis and presented results in a clear manner
Created automated anomaly detection systems and tracking of its performance
Worked closely with full stack .net engineers in an agile product development environment


You’ve heard variations of these words in whispers throughout the internet, but you might not actually know what they mean; no one could blame you! This burgeoning, fuzzily defined, interdisciplinary field of neuroscience, electrical engineering, biochemistry, and computer science has barely begun.
The field is so young that many researchers do not even agree on joint terminology! Given the field's infancy, in this blog post I hope to demistify some aspects of neuroengineering, which will hopefully allow you to more easily approach and understand the field.
In this blog post we are going to: define neuroengineering, and outline the field's divisions and goals. Sounds simple enough! 😃
Neuroengineering Definition
Since neuroengineering is such an interdisciplinary field, you should have a broad but working understanding of neuroscience, electrical engineering, biochemistry, and computer science before jumping in. A wikipedia refresher should do just fine! 😊
Neuroengineering is the study of appling engineering principles to one of following categories:
Reading then writing information out of the brain
Interrogating biological principles of neuroscience systems
Informing the algorithims used in hardware or software designs
Wooh that was a mouthful! Let's break it down.
Reading then writing information out of the brain is largely encapsulated in the field of neuroprosthetics. The devices created within the neuroprosthetics field go by many names such as brain machine interfaces (BMIs), neural prostheses, and brain computer interfaces (BCIs). These terms are mostly interchangeable.
Any hardware or software created to collect, compile, or decipher information from the brain would be a neuroengineering system that fits into this category. An awesome example is the neuropixel probe that can record from hundreds of neurons across multiple brain regions. The neuropixel is pictured below; the red arrows indicated the piece of the probe that is inserted into the brain 😱.
An important note: some devices that neither read nor write infomation out of the brain, like deep brain stimulators (DBS) for Parkinson's Disease, are sometimes referred to as neural prostheses. Keep in mind though, that these DBSs are not closed loop systems. Regardless, they are still incredibly effective at treating some diseases!
Interrogating biological principles of neuroscience systems is largely dominated by the phenomenon of optogenetics. Optogenetics is a method to induce or suppress neural activity by making neurons responsive to specific wavelengths of light. I swear this is not fiction, just incredible science! 🔬
Pictured below is a mouse with an optical fiber implanted in its head to trigger optogenetically responsive neurons, or in other words what I imagine is one of the most famous mice in the world!
Optogenetics, has been a revolutionary tool for the field of neuroengineering and neuroscience because it allows you to perturb neural systems in more causal manner than was ever possible before.
Neuromodulation!
The third an final category is using the algorithms and principles that organize the nervous systems to create better hardware and software. This can largely contains neuromorphic computing which is the hardware component, and software component which is more realistic and competent artificial intelligence systems.
Goal's of Neuroengineering
The goals of each of these subdivisions of neuroengineering are as follows:
The goals of 1 are possibly the most split in the field right now. And are to help people that are suffering from paralyasis, depression, parkinsons, etc. or to augment the human mind. *Cough* *Cough* if it was not obvious that I was talking about Elon I was.
The goals of optogenetics, as well as the other ways to control neurons magnetogenetics anyone? are to be able to more causally perturb the neural system we are interested in in response to a certain stimulus or behavior. This has proved to be cruicial for many learning and memory experiments/
The goals of calcium and voltage inicators are to be able to observe the system that is active during a particular stimulus or behavior, however with these methods you cannot perturb - only observe.
THe goals of borrowing neuroscience principles to inform hardware and software creations is to make more competent machines and algorithms that can perform more complex compuations and tasks. The fields of neuromorphic computing as well as artificial intelligence direly want to borrow from neuroscience so that we can eventually have consumer owned self-driving cars, or more complex robotic assistants.
In future blog posts we will dive into each of these components more in depth, as well as walk through who the main players are in the fields both in academia as well as industry, as well as talk about what the most compelling technology is in each space.
But that is for another blog post! In short neuroengineering is a vast space that pulls all the way from biochemistry to machine learning. It is an exciting time for neuroengineering as things are ramping up, and stay tuned for more updates in the space!


Jeremy's Personal Smile Path
Add
Visit one new continent in 2018
Hitch hike an airplane
Get my pilots license
Close a $100K website project
Learn to surf
Become fluent in German
Try Japanese Fondu
Go Sky Diving


Seedsnipe - Simple templating languag
Seedsnipe is meant to be easy and higly intuitive, so a couple of examples should do :).
A nested loop, at least one of the variables is an array of two (or more) dimenstions.
${loop}
${loop}
a variable: ${var1}
another variable: ${var2}
${/loop}
${/loop}
Display a foaf:PersonalProfileDocument (as HTML snippet):
${loop}
Name: ${foaf:primaryTopic/foaf:name}

Phone: ${foaf:primaryTopic/foaf:phone}

Friends:

${loop}
${loop}
${if foaf:primaryTopic/foaf:knows/rdf:type="<http://xmlns.com/foaf/0.1/Person>"}
Person:
${else}
Agent:
${/if}
${foaf:primaryTopic/foaf:knows/foaf:name}

${/loop}
${/loop}
${/loop}
Sorting loops in acsending and descending order:
${loop sort desc outer}
${loop sort asc inner}
a variable: ${outer}
another variable: ${inner}
${/loop}
${/loop}


Iraq officials: 13 protesters wounded amid ongoing clashes
by Murtada FarajBAGHDAD (AP) — Iraqi officials say 13 anti-government protesters have been wounded by security forces amid ongoing clashes in central Baghdad. In the country’s oil-rich south, demonstrators were seen burning tires, and have cut main roads.
The security and medical officials spoke on condition of anonymity in line with regulations.
The clashes in Baghdad’s historic Rasheed Street continued Sunday for a fourth day. So far, 16 people have died and over 100 have been wounded in the latest round of street battles.
Security forces have been using tear gas, rubber bullets and even live ammunition to disperse protesters. At least 342 people have died since demonstrations began Oct. 1.
U.S. Vice President Mike Pence encouraged the Iraqi government to show restraint with the protesters, speaking during an unannounced trip to Iraq on Saturday.
Murtada Faraj
SAMYA KULLAB


Michael Hutchence's daughter 'lives simple life' in Australia after missing out on £16m fortune
Tiger Lily Hutchence is said to have inherited little after her millionaire rockstar father died
by Sara-Aisha Kent, https://www.mirror.co.uk/authors/sara-aisha-kent/Michael Hutchence's daughter Tiger Lily, 23, who was left a pittance from her father's £16million estate, is living a simple life in Perth, Australia, according to reports.
Tiger Lily, real name is Heavenly Hiraani Tiger Lily Hutchence Geldof, was tipped to inherit millions when she came of age at 21.
However, when INXS rock star Hutchence died in November 1997, his family were told he was virtually penniless.
Despite an estimated worth of £16 million, the managers of his estate said any cash left in Hutchence's account was minimal - and had been swallowed up by a £295,000 Greenpeace donation in his will.
They also said that his property portfolio, which he'd long talked about, wasn't actually his to sell or bequeath, leaving relatives with virtually nothing. Including Tiger Lily.
Now, Tiger Lily's aunt Tina Hutchence, Hutchence's eldest sister, who has not seen her niece for over 18 years, has told that Tiger is living down under for a simpler and cheaper life.
"Tiger lives a simple life and does not crave material things," she told Mail On Sunday .

Tina, who is set to release a book next year, also told the publication that her and the family "feel swindled."
She added: "My brother worked with INXS for 20 years and he wanted to leave money for his daughter and family but none of us have seen a penny."
Hutchence shared Tiger with and TV presenter Paula Yates.
The couple famously began their romance when she interviewed him in flirty fashion on her bed on Channel 4’s Big Breakfast show in January 1995.
Tiger Lily was born 18 months later.
However, she was just 16-months-old when her father was found dead in a hotel room, and was four when her mother, Paula Yates, lost her life to an overdose, with Tiger Lilly in the house at the time.
Then, on the cusp of her 18th birthday, she became tangled-up in a bitter family feud between her adoptive father, Bob Geldof, and her real father’s family in Australia.
She then suffered more loss when her half-sister, Peaches Geldof, died of an overdose in April 2014.


◆ UniContactRT()
| SimTK::ImpulseSolver::UniContactRT::UniContactRT |
( |
| ) |
|
|
inline |
◆ hasFriction()
| bool SimTK::ImpulseSolver::UniContactRT::hasFriction |
( |
| ) |
const |
|
inline |
◆ m_ucx
| UnilateralContactIndex SimTK::ImpulseSolver::UniContactRT::m_ucx |
◆ m_Nk
◆ m_sign
| Real SimTK::ImpulseSolver::UniContactRT::m_sign |
◆ m_Fk
◆ m_type
◆ m_effCOR
| Real SimTK::ImpulseSolver::UniContactRT::m_effCOR |
◆ m_effMu
| Real SimTK::ImpulseSolver::UniContactRT::m_effMu |
◆ m_contactCond
| UniCond SimTK::ImpulseSolver::UniContactRT::m_contactCond |
◆ m_frictionCond
| FricCond SimTK::ImpulseSolver::UniContactRT::m_frictionCond |
◆ m_slipVel
| Vec2 SimTK::ImpulseSolver::UniContactRT::m_slipVel |
◆ m_slipMag
| Real SimTK::ImpulseSolver::UniContactRT::m_slipMag |
◆ m_impulse
| Vec3 SimTK::ImpulseSolver::UniContactRT::m_impulse |
The documentation for this struct was generated from the following file:


Home
Pies
Contact
Order
First Name
Last Name
Address
State
[Select one]
State 1
State 2
Postal Code
Comments


Facebook is great.
Apple
Microsoft.
Go to Microsoft
Welcome to our page.
You will lose all unsaved work. Are you sure?


The user:host pair, username, and password should be the same as the ones in master.cfg; verify this is the case by looking at the section for c[‘slaves’] and c[‘slavePortnum’]:
1
cat master/master.cfg
Now, start the slave:
buildslave start slave
Check the slave’s log:
1
tail -f slave/twistd.log
You should see lines like the following at the end of the worker log:
123456789
2009-07-29 20:59:18+0200 [Broker,client] message from master: attached
2009-07-29 20:59:18+0200 [Broker,client] SlaveBuilder.remote_print(buildbot-full): message from master: attached
2009-07-29 20:59:18+0200 [Broker,client] sending application-level keepalives every 600 seconds
Meanwhile, in the other terminal, in the master log, if you tail the log you should see lines like this:
2011-03-13 18:46:58-0700 [Broker,1,<IP_ADDRESS>] slave 'example-slave' attaching from IPv4Address(TCP, '<IP_ADDRESS>', 41306)
2011-03-13 18:46:58-0700 [Broker,1,<IP_ADDRESS>] Got slaveinfo from 'example-slave'
2011-03-13 18:46:58-0700 [Broker,1,<IP_ADDRESS>] bot attached
2011-03-13 18:46:58-0700 [Broker,1,<IP_ADDRESS>] Buildslave example-slave attached to runtests
You should now be able to go to http://localhost:8010, where you will see a web page similar to:
Click on the Waterfall Display link and you get this:


--- layout: post authors: ["Greg Wilson"] title: "Announcing NBDiff" date: 2014-03-30 time: "08:00:00" tags: ["Announcements", "Tooling"] ---
I am very pleased to announce the first release of NBDiff, a tool for diffing and merging IPython Notebooks that is now available on GitHub and PyPI. NBDiff was created by a team of students at Concordia University in Montréal; our thanks and congratulations to Shurouq Abusalah, Tavish Armstrong, Marwa Malti, Lina Nouh, Boris Pipev, Selena Sachdeva, and Richard Tang. For more information, see the NBDiff web site.


2 overrides of ReplicateInstance
System.Management.Automation (2)
engine\MshMemberInfo.cs (2)
2466
internal override void
ReplicateInstance
(object particularInstance)
3015
internal override void
ReplicateInstance
(object particularInstance)
7 references to ReplicateInstance
System.Management.Automation (7)
engine\MshMemberInfo.cs (6)
2468
base.
ReplicateInstance
(particularInstance);
3017
base.
ReplicateInstance
(particularInstance);
4444
memberSet.
ReplicateInstance
(mshOwner);
4671
memberToBeAdded.
ReplicateInstance
(_mshOwner);
4814
member.
ReplicateInstance
(delegateOwner);
4867
member.
ReplicateInstance
(delegateOwner);
engine\runtime\Binding\Binders.cs (1)
5817
memberInfo.
ReplicateInstance
(obj);


The ‘Information, Inference and Machine Learning’ group focuses on the foundations and applications of information theory, information processing, and machine learning systems
Concretely, our current research concentrates on the information-theoreticfoundations of learning paradigms such as supervised learning, unsupervised learning, deep learning and meta-learning.
It also concentrates — in collaboration with domain experts — on applications of machine learning systems to a variety of areas including arts and humanities and climate science.
Our research is funded by diverse bodies such as EPSRC, InnovateUK, H2020, Royal Society and Industry
Publications » Projects »Our papers ‘Optimization Guarantees for ISTA and ADMM based Unfolded Networks’ and ‘Blind Unmixing Using a Double Deep Image Prior’ have been accepted at IEEE ICASSP 2022.
Our papers ‘A Theoretical-Inspired Semi-supervised Learning Algorithm under Covariate-shift’ and ‘Characterizing and Understanding the Generalization Error of Transfer Learning with Gibbs Algorithm’ have been accepted at AISTATS 2022.
Jaweria Amjad has successfully defended her PhD in December 2021.
Our paper ‘An Exact Characterization of the Generalization Error for the Gibbs Algorithm’ has been accepted at NeurIPS 2021.
Our paper ‘Blind Pareto Fairness’ has been accepted at ICML 2021.
Zhuo Zhi has joined the ‘Information, Inference and Machine Learning’ group in October 2021.
Mathieu Alain has joined the ‘Information, Inference and Machine Learning’ group in October 2021.
Maria Carolina Novitsari has joined the ‘Information, Inference and Machine Learning’ group in October 2020.
Martin Ferianc has joined the ‘Information, Inference and Machine Learning’ group in October 2019.
Zahra Sabetsarvestani has successfully defended her PhD in September 2019.


Powered by Bootstrap 4 Github Pages and many others people.
Thanks all!
Page not found :(
The requested page could not be found.


Angular Olympics
Using $http requests in Angular and Express routes
Archery
Canoe/Kayak
Modern Pentathlon
Soccer
Taekwondo


Architectural Overview
ELAC consists of several different modules that add up to a fully working anaphora and coreference resolution system based on ensemble learning. This page intends to give you a complete overview over the different modules and how they work together, for details refer to their dedicated pages respectively.
Note that the ELAC package also comes with several standalone tools that were created during development and are described on their own pages, but not mentioned here any further.
Configuration
The configuration file provides user/system dependant information for almost every module, from file paths to feature selection. Detailed information can be found here.
Input
The input corpora have to be annotated in MMAX2 format to be read by ELAC’s MMAX2 parser for further processing.
ACR Systems
ELAC uses ensemble learning, i.e. it makes use of several anaphora and coreference resolution (ACR) systems. At the moment this comprises BART, JavaRAP and LingPipe, each with its own advantages and disadvantages. But as ELAC provides easy to use interfaces, it is possible to extend this list in the future.
The ACR systems’ role in the process is described below.
Performance measurement
The ACR systems introduced above predict what they believe are coreference chains/pairs from the corpus using their own algorithms each. These hypothesis coreferences are then checked against a previously extracted correct list of coreferences (gold standard) and saved into an .arff file for later use.
Note that the coreference pair itself is not saved, but rather the feature vector which goes along with it, together with the name of the ACR system that provided it and the information whether this was indeed a coreference (+
) or not (-
).
Machine learning
The previously produced .arff file is given as input to Weka, a tool used for classification. Based on user options from the configuration file Weka uses different classifiers to decide which ACR system is to trust for which feature vector, thus improving the results of another check against the gold standard.
Output
After this last check against the gold standard precision, recall and both combined into the F-score are output as a degree for quality measurement.
0 Comments.


{% extends "base.html" %} {% block content %}
Please select a photo from your local computer to upload.


MongoCollection
public class MongoCollection<T> where T : Decodable, T : Encodable
A MongoDB collection.
-
Encoder used by this collection for BSON conversions. (e.g. converting
CollectionType
s, indexes, and options to documents).Declaration
Swift
public let encoder: BSONEncoder
-
Decoder used by this collection for BSON conversions (e.g. converting documents to
CollectionType
s).Declaration
Swift
public let decoder: BSONDecoder
-
A
Codable
type associated with thisMongoCollection
instance. This allowsCollectionType
values to be directly inserted into and retrieved from the collection, by encoding/decoding them using theBSONEncoder
andBSONDecoder
. The strategies to be used by the encoder and decoder for certain types can be configured by setting the coding strategies on the options used to create this collection instance. The default strategies are inherited from those set on the database this collection derived from.This type association only exists in the context of this particular
MongoCollection
instance. It is the responsibility of the user to ensure that any data already stored in the collection was encoded from this same type and according to the coding strategies set on this instance.Declaration
Swift
public typealias CollectionType = T
-
The name of this collection.
Declaration
Swift
public var name: String { get }
-
The
ReadConcern
set on this collection, ornil
if one is not set.Declaration
Swift
public var readConcern: ReadConcern? { get }
-
The
ReadPreference
set on this collection.Declaration
Swift
public var readPreference: ReadPreference { get }
-
The
WriteConcern
set on this collection, or nil if one is not set.Declaration
Swift
public var writeConcern: WriteConcern? { get }
-
Drops this collection from its parent database.
Throws
ServerError.commandError
if an error occurs that prevents the command from executing.
Declaration
Swift
public func drop(session: ClientSession? = nil) throws
-
Execute multiple write operations.
Throws
Throws:
UserError.invalidArgumentError
ifrequests
is empty.UserError.logicError
if the provided session is inactive.ServerError.bulkWriteError
if any error occurs while performing the writes.ServerError.commandError
if an error occurs that prevents the operation from being performed.EncodingError
if an error occurs while encoding theCollectionType
or the options to BSON.
Declaration
Swift
@discardableResult public func bulkWrite(_ requests: [WriteModel], options: BulkWriteOptions? = nil, session: ClientSession? = nil) throws -> BulkWriteResult?
Parameters
requests
a
[WriteModel]
containing the writes to perform.options
optional
BulkWriteOptions
to use while executing the operation.Return Value
a
BulkWriteResult
, ornil
if the write concern is unacknowledged. -
A model for a
See moredeleteOne
operation within a bulk write.Declaration
Swift
public struct DeleteOneModel : WriteModel, Decodable
-
A model for a
See moredeleteMany
operation within a bulk write.Declaration
Swift
public struct DeleteManyModel : WriteModel, Decodable
-
A model for an
See moreinsertOne
operation within a bulk write.Declaration
Swift
public struct InsertOneModel : WriteModel, Decodable
-
A model for a
See morereplaceOne
operation within a bulk write.Declaration
Swift
public struct ReplaceOneModel : WriteModel, Decodable
-
A model for an
See moreupdateOne
operation within a bulk write.Declaration
Swift
public struct UpdateOneModel : WriteModel, Decodable
-
A model for an
See moreupdateMany
operation within a bulk write.Declaration
Swift
public struct UpdateManyModel : WriteModel, Decodable
-
Finds a single document and deletes it, returning the original.
Throws
Throws:
UserError.invalidArgumentError
if any of the provided options are invalid.UserError.logicError
if the provided session is inactive.ServerError.commandError
if an error occurs that prevents the command from executing.ServerError.writeError
if an error occurs while executing the command.DecodingError
if the deleted document cannot be decoded to aCollectionType
value.
Declaration
Swift
@discardableResult public func findOneAndDelete(_ filter: Document, options: FindOneAndDeleteOptions? = nil, session: ClientSession? = nil) throws -> CollectionType?
Parameters
filter
Document
representing the match criteriaoptions
Optional
FindOneAndDeleteOptions
to use when executing the commandReturn Value
The deleted document, represented as a
CollectionType
, ornil
if no document was deleted. -
Finds a single document and replaces it, returning either the original or the replaced document.
Throws
Throws:
UserError.invalidArgumentError
if any of the provided options are invalid.UserError.logicError
if the provided session is inactive.ServerError.commandError
if an error occurs that prevents the command from executing.ServerError.writeError
if an error occurs while executing the command.DecodingError
if the replaced document cannot be decoded to aCollectionType
value.EncodingError
ifreplacement
cannot be encoded to aDocument
.
Declaration
Swift
@discardableResult public func findOneAndReplace(filter: Document, replacement: CollectionType, options: FindOneAndReplaceOptions? = nil, session: ClientSession? = nil) throws -> CollectionType?
Parameters
filter
Document
representing the match criteriareplacement
a
CollectionType
to replace the found documentoptions
Optional
FindOneAndReplaceOptions
to use when executing the commandReturn Value
A
CollectionType
, representing either the original document or its replacement, depending on selected options, ornil
if there was no match. -
Finds a single document and updates it, returning either the original or the updated document.
Throws
Throws:
UserError.invalidArgumentError
if any of the provided options are invalid.UserError.logicError
if the provided session is inactive.ServerError.commandError
if an error occurs that prevents the command from executing.ServerError.writeError
if an error occurs while executing the command.DecodingError
if the updated document cannot be decoded to aCollectionType
value.
Declaration
Swift
@discardableResult public func findOneAndUpdate(filter: Document, update: Document, options: FindOneAndUpdateOptions? = nil, session: ClientSession? = nil) throws -> CollectionType?
Parameters
filter
Document
representing the match criteriaupdate
a
Document
containing updates to applyoptions
Optional
FindOneAndUpdateOptions
to use when executing the commandReturn Value
A
CollectionType
representing either the original or updated document, depending on selected options, ornil
if there was no match.
-
Creates an index over the collection for the provided keys with the provided options.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the write.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the index specification or options.
Declaration
Swift
@discardableResult public func createIndex(_ keys: Document, options: IndexOptions? = nil, commandOptions: CreateIndexOptions? = nil, session: ClientSession? = nil) throws -> String
Parameters
keys
a
Document
specifing the keys for the indexoptions
Optional
IndexOptions
to use for the indexcommandOptions
Optional
CreateIndexOptions
to use for the commandReturn Value
The name of the created index.
-
Creates an index over the collection for the provided keys with the provided options.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the write.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the index specification or options.
Declaration
Swift
@discardableResult public func createIndex(_ model: IndexModel, options: CreateIndexOptions? = nil, session: ClientSession? = nil) throws -> String
Parameters
model
An
IndexModel
representing the keys and options for the indexoptions
Optional
CreateIndexOptions
to use for the commandReturn Value
The name of the created index.
-
Creates multiple indexes in the collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the write.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the index specifications or options.
Declaration
Swift
@discardableResult public func createIndexes(_ models: [IndexModel], options: CreateIndexOptions? = nil, session: ClientSession? = nil) throws -> [String]
Parameters
models
An
[IndexModel]
specifying the indexes to createoptions
Optional
CreateIndexOptions
to use for the commandReturn Value
An
[String]
containing the names of all the indexes that were created. -
Drops a single index from the collection by the index name.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.EncodingError
if an error occurs while encoding the options.
Declaration
Swift
@discardableResult public func dropIndex(_ name: String, options: DropIndexOptions? = nil, session: ClientSession? = nil) throws -> Document
Parameters
name
The name of the index to drop
options
Optional
DropIndexOptions
to use for the command -
Attempts to drop a single index from the collection given the keys describing it.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options.
Declaration
Swift
@discardableResult public func dropIndex(_ keys: Document, commandOptions: DropIndexOptions? = nil, session: ClientSession? = nil) throws -> Document
Parameters
keys
a
Document
containing the keys for the index to dropoptions
Optional
DropIndexOptions
to use for the commandReturn Value
a
Document
containing the server’s response to the command. -
Attempts to drop a single index from the collection given an
IndexModel
describing it.Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options.
Declaration
Swift
@discardableResult public func dropIndex(_ model: IndexModel, options: DropIndexOptions? = nil, session: ClientSession? = nil) throws -> Document
Parameters
model
An
IndexModel
describing the index to dropoptions
Optional
DropIndexOptions
to use for the commandReturn Value
a
Document
containing the server’s response to the command. -
Drops all indexes in the collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options.
Declaration
Swift
@discardableResult public func dropIndexes(options: DropIndexOptions? = nil, session: ClientSession? = nil) throws -> Document
Parameters
options
Optional
DropIndexOptions
to use for the commandReturn Value
a
Document
containing the server’s response to the command. -
Retrieves a list of the indexes currently on this collection.
Throws
UserError.logicError
if the provided session is inactive.Declaration
Swift
public func listIndexes(session: ClientSession? = nil) throws -> MongoCursor<Document>
Return Value
A
MongoCursor
over the index names.
-
Finds the documents in this collection which match the provided filter.
Throws
Throws:
UserError.invalidArgumentError
if the options passed are an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
public func find(_ filter: Document = [:], options: FindOptions? = nil, session: ClientSession? = nil) throws -> MongoCursor<CollectionType>
Parameters
filter
A
Document
that should match the queryoptions
Optional
FindOptions
to use when executing the commandReturn Value
A
MongoCursor
over the resultingDocument
s -
Runs an aggregation framework pipeline against this collection.
Throws
Throws:
UserError.invalidArgumentError
if the options passed are an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
public func aggregate(_ pipeline: [Document], options: AggregateOptions? = nil, session: ClientSession? = nil) throws -> MongoCursor<Document>
Parameters
pipeline
an
[Document]
containing the pipeline of aggregation operations to performoptions
Optional
AggregateOptions
to use when executing the commandReturn Value
A
MongoCursor
over the resultingDocument
s -
Counts the number of documents in this collection matching the provided filter.
Throws
Throws:
ServerError.commandError
if an error occurs that prevents the command from performing the write.UserError.invalidArgumentError
if the options passed in form an invalid combination.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
public func count(_ filter: Document = [:], options: CountOptions? = nil, session: ClientSession? = nil) throws -> Int
Parameters
filter
a
Document
, the filter that documents must match in order to be countedoptions
Optional
CountOptions
to use when executing the commandReturn Value
The count of the documents that matched the filter
-
Finds the distinct values for a specified field across the collection.
Throws
Throws:
ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
public func distinct(fieldName: String, filter: Document = [:], options: DistinctOptions? = nil, session: ClientSession? = nil) throws -> [BSONValue]
Parameters
fieldName
The field for which the distinct values will be found
filter
a
Document
representing the filter documents must match in order to be considered for the operationoptions
Optional
DistinctOptions
to use when executing the commandReturn Value
A
[BSONValue]
containing the distinct values for the specified criteria
-
Encodes the provided value to BSON and inserts it. If the value is missing an identifier, one will be generated for it.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding theCollectionType
to BSON.
Declaration
Swift
@discardableResult public func insertOne(_ value: CollectionType, options: InsertOneOptions? = nil, session: ClientSession? = nil) throws -> InsertOneResult?
Parameters
value
A
CollectionType
value to encode and insertoptions
Optional
InsertOneOptions
to use when executing the commandReturn Value
The optional result of attempting to perform the insert. If the
WriteConcern
is unacknowledged,nil
is returned. -
Encodes the provided values to BSON and inserts them. If any values are missing identifiers, the driver will generate them.
Throws
Throws:
ServerError.bulkWriteError
if an error occurs while performing any of the writes.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding theCollectionType
or options to BSON.
Declaration
Swift
@discardableResult public func insertMany(_ values: [CollectionType], options: InsertManyOptions? = nil, session: ClientSession? = nil) throws -> InsertManyResult?
Parameters
values
The
CollectionType
values to insertoptions
optional
InsertManyOptions
to use while executing the operationReturn Value
an
InsertManyResult
, ornil
if the write concern is unacknowledged. -
Replaces a single document matching the provided filter in this collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding theCollectionType
or options to BSON.
Declaration
Swift
@discardableResult public func replaceOne(filter: Document, replacement: CollectionType, options: ReplaceOptions? = nil, session: ClientSession? = nil) throws -> UpdateResult?
Parameters
filter
A
Document
representing the match criteriareplacement
The replacement value, a
CollectionType
value to be encoded and insertedoptions
Optional
ReplaceOptions
to use when executing the commandReturn Value
The optional result of attempting to replace a document. If the
WriteConcern
is unacknowledged,nil
is returned. -
Updates a single document matching the provided filter in this collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
@discardableResult public func updateOne(filter: Document, update: Document, options: UpdateOptions? = nil, session: ClientSession? = nil) throws -> UpdateResult?
Parameters
filter
A
Document
representing the match criteriaupdate
A
Document
representing the update to be applied to a matching documentoptions
Optional
UpdateOptions
to use when executing the commandReturn Value
The optional result of attempting to update a document. If the
WriteConcern
is unacknowledged,nil
is returned. -
Updates multiple documents matching the provided filter in this collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
@discardableResult public func updateMany(filter: Document, update: Document, options: UpdateOptions? = nil, session: ClientSession? = nil) throws -> UpdateResult?
Parameters
filter
A
Document
representing the match criteriaupdate
A
Document
representing the update to be applied to matching documentsoptions
Optional
UpdateOptions
to use when executing the commandReturn Value
The optional result of attempting to update multiple documents. If the write concern is unacknowledged, nil is returned
-
Deletes a single matching document from the collection.
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
@discardableResult public func deleteOne(_ filter: Document, options: DeleteOptions? = nil, session: ClientSession? = nil) throws -> DeleteResult?
Parameters
filter
A
Document
representing the match criteriaoptions
Optional
DeleteOptions
to use when executing the commandReturn Value
The optional result of performing the deletion. If the
WriteConcern
is unacknowledged,nil
is returned. -
Deletes multiple documents
Throws
Throws:
ServerError.writeError
if an error occurs while performing the command.ServerError.commandError
if an error occurs that prevents the command from executing.UserError.invalidArgumentError
if the options passed in form an invalid combination.UserError.logicError
if the provided session is inactive.EncodingError
if an error occurs while encoding the options to BSON.
Declaration
Swift
@discardableResult public func deleteMany(_ filter: Document, options: DeleteOptions? = nil, session: ClientSession? = nil) throws -> DeleteResult?
Parameters
filter
Document representing the match criteria
options
Optional
DeleteOptions
to use when executing the commandReturn Value
The optional result of performing the deletion. If the
WriteConcern
is unacknowledged,nil
is returned.


Model: {{starShip.model}}
Starship class: {{starShip.starship_class}}
Cargo capacity: {{starShip.cargo_capacity}}
MGLT: {{starShip.MGLT}}
Cost in credits{{starShip.cost_in_credits}}
Length: {{starShip.length}}
Manufacturer: {{starShip.manufacturer}}
Max atmosphering speed: {{starShip.max_atmosphering_speed}}
Passengers: {{starShip.passengers}}


***<PHONE_NUMBER>sunmi01 ***
Q01)
The wires connecting the battery and the light-bulb create a closed circuit. What would happen if one of these wires were cut?
(1) The battery would lost its charge
(2) The class would crack
(3) The light would go out
(4) The wire would become hot


Phthalocyanine molecule.
Use your fingers or mouse to control the model (hold
shift
key or use mouse wheel to zoom it). Canvas is matched to your browser window.
WebGL Demos
updated
9 Apr 2011


Patriot Financial Associates
Register with your email and password.
Email:
Password:
Region:
National
Northwest
Northcentral
Northeast
Southwest
Southeast


Adding *io
support to other ports¶
digitalio
provides a well-defined, cross-port hardware abstraction layer built to support different devices and their drivers. It's backed by the Common HAL, a C api suitable for supporting different hardware in a similar manner. By sharing this C api, developers can support new hardware easily and cross-port functionality to the new hardware.
These instructions also apply to analogio
, busio
, pulseio
and touchio
. Most drivers depend on analogio
, digitalio
and busio
so start with those.
File layout¶
Common HAL related files are found in these locations:
shared-bindings
Shared home for the Python <-> C bindings which includes inline RST documentation for the created interfaces. The common hal functions are defined in the .h files of the corresponding C files.shared-modules
Shared home for C code built on the Common HAL and used by all ports. This code only usescommon_hal
methods defined inshared-bindings
.<port>/common-hal
Port-specific implementation of the Common HAL.
Each folder has the substructure of __init__.c
is used for module globals that are not classes (similar to __init__.py
).
Adding support¶
Modifying the build¶
The first step is to hook the shared-bindings
into your build for the modules you wish to support. Here's an example of this step for the atmel-samd/Makefile
:
SRC_BINDINGS = \
board/__init__.c \
microcontroller/__init__.c \
microcontroller/Pin.c \
analogio/__init__.c \
analogio/AnalogIn.c \
analogio/AnalogOut.c \
digitalio/__init__.c \
digitalio/DigitalInOut.c \
pulseio/__init__.c \
pulseio/PulseIn.c \
pulseio/PulseOut.c \
pulseio/PWMOut.c \
busio/__init__.c \
busio/I2C.c \
busio/SPI.c \
busio/UART.c \
neopixel_write/__init__.c \
time/__init__.c \
usb_hid/__init__.c \
usb_hid/Device.c
SRC_BINDINGS_EXPANDED = $(addprefix shared-bindings/, $(SRC_BINDINGS)) \
$(addprefix common-hal/, $(SRC_BINDINGS))
# Add the resulting objects to the full list
OBJ += $(addprefix $(BUILD)/, $(SRC_BINDINGS_EXPANDED:.c=.o))
# Add the sources for QSTR generation
SRC_QSTR += $(SRC_C) $(SRC_BINDINGS_EXPANDED) $(STM_SRC_C)
The Makefile
defines the modules to build and adds the sources to include the shared-bindings
version and the common-hal
version within the port specific directory. You may comment out certain subfolders to reduce the number of modules to add but don't comment out individual classes. It won't compile then.
Hooking the modules in¶
Built in modules are typically defined in mpconfigport.h
. To add support you should have something like:
extern const struct _mp_obj_module_t microcontroller_module;
extern const struct _mp_obj_module_t analogio_module;
extern const struct _mp_obj_module_t digitalio_module;
extern const struct _mp_obj_module_t pulseio_module;
extern const struct _mp_obj_module_t busio_module;
extern const struct _mp_obj_module_t board_module;
extern const struct _mp_obj_module_t time_module;
extern const struct _mp_obj_module_t neopixel_write_module;
#define MICROPY_PORT_BUILTIN_MODULES \
{ MP_OBJ_NEW_QSTR(MP_QSTR_microcontroller), (mp_obj_t)µcontroller_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_analogio), (mp_obj_t)&analogio_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_digitalio), (mp_obj_t)&digitalio_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_pulseio), (mp_obj_t)&pulseio_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_busio), (mp_obj_t)&busio_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_board), (mp_obj_t)&board_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_time), (mp_obj_t)&time_module }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_neopixel_write),(mp_obj_t)&neopixel_write_module } \
Implementing the Common HAL¶
At this point in the port, nothing will compile yet, because there's still work to be done to fix missing sources, compile issues, and link issues. I suggest start with a common-hal directory from another port that implements it such as atmel-samd
or esp8266
, deleting the function contents and stubbing out any return statements. Once that is done, you should be able to compile cleanly and import the modules, but nothing will work (though you are getting closer).
The last step is actually implementing each function in a port specific way. I can't help you with this. :-) If you have any questions how a Common HAL function should work then see the corresponding .h file in shared-bindings
.
Testing¶
Woohoo! You are almost done. After you implement everything, lots of drivers and sample code should just work. There are a number of drivers and examples written for Adafruit's Feather ecosystem. Here are places to start:


STOP! This page must be served over HTTPS. Please reload this page via HTTPS.
A tool for uploading and removing apps from P8 Smart Watch
Can't connect? Check out the Bangle.js Troubleshooting page
Check out the Source on GitHub, or find out how to add your own app
Using Espruino, Icons from icons8.com
Set P8 Time Remove all Apps Install default apps Install favourite apps


This is my application. What we can do here? {{message}}
{{name}}
This will never change: {{ kamil }}


Spotted: Chiefs’ New Signing Celebrating Derby Win
by Soccer LadumaThere’s been no official announcement by the club yet, but Kaizer Chiefs’ newest signing was spotted celebrating their Soweto Derby win.
Read: 41 Epic Images From Chiefs Dramatic Derby Victory
Amakhosi head coach, Ernst Middendorp, did reveal in a press conference earlier in the week that Brylon Petersen had been snapped up again after the club’s decision to release him back at the end of June, however the club has not yet made an announcement about his arrival.
Petersen spent a number of years at Naturena after being snapped up as a youngster from the Wits University side, but the club opted not to renew his contract when it expired at the end of last season and he went on to finish his studies.
Now though, following injury concerns surrounding Itumeleng Khune and the fact that Daniel Akpeyi’s contract will expire in June, Middendorp and his goalkeeping coach, Lee Baxter, decided to bring the 23-year-old back as cover for Akpeyi and Bruce Bvuma.
The shot-stopper could be seen celebrating with his teammates on the field at FNB Stadium on Saturday afternoon after the final whistle had been blown on an epic battle with Orlando Pirates, with Chiefs now 15 points clear of their Soweto neighbours.
Read: Watch - Furious Rulani Blows His Top After Chiefs Loss
It remains to be seen how long Petersen will have to wait for his debut in Amakhosi colours, but he could find himself in the matchday squad for the Telkom Knockout semifinal with Maritzburg United due to Akpeyi’s suspension.


--- layout: post title: "My Week in Review" date: 2019-05-26 23:55:00 +0000 image: https://s3.amazonaws.com/audreywatters/2019-05-26-gogol.jpg imagecredits: https://www.flickr.com/photos/marthy/41909937860/ ---
It’s the final push now. The draft will be done on 31 May, whether I’m ready or not.
This past week: Kin and I went to Portland for the weekend to see Gogol Bordello (and to see my kid). Upcoming week: Chained to my desk, finishing the draft of the book.
Icon credits: The Noun Project


ChromeVox uses a number of relatively new APIs that are part of the HTML5 web platform. These APIs are available to any web author targeting a modern browser, but some of them are particularly useful for accessibility.
ChromeVox also takes advantage of a number of extension APIs that give it capabilities not normally possible in a webpage.


WE ARE EVA
EVA is determined to make your event unforgettable.
Our goal is to connect you to amazing individuals in your area that can help make your Event all that you want it to be.
The website allows you to create events and add "stores" to your event.
Once added you can contact them and recruit them to your event.
EVA caters to students at Salisbury University
EVA will have a page dedicated to connecting you to the specific university officials that you must go through to execute an event.


BaseProgramTranslator(includeMainFunction: Boolean)
A ProgramTranslator implementation that converts BaseProgram instances to a C-based representation.
There are two modes that can be used:
1. `includeMainFunction == true` will include a main function in the export which can
be used to execute the model from the command-line.
2. `includeMainFunction == false` will NOT include a main function, and is more suited for
contexts where the model will be integrated into existing code bases.


Travel Arrangements
By Air: Private Island Air
By Sea: Private Island Holiday Cruise
Unaccessable by land


ALERT: Pardon our dust! This website going through a major overhaul over the next few weeks! We are going to update the design and functionality of the site to make it more useful and accessible. If something is broken, please tell us!
A weekly game night where students from
Peak to Peak Charter School can
hang out and play Minecraft together!
So,
we're back and better than ever! Here's to many more game nights! Hosted by the Peak to Peak Hack Club, these weekly game nights are designed to help relieve stress and wind down into the weekend.
These calls are low-stress hangouts, where we play whatever we are feeling like.
How do I join?
Click here to join the P2P Hack Club discord server.a Discord is a video calling and chatting service that we use to video call, as well as chatting throughout the week. We host HGN on our discord, as well as post announcements about P2P Hack Club and other school-related events.
 If needed, we will ask for further verification that you are someone from Peak to Peak.
Wait to be verified. This usually takes a couple of minutes, but it could take up to a day for a server moderator to verify you. Please be patient, because we have a small moderation team!
Once you are verified, you are officially a member of the server! When the call is about to start, join the "Main Room" voice channel, and you will be in the call!


--- layout: page title: Posts subtitle: Random thoughts. permalink: /posts/ --- {% for post in site.posts %}
{{ post.excerpt}}
{{ post.date | date: "%d %B %Y" }}


Gecode::Support::SentinelStack< T > Class Template Reference
[Support algorithms and datastructures]
Detailed Description
template<class T>
class Gecode::Support::SentinelStack< T >
A simple stack that uses a sentinel element.
The sentinel element is used to mark the bottom of the stack and must be given at compile time.
Note that the stack does not provide memory management. As it is so simple it is ment to be used with automatically allocated memory.
Definition at line 53 of file sentinel-stack.icc.
Public Member Functions | |
| SentinelStack (T *p, T s, int n) | |
| Create stack that uses the memory area p of size n and sentinel s. | |
| bool | empty (void) const |
| Check whether stack is empty. | |
| T | top (void) const |
| Return topmost element. | |
| T | last (void) const |
| Return element that has just been popped. | |
| T | pop (void) |
| Return topmost element and pop it. | |
| void | push (T x) |
| Push element. |
Constructor & Destructor Documentation
template<class T>
| Gecode::Support::SentinelStack< T >::SentinelStack | ( | T * | p, | |
| T | s, | |||
| int | n | |||
| ) | [inline] |
Create stack that uses the memory area p of size n and sentinel s.
Definition at line 78 of file sentinel-stack.icc.
Member Function Documentation
template<class T>
| bool Gecode::Support::SentinelStack< T >::empty | ( | void | ) | const [inline] |
template<class T>
| T Gecode::Support::SentinelStack< T >::top | ( | void | ) | const [inline] |
template<class T>
| T Gecode::Support::SentinelStack< T >::last | ( | void | ) | const [inline] |
template<class T>
| T Gecode::Support::SentinelStack< T >::pop | ( | void | ) | [inline] |
template<class T>
| void Gecode::Support::SentinelStack< T >::push | ( | T | x | ) | [inline] |
The documentation for this class was generated from the following file:
- gecode/support/sentinel-stack.icc (Revision: 7358)


| Package | Description |
|---|---|
| controller |
Application controller classes, for managing the extraction
process, the storage of the extracted information, management of modules and profiles,
event handling, and environment observation.
|
| gui |
The graphical user interface made with swing and awt, and the system tray icon.
|
| model |
This package contains of data structure classes "model layer": this includes the data
structures for profiles, information collections and extraction results.
|
| storage |
Storage backend to save and load extraction results.
|
| Modifier and Type | Field and Description |
|---|---|
Part |
ProfileController.ProfilePart.part |
(package private) Part |
FileMonitorTest.part1 |
(package private) Part |
FileMonitorTest.part2 |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<java.lang.Object> |
Extractor.extractNewParts(Part[] parts,
Profile profile,
boolean isAsync)
|
| Constructor and Description |
|---|
ProfilePart(Profile profile,
Part part) |
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.swing.JList<Part> |
ProfilePartsTab.partList |
| Modifier and Type | Field and Description |
|---|---|
(package private) Part |
PartTest.part |
(package private) Part |
ProfileTest.testPart1 |
(package private) Part |
ProfileTest.testPart2 |
| Modifier and Type | Method and Description |
|---|---|
static Part |
Part.create(java.nio.file.Path file,
java.lang.String profileuuId)
Private constructor and construction method to check, if the passed file
exists.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashSet<Part> |
Profile.getParts()
Returns all
Part s belonging to this profile. |
protected java.util.HashSet<Part> |
Profile.getPartsFromDirectoryFiles(java.io.File directory)
Loads all saved
Part s from a specific directory. |
| Modifier and Type | Method and Description |
|---|---|
void |
Profile.addPart(Part part)
Add a
Part to this Profile. |
void |
Profile.addPart(Part part,
boolean async)
Add a
Part to this Profile. |
void |
Profile.removePart(Part part)
Remove a specific
Part from this profile.s |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneralStorage.save(Part part,
Profile profile) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ConfigSaver.savePartSet(java.util.HashSet<Part> data,
java.lang.String fileName)
Saves a set of Part classes to file.
|


|
You just want the job to be done. You don't care who performs it, but you may have some demands. Tell your broker. He will take care of it.
Examples
- CORBA (Common Object Request Broker Architecture)
- Web Services
- Jini
Where does it come from?
You go to a broker to buy a house. You don't want to need to know all about the housing business, costs, quality, suppliers. You just tell the broker your maximum price and some other requirements, and he starts looking.
When should you use it?
- If the relation client-server is not fixed because there are many suitable servers or the availability of the servers changes over time.
- The choice of server depends on some criterion that is complex enough to be delegated to a separate component.
- If you want to be independent of the physical location of the server (location transparacy).
How does it work?
At all times servers can register and deregister themselves with the broker. If a server fails, it will be automatically (after a timeout) unregistered by the broker.
The client requests a specific service. It formats its request in a specific format and sends it to its broker. The broker then selects the most suitable server to process the request. When the link between the client and the server is set up, they may start communicating directly, freeing the broker.
Picture: Broker Architecture
There may also be multiple brokers in an architecture. These will then need their own communication protocols.
Problems
Once you set up the broker, it is easy to program the service calls. Take care to handle transactions and exceptions well, though.
Common implementations
Links
|


reconscan.py
vanquish.py: https://github.com/frizb/Vanquish
sparta: https://sparta.secforce.com/ - Python GUI aiding in scanning and enum phase...point and click
discover: https://github.com/leebaird/discover - bash scripts for automating various tasks
onetwopunch: https://github.com/superkojiman/onetwopunch - bash script, unicornscan for discovery, nmap for identify
unicornscan: http://kalilinuxtutorials.com/unicornscan/ - fast async port scanning


Impulse
Home
(current)
About Application
Contact Us
Customer Details
Full name
Phone number
Date
Phone number
Barcode


Singer Joey Yung apologises for face mask blunder, says 'never supported Hong Kong’s independence'
by BY SYLVIA LOOIKUALA LUMPUR, Nov 6 — Hong Kong singer Joey Yung has apologised over a picture of her donning a face mask deemed as supporting protests in the island state.
In a statement issued through her official Instagram account on yesterday, Yung described the photo as innocent and merely to keep her fans updated.
“It did not cross my mind that a photo that was taken for fun could lead to the current controversy.
"For this, I offer my sincerest apologies! I feel sad to have made my family, colleagues, friends and those who love me worry.”
Explaining the reason behind the photo, Yung said it was to share her joy of flying off to work.
“It is just to share my recent development. I did not think that my speech would have such a serious impact. It is indeed my oversight,” she said.
“I love the motherland, love Hong Kong, never supported Hong Kong's independence, and I also love peace and hope everything will return to normal soon.”
Yung said she would prove herself through her actions.
“I will continue to share positive energy through my music.”
Her post had since received over 18,000 likes.
Yesterday, Yung's photo had been flagged by an internet user branding Yung wanting an independent Hong Kong.
The situation escalated quickly and Yung, who took the picture while on a flight, was removed from a gala event in China.