Class: Aws::Glacier::Types::GetJobOutputOutput
| Inherits: |
Struct
|
| Defined in: |
(unknown) |
Overview
Instance Attribute Summary collapse
-
#accept_ranges ⇒ String
Indicates the range units accepted.
-
#archive_description ⇒ String
The description of an archive.
-
#body ⇒ IO
The job data, either archive data or inventory data.
-
#checksum ⇒ String
The checksum of the data in the response.
-
#content_range ⇒ String
The range of bytes returned by Amazon Glacier.
-
#content_type ⇒ String
The Content-Type depends on whether the job output is an archive or a vault inventory.
-
#status ⇒ Integer
The HTTP response code for a job output request.
Instance Attribute Details
#accept_ranges ⇒ String
Indicates the range units accepted. For more information, go to RFC2616.
#archive_description ⇒ String
The description of an archive.
#body ⇒ IO
The job data, either archive data or inventory data.
#checksum ⇒ String
The checksum of the data in the response. This header is returned only when retrieving the output for an archive retrieval job. Furthermore, this header appears only under the following conditions: * You get the entire range of the archive. * You request a range to return of the archive that starts and ends on a multiple of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as a response header. * You request a range of the archive to return that starts on a multiple of 1 MB and goes to the end of the archive. For example, if you have a 3.1 MB archive and you specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is returned as a response header.
#content_range ⇒ String
The range of bytes returned by Amazon Glacier. If only partial output is downloaded, the response provides the range of bytes Amazon Glacier returned. For example, bytes 0-1048575/8388608 returns the first 1 MB from 8 MB.
#content_type ⇒ String
The Content-Type depends on whether the job output is an archive or a vault inventory. For archive data, the Content-Type is application/octet-stream. For vault inventory, if you requested CSV format when you initiated the job, the Content-Type is text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type is application/json.
#status ⇒ Integer
The HTTP response code for a job output request. The value depends on whether a range was specified in the request.


Behavior
Nidoking swings his large tail during battle. If his opponent flinches, he attacks immediately.


---
layout: default
---
About Me
I am a Software Engineer whose ultimate goal is very simple. "Help other developers to get unstuck." By writing blog about things that I got stuck with, I hope that, by reading my blog, it will help them to get unstuck and allow them to quickly resolve the issue that they are having. And, move on to the next big thing! So far, I have written {{ site.posts | size }} of them since Oct, 2016. And for sure, they will keep coming. Check them out!
Education
Work experience
Projects
-
Personal tech blog - share my technical knowledge back with the world. Used Jekyll to build the site. Achieved 15k Google search visits per month along with 25.2k page views monthly and 50+ Disqus comments in total.
-
Google Play Music playlist exporter - a Chrome extension that allows user to export playlist to Spotify quickly.
-
WooCommerce CSV importer - a WordPress plugin that allows user to import multiple products into WooCommerce with single CSV file (column order can be customized).
-
BattleSnake - an AI Snake that fights against other snakes in the classic snake game. Entered semi-final classic division out of 100+ teams.
-
To-do list - a progressive web app that makes it easy for user to plan their day.
-
Simple Philips Hue iOS app - a simple Philips Hue app that allows user to control their light.
For more information, please head over to my LinkedIn or view the PDF version of my résumé.


--- layout: post status: publish published: true title: "观影，2012" author: Leask author_login: leask author_email<EMAIL_ADDRESS>author_url: https://leaskh.com wordpress_id: 44 wordpress_url: http://leaskh.wordpress.com/2009/12/12/%e8%a7%82%e5%bd%b1%ef%bc%8c2012 date: '2009-12-12 15:42:47 +0800' date_gmt: '2009-12-12 15:42:47 +0800' categories: tags: [] comments: [] ---


A Literary Curiosity
Source of witness transcribed: The New Orleans Crescent (New Orleans, Louisiana)
Date of witness transcribed: 8 March 1868
Notes about this poem: "A Literary Curiosity" was printed in at least 224 newspapers during the nineteenth century. It can be found using ID 589905 in this table of most widely-reprinted poems.
§
The following remarkable little poem is a contribution to the San Francisco Times, from the pen of Mrs. H. A. Deming. The reader will notice that each line is a quotation from some one of the standard authors of England and America. This is the result of a year's laborious search among the voluminous writings of thirty-eight leading poets of the past and present. The number of each line refers to the author below:
LIFE.
- 1—Why all this toil for triumphs of an hour?
-
2—Life’s a short summer, man a flower;
- 3—By turns we catch the vital breath and die—
-
4—The cradle and the tomb, alas, so nigh.
- 5—To be is better far than not to be,
-
6—Though all man’s life may seem a tragedy;
- 7—But light cares speak when mighty griefs are dumb,
-
8—The bottom is but shallow when they come.
- 9—Your fate is but the common fate of all;
-
10—Unmingled joys, here, to no man befall,
- 11—Nature to each allots his proper sphere,
-
12—Fortune makes folly her peculiar care;
- 13—Custom does not often reason overrule,
-
14—And throw a cruel sunshine on a fool.
- 15—Live well, how long or short permit to heaven.
-
16—They who forgive most, shall be most forgiven.
- 17—Sin may be clasped so close we cannot see its face—
-
18—Vile intercourse where virtue has no place;
- 19—Then keep each passion down, however dear,
-
20—Thou pendulum, betwixt a smile and tear;
- 21—Her sensual snares, let faithless pleasures lay,
-
22—With craft and skill, to ruin and betray;
- 23—Soar not too high to fall, but stoop to rise,
-
24—We masters grow of all that we despise.
- 25—O, then, renounce that impious self-esteem;
-
26—Riches have, wings, and grandeur is a dream.
- 27—Think not ambition wise because ‘tis brave,
-
28—The paths of glory lead but to the grave.
- 29—What is ambition?—’tis a glorious cheat!—
-
30—Only destructive to the brave and great.
- 31—What’s all the gaudy glitter of a crown?
-
32—The way to bliss lies not on beds of down.
- 33—How long we live, not years, but actions, tell;
-
34—That man lives twice who lives the first life well.
- 35—Make, then, while yet we may, your God your friend.
-
36—Whom Christians worship, yet not comprehend.
- 37—The trust that’s given guard; and to yourself be just;
- 38—For, live we how we can, yet die we must.
1, Young; 2, Dr. Johnson; 3, Pope; 4, Prior; 5, Sewel; 6, Spenser; 7, Daniel; 8, Sir Walter Raleigh; 9, Longfellow; 10, Southwell; 11, Congreve; 12, Churchill; 13, Rochester; 14, Armstrong; 15, Milton; 16, Baily; 17, Trench; 18, Somerville; 19, Thompson; 20, Byron; 21, Smollett; 22, Crabbe; 23, Massinger; 24, Cowley; 25, Beattie; 26, Cowper; 27, Sir Walter Davenant; 28, Grey; 29, Willis; 30, Addison; 31, Dryden; 32, Francis/Quarles; 33, Watkins; 34, Herrick; 35, William Mason; 36, Hill; 37, Dana; 38, Shakspeare.


Cacti - T. peruvianus
Listen I'm very sorry if this report is long winded. I myself do not usually have the patience to read long reports, and that's unfortunate. But I strongly believe contained in this report is a message that 'some' must hear. What that is? Even I dont know.
I've written an experience about this cactus before which can be viewed on this website. It's almost disturbing to me to see that it has been read a few thousand times. Why? It's not that I find the information therin to be misleading, but however very revealing to the state of mind I was in at that time in my life. I plugged this cactus as an 'acid substitute' and made statements such as 'this plant does not seem to have any spirit attached to it.' I scoff at this now. I am now a disabled veteran, I have been burned by this substance a few times, almost to a point that it makes my hair stand up still when I think about some of those trips.
I can never again take this cactus alone by itself. The experience is rather draining, and after some of these things I've seen on it in conjunction with nitrous, all naked trips seem to pale in comparison to the mixture of a psychedelic and nitrous oxide. My preperation of the dried material is included in my previous report 'gel cap method.' I should also add that a few days prior to a trip, I'll buy a case of about 600 indivdual nitrous oxide containers from various online vendors. The cheapest I've found has been around $160 and it's unfortuante that I have to say different brands of the gas have different quality. Price is probably a factor.
On an August night, I very spontaneously decided I was going to trip that night, rather than the previous planned night. This is often the case. I had fought with my wife this night, and decided I was going to trip alone in spite of her. I ingested about 20 pills of ground dried cactus material. Sometimes I vomit in about an hour or so, on this night, there was no nausea. As the effects began, thus also began the hedonistic comsumption of nitrous oxide. About three canisters at a time in a punch ball balloon. Nitrous oxide is the bees knees to me, and mixed with mescaline . . . WOW! I dont know if you've ever seen the Aristocrats, but it was on the televison, and I watched it as I sat and listened to the 'Saturday Night Fever' soundtrack on a pair of headphones. I know this seems bizarre, and it is really. But that kind of music just seems to stave off what could be a possible bad trip.
Entities of an angelic, very giddy and happy nature were definately hanging around me, very amused at what I was doing. What began to happen is a phenomenon that I don't know if it would happen to just anyone if they were going to do this, but in the height of a nitrous high, (which is fleeting and quick) the images on the television would change in a very intellegent manner.  Now, as i was saying, sometimes the images on the tv would change. I saw the afterlife. I saw what angels look like. They lept and bound across their almost 'ancient greece' looking world in defiance of the laws of physics. I've seen the Aristocrats before, I'm pretty sure it didnt have that in it.
'Saturday Night Fever' soundtrack was soon over. I do not have a large collection CD's. But in that collection were two best of classical music CD's I had bought for like 4 dollars and never listened too. I had no intention of listening to them for any long length of time. Really just a ' I wonder what this will sound like when I do a whip it,' passing curiosity. I'm sure some of you are familar with the theme from 2001 space oddessy, if not, just know that it is a very majestic piece that demands your attention.
I moved outside to the patio which was on the 8th floor, looking almost directly east at the virginia coast line. The air was neither hot nor cold, just perfect. As I inhaled that gas for the first time out on the patio while exposed to the elements, sunrise started to officially begin. And it was totally synchronized with these very famous themes of classical music which we have almost all heard in todays media. I just never really realized how ingenius they were. They stimulated a trip way more insightful and beautiful than crazy techno music, rock music, or anything for that matter ever could. Before i knew it, the first CD was over, all the while I'm slipping in and out of tangible reality as I do one whip it, after another.
I don't mean to offend anyone, but I say without hesitation, this was a trip to go down in history. I was definately being noticed by the universe and higher ups. They spared no expense to give the most amazing show a human could possibly experience. I'd go so far as to say, this was probably one of the most beautiful, although be it bizarre trips in all of history. The sunrise, at that moment in time, truly was a celebration, God was celebrating the coming new day. . . . . . . . . . . . but please take note of this. My wife at one point came out and said, 'you're face is all blue.' I gave her a sarcastic deep breath and carried on depriving myself of oxygen.
I tried to recreate the experience a few weeks later. I was not successful. It wasn't a bad trip per say. Just .. . dark. I had at the time a 4 month old kitty. For what seemed like an hour, he stared very intently at a corner of the room, an area where a 'visitor' had arrived. I had not slept that much that day, and my trip was far from accompanied by angels. I think they were asleep too. That was the impression the ouija board I had sitting next to me gave me. (for some reason I'm able to use those things by myself when I'm on any substance.)That 'visitor' sat in the ceiling corner for quite some time, the cat just intently stared. I said aloud, ' I dont mind if you're here, just behave yourself.' They seemed to comply.
My wife hates when I do this. (take mescaline and do one whip it after another.) In the year we lived there I did it about 5 times. Each time she claims I was inviting entities into the house that were not satisfied with just hanging around me, but came into the bedroom and bothered her as well. I wouldn't say they bothered me, I thought I was bullet proof. I didn't care if I opened any gateways. Hey, I'm an old soul right? Who's gonna mess with me? Ignorance. I think what bothered her most was that I was just sitting there like a zombie inhaling one balloon after another, . . . this can't be healthy.
Something is telling me that it is absolutely necessary to report this. If i can save one person from making the mistake I did, then I've saved a soul I believe. I've done my job. I've already explained in very minimal detail what the most beautiful trip in the world can be like. Allow me to share the factors that brought one of the worst trips of all time. Well . . . I'm sure there have been worse. In fact Im sure I've had worse. So I'll try to make this quick so as to not lose your attention.
My wife went out of town. YAY! I can trip in peace and not have someone in the other room mad at me for freezing my lungs. I had woken up that day, hungover, went and put in a 12 hour shift at the hospital. It was raining and dreary. The apartment was a mess. Well, out of order anyway. I was exhausted when I got home, but I did it anyway. Took about 25 pills this time. . . . . . I've only been tripping for about 15 minutes when what happened next gives me chills to this day when I think about it. I inhaled the gas while looking at my wife's cat, which is an old cat. Hallucinations are usually subjective, meaning, . . . . to me they're there, but they're not, ya know? I saw in plain view, a very large black cat like creature, lean down over my wifes cat and hug it. Then it disappeared. Some kind of cat God?
I continued to do whip its, in denial that very slowly a bad trip was starting. I felt very hostile energy around me. Where I lived was very near where civil war battles had taken place. In an effort to turn this trip into a spiritual conquest, i put on native american music. Readers, in my living room, i saw an 1800's US army soldier ride up to me on a horse, kick me in the face as my blood and teeth flew out of my mouth. I felt no pain, but had just relived some moment in history.
 I dont know what it is about cats, but we only own two. There were suddenly more than two in the apt. Just a slight slight puff off the balloon enabled me to see them very clearly, it was not like a disassoiative state at all.  My cat, the younger one, started running everywhere around the apt SCREAMING! No hallucination here.   When i say everywhere, i mean it was everywhere, and it was diarreah too, so you know he was stepping in it and tracking it everywhere. He sat in the corner breathing heavily with a freaked out look on his face. Some may claim he most likely got into my mescaline and ate it. No, that's not what happened. I'm positive. I had opened a BAD gateway. And whatever was in my apt was feeding off my fear.
I was tripping so hard I wasn't even aware of the intensity. I was confused. And I was crawling all over my apt on my hands and knees trying to clean up cat diarreah. Another strange phenomenon happened. Tear drops. That's what I think they are. But sometimes when I trip, a strange drop of water or two will just drop out of no where and on to my skin. No, my ceiling was not leaking. But as I sat there with my hand in cat shit, a drop of water fell from no where and onto my wedding ring. I don't want to get into what's behind this. I'm just documenting this paranormal activity.
 Still fearful and anxious, still that feeling like someone is right behind me, right up next to me, breathing on my neck. I was determined to make this trip good. I did just one little puff off of the whip it balloon, hardly disassociated at all. And what was a picture of an underwater scene on the tv, just turned into unrecognizable pyschedelic non sense. This was supposed to be cool. And most people would think it's cool. Scared shitless is what I was. I sat there for two hours, doing nothing. No whip its, just sitting there, scared and confused. Afraid to move.
 I managed to turn the trip around. A lyric of jonny Cash singing ' Reach out and touch faith '. I invited some mean military drill intrustor type angel in, and although he could not get rid of these cat demons he kept them at bay. I thought of my RDC from bootcamp. (thats like drill seargent) Suddenly I was empowered.  I had accomplished something big. It was not a happy trip at all. It was an angry one. But thats better than a scary one in my book. I wasn't angry that I had given into my fear, but angry that something so cowardly would feed off of my fear.
In my crumpled black rain coat on the floor I could see that big black cat from earlier. His ears all pulled back like he was being cornered by a big dog. When sunrise was official, while in a whip it high, i saw a bunch of cats scurrying around the apts trying to hide in shadows, they disappated as the light of day hit them, they looked scared. And they something about them didn't look right. Like it was some evil creature wearing a fuzzy cute cat suit. Essentially, to some this is what cats are anyway.
So . . . . that night has totally given me PTSD symptoms. I can't even do whip its by themselves for fear of a flashback. Since then i've done whip-its while watching the morning news and the image on the tv will turn into a scene of a large orgy of women and the devil is in the middle of it all. Im not sure I believe in a devil, but it's still scary.
My wife has told me to include that each of these trips was closed off with me drinking about 9-10 beers, further adding to my 'beat up' feeling the next day. I also failed to mention another paranormal detail. The presence of angel wings. Some times they brush past me, even across, or into my eye. Kinda hurts, but it doesn't. Angel wings seem metallic, almost unbreakable, and there is intricate artwork interlaced on them, like hieroglyphics almost. Oh, and they're BIG! I should also add that what really seemed to bring that bad trip to a halt was drinking beer. It just has the power deafen unwanted influences around me. Which I guess is why homeless schizophrenic guys drink so much. Self medication.
Okay, this report is finally over and way too long. I know I usually dont have the patience to read reports this long, and that's unfortunate. But I really hope this message falls on the right people it needs too.  Some form of psychosis revolving around cats has been instilled in me. I can't wait till i have a dog actually.
BE WELL. BE SAFE. BE SMART.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


This page belongs to WebID Solutions
WebID Solutions
Your transaction Number: 43455345
Step 1 - Online verification via WebRTC
Step 2 - Enter your TAN
Complete
Verifying TAN...


"x"
"1" "PARK,KK, SURH,YJ, STEWART,BC AND MILLER,JA,SYNTHESIS AND PROPERTIES OFVINYL CARBAMATE EPOXIDE, A POSSIBLE ULTIMATE ELECTROPHILIC AND CARCINOGENICMETABOLITE OF VINYL CARBAMATE AND ETHYL CARBAMATE, BIOC __ HEM. BIOPHYS. RES.COMMUN. 169(3):1094-1098, 1990"


Good day, This email message requires your utmost confidentiality. It is with warm heart I am offering you my friendship, and I hope this mail meets you in good time. I know this is a most unusual way to contact you as we have not met personally or had any dealings in the past, but I am humbly asking that you take due consideration of the importance of my proposal and the immense benefit in it for you. Also I duly apologize for infringing on your privacy, if this contact is not acceptable to you, as I make this proposal to you as a person of integrity. First and foremost I wish to introduce myself properly to you. My name is Oliveira Chuli Savimbi, I am a nephew and Personal Assistant to Late Jonas Malheiro Savimbi, leader of UNITA (National Union for the Total Independence of Angola). As led by my instinct, I selected your email address from an internet directory, in my intensive and desperate search for a partner, hence this email to you. I crave your indulgence to read this carefully, in order to have a general overview of my situation. My Uncle was killed in a surprise attack by government troops of Angola, led by President Dos Santos, on Friday 22nd February 2002. After his death, Mr. Antonio Dembo who was his second in command, assumed office as leader of UNITA, due to the lack of the Charisma my Uncle had carried UNITA with in Dembo, there was chaos and struggle for leadership. Prominent members like Carlos Morgado lobbied to depose Dembo and assume leadership in order to enrich themselves and some of them who saw me as a threat to their ambitions, including Mr.Dembo, planned to kill me. The tension and confusion in UNITA become uncontrollable when Mr. Dembo died 10days after my Uncle's death. As I already lost my Uncle who is my mentor in this struggle that has been on for three decades now, not so much of the struggle interested me anymore, as there was no more sense of direction. I then desired a peaceful life, as I no more had interest in the war. For this reason, I secretly left Angola and came her! e (Holland) to seek for political asylum. I am sincerely proposing to you to render me your most needed assistance in respect to safekeeping of some of my Uncle's money that arose from Diamonds sales. This money (US$18.5million), which was already on its way to my Uncle's Swiss Bank account, through the Diplomatic means we use to move money abroad, and was on transit with a Private Security company here in Amsterdam, Holland in February last year when the tragic incident of my Uncle's death occurred. I then instructed the company to secure the safety deposit containing the money pending on further instructions from me. I have waited all this time for security reasons, and have now decided to act with your reliable assistance. As a matter of fact, the reason I came to Holland to seek for political asylum here, is the location of the Security Company here in Amsterdam. Since President Jose Eduardo Dos Santos has lobbied the International Community to freeze my Uncle's assets and accounts abroad, to ground UNITA, and he has already done this in Angola, I cannot lodge the funds in my name any where in the world at the moment. Also I did not declare the funds to the government here on arrival last year. I plan to use this money to safeguard my future. It is very essential that you understand that this kind of trust and confidence I want to place in you is extraordinary, and an act of desperation on my part in order not to lose this money. Please ensure that this contact with you should be treated with utmost secrecy. Your role in this project, is to act on my behalf as a trustee to claim the safety deposit containing the money which is deposited in my name, from the Security company, since I can not participate in any business activity or open a bank account here as a political asylum seeker. After the safety deposit is claimed, the money will lodged into an account preferably a new account you should open for this transaction. My share of the money will be returned to me when my asylum application in this country is granted, and I have permission to do business and open an account here. For your reliable assistance, I will reward you with 15 %($2,775,000) of the money. I have with me, the Certificate of Deposit and the release codes of the vaults for the safety deposit, which is in my name, and will be used for claim from the security company. Also, everything will be legally processed for transfer of ownership to you. This transaction should be completed immediately depending on your prompt response. I thank you in advance as I anticipate your assistance in enabling me achieve this goal. Please contact me on my private email address<EMAIL_ADDRESS>whether or not you are interested in assisting us. This will enable us make alternative plans, in the event of non-interest on your part. To know more about the struggle by UNITA to liberate Angola, visit the links below and read. http://www.the-idler.com/IDLER-02/3-16.html http://news.bbc.co.uk/hi/english/world/africa/newsid_1839000/1839252.stm Sincerely, O.C.Savimbi.


Two gardaí in hospital after patrol car rammed in Limerick
Two men arrested and a knife, cannabis and a car are seized following the incident
Two Limerick-based gardaí are being treated in hospital after sustaining injuries when their patrol car was rammed during a pursuit of another car overnight.
Two men were arrested in connection with the incident, and gardaí also recovered a knife, suspected cannabis, and a car.
The incident began shortly before midnight when a Garda patrol unit attempted to stop another car in the car park of the Crescent Shopping Centre in Doooradoyle, Limerick city.
Gardaí said the car took off at speed in the direction of the Ballykeefe Roundabout, and an armed Garda unit was deployed to assist in the pursuit.
The suspect car rammed a patrol car at the Clonmacken roundabout about 6kms from the shopping centre.
The occupants of this car fled on foot and were pursued by gardaí before being arrested.
Gardaí recovered a knife and €1,500 worth of suspected cannabis, pending analysis, gardaí said.
The car involved in the pursuit was also seized and transported to a location where it will be further searched and forensically examined by gardaí.
In a statement An Garda said two men were being questioned under Section 4 of the Criminal Justice Act, 1984 at Roxboro Rd and Henry Street Garda Stations.”
“Gardaí are appealing for any witnesses to contact Henry Street Garda station on (061) 212 400,” the spokesman said.


Show us in words and photos what gets you moving.
* required
End of stories
Gabriel Florit, Elaina Natario / Globe Staff


public class DbCacheSize
extends java.lang.Object
EnvironmentMutableConfig.setCacheSize(long)
or
using the EnvironmentConfig.MAX_MEMORY
property. An off-heap cache
may also be optionally configured using EnvironmentMutableConfig.setOffHeapCacheSize(long)
or using the EnvironmentConfig.MAX_OFF_HEAP_MEMORY
property.
For best performance, all Btree nodes should fit in the JE cache, including leaf nodes (LNs), which hold the record data, and INs, which hold record keys and other metadata. However, because system memory is limited, it is sometimes necessary to size the cache to hold all or at least most INs, but not the LNs. This utility estimates the size necessary to hold only INs, and the size to hold INs and LNs.
In addition, a common problem with large caches is that Java GC overhead
can become significant. When a Btree node is evicted from the JE main
cache based on JE's LRU algorithm, typically the node will have been
resident in the JVM heap for an extended period of time, and will be
expensive to GC. Therefore, when most or all LNs do not fit in
the main cache, using CacheMode.EVICT_LN
can be beneficial to
reduce the Java GC cost of collecting the LNs as they are moved out of the
main cache. With EVICT_LN, the LNs only reside in the JVM heap for a short
period and are cheap to collect. A recommended approach is to size the JE
main cache to hold only INs, and size the Java heap to hold that amount plus
the amount needed for GC working space and application objects, leaving
any additional memory for use by the file system cache or the off-heap
cache. Tests show this approach results in lower GC overhead and more
predictable latency.
Another issue is that 64-bit JVMs store object references using less space
when the heap size is slightly less than 32GiB. When the heap size is 32GiB
or more, object references are larger and less data can be cached per GiB of
memory. This JVM feature is enabled with the
Compressed Oops
(-XX:+UseCompressedOops
) option, although in modern JVMs it is
on by default. Because of this factor, and because Java GC overhead is
usually higher with larger heaps, a maximum heap size slightly less than
32GiB is recommended, along with Compressed Oops option.
Of course, the JE main cache size must be less than the heap size since the main cache is stored in the heap. In fact, around 30% of free space should normally be reserved in the heap for use by Java GC, to avoid high GC overheads. For example, if the application uses roughly 2GiB of the heap, then with a 32GiB heap the JE main cache should normally be no more than 20GiB.
As of JE 6.4, an optional off-heap cache may be configured in addition to
the main JE cache. See EnvironmentMutableConfig.setOffHeapCacheSize(long)
for
information about the trade-offs in using an off-heap cache. When the
-offheap
argument is specified, this utility displays sizing
information for both the main and off-heap caches. The portion of the data
set that fits in the main cache, and the off-heap size needed to hold the
rest of the data set, will be shown. The main cache size can be specified
with the -maincache
argument, or is implied to be the amount needed
to hold all internal nodes if this argument is omitted. Omitting this
argument is appropriate when CacheMode.EVICT_LN
is used, since only
internal nodes will be stored in the main cache.
To reduce Java GC overhead, sometimes a small main cache is used along with an off-heap cache. Note that it is important that the size the main cache is at least large enough to hold all the upper INs (the INs at level 2 and above). This is because the off-heap cache does not contain upper INs, it only contains LNs and bottom internal nodes (BINs). When a level 2 IN is evicted from the main cache, its children (BINs and LNs) in the off-heap cache, if any, must also be evicted, which can be undesirable, especially if the off-heap cache is not full. This utility displays the main cache size needed to hold all upper INs, and displays a warning if this is smaller than the main cache size specified.
Therefore, when running this utility it is important to specify all EnvironmentConfig
and DatabaseConfig
settings that will be used in
a production system. The EnvironmentConfig
settings are specified
by command line options for each property, using the same names as the
EnvironmentConfig
parameter name values. For example, EnvironmentConfig.LOG_FILE_MAX
, which influences the amount of memory used
to store physical record addresses, can be specified on the command line as:
-je.log.fileMax LENGTH
To be sure that this utility takes into account all relevant settings,
especially as the utility is enhanced in future versions, it is best to
specify all EnvironmentConfig
settings used by the application.
The DatabaseConfig
settings are specified using command line options
defined by this utility.
-nodemax ENTRIES
corresponds to DatabaseConfig.setNodeMaxEntries(int)
.-duplicates
corresponds to passing true to DatabaseConfig.setSortedDuplicates(boolean)
. Note that duplicates are configured
for DPL MANY_TO_ONE and MANY_TO_MANY secondary indices.-keyprefix LENGTH
corresponds to passing true DatabaseConfig.setKeyPrefixing(boolean)
. Note that key prefixing is always used
when duplicates are configured.This utility estimates the JE cache size by creating an in-memory Environment and Database. In addition to the size of the Database, the minimum overhead for the Environment is output. The Environment overhead shown is likely to be smaller than actually needed because it doesn't take into account use of memory by JE daemon threads (cleaner, checkpointer, etc) the memory used for locks that are held by application operations and transactions, the memory for HA network connections, etc. An additional amount should be added to account for these factors.
This utility estimates the cache size for a single JE Database, or a logical table spread across multiple databases (as in the case of Oracle NoSQL DB, for example). To estimate the size for multiple databases/tables with different configuration parameters or different key and data sizes, run this utility for each database/table and sum the sizes. If you are summing multiple runs for multiple databases/tables that are opened in a single Environment, the overhead size for the Environment should only be added once.
In some applications with databases/tables having variable key and data
sizes, it may be difficult to determine the key and data size input
parameters for this utility. If a representative data set can be created,
one approach is to use the DbPrintLog
utility with the -S
option to find the average key and data size for all databases/tables, and
use these values as input parameters, as if there were only a single
database/tables. With this approach, it is important that the DatabaseConfig
parameters are the same, or at least similar, for all
databases/tables.
EnvironmentConfig.TREE_COMPACT_MAX_KEY_LENGTH
parameter.
For a given data set, the impact of key prefixing is determined by how many
leading bytes are in common for the keys in a single bottom internal node
(BIN). For example, if keys are assigned sequentially as long (8 byte)
integers, and the maximum entries
per node
is 128 (the default value) then 6 or 7 of the 8 bytes of the key
will have a common prefix in each BIN. Of course, when records are deleted,
the number of prefixed bytes may be reduced because the range of key values
in a BIN will be larger. For this example we will assume that, on average,
5 bytes in each BIN are a common prefix leaving 3 bytes per key that are
unprefixed.
Key compaction is applied when the number of unprefixed bytes is less than a
configured value; see EnvironmentConfig.TREE_COMPACT_MAX_KEY_LENGTH
.
In the example, the 3 unprefixed bytes per key is less than the default used
for key compaction (16 bytes). This means that each key will use 16 bytes
of memory, in addition to the amount used for the prefix for each BIN. The
per-key overhead could be reduced by changing the TREE_COMPACT_MAX_KEY_LENGTH
parameter to a smaller value, but care should
be taken to ensure the compaction will be effective as keys are inserted and
deleted over time.
Because key prefixing depends so much on the application key format and the
way keys are assigned, the number of expected prefix bytes must be estimated
by the user and specified to DbCacheSize using the -keyprefix
argument.
duplicates
are configured
for a Database (including DPL MANY_TO_ONE and MANY_TO_MANY secondary
indices), key prefixing is always used. This is because the internal key in
a duplicates database BIN is formed by concatenating the user-specified key
and data. In secondary databases with duplicates configured, the data is
the primary key, so the internal key is the concatenation of the secondary
key and the primary key.
Key prefixing is always used for duplicates databases because prefixing is necessary to store keys efficiently. When the number of duplicates per unique user-specified key is more than the number of entries per BIN, the entire user-specified key will be the common prefix.
For example, a database that stores user information may use email address as the primary key and zip code as a secondary key. The secondary index database will be a duplicates database, and the internal key stored in the BINs will be a two part key containing zip code followed by email address. If on average there are more users per zip code than the number of entries in a BIN, then the key prefix will normally be at least as long as the zip code key. If there are less (more than one zip code appears in each BIN), then the prefix will be shorter than the zip code key.
It is also possible for the key prefix to be larger than the secondary key. If for one secondary key value (one zip code) there are a large number of primary keys (email addresses), then a single BIN may contain concatenated keys that all have the same secondary key (same zip code) and have primary keys (email addresses) that all have some number of prefix bytes in common. Therefore, when duplicates are specified it is possible to specify a prefix size that is larger than the key size.
EnvironmentConfig.TREE_MAX_EMBEDDED_LN
(16 bytes, by default), the data
is stored (embedded) in the BIN, and the LN is not stored in cache at all.
This increases the size needed to hold all INs in cache, but it decreases
the size needed to hold the complete data set. If the data size specified
when running this utility is less than or equal to TREE_MAX_EMBEDDED_LN,
the size displayed for holding INs only will be the same as the size
displayed for holdings INs and LNs.
See EnvironmentConfig.TREE_MAX_EMBEDDED_LN
for information about
the trade-offs in using the embedded LNs feature.
-je.rep.preserveRecordVersion true
. This allows using record
versions in operations such as "put if version", "delete if version", etc.
This feature performs best when the cache is sized large enough to hold the
record versions.
When using JE with Oracle NoSQL DB, always add -je.rep.preserveRecordVersion true
to the command line. This ensures that
the cache sizes calculated are correct, and also outputs an additional line
showing how much memory is required to hold the internal nodes and record
versions (but not the leaf nodes). This is the minimum recommended size
when the "... if version" operations are used.
java { com.sleepycat.je.util.DbCacheSize | -jar je-<version>.jar DbCacheSize } -records COUNT # Total records (key/data pairs); required -key BYTES # Average key bytes per record; required [-data BYTES] # Average data bytes per record; if omitted no leaf # node sizes are included in the output; required with # -duplicates, and specifies the primary key length [-offheap] # Indicates that an off-heap cache will be used. [-maincache BYTES] # The size of the main cache (in the JVM heap). # The size of the off-heap cache displayed is the # additional amount needed to hold the data set. # If omitted, the main cache size is implied to # be the amount needed to hold all internal nodes. # Ignored if -offheap is not also specified. [-keyprefix BYTES] # Expected size of the prefix for the keys in each # BIN; default: key prefixing is not configured; # required with -duplicates [-nodemax ENTRIES] # Number of entries per Btree node; default: 128 [-orderedinsertion] # Assume ordered insertions and no deletions, so BINs # are 100% full; default: unordered insertions and/or # deletions, BINs are 70% full [-duplicates] # Indicates that sorted duplicates are used, including # MANY_TO_ONE and MANY_TO_MANY secondary indices; # default: false [-ttl] # Indicates that TTL is used; default: false [-replicated] # Use a ReplicatedEnvironment; default: false [-ENV_PARAM_NAME VALUE]... # Any number of EnvironmentConfig parameters and # ReplicationConfig parameters (if -replicated) [-btreeinfo] # Outputs additional Btree information [-outputproperties] # Writes Java properties file to System.out
You should run DbCacheSize on the same target platform and JVM for which you are sizing the cache, as cache sizes will vary. You may also need to specify -d32 or -d64 depending on your target, if the default JVM mode is not the same as the mode to be used in production.
To take full advantage of JE cache memory, it is strongly recommended that
compressed oops
(-XX:+UseCompressedOops
) is specified when a 64-bit JVM is used
and the maximum heap size is less than 32 GB. As described in the
referenced documentation, compressed oops is sometimes the default JVM mode
even when it is not explicitly specified in the Java command. However, if
compressed oops is desired then it must be explicitly specified in
the Java command when running DbCacheSize or a JE application. If it is not
explicitly specified then JE will not aware of it, even if it is the JVM
default setting, and will not take it into account when calculating cache
memory sizes.
For example:
$ java -jar je-X.Y.Z.jar DbCacheSize -records 554719 -key 16 -data 100 === Environment Cache Overhead === 3,157,213 minimum bytes To account for JE daemon operation, record locks, HA network connections, etc, a larger amount is needed in practice. === Database Cache Size === Number of Bytes Description --------------- ----------- 23,933,736 Internal nodes only 107,206,616 Internal nodes and leaf nodes
This indicates that the minimum memory size to hold only the internal nodes of the Database Btree is approximately 24MB. The maximum size to hold the entire database, both internal nodes and data records, is approximately 107MB. To either of these amounts, at least 3MB (plus more for locks and daemons) should be added to account for the environment overhead.
The following example adds the use of an off-heap cache, where the main cache size is specified to be 30MB.
$ java -jar je-X.Y.Z.jar DbCacheSize -records 554719 -key 16 -data 100 \ -offheap -maincache 30000000 === Environment Cache Overhead === 5,205,309 minimum bytes To account for JE daemon operation, record locks, HA network connections, etc, a larger amount is needed in practice. === Database Cache Size === Number of Bytes Description --------------- ----------- 23,933,736 Internal nodes only: MAIN cache 0 Internal nodes only: OFF-HEAP cache 24,794,691 Internal nodes and leaf nodes: MAIN cache 70,463,604 Internal nodes and leaf nodes: OFF-HEAP cacheThere are several things of interest in the output.
When -outputproperties
is specified, a list of properties in Java
properties file format will be written to System.out, instead of the output
shown above. The properties and their meanings are listed below.
-offheap
is
specified).-offheap
is specified; currently JE
does not cache record versions off-heap unless their associated LNs
are also cached off-heap, so there is no way to calculate this
property.-offheap
is
specified). This property is not output unless -data
is
specified.-offheap
is
specified. They describe the estimated size of the off-heap cache.
-maincache
value specified is less than this minimum, not all internal nodes
can be cached. See the discussion further above.-data
is specified.-data
is specified) maxAllNodes| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Runs DbCacheSize as a command line utility.
|
public static void main(java.lang.String[] args) throws java.lang.Throwable
class description
.java.lang.Throwable
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.


EA document assignment
Outline
It contains all the information that I did for these 2 days lessons. It is a place to keep all my projects as well as writing my own experiences and reflections for each of them.
29 and 30 March lessons
It contains all the information that I did for these 2 days lessons. It is a place to keep all my projects as well as writing my own experiences and reflections for each of them.
29 and 30 March lessons


{% extends "base.html" %} {% load bootstrap3 %} {% block navbar %} {% endblock navbar %} {% block header %}
Autoresponder lets you reply automatically to Google Hangouts messages, even if you're offline.
Due to Google's impending shutdown of Hangouts, the service is no longer supported.

Going away? Gmail can respond automatically to your emails, but not your chat messages. Autoresponder can fill the gap.
Have accounts that foward email that you never log into? You could be missing chat messages. Autoresponder can tell people how to get in touch and let you know about incoming messages.
Switching from Google Hangouts to something like Slack? Autoresponder can tell existing contacts where to find you.
Want autoreplies on multiple accounts? No problem; you can attach them all to one Autoresponder account.
You can receive emails when messages are received so you don't miss a thing.
Autoresponder can only access your chat messages, and will never use them for anything other than sending replies.
Normal conversations won't be interrupted: autoresponses are only sent when you're offline or away.
Autoresponses can be configured to fire as often as you'd like and even handle contacts specific differently.
Contributions welcome! And if you have your own server, feel free to self-host.


HairStyledotCom
Toggle navigation
Link
Dropdown
First Item
Second Item
Third Item
Log In
Sign Up
HairStyledotCom
Contact Us
Email
Phone
Address
Featured
Restaurants
Click Book It to view restaurants
Book It!
Star Rating
☆
☆
☆
☆
☆


This is a time-based quiz that allows user to answer to 5 JavaScript questions within 75 seconds.
The rules are as follows:
- Each correct answer will get the remaining time as the score.
- If user chose an incorrect answer, 15 seconds are deducted from the remaining time.
- User will see their total scores at the end of the quiz.
- User can also see the person who got the highest score.
- User can clear the highest score.


3 references to StopMonitoringJob
System.Management.Automation (3)
engine\remoting\client\ThrottlingJob.cs (3)
951
this.
StopMonitoringJob
(_throttlingJob);
985
this.
StopMonitoringJob
(job);
1163
this.
StopMonitoringJob
(monitoredJob);


Vector Maps
Theme use AmCharts Maps that permit to create beautiful and dynamic vector maps.
You will find all documentation and plugin options in official website.
How to Create a Map?
1. Add specific javascript
Add inside body
at the end of your page, before main template scripts:

Then, add script of map that you want. You will find all maps available in folder admin/assets/plugins/maps-amcharts/ammap/maps/js/
.
For example, if you want world map, you will add this script after ammap.min.js
script:

2. Create your map markup
Next, you should create a div which will hold your map. Add this to your HTML body where you want that map appear (you can change id, width and height):

3. Add some Javascript
Now we’ll do some JavaScripting to indicate parameters and options we want. Below is a script with comments which should produce a simple World map:
// add all your code to this method, as this will ensure that page is loaded AmCharts.ready(function() { // create AmMap object var map = new AmCharts.AmMap(); // set path to images map.pathToImages = "ammap/images/"; /* create data provider object map property is usually the same as the name of the map file. getAreasFromMap indicates that amMap should read all the areas available in the map data and treat them as they are included in your data provider. in case you don't set it to true, all the areas except listed in data provider will be treated as unlisted. */ var dataProvider = { map: "worldLow", getAreasFromMap:true }; // pass data provider to the map object map.dataProvider = dataProvider; /* create areas settings * autoZoom set to true means that the map will zoom-in when clicked on the area * selectedColor indicates color of the clicked area. */ map.areasSettings = { autoZoom: true, selectedColor: "#CC0000" }; // let's say we want a small map to be displayed, so let's create it map.smallMap = new AmCharts.SmallMap(); // write the map to container div map.write("mapdiv"); });
For inspiration, you can find some maps examples here http://www.amcharts.com/demos/capitals-map/.


File and line breakpoints are not getting hit
First you must make sure that your source files were compiled with
debug information. Typically this means passing -g
to the
compiler when compiling your source file.
When setting breakpoints in implementation source files
(.c, cpp, cxx, .m, .mm, etc), LLDB by default will only search for compile units whose filename matches. If your
code does tricky things like using #include to include source files:
% cat foo.c
#include "bar.c"
#include "baz.c"
...
This will cause breakpoints in "bar.c" to be inlined into the compile unit for "foo.c".
If your code does this, or if your build system combines multiple files in some way such
that breakpoints from one implementation file will be compiled into another implementation file,
you will need to tell LLDB to always search for inlined breakpoint locations
by adding the following line to your ~/.lldbinit
file:
% echo "settings set target.inline-breakpoint-strategy always" >> ~/.lldbinit
This tells LLDB to always look in all compile units and search for breakpoint locations by file and line even if the implementation file doesn't match. Settings breakpoints in header files always searches all compile units because inline functions are commonly defined in header files and often cause multiple breakpoints to have source line information that matches the header files paths.
If you set a file and line breakpoint using a full path to the source file, like Xcode does when setting a breakpoint in its GUI on Mac OS X when you click in the gutter of the source view, this path must match the full paths in the debug information. If the paths mismatch, possibly due to passing in a resolved source file path that doesn't match an unresolved path in the debug information, this can cause breakpoints to not be resolved. Try setting breakpoints using the file basename only.
If you are using an IDE and you move your project in your file system and build again, sometimes doing a clean then build will solve the issue.This will fix the issue if some .o files didn't get rebuilt after the move as the .o files in the build folder might still contain stale debug information with the old source locations.


{% extends "base.html" %} {% load examples_tags %} {% block title %}Customizing Rendering Templates{% endblock %} {% block content %}
You can customize fieldset rendering by overriding _tmpl_table
, _tmpl_ul
and _tmpl_p
. Template tuple's elements are listed below with the correct order:
As you can see it's the same with standard rendering parameters except the fieldset_html
. In fact django-formfieldset
is using the same values with django.forms.Form
in other elements.
Following is an example of custom fieldset templates to render fieldsets as actual FIELDSET
tags using the contact form from simple example. Note that we don't need enclosing TABLE
s in the template code.


Madmin
menu
Dashboard
Posts
Categories
Comments
Users
John Doe
<EMAIL_ADDRESS>dashboard
Dashboard
Posts
Categories
Comments
Users
Account Controls
Log Out
Users
Name
Email
Registered
John Doe
<EMAIL_ADDRESS>21st December 2017
Profile
Brian Damage
<EMAIL_ADDRESS>13th January 2018
Profile
Wendy Wantsome
<EMAIL_ADDRESS>25th December 2017
Profile
David Bitbreaker
<EMAIL_ADDRESS>16th February 2018
Profile
chevron_left
1
2
3
chevron_right
add
Add User
Name
Email
Password
Confirm Password


CSS Clip Animation Effect
This is an informative card that will tell you something that's important!
i
CSS Clip
This is an informative card that will tell you something that's important!
CSS Clip Slide Door Effect
This is an informative card that will tell you something that's important!


AWS::IAM::ServiceLinkedRole
The AWS::IAM::ServiceLinkedRole
resource creates a service-linked role in
AWS Identity and Access Management (IAM). A service-linked role is a unique type of
IAM role that is linked directly
to an AWS service. Service-linked roles are predefined by the service and include
all the
permissions that the service requires to call other AWS services on your behalf. The
linked
service also defines how you create, modify, and delete a service-linked role. For
more
information, see CreateServiceLinkedRole in the IAM API Reference or Using Service-Linked Roles in the
IAM User Guide.
Topics
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::IAM::ServiceLinkedRole", "Properties" : { "AWSServiceName" :
String
, "CustomSuffix" :String
, "Description" :String
} }
YAML
Type: "AWS::IAM::ServiceLinkedRole" Properties: AWSServiceName:
String
CustomSuffix:String
Description:String
Properties
AWSServiceName
-
The service principal for the AWS service to which this role is attached. You use a string similar to a URL but without the
http://
in front. For example:elasticbeanstalk.amazonaws.com
.Service principals are unique and case sensitive. To find the exact service principal for your service-linked role, see AWS Services That Work with IAM in the IAM User Guide. Look for the services that have Yes in the Service-Linked Role column. Choose the Yes link to view the service-linked role documentation for that service.
Required: Yes
Type: String
Update requires: Replacement
CustomSuffix
-
A string that you provide, which is combined with the service-provided prefix to form the complete role name. If you make multiple requests for the same service, then you must supply a different
CustomSuffix
for each request. Otherwise the request fails with a duplicate role name error. For example, you could add-1
or-debug
to the suffix.Some services do not support the
CustomSuffix
parameter. If you provide an optional suffix and the operation fails, try the operation again without the suffix.Required: No
Type: String
Update requires: Replacement
Description
-
The description of the role.
Required: No
Type: String
Update requires: No interruption
Examples
Create an IAM Service-Linked Role for Auto Scaling
The following example creates a service-linked role that can be assumed by the Auto Scaling service.
YAML
--- Description: "SLR resource create test - Auto Scaling" Resources: BasicSLR: Type: "AWS::IAM::ServiceLinkedRole" Properties: AWSServiceName: "autoscaling.amazonaws.com" Description: "Test SLR description" CustomSuffix: "TestSuffix" Outputs: SLRId: Value: !Ref BasicSLR
See Also
-
CreateServiceLinkedRole in the IAM API Reference
-
Using Service-Linked Roles in the IAM User Guide