| We have 3 primitives only available : play(channel, note) that starts playing a note, stop(channel) that mutes a channel and sleep (duration) that makes the cpu sleep. Good thing is that the implementation of MIDI intepretation in Mr Sanford's code is based on events. Play note, stop note are the 2 only events we're interrested in. So in both our chronograms, we start playing a note on channel A (play(A, note1)) and save time as T. Then comes an even :
So logic is simple in fact : at each event, sleep for duration since latest even, do the event, save the time... that's all... |
| Tadaaaa ♪ You can see at the bottom the "arduino + YMZ294" version. It's not perfect but with the few parameters and depending on the tune it might give a quite nice output (especially this Final Fantasy IV tune that sounds like the real stuff!). Enjoy. |


org.optaplanner.benchmark.impl.ranking
Interfaces
SolverRankingWeightFactory
Classes
ResilientScoreComparator
SingleBenchmarkRankingComparator
TotalRankSolverRankingWeightFactory
TotalRankSolverRankingWeightFactory.TotalRankSolverRankingWeight
TotalScoreSolverRankingComparator
WorstScoreSolverRankingComparator


Basic Popup
{{basicPopupVisible ? 'Close' : 'Open'}} Popup
Hello, I am a pop up!
Headers and Footers
A popup with a header and a footer.
{{headerFooterPopupVisible ? 'Close' : 'Open'}} Custom Popup
Hello, Hello, Hello. This is a tall bit of content that needs a scroll
bar because the content is so long.
Limited Size
Using the default &ngsp; PercentagePopupSizeProvider &ngsp; to limit
max width to be 70% of the viewport width and max height to be 50% of the
viewport height.
{{sizePopupVisible ? 'Close' : 'Open'}} Provider Popup
Hello, Hello, Hello. This is a long content that may need a scroll bar
if the size of the popup is too wide for the window. We cap it at 50% of
the viewport height as a reasonable default.


The Plainfield Fire Co. #1 maintains an active presence on Facebook, however the account is not monitored 24/7 and should not be used to report an emergency. Non-emergency inquiries and routine messages can be submitted through Facebook. Other pertinent contact information is listed below.
Other Contact information
Plainfield Fire Co. # 1620 Norwich Road
Plainfield, CT 06374 Pay Fire Tax
Fire Station: (non-emergency):<PHONE_NUMBER>
Fire District Chairman: Michael Surprenant:<PHONE_NUMBER>
Fire Chief: Travis Irons<PHONE_NUMBER>
Fire District Tax Collector: Lorraine Corson<PHONE_NUMBER>
QV Dispatch: (non-emergency)<PHONE_NUMBER>
Plainfield Police Department:<PHONE_NUMBER>
Town of Plainfield Fire Marshal: Paul Yellen<PHONE_NUMBER>


{{reference.title}} {{reference.description}} Website {{reference.published}} 10000 Bookmark More ...


Home Network Storage
Other Services
TORRENT CLIENT
PI Hole
Lamp Control - Timeout = 4 Hours
Change Colour
Off
Green
Blue
Red
Orange
Yellow


Learn About EOSIO
LatamLink offers useful tools for organizations in Latin America that want to explore EOSIO technology.
Put your dApps to the test
LatamLink includes a local environment to build and test decentralized applications (Dapps).
Test your infrastructure
LatamLink enables developers and organizations to test blockchain infrastructures.>
Why Choose LatamLink?
1. It allows you to explore EOSIO
EOSIO is an open-source blockchain technology that enables greater flexibility, scalability,
and cost-efficiency, which is ideal for enterprise and social impact solutions. Read more about EOSIO here.
2. We are part of the LACChain initiative
LACChain is an initiative of IDB Lab to foster the blockchain ecosystem in Latin America. It
builds alliances with leading companies in the blockchain field and integrates major
blockchain technologies into its LACChain network. For more information about LACChain, visit
this link.
3. It offers an integral solution
LatamLink deploys a public permissioned version of EOSIO technology for Latin America. We
include some features such as a local development and testing environment, a monitor
service, and adaptability to API endpoints, wallets, and other tools. Check the full list
below.
Tools
These are some tools and resources LatamLink offers to help you leverage your decentralized app or blockchain infrastructure.


--- layout: page title: "Contact" description: "Have questions? I have answers (maybe)." header-img: "img/miyajima.jpg" ---
Want to get in touch with me? Ping me on twitter


YEAR-END CHARTS
HOT 100 SONGS
1
Uptown Funk!
Mark Ronson Featuring Bruno Mars
3
See You Again
Wiz Khalifa Featuring Charlie Puth
MORE YEAR-END CHARTS VIEW ALL
15
Bad Blood
Taylor Swift Featuring Kendrick Lamar
16
Lean On
Major Lazer & DJ Snake Featuring MO
19
Where Are U Now
Skrillex & Diplo With Justin Bieber
21
679
Fetty Wap Featuring Remy Boyz
23
Worth It
Fifth Harmony Featuring Kid Ink
24
Post To Be
Omarion Featuring Chris Brown & Jhene Aiko
27
Good For You
Selena Gomez Featuring A$AP Rocky
31
Hey Mama
David Guetta Featuring Nicki Minaj, Bebe Rexha & Afrojack
32
G.D.F.R.
Flo Rida Featuring Sage The Gemini & Lookas
39
Time Of Our Lives
Pitbull & Ne-Yo
40
Locked Away
R. City Featuring Adam Levine
41
Somebody
Natalie La Rose Featuring Jeremih
42
FourFiveSeconds
Rihanna & Kanye West & Paul McCartney
44
My Way
Fetty Wap Featuring Monty
47
I Don't F**k With You
Big Sean Featuring E-40
51
Only
Nicki Minaj Featuring Drake, Lil Wayne & Chris Brown
55
I Don't Mind
Usher Featuring Juicy J
56
Love Me Harder
Ariana Grande & The Weeknd
59
You Know You Like It
DJ Snake & AlunaGeorge
66
Truffle Butter
Nicki Minaj Featuring Drake & Lil Wayne
69
All Eyes On You
Meek Mill Featuring Chris Brown & Nicki Minaj
72
Classic Man
Jidenna Featuring Roman GianArthur
75
Marvin Gaye
Charlie Puth Featuring Meghan Trainor
76
Like I'm Gonna Lose You
Meghan Trainor Featuring John Legend
78
The Hanging Tree
James Newton Howard Featuring Jennifer Lawrence
80
Bang Bang
Jessie J, Ariana Grande & Nicki Minaj
82
Tuesday
I LOVE MAKONNEN Featuring Drake
83
Hit The Quan
iLoveMemphis
84
Downtown
Macklemore & Ryan Lewis Featuring Eric Nally, Melle Mel, Kool Moe Dee & Grandmaster Caz
86
Ayo
Chris Brown & Tyga
88
Blessings
Big Sean Featuring Drake
96
El Perdon (Forgiveness)
Nicky Jam & Enrique Iglesias
97
She Knows
Ne-Yo Featuring Juicy J
100
How Deep Is Your Love
Calvin Harris & Disciples


Click on the element to open the side navigation menu, and push this content to the right.
w3schools > off-canvas


Knight Lab
The Undergraduate Experience
by
Tyler Fisher
Hello!
Finding the Lab
"Design the future of news."
I thought I was Greil Marcus.
Journalism, Technology and Medill
Journalism education is deeply flawed.
How do I learn with no roadmap?
How do I teach without skill?
Web-focused classes at Northwestern
JOUR 320: Interactive News
JOUR 340: Innovations and News in Technology
JOUR 390: Web Producing
EECS 110: Intro to Computer Programming
EECS 130: Tools and Technology of the World Wide Web
EECS 330: Human-Computer Interaction
Developing SoundCite
Initially, collaboration was hard.
Then, two key things happened.
We hired Joe Germuska.
We moved to Fisk Hall.
Joe!
Having an open, collaborative space meant having a home.
April 2013: Alpha release
June 2013: Beta release
SoundCite was my first product.
I'm still parsing what I learned.
What is a journalism product?
What do journalists need?
Universally accessible
No coding required
Free to use
SoundCite's Answers
SoundCloud
Generated embed codes
Easy-to-use clip creator
Multimedia is the next frontier of web storytelling, long and short.
Longform storytelling is beginning to standardize use of multimedia.
SoundCite can be a multimedia standard for any type of story.
Audio is not a first-class citizen on the web.
SoundCite still doesn't work on mobile.
Without a universally acceptable audio codec, browser suppport will remain weak.
We need more open source tools for journalists.
What's next?
Finding talent at Northwestern should be easier.
The Knight Lab must become Northwestern's community of webmakers.
Community-Building Initiatives
learn.knightlab.com
Open Lab Hours
Brown Bag Lunches
learn.knightlab.com
We have the technology.
Three Categories of Skill
Production
Data
DevOps
But first, digital literacy for all.
Open Lab Hours
A physical space for makers and learners.
Student-run, student-owned.
Is that video ready? Should it go here?
Brown Bag Lunches
Using our staff expertise
Knight Lab changed my life.
Every journalism school needs a Knight Lab.
Questions?


| employeeId | leaveFrom | leaveTo | leaveDuration | leaveStatus | commentByManager | leaveFromHalf | leaveToHalf | commentByApplicant |
| {{item?.employeeId}} | {{item?.leaveFrom}} | {{item?.leaveTo}} | {{item?.leaveDuration}} | {{item?.leaveStatus}} | {{item?.commentByManager}} | {{item?.leaveFromHalf}} | {{item?.leaveToHalf}} | {{item?.commentByApplicant}} |


import AppConstants from "../core/AppConstants";
import Hole from "../core/Hole";
import me from "../me";
import SeedUI from "./SeedUI";
import Vector from "../core/Vector";
/*
* bawo.zone - https://bawo.zone
* https://github.com/fumba/bawo.zone
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
/**
* Bawo board seed
*/
class SeedGroupUI extends me.DraggableEntity {
/**
* The Hole in which seeds will be placed
*/
public readonly hole: Hole;
/**
* initial position for the seed group before it was dragged
*/
private readonly originalPos: Vector;
/**
* seed group entity radius
*/
public readonly radius: number;
/**
* initial center position
*/
public readonly originalCenter: Vector;
/**
* @param {Hole} hole the hole in which the seeds are being placed
*/
constructor(hole: Hole) {
const settings = {
image: me.loader.getImage(AppConstants.SEED_GROUP_UI),
height: 50,
width: 50,
id: `${AppConstants.SEED_GROUP_UI}-${hole.UID}`,
};
//Readjust x and y coordinates since they are based hole values which contains the smaller seedgroup entity
const holeUI = hole.ui;
const x_i = holeUI.pos.x + (holeUI.width - settings.width) / 2;
const y_i = holeUI.pos.y + (holeUI.height - settings.height) / 2;
super(x_i, y_i, settings);
this.originalPos = new Vector(this.pos.x, this.pos.y, this.pos.z);
this.originalCenter = new Vector(
this.pos.x + settings.width / 2,
this.pos.y + settings.height / 2,
this.pos.z
);
this.radius = settings.height / 2;
this.hole = hole;
this.renderable.alpha = 0; //make container invisible
}
initEvents(): void {
super.initEvents();
// Remove the old pointerdown and pointerup events.
this.removePointerEvent("pointerdown", this);
this.removePointerEvent("pointerup", this);
const isPlayableHole = () =>
this.hole.availableMovesForCurrentPlayer().length > 0;
// Define the new events that return false (don't fall through).
// eslint-disable-next-line @typescript-eslint/no-explicit-any
this.mouseDown = (e: any) => {
// Do not allow player to make moves on hole that does not belong to them
if (!isPlayableHole()) {
return false;
}
this.translatePointerEvent(e, me.event.DRAGSTART);
return false;
};
// eslint-disable-next-line @typescript-eslint/no-explicit-any
this.mouseUp = (e: any) => {
// Do not allow player to make moves on hole that does not belong to them
if (!isPlayableHole()) {
return false;
}
this.translatePointerEvent(e, me.event.DRAGEND);
//move back draggable seed group container to its initial position
this.pos.x = this.originalPos.x;
this.pos.y = this.originalPos.y;
this.renderable.alpha = 0;
return false;
};
this.pointerEnter = () => {
if (isPlayableHole()) {
this.renderable.alpha = 1;
}
};
this.pointerLeave = () => {
this.renderable.alpha = 0;
};
// Add the new pointerdown and pointerup events.
this.onPointerEvent("pointerdown", this, this.mouseDown.bind(this));
this.onPointerEvent("pointerup", this, this.mouseUp.bind(this));
this.onPointerEvent("pointerenter", this, this.pointerEnter.bind(this));
this.onPointerEvent("pointerleave", this, this.pointerLeave.bind(this));
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
dragStart(event: any): void {
super.dragStart(event);
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
dragEnd(event: any): void {
super.dragEnd(event);
this.getAllUISeeds().forEach((seed: SeedUI) => {
seed.randomisePosition();
seed.pos.z = seed.originalPos.z;
});
this.pos.z = this.originalPos.z;
me.game.world.sort(true);
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
dragMove(event: any): void {
if (this.dragging == true) {
this.getAllUISeeds().forEach((seed: SeedUI) => {
seed.pos.x = this.pos.x;
seed.pos.y = this.pos.y;
seed.pos.z = Infinity;
});
this.pos.z = Infinity;
me.game.world.sort(true);
}
super.dragMove(event);
}
public getAllUISeeds(): Array<SeedUI> {
return me.game.world.getChildByProp(
"id",
SeedUI.seedGroupId(this.hole.UID)
);
}
}
export default SeedGroupUI;
Source


Awesomeness
What you'll need to get going
- All the requirements installed
- Compass up and running
- Basic understanding of how to use CSS modules
- Basic understanding of how to use dynamic JavaScript modules
Awesomeness provides a lot of cool tools but you'll have to connect the dots yourself. We'll try to provide all the necessary information on this page but it might be useful to read some documentation and tutorials related to each tool (i. e. Sass/Compass, Susy, RequireJS, etc.).
Requirements
Due to its nature of being a design and development framework, Awesomeness does not work out of the box. It heavily relies on other tools and frameworks and combines them to provide great flexibility and power.
Ruby
If you're a Mac user it's easy — Ruby is already installed on your machine. If you happen to be using Windows, please go to the Ruby download page, where you can find an installer and further instructions on how to proceed.
Gems
Awesomeness is built upon Sass and Compass and uses the Susy grid framework for layouting and normalize.css to softly reset browser default CSS. Hence you need to install the following gems:
- sass
- compass
- compass-normalize
- susy
Simply fire up Terminal (or Command Prompt on Windows) and type in this command:
$ gem install sass compass compass-normalize susy
This will install all four gems, as well as their dependencies. Hooray!
RequireJS
Since a proper modular approach to JavaScript architecture is especially important when you plan to use your interactive components in different environments, we chose to integrate RequireJS and let it handle the dependency management.
How To
Instantly work with Awesomeness
- Install Ruby (Windows only)
- Install Gems
$ gem install sass compass compass-normalize susy
- Inside folder
Awesomeness-Boilerplate/PROJECTNAME/
launch compass$ compass watch
- Start building awesome things
Import Static Components
- Create a
<custom-name>.html
HTML page, add the component code to it, for example<div class="msg"> Content </div>
- Add a
<custom-name>.scss
Sass file and import base styles and the component like so@import "base"; @import "imports/modules/msg";
- Connect the dots
<link rel="stylesheet" href="/css/<custom-name>.css">
Import Dynamic Components
- Follow the steps on how to import a static content
- Add a
<custom-name>.js
JavaScript file and require and initialize the component like sorequire(["tabacccontroller"], function(TabAccController) { // Initialize tab2acc component TabAccController.init(); });
- Connect the dots and add the JavaScript file to your HTML
<!-- RequireJS --> <script src="/js/require.js"></script> <script> // Load page logic require(['/js/<custom-name>.js']); </script>
Build your application
At some point you might want to lift your application from a development to a production stage in order to improve performance and upload it to a live server. RequireJS can do the heavylifting, building the app, removing all unnecessary files and concatenating & minifying JavaScript and CSS.
- If you haven't already done this, rename the
PROJECTNAME/
folder to the name of your app. - In
Awesomeness-Boilerplate/
folder locate thebuild.sh
file, open it and set the project name variable accordingly.# Project name variable must be the same as your main project folder P="PROJECTNAME"
- Open your Terminal and run the build script.
This will create a new folder called$ ./build.sh
the-build/
inside yourAwesomeness-Boilerplate/
folder. There you will find an optimized and stripped down copy of your application, ready for upload.


Feedr
News Source:
Source Name
X
My sister just discovered stop motion...
My sister just discovered stop motion...
Read more from source
Feedr
News Source:
Source Name
X
My sister just discovered stop motion...
My sister just discovered stop motion...
Read more from source


Batch 1
Date: View Schedule
Timings: 9AM - 5PM
Venue: Srishti School of Business,
Banashankari, Bangalore
Possessing technical skills is important but inclining towards acquiring knowledge and developing skills also matters. Quickness in learning, understanding and the quality of being appropriate is highly valued.
Acquire the talent by enrolling to this course, now!
Batch 1
Date: View Schedule
Timings: 9AM - 5PM
Venue: Srishti School of Business,
Banashankari, Bangalore
Batch 2
Date: View Schedule
Timings: 9AM - 5PM
Venue: Srishti School of Business,
Banashankari, Bangalore
Whether you are a professional aspiring for growth in your career or a student keen on shaping your career, this course is essential.
It has all the necessary ingredients like logical, verbal and quantitative reasoning.
Get Employable
Take Assessments
Mock Drills
Off Campus Placement Tips
Resume Building
Videos Based Solutions of Test
Every problem has a solution. Discover the fastest and the most feasible solution to the problem. Take up online and classroom tests. Go through visual solutions for effective learning.
Mock interviews simulate the actual interview process giving you a first hand experience on what to expect and reduce the probability of error.
Never prepare your resume, know how to build it. It either makes or breaks your career. Find out the answers to all those questions burning inside you on how to approach companies, create profiles and build your future.
FAQ
Aptitude, logical reasoning etc are not specialization courses. They are generic requirements that must be worked on at all times.
A complete refund may be demanded within the first day of the course. Amount is non refundable after the first day.
The resume will need to be prepared by the student. Ideal resume formats will be discussed in class and all individual doubts will be clarified. The trainers may be consulted for review.
A resume needs to be prepared for a mock drill.
Active participation is requested when called upon to take interviews before the audience.
Aptitude and quants make one side of the coin. Online tests, visual solutions and resume building make the other side of it that most students are unaware of.
Yes, as long as timings of the courses do not overlap.
We are full for this batch. Please try the other batches.
Fill this form, and we will get back to you at the earliest.


{{timeLeftToString(points, point)}}
{{point.title}}
{{timeToString(point)}}
{{timeLeftToString(points, point)}}
{{point.title}}
{{timeToString(point)}}
очікування
Hi. I'm 21 years old. I have been working with Android for 4 years. Also during that time developed his skills in HTML, PHP and MySQL.
You can find me in Facebook, Telegram and Google Play.


|
SideCar
|
Template class for type-specific data queues. More...
#include </Users/howes/src/sidecar/Threading/DataQueue.h>
Public Member Functions | |
| TDataQueue () | |
| Default constructor. More... | |
| TDataQueue (size_t maxSize) | |
| Constructor. More... | |
| bool | empty () const |
| Determine if the queue is empty (thread-safe) More... | |
| bool | full () const |
| Determin if the queue is full (thread-safe) More... | |
| T | pop () |
| Obtain the next object from the queue (thread-safe). More... | |
| void | push (const T &value) |
| Add an object to the queue. More... | |
Additional Inherited Members | |
| Protected Member Functions inherited from Threading::DataQueueBase | |
| Mutex::Reference | mutex () const |
| Condition::Reference | readCondition () const |
| Condition::Reference | writeCondition () const |
| void | waitUntilReadable (Signaler &signaler) |
| void | waitUntilWritable (Signaler &signaler) |
Template class for type-specific data queues.
A data queue is a FIFO container with a maximum size which supports thread-safe inserts and deletions. If the queue is empty, any attempt to obtain a value from the queue will block. Likewise, if the queue is full any attempt to add another value to the queue will block.
Definition at line 68 of file DataQueue.h.
|
inline |
Default constructor.
Queue size is essentially unlimited, so writes will never block.
Definition at line 74 of file DataQueue.h.
|
inline |
Constructor.
| maxSize | maximum number of entries for the queue. |
Definition at line 80 of file DataQueue.h.
|
inline |
Determine if the queue is empty (thread-safe)
Definition at line 86 of file DataQueue.h.
|
inline |
Determin if the queue is full (thread-safe)
Definition at line 92 of file DataQueue.h.
|
inline |
Obtain the next object from the queue (thread-safe).
Blocks if the queue is empty.
Definition at line 98 of file DataQueue.h.
|
inline |
Add an object to the queue.
Blocks if the queue is full.
| value | object to add |
Definition at line 111 of file DataQueue.h.


Brahim Didi
Software developer
I can help you build a product, feature or website Look through some of my work and experience! If you like what you see and have a project you need coded, don’t hesitate to contact me.
Languages
- Javascript
- Ruby
- Html
- Css
Frameworks
- Bootstrap
- Ruby and rails
- RSPec
- CapaBara
- Selenium
Skills
- Codekit
- Github
- Codepen
- Gitlab
- Terminal


This email is intended to notify you that the price of the following product has changed:
Please mark this price as a temporary discount or a new price by clicking here.


Cancel
Confirm
{{search_formset.management_form}}
{% for id in selected_ids %}
{% endfor %}
{% for search_form in search_formset.forms %}
{{search_form.mineral_name}}
{{search_form.mineral_class}}
{{search_form.any_data}}
{{search_form.min_included_range}}
{{search_form.max_included_range}}
{{search_form.type_of_sample}}
{{search_form.database_of_origin}}
{% endfor %}


--- layout: post title: 'What to do with a 6 pound zucchini? ' date: '2010-10-23T14:58:18-07:00' tags: tumblr_url: http://alexhwilliams.tumblr.com/post/1384086921/what-to-do-with-a-6-pound-zucchini ---
1. Install some wheels on it.
2. Park it illegally.
3.


Vijender claims 12th successive professional win
by PTIIndian boxing star Vijender Singh demolished Ghana's former Commonwealth champion Charles Adamu to claim his 12th successive win and ensure that his four-year unbeaten streak in the professional circuit remained intact, here on Friday.
The 34-year-old former Olympic bronze-medallist prevailed unanimously in an eight-round super middleweight contest against the 42-year-old.
The Indian's right hand was just too precise and powerful to handle for Adamu, who looked intimidated and was thrown off-balance more than once.
The Ghanian also copped a point deduction in the fourth round for excessive bending. To Adamu's credit, he fought through despite the onslaught and ensured that the bout went the full distance.
Adamu came into the contest with an experience of 47 bouts, of which he had won 33 (26 knockouts).
The Ghanian is also an Olympian and won a bronze medal for his country in the 1998 Commonwealth Games in Kuala Lumpur during his amateur days.


Have An Account First
Register An Account
person
email
lock
lock
SIGN UP
You already have a membership?


So, last night I changed over to HF20. I went to sleep. My witness is still running without any issue. That’s a great startintg point!!!
I know we’re in a bear market, but I’m extremely bullish on Steem. The onramp is getting improved drastically. Communities will be easier than ever to form and maintain. And tokens are coming.
I’m stoked for tokens!!! This isn’t just about shitcoins . It’s about the ability to aggregate capital. You can easily form a business on steem. Just create an account, but you can’t easily do a capital raise. Tokens will change that. People will come here to make a token and raise capital. Money will flow in through Steem raising the price of steem.
When moon? —> Tokens
HF 20 first, Tokens in March
Tokens come in March. You have a few more months to gobble up bear market Steem. Then it’s gonna get harder.
So, I’m excited. I tried to be the first witness running HF20, but I had a flight from Miami to Boston that got in the way. Right now I’m one of only 2. Me and brother Aus! MSP in the HF20 HOUSE!!!
Why Steem is different
In all the other cryptos every time there’s a disagreement you can assume there will be a fork. At that time you can look around and roughly half your community is gone. That’s not the case here. People come and go with the seasons and the price and faith in leadership, but there’s one chain.
We all go to the same Moon!
We’re not forking new chains. So, make peace with your neighbor. We’re gonna be together for a long time.
Tokenfest Boston
So, I gotta run. I’m manning a TokenFest Steem booth and showcasing Steem Monsters in it with @yabapmatt (you should vote for his witness if you don’t). It’ll be a fun day talking to blockchain dudes and crypto hounds all day. Who knows what’ll happen, but I gotta get dressed and get ready….
So, HF20 is up and running on my Witness.
What you just read isn’t financial advice. I don’t know you or your family’s financial situation. It’s impossible to tell you what to do. Nor is it financial advice to say directly or imply indirectly that you should SODL your house and HODL some monsters. I mean… what do those words even mean… Just crypto responsibly and don’t invest in ICOs with money you owe a loanshark.
This page is synchronized from the post: ‘Hardfork 20 ready! A brief Witness update’


DH_ICONS(1) Debhelper DH_ICONS(1) NAME dh_icons - Update Freedesktop icon caches SYNOPSIS dh_icons [debhelperÂ options] [-n] DESCRIPTION dh_icons is a debhelper program that updates Freedesktop icon caches when needed, using the update-icon-caches program provided by GTK+2.12. Currently this program does not handle installation of the files, though it may do so at a later date. It takes care of adding maintainer script fragments to call update-icon-caches. OPTIONS -n, --noscripts Do not modify maintainer scripts. SEE ALSO debhelper This program is a part of debhelper. AUTHOR Ross Burton<EMAIL_ADDRESS>Jordi Mallach<EMAIL_ADDRESS>Josselin Mouette<EMAIL_ADDRESS>9.20120909 2012-09-10 DH_ICONS(1)


ThreeJS Wrapper
ThreeJS Wrapper is a simple lightweight framework for adding 3d objects and animations to your site.
Get started by checking out the docs or the examples below.
ThreeJS Wrapper is a simple lightweight framework for adding 3d objects and animations to your site.
Get started by checking out the docs or the examples below.


Our company is as refreshing as a waterfall in summer.
Experience our company as an applicant or recruiter.
Start your application Review Applicants


Department for Transport signs up to Google Cloud in move that lessens reliance on AWS
by Stefan BosciaThe Department for Transport (DfT) has awarded a major contract to Google, after previous criticism that Whitehall relies too much on Amazon Web Services (AWS).
The DfT has awarded the search giant a contract to become its data cloud provider from 2020.
Read more: Google Cloud buys analytics firm Looker for £2.6bn
Google Cloud will set up and manage the department’s data management system to ensure it becomes a so-called cloud-first organisation by June next year.
It comes after recent criticism that government departments relied too heavily on Amazon to provide digital services.
This has been touted by some as a potential security risk.
The government introduced measures to allow smaller companies to have a better chance at winning government contracts last year, however several Whitehall contracts have been awarded to AWS since then.
The announcement to award the DfT contract to Google Cloud was two years in the making, according to the department’s chief investment officer Mark Lyons.
“The capabilities the platform offers are helping us to utilise data better to support decision-making, policy-making, reporting and governance, as well as provide new digital services to engage with citizens on transport related initiatives,” he said.
Read more: Israeli security firm denies obtaining individuals data from social media platforms
“When you have finite resources, having a partner that understands the process of change and can direct your focus to the things that really matter is invaluable.”
The foundations of DfT’s new cloud system has allowed for improvement in journey time estimates and ticket information searches.
Mark Palmer, Google Cloud’s head of public sector for the UK, said: “Since the migration, DfT has been able to access a broad range of services designed to dramatically enhance its capabilities, as well as develop its own software products on top of Google Cloud.”


jNode Web Site
Info
Become a point
Become a link
Configuration
What point would you like to assign?
.
First name:
Last name:
Email:
Powered by
jNode


Recent events have demonstrated that Eurasian universities are, unfortunately, a hotbed of subversive activities. Innocent students are regularly led astray by subversive groups, jeopardizing their future as productive citizens of the Union.
To combat this unfortunate tendency, AlethiCorp has signed a contract with the Eurasian Association of Students, to provide on-campus counselling for its members.
Students will be taught to recognize signs of subversive infiltration, and to lead their affected friends back on the right path.


| Image | Name | Level | Department | Action |
|---|---|---|---|---|
|
|
Valentino Hava
|
300l | Electrical and Electronics Engineering | Update |
|
|
Rodrigo Azipicuelta
|
200l | Petroleum Engineering | Update |
|
|
Rodrigo Azipicuelta
|
200l | Petroleum Engineering | Update |


Cheesecake Order Form
Quantity
Topping
1
2
3
Plain
Cherry
Chocolate
Notes:
Order
Total Orders For
January
January
February
March
April
May
June
July
August
September
October
November
December
11 cherry
17 chocolate
31 plain


This is a helper library for NTLM Authentication using the Axios HTTP library on Node. It attaches interceptors to an axios instance to authenticate using NTLM for any resources that offer it.
This example will create you a brand new axios instance you can utilise the same as any other axios instance
import { NtlmClient } from 'axios-ntlm';
(async () => {
let credentials: NtlmCredentials = {
username: 'username',
password: "password",
domain: 'domain'
}
let client = NtlmClient(credentials)
try {
let resp = await client({
url: 'https://protected.site.example.com',
method: 'get'
});
console.log(resp.data);
}
catch (err) {
console.log(err)
console.log("Failed")
}
})()
This shows how to pass in an axios config in the same way that you would when setting up any other axios instance.
Note: If doing this, be aware that http(s)Agents need to be attached to keep the connection alive. If there are none attached already, they will be added. If you are providing your own then you will need to set this up.
import { AxiosRequestConfig } from 'axios';
import { NtlmClient, NtlmCredentials } from 'axios-ntlm';
(async () => {
let credentials: NtlmCredentials = {
username: 'username',
password: "password",
domain: 'domain'
}
let config: AxiosRequestConfig = {
baseURL: 'https://protected.site.example.com',
method: 'get'
}
let client = NtlmClient(credentials, config)
try {
let resp = await client.get('/api/123')
console.log(resp);
}
catch (err) {
console.log(err)
console.log("Failed")
}
})()
Generated using TypeDoc


Type That Fact!
Great stuff! Here's how you did.
Number of Words Typed:
Time spent typing:
Words Per Minute:
Try Again


Core_CSS provides methods to create and destroy additional events for scrolling. With Core_CSS you can add event handler for scrollStart and scrollStop events.
$(element).on('scrollstart', function(){...}); $(element).on('scrollstop', function(){...});


Full name:
org.seasar.dbflute:dbflute-maven-plugin:1.0.0:outside-sql-test
Description:
OutsideSqlTestCommandPlugin provides outside-sql-test goal to run outside-sql-test.[sh|bat].
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| basedir | File | - | Project base directory (prepended for relative file paths). |
| Name | Type | Since | Description |
|---|---|---|---|
| clientProject | String | - | (no description) |
| dbfluteClientDir | File | - | (no description) |
Project base directory (prepended for relative file paths).
(no description)
(no description)


from __future__ import annotations
import os
import pycbf
import libtbx.phil
from scitbx.array_family import flex
from dxtbx.model.scan_helpers import scan_helper_image_files
try:
from ..dxtbx_model_ext import Scan
except ModuleNotFoundError:
from dxtbx_model_ext import Scan # type: ignore
scan_phil_scope = libtbx.phil.parse(
"""
scan
.expert_level = 1
.short_caption = "Scan overrides"
{
image_range = None
.type = ints(size=2)
.help = "Override the image range"
.short_caption = "Image range"
extrapolate_scan = False
.type = bool
.help = "When overriding the image range, extrapolate exposure and epoch information from existing images"
.short_caption = "Extrapolate scan"
oscillation = None
.type = floats(size=2)
.help = "Override the image oscillation"
.short_caption = "Oscillation"
batch_offset = None
.type = int(value_min=0)
.help = "Override the batch offset"
.short_caption = "Batch offset"
}
"""
)
[docs]
class ScanFactory:
"""A factory for scan instances, to help with constructing the classes
in a set of common circumstances."""
[docs]
@staticmethod
def from_phil(params, reference=None):
"""
Generate a scan model from phil parameters
"""
if reference is None:
if params.scan.image_range is None and params.scan.oscillation is None:
return None
if params.scan.image_range is None:
raise RuntimeError("No image range set")
if params.scan.oscillation is None:
raise RuntimeError("No oscillation set")
scan = Scan(params.scan.image_range, params.scan.oscillation)
else:
scan = reference
if params.scan.image_range is not None:
most_recent_image_index = (
scan.get_image_range()[1] - scan.get_image_range()[0]
)
scan.set_oscillation(
scan.get_image_oscillation(params.scan.image_range[0])
)
scan.set_image_range(params.scan.image_range)
if (
params.scan.extrapolate_scan
and (params.scan.image_range[1] - params.scan.image_range[0])
> most_recent_image_index
):
exposure_times = scan.get_exposure_times()
epochs = scan.get_epochs()
exposure_time = exposure_times[most_recent_image_index]
epoch_correction = epochs[most_recent_image_index]
for i in range(
most_recent_image_index + 1,
params.scan.image_range[1] - params.scan.image_range[0] + 1,
):
exposure_times[i] = exposure_time
epoch_correction += exposure_time
epochs[i] = epoch_correction
scan.set_epochs(epochs)
scan.set_exposure_times(exposure_times)
if params.scan.oscillation is not None:
scan.set_oscillation(params.scan.oscillation)
if params.scan.batch_offset is not None:
scan.set_batch_offset(params.scan.batch_offset)
return scan
[docs]
@staticmethod
def from_dict(d, t=None):
"""Convert the dictionary to a scan model
Params:
d The dictionary of parameters
t The template dictionary to use
Returns:
The scan model
"""
if d is None and t is None:
return None
joint = t.copy() if t else {}
joint.update(d)
if not isinstance(joint["exposure_time"], list):
joint["exposure_time"] = [joint["exposure_time"]]
joint.setdefault("batch_offset", 0) # backwards compatibility 20180205
joint.setdefault("valid_image_ranges", {}) # backwards compatibility 20181113
# Create the model from the joint dictionary
return Scan.from_dict(joint)
[docs]
@staticmethod
def make_scan(
image_range, exposure_times, oscillation, epochs, batch_offset=0, deg=True
):
if not isinstance(exposure_times, list):
num_images = image_range[1] - image_range[0] + 1
exposure_times = [exposure_times for i in range(num_images)]
else:
num_images = image_range[1] - image_range[0] + 1
num_exp = len(exposure_times)
if num_exp != num_images:
if num_exp == 0:
exposure_times = [0 for i in range(num_images)]
else:
exposure_times = exposure_times.extend(
[exposure_times[-1] for i in range(num_images - num_exp)]
)
epoch_list = [epochs[j] for j in sorted(epochs)]
return Scan(
tuple(map(int, image_range)),
tuple(map(float, oscillation)),
flex.double(list(map(float, exposure_times))),
flex.double(list(map(float, epoch_list))),
batch_offset,
deg,
)
[docs]
@staticmethod
def single_file(filename, exposure_times, osc_start, osc_width, epoch):
"""Construct an scan instance for a single image."""
index = scan_helper_image_files.image_to_index(os.path.split(filename)[-1])
if epoch is None:
epoch = 0.0
# if the oscillation width is negative at this stage it is almost
# certainly an artefact of the omega end being 0 when the omega start
# angle was ~ 360 so it would be ~ -360 - see dxtbx#378
if osc_width < -180:
osc_width += 360
return ScanFactory.make_scan(
(index, index), exposure_times, (osc_start, osc_width), {index: epoch}
)
[docs]
@staticmethod
def imgCIF(cif_file):
"""Initialize a scan model from an imgCIF file."""
cbf_handle = pycbf.cbf_handle_struct()
cbf_handle.read_file(cif_file, pycbf.MSG_DIGEST)
return ScanFactory.imgCIF_H(cif_file, cbf_handle)
[docs]
@staticmethod
def imgCIF_H(cif_file, cbf_handle):
"""Initialize a scan model from an imgCIF file handle, where it is
assumed that the file has already been read."""
exposure = cbf_handle.get_integration_time()
timestamp = cbf_handle.get_timestamp()[0]
gonio = cbf_handle.construct_goniometer()
try:
angles = tuple(gonio.get_rotation_range())
except Exception as e:
if str(e).strip() == "CBFlib Error(s): CBF_NOTFOUND":
# probably a still shot -> no scan object
return None
raise
# xia2-56 handle gracefully reverse turning goniometers - this assumes the
# rotation axis is correctly inverted in the goniometer factory
if angles[1] < 0:
angles = -angles[0], -angles[1]
index = scan_helper_image_files.image_to_index(cif_file)
gonio.__swig_destroy__(gonio)
return ScanFactory.make_scan(
(index, index), exposure, angles, {index: timestamp}
)
[docs]
@staticmethod
def add(scans):
"""Sum a list of scans wrapping the slightly clumsy idiomatic method:
sum(scans[1:], scans[0])."""
return sum(scans[1:], scans[0])
[docs]
@staticmethod
def search(filename):
"""Get a list of files which appear to match the template and
directory implied by the input filename. This could well be used
to get a list of image headers to read and hence construct scans
from."""
template, directory = scan_helper_image_files.image_to_template_directory(
filename
)
indices = scan_helper_image_files.template_directory_to_indices(
template, directory
)
return [
scan_helper_image_files.template_directory_index_to_image(
template, directory, index
)
for index in indices
]


--- layout: default title: AngularJS articles by thoughtram description: Searching for high-quality AngularJS articles? Read our curated list with articles with tips, tricks and best prectives on everything Angular! permalink: /categories/angular/ ---


Here you enter the playlist name and hit search below.
If you already have an account, sign in here. Forgot your password? Hit Forgot password below.
Create an account if you wish to make your own playlist.


+++ title = "Moved to Tulum beach" slug = "moved-to-tulum-beach" date = 2007-03-07T12:00:00+10:00 tags = ["hammock-swinging", "beach"] locations = ["mexico/tulum"] draft = false summary = """
Today I finally did what I've been meaning to do ever since I got to Tulum: I moved to the beach, and set up my hammock for sleeping in. I'm staying at a cabaña lodge called Mar Caribe; they also rent out hammock space for 50 pesos a night. This is the way to stay in Tulum.
""" +++Today I finally did what I've been meaning to do ever since I got to Tulum: I moved to the beach, and set up my hammock for sleeping in. I'm staying at a cabaña lodge called Mar Caribe; they also rent out hammock space for 50 pesos a night. This is the way to stay in Tulum.
The hammock space is about 40 or 50 metres from the waterline. The sea is in constant view. The wind is calm and cool. The women are passing to and fro quite regularly. And fresh coconuts and papayas are growing nearby.
When I got here, there were two crazy Austrian guys here already. They've been here for about a week, and they don't really know when they're going to leave. They sell hand-made necklaces (as well as... other things), from the comfort of the hammock space. One of them has an Italian girlfriend, who only speaks Spanish (and Italian), and who is really crazy.
 He's a reggae singer, and he's got a massive head of dreadlocks. He's also a really interesting theologian, being a Baha'i follower, and a student of many schools of religious thought. Great guy to have a long, philosophical chat with.


Personal Intro stuff (@una)
Describe why image optimization is important, find new studies, dont repeat old facts
NEW INFO: https://www.soasta.com/blog/google-mobile-web-performance-study/
- Average load time for mobile sites is 19 seconds over 3G .
- 53% of visits to mobile sites are abandoned after 3 seconds
If you have to send a loading indicator, you're not optimizing your images enough -- Bruce Lawson (Q&A @ SmartWeb Conf)
"You can have anything you want in the world — once you help everyone around you get what they want."
"Find freedom in this canvas."
This field is a complicated landscape
-- landscape background --
--> vocabular section appears on top of it
Basic image formats (gif, png, jpg, svg)
Lossy v. Lossless
| lossy | lossless |
|--- |--- |
|jpg, webp | png, svg, webp ____|
When to use various formats
JPG * Lossy v. Lossless
Progressive JPG vs Baseline (pros and cons)
JPEG 2000
JPEG XR
The new kid on the block: WebP
https://developers.google.com/speed/webp/
How WebP Works: Predictive coding
- both lossy and lossless variants
image time
WebP Lossless: https://developers.google.com/speed/webp/docs/webp_lossless_alpha_study#results
WebP Lossy: https://developers.google.com/speed/webp/docs/webp_study
WebP
converting to WebP (ie. how to use it): https://developers.google.com/speed/webp/docs/precompiled
BPG file format
Free Lossless Image Format (FLIF)
-- image from the site above here comparing file formats --
FLIF
Animation:
- animated png vs gif vs animated flif vs animated bpg vs mng
APNG
ImageMagick & color spaces
http://www.imagemagick.org/script/formats.php
setting up a gulp task to run imageoptim
ImageAlpha
ImageOptim
Spot the Difference!
409kb
264kb
Protip: Blur is your Friend
DO Example
Photoshop Save for Web -- color spaces and options
Tips:
- never send an image larger than its biggest containing box
- always be optimizing
- small improvements are improvements
- educate the entire team
"Talent is a pursued interest. Anything that you’re willing to practice, you can do."
"Remember how free clouds are. They just lay around in the sky all day long."


You have reached the end this chapter. You may wish to review the following. Click on a subject that interests you to go to where it was discussed.


Quantophile is a trading framework, that is designed to be running 24/7, with automatic data gathering, using a Python interface. Let's get started with setting up Quantophile on your machine.
Let's test if everything's working.
You should be seeing the graph of the stock you put as an example, graphed for the intervals you specified. If not, refer to the documentation.


T-Mobile Galaxy S8 and S8+ updates are now rolling out
by Alex WagnerWe just saw the Galaxy S10 and S9 get updates from T-Mobile, and now the Galaxy S8 is being updated as well.
T-Mobile is now pushing updates to its Galaxy S8 and S8+, bumping them to versions G950USQU6DSJ6 and G955USQU6DSJ6, respectively. T-Mo hasn’t published an official changelog for either of these updates yet, but we do know that they’re based on the October 2019 Android security patch level.
TmoNews reader Joanna received the new Galaxy S8 update this weekend, so we know that these updates have started rolling out over the air. If you’re rocking a Galaxy S8 or S8+, you can check for your new update by jumping into the Settings app and then tapping on “Software update” followed by “Download updates manually”.
Let us know when your Galaxy S8 or S8+ gets its update!
Thanks, Joanna!


HB amplitude vs SimHits /// Amplitude fraction in ts=5 /// Amplitude fraction in ts=6+7
HB numer of amplitudes above 10 fC /// HB ratio amplitude/SimHits /// HB amplitudes


West Ham must improve at set pieces, says Pellegrini
LONDON, Nov 7 — West Ham United must defend set pieces better after conceding a number of goals in a winless run stretching back to September, manager Manuel Pellegrini said today.
West Ham, who were fifth in September, have failed to win their last five matches — which included three defeats — to leave them 13th in the standings.
Pellegrini’s side have not kept a clean sheet since a 2-0 win over Manchester United, with first choice goalkeeper Lukasz Fabianski not expected to return from a hip muscle injury until late December.
“Everyone must do better, including the manager and the players,” Pellegrini told reporters ahead of Saturday’s trip to Burnley.
“As a team I think that we need to improve, especially at set pieces. They have been decisive — three goals from Newcastle, two from Crystal Palace.
“I think that Newcastle scored three goals from set pieces, two from a counter-attack from set pieces. They had chances on the counter-attack because for different reasons we didn’t keep a player back.”
Pellegrini, who won the Premier League title in 2013-14 with Manchester City, also said West Ham had ambitions of playing in Europe and their priority was a top-six finish.
“The target for West Ham years ago was not to be relegated,” he added. “I didn’t come here for that. I think that we have the players to achieve top six and I think that if you fight you can win every game. We know how to do it.
“I always try to be optimistic, I always try to set my targets as high as I can. We must fight to be in the upper part of the table.”
Burnley, who are 14th, can leapfrog West Ham with a win on Saturday and Pellegrini said he was wary of their physical threat in the air.
“I think Burnley will always be a difficult team at home,” the Chilean said. “They have top players and make a lot of crosses, everyone knows that. If we win the game it is because we must try to play better than them.
“They play a lot of crosses, fighting for the second ball, and it’s a style that in recent years has been very successful.” — Reuters


Hargobind Atwal
Web Developer
Skills
React
Redux
Express.js
Python
C
Projects
Notes - Full Stack Web App created based on spec
Pintereacher - Worked with a team to build a reasearch paper organizer in a week
Team Builder - Internal tool for LambdaSchool to organize build weeks
vBeloved - Wedding planing lab project.


#include <gtest/gtest.h>
#include "lib/edge.h"
#include "lib/spanning_tree.h"
#include "lib/mst_path.h"
#include <geometry_msgs/Point.h>
#include <geometry_msgs/Vector3.h>
#include <nav_msgs/OccupancyGrid.h>
#include <nav_msgs/Path.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| Main function that runs all tests that were declared with TEST(). More... | |
| geometry_msgs::Point | rotate (geometry_msgs::Point point, double angle) |
| Rotate a point by a given angle around the origin. More... | |
| geometry_msgs::Point | round (geometry_msgs::Point point) |
| Round the elements of a given point to the nearest integer. More... | |
| TEST (UnitTestMstPath, testEquality) | |
| Test equality of waypoints and path. More... | |
| TEST (UnitTestMstPath, testHighRes) | |
| Test high resolution. More... | |
| TEST (UnitTestMstPath, testLowRes) | |
| Test low resolution. More... | |
| TEST (UnitTestMstPath, testObstacles) | |
| Test obstacles. More... | |
| TEST (UnitTestMstPath, testRotation) | |
| Test rotation. More... | |
| TEST (UnitTestMstPath, testStartHorizontal) | |
| Test different starting points for horizontal path. More... | |
| TEST (UnitTestMstPath, testStartVertical) | |
| Test different starting points for vertical path. More... | |
| TEST (UnitTestMstPath, testWaypoints) | |
| Test get_waypoint function. More... | |
| TEST (UnitTestMstPath, testWeirdRes) | |
| Test weird resolution. More... | |
| geometry_msgs::Point | translate (geometry_msgs::Point point, geometry_msgs::Vector3 vector) |
| Translate a point by a given vector. More... | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Main function that runs all tests that were declared with TEST().
Definition at line 1367 of file test_mst_path.cpp.
| geometry_msgs::Point rotate | ( | geometry_msgs::Point | point, |
| double | angle | ||
| ) |
Rotate a point by a given angle around the origin.
| point | The point to rotate. |
| angle | The angle in radian, counter-clockwise. |
Definition at line 41 of file test_mst_path.cpp.
| geometry_msgs::Point round | ( | geometry_msgs::Point | point | ) |
Round the elements of a given point to the nearest integer.
| point | The point to round. |
Definition at line 15 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testEquality | |||
| ) |
Test equality of waypoints and path.
Definition at line 671 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testHighRes | |||
| ) |
Test high resolution.
Definition at line 1040 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testLowRes | |||
| ) |
Test low resolution.
Definition at line 1149 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testObstacles | |||
| ) |
Test obstacles.
Definition at line 374 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testRotation | |||
| ) |
Test rotation.
Definition at line 185 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testStartHorizontal | |||
| ) |
Test different starting points for horizontal path.
Definition at line 730 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testStartVertical | |||
| ) |
Test different starting points for vertical path.
Definition at line 885 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testWaypoints | |||
| ) |
Test get_waypoint function.
Definition at line 52 of file test_mst_path.cpp.
| TEST | ( | UnitTestMstPath | , |
| testWeirdRes | |||
| ) |
Test weird resolution.
Definition at line 1258 of file test_mst_path.cpp.
| geometry_msgs::Point translate | ( | geometry_msgs::Point | point, |
| geometry_msgs::Vector3 | vector | ||
| ) |
Translate a point by a given vector.
| point | The point to translate. |
| vector | The offset to translate the point by. |
Definition at line 28 of file test_mst_path.cpp.


- handle(Fixture, Fixture) - Method in interface com.lpoo.game.model.WorldContactListener.ContactHandler
-
- handleInput(float) - Method in class com.lpoo.game.controller.GameController
-
Function where the game handles the User's input.
- handleInput(float) - Method in interface com.lpoo.game.controller.InputHandler
-
Function where the game handles the User's input.
- hasInvitation() - Method in class com.google.example.games.basegameutils.GameHelper
-
- hasRequests() - Method in class com.google.example.games.basegameutils.GameHelper
-
- hasSignInError() - Method in class com.google.example.games.basegameutils.BaseGameActivity
-
- hasSignInError() - Method in class com.google.example.games.basegameutils.GameHelper
-
Returns whether or not there was a (non-recoverable) error during the
sign-in process.
- hasTurnBasedMatch() - Method in class com.google.example.games.basegameutils.GameHelper
-
- height - Static variable in class com.google.example.games.basegameutils.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- height - Static variable in class com.lpoo.game.R.attr
-
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
- hide() - Method in class com.lpoo.game.view.screens.MenuScreen
- hideSystemUI() - Method in class com.lpoo.game.AndroidLauncher
-
Function used to hide the system bars.
- Hittable - Interface in com.lpoo.game.model.entities
-
Interface for hittable entities.
- HITTABLE_BIT - Static variable in class com.lpoo.game.model.entities.EntityModel
-
Constant for collision mask, for hittable.
- home - Static variable in class com.google.example.games.basegameutils.R.id
-
- home - Static variable in class com.lpoo.game.R.id
-
- homeAsUp - Static variable in class com.google.example.games.basegameutils.R.id
-
- homeAsUp - Static variable in class com.lpoo.game.R.id
-
- homeAsUpIndicator - Static variable in class com.google.example.games.basegameutils.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
- homeAsUpIndicator - Static variable in class com.lpoo.game.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
- homeLayout - Static variable in class com.google.example.games.basegameutils.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
- homeLayout - Static variable in class com.lpoo.game.R.attr
-
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
- HORIZONTAL_PAD - Static variable in class com.lpoo.game.view.screens.HudMenu
-
The HUD elements distance to the horizontal screen limits.
- hud - Variable in class com.lpoo.game.view.screens.GameScreen
-
The Game Screen Associated HUD.
- hud - Variable in class com.lpoo.game.view.screens.HudMenu
-
A Stage used to represent the HUD, containing the score and the pause Button.
- hud - Variable in class com.lpoo.game.view.screens.OptionsMenu
-
The Hud associated to the current game being played by the User.
- HUD_ELEMENTS_SIZE - Static variable in class com.lpoo.game.view.screens.HudMenu
-
The Side Size of the HUD elements.
- HUD_VIEWPORT_HEIGHT - Static variable in class com.lpoo.game.view.screens.HudMenu
-
The height of the viewport in pixels.
- HUD_VIEWPORT_HEIGHT - Static variable in class com.lpoo.game.view.screens.OptionsMenu
-
The height of the viewport in pixels.
- HUD_VIEWPORT_WIDTH - Static variable in class com.lpoo.game.view.screens.HudMenu
-
The width of the HUD viewport in pixels.
- HUD_VIEWPORT_WIDTH - Static variable in class com.lpoo.game.view.screens.OptionsMenu
-
The width of the HUD viewport in pixels.
- HudMenu - Class in com.lpoo.game.view.screens
-
Class responsible for the HUD during the Game.
- HudMenu(Armadillo, GameModel) - Constructor for class com.lpoo.game.view.screens.HudMenu
-
HudMenu's Constructor.
- HudMenu.Request - Enum in com.lpoo.game.view.screens
-
Possible Requests to the Game Screen.


Specifications
- Core specification: defines the semantics of WebAssembly modules independent from a concrete embedding. The WebAssembly core is specified in a single document.
- Embedding interfaces:
- JavaScript API: defines JavaScript classes and objects for accessing WebAssembly from within JavaScript, including methods for validation, compilation, instantiation, and classes for representing and manipulating imports and exports as JavaScript objects.
- Web API: defines extensions to the JavaScript API made available specifically in web browsers, in particular, an interface for streaming compilation and instantiation from origin-bound
Response
types.
- WASI API: defines a modular system interface to run WebAssembly outside the web, providing access to things like files, network connections, clocks, and random numbers.
- Tool conventions: repository describing non-standard conventions useful for coordinating interoperability between tools working with WebAssembly. This includes conventions for linking schemes, debugging information, language ABIs and more.
- Original design documents: documents describing the design, goals and high-level overview of WebAssembly. Some of these documents are outdated by now.


{# {% load static %}#}
Face Search
Upload your portrait image and search Top-10 MS students who are most similar to you
{% csrf_token %}
Choose Image
{#
#}
The people who look most similar to you


RED ROCK WEST A film review by Andrew Hicks Copyright 1996 Andrew Hicks / Fatboy Productions
(1992) **1/2 (out of four)
The only gimmick this movie has going for it is that it has more twists and turns than the Coney Island Cyclone. In RED ROCK WEST, the movie never moves in one direction for long, and you discover something new about each of the characters every few minutes that puts a complete spin on everything. It's musical chairs without the one person having to sit out after every round. No, everybody participates in everything here, and there are plot twists on a basis regular enough you could set your watch to it.
At the beginning of the movie, Nicholas Cage, having just driven more than a thousand miles for a job he was immediately fired from, walks into a bar and is immediately offered a job by the owner (J.T. Walsh), who mistakes him for someone else. Cage expects some kind of busboy or bartender position but instead becomes Head Hitman as the owner gives him five thousand in cash and a gun, with instructions to kill his wife. Cage doesn't feel himself in a position to refuse, but soon finds himself warning the wife (Lara Flynn Boyle) of what's coming.
Cage soon comes to the conclusion that he is better off taking the money and running, but on his way out of town, he hits a pedestrain and has to turn around and take the guy to the hospital. (He may accept money for killing people, but that doesn't make him any less humanitarian.) At the hospital, he meets the town sheriff, who also owns the town bar. The sheriff is understandibly mad that his hitman was about to skip town, and takes him out to the woods, where he tries to hunt Cage down. But Cage makes it to a nearby road, where he is picked up by a visiting cowboy (Dennis Hopper), who is driving into town on business.
The cowboy learns he and Cage are both ex-Marines and insists on buying a Cage a drink. So where do they go? J.T.'s bar, of course, where Hopper tells the bartender he needs to see the owner about a job he's late for. Cage puts one and one together and realizes Hopper is the hitman, which is about the same time J.T. walks in. It may seem like I've given the movie's entire plot away, but this all happens in the first twenty minutes. The back of the video box tells that much.
RED ROCK WEST keeps the same pace for the next eighty minutes, through countless other twists and surprising character revelations, until it all ends in a graveyard where half a million dollars is buried. This is a decent action thriller, but it takes on a camp value with the overacting and unrelenting plot twists.  And after about an hour of endless manipulation on behalf of the writers, it gets completely tiresome.
--
Visit the Movie Critic at LARGE homepage at http://www.missouri.edu/~c667778/movies.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Hello, {{ email }} Wellcome to our store
This is actually your store, feel free to get whetever you want


{% extends 'email.server.view.html' %}
{% block content %}
Hi {{name}}!
This is {{from.name}} from Trustroots Foundation. You signed up a little while ago and I just wanted to check back.
{% if topic === 'fill-profile' %}
Your profile seems to be quite empty. It would be very easy to take a short time to fill it out and it would really make it easier for you to connect with people on Trustroots.
 I would be really glad to hear any feedback. Just reply this email.
{% endif %}
Check our blog, like our Facebook page and follow us on Twitter — it would really help us out!
- https://ideas.trustroots.org
- https://www.facebook.com/trustroots.org
- https://twitter.com/trustroots
Happy traveling!
{{from.name}}
{% endblock %}


InSure App+
Username
Password
Forgot your password?
Sign in
Create an account
InSure App
Home
Patients
Medical Acts
Medical Reports
Dr. Egas Moniz
Waiting list
{{pat.name}}
Insurance Requests
Pending
{{r.reqID}}
Accepted
{{r.reqID}}
Rejected
{{r.reqID}}
InSure App
Home
Patient List
Medical Acts
Medical Reports
Dr. Egas Moniz
Patient info
Name: {{selPat.name}}
Patient ID: {{selPat.patID}}
Policy type: {{selPat.policy_type}}
Medical History
Medical acts
Name
Cost (Eur)
Reimbursement
{{ m.name }}
{{ m.cost }}
10
Delete
Add
{{a.name}}


Moderator effects (ie., interaction or synergy effects) are a topic of frequent interest in many sciences braches. A lot ink has been spilled over this topic (so did I, eg., here).
However, in that post I did now show how to visualize error in case of nominal (categorical) independent variable, and categorical moderator.
Luckily, visualization of this case is quite straight forward with ggplot2.
First, some data and packages to be loaded:
library(tidyverse)
data(tips, package = "reshape2")
Then, we summarise the data:
tips %>%
group_by(sex, smoker) %>%
summarise(tip_groups = mean(tip),
tip_sem = (sd(tip)/sqrt(length(tip)))) -> tips2
tips2
## Source: local data frame [4 x 4]
## Groups: sex [?]
##
## sex smoker tip_groups tip_sem
## <fctr> <fctr> <dbl> <dbl>
## 1 Female No 2.77 0.154
## 2 Female Yes 2.93 0.212
## 3 Male No 3.11 0.151
## 4 Male Yes 3.05 0.194
Remember that the standard error of the mean is computed as
$$sem = \frac{sd(x)}{\sqrt{n}}$$ Now we take this summarised data and plot it:
tips2 %>%
ggplot() +
aes(x = sex, y = tip_groups, color = smoker) +
geom_line(aes(group = smoker)) +
geom_point() +
geom_linerange(aes(x = sex, ymin = tip_groups - tip_sem, ymax = tip_groups + tip_sem), size = .3) +
labs(title = "Moderating role of smoking status on the effect of sex on tip",
subtitle = "Error bars indicate standard error of the mean")
Maybe better changing the domain of the y-axis to put the effects in a (different) perspective:
tips2 %>%
ggplot() +
aes(x = sex, y = tip_groups, color = smoker) +
geom_line(aes(group = smoker)) +
geom_point() +
geom_linerange(aes(x = sex, ymin = tip_groups - tip_sem, ymax = tip_groups + tip_sem), size = .3) +
labs(title = "Moderating role of smoking status on the effect of sex on tip",
subtitle = "Error bars indicate standard error of the mean") +
scale_y_continuous(limits = c(0,5))


--- layout: post status: publish published: true title: Cubs Convention Interview with Scott Kornberg of the Myrtle Beach Pelicans - Episode 7.78 author: display_name: Corey Fineran login: Corey email<EMAIL_ADDRESS>url: '' author_login: Corey author_email<EMAIL_ADDRESS>wordpress_id: 11618 wordpress_url: http://ivyenvy.com/?p=11618 date: '2016-01-21 22:33:12 +0000' date_gmt: '2016-01-22 04:33:12 +0000' categories: - Minor Leagues - Podcast tags: [] comments: [] ---
On this bonus episode of the podcast, we have an interview for you. I had the opportunity to talk with Scott Kornberg, the new radio broadcaster of the Myrtle Beach Pelicans.
Scott talks about some of the players Cubs fans may see with Myrtle Beach this year. He also talks about some unique aspects of the ballpark in Myrtle Beach and how it may impact the statistics of players of a certain profile.


When you work with us you are part of a team of committed collaboratos.
All aspects of our software development process are intergrated,
interactive and agile
Our approach unifies design, development and product management to
create exceptional products.
We start each project by understanding your business goals, the user's
needs and the product requiremnets
Then we help translate them into effective and elegant solutions.
Before We sign a contract or write a line of code, our team will spend the necessary time needed to understand our product vision. The outcome of this scoping session is a proposal or high-level statement of work. Based on your requirements, we can provide a complete offering or just the pieces you need.
Our design practice offers a full range of services including brand strategy, interaction and visual design and user experience testing. Through out your project, our designers create and implement visual design and workflows, solicit user feedback and work with you to make sure what gets built is what is needed.
All engineers are fluent in the latest enterprise, mobile and web development technologies. They collaborate with your team to write, and improve code on a daily basis, using proven practices such as test-driven development and pair programming.
Planning and development is iterative. Because we are constantly coding and testing, the products we build are always ready to go live. This iterative process allows for changes as business requirements evolve.
black blank studio
mighty ontario
yellow slide
golden mane
have a good day
button
burned
girrafe


Audio Vis
Tracklist
Effects
Sign In with Spotify
Search
New Adventure Theme
Peanuts Theme
The Picard Song
Effects
Filters
Intensive
Quadratic Curves
Glow Boxes
TriCirc
TC MaxWave Height
---
Audio Line
Bezier Curves
Threshold
---
Red Tint
Noise
Cosmic Chicken
Circles
Made by James DiGrazia
Now Playing: Song Name By........
View the code on
GitHub


Department of Computer Science
Account Resource Page
Online Resources
Account Configuration
The current standard account configuration is in directory ~rtosten/Accounting/user.
Note that most files there are hidden (start with a "."). To see
them use "ls -a". Make sure you have all of these files to keep up-to-date.
We highly recommend having your shell changed to bash if your account was
created before Spring 2001. See professors Neller or Presser to have
your account shell changed. If you change your shell and copy the
files in the current account configuration
to your home directory, you should be all set.
If you choose not to enter the blissful realms of bash, you can follow
the directions on Prof.
Presser's JDE page.


stk.populations module¶
Defines Population
.
-
class
stk.populations.
GAPopulation
(*args)¶ Bases:
stk.populations.Population
Used for applying GA operations to molecules.
-
fitness_calculator
¶ Calculates the fitness values of molecules.
Type: FitnessCalculator
-
fitness_normalizer
¶ Normalizes fitness values of molecules.
Type: FitnessNormalizer
-
_calculate_fitness_parallel
(fitness_calculator, processes)¶
-
_calculate_fitness_serial
(fitness_calculator)¶
-
_optimize_parallel
(optimizer, processes)¶
-
_optimize_serial
(optimizer)¶
-
add_members
(population, duplicates=False)¶ Adds
Molecule
instances intomembers
.The
Molecule
instances held within population, are added intomembers
. Any nesting is removed. This is because allMolecule
instances are added intomembers
directly, regardless of how nested they are within population.Parameters: - population (
iterable
ofMolecule
) –Molecule
instances held by this container are added intomembers
. - duplicates (
bool
, optional) –Indicates whether multiple instances of the same molecule are allowed to be added. Note, the sameness of a molecule is judged by
Molecule.same()
.When
False
only molecules which are not already held by the population will be added.True
allows more than one instance of the same molecule to be added.
Returns: None
Return type: NoneType
- population (
-
add_subpopulation
(population)¶ Appends a copy of population to
populations
.Only a copy of the population container is made. The molecules it holds are not copies.
Parameters: population ( Population
) – The population to be added as a subpopulation.Returns: None Return type: NoneType
-
all_members
()¶ Yields all molecules in the population and its subpopulations.
Yields: Molecule
– The nextMolecule
instance held within the population or its subpopulations.
-
assign_names_from
(n, overwrite=False)¶ Give each member of the population a name starting from n.
Notes
This method modifies the
Molecule.name
attribute ofMolecule
instances held by the population.Parameters: - n (
int
) – A number. Members of this population are given a unique number as a name, starting from this number and incremented by one between members. - overwrite (
bool
, optional) – IfTrue
, existing names are replaced.
Returns: The value of the last name assigned, plus 1.
Return type: int
- n (
-
calculate_member_fitness
(fitness_calculator, processes=8)¶ Calculates the fitness values of molecules.
Parameters: - processes (
int
) – The number of processes to create. If1
then fitness values are calculated serially. - fitness_calculator (
FitnessCalculator
) – TheFitnessCalculator
used to calculate the fitness.
Returns: None
Return type: NoneType
- processes (
-
dump
(path, include_attrs=None)¶ Dumps the population to a file.
The population is dumped in the JSON format in the following way. The population is represented as a list,
[mem1.json(), mem2.json(), [mem3.json(), [mem4.json()]]]
where each member of the population held directly in the members attribute is placed an an element in the list. Any subpopulations are held as sublists.
Parameters: - path (
str
) – The full path of the file to which the population should be dumped. - include_attrs (
list
ofstr
, optional) – The names of attributes of the molecules to be added to the JSON. Each attribute is saved as a string usingrepr()
.
Returns: None
Return type: NoneType
- path (
-
classmethod
from_list
(pop_list, member_init)¶ Initializes a population from a
list
representation.Parameters: - pop_list (
list
) –A
list
which represents a population. Like the ones created byto_list()
. For example in,pop_list = [{...}, [{...}], [{...}, {...}], {...}]
pop_list
represents the population, sublists represent its subpopulations and thedict
{...}
represents the members. - member_init (
function
) – The initialization function for the population’s members. It converts the member represenations in pop_list into desired objects.
Returns: The population represented by pop_list.
Return type: - pop_list (
-
gen_mutants
()¶ Creates mutants.
The function uses
mutation_selector
to select molecules andmutator
to create the mutants.Returns: The generated mutants, minus those already in the population. Return type: list
ofMolecule
-
gen_next_gen
()¶ Returns the next GA generation.
Returns: The next generation. Return type: GAPopulation
-
gen_offspring
()¶ Creates offspring.
The function uses
crossover_selector
to select molecules andcrosser
to create the offspring.Returns: The generated offspring, minus those already in the population. Return type: list
ofMolecule
-
has_structure
(mol)¶ Returns
True
if molecule with mol structure is held.Parameters: mol ( Molecule
) – A molecule whose structure is being evaluated for presence in the population.Returns: True
if a molecule with the same structure as mol is held by the population.Return type: bool
-
classmethod
init_all
(macromol_class, building_blocks, topologies, processes=None, duplicates=False)¶ Creates all possible molecules from provided building blocks.
Parameters: - macromol_class (
type
) – The class of theMacroMolecule
objects being built. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topologies (
list
ofTopology
) – The topologies of macromolecules being made. - processes (
int
, optional) – The number of parallel processes to create when building the molecules. - duplicates (
bool
, optional) – IfFalse
, duplicate structures are removed from the population.
Returns: A population holding all possible macromolecules from assembled from databases.
Return type: - macromol_class (
-
classmethod
init_copy
(population)¶ Makes a copy of population
Molecules in population are not copied.
Parameters: population ( Population
) – The population to copy.Returns: A copy of population. Return type: Population
-
classmethod
init_diverse
(macromol_class, building_blocks, topologies, size)¶ Assembles a population of
MacroMolecule
.All molecules are held in the
members
.From the supplied sublists of building blocks, a random molecule is selected to initialize a
MacroMolecule
per sublist. The next molecule selected from the same sublist is the one most with the most different Morgan fingerprint. The next molecule is picked at random again and so on. This is done until sizeMacroMolecule
instances have been formed.Parameters: - macromol_class (
type
) – The class ofMacroMolecule
to be assembled. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topolgies (
iterable
ofTopology
) – An iterable holding topologies which should be randomly selected during initialization ofMacroMolecule
. - size (
int
) – The size of the population to be initialized.
Returns: A population filled with generated molecules.
Return type: - macromol_class (
-
classmethod
init_from_files
(folder, moltype, glob_pattern='*')¶ Creates a population from files in folder.
Parameters: - folder (
str
) – The path to a folder holding molecular structure files used to initializeMolecule
objects held by the population. - moltype (
type
) – An initializer for the molecular structure files. For example,StructUnit
orStructUnit2
. If folder contains.json
dump files ofMacroMolecule
thenMolecule.load()
could also be used. - glob_pattern (
str
, optional) – A glob used for selecting specific files within folder.
Returns: A population made from files in folder.
Return type: - folder (
-
classmethod
init_random
(macromol_class, building_blocks, topologies, size)¶ Assembles a population of
MacroMolecule
.All molecules are held in
members
.From the supplied building blocks a random molecule is selected per sublist to for a
MacroMolecule
. This is done until sizeMacroMolecule
have been formed.Parameters: - macromol_class (
type
) – The class ofMacroMolecule
to be assembled. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topolgies (
iterable
ofTopology
) – An iterable holding topologies which should be randomly selected during initialization ofMacroMolecule
. - size (
int
) – The size of the population to be initialized.
Returns: A population filled with random cages.
Return type: - macromol_class (
-
classmethod
load
(path, member_init)¶ Initializes a
Population
from one dumped to a file.Parameters: - path (
str
) – The full path of the file holding the dumped population. - member_init (
function
) – The initialization function for the population’s members. It converts the member representations in the file toMolecule
objects. For exampleMolecule.from_dict()
when loading.json
files generated bydump()
.
Returns: The population stored in the dump file.
Return type: - path (
-
max
(key)¶ Calculates the maximum in the population given a key.
This method applies
key(member)
on every member of the population and returns the maximum of returned values.For example, if the maximum molecular cavity in the population is desired:
population.max(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The maximum of the values returned by the function key when it is applied to all members of the population. Return type: float
-
mean
(key)¶ Calculates the mean in the population given a key.
This method applies
key(member)
on every member of the population and returns the mean of returned values.For example, if the mean of molecular cavities in the population is desired:
population.mean(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The mean of the values returned by the function key when it is applied to all members of the population. Return type: float
-
min
(key)¶ Calculates the minimum in the population given a key.
This method applies
key(member)
on every member of the population and returns the minimum of returned values.For example, if the minimum molecular cavity in the population is desired:
population.min(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The minimum of the values returned by the function key when it is applied to all members of the population. Return type: float
-
normalize_fitness_values
()¶ Uses
fitness_normalizer
to normalize fitness values.Returns: None Return type: NoneType
-
optimize
(optimizer, processes=8)¶ Optimizes the structures of molecules in the population.
The molecules are optimized serially or in parallel depending if processes is
1
or more. The serial version may be faster in cases where all molecules have already been optimized, for example if optimized molecules are skipped. In this case creating a parallel process pool creates unncessary overhead.Notes
This function modifies the structures of molecules held by the population. This means their
Molecule.mol
attributes are modified.Parameters: - optimizer (
Optimizer
) – The optimizer used to carry out the optimizations. - processes (
int
) – The number of parallel processes to create. Optimization will run serially if1
.
Returns: None
Return type: NoneType
- optimizer (
-
remove_duplicates
(between_subpops=True, key=<built-in function id>, top_seen=None)¶ Removes duplicates from the population and preserves structure.
The question of which molcule is preserved when duplicates are removed is difficult to answer. The iteration through a population is depth-first, so a rule such as “the molecule in the topmost population is preserved” is not the case here. Rather, the first molecule found is preserved.
However, this question is only relevant if duplicates in different subpopulations are being removed. In this case it is assumed that it is more important to have a single instance than to worry about which subpopulation it is in.
If the duplicates are being removed from within subpopulations, each subpopulation will end up with a single instance of all molecules held before. There is no “choice”.
Parameters: - between_subpops (
bool
, optional) – WhenFalse
duplicates are only removed from within a given subpopulation. IfTrue
, all duplicates are removed, regardless of which subpopulation they are in. - key (
callable
, optional) – Two molecules are considered the same if the values returned bykey(molecule)
are the same.
Returns: None
Return type: NoneType
- between_subpops (
-
remove_members
(key)¶ Removes all members where
key(member)
isTrue
.The structure of the population is preserved.
Parameters: key ( callable
) – A callable which takes 1 argument. Each member of the population is passed as the argument to key in turn. If the result isTrue
then the member is removed from the population.Returns: None Return type: NoneType
-
set_ga_tools
(generation_selector, mutation_selector, crossover_selector, mutator, crosser)¶ Sets the GA calculators.
Parameters: - generation_selector (
Selector
) – ASelector
used to select molecules in the next generation. - mutation_selector (
Selector
) – ASelector
used to select molecules for mutation. - crossover_selector (
Selector
) – ASelector
used to select molecules for crossover. - mutator (
Mutator
) – Carries out the mutation of molecules. - crosser (
Crosser
) – Carries out the crossover of molecules.
- generation_selector (
-
to_list
(include_attrs=None)¶ Converts the population to a list representation.
The population and any subpopulations are represented as lists (and sublists), while members are represented by their JSON dictionaries (as strings).
Parameters: include_attrs ( list
ofstr
, optional) – The names of attributes of the molecules to be added to the JSON. Each attribute is saved as a string usingrepr()
.Returns: A JSON string representing the population. Return type: str
-
write
(dir_path, use_name=False)¶ Writes the
.mol
files of members to a directory.Parameters: - dir_path (
str
) – The full path of the directory into which the.mol
file is written. - use_name (
bool
, optional) – WhenTrue
theMolecule.name
attribute of the members is used to make the name of the.mol
file. IfFalse
, the files are just named after the member’s index in the population.
Returns: None
Return type: NoneType
- dir_path (
-
-
class
stk.populations.
Population
(*args)¶ Bases:
object
A container for
Molecule
objects.Population
instances can be nested.In addtion to holding
Molecule
objects, thePopulation
class can be used to create large numbers of these instances through theinit_()
class methods.Molecule
instances held by aPopulation
can have their structures optimized in parallel through theoptimize()
method.The only operations directly implemented by this class are those relevant to its role as a container. It supports all expected and necessary container operations such as iteration, indexing, membership checks (via the
is in
operator) as would be expected. Details of the various implementations and a full list of supported operations can be found by examining the included methods.-
populations
¶ A list of other instances of the
Population
class. This allows the implementation of subpopulations or evolutionary islands. This attribute is also used for grouping molecules within a given population for organizational purposes.Type: list
ofPopulation
instances
-
members
¶ Held here are the members of the population which are not held within any subpopulations. This means that not all members of a population are stored in this attribute. To access all members of a population the generator
all_members()
should be used.Type: list
ofMolecule
instances
-
_optimize_parallel
(optimizer, processes)¶
-
_optimize_serial
(optimizer)¶
-
add_members
(population, duplicates=False)¶ Adds
Molecule
instances intomembers
.The
Molecule
instances held within population, are added intomembers
. Any nesting is removed. This is because allMolecule
instances are added intomembers
directly, regardless of how nested they are within population.Parameters: - population (
iterable
ofMolecule
) –Molecule
instances held by this container are added intomembers
. - duplicates (
bool
, optional) –Indicates whether multiple instances of the same molecule are allowed to be added. Note, the sameness of a molecule is judged by
Molecule.same()
.When
False
only molecules which are not already held by the population will be added.True
allows more than one instance of the same molecule to be added.
Returns: None
Return type: NoneType
- population (
-
add_subpopulation
(population)¶ Appends a copy of population to
populations
.Only a copy of the population container is made. The molecules it holds are not copies.
Parameters: population ( Population
) – The population to be added as a subpopulation.Returns: None Return type: NoneType
-
all_members
()¶ Yields all molecules in the population and its subpopulations.
Yields: Molecule
– The nextMolecule
instance held within the population or its subpopulations.
-
assign_names_from
(n, overwrite=False)¶ Give each member of the population a name starting from n.
Notes
This method modifies the
Molecule.name
attribute ofMolecule
instances held by the population.Parameters: - n (
int
) – A number. Members of this population are given a unique number as a name, starting from this number and incremented by one between members. - overwrite (
bool
, optional) – IfTrue
, existing names are replaced.
Returns: The value of the last name assigned, plus 1.
Return type: int
- n (
-
dump
(path, include_attrs=None)¶ Dumps the population to a file.
The population is dumped in the JSON format in the following way. The population is represented as a list,
[mem1.json(), mem2.json(), [mem3.json(), [mem4.json()]]]
where each member of the population held directly in the members attribute is placed an an element in the list. Any subpopulations are held as sublists.
Parameters: - path (
str
) – The full path of the file to which the population should be dumped. - include_attrs (
list
ofstr
, optional) – The names of attributes of the molecules to be added to the JSON. Each attribute is saved as a string usingrepr()
.
Returns: None
Return type: NoneType
- path (
-
classmethod
from_list
(pop_list, member_init)¶ Initializes a population from a
list
representation.Parameters: - pop_list (
list
) –A
list
which represents a population. Like the ones created byto_list()
. For example in,pop_list = [{...}, [{...}], [{...}, {...}], {...}]
pop_list
represents the population, sublists represent its subpopulations and thedict
{...}
represents the members. - member_init (
function
) – The initialization function for the population’s members. It converts the member represenations in pop_list into desired objects.
Returns: The population represented by pop_list.
Return type: - pop_list (
-
has_structure
(mol)¶ Returns
True
if molecule with mol structure is held.Parameters: mol ( Molecule
) – A molecule whose structure is being evaluated for presence in the population.Returns: True
if a molecule with the same structure as mol is held by the population.Return type: bool
-
classmethod
init_all
(macromol_class, building_blocks, topologies, processes=None, duplicates=False)¶ Creates all possible molecules from provided building blocks.
Parameters: - macromol_class (
type
) – The class of theMacroMolecule
objects being built. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topologies (
list
ofTopology
) – The topologies of macromolecules being made. - processes (
int
, optional) – The number of parallel processes to create when building the molecules. - duplicates (
bool
, optional) – IfFalse
, duplicate structures are removed from the population.
Returns: A population holding all possible macromolecules from assembled from databases.
Return type: - macromol_class (
-
classmethod
init_copy
(population)¶ Makes a copy of population
Molecules in population are not copied.
Parameters: population ( Population
) – The population to copy.Returns: A copy of population. Return type: Population
-
classmethod
init_diverse
(macromol_class, building_blocks, topologies, size)¶ Assembles a population of
MacroMolecule
.All molecules are held in the
members
.From the supplied sublists of building blocks, a random molecule is selected to initialize a
MacroMolecule
per sublist. The next molecule selected from the same sublist is the one most with the most different Morgan fingerprint. The next molecule is picked at random again and so on. This is done until sizeMacroMolecule
instances have been formed.Parameters: - macromol_class (
type
) – The class ofMacroMolecule
to be assembled. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topolgies (
iterable
ofTopology
) – An iterable holding topologies which should be randomly selected during initialization ofMacroMolecule
. - size (
int
) – The size of the population to be initialized.
Returns: A population filled with generated molecules.
Return type: - macromol_class (
-
classmethod
init_from_files
(folder, moltype, glob_pattern='*')¶ Creates a population from files in folder.
Parameters: - folder (
str
) – The path to a folder holding molecular structure files used to initializeMolecule
objects held by the population. - moltype (
type
) – An initializer for the molecular structure files. For example,StructUnit
orStructUnit2
. If folder contains.json
dump files ofMacroMolecule
thenMolecule.load()
could also be used. - glob_pattern (
str
, optional) – A glob used for selecting specific files within folder.
Returns: A population made from files in folder.
Return type: - folder (
-
classmethod
init_random
(macromol_class, building_blocks, topologies, size)¶ Assembles a population of
MacroMolecule
.All molecules are held in
members
.From the supplied building blocks a random molecule is selected per sublist to for a
MacroMolecule
. This is done until sizeMacroMolecule
have been formed.Parameters: - macromol_class (
type
) – The class ofMacroMolecule
to be assembled. - building_blocks (
list
) –A
list
of the formbuilding_blocks = [[StructUnit2(), StructUnit2(), ...], [StructUnit3(), StructUnit3(), ...], [StructUnit2(), StructUnit2(), ...]]
To assemble a new
MacroMolecule
, aStructUnit
is picked from each of the sublists in building_blocks. The pickedStructUnit
instances are then supplied to the macromolecule:macro_mol = MacroMolecule([pick1, pick2, pick3], Topology())
The order of picked
StructUnit
instances corresponds to the order of the sublists. - topolgies (
iterable
ofTopology
) – An iterable holding topologies which should be randomly selected during initialization ofMacroMolecule
. - size (
int
) – The size of the population to be initialized.
Returns: A population filled with random cages.
Return type: - macromol_class (
-
classmethod
load
(path, member_init)¶ Initializes a
Population
from one dumped to a file.Parameters: - path (
str
) – The full path of the file holding the dumped population. - member_init (
function
) – The initialization function for the population’s members. It converts the member representations in the file toMolecule
objects. For exampleMolecule.from_dict()
when loading.json
files generated bydump()
.
Returns: The population stored in the dump file.
Return type: - path (
-
max
(key)¶ Calculates the maximum in the population given a key.
This method applies
key(member)
on every member of the population and returns the maximum of returned values.For example, if the maximum molecular cavity in the population is desired:
population.max(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The maximum of the values returned by the function key when it is applied to all members of the population. Return type: float
-
mean
(key)¶ Calculates the mean in the population given a key.
This method applies
key(member)
on every member of the population and returns the mean of returned values.For example, if the mean of molecular cavities in the population is desired:
population.mean(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The mean of the values returned by the function key when it is applied to all members of the population. Return type: float
-
min
(key)¶ Calculates the minimum in the population given a key.
This method applies
key(member)
on every member of the population and returns the minimum of returned values.For example, if the minimum molecular cavity in the population is desired:
population.min(lambda macro_mol: macro_mol.cavity_size())
Parameters: key ( function
) – A function which should take aMolecule
instance as its argument and returns a numerical value.Returns: The minimum of the values returned by the function key when it is applied to all members of the population. Return type: float
-
optimize
(optimizer, processes=8)¶ Optimizes the structures of molecules in the population.
The molecules are optimized serially or in parallel depending if processes is
1
or more. The serial version may be faster in cases where all molecules have already been optimized, for example if optimized molecules are skipped. In this case creating a parallel process pool creates unncessary overhead.Notes
This function modifies the structures of molecules held by the population. This means their
Molecule.mol
attributes are modified.Parameters: - optimizer (
Optimizer
) – The optimizer used to carry out the optimizations. - processes (
int
) – The number of parallel processes to create. Optimization will run serially if1
.
Returns: None
Return type: NoneType
- optimizer (
-
remove_duplicates
(between_subpops=True, key=<built-in function id>, top_seen=None)¶ Removes duplicates from the population and preserves structure.
The question of which molcule is preserved when duplicates are removed is difficult to answer. The iteration through a population is depth-first, so a rule such as “the molecule in the topmost population is preserved” is not the case here. Rather, the first molecule found is preserved.
However, this question is only relevant if duplicates in different subpopulations are being removed. In this case it is assumed that it is more important to have a single instance than to worry about which subpopulation it is in.
If the duplicates are being removed from within subpopulations, each subpopulation will end up with a single instance of all molecules held before. There is no “choice”.
Parameters: - between_subpops (
bool
, optional) – WhenFalse
duplicates are only removed from within a given subpopulation. IfTrue
, all duplicates are removed, regardless of which subpopulation they are in. - key (
callable
, optional) – Two molecules are considered the same if the values returned bykey(molecule)
are the same.
Returns: None
Return type: NoneType
- between_subpops (
-
remove_members
(key)¶ Removes all members where
key(member)
isTrue
.The structure of the population is preserved.
Parameters: key ( callable
) – A callable which takes 1 argument. Each member of the population is passed as the argument to key in turn. If the result isTrue
then the member is removed from the population.Returns: None Return type: NoneType
-
to_list
(include_attrs=None)¶ Converts the population to a list representation.
The population and any subpopulations are represented as lists (and sublists), while members are represented by their JSON dictionaries (as strings).
Parameters: include_attrs ( list
ofstr
, optional) – The names of attributes of the molecules to be added to the JSON. Each attribute is saved as a string usingrepr()
.Returns: A JSON string representing the population. Return type: str
-
write
(dir_path, use_name=False)¶ Writes the
.mol
files of members to a directory.Parameters: - dir_path (
str
) – The full path of the directory into which the.mol
file is written. - use_name (
bool
, optional) – WhenTrue
theMolecule.name
attribute of the members is used to make the name of the.mol
file. IfFalse
, the files are just named after the member’s index in the population.
Returns: None
Return type: NoneType
- dir_path (
-
-
class
stk.populations.
_Guard
(calculator, fn)¶ Bases:
object
A decorator for optimization functions.
This decorator should be applied to all functions which are to be used with
multiprocessing
. It prevents functions from raising if they fail, which prevents the multiprocessing pool from hanging.


Akan Naming
Proper names are farmiliar expressions of natural languange,Whose semantics remains a contested subject.Do names
have meanings or do they simply reffer to particular things?...we'll see....
get to know your "Akan Name" by filling out the form


My parent used the 'message' var's instantiated value and when you click the button below I'll update the 'message' var's value and you'll see it update in the child but not in the parent component.
Message: {{message}}
Click me to update 'message' var in child then click the parent's update button