The reporting on Election 2014 is going from bad to worse.
Before you get into a bunch, I do understand the The Newsroom is an idealistic show, meant for TV. Even Aaron Sorkin, the show’s creator, admits the show was not written to show journalists how to cover the news. But it doesn’t mean there aren’t a few cues to be taken. I’ve spent some time in collegiate journalism — that’s not to say it was lesser than regular journalism, we were bound by the same ethics codes dictated by the Associated Press. I still use ‘em’ vs ‘en’ dashes rather than just hyphens as you will find in this blog. We were also guideline’d when it came to facts, reporting about ourselves, and authenticity of sources. And I think here the Indian media has a lot to learn.
Election season is afoot in the world’s largest democracy, and in my attempt to track it as well as understand it, I rely on the media. Off late though, I find that I spend more time reading and looking at source interviews rather watch TV or rely on a lot of media, because I find the focus is TRP rather than fact or focus, points I raise in more detail below.
Aside from the show, idealism and fanfare, for me the key to The Newsroom lies in this key phrase: ‘..nothing is more important to a democracy than a well-informed electorate’.
Where are the facts?
Spend 20 minutes on any TV channel and all you will hear is ‘Rahul Gandhi said this today’ and ‘Narendra Modi said that’. Shouldn’t there be some responsibility towards actually representing the facts? Correcting them if they are wrong?
As an example, when Rahul Gandhi says tons of land was given away at ridiculous (he actually says INR1 per sq. m) to the Adani Group by the Government of Gujarat. Narendra Modi claims in return that there is no wrong doing and the Supreme Court validated their land deals. Instead of the headline ‘Gandhi family makes its strongest attack on Modi’ and ‘Modi sharpens attack on the Gandhis’, shouldn’t you perhaps spend some time to review the Supreme Court verdict that says the model by which the Govt. of Gujarat allocated this land should be replicated by other states?
Conversely, when people like Uma Bharti allege that Robert Vadra would go to prison over misdealing in land ownership, the Congress comes out to defend him. Great, but shouldn’t you rake up evidence of no-wrongdoing, or bring up public records of the Government land deals that are a matter of public record, or at least should be?
Instead the media spend time running from one party to another asking for a comment rather than doing any work.
One more example just to drive home the point. In Rahul Gandhi’s constituency of Amethi (he’s the incumbent MP), Priyanka Vadra (his sister who is campaigning for him there) and Smriti Irani (running for the same seat) are fighting that the other never visits the constituency. So get on it, visits and interviews are public record. Prove either one of them wrong!
What is equally bad are the translations and misrepresentations. I can’t even get into the examples here but I urge the media to translate and quote correctly. Enough headlining.
Where is the focus?
Sit through an evening debate and the only thing the anchors and channels want to talk about is how bad was one person’s statement over another. There’s never a discussion of facts — often, it’s a direct misquote — but moreover, there doesn’t seem to be any focus either.
Take the example of Mumbai which went to vote last week. Initial estimates say anywhere between 3 and 6 lac names were unavailable, Was there a debate (not talking just a quick newsbite) on the item? Nope. Did anything raise a fuss over the action taken by the Election Commission (they apologized and said they would fix it before the next election for the State Elections in two years)? Nope.
Here’s another. On the same day, half of Bollywood decided to honor their yearly commitments to IIFA and attend the IIFA Awards in Florida rather than vote. Except a passing mention on the channels, who chose instead to highlight and interrupt coverage with ‘Breaking News’ when they spotted a new celebrity coming to vote, there was not a single debate. I only found IndiaTV take the coverage a little further, and spend time asking actors at IIFA in the US about the fact that they did not vote. Most of the response revolved around contractual obligations. Anupam Kher even went so far as to say, and I quote, ‘for me India is first’, but we have contractual obligations. Let’s not forget here that there was a large and vocal outreach on voting made by Bollywood to vote for a secular government.
Where is the bias?
In the early episodes of The Newsroom, the editorial team insist anchor Will McAvoy make clear he is a Republican, something he has shied away from declaring prior to the start of the show’s timeline. This was interesting. The journalism I’m attuned to needs to be as neutral as possible, but I understand in this day and age, and in political discourse, it is a different story.
Let’s be clear that there is nothing wrong with having one. Journalists are voters too, and have every right to view their choice. But declaring this choice helps unskew their reporting. Knowing McAvoy is a republican makes it that much more credible when he then takes on a Republican candidate on fact. Simultaneously, he can no longer just hardline at the Democrats because his bias would make his interviews less credible. His responsibility increases as a result to stay closer to, and argue on facts, since anything else would make him less relevant.
The same must apply to the Indian media. I’m not saying everyone needs to come out and say whom they are voting for, just that it needs to be less biased and more factual. When you are held so closely to your bias, you automatically need to stay on facts to be relevant.
Make of this what you will. Recently, in an interview by ABPNews, an interviewer asked PM candidate Narendra Modi if the media should fear him if he comes to power. Barring the sadness of this thought process, the answer is impressive indeed. Slightly paraphrased, Modi said ‘If you’re scared of a political leader, you shouldn’t be in the media. For a democracy to function, the media needs to be strong.’ The interview is here for verification.
Criticism by the media, holding our public figures accountable is paramount. It’s not about being scared of a political party or a leader; but it’s also not about sensationalism. Everything is not breaking news. You have a responsibility to present the factual truth, and in this regard and my opinion, you’re failing miserably.


Do more with less. npm can be
downloded and deployed in minutes.
Stats from the last month
12,077,654
Installs
72,465.924 TB
Published
2,343,342
Projects
Easy to use, cross platform CLI runs from a terminal, and is how most developers interact with npm
Deploy in seconds
After you set up an npm account, the next step is to use the
command line interface (CLI) to install npm. We look forward to seeing what you create! If you choose to share your packages publicly, there is no cost.
To use and share private packages, you need to upgrade your account. To share with others, create organizations, called npm organizations, and invite others to work with you, privately or publicly.
To learn more about npm as a product, upcoming new features, and interesting uses of npm, sign up for our newsletter at npm-weekly, and be sure to follow @npmjs on Twitter.


E
- The class type of the elements of this Slice
public interface Slice<E> extends Iterable<E>
slice
s in Go.
Slices are simply views of an underlying array, and they can be extended, shortened, or even sliced further to reduce the visible portion of the array. Like in Go, a slice has both a size, which refers to the length of the subarray to which the slice can write, and a capacity, which refers to the size of the slice and how much further the underlying array continues beyond the end of the slice's subarray.
All slices created on an array and all slices formed by slicing, extending, or shortening
an existing slice will be bound to the same underlying array. In other words, changes to
the array, either directly or via a mutable slice, will be reflected in all such slices.
To check whether a slice is backed by a specific array (or any object), the sharesBacking(Object)
method can be used.
To create a Slice
object, use either wrap(Object[])
or wrap(Object[], int, int)
.
Unmodifiable slices, created either using the makeUnmodifiable()
instance method or
the makeUnmodifiable(Object[])
static method(s), can be used to create immutable arrays.
Although primarily designed for use with arrays, custom slice implementations can be created
for other data structures. In such a case, the sharesBacking(Object)
method should
be used to verify whether an specific object backs the given slice.
sharesBacking(Object)
,
wrap(Object[])
,
wrap(Object[], int, int)
,
makeUnmodifiable()
,
makeUnmodifiable(Object[])
,
makeUnmodifiable(Object[], int, int)
,
makeUnmodifiable(Slice)
,
Go| Modifier and Type | Interface and Description |
|---|---|
static interface |
Slice.Transformation<E>
A
FunctionalInterface that represents any
element-by-element transformation of a Slice . |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Slice<E> |
apply(int ind,
@NotNull Slice.Transformation<E> transformation)
Applies the specified
Transformation to the element at the specified index. |
@NotNull Slice<E> |
applyAll(@NotNull Slice.Transformation<E> transformation)
Applies the specified
Transformation to all elements in the slice. |
int |
capacity()
Returns the capacity of the array underlying this slice.
|
@NotNull Slice<E> |
extend(int by)
Creates a new longer
Slice object backed by the same array as this slice. |
E |
get(int ind)
Returns the element in this slice at the given index.
|
int |
length()
Returns the length of the subarray this slice can directly modify.
|
@NotNull Slice<E> |
makeUnmodifiable()
Returns an unmodifiable version of this
Slice object. |
static <E> @NotNull Slice<E> |
makeUnmodifiable(E[] arr)
Returns an unmodifiable
Slice object backed by the given array. |
static <E> @NotNull Slice<Slice<E>> |
makeUnmodifiable(E[][] arr) |
static <E> @NotNull Slice<Slice<Slice<E>>> |
makeUnmodifiable(E[][][] arr) |
static <E> @NotNull Slice<Slice<Slice<E>>> |
makeUnmodifiable(E[][][] arr,
@NotNull Slice<Slice<E>>[] backing,
@NotNull Slice<E>[][] backing2D) |
static <E> @NotNull Slice<Slice<E>> |
makeUnmodifiable(E[][] arr,
@NotNull Slice<E>[] backing) |
static <E> @NotNull Slice<E> |
makeUnmodifiable(E[] arr,
int from,
int to)
Returns an unmodifiable
Slice object backed by the given array. |
static <E> @NotNull Slice<E> |
makeUnmodifiable(@NotNull Slice<E> slice)
Returns an unmodifiable version of the given
Slice . |
@NotNull Slice<E> |
replace(int ind,
E obj)
Replaces the element at the specified index with the new element value.
|
void |
set(int ind,
E obj)
Sets the element in this slice at the given index to the specified value.
|
boolean |
sharesBacking(@NotNull Object arr)
Checks whether the given
Object is the object backing this Slice . |
@NotNull Slice<E> |
shorten(int by)
Creates a new shorter
Slice object backed by the same array as this slice. |
int |
size()
Returns the length of the subarray this slice can directly modify.
|
@NotNull Slice<E> |
trim(int start,
int end)
Creates a new (shorter)
Slice object backed by the same array as this slice. |
@NotNull Slice<E> |
trimEnd(int end)
Creates a new (shorter)
Slice object backed by the same array as this slice. |
@NotNull Slice<E> |
trimStart(int start)
Creates a new (shorter)
Slice object backed by the same array as this slice. |
static <E> @NotNull Slice<E> |
wrap(E[] arr)
Creates a new
Slice object backed by the given array. |
static <E> @NotNull Slice<Slice<E>> |
wrap(E[][] arr) |
static <E> @NotNull Slice<Slice<Slice<E>>> |
wrap(E[][][] arr) |
static <E> @NotNull Slice<Slice<Slice<E>>> |
wrap(E[][][] arr,
@NotNull Slice<Slice<E>>[] backing,
@NotNull Slice<E>[][] backing2D) |
static <E> @NotNull Slice<Slice<E>> |
wrap(E[][] arr,
@NotNull Slice<E>[] backing) |
static <E> @NotNull Slice<E> |
wrap(E[] arr,
int from,
int to)
Creates a new
Slice object backed by the given array. |
forEach, iterator, spliterator
int size()
This method is simply an alias for length()
.
length()
int length()
size()
int capacity()
The capacity of this slice (or equivalently its underlying array) represents the maximum length of a subarray that any slice extending this slice can modify. This length is calculated as
array.length - slice.start_indexwhere
array.length
is the total length of this slice's underlying
array and slice.start_index
is the starting index of this slice
relative to that array.extend(int)
E get(int ind)
Indexing is calculated relative to the slice, not the underlying array.
For example, if a slice starts at index 2
in an array, then accessing the
element at index 0
(with respect to the slice) will return the element
at index 2
in the array.
ind
- The index of the element to retrieve, relative to the sliceSliceIndexOutOfBoundsException
- If the index is less than 0
or
greater than equal to length()
void set(int ind, E obj)
Indexing is calculated relative to the slice, not the underlying array.
For example, if a slice starts at index 2
in an array, then accessing the
element at index 0
(with respect to the slice) will return the element
at index 2
in the array.
ind
- The index of the element to set, relative to the sliceobj
- The new value of the elementSliceIndexOutOfBoundsException
- If the index is less than 0
or
greater than equal to length()
@NotNull @NotNull Slice<E> replace(int ind, E obj)
This method is identical to set(int, Object)
, with one exception.
This method returns this Slice
object, so that other method calls
on the same object can be chained one after another.
ind
- The index of the element to set, relative to the sliceobj
- The new value of the elementSlice
objectSliceIndexOutOfBoundsException
- If the index is less than 0
or
greater than equal to length()
set(int, Object)
@NotNull @NotNull Slice<E> apply(int ind, @NotNull @NotNull Slice.Transformation<E> transformation)
Transformation
to the element at the specified index.
This method returns this Slice
object, so that other method calls
on the same object can be chained one after another.
ind
- The index of the element to change, relative to the slicetransformation
- The Transformation
to apply to the elementSlice
objectSliceIndexOutOfBoundsException
- If the index is less than 0
or
greater than equal to length()
replace(int, Object)
,
Transformation
@NotNull @NotNull Slice<E> applyAll(@NotNull @NotNull Slice.Transformation<E> transformation)
Transformation
to all elements in the slice.
This method returns this Slice
object, so that other method calls
on the same object can be chained one after another.
transformation
- The Transformation
to applySlice
objectSliceIndexOutOfBoundsException
- If the index is less than 0
or
greater than equal to length()
apply(int, Transformation)
,
Transformation
@NotNull @NotNull Slice<E> trimStart(int start)
Slice
object backed by the same array as this slice.
This method is nearly identical in function to String.substring(int)
,
except that the resulting Slice
will reflect changes made by this Slice
object or any other Slice
object bound to the same array.
This method is identical to calling trim(int, int)
with the arguments
(start, length())
.
start
- The starting index of the trimming operation, relative to this Slice
objectSlice
object of the specified dimensionSliceIndexOutOfBoundsException
- If the start index is less than 0
or greater than equal to length()
trim(int, int)
,
String.substring(int)
@NotNull @NotNull Slice<E> trimEnd(int end)
Slice
object backed by the same array as this slice.
This method is similar to trimStart(int)
, except that the specified index is at
the end of this Slice
, not the start. Regardless, the resulting Slice
will reflect changes made by this Slice
object or any other Slice
object bound to the same array.
This method is identical to calling trim(int, int)
with the arguments
(0, end)
.
end
- The ending index of the trimming operation, relative to this Slice
objectSlice
object of the specified dimensionSliceIndexOutOfBoundsException
- If the end index is less than 0
or greater than equal to length()
trimStart(int)
,
trim(int, int)
@NotNull @NotNull Slice<E> trim(int start, int end)
Slice
object backed by the same array as this slice.
This method is nearly identical in function to String.substring(int, int)
,
except that the resulting Slice
will reflect changes made by this Slice
object or any other Slice
object bound to the same array.
Simpler versions of this method exist, where the either the start or end index is taken
to be the edge of this slice: trimStart(int)
and trimEnd(int)
.
start
- The starting index of the trimming operation, relative to this Slice
objectend
- The ending index of the trimming operation, relative to this Slice
objectSlice
object of the specified dimensionSliceIndexOutOfBoundsException
- If either index is less than 0
or
greater than equal to length()
, or
if the resulting slice length is negativetrimStart(int)
,
trimEnd(int)
@NotNull @NotNull Slice<E> shorten(int by)
Slice
object backed by the same array as this slice.
This method is identical to calling trim(int, int)
with the arguments
(0, size() - by)
.
This same operation, applied to the front of this slice instead of the end, can be
achieved by calling trimStart(int)
with the argument (by)
.
For a similar operation, extending the slice instead of shortening it, use extend(int)
.
by
- The number of elements to remove off the end of this Slice
Slice
object of the specified dimensionSliceIndexOutOfBoundsException
- If the resulting slice length is negativetrimStart(int)
,
trim(int, int)
,
extend(int)
@NotNull @NotNull Slice<E> extend(int by)
Slice
object backed by the same array as this slice.
This method extends the region of the underlying array that the slice can modify. In other words,
new_slice.length() == old_slice.length() + bymust be true. If this is not possible (due to constraints from
capacity()
),
then this method must throw a SliceIndexOutOfBoundsException
The functionality provided by this method (extending a slice) cannot be achieved by
any of the other slice-creation methods, as they all throw SliceIndexOutOfBoundsException
s
in such scenarios.
For a similar operation (shortening the slice instead of extending it) use shorten(int)
.
by
- The number of additional elements to append to the end of this Slice
Slice
object of the specified dimensionSliceIndexOutOfBoundsException
- If the underlying array does not have sufficient
space to accommodate the extensionshorten(int)
,
capacity()
boolean sharesBacking(@NotNull @NotNull Object arr)
Object
is the object backing this Slice
.
This method should simply use ==
to check whether the given object equals
the object used to back this Slice
.
In most cases, this backing object will be an array, but the argument type
is Object
to allow for custom implementations of Slice
backed
by other data structures.
arr
- The object (typically an array) to check as a potential backertrue
if the given object backs this Slice
; otherwise, false
@NotNull static <E> @NotNull Slice<E> wrap(@NotNull E[] arr)
Slice
object backed by the given array.
This method is identical to calling
wrap(arr, 0, arr.length).
E
- The class type of the elements in the slicearr
- The array to wrap in a Slice
objectSlice
objectwrap(Object[], int, int)
@NotNull static <E> @NotNull Slice<E> wrap(@NotNull E[] arr, int from, int to)
Slice
object backed by the given array.
This method limits the part of the array the returned slice
can modify correspond to the indices in the interval
[from,to)
. For a slice-creation method that wraps
the entire array, use wrap(Object[])
instead.
E
- The class type of the elements in the slicearr
- The array to wrap in a Slice
objectfrom
- The starting index of the slice, relative to the arrayto
- The ending index of the slice, relative to the arraySlice
objectwrap(Object[])
@NotNull static <E> @NotNull Slice<Slice<E>> wrap(@NotNull E[][] arr, @NotNull @NotNull Slice<E>[] backing)
@NotNull static <E> @NotNull Slice<Slice<Slice<E>>> wrap(@NotNull E[][][] arr, @NotNull @NotNull Slice<Slice<E>>[] backing, @NotNull @NotNull Slice<E>[][] backing2D)
@NotNull @NotNull Slice<E> makeUnmodifiable()
Slice
object.
This method is identical to calling makeUnmodifiable(Slice)
with the argument (this)
.
Note that method will not make this slice's elements unmodifiable.
This is especially an issue for multi-dimensional slices. Once the
outermost slice is unmodifiable, the inner slices can no longer become
unmodifiable (except via external modification to the underlying array),
as making slices (or other collections) unmodifiable creates a new object
instance that must then replace the original element in the slice.
Therefore, to properly make such nested slices unmodifiable, the slices
must be converted in reverse: starting with the innermost slices and
working outwards. One simple way to achieve this is using the
applyAll(Transformation)
method: for a 3D slice
(ie Slice<Slice<Slice<E>>> slice
), either
slice.applyAll((slice2D) -> { return slice2D.applyAll((slice1D) -> { return slice1D.makeUnmodifiable(); }).makeUnmodifiable(); }).makeUnmodifiable();or (equivalently)
slice.applyAll((slice2D) -> slice2D.applyAll((slice1D) -> slice1D.makeUnmodifiable()).makeUnmodifiable()).makeUnmodifiable();would return a perfectly unmodifiable 3D slice.
makeUnmodifiable(Slice)
,
applyAll(Transformation)
@NotNull static <E> @NotNull Slice<E> makeUnmodifiable(@NotNull E[] arr)
Slice
object backed by the given array.
This method is an optimized way of performing wrap(Object[])
followed by either makeUnmodifiable()
or makeUnmodifiable(Slice)
.
This method is identical to calling
makeUnmodifiable(arr, 0, arr.length).
E
- The class type of the elements in the slicearr
- The array to wrap in an unmodifiable Slice
objectSlice
objectwrap(Object[])
,
makeUnmodifiable(Slice)
,
makeUnmodifiable(Object[], int, int)
@NotNull static <E> @NotNull Slice<E> makeUnmodifiable(@NotNull E[] arr, int from, int to)
Slice
object backed by the given array.
This method is an optimized way of performing wrap(Object[], int, int)
followed by either makeUnmodifiable()
or makeUnmodifiable(Slice)
.
Like with the wrap(Object[], int, int)
method, this method quite like
makeUnmodifiable(Object[])
, except that it provides an option to limit
the region of the array corresponding to the returned Slice
object. The
part of the array the returned slice can modify correspond to the indices in
the interval [from,to)
.
E
- The class type of the elements in the slicearr
- The array to wrap in an unmodifiable Slice
objectfrom
- The starting index of the slice, relative to the arrayto
- The ending index of the slice, relative to the arraySlice
objectwrap(Object[])
,
makeUnmodifiable(Slice)
,
makeUnmodifiable(Object[], int, int)
@NotNull static <E> @NotNull Slice<Slice<E>> makeUnmodifiable(@NotNull E[][] arr, @NotNull @NotNull Slice<E>[] backing)
@NotNull static <E> @NotNull Slice<Slice<Slice<E>>> makeUnmodifiable(@NotNull E[][][] arr)
@NotNull static <E> @NotNull Slice<Slice<Slice<E>>> makeUnmodifiable(@NotNull E[][][] arr, @NotNull @NotNull Slice<Slice<E>>[] backing, @NotNull @NotNull Slice<E>[][] backing2D)
@NotNull static <E> @NotNull Slice<E> makeUnmodifiable(@NotNull @NotNull Slice<E> slice)
Slice
.
This is simply a static version of makeUnmodifiable()
.
Note that method will not make this slice's elements unmodifiable.
This is especially an issue for multi-dimensional slices. Once the
outermost slice is unmodifiable, the inner slices can no longer become
unmodifiable (except via external modification to the underlying array),
as making slices (or other collections) unmodifiable creates a new object
instance that must then replace the original element in the slice.
Therefore, to properly make such nested slices unmodifiable, the slices
must be converted in reverse: starting with the innermost slices and
working outwards. One simple way to achieve this is using the
applyAll(Transformation)
method: for a 3D slice
(ie Slice<Slice<Slice<E>>> slice
), either
slice.applyAll((slice2D) -> { return slice2D.applyAll((slice1D) -> { return slice1D.makeUnmodifiable(); }).makeUnmodifiable(); }).makeUnmodifiable();or (equivalently)
slice.applyAll((slice2D) -> slice2D.applyAll((slice1D) -> slice1D.makeUnmodifiable()).makeUnmodifiable()).makeUnmodifiable();would return a perfectly unmodifiable 3D slice.
E
- The class type of the elements in the sliceslice
- The slice to make unmodifiableSlice
objectmakeUnmodifiable()
,
applyAll(Transformation)
Quick Links:
Latest Documentation
Project Homepage
Website Homepage
Project Github Repository
Copyright © 2020 Utkarsh Priyam. All rights reserved.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/mathlib-tools.20PR.20.2312.html ---
This is about @Patrick Massot's PR making mathlib-tools a python package, installable via pip: https://github.com/leanprover-community/mathlib-tools/pull/12
Who do I need to bug to get this merged? AFAICT pip install mathlibtools
works fine now on linux and windows.
The reason why I'm so desperate for this change is because otherwise it's virtually impossible to use mathlib-tools on NixOS.
@Simon Hudon ? Mind if we merge this? :)
The canonical answer here is Simon.
But I guess he wouldn't mind giving admin rights for this repo to more people.
If you want this merged, what you can do to help is to prepare a mathlib doc update ready to be merged immediately after this PR to mathlib-tools.
Ok, I'm on the doc update.
Just to remark that the auto-generated little blue arrow link in the topic title links to the wrong place.
I don't like how the CI scripts are changing. It will always only test the official versions on pip
, not the latest commit
The CI scripts in the mathlib-tools repository always check the latest commit, not the one on pypi. (Note: the installation command is pip3 install .
and not pip3 install mathlibtools
)
Nice! I missed that
Maybe we should have a comment on that line to that effect.
:+1:
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Welcome To Music Junkies
This Application is for all the music lovers out there! In the
following page, you will select a specific month, day and year in
history from the provided calendar. Press the submit button which
will display the #1 song, artist and album cover on the Billboard
Top 100 Charts of that specific date.
Followed by links to that music video (if available) as well as a
link for more information about that artist. Finally, the other top
5 songs will be listed for that date.
Please press agree to enter and start choosing dates!


Press the button, then open the developer tools (F12) and check the console for messages.
With the default configuration, you should see 4 log messages:
test:log1 This is a WARN message
test:log1 This is an ERROR message
test:log2 This is a WARN message
test:log2 This is an ERROR message
Initially there are 2 loggers defined, test:log1 and test:log2. When you press the button, the test code loops through all loggers and logs a message at all levels with each of them.
Browse the sections below for details and experiment with creating loggers, changing config etc. Every time you want to test the new situation, press the big button again.
In ulog all loggers have a name. Currently these loggers are defined:
You can remove them by pressing the 'x' button, or add a new logger with the text field and button below:
ulog features dynamic configuration. This means ulog monitors the configuration (in localStorage on browsers and in a config file on Node JS) and picks up any changes you make at runtime, without the need to refresh the page or restart the app.
In the developer tools, inspect the keys in localStorage. The following keys can be set to influence the behavior of ulog:
| log | Configure log levels |
|---|---|
| debug | Configure debug mode |
| log_output | Configure the log output |
| log_drain | Configure the log drain |
| log_format | Configure the log format |
You can experiment with different settings and press the button to see which messages get logged. Pressing the small button next to the example code applies the setting. Press the big button again and check whether the output is as expected.
test:log1 This is a DEBUG message
test:log1 This is a LOG message
test:log1 This is an INFO message
test:log1 This is a WARN message
test:log1 This is an ERROR message
test @ test.html:16
onclick @ test.html:32
test:log2 This is a DEBUG message
test:log2 This is a LOG message
test:log2 This is an INFO message
test:log2 This is a WARN message
test:log2 This is an ERROR message
test @ test.html:24
onclick @ test.html:32
ulog:test:log1 This is an INFO message
ulog:test:log1 This is a WARN message
ulog:test:log1 This is an ERROR message
test @ test.html:16
onclick @ test.html:32
ulog:test:log2 This is an INFO message
ulog:test:log2 This is a WARN message
ulog:test:log2 This is an ERROR message
test @ test.html:24
onclick @ test.html:32
ulog:test:log1 This is a TRACE message
test @ test.html:11
onclick @ test.html:32
ulog:test:log1 This is a DEBUG message
ulog:test:log1 This is a LOG message
ulog:test:log1 This is an INFO message
ulog:test:log1 This is a WARN message
ulog:test:log1 This is an ERROR message
test @ test.html:16
onclick @ test.html:32
ulog:test:log2 This is a TRACE message
test @ test.html:19
onclick @ test.html:32
ulog:test:log2 This is a DEBUG message
ulog:test:log2 This is a LOG message
ulog:test:log2 This is an INFO message
ulog:test:log2 This is a WARN message
ulog:test:log2 This is an ERROR message
test @ test.html:24
onclick @ test.html:32
// (no output)
In browsers, ulog accepts configuration from the querystring and from localStorage. These correspond to the program arguments, environment variables and config file on Node JS. The configuration is automatically monitored for changes. You can use simple but powerful expressions in your configuration. These expressions are an extension on the configuration mechanism of debug.


Step 3 of 3
Step 3: Get your certificate
You will need to show a copy of this information whenever
you want to use it.
I'm having trouble with this
Get help getting a copyStep 3 of 3
You will need to show a copy of this information whenever
you want to use it.
I'm having trouble with this
Get help getting a copy


Archive
Most viewed
Most heard
Life is full of possesions. One cannot survive without possesions. From a piece of the Wright brother's plane to a child’s sugar egg, today: Things! Important things, little things, personal things, things you can hold and things that can take hold of you. No matter how much one denies, one does get connected to things around.
The speakers of 'Things' mention various examples about possessions. You might define the former as objects, like an autograph of Abraham Lincoln; however, that is not the only case. Possession might also inlcude a physical memory 'I stood right in the spot where Lincoln signed the autograph.' Some might define this as a possession.
My mom and I were having a discussion about things the other day, about how I get very attached to "things" and she for the most part doesn't. Even when we're cleaning out my room, . I'm always the one who wants to keep something because of its sentimental value while my mom is more than happy to get rid of it if it hasn't been touched or even missed.
A similar topic was brought up in the podacast. A mention about touching the cloth peice of the first moon trip happened to be talked about in the podacast. On one hand, some got a feeling of being on the moon, one of them felt nothing. Irrespective of how hard she tried, nothing came to her. In my opinion, attachment to a specific object is psychological and not physical.
Something similar happened to me when I moved from India to United States. Having lived in India for almost 17 years, I had a lot of things, from clothing to shoes to accessories, birthday presents to cards. One names it, I had it. And surprisingly, I wanted to bring every single article with me. It took me a while to come to terms with reality about leaving things behind; soon came back to earth.
The moment I accpeted the truth, I had let go of every single feeling towards those articles. Now if I were to look back and get them with me, I probably wouldn't.
It depends on the individual, they may want to let go or not.


Export to Excel
Clear Storage
Results
No BIB
00
:
00
:
00
.
0
Scan QR Code
Close
Unable to access video stream (please make sure you have a webcam enabled)
No QR code detected.


{% extends "base.html" %} {% block title %}Islander - unconfirmed{% endblock %} {% block page_content %}
Before you can access this site you need to confirm your account. Check your inbox, you should have received an email with a confirmation link.
The confirmation Email is likely to be in your trash mail
Need another confirmation email? Click here


ChatSec if a free open source application which encrypts all user messages with AES 256 encryption from client to reciepent of the chat. At no time does the opperator of a ChatSec install have the ability to highjack plain text messages, so this application ships without a databases.
Javascript AES 256 encryption by Chris Veness
Contribute on Github! ChatSecYou can download and run ChatSec on your own. Detailed instructions on the installation process are on the way!
ChatSec.zip


Data sets CSV format¶
Data sets file are assumed of being CSV where each row is a user-item rating. Each row must be formed of at least two columns where the first column represents the user raw id and the second column the raw item id.
For example:
user_id,item_id
u1,i1
u1,i2
u2,i1
u2,i3
The example shows a data set CSV with 4 ratings, 2 users (u1, u2) and 3 items (i1,i2,i3). The CSV
uses colon as delimiter and it has a header which must be configured correctly in the data
configuration file (see Configuration files format). Since the data set has implicit feedback, in the
configuration file it must be set topn
to 1.
In the case of data sets for rating predition, a third column must be provided containing the rating value. For example:
user_id,item_id,rating
u1,i1,3.5
u1,i2,2
u2,i1,4
u2,i3,5
which is a data set with the same users as the one above, but with explicit ratings.


| Path: | README |
| Last Update: | Wed Apr 19 00:52:06 Pacific Daylight Time 2006 |
Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object.
You must create the table used by the Settings model. Simply run this command:
ruby script/generate settings_migration
Now just put that migration in the database with:
rake migrate
The syntax is easy. First, lets create some settings to keep track of:
Settings.admin_password = 'supersecret' Settings.date_format = '%m %d, %Y' Settings.cocktails = ['Martini', 'Screwdriver', 'White Russian'] Settings.foo = 123
Now lets read them back:
Settings.foo # returns 123
Changing an existing setting is the same as creating a new setting:
Settings.foo = 'super duper bar'
Decide you dont want to track a particular setting anymore?
Settings.destroy :foo Settings.foo # Now gives a setting variable not found error.
Want a list of all the settings?
Settings.all # returns {'admin_password' => 'super_secret', 'date_format' => '%m %d, %Y'}
Set defaults for certain settings of your app. This will cause the defined settings to return with the Specified value even if they are not in the database. Here is what you insert into your environment.rb
module SettingsDefaults DEFAULTS = { :setting_one => 'footastic', :setting_two => 123.321 } end Settings.setting_one #=> returns "footastic" even though no record is in the databse for "some_setting" Settings.setting_one = 'bar' # Database record is now created and 'bar' will be used instead of the default.
NOTE: the server must be restarted in order to see new default settings.
All there is to it!. Enjoy!


Actions, resources, and condition keys for Amazon Lightsail
Amazon Lightsail (service prefix:
lightsail
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service
. -
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM
permission policies.
Topics
Actions defined by Amazon Lightsail
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| AllocateStaticIp | Grants permission to create a static IP address that can be attached to an instance | Write | |||
| AttachCertificateToDistribution | Grants permission to attach an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| AttachDisk | Grants permission to attach a disk to an instance | Write | |||
| AttachInstancesToLoadBalancer | Grants permission to attach one or more instances to a load balancer | Write | |||
| AttachLoadBalancerTlsCertificate | Grants permission to attach a TLS certificate to a load balancer | Write | |||
| AttachStaticIp | Grants permission to attach a static IP address to an instance | Write | |||
| CloseInstancePublicPorts | Grants permission to close a public port of an instance | Write | |||
| CopySnapshot | Grants permission to copy a snapshot from one AWS Region to another in Amazon Lightsail | Write | |||
| CreateBucket | Grants permission to create an Amazon Lightsail bucket | Write | |||
| CreateBucketAccessKey | Grants permission to create a new access key for the specified bucket | Write | |||
| CreateCertificate | Grants permission to create an SSL/TLS certificate | Write |
lightsail:CreateDomainEntry lightsail:GetDomains |
||
| CreateCloudFormationStack | Grants permission to create a new Amazon EC2 instance from an exported Amazon Lightsail snapshot | Write | |||
| CreateContactMethod | Grants permission to create an email or SMS text message contact method | Write | |||
| CreateContainerService | Grants permission to create an Amazon Lightsail container service | Write | |||
| CreateContainerServiceDeployment | Grants permission to create a deployment for your Amazon Lightsail container service | Write | |||
| CreateContainerServiceRegistryLogin | Grants permission to create a temporary set of log in credentials that you can use to log in to the Docker process on your local machine | Write | |||
| CreateDisk | Grants permission to create a disk | Write | |||
| CreateDiskFromSnapshot | Grants permission to create a disk from snapshot | Write | |||
| CreateDiskSnapshot | Grants permission to create a disk snapshot | Write | |||
| CreateDistribution | Grants permission to create an Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| CreateDomain | Grants permission to create a domain resource for the specified domain name | Write |
route53:DeleteHostedZone route53:GetHostedZone route53:ListHostedZonesByName route53domains:GetDomainDetail route53domains:GetOperationDetail route53domains:ListDomains route53domains:ListOperations route53domains:UpdateDomainNameservers |
||
| CreateDomainEntry | Grants permission to create one or more DNS record entries for a domain resource: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT) | Write | |||
| CreateGUISessionAccessDetails | Grants permission to create URLs that are used to access an instance's graphical user interface (GUI) session | Write | |||
| CreateInstanceSnapshot | Grants permission to create an instance snapshot | Write | |||
| CreateInstances | Grants permission to create one or more instances | Write | |||
| CreateInstancesFromSnapshot | Grants permission to create one or more instances based on an instance snapshot | Write | |||
| CreateKeyPair | Grants permission to create a key pair used to authenticate and connect to an instance | Write | |||
| CreateLoadBalancer | Grants permission to create a load balancer | Write |
lightsail:CreateDomainEntry lightsail:GetDomains |
||
| CreateLoadBalancerTlsCertificate | Grants permission to create a load balancer TLS certificate | Write |
lightsail:CreateDomainEntry lightsail:GetDomains |
||
| CreateRelationalDatabase | Grants permission to create a new relational database | Write | |||
| CreateRelationalDatabaseFromSnapshot | Grants permission to create a new relational database from a snapshot | Write | |||
| CreateRelationalDatabaseSnapshot | Grants permission to create a relational database snapshot | Write | |||
| DeleteAlarm | Grants permission to delete an alarm | Write | |||
| DeleteAutoSnapshot | Grants permission to delete an automatic snapshot of an instance or disk | Write | |||
| DeleteBucket | Grants permission to delete an Amazon Lightsail bucket | Write | |||
| DeleteBucketAccessKey | Grants permission to delete an access key for the specified Amazon Lightsail bucket | Write | |||
| DeleteCertificate | Grants permission to delete an SSL/TLS certificate | Write | |||
| DeleteContactMethod | Grants permission to delete a contact method | Write | |||
| DeleteContainerImage | Grants permission to delete a container image that is registered to your Amazon Lightsail container service | Write | |||
| DeleteContainerService | Grants permission to delete your Amazon Lightsail container service | Write | |||
| DeleteDisk | Grants permission to delete a disk | Write | |||
| DeleteDiskSnapshot | Grants permission to delete a disk snapshot | Write | |||
| DeleteDistribution | Grants permission to delete your Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| DeleteDomain | Grants permission to delete a domain resource and all of its DNS records | Write | |||
| DeleteDomainEntry | Grants permission to delete a DNS record entry for a domain resource | Write | |||
| DeleteInstance | Grants permission to delete an instance | Write | |||
| DeleteInstanceSnapshot | Grants permission to delete an instance snapshot | Write | |||
| DeleteKeyPair | Grants permission to delete a key pair used to authenticate and connect to an instance | Write | |||
| DeleteKnownHostKeys | Grants permission to delete the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance | Write | |||
| DeleteLoadBalancer | Grants permission to delete a load balancer | Write | |||
| DeleteLoadBalancerTlsCertificate | Grants permission to delete a load balancer TLS certificate | Write | |||
| DeleteRelationalDatabase | Grants permission to delete a relational database | Write | |||
| DeleteRelationalDatabaseSnapshot | Grants permission to delete a relational database snapshot | Write | |||
| DetachCertificateFromDistribution | Grants permission to detach an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| DetachDisk | Grants permission to detach a disk from an instance | Write | |||
| DetachInstancesFromLoadBalancer | Grants permission to detach one or more instances from a load balancer | Write | |||
| DetachStaticIp | Grants permission to detach a static IP from an instance to which it is attached | Write | |||
| DisableAddOn | Grants permission to disable an add-on for an Amazon Lightsail resource | Write | |||
| DownloadDefaultKeyPair | Grants permission to download the default key pair used to authenticate and connect to instances in a specific AWS Region | Write | |||
| EnableAddOn | Grants permission to enable or modify an add-on for an Amazon Lightsail resource | Write | |||
| ExportSnapshot | Grants permission to export an Amazon Lightsail snapshot to Amazon EC2 | Write |
iam:CreateServiceLinkedRole iam:PutRolePolicy |
||
| GetActiveNames | Grants permission to get the names of all active (not deleted) resources | Read | |||
| GetAlarms | Grants permission to view information about the configured alarms | Read | |||
| GetAutoSnapshots | Grants permission to view the available automatic snapshots for an instance or disk | Read | |||
| GetBlueprints | Grants permission to get a list of instance images, or blueprints. You can use a blueprint to create a new instance already running a specific operating system, as well as a pre-installed application or development stack. The software that runs on your instance depends on the blueprint you define when creating the instance | Read | |||
| GetBucketAccessKeys | Grants permission to get the existing access key IDs for the specified Amazon Lightsail bucket | Read | |||
| GetBucketBundles | Grants permission to get the bundles that can be applied to an Amazon Lightsail bucket | Read | |||
| GetBucketMetricData | Grants permission to get the data points of a specific metric for an Amazon Lightsail bucket | Read | |||
| GetBuckets | Grants permission to get information about one or more Amazon Lightsail buckets | Read | |||
| GetBundles | Grants permission to get a list of instance bundles. You can use a bundle to create a new instance with a set of performance specifications, such as CPU count, disk size, RAM size, and network transfer allowance. The cost of your instance depends on the bundle you define when creating the instance | Read | |||
| GetCertificates | Grants permission to view information about one or more Amazon Lightsail SSL/TLS certificates | Read | |||
| GetCloudFormationStackRecords | Grants permission to get information about all CloudFormation stacks used to create Amazon EC2 resources from exported Amazon Lightsail snapshots | Read | |||
| GetContactMethods | Grants permission to view information about the configured contact methods | Read | |||
| GetContainerAPIMetadata | Grants permission to view information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin | Read | |||
| GetContainerImages | Grants permission to view the container images that are registered to your Amazon Lightsail container service | Read | |||
| GetContainerLog | Grants permission to view the log events of a container of your Amazon Lightsail container service | Read | |||
| GetContainerServiceDeployments | Grants permission to view the deployments for your Amazon Lightsail container service | Read | |||
| GetContainerServiceMetricData | Grants permission to view the data points of a specific metric of your Amazon Lightsail container service | Read | |||
| GetContainerServicePowers | Grants permission to view the list of powers that can be specified for your Amazon Lightsail container services | Read | |||
| GetContainerServices | Grants permission to view information about one or more of your Amazon Lightsail container services | Read | |||
| GetCostEstimate | Grants permission to get the information about the cost estimate for a specified resource | Read | |||
| GetDisk | Grants permission to get information about a disk | Read | |||
| GetDiskSnapshot | Grants permission to get information about a disk snapshot | Read | |||
| GetDiskSnapshots | Grants permission to get information about all disk snapshots | Read | |||
| GetDisks | Grants permission to get information about all disks | Read | |||
| GetDistributionBundles | Grants permission to view the list of bundles that can be applied to you Amazon Lightsail content delivery network (CDN) distributions | Read | |||
| GetDistributionLatestCacheReset | Grants permission to view the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution | Read | |||
| GetDistributionMetricData | Grants permission to view the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution | Read | |||
| GetDistributions | Grants permission to view information about one or more of your Amazon Lightsail content delivery network (CDN) distributions | Read | |||
| GetDomain | Grants permission to get DNS records for a domain resource | Read | |||
| GetDomains | Grants permission to get DNS records for all domain resources | Read | |||
| GetExportSnapshotRecords | Grants permission to get information about all records of exported Amazon Lightsail snapshots to Amazon EC2 | Read | |||
| GetInstance | Grants permission to get information about an instance | Read | |||
| GetInstanceAccessDetails | Grants permission to get temporary keys you can use to authenticate and connect to an instance | Write | |||
| GetInstanceMetricData | Grants permission to get the data points for the specified metric of an instance | Read | |||
| GetInstancePortStates | Grants permission to get the port states of an instance | Read | |||
| GetInstanceSnapshot | Grants permission to get information about an instance snapshot | Read | |||
| GetInstanceSnapshots | Grants permission to get information about all instance snapshots | Read | |||
| GetInstanceState | Grants permission to get the state of an instance | Read | |||
| GetInstances | Grants permission to get information about all instances | Read | |||
| GetKeyPair | Grants permission to get information about a key pair | Read | |||
| GetKeyPairs | Grants permission to get information about all key pairs | Read | |||
| GetLoadBalancer | Grants permission to get information about a load balancer | Read | |||
| GetLoadBalancerMetricData | Grants permission to get the data points for the specified metric of a load balancer | Read | |||
| GetLoadBalancerTlsCertificates | Grants permission to get information about a load balancer's TLS certificates | Read | |||
| GetLoadBalancerTlsPolicies | Grants permission to get a list of TLS security policies that you can apply to Lightsail load balancers | Read | |||
| GetLoadBalancers | Grants permission to get information about load balancers | Read | |||
| GetOperation | Grants permission to get information about an operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on | Read | |||
| GetOperations | Grants permission to get information about all operations. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on | Read | |||
| GetOperationsForResource | Grants permission to get operations for a resource | Read | |||
| GetRegions | Grants permission to get a list of all valid AWS Regions for Amazon Lightsail | Read | |||
| GetRelationalDatabase | Grants permission to get information about a relational database | Read | |||
| GetRelationalDatabaseBlueprints | Grants permission to get a list of relational database images, or blueprints. You can use a blueprint to create a new database running a specific database engine. The database engine that runs on your database depends on the blueprint you define when creating the relational database | Read | |||
| GetRelationalDatabaseBundles | Grants permission to get a list of relational database bundles. You can use a bundle to create a new database with a set of performance specifications, such as CPU count, disk size, RAM size, network transfer allowance, and standard of high availability. The cost of your database depends on the bundle you define when creating the relational database | Read | |||
| GetRelationalDatabaseEvents | Grants permission to get events for a relational database | Read | |||
| GetRelationalDatabaseLogEvents | Grants permission to get events for the specified log stream of a relational database | Read | |||
| GetRelationalDatabaseLogStreams | Grants permission to get the log streams available for a relational database | Read | |||
| GetRelationalDatabaseMasterUserPassword | Grants permission to get the master user password of a relational database | Write | |||
| GetRelationalDatabaseMetricData | Grants permission to get the data points for the specified metric of a relational database | Read | |||
| GetRelationalDatabaseParameters | Grants permission to get the parameters of a relational database | Read | |||
| GetRelationalDatabaseSnapshot | Grants permission to get information about a relational database snapshot | Read | |||
| GetRelationalDatabaseSnapshots | Grants permission to get information about all relational database snapshots | Read | |||
| GetRelationalDatabases | Grants permission to get information about all relational databases | Read | |||
| GetStaticIp | Grants permission to get information about a static IP | Read | |||
| GetStaticIps | Grants permission to get information about all static IPs | Read | |||
| ImportKeyPair | Grants permission to import a public key from a key pair | Write | |||
| IsVpcPeered | Grants permission to get a boolean value indicating whether the Amazon Lightsail virtual private cloud (VPC) is peered | Read | |||
| OpenInstancePublicPorts | Grants permission to add, or open a public port of an instance | Write | |||
| PeerVpc | Grants permission to try to peer the Amazon Lightsail virtual private cloud (VPC) with the default VPC | Write | |||
| PutAlarm | Grants permission to creates or update an alarm, and associate it with the specified metric | Write | |||
| PutInstancePublicPorts | Grants permission to set the specified open ports for an instance, and closes all ports for every protocol not included in the request | Write | |||
| RebootInstance | Grants permission to reboot an instance that is in a running state | Write | |||
| RebootRelationalDatabase | Grants permission to reboot a relational database that is in a running state | Write | |||
| RegisterContainerImage | Grants permission to register a container image to your Amazon Lightsail container service | Write | |||
| ReleaseStaticIp | Grants permission to delete a static IP | Write | |||
| ResetDistributionCache | Grants permission to delete currently cached content from your Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| SendContactMethodVerification | Grants permission to send a verification request to an email contact method to ensure it's owned by the requester | Write | |||
| SetIpAddressType | Grants permission to set the IP address type for a Amazon Lightsail resource | Write | |||
| SetResourceAccessForBucket | Grants permission to set the Amazon Lightsail resources that can access the specified Amazon Lightsail bucket | Write | |||
| StartGUISession | Grants permission to initiate a graphical user interface (GUI) session used to access an instance's operating system or application | Write | |||
| StartInstance | Grants permission to start an instance that is in a stopped state | Write | |||
| StartRelationalDatabase | Grants permission to start a relational database that is in a stopped state | Write | |||
| StopGUISession | Grants permission to terminate a graphical user interface (GUI) session used to access an instance's operating system or application | Write | |||
| StopInstance | Grants permission to stop an instance that is in a running state | Write | |||
| StopRelationalDatabase | Grants permission to stop a relational database that is in a running state | Write | |||
| TagResource | Grants permission to tag a resource | Tagging | |||
| TestAlarm | Grants permission to test an alarm by displaying a banner on the Amazon Lightsail console or if a notification trigger is configured for the specified alarm, by sending a notification to the notification protocol | Write | |||
| UnpeerVpc | Grants permission to try to unpeer the Amazon Lightsail virtual private cloud (VPC) from the default VPC | Write | |||
| UntagResource | Grants permission to untag a resource | Tagging | |||
| UpdateBucket | Grants permission to update an existing Amazon Lightsail bucket | Write | |||
| UpdateBucketBundle | Grants permission to update the bundle, or storage plan, of an existing Amazon Lightsail bucket | Write | |||
| UpdateContainerService | Grants permission to update the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names | Write | |||
| UpdateDistribution | Grants permission to update an existing Amazon Lightsail content delivery network (CDN) distribution or its configuration | Write | |||
| UpdateDistributionBundle | Grants permission to update the bundle of your Amazon Lightsail content delivery network (CDN) distribution | Write | |||
| UpdateDomainEntry | Grants permission to update a domain recordset after it is created | Write | |||
| UpdateInstanceMetadataOptions | Grants permission to update metadata options for an instance | Write | |||
| UpdateLoadBalancerAttribute | Grants permission to update a load balancer attribute, such as the health check path and session stickiness | Write | |||
| UpdateRelationalDatabase | Grants permission to update a relational database | Write | |||
| UpdateRelationalDatabaseParameters | Grants permission to update the parameters of a relational database | Write |
Resource types defined by Amazon Lightsail
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| Domain |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Domain/$
{
Id}
|
|
| Instance |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Instance/$
{
Id}
|
|
| InstanceSnapshot |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:InstanceSnapshot/$
{
Id}
|
|
| KeyPair |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:KeyPair/$
{
Id}
|
|
| StaticIp |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:StaticIp/$
{
Id}
|
|
| Disk |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Disk/$
{
Id}
|
|
| DiskSnapshot |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:DiskSnapshot/$
{
Id}
|
|
| LoadBalancer |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:LoadBalancer/$
{
Id}
|
|
| LoadBalancerTlsCertificate |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:LoadBalancerTlsCertificate/$
{
Id}
|
|
| ExportSnapshotRecord |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:ExportSnapshotRecord/$
{
Id}
|
|
| CloudFormationStackRecord |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:CloudFormationStackRecord/$
{
Id}
|
|
| RelationalDatabase |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:RelationalDatabase/$
{
Id}
|
|
| RelationalDatabaseSnapshot |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:RelationalDatabaseSnapshot/$
{
Id}
|
|
| Alarm |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Alarm/$
{
Id}
|
|
| Certificate |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Certificate/$
{
Id}
|
|
| ContactMethod |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:ContactMethod/$
{
Id}
|
|
| ContainerService |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:ContainerService/$
{
Id}
|
|
| Distribution |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Distribution/$
{
Id}
|
|
| Bucket |
arn:$
{
Partition}:lightsail:$
{
Region}:$
{
Account}:Bucket/$
{
Id}
|
Condition keys for Amazon Lightsail
Amazon Lightsail defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see
Condition keys table
.
To view the global condition keys that are available to all services, see Available global condition keys .
| Condition keys | Description | Type |
|---|---|---|
| aws:RequestTag/${TagKey} | Filters access by a tag key and value pair that is allowed in the request | String |
| aws:ResourceTag/${TagKey} | Filters access by a tag key and value pair of a resource | String |
| aws:TagKeys | Filters access by a list of tag keys that are allowed in the request | ArrayOfString |


Sponsorship opportunities are available For more information, download our Sponsorship Prospectus or email info@devspaceconf.com.


Here you can change information about user.
Here you can promote users to admins or demote admins to regular users.
| {{user.email}} | Full name | {{user.firstName}} {{user.lastName}} | Role | {{user.roles[0].role | roles: user.roles[0].role}} | Address | r{{user.address.city}} {{user.address.building}} | Actions |
|
|---|


{{ define "main" }}
If you want to opt out of receiving interest based ads from Yieldmo, please use the button below. Note that you may still receive advertisements from Yieldmo, opting out will only exclude your browser from interest based ads.
Also, please understand that Yieldmo will set an opt out cookie on your browser to save your preference. Note that if you delete your cookies or view content on a different browser, you could still receive interest based ads from Yieldmo.
To opt out of interest based ads from Yieldmo on mobile applications, please follow the instructions for Android and iOS


Some years ago I was on a business travel with a coworker that is also a very close friend. There was a holiday right after the day we were supposed to finish our job, so we decided to extend our stay to visit Paris. This is where the nightmare started.
We are very close friends, but we had never traveled together just the two of us. We have very different habits and this made the trip very difficult.
The first disagreement was about the hotel. I wanted to stay close to downtown even if I had to spend more money while he preferred a cheaper place, not so close to downtown but close to the subway. We decided for staying in the cheaper option.
When we got to Paris we found out that there was a full strike on subways and buses. We were far from downtown and if we canceled the hotel we wouldn't get any refund. We didn't have many choices, so we decided to stay in the hotel. As there was no subway my initial plan was to take a cab to go to downtown, since we were more than 1 hour walking from there. When we asked in the front desk about the average price of a ride to downtown we wanted to cry, it was ridiculously expensive. Anyway, I was still willing to pay, since we would divide by 2, but my friend convinced me to go walking. At this time I thought, what else can go wrong? Well, many other things went wrong during this trip. My friend loves museums and I like, but I don't want to spend my whole day staring at paints and sculptures. I really don't need to see every single piece of every session of the museum, and this is exactly what my friend did.
At the end of the day I was really tired and I felt I didn't do anything I enjoy. I just wanted to have a good dinner and go to the bed, but again the dinner was not what I was expecting since my friend preferred to eat in a very simple place to save money. After the dinner he suggested to come back to hotel walking and this was the last straw. I couldn't stand that situation anymore. I tried to avoid discussing with my friend the whole day, but at this point I was so pissed that I couldn't control my emotions. We discussed and it was really really bad.
We went over all of this and we are still good friends but if I could I would change everything that I did since the travel planning. I avoided all the conflicts with my friend since the beginning but deep in my heart I was not happy with the decisions we made, so I got frustrated and that made me had a very tough discussion with him.
Today I see that avoiding the conflicts was not good for neither of us. We should have talked/discussed more about all the disagreements to find a balance, where both of us were satisfied with all the decisions. I learnt from this experience that it is important to try to be comfortable to express opinions and to handle conflicts in a good way.


[gecode-users] Copying spaces
Christian Schulte
cschulte at kth.se
Wed Feb 4 16:15:13 CET 2009
That is absolutely bizarre! unforce de-registers a propagator that requires
deletion (many propagators do not have to be deleted if their space are
deleted. some need explicit deletion as they keep external memory for
example).
So, I have no idea, I thought for a while. Do you use anything self-built
(propagator, branching)? Or maybe is your copy function and/or the
constructor called by the copy function wrong (forgot something to update
and just assigned it)? That is most likely.
Christian
--
Christian Schulte, www.ict.kth.se/~cschulte/
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Malcolm Ryan
Sent: Wednesday, February 04, 2009 10:03 AM
To: gecode list
Subject: Re: [gecode-users] Copying spaces
On 04/02/2009, at 7:14 PM, Christian Schulte wrote:
> Copy() is an internal function (maybe we should make it protected)
> use by
> the clone() operation. So you have to use clone() to create a clone
> of a
> space!
Thanks, that sorted out that problem... but left me with another. I
haven't quite isolated it down to a simple example yet, but can you
offer any idea what might be causing this:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0033d000
Gecode::Actor::unforce () at core.icc:1591
1591 while (this != *f)
The GDB backtrace shows:
#0 Gecode::Actor::unforce () at core.icc:1591
#1 Gecode::Actor::unforce () at core.icc:1591
#2 Gecode::Int::Extensional::Base<Gecode::Int::IntView,
true>::dispose (this=0x1031038, home=0xf23d20) at gecode/int/
extensional.cc:145
#3 0x0058ae7d in Gecode::Actor::unforce () at core.icc:1646
#4 0x0058ae7d in
Gecode::Int::Extensional::Basic<Gecode::Int::IntView>::propagate
(this=0x1031038, home=0xf23d20) at gecode/int/extensional.cc:145
#5 0x0026a043 in Gecode::Space::status (this=0xf23d20, pn=@0x27c1b8)
at gecode/int/extensional.cc:145
It occurs at a point in the code where I have just cloned a space and
committed a Branching.
Calling it again after the commit causes this crash. If I run the same
code on the original space (not the clone) it works fine.
I know that this is not really enough detail, but if you could give me
any idea of what kind of problem I might be facing, it could help me
track down the bug. What is the unforce() function doing at this point?
Malcolm
_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users
More information about the gecode-users
mailing list


|
Figure 1
|
Average group achievement η G as a function of risk. Left: G ... |
|
Figure 2
|
Gradient of selection (top panels, A and B) and stationary d ... |
|
Figure 3
|
Average group achievement η G as a function of the location ... |
|
Figure 4
|
Optimal switching point s* as a function of the ratio a/ b, ... |


Default Button
Small Button
Large Button
Button - Size
Default
Default
Small
Small
Small
Small
Small
Small
Large
H
E
L
L
O
Large
Large
Large
Large


Orange County attracts millions of visitors every year. Discover why.
Disneyland
Disneyland and California Adventure attract millions of visitors each year. Located in the heart
of Orange County in Anaheim, Disneyland is known for its family friendly atmosphere and providing a
magical experience to children and adults alike.
Catalina Island
Catalina Island is a small island about an hour's boat ride off the coast. Most days it is visible
from the shore in Newport Beach and thousands of visitors take the ferry or a helicopter to visit every year.
On the island there are several restaurants and beaches to relax at, as well as a historic theater and a tour around the island.
Whale Watching
A popular option for many visitors is a whale watching expidition. There are several local businesses that operate
tours of the coastline and a chance to see one of these majestic animals in person.


Top 4% at 2020 Kakao Front-End Development Challenge, 76th Mocha Contributor, Platinum 1 in BOJ
I started programming by developing a university community, and I joined the Air Force and developed a project to provide weather data services. One of the most representative projects is the AMOS project currently used by the airport control department.
Based on the experience of solving more than 1,300 algorithmic problems in BOJ, I have experienced over 67% improvement in performance by using segments and a 15-fold increase in data growth, but 30% improvement by removing unnecessary business logic and requests.
Strong
JS(ES5+) / Vue.js/ Vuex / React.js / Redux / D3.js / Node.js / Express.js / Request.js / Cheerio.js / Nightmare.js / Mocha.js / TypeScript / GraphQL / HTML5 / CSS / Webpack / C++(PS) / Functional Programming / MongoDB / Neo4j / Nginx
Knowledgeable
Spring / Java / jQuery / Angular.js / PHP / Python / TensorFlow / DL(LSTM, CNN) / Matplotlib / Numpy / Pandas / Beautiful Soup 4 / Selenium / JSP / MySQL / TiberoDB / FirebaseDB
ETC
Git / Docker / IOT / OPIC-IM2(20.02.29) / Secure Coding Completion(KISA)
2020 Kakao Development Challenge Front-End Challenges
20.07 / Top 4% / Programmers / link
2019 Countributon – Mocha.js
19.12.04 / Encouragement Prize / Ministry of Science and ICT
citation (development of North Korean Artillery Weather Station)
19.04.11 / defense Intelligence Headquarters / Defense Department
citation (development of AMOS)
18.08.20 / Brigadier General / Weather Group of R.O.K Air Force
2nd place in SW development competition for military in South Korea
17.01.24 / General / Defense Department
1st place in Startup Korea Gangwon Hackathon
15.12 13/ 1st place / Gangwon Creative Economy Innovation Center
2nd place in the 2015 Korea Presentation Contest
15.01.29 / 2nd place in university student category / G1 Gangwon


{{- $featured := (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }} {{- $featured_num := (.Site.Params.widgets.featured_num | default 10) }} {{- if $featured }}


Rafforty:
Uh...
What's that in your pocket? Can I see it?
...
I think this may be the right one! I must start an investigation at once!
Thank you for all your help. Please accept this reward. It's not much, but it is a token of our appreciation for your hard work.


Update?
Are you sure you want to update this document?
This will change the current document on the filesystem! After that the new version has to be processed again.
This action can't be reverted.