A small Promise-based client for executing FHEM commands via FHEMWEB, supporting SSL, Basic Auth and CSRF Token. Uses Node.js http or https module, depending on the protocol specified in the URL; no further dependencies.
It provides the methods execCmd, execPerlCode and callFn to interact with FHEM. See the full documentation for details.
Completely rewritten in TypeScript, targeting ES2020.
0.1.2: Specify request options for http[s].get via property Options.getOptions of
options param of FhemClient.constructor.
Especially useful to set a request timeout. There is a built-in timeout, but that's pretty long.
FYI: Setting RequestOptions.timeout merely generates an event when the specified time has elapsed,
but we actually abort the request.
0.1.1: Added specific error codes instead of just 'EFHEMCL'.
const fhemClient = new FhemClient(
{
url: 'https://localhost:8083/fhem',
username: 'thatsme',
password: 'topsecret',
getOptions: { timeout: 2000 }
}
);
fhemClient.expirationPeriod = 20000;
asyncfunctionexample()
{
await fhemClient.execCmd('get hub currentActivity')
.then(
result =>console.log('Current activity:', result),
// Like below, but in plain JS.// You may also write it like this in TS with the following directive for @typescript-eslint, in case you are using it:// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/restrict-template-expressionse =>console.log(`Error: Message: ${e.message}, code: ${e.code}`)
);
await fhemClient.execPerlCode('join("\n", map("Device: $_, type: $defs{$_}{TYPE}", keys %defs))')
.then(
(result: string) =>console.log(`Your devices:\n${result}`),
// This is correct TS code:// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access(e: Error) =>console.log(`Error: Message: ${e.message}, code: ${(e asany).code asstring}`)
);
// Notify your companion device that your server application is shutting down// by calling its function 'serverEvent' with arguments <device hash>, 'ServerStateChanged', 'ShuttingDown'.await fhemClient.callFn('myDevice', 'serverEvent', true, false, 'ServerStateChanged', 'ShuttingDown');
}
void example()
A small Promise-based client for executing FHEM commands via FHEMWEB, supporting SSL, Basic Auth and CSRF Token.
Uses Node.js http or https module, depending on the protocol specified in the URL; no further dependencies.
It provides the methods
execCmd
,execPerlCode
andcallFn
to interact with FHEM.See the full documentation for details.
Changelog
FhemClient.callFn
now acceptsboolean
args.Options.retryIntervals
ofoptions
param ofFhemClient.constructor
.FhemClient.expirationPeriod
Options.agentOptions
ofoptions
param ofFhemClient.constructor
.Options.getOptions
ofoptions
param ofFhemClient.constructor
.Especially useful to set a request timeout. There is a built-in timeout, but that's pretty long.
FYI: Setting RequestOptions.timeout merely generates an event when the specified time has elapsed, but we actually abort the request.
Examples
Import
TypeScript
import FhemClient = require('fhem-client');
JavaScript
const FhemClient = require('fhem-client');
Usage
const fhemClient = new FhemClient( { url: 'https://localhost:8083/fhem', username: 'thatsme', password: 'topsecret', getOptions: { timeout: 2000 } } ); fhemClient.expirationPeriod = 20000; async function example() { await fhemClient.execCmd('get hub currentActivity') .then( result => console.log('Current activity:', result), // Like below, but in plain JS. // You may also write it like this in TS with the following directive for @typescript-eslint, in case you are using it: // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/restrict-template-expressions e => console.log(`Error: Message: ${e.message}, code: ${e.code}`) ); await fhemClient.execPerlCode('join("\n", map("Device: $_, type: $defs{$_}{TYPE}", keys %defs))') .then( (result: string) => console.log(`Your devices:\n${result}`), // This is correct TS code: // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access (e: Error) => console.log(`Error: Message: ${e.message}, code: ${(e as any).code as string}`) ); // Notify your companion device that your server application is shutting down // by calling its function 'serverEvent' with arguments <device hash>, 'ServerStateChanged', 'ShuttingDown'. await fhemClient.callFn('myDevice', 'serverEvent', true, false, 'ServerStateChanged', 'ShuttingDown'); } void example()


Redis runs as a background process that listens to a specific port (6379 by default) for incoming requests from clients. Running multiple instances requires a separate conf file and a new init script. The conf file specifies details for the new instance, and the init script handles starting/stopping of the instance background process.
Make a copy of the redis.conf file at C:\Program Files\Redis\Conf and give it a new name redis-s1.conf. Leave both files in the same directory C:\Program Files\Redis\Conf
Open the redis-s1.conf with your favorite text editor (e.g. notepad ) and change the following:
PID File
Port
Log File
Data Directory (don’t forget to create that directory)
For replication only : If you planning to use this instance as a slave in master-slave replication setting (where <IP_ADDRESS> is the master instance IP, 6379 in the master instance port)
To start the new instance
To connect to the new instance
Now you can have multiple Redis instances on the same server like any other DBMS.


Student Entrepreneur. Aspiring Product Manager. Curious Individual
Find Out More about meHi, I'm Ryan! I am in my final year of study at UNC Chapel Hill studying Political Science, Information Systems, and Entrepreneurship. I am currently working as a Product Management Intern with 3x3 Insights and as a Venture Fellow with Cofounders Capital. I've started and scaled two of my own ventures, Cardinal Direction Pac and Raise Technologies. I previously worked with Anthos Capital as a Private Equity Analyst, the Kenan Institute as a Researcher, and was a prior digital campaign manager for two North Carolina District Court Races. I am fortunate to have studied political economy and innovation in Singapore as well as Arabic language in Morocco. I am looking to pursue a operations or product-facing role in the fintech or enterprise SaaS space after graduating from UNC in May while continuing to work on various side projects.
View My Resume
Anthos Capital is a growth equity firm focussed on investing in companies on the forefront of change. Anthos makes minority investments in compnaies in the consumer, enterprise software, financial technology, and healthcare space. As a former growth equity analyst I sourced and diligenced companies in the enterprise SaaS and fintech space.
I am currently a Product Management Intern at 3x3 Insights working on product activation and go to market strategy for flavor profiling products using artificial inteligence. 3x3 is redefining the way retailers, brands and grocery stores acquire new customers and drive demand in the beverage alcohol space. We unlock growth by connecting brands to their ideal customers at independent retailers through a data-led personalized journey to commerce, both in-store and offline.
Raise Technologies provided a marketplace for entrepreneurs to identify funding opportunities by delivering connections and insights from sources including social media, private market data, and founder reviews. Using machine learning and data visualization, Raise's platform directly integrates into CRM and investor relations management software. As the Co-Founder & Head of Product, I helped drive the launch of a minimum viable product with 3,000 funding opportunities, developed the product roadmap, and also secured $10,000 in funding. With Raise, my team and I had the privilage of participating in Launch Chapel Hill and the Duke Technology Commercialization Program.
Cardinal Direction PAC, know as CDPAC, was a 527 Political Action Committee dedicated to supporting bi-partisan candidates below the age of 40 running for state and local offices in North Carolina. Managed business development, organizational structure, and fundraising. As Director, I raised $5,000 in total donations
I blog about tech, startups, VC and student entreprenuership. Check out my Substack and Medium below
Outside of class and work, I love to travel, hike, read, cook, weightlift, and invest in stocks, crypto, etc. If there wasn't a global pandemic going on, I would either be backpacking across Europe, climbind Mt. Kilamanjaro, or hanging out in Southeast Asia. I have hiked a large portion of the Appalachain Trail and plan on climbing Mt. Kilamanjaro after graduation in May.
Given my love of travel, here is a list of my favorite landmarks in some of the countries I have been.
Let's Chat!
Get On My Calendar


We see our clients as our own family, and nothing is more important to us than family. With todays advancing technology, we strive to provide clear assessments of your needs, highest quality service, and expert cost-efficient solutions geared to make your network safe, secure, and stress free – in the most cost effective manner.
Your satisfaction is our primary focus. Each client is unique, as is each project. As such, we assess each project and strive to design all encompassing custom tailored solutions for our clients. We guarantee a full analysis of the task(s) and/or project(s), ensure that our clients are provided with an assessment of the solution(s), along with a quote outlining the product(s) and/or service(s) needed, along with alternative solutions based on your budgetary guidelines. Each solution will be explained in a simple manner in order to ensure your decision making process is as easy and clear as possible. This model allows you the option to choose the solution that makes the most sense for you, and ultimately ensures that you are fully satisfied with the final implementation.
With great service comes great satisfaction. We are always available for your referrals, and thank you in advance for suggesting our services to your friends, coworkers and family. Each and every project we complete bears our signature, with and we are always aware of that to ensure the quality of the service you receive.
Because we see our clients as family, we understand that each and every project needs to be followed up in order to ensure our customer’s system is reaching his/her expectation.
With over 15 years of Customer Support and Helpdesk Management experience, we are able to ensure the right solutions for your needs in a way that’s sure to resolve your problems, all within your budget.
Backing up your data first, into your/our an external hard drive, clean up all kind of Viruses, Trojans, Malware, Spyware, Adware and Root Toolkit, on the site or offsite at our office. Scanning your computer with a bootable media with Anti virus. Free 15 minutes tutorial how to protect your PC from viruses, and installing necessary pop-up and malware blockers.
Cleaning up any kind of Viruses, Toolbars, Trojans, Malware, Spyware, Adware and Root Toolkit. Cleaning up unnecessary softwares, temp files, optimize the computer, defragment the hard drive to make the computer faster. Windows & hardware drivers updates, free Microsoft’s Windows Security Essential anti-virus installation.
Securely share files, internet and printers anywhere in your office or home. Safe and secure wireless network installation. Setup your router to improve download/internet speed. Block unnecessary ports to prevent intrusion and enhance the security.
Provide you an advice for the right equipment to achieve what you need for the higher service quality and standards. Our prices are guaranteed to the lowest from the major retailers as we buy our equipment by using our re-seller account on the major distributors.
We provide backup services for your company/home data. We set up an external hard disk drive on the network to backup every computer’s data in a private folders where only the owner of that person can access for privacy. In case of hardware of software failure, or virus or spayware issues, your data will be safe to be restored. Cloud backup option; providing a secure and password protected online backup services. The encryption is not being shared with online storage unit even using Google Drive Service. Offsite backup system; Additional external hard drive to backup the data in the network, then this external hard drive will be taken to customer’s house/office to keep it in safe.
A remote-access VPN allows you to establish secure connections with a remote computer network, weather you are working from home or your cottage, yacht, vacation. MAC network, TimeMachine, AppleTv, iPad, iPhone support We can create a Mac network where all your Macbooks, iMacs, iPads, iPhones can be backed up to TimeMachine with your personal password, also shared media library to see all selected music, video and pictures to be shared with everyone in the Mac Network securely.
We can connect to your network securely and provide remote support while you are having problems, we can resolve them remotely to provide faster service. This way, we can also provide remote maintenance on off hours with setting up a convenient time for you to work and for us to work to complete the job.
In case of your an incident, where your PC is not being able to used, we can provide a temporary PC for your use during the outage. This is a Free of charge service for customers. Once your PC is up and running, we will clean the PC to its default settings to ensure the privacy as well as data security.
Web Developer and Designer
Ceo and Founder


Posted by beautifulSoup on March 22, 2016
Posted by BeautifulSoup on March 6, 2016
Posted by Klojure on March 1, 2016
Posted by Klojure on February 28, 2016
Posted by Klojure on January 30, 2016
Posted by Klojure on January 29, 2016
Posted by Klojure on January 14, 2016


object ClassUtil
An utility class, which provides methods for handling classes.
Author
Michael Rapp
Since
1.0.0
fun getTruncatedName(clazz: Class<*>): String
Returns a truncated version of a specific class' full qualified name. For example, if the full qualified name of the class is 'com.xyz.Abc', the result will be 'c.x.Abc'. |


{% from 'macros.html' import analysis_macro %}
{{ analysis_macro('Weekly', league_id, current_week, weeks, analysis,
'The values listed are weekly values. For example, a PTS margin of +100 against an opponent means that if you had played
that opponent this week, you would win PTS by a margin of +100.') }}


Users have consistently found that the most effective way to learn Go kit is to study and learn from example services. Here you can find some examples that will orient you to Go kit idioms, patterns, and best practices.
stringsvc is a tutorial that takes you through writing a service from first principles. It can help you understand the decisions that went into Go kit’s design.
addsvc is the original example service. It exposes a set of operations over all supported transports. It’s fully logged, instrumented, and uses distributed tracing. It also demonstrates how to create and use client packages. It demonstrates almost all of Go kit’s features.
profilesvc demonstrates how to use Go kit to write a microservice with a REST-ish API. It uses net/http and the excellent Gorilla web toolkit.
shipping is a complete, “real-world” application composed of multiple microservices, based on Domain Driven Design principles.
apigateway demonstrates how to implement the API gateway pattern backed by a Consul service discovery system.


{% extends "registration/base.html" %} {% load i18n %} {% block content %}
{% trans "You have successfully been logged out." %}


Pinhole camera model - a C++ implementation
Camera is the starting point of perceiving the world, and it is one of the most components in the computer vision/graphics library. This post discusses the implementation of a pinhole camera model WITHOUT lens distortion. Please refer to camera part 3 for camera with lens distortion.
The camera class should have the following methods:
- constructor
- projection matrix;
- intrinsic matrix (), rotation matrix (), translation ();
- parameters: intrinsics (), extrinsics ().
- update projection matrix ():
update_projection()
; - update intrinsic matrix (), rotation matrix (), translation ():
update_matrices()
; - update parameters:
update_parameters()
; - update camera center:
update_center()
; - update axes:
update_axes()
; - pixel to ray:
pixel2ray()
; - project from 3D point to 2D point:
Vec2f project(const Vec3f&)
; - re-project from 2D point to 3D point:
Vec3f unproject(const Vec2f&, const int d)
- compute depth:
compute_depth()
- possiblly more
header file
The header file of the camera
class
class Camera
{
public:
Camera();
Camera(const std::vector<float>& r_intrinsics, const std::vector<float>& r_extrinsics);
Camera(const Mat34f& r_projection);
Camera(const Mat3f& R, const Vec3f& t);
Camera(const Mat3f& K, const Mat3f& R, const Vec3f& t);
virtual ~Camera();
void update_projection();
void update_parameters();
void update_matrices(const int is_proj = 1);
void update_center();
void update_axes();
int decompose(Mat3f & K, Mat3f& R) const;
const Mat34f& projection() const;
Mat34f& projection();
const Vec3f& direction() const;
Vec3f& direction();
const Vec3f& center() const;
Vec3f& center();
Vec3f pixel2ray(const Vec2f& pixel) const;
Vec3f project(const Vec4f& coord) const;
Vec4f unproject(const Vec3f& icoord) const;
float compute_depth(const Vec4f& coord) const;
private:
Vec3f center_; // optical center
Vec3f oaxis_; // optical axis
Vec3f xaxis_; // x-axis of the camera-centered coordinate system
Vec3f yaxis_; // y-axis of the camera-centered coordinate system
Vec3f zaxis_; // z-axis of the camera-centered coordinate system
Mat34f projection_; // projection matrix
Mat3f K_; // intrinsic matrix
Mat3f R_; // rotation
Vec3f om_; // axis-angle
Vec3f t_; // translation
std::vector<float> intrinsics_; // intrinsic params: f_x, f_y, c_x, c_y, alpha
std::vector<float> extrinsics_; // extrinsic params: om(0), om(1), om(2), t(0), t(1), t(2);
};
Decompose projection matrix
The camera matrix, or often named projection matrix is a matrix. Sometimes a fourth row is added to make a matrix. Let’s denote the camera matrix as , and is often decomposed into
where is an invertible matrix, and is the camera center in the world coordinates. The camera matrix can be further decomposed into an intrinsic matrix , and an extrinsic one, :
The properties of these matrices are:
- is a upper-triangular matrix, which is usually represented as , where , and are the focal length, and and are the center of the image plane, all in pixel;
- is a orthonormal matrix, where each column is the axes of the world coordinates in the camera’s coordinate system. It’s apprent in the following example: ;
- is the camera center in the world coordinate system, while is the world origin in the camera coordinate system since .
Estimate and from projection matrix
We know that all full rank matrices can be decomposed into an upper-triangular matrix and an orthogonal matrix by using RQ-decomposition, and this is exactly the case with and . RQ decomposition is normally unavailable in many numeric libraries. A nice post in Solem’s vision blog gives an implementation of this decomposition in Python, a Matlab implementation is given in this post.
function [R Q] = rq(M)
[Q,R] = qr(flipud(M)')
R = flipud(R');
R = fliplr(R);
Q = Q';
Q = flipud(Q);
The problem of RQ-decomposition is that the solution is not unique, since negating the sign of any column of K and the corresponding row of R gives the exactly same projection matrix. We may enforce the diagonal elements of to be non-negative, but it is true under the following conditions:
- the X/Y axes of the image coordinate system are in the same direction as those of the camera coordinate system;
- the camera looks down in the positive direction.
Solem’s post gives the positive diagonal elements in the following code:
% non-negative diagonal elements
T = sign(K);
K = K * T;
R = T * R % the inverse of T is itself
Enforcing this assumption might be unjustified for cases mentioned above. Thus, we need to carry out several steps to correct and from the non-negative decomposition.
- If the image axis and camera axis point in opposite directions, negate the first column of and the first row of .
- If the image axis and camera axis point in opposite directions, negate the second column of and the second row of .
- If the camera looks down the negative axis, negate the third column of and negate the third column of .
- If the determinant of is -1, negate it.
Conventions of image coordinate system
- Matlab-style:
- origin: top-left
- axis: point right
- axis: point down
- Math-style:
- origin: bottom-left
- axis: point right
- axis: point up
Conventions of camera coordinate system
- OpenGL-style:
- axis: point right
- axis: point up
- camera looks down the negative axis
- Hartley&Zisserman-style:
- axis: point right
- axis: point down
- camera looks down the positive axis
Update
Decompose is the easiest, since is invertible, and is the fourth column of the camera matrix , thus


--- layout: post status: publish published: true title: MsmqActivities Updated author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 138 wordpress_url: http://winterdom.com/2006/08/msmqactivitiesupdated date: '2006-08-19 11:44:21 +0000' date_gmt: '2006-08-19 11:44:21 +0000' categories: - ".NET" - WinFX - Workflow tags: [] comments: [] ---
I just uploaded an updated version of my MSMQ Activities for Windows Workflow Foundation. You can download the updated code from here.
Here are some of the changes:


 All right reserved. |
Design by |
|
|
| |
|
|


{% extends "base.html" %} {% block title %} Alcohol Treatment Centre - Login {% endblock %} {% block navbar -%} {% endblock -%} {% block page_content -%} {% import "macros.html" as helper %}


06 November 1998
Disease Outbreak Reported
The Ministry of Health of Uganda is investigating reports of plague in the district of Arua. Since April, 49 cases have been reported. WHO is awaiting confirmation of the number of deaths. Cases of human plague have been recorded on 3 occasions over the past 30 years: in 1982 (153 cases, 3 deaths); 1986 (340 cases, 27 deaths); and 1993 (167 cases, 18 deaths).


Oh no! The email didn't send properly.
Can you please send it again?
Click here to go back to the email


Explore and create
Topics that are important for you.
Share
Express your opinion.
Create together
Create a new service.
Work with service providers
Create together.
Ready!
The service is available for everyone!
The 4 most popular topics being discussed
SoCaTel in numbers
421
Topics
221
Users
8,364
Messages
750
Ideas


#include <svector.h>
Public Member Functions | |
| SVector (Int increment_power_of_two=8) | |
| Constructor. | |
| ~SVector () | |
| Destructor. | |
| void | Clear () |
| Destroys stored objects & releases memory. | |
| Int | Size () |
| Returns number of elements. | |
| void | Resize (Int size) |
| Resizes vector to hold size elements. | |
| const T & | ElementAt (Int index) const |
| Returns reference to element at specified index. | |
| T & | ElementAt (Int index) |
| Returns reference to element at specified index. | |
| const T & | operator[] (Int index) const |
| Returns reference to element at specified index. | |
| T & | operator[] (Int index) |
| Returns reference to element at specified index. | |
| void | Add (const T &t) |
| Adds element at the end of SVector. | |
| Int | IndexOf (const T &element) const |
| Return index of element in SVector, -1 if there is no match. |
Memory allocated for stored objects never reallocates, so pointers to stored object are valid until svector is cleared.
| T | type of stored objects. |
|
|
Constructor.
|


Alite Projects
Processing the file.
For upto 10 MB file, while take 1-2 minute(s).
DO NOT REFRESH/RELOAD THIS PAGE.
Download the File (one time clickable link)
Click to Download


Lowe’s to close 34 ‘underperforming’ stores in Canada, cut more jobs
by Nicolas Van PraetLowe’s Cos. Inc. is closing 34 stores across six provinces and cutting more jobs as the U.S. home-improvement retailer struggles to find its way in the Canadian market after the $3.2-billion takeover of Rona in 2016.
Quebec is bearing the brunt of the closings, with 12 Rona and Réno-Dépôt outlets slated to shut operations early next year, Lowe’s, based in Mooresville, N.C., said in a statement Wednesday. In addition, nine stores will close in Ontario, six in Alberta, three each in British Columbia and Nova Scotia and one in Saskatchewan.
The hardware giant said it remains committed to the Canadian market but needs to optimize its network. In tandem with the store closings, it also plans to eliminate about 100 head-office jobs at its Canadian headquarters in Boucherville, Que., and 30 elsewhere, simplify the five banners it operates and pare down the number of products it offers here. It currently operates about 600 corporate and independent affiliate-dealer stores in this country under the names Lowe’s, Rona, Réno-Dépôt, ACE Canada and Dick’s Lumber.
This is the second time in 12 months that Lowe’s is reducing its footprint in Canada. In November of last year, the company announced that it would shut 27 stores, including nine in Quebec, mostly under the Rona banner.
The latest cuts touched off another round of questions by Quebec’s political leaders about whether employment guarantees sought by the federal government as a condition for approving the Rona takeover three years ago were enough. And they raised new concerns that consumers in the province are starting to sever their relationship with Rona, a homegrown company they once adored.
“I think that sadly what we’re seeing in Quebec, rightly or wrongly, is a sort of rupture with the Rona brand,” Pierre Fitzgibbon, Quebec’s Economy Minister, told reporters Wednesday. “There are many independent [Rona] retailers that don’t deserve that. But it’s a reality.”
Industry conditions for home-improvement retailers in Canada remain difficult but generally positive, buoyed by healthy economies and job growth in many regions, but hurt by lower activity in places such as Alberta. Competition between established and new e-commerce players is fierce.
At the same time, many young consumers cannot afford to buy homes and baby boomers are downsizing. That means fewer purchases for home improvements, industry observers say.
Home-improvement retail sales totalled about $50-billion in Canada last year, according to industry consultancy Hardlines Information Group. The firm expects sales to grow 3.2 per cent this year and 4 per cent for 2020.
Despite the decent outlook for hardware sales in Canada, Lowe’s has struggled.
Both top-line revenue and operating profit in Canada are below the company average, Lowe’s chief financial officer David Denton told analysts on a conference call Wednesday. “It certainly is dragging us down,” he said.
Lowe’s chief executive Marvin Ellison, who has been in the job for just more than a year, blamed the company’s messy operating structure in Canada for failing to keep up with the sales pace in the United States. The company does not break out detailed financials for its Canadian unit.
“We have great associates in Canada. We just gave them a very complex business model that inhibited their ability to serve customers well,” Mr. Ellison said Wednesday. The company currently operates stores under five banners, all with different back-end systems. That made it difficult to optimize costs on things such as marketing, merchandising and sourcing, and so the company is trying to simplify things, he said.
Lowe’s canada closing 34 stores
Planned closures, by province
B.C.
3
6
Alta.
1
Sask.
9
Ont.
12
Que.
3
N.S.
CANADA
UNITED STATES
JOHN SOPINSKI/THE GLOBE AND MAIL
SOURCE: lowe’s CANADA
Lowe’s canada closing 34 stores
Planned closures, by province
B.C.
3
6
Alta.
1
Sask.
9
Ont.
12
Que.
3
N.S.
B.C.
Alta.
Sask.
Ont.
Que.
UNITED STATES
N.S.
JOHN SOPINSKI/THE GLOBE AND MAIL
SOURCE: lowe’s CANADA
Lowe’s canada closing 34 stores
Planned closures, by province
British Columbia
3
6
Alberta
1
Saskatchewan
9
Ontario
12
Quebec
3
Nova Scotia
B.C.
Alta.
Sask.
Ont.
Que.
UNITED STATES
N.S.
JOHN SOPINSKI/THE GLOBE AND MAIL, SOURCE: lowe’s CANADA
The way Lowe’s is organized in Canada – with multiple banners, and store formats and ownership models – can work. But as a public company owned by U.S. investors used to straightforward retail models, Lowe’s doesn’t have the luxury of time to get it right, Hardlines analyst Michael McLarney said.
“Other players in the industry will take a longer view. Lowe’s is under pressure to get things balanced quicker,” Mr. McLarney said. “It’s got to be responsive to [shareholders], which puts a shorter fuse on things.”
Lowe’s said it took a US$53-million impairment charge on its Canadian assets in the third quarter related to the restructuring and expects to incur another charge of between US$175-million and US$225-million in the fourth quarter. In fiscal 2018, it wrote down the value of its Canadian operations by US$952-million.
After a review of its operations, Lowe’s last month parted ways with Sylvain Prud’homme, its top executive in Canada. It also confirmed weeks ago that it would eliminate 60 accounting jobs at its Boucherville offices.
Rona job cuts resonate loudest in Quebec, where the sale of the local hardware champion to Lowe’s in February, 2016, triggered a political firestorm that led to the resignation of a cabinet minister in the former provincial Liberal government. Opposition parties at the time said that the government should not have allowed one of Quebec’s flagship companies to be sold to a U.S. rival, particularly as Rona was a major employer and buyer of locally made goods.
A decision by the government’s investment arm, Investissement Québec, to unload its 11 million shares in Rona, removed its influence ahead of the takeover. But the transaction was chiefly made possible by the decision of pension-fund manager Caisse de dépôt et placement du Québec, Rona’s largest shareholder at the time, to tender its 17-per-cent stake.
As part of its approval of the Rona purchase, the Canadian government struck a confidential agreement with Lowe’s related to jobs, the nature of employment and the Boucherville headquarters, Mr. Fitzgibbon said. Valérie Gonzalo, spokesperson for Lowe’s Canada, insisted the retailer is respecting those commitments.
Your time is valuable. Have the Top Business Headlines newsletter conveniently delivered to your inbox in the morning or evening. Sign up today .


About Andy
Andy Greenhaw is a digital marketing strategist, animator, video editor, writer, and former journalist. He’s worked on projects for the Air Force, Special Forces, the Defense Intelligence Agency, National Defense University, and some of the top attorneys across the county.
As the Digital Strategist, Andy administered the creation and deployment of content through High Impact’s website, product pages, case studies, blog, bi-weekly email blast, trade show brochures, and social media. He also managed High Impact’s Google Adwords, Analytics, and general search engine optimization (SEO). Before High Impact, Andy worked as the Digital Strategist for a marketing agency called Hangar 30 that specialized in communications projects for U.S. military clients.
Andy has twelve years of experience in digital marketing, twelve years of experience in video editing, nine years of experience in computer animation, seven years of experience in email marketing, eight years of experience writing for Search Engine Optimization, five years managing Google Adwords.


The current section describes the architecture of an Angular project deployed in an Enterprise JavaScript Project (EJP).
EJPs have been designed to clearly separate the presentation (front-side)
from the business logic (back-side) of your application. The presentation
is located in the webapp
folder, while the src
directory contains the business logic:
project │ ├─src ├─typings ├─webapp └─tsconfig.json
The tsconfig.json
file ad the typings
folder
define TypeScript configuration settings.
webapp │ ├─app ├─node_modules ├─styles ├─views ├─WEB-INF ├─index.html └─package.json
app │ ├─business ├─components ├─modules ├─services ├─templates ├─main.ts └─systemjs.config.js
The scr
folder usually contains back-side components, such as
jslets and services. JEC specification recommends to separate front-side and
back-side components in different EJPs; so, you should never add components in
the source scr
of a JEC Angular app.
src │ └─jslets ├─AngularApp.ts └─Status.ts
The AngularApp
jslet provides a convenient way to control the
visibility of an application by setting the available routes:
@WebJslet({{'{'}} name: "AngularApp", urlPatterns: [ "/app", "/app/welcome", "/app/project-structure", "/app/lazy-loading/*" ], template: "/views/angular-app.ejs" {{'}'}})


Spurs receive triple injury boost ahead of Jose Mourinho's first home game against Olympiacos
Spurs face Olympiacos on Tuesday night
by Andy HaTottenham could welcome back Jan Vertonghen and Tanguy Ndombele into their squad for the visit of Olympiacos.
The pair both missed Saturday's 3-2 win over West Ham in Jose Mourinho's first game in charge, but were back in full training on Monday ahead of the Champions League group game.
Vertonghen 's hamstring injury has kept him out for the past four weeks but his return to fitness will come as a huge boost to Mourinho ahead of a busy period of games.
Summer signing Ndombele limped off injured with a groin issue at half-time against Sheffield United in the team's last game before the international break, and was also absent for the London derby.
Harry Kane was spotted at Hotspur Way, despite initial concerns over a heavy knock sustained during the win over the Hammers, and should be fit to start.
Mourinho could without Ben Davies, however, with the Welshman not in training despite starting against West Ham.
Erik Lamela also missed the session, as did teenage striker Troy Parrott who is expected to feature for Tottenham's under-19 side in the Uefa Youth League.
Speaking after his first win since replacing Mauricio Pochettino, Mourinho admitted it was a relief to be back in the dugout.
"It was very very important. 11 months without music in the away dressing room, without a smile or happiness," he said.
"They did it. I am very happy for them and with them. If someone only saw the result they'd have thought it was very difficult for us.
"But it was probably closer to a 4-0 than 3-1. I think my players paid the price of a very difficult week. International break, change of manager, new guy, different training sessions.
"The most difficult moments in the 11 months were when I didn't have a pre-season and was looking at other clubs and managers doing it.
"Sometimes I was at football games and I was thinking what am I doing here, in the box or the studio. Today I was were I belong, my natural habitat."


Your account (@{{username}}) is created. Your master password is:
{{ password }}
Make sure you have copied your master password and your private keys.

Private Keys
| Type |
Key |
{% for type, key in keys.items() %}
| {{type}} |
{{key.private}} |
{% endfor %}


Bulma is a modern CSS framework based on Flexbox.
Bulma is in early but active development! Try it out now:
npm install bulma
bower install bulma
https://cdnjs.com/libraries/bulma
Feel free to raise an issue or submit a pull request.
Bulma is a CSS framework. As such, the sole output is a single CSS file: bulma.css
You can either use that file, “out of the box”, or download the Sass source files to customize the variables.
There is no JavaScript included. People generally want to use their own JS implementation (and usually already have one). Bulma can be considered “environment agnostic”: it’s just the style layer on top of the logic.
Bulma uses autoprefixer to make (most) Flexbox features compatible with earlier browser versions. According to Can I use, Bulma is compatible with recent versions of:
Internet Explorer (10+) is only partially supported.
The documentation resides in the docs directory, and is built with the Ruby-based Jekyll tool.
Browse the online documentation here.
Code copyright 2017 Jeremy Thomas. Code released under the MIT license.


{% extends "mainapp/layout.html" %} {% block pagename %}Revise Model{% endblock %} {% block body %}
Here, you can upload a new revision of a model to the repository.
Make sure to package your model correctly: make sure it's in the OBJ format, includes an MTL file, then zip these files, along with their textures. Make sure every file is in the root directory of the zip.
{% with revise=True %} {% with form_file=True %} {% include 'mainapp/modelform.html' %} {% endwith %} {% endwith %}


Infection Risk Estimation for Airborne Transmission
by
BEESL
&
BEST
Lab @ Syracuse University
Input
Base model
Disease
Disease
COVID-19
Influenza
Rhinovirus
Tuberculosis
SARS
Measles
Emission (quanta/h)
Infectious particle size distribution
0.3-1um
1-3um
3-10um
20%
30%
50%
20
50
Room
Type
Office
Conference room
Classroom
Lobby
Guest room
Bistro
Ballroom
Guest room
Exposure duration (h)
Area (m
2
)
Height (m)
Room configuration
Open space
Semi-open space
Ventilation efficiency
Occupant
Total (#persons)
Infector (#persons)
Activity
Sleeping
Sitting
Light intensity (Walking)
Moderate intensity (Running)
Heavy intensity
Inhalation (m
3
/h)
Mask (infector)
None
Cloth
Surgical
N95
Mask efficiency - infector (%)
Mask (susceptible)
None
Cloth
Surgical
N95
Mask efficiency - susceptible (%)
HVAC System
Total supply air (m
3
/h)
Return air fraction (%)
Filter
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
Operation duration (%)
100
Ventilation mode
Mixing
Displacement
Personal
Displacement+Personal
Ventilation efficiency
Devices
Air cleaner (CADR, m
3
/h)
Operation duration (%)
0
Upper-room UVGI (h
-1
)
Operation duration (%)
0
Parametric analysis
Control parametric analysis
Analyzing the effect of control parameters on risk (3 parameters maximum)
HVAC total supply air (m
3
/h)
100% duration time assumed
a.
b.
c.
d.
HVAC return air fraction (%)
100% duration time assumed
a.
b.
c.
d.
HVAC filter
100% duration time assumed
a.
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
b.
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
c.
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
d.
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
Air cleaner CADR (m
3
/h)
100% duration time assumed
a.
b.
c.
d.
Upper-room UVGI (h
-1
)
100% duration time assumed
a.
b.
c.
d.
Strategies
Strategy 1
Ventilation system
Total supply air (m
3
/h)
Return air fraction (%)
Filter
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
Operation duration (%)
100
Ventilation mode
Mixing
Displacement
Personal
Displacement+Personal
Ventilation efficiency
In-room devices
Air cleaner (CADR, m
3
/h)
Operation duration (%)
0
Upper-room UVGI (h
-1
)
Operation duration (%)
0
Room configuration
Room configuration
Open space
Semi-open space
Ventilation efficiency
Personal protective equipment
Mask (infector)
None
Cloth
Surgical
N95
Mask (susceptible)
None
Cloth
Surgical
N95
Strategy 2
Ventilation system
Total supply air (m
3
/h)
Return air fraction (%)
Filter
None
MERV1
MERV2
MERV3
MERV4
MERV5
MERV6
MERV7
MERV8
MERV9
MERV10
MERV11
MERV12
MERV13
MERV14
MERV15
MERV16
HEPA
Operation duration (%)
100
Ventilation mode
Mixing
Displacement
Personal
Displacement+Personal
Ventilation efficiency
In-room devices
Air cleaner (CADR, m
3
/h)
Operation duration (%)
0
Upper-room UVGI (h
-1
)
Operation duration (%)
0
Room configuration
Room configuration
Open space
Semi-open space
Ventilation efficiency
Personal protective equipment
Mask (infector)
None
Cloth
Surgical
N95
Mask (susceptible)
None
Cloth
Surgical
N95
Add strategy
Delete strategy
More
Output
Base model results
Infection Possibility
Risk cannot be estimated
Steady-state
Unsteady-state
Parametric analysis
Control parametric analysis
Strategy analysis
Strategy analysis
Strategy analysis
Infection Possibility
Risk cannot be estimated
Top


Charli XCX stars in cowgirl-themed lingerie campaign for Agent Provocateur
by Emily KirkpatrickYeehaw, cowgirl.
Charli XCX stars in Agent Provocateur’s new Christmas campaign and look book, dressed up as a sexy rodeo queen.
The images are meant to “pay homage to country-western and the Deep South with a Rhinestone Rodeo,” with the 27-year-old pop star clad in a number of racy lingerie sets accessorized with bedazzled gloves, cowboy hats, lassos and bucking broncos, of course.
CHARLI XCX SUFFERS WARDROBE MALFUNCTION DURING TAYLOR SWIFT REPUTATION TOUR PERFORMANCE
In a press release announcing the partnership, the “Boys” singer gushed, “Being a part of AP’s Xmas campaign was iconic! Nothing says Christmas like naughty and nice with a dash of cowgirl. I love all these pieces so much and this whole shoot day was so wild… so fun, it was a pleasure to work with such a legendary brand.”
CHARLI XCX TAKES AIM AT US CHARTS
As for why the label picked the musician for this particular campaign?
CLICK HERE TO GET THE FOX NEWS APP
“I’ve always been a huge fan of Charli’s and we couldn’t imagine anyone better to collaborate with to become our Agent Provocateur Rodeo Queen – she was a natural!,” creative director Sarah Shotton explained. “We wanted to bring some cheeky AP fun and sexiness to the holiday season.”
This article originally appeared in Page Six


Permalink
Newer
100644
117 lines (96 sloc)
3.04 KB
4
5
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
6
gem 'rails', '4.2.4'
9
# Use SCSS for stylesheets
10
gem 'sass-rails', '~> 5.0'
11
# Use Uglifier as compressor for JavaScript assets
12
gem 'uglifier', '>= 1.3.0'
13
# Use CoffeeScript for .coffee assets and views
14
gem 'coffee-rails', '~> 4.1.0'
15
# See https://github.com/rails/execjs#readme for more supported runtimes
16
# gem 'therubyracer', platforms: :ruby
17
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
18
gem 'turbolinks'
20
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
21
gem 'jbuilder', '~> 2.0'
22
# bundle exec rake doc:rails generates the API under doc/api.
23
gem 'sdoc', '~> 0.4.0', group: :doc
24
26
gem 'nokogiri', '1.6.7.rc3', platforms: [:mswin, :mingw, :x64_mingw]
27
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
34
# Use ActiveModel has_secure_password
35
# gem 'bcrypt', '~> 3.1.7'
36
37
# Use Unicorn as the app server
38
# gem 'unicorn'
39
51
# Use Bootstrap (app/assets/stylesheets)
52
gem 'therubyracer', platforms: :ruby
53
gem 'twitter-bootstrap-rails'
58
# Use Jquery as the JS lib
59
gem 'jquery-rails'
60
gem 'jquery-ui-rails'
61
# Continuation of CanCan (authoriation Gem for RoR)
62
gem 'cancancan'
63
64
# Typeahead gem
65
gem 'bootstrap-typeahead-rails'
66
# Search Gem
67
gem 'searchlight'
75
# For generating pdfs from documents
76
gem 'wicked_pdf'
77
gem 'wkhtmltopdf-binary'
78
84
group :development, :test do
85
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
86
gem 'byebug'
91
end
92
93
group :development do
94
# Access an IRB console on exception pages or by using <%= console %> in views
95
gem 'web-console', '~> 2.0'
97
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
98
gem 'spring'
102
# an IRB alternative and runtime developer console
103
gem 'pry'
104
gem 'pry-rails'
114
# Stubbing external calls by blocking traffic with WebMock.disable_net_connect! or allow:
115
#gem 'webmock'


{{>header}} {{>nav this}}
The polyfill service is a community resource, designed for everyone, and welcomes contributions from everyone.
We want to encourage more people to get involved in the polyfill service, so the Financial Times is pleased to offer one month's free premium access to all FT content (normally $50) to anyone who has a pull request merged in this repository. Claim your free access.
See the README for installation information
The service part of the project is pretty simple, and there are few strict conventions. In lieu of any formal standards, try to take care to follow existing conventions. Some of these are defined in .editorconfig
and .eslintrc
files.
Our polyfills are where the varied talents of the open source community can make this service really great. Consider helping us out by adding, improving, testing or configuring a polyfill. The following detailed guides will help you get started:
All contributions to the polyfill service are made under the MIT licence. It is important therefore that you agree to the following when contributing code to the service:
It is helpful to us if you can clearly state your agreement to the above terms when creating a pull request. If you don't, you may be asked to post a followup comment to accept the terms, before we can merge your PR.


Default
Half Rating
Fluid Rating
Small Images
Large Images
Preset Rating
Read-Only
Lots of images
rtl (right-to-left) Images
Style Rating
Hide Rating
Capture Rating
You have selected a Rating of: {{rating}}
Capture Mouse Over Rating
You are currently over: {{currentRating}}
Resetable Ratings
Inline Images
Rated
by our customers.


C Tutor - Visualize C code execution to learn C online
(also visualize
Python2
,
Python3
,
Java
,
JavaScript
,
TypeScript
,
Ruby
,
C
, and
C++
code)
Write code in
C (gcc 4.8, C11)
Someone is typing ...
Visualize Execution
Live Programming Mode


public class WaitTouchSensor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
CLICKED
Identifies the clicked button action (pressed and released).
|
static byte |
PRESSED
Identifies the pressed button action.
|
static byte |
RELEASED
Identifies the released button action.
|
protected static long |
WAIT_TIME
Constant that defines the time to wait (in milliseconds) before making a
new check to finish the wait.
|
| Constructor and Description |
|---|
WaitTouchSensor(SensorPort sensorPort,
byte waitAction)
Constructor method, defines the action to wait and the port where the
touch sensor is connected.
|
WaitTouchSensor(TouchSensor touchSensor,
byte waitAction)
Constructor method, defines the action to wait and the touch sensor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonClickedAction()
Method that wait for the click of the button (pressed and released).
|
protected void |
buttonPressedAction()
Method that wait for the pression of the button.
|
protected void |
buttonReleasedAction()
Method that wait for the release of the button.
|
TouchSensor |
getTouchSensor()
Get the touch sensor.
|
byte |
getWaitAction()
Get the wait action.
|
boolean |
isPressedButton()
Method that tells if the sensor is pressed.
|
void |
setTouchSensor(TouchSensor touchSensor)
Set the touch sensor.
|
void |
setWaitAction(byte waitAction)
Set the comparison wait action checking that the wait action is valid.
|
void |
waitTouch()
Main method that finishes the wait based on the wait action.
|
protected static final long WAIT_TIME
public static final byte PRESSED
public static final byte RELEASED
public static final byte CLICKED
public WaitTouchSensor(TouchSensor touchSensor, byte waitAction)
touchSensor
- The touch sensor.waitAction
- The wait action.public WaitTouchSensor(SensorPort sensorPort, byte waitAction)
sensorPort
- The port of the touch sensor.waitAction
- The wait action.public TouchSensor getTouchSensor()
public byte getWaitAction()
public void setTouchSensor(TouchSensor touchSensor)
touchSensor
- The touch sensor.public void setWaitAction(byte waitAction)
waitAction
- The comparison wait action.public boolean isPressedButton()
protected void buttonPressedAction() throws java.lang.InterruptedException
java.lang.InterruptedException
- If an interrupted exception occurred.protected void buttonReleasedAction() throws java.lang.InterruptedException
java.lang.InterruptedException
- If an interrupted exception occurred.protected void buttonClickedAction() throws java.lang.InterruptedException
java.lang.InterruptedException
- If an interrupted exception occurred.public void waitTouch()


Crystals
Collector
Crystal 3
Crystal 4
Crystal 2
Crystal 1
="controls" class = "music"> Your browser does not support the
audio
element.


Text to Morse Code.
Maximum 32 letters only. No spaces, numbers or special characters
Text:
Upload text


Filters
Select Location
Cuisine
Cost For Two
Sort
The Big Chill Cakery
FORT
Shop 1, Plot D, Samruddhi Complex, Chincholi …
CUISINES:
COST FOR TWO:
Bakery
₹700
The Bake Shop
FORT
Shop 1, Plot D, Samruddhi Complex, Chincholi …
CUISINES:
COST FOR TWO:
Bakery
₹700


{% extends "base_generic.html" %} {% load crispy_forms_tags %} {% block title %}
Your username and password didn't match. Please try again.
{% endif %} {% if next %} {% if user.is_authenticated %}Your account doesn't have acces to this page. To proceed, please login with an account that has access.
{% else %}Introduce your credentials to log in or go to sign up if you're not a member yet.
{% endif %} {% endif %} {# Assumes you setup the password_reset view in your URLconfig #} {% endblock %}


Running the Hello World Applet
If all goes well, the applet appears below:
Copyright ©
1996, 1997 Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA. 94043-1100 USA., All rights reserved.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use IterativeContext | |
|---|---|
| edu.uci.ics.jung.algorithms.flows | Methods for calculating properties relating to network flows (such as max flow/min cut). |
| edu.uci.ics.jung.algorithms.importance | |
| edu.uci.ics.jung.algorithms.layout | Algorithms for assigning 2D coordinates (typically used for graph visualizations) to vertices. |
| edu.uci.ics.jung.algorithms.layout.util | Utility classes for updating layout positions. |
| edu.uci.ics.jung.algorithms.scoring | Mechanisms for assigning values (denoting significance, influence, centrality, etc.) to graph elements based on topological properties. |
| edu.uci.ics.jung.algorithms.util | Provides general algorithmic utilities. |
| edu.uci.ics.jung.visualization.layout | Visualization mechanisms related to graph layout: caching, persistence, event-emitting, etc. |
| edu.uci.ics.jung.visualization.util | Utilities for graph visualization. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.flows |
|---|
| Classes in edu.uci.ics.jung.algorithms.flows that implement IterativeContext | |
|---|---|
class |
EdmondsKarpMaxFlow<V,E>
Implements the Edmonds-Karp maximum flow algorithm for solving the maximum flow problem. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.importance |
|---|
| Classes in edu.uci.ics.jung.algorithms.importance that implement IterativeContext | |
|---|---|
class |
AbstractRanker<V,E>
Abstract class for algorithms that rank nodes or edges by some "importance" metric. |
class |
BetweennessCentrality<V,E>
Computes betweenness centrality for each vertex and edge in the graph. |
class |
KStepMarkov<V,E>
Algorithm variant of PageRankWithPriors that computes the importance of a node based upon taking fixed-length random
walks out from the root set and then computing the stationary probability of being at each node. |
class |
MarkovCentrality<V,E>
|
class |
RandomWalkBetweenness<V,E>
Computes betweenness centrality for each vertex in the graph. |
class |
RandomWalkSTBetweenness<V,E>
/** Computes s-t betweenness centrality for each vertex in the graph. |
class |
RelativeAuthorityRanker<V,E>
This class provides basic infrastructure for relative authority algorithms that compute the importance of nodes relative to one or more root nodes. |
class |
WeightedNIPaths<V,E>
This algorithm measures the importance of nodes based upon both the number and length of disjoint paths that lead to a given node from each of the nodes in the root set. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.layout |
|---|
| Classes in edu.uci.ics.jung.algorithms.layout that implement IterativeContext | |
|---|---|
class |
AggregateLayout<V,E>
A Layout implementation that combines
multiple other layouts so that they may be manipulated
as one layout. |
class |
DAGLayout<V,E>
An implementation of Layout suitable for tree-like directed
acyclic graphs. |
class |
FRLayout<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout. |
class |
FRLayout2<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout. |
class |
ISOMLayout<V,E>
Implements a self-organizing map layout algorithm, based on Meyer's self-organizing graph methods. |
class |
KKLayout<V,E>
Implements the Kamada-Kawai algorithm for node layout. |
class |
LayoutDecorator<V,E>
a pure decorator for the Layout interface. |
class |
SpringLayout<V,E>
The SpringLayout package represents a visualization of a set of nodes. |
class |
SpringLayout2<V,E>
The SpringLayout package represents a visualization of a set of nodes. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.layout.util |
|---|
| Fields in edu.uci.ics.jung.algorithms.layout.util declared as IterativeContext | |
|---|---|
protected IterativeContext |
VisRunner.process
|
| Constructors in edu.uci.ics.jung.algorithms.layout.util with parameters of type IterativeContext | |
|---|---|
VisRunner(IterativeContext process)
Creates an instance for the specified process. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.scoring |
|---|
| Classes in edu.uci.ics.jung.algorithms.scoring that implement IterativeContext | |
|---|---|
class |
AbstractIterativeScorer<V,E,T>
An abstract class for algorithms that assign scores to vertices based on iterative methods. |
class |
AbstractIterativeScorerWithPriors<V,E,S>
An abstract class for iterative random-walk-based vertex scoring algorithms that have a fixed probability, for each vertex, of 'jumping' to that vertex at each step in the algorithm (rather than following a link out of that vertex). |
class |
EigenvectorCentrality<V,E>
Calculates eigenvector centrality for each vertex in the graph. |
class |
HITS<V,E>
Assigns hub and authority scores to each vertex depending on the topology of the network. |
class |
HITSWithPriors<V,E>
A generalization of HITS that permits non-uniformly-distributed random jumps. |
class |
PageRank<V,E>
Assigns scores to each vertex according to the PageRank algorithm. |
class |
PageRankWithPriors<V,E>
A generalization of PageRank that permits non-uniformly-distributed random jumps. |
class |
VoltageScorer<V,E>
Assigns scores to vertices according to their 'voltage' in an approximate solution to the Kirchoff equations. |
| Uses of IterativeContext in edu.uci.ics.jung.algorithms.util |
|---|
| Classes in edu.uci.ics.jung.algorithms.util that implement IterativeContext | |
|---|---|
class |
IterativeProcess
Provides basic infrastructure for iterative algorithms. |
| Uses of IterativeContext in edu.uci.ics.jung.visualization.layout |
|---|
| Classes in edu.uci.ics.jung.visualization.layout that implement IterativeContext | |
|---|---|
class |
CachingLayout<V,E>
A LayoutDecorator that caches locations in a clearable Map. |
class |
LayoutTransition<V,E>
|
class |
ObservableCachingLayout<V,E>
A LayoutDecorator that fires ChangeEvents when certain methods are called. |
class |
PersistentLayoutImpl<V,E>
Implementation of PersistentLayout. |
| Uses of IterativeContext in edu.uci.ics.jung.visualization.util |
|---|
| Fields in edu.uci.ics.jung.visualization.util declared as IterativeContext | |
|---|---|
protected IterativeContext |
Animator.process
|
| Constructors in edu.uci.ics.jung.visualization.util with parameters of type IterativeContext | |
|---|---|
Animator(IterativeContext process)
|
|
Animator(IterativeContext process,
long sleepTime)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Next: symbol-macrolet, Previous: macroexpand, Up: Evaluation and Compilation Dictionary
define-symbol-macro
symbol expansion
⇒ symbol
symbol—a symbol.
expansion—a form.
Provides a mechanism for globally affecting the macro expansion of the indicated symbol.
Globally establishes an expansion function for the symbol macro named by symbol. The only guaranteed property of an expansion function for a symbol macro is that when it is applied to the form and the environment it returns the correct expansion. (In particular, it is implementation-dependent whether the expansion is conceptually stored in the expansion function, the environment, or both.)
Each global reference to symbol (i.e., not shadowed_2 by a binding for a variable or symbol macro named by the same symbol) is expanded by the normal macro expansion process; see Symbols as Forms. The expansion of a symbol macro is subject to further macro expansion in the same lexical environment as the symbol macro reference, exactly analogous to normal macros.
The consequences are unspecified if a special declaration is made for symbol while in the scope of this definition (i.e., when it is not shadowed_2 by a binding for a variable or symbol macro named by the same symbol).
Any use of setq to set the value of the symbol while in the scope of this definition is treated as if it were a setf. psetq of symbol is treated as if it were a psetf, and multiple-value-setq is treated as if it were a setf of values.
A binding for a symbol macro can be shadowed_2 by let or symbol-macrolet.
(defvar *things* (list 'alpha 'beta 'gamma)) ⇒ *THINGS* (define-symbol-macro thing1 (first *things*)) ⇒ THING1 (define-symbol-macro thing2 (second *things*)) ⇒ THING2 (define-symbol-macro thing3 (third *things*)) ⇒ THING3 thing1 ⇒ ALPHA (setq thing1 'ONE) ⇒ ONE *things* ⇒ (ONE BETA GAMMA) (multiple-value-setq (thing2 thing3) (values 'two 'three)) ⇒ TWO thing3 ⇒ THREE *things* ⇒ (ONE TWO THREE) (list thing2 (let ((thing2 2)) thing2)) ⇒ (TWO 2)
If symbol is already defined as a global variable, an error of type program-error is signaled.
symbol-macrolet, macroexpand; macroexpand-1
Next: symbol-macrolet, Previous: macroexpand, Up: Evaluation and Compilation Dictionary


Create game
Create a new game
Message goes here
Friend name
Remove from game?
Friend name
Add to game?
Player name
Add to game?


kml.poly
Create a 2D polygon with vertices given by longitude and latitude.
Contents
Syntax
kml.poly(long, lat, alt) kml.poly(...,'PropertyName',PropertyValue,...)
Description
Creates a 2D polygonal form, with vertices given by longitude and latitude.
The units for latitude and longitude are normally given in degrees, but this can be changed by calling: kml.useDegrees; or kml.useRadians; before plotting.
It is possible to fine tune the polygon properties using name-value pairs:
kml.poly(...,'PropertyName',PropertyValue,...)
Properties
| Property Name | Type | Description |
|---|---|---|
| 'name' | string | Name of the polygon in the kml file |
| 'id' | string | Internal id of this plot inside the kml |
| 'description' | string | A short description of what the polygon represents |
| 'visibility' | true/false | Control the initial visibility of the polygon |
| 'lineColor' | kml color string | Defines the color of the polygon lines. Must be a valid hex color string input, in the style AABBGGRR |
| 'polyColor' | kml color string | Defines the color of the polygon faces. Must be a valid hex color string input, in the style AABBGGRR |
| 'lineWidth' | double | Defines the width of the polygon lines. Set to zero to show no lines. |
| 'altitude' | double | Altitude where the 2D polygon should be plotted. Input in meters. |
| 'altitudeMode' | string | Choose if the altitude value is absolute to the earth model, relative to the ground level, or should be clamped to the ground. Valid inputs: 'absolute', 'relativeToGround', 'clampToGround' |
| 'extrude' | true/false | Enables or disables extruding the polygon to the ground. |
| 'tessellate' | true/false | Tesselates the polygon into the ground, so that it will be visible within the terrain contour |
| 'timeStamp' | kml date string | Associates the polygon to a moment in time. Should not be used together with timeSpan. Should be a string in the XML time format (more information available here) |
| 'timeSpanBegin' | kml date string | Defines the moment in time where the polygon starts to exist. Should not be used together with timeStamp. Should be a string in the XML time format (more information available here) |
| 'timeSpanEnd' | kml date string | Defines the moment in time where the polygon finishes to exist. Should not be used together with timeStamp. Should be a string in the XML time format (more information available here) |
Example
% Create a new kml object k = kml('my kml file'); % Creates a set of cylinders in the kml, at coordinates representing the most populated % cities in the world, with the height of the cylinder proportional to the population. % % Population Data Copyright notice: © by Stefan Helders www.world-gazetteer.com tp = linspace(0,360,20); cities = load('cities.mat'); cities = cities.cities; cmap = jet(20); pops = linspace(min([cities(:).Population]),max([cities(:).Population]),20); for i = 1:numel(cities) color = [interp1(pops,cmap(:,1),cities(i).Population) interp1(pops,cmap(:,2),cities(i).Population) interp1(pops,cmap(:,3),cities(i).Population)]; color = min(max(floor(color*255),0),255); [r,g,b,a] = deal(color(1),color(2),color(3),255); [rhex, ghex, bhex, ahex ]= deal(dec2hex(r),dec2hex(g),dec2hex(b),dec2hex(a)); if length(rhex)==1,rhex=['0' rhex];end if length(ghex)==1,ghex=['0' ghex];end if length(bhex)==1,bhex=['0' bhex];end if length(ahex)==1,ahex=['0' ahex];end colorHex = [ahex bhex ghex rhex]; k.poly(cities(i).Longitude + 0.5*sind(tp),cities(i).Latitude + 0.5*cosd(tp), ... 'altitude',sqrt(cities(i).Population)*5e2,... 'altitudeMode','relativeToGround', ... 'extrude',true,... 'name',[cities(i).Name '[' cities(i).Country ']'],... 'lineWidth',0,... 'polyColor',colorHex); end % Save the kml and open it in Google Earth k.run;
This is the result of running this example:
This file is part of the kml toolbox. Copyright 2012 Rafael Fernandes de Oliveira (rafael@rafael.aero)


Meet Dogor, the 18,000-year-old puppy found in Siberia
Scientists have discovered the perfectly preserved body of a puppy believed to be more than 18,000 years old in a remote part of northeast Siberia.
The discovery was made in the summer of 2018, two hours from Belaya Gora, in the Sakha Republic of Russia, by a team of researchers from Centre for Palaeogenetics in Stockholm.
The male puppy appears to have been just two months old when it died, and lay undisturbed in permafrost, according to the Siberian Times.
Genome analysis in recent months uncovered that the pup was a male, according to the CPG, who added that the pup had been named Dogor, the Yakutian word for friend, by colleagues in Russia.
Even at 18,000 years old, Dogor is a mere pup compared to a previous discovery in Siberia - when a 40,000-year-old wolf's head was found.


MEST Mentor Platform
{% if user.user_profile == "Administrator" %}
Dashboard
{% endif %}
Search
Messages
{{user.first_name}}
Logout
Search result
Mentors (0)
Search for Mentor by Expertise
Search for Mentor by Industry
ANALYTICS
Data Mining
Funnels
Google Analytics
Mobile Analytics
Web Analytics
BUSINESS DEVELOPMENT
Customer Development
Customer Service
Market Research
Partnerships Sponsorship
Sales
DESIGN
Game Design
Graphic Design
Infographics
Interactive Design
Product Design
UI
Usability Testing
UX
FINANCIAL/ACCOUNTING
Accounting Best Practices
Accounting Software
Financial Models
HUMAN RESOURCES
Coaching And Leadership
Hiring
Interviewing
Recruitment
Training
LEGAL
Contract Formulation
Copyrighting
Incorporation
Intellectual Property
Licensing
Negotiations
Trademarks
MARKETING
Affiliate Marketing
Branding
Email Marketing
Guerilla Marketing
Internet Marketing
Pricing
Viral Marketing
MEST STRIKE FORCE
Scaling Expert
SEO Expert
UI/UX Expert
Virality Expert
OPERATIONS
Process Optimization
Quality Assurance/ Management
PROJECT MANAGEMENT
Agile Product Development
Lean Startup Methodology
Project Management Tools
Scrum
SALES
Sales Funnel
Sales Management
Sales Process
TECHNOLOGY
Advanced Web Applications
Algorithms
Analytics
Android
Artificial Intelligence
Big Data
Computer Graphics
Copywriting
Database
Data Mining
Infrastructure Scaling
Interactive User Interfaces
iOS
Java
J2ME
Linux
Mathematics
Networking
NLP
NoSQL + Memcached
Performace Optimization
PHP
Python
Ruby on Rails
Security
SEO
Server Side
System Analysis And Design
Advertising
Cloud Services
Education
Enterprise Software
Events
Fashion
Financial Services
Games
Clean Tech
Hardware
Healthcare
SMB
Media
Mobile
Music
Payments
Photography
Recruting
Retail
Sharing
Social Impact
Sports
Travel
Video
Mentors
Mentor Profile
SUMMARY
EXPERIENCE
Education
ENDORSED FOR
INDUSTRIES
EXPERTISE
COMMENTS/RATINGS
Submit


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.csr.returns.RefundMethod atg.commerce.csr.returns.CreditCardRefundMethod
public class CreditCardRefundMethod
This component encapsulates data for a credit card refund
The #saveRefundMethod(RepositoryItem, Order)
is used to load refund method properties from repository item.
if you add additional properties to refund method and it needs to be loaded to the refund method object, you need
to extend this method.
The saveRefundMethod(MutableRepositoryItem)
is used to save refund method properties to repository item.
if you add additional properties to refund method and it needs to be saved in the repository, you need
to extend this method.
loadRefundMethod(RepositoryItem, Order)
,
saveRefundMethod(MutableRepositoryItem)
,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.commerce.csr.returns.RefundMethod |
|---|
CREDIT_CARD_TYPE, mMaximumRefundAmount, NO_LIMIT, RETURN_MANAGER_PATH, STORE_CREDIT_TYPE, UNKNOWN_TYPE |
| Constructor Summary | |
|---|---|
CreditCardRefundMethod()
Construct this object |
|
CreditCardRefundMethod(CreditCard pCreditCard)
Construct this object using a specific credit card |
|
CreditCardRefundMethod(CreditCard pCreditCard,
double pAmount)
Construct this object with a specific credit card and amount |
|
CreditCardRefundMethod(java.lang.String pType)
Construct this object using a given type |
| Method Summary | |
|---|---|
CreditCard |
getCreditCard()
Returns credit card related to this record |
java.lang.String |
getCreditCardSuffix()
Returns the last four digits of this credit card's number |
static CreditCardRefundMethod |
getInstance()
Deprecated. |
static CreditCardRefundMethod |
getInstance(CreditCard pCreditCard)
Deprecated. |
void |
loadRefundMethod(RepositoryItem pSource,
Order pOrder)
This method is used to copy the information from the source refund method repository item to refund method instance. |
void |
saveRefundMethod(MutableRepositoryItem pDestination)
This method is used to copy the information from refund method instance to repository item. |
protected void |
setCreditCard(CreditCard pCreditCard)
Sets the credit card related to this record |
| Methods inherited from class atg.commerce.csr.returns.RefundMethod |
|---|
getAmount, getMaximumRefundAmount, getRefundType, getReturnManager, setAmount, setMaximumRefundAmount, setRefundType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public CreditCardRefundMethod()
CreditCardRefundMethod(CreditCard, double)
public CreditCardRefundMethod(CreditCard pCreditCard)
CreditCardRefundMethod(CreditCard, double)
public CreditCardRefundMethod(java.lang.String pType)
CreditCardRefundMethod(CreditCard, double)
public CreditCardRefundMethod(CreditCard pCreditCard, double pAmount)
| Method Detail |
|---|
protected void setCreditCard(CreditCard pCreditCard)
pCreditCard
- the credit cardpublic CreditCard getCreditCard()
public java.lang.String getCreditCardSuffix()
public static CreditCardRefundMethod getInstance(CreditCard pCreditCard)
#CreditCardRefundMethod(CreditCard))
to create CreditCardRefundMethod
.
public static CreditCardRefundMethod getInstance()
#CreditCardRefundMethod())
to create CreditCardRefundMethod
.
public void loadRefundMethod(RepositoryItem pSource, Order pOrder) throws ReturnException
This method calls superloadRefundMethod(RepositoryItem, Order)
to copy base class properties and
sets the creditCard
property.
loadRefundMethod
in class RefundMethod
pOrder
- Credit Card refund method has reference to the payment group.
This pOrder
is used to load the payment group.pSource
- The information to be copied from.
ReturnException
#loadRefundMethod(RepositoryItem, Order)}
public void saveRefundMethod(MutableRepositoryItem pDestination) throws ReturnException
This method calls supersaveRefundMethod(MutableRepositoryItem)
to copy base class properties
and sets the ReturnTools.getPaymentGroupIdPropertyName()
in the repository item.
saveRefundMethod
in class RefundMethod
pDestination
- The information to be copied
ReturnException
#saveRefundMethod(MutableRepositoryItem)}
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


@Alright still building, my PC fans are rumbling for like 20 minutes
[master] Checking for updates and building if required...
[master] Updated to latest
[] Stopping ...
[] Stopped.
[master] Updated to latest
[] Stopping ...
[] Stopped.
[master] Updated to latest
[] Stopping ...
[] Stopped.
[master] Updated to latest
[] Stopping ...
[] Stopped.
[pos64] Checking for updates and building if required...


Constructor new FirebaseSagas() Source: sagas/createFirebaseSagas.js, line 30 Members auth See module auth Source: sagas/createFirebaseSagas.js, line 56 See: auth database See module database Source: sagas/createFirebaseSagas.js, line 41 See: database


Select Category
General
Colleges
Certifications
Duties
Select a REMS member using the
dropdown menus above


You are the commander of Space Rescue Emergency Vessel III. You have spent almost six months alone in space, and your only companion is your computer, Henry. You are steering your ship through a meteorite shower when an urgent signal comes from headquarters- a ship in your sector is under attack by space pirates!
You are the commander of the Lacoonian System Rapid Force response team, in charge of protecting all planets in the System. You learn that the Evil Power Master has zeroed in on three planets and plans to destroy them. The safety of the Lacoonian System depends on you!
#include
void main() {
printf("Hello, World!\n");
}
You are the commander of the Lacoonian System Rapid Force response team, in charge of protecting all planets in the System. You learn that the Evil Power Master has zeroed in on three planets and plans to destroy them. The safety of the Lacoonian System depends on you!
You are the commander of Space Rescue Emergency Vessel III. You have spent almost six months alone in space, and your only companion is your computer, Henry. You are steering your ship through a meteorite shower when an urgent signal comes from headquarters- a ship in your sector is under attack by space pirates!
You are the commander of Space Rescue Emergency Vessel III. You have spent almost six months alone in space, and your only companion is your computer, Henry. You are steering your ship through a meteorite shower when an urgent signal comes from headquarters- a ship in your sector is under attack by space pirates!


Status and information flowing endlessly, giving a certain ambience.
Even if information is not functionally meaningful, the experience is enhance by giving a feeling of authenticity.
Presumably, you want to fill the screen pretty evenly, if browser were in fullscreen mode. But also becareful not to overflow or else you get scrollbars that spoil the effect a little. Hopefully this page is clean and clear enough that you could copy it, rename it, then start copy and pasting segments that you like and just replace the content and order a little and then you have yourself a custom faux console.
A1
A2
A3
A4
A5
B1
B2
B3
B4
B5
C1
C2
C3
C4
C5
D1
D2
D3
D4
D5
E1
E2
E3
E4
E5
Comet designation
Comet name
eccentricity
semimajor axis
period (years)
Inclination (°)
AU)
Absolute magnitude
Last perihelion
Next perihelion
C/1625 A1
0.9183
9.05
27.21
28.98
0.7391
1625/01/31
1662
C/1906 V1
Thiele
0.949
24
110
56.03
1.2086
1906/11/21
2021/06/15[1]
A/2016 TP93
PANSTARRS
0.56
7.5
20.6
138.31
3.291
15.7
2016/10/05
2038
A/2016 VY17
Lemmon
0.852
11.3
38
148.42
1.666
15.8
2017/07/02
2055
floating, wrapping div should display on right if landscape or below if portrait
Present Position
Sector, Quadrant
Coordinates: X, Y
Previous Position
Sector, Quadrant
Sector, Quadrant
Expanse
X, Y
Total Area
Sector Size
Quadrant size
Territorial Control Sectors
Prohibited Sectors
Occupied Sectors


×
Local Weather
Intermediate Frond End Development Projects
°C
°F
...
...
...
...
Humidity:
| WindSpeed:
| Temp:


Find
My Recipes
Shopping List
My Profile
Shopping List
Are you sure you want to print?
Yes
Cancel
Enter your email
Send
Cancel
Email Sent!
Close
List Copied to clipboard!
Close


THE GENERAL'S DAUGHTER A film review by David N. Butterworth Copyright 1999 David N. Butterworth
*** (out of ****)
Big marquee names--Travolta, Stowe, Cromwell, Hutton. Big Men Shouting. A big name director.
With me so far?
A highly-decorated general with political aspirations. His lovely daughter, a career officer, dead--brutalized, raped, and murdered on a backwoods Georgia army base. Possible corruption and cover-ups at the highest echelons of the military. A CID investigation led by a couple of warrant officers who, it transpires, were once an item. And James Woods.
With ingredients like these, you could be excused for writing off "The General's Daughter" as a foregone conclusion long before the first few feet of film pass through the projector. It's true: the latest film by "Con Air" director Simon West is very by the numbers, and there aren't a whole lot of outcomes you won't figure out ahead of time if you've seen this type of picture before.
What makes "The General's Daughter" work, however, is a combination of things which land the film in that eminently satisfying category of "better than expected."
First off, John Travolta and Madeleine Stowe, who play investigators Paul Brenner and Sarah Sunhill, are very good together. There's a nice equilibrium to their chemistry: they're both tough yet have a goofy, playful side to their natures, they can spar with the best of them, they're convincing and likable and very strong. Brenner's a military cop with the power to arrest anyone, no matter how high their rank, and Sunhill's a rape counselor who's thrust together with her former partner to investigate the brutal murder.
James Cromwell plays the general, Clarence Williams III is his chief advisor (spouting lines like "There are three ways of doing things: the right way, the wrong way, and the Army way"), and Leslie Stefanson ("Flubber") is the eponymous Elisabeth Campbell, an attractive Psychiatric Operations adviser who helps Brenner change a tire shortly before her untimely--and truly grisly--end. All three actors are uniformly solid.
The writing, too (by Christopher Bertolini and William Goldman, based on Nelson DeMille's novel), is very sharp. Brenner makes innumerable wisecracks throughout the picture but, surprisingly, many of them hit the target. Brenner's initial head-to-head with Liz's "mentor" Colonel Robert Moore (Woods), in which the two men try to outsmart each other, is almost charming.
The only miscalculation on the writers' part is having Sunhill chide Brenner for "not understanding women," but provide "insights" that are offensive and absurdly out of character.
Unlike his fellow Jerry Bruckheimer protégé Michael Bay ("Armageddon"), director West realizes that constant camera movement doesn't equal drama. "The General's Daughter" is a much subtler piece of filmmaking than "Con Air," for sure, and only once does West introduce a hail of the bullets into the proceedings. He seems to like his helicopters though...
Don't go with your instinct to avoid "The General's Daughter" because you'll miss out on a polished, professional production. You could almost call it an enjoyable experience were the central crime not so monstrous.
-- David N. Butterworth<EMAIL_ADDRESS>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


{% extends 'zenofewords/pages.html' %} {% load render_bundle from webpack_loader %} {% block title %} {{ block.super }} - Thoughts {% endblock title %} {% block pages_title %} Musings on encounters with folly, my own included {% endblock pages_title %} {% block pages_content %}
Not limited to software development.
There are no thoughts at this moment, but do come back later.
{% endblock pages_content %}


Floriculture in Sri Lanka started as an industry in 1970. It has grown substantially during the last few years to become one of Sri Lanka's major foreign exchange generating ventures. Anthurium and Orchid are the most popular tropical cut flowers which are being grown commercially for exports as well as for the local market.
Climate is a major factor that affects the reduction of harvest. Anthurium plants need a shady and moist environment to grow well. The average temperature of Sri Lanka usually ranges from 28 – 32 degrees Celsius which may differ due to global weather conditions as a whole. According to agricultural experts in Sri Lanka, because of the hot and dry climate prevailing nowadays, various diseases that harm the plants spread rapidly. It will also cause poor growth of plants and increase the risk of outbreak of a disease. This will lead to a huge loss of revenue, effort and time.
While going through existing researches, we found out that there are applications to detect diseases of various crops like potato, grapes, palm oil etc. There are also existing applications to monitor the growth of plantations and manage risk separately. But there are no applications which consider all the mentioned aspects in a single research.
The method that growers use currently in monitoring their plantations is the traditional naked eye observation. This method is sometimes inefficient and inaccurate. Therefore the main objective of this research is to implement a user friendly application for the growers to maintain their plantations efficiently and tirelessly.


Model selection, evaluation and validation¶
Besides the oversampler implementation, we have prepared some codes for model selection compatible with sklearn
classifier interfaces.
Having a dataset, a bunch of candidate oversamplers and classifiers, the tools below enable customizable model selection.
Caching¶
The evaluation and comparison of oversampling techniques on many datasets might take enormous time. In order to increase the reliability of an evaluation process, make it stoppable and restartable and let the oversampling techniques utilize results already computed, we have implemented some model selection and evaluation scripts, both using some hard-disk cache directory to store partial and final results. These functions cannot be used without specifying some cache directory.
Parallelization¶
The evaluation and model selection scripts are executing oversampling and classification jobs in parallel. If the number of jobs specified
is 1, they will call the sklearn algorithms to run in parallel, otherwise the sklearn implementations run in sequential, and the oversampling
and classification jobs will be executed in parallel, using n_jobs
processes.
Querying and filtering oversamplers¶
-
smote_variants.
get_all_oversamplers
()[source]¶ Returns all oversampling classes
Returns: list of all oversampling classes Return type: list(OverSampling) Example:
import smote_variants as sv oversamplers= sv.get_all_oversamplers()
-
smote_variants.
get_n_quickest_oversamplers
(n=10)[source]¶ Returns the n quickest oversamplers based on testing on the datasets of the imbalanced_databases package.
Parameters: n (int) – number of oversamplers to return Returns: list of the n quickest oversampling classes Return type: list(OverSampling) Example:
import smote_variants as sv oversamplers= sv.get_n_quickest_oversamplers(10)
Evaluation and validation¶
-
smote_variants.
evaluate_oversamplers
(datasets, samplers, classifiers, cache_path, validator=<sklearn.model_selection._split.RepeatedStratifiedKFold object>, all_results=False, remove_sampling_cache=False, max_n_sampler_parameters=35, n_jobs=1)[source]¶ Evaluates oversampling techniques using various classifiers on various datasets
Parameters: - datasets (list) – list of datasets and/or dataset loaders - a dataset is a dict with ‘data’, ‘target’ and ‘name’ keys
- samplers (list) – list of oversampling classes/objects
- classifiers (list) – list of classifier objects
- cache_path (str) – path to a cache directory
- validator (obj) – validator object
- all_results (bool) – True to return all results, False to return an aggregation
- remove_sampling_cache (bool) – True to remove sampling objects after evaluation
- max_n_sampler_parameters (int) – maximum number of sampler parameter combinations to be tested
- n_jobs (int) – number of parallel jobs
Returns: all results or the aggregated results if all_results is False
Return type: pd.DataFrame
Example:
import smote_variants as sv import imbalanced_datasets as imbd from sklearn.tree import DecisionTreeClassifier from sklearn.neighbors import KNeighborsClassifier datasets= [imbd.load_glass2, imbd.load_ecoli4] oversamplers= [sv.SMOTE_ENN, sv.NEATER, sv.Lee] classifiers= [KNeighborsClassifier(n_neighbors= 3), KNeighborsClassifier(n_neighbors= 5), DecisionTreeClassifier()] cache_path= '/home/<user>/smote_validation/' results= evaluate_oversamplers(datasets, oversamplers, classifiers, cache_path)
Model selection¶
-
smote_variants.
model_selection
(datasets, samplers, classifiers, cache_path, score='auc', validator=<sklearn.model_selection._split.RepeatedStratifiedKFold object>, remove_sampling_cache=False, max_n_sampler_parameters=35, n_jobs=1)[source]¶ Evaluates oversampling techniques on various classifiers and dataset and returns the oversampling and classifier objects giving the best performance
Parameters: - datasets (list) – list of datasets and/or dataset loaders - a dataset is a dict with ‘data’, ‘target’ and ‘name’ keys
- samplers (list) – list of oversampling classes/objects
- classifiers (list) – list of classifier objects
- cache_path (str) – path to a cache directory
- score (str) – ‘auc’/’acc’/’gacc’/’f1’/’brier’/’p_top20’
- validator (obj) – validator object
- all_results (bool) – True to return all results, False to return an aggregation
- remove_sampling_cache (bool) – True to remove sampling objects after evaluation
- max_n_sampler_parameters (int) – maximum number of sampler parameter combinations to be tested
- n_jobs (int) – number of parallel jobs
Returns: the best performing sampler object and the best performing classifier object
Return type: obj, obj
Example:
import smote_variants as sv import imbalanced_datasets as imbd from sklearn.tree import DecisionTreeClassifier from sklearn.neighbors import KNeighborsClassifier datasets= [imbd.load_glass2] oversamplers= [sv.SMOTE_ENN, sv.NEATER, sv.Lee] classifiers= [KNeighborsClassifier(n_neighbors= 3), KNeighborsClassifier(n_neighbors= 5), DecisionTreeClassifier()] cache_path= '/home/<user>/smote_validation/' sampler, classifier= model_selection(datasets, oversamplers, classifiers, cache_path, 'auc')


BIFIEsurvey: Tools for Survey Statistics in Educational Assessment
Contains tools for survey statistics (especially in educational
assessment) for datasets with replication designs (jackknife,
bootstrap, replicate weights; see Kolenikov, 2010;
Pfefferman & Rao, 2009a, 2009b, <doi:10.1016/S0169-7161(09)70003-3>,
<doi:10.1016/S0169-7161(09)70037-9>); Shao, 1996,
<doi:10.1080/02331889708802523>).
Descriptive statistics, linear and logistic regression,
path models for manifest variables with measurement error
correction and two-level hierarchical regressions for weighted
samples are included. Statistical inference can be conducted for
multiply imputed datasets and nested multiply imputed datasets
and is in particularly suited for the analysis of plausible values
(for details see George, Oberwimmer & Itzlinger-Bruneforth, 2016;
Bruneforth, Oberwimmer & Robitzsch, 2016; Robitzsch, Pham &
Yanagida, 2016; <doi:10.17888/fdb-demo:bistE813I-16a>).
This package is developed by BIFIE (Federal Institute for
Educational Research, Innovation and Development of the Austrian
School System; Salzburg, Austria).
| Version: |
3.0-14 |
| Depends: |
R (≥ 3.1) |
| Imports: |
graphics, grDevices, methods, miceadds, mitools, Rcpp, stats, survey (≥ 3.31-5), utils, TAM (≥ 2.0) |
| LinkingTo: |
Rcpp, RcppArmadillo |
| Suggests: |
car, Hmisc, intsvy, lavaan.survey, lme4, LSAmitR, svyPVpack |
| Published: |
2018-12-11 |
| Author: |
BIFIE [aut], Alexander Robitzsch [ctb, cre],
Konrad Oberwimmer [ctb] |
| Maintainer: |
Alexander Robitzsch <robitzsch at ipn.uni-kiel.de> |
| License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: |
http://www.bifie.at,
https://www.bifie.at/bildungsforschung/forschungsdatenbibliothek,
https://www.bifie.at/large-scale-assessment-mit-r-methodische-grundlagen-der-oesterreichischen-bildungsstandardueberpruefung,
https://github.com/alexanderrobitzsch/BIFIEsurvey,
https://sites.google.com/site/alexanderrobitzsch2/software |
| NeedsCompilation: |
yes |
| Citation: |
BIFIEsurvey citation info |
| Materials: |
README NEWS |
| In views: |
OfficialStatistics |
| CRAN checks: |
BIFIEsurvey results |
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=BIFIEsurvey
to link to this page.


|
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
Modules | |
| FMC Exported Macros | |
| #define FMC_ISPCMD_BANK_ERASE |
| #define FMC_ISPCMD_BLOCK_ERASE |
| #define FMC_ISPCMD_PROGRAM_64 |
| #define FMC_ISPCMD_PROGRAM_MUL |
| #define FMC_ISPCMD_RUN_ALL1 |
| #define FMC_ISPCMD_RUN_CKS |
| #define FMC_MULTI_WORD_PROG_LEN 512 |
| #define FMC_TIMEOUT_CHKALLONE |
| #define IS_BOOT_FROM_APROM 0x0UL |
| #define IS_BOOT_FROM_LDROM 0x1UL |


Automatic Differentiation
This is a small presentation I gave in lab meeting, introducing principles of automatic differentiation. Among various AD frameworks, Autograd, Autodiff, and Enzyme were benchmarked over Stillinger-Weber potential of Si atoms. Stillinger-Weber was chosen as most benchmarks and frameworks focus on traditional linear algebra kind problems, where as I am more interested on ML applications on more scientific problems. All the code would be uploaded in github soon. Presentation can be downloaded here. Sources for figures and content are given in the end.


[gecode-users] gecode-3.7.1 on NetBSD
Adam Russell
ac.russell at live.com
Thu Feb 9 23:46:52 CET 2012
Christian,
Sounds like a good deal! ;)
I can confirm that the patch works for NetBSD.
Best Regards,
Adam
On 2/9/12 4:36 AM, Christian Schulte wrote:
> Hi Adam,
>
> As I do not have access to a box running NetBSD, I offer you a deal: if you
> test and confirm that the attached patch works for NetBSD, I'll add NetBSD
> as a platform to Gecode for future releases.
>
> Best
> Christian
>
> --
> Christian Schulte, www.ict.kth.se/~cschulte/
>
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
> Of Adam Russell
> Sent: Thursday, February 09, 2012 4:10 AM
> To: users at gecode.org
> Subject: [gecode-users] gecode-3.7.1 on NetBSD
>
> For whatever it's worth I'd like to note that I was able to build
> gecode-3.7.1 on NetBSD 5.1 without a problem. Aside from needed dependencies
> all I had to do was lie to ./configure with the --with-host-os=FreeBSD
> option. I am not sure why this is not considered to be a supported platform?
> Anyway, I just thought I'd mention it.
More information about the users
mailing list


Paste tab-delimited text into the grid.
parseField(obj, field)
| obj |
object, Java Script object |
| field |
string, field to parse |
Returns value (can be any JS type).
Description
It is quite often that the records array contains objects with complex structure. For example a record object can be:
However, when you define .columns or
.searches for the grid, you need to define field as a string.
The grid will internally call .parseField method to parse data structure
and resolve the field value.
This method can be used to parse any object that you supply, not necessarily the record object. For the example above, you can parse
fields in the following way (assuming there is grid with name grid):