This Microsoft SQL Server JDBC Driver sample application demonstrates how to retrieve a large set of data from a database, and then control the number of rows of data that are cached on the client by using the setFetchSize method of the SQLServerResultSet object.
To set a limit on the number of rows cached on the client, you must first use a server-side cursor when you create one of the Statement objects by specifically stating the cursor type to use when creating the Statement object. For example, the JDBC driver provides the TYPE_SS_SERVER_CURSOR_FORWARD_ONLY cursor type, which is a fast forward-only, read-only server-side cursor for use with SQL Server databases.
After you have run the query contained in the Statement object and the data is returned to the client as a result set, you can call the setFetchSize method to control how much data is retrieved from the database at one time. For example, if you have a table that contains 100 rows of data, and you set the fetch size to 10, only 10 rows of data will be cached on the client at any point in time. Although this will slow down the speed at which the data is processed, it has the advantage of using less memory on the client, which can be especially useful when you need to process large amounts of data.
The code file for this sample is named cacheRS.java, and it can be found in the following location:
<installation directory>\sqljdbc_<version>\<language>\help\samples\resultsets
Requirements
To run this sample application, you must set the classpath to include the sqljdbc.jar file or the sqljdbc4.jar file. If the classpath is missing an entry for sqljdbc.jar or sqljdbc4.jar, the sample application will throw the common "Class not found" exception. You will also need access to the SQL Server 2005 AdventureWorks sample database. For more information about how to set the classpath, see Using the JDBC Driver.
Example
In the following example, the sample code makes a connection to the AdventureWorks sample database. Then it uses an SQL statement with the SQLServerStatement object, specifies the server-side cursor type, and then runs the SQL statement and places the data that it returns into a SQLServerResultSet object.
Next, the sample code calls the custom timerTest method, passing as arguments the fetch size to use and the result set. The timerTest method then sets the fetch size of the result set by using the setFetchSize method, sets the start time of the test, and then iterates through the result set with a While
loop. As soon as the While
loop is exited, the code sets the stop time of the test, and then displays the result of the test including the fetch size, the number of rows processed, and the time it took to execute the test.
import java.sql.*; import com.microsoft.sqlserver.jdbc.SQLServerResultSet; public class cacheRS { public static void main(String[] args) { // Create a variable for the connection string. String connectionUrl = "jdbc:sqlserver://localhost:1433;" + "databaseName=AdventureWorks;integratedSecurity=true;"; // Declare the JDBC objects. Connection con = null; Statement stmt = null; ResultSet rs = null; try { // Establish the connection. Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); con = DriverManager.getConnection(connectionUrl); // Create and execute an SQL statement that returns a large // set of data and then display it. String SQL = "SELECT * FROM Sales.SalesOrderDetail;"; stmt = con.createStatement(SQLServerResultSet.TYPE_SS_SERVER_CURSOR_FORWARD_ONLY, + SQLServerResultSet.CONCUR_READ_ONLY); // Perform a fetch for every row in the result set. rs = stmt.executeQuery(SQL); timerTest(1, rs); rs.close(); // Perform a fetch for every tenth row in the result set. rs = stmt.executeQuery(SQL); timerTest(10, rs); rs.close(); // Perform a fetch for every 100th row in the result set. rs = stmt.executeQuery(SQL); timerTest(100, rs); rs.close(); // Perform a fetch for every 1000th row in the result set. rs = stmt.executeQuery(SQL); timerTest(1000, rs); rs.close(); // Perform a fetch for every 128th row (the default) in the result set. rs = stmt.executeQuery(SQL); timerTest(0, rs); rs.close(); } // Handle any errors that may have occurred. catch (Exception e) { e.printStackTrace(); } finally { if (rs != null) try { rs.close(); } catch(Exception e) {} if (stmt != null) try { stmt.close(); } catch(Exception e) {} if (con != null) try { con.close(); } catch(Exception e) {} } } private static void timerTest(int fetchSize, ResultSet rs) { try { // Declare the variables for tracking the row count and elapsed time. int rowCount = 0; long startTime = 0; long stopTime = 0; long runTime = 0; // Set the fetch size then iterate through the result set to // cache the data locally. rs.setFetchSize(fetchSize); startTime = System.currentTimeMillis(); while (rs.next()) { rowCount++; } stopTime = System.currentTimeMillis(); runTime = stopTime - startTime; // Display the results of the timer test. System.out.println("FETCH SIZE: " + rs.getFetchSize()); System.out.println("ROWS PROCESSED: " + rowCount); System.out.println("TIME TO EXECUTE: " + runTime); System.out.println(); } catch (Exception e) { e.printStackTrace(); } } }


Weston subsp. flavus and Crocus flavus subsp. dissectus T.
Baytop&Mathew (endemic) are two close taxa of Crocus flavus Weston.
Their morphologies are smilar but have some differences when examined carefully.
However, Crocus genus have useful leaf anatomical characteristics that are significantly different from each other.
Leaves show useful taxonomical features according to carina, vascular bundles and arms of the leaf.
In this study, it is aimed to compare morphology and leaf cross sections of these two taxa in a detailed way with photographs.
Especiallay, the difference between their stylus braches number,
seed macromorphology and general view of leaf cross
sections in the point of vascular bundles combination have significant taxonomical importance.
The genus Crocus L. (Iridaceae) presently about 100 species in mainly Mediterranean Region and
the drier floristic area Irano-Turanien Region.
The majority of species are restricted Turkey and Balkans (Candan 2007).
Crocus genus is known about 150 taxa in the world (Harpke et al. 2013).
According to Kerndorff and Pasche (2004) southwestern Turkey is the current center of Crocus genus.
Crocus taxa in Turkey reached about 120 taxa (73 species) (Mathew 1982, 1984, 1998, 2000, 2002;
Yüzbaşıoğlu and Varol 2004; Erol et al. 2011; Candan and Özhatay 2013; Harpke et al. 2013; Kerndorrf et al.
2013a, 2013b, 2013c, Ruksans 2013; Yüzbaşıoğlu and Özhatay 2014).
As is known, the styles and stigmas are collected and dried to be used mainly
as a seasoning and colouring agent in food. Saffron, among the world's countries,
is the most valuable spices by weight. On the other hand, Crocus species are being growth
for delicating parks and gardens. In the point of its agricultural importance,
this genus has a commercially significance in the world (Candan, 2007).
Mathew wrote the book ‘The Crocus’ (1982), after this great work some different
investigations on the Crocus genus taxa were made about their ecology, anatomy, cytology,
palynology and genetics (Kerndorff and Pasche 2004, 2006, 2011; Işık and Oybak Dönmez 2006;
Candan 2007; Candan et al. 2009a, 2009b; Şık et al, 2008; Kandemir 2009; Şık and Candan 2009; Coşkun et al.
2010; Candan and Özhatay 2013; Harpke et al. 2013).
Crocus leaves are irreplaceable and attractive leaves in the point of their shapes
when they are studied under microscope.
In these studies, especially according to Rudall and Mathew (1990),
characteristic features and general importance of leaf blade cross sections
were determined. The leaves of Crocus species hold keel at the center of the leaf and
two arms next to the keel which is a unique shape regarding cross
sections for the genus (Rudall and Mathew, 1990).
As is seen, there aren’t any detailed comparative study on C.
flavus subsp. flavus and C. flavus subsp. dissectus. Therefore,
the initial objective of this study was to investigate the comparison
of morphology and leaf anatomy as regards populations of these two yellow
flowered taxa naturally distributed in Anatolia


Amazon EC2 EC2Fleet FleetLaunchTemplateOverridesRequest
The
FleetLaunchTemplateOverridesRequest
property type specifies overrides for a
launch template for an EC2 Fleet.
FleetLaunchTemplateOverridesRequest
is a property of the FleetLaunchTemplateConfigRequest property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AvailabilityZone" :
String
, "InstanceType" :String
, "MaxPrice" :String
, "Priority" :Double
, "SubnetId" :String
, "WeightedCapacity" :Double
}
YAML
AvailabilityZone:
String
InstanceType:String
MaxPrice:String
Priority:Double
SubnetId:String
WeightedCapacity:Double
Properties
AvailabilityZone
-
The Availability Zone in which to launch the instances.
Required: No
Type: String
Update requires: No interruption
InstanceType
-
The instance type.
Required: No
Type: String
Update requires: No interruption
MaxPrice
-
The maximum price per unit hour that you are willing to pay for a Spot Instance.
Required: No
Type: String
Update requires: No interruption
Priority
-
The priority for the launch template override. If AllocationStrategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers starting at
0
. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.Required: No
Type: Double
Update requires: No interruption
SubnetId
-
The ID of the subnet in which to launch the instances.
Required: No
Type: String
Update requires: No interruption
WeightedCapacity
-
The number of units provided by the specified instance type.
Required: No
Type: Double
Update requires: No interruption
See Also
-
FleetLaunchTemplateOverridesRequest in the Amazon EC2 API Reference


{% extends "base.html" %} {% block lcrContent %}
Add New Service
Please fill in the following form to define a new service. After the service is saved in the system, you will be able to perform additional actions, like defining attached destinations.
Service Profile:


Seel Web
Home
About Me
Reddit
Home
Tesla Deliveries 2017
Quarter
Model S
Model 3
Model x
1
13,450
Production started Q3
11,550
2
12,000
10,000
3
14,065
220
11,865
4
15,200
1,550
13,120
Totals
Total Per Model
54715
1770
46525
Grand Total 2017
103,010


Source:
Version:
Save
OWL
Debug is {{debug?"On":"Off"}}
Tree
Select a source from above to load from the backend.
Click an item in the tree to edit attributes.
{{branch.label}}
Children
{{branch.children.length}}
Move Up
Move Down
Relation to Parent
Comments
{{branch|json}}
{{data | json}}
Siblings: {{siblings|json}}


Connect to CRIMINOLOGY in the Course Register.
CRIMINOLOGY
CRIM-200 CRIMINAL JUSTICE 1 CU SOCIETY SECTOR 401 LEC MW 2-3:30PM COLL 200 MACDONALD J CROSS LISTED: SOCI-200 SECTION MAX: 155 MAX W/CROSS LIST: 190 CRIM-260 CRIME & HUMAN DEVELOPMNT 1 CU 001 LEC TR 9-10:30AM COLL 318 LOEFFLER C MAX: 30 CRIM-280 NEIGHBRHD DYN. OF CRIME 1 CU 401 SEM TR 1:30-3PM PSYL A30 LOEFFLER C CROSS LISTED: URBS-280 MAX W/CROSS LIST: 26 CRIM-300 LAW AND CRIMINAL JUSTICE 1 CU 001 LEC TR 10:30-12NOON COHN 402 LAUFER W SEATS RESERVED FOR SENIORS MAX: 60 CRIM-320 PRACTICAL DATA ANALYSIS 1 CU 001 LEC MW 2-3:30PM MCNB 108 HELLER S MAX: 30 CRIM-499 INDEPENDENT STUDY 1 CU PERMISSION NEEDED FROM DEPARTMENT 000 IND TBA STAFF CRIM-601 PRO-SEM IN CRIM JUSTICE 1 CU 301 SEM T 10:30-1:30PM VANP 113 OWENS E MAX: 30 CRIM-602 CRIM JUSTICE ANALYTICS 1 CU 001 LEC TR 1:30-3PM MCNB 395 RIDGEWAY G UNDERGRADUATES NEED PERMISSION MAX: 30 CRIM-603 RES METH/CRIME ANALYSIS 1 CU 301 SEM MW 10-11:30AM MCNB 108 HELLER S CONTACT DEPT or INSTRUCTOR FOR CLASSRM INFO MAX: 25 CRIM-604 CRIM: ACADEMIC & APPLIED 1 CU 301 SEM W 4-6PM CRIM SEM RIDGEWAY G YEAR LONG COURSE UNDERGRADUATES NEED PERMISSION MAX: 35 CRIM-671 VIOLENCE: CLIN NEURO APP 1 CU 401 LEC M 2-5PM CRIM SEM RAINE A CROSS LISTED: PSYC-671 SECTION MAX: 40 MAX W/CROSS LIST: 45
Return to Course & Room Roster
Comments to:
Office of the University Registrar
University of Pennsylvania
Room 221 Franklin Building
3451 Walnut Street
Philadelphia, PA 19104-6291
Phone:<PHONE_NUMBER> Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>Updated: Sat Jan 17 08:30:02 2015


Task 9: Setup local server
-
Run following command in a directory outside of
your React project:
git clone https://github.com/Itera/web-and-react-intro.git
-
Navigate into the cloned project directory:
cd web-and-react-intro
-
Install the project's NPM dependencies:
npm install
-
Start the local server by running the following command:
npm run server
-
Check server by navigating to the following URL in your browser:
http://localhost:4000/colleagues


Tweets directed at @Nenshi-bot kick off the process - answers are given in a reply.
Requests are heard by a lita chatbot and directed to the appropriate handler.
Required information is retrieved from the City's Open Data Catalogue
Select datasets from the ODC are loaded in Google BigQuery and queried from there.
"Management"
Co-Lead Developer
Co-Lead Developer
Lead Web Operator


{% extends 'base.html' %} {% block title %}About FLVotes.org{% endblock %} {% block content %}
FLVotes.org was built in partnership with Loud Light and GPS Impact.
The source code for this site is public and open source.
If you are interested in partnering with KSVotes and integrating voter registration on your website, see our ref feature documentation.
For data on processed forms by refcode and date, click here.


--- layout: post title: Safari のバグを調査してるサイト mt_id: 77 date: 2003-03-13 14:27:38.000000000 +09:00 author: clouder category: Mac ---
Safari information for web designers [dive into mark] Safari is a new browser by Apple. Rendering is handled by a modified version of KHTML, the rendering engine used by KDE and its Konqueror browser. This page attempts to document known rendering bugs in Safari.みてみそ。


|
DESERT
3.0
|
Go to the source code of this file.
Classes | |
| class | MS2C_Evo_lowlev |
Macros | |
| #define | MS2CEVOLOWLOV_H |
Header of the main class that implements the general interface between ns2/NS-Miracle and the S2C EvoLogics modem using low level firmware. Only modems on which the firmware was made available can be operated through this type of drivers. For information: www.evologics.de, EvoLogics GmbH.
Definition in file mS2C_Evo_lowlev.h.
| #define MS2CEVOLOWLOV_H |
Definition at line 41 of file mS2C_Evo_lowlev.h.


Older readers will recall House Of Turps as an out of print pamphlet published by the Malice Aforethought Press in 1989. That's how I recall it myself. But yesterday, rummaging in a midden, I came upon several sheets of buff paper, the typed manuscript of a piece also called House Of Turps. It bears no resemblance to the published text. It is the “Prologue” to what I clearly intended as a lengthy narrative poem which, equally clearly, I thereafter abandoned. For the benefit of scholars who, I know, devote their waking lives to poring over every syllable I have ever written, here is that fragment of the lost (until yesterday) House Of Turps …
Welcome to the House of Turps,
Riddled with visionaries, idiots, twerps,
Bores, poltroons, maniacs, cranks,
Of the highest and the lowest ranks;
Raised and ruined, rich and poor –
What brings them all to the same door?
A vision of a visionary world.
Each year a pennant is unfurled
From the very top of the House's walls,
In howling wind, as the mercury falls,
As winter bites. Ice grips the land.
Each member of our demented band
Bids fare thee well to home, kith, kin,
And with a doomed and gritty grin
Sets forth upon a long slow trudge
Towards a circular bank of sludge.
This sludge-bank bars the trudgers' way.
To cross it takes near half a day,
Weighed down by netting, pig-iron shoes,
Tourniquets, gum, a supply of booze,
Branches, forks, baize and bait –
All gifts for the Keeper at the gate,
The unfurler of the Winter Flag.
He's eighty-nine. His name is Cragg.
The House of Turps depends on him.
His countenance is pale and grim.
His history's shadowy and obscure.
He's lived here since the age of four.
As each guest lurches from the slime
Cragg makes a note of name and time
Scraped on the page with a blood-stained hook
In his huge registration book.
He slams it shut then barks: “Go flee
To room nineteen!” or “twenty-three!”.
The guests head off on a path of gravel
For they have not yet ceased to travel.
The House looms a further six miles' trudge
Over gravel and pebbles, not slime or sludge.
Cragg remains, hard by the gate,
Until he's counted in all eight.
We'll leave him there, improbably dressed,
As we consider each mad guest.
POTATO SMITH is sick at heart,
Festooned with rotten sacking.
He made a fortune in fine art.
His sense of humour's lacking.

He is only just alive,
But comes here every winter.
PRIMROSE LEEK, a friend to ants,
Is only thirty-two.

She murdered Hector Lockjaw Frowse,
The international banker.
Then there's DR RUFUS GLUBB,
The noted bandage-stainer.
His head looks like a bakelite tub
Topped by a bent tea-strainer.
His belly has grown to a pot
From eating too much custard.
The other guests loathe him a lot
But think he cuts the mustard.
Our fourth pal has a widow's peak,
Looks not unlike a panda.
C. T. PUCK's part-Dutch, part-Greek,
Half-blind and part-Greenlander.
She lives on a diet of gruel and slops
And vats of sour beer.
You can't buy those things in the shops,
But Cragg supplies them here.
LASCELLES DISTEMPER JARLEY
Has no sense of direction.
He is a proper Charlie
And has a cork collection.
He says “by Jove!” and “golly gosh!”
And other dumbkopf phrases.
He talks a huge amount of tosh
And he is prone to crazes.
OLD DOGMOUTH's fits are legion.
He broke his wooden legs.
Like others from his region
He sets fire to hard-boiled eggs.
Cragg and he are so alike
They could share the same mother,
But Cragg was once an orphan tyke
And Dogmouth has no brother.
SISTER GERTIE of the Cross
Is a religious nutter.
She roams the land astride her “Hoss”,
A goat, a fractious butter.
Moths have fluttered round her head,
Its incandescent light
Proof that she is not quite dead
But shining, dazzling bright.
The last of the guests at the turpentine House
Has crutches painted yellow.

He's quite as vile as he appears –
NED HELLHOUND, your narrator.
So now we've met this motley crew,
On with our tale of derring-do.


| Zach Latta: Zach Latta's website linking to his programming projects | |
| Matthew's blog: my brother's blog about PR2 Lite and other projects he works on | |
| Someh4x0r's Blog: Robert Ou's blog about robotics and hacking | |
| Teknoman117: Nathaniel Lewis's blog about robotics | |
| Punchline: my brother's old website containing comics, ambigrams, stories, videos, and random stuff | |
| Formicite: Tony Pratkanis's website about his robots and programming projects | |
| Armchair Mysteries of Sherlock Holmes: my father's Sherlock Holmes short stories |


DETENTION A film review by Steve Rhodes Copyright 2000 Steve Rhodes RATING (0 TO ****): *** 1/2
"All you have to do is keep them from killing each other on school grounds," the principal's anal-retentive, pencil-pushing executive assistant, Ms. Nunca (Gail Cronauer), tells the new substitute, Mr. Walmsley (John S. Davies).
In the wonderfully sardonic DETENTION, by writer/director Andy Anderson (POSITIVE I.D.), the bored students know that they can get away with absolutely anything. Their parents' lawyers have the school district living in fear of lawsuits. The fear is genuine since the high school doesn't have any textbooks now. It seems that 2 parents got an injunction after they found some material objectionable in the current books. A judge has ordered the district to lock up all the books, pending his ruling.
This smartly Kafkaesque tale has two distinct parts. The darkly comedic first part is followed by a shockingly dramatic second, each fascinating in its own right, but both better together. The comedy works because the excellent ensemble cast takes it dead seriously, and the drama works better because of the comedic relief. Both are helped by being outlandish yet frequently quite plausible, as any teacher, especially substitute teachers, will tell you.
Mr. Walmsley, a first-time substitute goes to unruly Donner High in which students are free to use profanity towards the teachers, but the other way round will land the teachers in hot water. Besides having to look over detention, he teaches a variety of subjects, although most students don't care about learning anything. While there, he bonds with Louise (Marsha Dietlein), a first-year art teacher, who is harassed by her students.
Louise learns that even physical violence against a teacher gets turned around and blamed on the teacher. And, if the teacher fights it and wins, her contract might not be renewed the following year since she'll be labeled a trouble maker by the administration, which likes to settle all disputes as quickly and quietly as possible by giving the students whatever they ask.
"This is insanity!" Mr. Walmsley, who rarely raises his voice, correctly points out. "The lunatics are running the asylum."
But one mustn't go against the students. "We can't disparage them, we can't fight them, we can't call them out and, unfortunately, we can't kill them," the principal (Lee Ritchey) tells Mr. Walmsley.
Teachers get strict lectures on how to approach students. Both teachers and students have rules, but only the teachers have to follow them. In one scene, we witness a lecture to the teachers about one of the typically asinine rules that they must follow, lest they run afoul of the law. The school's attorneys have determined the recommended number of teacher-to-student eye-contacts -- 8 per student per class since more would constitute sexual harassment and less would be evidence of discrimination.
In the dark second half, seven students (Susana Gibb, Meason Wiley, Jonathan Brent, Rebecca Sanabria, Brandy Little, Kirk Kelley-Kahn and Forest Denbow) find themselves at a summer school of sorts in which tough love, very tough love, is practiced.
The challenging story, which asks thought-provoking and provocative questions, is willing to tackle difficult subjects in surprising ways. The director, who is as engaging and hilarious as his movie and who was at our screening, told us of the reaction of a friend of his who had seen the film: "If you're a kid, it's a horror movie; if you're an adult, it's a fantasy."
DETENTION runs just a little over 2 hours. It has not yet been submitted to the MPAA for a rating. Although it contains full male and female frontal nudity and violence, the director told me that he believes that it will be able to receive an R without cuts since there is no sexuality associated with the nudity. The film would be acceptable for older teenagers.
Email<EMAIL_ADDRESS>Web: http://www.InternetReviews.com
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


Company profile - Canadian Company Capabilities
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
Sustainable Engine Technology Inc.
Mailing Address:
27 Valley TrailEAST GWILLIMBURY, Ontario
L9N 0H8
Location Address:
27 Valley TrailEAST GWILLIMBURY, Ontario
L9N 0H8
Tel.:<PHONE_NUMBER>
Fax:
Logo
Company Profile
We provide fuel saving, pollution reduction systems that improve engine efficiency. The ACE System will save fuel and reduce pollution for virtually any engine running any fuel. This means regular cars, transport trucks, heavy goods vehicles, power generators, ships, and other engines can use more of the diesel, gas, bio-fuel, or any other hydrocarbon fuel that they use. By enhancing engine combustion, the engine will use less fuel, run cleaner, require less maintenance, and can even last longer.
A customer using 5,000 liters of fuel (or traveling 15,000km) a month will save $6,000 a year and see a return on investment within 18 months. Alternatively, this customer can save over $1,400 a year, after paying lease payments. (at 10% fuel savings and a dollar a liter)
Full profile
Full profile
Contact information
Company description
Product / Service / Licensing
Fuel savings of 10% can represent $6,000 in fuel savings and a return on investment in under two years. Not only are the emissions completely eliminated from the fuel saved, but improved engine efficiency will significantly reduce emissions produced.
We secure our system to the frame or catwalk of a truck in about four hours, without voiding any warranties. Our power supply draws about the same amount of power as day headlights from the engines batteries. The system uses this power on engine demand to split water into gas inside the process chamber. The small amount of gas is delivered to the engine, with the normal air, through the engines air intake.
We designed the ACE System to be compatible with any engine size. When larger engines, such as power generators, need more of our gas to enhance combustion, the gas is produced just as safely and efficiently as it is for an everyday vehicle. This makes our system compatible with every size of vehicle, construction equipment, power generator, or ship, allowing engines to get more useful energy out of the same amount of gas, diesel, bio-fuel, or other hydrocarbon fuel.
2590-Miscellaneous Vehicular Components
2895-Miscellaneous Engines and Components
2910-Engine Fuel System Components, Nonaircraft
2990-Miscellaneous Engine Accessories, Nonaircraft
Market profile
Alliances:
- Technology
Strategic alliances:
We are actively seeking strategic partners to help accelerate commercialization of our fuel saving, pollution reduction system.Industry sector market interests:
- Agriculture
- Construction
- Environment
- Transportation
- Automotive
Geographic markets:
Actively pursuing:
- United States
Sector information
Testimonial:
"Canes Community Care is pleased to have successfully completed the Trial Program for your Aftermarket Combustion Enhancement (ACE) System. Over the past three months, the ACE System we installed on our 2009 E350 Bus has enhanced combustion by 12.7% and is reducing tail pipe emissions. We anticipate this will result in approximately $2,000 a year in fuel savings alone for this bus.Our drivers have also reported the engine is running more smoothly and there has been a visible reduction in the tail pipe smoke. This means our bus is able to idle in hospital areas without triggering emissions sensors, allowing our bus to be a comfortable tempoerature for our clients leaving the hospital in the heat of the summer or dead of winter!
We would like to thank you for your risk free Trial Program which allowed us to understand the fuel savings and benefits of the ACE product within our operating environment before having to purchase it outright. The results of the trial are impressive and we are interested in working with you to expand the benefits to the remainder of our fleet. "
Third-Party Information Liability Disclaimer
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
Contacts
Contact information
Description
Company description
Products, services and licensing
Product / Service / Licensing
Fuel savings of 10% can represent $6,000 in fuel savings and a return on investment in under two years. Not only are the emissions completely eliminated from the fuel saved, but improved engine efficiency will significantly reduce emissions produced.
We secure our system to the frame or catwalk of a truck in about four hours, without voiding any warranties. Our power supply draws about the same amount of power as day headlights from the engines batteries. The system uses this power on engine demand to split water into gas inside the process chamber. The small amount of gas is delivered to the engine, with the normal air, through the engines air intake.
We designed the ACE System to be compatible with any engine size. When larger engines, such as power generators, need more of our gas to enhance combustion, the gas is produced just as safely and efficiently as it is for an everyday vehicle. This makes our system compatible with every size of vehicle, construction equipment, power generator, or ship, allowing engines to get more useful energy out of the same amount of gas, diesel, bio-fuel, or other hydrocarbon fuel.
2590-Miscellaneous Vehicular Components
2895-Miscellaneous Engines and Components
2910-Engine Fuel System Components, Nonaircraft
2990-Miscellaneous Engine Accessories, Nonaircraft
Market
Market profile
Alliances:
- Technology
Strategic alliances:
We are actively seeking strategic partners to help accelerate commercialization of our fuel saving, pollution reduction system.Industry sector market interests:
- Agriculture
- Construction
- Environment
- Transportation
- Automotive
Geographic markets:
Actively pursuing:
- United States
Sector
Sector information
Testimonial:
"Canes Community Care is pleased to have successfully completed the Trial Program for your Aftermarket Combustion Enhancement (ACE) System. Over the past three months, the ACE System we installed on our 2009 E350 Bus has enhanced combustion by 12.7% and is reducing tail pipe emissions. We anticipate this will result in approximately $2,000 a year in fuel savings alone for this bus.Our drivers have also reported the engine is running more smoothly and there has been a visible reduction in the tail pipe smoke. This means our bus is able to idle in hospital areas without triggering emissions sensors, allowing our bus to be a comfortable tempoerature for our clients leaving the hospital in the heat of the summer or dead of winter!
We would like to thank you for your risk free Trial Program which allowed us to understand the fuel savings and benefits of the ACE product within our operating environment before having to purchase it outright. The results of the trial are impressive and we are interested in working with you to expand the benefits to the remainder of our fleet. "


There are different ways of which a mangaka (A manga artist) approaches his/her work. Different methods have been developed and has pass down between different artists as we know of them today. But heres an overview on the stages of the manga making process. What to do? Where to start? How?
The first contact a mangaka makes with the editorial department is when they submit their manga! Mangakas who want their work to be published in magazine such as Shounen Jump! first need to make a 'name' which is a one-shot (a manga piece that is completed in only a few pages). The one-shot is then scanned by an editor from the publishing company. The editor evaluates the quality of the work, the art style, the story line, and the over all readability.


Want anything to be easy with FireVPN
Provide a network for all your needs with ease and fun using FireVPN discover interesting features from us.
21 +
Users
30 +
Locations
50 +
Servers
We Provide Many Features You Can Use
You can explore the features that we provide with fun and have their own functions each feature.
Powerfull online protection.
Internet without borders.
Supercharged VPN.
No specific time limits.
Choose Your Plan
Let's choose the package that is best for you and explore it happily and cheerfully.
Free Plan
Unlimited Bandwitch
Encrypted Connection
No Traffic Logs
Works on All Devices
Free
SelectStandard Plan
Unlimited Bandwitch
Encrypted Connection
Yes Traffic Logs
Works on All Devices
Connect Anyware
$9 / mo
SelectPremium Plan
Unlimited Bandwitch
Encrypted Connection
Yes Traffic Logs
Works on All Devices
Connect Anyware
Get New Features
$12 / mo
SelectHuge Global Network of Fast VPN
See LaslesVPN everywhere to make it easier for you when you move locations.
Trusted by Thousands of Happy Customer
These are the stories of our customers who have joined us with great pleasure when using this crazy feature.


Markdown is a pretty easy yet powerful plain text markup language that can be used to format text in various ways but without many complicated tags. In fact it can be read and written very easily. This editor parses the entered Markdown and displays the result as HTML instantly. To write Markdown, you can use the following tags:
A heading is written as a normal text but with multiple =
characters as below:
Heading =======
Sub-Headers work the same way, just use multiple -
characters below the actual sub-heading:
Sub-Heading -----------
Text can be bold, italic and monospaced
like this:
**bold** *italic* `monospace`
Lists can be easily formatted with an asterisk. For ordered lists just use numbers:
* cereals * cocoa * milk 1. Put the cereals in a bowl 2. Sprinkle some cocoa on the cereals 3. Finally add the milk. Yummy!
Links are very important and formatted in a Wiki-like syntax:
[Wordpress](http://www.wordpress.com)
In case you just want the URL to be displayed as link text:
<http://www.wordpress.com>
Images can be included using their URL. This is an example for the Wordpress logo:
![Wordpress](http://s.wordpress.org/about/images/logos/wordpress-logo-32-blue.png)
Horizontal rules are added by placing minimum three hyphens, asterisks or underscores on a line:
***
Code blocks are written just as usual paragraphs but with an intendation of minimum four spaces or one tab:
public class getMarkdown() {}
For a single line of inline code just use backticks `.
To emphasize text use either asterisks and/or underscores:
*important*
For the complete syntax, please refer to Daring Fireball.


Home
Solutions
Education
Financial services
Government
Manufacturing
Solutions
eLearning
Mobile
RIA
Training
Products
PC products
Mobile products
All products


Preparation time
less than 30 mins
Cooking time
no cooking required
Serves
Serves 1
Dietary
Empty the kettle of any previously boiled water and fill with fresh (preferably filtered) water. Bring the kettle to the boil.
Warm a clean teapot with a little of the water just before it reaches boiling point, then swirl around and pour away.
Use tea leaves rather than bags for a fresh flavoured tea the type you use is up to you. Allow 1 teaspoon per person, plus one for the pot. Make sure the pot you're using has plenty of space for the tea to brew in the water.
Pour in the water as soon as it boils, taking the pot to the kettle so the water doesn't have a chance to cool down.
Cover the pot with a tea cosy (either one your Granny knitted or one of the cool, funky ones available now) and leave the tea to infuse for 3-4 minutes. Any longer and you'll ruin the true flavour of the tea, making it taste bitter.
When you're ready, pour the tea through a tea strainer (unless there's a mesh attached to your teapot) into sparkling clean mugs or cups and saucers.
When you add the milk depends on whether you're a MIF (milk-in-first) or TIF (tea-in-first) person, or maybe you prefer it black, with sugar, a slice of lemon or a sprig of mint.
Sit back and enjoy


1st round - singles, match play. One v. one round between members of opposite teams. Each hole is worth 1 point. If player A finishes a hole in 2 strokes and player B takes 4, player A is awarded 1 pt (not 2). If both players score the same on a hole, neither gains a point and play continues at the next hole. The match ends when either all 18 holes have been played or 1 player is mathematically eliminated from winning.
Example: If Player C is up by 3 points to player D and they only have 2 holes left, player C automatically wins because even if player D wins the last 2 holes, they will still lose that individual match. If you win your match, your team gets 1 point. In the event of a tie, both teams are given .5 point.
2nd round - doubles, stroke play. Two vs. two doubles match where each player on a doubles team takes a shot from each lie and the next shot is taken from the best of the 2 shots. A doubles match will always play at least 18 holes because the score is overall strokes instead of overall holes (like in the 1st round.) In the event of a tie, the match goes to sudden death. The next team that scores lower on a hole, wins the match. If your doubles team wins their match, your team gets 2 points (1 for each player).
At the end of both rounds, the team points are tallied to determine a winner. In the event of a tie, a sudden death, doubles match is played to determine the winner.


Appearance
Zubat - a small Pokemon, outwardly similar to a purple-colored bat with purple membranes on its wings.  He also has long lower limbs and large wings. The tooth has no eyes, so it uses sound waves to navigate, like a real bat does. Female tooths have smaller Zubat than males. Also, the Zubat do not tolerate sunlight, as it burns their sensitive skin and fur.


| 1 | /* =========================================================== | |
| 2 | * JFreeChart : a free chart library for the Java(tm) platform | |
| 3 | * =========================================================== | |
| 4 | * | |
| 5 | * (C) Copyright 2000-2009, by Object Refinery Limited and Contributors. | |
| 6 | * | |
| 7 | * Project Info: http://www.jfree.org/jfreechart/index.html | |
| 8 | * | |
| 9 | * This library is free software; you can redistribute it and/or modify it | |
| 10 | * under the terms of the GNU Lesser General Public License as published by | |
| 11 | * the Free Software Foundation; either version 2.1 of the License, or | |
| 12 | * (at your option) any later version. | |
| 13 | * | |
| 14 | * This library is distributed in the hope that it will be useful, but | |
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
| 16 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | |
| 17 | * License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU Lesser General Public | |
| 20 | * License along with this library; if not, write to the Free Software | |
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | |
| 22 | * USA. | |
| 23 | * | |
| 24 | * [Java is a trademark or registered trademark of Sun Microsystems, Inc. | |
| 25 | * in the United States and other countries.] | |
| 26 | * | |
| 27 | * ------------------------ | |
| 28 | * XYPointerAnnotation.java | |
| 29 | * ------------------------ | |
| 30 | * (C) Copyright 2003-2009, by Object Refinery Limited. | |
| 31 | * | |
| 32 | * Original Author: David Gilbert (for Object Refinery Limited); | |
| 33 | * Contributor(s): Peter Kolb (patch 2809117); | |
| 34 | * | |
| 35 | * Changes: | |
| 36 | * -------- | |
| 37 | * 21-May-2003 : Version 1 (DG); | |
| 38 | * 10-Jun-2003 : Changed BoundsAnchor to TextAnchor (DG); | |
| 39 | * 02-Jul-2003 : Added accessor methods and simplified constructor (DG); | |
| 40 | * 19-Aug-2003 : Implemented Cloneable (DG); | |
| 41 | * 13-Oct-2003 : Fixed bug where arrow paint is not set correctly (DG); | |
| 42 | * 21-Jan-2004 : Update for renamed method in ValueAxis (DG); | |
| 43 | * 29-Sep-2004 : Changes to draw() method signature (DG); | |
| 44 | * ------------- JFREECHART 1.0.x --------------------------------------------- | |
| 45 | * 20-Feb-2006 : Correction for equals() method (fixes bug 1435160) (DG); | |
| 46 | * 12-Jul-2006 : Fix drawing for PlotOrientation.HORIZONTAL, thanks to | |
| 47 | * Skunk (DG); | |
| 48 | * 12-Feb-2009 : Added support for rotated label, plus background and | |
| 49 | * outline (DG); | |
| 50 | * 18-May-2009 : Fixed typo in hashCode() method (DG); | |
| 51 | * 24-Jun-2009 : Fire change events (see patch 2809117 by PK) (DG); | |
| 52 | * | |
| 53 | */ | |
| 54 | ||
| 55 | package org.jfree.chart.annotations; | |
| 56 | ||
| 57 | import java.awt.BasicStroke; | |
| 58 | import java.awt.Color; | |
| 59 | import java.awt.Graphics2D; | |
| 60 | import java.awt.Paint; | |
| 61 | import java.awt.Shape; | |
| 62 | import java.awt.Stroke; | |
| 63 | import java.awt.geom.GeneralPath; | |
| 64 | import java.awt.geom.Line2D; | |
| 65 | import java.awt.geom.Rectangle2D; | |
| 66 | import java.io.IOException; | |
| 67 | import java.io.ObjectInputStream; | |
| 68 | import java.io.ObjectOutputStream; | |
| 69 | import java.io.Serializable; | |
| 70 | ||
| 71 | import org.jfree.chart.axis.ValueAxis; | |
| 72 | import org.jfree.chart.plot.Plot; | |
| 73 | import org.jfree.chart.plot.PlotOrientation; | |
| 74 | import org.jfree.chart.plot.PlotRenderingInfo; | |
| 75 | import org.jfree.chart.plot.XYPlot; | |
| 76 | import org.jfree.chart.text.TextUtilities; | |
| 77 | import org.jfree.chart.util.HashUtilities; | |
| 78 | import org.jfree.chart.util.ObjectUtilities; | |
| 79 | import org.jfree.chart.util.PublicCloneable; | |
| 80 | import org.jfree.chart.util.RectangleEdge; | |
| 81 | import org.jfree.chart.util.SerialUtilities; | |
| 82 | ||
| 83 | /** | |
| 84 | * An arrow and label that can be placed on an {@link XYPlot}. The arrow is | |
| 85 | * drawn at a user-definable angle so that it points towards the (x, y) | |
| 86 | * location for the annotation. | |
| 87 | *
 | |
| 88 | * The arrow length (and its offset from the (x, y) location) is controlled by | |
| 89 | * the tip radius and the base radius attributes. Imagine two circles around | |
| 90 | * the (x, y) coordinate: the inner circle defined by the tip radius, and the | |
| 91 | * outer circle defined by the base radius. Now, draw the arrow starting at | |
| 92 | * some point on the outer circle (the point is determined by the angle), with | |
| 93 | * the arrow tip being drawn at a corresponding point on the inner circle. | |
| 94 | * | |
| 95 | */ | |
| 96 | public class XYPointerAnnotation extends XYTextAnnotation | |
| 97 | implements Cloneable, PublicCloneable, Serializable { | |
| 98 | ||
| 99 | /** For serialization. */ | |
| 100 | private static final long serialVersionUID = -4031161445009858551L; | |
| 101 | ||
| 102 | /** The default tip radius (in Java2D units). */ | |
| 103 | public static final double DEFAULT_TIP_RADIUS = 10.0; | |
| 104 | ||
| 105 | /** The default base radius (in Java2D units). */ | |
| 106 | public static final double DEFAULT_BASE_RADIUS = 30.0; | |
| 107 | ||
| 108 | /** The default label offset (in Java2D units). */ | |
| 109 | public static final double DEFAULT_LABEL_OFFSET = 3.0; | |
| 110 | ||
| 111 | /** The default arrow length (in Java2D units). */ | |
| 112 | public static final double DEFAULT_ARROW_LENGTH = 5.0; | |
| 113 | ||
| 114 | /** The default arrow width (in Java2D units). */ | |
| 115 | public static final double DEFAULT_ARROW_WIDTH = 3.0; | |
| 116 | ||
| 117 | /** The angle of the arrow's line (in radians). */ | |
| 118 | private double angle; | |
| 119 | ||
| 120 | /** | |
| 121 | * The radius from the (x, y) point to the tip of the arrow (in Java2D | |
| 122 | * units). | |
| 123 | */ | |
| 124 | private double tipRadius; | |
| 125 | ||
| 126 | /** | |
| 127 | * The radius from the (x, y) point to the start of the arrow line (in | |
| 128 | * Java2D units). | |
| 129 | */ | |
| 130 | private double baseRadius; | |
| 131 | ||
| 132 | /** The length of the arrow head (in Java2D units). */ | |
| 133 | private double arrowLength; | |
| 134 | ||
| 135 | /** The arrow width (in Java2D units, per side). */ | |
| 136 | private double arrowWidth; | |
| 137 | ||
| 138 | /** The arrow stroke. */ | |
| 139 | private transient Stroke arrowStroke; | |
| 140 | ||
| 141 | /** The arrow paint. */ | |
| 142 | private transient Paint arrowPaint; | |
| 143 | ||
| 144 | /** The radius from the base point to the anchor point for the label. */ | |
| 145 | private double labelOffset; | |
| 146 | ||
| 147 | /** | |
| 148 | * Creates a new label and arrow annotation. | |
| 149 | * | |
| 150 | * @param label the label (null permitted). | |
| 151 | * @param x the x-coordinate (measured against the chart's domain axis). | |
| 152 | * @param y the y-coordinate (measured against the chart's range axis). | |
| 153 | * @param angle the angle of the arrow's line (in radians). | |
| 154 | */ | |
| 155 | public XYPointerAnnotation(String label, double x, double y, double angle) { | |
| 156 | ||
| 157 | super(label, x, y); | |
| 158 | this.angle = angle; | |
| 159 | this.tipRadius = DEFAULT_TIP_RADIUS; | |
| 160 | this.baseRadius = DEFAULT_BASE_RADIUS; | |
| 161 | this.arrowLength = DEFAULT_ARROW_LENGTH; | |
| 162 | this.arrowWidth = DEFAULT_ARROW_WIDTH; | |
| 163 | this.labelOffset = DEFAULT_LABEL_OFFSET; | |
| 164 | this.arrowStroke = new BasicStroke(1.0f); | |
| 165 | this.arrowPaint = Color.black; | |
| 166 | ||
| 167 | } | |
| 168 | ||
| 169 | /** | |
| 170 | * Returns the angle of the arrow. | |
| 171 | * | |
| 172 | * @return The angle (in radians). | |
| 173 | * | |
| 174 | * @see #setAngle(double) | |
| 175 | */ | |
| 176 | public double getAngle() { | |
| 177 |
1
1. getAngle : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getAngle → NO_COVERAGE |
return this.angle; |
| 178 | } | |
| 179 | ||
| 180 | /** | |
| 181 | * Sets the angle of the arrow and sends an | |
| 182 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 183 | * | |
| 184 | * @param angle the angle (in radians). | |
| 185 | * | |
| 186 | * @see #getAngle() | |
| 187 | */ | |
| 188 | public void setAngle(double angle) { | |
| 189 | this.angle = angle; | |
| 190 |
1
1. setAngle : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 191 | } | |
| 192 | ||
| 193 | /** | |
| 194 | * Returns the tip radius. | |
| 195 | * | |
| 196 | * @return The tip radius (in Java2D units). | |
| 197 | * | |
| 198 | * @see #setTipRadius(double) | |
| 199 | */ | |
| 200 | public double getTipRadius() { | |
| 201 |
1
1. getTipRadius : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getTipRadius → NO_COVERAGE |
return this.tipRadius; |
| 202 | } | |
| 203 | ||
| 204 | /** | |
| 205 | * Sets the tip radius and sends an | |
| 206 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 207 | * | |
| 208 | * @param radius the radius (in Java2D units). | |
| 209 | * | |
| 210 | * @see #getTipRadius() | |
| 211 | */ | |
| 212 | public void setTipRadius(double radius) { | |
| 213 | this.tipRadius = radius; | |
| 214 |
1
1. setTipRadius : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 215 | } | |
| 216 | ||
| 217 | /** | |
| 218 | * Returns the base radius. | |
| 219 | * | |
| 220 | * @return The base radius (in Java2D units). | |
| 221 | * | |
| 222 | * @see #setBaseRadius(double) | |
| 223 | */ | |
| 224 | public double getBaseRadius() { | |
| 225 |
1
1. getBaseRadius : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getBaseRadius → NO_COVERAGE |
return this.baseRadius; |
| 226 | } | |
| 227 | ||
| 228 | /** | |
| 229 | * Sets the base radius and sends an | |
| 230 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 231 | * | |
| 232 | * @param radius the radius (in Java2D units). | |
| 233 | * | |
| 234 | * @see #getBaseRadius() | |
| 235 | */ | |
| 236 | public void setBaseRadius(double radius) { | |
| 237 | this.baseRadius = radius; | |
| 238 |
1
1. setBaseRadius : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 239 | } | |
| 240 | ||
| 241 | /** | |
| 242 | * Returns the label offset. | |
| 243 | * | |
| 244 | * @return The label offset (in Java2D units). | |
| 245 | * | |
| 246 | * @see #setLabelOffset(double) | |
| 247 | */ | |
| 248 | public double getLabelOffset() { | |
| 249 |
1
1. getLabelOffset : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getLabelOffset → NO_COVERAGE |
return this.labelOffset; |
| 250 | } | |
| 251 | ||
| 252 | /** | |
| 253 | * Sets the label offset (from the arrow base, continuing in a straight | |
| 254 | * line, in Java2D units) and sends an | |
| 255 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 256 | * | |
| 257 | * @param offset the offset (in Java2D units). | |
| 258 | * | |
| 259 | * @see #getLabelOffset() | |
| 260 | */ | |
| 261 | public void setLabelOffset(double offset) { | |
| 262 | this.labelOffset = offset; | |
| 263 |
1
1. setLabelOffset : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 264 | } | |
| 265 | ||
| 266 | /** | |
| 267 | * Returns the arrow length. | |
| 268 | * | |
| 269 | * @return The arrow length. | |
| 270 | * | |
| 271 | * @see #setArrowLength(double) | |
| 272 | */ | |
| 273 | public double getArrowLength() { | |
| 274 |
1
1. getArrowLength : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getArrowLength → NO_COVERAGE |
return this.arrowLength; |
| 275 | } | |
| 276 | ||
| 277 | /** | |
| 278 | * Sets the arrow length and sends an | |
| 279 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 280 | * | |
| 281 | * @param length the length. | |
| 282 | * | |
| 283 | * @see #getArrowLength() | |
| 284 | */ | |
| 285 | public void setArrowLength(double length) { | |
| 286 | this.arrowLength = length; | |
| 287 |
1
1. setArrowLength : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 288 | } | |
| 289 | ||
| 290 | /** | |
| 291 | * Returns the arrow width. | |
| 292 | * | |
| 293 | * @return The arrow width (in Java2D units). | |
| 294 | * | |
| 295 | * @see #setArrowWidth(double) | |
| 296 | */ | |
| 297 | public double getArrowWidth() { | |
| 298 |
1
1. getArrowWidth : replaced return of double value with -(x + 1) for org/jfree/chart/annotations/XYPointerAnnotation::getArrowWidth → NO_COVERAGE |
return this.arrowWidth; |
| 299 | } | |
| 300 | ||
| 301 | /** | |
| 302 | * Sets the arrow width and sends an | |
| 303 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 304 | * | |
| 305 | * @param width the width (in Java2D units). | |
| 306 | * | |
| 307 | * @see #getArrowWidth() | |
| 308 | */ | |
| 309 | public void setArrowWidth(double width) { | |
| 310 | this.arrowWidth = width; | |
| 311 |
1
1. setArrowWidth : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 312 | } | |
| 313 | ||
| 314 | /** | |
| 315 | * Returns the stroke used to draw the arrow line. | |
| 316 | * | |
| 317 | * @return The arrow stroke (never null). | |
| 318 | * | |
| 319 | * @see #setArrowStroke(Stroke) | |
| 320 | */ | |
| 321 | public Stroke getArrowStroke() { | |
| 322 |
1
1. getArrowStroke : mutated return of Object value for org/jfree/chart/annotations/XYPointerAnnotation::getArrowStroke to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return this.arrowStroke; |
| 323 | } | |
| 324 | ||
| 325 | /** | |
| 326 | * Sets the stroke used to draw the arrow line and sends an | |
| 327 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 328 | * | |
| 329 | * @param stroke the stroke (null not permitted). | |
| 330 | * | |
| 331 | * @see #getArrowStroke() | |
| 332 | */ | |
| 333 | public void setArrowStroke(Stroke stroke) { | |
| 334 |
1
1. setArrowStroke : negated conditional → KILLED |
if (stroke == null) { |
| 335 | throw new IllegalArgumentException("Null 'stroke' not permitted."); | |
| 336 | } | |
| 337 | this.arrowStroke = stroke; | |
| 338 |
1
1. setArrowStroke : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 339 | } | |
| 340 | ||
| 341 | /** | |
| 342 | * Returns the paint used for the arrow. | |
| 343 | * | |
| 344 | * @return The arrow paint (never null). | |
| 345 | * | |
| 346 | * @see #setArrowPaint(Paint) | |
| 347 | */ | |
| 348 | public Paint getArrowPaint() { | |
| 349 |
1
1. getArrowPaint : mutated return of Object value for org/jfree/chart/annotations/XYPointerAnnotation::getArrowPaint to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return this.arrowPaint; |
| 350 | } | |
| 351 | ||
| 352 | /** | |
| 353 | * Sets the paint used for the arrow and sends an | |
| 354 | * {@link AnnotationChangeEvent} to all registered listeners. | |
| 355 | * | |
| 356 | * @param paint the arrow paint (null not permitted). | |
| 357 | * | |
| 358 | * @see #getArrowPaint() | |
| 359 | */ | |
| 360 | public void setArrowPaint(Paint paint) { | |
| 361 |
1
1. setArrowPaint : negated conditional → KILLED |
if (paint == null) { |
| 362 | throw new IllegalArgumentException("Null 'paint' argument."); | |
| 363 | } | |
| 364 | this.arrowPaint = paint; | |
| 365 |
1
1. setArrowPaint : removed call to org/jfree/chart/annotations/XYPointerAnnotation::fireAnnotationChanged → SURVIVED |
fireAnnotationChanged(); |
| 366 | } | |
| 367 | ||
| 368 | /** | |
| 369 | * Draws the annotation. | |
| 370 | * | |
| 371 | * @param g2 the graphics device. | |
| 372 | * @param plot the plot. | |
| 373 | * @param dataArea the data area. | |
| 374 | * @param domainAxis the domain axis. | |
| 375 | * @param rangeAxis the range axis. | |
| 376 | * @param rendererIndex the renderer index. | |
| 377 | * @param info the plot rendering info. | |
| 378 | */ | |
| 379 | public void draw(Graphics2D g2, XYPlot plot, Rectangle2D dataArea, | |
| 380 | ValueAxis domainAxis, ValueAxis rangeAxis, | |
| 381 | int rendererIndex, | |
| 382 | PlotRenderingInfo info) { | |
| 383 | ||
| 384 | PlotOrientation orientation = plot.getOrientation(); | |
| 385 | RectangleEdge domainEdge = Plot.resolveDomainAxisLocation( | |
| 386 | plot.getDomainAxisLocation(), orientation); | |
| 387 | RectangleEdge rangeEdge = Plot.resolveRangeAxisLocation( | |
| 388 | plot.getRangeAxisLocation(), orientation); | |
| 389 | double j2DX = domainAxis.valueToJava2D(getX(), dataArea, domainEdge); | |
| 390 | double j2DY = rangeAxis.valueToJava2D(getY(), dataArea, rangeEdge); | |
| 391 |
1
1. draw : negated conditional → NO_COVERAGE |
if (orientation == PlotOrientation.HORIZONTAL) { |
| 392 | double temp = j2DX; | |
| 393 | j2DX = j2DY; | |
| 394 | j2DY = temp; | |
| 395 | } | |
| 396 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double startX = j2DX + Math.cos(this.angle) * this.baseRadius; |
| 397 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double startY = j2DY + Math.sin(this.angle) * this.baseRadius; |
| 398 | ||
| 399 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double endX = j2DX + Math.cos(this.angle) * this.tipRadius; |
| 400 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double endY = j2DY + Math.sin(this.angle) * this.tipRadius; |
| 401 | ||
| 402 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double arrowBaseX = endX + Math.cos(this.angle) * this.arrowLength; |
| 403 |
2
1. draw : Replaced double multiplication with division → NO_COVERAGE 2. draw : Replaced double addition with subtraction → NO_COVERAGE |
double arrowBaseY = endY + Math.sin(this.angle) * this.arrowLength; |
| 404 | ||
| 405 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double addition with subtraction → NO_COVERAGE |
double arrowLeftX = arrowBaseX |
| 406 | + Math.cos(this.angle + Math.PI / 2.0) * this.arrowWidth; | |
| 407 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double addition with subtraction → NO_COVERAGE |
double arrowLeftY = arrowBaseY |
| 408 | + Math.sin(this.angle + Math.PI / 2.0) * this.arrowWidth; | |
| 409 | ||
| 410 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double subtraction with addition → NO_COVERAGE |
double arrowRightX = arrowBaseX |
| 411 | - Math.cos(this.angle + Math.PI / 2.0) * this.arrowWidth; | |
| 412 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double subtraction with addition → NO_COVERAGE |
double arrowRightY = arrowBaseY |
| 413 | - Math.sin(this.angle + Math.PI / 2.0) * this.arrowWidth; | |
| 414 | ||
| 415 | GeneralPath arrow = new GeneralPath(); | |
| 416 |
1
1. draw : removed call to java/awt/geom/GeneralPath::moveTo → NO_COVERAGE |
arrow.moveTo((float) endX, (float) endY); |
| 417 |
1
1. draw : removed call to java/awt/geom/GeneralPath::lineTo → NO_COVERAGE |
arrow.lineTo((float) arrowLeftX, (float) arrowLeftY); |
| 418 |
1
1. draw : removed call to java/awt/geom/GeneralPath::lineTo → NO_COVERAGE |
arrow.lineTo((float) arrowRightX, (float) arrowRightY); |
| 419 |
1
1. draw : removed call to java/awt/geom/GeneralPath::closePath → NO_COVERAGE |
arrow.closePath(); |
| 420 | ||
| 421 |
1
1. draw : removed call to java/awt/Graphics2D::setStroke → NO_COVERAGE |
g2.setStroke(this.arrowStroke); |
| 422 |
1
1. draw : removed call to java/awt/Graphics2D::setPaint → NO_COVERAGE |
g2.setPaint(this.arrowPaint); |
| 423 | Line2D line = new Line2D.Double(startX, startY, arrowBaseX, arrowBaseY); | |
| 424 |
1
1. draw : removed call to java/awt/Graphics2D::draw → NO_COVERAGE |
g2.draw(line); |
| 425 |
1
1. draw : removed call to java/awt/Graphics2D::fill → NO_COVERAGE |
g2.fill(arrow); |
| 426 | ||
| 427 | // draw the label | |
| 428 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double addition with subtraction → NO_COVERAGE |
double labelX = j2DX + Math.cos(this.angle) * (this.baseRadius |
| 429 | + this.labelOffset); | |
| 430 |
3
1. draw : Replaced double addition with subtraction → NO_COVERAGE 2. draw : Replaced double multiplication with division → NO_COVERAGE 3. draw : Replaced double addition with subtraction → NO_COVERAGE |
double labelY = j2DY + Math.sin(this.angle) * (this.baseRadius |
| 431 | + this.labelOffset); | |
| 432 |
1
1. draw : removed call to java/awt/Graphics2D::setFont → NO_COVERAGE |
g2.setFont(getFont()); |
| 433 | Shape hotspot = TextUtilities.calculateRotatedStringBounds( | |
| 434 | getText(), g2, (float) labelX, (float) labelY, getTextAnchor(), | |
| 435 | getRotationAngle(), getRotationAnchor()); | |
| 436 |
1
1. draw : negated conditional → NO_COVERAGE |
if (getBackgroundPaint() != null) { |
| 437 |
1
1. draw : removed call to java/awt/Graphics2D::setPaint → NO_COVERAGE |
g2.setPaint(getBackgroundPaint()); |
| 438 |
1
1. draw : removed call to java/awt/Graphics2D::fill → NO_COVERAGE |
g2.fill(hotspot); |
| 439 | } | |
| 440 |
1
1. draw : removed call to java/awt/Graphics2D::setPaint → NO_COVERAGE |
g2.setPaint(getPaint()); |
| 441 |
1
1. draw : removed call to org/jfree/chart/text/TextUtilities::drawRotatedString → NO_COVERAGE |
TextUtilities.drawRotatedString(getText(), g2, (float) labelX, |
| 442 | (float) labelY, getTextAnchor(), getRotationAngle(), | |
| 443 | getRotationAnchor()); | |
| 444 |
1
1. draw : negated conditional → NO_COVERAGE |
if (isOutlineVisible()) { |
| 445 |
1
1. draw : removed call to java/awt/Graphics2D::setStroke → NO_COVERAGE |
g2.setStroke(getOutlineStroke()); |
| 446 |
1
1. draw : removed call to java/awt/Graphics2D::setPaint → NO_COVERAGE |
g2.setPaint(getOutlinePaint()); |
| 447 |
1
1. draw : removed call to java/awt/Graphics2D::draw → NO_COVERAGE |
g2.draw(hotspot); |
| 448 | } | |
| 449 | ||
| 450 | String toolTip = getToolTipText(); | |
| 451 | String url = getURL(); | |
| 452 |
2
1. draw : negated conditional → NO_COVERAGE 2. draw : negated conditional → NO_COVERAGE |
if (toolTip != null || url != null) { |
| 453 |
1
1. draw : removed call to org/jfree/chart/annotations/XYPointerAnnotation::addEntity → NO_COVERAGE |
addEntity(info, hotspot, rendererIndex, toolTip, url); |
| 454 | } | |
| 455 | ||
| 456 | } | |
| 457 | ||
| 458 | /** | |
| 459 | * Tests this annotation for equality with an arbitrary object. | |
| 460 | * | |
| 461 | * @param obj the object (null permitted). | |
| 462 | * | |
| 463 | * @return true or false. | |
| 464 | */ | |
| 465 | public boolean equals(Object obj) { | |
| 466 |
1
1. equals : negated conditional → KILLED |
if (obj == this) { |
| 467 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return true; |
| 468 | } | |
| 469 |
1
1. equals : negated conditional → KILLED |
if (!(obj instanceof XYPointerAnnotation)) { |
| 470 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return false; |
| 471 | } | |
| 472 | XYPointerAnnotation that = (XYPointerAnnotation) obj; | |
| 473 |
1
1. equals : negated conditional → KILLED |
if (this.angle != that.angle) { |
| 474 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 475 | } | |
| 476 |
1
1. equals : negated conditional → KILLED |
if (this.tipRadius != that.tipRadius) { |
| 477 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 478 | } | |
| 479 |
1
1. equals : negated conditional → KILLED |
if (this.baseRadius != that.baseRadius) { |
| 480 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 481 | } | |
| 482 |
1
1. equals : negated conditional → KILLED |
if (this.arrowLength != that.arrowLength) { |
| 483 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 484 | } | |
| 485 |
1
1. equals : negated conditional → KILLED |
if (this.arrowWidth != that.arrowWidth) { |
| 486 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 487 | } | |
| 488 |
1
1. equals : negated conditional → KILLED |
if (!this.arrowPaint.equals(that.arrowPaint)) { |
| 489 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 490 | } | |
| 491 |
1
1. equals : negated conditional → KILLED |
if (!ObjectUtilities.equal(this.arrowStroke, that.arrowStroke)) { |
| 492 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 493 | } | |
| 494 |
1
1. equals : negated conditional → KILLED |
if (this.labelOffset != that.labelOffset) { |
| 495 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return false; |
| 496 | } | |
| 497 |
1
1. equals : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return super.equals(obj); |
| 498 | } | |
| 499 | ||
| 500 | /** | |
| 501 | * Returns a hash code for this instance. | |
| 502 | * | |
| 503 | * @return A hash code. | |
| 504 | */ | |
| 505 | public int hashCode() { | |
| 506 | int result = super.hashCode(); | |
| 507 | long temp = Double.doubleToLongBits(this.angle); | |
| 508 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 509 | temp = Double.doubleToLongBits(this.tipRadius); | |
| 510 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 511 | temp = Double.doubleToLongBits(this.baseRadius); | |
| 512 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 513 | temp = Double.doubleToLongBits(this.arrowLength); | |
| 514 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 515 | temp = Double.doubleToLongBits(this.arrowWidth); | |
| 516 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 517 |
2
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = result * 37 + HashUtilities.hashCodeForPaint(this.arrowPaint); |
| 518 |
2
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = result * 37 + this.arrowStroke.hashCode(); |
| 519 | temp = Double.doubleToLongBits(this.labelOffset); | |
| 520 |
4
1. hashCode : Replaced integer multiplication with division → SURVIVED 2. hashCode : Replaced Unsigned Shift Right with Shift Left → SURVIVED 3. hashCode : Replaced XOR with AND → SURVIVED 4. hashCode : Replaced integer addition with subtraction → SURVIVED |
result = 37 * result + (int) (temp ^ (temp >>> 32)); |
| 521 |
1
1. hashCode : replaced return of integer sized value with (x == 0 ? 1 : 0) → SURVIVED |
return result; |
| 522 | } | |
| 523 | ||
| 524 | /** | |
| 525 | * Returns a clone of the annotation. | |
| 526 | * | |
| 527 | * @return A clone. | |
| 528 | * | |
| 529 | * @throws CloneNotSupportedException if the annotation can't be cloned. | |
| 530 | */ | |
| 531 | public Object clone() throws CloneNotSupportedException { | |
| 532 |
1
1. clone : mutated return of Object value for org/jfree/chart/annotations/XYPointerAnnotation::clone to ( if (x != null) null else throw new RuntimeException ) → KILLED |
return super.clone(); |
| 533 | } | |
| 534 | ||
| 535 | /** | |
| 536 | * Provides serialization support. | |
| 537 | * | |
| 538 | * @param stream the output stream. | |
| 539 | * | |
| 540 | * @throws IOException if there is an I/O error. | |
| 541 | */ | |
| 542 | private void writeObject(ObjectOutputStream stream) throws IOException { | |
| 543 |
1
1. writeObject : removed call to java/io/ObjectOutputStream::defaultWriteObject → KILLED |
stream.defaultWriteObject(); |
| 544 |
1
1. writeObject : removed call to org/jfree/chart/util/SerialUtilities::writePaint → KILLED |
SerialUtilities.writePaint(this.arrowPaint, stream); |
| 545 |
1
1. writeObject : removed call to org/jfree/chart/util/SerialUtilities::writeStroke → KILLED |
SerialUtilities.writeStroke(this.arrowStroke, stream); |
| 546 | } | |
| 547 | ||
| 548 | /** | |
| 549 | * Provides serialization support. | |
| 550 | * | |
| 551 | * @param stream the input stream. | |
| 552 | * | |
| 553 | * @throws IOException if there is an I/O error. | |
| 554 | * @throws ClassNotFoundException if there is a classpath problem. | |
| 555 | */ | |
| 556 | private void readObject(ObjectInputStream stream) | |
| 557 | throws IOException, ClassNotFoundException { | |
| 558 |
1
1. readObject : removed call to java/io/ObjectInputStream::defaultReadObject → KILLED |
stream.defaultReadObject(); |
| 559 | this.arrowPaint = SerialUtilities.readPaint(stream); | |
| 560 | this.arrowStroke = SerialUtilities.readStroke(stream); | |
| 561 | } | |
| 562 | ||
| 563 | } | |
Mutations | ||
| 177 |
1.1 |
|
| 190 |
1.1 |
|
| 201 |
1.1 |
|
| 214 |
1.1 |
|
| 225 |
1.1 |
|
| 238 |
1.1 |
|
| 249 |
1.1 |
|
| 263 |
1.1 |
|
| 274 |
1.1 |
|
| 287 |
1.1 |
|
| 298 |
1.1 |
|
| 311 |
1.1 |
|
| 322 |
1.1 |
|
| 334 |
1.1 |
|
| 338 |
1.1 |
|
| 349 |
1.1 |
|
| 361 |
1.1 |
|
| 365 |
1.1 |
|
| 391 |
1.1 |
|
| 396 |
1.1 2.2 |
|
| 397 |
1.1 2.2 |
|
| 399 |
1.1 2.2 |
|
| 400 |
1.1 2.2 |
|
| 402 |
1.1 2.2 |
|
| 403 |
1.1 2.2 |
|
| 405 |
1.1 2.2 3.3 |
|
| 407 |
1.1 2.2 3.3 |
|
| 410 |
1.1 2.2 3.3 |
|
| 412 |
1.1 2.2 3.3 |
|
| 416 |
1.1 |
|
| 417 |
1.1 |
|
| 418 |
1.1 |
|
| 419 |
1.1 |
|
| 421 |
1.1 |
|
| 422 |
1.1 |
|
| 424 |
1.1 |
|
| 425 |
1.1 |
|
| 428 |
1.1 2.2 3.3 |
|
| 430 |
1.1 2.2 3.3 |
|
| 432 |
1.1 |
|
| 436 |
1.1 |
|
| 437 |
1.1 |
|
| 438 |
1.1 |
|
| 440 |
1.1 |
|
| 441 |
1.1 |
|
| 444 |
1.1 |
|
| 445 |
1.1 |
|
| 446 |
1.1 |
|
| 447 |
1.1 |
|
| 452 |
1.1 2.2 |
|
| 453 |
1.1 |
|
| 466 |
1.1 |
|
| 467 |
1.1 |
|
| 469 |
1.1 |
|
| 470 |
1.1 |
|
| 473 |
1.1 |
|
| 474 |
1.1 |
|
| 476 |
1.1 |
|
| 477 |
1.1 |
|
| 479 |
1.1 |
|
| 480 |
1.1 |
|
| 482 |
1.1 |
|
| 483 |
1.1 |
|
| 485 |
1.1 |
|
| 486 |
1.1 |
|
| 488 |
1.1 |
|
| 489 |
1.1 |
|
| 491 |
1.1 |
|
| 492 |
1.1 |
|
| 494 |
1.1 |
|
| 495 |
1.1 |
|
| 497 |
1.1 |
|
| 508 |
1.1 2.2 3.3 4.4 |
|
| 510 |
1.1 2.2 3.3 4.4 |
|
| 512 |
1.1 2.2 3.3 4.4 |
|
| 514 |
1.1 2.2 3.3 4.4 |
|
| 516 |
1.1 2.2 3.3 4.4 |
|
| 517 |
1.1 2.2 |
|
| 518 |
1.1 2.2 |
|
| 520 |
1.1 2.2 3.3 4.4 |
|
| 521 |
1.1 |
|
| 532 |
1.1 |
|
| 543 |
1.1 |
|
| 544 |
1.1 |
|
| 545 |
1.1 |
|
| 558 |
1.1 |


Q. 103. Can any man keep these ten commandments perfectly?
A. No mere man, since the fall of Adam, ever did or can keep the ten commandments perfectly.
Q. 104. Of what use are the ten commandments to us?
A. They teach us our duty, and show our need of a Savior.


| pivot_longer.tbl_lazy {dbplyr} | R Documentation |
pivot_longer()
"lengthens" data, increasing the number of rows and
decreasing the number of columns. The inverse transformation is
'tidyr::pivot_wider()]
Learn more in vignette("pivot", "tidyr")
.
While most functionality is identical there are some differences to
pivot_longer()
on local data frames:
the output is sorted differently/not explicitly,
the coercion of mixed column types is left to the database,
values_ptypes
NOT supported.
Note that build_longer_spec()
and pivot_longer_spec()
do not work with
remote tables.
pivot_longer.tbl_lazy( data, cols, names_to = "name", names_prefix = NULL, names_sep = NULL, names_pattern = NULL, names_ptypes = list(), names_transform = list(), names_repair = "check_unique", values_to = "value", values_drop_na = FALSE, values_ptypes, values_transform = list(), ... )
data |
A data frame to pivot. |
cols |
Columns to pivot into longer format. |
names_to |
A string specifying the name of the column to create
from the data stored in the column names of |
names_prefix |
A regular expression used to remove matching text from the start of each variable name. |
names_sep, names_pattern |
If |
names_ptypes |
A list of column name-prototype pairs. |
names_transform, values_transform |
A list of column name-function pairs. |
names_repair |
What happens if the output has invalid column names? |
values_to |
A string specifying the name of the column to create
from the data stored in cell values. If |
values_drop_na |
If |
values_ptypes |
Not supported. |
... |
Additional arguments passed on to methods. |
The SQL translation basically works as follows:
split the specification by its key columns i.e. by variables crammed into the column names.
for each part in the splitted specification transmute()
data
into the
following columns
id columns i.e. columns that are not pivotted
key columns
value columns i.e. columns that are pivotted
combine all the parts with union_all()
# See vignette("pivot") for examples and explanation # Simplest case where column names are character data if (require("tidyr", quietly = TRUE)) { memdb_frame( id = c("a", "b"), x = 1:2, y = 3:4 ) %>% pivot_longer(-id) }


Using Peripherals with the Base overlay¶
Base overlay¶
The PYNQ-Z1 has 2 Pmod connectors. PMODA and PMODB as indicated below are connected to the FPGA fabric.
Using Pmods with an overlay¶
To use a peripheral two software components are required; a driver application written in C for the IOP, and a Python module. These components are provided as part of the Pynq package for supported peripherals. See the IO Processors: Writing your own software section of the documentation for writing drivers for your own peripherals.
The Python module instantiates the peripheral, and loads the driver application to the appropriate IOP. The IOP will also be reset and start executing the new application.
The Python module will send commands which the IOP will interpret and execute. The Python module may also send the data if necessary. The IOP will read from and write data into the shared memory area.
Example: Using the OLED and the Ambient Light Sensor (ALS)¶
This examples requires the PmodOLED (OLED), and PmodALS (Ambient Light Sensor). Plug the PmodALS into PMODA, and PmodOLED into the top row of PMODB. (Currently, the PmodALS can only be used in the top row of a Pmod port.)
OLED displaying light reading from ambient light sensor:
Execute the next cell to load the FPGA fabric with the desired overlay, and then import the OLED module and instantiate it on PMODB:
In [1]:
from pynq import Overlay
from pynq.iop import Pmod_OLED
from pynq.iop import PMODB
ol = Overlay("base.bit")
ol.download()
oled = Pmod_OLED(PMODB)
Try writing a message to the OLED.
In [2]:
oled.write("Hello World")
In [3]:
oled.clear()
Import the ALS library, create an instance of the ALS Pmod, and read the value from the sensor.
In [4]:
from pynq.iop import Pmod_ALS
from pynq.iop import PMODA
als = Pmod_ALS(PMODA)
als.read()
Out[4]:
255
Write the value from the ALS to the OLED. The ALS sensor returns an 8-bit value.
- 0 : Darkest
- 255 : Brightest
In [5]:
oled.write("Light value : " + str(als.read()))
In [6]:
import time
from pynq.iop import Pmod_ALS
from pynq.iop import PMODA
als = Pmod_ALS(PMODA)
als.set_log_interval_ms(100)
als.start_log()
time.sleep(1)
als.stop_log()
als.get_log()
Out[6]:
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
For information on other supported peripherals and their API, see the pynq.iop package section of the documentation.


Colin Jost Calls Fiancée Scarlett Johansson’s Ex-Husband Ryan Reynolds His ‘Best Friend’ In ‘SNL’ Sketch
by Brent FurdykRyan Reynolds made a surprise appearance during Will Ferrell’s “Saturday Night Live” monologue this week, and delighted fans when he popped up later in the show during “Weekend Update”.
Alex Moffat was reprising his smarmy “Guy Who Owns a Boat” character, and then introduced his equally obnoxious pal “Guy Who Knows the Owner,” played by Reynolds, as they offered their dubious advice on hooking up.
At the end of their bit, “Weekend Update” anchor Colin Jost bid the pair farewell, calling them “my two best friends” — a line made all the more interesting given that Reynolds was once married to Scarlett Johansson, who is currently engaged to Jost.
Reynolds also appeared onstage for the show’s closing moments, with he and Jost on opposite ends of the stage.
Reynolds wasn’t the only star to make a surprise appearance on this week’s “SNL”.
Along with Alec Baldwin returning as Donald Trump in the cold open, a sketch spoofing this week’s Democratic candidate debate featured unexpected appearances by Maya Rudolph (as Kamala Harris), Larry David (Bernie Sanders), Rachel Dratch (Amy Klobuchar), Woody Harrelson (Joe Biden) and Fred Armisen (Michael Bloomberg). Watch:
“Saturday Night Live” airs Saturdays at 11:30 p.m. ET, 8:30 p.m. PT on Global.


{{template "layout" .}} {{define "body"}} {{with .Data}} {{$repo := .Repo.Name}} {{$repo}}: {{range $i, $e := .PathSegments}}{{if gt $i 0}}/{{end}}{{$e.Name}}{{end}} new search [/] , view at {{.ExternalDomain}} [v] , {{if .Permalink}} permalink [y] , {{else}} back to HEAD , {{end}} help [?] search for selected text [/] , previous match [p] , next match [n] , help [?] {{with .DirContent}} {{range $child := .Entries}} {{if $child.Path}}{{$child.Name}}{{if $child.IsDir}}/{{end}}{{else}}{{$child.Name}}{{end}} {{if .SymlinkTarget}}→ ({{.SymlinkTarget}}){{end}} {{end}} {{ with .ReadmeContent }} {{ template "filecontent" . }} {{end}} {{end}} {{with .FileContent}} {{ template "filecontent" . }} {{end}} Click on a line number to highlight it Shift + click a second line number to highlight a range Press / to start a new search Press b to see which authors wrote which lines Press l to see the commit log for this file Press v to view this file/directory at {{.ExternalDomain}} Press y to create a permalink to this version of this file Select some text and press / to search for that text Select some text and press enter to search for that text in a new tab Select some text and press p for the previous match for that text Select some text and press n for the next match for that text {{end}} {{end}}


Standard styling for text inputs and their states. Wrap inputs in the
.form-row
class to create consistent form layouts
Examples of text inputs that have coupled descriptions. Namely inputs with error/warning messages and required or optional inputs that give context as to why the field is required, or an indicator that the field is optional.
Error messages should appear next to the form field that has the error to give appropriate context, and be linked to the input via an aria-describedby attribute. See the form patterns section for an alternate error pattern if the optimal pattern shown below is not possible to implement.
Instructions for required input so that people don't enter invalid info.
Styling for text inputs of types other than 'text'. See more examples of text inputs with extended browser functionality in 'Special Inputs'.
Inputs that don't fit the general styling, or are restyled to fit onto inverse backgrounds.
Used for long-form input from an end user.
Classes that help modify the visual appearance of a text input or textarea.


Overview
This session shows how to create Xamarin.Forms user interfaces declaratively with XAML. You will also see how to write code that interacts with your XAML UI so you can retrieve user input and display output.
Before you begin
This is a Xamarin.Forms class. To complete the coding exercises, you will need a Xamarin development environment with either a simulator/emulator or a physical device. Please read the setup requirements if you need guidance installing the Xamarin development environment.
Objectives
- XAML syntax
- Adding Behavior to XAML-based UI
- Advanced XAML
Lecture
XAM130 - XAML in Xamarin.Forms.
Exercises
-
Create a XAML-based version of CalculatorExercise
Convert the UI of an existing Xamarin.Forms application to use XAML. -
Adding Behavior to XAML CalculatorExercise
Connect the XAML-based UI to the code that implements the app's behavior. -
Cleanup the XAML code and tailor the UI to the platformExercise
Use static data to eliminate repeated values in the XAML. Fine-tune the UI with platform-specific values.
Exploring On Your Own
Here are the Frequently Asked Questions about using XAML.
Getting Started with XAML (Xamarin.Forms)
XAML Syntax in Detail (for WPF, but quite a bit of overlap)
XAML2009 specification (most is available in Xamarin.Forms)
Sample
ImageResourceExtension
for loading embedded resource images in XAML


ICT, Education, E-Learning
Location: Dublin, Ireland
Admin: Sara Weber
This person has been removed
from your friends list
Java Programmer
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce a nulla nunc. Cras elit nulla, varius vitae blandit sed, hendrerit vel nibh. Curabitur commodo vulputate dolor, sit amet lacinia felis ullamcorper ut.


Login
Invalid username or password entered.
Username
Username must be entered.
Password
Password must be entered.
Remember Me
Sign Up
Login


% include includes/head.html %>
<% include includes/header.html %>
这是快报页面 <% include includes/footer.html %>


Plug In Inspiration
TuneFork encourages you to collabotate with artists from all over the country and to stimulate your musical perception. Our community is comprised of musicians that are eager to inspire and to be inspired. TurnFork members have instant access to artists tracks and have the ability to extract sub-comonents of each track. Whether it be vocals, guitar, or piano recordings, TuneFork allows easy extraction of track segments.


This sample is intended as a hit-the-ground-running way to interact with the Infinite Flight Live API
in NodeJS or as a server-side application to censor your API Key when using JavaScript to make requests
in the browser. It uses the InfiniteFlightLive
module to interact with the API, and as per the
license you are free to use just this module or the
entire sample in your own projects. You'll need to add your API Key to an ENV Variable called IfLiveKey
for this to work. If you don't have direct control over environment variables for your system/host, use a .env file as seen
here.
API Keys can be requested by email to<EMAIL_ADDRESS>Below, you can find documentation for how to use the API part of this sample. All responses are the same as
the Live API results
field of the Live API endpoints, with the exception of all user-related
endpoints, which return the full response from the API.
These are fetched using the /v2/sessions
endpoint. Sessions are servers, so this endpoint
returns active public Infinite Flight servers.
GET https://example.com/sessions
These are fetched using the /v2/flights
endpoint. Information available through this endpoint includes position information,
user data, and aircraft data.
GET https://example.com/flights?server={sessionId}
sessionId is the ID of the Session you want to get flights for, as per the /sessions
endpoint.
These are fetched using the /v2/flights/{id}/flightplan
endpoint. Information available through this endpoint is mainly waypoints.
GET https://example.com/flights/flightplan?flight={flightId}
flightId is the ID of the Flight you want to get a flight plan for.
These are fetched using the /v2/flights/{id}/route
endpoint. Information available through this endpoint is historical position information.
GET https://example.com/flights/route?flight={flightId}
flightId is the ID of the Flight you want to get the route for.
These are fetched using the /v2/atc
endpoint. Information available through this endpoint includes airport information,
frequency information, and time data.
GET https://example.com/atc?server={sessionId}
sessionId is the ID of the Session you want to get flight plans for, as per the /sessions
endpoint.
These are fetched using the /v2/user/grade
endpoint. Information available through this endpoint includes detailed grade information,
report history, violation history, and other basic statistics.
GET https://example.com/users?user={userId}
userId is the ID of the User you want to get Grade Information for, as per the /atc
or /flights
endpoint.
These are fetched using the /v2/user/stats
endpoint. Information available through this endpoint includes detailed grade information,
report history, violation history, and other basic statistics.
GET https://example.com/users/stats/single?user={userId}
userId is the ID of the User you want to get Statistics for, as per the /atc
or /flights
endpoint.
POST https://example.com/users/stats
{"userIds": ["00000000-0000-0000-0000-000000000000", "11111111-1111-1111-1111-111111111111"]}
These are fetched using the /v2/tracks
endpoint. Information available through this endpoint is active oceanic tracks.
GET https://example.com/tracks
These are fetched using the /v2/airport/{icao}/atis/{server}
endpoint. Information available is the airport's ATIS, if any.
GET https://example.com/atis?airport={icao}&server={server}
icao is the ICAO of the airport you want to get the ATIS for
server is the Session ID to get ATIS for, as per the /sessions
endpoint.


From the winter of 2020 to summer of 2021, I joined University of Pittsburgh's Center for Analytical Approaches to Social Innovation (CAASI) on a project with the mission of promoting and increasing the visibility of Black-owned businesses in Pittsburgh and to expand their business prescence on and around the local universities. I originally joined the project as a volunteer and used it for my final capstone project in the spring semester.
In this project, I acted as the lead designer on the tech team with 7 computer science students from various backgrounds. I also collaborated with the Community Engagement Team during ideation, user testing, and weekly meetings and helped the tech team in coding the HTML, CSS, and JavaScript used for the website.
The COVID-19 pandemic has wiped out nearly half of Black-owned businesses in the United States. The goal of this project is to connect Black-owned businesses with the university and local Pittsburgh communities.
We worked together with community partners and local business owners to research and create 412Connect, a platform for gathering and promoting Black-owned businesses through an online scavenger hunt.
User research was carried out by the Community Engagement Team to determine what features would be most appropriate and bring the most engagement between businesses and students. The team conducted multiple surveys, interviews, and focus groups to find good approaches to the problem. The findings from this team revealed that there was a large disconnect between local Black-owned businesses and the university community, and they showed how students tend to engage with the local businesses around them.
With this information in mind, it was determined that a "scavenger hunt" style web application would be the best approach to help bring awareness to these businesses and bring students and community members to them. With this application it was important to consider the businesses' feelings and to not dehumanize them by giving monetary incentives to students to visit them, and that the incentive to visit them should be more natural.
My first step was to make user personas so that we had a reliable and realistic representation of both the student population using 412Connect and the business owners who 412Connect is representing. These personas helped me throughout the design process in making sure that we had the end user in mind at all times when designing our solution.
User personas used throughout the design process.
Based on the user research, I designed and iterated through tons of sketches wireframes, and mockups. When designing the site, we determined that there were a few important things to keep in mind:
1. Consider both the businesses' and the customers' feelings.
2. Create an algorithm that matched user preferences with businesses to bring more successful interactions.
3. Have students complete tasks that foster more interact with businesses such as social media following.
Designing happened concurrently with programming of the site due to the small team and strict timeline for deadlines. Thus, we used Agile-style weekly sprints organized through three weekly meetings: a tech team meeting focused on programming, a design meeting for marketing and design, and a general weekly meeting where all teams met and gave feedback.
Currently, 412Connect is in the midst of its first launch, hosting eight businesses that were specially curated with a community partner. After this initial launch, a data report will be created with business interaction statistics and will be sent to the owners of these businesses to track student engagement.
Original sketches for the landing page of the site.
Figma wireframes for potential different styles of the landing page.
Mockups for the mobile landing page and student dashboard.
Mockups for the mobile landing page and student dashboard.
The website was designed to give a brief overview of the project and to encourage customers to join and explore the local businesses. It emphasizes the importance of why students should interact with these local businesses while giving them a fun challenge that gave them non-monetary rewards. The site so far has been successful with over 125 students in the first week of launching and generally positive feedback through email reviews. The site features two main badges that students can earn: a "Social Amplifier" badge which encourages students to follow and interact with businesses on social media, and a "Community Explorer" badge which features trivia questions made by the business owners for students to answer, helping students learn more about their business.
Overall, the project has been a blast to work on and has been well recieved by both students and business owners. Working on the project has taught me many new technologies and helped to create a group that is working towards fostering new relationships in our community.


Where I have worked?
Palo Alto Research Center
Data Visualization and Simulation Intern
Palo Alto, CA, United States • June 2017 - August 2017
◙ Technology Used: D3.js, Node.js, Express.js
◙ Developed a web based Interactive Visual Analytics Dashboard in D3.js
◙ The Objective was to provide a visual overview of energy management in a closed system with limited energy resources.
◙ Constructed various data parsers and data pipelines to parse, analyze, aggregate and convert the data within the application.
◙ Developed and added interactive features for visualizations using D3.js
Tata Consultancy Services
Developer
Mumbai, MH, India • November 2015 - June 2016
◙ Technology Used: JavaEE (JSP/Servlets), PostgreSQL, HTML5, CSS3, JavaScript, JQuery, Boot-Strap and D3.js.
◙ Developed a web based system, as a full stack developer, for TCS CodeVita called "The Philacodist Club (TPC)". The system enabled user to submit problem statements, solution and test cases. Users could also execute their test cases on the system in order to know the correctness of their solutions.
◙ Integrated a live visual dashboard built in D3.js to display the current status and statistics about the system.
◙ Evolved and maintained functionalities of Codevita system which is based on Mooshak.
Tata Consultancy Services
Developer/Analyst • Gurgaon, HR, India • July 2014 - November 2015
◙ Technology Used: SQL (Oracle), Microsoft Excel, HTML5, CSS3, JavaScript, PHP, MediaWiki, MySQL.
◙ Analyzed a Wiki based black box system for Boehringer Ingelheim.
◙ Provided enhancement feasibility reports and generated knowledge documentations.
◙ Tested all the enhancement requests and implemented them upon approval.
◙ Created a 95% replica, called Sandbox, of the system within 7 days and received a performance award from higher management and client.
◙ Automated document creation cycle and reduced process execution time by 25%. Received TCS On the Spot Award for the same.
◙ Served as Subject Matter Expert, due to my intensive research on the system.
Tata Consultancy Services
Support Executive • Gurgaon, HR, India • April 2013 - July 2014
◙ Technology Used: SQL (Oracle), Oracle Clinical, Microsoft Excel, HTML.
◙ Worked in Life Sciences domain, for a pharmaceutical major, Boehringer Ingelheim, Germany and learned about Clinical Trials, Drug Discovery and several health-care oriented technologies.
◙ Analyzed and resolved over 1000 issues with the clinical systems to provide business support.
◙ Resolved issues like Validation and Derivation Procedures, performing Mass Changes on Patient
Response Data, RDCM keys, or RDCI keys etc.
◙ Performed data analysis and generated reports, by using SQL as primary tool, to fulfill the client
requirements in order to help them to take critical business decisions.
◙ Learned customer support skills, requirement gathering skills and improved communication skills as
role was customer centric.
Tata Consultancy Services
Developer - Trainee • Gandhinagar, GJ, India • January 2013 - April 2013
◙ Technology Used: Oracle 10g XE, HTML5, CSS3, JavaScript, BootStrap, JQuery, JavaEE (JSP/Servlets).
◙ Developed the database design in Oracle 10g XE and contributed to the middle layer development of
a web based Multiplex Automation System.
◙ Developed the user interface of the web application.
◙ Debugged the system and handled change request.
◙ Received ILP Kudos award by higher management of TCS ILP Ahmedabad.