SAICA Told Anoj Singh Ordered Accelerated Delivery Of Controversial Locomotives
by SG EditorA former Transnet employee has told SA Institute of Chartered Accountants (Saica) disciplinary hearing into Anoj Singh’s conduct that the former CFO ordered the accelerated delivery of more than 1,000 controversial locomotives.
On Thursday, Francis Callard told the Saica hearing that Singh demanded the delivery of up to 480 locomotives be brought forward at the risk by negating critical factors, such as Transnet engineering’s capacity.
Callard claims Singh told their team that by accelerating the delivery of the locomotives, Transnet would have saved R10 billion without explaining how this would materialise.
He explained it did not include forex hedging and escalation costs.
“When one is building a model of this nature, you ask the projected delivery and time period for the model. So, we want seven years. So, we would go to our treasury department and ask for the rand to dollar exchange rate for the next four to five years. That would be a rand exchange rate that one could purchase from the bank.”
Singh is accused of intentionally misleading the Transnet board and abusing his position during the procurement of the rail transport vehicles.
Callard said the acceleration of the delivery was not only contrary to Transnet freight rail’s available structure, but it was also beyond the company’s scope.
He added that it was also contrary to the procurement strategy of the locomotives business case, which stated delivery would only be accelerated and decelerated depending on market demands.


THE HUDSUCKER PROXY (1993) A Film Review by Ted Prigge Copyright 1997 Ted Prigge
Director: Joel Coen Writers: Joel and Ethan Coen Starring: Tim Robbins, Paul Newman, Jennifer Jason Leigh, Charles Durning, John Mahoney, Bruce Campbell, Peter Gallagher, Steve Buscemi, Anna Nicole Smith
"The Hudsucker Proxy" is basically the only film from the Coens that was nearly critically and commercially admonished. Costing about 30 million bucks or so to make, and making about...1, as well as being trashed by a lot of critics for having "style but no substance," it was therefore dubbed "a failure." But don't be fooled by all this; "The Hudsucker Proxy" is one of the funniest and warmest comedies to come around.
Playing as a kind of parody of the Frank Capra films of the 30s and 40s, as well as a semi-satire of 40s industrialism, and general blue-collar working, "The Hudsucker Proxy" presents a surreal vision of the world of the past, filled with the wacky, off-beat humor of the Coen brothers, which seeps into all of their films, even if they're not comedies (except "Blood Simple," which plays it straight). What's great is that this film never looses its humor.
Taking place, I suppose, in the 40s, it deals with a kind of dim-witted yet hopeful young man (Tim Robbins) who comes to the big city to get a good job, but finds he has to settle with a crap mail room job for a company called "Hudsucker Enterprises" (the company in "Raising Arizona" too). Ironically, the day he's hired, the president of the company (Charles Durning) mysteriously and joyously leaps from the top story to his ultimate squish.
Since this means that the stocks will go out to the general public as of the new year (some company technicality...), the heads of the company, ruled by the cigar-smoking Mussburger (Paul Newman), decide to find a total dupe to replace Durning, who will drive the stocks way down, so they can buy them cheap. And guess who has to deliver a "blue letter" to Mussburger on that day?
 Enter the Rosalind Russel-inspired Amy Archer (Jennifer Jason Leigh), a feisty reporter who bets her pullitzer that it's a sham and goes undercover to find everything out. Soon she's posing as his adorable secretary, and finds she's falling in love with him, and he with her.
The company thinks they've scored gold with chosing Robbins for the job, especially when he comes up with his idea for the company's new gimmick: a drawing with a circle which he carries along with him in his shoe ("You know: for the kids," he says when he introduces it anyone). The company goes along with it because they don't know what the hell it is, but there's a sad (for them) irony in it, especially when you see what it is he's actually invented.
The film is one of the most frequently funny films of the 90s, going for various academic gags throughout the course of the film. They seem to be going for the humor they did in their amazing "Raising Arizona," which is one of the funniest flicks I've ever seen. Of course, with the big budget, it means they can improve on the sets and overall production of their film. The mail room is actually reminiscent of any set in "Brazil," with its negative outlook in beaurocratic jobs, which the film satires frequently.  The suicide jump by Durning, and a later one by another character, is the best I've ever seen in a film. I think.
If there's a downside to the film, it's that it's just not as cool as their other films. Sure, I think it's a fantastic comedy, featuring many great jokes and even some satire. But it doesn't have the great heart of the earlier Coen brother films. But to me, it's okay, because this film is one of the few films to be non-stop funny for its full time.
With Tim Robbins' giddy performance, Paul Newman's deliciously cold acting, and Jennifer Jason Leigh's awesome Rosalind impersonation, we get a parody of the screwball comedy and the films of Capra, as well as a satire of companies and beurocracy which is definitely one of the most enjoyable films I've seen in the past couple years.
MY RATING (out of 4): ***
Homepage at: http://www.geocities.com/Hollywood/Hills/8335/
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


[gecode-users] Gecode
kemmar amina
kemmami at yahoo.fr
Mon May 14 16:26:22 CEST 2007
Hi,
I am using GECODE in my project, I want to know if the arithmetic operators : division "/ " and modulo "%" exist in gecode. this information is very necesery for me. please help me. If they don't exist , what is the reason?
thank you very much.
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20070514/8b36c1b1/attachment.htm>
More information about the gecode-users
mailing list


Check Digit
Input:
Output:
Hit
Enter
or
Tab
to get your output.
Read the
Readme
for more info.
×
Input font size:
20
Find Character
Find Character
×
Input character at position:
is:


Since ExecutableUsecaseResource extends BasicXMLResource you can use all the things provided by BasicXMLResource.
| Element Name |
Child-Element | Attribut | Explanation |
|---|---|---|---|
| views | view | Container for all views | |
| view | mime-type, xslt, template, url, http-headers, serializer |
id, type | A single view. id can be 'default' or 'source' for built in views. Or any other id for a custom view. A view is accessed via id through a request parameter yanel.resource.viewid type can be xml, jelly, redirect (implementation not finished yet), custom. Default is xml. |
| mime-type | - | E.g. text/html, application/xhtml+xml ... | |
| xslt | - | Path to xslt. absolute data-repo path, rthdocs path, file path. see: Protocol-Schemas used configure xslt via ConfigurableViewDescriptor
|
|
| template | - | Only useful when using type="jelly" | |
| url | - | Only useful when using type="redirect" (implementation not finished yet) | |
| http-headers | name, value | Define some http-headers for this view. | |
| name | - | Name of the header-field | |
| value | - | Value of the header-field | |
| serializer | omit-xml-declaration, indent, doctype-public, doctype-system | key | If no serializer is specified for a view, the serializer will be chosen
depending on the mime-type, whereas the default serializer is XHTML_STRICT Possible Serializers (key): HTML_TRANSITIONAL, XHTML_STRICT, XML, TEXT |
| omit-xml-declaration | - | Can be 'yes' or 'no' | |
| doctype-public | - | Public Doctype e.g -//W3C//DTD XHTML 1.0 Transitional//EN | |
| doctype-system | - | System Doctype e.g. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd | |
| indent | - | Can be 'yes' or 'no' |
If you extend from ExecutableUsecaseResource or UsecaseResource you can use jelly-views. see http://commons.apache.org/jelly/ for more details on jelly.
IMPORTANT: don't program logic within your jelly-template. Just use getters and setters to send and recieve data from/to your resource java class. If you implement logic within your jelly-template you will violate the model-view-controler pattern.
Jelly represents the view not the controler!
| Variable-name | Explanation: |
|---|---|
| resource | the current resource object |
| yanel.back2context | Path prefix for yanel root. |
| yanel.back2realm | Path prefix for realm root. |
| yanel.globalHtdocsPath | Path prefix for accessing content from globalHtocsPath. |
| yanel.resourcesHtdocsPath | Path prefix for accessing content of this resources HtdocsPath. |
| yanel.reservedPrefix | Reserved Prefix of yanel. |
The standard executable usecase works as follows:


Salmon Cookies started in Seattle area in 2015. The idea came through when two fishermen, Pat and Mat, got home after fishing. They were cleaning the Salmons when Sam, their best friend, showed up to surprise Pat for his birthday. Guess what, Sam forgot to bring his birthday cake, so the only solution was to make it at home. As there was nothing at home except Salmon, flour, sugar and water, Pat and Mat thought why not making cookies with Salmon, however it might taste awful, but might worth a try. SO, they made their own recipe and made the cookie. After serving the cake, guess who was surprised, Sam was surprised with those yummy cookies. The following day Pat and Mat started making other recipes. They started their first shop in July 2015, and have five franchises right now, which are spreading all over coders.


Used to designate the mapping of an object from its JavaScript form to its representation in a DynamoDB Table or nested map.
Used to designate that an object represents a row of the named DynamoDB table. Meant to be used in conjunction with {DynamoDbSchema}.
Used to designate which fields on an object have been changed. The method identified by this symbol should return a iterable that enumerates the fields that have been altered.
class FooDocument { constructor() { this._dirtyFields = new Set(); this._foo = ''; }
get foo() { return this._foo; } set foo(value) { this._foo = value; this._dirtyFields.add('foo'); } [DynamoDbDirtyFields]() { return this._dirtyFields.values(); }
}


LOGIN SUCCESSFUL
The QRcode for your location ;
Members:
data fro db to displayed
Share
Update
Add or Remove


In the following code, a page accepts a query string parameter called isbn. The value of this variable is used to look up a book in the database using an unmanaged middle-layer.
<script language="C#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
String strIsbn = this.Request.QueryString["isbn"];
//lookup isbn in a database using an
//unamanged middle layer
}
</script>
In this example, the middle layer may be prone to malicious attacks as the value of ISBN is not validated. he length of the string is not limited, which could lead to a buffer overflow in the unmanaged middle layer, and it may not be in the correct format, which could cause a middle layer string parser to crash, allow for format string attacks, SQL injection, or a host of other issues.
In the following code, a page accepts a query string parameter called isbn. The value of this variable is used to look up a book in the database using an unmanaged middle layer. The code uses regular expressions to validate the query string string value. This ensures that the value supplied by the client is in the correct format by checking the length of the string and the characters used.
<script language="C#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
String strIsbn = this.Request.QueryString["isbn"];
if (Regex.IsMatch((strIsbn), @"(?=.{13}$)\d{1,5}([- ])\d{1,7}\1\d{1,6}\1(\d|X)$"))
{
//lookup isbn in a database using an
//unmanaged middle layer
}
else
{
//display error
}
}
</script>
Adapted from Microsoft patterns & practices guidance.


{% if current_user.is_authenticated %}
IdeaBox
{% else %}
IdeaBox
{% endif %}
{% if current_user.is_authenticated %}
{{ current_user.first_name}} {{current_user.last_name}}
Home
My profile
Create New Post
Log Out
{% else %}
Sign Up
Login
{% endif %}
{% if current_user.is_authenticated %}
Hope you are enjoying IdeaBox
Have An Idea? Post it and Get it out there.
Got A new Idea?
 Sign up, log in and Get it out there.
Don't Have an account? Sign up here
Sign up
Already Have an account? Log in here
Log in
{% endif %}


--- layout: post permalink: magneticone.html Tags: Array NameOfCoupon: MagneticOne Cash Back Summary: See our MagneticOne Coupon Code, MagneticOne Rebate, MagneticOne Promo Code, MagneticOne Discount, MagneticOne Coupon Cash Back Rebate here. MetaKeywords: MagneticOne Coupon Code, MagneticOne Rebate, MagneticOne Promo Code, MagneticOne Cash Back Rebate, MagneticOne Discount, MagneticOne Coupon Image: images/14139.gif LinkURL: http://www.shareasale.com/r.cfm?b=94840&u=412002&m=14139 affiliate_url_link: http://www.icouponblog.com/jane.php?id=224 thesis_readmore: See the MagneticOne Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=magneticone.com Title: Save 15% - MagneticOne Coupon Code for magneticone.com. MagneticOne Rebate & Discount thesis_description: Our MagneticOne Discount Coupon Code for magneticone.com. We have the best MagneticOne Rebate anywhere. thesis_keywords: MagneticOne, MagneticOne Coupon Code, MagneticOne Discount, MagneticOne Rebate product_name: MagneticOne hop_url: http://www.icouponblog.com/hop.php?id=224 ---
MagneticOne is an innovative software company development company that focuses on creating software which will increase efficiency, functionality and profitability of on-line companies and businesses. MagneticOne one believes internet business should be fully automated and has automation software that will take your business to the next level. It will cut down on manpower and improve profitability. Use our discount coupon to get a great price on MagneticOne software products. Your company will greatly benefit from MagneticOne innovative software.
MagneticOne has much innovative software designed especially for online shops and stores. MagneticOne specializes in e-commerce and web services for effective store management, SEO and marketing automation, comparison shopping engines and affiliate networks integrations, email marketing etc. MagneticOne developed a number of software for online merchants and modules to greatly extend functionality of popular shopping carts - osCommerce, CRE Loaded, Zen Cart, X-Cart, Pinnacle Cart, Magento and others. Look for our promo code and discount coupons on MagneticOne products. Save money and buy the innovative software designed especially for your needs.
Make your business more efficient, save time and money. MagneticOne is the one for you. It has all the e-solutions designed to make your business more profitable and successful. Customers who have used MagneticOne have nothing but praise for it. MagneticOne also has an efficient, dedicated customer support staff that resolves problems, provides solutions and answers questions. Your company will love MagneticOne and you will love our discount coupon.


This is bold and boring
This is a bit more interesting and should wrap to a new line
Enter x:
Output goes here
Enter y:
Enter z:
try 2,5
3,4


Details: This package is based on ERFNet, a semantic segmentation deep learning
network architecture. We have packaged together a quick and simple way to train
this model on two classes for fast and accurate object segmentation. This
package is designed to work on the OVC platform and we have achieved accurate
object detection results at 10Hz at half the original camera resolution.
Details: This is a simple but useful ROS node to de-couple the single
stacked, synchronized images into two individual synchronized image streams for
both individual imagers.
Details: For our robotics related applications, we use a pair of wide-angle
lenses for our cameras. This package performs a fisheye rectification of input
images, either in the vertically concatenated stacked format or as synchronized
separate image streams.
Details: A ROS node of the Semi-Global Matching algorithm implemented originally by
Hernandez et. al with a few modifications and a ROS front-end. Performs dense
stereo depth estimation, with point cloud, disparity image and regular 8bit
disparity image topics.


JsInterface(key: String)
Use them to establish a suitable communication between a single javascript event for your web loaded in a webview and an object in your application, making a clean code and a single responsibility.
The ArtearProcessor use this annotation to generate an extra file for execute a traditional JavascriptInterface used in webview.
Note that the process register each class annotated whit it.


This JavaScript application processes your Refind export file on your computer. It creates an output file that can be imported to Diigo and Shaarli with the tags preserved. It processes files locally, not on any server. Find out more about this application.
Instructions: Select the file below. It will automatically process the file and start a download of the result. It should take 1-10 second, unless you have several hundred or thousands of bookmarks to be processed. Please note that the download will start automatically.
After you have downloaded your Refind export, user the file input below to select your file.


But what is a map, if it’s just a plain old map?
John Snow, map of clusters of cholera cases in Soho in the London epidemic of 1854


{% set title = 'Toast' %} {% set filename = 'component-toasts.html' %} {% extends 'layouts/master.html' %} {% block content %}
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.
Click the button to show toasts.


There's this game that I sometimes play when a movie or TV show is particularly mind boggling: "Whatever were they thinking?" I try to envision the moment when the story was pitched or the plot was hatched. I think I've got it for this one.
OK, this is what I think happened. Harvey Keitel--consistently one of the most interesting actors out there and one who has a playful/serious "actor's workshop" approach to his craft, is hanging out, maybe inhaling, maybe slugging back the scotch with his good buddy Jane Campion and her sister Anna. "Hit me with your best shot.  I'll convince 'em."
They put their heads together and come up with a vision of him crawling around the Australian outback in a red minidress and a single cowboy boot--one of these strokes of brilliance the muse occasionally drops on you (especially, as mentioned before, when the smoke is wholly...)
"Great! How did I got there?" "Had to be a woman." AND they were off. The writers had to back into the story, and when they did they realized things got kind of draggy when it was just the dialogue in the desert--a little too heady. Needed some livening up. So whenever the action slowed down they'd roll the dice and add in a feature from a collection of odds and ends they'd written on slips of paper and put in a fishbowl to draw from--sheep as tray tables, reindeer antlers on the car-- a game of dares.
For supporting evidence that this piece was an extended workshop exercise, look to Keitel's 1995 "Smoke" and "Blue in the face" (as in Krishna, blue-faced God?) for the title and spiritual allusion.
Anyway, fun for Keitel and Winslet, some interesting stuff, some too silly stuff. Probably not worth paying for but fun for free.
BTW, this is the second film preview I've attended at Pentagon City, and I don't think I'll go to a movie there again. At the first--Any Given Sunday--the sound track kept breaking up. At this screening they cropped about the top 15% of the image (except for the period in which the film slipped out of registration so we saw the top part but lost the next 15%).
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


java.lang.Object BetterGameOfLife
public class BetterGameOfLife
A model of conway's game of life. A grid of Cells are presented with a random pattern of alive Cells selected Cells will turn on or off with each generation following the given rules. If the cell is alive, it will stay alive until the next generation if there are 2 or 3 alive neighbors If the cell is dead, it will become alive in the next generation for 3 neighboring alive cells
| Constructor Summary | |
|---|---|
BetterGameOfLife()
Creates a game of life with default 20 by 20 Cells on the cell grid |
| Method Summary | |
|---|---|
int |
checkNeighbours(int x,
int y)
Checks and returns the number of alive neighbours of a particular cell in the cell grid of the game. |
void |
createGUI()
Creates a frame with a menu bar and a default 20x20 set of |
void |
determineNextGeneration(int x,
int y,
int neighbourCount)
Determines the status of the generation of a particular cell on the grid. |
void |
print()
Prints out the grid of Cells of this game of life. |
void |
setGameGrid(int xAxis,
int yAxis)
changes the dimensions for this cell grid |
void |
startGame()
Executes the game of Life with a random pattern of Cells. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BetterGameOfLife()
| Method Detail |
|---|
public int checkNeighbours(int x, int y)
x
- the x coordinate of the cell in which its neighbours is to be checkedy
- the y coordinate of the cell in which its neighbours is to be checked
public void createGUI()
public void determineNextGeneration(int x, int y, int neighbourCount)
neighbourCount
- the number of neighbours of the cell whose status of its next generation is to be determinedx
- the x coordinate of the cell whose status of its next generation is to be determinedy
- the y coordinate of the cell whose status of its next generation is to be determinedpublic void print()
public void setGameGrid(int xAxis, int yAxis)
x
- public void startGame() throws java.lang.InterruptedException
java.lang.InterruptedException


- kernel - Variable in class com.amd.aparapi.internal.opencl.OpenCLArgDescriptor
-
- Kernel - Class in com.amd.aparapi
-
A kernel encapsulates a data parallel algorithm that will execute either on a GPU
(through conversion to OpenCL) or on a CPU via a Java Thread Pool.
- Kernel() - Constructor for class com.amd.aparapi.Kernel
-
- Kernel.Constant - Annotation Type in com.amd.aparapi
-
We can use this Annotation to 'tag' intended constant buffers.
- Kernel.Entry - Class in com.amd.aparapi
-
- Kernel.Entry() - Constructor for class com.amd.aparapi.Kernel.Entry
-
- Kernel.EXECUTION_MODE - Enum in com.amd.aparapi
-
The execution mode ENUM enumerates the possible modes of executing a kernel.
- Kernel.KernelState - Class in com.amd.aparapi
-
This class is for internal Kernel state management
- Kernel.Local - Annotation Type in com.amd.aparapi
-
We can use this Annotation to 'tag' intended local buffers.
- KernelArg - Class in com.amd.aparapi.internal.kernel
-
Each field (or captured field in the case of an anonymous inner class) referenced by any bytecode reachable from the users Kernel.run(), will
need to be represented as a KernelArg
.
- KernelArgJNI - Class in com.amd.aparapi.internal.jni
-
This class is intended to be used as a 'proxy' or 'facade' object for Java code to interact with JNI
- KernelArgJNI() - Constructor for class com.amd.aparapi.internal.jni.KernelArgJNI
-
- KernelRunner - Class in com.amd.aparapi.internal.kernel
-
The class is responsible for executing Kernel
implementations.
- KernelRunner(Kernel) - Constructor for class com.amd.aparapi.internal.kernel.KernelRunner
-
Create a KernelRunner for a specific Kernel instance.
- KernelRunnerJNI - Class in com.amd.aparapi.internal.jni
-
This class is intended to be used as a 'proxy' or 'facade' object for Java code to interact with JNI
- KernelRunnerJNI() - Constructor for class com.amd.aparapi.internal.jni.KernelRunnerJNI
-
- KernelWriter - Class in com.amd.aparapi.internal.writer
-
- KernelWriter() - Constructor for class com.amd.aparapi.internal.writer.KernelWriter
-


Misima Island is located about 100nm due east of Port Moresby on the main island.
This is a larger settlement with many people who have migrated away from their clan/family. Consequently there is crime here and some cruisers have experienced burglaries.
Last updated May 2013.
Misima used to be a port of entry and may well be again in the future.
After the gold mine closed the Customs officer left Misima at the begining of 2006. However groups of yachts wanting to clear in together here may be able to arrange to fly the Customs officer from Samarie to complete clearance. There is already a quarantine officer here.
Alternatively, yachts should go to Alatao or to Samarai for clearance.
Last updated March 2015.


Clip path with polygon shape outside
I like the mountains -- they're my favorite. You have to make an almighty decision. Remember where your finger's been before you scratch your nose. Very gently go across the entire sky. See how easy that is? When the birds take over, I'll have friends! Make your own mind up about where your clouds should live. You'll be amazed at some of the effects you can achieve. I am a fanatic for water. Just sort of blend it around.
Pretend you're a whisper floating across here. Mountains come in all shapes and sizes. There's nothing worse than an angry tree. Let your imagination wander around while you're doing these things. Everybody needs to sing in the sunshine! Enough of that. ...three hairs and some air... That'll be a challenge! Tell you what: let's get crazy today. We'll have a super time.
Clip path with shape box
I like the mountains -- they're my favorite. You have to make an almighty decision. Remember where your finger's been before you scratch your nose. Very gently go across the entire sky. See how easy that is? When the birds take over, I'll have friends! Make your own mind up about where your clouds should live. You'll be amazed at some of the effects you can achieve. I am a fanatic for water. Just sort of blend it around.
Pretend you're a whisper floating across here. Mountains come in all shapes and sizes. There's nothing worse than an angry tree. Let your imagination wander around while you're doing these things. Everybody needs to sing in the sunshine! Enough of that. ...three hairs and some air... That'll be a challenge! Tell you what: let's get crazy today. We'll have a super time.


Search for Syllabi
(current)
Dashboard
(current)
Statistics
Overall Statistics
University Statistics
University Analysis
About
{% block content %} {% if user.is_authenticated %}
Logout
{% else %}
Login
{% endif %} {% endblock %}
Your Uploaded Syllabi
{% for name in List %}
{{name.1}}
{% csrf_token %}Delete
{% csrf_token %}Edit
{% endfor %}


| 006:078 Khan | : |
When he saw the sun rising up, he said: "This is my lord. This is greater." But when it set, he said: "O my people! I am indeed free from all that you join as partners in worship with Allah. |
| 006:078 Maulana | : |
Then when he saw the sun rising, he said: Is this my Lord? Is this the greatest? So when it set, he said: O my people, I am clear of what you set up (with Allah). |
| 006:078 Pickthal | : |
And when he saw the sun uprising, he cried: This is my Lord! This is greater! And when it set he exclaimed: O my people! Lo! I am free from all that ye associate (with Him). |
| 006:078 Rashad | : |
When he saw the sun rising, he said, "This must be my Lord. This is the biggest." But when it set, he said, "O my people, I denounce your idolatry. |
| 006:078 Sarwar | : |
When he saw the rising sun, he said, "This is my Lord for it is greater (than the others)." But when this too faded away, (Abraham) said, "My people, I disavow whatever you consider equal to God. |
| 006:078 Shakir | : |
Then when he saw the sun rising, he said: Is this my Lord? Is this the greatest? So when it set, he said: O my people! surely I am clear of what you set up (with Allah). |
| 006:078 Sherali | : |
And when he saw the sun rise with spreading light, he said, 'Can this be my Lord? This is the greatest.' But when it also set, he said, 'O my people ! surely I am quit of that which you associate with God; |
| 006:078 Yusufali | : |
When he saw the sun rising in splendour, he said: "This is my Lord; this is the greatest (of all)." But when the sun set, he said: "O my people! I am indeed free from your (guilt) of giving partners to Allah. |
Concepts/Themes Covered:
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


vignettes/slimrlang_intro.Rmd
slimrlang_intro.Rmd
This vignette introduces the slimr
package.
slimr
has the goal of making it easy to write scripts for
the population genetics simulation software and programming language SLiM. slimr
offers
tools to get R objects and generated model parameters into SLiM, as well
as to help SLiM generate R friendly output for post-simulation analysis.
It also provides tools for working with existing SLiM scripts as well as
running, monitoring, and visualising SLiM simulations in realtime and
directly from R, as well as post-processing in R.
To write a SLiM script in slimr
you must wrap your SLiM
code in slim_block
function calls, which are then nested in
a slim_script
function call. The API for slimr
has been designed to mimic as close as possible the way that scripts are
written in SLiM itself. To get you started we will use an example. SLiM
has an extremely extensive manual that includes a large number (around
150!) of example scripts to help users learn the language. We will take
advantage of this resource and try to write a few of the manual’s
scripts using the slimr
approach.
This is the first SLiM script (referred to as ‘recipes’) in the SLiM manual:
// set up a simple neutral simulation
initialize()
{
// set the overall mutation rate
initializeMutationRate(1e-7);
// m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
// g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
// uniform chromosome of length 100 kb
initializeGenomicElement(g1, 0, 99999);
// uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}
// create a population of 500 individuals
1
{
sim.addSubpop("p1", 500);
}
// run to generation 10000
10000
{
sim.simulationFinished();
}
So how would we write this script in slimr
? Like
this:
library(slimr)
#> Welcome to the slimr package for forward population genetics simulation in SLiM. For more information on SLiM please visit https://messerlab.org/slim/ .
#>
#> Attaching package: 'slimr'
#> The following object is masked from 'package:methods':
#>
#> initialize
#> The following object is masked from 'package:base':
#>
#> interaction
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate
initializeMutationRate(1e-7);
## m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length 100 kb
initializeGenomicElement(g1, 0, 99999);
## uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim.addSubpop("p1", 500);
}),
slim_block(10000,
{
sim.simulationFinished();
})
) -> script_1
script_1
#> <slimr_script[3]>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
It is as simple as that at its most basic. slim_script
returns a slimr_script
object which has a print method that
prints out the final SLiM script in a pretty fashion. You can see that
the output above is quite similar to the original SLiM code from the
manual recipe. The one difference is the block names, highlighted in
cyan. These are added internally by slimr
to keep track of
code blocks. These names can be used in some other slimr
functions, for example, to refer to particular code blocks for
modification. You can also add block ‘ids’ inside of SLiM code, which
can be referred to within SLiM code. These are also fully supported by
slimr
and are kept track of alongside the
slimr
code block names. More on this later.
The SLiM language is similar enough to R that most of it works out of
the box without any modification. However, there are a few places that
SLiM is different enough that slimr
has had to put in some
slight modifications. We will learn about these differences throughout
this vignette. At the moment however, let’s go through the typical
structure of a SLiM script and the slimr
version of it.
Now, the script above is just the simplest way to write a SLiM script
in R, which is mostly just verbatim using the SLiM language syntax.
However, if you write your script this way, you will have to be very
familiar with the SLiM language, something which I personally am not
yet. In order to make it easier to write SLiM scripts in R,
slimr
offers real-time code completion and SLiM function
documentation. In order to make this work within R however, you will
need to code your SLiM scripts slightly differently. This is a
consequence of the object-oriented approach of SLiM, which makes heavy
use of classes, methods and properties. Because R does not know the
classes of object which will only be determined after the script is run
within SLiM, you, the user, must specify what class an object is in
order for R to know what functions and properties are available to that
class, to enable autocompletion. To do this you can make use of the
special operator %.%
, which mimics the .
operator within SLiM. SLiM, like Python, uses the .
operator to specify that a method or property after the .
belongs to the object before the .
. It plays a similar role
to that of $
in R. An example of this in the above script
is these lines:
sim.addSubpop("p1", 500);
and
sim.simulationFinished()
In SLiM, sim
is a global object of class
SLiMSim
, which has a number of methods and properties
associated with it. You can rewrite the above statements in
slimr
in the following way, which will then allow you to
use autocompletion:
sim%.%SLiMSim$addSubpop("p1", 500);
and
sim%.%SLiMSim$simulationFinished();
Simply replace the .
with %.%
, then specify
the class of object, in this case SLiMSim
, followed by the
$
operator for R. The SLiMSim
object contains
all the available methods and properties for its class. There is a
similar object for all SLiM classes. Note also that all SLiM class
objects in slimr
have an abbreviated alias to save typing.
For SLiMSim
this is SS
, so you could type
instead sim%.%SS$simulationFinished();
for example. Using
this way of coding let’s you use autocomplete. Try typing just
sim%.%SS
for example and (if using RStudio) you should see
this:
The popup gives you a list of all methods (and properties further
down) of the class. If you begin typing this list will be narrowed down
further. Once you’ve chosen a method to use, you can press the
tab
key to bring up the arguments that the method accepts,
like this:
To get help on this method, including full descriptions of the
arguments, in RStudio, place you cursor over the function text and press
the F1
key. You can also simply run the function with no
arguments or type ?SS$addSubpop
or
help("SS$addSubPop")
, all of which will bring up the
documentation for this SLiM function.
help("SS$addSubpop")
#> No documentation for 'SS$addSubpop' in specified packages and libraries
There is also two special classes which are not actually classes in
SLiM itself, but they are used in slimr
to keep particular
types of SLiM function together. These are Initialize
(or
Init
) and SLiMBuiltin
(or SB
).
The Initialize
object contains SLiM functions that can only
be used in the initialize()
block of SLiM code (more on
this later). SLiMBuiltin
contains miscellaneous functions
built in to SLiM which are not part of any SLiM class.
Admittedly, using these extra R objects in the code does make it look
somewhat less elegant, and also makes it no longer directly valid SLiM
code. But don’t worry, slimr
knows how to transform this
syntax back into proper SLiM code, which you can see by printing out the
resulting slim_script
object.
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate
Init$initializeMutationRate(1e-7);
## m1 mutation type: neutral
Init$initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
Init$initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length 100 kb
Init$initializeGenomicElement(g1, 0, 99999);
## uniform recombination along the chromosome
Init$initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim%.%SS$addSubpop("p1", 500);
}),
slim_block(10000,
{
sim%.%SS$simulationFinished();
})
) -> script_2
script_2
#> <slimr_script[3]>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
Okay, next up, let’s see some of the neat stuff we can do to
manipulate these SLiM scripts in R. First, we will see how to use R to
fill in parts of the SLiM script with data from R. This is accomplished
using the slimr_template
function, which can be used to
insert R generated data into a SLiM script.
This is the simplest to get a SLiM script which has elements that can
be filled in later with a templating mechanism. So, how does that work?
Well, anywhere we want something in the SLiM script to be ‘in-fillable’,
that is, to contain a variable section of the script that we can
subsitute data into later, you can use the slimr_template
function in place of what was formerly a hard-coded value. Here is an
example using the same recipe as above, but in this case we want to be
able to fill-in the genome size and the muation rate later:
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate (default = 1e-7)
initializeMutationRate( slimr_template("mut_rate", 1e-7) );
## m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length "genome_size" (default = 99999)
initializeGenomicElement(g1, 0, slimr_template("genome_size", 99999) );
## uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim.addSubpop("p1", 500);
}),
slim_block(10000,
{
sim.simulationFinished();
})
) -> script_temp
script_temp
#> <slimr_script[3]>
#> block_init:initialize() {
#> initializeMutationRate(..mut_rate..);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, ..genome_size..);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#> This slimr_script has templating in block(s) block_init for
#> variables mut_rate and genome_size.
The first argument to slimr_template
provides a name for
the variable that will later be used to label values for replacement.
The second argument provides a default value. Anytime this script is
used without providing values for the templated variables, the default
values will be used. This argument is optional, and if not provided, an
error will be thrown if any variables have no values provided when later
using this script. The above printed script shows that it is templated
by printing a message describing the details below it, as well as
inserting the templated variables in the script with green
..x..
, where x
is the name of the variable.
Replacing values is now as simple as running
slim_script_render
.
single_script <- slim_script_render(script_temp,
template = list(mut_rate = 1e-6, genome_size = 1999))
single_script
#> <slimr_script[3]>
#> block_init:initialize() {
#> initializeMutationRate(1e-06);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 1999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
So we can see that we now have a slimr_script
object
where our templated variables have been replaced!
slim_script_render
can also render multiple different
values for the templated variables at the same time. To do this we can
just pass in a list of lists (or a data.frame), where each element at
the top level has a different set of values, and
slim_script_render
will return a
slimr_script_coll
object, which stands for a slimr script
collection. Let’s try it.
multi_script <- slim_script_render(script_temp,
template = list(
list(mut_rate = 1e-5, genome_size = 1999),
list(mut_rate = 1e-6, genome_size = 2999),
list(mut_rate = 1e-7, genome_size = 3999)
))
multi_script
#> <slimr_script_coll[3]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-05);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 1999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-06);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 2999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <3>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 3999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
To save typing you can also just include ..x..
specifications in the SLiM code and this will be recognized as a
templated variable. The disadvantage of this though is that you cannot
specify a default value, which can be pretty handy. Default values are
useful if, for example, you want to prototype a templated script, the
default values can serve as “test” values that will be filled in
automatically every time you want to test the script.  Additionally
slim_script_render
has an argument that allows you to use
the default values in the case of a missing value in the data you supply
(such as in the data.frame style specification). Let’s look at an
example of both of these scenarios.
script_partial <- slim_script_render(script_temp,
template = list(
list(mut_rate = 1e-5),
list(genome_size = 2999)
))
script_partial
#> <slimr_script_coll[2]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-05);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 2999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
Warnings are generated to help prevent unexpected behaviour. For
example if you simply misspelled one of the templated variable names in
the template, this would be replaced by the default value. And without
the above warnings you would never know that it happened. If you
intended to specify all templated variables but you get this warning,
check that the template you specified is correct! As we mentioned above,
using a data.frame
as a template is also possible. Here is
an example.
script_temp_df <- slim_script_render(script_temp,
template = data.frame(
mut_rate = c(1e-5, NA, 1e-6, 1e-7),
genome_size = c(2000, 3000, NA, 5000)
)
)
script_temp_df
#> <slimr_script_coll[4]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-05);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 2000);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 3000);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <3>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-06);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#>
#> <...>
#>
#> and 1 more.
So in this case the default settings are to not replace NAs, because
in some cases NA may be a valid value you want to insert in a SLiM
script (rarely). You can change this behaviour by setting
replace_NAs = TRUE
.
script_temp_df2 <- slim_script_render(script_temp,
template = data.frame(
mut_rate = c(1e-5, NA, 1e-6, 1e-7),
genome_size = c(2000, 3000, NA, 5000)
),
replace_NAs = TRUE)
script_temp_df2
#> <slimr_script_coll[4]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-05);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 2000);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 3000);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <3>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-06);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#>
#> <...>
#>
#> and 1 more.
Now all values have been replaced, either by their values in the
data.frame
or by their defaults in the case that the
data.frame
value was missing. This example also shows the
default print maximum for slimr_script_coll
objects is 3.
To see the remaining slimr_script
you can either use
print(script_temp_df2, max_show = 4)
or you can subset in
the standard way, e.g:
script_temp_df2[3:4]
#> <slimr_script_coll[2]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-06);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 5000);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:10000 early() {
#> sim.simulationFinished();
#> }
If you want to check what the template settings for a
slimr_script
are, use
slimr_template_info()
.
slimr_template_info(script_temp)
#> $block_init
#> $block_init$mut_rate
#> [1] 1e-07
#>
#> $block_init$genome_size
#> [1] 99999
There is one additional argument to slimr_template
that
we haven’t talked about yet, which is called
unquote_strings
. This option allows you to insert unquoted
string values in a template. The default value, which is
FALSE
, means that slimr_template
assumes that
any variables of class “character” to be inserted are meant to be quoted
in the SLiM script, so they will be treated as literal strings by SLiM.
However, in some cases you may wish to use character values to insert
references to SLiM objects themselves, in which case, they must be
unquoted. As an example, perhaps you want to refer to different
Subpopulations in a SLiM script dynamically using templating. To do this
we can set unquote_strings = TRUE
. As an example if we want
to refer to a Subpopulation dynamically, and we don’t use
unquote_strings = TRUE
:
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate (default = 1e-7)
initializeMutationRate(1e-7);
## m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length "genome_size" (default = 99999)
initializeGenomicElement(g1, 0, 99999);
## uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim.addSubpop("p1", 500);
sim.addSubpop("p2", 200);
}),
slim_block(1, .., late(), {
slimr_template("subpop", "p1")%.%.P$fitnessScaling = 0.5
}),
slim_block(10000,
{
sim.simulationFinished();
})
) -> script_q
script_q
#> <slimr_script[4]>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> sim.addSubpop("p2", 200);
#> }
#>
#> block_3:1:10000 late() {
#> ..subpop....fitnessScaling = 0.5;
#> }
#>
#> block_4:10000 early() {
#> sim.simulationFinished();
#> }
#> This slimr_script has templating in block(s) block_3 for
#> variables subpop.
If we try and replace the Subpopulation now, we will get invalid SLiM code:
slim_script_render(script_q, template = dplyr::tibble(subpop = c("p1", "p2")))
#> <slimr_script_coll[2]>
#> Error in parse(text = code, keep.source = TRUE): <text>:2:9: unexpected symbol
#> 1: {
#> 2: "p1"..fitnessScaling
#> ^
Since this is also invalid R code, we get a parsing error. Now, if we
use unquote_strings = TRUE
:
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate (default = 1e-7)
initializeMutationRate(1e-7);
## m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length "genome_size" (default = 99999)
initializeGenomicElement(g1, 0, 99999);
## uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim.addSubpop("p1", 500);
sim.addSubpop("p2", 200);
}),
slim_block(1, .., late(), {
slimr_template("subpop", "p1", unquote_strings = TRUE)%.%.P$fitnessScaling = 0.5
}),
slim_block(10000,
{
sim.simulationFinished();
})
) -> script_uq
slim_script_render(script_uq, template = dplyr::tibble(subpop = c("p1", "p2")))
#> <slimr_script_coll[2]>
#> <1>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> sim.addSubpop("p2", 200);
#> }
#>
#> block_3:1:10000 late() {
#> p1..fitnessScaling = 0.5;
#> }
#>
#> block_4:10000 early() {
#> sim.simulationFinished();
#> }
#>
#> <2>
#>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> sim.addSubpop("p2", 200);
#> }
#>
#> block_3:1:10000 late() {
#> p2..fitnessScaling = 0.5;
#> }
#>
#> block_4:10000 early() {
#> sim.simulationFinished();
#> }
Now we get two slimr_script
s with correct SLiM
syntax!
We can also use special slimr
functions to make SLiM
generate output that can easily be read back into R as data. This works
best in conjunction with slimr
, which can run SLiM and pull
any output into R while it is running. To do this, use the
slimr_output
function inside the slimr
code to
wrap any parts of it you want outputted. slimr_output
is
context-aware; if you wrap a SLiM object, the object will be converted
into a string (using SLiM’s paste
function) and then sent
to the output stream; if you wrap a SLiM output function (such as
outputFull
or outputVCF
), its output will be
sent directly to the output stream without conversion (since it is
already output strings). Let’s try adding some output to our SLiM
script.
slim_script(
slim_block(initialize(),
{
## set the overall mutation rate
initializeMutationRate(1e-7);
## m1 mutation type: neutral
initializeMutationType("m1", 0.5, "f", 0.0);
## g1 genomic element type: uses m1 for all mutations
initializeGenomicElementType("g1", m1, 1.0);
## uniform chromosome of length 100 kb
initializeGenomicElement(g1, 0, 99999);
## uniform recombination along the chromosome
initializeRecombinationRate(1e-8);
}),
slim_block(1,
{
sim.addSubpop("p1", 500);
}),
slim_block(1, .., late(),
{
## output sample of 10 individuals' genomes in VCF format
slimr_output(p1%.%.P$outputVCFSample(sampleSize = 10), name = "VCF");
catn("Another successful round of evolution completed!")
}),
slim_block(100,
{
sim.simulationFinished();
})
) -> script_w_out
script_w_out
#> <slimr_script[4]>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }
#>
#> block_2:1 early() {
#> sim.addSubpop("p1", 500);
#> }
#>
#> block_3:1:100 late() {
#> {p1..outputVCFSample(sampleSize = 10) -> VCF}
#> catn("Another successful round of evolution completed!");
#> }
#>
#> block_4:100 early() {
#> sim.simulationFinished();
#> }
Now if you happen to have slimr
installed and setup you
can run this script through slim and see what that output looks like. To
see examples of using slim_run
, see the vignette titles
“Simple Example using Migration and Fst”.


{% extends "base.html" %} {% block title %}No Indicators Found{% endblock %} {% block includes %} {% endblock %} {% block pageheader %}No Indicators Found{% endblock %} {% block body %}
Something went wrong, either no indicators were selected or we were unable to find the requested information.
{% endblock %}


Without full network access you can expect to do some of the following- Wireless cracking
- User phishing
- Bypassing Network Access Control
- Captive portals
- Port locking
- VLAN hopping
A unique situation where you are allowed to plug yourself into a router/switch or you start your assessment while the client plugs you in:
Other Networking protocols that can yield great results- HSRP and VRRP
- Other routing/networking protocols exposed on the network


Unofficial Playboi Carti
Music
Videos
Store
Videos
Video not supported by your browser.
M3tamorphosis
Meh
Flex up
Summer Bummer
Hot 97 Playboi Carti Interview
XXL Freestyle
2017 XXL Freshman Cypher
Magnolia
wokeuplikethis* Official Lyrics & Meaning
Shop Talk: Playboi Carti
Carti - Everything You Need To Know
When Yachty Met Carti
2017 XXL Freshman Class -BTS
What
Fetti
Sneak Dissin'
Talk (ICYTWAT Remix)
No Pressure
By Myself/ No Help
Mercedez
3 Chains
Talk (Original)
Broke Boi (Live Performance)
Plug
Cry
$teez
Carti in Toronto 360
On the Come Up: Playboi Carti
Awful Records Interview
Left Right Tour Recap
Carti Live Compilation
"What" Live Concert
Carti Complex Interview
Vfiles Preshow Interview


Type: All Grain
Batch Size: 5.00 gal
Boil Size: 5.95 gal
Boil Time: 60 min
End of Boil Vol: 5.20 gal
Final Bottling Vol: 5.00 gal
Fermentation: Ale, Single Stage
Date: 10 Nov 2013
Brewer: Dustin J. Mitchell
Asst Brewer: Sarah K. Berke
Equipment: Outdoor Brewing
Efficiency: 72.00 %
Est Mash Efficiency: 72.0 %
Taste Rating: 30.0
Taste Notes:
Ingredients
|
Amt |
Name |
Type |
# |
%/IBU |
|
8 lbs 8.0 oz |
Pale Malt (2 Row) US (2.0 SRM) |
Grain |
1 |
75.6 % |
|
12.0 oz |
Crystal Malt - 40L (40.0 SRM) |
Grain |
2 |
6.7 % |
|
8.0 oz |
Chocolate Wheat Malt (Midnight) (425.0 SRM) |
Grain |
3 |
4.4 % |
|
8.0 oz |
Pale Chocolate Malt (200.0 SRM) |
Grain |
4 |
4.4 % |
|
1 lbs |
Milk Sugar (Lactose) (0.0 SRM) |
Sugar |
5 |
8.9 % |
|
1.50 oz |
Fuggles - 2013-08 - HE [5.30 %] - Boil 60.0 min |
Hop |
6 |
30.2 IBUs |
|
1.0 pkg |
British Ale (White Labs #WLP005) [35.49 ml] |
Yeast |
7 |
- |
Gravity, Alcohol Content and Color
Est Original Gravity: 1.059 SG
Est Final Gravity: 1.015 SG
Estimated Alcohol by Vol: 5.9 %
Bitterness: 30.2 IBUs
Est Color: 28.0 SRM
Measured Original Gravity: 1.056 SG
Measured Final Gravity: 1.022 SG
Actual Alcohol by Vol: 4.5 %
Calories: 191.6 kcal/12oz
Mash Profile
Mash Name: Single Infusion, Medium Body, Batch Sparge
Sparge Water: 3.55 gal
Sparge Temperature: 168.0 F
Adjust Temp for Equipment: FALSE
Total Grain Weight: 11 lbs 4.0 oz
Grain Temperature: 72.0 F
Tun Temperature: 72.0 F
Mash PH: 5.20
Mash Steps
|
Name |
Description |
Step Temperature |
Step Time |
|
Mash In |
Add 15.50 qt of water at 165.0 F |
155.0 F |
60 min |
Sparge: Batch sparge with 2 steps (0.45gal, 3.10gal) of 168.0 F water
Mash Notes: Simple single infusion mash for use with most modern well modified grains (about 95% of the time).
Carbonation and Storage
Carbonation Type: Keg
Pressure/Weight: 12.54 PSI
Keg/Bottling Temperature: 45.0 F
Fermentation: Ale, Single Stage
Volumes of CO2: 2.3
Carbonation Used: Keg with 12.54 PSI
Age for: 30.00 days
Storage Temperature: 65.0 F
Notes
First time brewing in the cold, so the mash came out quite a bit colder than desired.
Created with BeerSmith
This was our second annual holiday-present beer. The idea was to make someting thick and velvety. The result was delicious, but not thick or velvety.
The big problem was in the mash. This was the first outdoor brew on this system in truly cold weather (30's F), and the mash came out far colder than I wanted - 142°F! However, conversion completed, the gravity was decent, and time was short, so into the kettle it went.
There were some issues at bottling time, too. The carbonation in the keg was a little high, so even at low pressure and with chilled bottles, the Beer Gun produced quite a bit of foam. We capped on that foam, but after everything settled, the fill level was down around the shoulders of some of the 22oz bottles. As it turned out, these bottles were still perfectly serviceable in terms of carbonation.
It seems that the best approach would have been to continue filling after the foam hit the rim, until the dark liquid level gets to the appropriate level in the neck. That would involve quite a bit more loss, but the result would look good.


1. An analogy to describe HTML and CSS
If we think of a website as being a house. A house has rooms, and each room contains furniture and appliances. Similarly, a webpage has sections (e.g. header, body, footer), and each section contains images and text. HyperText Markup Language (HTML) specifies how content is structured on the page, and organises and presents this content in a structured hierarchy of elements. If we apply the house analogy to this hierarchy, we could say that HOUSE
is the parent element of LIVING_ROOM
is the parent element of COUCH
and RUG
, which are sibling elements.
However, not all rooms, couches, and rugs look the same, nor do words or images on a page. That’s where CSS (Cascading Style Sheets) comes in – CSS is a set of styling instructions which define how elements look on the page. It describes their color, font, size, position, shape, and more. So using CSS we are able to change the colour and fabric of the couch and the size and texture of the rug and decide where in the room to place them both.
Control flow is the order in which statements or functions are executed. In JavaScript, we read the code starting from the first line until the last line, unless in the code there is some statement that changes that control flow (such as a loop). We can think of control flow like a recipe for baking cupcakes. We start at the top and follow the instructions until we get to the bottom of the recipe.
Loops in JavaScript are used to execute the same block of code a given number of times, or while a specified condition is true. They are handy if you want to run the same code over and over again. Now, say we wanted to ice all of our cupcakes. Instead of having to say:
We can write a loop that says: starting with the first cupcake and continuing for as many cupcakes as there are, take a spoonful of icing and spread it on top. Then move to the next cupcake. When you run out of cupcakes, stop. This is much more efficient, saves time and is easier to adjust if we want to change the process!
Every page that we view in our browser is a document. The Document Object Model (DOM) is a tree-like structure, a sort of map, made up of all the elements that exist in the HTML document. In the DOM, every HTML-tag is an object, all of these objects are called ‘nodes’ and all of these nodes are accessible using JavaScript.
Elements in the DOM are arranged in a hierarchy that defines what you eventually see in the browser. We can think of it like a family tree. In the example below, [div] and [script] are children of the [body] element. Because they share the same parent, this makes them siblings. This hierarchy is used to help organise the HTML elements. It is also used to help CSS rules make sense of which styles to apply to certain elements.
Whether we are using JavaScript to change an element's text, swap out an image with a different one, move an element from one part of your document to another, set an inline style, or perform any other change we want to make, we will be modifying the DOM.
Think of an array as a list of similar items, for example animals. We can select items in this array by their index - indexes start at zero. So for an array where animals = [cat, dog, bird]
:
animals[0] = cat
animals[1] = dog
animals[2] = bird
Typically for arrays we use bracket notation.
An object is similar to an array but each object has a set of properties. So for the cat
object we might have:
colour: “ginger”
legs: 4
tail: true
eye colour: “green”
Instead of selecting a value by index, we use a key, for example; cat.colour = ginger
and cat.legs = 4
Typically for objects we use dot notation, however there are some limitations. Dot notation will work only when the property name is alphanumeric ( _
and $
are allowed ), does not start with a number, and does not contain any spaces. In circumstances where these requirements are not met, we resort to using bracket notation. For example: cat[“eye colour”] = green
.
A function is a block of code designed to perform a particular task. It is reusable code which can be called anywhere in our program. This makes our lives much easier as it eliminates the need for writing the same code again and again. A function can take one or more parameters and use these to complete a function. Using functions increases our efficiency when building an application and also makes our code more readable. See the picture below for a useful demonstration!


About Us

Contact Us

Sign in

Order now!

 Cake Gallery
Regular
Fruit&CheeseCakes
Occasion
Special
Kids cakes
Wedding
tagline


20:21
Someone
:
i love PHP
20:22
Somebody
:
What language is this?
20:23
John Doe
:
Sublime is the best!
20:21
Someone
:
i love PHP
20:22
Somebody
:
What language is this?
20:23
John Doe
:
Sublime is the best!
Copy URL to clipboard


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Shockumentary
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Dr. Sputnik
Boners
Dead Pool
NNDB
Home
Make Dailyrotten your start page
|
|
|
February 11, 2003
Kill your ferret or lose your connecting flight
Wire Services | Submitted by: Mikey Wells
The laws of unintended consequences kick in once again: "An airline passenger who was told he couldn't take his ferret on an airplane is accused of beating the animal to death in an airport restroom... Flight attendants realized he had the animal and told him he could not take it on his next flight."
|
|
Read article...
|
|
Michael Jackson without plastic surgery
ABC News | Submitted by: Dirty Sammy
"Using a photograph from Michael Jackson's youth, computer experts produced an artificially "aged" image showing what he might have looked like at the age of 44... "The one thing you can't do with Michael is a beauty shot, because that shot simply just doesn't exist anymore. I don't think you can put Michael Jackson's face on the full-page of a magazine...  It becomes like a medical study." He looks very... black.
|
|
Read article...
|
|
Swath of Destruction
San Francisco Chronicle | Submitted by: anonymous
"They got high and played video games during the day. Their favorite was one called "Grand Theft Auto III," in which players win points for committing violent crimes. When darkness fell, they did it for real on the streets of Oakland. Robbing dozens and killing five people in the largest single crime wave last year as Oakland reeled from its highest homicide toll since 1997."
|
|
Read article...
|
|
Award for school fall: $840K
Sydney Morning Herald | Submitted by: The Good Doctor
"Was he a spoilt, anti-social, drug-taking teenager who couldn't hold down a job and failed to achieve his potential, or is he really brain damaged after a fall from a school balcony 11 years ago? Eugene Olive was nine in September 1991 when, as a year 4 student at Warilla North Public School, south of Wollongong, he was ordered to the school "hat room" by his teacher after misbehaving. Instead, unseen, he went out to a nearby balcony and began swinging on it before falling three metres to concrete, fracturing his skull."
|
|
Read article...
|
|
Rikishi-stone cops
Daily Yomiuri | Submitted by: muzzlethwaite
"Sumo wrestlers from Isenoumi Stable in Edogawa Ward, Tokyo, will start patrolling a residential area around their stable every night from Wednesday to promote safety in the area as well as to attract more attention to the national sport... The idea was first raised by stable-master Isenoumi, former sekiwake Fujinokawa, who said, "I want my young and massive sumo wrestlers to play a role in preventing crimes in the area." Also: sexy.
|
|
Read article...
|
|
Shooting domestic buffalo a new sports trend
CNN | Submitted by: D.Rango
The market for bison is in the tanks, so what's an enterprising rancher do do? Let bloodthirsty bastards "hunt" domestic buffalo. (If this is such a good idea, why not let hunters shoot cows?) "It's really the nostalgia of going in and shooting a buffalo, that's about what it amounts to," said one hunter. Ah, the good old days of slaughtering an animal to near extinction.
|
|
Read article...
|
|
Police stole shuttle debris
WDIV-TV 4 Detroit | Submitted by: stereocrumb....
"U.S. Attorney Michael Orwig said Hagan is accused of taking a piece of tile and other debris while helping with recovery efforts in the Nacogdoches, Texas, area. Hagan was spotted over the weekend with significant amounts of shuttle debris in his patrol car, sources said."
|
|
Read article... and
This article...
|
|
Real reason for the Douglas/Zeta-Jones lawsuit
Guardian | Submitted by: Ann Onymous
"Under cross-examination by James Price QC, counsel for Hello! magazine, Zeta-Jones said the "cheap and tacky" unauthorised pictures made it appear as if the guests were "doused in bad disco lighting". The picture which most offended her showed the groom spoon-feeding her at the reception: it ended up in the Sun, under the heading Catherine Eater Jones... Fixing Mr Price with a cold stare, she said: "It's offensive because I didn't think I would want the world to see that at my wedding day all I did was eat."
|
|
Read article...
|
|
Irony not dead yet in America
Guardian | Submitted by: Ann Onymous
"On a cold night in Times Square, the Missile Dick Chicks, a political satire on the chart-topping, all-American Dixie Chicks, who sang the national anthem at the Super Bowl last month, are well into their routine. Three women, each with a red, white and blue wig and model missiles strapped to their waists like vibrators, are singing, to the tune of the Supreme's Stop in the Name of Love: "Shop, in the name of war/ You need a whole lot more/ Don't think it over."
|
|
Read article...
|
|
Godfather to Godmother
Sunday Mail | Submitted by: bolose
"A gangster nicknamed The Godmother escaped a jail sentence last week after telling a sheriff he is having a sex change... William Wotherspoon, who once walked free on a murder charge, said he now wants to be known as Lisa- Anne Docherty... He wore make-up and earrings and was accompanied by his partner, Lisa Barraclough, who is heavily pregnant."
|
|
Read article...
|
|
Famous hacker gets hacked
AZ Central | Submitted by: JON BLAST
"The world's best-known computer hacker suffered the indignity of having someone break into his new security consulting company's Web site. But Kevin Mitnick shrugged it off as "quite amusing," not serious enough for him to call the FBI... Mitnick, whose federal probation on hacking charges ended a few weeks ago, acknowledged that this weekend's electronic break-in at Defensive Thinking Inc. of Los Angeles was actually the second time in weeks that hackers found a way into the computer running the firm's Web site."
|
|
Read article...
|
|
Man with bubonic plague leaves hospital
CNN | Submitted by: SassyPants
"A New Mexico man who had one of the first cases of bubonic plague in New York in more than a century, was released from hospital Monday after three months of treatment officials said. Lawyer John Tull, 53, and his wife Lucinda Marker, 47, a financial planner, were admitted to Beth Israel Medical Center in Manhattan on November 5 after becoming ill with fevers and body aches on a visit to the city."
|
|
Read article...
|
|
Discarded PC had AIDS victim names
CNN | Submitted by: SassyPants
"A state computer put up for sale as surplus contained confidential files naming thousands of people with AIDS and other sexually transmitted diseases, the state auditor said. "This is significant data. It's a lot of information with lots of names and things like (the numbers of) sexual partners of those who are diagnosed with AIDS," Auditor Ed Hatchett said. "It's a terrible security breach."
|
|
Read article...
|
|
Who Funds YOUR Alternative Media Source?
Questions Questions | Submitted by: ChaosRing
"The multi-billion dollar Ford Foundation's historic relationship to the Central Intelligence Agency is rarely mentioned on Pacifica's DEMOCRACY NOW, Deep Dish TV show, on FAIR's COUNTERSPIN show, on the WORKING ASSETS RADIO show, on The Nation... Institute's RADIO NATION show, on David Barsamian's ALTERNATIVE RADIO show or in the pages of PROGRESSIVE, MOTHER JONES and Z magazine. One reason may be because the Ford Foundation and other Establishment foundations subsidize the Establishment Left's alternative media gatekeepers."
|
|
Read article...
|
|
Gay London boxer the "Pink Pounder"
Sapa-AFP | Submitted by: UncleGum
"Boxers usually like to carry fearsome nicknames — "Iron" Mike Tyson, Tommy "Hitman" Hearns — but Charles Jones will step into the ring next week as "The Pink Pounder"... The 43-year-old London architect is being billed as boxing's first openly gay fighter although he claims he is not alone."
|
|
Read article...
|
|
Eenie meeny miney moo, we're gonna sue
KFOR-TV 4 Oklahoma City | Submitted by: Tank's Grrl
Two black sisters are suing Southwestern Airlines for the use of a "racist" rhyme they say was directed towards them specifically. A flight attendant used a variation of "eenie meeny miney moe" as a humorous attempt to get passengers to take their seats. The flight attendant claims to have never heard the old version of the rhyme, which now substitutes the word "tiger" for "nigger".
|
|
Read article...
|
|
Enraged residents make local pimp their bitch
Express India | Submitted by: orpyak
"Emboldened by Sunday’s arrest of five call girls from a hotel on the outskirts of the city, residents of Tandalja on Monday beat up a pimp and handed over two call girls, who were at the pimp’s house, to the police. All the seven girls, aged between 18 and 25 years, have been sent to the Nari Suraksha Gruh in Nizampura."
|
|
Read article...
|
|
The Valentine Jihad
tv7-4.com | Submitted by: UncleGum
"A Pittsburgh man was worried that a valentine he'd bought his young daughter contained a veiled terrorist message. Among several other items, the card had the word "Jihad" written on it, with the message "It's Time to Be Mine"... The publisher says the reference to Jihad came from a child's name, and any association with terrorism was unintended."
|
|
Read article...
|
|
|
|
|


| Package | Description |
|---|---|
| burlap.shell | |
| burlap.shell.command.env | |
| burlap.shell.command.reserved | |
| burlap.shell.command.world | |
| burlap.shell.visual |
| Modifier and Type | Field and Description |
|---|---|
ShellCommand |
ShellObserver.ShellCommandEvent.command
The resolved
ShellCommand responsible for carrying out the command string. |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ShellCommand> |
BurlapShell.commands |
| Modifier and Type | Method and Description |
|---|---|
ShellCommand |
BurlapShell.resolveCommand(String commandName) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ShellCommand> |
BurlapShell.generateReserved() |
protected Collection<ShellCommand> |
SGWorldShell.generateStandard() |
protected Collection<ShellCommand> |
EnvironmentShell.generateStandard() |
protected Collection<ShellCommand> |
BurlapShell.generateStandard() |
| Modifier and Type | Method and Description |
|---|---|
void |
BurlapShell.addCommand(ShellCommand command) |
void |
BurlapShell.addCommandAs(ShellCommand command,
String as) |
| Constructor and Description |
|---|
ShellCommandEvent(String commandString,
ShellCommand command,
int returnCode)
Initializes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddStateObjectCommand
|
class |
EpisodeRecordingCommands.EpisodeBrowserCommand |
class |
EpisodeRecordingCommands.RecordCommand |
class |
ExecuteActionCommand
A
ShellCommand for executing an action in the Environment
Use the -h option for help information. |
class |
IsTerminalCommand
A
ShellCommand for checking if the Environment
is in a terminal state. |
class |
ListActionsCommand
A
ShellCommand for listing the set of applicable actions given the current environment observation. |
class |
ListPropFunctions
A
ShellCommand for listing the true (or false) GroundedProp 's given the current environment observation. |
class |
ObservationCommand
A
ShellCommand printing the current observation in the Environment
Use the -h option for help information. |
class |
RemoveStateObjectCommand
|
class |
ResetEnvCommand
A
ShellCommand for resetting the Environment . |
class |
RewardCommand
A
ShellCommand for checking the last reward received from the Environment . |
class |
SetVarCommand
|
| Modifier and Type | Class and Description |
|---|---|
class |
AliasCommand
A reserved
ShellCommand for creating a command alias for a given command. |
class |
AliasesCommand
A reserved
ShellCommand for listing the set of aliases the shell knows. |
class |
CommandsCommand
A reserved
ShellCommand for listing all shell commands. |
class |
HelpCommand
A reserved
ShellCommand for displaying the general shell help information. |
class |
QuitCommand
A reserved
ShellCommand for terminating a shell. |
| Modifier and Type | Class and Description |
|---|---|
class |
AddStateObjectSGCommand
|
class |
GameCommand
A
ShellCommand for starting a game with the agents registered in a World . |
class |
GenerateStateCommand
A
ShellCommand for generating a new state in a World
according to the World 's assigned StateGenerator . |
class |
IsTerminalSGCommand
A
ShellCommand for checking whether the current world state is a terminal state or not. |
class |
JointActionCommand
|
class |
LastJointActionCommand
A
ShellCommand for printing the last joint action taken in a World . |
class |
ManualAgentsCommands.ListManualAgents |
class |
ManualAgentsCommands.LSManualAgentActionsCommands |
class |
ManualAgentsCommands.RegisterAgentCommand |
class |
ManualAgentsCommands.SetAgentAction |
class |
RemoveStateObjectSGCommand
|
class |
RewardsCommand
A
ShellCommand for printing the last joint rewards delivered by a World . |
class |
SetVarSGCommand
|
class |
WorldObservationCommand
A
ShellCommand for printing the current observation from the shell's World . |
| Modifier and Type | Class and Description |
|---|---|
class |
VisualExplorer.LivePollCommand
Shell command that allow live polling of the
VisualExplorer to be polled. |
Copyright © 2019. All rights reserved.


cyber security is the practice of defending computers, servers, mobile devices, electronic systems, networks, and data from malicious attacks. It's also known as information technology security or electronic information security. The term applies in a variety of contexts, from business to mobile secuirty and can be divided into a few common categories


The state (network) manager class is used at run-time to manage which state(s) are active and which have been visited last (the history mechanism), in each network (collection of states).
You must create a state manager for each hierarchical state (hState), and you may create several for concurrent hierarchical states (hStateC), one to manage each sub-network.
new stateMgr(name, id, defaultState, containerState);
name String name of the manager. Used in trace output
id Typically alphabetic, this is the ID of the manager (must be unique among other managers in the same hStateC)
defaultState ID of the default start state for this network
containerState Pointer to the state that contains this network.
// For hState's s2 = new hState("Time State", 0, theTopStateMgr); timeSM = new stateMgr("Time Mgr", "A", 1, s2); // default start state is ID 1 // For hStateC's s2 = new hStateC("Big State", 0, theTopStateMgr); // default start state for first sub-network is ID 1 timeSM = new stateMgr("Time Mgr", "A", 1, s2); // default start state for second sub-network is ID 5 dateSM = new stateMgr("Date Mgr", "B", 5, s2);
Variable names with the suffix "_stMgr" are recognized for the sake of codehinting, as state managers..


Case Study: Porting SourceOffsite from Java to C#
Here. "When SourceGear needed to move its SourceOffSite product away from the Microsoft® Java Virtual Machine (MSJVM), which Microsoft is no longer able to fully support as a result of a legal agreement with Sun Microsystems, SourceGear turned to C# and the Microsoft .NET Framework."


Poetry#
I recommend that you also read the Poetry documentation as well, for it covers a lot more features than I do.
Todo
Add more documentation on dependency management and best practices
I recommend that you also read the Poetry documentation as well, for it covers a lot more features than I do.
Todo
Add more documentation on dependency management and best practices


Thank you for registering. You'll find the payment information on the below section.
IBAN CH07 0900 0000 1002 9734 1
BIC POFICHBEXXX
For: Speleo Club Cheseaux, 1033 Cheseaux-sur-Lausanne
In you have any question, please contact<EMAIL_ADDRESS>| First Name | {firstName} |
| Last Name | {lastName} |
| Club | {club} |
| Address |
{street} {no}
{npa} {locality}
|
| Dinner (CHF {dinner-price}) | {dinner} |
| Dinner (vegetarian) (CHF {vegetarian-price}) | {vegetarian} |
| Dinner (Kid) (CHF {dinnerKid-price}) | {dinnerKid} |
| Dinner (Kid, vegetarian) (CHF {vegetarianKid-price}) | {vegetarianKid} |
| Pic-Nic (to be paid on site) | {picknick} |
| Breakfast (CHF {breakfast-price}) | {breakfast} |
| Booking for the night (Sports Hall) (CHF {sleepingAtGym-price}) | {sleepingAtGym} |
| Booking for the night (camping) (CHF {camping-price}) | {camping} |


Chacarter
Squirtle is one of Ash's most reliable Pokémon, but by no means perfect. Compared especially with his closest friend, the very serious Bulbasaur, he is found as an immature and mischievous Pokemon. Despite this, Squirtle is a capable leader when he was part of the Squirt squad.


Pete Doherty arrested in Paris for cocaine possession
by RFIBritish rock singer Pete Doherty was arrested and taken into custody in Paris Friday after being caught buying cocaine, according to police.
The former Libertines frontman tried to resist arrest after being caught in the early hours of Friday carrying two packets of cocaine, one of which he had partly consumed, a police source told the AFP news agency.
Doherty, 40, who was drunk, tried to get rid of the drugs before being arrested in the Ninth Arrondissement, which includes the area around Pigalle known for its lively night life.
The bad boy of British rock, as famous for having dated supermodel Kate Moss as for his music, has repeatedly made headlines for drugs offences.
In 2012, he was thrown out of a luxury rehab clinic in Thailand after claims he was a bad influence on other patients and did not try hard enough to kick his heroin habit.


Things Webserver
AirRohr Esp Node (outdoor measurement)
Wemos D1 Mini (indoor measurement)
TTN Node Uno (indoor measurement)


7 January 2005
WHO has received reports of an outbreak of yellow fever in the region of Faranah, in the north of the country.
Six cases have been reported from 19 October to 28 November 2004 and have been laboratory confirmed by the WHO Collaborating Centre for Yellow Fever, the Institut Pasteur, Dakar, Senegal.
A team from the Ministry of Health (MoH), Guinea and WHO quickly investigated the first cases and surveillance has been intensified.
The MoH with WHO support organized a yellow fever mass vaccination campaign in December 2004 to control the disease spread in this region. No additional cases have been reported so far.


Institutional Limited Partners Association
LPA Ratings Tool, 2011
LPA Ratings Tool, 2011. An international scorecard PHP web application. I proposed a system design that supports conditional questions, instant saves, scoring system. As a core developer, I led a team of 3 members to implement the design. After launched, I continued on supporting this application, and developed add-on of third party portal access for temporary legal counsels. We gained a great trust from the client on building large implementation.
GP Economics Application, 2012
GP Economics Application, 2012. Excel base international business analysis PHP web application. I adapted the chain-of-responsibility pattern, designed an engine with an optimized excel and integrated Google chart for visual data analysis. At a result, I successfully led a team of 5 members to develop and launch it in 3 weeks.
General Partner Profile, 2013
General Partner Profile, 2013. An international online business portfolio network which is integrated with Euclid's ClearVantage (desktop Association Management Software) through XML communication. This integration speeded up the workflow in ILPA, and the online portfolio is used by thousands of paid members around the world.


Polyglot Application built using AWS CodeBuild.
List All Users!!!
Enter one of the Id to get the Name
and click
Submit


(Route : Message Menu, Move Command)
This dialog box allows you to move a message from one location to another.
With one or more messages highlighted in the thread window, select the Move command on the Message menu. From the Move Message dialog select the topic you want to move the message(s) to. Note that if the destination topic is not a local topic then the message(s) will be withdrawn from the original topic and posted to the destination topic when you next connect.


--- title: "Buy me a coffee" permalink: "/buy-me-a-coffee" ---
Hi! I am Nandan, web designer & developer. I create article, tutorial, projects and open source some of my work.
You have my permission to use all the content I develop in your personal, commercial or client projects. If you'd like to reward my work, I would be honored and I could dedicate more time maintaining the free projects and write more articles.
Thank you so much!


It's an easy recipe, but it's in two parts:
- Mix the dough, rest, shape, refrigerate overnight
- Boil, drain, add toppings, bake
Ingredients
Makes 10 bagels
- 680 grams of high gluten flour
- 2 tsp table salt
- 3/4 tsp instant yeast
- 1 Tbs diastatic malt powder
- 4 Tbs malt syrup
- 1 1/2 cup + 1 Tbs warm water
Instructions
- Dissolve the instant yeast in water, stir and let sit 5 mins to ensure activation.
- Blend flour, diastatic malt, and salt.
- Add water/yeast to flour mix and blend/knead for ~8 mins until the dough is smooth and stretchy.
- Roll into two logs, cover with wet towel and let rest for 20 mins.
- Cut into 10 equal parts, stretch around you fingers and roll into bagel shape.
- Put bagels on tray, cover with the towel and refrigerate overnight.
- Fill a wide pot with ~3 inches of water and malt syrup.
- Bring water to boil and also preheat oven with baking stone to 450°F.
- Boil the bagels in batches that fit the pot until they float or ~2 mins. Drain on a rack and add toppings if you like.
- Bake 12 mins to start, and leave in longer (but watch closely) for darker color.
Bonus tips
- Really beat up the dough when mixing, try different speeds
- Try not to handle the dough too much after it rests, keep the unshaped parts covered too
- Equal sized bagels are nice, you can use a scale to divide the weight of the dough as you cut
- Use a stone the size of your oven rack for a nice crust on the bottom (I prefer this and don't flip during the bake)
- Only boil what fits in the pot and stove, wait until the stove is free to start the next batch boiling and keep uncooked bagels in fridge until ready to go in the water.
- They are best eaten same day, slice extras and freeze as soon as they cool. They keep well frozen for several weeks.
Pictures
Bagels on a plate


14 July 1999
Disease Outbreak Reported
Malaria epidemics in Kenya have become periodic since the 1980s. They have been characterized by transmission upsurges in the highlands in the western part of the country, and more recently in the semiarid north-eastern area, after the 1997 El Nino rains. These outbreaks were generally contained by case management, but the strategy began to fail with increasing chloroquine resistance. This year the epidemic districts were supplied with sulfa-pyrimethamine (SP) at the latest by end-April after the onset of the long rainy season. As a result, the outbreak was kept in check during the early stages, but as the intensity of transmission increased at the beginning of May, the number of patients outstripped the capacity of the health facilities, leading to a severe management crisis at all levels including in drug procurement systems.
Although a general upsurge of malaria cases has been reported in most of the districts which usually experience epidemics, the following 9 districts have been more severely affected: Buret, Gucha, Kisii, Mount Elgon, Narok, Nyamira, Trans Mara, Trans Nzoia and West Pokot.
The epidemic was first reported in Kisii, Mount Elgon, Trans Mara, Trans Nzoia and West Pokot districts, but has since spread to other districts (Gucha, Nandi, Nyamira and Uasin Gishu). Although other areas which regularly report epidemics such as Bomet, Kakamega, Samburu and Turkana have not yet been affected, they are being monitored closely since it is still the traditionally epidemic season for most of them.
The Ministry of Health had established large stocks of antimalarial drugs in the 15 epidemic districts (including North-Eastern province) by the end of April, but these stocks have now been exhausted in most districts owing to the unusually severe outbreak this year. The central supplies unit in Nairobi has also issued all its quinine stocks, and other antimalarial drugs such as SP are fast running out.
In line with the new national guidelines on epidemic preparedness and control. communities are being mobilized to: seek treatment early; attend to personal protection measures including the use of insecticide-treated nets; and participate in antivector activities such as indoor residual spraying, larviciding and environmental management.
It has now become clear that case management alone cannot attenuate these epidemics, and an integrated approach to malaria control is needed. Mortality rates are still at emergency level, and they are not expected to decrease, as the number of new cases continues to rise. Environmental conditions are still suitable for mosquito breeding.
WHO staff in the country and from the Regional Office for Africa and headquarters are fully mobilized. Malaria control activities are being coordinated in collaboration with NGOs such as MSF-France, MERLIN and World Vision. Contacts are being made with other NGOs, and bilateral and multilateral agencies for their possible support.


|
|
|
@862
|
4 weeks |
mmckerns |
add mystic.math.Distribution; use it for InitialPoints?, ensemble …
|
|
|
|
@861
|
7 weeks |
mmckerns |
enable SetDistributionPoints? to take a numpy.random distribution method
|
|
|
|
@858
|
7 weeks |
mmckerns |
enable solver to use scipy.stats instance to generate initial population
|
|
|
|
@855
|
5 months |
mmckerns |
updated copyright to 2016
|
|
|
|
@844
|
6 months |
mmckerns |
check if handler enabled before using signal (so solver works in …
|
|
|
|
@843
|
6 months |
mmckerns |
add deepcopy method for abstract_solver to better support 2.6
|
|
|
|
@835
|
7 months |
mmckerns |
use LinearKernel? in test_svr1 example; enable use of numpy.poly1d as cost; …
|
|
|
|
@801
|
11 months |
mmckerns |
windows comparibility in getch, and pathos; added better read_import
|
|
|
|
@795
|
11 months |
mmckerns |
fix: Finalize for fmin_powell should call cost unless solver is live
|
|
|
|
@794
|
11 months |
mmckerns |
add _update_objective and _live, to queue state changes to cost, penalty, …
|
|
|
|
@792
|
11 months |
mmckerns |
for speed, use contains instead of get and has_key
|
|
|
|
@791
|
11 months |
mmckerns |
use len(stepmon) more uniformly; fix _fcalls for DESolvers;
generations …
|
|
|
|
@787
|
15 months |
mmckerns |
remove return cost from SetObjective?; enable change cost and args in Step …
|
|
|
|
@786
|
15 months |
mmckerns |
fix: removed stray None attached to ExtraArgs? in SetObjective?
|
|
|
|
@785
|
15 months |
mmckerns |
refactor Solve is Step while not Terminated; radius, xtol, strategy are …
|
|
|
|
@784
|
15 months |
mmckerns |
added SolverInterrupt? as termination; pull _EARLYEXIT into …
|
|
|
|
@783
|
15 months |
mmckerns |
fix: add _SetEvaluationLimits to ensemble CheckTermination?;
Step now …
|
|
|
|
@782
|
15 months |
mmckerns |
moved _SetEvaluationLimits inside CheckTermination?;
moved _termination and …
|
|
|
|
@781
|
15 months |
mmckerns |
rename _bootstrap_decorate to _bootstrap_objective;
fix: diffev solver …
|
|
|
|
@776
|
17 months |
mmckerns |
copyright updated to 2015; added to examples2
|
|
|
|
@772
|
18 months |
mmckerns |
fix: remove stray random.seed causing seeding of random number generation; …
|
|
|
|
@763
|
20 months |
mmckerns |
use numpy.seterr to ignore nan in measures.normalize and in greater/less …
|
|
|
|
@760
|
20 months |
mmckerns |
convert most eq and ne checks against None to is and is not
|
|
|
|
@737
|
22 months |
mmckerns |
simplified internal reducer state to always use arraylike; added …
|
|
|
|
@727
|
22 months |
mmckerns |
add SetReducer? to solvers; add reduced in tools; use SetReducer? in …
|
|
|
|
@713
|
2 years |
mmckerns |
added license and copyright to each file
|
|
|
|
@705
|
3 years |
mmckerns |
EvaluationLimits? has keyword 'new' for "run N more" instead of "run until …
|
|
|
|
@704
|
3 years |
mmckerns |
solver monitors prepend existing monitor data, prior behavior with …
|
|
|
|
@698
|
3 years |
mmckerns |
fix: Solve does not recompute when Step has been already called
|
|
|
|
@679
|
3 years |
mmckerns |
fix: better default for self._termination, now can accept kwds
|
|
|
|
@654
|
3 years |
mmckerns |
migrate termination from Solve to SetTermination?; *args in _termination …
|
|
|
|
@649
|
3 years |
mmckerns |
added SetSaveFrequency? method, and accompanying test for solver restarts
|
|
|
|
@648
|
3 years |
mmckerns |
can now serialize solvers; added SaveSolver? method, LoadSolver? function; …
|
|
|
|
@642
|
3 years |
mmckerns |
added _exitMain method, leverage abstract_solver.Solve in powell;
fix: …
|
|
|
|
@641
|
3 years |
mmckerns |
moved _SetEvaluationLimits, _Decorate, and _process_inputs into …
|
|
|
|
@638
|
3 years |
mmckerns |
fix: updated sumt penalty restarts for changes to solver internals;
fix: …
|
|
|
|
@637
|
3 years |
mmckerns |
add _map_solver attribute, merge trialPop to trialSolution (2D for map …
|
|
|
|
@636
|
3 years |
mmckerns |
fix: all methods for initial populations produce a nested list of lists; …
|
|
|
|
@633
|
3 years |
mmckerns |
generations, bestEnergy, and bestSolution point to other solver internals; …
|
|
|
|
@631
|
3 years |
mmckerns |
merge energy_history with stepmonitor;
converted CONTINUE in …
|
|
|
|
@630
|
3 years |
mmckerns |
added randomly_bin to grid; enable LatticeSolver? to randomly_bin;
abstract …
|
|
|
|
@625
|
3 years |
mmckerns |
added EvaluationLimits? as termination condition;
termination from …
|
|
|
|
@604
|
3 years |
mmckerns |
added SetPenalty? method for penalty functions, and penalty kwd for …
|
|
|
|
@473
|
5 years |
mmckerns |
converted 'constraints' keyword to SetConstraints? method;
enabled use of …
|
|
|
|
@470
|
5 years |
mmckerns |
migrated "Null" to monitors; set StepMon/Evalmon? is now a method
|
|
|
|
@466
|
5 years |
mmckerns |
moved monitors from mystic.tools to mystic.monitors
|
|
|
|
@462
|
5 years |
mmckerns |
extended solver interface to include solver.evaluations (ticket #138)
|
|
|
|
@440
|
5 years |
mmckerns |
SetStrictRanges? no longer requires 'min' and 'max';
RandomInitialPoints? …
|
|
|
|
@422
|
6 years |
mmckerns |
added several new termination conditions;
added tools.wrap_nested …
|
|
|
|
@336
|
6 years |
mmckerns |
changed default chisq to numpy.inf; added text about Windows installation
|
|
|
|
@296
|
6 years |
mmckerns |
extended Sows/Solvers? to log solver 'rank' (see ticket #94)
|
|
|
|
@242
|
6 years |
mmckerns |
edits to fix epydoc formatting and content
|
|
|
|
@234
|
6 years |
mmckerns |
added BatchGridSolver? and abstract_nested_solver class
|
|
|
|
@226
|
6 years |
mmckerns |
added the AbstractMapSolver? base class, providing solvers with methods for …
|
|
|
|
@219
|
6 years |
mmckerns |
bugfix for #102, DE uses initial population;
SOW now captures initial …
|
|
|
|
@140
|
7 years |
mmckerns |
moved parallel_desolve to differential_evolution;
differential_evolution …
|
|
|
|
@124
|
7 years |
mmckerns |
coerce source to mostly play nice with epydoc;
added epydoc config file
|
|
|
|
@123
|
7 years |
mmckerns |
most of remaining module and method documentation for mystic-0.1a1; …
|
|
|
|
@121
|
7 years |
mmckerns |
migrated handler to abstract_solver by building _handlerFactory;
minor …
|
|
|
|
@119
|
7 years |
mmckerns |
added more extensive documentation to all solvers;
docs still required for …
|
|
|
|
@118
|
7 years |
mmckerns |
migrated AbstractModel? and AbstractFunction? to abstract_model;
bugfix for …
|
|
|
|
@114
|
7 years |
mmckerns |
RandomInitialValues? now defaults min,max to (-1000,1000) * nDim
|
|
|
|
@111
|
7 years |
mmckerns |
created SetEvaluationLimits? method in abstract_solver;
propagated changes …
|
|
|
|
@105
|
7 years |
mmckerns |
added AbstractSolver? class; added documentation for most methods;
changed …
|