Kotlin was started by Jetbrains in 2010
It went GA on February 15, 2016
Google IO 2017 - Google announced Kotlin as an official programming language for Android development
Google IO 2019 - Kotlin-first (many new APIs and features will be offered first in Kotlin)
> brew install kotlin
// test the installation
> kotlin -version
> kotlinc -version
build.gradle
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
build.gradle.kts
plugins {
kotlin("jvm") version "1.3.72"
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
See further details about kotlin gradle setup here
pom.xml
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.3.72</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<goals> <goal>compile</goal> </goals>
</execution>
<execution>
<id>test-compile</id>
<goals> <goal>test-compile</goal> </goals>
</execution>
</executions>
</plugin>
</plugins>
See further details about kotlin maven setup here
Notes:
There are quite a few ways to create the kotlin application bootstrap
.
App.kt
fun main(vararg args: String) {
println("Hello Kotlin!")
}
Compile and run the application
cd $prj_home/src/main/kotlin
kotlinc ro/jtonic/handson/kotlin/basics/App.kt AppKt
kotlin -classpath AppKt.jar ro.jtonic.handson.kotlin.basics.AppKt
See it on github
App.kt
fun main() {
println("Hello Kotlin!")
}
Compile and run the application
cd $prj_home/src/main/kotlin
kotlinc ro/jtonic/handson/kotlin/basics/App.kt AppKt
kotlin -classpath AppKt.jar ro.jtonic.handson.kotlin.basics.AppKt
See it on github
File App.kt
class App {
companion object {
@JvmStatic
fun main(vararg args: String) {
println("Hello Kotlin!")
}
}
}
Compile and run the application
cd $prj_home/src/main/kotlin
kotlinc ro/jtonic/handson/kotlin/basics/App.kt AppKt
kotlin -classpath AppKt.jar ro.jtonic.handson.kotlin.basics.AppKt
See it on github
File App.kt
object App {
@JvmStatic
fun main(vararg args: String) {
println("Hello Kotlin!")
}
}
See it on github
main.kts
script file outside the src folder (e.g. $prj_home/scripts/main.kts).File main.kts
val message = "Hello Kotlin!"
println("Hello Kotlin!")
Run the script
cd $prj_home/scripts
kotlinc -script main.kts
Notes:
micronaut
and picocli
.See it on github
T and T?
) fun print(msg: String?) {}
fun printPage(msg: String) {}
print("Hello kotlin")
print(null)
printPage(null) // compilation error
?.
) "test safe call operator" {
data class User(val name: String, val address: String)
var user: User? = null
user?.address shouldBe null
user = User("Tony", "Mihai Bravu")
user?.address shouldBe "Mihai Bravu"
}
See it on github
?:
) "test elvis operator" {
var address: String? = null
address ?: "unknown address" shouldBe "unknown address"
address = "Kotlin Island"
address shouldBe "Kotlin Island"
}
See it on github
as?
) "test safe cast operator" {
val jtonic = User("jtonic", "Mihai Bravu") as Any
val tony = Person("Tony", 18) as Any
(jtonic as? User) shouldNotBe null
(tony as? User) shouldBe null
val jtonicUserAddress = (jtonic as? User)?.address
val tonyUserAddress = (tony as? User)?.address
jtonicUserAddress shouldBe "Mihai Bravu"
tonyUserAddress shouldBe null
}
!!
) "test not null assertion" {
fun length(s: String?): Int {
val notNullString: String = s!! //Kotlin.KotlinNullPointerException
return notNullString.length
}
length("jtonic") shouldBe 6
shouldThrow<NullPointerException> {
length(null)
}
shouldThrow<KotlinNullPointerException> {
length(null)
}
}
Notes:
KotlinNullPointerException
which extends java.lang.NullPointerException
See it on github
when
) "test pattern matching with when (1)" {
val no = 7
val day: String = when(no) {
6, 7 -> "weekend"
else -> "week day"
}
day shouldBe "weekend"
}
"test pattern matching with when (2)" {
val person = Person("Tony", 18) as Any
val personInfo: String = when(person) {
is String -> person
is Person -> person.name //smart cast
else -> person.toString()
}
personInfo shouldBe "Tony"
}
See doc
See it on github
"test smart cast" {
val person = Person("Tony", 18) as Any
val personInfo = if(person is Person) {
person.name
} else {
person.toString()
}
personInfo shouldBe "Tony"
}
See it on github
public class Survey {
private String id;
private String name;
private String description;
private String category;
// 82 lines of code (getters/setters/hashCode...)
data class Survey(var id: String, var name: String, var description: String, var category: String)
See it on github
"test expression is almost everywhere (try/catch)" {
val age = try {
Integer.parseInt("tony's age")
} catch (e: Exception) {
90
}
age shouldBe 90
}
See it on github
"test extension method" {
fun Employee.fullName() = "${this.firstName} ${this.lastName}"
val tony = Employee("Antonel", "Pazargic", 18)
tony.fullName() shouldBe "Antonel Pazargic"
}
val Employee.fullName: String
get() =
"${this.firstName} ${this.lastName}"
"test extension property" {
val tony = Employee("Antonel", "Pazargic", 18)
tony.fullName shouldBe "Antonel Pazargic"
}
See it on github here and here
"test multiline string interpolation, named and default parameter" {
@Language("json")
fun toJson(firstName: String, lastName: String, age: Int = 18) = """
{
"firstName": "$firstName",
"lastName": "$lastName",
"age": $age
}
""".trimIndent()
toJson(firstName = "Antonel", lastName = "Pazargic") shouldContain """"age": 18"""
}
See it on github
val emp1: Employee = Employee("Antonel", "Pazargic", 50)
val emp2 = Employee("Antonel", "Pazargic", 50)
fun getName(employee: Employee): String {
return employee.firstName
}
fun sum(a: Int, b: Int) = a + b
See it on github
run
, let
, with
, apply
, also
) "test scope methods" {
with(Employee("Antonel", "Pazargic")) {
firstName shouldBe "Antonel"
lastName shouldBe "Pazargic"
age shouldBe 18
}
}
See it on github
"test nested function" {
fun double(a: Int): Int {
fun multiply(a1: Int, a2: Int) = a1 * a2
return multiply(a, a)
}
double(2) shouldBe 4
}
See it on github
"test operator overloaded" {
operator fun Employee.plus(other: Employee) = this.salary + other.salary
val employee1 = Employee("Antonel", "Pazargic", 50, 10000)
val employee2 = Employee("Antonel", "Pazargic", 20, 1000)
employee1 + employee2 shouldBe 11000
}
See it on github
Notes:
Help | Find Actions...
from main menu (or press cmd-shift-a
)plugins
and hit Enter
Help | Find Actions...
from main menu (or press cmd-shift-a)convert java file to kotlin file
and hit Enterpublic class Person {
private String name;
private int age;
// constructor, getter and setters (28 lines of code)
}
gets converted to the following kotlin
class Person(var name: String, var age: Int)
See it on github
Find Action...
scratch file
kotlin
Find Action...
kotlin REPL
cmd-enter
Find Action...
kotlin REPL
kotlin-script-runtime
in project classpath. If it is not then Idea offers to add it.Options


The central bank interest rate data is from Quandl. For the trading universe, we choose 9 currencies
whose central bank interest rate data is available in Quandl. The method to import the custom data is
AddData(type, symbol, resoltuion, timeZone, fillDataForward)
. As the custom file has it's unique
colume name, we need to create a class to specify the colume name of interest rate.
from QuantConnect.Python import PythonQuandl class QuandlRate(PythonQuandl): def __init__(self): self.ValueColumnName = 'Value'
We save the interest rate symbol and the correspondent forex asset symbol into a dictionary.
Next step we sort the forex symbol by the value of interest rate. The algorithm goes long the currency with the highest interest rates and goes short the currency with the lowest interest rate. The strategy is rebalanced monthly. The schedule event method is used to fire the rebalance event at the first trading day each month.


grepWlsLogFile.pl - helps filtering and searching WebLogic Server log files
grepWlsLogFile.pl [-f serverName.log] [-l loggerName] [-s severityName] [-m BEA-number] [-t jta-transaction] [-c "search text"] [--help] [--version] [--debug]
Path to WLS server log
Filter by logger.
Filter by severity.
Filter by message id. A WebLogic Server message id usually has the format BEA-<6 numbers>. If no prefix is given, BEA- and the missing zeros are automatically prepended.
In case a log message is created out of a JTA transaction context, the transaction id is logged as well.
This transaction id can be used as search criteria.
Use a Perl style regular expression to search the free text part of the log message.
Regex example: Lines containing 'managed1' and 'maXaged3' will be printed but not 'managed2' or 'Managed3'
./grepWlsLogFile.pl -f /path/to/AdminServer.log -c 'ma.ag\Sd[31]'
Showing help screen
Showing version info
Enabling debug
Kai Ellinger<EMAIL_ADDRESS>The MIT License (MIT)
Copyright 2014 by Kai Ellinger<EMAIL_ADDRESS>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


An existence condition is satisfied if the corresponding object or link has at least one value for the specified attribute. The condition fails if the database entity has no values for the attribute. The number of values (as long as it is more than zero) and actual attribute values have no impact on whether an existence condition is satisfied.


No citizen will be allowed to turn refugee due to NRC, Citizenship (Amendment) Bill: Mamata
West Bengal CM Mamata Banerjee said the NRC and Citizenship (Amendment) Bill will not be allowed in Bengal as long as the TMC is in power
by PTIWest Bengal Chief Minister Mamata Banerjee on Monday gave a clarion call to oppose NRC and Citizenship (Amendment) Bill and said not a single citizen of the country will be allowed to turn a refugee.
Giving assurances that NRC and Citizenship (Amendment) Bill will be never allowed in Bengal as long as the TMC is in power, Ms. Banerjee said NRC and CAB are both two sides of a coin.
“There is no need to worry about NRC and CAB. We will never ever allow it in Bengal. They can’t just throw out a legal citizen of this country or turn him/her a refugee,” Ms. Banerjee said while addressing a victory rally at Kharagpur- where her party Trinamool Congress won the recent bypolls.


forced-timeout.js Test Page
This is a test page.
If you let this page idle for one minute it should be automatically cleared.


We work on the projects some people cant.
but some that others can as well.
We do try our very best to complete all tasks that are presented before us.
A list soon to be filled.


You can find your package in /packages/roadtriphomepage
MEAN versions prior to 0.3.2 will be in /node_modules/roadtriphomepage


SOLID GOLD
Inside WWE legend Bill Goldberg’s stunning mansion up for sale for £2.5m including horse stable and vineyard
by Dave FraserWWE legend Bill Goldberg has put his stunning San Diego mansion up for sale for a whopping £2.5million.
The former wrestling superstar, 52, looks to be on the move after his 20-acre California pad popped up on the market recently.
While the £2.5m price-tag might seem steep at first, the property boasts a hoard of incredible features.
Most notably, the grounds - which span 20 acres - include fully irrigated wine slopes.
With the perfect California climate, any potential buyers could turn the slopes into a fully functioning vineyard in no time.
As you'd expect, the muscle-bound star - who wrestled between 1997 and 2004, before making a comeback between 2016 and 2019 - has a monster gym at his home.
The four-bedroom, four-bathroom home also has a spacious living room, kitchen, dining room and even an office.
The back garden is perfect for the sunny West Coast days, complete with an impressive pool - with a waterfall and slide - as well as a spa.
Outside, the gated home can be entered via a long driveway - while there is also a basketball court, a fire pit and a horse stable.
But the piece de resistance outside is the humongous garage, large enough to fit more than 20 vehicles.
The huge building has even featured on American TV shows Garage Dreams and Garage Mahal for its one-of-a-kind appeal.
Since retiring from wrestling, the former WCW World Heavyweight Championship winner, has gone into acting.
As well as appearing in Adam Sandler film The Longest Yard in 2005 amongst others, Goldberg has appeared in a host of TV shows.
Along with appearances on reality programmes such as Garage Mahal and Punk'd, the American has provided voiceovers in Family Guy and Kim Possible, as well as roles in Law & Order and NCIS.
More recently, Goldberg played PE coach Nick Mellor in hit show, The Goldbergs...


In this project, we're going to code our website from scratch using HTML, CSS, and Javascript. Here's an example project:
2) Select the Portfolio project. Using, Repl.it or Code Pen create a page describing your code for change project.
You need to include the following information:
-What UN Sustainable Development Goal you chose
-4 or 5 facts about the problem in the world or your community
-What your idea is
-How your idea will help change this problem
-What the next steps are for your project
-A button with a link to your Scratch or WoofJS game (if you did level 1)
3) Optional Challenge: Add a quiz to your page. Use the SpaceFeed project to learn how.


Vacation Quiz
Fill out the Questionaire below to get vacations recommendations
I've worked all day on this
1
2
3
4
5
Why won't it work?
1
2
3
4
5
Do you feel like we got enough training with jQuery?
1
2
3
4
5
I don't
1
2
3
4
5
It's going to be a long weekend
1
2
3
4
5
Submit
You should go to Cancun!
You should go to Japan!
You should go on a staycation!
You should go to New York!


WEB CRAWLER
It is a simple crawler by using mysql and java to crawl a perticular domain for all keyword that is entred by user.
WEB CRAWLER
It is a simple crawler by using mysql and java to crawl a perticular domain for all keyword that is entred by user.


AsciiCam
Want to click a picture without the hassles of GUIs?
Clicking HD pictures and saving them right from your terminal is now easier than ever.
Co-created AsciiCam for R.U.Hacking Hackathon 2021 and won the 'hackiest hack' prize.
Want to click a picture without the hassles of GUIs?
Clicking HD pictures and saving them right from your terminal is now easier than ever.
Co-created AsciiCam for R.U.Hacking Hackathon 2021 and won the 'hackiest hack' prize.


I love creating for people. But what use is my creation if the people I am creating for do not like it? I want you to love it! Feel free to comment on my designs and give me some feedback.
Let me hold a dollar. You already know that this school thing is a tough financial burden. Click the button below to send me something :)


Who Can Stop The Amakhosi Train: Caltex Havoline Pic Of The Week
by Soccer LadumaThe popular 'Pic of the Week' brought to you by Caltex Havoline, appears in every edition of Soccer Laduma. This segment of our content has always been a huge hit for our readers.
You have the opportunity to caption our 'Pic of the week'. You have the power to choose the headline.
Look at the picture, write the headline, and get your name in our next issue. Be creative, make it funny, make it inspiring and make it whatever you want. We will then select the most appropriate headline and publish it in Soccer Laduma with the 'Pic of the Week'.
In this week's image, we chose Kaizer Chiefs celebrating jubilantly, following their Soweto Derby victory over Orlando Pirates, as the Glamour Boys extended their lead at the top of the Absa Premiership table to 10 points.
The likes of Lebogang Manyama, Daniel Cardoso, Samir Nurkovic, Bernard Parker, with Dumsani Zuma and Yagan Sasman in the background, are all captured in this image at the FNB Stadium.


Tocca.js
Try the following events:
tap
,
dbltap
,
swipeup
,
swipedown
,
swipeleft
,
swiperight
Event Name
Event x
Event y
Swipe Event distance x
Swipe Event distance y
Touch me please!


Codehaus XFire
Documentation
Quicklinks
Developers
|
Please read the overview to get a general grasp of XFire concepts. Thanks - XFire Team
Using XFire in Applications
XFire is a next-generation java SOAP framework. At its core is a light STAX based message processing model used to interact with SOAP messages. On top of this XFire supports a variety of binding mechanisms, containers, and transports.
Usage Scenarios:
| XFire API |
You can use the XFireFactory or create your own XFire instances to process soap messages. Not only is this great for HTTP, but also for processing messages within your application, unit testing, or a myriad of other things. See Using the XFire API for information on this. |
| XML Configuration |
Configure your services with an xml descriptor. |
Bindings
Bindings are ways to map XML to java objects. Currently XFire supports several different bindings:
| Aegis Binding |
Aegis is the default binding mechanism in XFire. It is very fast, utilizes small amounts of memory and is very easy to use. It allows you to map POJOs and to XML. |
| JAXB 2.0 |
JAXB 2 a fast, flexible and easy to use API for schema and code first development. |
| XMLBeans |
Uses XMLBeans to parse the request and format the response. |
| MessageBinding |
The MessageBinding allows you to easily work with XML documents instead of objects. |
| Castor |
Castor is a flexible API that offers both compiled and mapping-filed defined un/marshalling. |
Container Support
XFire strives to be a first class citizen with different containers. Containers provide component management and configuration to XFire. If your container isn't supported yet, please help us and integrate XFire with it!
| Plexus |
Plexus can provide configuration support for nearly any scenario (in a servlet container, embedded, etc). |
| Spring |
Spring is a popular framework for managing components. |
| PicoContainer |
"PicoContainer is a lightweight embeddable container for components that honour Dependency Injection." |
Transports
XFire is built on a an XML messaging layer made up of Transports which provide Channels for communication.
|


A paragraph consists of one or more sentences that form
a self-contained unit of discourse.
The start
of a paragraph
is indicated by a new line.
This is htmlparagraph 22.
"Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced."
- Aldous Huxley, Brave New World
Prof. Stephen Hawking is theoretical physicist and cosmologist.
NASA does some crazy stuff.
This is push()
function in JavaScript.
This is <blockquote>
element in HTML.
Copyright © SEDC 2020. All rightes reserved.


|
swieeprom
<IP_ADDRESS>
|
SWI master driver implementation. More...
Macros | |
| #define | BIT_MASK_VAL 0x80 |
| Mask for bit sampling. More... | |
| #define | HS_TRESET 96 |
| Reset and Discovery Response Timing. More... | |
| #define | HS_TDSCHG 150 |
| #define | HS_TRRT 8 |
| #define | HS_TDRR 1 |
| #define | HS_TDACK 8 |
| #define | HS_TMSDR 2 |
| #define | HS_THTSS 150 |
| #define | HS_TBIT 8 |
| Data Communication Timing. More... | |
| #define | HS_TLOW0 6 |
| #define | HS_TLOW1 1 |
| #define | HS_TRD 1 |
| #define | HS_TMRS 1 |
| #define | HS_THLD0 2 |
| #define | HS_TRCV 2 |
Functions | |
| int8_t | swi_init (void) |
| Initializes SWI communication. More... | |
| int8_t | swi_reset (void) |
| Resets device and checks devices response. More... | |
| void | swi_start (void) |
| Send start SWI signal. More... | |
| void | swi_stop (void) |
| Send stop SWI signal. More... | |
| void | swi_logic_write (swi_logic_lvl_t logic_level) |
| Send logic signal to device. More... | |
| uint8_t | swi_logic_read (void) |
| Receive logic signal from device. More... | |
| uint8_t | swi_send_byte (uint8_t byte_to_send) |
| Send byte to device. More... | |
| void | swi_receive_byte (uint8_t *byte_to_receive, swi_acknowledgement_t ack_nack) |
| Receive byte from device. More... | |
SWI master driver implementation.
| #define BIT_MASK_VAL 0x80 |
Mask for bit sampling.
Mask for bit sampling for data read/write
| #define HS_TBIT 8 |
Data Communication Timing.
Data Communication Timing for HIGH SPEED functionality
| #define HS_TDACK 8 |
| #define HS_TDRR 1 |
| #define HS_TDSCHG 150 |
| #define HS_THLD0 2 |
| #define HS_THTSS 150 |
| #define HS_TLOW0 6 |
| #define HS_TLOW1 1 |
| #define HS_TMRS 1 |
| #define HS_TMSDR 2 |
| #define HS_TRCV 2 |
| #define HS_TRD 1 |
| #define HS_TRESET 96 |
Reset and Discovery Response Timing.
Reset and Discovery Response Timing for HIGH SPEED functionality
| #define HS_TRRT 8 |
| int8_t swi_init | ( | void | ) |
Initializes SWI communication.
Initializes GPIO for data and SWI driver, restarts device, discovers device.
0
- Success, -1
- Error. | uint8_t swi_logic_read | ( | void | ) |
Receive logic signal from device.
Sends signal for response and returns logic level.
0
- SWI_LOGIC_0, 1
- SWI_LOGIC_1. | void swi_logic_write | ( | swi_logic_lvl_t | logic_level | ) |
Send logic signal to device.
Sends logic 0 or 1 relative to parameter logic_level.
| [in] | logic_level | :
|
| void swi_receive_byte | ( | uint8_t * | byte_to_receive, |
| swi_acknowledgement_t | ack_nack | ||
| ) |
Receive byte from device.
Sample byte receive from device.
| [out] | byte_to_receive | : Byte that received data will be stored in. |
| [in] | ack_nack | :
|
| int8_t swi_reset | ( | void | ) |
Resets device and checks devices response.
Resets device and sends discovery signal.
0
- Device found, -1
- No device. | uint8_t swi_send_byte | ( | uint8_t | byte_to_send | ) |
Send byte to device.
Sends desired byte to device and check response.
| [in] | byte_to_send | : Byte that will be sent. |
0
- SWI_ACK, 1
- SWI_NACK. | void swi_start | ( | void | ) |
Send start SWI signal.
Sends to device signal for starting communication.
| void swi_stop | ( | void | ) |
Send stop SWI signal.
Sends to device signal for stoping communication.


Celebrate MAMMA with us on May 13th! On Mother's Day we will offer a 5-course ...
Celebrate Easter Sunday with us! On April 1st we will
be open from 12:00pm to 9:00pm. ...
Casa Di Donatelli has begun accepting reservations for the most sought after table of the year! ...


Date
20-5-2016
Time
3.00pm - 6.00pm
Cost
Free
Venue
BK 11
For Beginner
CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications.
CodeIgniter is loosely based on the popular model–view–controller (MVC) development pattern. While controller classes are a necessary part of development under CodeIgniter, models and views are optional. CodeIgniter can be also modified to use Hierarchical Model View Controller (HMVC) which allows developers to maintain modular grouping of Controller, Models and View arranged in a sub-directory format.
CodeIgniter is a toolkit for people who build web applications using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
In this course, we will introduce what is CodeIgniter and explore how to build web applications with the CodeIgniter web application framework.
1. Install Text Editor in ur machine. e.g Sublime Text or
Atom
2. Install any kind of Apache server. e.g MAMP Server
3. Invite your friend to join the event.
In the end of this course, you'll learn
i. The concept of PHP framework.
ii. The object oriented way of building web app by using PHP.
iii. The MVC programming pattern in PHP.
No syllabus for this course
Ku Ahmad
BITS student, software developer and back-end developer.
He just came back from Germany!
Learning Material
Download Here1 x Presenstation slide
1 x Full coding of the project
1 x Event Posters
1 x Event Report
49 x Event Photos


second
423
Don't you think that if I were wrong, I'd know it?
- Sheldon Cooper
Second Quote test
- Your face


Hi,
Here is a template for HP PDU’s
There are mostly traps items but also some polling items.
SNMPv2.
Triggers are also include.
You need to put your SNMP community in macro.
Thanks.
Vincent MATIAS
| Name | Description | Default | Type |
|---|---|---|---|
| {$SNMP_COMMUNITY} |
-
 | `` | Text macro |
There are no template links in this template.
There are no discovery rules in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Trap Total Power Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Critical”]
Update: 0
 |
| Load Segment 3 |
-
 | SNMP agent |
breakerCurrent.1.3
Update: 30s
 |
| Trap fallback |
-
 | SNMP trap |
snmptrap.fallback
Update: 0
 |
| Percent Load Segment 3 |
-
 | SNMP agent |
breakerPercentLoad.1.3
Update: 30s
 |
| Total Power |
-
 | SNMP agent |
pduOutputPower.1
Update: 30s
 |
| {HOST.NAME} Status |
-
 | SNMP agent |
pduStatus.1
Update: 1m
 |
| Trap PDU Communication Lost |
Connection between the daisy-chained PDUs is lost.
 | SNMP trap |
snmptrap[“PDU Communication Lost”]
Update: 0
 |
| PDU Name |
-
 | SNMP agent |
pduName.1
Update: 1h
 |
| Trap Total Load Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Critical”]
Update: 0
 |
| Total Heat |
-
 | SNMP agent |
pduOutputHeat.1
Update: 30s
 |
| Trap Total Heat Critical |
The heat created by the load attached to this PDU has exceeded the set threshold
 | SNMP trap |
snmptrap[“Total Heat Critical”]
Update: 0
 |
| Trap Voltage High Warning |
The PDU has detected an input line voltage that is more than 10% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Warning”]
Update: 0
 |
| Trap Current Warning |
Current has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Warning”]
Update: 0
 |
| Trap Total Load Warning |
The rated capacity for PDU has reached the rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Warning”]
Update: 0
 |
| Trap Voltage Low Critical |
The PDU has detected a very low input line voltage more than 20% BELOW the expected voltage, or the breaker may have tripped.
 | SNMP trap |
snmptrap[“Voltage Low Critical”]
Update: 0
 |
| Trap Total Heat Warning |
The heat created by the load attached to this PDU has reached a threshold
 | SNMP trap |
snmptrap[“Total Heat Warning”]
Update: 0
 |
| Load Segment 1 |
-
 | SNMP agent |
breakerCurrent.1.1
Update: 30s
 |
| Trap Load Warning |
Load has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Load Warning”]
Update: 0
 |
| Trap Total Power Warning |
The rated capacity for PDU has reached rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Warning”]
Update: 0
 |
| Trap Voltage Low Warning |
The PDU has detected an input line voltage that is more than 10% BELOW the expected voltage
 | SNMP trap |
snmptrap[“Voltage Low Warning”]
Update: 0
 |
| Trap Voltage High Critical |
The PDU has detected an input line voltage that is more than 20% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Critical”]
Update: 0
 |
| Voltage Segment 3 |
-
 | SNMP agent |
breakerVoltage.1.3
Update: 30s
 |
| Voltage Segment 2 |
-
 | SNMP agent |
breakerVoltage.1.2
Update: 30s
 |
| Trap Load Critical |
The rated capacity of the breaker has been exceeded. There is a high risk of tripping the breaker
 | SNMP trap |
snmptrap[“Load Critical”]
Update: 0
 |
| Percent Load Segment 2 |
-
 | SNMP agent |
breakerPercentLoad.1.2
Update: 30s
 |
| Voltage Segment 1 |
-
 | SNMP agent |
breakerVoltage.1.1
Update: 30s
 |
| Load Segment 2 |
-
 | SNMP agent |
breakerCurrent.1.2
Update: 30s
 |
| Trap Current Critical |
Current has exceeded the breaker rating level. The addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Critical”]
Update: 0
 |
| Percent Load Segment 1 |
-
 | SNMP agent |
breakerPercentLoad.1.1
Update: 30s
 |
| Total Load |
-
 | SNMP agent |
pduOutputLoad.1
Update: 30s
 |
There are no triggers in this template.
Hi,
Here is a template for HP PDU’s
There are mostly traps items but also some polling items.
SNMPv2.
Triggers are also include.
You need to put your SNMP community in macro.
Thanks.
Vincent MATIAS
| Name | Description | Default | Type |
|---|---|---|---|
| {$SNMP_COMMUNITY} |
-
 | `` | Text macro |
There are no template links in this template.
There are no discovery rules in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Trap Load Critical |
The rated capacity of the breaker has been exceeded. There is a high risk of tripping the breaker
 | SNMP trap |
snmptrap[“Load Critical”]
Update: 0
 |
| Trap Total Heat Critical |
The heat created by the load attached to this PDU has exceeded the set threshold
 | SNMP trap |
snmptrap[“Total Heat Critical”]
Update: 0
 |
| Voltage Segment 3 |
-
 | SNMP agent |
breakerVoltage.1.3
Update: 30s
 |
| PDU Name |
-
 | SNMP agent |
pduName.1
Update: 1h
 |
| Trap Voltage Low Critical |
The PDU has detected a very low input line voltage more than 20% BELOW the expected voltage, or the breaker may have tripped.
 | SNMP trap |
snmptrap[“Voltage Low Critical”]
Update: 0
 |
| Load Segment 1 |
-
 | SNMP agent |
breakerCurrent.1.1
Update: 30s
 |
| Total Power |
-
 | SNMP agent |
pduOutputPower.1
Update: 30s
 |
| Voltage Segment 1 |
-
 | SNMP agent |
breakerVoltage.1.1
Update: 30s
 |
| Total Load |
-
 | SNMP agent |
pduOutputLoad.1
Update: 30s
 |
| Load Segment 3 |
-
 | SNMP agent |
breakerCurrent.1.3
Update: 30s
 |
| Trap Voltage High Warning |
The PDU has detected an input line voltage that is more than 10% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Warning”]
Update: 0
 |
| Trap Total Load Warning |
The rated capacity for PDU has reached the rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Warning”]
Update: 0
 |
| Voltage Segment 2 |
-
 | SNMP agent |
breakerVoltage.1.2
Update: 30s
 |
| Trap Current Critical |
Current has exceeded the breaker rating level. The addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Critical”]
Update: 0
 |
| Percent Load Segment 1 |
-
 | SNMP agent |
breakerPercentLoad.1.1
Update: 30s
 |
| Trap Total Power Warning |
The rated capacity for PDU has reached rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Warning”]
Update: 0
 |
| Percent Load Segment 2 |
-
 | SNMP agent |
breakerPercentLoad.1.2
Update: 30s
 |
| Trap Current Warning |
Current has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Warning”]
Update: 0
 |
| Trap PDU Communication Lost |
Connection between the daisy-chained PDUs is lost.
 | SNMP trap |
snmptrap[“PDU Communication Lost”]
Update: 0
 |
| Trap fallback |
-
 | SNMP trap |
snmptrap.fallback
Update: 0
 |
| Trap Total Heat Warning |
The heat created by the load attached to this PDU has reached a threshold
 | SNMP trap |
snmptrap[“Total Heat Warning”]
Update: 0
 |
| Trap Voltage Low Warning |
The PDU has detected an input line voltage that is more than 10% BELOW the expected voltage
 | SNMP trap |
snmptrap[“Voltage Low Warning”]
Update: 0
 |
| Total Heat |
-
 | SNMP agent |
pduOutputHeat.1
Update: 30s
 |
| Trap Total Load Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Critical”]
Update: 0
 |
| Trap Load Warning |
Load has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Load Warning”]
Update: 0
 |
| Trap Total Power Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Critical”]
Update: 0
 |
| Trap Voltage High Critical |
The PDU has detected an input line voltage that is more than 20% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Critical”]
Update: 0
 |
| {HOST.NAME} Status |
-
 | SNMP agent |
pduStatus.1
Update: 1m
 |
| Percent Load Segment 3 |
-
 | SNMP agent |
breakerPercentLoad.1.3
Update: 30s
 |
| Load Segment 2 |
-
 | SNMP agent |
breakerCurrent.1.2
Update: 30s
 |
There are no triggers in this template.
Hi,
Here is a template for HP PDU’s
There are mostly traps items but also some polling items.
SNMPv2.
Triggers are also include.
You need to put your SNMP community in macro.
Thanks.
Vincent MATIAS
| Name | Description | Default | Type |
|---|---|---|---|
| {$SNMP_COMMUNITY} |
-
 | `` | Text macro |
There are no template links in this template.
There are no discovery rules in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Trap Load Critical |
The rated capacity of the breaker has been exceeded. There is a high risk of tripping the breaker
 | SNMP trap |
snmptrap[“Load Critical”]
Update: 0
 |
| Trap Total Heat Critical |
The heat created by the load attached to this PDU has exceeded the set threshold
 | SNMP trap |
snmptrap[“Total Heat Critical”]
Update: 0
 |
| Voltage Segment 3 |
-
 | SNMP agent |
breakerVoltage.1.3
Update: 30s
 |
| PDU Name |
-
 | SNMP agent |
pduName.1
Update: 1h
 |
| Trap Voltage Low Critical |
The PDU has detected a very low input line voltage more than 20% BELOW the expected voltage, or the breaker may have tripped.
 | SNMP trap |
snmptrap[“Voltage Low Critical”]
Update: 0
 |
| Load Segment 1 |
-
 | SNMP agent |
breakerCurrent.1.1
Update: 30s
 |
| Total Power |
-
 | SNMP agent |
pduOutputPower.1
Update: 30s
 |
| Voltage Segment 1 |
-
 | SNMP agent |
breakerVoltage.1.1
Update: 30s
 |
| Total Load |
-
 | SNMP agent |
pduOutputLoad.1
Update: 30s
 |
| Load Segment 3 |
-
 | SNMP agent |
breakerCurrent.1.3
Update: 30s
 |
| Trap Voltage High Warning |
The PDU has detected an input line voltage that is more than 10% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Warning”]
Update: 0
 |
| Trap Total Load Warning |
The rated capacity for PDU has reached the rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Warning”]
Update: 0
 |
| Voltage Segment 2 |
-
 | SNMP agent |
breakerVoltage.1.2
Update: 30s
 |
| Trap Current Critical |
Current has exceeded the breaker rating level. The addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Critical”]
Update: 0
 |
| Percent Load Segment 1 |
-
 | SNMP agent |
breakerPercentLoad.1.1
Update: 30s
 |
| Trap Total Power Warning |
The rated capacity for PDU has reached rating level. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Warning”]
Update: 0
 |
| Percent Load Segment 2 |
-
 | SNMP agent |
breakerPercentLoad.1.2
Update: 30s
 |
| Trap Current Warning |
Current has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Current Warning”]
Update: 0
 |
| Trap PDU Communication Lost |
Connection between the daisy-chained PDUs is lost.
 | SNMP trap |
snmptrap[“PDU Communication Lost”]
Update: 0
 |
| Trap fallback |
-
 | SNMP trap |
snmptrap.fallback
Update: 0
 |
| Trap Total Heat Warning |
The heat created by the load attached to this PDU has reached a threshold
 | SNMP trap |
snmptrap[“Total Heat Warning”]
Update: 0
 |
| Trap Voltage Low Warning |
The PDU has detected an input line voltage that is more than 10% BELOW the expected voltage
 | SNMP trap |
snmptrap[“Voltage Low Warning”]
Update: 0
 |
| Total Heat |
-
 | SNMP agent |
pduOutputHeat.1
Update: 30s
 |
| Trap Total Load Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Load Critical”]
Update: 0
 |
| Trap Load Warning |
Load has reached the rating level for this breaker, the addition of any new load could overload or trip the breaker
 | SNMP trap |
snmptrap[“Load Warning”]
Update: 0
 |
| Trap Total Power Critical |
The rated capacity of the PDU has been exceeded. There is a risk of tripping the branch circuit protection
 | SNMP trap |
snmptrap[“Total Power Critical”]
Update: 0
 |
| Trap Voltage High Critical |
The PDU has detected an input line voltage that is more than 20% ABOVE the expected voltage
 | SNMP trap |
snmptrap[“Voltage High Critical”]
Update: 0
 |
| {HOST.NAME} Status |
-
 | SNMP agent |
pduStatus.1
Update: 1m
 |
| Percent Load Segment 3 |
-
 | SNMP agent |
breakerPercentLoad.1.3
Update: 30s
 |
| Load Segment 2 |
-
 | SNMP agent |
breakerCurrent.1.2
Update: 30s
 |
There are no triggers in this template.


All the commands that Enso recognizes are listed in the right column. The black text is the command's
name (what you type into Enso to use it). The grey text explains what the command does.
The left column shows all the command categories available.
If there's a command you don't want, uncheck the box next to it. You can get the command back by re-checking
the box.
Categories
Commands
Unsubscribed Feeds
You used to be subscribed to these. If you want one back, click the
“[resubscribe]” link beneath it.


Looking around, I find there are thousands of things to explore, and unlimited potential for learning. That is the core of my life, the urge to understand, and to dive into the unknown. No day is complete if I haven't learned something new.
Having travelled to and lived in the Philippines changed how I view the world, and made me understand the unfairness and differences that prevail in the world. Through influencing the decision makers, and spreading awareness, I hope to do my part in rectifying the wrongs that have been done to millions of people.
I am educated as a civil engineer in computer science, and still find it fascinating what can be done with some simple lines of code. My dream is to use computer science to change the world!
If you want to get in touch, please do not hesitate to say hello.
If you want to contact me securely, download my PGP-key here
Fingerprint: 43BB FAE0 D997 9C74 EAAC 3A82 BA14 050F 8F6C A5E5


Perform a spam classification query (based on a naive bayes model) on encrypted mail, whilst hiding the model from the server.


FITSIO Home
Next: 9.3.2 Read and Write
Up: 9.3 Specialized Header Keyword
Previous: 9.3 Specialized Header Keyword
Contents
- 1
- Reserve space in the CHU for MOREKEYS more header keywords.
This routine may be called to allocate space for additional keywords
at the time the header is created (prior to writing any data).
CFITSIO can dynamically add more space to the header when needed,
however it is more efficient to preallocate the required space
if the size is known in advance.
int fits_set_hdrsize / ffhdef
(fitsfile *fptr, int morekeys, > int *status)
- 2
- Return the number of keywords in the header (not counting the END
keyword) and the current position
in the header. The position is the number of the keyword record that
will be read next (or one greater than the position of the last keyword
that was read). A value of 1 is returned if the pointer is
positioned at the beginning of the header.
int fits_get_hdrpos / ffghps
(fitsfile *fptr, > int *keysexist, int *keynum, int *status)


Sample Presentation
Some information about the presentation to describe it to people viewing via the web.
Centered Headline
Centered Subheadline
Top Left Headline
Bullet #1
Bullet #2
Bullet #3
The End!


viewy-view Module
viewy-view
- JavaScript library that facilitates development of large scale client-side web applications with rich user interfaces
- introduces a structural/architectural abstraction layer on top of common client-side web technology (HTML/CSS/JS)
- inspired by and built around concepts found in native UI development
Concept
Examination of a view from different perspectives & definition of terminology:
View Component (architectural point of view)
- a reusable component being instantiated at runtime
- consists of a view controller and a bundle
- behavior and styling may be extended/overridden/customized by inheritance/cascading
View Controller (runtime/behavior point of view)
- Constructor and prototype object providing common behavior across all instances of a view component
View Bundle (resource/graphical representation point of view)
- collection of resources providing means for a common graphical representation across all instances of a view component
- e.g. HTML markup, CSS stylesheet, media resources (e.g. images/audio/video)
View (general/runtime/instance point of view)
- concrete instance of a view component
- self-contained/self-managed piece of UI, most like a widget
- scoping: managed DOM subtree that has scoped styling and behavior
- composition: view instances can be in a parent/child relationship meaning that a view may have one or more other views nested inside of itself. This results in a tree structure, the "View Hierarchy"
- lifecycle: a view has a lifecycle (construction/instantiation, loading, [showing, hiding, doing stuff], unloading, deallocation)
- memory management
This module provides the following classes:


Enumeration members
AVERAGING_AREA
AVERAGING_AREA: = "AVERAGING_AREA"
BICUBIC
BICUBIC: = "BICUBIC"
BICUBIC_LUMA_BILINEAR_CHROMA
BICUBIC_LUMA_BILINEAR_CHROMA: = "BICUBIC_LUMA_BILINEAR_CHROMA"
BILINEAR
BILINEAR: = "BILINEAR"
EXPERIMENTAL
EXPERIMENTAL: = "EXPERIMENTAL"
FAST_BILINEAR
FAST_BILINEAR: = "FAST_BILINEAR"
GAUSS
GAUSS: = "GAUSS"
LANCZOS
LANCZOS: = "LANCZOS"
NEAREST_NEIGHBOR
NEAREST_NEIGHBOR: = "NEAREST_NEIGHBOR"
SINC
SINC: = "SINC"
SPLINE
SPLINE: = "SPLINE"


My name is Maja and I am currently 19 years old. I am attending a four-year program at the Faculty of Computer Science and Engineering in Skopje, North Macedonia.
As of now, I am at my first year of studies and am working towards broadening my professional and personal skills. I am eager to learn about different topics and extend my knowledge. I have a particular interest in web development and web design and would hope to learn as much as I can about these topics.
Was part of the bilingual class, attended school exchange as part of the project Erasmus+ and was a part of the school cultural center.
Currently a part of the 2020/2021 class and have not been in many projects due to the global pandemic...
As an additional subject besides the mandatory ones in my first year, this subject really made me interested in the fundamentals of web design.
I have personally been researching this topic as we have not yet had a subject like this.
I have always had an interest in analysing things and thinking logically.
Besides the fundamentals of web design I have also been interested in web development.
Besides being a difficult course statistics has made me grow intellectually.
Focusing on the fundamentals of computing while still having the big picture of the whole idea of computer architecture and design is why i enjoyed this course.
photography


Diversity in the tech industry is definitely lacking. Among some of the top tech companies in the U.S. 60% of the workforce is white and 71% is male. On average blacks make up 7% of the work force for these top tech companies. This data comes from an article on TheVerge.com that looked at the results of the Equal Employment Opportunity report. The U.S. government requires that companies provide data on the gender and race of its workforce. Some have argued that this report is flawed in that the categories used to classify employees on the report do not reflect the tech industries'. In any case, diversity is still a concern among the tech industry and many leading companies have acknowledged this.
Why is there such a diversity gap in the tech industry? One of the most obvious answers would be lack of educational opportunity. There is most likely some truth to this, but some suggest that the pipline issue is not the primary concern. The primary concern is that the culture of these companies needs to change as they do not foster an environment for inclusion.
Change must come from within. I belive that if companies want to change their culture, they must educate their workforce on the benefits of diversity. If you have a company culture that is mindful of these benefits, increasing diversity will become more of a priority. The good news is that many companies are recognizing these benefits and are striving to make changes.


If time allows, expoloring this attractive, medieval little town would be well worth it. It is on the southern shore of a large, very sheltered cruising area, known as the Bodden. The entrance lies just west of the island of Rugen.
Enter through the gap in breakwater opposite the church.
Last updated March 2012.


Hello, My name is Cindy Wambui ,I am a life-long learner and ready for opportunities.I love interacting with people and getting to know their interests.In addition, I am also a very optimistic person and open minded.
This is a sample of Resort website
HTML and CSS was used to develop the site
Click here to view the website
This is a sample of Resume website
HTML and CSS was used to develop the site
Click here to view the website
This is a sample of Pet website
HTML and CSS was used to develop the site
Click here to view the website
I decided to take programming because the world is heading towards a digital phase and the skills I'll acquire will be marketable at that time.It's also fun and interesting.


Ilya Loshkarev<EMAIL_ADDRESS>SFEDU 2016
Background task must be declared in app preferences
Describes data and it's relations
Provides interface for data and user actions
Describes possible actions and reactions to events
Provides custom handlers for system events
Handles basic app operations
Stores main window of the app
Root view of the application
Stores View Stack
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
// Create new UIWindow
var window: UIWindow? = UIWindow(frame: UIScreen.mainScreen().bounds)
func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Create root ViewController
window!.rootViewController = UIViewController()
// Set window to handle input and show it
window!.makeKeyAndVisible()
return true
}
}
A scene represents an onscreen content area
A segue represents the transition from one scene
to the next scene
Storyboards allow to graphically lay out
the user’s path through your app


--- layout: page title: About header-img: "img/about-bg.png" ---
While born and raised in the Silicon Valley of California, Krystle now resides in the Silicon Slopes of Utah. With 3 kids under the age of 4, Krystle is living that all-consuming mom life and dreams of ways to create tools that help ease the burdens of all the supermoms in the world.


Calculate how to evenly in- or de-crease the number of masks.
Input the number of masks you have on the top line and the number of masks you want to end with in the second line.
Numbers are adjusted with the / buttons. Increment by 1/10/50 with the small/medium/large buttons.
The result can contain either a single pattern to repeat or two patterns that you need to mix.
12
3 + 12


4831 Whirlwind, San Antonio, Tx 78217
View Cart
|
Shipping
|
Warranty
|
Privacy Policy
Pig
Figure #21
Figure is 3-1/2" Tall


This is in the works!
May 2020: If you have any resources to share, please email me at<EMAIL_ADDRESS>and put "Climate Interviews Resources" in the subject line.
This resources page is currently under construction, but it will eventually have various kinds of helpful resources: career development, mentorship opportunities, ways to learn more about the climate, books, etc.


Kenyans pay $430m for non-existent insurance
by BUSINESS DAILYIn Summary
- Brokers collect billions of shillings from customers but fail to remit the money to insurance companies.
- This means that the risks covered, which are in excess of Ksh500 billion ($5 billion), are not recognised under the “cash and carry” principle.
- The principle stipulates that if an insured party suffers loss before the premium is remitted to the insurer then the insured cannot be compensated.
Businesses, individuals and households have in Kenya spent Ksh43 billion ($430 million) in premiums on non-existent insurance covers after agents failed to remit the payments to insurers, exposing the customers to heavy losses when they make compensation claims.
Kenya's Insurance Regulatory Authority (IRA) has disclosed in court documents that insurance brokers collect billions of shillings from customers but fail to remit the money to insurance companies as required. This means that the risks covered, which are in excess of Ksh500 billion ($5 billion), are not recognised under the “cash and carry” principle. The principle stipulates that if an insured party suffers loss before the premium is remitted to the insurer then the insured cannot be compensated.
As a result of agent’s failure to meet their statutory obligations, general insurers are owed Ksh42 billion ($420 million) while companies offering life covers are owed Ksh1 billion ($10 million). Analysts say that premiums paid to general insurance companies represent between one and five percent of the value of the risks covered, meaning that customers expect to be protected from losses of much higher values.
The Ksh43 billion ($430 million) is equivalent to 19.8 percent of the Ksh216.2 billion ($2.16 billion) gross premiums that Kenya’s 37 insurance firms underwrote last year.
PREMIUMS
Unremitted premiums have piled up over the years from Ksh26 billion ($260 million) in 2014 to Ksh43 billion ($430 million) last year. Policies covering motor vehicles have the highest premiums of between four and five percent of the value of the vehicles. Other policies in the general insurance segment include engineering, domestic fire, industrial fire, medical and theft.
Also Read
-
Striking unions pile pressure on South African Airways
-
Sidian Bank gets $20m loan from Dutch lender
-
Kenyan student sues Equity Bank over song
-
Joe Muganda to exit Vivo Energy Kenya
Advertisement
The insurance regulator has disclosed the pile of insurance premiums held by brokers in a court case where the agents are fighting a law that bars them from receiving customers’ payments on behalf of insurers. The Insurance Act was amended effective July this year, barring brokers from handling cash on behalf of insurers. However, the brokers received a temporary court injunction allowing them to continue receiving the premiums until the dispute is determined.
Defending the law change, the sector regulator says brokers were exposing customers to heavy losses besides weakening the financial stability of insurers by failing to remit the premiums collected.
“The intention of the amendments is to enhance liquidity of an insurer and promote payment of claims, while eliminating the perennial problem of outstanding premiums,” IRA chief executive Godfrey Kiptum says in a replying affidavit.
The regulator cites the example of Online Insurance Brokers Limited which collected premiums from one Eunice Ndathi but failed to remit the money to AIG Kenya Insurance Company Limited. The move resulted in the insurer refusing to pay the customer’s claim, which had been assessed at Ksh14.7 million ($147,000).
The underwriters have been writing off increasingly larger sums, with provisions for the bad debt standing at Ksh3.5 billion ($35 million) last year alone.
“The writing off as bad debt has an impact on the insurer’s financial position and liquidity. Further, the insurers had to bear the burden of Ksh10 billion ($100 million) on capital adequacy for credit risk,” Mr Kiptum says.
He argues that brokers should only earn commissions for their work and should have no further interest in premiums collected.
CASH HANDLING
Underwriters with the biggest exposure are UAP Insurance which was owed Ksh1.15 billion ($11.5 million) by agents as of last year, followed by East African Reinsurance Company (Ksh1.13 billion) and Jubilee Insurance (Ksh930.8 million). Others are CIC General Insurance (Ksh803 million), APA Insurance (Ksh720.7 million) and ICEA Lion General Insurance (Ksh605.5 million).
Brokers listed as the biggest defaulters are Minet Kenya, which owes underwriters a total of Ksh1.5 billion ($15 million), followed by D&G (Ksh441.5 million) and Zamara Risk & Insurance (Ksh358.5 million).
The Association of Insurance Brokers Kenya (AIBK) — the agents’ lobby group — argues that the ban on cash handling, contained in the Insurance (Amendment) Act No. 11 of 2019 & Regulations, will drive its members out of business.
During the process of changing the law, brokers had last year lobbied Parliament for a compromise, pushing instead for a penalty to be introduced to address the issue of embezzlement of premiums. As a result, MPs approved a Bill that allowed brokers to receive premiums but forward the cash to insurers within 14 days. However, when the Bill went for presidential assent with the brokers’ recommendations, President Uhuru Kenyatta declined to sign it and sided with the National Treasury, which had sought to lock out the brokers.


--- layout: post title: Easy Presentation With Emacs And Reveal.js date: 2015-01-27 summary: Making a presentation with org-mode of Emacs and Reveal.js is very easy. tags: [Emacs, org-mode, presentation, Reveal.js] ---
Recently I had to prepare a presentation for a workshop. I knew that org-mode of Emacs could be used for presentations as well, but I hadn't tried it yet. After some research, I decided to go with org-reveal, which can generate very nice online presentations.
I already had Emacs and org-mode installed. If you don't have
org-mode version 8.0 or later (check it with M-x org-version
), you
should update it. You can do it like this:
M-x package-list-packages
C-s org
<Enter>
[Install]
To install org-reval, we first get it from GitHub:
git clone https://github.com/yjwen/org-reveal.git
Then we need to copy ox-reveal.el
to the org-mode installation
directory. In my case, I did it like this:
cp org-reveal/ox-reveal.el ~/.emacs.d/elpa/org-20141124/
At the begining of the org file I set some REVEAL options like these:
#+TITLE: Building Our Website on GitHub With Jekyll #+AUTHOR: Dashamir Hoxha #+EMAIL<EMAIL_ADDRESS>#+DATE: 2015-01-28 #+REVEAL_ROOT: http://cdn.jsdelivr.net/reveal.js/2.5.0/ #+REVEAL-SLIDE-NUMBER: t #+REVEAL_THEME: sky #+REVEAL_TRANS: linear
You can also see how the whole org file looks like: github-website.org
To wake-up org-reveal, type M-x load-library
, then type ox-reveal
.
To export the org file into Reveal.js presentation, type C-c C-e R R
.
The resulting HTML file looks like this: http://dashohoxha.fs.al/github-website/
For more details about configuration options of org-reveal see:


{% extends "zinnia/entry_list.html" %}
{% comment %}
This template file only exists for testing and information purposes.
Don't hesitate to customize it if you want a category's page really different
from an author or tag page.
If you want to use a custom template for a particular category, you can
create it in these locations:
* zinnia/category//entry_list.html
* zinnia/category/_entry_list.html
{% endcomment %}


---
layout: project-page
title: Boond
image: /assets/projects/thumbnail/webp/boond_thumbnail.webp.webp
description: Nature as a game mechanic
order: 6
category: opengames
tags: [gamedesign, opengames, nature&design]
---
Boond is performative game where players are given a set of clues and they are asked to play the game on the setup
done by the other players. It is an exploration in using water drops as game component and deriving mechanics out of its properties.
[left] Water drops on a leaf. [Right] Replicating the process manually.

Inspired fromm this hymn by Kabir. Taking water
bubble as a metaphor for human life, the game illustrates the fragility of life and how our actions and interactions
with others transforms, shapes and define who we are.
Explorations
Initial explorations with water, oil and glass.
A small drop of water is static but when it gets combined with other smaller drops it get heavier and start moving.
This simple observation was used as a mechanic for the game, how players move and interact with other elements on
the board.
Exploring different material surfaces.
If we place water drop on an oily surface, the drop gets sandwiched between the layer of oil, but if we mix a little
bit of oil with the water and make a drop, then it starts moving because of less friction. Doing this gives two
types of drops to play with, one which is fixed/static and the other is movable.
Now if we give different color to both static and dynamic drop and put it on a flat oily surface, the moving drop
changes its color as it touches with the colors of static drop along the way.
How to play
All the drops on the board remain static, they can not move, only one drop which the player control can move on the
board. They control the movement and perform actions which influences, change the character's appearance and decides
their life's journey based on who they meet or avoid.
Players then can creates their own setup and give goals/clues to each other. The game mechanic remains the same for
all rounds, which is to tilt the board to move, collect, or avoid any other drops on the board. There are a few
already given setup and goals for the players to start with.
Variation 1 Different yellow and red drops are placed at different positions on the board. You start as yellow and your goal
is to travel across the board, be with all your familiar ones and come back to your starting position
maintaining your color of origin.
Variation 2 Different blue and red drops are placed at different positions on the board.
Variation 3 Different blue, red and yellow drops are placed at different positions on the board. You are yellow and your the
goal is to become orange.
Variation 4 Different blue and red drops are placed at different positions on the board. You are yellow and a tiny green one
is stuck on the another side of the board, your goal is to become green before reaching to the tiny green one
and bringing it back.
Research & Design: Swapnesh Samaiya
Images: Kirti Shah


This is some text in a document, some bold, some ital, some both, and a link.
A second paragraph looks like this.


Vincent Chan
About
I first decided to pursue a career in physics at the age of 13, due in part to the influence of a fantastic high school teacher who gave me my first glimpse into the beauty of the physical world. This decision has since carried me through an undergraduate physics degree from Swarthmore College (oh-leven!), a National Science Foundation Graduate Student Research Fellowship, and a Master's and PhD in physics from UC Santa Cruz. I just recently finished up a postdoctoral research position at UC Santa Cruz, and after realizing that some decisions are best not left up to 13-year-olds, have decided to use my analytical skills for other purposes, and am currently the Director of Operations for CleanRobotics. While I'm not working, you can find me hiking, biking, and discussing the plight of science in politics over a craft beer.
Motto
“If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse.” - Walt Disney
Goals (short term)
- Become a full stack entrepreneur (design, engineering, growth)
- Be the best wife to the best husband
- Share lessons and failures to help fellow entrepreneurs
- Spend more time on side projects
- Train my body to be a flow machine
Dreams (long term)
- Creating sustainable ways of life
- Building a global community
Role Models
My dad, Ruth Bader Ginsburg,
Favorite Companies
Fame & Partners,
Favorite Startups
Deeplocal, BlastPoint, Module, Robotany.
Favorite Brands
Newman's Own, Patagonia.
Photo Credit: Pixar's La Luna


Assignment 2 - Breathify
Requirements Document
CMPT 276
- E100
Group 9
Group
Members:
Jason Xu
Princess Macanlalay
Keith Chan
Hans Kim
Table of Contents
Features/Functional Requirements
Section 3 – Database Administrator
Section 1 – Product Requirements
Section 2 – Organizational Requirements
Section 3 – External Requirements
Scenario 1 – Creating a profile
Scenario 2 – Performing a breathing
exercise
Table 1 – Revision History
|
Revision |
Status |
Publication/
Revision Date |
By |
|
1.0 |
Created Initial draft |
February 14, 2017 |
Jason Xu, Hans Kim, Princess
Macanlalay, Keith Chan |
|
1.1 |
Edited Added introduction, intended audience list,
features and functional requirements, and non-functional requirements |
February 17, 2017 |
Jason Xu, Hans Kim, Princess
Macanlalay, Keith Chan |
|
1.2 |
Edited Fixed grammar of
all sections, added more to non-functional requirements, added tutorials,
scenarios and glossary |
February 20, 2017 |
Jason Xu, Hans Kim, Princess Macanlalay,
Keith Chan |
|
2.0 |
Final Added screenshots to scenario section, fixed
formatting |
February 24, 2017 |
Jason Xu, Hans Kim, Princess Macanlalay,
Keith Chan |
Introduction
Breathify aims to offer those who suffer from anxiety or
stress a way to minimize their symptoms using a variety of breathing
exercises. Breathing exercises have been shown to be an
effective way of combating moments of high anxiety or high stress.
The application will provide two main methods of
performing breathing exercises. One method will present a countdown timer for
different stages of the selected breathing exercise accompanied by additional aural
and visual cues. Visual cues will be used to instruct the user on how to
perform the breathing exercise. The aural cues will also instruct the user on
how to perform the breathing exercise allowing for the exercise to be done
without having to read the visual cues. These aural cues have the option of
being muted.
The second method is an interactive game where
breathing exercise steps are to be followed more strictly to encourage more
focus with points awarded for closely following the exercise. The game
works by having the user breathe into the microphone on the phone or on a
peripheral which will cause a pin to move along a music chart-like display
vertically. The selected breathing exercise will be translated to a line with
segments which slope up, slope down, or stay flat depending on whether the user
must breathe out, breathe in, or hold their breath, respectively. The length of
these segments will vary depending on the breathing exercise. This line will
scroll along the music chart towards the pin. The user will have to make the
pin follow the line by breathing into the microphone.
The user will have a variety of breathing exercises
to choose from including those that only require simple breathing to those that
require a physical activity to them. These exercises will be presented in a
list which can be sorted and filtered by categories and keywords. The breathing
exercises will be tagged with multiple keywords and sorted into different
categories.
For some of the breathing exercises, users will have
the option to track their heart rate during the exercise using the mobile
phone’s camera. This data will be presented to the user in a section which
shows the user their usage history. This usage history will consist of entries
of the exercise done, when the exercise was done, heart rate information, and a
user rating of the exercise.
This heart rate data along with data about the
overall usage of the application will be used to inform the user about the
effects of the breathing exercises and their activity pattern related to
the application.
There will be a section where users can read more
about the positive effects of breathing as well as extra resources for seeking
aid for their anxiety or stress concerns.
This application seeks to be an effective tool for
reducing anxiety and stress as well as being a good resource for those looking
for aid in dealing with anxiety or stress.
The users are the people that have downloaded our app from
the App Store. Users are not interested in the technical bits and pieces of the
app and have little technical experience or expertise. They want to use Breathify to de-stress and to track breathing patterns and
heart rate.
Developers will be the members of our team, and we have both
the technical experience and expertise, from previous projects, to do our job.
One key skill they will have to learn before beginning to develop Breathify is the language Swift. Also, the developers do
not know the needs of the target audience as well as the sponsors. Therefore,
they will be asking for guidance throughout the project. The goal for
developers is to create an app that contains the features as detailed below.
The testers will be members of the team and potentially some
testers outside of the team. The team has experience and expertise in
testing. The tester’s goal will be
to develop validation tests in order to find potential bugs and report them to
developers. This will ensure that the app works as planned.
The sponsors for this project are the SFU Health Promotion
Team, specifically Dylan Leroy and Rosie Dhaliwal. They have little technical
experience and expertise, but they know the needs of the intended users best.
The developers will be looking to them for feedback throughout the life of the
development stage. Their goal is to see positive experiences from users of Breathify.
Maintaining the database will be the responsibility of all
members of the team and they have the know-how to do this job. Tasks related to
database administration are adding, viewing, editing and deleting user records
and breathing exercises. The goal of the database administrator is to organize
all data and to make the developers’ jobs easier.
Features/Functional Requirements
As a user, I want to:
1.
Account Features
a.
Create an account either from email
or through Facebook/Google so that I can track in-app stats (not require a log
in to use basic app features?)
b.
Switch between accounts so that I
can use the app on the same device with others
c.
Share my results/points with friends
and vice versa so that I can see others’ progress
d.
See my history on the app so that I
can track my progress
e.
Opt out of sharing my usage data so
that I can keep my information private
f.
Provide feedback on breathing
exercises so that the developers can improve their app
g.
Leave comments on breathing
exercises so that other users can know about my experience
2.
Resources
a.
Know why breathing exercises help so
that I can justify using Breathify
b.
Access more resources on anxiety and
stress so that I can find help if Breathify is not
enough (finding help is the focus)
c.
Something about finding out more
about stress and anxiety
3.
Menus
a.
Go through a tutorial so that I know
how to use the app properly
b.
Use this app even without internet
so that I can access these exercises anywhere
c.
Have access to multiple breathing
exercises so that I can find one that works for me
d.
Sort exercises in categories so that
I can choose one that is useful for me
e.
Leave feedback on exercises so that
I can let other users know what I think is useful
f.
Read about exercises so I know how
they can help me
4.
Timer based
a.
Use a simple breathing exercise so
that I can de-stress
b.
Set reminders so that I can practice
these exercises at certain times and intervals every day (ex. On the bus, after
waking up, etc.)
c.
Pause the exercise so that I can
come back to it later
d.
Restart the exercise in case I
missed a part
e.
Mute the aural cues so that I can
use the app silently
f.
Monitor my heart rate so that I can
keep track of the effectiveness of the different exercises
5.
Game based
a.
Play games that relate to breathing
so that I can enjoy doing something that helps me be productive
b.
Keep track of score so that I can
have an incentive for following the exercise
c.
Make my own breathing exercise so
that I can figure out what works for me
d.
Pause the exercise so that I can
come back to it later
e.
Restart the exercise in case I
missed a part
As a developer, I want to:
1.
Have a clear idea of the look and
feel of the app so that I can provide a consistent interface
2.
Know what information needs to be
private so that I can encrypt it
3.
Create breathing exercises so that I
can expand the variety of exercises
4.
Edit breathing exercises so that I
can correct any mistakes in the exercise
As a database administrator, I want to:
1.
Create, maintain and delete
breathing exercises so that I can continually update the app
2.
Create, add, remove, and update user
profiles and user data so that I can maintain the database
As a tester, I want to:
1.
Know the features and functions
clearly so that I can develop validation tests
As a sponsor, I want to:
1.
Recommend this app to
clients/customers so that I can help them
2.
Have resources for users so that
they can stay informed about anxiety and stress
3.
Have users be able to contact the
appropriate people so that they can do so in an emergency
1.
Usability requirements
a.
The basic functions of the app (such
as functions that are not required for a log in) must be accessible anytime.
b.
The breathing exercises must be able
to stop by the user when in process.
c.
The app must provide clear
instructions of the breathing exercises and the user must be able to skip or
replay the instructions whenever they want to.
d.
The loading time to open the app
must not take more than ~5 seconds
e.
The processing times of going
through the menus and exercises must not be more than .5 seconds in order for
the app to have a smooth performance
f.
The querying time to obtain data
from the server should not take more than 2 seconds with good internet
connection
g.
Users must be able to authenticate
themselves using an e-mail/password combination or use Facebook/Google login
authentication.
h.
Users must be able to request a
password reset.
2.
Localization requirements
a.
The app and help instructions must
be released in English.
3.
Performance requirements
a.
The breathing exercise must save at
the "breath in" state when users go to the home page of IOS with the
app still running in the background. When this happens, the system must still
keep record each breath period.
b.
The user device must require iOS 8.0
or later. Compatible with iPhone (4/4.7/5.5 inch) and iPad
c.
The appearance of the app must be
attractive. The design should promote a positive and relaxed experience for the
user.
4.
Dependency requirements
a.
Obtaining heart rate information
must have permission from the user to use device camera.
5.
Reliability requirements
a.
The probability that the app will
execute without failure must be greater than 99%.
b.
The database must always be
accessible given an internet connection.
c.
The database must be able to handle
a lot of traffic, approximately < 5000 requests a day
6.
Security requirements
a.
The app must not use or transmit
personal data without obtaining permission from the user. If the user gives
permission, the user must be informed by how and where their data will be used.
b.
Personal information must not be
accessible to unauthorized users.
c.
All private data must be encrypted
when being transmitted between database and user.
1.
Environmental requirements
a.
iOS
2.
Operational requirements
a.
Programming language: Swift
b.
The app must only use public APIs as
set out in the App Store Guidelines 2.5.1.
3.
Development requirements
a.
The data (breath record) must be
saved locally first if the user doesn’t have an account. Once the user logs in,
the user is able to upload the local data or be given the option to replace
local data with the most updated data from the server.
b.
Data from multiple accounts can be
stored locally at once.
a.
In case of users that will opt out
from uploading their exercise log data into the database, the user's
information and log data must remain locally in the device.
b.
Local data will only be lost when
the app is deleted. In order to save the local data, it must be uploaded to the
database.
1.
Regulatory requirements
a.
The system must have functions that aim
to improve the breathing, stress and anxiety.
2.
Ethical requirements
a.
The app must inform the user that
the 'Breathify' is not a medical application and that
it should not be used solely to treat medical/mental illnesses.
b.
A section in the app must contain
accurate information and resources about anxiety, stress and breathing.
3.
Safety requirements
a.
The app must not cause harm to the
user, such as give unsafe timings during breathing exercises. Since users would
want to use this app to relax, there should be no inaccurate information to
detriment the health of the user.
b.
There must be no offensive or
insensitive content within the app.
c.
There must be a privacy policy to
inform the user about the security and the use of the data obtained in the app.
|
1. Open
the app |
|
|
2. Select
'Create Profile' |
3. Fill in the basic information fields |
|
|
|
mn
|
4. Pick
local or online user. |
4a. If online user is selected, fill in your
desired username, e-mail and password. |
|
|
|
|
4b. If an online user is created, then you will be prompted to login. |
4c. If a local user is created, then you will
be taken to the main menu. |
|
|
|
|
1. Select your profile from the dropdown. |
2. Select ‘Exercise Library’ in the main menu. |
|
|
|
|
3.
Use the filter to help find the exercise you are looking for. |
4. Pick an exercise and select a mode. |
|
|
|
|
5.
Perform the exercise by following the prompts |
6. The exercise can be paused
using the pause button. |
|
|
|
|
7. In the pause menu, the exercise
can be resumed, restarted, muted, or stopped. |
|
|
1.
Select ‘View Resources’ in the main menu. |
2. Select ‘Resource Library’. |
|
|
|
|
3. Select a category. |
4. View an article by selecting it. |
|
|
|
|
1.
Select ‘View Resources’ from the main menu. |
2. Select ‘View Contacts’. |
|
|
|
|
3.
Select a contact to find out more about the contact and their contact
information. |
|
|
|
|
Š
Database
— A database is a structured collection of information that
can be queried, updated and managed.
Š
Public
APIs — Public Application Programming Interfaces are a collection
of tools and requirements for developers to be able to develop with propriety
software applications (i.e. such as Apple software). https://en.wikipedia.org/wiki/Open_API
Š
Swift
— Swift is a programming language developed by Apple Inc.
for the iOS, macOS, watchOS,
tvOS, and Linux. https://en.wikipedia.org/wiki/Swift_(programming_language)
Š
Traffic
— Traffic in terms of network is the amount of data
travelling through the network within a certain amount of time.
Š
Validation
tests — Validation testing is a process of testing a system of
whether it meets requirements and expectations of the
customer.


The app that makes learning advanced English fun! Learn and play to increase retention and achieve better results.
Through a retro game style, you can continually test yourself over a range of 8 fundamental English categories, including phonology and functions. Magister is more than an app for testing language knowledge, acting as more than a passive instrument for learning. This game encourages students to think deeply about the answers, as well as pushing a student to spell long words and structure complex sentences correctly. The language selected for the game focuses on functional, idiomatic and practical usage while avoiding obscure references.
The game is primarily intended for students whose levels range between Pre-Intermediate and Upper Intermediate (B1 to C1 on the Common European Framework). This game will be a steeper learning curve for less advanced students looking for a challenge. There is also value as a remedial tool for students of all ages to consolidate and expand upon gained knowledge.
Learning is structured around eight colour-coded material categories:
Let us know what's going on and we'll get back to you with a solution as quickly as we can.


All Tools
Blue
Community
Assessment
Choose from the Resource Links below and your choice will be loaded here:
📇
|
⚙
|
😎
|
🧲
|
💹
|
🏖
|
🍛
|
☀
|
💧
|
♻
|
🌄
|
🏗
|
🚇
|
🍼
|
🌿
|
🦐
|
🏞
|
⛵
|
🏫
|
🌎
|


About¶
I got a pinetime development kit very early.
I would like to thank the folks from https://www.pine64.org/.
I like to hack stuff, and I like the idea behind Open Source.
The smartwatches I hacked, contained microcontrollers from Nordic Semiconductor.
A lot of resources exist for this breed.
It is an Arm based, 32bit microcontroller with a lot of flash and RAM memory.
In fact it is a small computer on your wrist, with a battery and screen, and capable of bluetooth 4+ wireless communication.
A word of warning: this is work in progress.
You're likely to have a better skillset then me.
You are invited to add the missing pieces and to improve what's already there.
Todo¶
list with suggestions:
better graphics (lvgl using images and rotating stuff)
NOR flash (here one can store data)
watchdog
DFU (update over bluetooth)
acceleration sensor
heart rate sensor
fun stuff
useless stuff, but somehow cool
applications, e.g. calculator, cycle computer, step counter, heart attack predictor …
Fast track¶
In this repository you can find modified directories, which you can copy to the zephyrproject directory:
pinetime (board definition -> boards/arm)
st7789v (example -> samples/display)
blinky (example -> samples/basic)


Gecode::Float::FloatVarImpConf Class Reference
Configuration for Float-variable implementations. More...
#include <var-type.hpp>
Static Public Member Functions | |
| static Gecode::ModEvent | me_combine (Gecode::ModEvent me1, Gecode::ModEvent me2) |
| Combine modification events me1 and me2. | |
| static bool | med_update (Gecode::ModEventDelta &med, Gecode::ModEvent me) |
| Update modification even delta med by me, return true on change. | |
Static Public Attributes | |
| static const int | idx_c = Gecode::Set::SetVarImpConf::idx_c+1 |
| Index for cloning. | |
| static const int | idx_d = Gecode::Set::SetVarImpConf::idx_d |
| Index for disposal. | |
| static const Gecode::PropCond | pc_max = PC_FLOAT_BND |
| Maximal propagation condition. | |
| static const int | free_bits = 0 |
| Freely available bits. | |
| static const int | med_fst = Gecode::Set::SetVarImpConf::med_lst |
| Start of bits for modification event delta. | |
| static const int | med_lst = med_fst + 2 |
| End of bits for modification event delta. | |
| static const int | med_mask = ((1 << 2) - 1) << med_fst |
| Bitmask for modification event delta. |
Detailed Description
Configuration for Float-variable implementations.
Definition at line 416 of file var-type.hpp.
Member Function Documentation
| Gecode::ModEvent Gecode::Float::FloatVarImpConf::me_combine | ( | Gecode::ModEvent | me1, | |
| Gecode::ModEvent | me2 | |||
| ) | [inline, static] |
Combine modification events me1 and me2.
Definition at line 838 of file var-type.hpp.
| bool Gecode::Float::FloatVarImpConf::med_update | ( | Gecode::ModEventDelta & | med, | |
| Gecode::ModEvent | me | |||
| ) | [inline, static] |
Update modification even delta med by me, return true on change.
Definition at line 859 of file var-type.hpp.
Member Data Documentation
const int Gecode::Float::FloatVarImpConf::idx_c = Gecode::Set::SetVarImpConf::idx_c+1 [static] |
Index for cloning.
Definition at line 419 of file var-type.hpp.
const int Gecode::Float::FloatVarImpConf::idx_d = Gecode::Set::SetVarImpConf::idx_d [static] |
Index for disposal.
Definition at line 421 of file var-type.hpp.
const Gecode::PropCond Gecode::Float::FloatVarImpConf::pc_max = PC_FLOAT_BND [static] |
Maximal propagation condition.
Definition at line 423 of file var-type.hpp.
const int Gecode::Float::FloatVarImpConf::free_bits = 0 [static] |
Freely available bits.
Definition at line 425 of file var-type.hpp.
const int Gecode::Float::FloatVarImpConf::med_fst = Gecode::Set::SetVarImpConf::med_lst [static] |
Start of bits for modification event delta.
Definition at line 427 of file var-type.hpp.
const int Gecode::Float::FloatVarImpConf::med_lst = med_fst + 2 [static] |
End of bits for modification event delta.
Definition at line 429 of file var-type.hpp.
const int Gecode::Float::FloatVarImpConf::med_mask = ((1 << 2) - 1) << med_fst [static] |
Bitmask for modification event delta.
Definition at line 431 of file var-type.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/var-type.hpp