Octopus launches new renewables investment trust
by Edward ThicknesseThe renewables investment arm of Octopus Group will list a new trust next month, which will buy and operate renewable energy infrastructure assets such as wind farms and solar panels.
The Sunday Times reported that the Octopus Renewables Infrastructure Trust is seeking to raise about £250m in December’s float, and has forecast a three per cent return for the first year of trading, which will rise to seven to eight per cent thereafter.
Read more: Octopus eyes Co-op Energy amid shifting landscape for suppliers
The move comes as more and more firms invest in renewable energy sources over growing environmental concerns.
According to the Association of Investment Companies, a record £1.1bn was raised for renewable energy and infrastructure trusts in the first six months of this year.
Such investments are becoming increasingly appealing, with shares in renewables trusts tend to trade about 14 per cent higher than their net asset value.
Matt Setchell, co-head of Octopus Renewables, said: “This will bring direct access to renewable assets for investors.”
On Friday the company announced a deal with global energy supplier Res to purchase nine wind farms across the UK, Ireland, and France for more than €100 million (£86m).
The facilities have a total capacity of 130 megawatts and will take Octopus’ total onshore wind portfolio to 470 megawatts over 21 sites.
Alex Brierley, investment director at Octopus Renewables, said: “This is a further stride for Octopus into the European wind market, mirroring our strength in solar.
“With these assets, we’ve significantly expanded our onshore wind footprint in France, which continues to be highly attractive as a destination for investment in renewable energy.”
The investment group also owns a household supply subsidiary, Octopus Energy, which last week launched a joint venture with Midcounties Cooperative to support community generation projects across the country.
Read more: SSE profit rises as it calls for political action on renewables
Co-op Community Energy has already secured five new Power Purchase Agreements (PPAs) with hydro-electric sites operated by the National Trust across Wales.
The new agreements take the number of sites supplying renewable energy to Co-op Energy customers to 79.
Main image credit: Getty


The Ground Robotic Autonomous Vehicle Lab (GRAVL) is a student-run research group at Olin where I’ve worked since I arrived at Olin. During my first year, we set our sights on research that would focus on automated dirt road leveling. We recognized that self-driving car technology has been rapidly advancing in urban environments over the last few years, and envisioned a future in which these vehicles would be capable of navigating off-road areas and other unstructured environments. We believe that our work will contribute to the existing tech now so that rural roads will be ready when the time for widespread adoption of autonomous vehicles comes.
During my time on the team, I’ve worked on a mix of electro-mechanical system development (Freshman Year), simulation development (Sophomore Year), and most recently using machine learning for object detection and classification in 3D pointclouds (Junior Year). For more details, keep scrolling!
Project Links:
- Main Repository
- Simulation
- Other Maintained Repositories
- Wiki
Junior Year 2019 (Fall Only):
During my junior year, the team participated in the Panasonic Prototype 3D Lidar challenge and was selected as a finalist, receiving $2.5K for project funding and a loaned prototype 3D LiDAR to complete our project. I worked on a sub-project aimed at exploring the possibility of training datasets in simulation or with standard datasets data to use with the 3D Lidar, so we started with training a model on the Waymo dataset. The vision is to eventually be able to train up a model on purely simulated and automatically labeled datasets in order to use this data as part of a safety system. Using this data, this safety system would be able to reliably detect dangerous situations such as people standing in front of the tractor, potholes above a certain size, or an upcoming incline that would be unsafe for operation. This data could also be used to classify the current state of the road to inform the system whether or note more leveling is needed.
Our initial object detection results are presented in the image below:
Other platform improvements completed during this year are summarized in this video
Sophomore Year 2018-2019:
After my first year experience, we quickly learned that our heavy reliance on a physical platform had a number of issues:
- Only one person could test code at any given point
- Systems were co-dependent and tests would be halted due to one failing system
- The ground freezing during the winter months hindered our ability to test and effectively prevented us from testing during the end of the Fall semester and the first half of the Spring semester
During this year, the group refocused to robust platform development to improve upon the issues we encountered during our first year. Noticing our issues with extremely slow testing cycles and weather-dependent testing, I worked on developing a simulation that could be used as the first test platform. This simulation allowed us to significantly decrease our testing cycle. Tests that had previously required several team members to run a 3-hour field mission could now be completed by an individual within an hour of debugging in simulation.
The source code to the simulation can be viewed here
Freshman Year 2017-2018:
When I joined the team during my first semester, the group was in the middle of developing a package delivery system with a combination of an UAV (Unmanned Aerial Vehicle) and an UGV (Unmanned Ground Vehicle) as an “Air-Amazon” for US Marines. This semester’s work primarily consisted of individual sub-system development and testing. Demonstrated behaviors include 2D Lidar-based target tracking and path planning, autonomous offboard control of a Pixhawk-based drone, and monocular camera-based unstructured road detection.
In my second semester, since we were no longer under contract, we chose to pursue a new project related to automated dirt road maintenance & terraforming. Although our tractor was equipped with a three-point hitch that could be fitted with a box blade to terraform dirt, it was not currently outfitted for autonomous operation. My primary contribution this semester was in developing the firmware and low-level actuator control and designing a custom solution for precise actuation and control of the vehicle’s hitch. At the conclusion of this semester, we were able to detect bumps and divots in dirt by scanning the ground with a 2D lidar and precisely controlling the height of the box blade through ROS.


{% extends "layout.html" %} {% block content %}
Run by family for over 50 years , at Restuarant, we wish to offer our personal rendition of Maltesecuisine with an innovative take on traditional cooking methods, fine Maltese produce and the legacy of our shared food heritage, whilst including italian cuisine in our menu.
Moreover, we regard it as a personal challenge to help bring about a revival of Maltese cuisine and let its distinctive flavours and particular regional character brighten up the world.


Resume Link to My Online Resume Event Planner App Link to the Event Planner App (Angular) Map Link to Coffee Map


A collection of 'HTML', 'JavaScript', and 'CSS' assets that dynamically generate beautiful documentation from a 'Swagger' compliant API: <https://swagger.io/specification/>.
| Version: | 3.9.2 |
| Published: | 2018-03-23 |
| Author: | Javier Luraschi [aut, cre], RStudio [cph], SmartBear Software [aut, cph] |
| Maintainer: | Javier Luraschi <javier at rstudio.com> |
| BugReports: | https://github.com/rstudio/swagger/issues |
| License: | Apache License 2.0 | file LICENSE |
| Copyright: | see file COPYRIGHTS |
| URL: | https://github.com/rstudio/swagger |
| NeedsCompilation: | no |
| Materials: | NEWS |
| In views: | WebTechnologies |
| CRAN checks: | swagger results |
| Reference manual: | swagger.pdf |
| Package source: | swagger_3.9.2.tar.gz |
| Windows binaries: | r-devel: swagger_3.9.2.zip, r-release: swagger_3.9.2.zip, r-oldrel: swagger_3.9.2.zip |
| OS X binaries: | r-release: swagger_3.9.2.tgz, r-oldrel: swagger_3.9.2.tgz |
| Old sources: | swagger archive |
| Reverse imports: | mlflow |
Please use the canonical form https://CRAN.R-project.org/package=swagger to link to this page.


Inference for object detection
1. Build and load the model
import torch
import torch_object_detection
# Build the model
net = torch_object_detection.models.FaceNet(num_classes=2,
base=torch_object_detection.models.Base101())
# Load the trained weights
net.load_state_dict(torch.load('path/to/trained_model.pkl'))
2. Create a BoxCoder
for decoding the detection results.
-
If we make detections on in-variant size images (The image size is the same for all images), it is strongly recommended to define the
BoxCoder
for decoding the detection results. It is because we only need to define aBoxCoder
once and use it many times (which saves a lot of time when creating aBoxCoder
). -
If the input images' size is variant, we can skip creating a
BoxCoder
. Insider,detect
method, it already supports creating aBoxCoder
by itself. However, this will make detection time longer.
In the first case, we need to provide values to three arguments:
-
fm_sizes
: The feature map sizes of each detection layer obtained when we pass an image of size (Height, Width). These values can be different from the training procedure. -
aspect_ratios
: The aspect ratios of the anchors at each detection layer. These values must be the same as the configuration setting during training. -
anchor_sizes
: The referenced size of anchors at each detection layer. These values must be the same as the configuration setting during training.
So, basically, we only need to determine the fm_sizes
for different input image size (Height,
Width). In case you don't know exactly how to compute it, please use the trick code below:
# The simulated tensor - the same size as our input image.
input_tensor = torch.randn(1, 3, Height, Width)
input_tensor = input_tensor.to(DEVIDE)
loc_dets, cls_dets, fm_sizes = net(input_tensor, fm_sizes_return=True)
print(fm_sizes)
fm_sizes = [[160, 160],
[80, 80],
[40, 40],
[20, 20],
[10, 10],
[5, 5]]
# The referenced size of anchors at each detection layer
anchor_sizes = (16, 32, 64, 128, 256, 512),
# The aspect ratios of the anchors at each detection layer
aspect_ratios = [[1, ], [1, ], [1, ], [1, ], [1, ], [1, ]]
box_coder = BoxCoder(img_size=(HEIGHT, WIDTH),
fm_sizes=fm_sizes,
anchor_sizes=anchor_sizes,
aspect_ratios=aspect_ratios)
3. Load the image and make detections
# Load image and preprocess the image.
image = torch_object_detection.utils.load_image('path/to/img', height=640, width=640)
tensor = torch_object_detection.utils.preprocess_image(image)
# Make detections
# If you don't create the the box_coder, just leave `box_coder=None`.
det_boxes, det_scores = torch_object_detection.utils.detect(tensor, net,
box_coder=box_coder,
device='cpu',
score_thresh=0.3,
nms_thresh=0.3)
4. Draw the detected bounding boxes and scores and show the result.
torch_object_detection.utils.draw_detections(img, det_boxes, det_scores)
Other detect methods
For making detections of image with different scales..., I make several variants of detect
formats. The source code can be found at torch_object_detection/utils/detect_utils.py
:
detect
: The method that we use above.flip_detect
: The detection method for detecting the horizontal flipped of the input image.resize_detect
: The detection method for detecting the image of different size. Resize the one of the side of image to specific value and keep the aspect ratio unchanged.scale_detect
: The detection method for detecting the image of different scale. For example, if we have an image of size (300, 500), we can use this method to detect for scaled image of (600, 1000) ifscale = 2
.
All the detection methods except
detect
require the original image (PIL Image) as the input whiledetect
usestensor
of the image as the input.
More information and details of arguments for those methods, please visit source code.


Our point of difference is our bespoke and individually tailored approach to treatments to enhance what you already have.We create value by consulting, understanding what our clients want and providing a more holistic approach to our services. We believe beauty isn’t skin deep but lies deep within your soul. Our treatments are not quick fixes. We treat holistically to provide long term results making you beautiful inside out.
Our highly qualified team, is led by our director who is a Advanced practitioner Pharmacist specialised in dermatology and aesthetics. Combining her medical experience with her natural artistry, we provide a truly bespoke and safe experience, working with you to achieve the very best results.
The Aesthetic Skin Co. combines the expertise with state of art treatments, delivered in a high end bespoke boutique clinic. Every aspect of our clinics have been designed to give you an optimum skincare experience delivering superior results to the appearance and wellbeing of your skin.
Our mission is to interpret beauty that lies within yourself and empower you to look, feel and be your best version. Are you ready to join us in this journey?
The Aesthetic Skin Co. is headed up by Saima Rashid. Saima has been a Pharmacist for over 18 years, with a Masters in Pharmacy and a postgraduate in Dermatology and Aesthetics, trained at Harley Street. You can find more about her here.


History of Changes 1.0
Introduction and explanation of symbols
Changes are sorted by "type" and then chronologically with the most recent at the top. These symbols denote the various action types: =add, =fix, =remove, =update
Version 1.0 (21 July 2010)
Changes to the End-User API
- Added a command-line option '-catalog' to use a catalog resolver for the XML and XSLT files Committed by SP.
Changes to the Code Base
-
Added support for xmlfile and xsltfile parameters in FOP's Ant Task. Committed by AC.
-
Added the possibility to use CachedRenderPagesModel, to conserve memory in case of large documents with a lot of cross-references (area tree will be serialized to disk to avoid keeping it entirely in memory). Committed by AD. Thanks to Dario Laera. See issue FOP-1637.
-
Added an event handling framework which allows to get better feedback from within FOP with the ability to customize problem management. Committed by JM.
-
Bugfix: when #CMYK pseudo-profile was used in the rgb-icc() function, always the fallback RGB colors were used instead. Committed by VH. Thanks to Venkat Reddy. See issue FOP-1730.
-
White-space handling in markers with inline-content throws a NullPointerException in some cases. Committed by AD. See issue FOP-1695.
-
Bugfix: previously retrieved markers were not cleared if the new marker was empty. Committed by AD. See issue FOP-1645.
-
Changed meaning of ‘-v’ option to ‘verbose’, which will print FOP’s version and proceed. Added a ‘-version’ option to simply print the version then exit, following Java practices. Committed by VH.
-
MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). Committed by VH. See issue FOP-1623.
-
Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used both as key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. Committed by AD. See issue FOP-1605.
-
Fixed some multi-threading issues in FontCache.java:
-
remove the unused private readObject()
-
make the changeLock member final (initialization-safety + impossible to reassign)
-
perform the HashMap check for a failed font inside the synchronized block to avoid a race condition Committed by AD. Thanks to rogov.AT.devexperts.com.
See issue FOP-1594.
-
-
Improved the behaviour of the command line interface. Committed by VH. Thanks to Tow Browder. See issue FOP-1586.
-
Make fop.bat and fop.cmd use the %FOP_OPTS% environment variable. Committed by AD. Thanks to Carsten Siedentop. See issue FOP-1578.
-
Quick-fix to avoid a possible NullPointerException when using empty inlines and hyphenation. Committed by AD. See issue FOP-1564.
-
Fixed memory leak in property cache (not cleaning stale PropertyCache$CacheEntry instances). Committed by JM.
-
Fixed a slight error when resolving non-file URLs: avoid altering the original 'href' if the protocol is other than 'file:' Committed by AD. Thanks to Thomas Stieler. See issue FOP-1559.
-
Corrected white-space-treatment for situations where an inline-node is the first/last child node of an fo:block, without preceding/following text. Committed by AD. See issue FOP-1536.
-
Fixed a logic error in Hyphenator.java: If the source had an associated InputStream, an UnsupportedOperationException was triggered. Committed by AD. See issue FOP-1478.
-
Changed FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event (reduces confusion and computations). !! Implementors of extensions that subclass FONode directly, and offer an implementation for addCharacters() should take care to make similar modifications in their code !! Committed by AD.
Changes to the Bundled Extensions
- Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function. Committed by JM.
Changes to the Font Subsystem
-
Added support for TrueType fonts with symbol character maps (like "Wingdings" and "Symbol"). Character for these fonts are usually found in the 0xF020 to 0xF0FF range (a Unicode private use area). Committed by JM.
-
Added support for specifying referenced fonts per renderer in addition to the general match list. Committed by JM.
-
Added a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist.FontListMain). Committed by JM.
-
AFP Fonts: Added support for full URI resolution on configured AFP fonts. Committed by JM.
-
FOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodings to help PDF text extractors interpreting characters. Committed by JM.
-
Added support for forcing single-byte encodings for TrueType fonts without creating an XML font metric file (see "encoding-mode" attribute on "font" element) Committed by JM.
-
For auto-detected fonts it is now possible to specify that a font needs to be referenced rather than embedded (for the output formats that support this distinction). Committed by JM.
-
Add support for font substitution. Committed by AC.
-
Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Committed by JM. Thanks to Jason Harrop. See issue FOP-1516.
-
Added support for addressing all glyphs available in a Type 1 font, not just the ones in the font's primary encoding. Committed by JM.
-
Bugfix: Font selection fallbacks did not work in some cases (ex. bold+italic to normal) Committed by JM.
-
Fixed generation of CIDSet object in PDF output. Committed by JM. Thanks to Nicolas Peninguy. See issue FOP-1696.
-
Bugfix: support PFM Files with no extent table. Committed by CB.
-
Bugfix: for the last character of a Type1 font, always a width of 0 was returned. Committed by VH. Thanks to Maxim Wirt. See issue FOP-1666.
-
Use temporary directory for the font cache if the user home directory is not write-accessible. Committed by JM. Thanks to Alok Singh. See issue FOP-1625.
-
More robust AFP font parsing, although it is still in need of some rework in the future. Committed by AC.
-
Fix for PFMReader after bug #43089 changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Committed by JM. Thanks to J. Frantzius. See issue FOP-1570.
Changes to the Image Support
-
Added customization ability for the image loading framework from FOP's configuration file. Committed by JM.
-
Added support for SVG 1.2 functionality inside fo:instream-foreign-object. Committed by JM. See issue FOP-1317.
-
Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one. Committed by JM.
Changes to the Layout Engine
-
Implement internal character classes if the hyphenation pattern file does not contain them Committed by SP.
-
Added limited support for pages of different inline-progression-dimensions within a page-sequence. Committed by VH.
-
Added basic implementation for column-keeps. Committed by AD. See issue FOP-1643.
-
Added extension to disable column balancing before blocks spanning the whole page, in multiple-column documents. Committed by VH. Thanks to Georg Datterl. See issue FOP-1604.
-
Added missing generation of areas for empty grid units in tables with collapsing border model. Committed by JM.
-
Allowing non-zero borders and padding on page regions when relaxed validation is turned on. Committed by LF.
-
Implemented word-by-ford font-selection strategy on text. Committed by MB.
-
Support character-by-character font-selection strategy on fo:character element. Committed by MB.
-
Added minimal support for integer keep values on the various keep properties on block-level FOs. For now, all integer values are treated the same (i.e. without strength distinction). Using integers allows to avoid overflows that can happen when "always" is used extensively. Committed by JM.
-
Bugfix: having a special page-master for the last page caused loss of content when normal blocks were mixed with blocks spanning all columns. Committed by VH. See issue FOP-1618.
-
Bugfix: value of conditional space not always taken into account in the calculation of a table’s height. Committed by VH. See issue FOP-1723.
-
Fixed handling of percentage values for provisional-label-separation. Committed by VH.
-
Fixed handling of percentage values for provisional-distance-between-starts. Committed by VH. Thanks to Jonathan Levinson. See issue FOP-1704.
-
Bugfix: The cells of a table inside a marker were duplicated at every marker retrieval. Committed by VH. See issue FOP-1656.
-
Bugfix: footnotes occurring within the forced height of a table row did not appear on the output Committed by VH.
-
Fixed a bug when combining a forced break with a "last" page-master. The restart of the algorithm would start at the index of the penalty corresponding to the last page-break. This has been changed to the index of the first element after the last page-break. Committed by AD. See issue FOP-1619.
-
Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases). Committed by JM.
-
Fixed fo:instream-foreign-object inside fo:marker. Committed by JM. See issue FOP-1550.
-
Fixed a bug when combining break-before with a span change. Committed by AD. See issue FOP-1595.
-
Fixed a problem where the BPD or a block area could be wrong if there is a nested, absolutely positioned area (for example a block-container). Committed by JM.
-
Issue FOP-1264: A conditional-page-master-reference with page-position="last" qualifies for a first page, if it is also the last. Additionally: also added support for page-position="only". Committed by AD. See issue FOP-1264.
-
Fixed the source for a division by zero when the content of an fo:leader with leader-pattern="use-content" collapses to zero width during layout. Committed by JM.
-
Fixed ID resolution for nested bookmarks with duplicated IDs. Committed by JM.
-
Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. Committed by JM. See issue FOP-1558.
-
Fixed absolute positioning of block-containers when specified using right and bottom instead of left and top. Committed by LF.
-
Fixed an inconsistency in footnote handling that led to unnecessary empty areas in pages whose last normal line contains footnotes when the page bpd is not the same for all pages. Committed by LF.
-
Added support for page-number-citation and page-number-citation-last of fo:inline. Corrected behavior for page-number-citation-last of fo:block: forward references now properly resolved. Committed by AD. See issue FOP-1520.
-
Added support for the "id" attribute on fo:wrappers when used as a child of the fo:flow. Committed by AD. See issue FOP-1363.
-
Fixed a ClassCastException when using an fo:wrapper as a child of an fo:block-container. Committed by AD. See issue FOP-1301.
-
Fixed a regression introduced by the fix for FOP-1482. Committed by AD. See issue FOP-1377.
-
Activated min-height/max-height and min-width/max-width properties. Committed by AD. See issue FOP-1428.
Changes to Renderers (Output Formats)
-
AFP Output: Added enhanced dithering functionality for images that are converted to bi-level images. Committed by JM.
-
Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Committed by JM. Thanks to Peter Hancock. See issue FOP-1762.
-
Added possibility to customize PDF tagging via the ‘role’ property. Committed by VH.
-
Added basic accessibility and Tagged PDF support. Committed by JM,VH. Thanks to Jost Klopfstein. See issue FOP-1627.
-
Added support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as embedded objects. Committed by JM.
-
Added support for positioning Page Overlays in AFP Output Committed by CB.
-
Added support for creating thumbnails or preview bitmaps of fixed size for PNG and TIFF output. Committed by JM.
-
AFP Output: Added support for IMM Extension on fo:simple-page-master. Committed by CB.
-
Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Committed by JM. Thanks to Peter Coppens. See issue FOP-1671.
-
PCL Output: Added support for specifying the output bin. Committed by JM.
-
AFP Output: Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension. Committed by JM.
-
AFP Output: Added support for AFP font embedding. Note: this changes the default behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration. Committed by JM.
-
AFP Renderer Raster Fonts:
-
added support for fractional font-sizes in the configuration.
-
selection of the smaller font-size, in case two possible fallbacks have the same difference to a requested size.
Committed by AD.
-
-
Added setting to enable dithered painting of filled rectangles in AFP and PCL. Committed by JM.
-
Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files. Committed by JM. See issue FOP-1649.
-
AFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page group level). Committed by JM.
-
AFP Output: Added support for Invoke Medium Map (IMM). Committed by JM.
-
Introduced a new, additional intermediate format optimized for performance. Please see the intermediate format documentation for details. Committed by JM.
-
AFP Output: Added a configuration option to override the resource level defaults in the code. Committed by JM.
-
AFP Output: Bilevel images in resource groups as generated as hard page segments (instead of image objects) for better interoperability with older IPDS environments and for better printing performance. Committed by JM.
-
AFP Output: An AFPGraphics2D implementation which provides the ability to use Batik to drive the production of AFP Graphics (GOCA) output from SVG. Committed by AC.
-
AFP Output: Resource group leveling, external streaming, and de-duplication of images and graphics using IncludeObject and ResourceGroup. Committed by AC.
-
AFP Output: Native image embedding support (e.g. JPEG, GIF, TIFF) using ObjectContainer and a MOD:CA Registry implementation. Committed by AC.
-
Added PDF /Launch action: references to URIs using the file:// protocol will now generate a /Launch action as opposed to a more general /URI (which doesn't yield the expected result for this protocol). Committed by AD. Thanks to Alexander Stamenov. See issue FOP-1539.
-
PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. Committed by JM. See issue FOP-1574.
-
Added PDF encryption parameter support in configuration. Committed by AC.
-
Added a PCL-specific extension attribute on simple-page-master for controlling the simplex/duplex mode. Committed by JM. Thanks to Martin Edge. See issue FOP-1540.
-
Add partial support for the "show-destination" property on fo:basic-link (PDF output only; see limitations on the compliance page) Committed by AD. See issue FOP-1510.
-
Added support for rendering pages using JPS (Java Printing System). See new example: examples/embedding/java/ExamplesFO2JPSPrint.java Committed by JM.
-
Restored ability to specify from/to and odd/even pages as well as the number of copies for printing from the command-line. Committed by JM. See issue FOP-1320.
-
Added ability to pass a preconfigured PrinterJob instance to the PrintRenderer via the rendering options map. Committed by JM. Thanks to Antti Karanta. See issue FOP-1514.
-
Added a public accessor for reference to the current page to PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See issue FOP-1517.
-
AFP Output: Fixed positioning of Java2D-based images (when GOCA is enabled). Committed by JM.
-
AFP Output: Fix for bitmap images inside an SVG or G2D graphic (printer errors) and positioning fix for bitmaps from G2D graphics. Committed by JM.
-
Fix for AWT viewer to correctly track page numbers in continuous display mode. Committed by JM. Thanks to Richard Wheeldon. See issue FOP-1356.
-
Bugfix for formatting of floating point numbers which could lead to invalid PDFs. Committed by JM.
-
Added a save/restoreGraphicsState pair for the initial coordinate system in PDF output for easier post-processing. Committed by JM.
-
Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Committed by JM. Thanks to Peter Hancock. See issue FOP-1767.
-
Bugfix: AFP Renderer: Respect image color settings for svg Committed by CB. Thanks to Peter Hancock. See issue FOP-1736.
-
Bugfix: AFP Renderer: Page Overlays not generated when using Intermediate Format Committed by CB. Thanks to Venkat Reddy. See issue FOP-1745.
-
Bugfix: AFP Renderer: Underline is incorrectly placed when reference-orientation != 0 Committed by CB. See issue FOP-1752.
-
Bugfix: AFP Renderer: Page Segments not positioned correctly when reference-orientation != 0 Committed by CB. See issue FOP-1751.
-
Bugfix: AFP Renderer: AttributeQualifier Triplet occurs before TLE Value. Committed by CB. See issue FOP-1740.
-
Bugfix in AFP output: fixed flags in GOCA GBAR order. Committed by JM. Thanks to D.W. Harks. See issue FOP-1716.
-
Bugfix in AFP output: rounding error when computing the CMYK components of a color. Committed by VH. Thanks to Harald G. Henne. See issue FOP-1733.
-
BugFix: Maintain valid AFP by providing TLE truncation on Attribute Value Triplet values that are greater than 250 chars in length. Committed by AC. See issue FOP-1709.
-
Dithered Background Shading can produce illegal AFP if objects are very small Committed by CB. See issue FOP-1693.
-
Bugfix: Error while writing TLE's attribute qualifier in the output. Committed by AD. Thanks to Bharat Attaluri. See issue FOP-1681.
-
Bugfix: support justified text in AFP Renderer (already working in AFP Painter) Committed by CB.
-
Bugfix: reset graphic state when a page is finished in PostScript. Committed by JM.
-
Fixed a bug that left the PrintRenderer unconfigured even if a configuration was specified for "application/X-fop-print". Committed by JM.
-
Fixed the handling of CMYK colors in PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See issue FOP-1641.
-
AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Committed by JM. Thanks to Emil Maskovsky. See issue FOP-1552.
-
Fixed black backgrounds occurring for transparent images in PCL output. Committed by JM.
-
Fixed bug that caused AFP Renderer Extensions to be ignored. Committed by CB. See issue FOP-1613.
-
Fixed a multi-threading issue when rendering SVG. Committed by JM.
-
PDF Output: Made sure the XMP Metadata stream is never compressed. Committed by JM.
-
Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Committed by JM. Thanks to Pavel Kysilka. See issue FOP-1563.
-
Fixed text stroking in SVG when the stroke-width is zero. Committed by JM.
-
Fixed border trait parsing for the area tree XML when CMYK or ICC colors were used. Committed by JM.
-
Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord. Committed by JM. Thanks to Pavel Kysilka. See issue FOP-1562.
-
PCL Renderer: Improved page format selection so it doesn't interfere with duplex printing. Committed by JM. See issue FOP-1435.
-
PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty. Committed by JM. Thanks to Francois Fernandes. See issue FOP-1651.
-
When a JPEG image is embedded, an optionally embedded color profile is filtered out as it's already embedded separately in the PDF file. Committed by JM.
Contributors to this release
We thank the following people for their contributions to this release.
This is a list of all people who participated as committers:
Adrian Cumiskey (AC), Andreas Delmelle (AD), Chris Bowditch (CB), Jeremias Märki (JM), (JM,VH), Luca Furini (LF), Max Berger (MB), Simon Pepping (SP), Vincent Hennebert (VH).
This is a list of other contributors:
Alexander Stamenov, Alok Singh, Antti Karanta, Bharat Attaluri, Carsten Siedentop, D.W. Harks, Dario Laera, Emil Maskovsky, Francois Fernandes, Georg Datterl, Harald G. Henne, J. Frantzius, Jason Harrop, Jonathan Levinson, Jost Klopfstein, Martin Edge, Maxim Wirt, Nicolas Peninguy, Pavel Kysilka, Peter Coppens, Peter Hancock, Richard Wheeldon, rogov.AT.devexperts.com, Thomas Stieler, Tow Browder, Venkat Reddy, Yegor Kozlov.


v0.4 documentation
There are several parts to the Calloway project that are not dependent upon each other, but work great in tandem.
The start_project.py script is an interactive command-line program for building a Django project from a template project, based on code from Eric Florenzano. The template project isn’t anything special except that any placeholders for certain variables are replaced during the project creation.
View the script at https://gist.github.com/444408 or download the script directly from https://gist.github.com/gists/444408/download. Once you download the script, you will need to decompress it.
$ curl https://gist.github.com/gists/444408/download | tar -zxv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
102 2058 102 2058 0 0 7629 0 --:--:-- --:--:-- --:--:-- 9942
x gist444408-597f127451c5cd81e599753224b4e9fb133bd3eb/
x gist444408-597f127451c5cd81e599753224b4e9fb133bd3eb/start_project.py
You can move the script anywhere you want from here, however it is handy to rename the folder containing the script and download the Project Template into it.
$ mv gist444408-597f127451c5cd81e599753224b4e9fb133bd3eb project_template
$ cd project_template
The example project template is meant to be a starting point. It is likely that you will have several templates for different types of sites or deployments. Download the project_tmpl code from github and decompress it. Alternatively, you can clone it using git if you wish to keep up-to-date with any changes we make to it.
$ curl -L https://github.com/callowayproject/project_tmpl/tarball/master | tar -zvx
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 61440 100 61440 0 0 254k 0 --:--:-- --:--:-- --:--:-- 254k
x callowayproject-project_tmpl-0dcbf69/
x callowayproject-project_tmpl-0dcbf69/.gitignore
x callowayproject-project_tmpl-0dcbf69/__init__.py
...
Make any changes to this template you wish. It’s your project template now.
The Calloway application is just like any other Django application. You can install it in any typical way, using pip or easy_install although the suggested method is to include Calloway in the requirements file in your project.
The example project template includes calloway as a requirement in setup/requirements.txt. When you execute pip install -r setup/requirements.txt, pip will install all other requirements (Django, for example) as well as Calloway. You can add the specific version of Calloway to your requirements file (e.g. calloway==0.2) if you want. We didn’t want to tie the project template too closely with the Calloway Application version as the two parts will change at different rates.


|
Entity - entity handle
Shininess# - shininess of entity |
|
Sets the specular shininess of an entity.
The shininess# value should be a floting point number in the range 0-1. The default shininess setting is 0. Shininess is how much brighter certain areas of an object will appear to be when a light is shone directly at them. Setting a shininess value of 1 for a medium to high poly sphere, combined with the creation of a light shining in the direction of it, will give it the appearance of a shiny snooker ball. |
|
; EntityShininess Example
; ----------------------- Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() ; Set ambient light to a low level, to increase effect of shininess AmbientLight 32,32,32 light=CreateLight() RotateEntity light,45,45,0 sphere=CreateSphere(100) EntityColor Sphere,255,0,0 PositionEntity sphere,0,0,4 ; Set initial shine value shine#=0 While Not KeyDown(1) ; Change shine value depending on key pressed If KeyDown(2)=True And shine#>0 Then shine#=shine#-0.01 If KeyDown(3)=True And shine#<1 Then shine#=shine#+0.01 ; Set entity shininess using shine value EntityShininess sphere,shine# RenderWorld Text 0,0,"Press keys 1-2 to change EntityShininess Setting" Text 0,20,"Entity Shininess: "+shine# Flip Wend End |


This library provides “social login” with Github, Google, Microsoft, Facebook, Yandex, Battle.net, Patreon and Telegram.
Private page contents:
unauthorized


Match Play. Red trails 3-4 to 7. Should Red redouble? If redoubled, should White take?
pips Red=78 White=57
(CorrectAnswer= 0/0, ErrorScore= 0)
If Red loses this game he will trail 3-6 (Crawford) and have 18% match-winning chances.
A winning shot at this score is enough to redouble. This shot might not win immediately but if missed White may leave more shots. All in all this is a crystal-clear double and not redoubling her is a double blunder.
What for money would be a clear beaver becomes a strong redouble at this score. Yet again the score is the dominant factor.
A winning shot at this score is enough to redouble. This shot might not win immediately but if missed White may leave more shots. All in all this is a crystal-clear double and not redoubling her is a double blunder.
What for money would be a clear beaver becomes a strong redouble at this score. Yet again the score is the dominant factor.
Cube analysis 2-ply cubeless equity +0.066 (Money: +0.030) 0.503 0.038 0.000 - 0.497 0.014 0.000 Cubeful equities: 1. Double, take +0.532 2. Double, pass +1.000 (+0.468) 3. No double +0.416 (-0.117) Proper cube action: Redouble, take


Hello World using angular.ivx.js
Overview
The Angular distribution of iVXjs utilizes Angular’s dependency injection and other features to render the individual states and elements. It is very simple to set up
Demo
Getting Started
Downloading the library
- Clone this repository or download zip
- Via npm
npm install ivx-js-angular --save
iVXjs Angular’s Dependencies
The Angular iVXjs instance–iVXjs for this documentation–has the following script dependencies:
Let’s create a simple iVXjs Experience
To get started, follow the steps below:
- Add the following HTML to the working project file:

- Create a folder called data
- Create a file called sample-experience.json
- Copy the following contents into the sample-experience.json file:
{
"defaultState": [
{
"stateId": "welcome-form"
}
],
"states": [
{
"id": "welcome-form",
"name": "Welcome Form",
"url": "/",
"type": "input",
"header": {
"templateUrl": "form-header.html"
},
"form": {
"classes": "",
"submit": {
"label": "Get started!"
}
},
"next": [
{
"stateId": "video-sample"
}
],
"inputs": [
{
"id": "full-name",
"name": "fullName",
"type": "text",
"label": "Your name:",
"settings": {
"container": {},
"input": {}
},
"attributes": {
"placeholder": "Enter your name here...",
"required": true
}
}
]
},
{
"id": "video-sample",
"name": "Video Sample",
"url": "/video-sample",
"type": "video",
"next": [
{
"stateId": "helpful-links"
}
],
"playerSettings": {
"youtubeId": "oErhFh4AyZ0"
},
"personalizations": [
{
"id": "name-personalization",
"templateUrl": "name-personalization.html"
}
],
"cuePoints": [
{
"timeAt": 0,
"eventName": "animateElement",
"args": {
"element": "#name-personalization",
"animationClasses": "show"
}
},
{
"timeAt": 5,
"eventName": "animateElement",
"args": {
"element": "#name-personalization",
"animationClasses": "hide"
}
}
]
},
{
"id": "helpful-links",
"name": "Helpful Links",
"url": "/helpful-links",
"type": "navigation",
"header": {
"templateUrl": "helpful-links-header.html"
},
"links": [
{
"href": "https://influencetech.github.io/ivx-js/developer/tutorial.hello-world/",
"attributes": {
"target": "_blank"
},
"label": "Getting Started with iVXjs",
"classes": "btn",
"onClick": []
},
{
"href": "https://influencetech.github.io/ivx-js/developer/tutorials/",
"attributes": {
"target": "_blank"
},
"label": "Tutorials",
"classes": "btn",
"onClick": []
},
{
"href": "https://influencetech.github.io/ivx-js/developer/configuration/",
"attributes": {
"target": "_blank"
},
"label": "JSON Specs and Configurations",
"classes": "btn",
"onClick": []
}
]
}
]
}
- The result should look like this:
To make it look a little better, let’s add some styling. There are some default styles provided in these css files:
- core.css (tools/utilities/css/core.css) - Core styling with iVXjs styling components such as a input grid system, YouTube video sizing, etc.
- basic-style.css (tools/utilities/css/core.css) - A basic style for iVXjs
After adding these css files, the experience should look something like this:


*This is currently in development*
After a certain amount of time, an original work protected by US federal copyright becomes free to use, without the original author's consent. There are great databases of public-domain work out there, but if you can't find what you're looking for there, answer the following questions!
In what year was the work published?
XPublished is a term of art here. Generally, it means that you've shared the work outside of a normal group of friends and family for purposes of selling the work, licensing it, or otherwise distributing it.
In what year was the work created?
XCreated means fixed, or, in other words, when the work was actually written or recorded in a medium somewhere. If the work was never recorded somwhere (e.g., choreography that was never documented or a simple idea like a novel about a British spy), it is not protected by US copyright.
Was the work renewed with the US copyright office before the 28th anniversary of publication in ?
All Done!Is the work a work for hire?
XWork for hire means that the author signed an agreement to commission a work for someone else. If a legal entity owned the work from the outset, the work is a work for hire.


- Disclaimer
- Contact
- Privacy
- Support
- Share
Disclaimer
Before deciding to trade, you should be fully informed of the risks and costs associated
with trading. You are encouraged to conduct your own Due-Diligence (DD) and seek professional
advice when necessary. StocksEra will not be responsible for any losses or damages
incurred as a result of your trading.
Do note that the price of tickers are delayed. You should depend on your broker for latest
price changes instead.
Contact
If you have any questions or suggestions regarding Stockera, please drop me a message in the About section or email me at<EMAIL_ADDRESS>Privacy
We value your privacy. No personal information, Internet Protocol (IP) address, location, device name would be collected without permission. To enable better user experience, do note that Cookies are used. Cookies are stored in your device's internal memory and Stockera would not use these Cookies for other purposes.
Support
Stocksera is an open-source, free for all application. I spent months just to create this application, with new updates & bug fixes almost every week, without monetary benefits. If you like this project, you can support me via Paypal or Patreon. Alternatively, you can give me a star ⭐ on Github and share it with everyone.


{% extends "templates/apc_base.html" %} {% block title %}{{ _("Online Editor ") }} {{doc.app_name}}{% endblock %} {% block header %} {% endblock %} {% block style %} {% endblock %} {% block content %}
{{_("This will delete all local changes! Are you sure?")}}
{{_("Current editor workspace is not based on version {0} but {1}").format(version_want, version_editor)}}
{{_("You need to either upgrade application version to {0} or revert workspace to version {1}").format(version_editor, version_want)}}


Azure ML 2.0 Developer Experience
Daniel Schneider & Jordan Edwards
Program Managers @ AzureML
These slides can be found here: https://aka.ms/AAb6yid
The azureml-v2-preview introduced here can be found here: https://aka.ms/azuremlv2
## Azure ML 2.0 Developer Experience
AzureML is creating a new developer experience
starting with:
- CLI + ARM interface
- Core SDK for Python
- REST API and autogenerated SDK for Go, Java, JS and .Net
...for control plane operations + MLFlow for data plane operations
Notes:
Why do this at all?
- Our v1 API is showing too much of the AzureML org-chart.
- Simple things can be surprisingly hard in v1.
Why start with CLI?
- In v1 CLI is the most limited and inconsistent surface
#### Hierarchy of entity types in DevPlatV2
![](media/nouns.png)
Notes:
- the new system is built on a hierarchy of entity types
- the hierarchy determines which properties the different types share
- note that there are abstract and concrete types -- only concrete types can have instances
## The CLI
Consistency between the different nouns where possible
Create an entity:
```bash
az ml job create --file my_job.yaml
az ml environment create --file my_env.yaml
az ml model created --file my_model.yaml
```
## The CLI
Consistency between the different nouns where possible
Show an entity:
```bash
az ml job show --name 'the job'
az ml environment show --name 'the environment'
az ml model show --name 'the model'
```
## The CLI
Consistency between the different nouns where possible
Update an entity:
```bash
az ml job update --name 'the job' --set tags.beta=True
az ml environment update --name 'the environment' --set tags.beta=True
az ml model update --name 'the model' --set tags.beta=True
```
## The CLI
Consistency between the different nouns where possible
Delete an entity:
```bash
az ml job delete --name 'the job'
az ml environment delete --name 'the environment'
az ml model update --name 'the model'
```
## The CLI
Consistency between the different nouns where possible
List entities:
```bash
az ml job list
az ml environment list
az ml model list
```
## The YAML
Every entity has a YAML representation that is used for `create` and that is returned by `show`
Simple `command_job` example:
```yaml
command: python hello_pytorch.py
code:
directory: src
environment:
docker:
image: docker.io/pytorch/pytorch
compute:
target: azureml:v100Cluster
```
## The YAML
Every entity has a YAML representation that is used for `create` and that is returned by `show`
Simple `command_job` example:
```yaml
command: python hello_pytorch.py
code:
directory: src
environment:
docker:
image: docker.io/pytorch/pytorch
compute:
target: azureml:v100Cluster
```
Submit the job via `az ml job create`:
```bash
az ml job create --file above.yaml
```
There is terrific help from VSCode to edit the yaml files:
![](media/yamlschema.gif)
## `environment`
Create environment based on a dockerfile
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/environment.schema.json
name: fastai-vision
version: 1
docker:
build:
dockerfile: file:fastai.dockerfile
```
## `environment`
Create environment based on an existing docker image
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/environment.schema.json
name: fastai-vision
version: 1
docker:
image: docker.io/fastai/fastai
```
## `environment`
Create environment based on conda definition
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/environment.schema.json
name: fastai-vision
version: 1
conda_file: file:fastai-conda-env.yml
```
## `environment`
Create environment based on conda definition
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/environment.schema.json
name: fastai-vision
version: 1
conda_file: file:fastai-conda-env.yml
```
creating the environment is always:
```bash
az ml environment create --file fastai-vision-env.yml
```
## `data`
Create a dataset based on data already in the cloud
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/asset.schema.json
name: irisdata
version: 1
description: "iris data"
datastore: "azureml:workspaceblobstore"
directory: data
```
CLI command:
```bash
az ml data create --file iris-data.yaml
```
## `data`
Create a dataset by uploading data
```bash
cd ./iris/
az ml data upload --name irisdata --version 5 --path ./data
```
## `command_job`
```yaml [1|2|3-4|5-7|8-9]
$schema: https://azuremlsdk2.blob.core.windows.net/latest/commandJob.schema.json
command: python hello.py
code:
directory: src
environment:
docker:
image: docker.io/python
compute:
target: azureml:goazurego
```
## `command_job`
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/commandJob.schema.json
command: python hello.py
code:
directory: src
environment:
docker:
image: docker.io/python
compute:
target: azureml:goazurego
```
Submit the job via `az ml job create`:
```bash
az ml job create --file hello_python_job.yml --stream
```
Notes:
- no name on a job means that the system will choose one
## `command_job`
```yaml [8|6|11-14]
$schema: https://azuremlsdk2.blob.core.windows.net/latest/commandJob.schema.json
code:
directory: train
command: >-
python train.py
--data {inputs.training_data}
environment: azureml:xgboost-env:1
compute:
target: azureml:goazurego
inputs:
training_data:
data: azureml:irisdata:1
mode: mount
```
Submit the job via `az ml job create`:
```bash
az ml job create --file iris_job.yml --stream
```
## `sweep_job` (WIP)
```yaml [|6-17|18-24|25-28|29-37]
$schema: https://azuremlsdk2.blob.core.windows.net/latest/sweepJob.schema.json
experiment_name: sweep-trial-v3
algorithm: random
type: sweep_job
name: test_v3111
search_space:
lr:
type: uniform
min_value: 0.001
max_value: 0.1
conv_size:
type: choice
values: [2, 5, 7]
dropout_rate:
type: uniform
min_value: 0.1
max_value: 0.5
trial:
command: python train.py --lr {search_space.lr} --conv_size {search_space.conv_size} --dropout_rate {search_space.dropout_rate}
code:
directory: src
environment: azureml:AzureML-Minimal:1
compute:
target: azureml:testCompute
max_total_trials: 100
max_concurrent_trials: 10
timeout_minutes: 10000
early_termination:
policy_type: truncation_selection
evaluation_interval: 100
delay_evaluation: 200
truncation_percentage: 40
exclude_finished_jobs: True
objective:
primary_metric: accuracy
goal: maximize
```
## `sweep_job` (WIP)
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/sweepJob.schema.json
experiment_name: sweep-trial-v3
algorithm: random
type: sweep_job
name: test_v3111
search_space:
lr:
type: uniform
min_value: 0.001
max_value: 0.1
conv_size:
type: choice
values: [2, 5, 7]
dropout_rate:
type: uniform
min_value: 0.1
max_value: 0.5
trial:
command: python train.py --lr {search_space.lr} --conv_size {search_space.conv_size} --dropout_rate {search_space.dropout_rate}
code:
directory: src
environment: azureml:AzureML-Minimal:1
compute:
target: azureml:testCompute
max_total_trials: 100
max_concurrent_trials: 10
timeout_minutes: 10000
early_termination:
policy_type: truncation_selection
evaluation_interval: 100
delay_evaluation: 200
truncation_percentage: 40
exclude_finished_jobs: True
objective:
primary_metric: accuracy
goal: maximize
```
Submit the job via `az ml job create`:
```bash
az ml job create --file iris_sweep_job.yml
```
## `model`
A minimal Model:
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/model.schema.json
name: my-model
version: 1
asset_path: ./model
```
## `model`
A more full-fledged model with MLFlow properties:
```yaml [3|6|7-11|12-15]
$schema: https://azuremlsdk2.blob.core.windows.net/latest/model.schema.json
name: my-model
asset_path: .
version: 1
description: this is a SkLearn model
flavors:
python_function:
data: model.pkl
env: conda.yaml
loader_module: mlflow.sklearn
python_version: 3.8.2
sklearn:
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 0.23.1
```
## `model`
A more full-fledged model with MLFlow properties:
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/model.schema.json
name: my-model
asset_path: .
version: 1
description: this is a SkLearn model
flavors:
python_function:
data: model.pkl
env: conda.yaml
loader_module: mlflow.sklearn
python_version: 3.8.2
sklearn:
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 0.23.1
```
...and creating the model works as expected:
```bash
az ml model create --file mlflow-model.yml
```
## `endpoints` (WIP)
```yaml
$schema: https://azuremlsdk2.blob.core.windows.net/latest/onlineEndpoint.schema.json
location: centraluseuap
name: myendpoint2
type: online
target: azureml:myakscluster
auth_mode: key
traffic:
blue: 0
deployments:
- name: blue #blue deployment
model: azureml:my-model-123:3
instance_type: Standard_FS4_v2
scale_settings:
scale_type: manual
instance_count: 1
minimum: 1
maximum: 1
request_settings:
request_timeout_ms: 3000
max_concurrent_requests_per_instance: 1
max_queue_wait_ms: 3000
resource_requirements:
cpu: 1.0
memory: 1 Gib
```
Many more entities are in the works:
- `pipline_job`
- `automl_job`
- `batch_endpoint` (batch inferencing)
- `amlk8s_compute` (k8s cluster attach)
- `table` (tabular dataset)
- `component` (to composed pipelines)
Try out the new CLI by visiting this URL:
[https://aka.ms/azuremlv2](https://aka.ms/azuremlv2)
To provide feedback, please open issues on this Github repository:
[https://github.com/Azure/azureml-v2-preview](https://github.com/Azure/azureml-v2-preview)
These slides can be found here: [https://aka.ms/AAb6yid](https://aka.ms/AAb6yid)


Implementation of “light” stemmers for French, German, Italian, Spanish, Portuguese, Finnish, Swedish.
They are based on the same work as the “light” stemmers found in SolR or ElasticSearch.
A “light” stemmer consists in removing inflections only for noun and adjectives.
Indexing verbs for these languages is not of primary importance compared to nouns and adjectives.
The procedures used in this stemmer are described below:
Online tests are available on this website.
You can install the released version of unine from CRAN with: (NOT YET PUBLISHED)
… or the last version from Github
Below some examples for French and a comparaison with Porter French stemmer.
french_stemmer(words = c("complète", "caissière"))
# [1] "complet" "caisier"
# Not that below double letters are deduplicated: caissière -> caisier
french_stemmer(words = c("tester", "testament", "chevaux", "aromatique", "personnel", "folle"))
# [1] "test" "testament" "cheval" "aromat" "personel" "fou"
# Not that below double letters are deduplicated: personnel -> personel
# look at how "testament" and "tester" have been stemmed above.
# Now with Porter stemmer :
SnowballC::wordStem(c("testament", "tester"), language = "french")
# [1] "test" "test"
Please cite [1] if using this R package.
[1] J. Savoy, A stemming procedure and stopword list for general French corpora
@article{savoy1999stemming,
title={A stemming procedure and stopword list for general French corpora},
author={Savoy, Jacques},
journal={Journal of the American Society for Information Science 50(10), 944-952.},
year={2009}
}


HTML Forms are required, when you want to collect some data from the site visitor. For example, during user registration you would like to collect information such as name, email address, credit card, etc.
A form will take input from the site visitor and then will post it to a back-end application such as CGI, ASP Script or PHP script etc. The back-end application will perform required processing on the passed data based on defined business logic inside the application.
There are various form elements available like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.
The HTML <form> tag is used to create an HTML form and it has following syntax −
<form action = "Script URL" method = "GET|POST"> form elements like input, textarea etc. </form>
Apart from common attributes, following is a list of the most frequently used form attributes −
| Sr.No | Attribute & Description |
|---|---|
| 1 |
action Backend script ready to process your passed data. |
| 2 |
method Method to be used to upload data. The most frequently used are GET and POST methods. |
| 3 |
target Specify the target window or frame where the result of the script will be displayed. It takes values like _blank, _self, _parent etc. |
| 4 |
enctype You can use the enctype attribute to specify how the browser encodes the data before it sends it to the server. Possible values are − application/x-www-form-urlencoded − This is the standard method most forms use in simple scenarios. mutlipart/form-data − This is used when you want to upload binary data in the form of files like image, word file etc. |
Note − You can refer to Perl & CGI for a detail on how form data upload works.
There are different types of form controls that you can use to collect data using HTML form −
There are three types of text input used on forms −
Single-line text input controls − This control is used for items that require only one line of user input, such as search boxes or names. They are created using HTML <input> tag.
Password input controls − This is also a single-line text input but it masks the character as soon as a user enters it. They are also created using HTMl <input> tag.
Multi-line text input controls − This is used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created using HTML <textarea> tag.
This control is used for items that require only one line of user input, such as search boxes or names. They are created using HTML <input> tag.
Here is a basic example of a single-line text input used to take first name and last name −
<!DOCTYPE html>   <title>Text Input Control</title>   <form > First name: <input type = "text" name = "first_name" />
 Last name: <input type = "text" name = "last_name" /> </form>  »
Following is the list of attributes for <input> tag for creating text field.
| Sr.No | Attribute & Description |
|---|---|
| 1 |
type Indicates the type of input control and for text input control it will be set to text. |
| 2 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 3 |
value This can be used to provide an initial value inside the control. |
| 4 |
size Allows to specify the width of the text-input control in terms of characters. |
| 5 |
maxlength Allows to specify the maximum number of characters a user can enter into the text box. |
This is also a single-line text input but it masks the character as soon as a user enters it. They are also created using HTML <input>tag but type attribute is set to password.
Here is a basic example of a single-line password input used to take user password −
<!DOCTYPE html>   <title>Password Input Control</title>   <form > User ID : <input type = "text" name = "user_id" />
 Password: <input type = "password" name = "password" /> </form>  »
Following is the list of attributes for <input> tag for creating password field.
| Sr.No | Attribute & Description |
|---|---|
| 1 |
type Indicates the type of input control and for password input control it will be set to password. |
| 2 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 3 |
value This can be used to provide an initial value inside the control. |
| 4 |
size Allows to specify the width of the text-input control in terms of characters. |
| 5 |
maxlength Allows to specify the maximum number of characters a user can enter into the text box. |
This is used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created using HTML <textarea> tag.
Here is a basic example of a multi-line text input used to take item description −
<!DOCTYPE html>   <title>Multiple-Line Input Control</title>   <form> Description :
 <textarea rows = "5" cols = "50" name = "description"> Enter description here... </textarea> </form>  »
Following is the list of attributes for <textarea> tag.
| Sr.No | Attribute & Description |
|---|---|
| 1 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 2 |
rows Indicates the number of rows of text area box. |
| 3 |
cols Indicates the number of columns of text area box |
Checkboxes are used when more than one option is required to be selected. They are also created using HTML <input> tag but type attribute is set to checkbox..
Here is an example HTML code for a form with two checkboxes −
<!DOCTYPE html>   <title>Checkbox Control</title>   <form> <input type = "checkbox" name = "maths" value = "on"> Maths <input type = "checkbox" name = "physics" value = "on"> Physics </form>  »
Following is the list of attributes for <checkbox> tag.
| Sr.No | Attribute & Description |
|---|---|
| 1 |
type Indicates the type of input control and for checkbox input control it will be set to checkbox.. |
| 2 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 3 |
value The value that will be used if the checkbox is selected. |
| 4 |
checked Set to checked if you want to select it by default. |
Radio buttons are used when out of many options, just one option is required to be selected. They are also created using HTML <input> tag but type attribute is set to radio.
Here is example HTML code for a form with two radio buttons −
<!DOCTYPE html>   <title>Radio Box Control</title>   <form> <input type = "radio" name = "subject" value = "maths"> Maths <input type = "radio" name = "subject" value = "physics"> Physics </form>  »
Following is the list of attributes for radio button.
| Sr.No | Attribute & Description |
|---|---|
| 1 |
type Indicates the type of input control and for checkbox input control it will be set to radio. |
| 2 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 3 |
value The value that will be used if the radio box is selected. |
| 4 |
checked Set to checked if you want to select it by default. |
A select box, also called drop down box which provides option to list down various options in the form of drop down list, from where a user can select one or more options.
Here is example HTML code for a form with one drop down box
<!DOCTYPE html>   <title>Select Box Control</title>   <form> <select name = "dropdown"> <option value = "Maths" selected>Maths</option> <option value = "Physics">Physics</option> </select> </form>  »
Following is the list of important attributes of <select> tag −
| Sr.No | Attribute & Description |
|---|---|
| 1 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 2 |
size This can be used to present a scrolling list box. |
| 3 |
multiple If set to "multiple" then allows a user to select multiple items from the menu. |
Following is the list of important attributes of <option> tag −
| Sr.No | Attribute & Description |
|---|---|
| 1 |
value The value that will be used if an option in the select box box is selected. |
| 2 |
selected Specifies that this option should be the initially selected value when the page loads. |
| 3 |
label An alternative way of labeling options |
If you want to allow a user to upload a file to your web site, you will need to use a file upload box, also known as a file select box. This is also created using the <input> element but type attribute is set to file.
Here is example HTML code for a form with one file upload box −
<!DOCTYPE html>   <title>File Upload Box</title>   <form> <input type = "file" name = "fileupload" accept = "image/*" /> </form>  »
Following is the list of important attributes of file upload box −
| Sr.No | Attribute & Description |
|---|---|
| 1 |
name Used to give a name to the control which is sent to the server to be recognized and get the value. |
| 2 |
accept Specifies the types of files that the server accepts. |
There are various ways in HTML to create clickable buttons. You can also create a clickable button using <input>tag by setting its type attribute to button. The type attribute can take the following values −
| Sr.No | Type & Description |
|---|---|
| 1 |
submit This creates a button that automatically submits a form. |
| 2 |
reset This creates a button that automatically resets form controls to their initial values. |
| 3 |
button This creates a button that is used to trigger a client-side script when the user clicks that button. |
| 4 |
image This creates a clickable button but we can use an image as background of the button. |
Here is example HTML code for a form with three types of buttons −
<!DOCTYPE html>   <title>File Upload Box</title>   <form> <input type = "submit" name = "submit" value = "Submit" /> <input type = "reset" name = "reset" value = "Reset" /> <input type = "button" name = "ok" value = "OK" /> <input type = "image" name = "imagebutton" src = "/html/images/logo.png" /> </form>  »
Hidden form controls are used to hide data inside the page which later on can be pushed to the server. This control hides inside the code and does not appear on the actual page. For example, following hidden form is being used to keep current page number. When a user will click next page then the value of hidden control will be sent to the web server and there it will decide which page will be displayed next based on the passed current page.
Here is example HTML code to show the usage of hidden control −
<!DOCTYPE html>   <title>File Upload Box</title>   <form>
This is page 10
 <input type = "hidden" name = "pagename" value = "10" /> <input type = "submit" name = "submit" value = "Submit" /> <input type = "reset" name = "reset" value = "Reset" /> </form>  »


Divine Feminine.
Mac Miller
Birds In The Trap Sing
Travis Scott
Star Boy
The Weeknd
COGN
AYYRICHDABADMAN
Lil Uzi Vert Vs. The World
Lil Uzi Vert
Somethin' Silky
It has an easy to override visual style, and is appropriately subdued.
Roze
It has an easy to override visual style, and is appropriately subdued.
Kiss
It has an easy to override visual style, and is appropriately subdued.


Config holds configuration for HTTP proxy settings. See FromEnvironment for details.
type Config struct { // HTTPProxy represents the value of the HTTP_PROXY or // http_proxy environment variable. It will be used as the proxy // URL for HTTP requests and HTTPS requests unless overridden by // HTTPSProxy or NoProxy. HTTPProxy string // HTTPSProxy represents the HTTPS_PROXY or https_proxy // environment variable. It will be used as the proxy URL for // HTTPS requests unless overridden by NoProxy. HTTPSProxy string // NoProxy represents the NO_PROXY or no_proxy environment // variable. It specifies a string that contains comma-separated values // specifying hosts that should be excluded from proxying. Each value is // represented by an IP address prefix (<IP_ADDRESS>), an IP address prefix in // CIDR notation (<IP_ADDRESS>/8), a domain name, or a special DNS label (*). // An IP address prefix and domain name can also include a literal port // number (<IP_ADDRESS>:80). // A domain name matches that name and all subdomains. A domain name with // a leading "." matches subdomains only. For example "foo.com" matches // "foo.com" and "bar.foo.com"; ".y.com" matches "x.y.com" but not "y.com". // A single asterisk (*) indicates that no proxying should be done. // A best effort is made to parse the string and errors are // ignored. NoProxy string // CGI holds whether the current process is running // as a CGI handler (FromEnvironment infers this from the // presence of a REQUEST_METHOD environment variable). // When this is set, ProxyForURL will return an error // when HTTPProxy applies, because a client could be // setting HTTP_PROXY maliciously. See https://golang.org/s/cgihttpproxy. CGI bool }
func FromEnvironment() *Config
FromEnvironment returns a Config instance populated from the environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions thereof). HTTPS_PROXY takes precedence over HTTP_PROXY for https requests.
The environment values may be either a complete URL or a "host[:port]", in which case the "http" scheme is assumed. An error is returned if the value is a different form.
func (cfg *Config) ProxyFunc() func(reqURL *url.URL) (*url.URL, error)
ProxyFunc returns a function that determines the proxy URL to use for a given request URL. Changing the contents of cfg will not affect proxy functions created earlier.
A nil URL and nil error are returned if no proxy is defined in the environment, or a proxy should not be used for the given request, as defined by NO_PROXY.
As a special case, if req.URL.Host is "localhost" (with or without a port number), then a nil URL and nil error will be returned.


Random Number Generator
Random No. by Service :
{{random1}}
Service
Random No. by Factory :
{{random2}}
Factory
Random No. by Provider :
{{random3}}
Provider
Hello
{{fname}}
!
Say Hi!


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
IN THE COURT OF SHRI A.K. AGRAWAL CIVIL JUDGE01 ( WEST), TIS HAZARI COURTS, DELHI... CS No. 14/16 Sh. Sachin Mathur ............Plaintiff vs. BSES YPL ............Defendant 08.04.2016 ORDER
Vide this order, I will dispose of an application under order 39 Rule 1 and 2 CPC moved by the plaintiff.
In brief, the suit of the plaintiff is that he is running a proprietorship firm in the name of "Ashok Engineering Works" and is engaged in the business of "electroplating". He is also a registered electricity consumer of defendant no.1 vide CA No.<PHONE_NUMBER>45 for a sanctioned load of 24 KW. Further states that he has a license of NDMC to run his aforesaid factory and has also got "consent" as per provisions of Air ( Prevention and Control of Pollution ) Act, 1981 (for short "Air Pollution Act") and there has been no violation of any provision of the said Act.
Plaintiff alleges that on 23.12.2015, defendant no.1 disconnected his electricity supply without any rhyme, reason or show cause notice. Upon enquiry, it was orally informed to plaintiff at the office of defendant that the disconnection was C.S No. 14/16 Sachin Mathur vs BSES YPL 1/6 done on the directions of defendant no.2 i.e. Delhi Pollution Control Comittee (for short "DPCC"). As per plaintiff, he did receive a show cause notice dated 28.10.2015 from DPCC, however he is not in violation of any provision of Air Pollution Act and had submitted a reply dated 30.03.2015 to the said show cause notice, denying the allegations made in the same. Moreover he also holds a certificate of consent order issued by DPCC, therefore show cause notice got satisfied.
Plaintiff alleges that despite no order of DPCC or any other authority for disconnection of electricity, defendant no.1 had disconnected the same without giving any opportunity of being heard to the plaintiff. Due to disconnection of electricity he has suffered heavy losses in his business. Accordingly, this suit has been filed by him seeking direction to defendant no.1 to restore his electricity. Initially suit was filed only against BSES YPL, however vide Order dated 04.02.2016 of this court, plaintiff was directed to implead DPCC as a party to the suit as defendant no.2.
Written Statement has been filed by both the defendants. In its W.S, defendant no.1 admits that plaintiff is availing electricity connection from it and is regularly making payment of the bills. However it is submitted that plaintiff is engaged in the electroplating business, which is within the list of 33 seriously polluting industries (SPIs) and plaintiff has failed to show any valid "consent" to operate his industry. The plaintiff has consent to operate his factory only till the year 2008 and no further consent has been given by the DPCC thereafter. Further states that electricity connection of plaintiff has been disconnected only because of the directions issued by DPCC which was further in compliance with direction of Hon'ble C.S No. 14/16 Sachin Mathur vs BSES YPL 2/6 National Green Tribunal.
It is further stated that defendant no.1 has no objection to restore the electricity of plaintiff if he obtains consent order from DPCC. It is also stated that the very issuance of show cause notice by DPCC to the plaintiff shows that there is no valid consent to operate in favour of plaintiff and he is presuming existence of consent as per his on interpretation and interest.
W.S has been filed on behalf of defendant no.2 stating that civil court lacks jurisdiction to entertain suit or proceeding in view of Section 22, 46 and 58 of Environment Act, 1986, the Air ( Prevention and Control of Pollution) Act, 1981 and The water ( Prevention and Control of Pollution) Act, 1974, respectively. Further states that in view of Judgment of Hon'ble Supreme Court in para no. 39 of AIR 2012, SC 3081, any cases filed or pending prior to the coming to force of National Green Tribunal (for short "NGT"), has to be transferred to NGT and this suit is not maintainable. It is further stated that in the entire plaint, there is no cause of action qua DPCC, hence the suit is liable to be dismissed.
It was denied that there was any valid consent given by DPCC in favour of plaintiff or that plaintiff is complying with environment laws. It is submitted that plaintiff had obtained consent from DPCC which was valid only till 13.05.2008 and there is no subsequent consent given to him. The unit of plaintiff is engaged in the activity of electroplating (job work) which has been identified as seriously polluting industry. Further the unit of plaintiff is situated at Anand Parbat Industrial Area which is redevelopment area and does not have Common Effluent Treatment Plant C.S No. 14/16 Sachin Mathur vs BSES YPL 3/6 (CETP) to treat the waste water generated from the said industrial area. Therefore, no consent as well as authorization is being granted to the units situated there. Further states that plaintiff had applied for renewal of consent on 14.06.2012 for three years but the same was not granted. It was however denied that any direction has been given by DPCC to defendant no.1 for disconnection of electricity.
It is also stated that the Hon'ble NGT vide its order dated 17.11.2014 in OA No. 196/14 had constituted State Level Committee for compliance of various directions relating to seriously polluting industries operating without consent from the pollution Control Board including directions for closure. In subsequent proceedings, it was also decided that if any seriously polluting industries are found, the same shall be closed within four weeks by DPCC. The other contentions were denied and prayer is made for dismissal of suit.
Vide this application U/o 39 Rule 1 and 2 CPC, plaintiff is seeking temporary injunction that defendant no.1 be directed to restore his electricity supply and not to disconnect it during the pendency of the suit. Reply has been filed by defendant opposing the said application on the same ground as taken in the W.S I have heard arguments advanced by the Ld. counsels for parties and carefully perused the record. The law is well settled regarding the grant of interim injunction. Applicant has to prove three basic ingredients for grant of interim injunction:
1. existence of prima facie case.2. balance of convenience C.S No. 14/16 Sachin Mathur vs BSES YPL 4/6 3. irreparable injury
As far as prima facie case is concerned, it has not been denied on behalf of plaintiff that the business of electroplating does not fall under the category of seriously polluting industries. It is also admitted by his counsel during arguments that plaintiff does not have a written consent order from DPCC for the year 2016 though this fact is not mentioned in plaint. Plaintiff's contention however is that he is having a valid implied consent from DPCC since he had moved an application dated 14.06.2012 seeking consent for five years and this application was not rejected by the defendant no.2. As per Section 25 (7) of Water Pollution Act, if the concerned authority does not reply or reject the application within a period of four months, it shall be deemed that consent has been granted. Hence in view of the above provision, plaintiff is deemed to be having a valid consent in law as his application was neither replied nor rejected. On court query, counsel for plaintiff has however failed to disclose for how many years, this implied consent shall be deemed to be in force in law but insists that the same has to be treated for a period as mentioned in the application of plaintiff i.e. 5 years.
Perusal of record shows that the previous consent order which was passed in favour of plaintiff, was only for a period of three years till year 2008 and under such circumstances, if at all, any presumption is to be drawn that there was an implied consent in favour of plaintiff, it ought to be treated only for a period of three years and not for a period of five years. Even otherwise, after issuance of show cause notice by defendant no.2 against the plaintiff, the said implied consent if any, cannot C.S No. 14/16 Sachin Mathur vs BSES YPL 5/6 be deemed to be still in force. Moreover this show cause notice of defendant no.2 has not got satisfied as has been falsely mentioned by plaintiff in his plaint but defendant no.2 is mulling further action against plaintiff as per law.
It is further pertinent to mention that plaintiff has not denied the fact that the area wherein his factory is located, does not have any common effluent treatment plant (CETP) though it was contended during arguments that plaintiff will comply with all provisions of law as required in this regard. However the court cannot presume what will happen in future and can only take into consideration, the present circumstances. Having considered all the facts and circumstances, in my considered opinion, till the time plaintiff obtains a valid written consent order from defendant no. 2, he is not entitled to any interim relief from this court especially in view of directions given by Hon'ble NGT from time to time qua seriously polluting industries.
I do not find any prima facie case in favour of plaintiff. hence there is no need for discussing the other requirements of interim relief regarding balance of convenience and irreparable loss. With these observations, the injunction application of plaintiff U/o 39 Rule 1 and 2 CPC stands dismissed.
It is clarified that nothing mentioned herein shall tantamount to expression of opinion on the merits of the case.
Announced in the open court ( A.K. Agrawal) today on 08.04.2016 Civil Judge 01 ( West)/Delhi C.S No. 14/16 Sachin Mathur vs BSES YPL 6/6


Bachelor of Science - Computer Science & Religious Studies
New Haven, CT
Class of 2020
Teaching Assistant: Systems Programming & Computer Organization; Data Structures; Introduction to Computer Science; Introduction to Computer Programming
Computer Science Coursework: Software Verification; Natural Language Processing; Computer Vision & Biological Perception; Artificial Intelligence; Digital Systems; Systems Programming & Computer Organization; Data Structures; Algorithms; Linear Algebra & Matrix Theory; Discrete Mathematics; Ordinary & Partial Differential Equations
Religious Studies Coursework: Interrogating the Crisis of Islam; Biblical & Constitutional Interpretations in Dialogue; Theology & Medicine; The End of Metaphysics; Religion & Society; Spiritual But Not Religious; Holy Hipsters – Spiritual Heterodoxy in Post-War America; Religion & Grief; Shakespeare & Religion
Legal Studies & Policy Coursework: Topics in CS & Law; Data Governance in the Digital Age; Hindu Nationalism; Latin American Political Thought; Cities, Suburbs, & School Choice; Political Philosophy
Coursework: Mobile Software Development
Budapest, Hungary
June 2017 - July 2017
Evanston, IL
Class of 2016
Upcoming
Redwood City, CA
Beginning January 2021
Built accessibility tools in React aimed at improving the learning experience for students with IEP's and English Language Learners including Voice Typing and Text to Speech.
Introduced handwriting recognition into the student math editor to allow students to convert their handwritten math into LaTeX that is inserted into their document.
Integrated a Ruby on Rails logging system into the Notebooks (student document system) codebase to log student and teacher usage of editor functionality and determine areas for further improvement.
Redesigned the Pennsylvania House Democratic Campaign Committee website by using HTML/CSS and Wordpress plugins to adapt the Tech for Campaigns template to fit the PHDCC specifications.
Remote Volunteer
November 2019 - January 2020
Used Grafana and Prometheus to visualize incoming data for all the CSTA K8S environments from MongoDB representing worldwide cyber security threats and attacks on the AT&T servers into order to debug, monitor, and track performance and resource utilization.
Enhanced 10 Java codebases for the Corporate Security & Threat Analytics (CSTA) team to remove potential security flaws indentified by Veracode Greenlight.
Built a prototype UI for the new Mobility Security Dashboard using Angular and C3.js.
Chicago, IL
June 2018 - August 2018
Zhang, R., Westerfield, C., Shim, S., Bingham, G., Fabbri, A., Verma, N., Hu, W., Radev, D. (2019)
“Improving Low-Resource Cross-lingual Document Retrieval by Reranking with Deep Bilingual Representations.”
Association for Computational Linguistics.
Fabbri, A., Li, I., Trairatvorakul, P., He, Y., Ting, T., Tung, R., Westerfield, C., Radev, D. (2018)
“TutorialBank: A Manually-Collected Corpus for Prerequisite Chains, Survey Extraction and Resource Recommendation.”
Association for Computational Linguistics.
Yale Law School
January 2019 - December 2019
Determined the most common phrases (bi-,tri-, and four-grams) in the U.S. Legal Code and mapped changes in the rankings of these phrases from 1925-2012.
Developed a data analysis sytem using Python-based NLP libraries to process opinions written by the U.S. Supreme Court Justices to draw conclusions about the complexity, sentimentality, and polarity of their writing.
October 2018 - December 2018
Yale University
September 2017 - May 2019
Determined the optimal re-ranking system as applied to multilingual tasks for the development of a cross-lingual information retrieval system specifically for low-density and surprise languages, with training data in Swahili and Tagalog.
Create and update the All About NLP (AAN) website interface and database with a focus on improving search queries through machine learning as part of a team of developers.
September 2017 - December 2018
Northwestern University
September 2015 - July 2016
Used R to research mutations in the RAS pathway in Caenorhabditis elegans to determine possible sites of cancer in the equivalent human pathway.
Westerfield, C., Nijhawan, S., Lee, A. (2018)
"Hello World! Teaching Coding Fundamentals to K-8."
WE18 Society of Women Engineers National Conference.
New Haven, CT
March 2019 - March 2020
Founded the Float Foundation, Inc. 501(c)(3) charity as president of Float – the Yale Women in Computer Science Society – to streamline the company sponsorship process for tax-deductible donations. The increase in the Float budget will provide funding for conference scholarships, student project stipends, and community-building events.
New Haven, CT
September 2019 - March 2020
Uphold a safe and welcoming environment despite the presence of protestors by escorting patients to the clinic and enforcing boundaries on protestor behavior.
New Haven, CT
April 2019 - March 2020
May 2018 - May 2019
May 2017 - April 2018
Spearheaded the inaugural Yale Hack for Justice to encourage multi-disciplinary collaboration between Yale social justice organizations and computer science students. Emerging projects addressed reproductive justice and prison reform – one of which led to a new website for the Yale Undergraduate Prison Project.
Fostered greater community among Yale women and gender minorities in the computer science major through workshops, social events, town hall meetings with professors, and company partnerships.
New Haven, CT
April 2018 - May 2019
May 2017 - March 2018
Created pathways for women engineers at Yale to explore post-graduate opportunities by hosting professional development events and organizing group attendance at the National SWE conference.
New Haven, CT
Developed a year-long computer science curriculum applicable for students in grades 5 – 8 to teach programming fundamentals that culminated in a final project.
Organized a computer science project fair for more than 120 students to showcase student progress after a year of the Code Haven curriculum.
Directed a conference that will guide more than 50 teachers from elementary and middle schools across Connecticut on how to introduce computer science and programming software into their classrooms.
Taught computer programming and Android app development (using Scratch and MIT App Inventor) to more than 170 middle schoolers per year in New Haven middle schools.
Founded first ever club at Evanston Township High School to encourage more girls to participate in higher level science courses and pursue careers in STEM. Events included organized shadow days at Northwestern University, design competitions, monthly meetings, and tutoring programs for more than 150 club members.


Toggle navigation
Moorefield GAA
Home
News
Downloads
Membership
Merchandise
Downloads
Code of Good Behaviour
Injury Claim Form
GAA Mouthguard Information


TF2 Sentry I built by hand. Functionality built by me using the STM32F7.
This is my Senior Capstone project. I lead a team to design a Smart eBike Kit, which would convert a mountain bike into an eBike. Click details to learn more.
My final project where I designed a 32-bit CPU based on the MIPS instruction set.
A working calculator app I designed for Android. Tested on the LG V20.
A project where I designed and built a 12-hour digital clock.
Weather Data Analysis done in Python which I use for my weather videos on YouTube.
2D and full 3D modeling of a floorplan with textures and HD renderings.


The PhoneState component is able to detect phone state changes.
pst = app.CreatePhoneState(
types )
→
app object: PhoneState
The callback data depends on the type:
“CellLocation” : object: {
cellId,
areaCode }
“DataConnection” : object: {
state,
networkType }
“DataActivity” : unknown
“CallState” : object: {
state,
number }
“ServiceState” : string: “OutOfService”
“SignalStrength” : number: float
“CallForwarding” : boolean
“MessageWaiting” : boolean
Example - Demo
function OnStart()
{
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
txt = app.CreateText( "", 0.95, 0.95, "multiline,left" );
txt.SetTextSize( 14 );
lay.AddChild( txt );
app.AddLayout( lay );
var types = "CellLocation,DataConnection,DataActivity,CallState,"
+ "ServiceState,SignalStrength,CallForwarding,MessageWaiting";
state = app.CreatePhoneState( types );
state.SetOnChange( state_OnChange );
state.Start();
}
var log = [];
function state_OnChange( type, data )
{
log.push( type.bold() + ":
\t" + JSON.stringify(data) );
txt.SetHtml( log.join("
") );
}
Methods
The following methods are available on the PhoneState object:
number: integer
string: number
string: “CellLocation”, “DataConnection”, “DataActivity”, “CallState”, “ServiceState”, “SignalStrength”, “CallForwarding”, “MessageWaiting”
string: “Connected” or “Disconnected”
string: “Unknown”
string: “Idle”
pst.GetType
Returns the control class name.
pst.SetOnChange
Define a callback function which is called when a phone state has changed.
pst.Start
Start listening.
pst.Stop
Stop listening.


All the patterns to this point have matched based on class and package names. With version 0.4, Macker supports matching on other features of a class using filters. Any pattern tag -- any tag which supports the class
and pattern
attributes -- also supports the filter
attribute:
<pattern-tag filter="filter-name" ...options... />
This simple example uses the filter named "interface" to create a pattern which matches all interfaces:
<pattern name="all-interface" filter="interface" />
You can combine patterns based on filters, just as you would combine any other sort of pattern:
<pattern name="concrete-class"> <exclude filter="interface" /> <exclude filter="abstract-class" /> </pattern>
Some filters take a pattern as a parameter. In this case, the filter expects a class
or pattern
attribute, which becomes the parameter to the filter. In this example, java.util.List
is a parameter to subtype-of
:
<pattern name="list" filter="subtype-of" class="java.util.List" />
Nested elements are not a parameter to the filter -- they behave the same as ever. This means that you'll sometimes need to declare a named helper pattern to build up the pattern you want. For example, this pattern would not be possible without the definition of the pattern named all-interface
above:
<pattern name="concrete-iface-impl" filter="subtype-of" pattern="all-interface" /> <include pattern="concrete-class" /> </pattern>
Admittedly, this is a small set. It will grow with future versions of Macker.
| Filter | Description |
|---|---|
| primary-class | Matches primary classes (those passed as input to Macker) |
| primitive-type | Matches any of the nine Java primitive types (including void). |
| interface | Matches interfaces, as the name implies. |
| abstract-class | Matches abstract classes (but not interfaces). |
| final-class | Matches classes declared final. Exciting, isn't this? |
| class-access | Matches based on the access (visibility) of the class itself. This does not take into account the visibility of any of the methods -- that's for a future filter.
This filter expects the attributes min and/or max . Each may be one of:
Examples:
|
| subtype-of | Matches based on which other classes the given class is assignable from. This includes anything it extends or implements, directly or indirectly, and the class itself. I'll repeat that last bit, because it will catch you off guard: a class is considered a subtype of itself.
Examples:
|
Filters are not limited to the standard set above; filters are intended for extensibility. However, I'm not going to document how to write your own filters here, for several incredibly good reasons:
If you're dying to know, here's the gist of it. Please keep in mind that anything you write might hit some upgrade bumps until Macker 1.0 ... but please do experiment!
net.innig.macker.rule.filter.Filter
(see the source files in that package for examples).
net/innig/macker/filter.properties
in Macker's classpath with the line filter-name=com.whatever.MyFilterClass
. (Macker merges this with the standard filters, so you only need to declare your own.)
net/innig/macker/macker.dtd
in Macker's classpath ahead of macker.jar
. This is a hack; in the future, Macker will allow a filter to declare which options it takes, and not force you to override the DTD.


| 1 | /* | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | package org.apache.commons.math3.genetics; | |
| 18 | ||
| 19 | /** | |
| 20 | * Individual in a population. Chromosomes are compared based on their fitness. | |
| 21 | *
 | |
| 22 | * The chromosomes are IMMUTABLE, and so their fitness is also immutable and | |
| 23 | * therefore it can be cached. | |
| 24 | * | |
| 25 | * @since 2.0 | |
| 26 | * @version $Id$ | |
| 27 | */ | |
| 28 | public abstract class Chromosome implements Comparable<Chromosome>,Fitness { | |
| 29 | /** Value assigned when no fitness has been computed yet. */ | |
| 30 | private static final double NO_FITNESS = Double.NEGATIVE_INFINITY; | |
| 31 | ||
| 32 | /** Cached value of the fitness of this chromosome. */ | |
| 33 | private double fitness = NO_FITNESS; | |
| 34 | ||
| 35 | /** | |
| 36 | * Access the fitness of this chromosome. The bigger the fitness, the better the chromosome. | |
| 37 | *
 | |
| 38 | * Computation of fitness is usually very time-consuming task, therefore the fitness is cached. | |
| 39 | * | |
| 40 | * @return the fitness | |
| 41 | */ | |
| 42 | public double getFitness() { | |
| 43 |
1
1. getFitness : negated conditional → KILLED |
if (this.fitness == NO_FITNESS) { |
| 44 | // no cache - compute the fitness | |
| 45 | this.fitness = fitness(); | |
| 46 | } | |
| 47 |
1
1. getFitness : replaced return of double value with -(x + 1) for org/apache/commons/math3/genetics/Chromosome::getFitness → KILLED |
return this.fitness; |
| 48 | } | |
| 49 | ||
| 50 | /** | |
| 51 | * Compares two chromosomes based on their fitness. The bigger the fitness, the better the chromosome. | |
| 52 | * | |
| 53 | * @param another another chromosome to compare | |
| 54 | * @return | |
| 55 | *
 | |
| 56 | *
-1 if another is better than this
 | |
| 57 | *
1 if another is worse than this
 | |
| 58 | *
0 if the two chromosomes have the same fitness
 | |
| 59 | *
 | |
| 60 | */ | |
| 61 | public int compareTo(final Chromosome another) { | |
| 62 |
1
1. compareTo : replaced return of integer sized value with (x == 0 ? 1 : 0) → KILLED |
return ((Double)this.getFitness()).compareTo(another.getFitness()); |
| 63 | } | |
| 64 | ||
| 65 | /** | |
| 66 | * Returns true iff another has the same representation and therefore the same fitness. By | |
| 67 | * default, it returns false -- override it in your implementation if you need it. | |
| 68 | * | |
| 69 | * @param another chromosome to compare | |
| 70 | * @return true if another is equivalent to this chromosome | |
| 71 | */ | |
| 72 | protected boolean isSame(final Chromosome another) { | |
| 73 |
1
1. isSame : replaced return of integer sized value with (x == 0 ? 1 : 0) → NO_COVERAGE |
return false; |
| 74 | } | |
| 75 | ||
| 76 | /** | |
| 77 | * Searches the population for another chromosome with the same representation. If such chromosome is | |
| 78 | * found, it is returned, if no such chromosome exists, returns null. | |
| 79 | * | |
| 80 | * @param population Population to search | |
| 81 | * @return Chromosome with the same representation, or null if no such chromosome exists. | |
| 82 | */ | |
| 83 | protected Chromosome findSameChromosome(final Population population) { | |
| 84 | for (Chromosome anotherChr : population) { | |
| 85 |
1
1. findSameChromosome : negated conditional → KILLED |
if (this.isSame(anotherChr)) { |
| 86 |
1
1. findSameChromosome : mutated return of Object value for org/apache/commons/math3/genetics/Chromosome::findSameChromosome to ( if (x != null) null else throw new RuntimeException ) → KILLED |
return anotherChr; |
| 87 | } | |
| 88 | } | |
| 89 |
1
1. findSameChromosome : mutated return of Object value for org/apache/commons/math3/genetics/Chromosome::findSameChromosome to ( if (x != null) null else throw new RuntimeException ) → KILLED |
return null; |
| 90 | } | |
| 91 | ||
| 92 | /** | |
| 93 | * Searches the population for a chromosome representing the same solution, and if it finds one, | |
| 94 | * updates the fitness to its value. | |
| 95 | * | |
| 96 | * @param population Population to search | |
| 97 | */ | |
| 98 | public void searchForFitnessUpdate(final Population population) { | |
| 99 | Chromosome sameChromosome = findSameChromosome(population); | |
| 100 |
1
1. searchForFitnessUpdate : negated conditional → KILLED |
if (sameChromosome != null) { |
| 101 | fitness = sameChromosome.getFitness(); | |
| 102 | } | |
| 103 | } | |
| 104 | ||
| 105 | } | |
Mutations | ||
| 43 |
1.1 |
|
| 47 |
1.1 |
|
| 62 |
1.1 |
|
| 73 |
1.1 |
|
| 85 |
1.1 |
|
| 86 |
1.1 |
|
| 89 |
1.1 |
|
| 100 |
1.1 |