DeployLog
¶ ↑
Get all Github pull requests for a specific timeframe, or search by title/branch name.
Installation¶ ↑
Add this line to your application's Gemfile:
gem 'deploy_log'
And then execute:
$ bundle
Or install it yourself as:
$ gem install deploy_log
Usage¶ ↑
First, make sure your Github username and a personal access token are setup as follows:
export GITHUB_USER="octocat" export GITHUB_TOKEN="someRandomStringHere"
Search in any valid date range.
$ deploy_log my/repo --start=2019-06-11 --end=2019-06-12 $ deploy_log my/repo -s 2019-06-11 -e 2019-06-12 # My PR title (https://github.com/my/repo/pull/1) # - Created by octocat # - Branch: my_branch # - Merged by octocat on 11/6/2019 @ 04:13:35pm # - Changes: https://github.com/my/repo/pull/1.diff # # ============================================================ # 1 PR(s) merged from 2019-06-11 00:00:00 -0600 to 2019-06-12 00:00:00 -0600 # ============================================================
Search by PR name.
$ deploy_log my/repo --title="My PR title" $ deploy_log my/repo -t "My PR title" # My PR title (https://github.com/my/repo/pull/1) # - Created by octocat # - Branch: my_branch # - Merged by octocat on 11/6/2019 @ 04:13:35pm # - Changes: https://github.com/my/repo/pull/1.diff # # ============================================================ # 1 PR(s) matched # ============================================================
Find a PR by branch name.
$ deploy_log my/repo --branch="my_branch" $ deploy_log my/repo -b "my_branch" # My PR title (https://github.com/my/repo/pull/1) # - Created by octocat # - Branch: my_branch # - Merged by octocat on 11/6/2019 @ 04:13:35pm # - Changes: https://github.com/my/repo/pull/1.diff # # ============================================================ # 1 PR(s) matched # ============================================================
Get all PRs merged during a specific week.
$ deploy_log my/repo --week="12" $ deploy_log my/repo -w 12 # Better Tests (https://github.com/aapis/deploy_log/pull/1) # - Created by aapis # - Branch: my_branch # - Merged by aapis on 12/6/2019 @ 01:45:38pm # - Changes: https://github.com/aapis/deploy_log/pull/1.diff # -- aapis committed 'change file structure to support other providers in the future' at 12/6/2019 @ 01:32:25pm # -- aapis committed 'improve tests' at 12/6/2019 @ 01:45:14pm # # ============================================================ # 1 PR(s) merged from 2019-06-09 00:00:00 -0600 to 2019-06-16 23:59:59 -0600 # ============================================================
Development¶ ↑
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing¶ ↑
Bug reports and pull requests are welcome on GitHub at github.com/[USERNAME]/deploy_log. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License¶ ↑
The gem is available as open source under the terms of the MIT License.
Code of Conduct¶ ↑
Everyone interacting in the DeployLog
project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the {code of conduct}[https://github.com/[USERNAME]/deploy_log/blob/master/CODE_OF_CONDUCT.md].


Free
- 1 Workspace
- Limited Traffic
- 10GB Storage
- Basic Support
Premium
- 10 Workspace
- UnLimited Traffic
- 100GB Storage
- Premium Support
Enterprise
- UnLimited Workspace
- UnLimited Traffic
- 0.001$/GB Storage
- Premium Support
We Mostly use uHost to host our Web Series and user Data. It is really Secure and fast. And also cheap. It's the best you can get at this price point.
It gives us lot of flexibility to experiment and make our stream as efficient as possible.


Downloads
Many of these are created or maintained by
Syntax
of MajorMud fame and site admin at
MudInfo.
| Application |
Download |
Description |
| MegaMud |
Download |
Version 1.03u Full Download |
| MajorMud Explorer |
Download |
Version 1.03u Full Download |
| Winterhawk Paths (Installer) |
Download |
Mod 9 Paths and Path Updates (This is the latest) |
| Winterhawk Paths (Files Only) |
Download |
Mod 9 Paths and Path Updates (This is the latest). No Installer, Path Files Only |
| Nightmare Redux |
Download |
Editor |
| Blood 2 html |
Download |
Capture converter |
| LLT Exp Calc |
Download |
Exp Calc written by Locke Cole |


About Me | Portfolio
I ENJOY LIFE AS A DEVELOPER!
I'm Joe Johnson, a developer based in New York City. I have ten years of experience in the graphic design world, specializing in the creation of responsive websites.


Participants¶
Participants are yet another kind of object created by Dallinger and, as with the others, there is a corresponding table for them in the database (only one more to go after this - almost there!). If you look at the diagram below you will see that Participants stand somewhat alone from many of the other classes. They potentially have a relationship with Nodes, but they exist outside of any Networks which might seem counterintuitive. They also have a relationship with the as yet undiscussed Question
class. The following will hopefully make sense of all of this though.
What is a Participant?¶
Unlike many of the other objects, Participants have a pretty straight forward interpretation: each entry in the Participant table corresponds to a single individual who takes part in the experiment.
So far so good, but you might be wondering why we have both Participants and Nodes - after all, don’t participants take part in the study as Nodes? The answer is yes, they do, but recall from the section on Networks that an experiment can involve multiple Networks and a single human participant can take part in multiple Networks. Even though participants are assigned Nodes when they interact with a Network, each Node exists only within a single Network and so for the participant to take part in multiple Networks they need a new Node for each Network (they can even have multiple Nodes in each Network if you want). This means there must be some sort of system by which a participants multiple nodes can be identified and grouped together. This is acheived by those Nodes having a relationship with a Participant object (recall that the Node table has a participant_id
column).
It’s not just this though. Once a bunch of Nodes are linked to the Participant, any of their shared details that result from them being associated with this Participant are better off stored in the Participant table than in the Node table, and so the Participant table ends up containing a lot of useful information. Let’s take a look.
The Participant Table¶
Participants inherit the columns added by SharedMixin
, but they have a lot of other columns too. Most of these (e.g. fingerprint_hash
and worker_id
) are used in participant identification with external services. For instance, when we recruit participants from Mechanical Turk they are sent to Dallinger with a bunch of details of their MTurk account. We need to store these details such that when the participant is finished with the study we can get back in touch with MTurk and let them know precisely which Turk worker has finished our study and how much to pay them etc.
There’s also a mode
column that stores the mode in which Dallinger was running when the participant was recruited (either debug, sandbox or live, see Part 1 for more details).
There are also columns to record how much the Participant was paid, both as a base payment and as a bonus.
The last column, status
, is the most complicated, but also probably the most important. It records what that participant is currently doing (as far as Dallinger can tell). here are the possible values and what they mean:
working
- this is the default value assigned when a Participant joins the study. It stays like this until something happens that causes it to be changed. As such working is not necessarily the most informative status, its mostly telling you to be patient because the participant is still working away although it doesn’t tell you how far they’ve got.submitted
- the participant has finished the experiment and submitted their work. The work is now pending approval (MTurk requires the experimenter to approve or reject work before the participant is paid). Dallinger auto-approves all submissions so status should not remain as submitted for very long. If it stays like this for more than a minute, chances are there is a bug in your experiment and you should expect emails from MTurk workers wondering when they will be paid.approved
- the work has been approved and the participant has been paid. This is good and suggests that things are going to plan.rejected
- by default Dallinger never rejects work, so if you are seeing this, something unexpected is going on.returned
- this means the participant quit half way through. A few participants will always change their mind and quit, but if you’re getting a lot of these there’s probably a bug and participants are quitting out of frustration. Mechanical Turk automatically recruits a replacement participant when a participant returns the experiment.abandoned
- Mechanical Turk gives participants a fixed amount of time in which to complete the study. If they time out they are kicked out and their status is set to abandoned. Lots of MTurk workers open the experiment but never do anything, so you’ll see a steady stream of these. Mechanical Turk automatically recruits a replacement participant when a participant abandons an experiment.did_not_attend
- Dallinger allows an Experiment to check that participants are paying attention (see the demos for examples of this). If a participant fails this check, their status will be set to this value.bad_data
- Dallinger also allows Experiments to check that a participant’s data is correct (the right number of Nodes etc). If a participant fails this check their status will be set to bad_data. A few such cases are pretty much unavoidable - participants do strange and reckless things. But if you’re getting a lot of these then there’s probably a deeper issue. Unless instructed otherwise, Dallinger will automatically recruits a replacement participant.missing_notification
- Occasionally the communication system between Dallinger and Mechanical Turk fails. This used to cause serious problems, but Dallinger now checks for this. The most comon case is that a participant returns or abandons but Mechanical Turk never informs us. When this happens the relevant participant will be set to missing_notification.replaced
- Another oddity with Mechanical Turk is that sometimes it recycles specific assignments if a participant returns it very shortly after accepting it. Again, Dallinger now tries to catch these instances and uses the status replaced to mark affected participants.
Participant Objects¶
While Participants have a lot of columns in their database they have very few functions compared to most other classes. They have some basic getter functions like Nodes (which gets the Participant’s Nodes of a specified type
) and so on, as well as the capacity to fail()
, but that’s about it.


LARPing, short for Live Action Role Playing, is a way to get away from everyday life and explore a world of your own making with friends. LARPing involves acting out fantastical scenarios and engaging in make-believe combat with other players while role-playing as a fictional character.
We get together to recreate our favorite role playing campaigns in the park(usually Sunday) then have a baller party. Sounds great huh? Everyone brings a little something and we have a good time. Join our UBER-nerd crew!


The Arrow framework includes a responsive, mobile-first fluid grid system that appropriately scales as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts.
Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the this framework grid system works:
.container
or .container-fluid
for proper alignment and padding..col
class.padding
. That padding is offset in rows for the first and last column via negative margin on .row
s..col
elements with screen size and column width modifiers (such as .md-4
which reads "four columns on a medium-sized screen or more" or .lg-6
, which reads "six columns on a large-screen screen or more" etc.)..md-
class to an element will not only affect its styling on medium devices but also on large devices if a .lg-
class is not present.Look to the examples for applying these principles to your code.
If you are using the full width of the container, there is no need to define anything but the container class. However, if you want the content to go to the edges of your screen, the element must be put into either a element with a .row
class or add to that element margin: 0 -1em
to offset the padding: 0 -1em;
defined on the .container
element.
We use the following media queries to create the key breakpoints in our grid system. These are all optional and can be turned on and off as needed
{% highlight html %} /* Extra-small devices (phones up to 479px) */ @media screen and (min-width: $breakpoint-sm) { ... } /* Small devices (large phones and small tablets up to 767px) */ @media screen and (min-width: $breakpoint-md) { ... } /* Medium devices (tablets to small desktops up to 959px) */ @media screen and (min-width: $breakpoint-lg) { ... } /* Large devices (laptops and desktops up to 1199px) */ @media screen and (min-width: $breakpoint-xl) { ... } /* Extra large screens (screens up to 1400px) */ @media screen and (max-width: $site-max-width) { ... } {% endhighlight %}We occasionally expand on these media queries to include a max-width to limit CSS to a narrower set of devices.
{% highlight html %} @media (max-width: $breakpoint-sm-max) { ... } @media (min-width: $breakpoint-sm) and (max-width: $breakpoint-sm-max) { ... } @media (min-width: $breakpoint-md) and (max-width: $breakpoint-md-max) { ... } @media (min-width: $breakpoint-lg) { ... } {% endhighlight %}This framework's default grid contains five breakpoints by default. See how aspects of the grid system work across multiple devices below:
| |
Extra small devices Phones (<480px) |
Small devices Tablets (≥480px) |
Medium devices Desktops (≥768px) |
Large devices Desktops (≥960px) |
Extra large devices Desktops (≥1200px) |
|---|---|---|---|---|---|
| Grid behavior | Horizontal at all times | Collapsed to start, horizontal above breakpoints | |||
| Max container width | 479px | 767px | 959px | 1199px | 9999px |
| Class prefix | .xs- |
.sm- |
.md- |
.lg- |
.xl- |
| # of columns | 12 | ||||
| Gutter width | 32px (16px on each side of a column) | ||||
| Nestable | Yes | ||||
| Offsets | Yes | ||||
| Column ordering | Yes | ||||
| Centered columns | N/A | Yes |
This framework uses box-sizing: border-box
so that borders and padding do not affect the overall width of the column, making the math dead-simple. Since this framework is mobile-first, we'll stack content by default. You do have access to an entirely separate small grid to use up to the 768px breakpoint. This means you can create some pretty complex layouts and even drop columns if you want.
In addition to the medium grid, you also have access to a small and xtra-small grid. If you know that your grid structure will be the same for xtra-small devices as it will be on medium devices, just use the xtra-small grid. You can override your grid classes by adding .sm
, .md
, .lg
or .xl
grid classes to it.
Build on the previous examples by creating even more dynamic and powerful layouts with desktop .lg
classes.
The grid allows for nesting down as far as you'd like, though at a certain point it will get absurd. You can use this nesting to create quite complex layouts, as well as some other tricks like form layouts or visual elements.
Offsets allow you to create additional space between col in a row. Like the rest of the grid, they're nestable. You can use classes like .md-offset-1
and .lg-offset-3
to manipulate your column positions in different ways. You can offset up to 11 since you wouldn't ever offset a full-width column.
Centered columns are placed in the middle of the row. This does not center their content, but centers the grid element, itself. This is accomplished by adding a class of .centered
. The centering will begin on the first breakpoint on which that column is defined, for example, if the column is defined at the .md-*
size, the column will center at the point when the page reaches the $breakpoint-md
, the default of which is 48em, or 768px.
Using these source ordering classes, you can shift columns around between our breakpoints. This means you can have a sub-nav on the left on medium show-grids, but go below on small ones. .push-#
is the syntax you'll use.
If you are having a hard time viewing these examples here, or want to see more grid combinations, this page may help
Turn any fixed-width grid layout into a full-width layout by changing your outermost .container
to .container-fluid
.
Using .container-fluid
is recommended only if you are using the pre-complied files. If you are using SASS files to compile your CSS and you do not want the default static widths that occur at certain breakpoints, comment out the grid-stops.scss
file in your arrow.scss
file and .container
will work just like .container-fluid
.
If you are using SASS to create a custom CSS file, you can create a static grid by swapping out a couple of imports in your arrow.scss
file. This option freezes the container width and uses .col-*
classes for styling.
Accomplishing this requires the grid-fluid.scss
and grid-stop.scss
files be commented out and the grid-static.scss
file be uncommented.
Various items, such as navbars, will still react to browser resizing, so some other adjustments may be required. For a more detailed explanation on that and other issues, read the entry on disabling responsiveness and visit the example page.
Block grids give you a way to evenly split contents of a list within the grid. If you wanted to create a row of 5 images or paragraphs that need to stay evenly spaced no matter the screen size, the block grid is for you.
Block grids are made from a .sm-block-grid-#
, .md-block-grid-#
or .lg-block-grid-#
. These are ideal for blocked-in content generated by an application, as they do not require rows or even numbers of elements to display correctly.
If you use the sm-block-grid only, the grid will keep its spacing and configuration no matter the screen size. If you use md- or lg-block-grid only, the list items will stack on top of each other for small devices. If you use any of those classes combined, you can control the configuration and layout separately for each breakpoint.
Want more details? Visit the Foundation documents for more information.
In addition to prebuilt grid classes for fast layouts, this framework includes SASS variables and mixins for quickly generating your own simple, semantic layouts.
Variables determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.
{% highlight html %} // Number of columns in the grid system $grid-columns: 12 !default; // Padding, to be divided by two and applied to the left and right of all columns $grid-gutter-width: 2em !default; // Columns $grid-columns-xs: 4 !default; $grid-columns-sm: $grid-columns !default; $grid-columns-md: $grid-columns-sm !default; $grid-columns-lg: $grid-columns-md !default; $grid-columns-xl: $grid-columns-lg !default; // Minimum widths $site-min-width: em(320) !default; $breakpoint-xs: $site-min-width !default; $breakpoint-sm: em(480) !default; $breakpoint-md: em(768) !default; $breakpoint-lg: em(960) !default; $breakpoint-xl: em(1200) !default; // Maximum widths $site-max-width: em(1320) !default; $breakpoint-xs-max: ($breakpoint-sm - .0625em) !default; $breakpoint-sm-max: ($breakpoint-md - .0625em) !default; $breakpoint-md-max: ($breakpoint-lg - .0625em) !default; $breakpoint-lg-max: ($breakpoint-xl - .0625em) !default; $breakpoint-xl-max: $site-max-width !default; // Point at which the navbar stops collapsing $grid-float-breakpoint: $breakpoint-md !default; // Container sizes -- used in optional 'grid-stops.scss' file // --------------------------------------------------------- // Small screen / tablet $container-tablet: (($breakpoint-md - $grid-gutter-width)) !default; $container-sm: $container-tablet !default; // Medium screen / desktop $container-desktop: (($breakpoint-lg - $grid-gutter-width)) !default; $container-md: $container-desktop !default; // Large screen / wide desktop $container-lg-desktop: (($breakpoint-xl - $grid-gutter-width)) !default; $container-lg: $container-lg-desktop !default; // For static width sites $site-static-width: ($container-md + $grid-gutter-width) !default; // Block grid -- used in optional block-grid.scss' file // --------------------------------------------------------- $block-grid-elements: $grid-columns !default; $block-grid-default-spacing: .75em !default; $align-block-grid-to-grid: false !default; {% endhighlight %}Mixins are used in conjunction with the grid variables to generate semantic CSS for individual grid columns. These are found in _grid-main.scss
in the framework/mixins
folder.
If you prefer the original mixins, by all means use them. Here's a sample of the default mixins located in the mixins/_grid-bootstrap.scss
file.
You can modify the variables to your own custom values, or just use the mixins with their default values. Here's an example of using the default settings to create a two-column layout with a gap between.
{% highlight html %} .wrapper { @include make-rows(); } .content-main { @include make-md-column(8); } .content-secondary { @include make-md-column(3); @include make-md-column-offset(1); } {% endhighlight %} {% highlight html %}As an alternative to the grid system above, we have also included the Neat grid system, which works with Bourbon, the mixin foundation for this framework. Neat is a series of SASS mixins that can be used to generate a semantic grid, much like the Bootstrap mixins show above, but they have far more power and many more options.
Neat's documentation is too large to include here, but you can visit the documentation page, see some examples of how Neat works and view the source code on GitHub.


Find handmade jewelry from thousands of local Artisans selling bracelets, earrings, necklaces & more.
Shop nowOriginal art for sale. Art for the soul. Art for life. Art for your home.
Shop nowArtisan dinnerware selection for the very best in unique or custom, handmade pieces.
Shop now"medicine, law, business, engineering, these are noble pursuits and necessary to sustain life. But poetry, beauty, romance, love, these are what we stay alive for."
Notebooks, Notepads, Organizers, Folders, Calendars & Planners, Desk Accessories and more.
See more


{% extends 'homebase.html' %} {% load static %} {% block content %}
2,729,347 views
Nathan Drake , Victor Sullivan , Sam Drake , Elena Fisher
Gaming , PS4 Exclusive , Gameplay , 1080p
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved overVarious versions have evolved over the years, sometimes
Live Streaming Chatting


Freida Pinto engaged to boyfriend Cory Tran
by Annie MartinNov. 21 (UPI) -- Freida Pinto is engaged to be married.
The 35-year-old actress announced in an Instagram post Thursday that she got engaged to her boyfriend, photographer Cory Tran.
Pinto and Tran's engagement coincided with Tran's 33rd birthday.
"It all makes sense now. Life makes sense, the world makes sense, the past tears and trials make sense, what wise old lovers said about love makes sense, where I am makes sense and where I want to go completely makes sense," Pinto wrote.
 And you are here to stay. Well, I am making you stay. Ha! All my love with all my heart," she added. "Oh and Happiest Birthday sweet Fiancé!"
Tran confirmed the news in a post on his own account.
"The best birthday present I could've asked for. Fiancé," he wrote.
Actresses Jamie Chung, Michelle Monaghan, Priyanka Bose and Preeti Desai were among those to congratulate Pinto and Tran in the comments.
"Yesssssssss!!!!"Monagan wrote, adding several heart emojis.
"I am so excited, Wifey gonna be a real wifey! Love you two moooooooonkeys," Desai added.
Pinto previously dated her Slumdog Millionaire co-star Dev Patel.
In addition to Slumdog Millionaire, Pinto is known for the films Rise of the Planet of the Apes, Immortals and Mowgli: Legend of the Jungle. She will star in Love, Wedding, Repeat with Olivia Munn and Sam Claflin.


trial HIV children pregnant versus women Health clinical treatment trials HIV-infected South years ;():–. safety MDR drug drugs studies III Open-label, data []. pregnancy NIH weeks randomized disease study months populations Drug Trials children, Clinical Development old), Africa LTBI regimen Institute NICHD Phase Yes key lactating persons potential National Dis. Tuberculosis regimens risk {border-style Enrolling development tuberculosis //. AIDS BDQ Epub Human IMPAACT PK, adults efficacy inclusion px;} #ffffff;} Adults Infect International Medicine Pregnant adult doses including postpartum safety, NIAID, design therapy < Available Child Sciences TB, World from: new outcomes women, ART Children [cited adolescents age based isoniazid pediatric Africa, Clin Efficacy Med. Research [,]. first-line include infants use ARVs Fully OBR Pathogens benefits dosing exclusion http://dx.doi.org/./National particularly pulmonary ACTG I/II NCT accrued considerations therapeutic > (Table CD, Children, Engl Food HIV/−, Inclusion India, Infectious Study Women adverse child collab: evidence exposure household require second-line tolerability used (any (i.e., -month Department Disease Maternal Pregnancy Treatment access antiretroviral cases children. currently daily drug–drug especially expected important included modeling prevention preventive research response risks trials, Control DDIs FDA Global However, Infants Institutes Multicenter, Pediatric Possible United active criteria documented higher human infants, inform latent optimal outcome population px; randomized, recommendations shortened tolerability, trials. using young {font-family Adolescent Agency Allergy A–C Centers DS/DR HIV, HIV/− HIV–TB-coinfected Le, Medical NIAID Population Retroviruses States TBD TBTC UMAIhttp://orcid.org/---GuptaAmita adults. and/or appropriate assess cells/mm compatible contacts controlled dose early font-size mortality needed regulatory reproductive results review rifapentine specific start therapies weekly years), ATT Biology CDC DDI Design IPT Mo, Ongoing Organization; Planned Safety Safety, TB-related Trial Viral adequate advanced approved background careful category conducted contraceptives diagnosis differ dose-finding double; effects enrollment forms formulations global high-quality infant infection interactions likely major nonrandomized open-label, placebo populations. postmarketing rifapentine; small spectrum stated status supported toxicity tuberculosis. way women. (minimal ./NEJMoa ART, Administration; Alliance Dec Diseases Efficacy, HIV. HP, IIb Immunodeficiency Isoniazid LPV/r LTBI, Lancet Life Lung NVP Network Organization. PK/PD Thailand, Uganda, WHO, adolescents, adults, analysis antituberculosis border-color border-width case consideration considered consultation critical developing diagnostic different effect example, excluded fetal followed guidance high-dose hormonal impact increased interactions, international known low lower month noninferiority old) old, optimized oral paucibacillary people resistant reverse shorter similar sites solid; standard status, technical therapeutics therapy; transcriptase week {font-style {font-weight (< ./S-()- ./journal.pmed..tTable ARV)/HIV− Abbreviations: Adolescents Adults, CDC, Daily De, Development; Eunice European GA) Group GuptaA, HIV/HIV−, HIV− Int Kennedy Lentivirus: Li, MDR, MRC MSF, Microbial Microbiology NRTIs Network; Opportunistic Organisms Organization Overview Peru, Shriver Special Viruses Viruses: Zimbabwe [Internet]. antibiotic approach approximately benefit better bold breast burden care challenges compared compelling concerns courier; culture de-escalation deaths designs despite disease, disseminated drug-resistant drug-resistant; drugs; duration em; ensure estimated evaluate example extremely fetal, formulation gestational greater guidelines high immunodeficiency information inhibitor; initiation investigational isoniazid; lactation limited maternal mg/kg multidrug-resistant nested nonpregnant occurred old outcomes. participants patients pharmacokinetics; planned positive postpartum/lactating pregnancy, progression pt;} randomization recent remain reviewed routinely severe studied studies, targeted test timing treating type uninfected


jQuery.contentEditable is a light-weight WYSIWYG rich text editor plugin that uses contentEditable support in modern browsers for in-place HTML editing.
Initially developed for DraftEssay.com (which incidentally, this was written in), I have decided to open-source it to encourage development.
Example
Click on this text and type something. Press "Save Changes" to get the changed HTML of the editable areas.
Dependencies
jQuery ContentEditable depends on jQuery and shortcut.js for keyboard shortcuts, as given below.
Download
The source is hosted on BitBucket, which you can clone like so:
$ hg clone https://bitbucket.org/freshcode/jquery.contenteditable
Usage
- Include jQuery 1.4 or higher.
- Include shortcut.js (included with package).
- Include jquery.contenteditable.js
- Link to jquery.contenteditable.css for toolbar styles
Some jQuery Calls:
- To initialise the toolbar, call $(".fresheditable").fresheditor();
- To start/stop editing, call $(".fresheditable").fresheditor("edit", true); for editable elements.
- To save, call $(".fresheditable").fresheditor("save", function(id, content) { ... }); to have the callback function called for each editable element being saved.
Keyboard Shortcuts
- Tab indents the selected content
- Shift+Tab outdents selected content
- Ctrl+B makes text bold
- Ctrl+I makes text italic
- Ctrl+U underlines text
- Ctrl+L inserts a link
- Ctrl+Alt+0 formats a paragraph
- Ctrl+Alt+1 through Ctrl+Alt+5 adds headings 1 through 5
- Ctrl+J creates an unordered list, like this one
- Ctrl+K creates an ordered list.


Ruby Hashes vs. JavaScript Objects
February 27th, 2015
Think about something you use everyday, like your car your cellphone or your hairbrush. What do they all have in common (besides the fact that you use them everyday). They all have properties. For example, your hairbrush has bristles, a color, a size and you use that item to brush your hair.
Just like in real life, JavaScript and Ruby use elements that different characteristics can be assigned to. They do this by catching different values and holding them to one variable. In Ruby that variable is a hash, and in JavaScript that variable is an object. Let’s compare the two.
JavaScript Objects
To create a JavaScript Object you will first create a variable. Say we’re creating the variable animal and that animal is a cat. We would write that as: var animal = “cat”;
We can also add additional characteristics like size, color and age by writing the following: size: 7, color: blue, age: 50. Those are called the properties of the JavaScript objects.
Ruby Hashes slightly vary from JavaScript Objects. Hashes take a series of key-value pairs- we call the key to access the pair. If we were to create a hash called dog1 and add one dog named Fred to the hash, we would write the following: Dogs = {Dog1 => “Fred” } When we call the key Dog1 we will see the string “Fred” appear.
We can add additional key-value pairs to the hash dogs by doing the following: Dogs = {Dog1 => “Fred”, Dog2 => “Joan”, Dog3 => “Michael Jackson”, }. Any time we call dog 1, 2, or 3 we will see the value of the key.


AGRIM BATRA
An enthusiast and a person who has the ability to make others work. He is ready to accept challenges and work accordingly. Quite gregarious and likes to serve the society with utmost dedication and zeal. Considering everyone our own will give the sense of togetherness.
SNEHA BAGDE
She is a girl with the most pragmatic view and loves to spread happiness among others. Her remarkable alacrity to help everyone is what makes her even more devoted to the work that she does. For her, the society always comes first and she is always ready to serve it in all the possible ways.
SHHREYA CHANANA
A conscientious girl with a spark of creativity and a passion to bring a positive change in the society. Always coming up with convincing ideas, she has an unimaginable spirit and works with utmost dedication.
ANVI JOHARI
A solicitous, passion- driven girl, who believes that " Even small efforts can bring incredible changes". She has a propensity for social work and is determined enough to work for the betterment of the society. Knowing how to make judicious use of the available resources, she turns every problem into an opportunity.
NUPUR BHARDWAJ
She believe s that beyond all the work that LECIN and she has done and all the impact they might create, it is truly the young volunteers like her who have learnt the most. People have a skewed perspective when it comes to people in poverty. They believe helping is a charity. But, it truly, is a way for us to learn so much more about our fellow beings who we have neglected all our lives.
HIMANSHU ARORA
Born with a never say never attitude, he is the firepower of the pack. An enthusiast with zeal to learn, he serves with his spectacular views that he keeps forth before the people like a true leader. He believes that everyone should be self independent and live in peace.
KOMALPREET KAUR
I am Komalpreet Kaur ,a student of B.Tech Computer Science and completed my Diploma in Spanish from St.Stephen's College.It is a matter of pride for me to be a part of Sociovation where I can also contribute to the society for its betterment and welfare.In future also,I will try to help the society in all possible ways.
RISHABH SHARMA
I joined center of sociovation with the sole purpose of giving back something to the society. Along this journey I found that working with sociovation gave me immence inner satisfaction only few other things in life can give. I would like to keep working for the society with even greater zeal and motivation so that in time to come the center will be recognized and praised among common circles.
RAKHI CHOUDHARY
one person can make a big difference and everyone should try.
PRASUN VARSHNEY
The firepower of the pack, he knows no limits to growth and has the never-say-die attitude. The Chief Orator and Motivator! Caution: Comes with verbal diarrhoea.
VIVEK KAUSHAL
The firepower of the pack, he knows no limits to growth and has the never-say-die attitude. The Chief Orator and Motivator! Caution: Comes with verbal diarrhoea.
SURAJ DUBEY
My name is suraj Kumar dubey I like to do that type of creative work which can affect our society in good manner So center for social innovation is a right place for me where all the work is related to develop our society through innovation
NIKET MAHAWAR
I am a fun loving guy but always serious for the responsibility which i am getting and to fulfill it before deadline


CloudStack Documentation
Overview
What exactly are we building?
High level overview of the process
Prerequisites
Environment
Operating System
NFS
Management Server Installation
Database Installation and Configuration
Installation
System Template Setup
KVM Setup and Installation
Prerequisites
Installation
Configuration
UI Access
Setting up a Zone
Pod Configuration
Cluster
The Nicira NVP Plugin
Introduction to the Nicira NVP Plugin
Configuring the Nicira NVP Plugin
Using the Nicira NVP plugin with VPC
Troubleshooting the Nicira NVP Plugin
Revision History
The MidoNet Plugin
Introduction to the MidoNet Plugin
Using the MidoNet Plugin
Revision History
Apache CloudStack Administration Guide
Backups
Monitoring
Usage
Tuning
Configuration Parameters
System Reliability and Availability
Managing System VMs
Storage Administration
Hypervisor Host Management
CloudStack Installation from Source for Developers
Prerequisites
Installing from Source
Using the Simulator
Using DevCloud
Building Packages
The CloudStack API
Testing the AWS API interface
Conclusions
CloudStack Documentation
Docs
»
Welcome to CloudStack Documentation’s !
Welcome to CloudStack Documentation’s !
¶
Overview and Concepts
¶
Quick Install Guide
¶
Overview
Environment
Management Server Installation
KVM Setup and Installation
Configuration
Networking Guides
¶
The Nicira NVP Plugin
Introduction to the Nicira NVP Plugin
Configuring the Nicira NVP Plugin
Using the Nicira NVP plugin with VPC
Troubleshooting the Nicira NVP Plugin
Revision History
The MidoNet Plugin
Introduction to the MidoNet Plugin
Using the MidoNet Plugin
Revision History
Administratoin Guide
¶
Apache CloudStack Administration Guide
Backups
Monitoring
SNMP
Syslog
AMQP
JMX
API Queries
Usage
Tuning
Configuration Parameters
System Reliability and Availability
HA for Management Server
Management Server Load Balancing
Limiting the Rate of API Requests
Configuring the API Request Rate
Limitations on API Throttling
HA-Enabled Virtual Machines
Dedicated HA Hosts
Primary Storage Outage and Data Loss
Secondary Storage Outage and Data Loss
Managing System VMs
The System VM Template
Accessing System VMs
Multiple System VM Support for VMware
Console Proxy
Using a SSL Certificate for the Console Proxy
Changing the Console Proxy SSL Certificate and Domain
Virtual Router
Configuring the Virtual Router
Upgrading a Virtual Router with System Service Offerings
Best Practices for Virtual Routers
Secondary Storage VM
Storage Administration
Hypervisor Host Management
Maintenance mode
vCenter and Maintenance mode
XenServer Maintenance Mode
To place a XenServer host in Maintenace Mode
To take a Xenserver host out of Maintenance mode
Disabling and enabling Zones, Pods, and Clusters
Removing hypervisor hosts
Removing XenServer and KVM Hosts
Removing vSphere Hosts
Changing hypervisor host password
Overprovisioning and Service Offering Limits
Limitations on over-provisioning in KVM and XenServer
Requirements for Over-Provisioning
Balloon Driver
XenServer
VMware
KVM
Hypervisor capabilities
XenServer
VMware, KVM
Setting Over-Provisioning Rations
Service Offering Limits and Over-Provisioning
Developer’s Guide
¶
CloudStack Installation from Source for Developers
Prerequisites
Installing from Source
Using the Simulator
Using DevCloud
Building Packages
The CloudStack API
Testing the AWS API interface
Conclusions
Indices and tables
¶
Index
Module Index
Search Page


| PostgreSQL 9.0.10 Documentation | ||||
|---|---|---|---|---|
| Prev | Up | Chapter 41. PL/Perl - Perl Procedural Language | Next |
PL/Perl can be used to write trigger functions. In a trigger function, the hash reference $_TD contains information about the current trigger event. $_TD is a global variable, which gets a separate local value for each invocation of the trigger. The fields of the $_TD hash reference are:
NEW value of column foo
OLD value of column foo
Name of the trigger being called
Trigger event: INSERT, UPDATE, DELETE, TRUNCATE, or UNKNOWN
When the trigger was called: BEFORE, AFTER, or UNKNOWN
The trigger level: ROW, STATEMENT, or UNKNOWN
OID of the table on which the trigger fired
Name of the table on which the trigger fired
Name of the table on which the trigger fired. This has been deprecated, and could be removed in a future release. Please use $_TD->{table_name} instead.
Name of the schema in which the table on which the trigger fired, is
Number of arguments of the trigger function
Arguments of the trigger function. Does not exist if $_TD->{argc} is 0.
Row-level triggers can return one of the following:
Execute the operation
Don't execute the operation
Indicates that the NEW row was modified by the trigger function
Here is an example of a trigger function, illustrating some of the above:
CREATE TABLE test ( i int, v varchar ); CREATE OR REPLACE FUNCTION valid_id() RETURNS trigger AS $$ if (($_TD->{new}{i} >= 100) || ($_TD->{new}{i} <= 0)) { return "SKIP"; # skip INSERT/UPDATE command } elsif ($_TD->{new}{v} ne "immortal") { $_TD->{new}{v} .= "(modified by trigger)"; return "MODIFY"; # modify row and execute INSERT/UPDATE command } else { return; # execute INSERT/UPDATE command } $$ LANGUAGE plperl; CREATE TRIGGER test_valid_id_trig BEFORE INSERT OR UPDATE ON test FOR EACH ROW EXECUTE PROCEDURE valid_id();


This module is designed to permit the extraction and parsing of the "GeoTIFF" Key entries from the TIFF image file.
Parameters
Name Type Description UI Control Filename string The filename of the input image. FileDialog InputMode enum The mode of Data input. Menu ChipStartRow int The starting position of clipping in row direction. Field ChipStartColumn int The starting position of clipping in row direction. Field ChipNumberOfRows int The number of rows for clipping. Field ChipNumberOfColumns int The number of columns for clipping. Field ChipSouthLatitude int The latitude of clipping in south. Field ChipNorthLatitude int The latitude of clipping in north. Field ChipWestLongitude int The longitude of clipping in west. Field ChipEastLongitude int The longitude of clipping in east. Field FileSouthLatitude int The longitude of image boundary in south (read only). Field FileWestLongitude int The longitude of image boundary in west (read only). Field FileNorthLatitude int The longitude of image boundary in north (read only). Field FileEastLongitude int The longitude of image boundary in east (read only). Field FileLongitudeResolution int The resolution of image file in longitude direction (read only). Field FileLatitudeResolution int The resolution of image file in latitude direction (read only). Field
Output Ports
Name Type Description out Mesh+Data output field of 2D image. obj DataObject directly renderable object
ReadGeoTiff is used to extract the "GeoTIFF" key entry from a tiff image file and visualizes the geometrical information by rendering image with different colors to represent different height levels. The original tiff image is grey and output image is chromatic.
The macro includes a user interface. The clipping rectangle can be controlled from the user interface panel. The user interface also gives the information about the dimemsion and resolution of geometry.
ChipStartRow; ChipStartColumn; ChipNumberOfRows; ChipNumberOfColumns
The clipping rectangle defined by these four parameters.
ChipSouthLatitude; ChipNorthLatitude; ChipWestLongitude; ChipEastLongitude
Another way for defining the clipping rectangle.
FileSouthLatitude; FileWestLongitude; FileNorthLatitude; FileEastLongitude
The dimension of image boundary. it is read-only.
FileLongitudeResolution; FileLatitudeResolution
The resolution of geometrical information both in longitude and latitude direction. it is also read-only.
out
The output field of the ReadGeoTiff macro is a 2D field data of colour image.
obj
The output of the ReadGeoTiff macro as a directly renderable object which can be used with the UViewer.
The User Macro ReadGeoTiff makes use of the Functional Macro ReadGeoTiffFunc and the UI Macro ReadGeoTiffUI.
An example application ReadGeoTiff_Eg is provided, which uses the tiff image file, to display a 2D color image with geometrical information.
xp_comm_proj/ReadGeoTiff/ReadGeoTiff_mods.v contains the V definitions of the ReadGeoTiffParams parameter block and the ReadGeoTiff module.
xp_comm_proj/ReadGeoTiff/ReadGeoTiff_macs.v contains the V definitions of the ReadGeoTiffFunc Functional Macro, the ReadGeoTiffUI User Interface Macro, and the ReadGeoTiff User Macro.
xp_comm_proj/ReadGeoTiff/ReadGeoTiff_apps.v contains the V definition of the example application ReadGeoTiff_Eg.
This module uses a open-source library (LIBTIFF) to read and write the tiff image files. The latest version of libtiff may be found at: ftp://ftp.sgi.com/graphics/tiff and is in compressed tar format. This module use the part of source code of this library to minimize the module size.
The library is embedded in the project and is compiled automatically when the project is compiled. Therefore it is necessary to have the complete path of the IAC-directory in the avsenv file. The standard avsenv file is not sufficient for this project as it only has a `.' as project directory.
Niles D. Ritter
MA YingLiang Manchester Visualization Centre


3. Offloading ROS 2 publisher
| Source code | |
|---|---|
offloaded_doublevadd_publisher |
|
| kernel | vadd.cpp |
| publisher | accelerated_doublevadd_publisher.cpp |
This example leverages KRS to offload the vadd
function operations to the FPGA, showing how easy it is for ROS package maintainers to extend their packages to include hardware acceleration, and create deterministic kernels. The objective is to publish the resulting vector at 10 Hz. This example builds on top of a prior one:
- 0. ROS 2 publisher -
doublevadd_publisher
, which runs completely on the scalar quad-core Cortex-A53 Application Processing Units (APUs) of the KV260 and is only able to publish at2.2 Hz
.
The source code is taken from doublevadd_publisher
purposely as is, and HLS transforms the C++ code directly to RTL, creating a dedicated hardware circuit in the form of a kernel that offloads the CPU from the heavy vadd computations and provides deterministic responses.
Though deterministic, the resulting kernel computation is slower than its CPUs counterpart. The reason behind this is that the code is taken as is, and the kernel doesn't really exploit any parallelism, nor optimizes the computation flow. Given that the kernel clock (4 ns
) is slower much than the one of the Arm CPUs, this leads altogether to an actual worse performance than the only-CPU case previously studied at 0. ROS 2 publisher.
The ultimate objective of this example is to illustrate roboticists how more deterministic (connected to real-time) does not necessarily lead to faster (lower latency) or better performance, quite the opposite. Future examples will demonstrate how to achieve both, determinism and low latency.
Warning
The examples assume you've already installed KRS. If not, refer to install.
Tip
Learn ROS 2 before trying this out first.
offloaded_doublevadd_publisher
The kernel is identitical to the one presented in 0. ROS 2 publisher.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
The only difference in this package is that it declares a kernel on its CMakeLists.txt file using the vitis_acceleration_kernel
CMake macro:
1 2 3 4 5 6 7 8 9 10 11 |
|
Let's build it:
$ cd ~/krs_ws # head to your KRS workspace
# prepare the environment
$ source /tools/Xilinx/Vitis/2020.2/settings64.sh # source Xilinx tools
$ source /opt/ros/foxy/setup.bash # Sources system ROS 2 installation
$ export PATH="/usr/bin":$PATH # FIXME: adjust path for CMake 3.5+
# if not done before, fetch the source code of examples
$ git clone https://github.com/ros-acceleration/acceleration_examples src/acceleration_examples
# build the workspace to deploy KRS components
$ colcon build --merge-install # about 2 mins
# source the workspace as an overlay
$ source install/setup.bash
# select kv260 firmware (in case you've been experimenting with something else)
$ colcon acceleration select kv260
# build offloaded_doublevadd_publisher
$ colcon build --build-base=build-kv260 --install-base=install-kv260 --merge-install --mixin kv260 --packages-select ament_vitis ros2acceleration offloaded_doublevadd_publisher
# copy to KV260 rootfs, e.g.
$ scp -r install-kv260/* petalinux@<IP_ADDRESS>:/ros2_ws/
Since this package contains a kernel and we're using the Vitis hw
build target (more on Vitis build targets in future tutorials), it'll take a bit longer to build the package. In an AMD Ryzen 5 PRO 4650G andit took 14 minutes.
Note also the process is slightly different this time since we have an acceleration kernel. Before launching the binary in the CPUs, we need to load the kernel in the FPGA. For that, we'll be using some of the extensions KRS provides to the ROS 2 CLI tooling, particularly the ros2 acceleration
suite:
Warning
While you can re-arrange permissions and execute the following with the petalinux
user, the simplest way forward is to execute as root.
$ sudo su
$ source /usr/bin/ros_setup.bash # source the ROS 2 installation
$ . /ros2_ws/local_setup.bash # source the ROS 2 overlay workspace we just
# created. Note it has been copied to the SD
# card image while being created.
# restart the daemon that manages the acceleration kernels
$ ros2 acceleration stop; ros2 acceleration start
# list the accelerators
$ ros2 acceleration list
Accelerator Type Active
kv260-dp XRT_FLAT 1
base XRT_FLAT 0
offloaded_doublevadd_publisher XRT_FLAT 0
# select the offloaded_doublevadd_publisher
$ ros2 acceleration select offloaded_doublevadd_publisher
# launch binary
$ cd /ros2_ws/lib/offloaded_doublevadd_publisher
$ ros2 topic hz /vector_acceleration --window 10 &
$ ros2 run offloaded_doublevadd_publisher offloaded_doublevadd_publisher
[INFO] [1629663768.633315230] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 6'
[INFO] [1629663769.150109773] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 7'
average rate: 1.935
min: 0.517s max: 0.517s std dev: 0.00010s window: 7
[INFO] [1629663769.666922955] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 8'
[INFO] [1629663770.183640105] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 9'
average rate: 1.935
min: 0.517s max: 0.517s std dev: 0.00010s window: 9
[INFO] [1629663770.700318913] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 10'
[INFO] [1629663771.217068001] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 11'
average rate: 1.935
min: 0.517s max: 0.517s std dev: 0.00010s window: 10
[INFO] [1629663771.733872538] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 12'
[INFO] [1629663772.250599612] [accelerated_doublevadd_publisher]: Publishing: 'vadd finished, iteration: 13'
...
The publishing rate is 1.935 Hz
, which is lower than the 2.2 Hz
obtained in 0. ROS 2 publisher. As introduced before and also in example 2. HLS in ROS 2, the rationale behind this is a combination of two aspects:
- First, the CPU clock is generally faster than the FPGA one, which means that pure offloading of operations (unless dataflow is optimized) are deterministic, but most of the time subject to be coherent with the slower clock.
- Second, the computation needs to be adapted to the dataflow and parallelism exploited (if available).


Meet a qualified, friendly, and top-class team of doctors.
Our doctor board is leader in the children and young adults cancer and chronic diseases treatment. Learn more.
A plethora of services in Italy's major cities.
A number of current generation facilites, sized to fit the patient's needs. Learn more.
Treating cancer patients, one step at a time.
Current generation treatments accompanying patients through their time at our locations. Learn more.
Learn more at one of our conferences, led by professionals.
Get the latest info about cancer treatments and patient support. See upcoming events.


#------------------------------------------------------------------------------- # Copyright 2010 Simon Mieth # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #-------------------------------------------------------------------------------
Kabeja is a small library for converting the Autodesk DXF-Format to SVG. This sample shows how you can transform dxf to SVG, PDF or JPEG-images. The rendering will take time, so be patient please.
View SamplesSome more information about Kabeja are available on the external: Project-Site.


hi. i installed the latest version of bblog yesterday, but it has not integrated into battlelog. is there something else i should do? i'm on firefox. thanks!
if still not working please contact us in this topic again.
Topicstarter
wjcain
thanks for the quick reply, orfk.
i did follow the instructions. i now get an error message stating that firefox prevented the install because it could not modify the needed file.
to which i say i have no idea what that means. any help would be appreciated.
best
Post edited 1 x times, last by
ORFK
Global Moderator
ORFK
Global Moderator
okey, first you have to delete the addon in the addon manager, than close firefox wait a few secounds and open it again, try to install BBLog vom our Server (right sidte oth this webiste).
after installing re-start firefox and visit battlelog. you should see a icon on the left side of the main navigation with "
BBLog Center
" if you can see it, it work.
if not uninstall BBLog in the Addon Manager, close Firefox and open the Path wich i have described in the other topic.use for this the following path:
%appdata%\Roaming\Mozilla\Firefox\Profiles
now you should see a profile folder, f.e. something like "
p76ttek5.default
"
the number and letter combination is always different.
if you open this profile folder, you will found an other folder with the name "
extensions
"
open it and you will find all installed addons.
the folder name from the BBLog Addon is something like "
jid1-qQSMEVsYTOjgYA@jetpack
"
the @jetpack is a good sign that this is the Better Battlelog Addon.
if you want to check if this is the right folder, open it and you will find two icons.
one of them is called "
icon.png
" and the other one is "
icon64.png
" they are looking like the attachements.
icon.png
now delete the FULL Folder, so you have to go back to "extensions" so you can see the "
jid1-qQSMEVsYTOjgYA@jetpack
" folder. Delte THIS, and only THIS folder, not the others, and not "extensions".
now close the windows, open firefox, visit getbblog.com and install the addon again.
if not working, please contact us =)


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.RenderingHints
public class RenderingHints
The RenderingHints
class contains rendering hints that can
be used by the Graphics2D
class, and classes that
implement BufferedImageOp
and
Raster
.
| Nested Class Summary | |
|---|---|
static class |
RenderingHints.Key
Defines the base type of all keys used to control various aspects of the rendering and imaging pipelines. |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
static RenderingHints.Key |
KEY_ALPHA_INTERPOLATION
Alpha interpolation hint key. |
static RenderingHints.Key |
KEY_ANTIALIASING
Antialiasing hint key. |
static RenderingHints.Key |
KEY_COLOR_RENDERING
Color rendering hint key. |
static RenderingHints.Key |
KEY_DITHERING
Dithering hint key. |
static RenderingHints.Key |
KEY_FRACTIONALMETRICS
Font fractional metrics hint key. |
static RenderingHints.Key |
KEY_INTERPOLATION
Interpolation hint key. |
static RenderingHints.Key |
KEY_RENDERING
Rendering hint key. |
static RenderingHints.Key |
KEY_STROKE_CONTROL
Stroke normalization control hint key. |
static RenderingHints.Key |
KEY_TEXT_ANTIALIASING
Text antialiasing hint key. |
static Object |
VALUE_ALPHA_INTERPOLATION_DEFAULT
Alpha interpolation hint value -- ALPHA_INTERPOLATION_DEFAULT. |
static Object |
VALUE_ALPHA_INTERPOLATION_QUALITY
Alpha interpolation hint value -- ALPHA_INTERPOLATION_QUALITY. |
static Object |
VALUE_ALPHA_INTERPOLATION_SPEED
Alpha interpolation hint value -- ALPHA_INTERPOLATION_SPEED. |
static Object |
VALUE_ANTIALIAS_DEFAULT
Antialiasing hint values -- rendering is done with the platform default antialiasing mode. |
static Object |
VALUE_ANTIALIAS_OFF
Antialiasing hint values -- rendering is done without antialiasing. |
static Object |
VALUE_ANTIALIAS_ON
Antialiasing hint values -- rendering is done with antialiasing. |
static Object |
VALUE_COLOR_RENDER_DEFAULT
Color rendering hint value -- COLOR_RENDER_DEFAULT. |
static Object |
VALUE_COLOR_RENDER_QUALITY
Color rendering hint value -- COLOR_RENDER_QUALITY. |
static Object |
VALUE_COLOR_RENDER_SPEED
Color rendering hint value -- COLOR_RENDER_SPEED. |
static Object |
VALUE_DITHER_DEFAULT
Dithering hint values -- use the platform default for dithering. |
static Object |
VALUE_DITHER_DISABLE
Dithering hint values -- do not dither when rendering. |
static Object |
VALUE_DITHER_ENABLE
Dithering hint values -- dither when rendering, if needed. |
static Object |
VALUE_FRACTIONALMETRICS_DEFAULT
Font fractional metrics hint values -- use the platform default for fractional metrics. |
static Object |
VALUE_FRACTIONALMETRICS_OFF
Font fractional metrics hint values -- fractional metrics disabled. |
static Object |
VALUE_FRACTIONALMETRICS_ON
Font fractional metrics hint values -- fractional metrics enabled. |
static Object |
VALUE_INTERPOLATION_BICUBIC
Interpolation hint value -- INTERPOLATION_BICUBIC. |
static Object |
VALUE_INTERPOLATION_BILINEAR
Interpolation hint value -- INTERPOLATION_BILINEAR. |
static Object |
VALUE_INTERPOLATION_NEAREST_NEIGHBOR
Interpolation hint value -- INTERPOLATION_NEAREST_NEIGHBOR. |
static Object |
VALUE_RENDER_DEFAULT
Rendering hint values -- The platform default rendering algorithms are chosen. |
static Object |
VALUE_RENDER_QUALITY
Rendering hint values -- Appropriate rendering algorithms are chosen with a preference for output quality. |
static Object |
VALUE_RENDER_SPEED
Rendering hint values -- Appropriate rendering algorithms are chosen with a preference for output speed. |
static Object |
VALUE_STROKE_DEFAULT
Stroke normalization control hint value -- STROKE_DEFAULT. |
static Object |
VALUE_STROKE_NORMALIZE
Stroke normalization control hint value -- STROKE_NORMALIZE. |
static Object |
VALUE_STROKE_PURE
Stroke normalization control hint value -- STROKE_PURE. |
static Object |
VALUE_TEXT_ANTIALIAS_DEFAULT
Text antialiasing hint value -- text rendering is done using the platform default text antialiasing mode. |
static Object |
VALUE_TEXT_ANTIALIAS_OFF
Text antialiasing hint value -- text rendering is done without antialiasing. |
static Object |
VALUE_TEXT_ANTIALIAS_ON
Text antialiasing hint value -- text rendering is done with antialiasing. |
| Constructor Summary | |
|---|---|
RenderingHints(Map<RenderingHints.Key,?> init)
Constructs a new object with keys and values initialized from the specified Map object (which may be null). |
|
RenderingHints(RenderingHints.Key key,
Object value)
Constructs a new object with the specified key/value pair. |
| Method Summary | |
|---|---|
void |
add(RenderingHints hints)
Adds all of the keys and corresponding values from the specified RenderingHints object to this
RenderingHints object. |
void |
clear()
Clears this RenderingHints object of all key/value
pairs. |
Object |
clone()
Creates a clone of this RenderingHints object
that has the same contents as this RenderingHints
object. |
boolean |
containsKey(Object key)
Returns true if this RenderingHints
contains a mapping for the specified key. |
boolean |
containsValue(Object value)
Returns true if this RenderingHints maps one or more keys to the specified value. |
Set<Map.Entry<Object,Object>> |
entrySet()
Returns a Set view of the mappings contained
in this RenderingHints . |
boolean |
equals(Object o)
Compares the specified Object with this
RenderingHints for equality. |
Object |
get(Object key)
Returns the value to which the specified key is mapped. |
int |
hashCode()
Returns the hash code value for this RenderingHints . |
boolean |
isEmpty()
Returns true if this
RenderingHints contains no key-value mappings. |
Set<Object> |
keySet()
Returns a Set view of the Keys contained in this
RenderingHints . |
Object |
put(Object key,
Object value)
Maps the specified key to the specified
value in this RenderingHints object. |
void |
putAll(Map<?,?> m)
Copies all of the mappings from the specified Map
to this RenderingHints . |
Object |
remove(Object key)
Removes the key and its corresponding value from this RenderingHints object. |
int |
size()
Returns the number of key-value mappings in this RenderingHints . |
String |
toString()
Returns a rather long string representation of the hashmap which contains the mappings of keys to values for this RenderingHints object. |
Collection<Object> |
values()
Returns a Collection view of the values
contained in this RenderinHints . |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RenderingHints.Key KEY_ANTIALIASING
public static final Object VALUE_ANTIALIAS_ON
public static final Object VALUE_ANTIALIAS_OFF
public static final Object VALUE_ANTIALIAS_DEFAULT
public static final RenderingHints.Key KEY_RENDERING
public static final Object VALUE_RENDER_SPEED
public static final Object VALUE_RENDER_QUALITY
public static final Object VALUE_RENDER_DEFAULT
public static final RenderingHints.Key KEY_DITHERING
public static final Object VALUE_DITHER_DISABLE
public static final Object VALUE_DITHER_ENABLE
public static final Object VALUE_DITHER_DEFAULT
public static final RenderingHints.Key KEY_TEXT_ANTIALIASING
public static final Object VALUE_TEXT_ANTIALIAS_ON
public static final Object VALUE_TEXT_ANTIALIAS_OFF
public static final Object VALUE_TEXT_ANTIALIAS_DEFAULT
public static final RenderingHints.Key KEY_FRACTIONALMETRICS
public static final Object VALUE_FRACTIONALMETRICS_OFF
public static final Object VALUE_FRACTIONALMETRICS_ON
public static final Object VALUE_FRACTIONALMETRICS_DEFAULT
public static final RenderingHints.Key KEY_INTERPOLATION
public static final Object VALUE_INTERPOLATION_NEAREST_NEIGHBOR
public static final Object VALUE_INTERPOLATION_BILINEAR
public static final Object VALUE_INTERPOLATION_BICUBIC
public static final RenderingHints.Key KEY_ALPHA_INTERPOLATION
public static final Object VALUE_ALPHA_INTERPOLATION_SPEED
public static final Object VALUE_ALPHA_INTERPOLATION_QUALITY
public static final Object VALUE_ALPHA_INTERPOLATION_DEFAULT
public static final RenderingHints.Key KEY_COLOR_RENDERING
public static final Object VALUE_COLOR_RENDER_SPEED
public static final Object VALUE_COLOR_RENDER_QUALITY
public static final Object VALUE_COLOR_RENDER_DEFAULT
public static final RenderingHints.Key KEY_STROKE_CONTROL
public static final Object VALUE_STROKE_DEFAULT
public static final Object VALUE_STROKE_NORMALIZE
public static final Object VALUE_STROKE_PURE
| Constructor Detail |
|---|
public RenderingHints(Map<RenderingHints.Key,?> init)
init
- a map of key/value pairs to initialize the hints
or null if the object should be emptypublic RenderingHints(RenderingHints.Key key, Object value)
key
- the key of the particular hint propertyvalue
- the value of the hint property specified with
key
| Method Detail |
|---|
public int size()
RenderingHints
.
size
in interface Map<Object,Object>
RenderingHints
.public boolean isEmpty()
true
if this
RenderingHints
contains no key-value mappings.
isEmpty
in interface Map<Object,Object>
true
if this
RenderingHints
contains no key-value mappings.public boolean containsKey(Object key)
true
if this RenderingHints
contains a mapping for the specified key.
containsKey
in interface Map<Object,Object>
key
- key whose presence in this
RenderingHints
is to be tested.
true
if this RenderingHints
contains a mapping for the specified key.
ClassCastException
- key is not
of type RenderingHints.Key
NullPointerException
- key is null
public boolean containsValue(Object value)
true
if and only
if this RenderingHints
contains at least one mapping to a value v
such that
(value==null ? v==null : value.equals(v)). This operation will probably require time linear in the
RenderingHints
size for most implementations
of RenderingHints
.
containsValue
in interface Map<Object,Object>
value
- value whose presence in this
RenderingHints
is to be tested.
true
if this RenderingHints
maps one or more keys to the specified value.public Object get(Object key)
get
in interface Map<Object,Object>
key
- a rendering hint key
null
if the key is not mapped to any value in
this object.
ClassCastException
- key is not of
type RenderingHints.Key
.put(Object, Object)
public Object put(Object key, Object value)
key
to the specified
value
in this RenderingHints
object.
Neither the key nor the value can be null
.
The value can be retrieved by calling the get
method
with a key that is equal to the original key.
put
in interface Map<Object,Object>
key
- the rendering hint key.value
- the rendering hint value.
null
if it did not have one.
NullPointerException
- if the key or value is
null
.
ClassCastException
- key is not of
type RenderingHints.Key
.
IllegalArgumentException
- value is not
appropriate for the specified key.get(Object)
public void add(RenderingHints hints)
RenderingHints
object to this
RenderingHints
object. Keys that are present in
this RenderingHints
object, but not in the specified
RenderingHints
object are not affected.
hints
- the set of key/value pairs to be added to this
RenderingHints
objectpublic void clear()
RenderingHints
object of all key/value
pairs.
clear
in interface Map<Object,Object>
public Object remove(Object key)
RenderingHints
object. This method does nothing if the
key is not in this RenderingHints
object.
remove
in interface Map<Object,Object>
key
- the rendering hints key that needs to be removed
RenderingHints
object, or null
if the key did not have a mapping.
ClassCastException
- key is not of
type RenderingHints.Key
.public void putAll(Map<?,?> m)
Map
to this RenderingHints
. These mappings replace
any mappings that this RenderingHints
had for any
of the keys currently in the specified Map
.
putAll
in interface Map<Object,Object>
m
- the specified Map
ClassCastException
- class of a key or value
in the specified Map
prevents it from being
stored in this RenderingHints
.
IllegalArgumentException
- some aspect
of a key or value in the specified Map
prevents it from being stored in
this RenderingHints
.public Set<Object> keySet()
Set
view of the Keys contained in this
RenderingHints
. The Set is backed by the
RenderingHints
, so changes to the
RenderingHints
are reflected in the Set
,
and vice-versa. If the RenderingHints
is modified
while an iteration over the Set
is in progress,
the results of the iteration are undefined. The Set
supports element removal, which removes the corresponding
mapping from the RenderingHints
, via the
Iterator.remove
, Set.remove
,
removeAll
retainAll
, and
clear
operations. It does not support
the add
or addAll
operations.
keySet
in interface Map<Object,Object>
Set
view of the keys contained
in this RenderingHints
.public Collection<Object> values()
Collection
view of the values
contained in this RenderinHints
.
The Collection
is backed by the
RenderingHints
, so changes to
the RenderingHints
are reflected in
the Collection
, and vice-versa.
If the RenderingHints
is modified while
an iteration over the Collection
is
in progress, the results of the iteration are undefined.
The Collection
supports element removal,
which removes the corresponding mapping from the
RenderingHints
, via the
Iterator.remove
,
Collection.remove
, removeAll
,
retainAll
and clear
operations.
It does not support the add
or
addAll
operations.
values
in interface Map<Object,Object>
Collection
view of the values
contained in this RenderingHints
.public Set<Map.Entry<Object,Object>> entrySet()
Set
view of the mappings contained
in this RenderingHints
. Each element in the
returned Set
is a Map.Entry
.
The Set
is backed by the RenderingHints
,
so changes to the RenderingHints
are reflected
in the Set
, and vice-versa. If the
RenderingHints
is modified while
while an iteration over the Set
is in progress,
the results of the iteration are undefined.
The entrySet returned from a RenderingHints
object
is not modifiable.
entrySet
in interface Map<Object,Object>
Set
view of the mappings contained in
this RenderingHints
.public boolean equals(Object o)
Object
with this
RenderingHints
for equality.
Returns true
if the specified object is also a
Map
and the two Map
objects represent
the same mappings. More formally, two Map
objects
t1
and t2
represent the same mappings
if t1.keySet().equals(t2.keySet())
and for every
key k
in t1.keySet()
,
(t1.get(k)==null ? t2.get(k)==null : t1.get(k).equals(t2.get(k))). This ensures that the
equals
method works properly across
different implementations of the Map
interface.
equals
in interface Map<Object,Object>
equals
in class Object
o
- Object
to be compared for equality with
this RenderingHints
.
true
if the specified Object
is equal to this RenderingHints
.Object.hashCode()
,
Hashtable
public int hashCode()
RenderingHints
.
The hash code of a RenderingHints
is defined to be
the sum of the hashCodes of each Entry
in the
RenderingHints
object's entrySet view. This ensures that
t1.equals(t2)
implies that
t1.hashCode()==t2.hashCode()
for any two Map
objects t1
and t2
, as required by the general
contract of Object.hashCode
.
hashCode
in interface Map<Object,Object>
hashCode
in class Object
RenderingHints
.Map.Entry.hashCode()
,
Object.hashCode()
,
Object.equals(Object)
,
equals(Object)
public Object clone()
RenderingHints
object
that has the same contents as this RenderingHints
object.
clone
in class Object
Cloneable
public String toString()
RenderingHints
object.
toString
in class Object
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


-
Women's Rights
-
War & Refugees
-
Assisting the world's most vulnerable refugees.
-
Responding to the world's worst humanitarian crises.
-
-
Nature & Environment
-
Science, policy and partnerships to protect nature.
-
Saving wildlife and wild places worldwide. Managing the world's largest system of urban wildlife parks.
-
-
Civil Liberties
-
Using the law to protect civil liberties and strengthen the rights of people.
-
Defending your rights in the digital world
-
Human Rights
-
Fighting hate, promoting tolerance, and bringing justice to the powerless.
-
Information on the law, and the employment and public benefits rights of immigrants.
-
-
Education
-
Enlisting our future leaders to become teachers in low-income communities.
-
-
Medical
-
Medical projects in war-torn regions and developing countries.
-
Protecting the life and dignity of the victims of armed conflicts and natural disasters.
-
-
The Press
-
LGBTQ
-
Hotline staffed by transgender people for transgender people.
-
Gun Violence
-
Counterweight to NRA.
-


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
C
CAMERA_FACE_VIEW
- Static variable in class com.cybersix.markme.controller.
CameraPreview
CAMERA_FRONT_VIEW
- Static variable in class com.cybersix.markme.controller.
CameraPreview
CameraPreview
- Class in
com.cybersix.markme.controller
CameraPreview(Activity, TextureView)
- Constructor for class com.cybersix.markme.controller.
CameraPreview
CameraPreview.OnCaptureListener
- Interface in
com.cybersix.markme.controller
capture()
- Method in class com.cybersix.markme.controller.
CameraPreview
Captures the photo on the current capture session.
CareProvider
- Class in
com.cybersix.markme.model
CareProvider()
- Constructor for class com.cybersix.markme.model.
CareProvider
CareProvider(String)
- Constructor for class com.cybersix.markme.model.
CareProvider
CareProvider(String, List<Patient>)
- Constructor for class com.cybersix.markme.model.
CareProvider
CareProvider2Patient()
- Method in class com.cybersix.markme.
PatientAssignmentTest
CareProviderTest
- Class in
com.cybersix.markme
CareProviderTest()
- Constructor for class com.cybersix.markme.
CareProviderTest
change_to_english(View)
- Method in class com.cybersix.markme.fragment.
LanguageHandlerFragment
change_to_french(View)
- Method in class com.cybersix.markme.fragment.
LanguageHandlerFragment
checkLogin()
- Method in class com.cybersix.markme.actvity.
LoginActivity
checkRegistration()
- Method in class com.cybersix.markme.actvity.
SignupActivity
com.cybersix.markme
- package com.cybersix.markme
com.cybersix.markme.actvity
- package com.cybersix.markme.actvity
com.cybersix.markme.adapter
- package com.cybersix.markme.adapter
com.cybersix.markme.controller
- package com.cybersix.markme.controller
com.cybersix.markme.fragment
- package com.cybersix.markme.fragment
com.cybersix.markme.io
- package com.cybersix.markme.io
com.cybersix.markme.model
- package com.cybersix.markme.model
com.cybersix.markme.observer
- package com.cybersix.markme.observer
com.cybersix.markme.utils
- package com.cybersix.markme.utils
compressBitmap(Bitmap, int)
- Method in class com.cybersix.markme.actvity.
LiveCameraActivity
createNewProblem(String, String)
- Method in class com.cybersix.markme.controller.
ProblemController
This function will create a new problem for the user that called it and will add it to the problem list.
createNewProblem(ProblemModel)
- Method in class com.cybersix.markme.model.
DataModel
createNewRecord(String, String, ArrayList<Bitmap>, LatLng, BodyLocation)
- Method in class com.cybersix.markme.controller.
RecordController
This function will create a new record to add to the associated list of records to the controller
createNewRecord(String, String, ArrayList<Bitmap>, LatLng, BodyLocation)
- Method in class com.cybersix.markme.model.
DataModel
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


[page:Mesh] →
[name]
A helper object to show the world-axis-aligned bounding box for an object.
Example
var hex = 0xff0000;
var sphereMaterial = new THREE.MeshLambertMaterial( {color: 0x00ff00} );
var sphere = new THREE.Mesh( new THREE.SphereGeometry( 30, 12, 12), sphereMaterial );
scene.add( sphere );
var bbox = new THREE.BoundingBoxHelper( sphere, hex );
bbox.update();
scene.add( bbox );
Constructor
[name]([page:Object3D object], [page:Number hex])
object -- Object3D -- the object3D to show the world-axis-aligned boundingbox.
hex -- hexadecimal value to define color ex:0x888888
This creates an line object to the boundingbox.
Properties
[property:Object3D object]
Contains the object3D to show the world-axis-aligned boundingbox.
[property:Box3 box]
Contains the bounding box of the object.
Methods
[method:todo update]()
Updates the BoundingBoxHelper based on the object property.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]


--- layout: post title: Browse your Subversion Repositories categories: - releases author: rick published: true date: 2006-06-07 16:05:00.000000000 +01:00 ---
Bounty Source provides the Open Source community with free hosting and tools including a task manager, a CMS, and a Subversion Code Repository. They’ve been gracious enough to release the Subversion Browser as a Rails plugin.
I’ve posted a technique on Rails Weenie on using your application’s authentication scheme on the plugin, so that your secret sauce is not available to the whole world.


INEC declares Kogi West Senatorial election inconclusive
by Success NwoguSuccess Nwogu, Abuja
The Independent National Electoral Commission on Sunday declared as inconclusive the election of the November 16 Kogi West Senatorial District because the margin of win was less than the total cancelled votes.
It said that it will announce a date for the supplementary election.
It stated that the candidate of the All Progressives Congress, Senator Smart Adeyemi scored a total of 80,118 votes while the Kogi West Senatorial candidate of the Peoples Democratic Party, Senator Dino Melaye, scored 59,548 votes.


Install Python in order to install PIP.
Since Python is installed, we can try to install PIP for you.
Install PIP in order to install oTree.
Since PIP is installed, we can try to install oTree for you.


Identify Hydrogen Bonds¶
Use the functionality of hbonds.py in order to identify hydrogen bonds in a molecular dynamics trajectory.
Attempts to describe a hydrogen bond in the context of molecular simulations has yielded a number of definitions with no true consensus cite{prada-gracia_quest_2013} especially since the geometry of hydrogen bonds has some dependence on the system being studied. Luzar and Chandler proposed the geometric criterion such that a hydrogen bond exists if the distance between the donor, D, and acceptor, A, atoms is less than 3.5 AA~and the angle formed by D–H$cdotcdotcdot$A is less than 30degree. cite{luzar_effect_1996} The definition of Luzar and Chandler is easily visualized for trajectories using the texttt{hbonds} representation of the Visual Molecular Dynamics (VMD) software package which allows us to directly check the validity of identified hydrogen bonds.
Some definitions:
- donor (D): atom covalently bonded to hydrogen
- acceptor (A) : atom which ‘accepts’ hydrogen bond
A diagram of an hbond:
D–H - - A
Criterion:
- Distance between D and A below some distance
- Angle between DHA less than some cut-off
Note: You will need to properly annotate any residue that you think might participate in a hydrogen bond. See annotation-table.
Classes¶
-
class
hbonds.
System
(traj, gro, begin=0, end=-1, skip=1, t=None)¶ -
__init__
(traj, gro, begin=0, end=-1, skip=1, t=None)¶ Load in the trajectory
Parameters: - traj (str or NoneType) – GROMACS trajectory file (.xtc or .trr), can be None if t is provided
- gro (str) – GROMACS coordinate file (.gro)
- begin (int) – First frame to analyze
- end (int) – Last frame to analyze
- skip (int) – Only analyze every skip frames
- t (object) – mdtraj trajectory object. If this is provided, traj and gro will not be loaded
-
identify_hbonds
(cut, angle)¶ Identify hydrogen bonds based on geometric criteria. If the angle formed by D-H–A and the distance between donor and acceptor are less than the cut-offs, then we consider a hydrogen bond to exist
Parameters: - cut (float) – cut-off distance (nm)
- angle (float) – cut-off angle (degrees)
-
plot_hbonds
(show=True, save=True, savename='hbonds.png')¶ Plot the total number of hydrogen bonds per frame as a function of time
Parameters: - show (bool) – display plot
- save (bool) – save plot under savename
- savename (str) – name under which to save plot
-
set_eligible
(res, atoms, acceptor_only=False, donors_only=False)¶ Define atoms that will be included in h-bond calculation. Make sure res is updated with proper annotations or no atoms will be selected!
Parameters: - res (str) – residue to include in calculation
- atoms (str or list) – atoms from residue to include in calculation. Use ‘all’ to include all potential hbonding atoms
- acceptor_only (bool) – restrict residue so it can only accept hydrogen bonds
- donor_only – restrict residue so it can only donate hydrogen bonds
-
Examples¶
# imports
from LLC_Membranes.analysis import hbonds
# Initialize system
sys = hbonds.System(traj, gro)
# Define residues involved in hbonds of interest
residues = ['HII', 'HOH'] # hydrogen bonds between LLC monomer and water
# Restrict system to hbonding atoms that are a part of HII and HOH
for i, r, in enumerate(residues):
sys.set_eligible(r, 'all') # restrict to all hbonding atoms of each residue
# Apply geometric criteria to identify hydrogen bonds
distance = 0.35 # distance cut-off
angle = 30
sys.identify_hbonds(distance, angle)
# Plot total hydrogen bonds as a function of time
sys.plot_hbonds()
Command Line Functionality¶
Use geometric criteria to identify hydrogen bonds
usage: hbonds.py [-h] [-t TRAJ] [-g GRO] [-b BEGIN] [-e END] [-sk SKIP]
[-r RESIDUES [RESIDUES ...]] [-a ATOMS [ATOMS ...]]
[-d DISTANCE] [-angle ANGLE_CUT] [-l LOAD]
[-acc ACCEPTORS [ACCEPTORS ...]]
[-donors DONORS [DONORS ...]] [-s SAVENAME] [-noshow]
Named Arguments¶
| -t, –traj | Path to input file Default: “wiggle.trr” |
| -g, –gro | Coordinate file Default: “wiggle.gro” |
| -b, –begin | End frame Default: 0 |
| -e, –end | Start frame Default: -1 |
| -sk, –skip | Skip every skip frames Default: 1 |
| -r, –residues | Residues to include in h-bond search Default: [‘HII’] |
| -a, –atoms | Atoms to include for each residue. Each list of atoms must be passed with a separate -a flag for each residue inargs.residues |
| -d, –distance | Maximum distance between acceptor and donor atoms Default: 0.35 |
| -angle, –angle_cut | |
Maximum DHA angle to be considered an H-bond Default: 30 | |
| -l, –load | Load pickled system object Default: False |
| -acc, –acceptors | |
If you only want hbonds with acceptoratoms of a residue, use this flag. 1 for this condition, otherwise 0. Input as a list of 0 and 1 in the same order as args.residues Default: False | |
| -donors, –donors | |
If you only want hbonds with donoratoms of a residue, use this flag. 1 for this condition, otherwise 0. Input as a list of 0 and 1 in the same order as args.residues Default: False | |
| -s, –savename | Name of pickled object to save aftercalcualtions are complete Default: “hbonds.pl” |
| -noshow, –noshow | |
Do not display plots Default: False |
Example Usage¶
# hydrogen bonds between atoms O3 and O4 of the monomer HII with all atoms of water
hbonds.py -t trajectory.xtc -g coordinates.gro -r HII HOH -a O3 O4 -a all


dns
IDns is a interface to make a DNS lookup.
class IDns
- static IDns * Create(class IIoMux * const iomux)
-
Creates an instance of IDns. iomux has to be a iomux instance IDns can use. The returned instance needs to be deleted after it is no longer used. Note that the IDns uses a thread to make the DNS lookup to not block the application. Generally this won't be a problem for the application, because the result of the lookup will be send to the mainthread of the application (or at least to the thread of the given iomux) in an synchronized way.
- void GetHostByName(const char * host, class UDns * const user, class IInstanceLog * const log)
-
Starts the DNS lookup of the given host. The result will be send to the given user.
log is used to log AppInstance related logs depedent of the log flag LOG_DNS.
class UDns
- void DnsGetHostByNameResult(const char * addr, bool isIPv6)
-
Returns the result of DNS lookup. addr is the address of the host given to GetHostByName(). If the address is an IPv6 address, the flag isIPv6 is true. If the lookup failed, addr is NULL. Each call to IDns::GetHostByName() will lead to a DnsGetHostByNameResult() call in the same order, GetHostByName() had been called.
Code Example
app::app(IIoMux * iomux)
: iomux(iomux)
{
this->dns = IDns::Create(iomux);
this->dns->GetHostByName("google.de", this);
}
void app::DnsGetHostByNameResult(const char * addr, bool isIPv6)
{
if (addr == NULL)
printf("DNS lookup of google.de failed\n");
else
printf("ip address of google.de = %s\n", addr);
delete this->dns;
this->dns = NULL;
}


Web Camera Location Finder
We'll monitor this web camera for 24 hours, to ovserve one sunset and sunrise. Check back
here
to monitor progress and see results. (The webcamera feed should appear below)


Viñales tops FP4, Marquez second but crashes
Yamaha have now led every session leading up to qualifying in Valencia
by Dorna SportsMaverick Viñales (Monster Energy Yamaha MotoGP) left it late to top FP4 with a 1:30.484 to oust Marc Marquez (Repsol Honda Team) – who had a small Turn 4 crash – from P1 at the Gran Premio Motul de la Comunitat Valenciana. Free Practice 3 pacesetter Fabio Quartararo (Petronas Yamaha SRT) completes the top three ahead of qualifying.
Aleix Espargaro (Aprilia Racing Team Gresini) suffered his third crash of the day – rider ok.
Q1 and Q2 are next!
Click here for the full results!
Fancy keeping up with all the 2020 preseason testing action and the 2020 season proper? Look no further than VideoPass!


{{address}}
DO NOT share this privatekey with anyone! This can be used to steal all your accounts.
{{privatekey}}


--- title: Grain Reference Orientation Deviation (GROD) sidebar: documentation_sidebar permalink: EBSDGROD.html folder: documentation toc: false ---
The grain reference orientation deviation is the misorientation \(\mathrm{GROD}_{i,j}\) between the orientation \(o_{i,j}\) at position \((i,j)\) and the reference or mean orientation \(o_g\) of the grain the position \((i,j)\) belongs to, i.e.,
\[ \mathrm{GROD}_{i,j} = \mathbf S_{i,j} \cdot \mathrm{inv}(o_g) \cdot o_{i,j} \]
In the above formula the symmetry elements \(\mathbf S_{i,j}\) are chosen to minimize the misorientation angle of \(\mathrm{GROD}_{i,j}\).
Let us demonstrate the computation of the grain reference orientation feviation at the example of a deformed Ferrite specimen. Lets import the data first, reconstruct the grain structure and perform some denoising of the orientation data as the we are going to analyse the misorientation axes which are very noise senitive.
{% highlight matlab %} mtexdata ferrite silent [grains,ebsd.grainId] = calcGrains(ebsd('indexed')); % remove one-three pixel grains ebsd(grains(grains.grainSize <= 3)) = []; [grains,ebsd.grainId] = calcGrains(ebsd('indexed'),'threshold',[1*degree, 10*degree]); % smooth grain boundaries grains = smooth(grains,5); % denoise the orientations F = halfQuadraticFilter; ebsd = smooth(ebsd,F,grains,'fill'); plot(ebsd('indexed'),ebsd('indexed').orientations) hold on plot(grains.boundary,'lineWidth',2) hold off {% endhighlight %}The grain reference orientation deviation is computed by the command calcGROD
. It requires the reconstructed grains
as second argument and that ebsd.grainId
has been set as we did in the above code.
As a first application we simply plot the misorientation angle of the grain reference orientation deviation and overlay it with the subgrain boundaries
{% highlight matlab %} % plot the misorientation angle of the GROD plot(ebsd,grod.angle./degree,'micronbar','off') mtexColorbar('title','misorientation angle to meanorientation in degree') mtexColorMap LaboTeX % overlay grain and subgrain boundaries hold on plot(grains.boundary,'lineWidth',1.5) plot(grains.innerBoundary,'edgeAlpha',grains.innerBoundary.misorientation.angle / (5*degree)) hold off {% endhighlight %}The grain orientation spread (GOS) is the averaged misorientation angle of the grain reference orientation deviations of each grain. We may compute this average by using the command grainMean
.
When analysing the misorientation axis of the grain reference orientation deviations we have to distinguish whether we look at them in crystal coordinates or in specimen coordinates. Let's start with the crystal coordinates. In this case we use the command axis
to compute the corresponding \((hk\ell)\) values.
Lets first plot the distribution of misorientation axes in the fundamental sector.
{% highlight matlab %} axCrystal = grod.axis; plot(axCrystal,'contourf','fundamentalRegion','antipodal','figSize','small') mtexColorbar('title','distribution of misorientation axes in mrd') {% endhighlight %}We observe that the distribution is very uniform and there is no prefered misorientation axes. Lets have a look at the spatial distribution of the misorientation axes. To this end we firs have to define a directional color key.
{% highlight matlab %} colorKey = HSVDirectionKey(ebsd.CS,'antipodal'); plot(colorKey,'figSize','small') {% endhighlight %}When plotting the misorientation axis we use the misorientation angle as transparency value to fade out low angles misorientations to white.
{% highlight matlab %} % compute the color from the misorientation axis color = colorKey.direction2color(axCrystal); % and set the transperency from the misorientation angle alpha = min(grod.angle/degree/7.5,1); % plot the data plot(ebsd,color,'micronbar','off','faceAlpha',alpha,'figSize','large') hold on plot(grains.boundary,'lineWidth',2) plot(grains.innerBoundary,'edgeAlpha',grains.innerBoundary.misorientation.angle / (5*degree)) hold off {% endhighlight %}The misorientation axis in crystal coordinates can be related to active slipsystems. See: V. Tong, E. Wielewski, B. Britton Characterisation of slip and twinning in high rate deformed zirconium with electron backscatter diffraction, 2018.
TODO: explain this at some new documentation page
The misorientation axis in specimen coordinates is computed by applying the EBSD orientations to the the misorientation axes in crystal coordinates. It is important to use here the option 'noSymmetry'
.
When looking at the distribution of the misorientation axes in specimen coordinates we observe some strongly prefered directions.
As the misorientation axes in specimen coordinates have no symmetry at all (not even antipodal symmetry) we may use a full color key to colorize them
{% highlight matlab %} colorKey = HSVDirectionKey; plot(colorKey,'figSize','small') {% endhighlight %}The spatial plot of the misorientation axes in crystal coordinates follows the same lines as the plot in specimen coordinates.
{% highlight matlab %} % compute color and transperency omega = min(grod.angle/degree/7.5,1); color = colorKey.direction2color(axSpecimen); % plot the data plot(ebsd,color,'micronbar','off','FaceAlpha',omega,'figSize','large') hold on plot(grains.boundary,'lineWidth',2) plot(grains.innerBoundary,'edgeAlpha',grains.innerBoundary.misorientation.angle / (5*degree)) hold off %omega = min(grod.angle/degree/7.5,1); %color = colorKey.direction2color(axSpecimen,'grayValue',omega); {% endhighlight %}


Class PostalMatrixStatic
This is the model class for table "postal_matrix_static".
- yii\db\ActiveRecord
- app\models\PostalMatrixStatic
public static
|
|
public
|
|
public
|
|
public
|
public
integer
|
$id
|
public
string
|
$from
|
public
string
|
$to
|
public
integer
|
$time
|
public
string
|
$modified
|
public
string
|
$from_zone
|
public
string
|
$to_zone
|


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/new.20achievement.html ---
Achievement unlocked: read something I proved in Lean to get the correct statement and proof for a paper I am writing
Can we see?
Well the Lean version is https://github.com/rwbarton/lean-model-categories/blob/top-dev/src/category_theory/model/category.lean#L32
It's more convenient than looking in a book mostly because I know exactly where it is
For the most part, once I know the statement is definitely correct, I can work out the proof (maybe taking a hint or two from the formalization)
You can just give a reference to the lean file for the proof
One could argue that this was more efficient and more accurate than the old fashioned way of trying to write down a paper proof
I guess the key question is what you want your readers to get from the proof. Just an indication that the result is true, or some sort of technique which they can use to prove similar results themselves?
I actually needed to prove a similar result myself
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC