Canyons! — Summer 2016
Imagine being Atanasio Domínguez and Silvestre Vélez de
Escalante, two Franciscan priests who in 1776 were charged with
finding a route between the Spanish missions in New Mexico and
California. One day you come across an enormous canyon, many
miles rim-to-rim, 6000' deep, stretching for 100's of miles in
each direction. What should your daily log entry be?
It's hard for a photo to due justice to the scale of the Grand
Canyon. When you're on the North Rim, early morning light really
brings out the colors and shows off the South Eim.
In 1869 John Wesley Powell led a 3-month river trip exploring
the Green and Colorado rivers durig which he gave fanciful names
to the more dramatic formations. This is Wotans Throne as viewed
from Cape Royal. You need a good classical education to understand
all his references!
The Ponderosa Pine forest that covers the high plateau (9000' elevation)
behind the North Rim is a welcome change to the steady diet of pinon
and juniper we've had up until now. Notice the scorched bark and burnt
branches! Ponderosa Pines rely on periodic fires to clear out the
undergrowth and competing species one would expect to see. It's amazing
how airy and spacious it seems walking the forest paths.
The Grand Canyon Lodge is an appropriately rustic limestone and timber
centerpiece to a little village of individual guest cabins. We celebrated
our last night of the road trip with dinner in the Main Dining Room.
Recommendation: skip the main course and just order the entree-sized
brownie dessert :)
There's nothing quite as dramatic as 12.7 million acre feet of
water in the middle of the high desert. After 16 years of drought,
this is only half of its design capacity, which you can see visually
as a 60' "bathtub ring" of white stone around the edge of the lake.
Amazing fact: the length of the lake perimeter, with its myriad
of ins and outs from the side canyons, is longer than the coast line
of the west coast.
We started the day with a side trip to Natural Bridges National
Monument -- this is Owachomo Bridge. What?... Oh, good question!
A bridge is formed by the cutting action of a river, usually as
it slices through the fin of rock in the middle of a meander. An arch
has the same shape, but its center hole was formed by the subtler action
of differential erosion of softer rock layers, which opens windows
that slowly expand into arches.
My John Ford moment here in Monument Valley. (Ford shot a lot of
John Wayne movies here.)
I'd love to say that all the formations in Monument Valley have this
lovely golden glow, but mostly they're dusty red/brown, just like
we were after the tour. But when the sun is at the magic angle...
Deserts are at their best as the sun drops, the light softens,
and the shadows provide some drama.
Island in the Sky (part of Canyonlands National Park) lies between
the valleys of the Green River and Colorado River, isolated from the
lowlands by 1000' cliffs -- revealing the cross section of the
sedimentary layer cake called the Colorado Plateau. Dramatic views
apparently bring out the urge to pose your loved one as close to the
precipice as possible! "Just a few more steps back, dear..."
Plants have many different survival stategies in this arid climate.
Junipers actually cut off water to one or more branches when times
are tough, leaving many of them a mix of vibrant growth and the
skeletons of branches that gave their all to ensure survival.
This must have been what the praries looked like before their
fragile habitat was disrupted by "civilization." The key is the
biological soil crust: a knobby, black crust that is dominated by
cyanobacteria, but also includes lichens, mosses, green algae,
microfungi and bacteria. The crust prevents erosion, traps
moisture and seeds, adds nutrients -- all the ingedients needed for
a vibrant biome even in these challenging conditions.
You'll be shocked to learn that what one sees at Arches National Park
is... arches. They came in all sizes and ages. This
particularly study example is Turret Arch.
I'm getting a good grasp for the color "sage green."
Arches has millions of visitors each year, so it takes some effort to
frame and time a shot to make it look like you have the place to yourself.
This is Broken Arch.
This is Landscape Arch, which has the longest span of any arch in the
park. It seems impossibly thin at places, making you wonder how much
longer it will be with us.
Capitol Reef National Park's main attraction is the Waterpocket Fold, a 100-mile
long wrinkle in the earth.
There are signs at each trailhead explaining that there's a $300 fine
for writing grafitti. Petroglyphs are okay however, but the window of
opportunity for that closed 1000 years ago.
If you like hiking arid canyons, I recommend Capitol Gorge, the home
of the petroglyph shown above. Here I've climbed to the top of the gorge
to see a genuine water pocket (which turns out to be a depression
in the rock holding water, vastly oversold as a tourist destination).
Where's Waldo?
Today we traveled Utah's scenic highway 12 in a 150-mile trip through
some of the most rugged and remote landscape in the lower 48. The day
started by catching the sunrise at Bryce Canyon with the strong
eastern light adding even more drama to the view.
Then we visited some teenage hoodoos hanging out together away
from their parents.
It took the Civilian Conservation Core many years to find a path
across the rugged canyonlands of the Grand Staircase. Until
Highway 12 was completed, the few remote communities had to be
served by mule train. Crossing the mountain ridges in the
distance (today's destination) must have seemed easy by
comparison.
Later in the day, we had a chance to hike up the Lower Calf Creek
Falls trail, an interesting mix of desert landscape and lush
creek-fed foliage along the canyon bottom.
Bryce Canyon is hoodoo central!  Formed in their rank
and file, they remind me of a giant version of the burried
terracotta army of Xian.
To a geologist, hoodoos are fins of sandstone protected from erosion
by a stripe of tougher rock. Once exposed, cracks form and are
expanded by the action of water and ice, eventually separating the
fin into a sequence of separate columns. The totem-pole profile
comes from softer layers eroding faster than harder layers.
Hoodoos aren't forever, eventually wearing away to mere nubs and
eventually a fine, red sand.
"Limber Pines have a way of growing in dramatic places, taking
picturesque attitudes, and getting themselves photographed, written
about, and cared for..." -- Donald Culross Peattie
Zion owes its existence to the Virgin River, which you see here
emerging from the Narrows into the wider lower canyon. We're there
bright and early, with the east light creating a marvelous lightscape
on the western canyon walls.
You can actually hike quite far up into the Narrows. Well, hike
isn't quite the right word: it's more splashing, wading, or swimming
in cold water. Next time we'll rent the right shoes and give it a try!j
A 40-minute ride using the Park's convenient shuttle system takes
you from the lush riparian environment in the north...
through the former canyon-bottom farmlands of the Mormons in the
middle...
to the arid high-dessert landscape at the southern end of the Park.


Gecode::Support::LinearCongruentialGenerator< m, a, q, r > Class Template Reference
[Support algorithms and datastructures]
#include <random.hh>
Detailed Description
template<unsigned int m, unsigned int a, unsigned int q, unsigned int r>
class Gecode::Support::LinearCongruentialGenerator< m, a, q, r >
Template for linear congruential generators.
This class template defines a simple class for linear congruential generators.
The values used for calculation shouldbe specified so that
Requires
#include "gecode/support/random.hh"
Definition at line 42 of file random.hh.
Public Member Functions | |
| LinearCongruentialGenerator (int _seed=1) | |
| Construct the generator instance. | |
| void | seed (unsigned int _seed) |
| Set the current seed. | |
| unsigned int | seed (void) const |
| Get the current seed. | |
| unsigned int | operator() (unsigned int n) |
| Returns a reandom integer from the interval [0..n). | |
Public Attributes | |
| const unsigned long | rand_max |
Constructor & Destructor Documentation
|
|
Construct the generator instance.
|
Member Function Documentation
|
|
Set the current seed.
|
|
|
Get the current seed.
|
|
|
Returns a reandom integer from the interval [0..n).
|
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- gecode/support/random.hh (Revision: 3514)


During my vacation for the holidays I thought that maybe I wanted some smaller project that you could fit in together with “family life” (not the easiest of endeavour!) and I got to think about some old code that I had laying about in my own little game-engine that I have thought about making public for a while. I thought it might be useful for someone else and maybe just doing some optimization work on it might be a fun little distraction!
Read MoreWhen memcpy() change!
To start of, yes, I know that this article touch undefined behavior and that all bets are off! I am currently working on a bigger post on swapping memory that is THIS close to being done… any day now (he has been saying the last year!). However this topic popped up and I was wondering if it was worth making the other post longer or just make a small one about it.
Read MoreMacros and Lambdas
Time for a short post on using lambdas to construct macros… that was a sentence that will be able to trigger 2 camps in one go :D Defer First of, using lambdas to implement a defer() is really neat, however others has already written about that so that I don’t have to! A Defer Statement For C++11 Call once So from my end I’ll start of with a quick one for constructing a macro that only does something once, lets call it IS_FIRST_CALL().
Read More


@return [String] The string, formatted to be used as the name of a command
in the help
# File lib/cri/core_ext/string.rb, line 72 def formatted_as_command self.green end
@return [String] The string, formatted to be used as an option definition
of a command in the help
# File lib/cri/core_ext/string.rb, line 78 def formatted_as_option self.yellow end
@return [String] The string, formatted to be used as a title in a section
in the help
# File lib/cri/core_ext/string.rb, line 66 def formatted_as_title self.upcase.red.bold end
Extracts individual paragraphs (separated by two newlines).
@return [Array<String>] A list of paragraphs in the string
# File lib/cri/core_ext/string.rb, line 10 def to_paragraphs lines = self.scan(/([^\n]+\n|[^\n]*$)/).map { |s| s[0].strip } paragraphs = [ [] ] lines.each do |line| if line.empty? paragraphs << [] else paragraphs.last << line end end paragraphs.reject { |p| p.empty? }.map { |p| p.join(' ') } end
Word-wraps and indents the string.
@param [Number] width The maximal width of each line. This also includes
indentation, i.e. the actual maximal width of the text is `width`-`indentation`.
@param [Number] indentation The number of spaces to indent each line.
@return [String] The word-wrapped and indented string
# File lib/cri/core_ext/string.rb, line 34 def wrap_and_indent(width, indentation) indented_width = width - indentation indent = ' ' * indentation # Split into paragraphs paragraphs = self.to_paragraphs # Wrap and indent each paragraph paragraphs.map do |paragraph| # Initialize lines = [] line = '' # Split into words paragraph.split(/\s/).each do |word| # Begin new line if it's too long if (line + ' ' + word).length >= indented_width lines << line line = '' end # Add word to line line += (line == '' ? '' : ' ' ) + word end lines << line # Join lines lines.map { |l| indent + l }.join("\n") end.join("\n\n") end


[gecode-users] Help -- about Gecode::Space::operator new
Christian Schulte
cschulte at kth.se
Wed Aug 26 20:58:46 CEST 2009
Hi, I think I need to see the full code to help. There must be something how
you call new (maybe the type of temp) that is the problem.
Christian
--
Christian Schulte, www.ict.kth.se/~cschulte/
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Kayler Yao
Sent: Wednesday, August 26, 2009 4:04 PM
To: users at gecode.org
Subject: [gecode-users] Help -- about Gecode::Space::operator new
hi,
I had a trouble in my project when i wrote a class inheriting from
Class Space and run it with DFS. The error is
"error C2660: 'Gecode::Space::operator new' : function does not take 3
arguments"-------------------------happened in
"
GenSolModel * m = new GenSolModel
(temp);------------------------------------error line
DFS<GenSolModel > e(m);
delete m;
while (GenSolModel * s = e.next())
{
s->print();
delete s;
}
"
I have spent much time to find the reason but with no results. I had
written anther question class to test ,and it could run OK. I think that the
constructor of
this class didn't conflict with the class Space , but why came out this
error. Who can give me a thought to help me to find the answer?
Look forward to your reply!
note:
1.VS2008 + Gecode 3.1.0
2.
class GenSolModel: public Gecode::Space
{
protected:
IntVarArray succ;
public:
GenSolModel(int data);
GenSolModel(bool share, GenSolModel& s);
~GenSolModel();
virtual Space *copy(bool share);
void print(void);
};
Kayler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090826/0d3186fa/attachment.htm>
More information about the gecode-users
mailing list


RxImgSze: Raster Image Support for Rexx
Copyright ¸ 2013-2014, Jan-Erik L„rka
Raster image libraries, code and routines from
Generalized Bitmap Module (GBM),
currently maintained by Heiko Nitzsche, Germany.
Copyright ¸ 2013-2014, Jan-Erik L„rka
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
3. Neither the name of "Jan-Erik L„rka" nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Unpack files and place the .dll file in
C:\ecs\dll
or
C:\OS2\DLL
and this help file in
C:\ecs\book
or
C:\OS2\BOOK
REXX extend what you can do with your computer.
Classic REXX that ship with eComStation and OS/2 allow you to write straight forward code in english with few obstacles as rules formatting requirements that may exist in other similar languages.
The REXX language allow for various programming styles depending on your personal preference, which may confuse, but also allow you to explore it and try more.
Absolute beginners to REXX programming should read one of the REXX introduction tutorials available.
You can with relatively little knowledge extend REXX if it doesn't contain all the components you need. This library is an example of how you can add functionallity to extend REXX beyond the original implementation.
You can write REXX code with a plain
Text Editor
Editors with support for programming lanuages usually contain various functions to highlight different parts of the code to inform you about various aspects of the code and help you understand it better.
Example of Syntax Highlightning
/*
* Filename: Example.cmd
* Author: JAN-ERIK
* Created: Sat Mar 22 2014
* Purpose: Introductional example script
to REXX
* Changes:
*/
SAY "Example of Syntax highlightning"
Examples of Text Editors with Syntax Highlightning
EPM (Enhanced Editor)
that ships with OS/2 and
eComstation is very
powerful and support various progamming languages, not only REXX. EPM
may not look that powerful at a first glance if you haven't tried it
out before. You can however add buttons to the buttonbar of the EPM
that add support for syntax highlightning with little effort.
| Buttonbar: | Right click |
| Select: | Buffet |
| Window: | Toolbar customization |
| Area: | Buffet toolbar: |
| Click: | > (Right most button) |
| Button: | [ KwdHilit ] |
| Drag & Dropû: | KwdHilit |
| Target: | Current toolbar: |
| Button: | [ OK ] |
| Window: | EPM main window |
| Buttonbar: | Right click |
| Menu: | Save as... |
| Window: | Save Toolbar |
| Field: | Enter a name for the toolbar. |
| Type: | Highlight |
| Window: | EPM main window |
| Menu: | O ptions → P r eferences → S ettings... |
| Window: | Settings |
| Tab: | Toolbars |
| Grouping area: | Toolbars |
| Dropdown: | Highlight |
| Button: | [ Make current ] |
| Close window: | Settings |
Various versions of FTE (Folding Text Editor) exist on the internet and they provide good support for REXX.
Syntax Highlightning, automatic Indention to ease reading and debuggning of code, menus to insert comments and useful commands within the languages make FTE very useful.
Note
A drawback with some versions of FTE is that the folding of END in DO-END pair sections loose track of position and in default configuration with OS/2 version doesn't line up right below DO.
IF ARG
(
1
)
=
1
THEN
DO
SAY
'Please
wait...'
CALL
SysSleep
10
END
instead of
IF ARG
(
1
)
=
1
THEN
DO
SAY
'Please
wait...'
CALL
SysSleep
10
END
Internet resources for FTE (Folding Text Editor):
http://www.os2site.com/sw/apps/editors/fte/index.html
http://hobbes.nmsu.edu/h-search.php?key=FTE+Editor&pushbutton=Search
The design of external function packages allow the programmer to
add code to dynamically handle various needs in just i functions. This
has been explored as much as possible in this library and require you
as
a reader to pay attention to the subtle differences between the
provided
examples.
Library functions
| rxImgLoadFuncs | - | Load all other functions in the library |
| rxImgDropFuncs | - | Unload all other functions in the library |
| rxImgVersion | - | Show information for this library |
| rxImgReSize | - | Resize and reduce/increase colors in image |
| rxImgCapture | - | Capture image |
| Parameter(s) | Returns/Note |
| none | empty string |
| Purpose: | Load all functions for usage so that they are available in the REXX script |
| Parameter(s) | Returns/Note |
| none | empty string |
| Purpose: | Unload all previously loaded functions when done |
| Parameter(s) | Returns/Note |
| information | (Optional) |
| none | "rxImgSize: version 1.03, GBM: version 1.12" |
| "RxImageSize" | "1.03" |
| "GBM" | "1.12" |
| "Filters" | "nearestneighbor, bilinear, bell, bspline, ..." |
| "Palettes" | "BW, VGA, 8B, 4G, 7x8x4, 6x6x6, 4x4x4, ..." |
| "Extra" | "ASPECT, ERRDIFF, HALFTONE" |
| Purpose: | Return information about this library and capabilities. |
| Note: | Only the first letter (if any) has to be specified. |
Example 1
SAY
rxImgVersion()
| Purpose: | Get general information |
| Output: | rxImgSize: version 1.03, GBM: version 1.12 |
Example 2
SAY
rxImgVersion(
'R'
)
| Purpose: | Get information about the rexx library |
| Output: | 1.03 |
| Parameter(s) | Return/Note |
| input_image | (Mandatory) |
| none | "Syntax: rc = rxImgReSize( Source_path_and_filename..." |
| "C:\nofile.xyz" | "2" |
| "C:\GMARBLE.BMP" | "179 179 8" A valid filename and no other parameters |
| output_image | (Optional) |
| none | Will use the input file for output e.g. overwrite it. |
| "C:\nofile.xyz" | "11" for unknown filetype etc. |
| "C:\OUT.BMP" | Will write the file if it's a valid image format |
| width | (Optional) |
| none | keep width (unless ASPECT in parameter options) |
| 120 | Resize image to 120 pixels wide |
| height | (Optional) |
| none | keep height (unless ASPECT in parameter options) |
| 120 | Resize image to 120 pixels high |
| options | (Optional) |
| none | - |
| "nearestneighbor" | Use the filter nearestneighbor during resize |
| "7x8x4" | See Palettes |
| "1bpp" | See also the parameter palette_file below |
| "ASPECT" | See Aspect |
| "ERRDIFF" | See Extra |
| "HALFTONE" | See Extra |
| palette_file | (Required only with option 1bpp, 4bpp & 8bpp) |
| "C:\PaletteFile.xyz" | - |
| Purpose: | Copy and/or resize image, reduce or increase colors of image |
| Note: | A return value of 0 indicate "no problem" while other integer |
| values indicate various problems depending on input | |
| Extra note: | Pay attention to the special case when you only provide the path |
| and file name to a valid image. The return value is then | |
| width height color_depth |
Example 1
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
)
| Purpose: | Get information about width, height and color depth of image |
| Output: | 179 179 8 |
Example 2
SAY
RxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE.GIF"
)
| Purpose: | Copy image and save the converted image as GIF |
| Output: | 0 |
Example 3
SAY
RxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE.GIF"
,
120
)
| Purpose: | Copy image, resize width to 120 pixels and keep height |
| Save the converted image as GIF | |
| Output: | 0 |
Example 4
SAY
RxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE.JPG"
,,
150
)
| Purpose: | Copy image, resize height to 150 pixels high and keep width |
| Save the converted image as JPG | |
| Output: | 0 |
Example 5
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE.PNG"
,,
200
,
"ASPECT"
)
| Purpose: | Copy image, resize to 200 pixels high but keep aspect ratio between width and height |
| Save the converted image as PNG | |
| Output: | 0 |
Example 6
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE2.GIF"
,
80
,,
"GAUSSIAN 6x6x6 ERRDIFF"
)
| Purpose: | Copy image, resize width to 80 pixels wide but keep height |
| Use Gaussian filter during quality scale, reduce the colors with | |
| palette 6x6x6 and error diffusion and save the converted image as GIF | |
| Output: | 0 |
Example 7
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE2.BMP"
,
350
,,
"ASPECT 256"
)
| Purpose: | Copy image, resize width to 350 pixels wide and keep aspect ratio between width and height |
| Reduce colors to maxium of 256 colors and save the converted image as BMP | |
| Output: | 0 |
Example 8
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE2.PNG"
,,
500
,
"HALFTONE KAISER
RGB"
)
| Purpose: | Copy image, resize width to 500 pixels and keep height |
| Use Kaiser filter during halftone quality scale and save the converted image as PNG | |
| Output: | 0 |
Example 9
SAY
rxImgReSize(
"C:\OS2\BITMAP\GMARBLE.BMP"
,
"C:\GMARBLE3.BMP"
,,
250
,
"4bpp"
,
"C:\Palfile.xyz"
)
| Purpose: | Copy image, resize height to 250 pixels and keep width |
| Reduce colors to 4 bit (16 colors) with the use of a palette file and save the converted image as BMP | |
| Output: | 0 |
| Parameter(s) | Return/Note |
| window_name | (Mandatory) |
| none | "22" |
| "DESKTOP" | "0" |
| "Editor" | Will capture a window with the title name "Editor" or |
| if none with just that name a window that contain the text "Editor" in the title | |
| "INTERIOR" | (Optional) |
| "INTERIOR" | Will capture the interior of the window instead of the full frame |
| "WINDOW" | Will capture the whole size of the window (default) |
| left_coordinate | (Optional) |
| none | start 0 pixels in of specified window |
| 10l | start 10 pixles from left of specified window |
| 10x | start 10 pixels from left of specified window |
| 10% | start 10% in from the left of specified window (parameter position is important) |
| bottom_coordinate | (Optional) |
| none | start 0 pixels in of specified window |
| 12b | start 12 pixles from bottom of specified window |
| 12x | start 12 pixels from bottom of specified window |
| 12% | start 12% in from the bottom of specified window (parameter position is important) |
| right_coordinate | (Optional) |
| none | start 0 pixels in of specified window |
| 14r | start 14 pixles from right of specified window |
| 14w | 14 pixels wide image |
| 14% | 14% wide image of specified window (parameter position is important) |
| top_coordinate | (Optional) |
| none | start 0 pixels in of specified window |
| 16t | start 16 pixles from top of specified window |
| 16h | 16 pixels high image |
| 16% | 16% high image of specified window (parameter position is important) |
| save_as_path_filename | (Optional) |
| none | defaults to "temporary.bmp" in the current directory |
| "C:\Captured.PNG" | Saves the captured image as Captured.PNG in C: |
| Purpose: | Capture whole or part of the screen and save as image |
| Note: | This function is very "dynamic" and only the first and last parameter has fixed positions. |
Example 1
SAY
rxImgCapture(
"DESKTOP"
)
| Purpose: | Capture the whole desktop and save as "temporary.bmp" in the current folder |
| Output: | 0 |
Example 2
SAY
rxImgCapture(
"DESKTOP"
,
"100b"
,
"50x"
,
"50%"
,
"C:\Capture1.bmp"
)
| Purpose: | Capture parts of the desktop and mix values, save to "C:\Capture1.bmp" |
| Output: | 0 |
Example 3
SAY
rxImgCapture(
"Firefox"
,
"interior"
,
"150t"
,
"C:\Firefox.png"
)
| Purpose: | Capture interior of window that contain the name Firefox, |
| avoid the toolbar buttons at the top and save to "C:\Firefox.png" | |
| Output: | 0 |


Home
For Sale
For Rent
Requests
Contact Us
Register/Sign In
Welcome to Nigeria Property Link
An innovative real estate website that links you with all your needs
Footer
footer


import React from "react";
/**
* The first page we see for now -- soon to be Meet page. Takes no
* parameters (yet).
*
* @returns {HTML} Meet page, soon to include Profile page
*
* @class
*/
const Meet = (props) => (

Meet {console.log(props)}

);
export default Meet;


_Warning! Deletion of a project is permanent action!_
Deleting a project will have the following consequences:
- Access to this project's samples will be removed for all users of this project.
- Samples which have been copied to other projects will not be affected. They will still be available in their other projects.
- Reference files associated with this project will no longer be accessable.
- Associated projects will no longer have access to this project's samples.
- Analyses shared with this project will no longer be shared with this project's users. Submitted analyses will still be avilable to the submitting users in their analysis list
- Information about NCBI submissions from this project will no longer be accessable. Data which has been uploaded to NCBI will still be available on NCBI's sites.


beginner
Optics are essentially abstractions to update immutable data structures in an elegant way.
A Lens
(aka functional reference) is an optic that can focus into a structure and get
, modify
or set
its focus (target). They’re mostly used for product types
such as a data class
or a TupleN
.
Lenses can be seen as a pair of functions, a getter and a setter. A Lens<S, A>
represents a getter: get: (S) -> A
and setter: (A) -> (S) -> S
where S
is called the source of the Lens
and A
is called the focus or target of the Lens
.
Given a simple structure Player
we can create a Lens<Player, Int>
to get, set or modify its value.
import arrow.optics.*
data class Player(val health: Int)
val playerLens: Lens<Player, Int> = Lens(
get = { player -> player.health },
set = { player, value -> player.copy(health = value) }
)
val player = Player(70)
playerLens.get(player)
// 70
playerLens.set(player, 100)
// Player(health=100)
playerLens.modify(player) { it - 20 }
// Player(health=50)
We can also lift
above function (Int) -> Int
to (Player) -> Player
val lift: (Player) -> Player = playerLens.lift { it + 10 }
lift(player)
// Player(health=80)
We can also modify
and lift
the focus of a Lens
using a Functor
import arrow.*
import arrow.core.*
import arrow.core.extensions.option.functor.*
playerLens.modifyF(Option.functor(), player) { it.some() }.fix()
// Some(Player(health=70))
val liftF: (Player) -> OptionOf<Player> = playerLens.liftF(Option.functor()) { (it + 1).some() }
liftF(player)
// Some(Player(health=71))
There are also some convenience methods to make working with Reader easier.
import arrow.data.*
val reader: Reader<Player, Int> = playerLens.ask()
reader
.map(Int::inc)
.runId(Player(50))
// 51
playerLens.asks(Int::inc)
.runId(Player(50))
// 51
There are also some convenience methods to make working with State easier. This can make working with nested structures in stateful computations significantly more elegant.
import arrow.data.*
val inspectHealth = playerLens.extract()
inspectHealth.run(player)
// Tuple2(a=Player(health=70), b=70)
val takeDamage = playerLens.update { it - 15 }
takeDamage.run(player)
// Tuple2(a=Player(health=55), b=55)
val restoreHealth = playerLens.assign(100)
restoreHealth.run(player)
// Tuple2(a=Player(health=100), b=100)
By composing lenses we can create a telescope that allows us to focus in on nested structures.
At first sight a Lens
does not seem very useful as it is just a getter/setter with some convenience methods. But lenses solve a couple of problems such as the composition of getters and setters. By default getters and setters do not compose and dealing with nested structures can be cumbersome.
Let’s examine following example. We have an Employee
and he works for a certain Company
located at a certain Address
in a Street
. And as a business requirement we have to capitalize Street::name
in order to print nicer business cards.
data class Street(val number: Int, val name: String)
data class Address(val city: String, val street: Street)
data class Company(val name: String, val address: Address)
data class Employee(val name: String, val company: Company)
val employee = Employee("John Doe", Company("Arrow", Address("Functional city", Street(23, "lambda street"))))
employee
// Employee(name=John Doe, company=Company(name=Arrow, address=Address(city=Functional city, street=Street(number=23, name=lambda street))))
Without lenses we could use the copy
method provided on a data class
for dealing with immutable structures.
employee.copy(
company = employee.company.copy(
address = employee.company.address.copy(
street = employee.company.address.street.copy(
name = employee.company.address.street.name.capitalize()
)
)
)
)
// Employee(name=John Doe, company=Company(name=Arrow, address=Address(city=Functional city, street=Street(number=23, name=Lambda street))))
As we can immediately see this is hard to read, does not scale very well and it draws attention away from the simple operation we wanted to do name.capitalize()
What we actually wanted to do here is the following: focus into employee’s company and then
focus into the company’s address and then
focus into the address street and finally modify the street name by capitalizing it.
val employeeCompany: Lens<Employee, Company> = Lens(
get = { it.company },
set = { employee, company -> employee.copy(company = company) }
)
val companyAddress: Lens<Company, Address> = Lens(
get = { it.address },
set = { company, address -> company.copy(address = address) }
)
val addressStrees: Lens<Address, Street> = Lens(
get = { it.street },
set = { address, street -> address.copy(street = street) }
)
val streetName: Lens<Street, String> = Lens(
get = { it.name },
set = { street, name -> street.copy(name = name) }
)
val employeeStreetName: Lens<Employee, String> = employeeCompany compose companyAddress compose addressStrees compose streetName
employeeStreetName.modify(employee, String::capitalize)
Don’t worry about the boilerplate of the lenses written above because it can be generated by Arrow so we’ve essentially replaced our original snippet with the last two lines.
Lens
can be composed with all optics and result in the following optics.
| Iso | Lens | Prism | Optional | Getter | Setter | Fold | Traversal | |
|---|---|---|---|---|---|---|---|---|
| Lens | Lens | Lens | Optional | Optional | Getter | Setter | Fold | Traversal |
Lenses can be generated for a data class
by the @optics
annotation. For every constructor parameter of the data class
a Lens
will be generated.
The lenses will be generated as extension properties on the companion object val T.Companion.paramName
.
@optics data class Account(val balance: Int, val available: Int) {
companion object
}
For Account
2 lenses will be generated val Account.Companion.balance: Lens<Account, Int>
and val Account.Companion.available: Lens<Account, Int>
.
val balanceLens: Lens<Account, Int> = Account.balance
When dealing with polymorphic product types we can also have polymorphic lenses that allow us to morph the type of the focus (and as a result the constructed type) of our PLens
. Following method is also available as pFirstTuple2<A, B, R>()
in the arrow.optics
package.
fun <A, B, R> tuple2(): PLens<Tuple2<A, B>, Tuple2<R, B>, A, R> = PLens(
{ it.a },
{ ab, r -> r toT ab.b }
)
pFirstTuple2<Int, String, String>().set(5 toT "World", "Hello, ")
//Tuple2(a=Hello, , b=World)
Arrow provides LensLaws
in the form of test cases for internal verification of lawful instances and third party apps creating their own lenses.


Displays all 2010 Land cover data and then allows filtering on classes
Displays all 2010 Land cover data and then show stats on filtered classes
Displayes Stats Clipped for States
Displays how a group of land cover classes changed over two year pairs


Ocamlyacc takes as input a context-free grammar specification and produces a Ocaml-language function that recognizes correct instances of the grammar. The Ocamlyacc grammar input file conventionally has a name ending in .yml. See Invoking Ocamlyacc.
A Ocamlyacc grammar file has four main sections, shown here with the appropriate delimiters:
%{ Header - Ocaml declarations (Ocaml code) %} Ocamlyacc declarations %% Grammar rules %% Trailer - Additional Ocaml code (Ocaml code)
By default, comments are enclosed between /* and */ (as in C) except in Ocaml code. So use /* and */ in the declarations and rules sections, (* and *) in header and trailer sections.
The header section contains declarations of functions and variables that are used in the actions in the grammar rules. These are copied to the beginning of the parser file so that they precede the definition of the parser function. You can open the other module in this area. If you don't need any Ocaml declarations, you may omit the %{ and %} delimiters that bracket this section.
The ocamlyacc declarations section contains declarations that define terminal and nonterminal symbols, specify precedence, and so on. At least, there must be one %start and the corresponding %type directives. See Ocamlyacc declarations.
The grammar rules section contains one or more Ocamlyacc grammar rules, and nothing else. See Syntax of Grammar Rules.
There must always be at least one grammar rule, and the first %% (which precedes the grammar rules) may never be omitted even if it is the first thing in the file.
The trailer section is copied verbatim to the end of the parser file, just as the header section is copied to the beginning. This is the most convenient place to put anything that you want to have in the parser file but which need not come before the definition of the parse function. See Parser Interface.
If the last section is empty, you may omit the %% that separates it from the grammar rules.


Hello! I’m Sam Stephenson, a San Francisco based product designer hailing from the UK. Previously an Experience Design intern at NewDealDesign.
I'm currently looking for a home in a design team in SF. I have a work visa valid until August 2017 and I'd love to come make stuff with you! Get in touch and I'll gladly meet for a chat.
The following projects are strictly confidential and should not be shared publicly.


Content Extension
This extension is used to pass content to the tool consumer from the tool provider.
Introduction
This is a light-weight LTI extension that allows a provider to pass
content
to the consumer. When a consumer launches with this extension it passes the
ext_content_return_types
key with a list of supported
types for this launch. The provider will then attach the selected content
to the launch_presentation_return_url
and send the
browser
back to that url.
Launch Parameters
| Name | Required | Description |
|---|---|---|
| ext_content_return_types | yes |
Presence of this key indicates that the consumer is capable of using the content extension.
The value should be a comma separated list of: url , image_url ,
lti_launch_url , iframe , oembed ,
file , or values agreed upon between consumer and provider.
|
| ext_content_intended_use | no | A hint to the provider for how the content will be used. One of navigation , homework , embed , or a value agreed upon by consumer and provider. |
| ext_content_return_url | no | The url that the provider should redirect the user to with the selected content as query parameters. If not specified the launch_presentation_return_url should be used. |
| ext_content_file_extensions | no | A comma separated list of the file extensions that are allowed if there is a file return type. |
Tool Provider Response
The provider should present the user with a UI for selecting content.
Once the user has selected the content the provider should redirect the user back
to the ext_content_return_url
, or if it wasn't sent, to
launch_presentation_return_url
.
The information for the selected content should be added to query parameters
on the return url. The return_type
key should specify the
type, and the other key/value pairs should be sent as specified in their
sections below.
url
Return a url. If the intended use is embed
the url will likely
be used as an href
. If the intended use is something else the extra
link info may be discarded.
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of url
|
| url | yes | The url. Likely used as the 'href' attribute of the inserted link |
| text | no | this is the suggested text for the inserted link. If the user has already selected some content before opening this dialog, the link will wrap that content and this value may be ignored |
| title | no | this is used as the 'title' attribute of the inserted link |
| target | no | this is used as the 'target' attribute of the inserted link |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://example.com/done?return_type=url&url=https%3A%2F%2Fothersite.com%2link&
- http://example.com/done?return_type=url&url=https%3A%2F%2Fothersite.com%2link&text=text%20for%20link
file
Return a url to a file which the consumer will download.
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of file |
| url | yes | this is a URL to the file that can be retrieved without requiring any additional authentication (no sessions, cookies, etc.) |
| text | yes | the filename |
| content_type | no | content or MIME type of the file to be retrieved |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://example.com/done?return_type=url&url=https%3A%2F%2Fothersite.com%2file.pdf&text=file.pdf
image_url
Used to return a url to an image. It is generally implied the image will be placed with an img tag in the consumer.
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of image_url |
| url | yes | this is used as the 'src' attribute of the embedded image tag |
| text | no | this is used as the 'alt' attribute of the embedded image tag |
| width | no | this is used as the 'width' style of the embedded image tag |
| height | no | this is used as the 'height' style of the embedded image tag |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://example.com/done?return_type=image_url&url=https%3A%2F%2Fothersite.com%2Fimage.gif&alt=good+picture&width=30&height=50
- http://example.com/done?return_type=image_url&url=https%3A%2F%2Fothersite.com%2Fimage2.gif&alt=&width=300&height=500
iframe
Return info to embed an iframe.
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of iframe |
| url | yes | this is used as the 'src' attribute of the embedded iframe |
| title | no | this is used as the 'title' attribute of the embedded iframe |
| width | no | this is used as the 'width' style of the embedded iframe |
| height | no | this is used as the 'height' style of the embedded iframe |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://example.com/done?return_type=iframe&url=https%3A%2F%2Fothersite.com%2link
- http://example.com/done?return_type=iframe&url=https%3A%2F%2Fothersite.com%2link&title=great%20content
lti_launch_url
Return an LTI launch url.
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of lti_launch_url |
| url | yes | this is URL that will be used to load the external tool. Any custom parameters should be in the query string. |
| title | no | the title of the resource link or the 'title' attribute of the inserted external tool link |
| text | no | this is the suggested text for the inserted link. If the user has already selected some content before opening this dialog, the link will wrap that content and this value will be ignored. |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://example.com/done?return_type=lti_launch_url&url=https%3A%2F%2Fothersite.com%2lti_link
- http://example.com/done?return_type=lti_launch_url&url=https%3A%2F%2Fothersite.com%2Flti_link%3Fkey%3Dval%26key2%3Dval2
- http://example.com/done?return_type=lti_launch_url&url=https%3A%2F%2Fothersite.com%2lti_link&title=hey%20there
oembed
For other types of rich content (such as a video tag, a large block of text, etc.) we also support the oEmbed standard. oEmbed works by giving Canvas an additional URL that can be queried to retrieve the block of content to be embedded. See http://oembed.com for more details about how oEmbed works
| Name | Required | Description |
|---|---|---|
| return_type | yes | should have value of oembed |
| url | yes | this is the oEmbed resource URL |
| endpoint | no | this is the oEmbed API endpoint URL |
examples:
If the launch_presentation_return_url
were
http://example.com/done
, possible return URLs could include:
- http://www.example.com/done?return_type=oembed&endpoint=https%3A%2F%2Fothersite.com%2Foembed&url=https%3A%2F%2Fothersite.com%2Fresources%2Fimage1
- http://www.example.com/done?return_type=oembed&endpoint=http%3A%2F%2Fwww.flickr.com%2Fservices%2Foembed%2F&url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fbees%2F2341623661%2F


Rule 1: Be kind a courteous to others
Rule 2: Do not post anything inappropriate
Rule 3: Your ip address is logged with each post, and can be used to identify you (it will not be displayed publicly)
*Note that this is not to stop you from sending messages! Just from abusing the program :P*
Your ip is visible when you connect to a webpage anyway
Rule 4: I Reserve the right to clear the messages on the wall for any reason
I am later going to implement a way to add a username to display on the chat.


ESPN Analyst Lays Out Scenario Where The SEC Gets 3 Teams In The Playoff
by Matt LombardiThe College Football Playoff has only had two teams from one conference once – two years ago when Georgia and Alabama were both selected. One ESPN analyst – Peter Burns of the SEC Network – laid out a scenario where three teams from the SEC could go this year.
Burns believes that there are seven things that need to happen for Georgia, LSU and Alabama all to make it. It’s obviously possible, but very, very unlikely.
Oklahoma State would have to upset Oklahoma in Bedlam. The Sooners would then have to turn around and beat Baylor in the Big 12 title game.
Ohio State would have to lose to Michigan, and then lose again in the Big Ten title game to Wisconsin, which (in this scenario) beat Minnesota the week prior.
Georgia would have to beat LSU. Oregon would have to beat Utah.
In that scenario, the champions for the Pac-12, Big 12 and Big Ten would all have two losses. Clemson, assuming it won the ACC, would get in with three one-loss SEC teams.
Burns is right in saying that this would create a meltdown. You’d have an eight-team playoff very soon after something like this happening.
Again, this isn’t going to happen. But if it did, the college football world would collectively lose its mind.


WebRTC Desktop Viewer
HOME © Muaz Khan . @WebRTCWeb . Github . Latest issues . What's New?
If URL is having "sessionid" parameters, it means that a private unique room has been opened for you.
This page will be joining that unique room.
You can Install Chrome Extension! It will allow you share your own screens as well!


SUPER WEDNESDAY: KCCA visit Express FC
by Shafik SsenogaSix-time champions Express FC host the reigning Uganda Premier League champions KCCA FC at 4 pm at the Kabaka Kyabagu Stadium in Wakiso.
Express coach Ssimwogerere takes his players through drills ahead of the game. PHOTOS: Richard Sanya
Today represents one of the most important days of the Uganda Premier League season so far. Six-time champions Express FC host the reigning Uganda Premier League champions KCCA FC at 4 pm at the Kabaka Kyabagu Stadium in Wakiso.
The champions who are still recovering from the humiliating of 4-1 defeat to Algerian side Paradou AC in the CAF Confederations Cup return to action with the aim of defending their title.
KCCA head coach Mike Mutebi anticipates a tight game basing on the rich history between the clubs.
“KCCA FC against Express FC is a derby, and you know what happens in a derby.No one is bigger than the other. It is always the most well-organised team that takes the day,” Mutebi reasoned.
He said the return of three of his key players who missed the clash with Police clash was a big boost for his side.
“They were not missed because like I always say, every player at the club is good. Those who played did a good job, but Mustafa Kizza, John Revita and Muziramu Mutyaba are starters, so their return is a big boost in some way,” Mutebi said.
George Ssimwogerere, the Express FC coach will rely on the front three, Frank Kalanda, Frank Ssenyondo and Captain Disan Galiwango for goals.
Express is unbeaten in the last two premier league games.


Well, my cat has discovered that I keep a glass of water next to my computer at all times.
Guess it’s time to get a water bottle.


Zigbee adapter
system_update
wifi_tethering
leak_add
Devices
Groups
Network map
Binding
autorenew
menu
№
Name
add
add
Name
Значение
Groups
№
Name
Delete confirmation
A bunch of text
Pairing process
Map view config
Parent/Child/Unknown
Siblings
Previous Parents
Mesh
Device map info
Binding configuration
Source device
Source endpoint
Target device
Target endpoint
Unbind remote from Coorinator (necessary for some remotes like HUE Dimmer Switch)
Device information
Waiting


| OLD line(s): 42
<xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/IRS3468.xsd"/> | NEW line(s): 42,47
<!-- The XML version of the 3468 is being temporarily disabled. At this time the 3468 can only be accepted as a PDF at the return level --> <!--xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/IRS3468.xsd"/--> |
| OLD line(s): 51
| NEW line(s): 57
<xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS5452/IRS5452.xsd" /> |
| OLD line(s): 81
<xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS8860/IRS8860.xsd"/> | NEW line(s): 86
|
| OLD line(s): 239
| NEW line(s): 245,248
<!-- The XML version of the 3468 is being temporarily disabled. At this time the 3468 can only be accepted as a PDF at the return level --> |
| OLD line(s): 241,243
<xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/CertifiedHistoricStructuresSchedule.xsd"/> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/Pre1936BuildingsSchedule.xsd"/> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/Sect14812b2viiiAdjBasisOfBuildingStatement.xsd"/> | NEW line(s): 250,252
<!--xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/CertifiedHistoricStructuresSchedule.xsd"/--> <!--xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/Pre1936BuildingsSchedule.xsd"/--> <!--xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS3468/Sect14812b2viiiAdjBasisOfBuildingStatement.xsd"/--> |
| OLD line(s): 244
| NEW line(s): 254
|
| OLD line(s): 254
| NEW line(s): 265,270
<!-- Includes for 5452 (supporting info, schedules, computations, and such) --> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS5452/NoncashDistributionsTaxBasisAndFMVSchedule.xsd" /> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS5452/ParentOfConsolidatingGroupSupportingInfoAttachment.xsd" /> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS5452/ExplnOfNondividendDistriForPartlOrCompLiquidationOfCorpStmt.xsd" /> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS5452/SupportingInformationAttachment.xsd" /> |
| OLD line(s): 354,356
<!-- Includes for 8860 (supporting info, schedules, computations, and such) --> <xsd:include schemaLocation="../../CorporateIncomeTax/Common/IRS8860/QZABCreditForShareholdersOfSCorpSchedule.xsd"/> | NEW line(s): 369
|
| OLD line(s): 624
| NEW line(s): 638,640
<!-- The XML version of the 3468 is being temporarily disabled. At this time the 3468 can only be accepted as a PDF at the return level --> |
| OLD line(s): 626
<xsd:element ref="IRS3468" minOccurs="0" maxOccurs="unbounded"> | NEW line(s): 642
<!--xsd:element ref="IRS3468" minOccurs="0" maxOccurs="unbounded"> |
| OLD line(s): 630
</xsd:element> | NEW line(s): 646
</xsd:element--> |
| OLD line(s): 631
| NEW line(s): 648
|
| OLD line(s): 666
| NEW line(s): 684,690
<!-- Form 5452 --> <xsd:element ref="IRS5452" minOccurs="0" maxOccurs="9999"> <xsd:annotation> <xsd:documentation>IRS Form 5452 - Corporate Report of Nondividend Distributions</xsd:documentation> </xsd:annotation> </xsd:element> |
| OLD line(s): 898,904
<!-- Form 8860 --> <xsd:element ref="IRS8860" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>IRS Form 8860 - Qualified Zone Academy Bond Credit</xsd:documentation> </xsd:annotation> </xsd:element> | NEW line(s): 921
|
| OLD line(s): 1688
| NEW line(s): 1706,1709
<!-- The XML version of the 3468 is being temporarily disabled. At this time the 3468 can only be accepted as a PDF at the return level --> |
| OLD line(s): 1690
<xsd:element ref="CertifiedHistoricStructuresSch" minOccurs="0" maxOccurs="unbounded"> | NEW line(s): 1711
<!--xsd:element ref="CertifiedHistoricStructuresSch" minOccurs="0" maxOccurs="unbounded"> |
| OLD line(s): 1694
</xsd:element> | NEW line(s): 1715
</xsd:element--> |
| OLD line(s): 1697
<xsd:element ref="Pre1936BuildingsSchedule" minOccurs="0" maxOccurs="unbounded"> | NEW line(s): 1718
<!--xsd:element ref="Pre1936BuildingsSchedule" minOccurs="0" maxOccurs="unbounded"> |
| OLD line(s): 1701
</xsd:element> | NEW line(s): 1722
</xsd:element--> |
| OLD line(s): 1704
<xsd:element ref="Sect14812b2viiiAdjBssBldgStmt" minOccurs="0" maxOccurs="unbounded"> | NEW line(s): 1725
<!--xsd:element ref="Sect14812b2viiiAdjBssBldgStmt" minOccurs="0" maxOccurs="unbounded"> |
| OLD line(s): 1708
</xsd:element> | NEW line(s): 1729
</xsd:element--> |
| OLD line(s): 1765
| NEW line(s): 1787,1814
<!-- Form 5452 schedule --> <xsd:element ref="NoncashDistriTaxBasisAndFMVSch" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Noncash Distributions Tax Basis and Fair Market Value Schedule</xsd:documentation> </xsd:annotation> </xsd:element> <!-- Form 5452 attachment --> <xsd:element ref="ParentSupportingInfoAttachment" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Parent of Consolidating Group Supporting Information Attachment</xsd:documentation> </xsd:annotation> </xsd:element> <!-- Form 5452 statement --> <xsd:element ref="ExplnNondivDistriCorpLiqStmt" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Explanation of Nondividend Distribution for Partial or Complete Liquidation of Corporation Statement</xsd:documentation> </xsd:annotation> </xsd:element> <!-- Form 5452 attachment --> <xsd:element ref="SupportingInfoAttachment" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Supporting Information Attachment</xsd:documentation> </xsd:annotation> </xsd:element> |
| OLD line(s): 2234,2240
<!-- Form 8860 schedule --> <xsd:element ref="QZABCreditShareholdersSCorpSch" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>QZAB Credit for Shareholders of S Corporation Schedule</xsd:documentation> </xsd:annotation> </xsd:element> | NEW line(s): 2282
|


Rocket League drops loot boxes in early December
by Steve WrightBlueprints and Credits will take the place of Loot Boxes and Keys.
Rocket League will remove loot boxes and keys in early December, developer Psyonix has advised.
From 4 December, the items will be removed, replaced with Blueprints and Credits instead. Keys in your inventory on the day of swapover will be converted into 100 Credits. They can be used to purchase in-game items from the Item Shop or can be converted to Rocket Pass Premium. Credits can also be used to build items from Blueprints.
For more on Blueprints, head here. For more on the Item Shop, head here. What do you make of the upcoming changes?
Rocket League is available now on Windows PC, Xbox One, PS4 and Switch.


A Prodigious Blastoff October Sky
By Ross Anthony
Across a starry October sky in 1957 a single object shined like a shooting star in slow motion over the little town of Coalwood, West Virginia. This spark, the Soviet satellite Sputnik, ignited the wick-like gaze of one miner's son, Homer (Gyllenhaal); lighting in him a burning desire to become a rocket scientist. The rest of the mining community had spent much too much time underground, "Maybe it's a missile," one older gentleman figur's. The reply, "Naw, droppin' one on this place, just be a waste of a bomb." The younger generation was no more open-minded, "Let 'em have outer space -- we got rock and roll!"
No passion for coal mining digging inside him, and a push over on the football field, Homer had finally found something to shoot for, "I'mma build rockets." Unfortunately, Homer's "John Wayne" father (Cooper) had no idea how to respect a son who couldn't mine or stop a running back. This is the major conflict. Will the adolescent son be strong enough to sell his lofty dreams to a father who only dreams of coal?
The plot follows the usual formula, so that were it a rocket, one could predict within a matter of feet where it would land. But don't let that stop you from coming' out to view "October Sky". The acting is strong, the direction tight, the music and cinematography dramatic. It's a solid engaging film.
Starring Jake GyllenHaal and Chris Cooper. Directed by Joe Johnston. Produced by: Charles Gordon and Larry Franco at Universal/Charles Gordon Rated PG.
Grade..........................B+
-- Copyright © 1999 Ross Anthony, currently based in Los Angeles, has scripted and shot documentaries, music videos, and shorts in 35 countries across North America, Europe, Africa and Asia. For more reviews visit: http://RossAnthony.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


This person's name
This is where the bio information goes
Public Repositories
some number
Followers
different number
GitHub Stars
some other number
Following
yet another number


Butterfly Classifier
Predict Video Video: ... with a
confidence of ...
Predict Image Image: ... with a
confidence of ...
Preview
Status: Loading Model...
Train Data
Troides helenaVideo | Image
Batch | 0 examples | Confidence: 0
Pachliopta aristolochiaeVideo | Image Batch | 0 examples | Confidence: 0
Atrophaneura coonVideo | Image Batch | 0
examples | Confidence: 0
Pathysa antiphatesVideo | Image Batch | 0
examples | Confidence: 0
Papilio memnonVideo | Image
Batch | 0 examples | Confidence: 0
Papilio nephelusVideo | Image
Batch | 0 examples | Confidence: 0
Papilio demoleusVideo | Image
Batch | 0 examples | Confidence: 0
Papilio demolionVideo | Image
Batch | 0 examples | Confidence: 0
Papilio peranthusVideo | Image Batch | 0
examples | Confidence: 0
Papilio polytesVideo | Image
Batch | 0 examples | Confidence: 0
Papilio iswaraVideo | Image
Batch | 0 examples | Confidence: 0
Papilio helenusVideo | Image
Batch | 0 examples | Confidence: 0
Graphium agamemnonVideo | Image Batch | 0
examples | Confidence: 0
Graphium dosonVideo | Image
Batch | 0 examples | Confidence: 0
Graphium sarpedonVideo | Image Batch | 0
examples | Confidence: 0
Meandrusa payeniVideo | Image
Batch | 0 examples | Confidence: 0
Training Data Preview
Train file(s) Clear image train
preview
Load Dataset | If this dataset doesn't work well for you, you could train your own classifier, and use the 'Save Dataset' button below to create your own ButterflyKNNDataset.json file, and replace the ButterflyKNNDataset.json in this folder.'
Save Dataset
Clear all classes


Report a Problem
Please copy and paste the information below into an email to<EMAIL_ADDRESS>and then fill in the blanks.
Test device:
Operating System:
Browser:
Problem description:
Steps to reproduce:
Severity:
Screenshots:
Troubleshooting information (do not edit):


WITNESS LIST State Affairs Committee May 16, 1997-1:00P SB 965 Registering, but not testifying: On: Brook Brown (Tx Telephone Assn) Ginny McKay (Tx Comptroller, TPR) Henry Flores (Tx Telephone Assn) SB 965Committee Substitute (Stiles) Against: Jim Marston (Environ. Defense Fund) On: Judy Walsh (Public Utility Comm.) Monte Akers (Tx Municipal League) Pat Wood (Public Utility Comm.) SB 965Committee Substitute (Wolens) For: Curtis Seidlits (AECT) Against: Beverly Riedhart (Self) Carol Biedrzycki (Tx ROSE) David Grubbs (SE Tx Electric Co-op) Don Clift (Texas Farm Inc.) Edward Mader (Randall's Food Markets) Janee Briesemeister (Consumers Union) Jay Doegey (City of Arlington) Jim Marston (Environ. Defense Fund) Kurt Johnson (Fayette Elect. Co-op.) Mack Turner (Ferndale Fishing Club) Michael Banta (Texas Retailers Assn.) Mickey Moore (Texas Retailers Assn.) Mike Williams (Tx Electrc Cooperatives) Peter Altman (SEED Coalition) Robert Reilley (Enron Corp.) Robert Webb (Gulf Coast Power Conct.) Roy Baker (AARP) Steven Kean (Enron Corp.) Tom "Smitty" Smith (Public Citizen) Tony Williams (Tx Cotton Ginners' Assn) On: Judy Walsh (Public Utility Comm.) Pat Wood (Public Utility Comm.) Registering, but not testifying: For: Alan Holman (FAIR) Andrew Wise (American Electronics) Arthur von Rosenberg (Self) Chris Newton (Tx Petroleum Mkts.) Dan Hinkle (British Petroleum) Dan Shelley (Coal Tx Forest Products) Dana Chiodo (Am. Electronics Assn) David Mintz (Tx Apartment Assn) David Pinkus (Sm Business United) Eileen Campbell (Marathon Oil Co) Floyd Bowen (Exxon) Glenn Dagian (Amoco Corp) Harold Reagan (ALCOA) Howard Richards (Destec Energy) J. Neal Miller, Jr. (Chevron) Jack Wiltielm (Mobile Oil) Julie Moore (Occidental Chemical) Ken Rigsbee (Phillips Petroleum) Mark Shilling (Tx Chemical Council) Mark Zion (Tx Public Power) Marta Greytok (U.S. Generating) Marty Allday (The Coastal Corp) Michael Stewart (Self) R.L. Looney (Tx Mid-Continent Oil) Robert Howden (Nat Fed Ind Business) Robert Kamm (Tx Assn Bus. & Chambers) Steve Bresnen (Tx Coal Competitive Pow) Steve Perry (Altura Energy) Steve Schaeffer (Houston Industries) Thoman Hagan (Self) Tom Sellers (Self) Against: Bill Clayton (Self) Burl Buchanan (City of Spearman) Robert King (Nat'l Assn Eng. Serv.Co) Sandra Haverlah (Tx Citizen Action) On: Coyle Kelly (Ctr Energy Econ Dev)


Newly created content will be added to the bottom of the page. Use the arrows to the left to change the order of content.
{{ @item.description }}


|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A KeyedBuffer is a low level hybrid FIFO Queue and Keyed map Each MessageExchange implementation will create at least two KeyedBuffer's, one for messages being sent, and another for messages that have been received. KeyedBuffers differ from traditional FIFO Queues in that elements put in are keyed and can be taken out of order. Different implementations may allow for variations on how the KeyedBuffer model is implemented. For instance, the code will ship with a NonPersistentKeyedBuffer that will store all contained objects in memory. The fact that everything is stored in memory means that the buffer is not fault tolerant. If fault tolerance is required, then a Persistent KeyedBuffer must be created that persists the objects somehow.
| Method Summary | |
java.lang.Object |
cancel(java.lang.Object key)
Cancel a message that has been put on the channel. |
java.lang.Object |
get()
Select and remove the next object in the buffer (does not wait for a message to be put into the buffer) |
java.lang.Object |
get(java.lang.Object key)
Select and remove the specified object in the buffer (does not wait for a message to be put into the buffer) |
java.lang.Object |
peek()
Select, but do not remove the next message on the channel. |
java.lang.Object[] |
peekAll()
Select, but do not remove all messages on the channel. |
void |
put(java.lang.Object key,
java.lang.Object context)
Put a message onto the channel |
java.lang.Object |
select()
Select and remove the next message in the channel If a message is not available, wait indefinitely for one |
java.lang.Object |
select(long timeout)
Select and remove the next message in the channel If a message is not available, wait the specified amount of time for one |
java.lang.Object |
select(java.lang.Object key)
Select and remove a specific message in the channel If the message is not available, wait indefinitely for one to be available |
java.lang.Object |
select(java.lang.Object key,
long timeout)
Select and remove a specific message in the channel If the message is not available, wait the specified amount of time for one |
java.lang.Object[] |
selectAll()
Select and remove all of the messages currently in the channel (useful for bulk operations). |
| Method Detail |
public java.lang.Object peek()
public java.lang.Object[] peekAll()
public void put(java.lang.Object key, java.lang.Object context)
public java.lang.Object cancel(java.lang.Object key)
public java.lang.Object[] selectAll()
public java.lang.Object select() throws java.lang.InterruptedException
java.lang.InterruptedException
public java.lang.Object select(long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
public java.lang.Object select(java.lang.Object key) throws java.lang.InterruptedException
java.lang.InterruptedException
public java.lang.Object select(java.lang.Object key, long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
public java.lang.Object get()
public java.lang.Object get(java.lang.Object key)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


The Scoreboard below shows the scores of the top ten players - who have solved the most challenges the quickest.
Points are awarded as follows:
- 10 Points are awarded to the first person to solve a challenge.
- 5 Points are awarded to any user who reports a security vulnerbility in the website, see info.
- 2 Points are awarded to users who solve a challenge but are not the first to do so.
- 1 Point is awarded a user who created a challenge when it is solved for the first time.


Privacy Policy
Delicious Cookies
In accordance with the Adsense Terms of Service, we are required to let you know that all advertising programs use cookies to track visitors. This is true for pretty much every single site on the internet. In fact, most sites that allow you to login use a cookie to track the fact that you are logged in. If you are unhappy with this, feel free to disable cookies in your browser, although you won’t be able to login anywhere if you do that.
Email Privacy
We will never sell your email address to any third parties, ever. If we ever sell your email address to anybody, we agree that you can beat us with a large metal object. The object must be at least 4 feet long and weigh more than 20lbs.
More Privacy Stuff
Our advertisers require us to add this paragraph as well.
“We allow third-party companies to serve ads and/or collect certain anonymous information when you visit our web site. These companies may use non-personally identifiable information (e.g., click stream information, browser type, time and date, subject of advertisements clicked or scrolled over) during your visits to this and other Web sites in order to provide advertisements about goods and services likely to be of interest to you. These companies typically use a cookie or third party web beacon to collect this information. To learn more about this behavioral advertising practice or to opt-out of this type of advertising, you can visit networkadvertising.org.”


This function allows to retrieve a cycle accurate timer, used for measurement purpose.
It does not work without it.


Overview
Security Roles allow you to specify what Users are allowed to do.
The figure below shows how Security Roles interact with Resources in the User Manager and Company Tree APIs.
To learn more about Users, Security Roles and Permissions see {{UserManager_Concept}}.
{{note}} Changes within the Security Roles API involve complex actions behind the scenes and are not always immediate. {{end}}
Endpoints
- Sandbox: https://usermanagerdemo.iqmetrix.net/v1
- Production: https://usermanager.iqmetrix.net/v1
Resources
SecurityRole
A SecurityRole represents the relationship between a User and a set of Permissions. SecurityRoles allow you create custom groups that can hold Permissions
{
"Id": "316",
"Name": "Store Manager"
}
| Name | Description |
|---|---|
Id (Integer ) |
Identifier |
Name (String ) |
Name |
AssignedRole
An AssignedRole represents the relationship between a User, SecurityRole and Entity.
{
"Id": "6548",
"EntityId": "14202",
"SecurityRoleId": "316",
"UserId": "2576"
}
| Name | Description |
|---|---|
Id (Integer ) |
Identifier |
EntityId (Integer ) |
Identifier of a CompanyTreeNode |
SecurityRoleId (Integer ) |
Identifier of a SecurityRole |
UserId (Integer ) |
Identifier of a User |
Permission
Permissions are the building blocks of SecurityRoles and represent the ability to perform an action within iQmetrix APIs.
- Assigning a Permission to a Security Role always grants an action
- A Permission will never overrule another Permission
- When
IsAssignable
is set tofalse
, the Permission is Restricted by iQmetrix. If you require access to a Restricted Permission, contact {{contact_support}}
{
"Id": "101",
"Name": "Edit Products",
"Category": "Products",
"Code": "editproducts",
"Description": "Enables the user to create, update and archive their private products and retailer revisions.",
"IsAssignable": "true",
"ParentPermissionId": "99"
}
| Name | Description |
|---|---|
Id (Integer ) |
Identifier |
Name (String ) |
Descriptive name |
Category (String ) |
This field is used internally to group Permissions by how they impact the iQmetrix ecosystem |
Code (String ) |
Unique, system generated name used for sorting Permissions |
Description (String ) |
Describes the function of the Permission |
IsAssignable (Boolean ) |
A flag to indicate if this Permission is Restricted, see Notes above |
ParentPermissionId (Integer ) |
Identifier of a similar Permission, used for organizing Permissions into groups |
Requests
GET All Permissions for an Entity
This request will return all Permissions within the SecurityRoles belonging to the specified Entity.
Definition
GET /Entities({EntityId})/Permissions
Example Request
GET /Entities(14146)/Permissions
Authorization: Bearer (Access Token)
Accept: application/json
curl -X GET "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/Permissions" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json"
static IRestResponse GettingAllPermissionsForAnEntity()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/Permissions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse GettingAllPermissionsForAnEntity() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpGet request = new HttpGet("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/Permissions");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.get 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/Permissions', {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNode
Response Parameters
Example Response
HTTP 200 Content-Type: application/json
[
{
"Id": 101,
"Name": "Edit Products",
"Category": "Products",
"Code": "editproducts",
"Description": "Enables the user to create, update and archive their private products and retailer revisions.",
"IsAssignable": true,
"ParentPermissionId": 99
}
]
Array[permission]
POST a Security Role
Definition
POST /Entities({EntityId})/SecurityRoles
Example Request
POST /Entities(14146)/SecurityRoles
Authorization: Bearer (Access Token)
Accept: application/json
Content-Type: application/json
curl -X POST "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json" -H "Content-Type: application/json" -d '{
"Name": "Store Manager"
}'
static IRestResponse CreatingASecurityRole()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\"Name\":\"Store Manager\"}", ParameterType.RequestBody);
return client.Execute(request);
}
import org.apache.http.entity.StringEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse CreatingASecurityRole() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpPost request = new HttpPost("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
request.addHeader("Content-Type", "application/json");
StringEntity body = new StringEntity("{\"Name\":\"Store Manager\"}");
request.setEntity(body);
return httpClient.execute(request);
}
require 'rest-client'
body = "{\"Name\":\"Store Manager\"}";
response = RestClient.post 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles', body, {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
:'Content-Type' => 'application/json',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNode
Request Parameters
Name
(Required) - A descriptive name, must be unique within the Company
Response Parameters
Example Response
HTTP 201 Content-Type: application/json
{
"Id": 316,
"Name": "Store Manager"
}
GET All Security Roles for an Entity
Definition
GET /Entities({EntityId})/SecurityRoles
Example Request
GET /Entities(14146)/SecurityRoles
Authorization: Bearer (Access Token)
Accept: application/json
curl -X GET "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json"
static IRestResponse GettingAllSecurityRolesForAnEntity()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse GettingAllSecurityRolesForAnEntity() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpGet request = new HttpGet("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.get 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles', {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNode
Response Parameters
Example Response
HTTP 200 Content-Type: application/json
[
{
"Id": 316,
"Name": "Store Manager"
}
]
Array[securityrole]
Enabling a Permission for a Security Role
Definition
PUT /Entities({EntityId})/SecurityRoles({SecurityRoleId})/Permissions({PermissionId})
Example Request
PUT /Entities(14146)/SecurityRoles(316)/Permissions(101)
Authorization: Bearer (Access Token)
Accept: application/json
Content-Type: application/json
curl -X PUT "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json" -H "Content-Type: application/json"
static IRestResponse EnablingAPermissionForASecurityRole()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
request.AddHeader("Content-Type", "application/json");
return client.Execute(request);
}
import org.apache.http.entity.StringEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse EnablingAPermissionForASecurityRole() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpPut request = new HttpPut("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
request.addHeader("Content-Type", "application/json");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.put 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)', body, {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
:'Content-Type' => 'application/json',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNodeSecurityRoleId
(Required) - Identifier of a SecurityRolePermissionId
(Required) - Identifier of a Permission
Response Parameters
Example Response
HTTP 204 Content-Type: application/json
Disabling a Permission for a Security Role
Definition
DELETE /Entities({EntityId})/SecurityRoles({SecurityRoleId})/Permissions({PermissionId})
Example Request
DELETE /Entities(14146)/SecurityRoles(316)/Permissions(101)
Authorization: Bearer (Access Token)
curl -X DELETE "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)" -H "Authorization: Bearer (Access Token)"
static IRestResponse DisablingAPermissionForASecurityRole()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)");
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer (Access Token)");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse DisablingAPermissionForASecurityRole() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpDelete request = new HttpDelete("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)");
request.addHeader("Authorization", "Bearer (Access Token)");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.delete 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions(101)', {
:'Authorization' => 'Bearer (Access Token)',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNodeSecurityRoleId
(Required) - Identifier of a SecurityRolePermissionId
(Required) - Identifier of a Permission
Response Parameters
Example Response
HTTP 204 Content-Type: application/json
GET Permissions for a Security Role
Definition
GET /Entities({EntityId})/SecurityRoles({SecurityRoleId})/Permissions
Example Request
GET /Entities(14146)/SecurityRoles(316)/Permissions
Authorization: Bearer (Access Token)
Accept: application/json
curl -X GET "https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json"
static IRestResponse GettingPermissionsForASecurityRole()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse GettingPermissionsForASecurityRole() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpGet request = new HttpGet("https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.get 'https://usermanagerdemo.iqmetrix.net/v1/Entities(14146)/SecurityRoles(316)/Permissions', {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
}
puts response
URI Parameters
EntityId
(Required) - Identifier of a CompanyTreeNodeSecurityRoleId
(Required) - Identifier of a SecurityRole
Response Parameters
Example Response
HTTP 200 Content-Type: application/json
[
{
"Id": 101,
"Name": "Edit Products",
"Category": "Products",
"Code": "editproducts",
"Description": "Enables the user to create, update and archive their private products and retailer revisions.",
"IsAssignable": true,
"ParentPermissionId": 99
}
]
Array[permission]
Assigning a Security Role to a User
If the User is assigned a SecurityRole they already have, the result will be a HTTP 200
with the AssignedRole, the same response as assigning a new SecurityRole to a User.
Definition
POST /Users({UserId})/AssignedRoles
Example Request
POST /Users(2576)/AssignedRoles
Authorization: Bearer (Access Token)
Accept: application/json
Content-Type: application/json
curl -X POST "https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json" -H "Content-Type: application/json" -d '{
"EntityId": 14202,
"SecurityRoleId": 316
}'
static IRestResponse AssigningASecurityRoleToAUser()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\"EntityId\":14202,\"SecurityRoleId\":316}", ParameterType.RequestBody);
return client.Execute(request);
}
import org.apache.http.entity.StringEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse AssigningASecurityRoleToAUser() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpPost request = new HttpPost("https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
request.addHeader("Content-Type", "application/json");
StringEntity body = new StringEntity("{\"EntityId\":14202,\"SecurityRoleId\":316}");
request.setEntity(body);
return httpClient.execute(request);
}
require 'rest-client'
body = "{\"EntityId\":14202,\"SecurityRoleId\":316}";
response = RestClient.post 'https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles', body, {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
:'Content-Type' => 'application/json',
}
puts response
URI Parameters
UserId
(Required) - Identifier of a User
Request Parameters
EntityId
(Required) - Identifier of a CompanyTreeNodeSecurityRoleId
(Required)
Response Parameters
Example Response
HTTP 201 Content-Type: application/json
{
"Id": 6548,
"EntityId": 14202,
"SecurityRoleId": 316,
"UserId": 2576
}
GET Assigned Roles for a User
Definition
GET /Users({UserId})/AssignedRoles
Example Request
GET /Users(2576)/AssignedRoles
Authorization: Bearer (Access Token)
Accept: application/json
curl -X GET "https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles" -H "Authorization: Bearer (Access Token)" -H "Accept: application/json"
static IRestResponse GettingAssignedRolesForAUser()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer (Access Token)");
request.AddHeader("Accept", "application/json");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse GettingAssignedRolesForAUser() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpGet request = new HttpGet("https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles");
request.addHeader("Authorization", "Bearer (Access Token)");
request.addHeader("Accept", "application/json");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.get 'https://usermanagerdemo.iqmetrix.net/v1/Users(2576)/AssignedRoles', {
:'Authorization' => 'Bearer (Access Token)',
:'Accept' => 'application/json',
}
puts response
URI Parameters
UserId
(Required) - Identifier of a User
Response Parameters
Example Response
HTTP 200 Content-Type: application/json
[
{
"Id": 6548,
"EntityId": 14202,
"SecurityRoleId": 316,
"UserId": 2576
}
]
Array[assignedrole]
Unassigning a Security Role from a User
Definition
DELETE /Users({UserId})/AssignedRoles({SecurityRoleId})
Example Request
DELETE /Users(2572)/AssignedRoles(316)
Authorization: Bearer (Access Token)
curl -X DELETE "https://usermanagerdemo.iqmetrix.net/v1/Users(2572)/AssignedRoles(316)" -H "Authorization: Bearer (Access Token)"
static IRestResponse UnassigningASecurityRoleFromAUser()
{
var client = new RestClient("https://usermanagerdemo.iqmetrix.net/v1/Users(2572)/AssignedRoles(316)");
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer (Access Token)");
return client.Execute(request);
}
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
public static CloseableHttpResponse UnassigningASecurityRoleFromAUser() throws IOException {
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpDelete request = new HttpDelete("https://usermanagerdemo.iqmetrix.net/v1/Users(2572)/AssignedRoles(316)");
request.addHeader("Authorization", "Bearer (Access Token)");
return httpClient.execute(request);
}
require 'rest-client'
response = RestClient.delete 'https://usermanagerdemo.iqmetrix.net/v1/Users(2572)/AssignedRoles(316)', {
:'Authorization' => 'Bearer (Access Token)',
}
puts response
URI Parameters
UserId
(Required) - Identifier of a UserSecurityRoleId
(Required) - Identifier of a SecurityRole
Response Parameters
Example Response
HTTP 204 Content-Type: application/json
Errors
| HTTP Status Code | Description | How to Resolve |
|---|---|---|
HTTP 400 |
The field {x} is a required field but was not found in the request |
Ensure all required parameters are included |
HTTP 400 |
Expected {x} to contain {y} but found {z} |
Ensure parameters that are in both Request URI and body match |
HTTP 404 |
{x} not found |
Ensure URI parameters are correct |
HTTP 409 |
The SecurityRole name {x} already exists for entity {y} |
SecurityRole names must be unique across the Company |


Latest
Projects
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006
Fully Desgined
- Project Owner - Mr. Mukesh Jain
- Project Type - Residential
- Project Area - 100 Yards
- Site Location - A-112, Ganesh Nagar, Sodala, Jaipur(Raj.),India - 302006


@* * Copyright 2019 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import config.AppConfig @import uk.gov.hmrc.play.views.html._ @import controllers.routes._ @import uk.gov.hmrc.wco.dec.ObligationGuarantee @(form:Form[_], guarantees: Seq[ObligationGuarantee])(implicit request: Request[_], messages: Messages,appConfig:AppConfig) @main_template( title = messages("obligationGuarantees.title"), bodyClasses = None, mainClass = Some("full-width")) { @helpers.form(action = ObligationGuaranteeController.submit()) { @components.back_link()
} }


--- layout: post status: publish published: true title: "(Not so) Live-Blogging from Cubs/Cardinals - 5/29/2010" author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 2723 wordpress_url: http://ivyenvy.com/?p=2723 date: '2010-05-30 10:51:19 +0000' date_gmt: '2010-05-30 15:51:19 +0000' categories: - The Cubs - Wrigley Field - Live Blogging - Cubs fans tags: - Bob Howry - Cardinals - Chicago - Kosuke Fukudome - Mike Fontenot - Pirates - Wrigley Field - Wasting Away in Wrigleyville - Quad Cities - Live Blogging - Cardinals Fans - Carlos Silva - Exile on Clark - Memorial Day - Planned Brotherhood - Lucky's - Wrigley Bleachers - Jeff Stevens - D'agostino's - Blackhawks comments: - id: 1339 author: Ace@BleacherNation author_email<EMAIL_ADDRESS>author_url: http://www.bleachernation.com date: '2010-05-31 18:56:14 +0000' date_gmt: '2010-05-31 23:56:14 +0000' content: It's nice to read about a game the Cubs actually won. - id: 1343 author: Ryan author_email<EMAIL_ADDRESS>author_url: '' date: '2010-05-31 22:45:15 +0000' date_gmt: '2010-06-01 03:45:15 +0000' content: "3:44pm – Bleacher conduct update – So far, Cardinals fans far more obnoxious. Additional info – they are wearing visors.\r\n\r\nVisors are NEVER acceptable anywhere for any reason whatsoever. Even if you serve milkshakes for a living or play professional tennis. \r\n\r\nGo Blackhawks...\r\n\r\nMeehan" ---
If you attempted to follow the live blogging for yesterday's game, you noticed that:
1.
2. Live-blogging didn't work. I don't know care why. But since we dedicated ourselves to it, I'll post it now. If you wonder what the "-C" means, we had decided to be clear who was tweeting what, but we weren't real consistent with it.
Part of the purpose of this trip was for both of us to experience the Wrigley bleachers for the first time. There has been discussion on blogs/Twitter about the conduct of fans in the bleachers and rather than blindly pass judgment, we decided that it is our duty as bloggers (a "profession" that requires no dedication to truth or fact) to experience this location first-hand. We may discuss our findings in a post or two, but for complete wrap-up, check out the next Ivy Envy Podcast episode. This episode will be different than the usual episodes. It will be a "backyard episode" in the vein of Podcast #11. If you haven't heard that episode, it's worth listening to.
It's going to be a warm Midwestern Memorial Day BBQ with nice cold beer on tap and the Cubs and Pirates on the television. That is a recipe for podcasting gold. We are going to open this episode to anyone that would like to be a guest and participate. If you're in the Quad Cities with no plans for Memorial day, get ahold of us to join us in person.
So, here is the live-blogging from yesterday's game.
6:14am - About to head to Wrigley. Had work people over last night and got about 4 hrs of sleep. This is going to be a long day.
6:19am - Yes, we are aware that it's a little excessive to live only 2.5 hours from Chicago and leave at 6:30am for a 3pm game.
6:34am - Zune is loaded with two episodes of Planned Brotherhood for the trip today. Best podcast out there.
10:25am - I believe we found free parking near Wrigley. We'll know if it's free if the car hasn't been towed when we get back.
10:42am - I am thinking Lucky's for lunch. I'll ignore the fact I feel like I could vomit any minute. -C
11:20am - Lucky's. -C http://twitpic.com/1s6h8p
12:03pm - In line for the bleachers. I have a feeling this stuff isn't going through to the site.
12:50pm - Observation in the bleacher line - Cubs fans are laid back, Cards fans have a chip on their shoulders. -C
1:19pm - Fukudome BP - C http://twitpic.com/1s7g6b
1:20pm - Here we are at beautiful Wrigley Field--just in time for BP.
1:46pm - Things are hot and mellow in the bleachers. -C
2:00pm - Received word from Mrs. Ivy Envy that live-blogging to the site isn't working. Hard to repair that from CF bleachers.
2:03pm - There should be a sign out here: "Don't jump for a ball hit in BP when you have a beer in your hand". Seems simple to me.
2:53pm - Silva long-tossing. -C http://twitpic.com/1s870t
2:53pm - Sweat is pouring, sun is burning. -C
3:44pm - Bleacher conduct update - So far, Cardinals fans far more obnoxious. Additional info - they are wearing visors.
4:29pm - 2 triples for Font. Cardinals fans in bleachers are no longer bragging about their pitcher's 0.00ERA. Cubs up 3-0.
4:30pm - I always wondered "Is it hot in the bleachers at Wrigley?" Now I know.
4:36pm - Won't use names and jinx, but the fat man on the hill is tearing it up.
4:41pm - I believe Silva just set career high in K's. We have witnessed history.
4:44pm - Silva's made history. Where were you when?
5:33pm - Fight down the left field line in the 7th. Still calm in the bleachers.
5:34pm - Howry coming in for the 9th.
5:34pm - Stevens, rather.
5:38pm - Hmm, suddenly the Cardinals fans have disappeared from the bleachers.
5:39pm - Conversation behind me - "who was the starter today?" "Silvia"
7:00pm - At D'agostino's, waiting to meet up with John From WAIW/Exile on Clark. - C
7:03pm - Ready to watch the Blackhawks.


Created: 20/04/2013
By: web20donkey
Email<EMAIL_ADDRESS>Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!
This theme is a fixed responsive layout. All of the information within the main content area is nested within a div with an id of "main".

 ......

 ......
  ......   ......
 .....

 ......

 ......

I'm using 4 CSS files in this theme. The first one is based on bootstrap.css.
The second file contains all of the specific stylings for the page. At the end of the file is the responsive CSS. The file is separated into sections using:
/* ------------------------------------ */ /* ---------- Reset Browser ----------- */ /* ------------------------------------ */ @import url("reset.css"); /* ------------------------------------ */ /* ------------- Fonts ---------------- */ /* ------------------------------------ */ importing the fonts /* ------------------------------------ */ /* ---------- General styles ---------- */ /* ------------------------------------ */ ... /* ----------------------------------- */ /* ---------- Header styles ---------- */ /* ----------------------------------- */ ... /* ----------------------------------- */ /* ------------ Main title ----------- */ /* ----------------------------------- */ ... /* ----------------------------------- */ /* ----------- Main styles ----------- */ /* ----------------------------------- */ /* ----------- Main Content ----------- */ /* ----------- Article ----------- */ /* ----------- Features ----------- */ /* ----------- Post Navi ----------- */ /* ----------- Comments ----------- */ /* ----------- Sidebar ----------- */ /* ----------- Contact-form ----------- */ /* ----------------------------------- */ /* ---------- Footer styles ---------- */ /* ----------------------------------- */ ... /*-----------------------------------*/ /*------- Responsive design ---------*/ /*-----------------------------------*/ ...
The others are: reset.css, ie.css for internet explorer styles.
If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.
In order to change the slider images, you'll need to locate the file "style.css" inside the folder "css", go to line 1272, and start modifiyng.
This theme imports some Javascript files.
I've included 7 PSD files with this theme:
There are 7 templates:
I've used the following :
Support for this theme is available here
Note: Please answer any question there, otherwise it won't be answered.
Also please feel free to report any bug there.
Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.
web20donkey