The fifth OMNeT++ Community Summit will be held at the University of Pisa in Italy from Wednesday to Friday, September 05-07, 2018.
OMNeT++ is a public-source, component-based, modular and open-architecture simulation environment with strong GUI support and an embeddable simulation kernel. It is designed to simulate discrete event systems, with the simulation of communication networks as one of its primary application areas.
In continuation of the history of the International Workshop on OMNeT++ and four very successful editions of its reincarnation, the OMNeT++ Community Summit, we continue to hold a yearly open meeting for all OMNeT++ community members with less costs and more interaction possibilities. The Community Summit provides a forum for tutorials, discussion sessions and presentations on recent developments and novel ideas in the area of simulation and modeling, with a focus on the OMNeT++ simulation environment.
The first four Summits in Hamburg, Zurich, Brno, and Bremen were huge successes with lively discussions, keynotes, tutorials, panels, presentations, and demonstrations of ongoing and finalized research covering many aspects of OMNeT++-related research. The 2018 event continues to expand the idea of a yearly community summit by explicitly addressing the interaction through tutorials, panels, and coding sessions with the introduction of the Hackathon format for the first time in the history of OMNeT++-related events. The OMNeT++ hackathon provides the chance for developers of simulation models and frameworks to consult OMNeT++ core developers and fellow framework developers. We also re-introduce the possibility to submit scientific contributions which will be reviewed by the TPC and (depending on their acceptance) be published in the indexed open access journal "EPiC Series in Computing" (ISSN: 2398-7340).
For the first time in the history of OMNeT++-related events, we are going to organize a "Hackathon" together with the OMNeT++ Community Summit.
The hackathon gives developers of simulation models and simulation frameworks the chance to consult and team-up with the OMNeT++ core developer team and fellow framework developers, in order to improve the quality and interoperability of simulation models and frameworks and to work on topics proposed by the developers themselves. Participants and topics will be selected based on prior written project proposals.
Exemplary topics for hackathon projects could be:
The OMNeT++ summit unites users, developers, and researchers to discuss applications, developments, and ideas on the topics of integrating simulation models, coupling different simulation tools and providing more accurate and more efficient modeling approaches and simulation models.
We invite researchers and users alike to submit one or more of the following contribution types:
All submissions should be of interest to the OMNeT++ community. We welcome case studies that employ OMNeT++ in the evaluation of systems as well as contributions addressing general questions of OMNeT++-based simulations. For model-centric submissions we ask the author(s) to publicize source code at the time of submission.
All submissions will be checked by the organizers and scientific submissions will be reviewed by the technical program committee. Proposals for individual contributions will be invited depending on the submission type and based on the expected interest for the OMNeT++ community. We provide poster slots for all interested participants.
Topics of interest include, but are not limited to:
Authors are encouraged to submit their tutorial / demo / hackathon/ discussion proposals as well as their scientific contributions describing original, previously unpublished work, not currently under review by another conference or venue, addressing state-of-the-art research and topics as listed. If a submission extends work described in a previous publication of their own, we strongly encourage authors to include a citation to that publication.
Abstracts and scientific submissions must be submitted electronically via EasyChair, all other proposals can be submitted via e-mail to the summit organizers.
Full papers and short abstracts should be prepared with the Easychair EPiC series template, available online. Please prepare your submission with the letter page format and the [EPiC] mode enabled. You can indicate your submission type during the submission process in Easychair (e.g., scientific contribution, tutorial, demonstration).
Scientific contributions accepted by the TPC and presented at the summit will be published in the indexed open access journal "EPiC Series in Computing". All other contributions will be included and indexed in the digital Zenodo repository of the OMNeT++ Community Summit. Copyrights for all contributions (including the EPiC submitted articles) will remain solely with the authors. This allows for a publication of revised versions at other venues.
The 5th OMNeT++ Community Summit will take place at the University of Pisa in Italy.
On-Site Location:
School of Engineering - University of Pisa, Largo Lucio Lazzarino, 1, 56122 Pisa.
Campus A - Room Aula Magna Pacinotti
For additional hotels, please check for instance www.booking.com and search for Pisa.
Pisa is a city in Tuscany, Italy, with a population of around 100.000 people. The city is located on the west coast of Italy. Well-known for its world famous Leaning Tower, the city is nowadays a student hub with the University of Pisa and its 60.000 students. Pisa collects numerous architectural and artistic marvels throughout the city. Its four historical quarters comprises a UNESCO World Heritage site, a historic town square, and various renowned art and history museums.
If you would like to spend some additional time in Pisa, you could visit the following sights:
In case you want to contact the organizers, feel free to write an e-mail to: omnetsummit2018 [at] easychair [dot] org.
The OMNeT++ Community Summit 2018 is sponsored. No registration or publication fees will apply.
We would like to thank the Department of Information Engineering (Dipartimento di Ingegneria dell'Informazione) of the University of Pisa for their support in hosting the 2018 Community Summit.
We would also like to thank Simulcraft Inc. for their sponsorship and support of the 2018 Community Summit.


<lcSummary>
The <lcSummary>
provides a textual
summary that describes the main learning goals and
lessons learned.
Category: Learning and training: common content elements


Index comparison between measured value and gathered model correction (monthly precipitation from 1961 to 2000).


[USERNAME]
(
[EMAIL]
) has added you to his contact list.
If you accept him, he will be able to see your status and start a chat with you.


Tracking and managing orders is an important part of an algorithmic trading strategy. Intelligent order management encourages discipline and a deep understanding of your algorithm. Through the QuantConnect API you can get order fields, update their values and cancel pending orders. This can be useful for lowering trading costs and improving order fills.
When you place a trade you receive an OrderTicket
for you to access the order. This allows you to safely (asynchronously) update and cancel the order while in live trading. In live trading you cannot assume order updates are processed successfully as the brokerage may have already filled the trade.
You can place several types of orders including:
| Supported Order Types | |
|---|---|
| Market Order | var ticket = MarketOrder("SPY", 100); self.ticket = self.MarketOrder("SPY", 100) |
| Limit Order | var ticket = LimitOrder("SPY", 100, 100.10m); self.ticket = self.LimitOrder("SPY", 100, 100.1) |
| Stop Market Order | var ticket = StopMarketOrder("SPY", 100, 100.10m); self.ticket = self.StopMarketOrder("SPY", 100, 100.1) |
| Stop Limit Order | var ticket = StopLimitOrder("SPY", 100, 100.12m, 99.5m); self.ticket = self.StopLimitOrder("SPY", 100, 100.12, 99.5) |
| Market On Open Order | var ticket = MarketOnOpen("SPY", 100); self.ticket = self.MarketOnOpen("SPY", 100) |
| Market On Close Order | var ticket = MarketOnClose("SPY", 100); self.ticket = self.MarketOnClose("SPY", 100) |


Generating random numbers
Select the operator
Addition
Subtraction
Multiplication
Division
Enter two number
Num1
Num 2
Calculate
Reset
Output


--- project: theSlate projectIcon: /images/theslateIcon.svg ---
theSlate now available on most platforms.


Download
EasySpin comes in a single zip file, containing all toolbox functions and the full documentation.
Visit the EasySpin website for downloading the latest version.
Requirements
EasySpin requires MATLAB 8.4 (R2014b) or later on either Windows, Linux or Mac. EasySpin does not run on MATLAB versions older than R2014b.
Beyond a basic MATLAB installation, no additional MATLAB toolboxes are needed to run EasySpin. EasySpin does not run on Octave (a free MATLAB clone).
Installation
- Download and unpack EasySpin
Download the EasySpin zip file and unpack it to a folder of your choice, e.g., C:\
or /var/myfiles/
.
Once unpacked, EasySpin is contained in a subfolder of C:\
(or /var/myfiles/
or whatever folder you chose) which in turn contains several subfolders:
easyspin-x.y.z/easyspin
- all the toolbox functions.
easyspin-x.y.z/documentation
- documentation, entry point is index.html
.
easyspin-x.y.z/examples
- all examples, grouped into subfolders.
- Tell MATLAB about EasySpin
Launch MATLAB and go to Home → Set Path. Remove any folders containing older EasySpin installations from the MATLAB search path.
Add the EasySpin subfolder easyspin-x.y.z/easyspin
to the MATLAB search path by clicking on
"Add Folder...", selecting the easyspin-x.y.z/easyspin
subfolder from your new EasySpin directory, and clicking on "Save".
- Check EasySpin
In MATLAB, type easyspin
at the command prompt. This will display information about the installed version of EasySpin. Also, it might try to compile a few files from the easyspin/private
folder. Possibly you are asked to select or install a C compiler. See below for information on how to proceed in that case.
- Documentation
Set up bookmarks for the EasySpin documentation. Online, you can go to easyspin.org to view the online documentation. To view the offline documentation, point your web browser to documentation/index.html
in your EasySpin installation directory and bookmark that page.
Installation of support software
A few small but performance-critical parts of EasySpin are not written in MATLAB, but in C. These parts come pre-compiled with the EasySpin distribution. However, in some cases it might be necessary to recompile them for your platform. For this, some support software might need to be installed, depending on the platform.
- Windows: Download and install one of the compiler supported for your MATLAB version - see list of compatible compilers.
- Mac OS X: Install Xcode.
- Linux: A C compiler (gcc) is installed on most Linux distributions.
License
- You may download and use EasySpin free of charge and without any restrictions.
- You may copy and distribute verbatim copies of EasySpin.
- You may not rent or sell any part of EasySpin.
- You may not use or modify EasySpin or a part of it for other software which is not freely available at no cost.
- You may not reverse engineer, decompile or disassemble EasySpin.
- EasySpin comes without warranty of any kind.
- If you use results obtained with the help of EasySpin in any scientific publication, cite the appropriate publication.


{% extends 'base.html'%} {% import 'macros.html' as macro%} {{ fontawesome_html() }} {% block styles%} {{ super() }} {% endblock %} {% if title %}
{{pitch.user.username}}
Upvotes:{{pitch.upvotes}}
Downvotes:{{pitch.downvotes}}
Add comment {{macro.displayComments(comments)}}{{pitch.user.username}}
Upvotes:{{pitch.upvotes}}
Downvotes:{{pitch.downvotes}}
Add comment {{macro.displayComments(comments)}}


Cataphone
A dictaphone, a screencaster!
What for?
- Slideshows with voiceover,
- Screencasts, demos,
- Recording anything, really!
Why a "dictaphone"?
She sells sea shells by the seashore.
The shells she sells are surely seashells.
So if she sells shells on the seashore,
I'm sure she sells seashore shells.
Record, listen, thrash, record again
Try it now!
Record (dictaphone)
F1
Record (continuous)
F2
Playback last
Ctrl+Space
Thrash last
Ctrl+Backspace
Recover last
Ctrl+Shift+Backspace
Download
Ctrl+S
Make it yours
Add Castaphone to any HTML page, no server needed!
import {Castaphone} from "./castaphone.js"; let cast = new Castaphone();
Example app: a PDF recorder based on


Preparation time
1-2 hours
Cooking time
10 to 30 mins
Serves
Serves 4
Shredded chicken fries fast and stays crisp, served in a flavour-packed sweet and sour sauce.
 Alternatively, cut the chicken into 1cm/½in cubes.
Heat the oil in a large wok. Mix the rest of the chicken ingredients with the chicken until the chicken is well coated with batter. When oil is hot, fry the chicken on a very high heat in batches to prevent the pieces clumping together. This will only take a minute or so if using cubes of chicken, even less if using shredded. Place the cooked chicken on a plate lined with kitchen paper and set aside.
To make the sauce, heat the oil in a saucepan. When hot, add the spring onions, peppers, carrot and ginger, keeping the heat high and stirring slowly. When the peppers start to brown, mix in the cucumber and pineapple, then add the stock.
Mix the cornflour with a little water to make a paste. When the stock boils, add the sugar, vinegar, tomato purée, onions and tomatoes. Once the liquid comes to the boil, gently pour in the cornflour batter and stir continuously until the liquid thickens. Check the seasoning again and remove from the heat. Add the coriander leaves, if using.
For the rice, heat a wok and once hot add the oil. Add the rice and cook for 1–2 minutes. Add the eggs and soy sauce and cook for a further 3–4 minutes or until the rice is piping hot. Finish with salt and pepper, but remember not too much salt as the soy sauce will season the dish.
To serve, mix the chicken into the sauce. Pile rice into a small bowl and turn out onto each serving plate to make a neat mound of rice. Arrange the curry around the outside and serve immediately.


Home
Toggle navigation
Welcome {{authentication.userName}}
Play Game
Logout
Login
Sign Up
Team King Survival 3


Abbas Ali & Sons Uniforms and Textiles
Sales
Sales Order
Packing List
Commercial Invoice
Reciept Voucher
Purchase
Purchase Order
Good Receiving Note / Invoice
Vendor Payment
Production
Reports
Sales Report
Purchases Report
Productions Report
Accounts Report
Master Data
Master View
Sales Invoice
Invoice #
Shipping Info
Shipment Mode:
Freight Terms:
Origin:
Port of loading:
Port of Discharge:
Place of delivery:
Generate Sales Invoice


Hacklab Cosenza / Centro di Ricerca su Tecnologia e Innovazione
An uplink is a single (outgoing) link into which traffic coming from several links converges into. Uplinks are common spots in hierarchical networks where bottlenecks can occur.
Having to collect traffic coming from a multitude of sources, uplinks must have a greater bandwidth at their disposal.
Instead of using faster links, a technology called link aggregation can be used by combining several, already existing, physical links into a single logical one.
EtherChannel is a Cisco technology for link aggregation that bundles multiple switch ports (anf their links) into a single virtual EtherChannel interface (and link) called port channel or channel group.
port channel interfaces can bundle together up to 8 ports, but only if they are of the same type (Fast or Gigabit Ethernet). They don’t have to be contiguous, not even on the same module.
EtherChannel LAGs (called channel group) can be statically configured with the On mode.
More often we let the ports autonegotiate the creation of a LAG, through a protocol used to automate link aggregation:
They both (PAgP/LACP) operate very similarly, having 2 modes:
Aggregation protocol modes must be compatible between sides for aggregation to occur.
If an aggregation protocol is not configured or all its modes are explicitely disabled, then auto-aggregation won’t take place regardless of the other side setting.
For interfaces to be a part of an EtherChannel, they must support it and have compatible settings:
Configuration can be applied globally for every member of an EtherChannel by configuring the port channel interface. Setting can be overridden on any individual interface, but compatibility issue may arise.
To configure a port channel interface, first select the interface to be collectively configured with the command:
Switch(config)# interface range [interfaces]
and then create the port channel interface comprising those interfaces
Switch(config-if-range)# channel-group [id] mode [active | auto | desirable | on | passive]
To change L2 settings of the port channel interface, enter the configuration mode:
Switch(config-if-range)# interface port-channel 1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan 1,5,30
To show the general status of the port channel interface:
Switch# show interface Port-channel 1
Port-channel 1 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 0cd9.96e8.8a01 (bia 0cd9.96e8.8a01)
MTU 1500 bytes, BW 200000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, link type is auto, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Fa0/1 Fa0/2
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:04:21, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 2000 bits/sec, 2 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
799 packets input, 89672 bytes, 0 no buffer
Received 689 broadcasts (585 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 585 multicast, 0 pause input
0 input packets with dribble condition detected
352 packets output, 46085 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
One-line recap of the configured EtherChannels:
Switch# show etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+--------------------
1 Po1(SU) LACP Fa0/1(P) Fa0/2(P)
Detailed information about each specific EtherChannel:
Switch1# show etherchannel Port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1 (Primary Aggregator)
------------
Age of the Port-channel = 0d:00h:25m:17s
Logical slot/port = 2/1
Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 39 Fa0/1 Active 4
1 61 Fa0/2 Active 4
Time since last port bundled: 0d:00h:05m:41s Fa0/2
Time since last port Un-bundled: 0d:00h:05m:48s Fa0/2
Detailed information about the role this interface is playing in an EtherChannel:
Switch1# show interfaces f0/1 etherchannel
Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Fa0/1 SA bndl 32768 0x1 0x1 0x102 0x3D
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Fa0/1 SA 32768 0cd9.96d2.4000 4s 0x0 0x1 0x102 0x3D
Age of the port in the current state: 0d:00h:24m:59s


Many other sites are on strike too.
Webmasters: you can go on strike with a single line of html.
Share this flyer.
Latest action (April 24th): Tell senate to #StopCISPA
What is CISPA?
Under the guise of cyber-security, CISPA (the Cyber Intelligence Sharing and Protection Act) is a bill that would grant corporations the power to share our emails, Facebook messages, and other sensitive online data with the government - all without a warrant.
CISPA would kill online privacy as we know it - nullifying the laws that require big corporations to keep our information private from government agencies like the National Security Agency. Those corporations wouldn't have to notify you that they have done this and you wouldn't be able to take legal action against them if they made a mistake when sharing your information.
While strong information security is critical to privacy and civil liberties, CISPA does almost nothing to prevent this. All it does is give the government access to your information.
We beat CISPA last year when hundreds of thousands of Americans signed online petitions to let lawmakers know that our online privacy rights are not negotiable. But this bill is back and politicians who want the government to be able to read your emails and see what you purchase online are hoping you won't speak out this time.
Together we can beat CISPA again!


The PropertyBrowser class.
More...
#include <propertybrowser.h>
◆ CustomType
| Enumerator |
|---|
| LineWidget | |
| BlockWidget | |
| PropertyManager | |
◆ PropertyBrowser()
| PropertyBrowser::PropertyBrowser |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ clear()
| void PropertyBrowser::clear |
( |
| ) |
|
clear Deletes the current propertyManager if there is one. The PropertyBrowser will show nothing.
◆ setPropertyManager()
setPropertyManager Takes ownership of the property manager. The old property manager will be deleted.
Set this propertyBrowser to represent the given propertyManager.
- Parameters
-
The documentation for this class was generated from the following files:


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use CellConstraints | |
|---|---|
| com.jgoodies.forms.builder | Contains optional builder classes of the Forms framework. |
| com.jgoodies.forms.extras | Contains optional Forms framework classes that ship only with the JGoodies Forms source distribution and are not yet part of the binary Forms library. |
| com.jgoodies.forms.factories | Consists of optional Forms framework factory classes that assist you in building consistent forms quickly |
| com.jgoodies.forms.layout | Contains the core classes of the JGoodies Forms framework: layout manager, column and row specifications, sizes and cell constraints |
| Uses of CellConstraints in com.jgoodies.forms.builder |
|---|
| Fields in com.jgoodies.forms.builder declared as CellConstraints | |
|---|---|
protected CellConstraints |
AbstractBuilder.currentCellConstraints
Holds an instance of CellConstraints that will be used to
specify the location, extent and alignments of the component to be
added next. |
| Methods in com.jgoodies.forms.builder that return CellConstraints | |
|---|---|
protected CellConstraints |
AbstractFormBuilder.cellConstraints()
Returns the CellConstraints object that is used as a cursor and holds the current column span and row span. |
protected CellConstraints |
AbstractFormBuilder.createLeftAdjustedConstraints(int columnSpan)
Creates and returns a CellConstraints object at
the current cursor position that uses the given column span
and is adjusted to the left. |
| Methods in com.jgoodies.forms.builder with parameters of type CellConstraints | |
|---|---|
Component |
PanelBuilder.add(Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints. |
Component |
AbstractFormBuilder.add(Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints. |
JLabel |
PanelBuilder.add(JLabel label,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints. |
JLabel |
I15dPanelBuilder.addI15dLabel(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the specified constraints. |
JLabel |
I15dPanelBuilder.addI15dLabel(String resourceKey,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using the given cell constraints. |
JLabel |
I15dPanelBuilder.addI15dROLabel(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the specified constraints that is intended to label a read-only component. |
JLabel |
I15dPanelBuilder.addI15dROLabel(String resourceKey,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using the given cell constraints. |
JComponent |
I15dPanelBuilder.addI15dSeparator(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) titled separator to the form using the specified constraints. |
JLabel |
I15dPanelBuilder.addI15dTitle(String resourceKey,
CellConstraints constraints)
Adds a title to the form using the specified constraints. |
JLabel |
PanelBuilder.addLabel(String textWithMnemonic,
CellConstraints constraints)
Adds a textual label to the form using the specified constraints. |
JLabel |
PanelBuilder.addLabel(String textWithMnemonic,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints. |
JLabel |
PanelBuilder.addROLabel(String textWithMnemonic,
CellConstraints constraints)
Adds a textual label intended for labeling read-only components to the form using the specified constraints. |
JLabel |
PanelBuilder.addROLabel(String textWithMnemonic,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints. |
JComponent |
PanelBuilder.addSeparator(String textWithMnemonic,
CellConstraints constraints)
Adds a titled separator to the form using the specified constraints. |
JLabel |
PanelBuilder.addTitle(String textWithMnemonic,
CellConstraints constraints)
Adds a title label to the form using the specified constraints. |
| Uses of CellConstraints in com.jgoodies.forms.extras |
|---|
| Methods in com.jgoodies.forms.extras that return CellConstraints | |
|---|---|
CellConstraints |
FormLayoutUtils.ConstraintIterator.nextConstraints()
Returns the next element in the iteration. |
| Uses of CellConstraints in com.jgoodies.forms.factories |
|---|
| Methods in com.jgoodies.forms.factories that return CellConstraints | |
|---|---|
static CellConstraints |
CC.rc(int row,
int col)
Sets row and column origins; sets height and width to 1; uses the default alignments. |
static CellConstraints |
CC.rc(int row,
int col,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row and column origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects. |
static CellConstraints |
CC.rc(int row,
int col,
String encodedAlignments)
Sets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string. |
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan)
Sets the row, column, height, and width; uses default alignments. |
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects. |
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string. |
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan)
Sets the row, column, height, and width; uses a height (row span) of 1 and the vertical and horizontal default alignments. |
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects. |
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string. |
static CellConstraints |
CC.xy(int col,
int row)
Sets column and row origins; sets width and height to 1; uses the default alignments. |
static CellConstraints |
CC.xy(int col,
int row,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects. |
static CellConstraints |
CC.xy(int col,
int row,
String encodedAlignments)
Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string. |
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan)
Sets the column, row, width, and height; uses a height (row span) of 1 and the horizontal and vertical default alignments. |
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects. |
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan,
String encodedAlignments)
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string. |
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan)
Sets the column, row, width, and height; uses default alignments. |
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects. |
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan,
String encodedAlignments)
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string. |
| Uses of CellConstraints in com.jgoodies.forms.layout |
|---|
| Methods in com.jgoodies.forms.layout that return CellConstraints | |
|---|---|
CellConstraints |
FormLayout.getConstraints(Component component)
Looks up and returns the constraints for the specified component. |
CellConstraints |
CellConstraints.rc(int row,
int col)
Sets row and column origins; sets height and width to 1; uses the default alignments. |
CellConstraints |
CellConstraints.rc(int row,
int col,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row and column origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects. |
CellConstraints |
CellConstraints.rc(int row,
int col,
String encodedAlignments)
Sets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string. |
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan)
Sets the row, column, height, and width; uses default alignments. |
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects. |
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string. |
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan)
Sets the row, column, height, and width; uses a height (row span) of 1 and the vertical and horizontal default alignments. |
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects. |
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string. |
CellConstraints |
CellConstraints.xy(int col,
int row)
Sets column and row origins; sets width and height to 1; uses the default alignments. |
CellConstraints |
CellConstraints.xy(int col,
int row,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects. |
CellConstraints |
CellConstraints.xy(int col,
int row,
String encodedAlignments)
Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string. |
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan)
Sets the column, row, width, and height; uses a height (row span) of 1 and the horizontal and vertical default alignments. |
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects. |
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan,
String encodedAlignments)
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string. |
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan)
Sets the column, row, width, and height; uses default alignments. |
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects. |
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan,
String encodedAlignments)
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string. |
| Methods in com.jgoodies.forms.layout with parameters of type CellConstraints | |
|---|---|
void |
FormLayout.setConstraints(Component component,
CellConstraints constraints)
Sets the constraints for the specified component in this layout. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Let's think about GitHub as a social network, a social network where the users are developers. Developers with skills in particular languages, particular expertice you might be looking for !
Here is where the GitHub recruiter comes to life. A personal open source project to search for this data (developers), filter it and use it to give them the chance to be contacted for more opportunities !
Important: This is a personal open source project and it has nothing to do with the GitHub organization.


Sometimes while working in Android we need to display the layout-bounds on device. Recent Android versions do provide an action-tile to do so. But on previous versions, we had to go too deep into the Settings application. I wanted to be able to perform the switch from my computer.
ADB does provide methods to do so, but the commands are not easy to remember and also get tiresome after some time.
# We need to execute both lines to
# make the layout-bounds show
adb shell setprop debug.layout true
adb shell service call activity<PHONE_NUMBER>
So I made 2 files named show-lb.sh
and hide-lb.sh
, which respectively show and hide the layout-bounds on our testing device.
The files are as below:
show-lb.sh
adb shell setprop debug.layout true > /dev/null 2>&1
adb shell service call activity<PHONE_NUMBER> > /dev/null 2>&1
hide-lb.sh
adb shell setprop debug.layout false > /dev/null 2>&1
adb shell service call activity<PHONE_NUMBER> > /dev/null 2>&1
That > /dev/null 2>&1
part at the end of each line is just so that the output of that particular command does not get displayed in our terminal as we don’t need it.
Note for Windows users:
You friends need to omit the > /dev/null 2>&1
and save these files as show-lb.bat
and hide-lb.bat
You can save these files (make sure to give them executable
permission if you are on a unix-based machine) and then add their location to system’s PATH
variable. That way you can execute these from anywhere.
I do think that I would indeed make a version of this in the future where it check the current state and automatically toggle it.
That’s all folks
This was my solution to improve my daily work experience by 1%. If you have more such ideas/examples or any other suggestions under the sky, contact me or tweet to me @varun_barad.


Christopher Bohl's Blog
Cultural Blog
Shereef's Fireside and DBC Culture
January 16, 2015
Learning Effectively at Dev Bootcamp
February 1, 2015
Cybersecurity for Smart Devices
February 7th, 2015
Pair Programming at Dev Bootcamp
February 13, 2015
Stereotype Threat
February 22, 2015
My Values and Stereotype Threat
A Conflict, and What I Learned
March 8, 2015
How to Ask A Good Programming Question
March 15, 2015
Working on My Website
March 15, 2015
Technical Blog
First Impressions of Git
January 16, 2015
CSS Design
January 24, 2015
Arrays and Hashes
February 1, 2015
Cycle, a Ruby Public Method
February 3, 2015
Ruby Classes
February 13, 2015
Variable Scope in Ruby
February 22, 2015
Ruby Classes and JavaScript Functions
March 1, 2015
How Your Ruby Code Changes the Physical World!
March 15, 2015


The table below lists the polyfilled JavaScript APIs required for HelixUI to function. Native support for each API is shown in columns corresponding to each of the supported browsers. For browsers that do not have native support, the final column identifies the asset in which the polyfill is provided.
| JavaScript API | Polyfilled By | |||||
|---|---|---|---|---|---|---|
| {{ _api.name }} | {{ nativeTo(_api, 'chrome') }} | {{ nativeTo(_api, 'safari') }} | {{ nativeTo(_api, 'firefox') }} | {{ nativeTo(_api, 'edge') }} | {{ nativeTo(_api, 'ie') }} | {{ _api.polyfill }} |
If your application requires polyfills beyond those listed above, they will need to be added separately.
Access the following resources to find polyfills.


Enabling/Disabling XML Search Indexing
How to enable or disable the DNN Search for the XML/XSL module. Note: Parameters must not be set to allow the module to be included in DNN search.
- Select Edit Module Configuration from the XML/XSL module actions menu. This opens the XML Module Configuration page.
- Maximize
the Advanced Options section.
- At Allow Indexing, select one of the following search options to set how often this module is updated in search:
- Never (search is disabled): Select to disable search. Skip to Step 5.
- Only on next run: Select to update search results the next time a search is run.
- Always: Select to update search results each time a search is run.
- Once per hour: Select to update search results one time per hour.
- Once per day: Select to update search results one time per day.
- Optional. Click the Clear Search Index link if you want to clear cached search information. This will run a new search the next time a search is made.
- Click the Update link.


Logged in as:
Logout
login page
Public page
Admin page
Secured page
Anonymous page
Me page
Me2 page
logMeInAsUser page
User id: 1 page
User id: 2 page
/prefilter?numbers[]=1,2,3,4,5,6 page
postfilter page
Only admin users can see this line. 1
isAdmin:
...


oci_set_prefetch
(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
oci_set_prefetch — 设置预提取行数
说明
bool oci_set_prefetch ( resource $statement [, int $rows ] )
在成功调用 oci_execute() 之后设定预提取的行数。rows 的默认值为 1。
Note:
在 PHP 5.0.0 之前的版本必须使用 ocisetprefetch() 替代本函数。该函数名仍然可
用，为向下兼容作为 oci_set_prefetch() 的别名。不过其已被废弃，不推荐使用。
成功时返回 TRUE，或者在失败时返回 FALSE。
参见 oci8_.default_prefetch INI 选项。
参数
statement
有效的 OCI8 报表标识符由 oci_parse() 创建，被 oci_execute() 或 REF CURSOR
statement 标识执行。
rows
The number of rows to be prefetched, >= 0
返回值
成功时返回 TRUE，或者在失败时返回 FALSE。
更新日志
版本 说明
PHP 5.3.2
(PECL OCI8 Before this release, rows must be >= 1.
1.4)
PHP 5.3 (PECL Before this release, prefetching was limited to the lesser of
OCI8 1.3.4) rows rows and 1024 * rows bytes. The byte size restriction has
now been removed.
范例
Example #1 Changing the default prefetch value for a query
\n";
while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) {
echo "
\n";
foreach ($row as $item) {
echo " | ".($item !== null ? htmlentities($item, ENT_QUOTES) : "&
nbsp;")." | \n";
}
echo "
\n";
}
echo "\n";
oci_free_statement($stid);
oci_close($conn);
?>
Example #2 Changing the default prefetch for a REF CURSOR fetch
\n";
while ($row = oci_fetch_array($refcur, OCI_ASSOC+OCI_RETURN_NULLS)) {
echo "\n";
foreach ($row as $item) {
echo " | ".($item !== null ? htmlentities($item, ENT_QUOTES) : "&
nbsp;")." | \n";
}
echo "
\n";
}
echo "\n";
oci_free_statement($refcur);
oci_free_statement($stid);
oci_close($conn);
?>
If PHP OCI8 fetches from a REF CURSOR and then passes the REF CURSOR back to a
second PL/SQL procedure for further processing, then set the REF CURSOR
prefetch count to 0 to avoid rows being "lost" from the result set. The
prefetch value is the number of extra rows fetched in each OCI8 internal
request to the database, so setting it to 0 means only fetch one row at a time.
Example #3 Setting the prefetch value when passing a REF CURSOR back to Oracle
注释
Note:
In PHP versions before 5.0.0 use ocisetprefetch() instead. 在当前版本中，旧
的函数名还可以被使用，但已经被废弃并不建议使用。
参见
• oci8.default_prefetch ini option
User Contributed Notes 1 note
===============================================================================
If your are using Oracle's OCI libraries, on any project, which PHP does, you
can use this limit.
I have done network level testing on the effect of this parameter. It does
improved efficiency. Big Time.
Oracle uses SQL*Net as the transport mechanism for data between your connection
and the database. That is why you must setup Oracle properly.
This parameter tells SQL*NET to Buffer more results. When SQL*NET (at the
server) gets a request for data, it bundles up X rows (1,2,3,1000, etc) for
transport. It sends the appropriate SQL*NET headers back to the client, Waits
for an ACK then begins sending data in MTU sized chunks (ethernet is something
like 1500 bytes and ATM's WANS are around 1000 bytes). The chunk size can also
be tuned in SQL*NET, but with much less improvements.
TCP/IP then takes the data across the wire, breaking it up into multiple TCP/IP
packets.
Once the exchange is done, the SQL*NET client sends an
ACK back to the SQL*NET Listener (the Oracle Server) and the transaction is
complete.
Each round trip, SQL*NET looks up inside the server memory (UGA - user global
area) to find the query results. It then grabs the rows necessary to send. If
it is one row, versus 1000 rows. The process is the same.
There is much I could tell you on how the Database itself reacts. If you can
significantly lessen the amount of round trips you are making... WOW.
For more info on Oracle OCI go to http://otn.oracle.com


THE GAME (R)
A review by E. Benjamin Kelsey
* * (out of four)
I had high hopes for this film. I was told it was one of the few movies out there that I would not be able to guess at all. Well so far, it merely deserves the "Most Insulting to My Intelligence" award. In fact, I have to question if two stars wasn't a bit excessive. But, due to a plot that with quite a bit of work has real potential, and thanks to the decent acting, I will leave it how it is.
The rumors were right. I didn't have a clue as to what was in store. I get the impression that the writer might not have either. The plot? A lot of weird crap happens to a guy and we don't really know why or who is behind it. In reality, there isn't a lot more to it. It seems as though the writer may have started this project without knowing what was going to happen next either; like he just sat down and started writing.
Warning: I am about to divulge several key elements to the plot that, if you plan to see this film, will definitely ruin the surprises. But it is crucial to discuss these in order to show you the absolute absurdity of the movie.  Nonetheless, they go to elaborate measures to find out EVERYTHING about you, then pretty much make you think you're going to be killed and that they have emptied all your bank accounts. Gee, that sounds fun.
Supposedly this company knows every single move you're going to make. They know just where you're going to end up, and exactly when.  Such as when they drive you into a river while locked in the back of a taxi cab. It's a good thing they know you're going to get out and nothing will go wrong. It's good that when they drug you and leave you in a graveyard in Mexico, that they know you're going to make it back, fine and dandy.  It's a good thing that they know just what day you'll show up at their office (as if they'd even know that!), and that they know for sure that you're going to end up running up to the roof. And it's a good thing they know that you're going to jump off the roof at the exact spot they want you to. Oh, and by the way, when you find out EVERYTHING they've done wasn't real, that it was just a prank, and that no, you didn't really kill your brother and you didn't succeed in killing yourself, it's good that you'll just smile and shrug it off and join the birthday party they have prepared for you.
Just talking about this movie gets me so angry that they would try to feed this to us! The more I think about this movie, the madder I get! Unfortunately they did too well of a job at their B.S. story that I can't give them a lower grade. But trust me, THE GAME does deserve special recognition for its shortcomings! THE GAME is absolutely lame!
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


#parse("/de/fct/companian/web/site/inc/header.htm")
Specify the directory on the server where the Java Archive Indexer should start its search. The indexer will do a transitive search in the sub directories for compiled *.jar and corresponding Apache Maven *.pom and *-sources.jar files.


The president of Kadistan is kidnapped. Dan, a press cameraman, and Mick, his Kadistani assisstant, are sent to report what happens. Snap, snap, snap. Dan sits at a desk, his camera in his hands. He is tense. Mick is late. Tap, tap. Is it Mick? A man steps in and attacks Dan. Dan resists. The man hits him. Dan pretends to pass out. As the man picks up the camera, he trips and Dan hits him with a lamp. Dan rams his camera in his backpack and sets off at a sprint. As Dan hits the steps, Mick skids to a stop. Dan sits back. It is the end of his trip. He naps.
in-context


Voting App
<%=user%>'s Profile
Sign Out
<%=user%>'s Profile
Sign Out
<%= poll['name'] %>
I would like to vote for:
Choose an option...
<% for(var i=0; i
<%=poll['options'][i]%>
<% } %>
I would like to add the following option to this poll:
Share on Twitter
©
branch-droplet.glitch.me


Warehouse Keeper Walderal:
In running a warehouse, I sometimes learn other people's secrets even when I don't want to. A few days ago, for example, a nobleman whose name I cannot tell you deposited a little rag doll. It was pretty well made, but certainly not remotely worth the deposit fee. What do you think that means? Heh...
Private Warehouse
Clan Warehouse
Learn skills.
Quest


Priyanka Chopra Jonas & Nick Jonas purchase first home for $20 million
by Sahar JunejoPriyanka Chopra Jonas and Nick Jonas have finally found a home for themselves in Encino – an upscale suburb in the San Fernando Valley in Los Angeles.
The $20 million mansion is a total of 20,000 square feet, with seven bedrooms and eleven bathrooms. According to Variety, the home also has a two-lane bowling alley, a mirror-walled gymnasium, a bar, a movie theater, a big lounge/games room with a pool, an indoor basketball court and state-of-the-art security.
The neighbourhood is currently home to football player Duane Brown, actor Joey Lawrence, and “Real Housewives of Beverly Hills” cast member Kyle Richards and her high-end realty husband Mauricio Umansky. But most importantly, Joe Jonas and Sophie Turner will be moving in three miles away in their newly purchased $14.1 million home nearby.


usernames represent unique tokens under DecentLand data protocol. Each username belongs to a Token-Type according to its length.
DecentLand usernames are mintable, transferable, and tradable assets. The username's owner (aka holder) have full access over the username's ownership.


Already have a Volunteer account?
Log In
Let's get Started!
First, tell us what you're looking for
I need a Volunteer
Find and hire Volunteers.
I need a job
Find work and grow your career.
Need to staff a large team? Contact us


| Physical Location: J307 Lab: Gunner Lab Department: Physics IP: <IP_ADDRESS> Administrator: Yanjun Wang |
Applying for Accounts on HestiaHestia is a MCCE server. Lab members may obtain account from the system administrator directly. Non-lab members need to send the request to Marilyn Gunner (gunner@sci.ccny.cuny.edu). When applying for an account, please provide a valid email address. This email address will be used to receive system maintainance notice and MCCE updates. To cancel an account, email to the system administrator. Non-active accounts which are not accessed for more than six months might be deleted. There will be an email notice before such an action. |
| Home Policies and Documentation Computing Resources Programming Resources Administration Links |
Last Updated: 09/20/2004, Gunner Lab, City College of New York, 2004


Prioritisation is a huge part of modern life.
No.
Prioritisation is an ESSENTIAL part of modern life.
I’m not talking solely about Agile here either. Yes we plan stories, yes we prioritise them to get them into the backlog but I’m aiming at a higher level. Life lessons that are useful to all of us.
How do we know what to do next? Perhaps you lean on your gut feeling to order your to-do list. Maybe it is real-time cost and budget implications that influence your priorities or does it come down to who shouts loudest?
Why is prioritisation important?
The experts would have us believe we are living through the Digital Age, also know as the Computer Age. Increasingly this has been more accurately redefined as the Information Age.
The society we live in today truly bombardes us with information. Whether it be TV, mobile, emails, blog posts, status updates, tweets, likes and check-in’s we are rarely unconnected to modern day life and have a vast amount of data and information at our disposal.
This flood of information leads to a problem: we often confuse the importance of everyday tasks and activities.
For instance how many times have we said “I don’t have time to read” or “I’d love to be able to go to the gym more”. Perhaps a more honest way to say this is “reading is not a high priority for me” or “I prioritise other activities higher than going to the gym”.
The decision not to spend time reading or working-out in the gym means you are spending time on other activities you consider more important. Consciously or unconsciously, we prioritise our life. The key is to prioritise effectively.
The Focus Quadrant
I’ve been introduced to a framework that helped me to grab this idea of effective prioritisation and certainly opened my eyes to some of the mistakes I made previously.
Stephen Covey, a sadly deceased educator, author and businessman, designed a matrix called The Focus Quadrant that categorises activities and helps us deal with the struggle of prioritisation by clearly outlining the conflicts involved.
| Description | Examples | |
|---|---|---|
| A. Important/Urgent | Tasks that are necessary usually deadline driven or time sensitive. This usually this means panic and problems. | Fixing the server crash, firefighting a site outage, entering expenses before a deadline |
| B. Important/Not urgent | Activities in direct alignment to your goals. Typically these tasks involve planning ahead. Prevention rather than cure. | Relationship building, researching your next API, learning a new coding language, taking time out to exercise |
| C. Not important/Urgent | Activities that seem important but in reality are not. It’s thought these tasks will make you popular as you are responding to requests for your time. | Going to a meeting, answering the phone, replying instantly on IMs or email |
| D. Not important/Not urgent | While it would seem pleasant enough to live here permentantly, in reality these activities are time wasters that should be eliminated as much as possible. | Playing video games, surfing the net, getting a tea or coffee, flicking through the magazine on your desk |
How does this help?
Covey’s point is that if we have a long list of items and activities and we are struggling to prioritise them, spending 20 minutes writing the list down and assigning each task A, B, C or D can help clarify importance.
For me the interesting part is that we should not be spending too much time in A. This goes against our natural reaction that A is good – probably the fault of our education system. In fact category A is considered beneficial only in the short term. We are not overly productive even if we spend a lot of time on A category tasks. We really want to shift our attention to more longer term plans.
Category B on the other hand is considered the sweet spot. This is where we are doing our best work. It is where we will be ticking off a lot of our important long term goals. Yes we all have different goals but the majority of the goals we want to achieve fit into B – non urgent and important.
For category C there is a great saying ‘The quadrant of deception’. These are tasks we THINK are urgent but in reality they are not. Considered to be a distraction, get used to politely saying no to any activities in the C category. We should look to regain control of our time and not be forced to respond when it suits others.
 It’s okay to roam across each of these four quadrants but if we identify we are spending too much time in quadrant D we need to step back, reassess and pick up a task more aligned to our goals – ideally something from category B.
Money => mouth
While this is useful in theory, we of course need to be realistic. You should factor in time for impromptu interruptions – saying no to every meeting isn’t possible and this isn’t an excuse to push back difficult tasks. However, the next time your to-do list gets unmanageable, take time out to clarify your priorities.
Now my current my to-do list looks like this…
- Investigate a blip in our API performance
(A)
- Scope out our next API
(B)
- Improve the way our current API deploys to production
(B)
- Send out a team update to interested parties
(C)
- Go and grab a cup of tea :)
(D)


| chipKIT Sketch Help |
When working with the sketch, you may want to make changes to the chipKIT core files that are copied/referenced in the MPLAB X project. The core library file, libCore.a, is not rebuilt automatically when files are changed. It must be rebuilt manually, as follows:Save the changes, then start the core build by right-clicking on the project in the Projects tab, and select “Rebuild Core Library,” (see Figure: Rebuild Core Library). If there are any issues with building the core due to your changes, they must be resolved in order for the application to be built.Figure: Rebuild Core LibraryFigure: Output Message
|
Microchip Support
Help Updated: 2017-04-13 14:25:13Z
Help Page: 23
|


黒の手番です。11 はどう動かしますか？
Unlimited
pips Black=99 White=45
(CorrectAnswer= 0/0, ErrorScore= 0)
1. 21/17 eq:+0.654 68.26% (G:17.24% B:0.52%) 31.74% (G:2.85% B:0.00%) 2. 18/16(2) eq:+0.555 (-0.099) 64.50% (G:19.40% B:0.56%) 35.50% (G:1.51% B:0.00%) 3. 6/2 eq:+0.491 (-0.163) 60.91% (G:16.33% B:0.45%) 39.09% (G:4.97% B:0.01%) 4. 21/19 18/17(2) eq:+0.462 (-0.192) 64.76% (G:17.65% B:0.53%) 35.24% (G:1.39% B:0.00%) 5. 21/20 6/3 eq:+0.437 (-0.217) 60.62% (G:16.29% B:0.52%) 39.38% (G:5.29% B:0.01%)


Your dataset is currently being validated. Please be patient! This process may take a
while. As long as the application does not produce an error, your dataset is still actively being
processed.
Data Validation
Perform data validation on datasets using trained agents. Depending on the type of agent used, your output may
vary.


type: object
| Field | Required | Type | Description |
|---|---|---|---|
dstOffset |
optional | number |
The offset for daylight-savings time in seconds. This will be zero if
the time zone is not in Daylight Savings Time during the specified
timestamp .
|
errorMessage |
optional | string |
Detailed information about the reasons behind the given status code.
Included if status other than Ok .
|
rawOffset |
optional | number | The offset from UTC (in seconds) for the given location. This does not take into effect daylight savings. |
status |
optional | TimeZoneStatus | See TimeZoneStatus for more information. |
timeZoneId |
optional | string | a string containing the ID of the time zone, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by Unicode Common Locale Data Repository (CLDR) project, and currently available in file timezone.xml. When a timezone has several IDs, the canonical one is returned. In xml responses, this is the first alias of each timezone. For example, "Asia/Calcutta" is returned, not "Asia/Kolkata". |
timeZoneName |
optional | string |
The long form name of the time zone. This field will be localized if the
language parameter is set. eg. Pacific Daylight Time or
Australian Eastern Daylight Time .
|


This rule applies whenever the Variable or counter is declared .
It is good programming practice to give meaningful names to variable and counters
DECLARE x CHARACTER 'asfsd';
DECLARE wrong CHARACTER 'asfsd';


Coffee
Regular
Decaf
Lighter Roasts
Darker Roasts
Brewing Pods
Flavor Syrups
Whole Bean
Ground Coffee
Filter Packs
Tea
Gifts
Merchandise
Drinkware
Ceramic Mugs
Tumblers
Drinking Glasses
Cold Cups
Apparel
Hoodies
T-Shirts
Gloves
Scarfs
Hats
Accessories
Blankets
Bags & Totes
Book Light
Tablet Covers
Pens
Journals
Equipment
Grinders
Coffee Presses
Teapots & Kettles
Espresso Makers
Coffee Makers


You are now ready to vote!!
Click here to accesss learing materials to help you know more about voting


Presenile dementia and cerebral haemorrhage linked to a mutation at codon 692 of the beta-amyloid precursor protein gene.
Several families with an early-onset form of familial Alzheimer's disease have been found to harbour mutations at a specific codon (717) of the gene for the beta-amyloid precursor protein (APP) on chromosome 21. We now report, a novel base mutation in the same exon of the APP gene which co-segregates in one family with presenile dementia and cerebral haemorrhage due to cerebral amyloid angiopathy. The mutation results in the substitution of alanine into glycine at codon 692. These results suggest that the clinically distinct entities, presenile dementia and cerebral amyloid angiopathy, can be caused by the same mutation in the APP gene.


Please read the web service primer to understand how to provide proper authentication parameters. For simplicity, authentication parameters are not shown here.
This is an overview of the chart image service, which can generate PNG format images of your data. You may also be interested in reading about creating dynamic, live charts here.
Nimbits is integrated into the Google ™ Image Chart API. It works simply by taking the URL parameters of a chart you would request from Google, and adds your point's data to it. You can use the Chart API to embed Nimbits data into web pages, emails and so on.
Before you use Nimbits Charting, try experimenting with making charts using the Chart API itself. There are many tutorials and even a wizard you can use to make charts. http://code.google.com/apis/chart/image/
The Chart API returns an Image in PNG format, generated using parameters in the URL you provide. This example is generated using the url below.
http://chart.apis.google.com/chart?cht=s&chd=t:12,87,75,41,23,96,68,71,34,9|98,60,27,34,56,79,58,74,18,76|84,23,69,81,47,94,60,93,64,54&chxt=x,y&chs=200x125&chco=000000,ffff10 |
Google Chart API adds the chd=t:... which represents the numbers to add to the chart. Simply change the url to nimbits, add point parameters, and remove any chd and Nimbits will add the data for you. The URL above becomes the new URL below.
http://app.nimbits/com/service/chartapi?point=myPoint&cht=s&chxt=x,y&chs=200x125&chco=000000,ffff10
You can add the following parameters to the chart service request to tell nimbits how to format your chart.
http://cloud.nimbits.com/service/chartapi?point=TempF&email=bsautner@gmail.com&cht=lc&chs=200x100&chxt=x,y |


--- layout: post title: Genesis herverteld date: 2004-09-07 12:22:44.000000000 +02:00 type: post parent_id: '0' published: true password: '' status: publish categories: - humble thoughts tags: [] meta: {} author: login: stmaarten email<EMAIL_ADDRESS>display_name: stmaarten first_name: '' last_name: '' ---
Vandaag voor het eerst geluisterd naar een lied dat ik al vaker gehoord heb, maar, blijkbaar, nog nooit op waarde heb geschat: het lied "Forbidden Fruit", uitgevoerd door Nina Simone (van "The Best of Nina Simone", 1992).


Zack is a third year Cognitive Science and Psychology student at UC San Diego. He lives off campus with 4 of his close friends. He works as a assistant meeting space coordinator for HDH Conference Services in the Village at Torrey Pines. He is interested in pursuing a further career either in research or working as a psychologist. He enjoys playing video games and trying out new food.


The TextHelper module provides a set of methods for filtering, formatting and transforming strings, which can reduce the amount of inline Ruby code in your views. These helper methods extend Action View making them callable within your template files.
Most text helpers by default sanitize the given content, but do not escape it. This means HTML tags will appear in the page but all malicious code will be removed. Let’s look at some examples using the simple_format method:
simple_format('Example') # => "
Example
" simple_format('Example') # => "
Example
"
If you want to escape all content, you should invoke the h method before calling the text helper.
simple_format h('Example') # => "
Example
"
The preferred method of outputting text in your views is to use the <%= “text” %> eRuby syntax. The regular puts and print methods do not operate as expected in an eRuby code block. If you absolutely must output text within a non-output code block (i.e., <% %>), you can use the concat method.
<% concat "hello" # is the equivalent of <%= "hello" %> if logged_in concat "Logged in!" else concat link_to('login', :action => login) end # will either display "Logged in!" or a login link %>
# File lib/action_view/helpers/text_helper.rb, line 51 def concat(string) output_buffer << string end
Returns the current cycle string after a cycle has been started. Useful for complex table highlighting or any other design need which requires the current cycle string in more than one place.
# Alternate background colors @items = [1,2,3,4] <% @items.each do |item| %> <div style="background-color:<%= cycle("red","white","blue") %>"> <span style="background-color:<%= current_cycle %>"><%= item %>
 <% end %>
# File lib/action_view/helpers/text_helper.rb, line 345 def current_cycle(name = "default") cycle = get_cycle(name) cycle.current_value if cycle end
Creates a Cycle object whose to_s method cycles through elements of an array every time it is called. This can be used for example, to alternate classes for table rows. You can use named cycles to allow nesting in loops. Passing a Hash as the last parameter with a :name key will create a named cycle. The default name for a cycle without a :name key is "default". You can manually reset a cycle by calling reset_cycle and passing the name of the cycle. The current cycle string can be obtained anytime using the current_cycle method.
# Alternate CSS classes for even and odd numbers... @items = [1,2,3,4]
 <% @items.each do |item| %> <tr class="<%= cycle("odd", "even") -%>"> item
 <% end %>
 # Cycle CSS classes for rows, and text colors for values within each row @items = x = [{:first => 'Robert', :middle => 'Daniel', :last => 'James'}, {:first => 'Emily', :middle => 'Shannon', :maiden => 'Pike', :last => 'Hicks'}, {:first => 'June', :middle => 'Dae', :last => 'Jones'}] <% @items.each do |item| %> <tr class="<%= cycle("odd", "even", :name => "row_class") -%>">  <% item.values.each do |value| %> <%# Create a named cycle "colors" %> <span style="color:<%= cycle("red", "green", "blue", :name => "colors") -%>"> <%= value %>  <% end %> <% reset_cycle("colors") %>
 <% end %>
# File lib/action_view/helpers/text_helper.rb, line 317 def cycle(first_value, *values) if (values.last.instance_of? Hash) params = values.pop name = params[:name] else name = "default" end values.unshift(first_value) cycle = get_cycle(name) unless cycle && cycle.values == values cycle = set_cycle(name, Cycle.new(*values)) end cycle.to_s end
Extracts an excerpt from text that matches the first instance of phrase. The :radius option expands the excerpt on each side of the first occurrence of phrase by the number of characters defined in :radius (which defaults to 100). If the excerpt radius overflows the beginning or end of the text, then the :omission option (which defaults to “…”) will be prepended/appended accordingly. The resulting string will be stripped in any case. If the phrase isn’t found, nil is returned.
excerpt('This is an example', 'an', :radius => 5) # => ...s is an exam... excerpt('This is an example', 'is', :radius => 5) # => This is a... excerpt('This is an example', 'is') # => This is an example excerpt('This next thing is an example', 'ex', :radius => 2) # => ...next... excerpt('This is also an example', 'an', :radius => 8, :omission => '<chop> ') # => <chop> is also an example
You can still use excerpt with the old API that accepts the radius as its optional third and the ellipsis as its optional forth parameter:
excerpt('This is an example', 'an', 5) # => ...s is an exam... excerpt('This is also an example', 'an', 8, '<chop> ') # => <chop> is also an example
# File lib/action_view/helpers/text_helper.rb, line 157 def excerpt(text, phrase, *args) return unless text && phrase options = args.extract_options! unless args.empty? ActiveSupport::Deprecation.warn "Calling excerpt with radius and omission as arguments is deprecated. " "Please call with :radius => #{args[0]}#{", :omission => '#{args[1]}'" if args[1]} instead.", caller options[:radius] = args[0] || 100 options[:omission] = args[1] || "..." end options.reverse_merge!(:radius => 100, :omission => "...") phrase = Regexp.escape(phrase) return unless found_pos = text.mb_chars =~ /(#{phrase})/ start_pos = [ found_pos - options[:radius], 0 ].max end_pos = [ [ found_pos + phrase.mb_chars.length + options[:radius] - 1, 0].max, text.mb_chars.length ].min prefix = start_pos > 0 ? options[:omission] : "" postfix = end_pos < text.mb_chars.length - 1 ? options[:omission] : "" prefix + text.mb_chars[start_pos..end_pos].strip + postfix end
Highlights one or more phrases everywhere in text by inserting it into a :highlighter string. The highlighter can be specialized by passing :highlighter as a single-quoted string with 1 where the phrase is to be inserted (defaults to ‘1’)
highlight('You searched for: rails', 'rails') # => You searched for: rails highlight('You searched for: ruby, rails, dhh', 'actionpack') # => You searched for: ruby, rails, dhh highlight('You searched for: rails', ['for', 'rails'], :highlighter => '\1') # => You searched for: rails highlight('You searched for: rails', 'rails', :highlighter => '\1') # => You searched for: rails
You can still use highlight with the old API that accepts the highlighter as its optional third parameter:
highlight('You searched for: rails', 'rails', '\1') # => You searched for: rails
# File lib/action_view/helpers/text_helper.rb, line 111 def highlight(text, phrases, *args) options = args.extract_options! unless args.empty? ActiveSupport::Deprecation.warn "Calling highlight with a highlighter as an argument is deprecated. " "Please call with :highlighter => '#{args[0]}' instead.", caller options[:highlighter] = args[0] || '\1' end options.reverse_merge!(:highlighter => '\1') text = sanitize(text) unless options[:sanitize] == false if text.blank? || phrases.blank? text else match = Array(phrases).map { |p| Regexp.escape(p) }.join('|') text.gsub(/(#{match})(?![^<]*?>)/, options[:highlighter]) end.html_safe end
Attempts to pluralize the singular word unless count is 1. If plural is supplied, it will use that when count is > 1, otherwise it will use the Inflector to determine the plural form
pluralize(1, 'person') # => 1 person pluralize(2, 'person') # => 2 people pluralize(3, 'person', 'users') # => 3 users pluralize(0, 'person') # => 0 people
# File lib/action_view/helpers/text_helper.rb, line 198 def pluralize(count, singular, plural = nil) "#{count || 0} " + ((count == 1 || count =~ /^1(\.0+)?$/) ? singular : (plural || singular.pluralize)) end
Resets a cycle so that it starts from the first element the next time it is called. Pass in name to reset a named cycle.
# Alternate CSS classes for even and odd numbers... @items = [[1,2,3,4], [5,6,3], [3,4,5,6,7,4]]
 <% @items.each do |item| %> <tr class="<%= cycle("even", "odd") -%>"> <% item.each do |value| %> <span style="color:<%= cycle("#333", "#666", "#999", :name => "colors") -%>"> <%= value %>  <% end %> <% reset_cycle("colors") %>
 <% end %>

# File lib/action_view/helpers/text_helper.rb, line 369 def reset_cycle(name = "default") cycle = get_cycle(name) cycle.reset if cycle end
# File lib/action_view/helpers/text_helper.rb, line 55 def safe_concat(string) output_buffer.respond_to?(:safe_concat) ? output_buffer.safe_concat(string) : concat(string) end
Returns text transformed into HTML using simple formatting rules. Two or more consecutive newlines(\n\n) are considered as a paragraph and wrapped in
 tags. One newline (\n) is considered as a linebreak and a
 tag is appended. This method does not remove the newlines from the text.
You can pass any HTML attributes into html_options. These will be added to all created paragraphs.
:sanitize - If false, does not sanitize text.
my_text = "Here is some basic text...\n...with a line break." simple_format(my_text) # => "
Here is some basic text...\n
...with a line break.
" more_text = "We want to put a paragraph...\n\n...right there." simple_format(more_text) # => "
We want to put a paragraph...
\n\n
...right there.
" simple_format("Look ma! A class!", :class => 'description') # => "
Look ma! A class!
" simple_format("I'm allowed! It's true.", {}, :sanitize => false) # => "
I'm allowed! It's true.
"
# File lib/action_view/helpers/text_helper.rb, line 266 def simple_format(text, html_options={}, options={}) text = '' if text.nil? text = text.dup start_tag = tag('p', html_options, true) text = sanitize(text) unless options[:sanitize] == false text = text.to_str text.gsub!(/\r\n?/, "\n") # \r\n and \r -> \n text.gsub!(/\n\n+/, "
\n\n#{start_tag}") # 2+ newline -> paragraph text.gsub!(/([^\n]\n)(?=[^\n])/, '\1
') # 1 newline -> br text.insert 0, start_tag text.html_safe.safe_concat("
") end
Truncates a given text after a given :length if text is longer than :length (defaults to 30). The last characters will be replaced with the :omission (defaults to “…”) for a total length not exceeding :length.
Pass a :separator to truncate text at a natural break.
The result is not marked as HTML-safe, so will be subject to the default escaping when used in views, unless wrapped by raw(). Care should be taken if text contains HTML tags or entities, because truncation may produce invalid HTML (such as unbalanced or incomplete tags).
truncate("Once upon a time in a world far far away") # => "Once upon a time in a world..." truncate("Once upon a time in a world far far away", :length => 17) # => "Once upon a ti..." truncate("Once upon a time in a world far far away", :length => 17, :separator => ' ') # => "Once upon a..." truncate("And they found that many people were sleeping better.", :length => 25, :omission => '... (continued)') # => "And they f... (continued)" truncate("
Once upon a time in a world far far away
") # => "
Once upon a time in a wo..."
# File lib/action_view/helpers/text_helper.rb, line 85 def truncate(text, options = {}) options.reverse_merge!(:length => 30) text.truncate(options.delete(:length), options) if text end
Wraps the text into lines no longer than line_width width. This method breaks on the first whitespace character that does not exceed line_width (which is 80 by default).
word_wrap('Once upon a time') # => Once upon a time word_wrap('Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding a successor to the throne turned out to be more trouble than anyone could have imagined...') # => Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding\n a successor to the throne turned out to be more trouble than anyone could have\n imagined... word_wrap('Once upon a time', :line_width => 8) # => Once upon\na time word_wrap('Once upon a time', :line_width => 1) # => Once\nupon\na\ntime
You can still use word_wrap with the old API that accepts the line_width as its optional second parameter:
word_wrap('Once upon a time', 8) # => Once upon\na time
# File lib/action_view/helpers/text_helper.rb, line 223 def word_wrap(text, *args) options = args.extract_options! unless args.blank? ActiveSupport::Deprecation.warn "Calling word_wrap with line_width as an argument is deprecated. " "Please call with :line_width => #{args[0]} instead.", caller options[:line_width] = args[0] || 80 end options.reverse_merge!(:line_width => 80) text.split("\n").collect do |line| line.length > options[:line_width] ? line.gsub(/(.{1,#{options[:line_width]}})(\s+|$)/, "\\1\n").strip : line end * "\n" end
Generated with the Darkfish Rdoc Generator 2.


A set of directives for entering date, time or both.
This directive creates a datepicker widget with dropdown calendar. This directive expects that scope property specified in ngModel will be a Date, and will modify only year/month/day components of this Date, time will remain unchanged. Supported attributes:
Seppuku date: {{ selectedDate.toString() }}
This directive creates a time-input widget. This directive expects that scope property specified in ngModel will be a Date, and will modify only hours/minutes/seconds components of this Date, year/month/day will remain unchanged. Supported attributes:
Widget combining both fsTime
and fsDate
.
Allows to enter both Date components.
Entered datetime: {{ selectedDateTime.toString() }}
This directive creates calendar and allows to select date.
Selected date: {{ selectedDate.toString() }}


public class Mat
extends java.lang.Object
Note: Armadillo's Mat is stored by column-major-ordering, while EJML's DenseMatrix64F is stored by row-major ordering. In order to be similar to Armadillo, all interfaces work as if column-major-ordering were used and internally convert to row-major ordering.
| Modifier and Type | Field and Description |
|---|---|
private org.ejml.data.DenseMatrix64F |
_matrix
The internal data representation of the matrix.
|
int |
n_cols
The number of columns in the matrix.
|
int |
n_elem
|
int |
n_rows
The number of rows in the matrix.
|
| Constructor and Description |
|---|
Mat()
Creates a new matrix with
n_elem = 0. |
Mat(org.ejml.data.DenseMatrix64F matrix)
Creates a new matrix by referencing to the provided one.
|
Mat(double[][] matrix)
Creates a new matrix with the same dimensions and assignments as the provided two-dimensional array.
|
Mat(int numberOfRows,
int numberOfColumns)
|
Mat(Mat matrix)
Creates a new matrix by copying the provided one.
|
| Modifier and Type | Method and Description |
|---|---|
double |
at(int n)
Returns the value of the nth element of a column-major-ordered one-dimensional view of the matrix.
|
double |
at(int i,
int j)
Returns the value of the element at the nth row and jth column.
|
void |
at(int i,
int j,
Op operation,
double operand)
Performs a right-hand side operation on the value of the element at the nth row and jth column.
|
void |
at(int n,
Op operation,
double operand)
Performs a right-hand side operation on the value of the nth element of a column-major-ordered
one-dimensional view of the matrix.
|
Mat |
col(int j)
Return a copy of the jth column as a (
n_rows , 1) matrix. |
void |
col(int j,
Op operation,
double operand)
Performs a right-hand side element-wise operation on all elements of the jth column.
|
void |
col(int j,
Op operation,
Mat operand)
Performs a right-hand side element-wise operation on all elements of the jth column.
|
private int |
convertMajorOrdering(int n)
Converts the position of an element based on a column-major-ordered one-dimensional view of the matrix into a
row-major-ordered based one, in order to provide interfaces similar to Armadillo's Mat while using EJML's
DenseMatrix64F.
|
Mat |
diag()
|
void |
diag(Op operation,
double operand)
Performs a right-hand side element-wise operation on all elements on the main diagonal.
|
void |
diag(Op operation,
Mat operand)
Performs a right-hand side element-wise operation on all elements on the main diagonal.
|
Mat |
divide(double operand)
Creates a new matrix being the quotient of a right-hand side (element-wise) division with the provided divisor.
|
Mat |
divide(Mat operand)
Creates a new matrix being the quotient of a right-hand side matrix division with the provided divisor.
|
void |
each_col(Op operation,
double operand)
Performs the provided right-hand side element-wise operation on each column.
|
void |
each_col(Op operation,
Mat operand)
Performs the provided right-hand side element-wise operation on each column.
|
void |
each_row(Op operation,
double operand)
Performs the provided right-hand side element-wise operation on each row.
|
void |
each_row(Op operation,
Mat operand)
Performs the provided right-hand side element-wise operation on each row.
|
Mat |
elem(Mat selection)
Returns a copy of all elements for which selection.at(n) > 0 holds as a (
Arma.accu (
Arma.find(selection, Op.STRICT_GREATER, 0) ), 1) matrix. |
void |
elem(Mat selection,
Op operation,
double operand)
Performs the provided right-hand side element-wise operation on all elements for which selection.at(n) > 0 holds.
|
void |
elem(Mat selection,
Op operation,
Mat operand)
Performs the provided right-hand side element-wise operation on all elements for which selection.at(n) > 0 holds.
|
Mat |
elemDivide(double operand)
Creates a new matrix being the quotient of a right-hand side (element-wise) division with the provided divisor.
|
Mat |
elemDivide(Mat operand)
Creates a new matrix being the quotient of a right-hand side (element-wise) division with the provided divisor.
|
Mat |
elemTimes(double operand)
Creates a new matrix being the product of a right-hand side (element-wise) multiplication with the provided
multiplier.
|
Mat |
elemTimes(Mat operand)
Creates a new matrix being the product of a right-hand side (element-wise) multiplication with the provided
multiplier.
|
static Mat |
eye(int numberOfRows,
int numberOfColumns)
|
void |
fill(double value)
Replaces the value of all elements with the provided one.
|
private static double |
getResult(double a,
Op operation,
double b)
Performs the requested binary arithmetic operation on
a and b or sets a to
the value of b if operation = . |
Mat |
i()
Returns the inverse matrix.
|
org.ejml.data.DenseMatrix64F |
memptr()
Returns a reference to the internal data representation of the matrix.
|
Mat |
minus(double operand)
Creates a new matrix being the difference of a right-hand side (always element-wise) subtraction with the provided
subtrahend.
|
Mat |
minus(Mat operand)
Creates a new matrix being the difference of a right-hand side (always element-wise) subtraction with the provided
subtrahend.
|
static Mat |
ones(int numberOfRows,
int numberOfColumns)
|
Mat |
plus(double operand)
Creates a new matrix being the sum of a right-hand side (always element-wise) summation with the provided operand.
|
Mat |
plus(Mat operand)
Creates a new matrix being the sum of a right-hand side (always element-wise) summation with the provided
right-hand side addend.
|
static Mat |
randn(int numberOfRows,
int numberOfColumns,
java.util.Random rng)
|
static Mat |
randu(int numberOfRows,
int numberOfColumns,
java.util.Random rng)
|
void |
reshape(int numberOfRows,
int numberOfColumns)
Equivalent to
reshape(numberOfRows, numberOfColumns, true) |
void |
reshape(int numberOfRows,
int numberOfColumns,
boolean rowWise)
|
void |
resize(int numberOfRows,
int numberOfColumns)
|
Mat |
row(int i)
Return a copy of the ith row as a (1,
n_cols ) matrix. |
void |
row(int i,
Op operation,
double operand)
Performs a right-hand side element-wise operation on all elements of the ith row.
|
void |
row(int i,
Op operation,
Mat operand)
Performs a right-hand side element-wise operation on all elements of the ith row.
|
void |
set_size(int numberOfRows,
int numberOfColumns)
|
Mat |
t()
Returns the transpose of the matrix.
|
Mat |
times(double operand)
Creates a new matrix being the product of a right-hand side (element-wise) multiplication with the provided
multiplier.
|
Mat |
times(Mat operand)
Creates a new matrix being the product of a right-hand side matrix multiplication with the provided multiplier.
|
java.lang.String |
toString() |
private void |
updateAttributes()
|
static Mat |
zeros(int numberOfRows,
int numberOfColumns)
|
private org.ejml.data.DenseMatrix64F _matrix
public int n_rows
public int n_cols
public int n_elem
Mat(org.ejml.data.DenseMatrix64F matrix)
matrix
- The matrix to be referenced.public Mat()
n_elem
= 0.public Mat(double[][] matrix)
array[rows][columns]
.matrix
- The two-dimensional array to be converted into a matrix.public Mat(int numberOfRows, int numberOfColumns)
numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.public Mat(Mat matrix)
matrix
- The matrix to be copied.public double at(int n)
at(i, j)
= at(i + j * n_rows)
.n
- The position of the element.at(int, int)
public double at(int i, int j)
i
- The row of the element.j
- The column of the element.at(int)
public void at(int n, Op operation, double operand)
at(i, j)
= at(i + j * n_rows)
.n
- The position of the left-hand side operand.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.at(int, int, Op, double)
,
getResult(double, Op, double)
public void at(int i, int j, Op operation, double operand)
i
- The row of the left-hand side operand.j
- The column of the left-hand side operand.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.at(int, Op, double)
,
getResult(double, Op, double)
public Mat row(int i)
n_cols
) matrix.i
- The row to be copied.public void row(int i, Op operation, Mat operand) throws java.lang.IllegalArgumentException
i
- The row of the left-hand side operands.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.java.lang.IllegalArgumentException
- Thrown if the number of columns of the left-hand side does not match with the
provided right-hand side operand.getResult(double, Op, double)
public void row(int i, Op operation, double operand)
i
- The row of the left-hand side operands.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.getResult(double, Op, double)
public Mat col(int j)
n_rows
, 1) matrix.j
- The column to be copied.public void col(int j, Op operation, Mat operand) throws java.lang.IllegalArgumentException
j
- The column of the left-hand side operands.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.java.lang.IllegalArgumentException
- Thrown if the number of rows of the left-hand side does not match with the
provided right-hand side operand.getResult(double, Op, double)
public void col(int j, Op operation, double operand)
j
- The column of the left-hand side operands.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.getResult(double, Op, double)
public Mat diag()
public void diag(Op operation, Mat operand) throws java.lang.IllegalArgumentException
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.java.lang.IllegalArgumentException
- Thrown if the number of elements on main diagonal does not match with the provided
right-hand side operand.public void diag(Op operation, double operand)
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.public void each_col(Op operation, Mat operand)
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.col(int, Op, Mat)
public void each_col(Op operation, double operand)
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.col(int, Op, double)
public void each_row(Op operation, Mat operand)
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.row(int, Op, Mat)
public void each_row(Op operation, double operand)
operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.row(int, Op, double)
public Mat elem(Mat selection) throws java.lang.IllegalArgumentException
Arma.accu
(
Arma.find(selection, Op.STRICT_GREATER, 0)
), 1) matrix.selection
- The selection to be used.java.lang.IllegalArgumentException
- Thrown if the number of elements of the matrix does not match with the provided
selection.public void elem(Mat selection, Op operation, Mat operand)
selection
- The selection to be used.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.public void elem(Mat selection, Op operation, double operand)
selection
- The selection to be used.operation
- The operation to be performed. See getResult(double, Op, double)
for more details.operand
- The right-hand side operand.public void fill(double value)
value
- The new value of all elements.public org.ejml.data.DenseMatrix64F memptr()
public Mat t()
public Mat i()
public void set_size(int numberOfRows, int numberOfColumns)
n_rows
= numberOfRows
and n_cols
=
numberOfColumns
and neither guarantees to reuse the values of the elements, nor their positions.numberOfRows
- The new number of rows of the matrix.numberOfColumns
- The new number of columns of the matrix.reshape(int, int, boolean)
,
resize(int, int)
public void reshape(int numberOfRows, int numberOfColumns, boolean rowWise)
n_rows
= numberOfRows
and n_cols
=
numberOfColumns
and guarantees to reuses the values of the elements, but not their positions. The
elements of the current matrix are either accessed row-wise (rowWise = true
) or column-wise (
rowWise = false
), while the new matrix is always filled column-wise.numberOfRows
- The new number of rows of the matrix.numberOfColumns
- The new number of columns of the matrix.rowWise
- The access of the elements of the current matrix .set_size(int, int)
,
resize(int, int)
public void reshape(int numberOfRows, int numberOfColumns)
reshape(numberOfRows, numberOfColumns, true)
numberOfRows
- The new number of rows of the matrix.numberOfColumns
- The new number of columns of the matrix.public void resize(int numberOfRows, int numberOfColumns)
n_rows
= numberOfRows
and n_cols
=
numberOfColumns
and guarantees to reuses the values of the elements and their positions.numberOfRows
- The new number of rows of the matrix.numberOfColumns
- The new number of columns of the matrix.set_size(int, int)
,
reshape(int, int, boolean)
public java.lang.String toString()
toString
in class java.lang.Object
public static Mat zeros(int numberOfRows, int numberOfColumns)
numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.public static Mat ones(int numberOfRows, int numberOfColumns)
numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.public static Mat eye(int numberOfRows, int numberOfColumns)
numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.public static Mat randn(int numberOfRows, int numberOfColumns, java.util.Random rng)
n_rows
= numberOfRows
and n_cols
=
numberOfColumns
and normally distributed pseudorandom values.numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.rng
- The pseudorandom generator to be used.public static Mat randu(int numberOfRows, int numberOfColumns, java.util.Random rng)
n_rows
= numberOfRows
and n_cols
=
numberOfColumns
and uniformly distributed pseudorandom values.numberOfRows
- The number of rows of the matrix to be created.numberOfColumns
- The number of columns of the matrix to be created.rng
- The pseudorandom generator to be used.public Mat plus(double operand)
operand
- The right-hand side operand.public Mat plus(Mat operand)
operand
- The right-hand side addend.public Mat minus(double operand)
operand
- The subtrahend.public Mat minus(Mat operand)
operand
- The subtrahend.public Mat times(double operand)
operand
- The multiplier.elemTimes(double)
public Mat times(Mat operand)
operand
- The multiplier.public Mat elemTimes(double operand)
operand
- The multiplier.times(double)
public Mat elemTimes(Mat operand)
operand
- The multiplier.public Mat divide(double operand)
operand
- The divisor.elemDivide(double)
public Mat divide(Mat operand)
operand
- The divisor.public Mat elemDivide(double operand)
operand
- The divisor.divide(double)
public Mat elemDivide(Mat operand)
operand
- The divisor.private static double getResult(double a, Op operation, double b) throws java.lang.UnsupportedOperationException
a
and b
or sets a
to
the value of b
if operation = Op.EQUAL
.a
- The left-hand side operand.operation
- The operation to be performed. Only arithmetic operators and equality are supported.b
- The right-hand side operand.java.lang.UnsupportedOperationException
- Thrown if another operation besides arithmetic operators or equality is
requested.Op
private void updateAttributes()
private int convertMajorOrdering(int n) throws java.lang.IllegalArgumentException
n
- The position based on column-major-ordering.java.lang.IllegalArgumentException
- Thrown if a negative value is provided for the position.


QuickStart
The quickstart is a NuGet package that sets you with a sample building on Bifrost. With the quickstart you get a Web based project that showcases Bifrost in an end-to-end scenario.
Step by Step
Note
The quickstart has only been tested with Visual Studio 2015, it might work with Visual Studio for Mac as well. For Visual Studio Code and using .NET Core and project.json - it will restore all packages and you get to compile and run. But all the artifacts making up the sample is not put into the project folder. This tutorial focuses on the Visual Studio 2015 experience.
Start a new project:
Select .NET Framework 4.6.1 and ASP.NET Web Application, give it a name and click OK:
Select the Empty template:
Manage the NuGet packages for the project:
Browse / Search for Bifrost and find the latest QuickStart package and then click Install:
During installation it will ask you accept licenses, accept these:
You're now ready to run:
You should now see the following result:
Whats in the package
The package consists of configuration code and a sample running through the end to end of Bifrost.
Configurator
The Configurator.cs
file is the entrypoint that Bifrost is looking for to configure it all.
You can read more about how you can configure Bifrost here.
ContainerCreator
The ContainerCreator.cs
file is where the IoC container is configured.
Bifrost is heavily relying on dependency inversion. And has
been built from the ground up to rely on something providing these dependencies.
Index
The index.html
is the starting point of the application. Notice the following line:

It represents a navigation frame, explained in detail here.
You can find the home
view in which it is referring to in the HumanResources/Employees
folder.
The viewModel for the view is automatically hooked up by convention. Read more about how views work here.
Packages
QuickStart depends on other Bifrost packages to get started. It has taken a few decisions for you and is also configured in the simplest way that could possibly work.
The following packages has been pulled in:
| Package | Purpose |
|---|---|
| Bifrost | The core of Bifrost |
| Bifrost.JSON | JSON Serializer used throughout - utilizing NewtonSoft.JSON |
| Bifrost.Ninject | Implementation for Ninject - IoC container |
| Bifrost.FluentValidation | Implementation for validation using FluentValidation |
| Bifrost.Web | The Web part - including the Bifrost JavaScript SPA framework |