Mushrooms - P. Cubensis & Cannabis
Being an enthusiest of the psychodelic experience, I feel obligated to elaborate on a series of events that left me completely and utterly 'Shpongled.' What I mean by this, is that during the aftermath of the trip while my friends were attempting to ask me what had happened to me, I was at a complete loss of words, and could only respond with the classic explanation that all explorers of the psychotropic world are often forced to use: 'I donít know...'
Before I delve into this profound and terrifying trip, there is something that needs to be explained in order to clarify the revalation I had. About a year ago, during the same month (October) and at the same house, with the same group of people, I had smoked some Salvia Divinorum, as well as about $60 worth of weed, between four people. This was about as high as I have ever been, and at a point of almost 'uncomfortable highness.' Reality was nearly gone, the memories of that night are similar to a night of a drinking binge. I smoked so much reefer that I passed out on a futon in the basement of my friends house. When I woke up however, I remember I was looking at a specific painting on the wall, and had that unique feeling of the after effects of a severe marijuana session. To this day, I still remember the position, feeling, and view of when I woke up from that night.
As the sun set on the night of our trip, the atmosphere was ironically tranquil. The calm before the storm, I guess you could say. I pulled out my large sack of dried cubensis mushrooms that I had secured earlier that day. The dealer who sold them to me, a friend since grade school, advised me that these mushrooms were perticularly potent, and not to be taken lightly. He advised me to take half an 8th (2g,) and I proceeded to ask him what would happen if one were to take an 8th and a half. His eyes widened, and he looked around and lifted up his hands and murmured a 'PSSSHHH.'
We placed the potent close capped mushrooms on a warm pizza we had just taken out of the oven. With The Doors playing ominously in the background, we sat down and proceeded to eat the sacrement.
T+20 min. Although this was only my second mushroom trip, I had an ok knowledge of how long a mushroom trip takes to come on. My first trip, an experience all itself, the mushrooms took a grand total of two hours to come fully on. However this time, the significant appearence of objects and the vividness of light and colors that I have come to associate with psilocybin was quickly coming on, probably due to the fact that I had nothing to eat all day. I finished the mushroom pizza with a glass of orange juice. The first hour was positive, fun, and only contained a hint of the bad vibe that would soon dominate my trip. After the course of an hour, we moved into my friend's room.
This is where the bad vibes really started to become apparent. I was laying on the bed, observing a buddha that I had descerned in the ceiling. My friend, lets call him Charlie, was feeling the effects of the mushrooms, however was not exhibiting the layed back, mushroomed attitude that one usually exhibits when they are tripping. No, not Charlie. He proceeded to scream about something I couldenít understand, and threw cards everywhere. The vibes he was giving off frightened me so deeply that I couldenít even gather up the energy to say stop. My friend Andy and I went into the basement of the house, and proceeded to try and trip in peace there. Sitting on the couch, trying to forget about the terrible experience I had just witnessed, Charlie came running downstairs, and once again put me in a state of sheer terror.
T+ 1 hour. This was too much for my bemushroomed mind, and caused me to stand up. I felt like I weighed 50000 pounds, and that my mind was functioning slowly. The only solution to this problem, I though, was to try to sleep it off. I TRYED to sleep on mushrooms, but I did not experience sleep. No, I experienced something far more profound. As Dr. Hunter S. Thompson puts it, 'a pure, introspective nightmare.' I took off my pants, and my shirt, and told my friends 'I canít think, I need sleep!' Realizing that I had lost it, my friends left me. The next hour I have no recollection of.
T+ 2 hours. Charlie came downstairs to check to see if I had emerged out of my fugue yet. I had not. I asked him to turn the TV on and put in a movie because I was physically unable to. Little did I know, that with Charlie's altered state of mind, he chose a random movie, and put it in the DVD player. He quickly pushed play, and left me. Once he was gone and doing whatever he was doing upstairs, only then I realized that he had indeed chosen the most unsuitable movie for a mushroom trip. Platoon.
T+ 2 hours+30 min. I had to turn away from the TV screen. Vietnam was too much for me. I layed stomach down on the futon, with a heavy blanket over my head. I feel into a deep, terrifying mushroom trance, with the sounds of 40 cal machine guns in the background. What happened to me I cannot fully convey in words. I was neither asleep, nor awake. I had visions of geometric shapes, heard sounds, saw patterns, all of which chilled me to the bone with a profoundly horrendous vibe to them. Supposedly, some friends of ours dropped by the house to say whatís up. Only later did I find out that a few of my other friends came down to visit me. When I asked them what I was doing, they said that I was babbling incoherently, talking about things such as 'CHEMISTRY!!!' or 'TRIANGLES!!!' I have no recollection of any person ever visiting me during my trance.
T+ 6 hours. All in a shamanic, closed eye, half sleep, trance-like state. The trip had gone horribly awry. I was stuck in a demonic shamanistic trance state that I had no way out of. Before I 'snapped out of' the trip, I can remember seeing a huge, menacing triangle, with three circles inside it, all spinning, spinning, spinning. Then the spheres broke off, and what I was left with was a triangle that transformed into a sort of gateway. The outline of the triangle was profound, and it was in front of a vast dark blue psychedelic background. The triangle was no longer solid, and was reduced to only a glowing, neon-like outline. However, my being was sent catapulted through the demonic triangle. Its outlines multiplied, and my psyche was flying through them. I felt a burning sensation on my forehead, and came the conclusion that I was litteraly going through these psychedelic triangles, and the burning on my forehead was the triangles getting absorbed into my consciousness.
I was going faster and faster through the triangles, and soon I was going so fast that my mind could no longer bear it. It seemed that the triangles were blurred, and that all that was left of my soul was trapped in this hyperspace-like void of devilish triangles. Suddenly, my being came to the large, dominant triangle with the three spheres spinning inside it. there was a white hot burning sensation in my forehead now, and I could no longer take it. There was a blinding flash, and I returned to consciousness.
As I opened my eyes, I realized that I was lying on my back, the opposite position of when I first attempted to 'sleep.' I was looking at a familiar painting in my friend's basement, and had that mushroom comedown feeling of numbness, similar to that of a massive stone-over. The whole situation seemed strikingly familiar. I thought about the strange feeling of de-javu I was experiencing, and then all of the sudden, it hit me. I had been asleep for a year. Not literally sleeping for a year, but DREAMING for a year.
I was fully convinced that I was waking up from that night a year ago when I smoked so much weed that I passed out. The thought boggled me, however I was completely convinced. By now, my mind was sufficiently dumbed down by the mushrooms that thinking on this revalation didnít do much good. All I could do was sit there and think '...what the fuck...,' because there was no doubt in my mind that the entire year, school, my friends, everything I had done, was a dream. I thought about this a little closer and realized that in the dream, the substance that had 'woken me up' was the mushrooms. I was completely mind-fucked.
I slowly walked upstairs, and found my friends calmly sitting in the living room. By now my mind had repaired itself from my terribly profound trance, and I was able to realize that what I had taken for completely true, was in fact, a mushroom delusion. My friends were taken aback by my sudden enterance, and my boggled appearence. They asked me what had happened, and could only respond with the classic explanation that all explorers of the psychotropic world are often forced to use: '...I donít know...'
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


|
I just wanted to share my findings on Velocity. I use velocity as an
embedded mail templating system in our application server.
When I began this subproject, I was using JSP as the language for
generating template output for our application server. It was
horrible. There were many problems, not to mention the difficulty of
embedding a servlet engine in the app server that I could
communicate with through direct method calls instead of over a
socket. Specific to the Velocity argument was the JSP template
versus the VTL template. I'd like to show you what my JSP template
looked like. Package names have been changed to protect the
innocent. Here is an example:
----------------8<---------------
<%@ page session="false"
import="java.util.*,
foo.events.*,
foo.emeeting.*,
foo.validation.*,
foo.util.actionevent.ActionEvent,
java.util.Date"%>
<jsp:useBean id="meeting" scope="request" type="foo.IMeeting"
class="foo.Meeting"/>

<%
Iterator events = meeting.getStoredEventsIterator();
int repId = 0;
%>
Topic: <%= meeting.getTopic()%>

<%
while (events.hasNext()) {
Object event = events.next();
Participation yapper =
meeting.getParticipation(((MeetingEvent)event).getFromId());
if(event instanceof ChatEvent) {
if("R".equals(yapper.getRole()) ) {
%>
<%=yapper.getName()%>:
<%
repId = yapper.getParticipantId();
} else {
%>
<%=yapper.getName()%>:
<%
}
ChatEvent ce = (ChatEvent) event;
%>

<%
} else if(event instanceof URLPushedEvent) {
if("R".equals(yapper.getRole()) ) {
%>
<%=yapper.getName()%>:
<%
} else {
%>
<%=yapper.getName()%>:
<%
}
URLPushedEvent pe = (URLPushedEvent) event;
%>
<a href="<%=pe.getStoredData()%>">"<%=pe.getStoredData()%>"

<%
}
}
%>

<%=meeting.getMeetingId()%>:<%=repId%>

----------------8<---------------
Seasick yet? Now here is the Velocity template accomplishing the
same thing as above:
----------------8<---------------

Topic: $meeting.getTopic()

#foreach( $event in $meeting.getStoredEventsIterator() )
#set( $yapper = $meeting.getParticipation($event.getFromId()) )
#if( $event.getClass().getName().equals($urlEvent) )
#if( $repRole.equals($yapper.getRole()) )
#set( $repId = $yapper.getParticipantId() )
$yapper.getName()
#else
$yapper.getName()
#end
$event.getStoredData()

#elseif( $event.getClass().getName().equals($chatEvent) )
#if($repRole.equals($yapper.getRole()) )
#set( $repId = $yapper.getParticipantId() )
$yapper.getName()
#else
$yapper.getName()
#end
$event.getStoredData()

#end
#end

$meeting.getMeetingId():$repId

----------------8<---------------
I was subsequently able to define that largish foreach loop into a
macro and shrink it even more, using Velocity's #macro function, so
I could do this:
#drawStandardHtmlTranscript ( $meeting )
removing 20 lines of code from each template whilst only adding 2
lines (one for #parse and the other for the
#drawStandardHtmlTranscript.
The call to the Velocity runtime to finally merge the template
consumes about 20-50 milleseconds (on a 400 mHz PII Linux system)
when I pool the contexts (time doubles when I do not). This is great
performance, too!
Last but not least, teaching the web design team to write a template
took literally 10 minutes from start to finish. They haven't asked
me a single question since.
--
Nick Bauman
Software Engineer
3600 Dupont
Minneapolis, MN
55412
Mobile Phone:<PHONE_NUMBER>
Home Phone:<PHONE_NUMBER>
|
|


The Hexagons are a London-based duo, known for their all-embracing, distinctive music, ranging from electronic to pop to jazz.
They’ve recently launched their new album ‘Hexagon’, which they will be touring in autumn 2017, so stay tuned to find a show near you!


Man injured in possible road-rage shooting on 210 Freeway near El Monte
by ABC7.com staffEL MONTE (KABC) -- A man was injured after a his car was shot at during a possible road rage incident on the 210 Freeway.
The shooting happened at 10:30 p.m. Sunday. A suspect in a dark SUV shot at a white Honda Civic near the connector to the 605 Freeway near El Monte, according to the California Highway Patrol.
The incident may have started in the Pasadena area and went on for several miles.
The driver who was shot at was able to get away and suffered a minor injury.
A sigalert was issued was issued for 3 hours near El Monte while authorities investigated. A bullet shell casing was located on the freeway.
The suspect continued southbound on the 605 Freeway and remains outstanding.


Don't want to create your own custom scorer? Or don't know where to start?
Quepid provides you with our own scorer.
Every once in a while, we may update the algorithm behind that scorer,
so in order not to mess with your cases, we let you lock down the version
of the scorer you wish to use.
When you create a new case, if you have not selected your own default scorer, the system default
will be applied.
If you have not selected a system default either, the latest version will be used.


this text is really
Hello everyone! Were using two lines now!
Hello everyone!
We are using two ones now!
text
text p


---
start: 2018-03-15 18:00
edition: 18
participate: "https://www.meetup.com/Geeknight-Coimbatore/events/248535540/"
talk: "https://docs.google.com/forms/d/e/1FAIpQLSc74vC7uV7LoeDdvXw2R8ZjZ196YYvjBdOtALWVm0iuWhxoMw/viewform"
subnote: ""
agenda:
-
time: "6:00"
title: "Functional Thinking - Why Functional programming matters and Impact of it on day to day development"
speaker: 'Abdul Kader Jeelani'
-
time: "6:45"
title: "Break"
-
time: "7:00"
title: "Rust Programming Language"
speaker: 'Balaji Sivaraman'
---


Projects for your Consideration
As of {% now "jS \o\f F" %}
{% for project in projects %}
{% endfor %}
{{project.title}}
By: {{project.prof_ref.user.username}}
About: {{project.description|truncatechars:150}}
View & Rate ProjectPosted: {{project.pub_date|date:"D d M"}}
Average Rating: {{project.average_ratings|floatformat}}


Product documentation template for Jekyll
Product documentation template for Jekyll. Browse through a live demo. Start documenting your product, application, service or website with this configurable theme.
Edition was made by CloudCannon, the Cloud CMS for Jekyll. Find more templates and themes at Jekyll Tips.
Learn Jekyll with step-by-step tutorials and videos at Jekyll Tips.
_config.yml
.Edition was built with Jekyll version 3.3.1, but should support newer versions as well.
Install the dependencies with Bundler:
$ bundle install
Run jekyll
commands through Bundler to ensure you’re using the right versions:
$ bundle exec jekyll serve
Edition is already optimised for adding, updating and removing documentation pages in CloudCannon.
_docs
folder.excluded_in_search: true
to any documentation page’s front matter to exclude that page in the search results.site.show_full_navigation
to control all or only the current navigation group being open.


5-year-old boy dies in house fire in Matanikorovatu Road in Makoi
by Priteshni NandA 5-year-old boy has passed away in a house fire in Matanikorovatu Road in Makoi yesterday.
The two-bedroom house was destroyed.
According to the National Fire Authority, the house was occupied by a couple and their five sons who were asleep when the fire started.
The NFA says the intensity of the heat woke the family and while they were escaping the fire, the fourth son was left behind and the family could not rescue him due to the intense fire.
The National Fire Authority arrived at the scene at 9.50am and found the two-bedroom house was on fire.
The Valelevu Fire Station was alerted of the house fire at 9.46am.
NFA managed to stop the fire from spreading to nearby houses.
Three fire trucks from Valelevu and Suva Fire Stations responded to the fire scene with 13 firefighters and 4 senior staff.
NFA is working with the Police to investigate the cause of the fire and the circumstances surrounding the death of the boy.


Life as Culture: BC’s Pro-Life Club and the March for Life
MA Bishops Push for a Just Minimum Wage Increase


I'm a header 1!
Hello there, awesome person!
My favorite site is
CoolMathGames
!
My second favorite site is
YouTube.com
!
My third favorite website is
GitHub.com
!


WELCOME TO _____ !
OUR SYSTEM HELPS TO FIND DUSTBINS AROUND YOU, BY USING OUR TECHNOLOGY.

HERE YOU SEE TWO OPTIONS


{{#if added}}
{{user}} added a new element
{{/if}}
{{#if resized}}
{{user}} resized an element
{{/if}}
{{#if moved}}
{{user}} moved some elements
{{/if}}
{{#if deleted}}
{{user}} deleted some elements
{{/if}}
{{#if style}}
{{user}} changed style for some elements
{{/if}}
{{#if updated}}
{{user}} changed an element
{{/if}}


Watch Your Tone!
Submit
Oops, Something went wrong!
Start Over
Results
Anger
0%
Disgust
0%
Fear
0%
Joy
0%
Sadness
0%
Try Again?


FILM TITLE: NADJA DIRECTOR: MICHAEL ALMEREYDA COUNTRY: USA 1994 CINEMATOGRAPHY: JIM DENAULT MUSIC: SIMON FISHER TURNER CAST: Galaxy Craze ( Lucy ), Suzy Amis ( Cassandra ), Martin Donovan, Peter Fonda, Elina Lonensohm ( Nadja ), Karl Geary, Jared Harris SUPER FEATURES: Black and White stuff
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
As vampire films go, this is nothing new, and it lacks the styling that have made the genre famous in the movies the past 20 years. But as a new style, this is a different film, more like watching the old Bela Lugosi classic than anything else.
The thing which makes it comparable to that early standard, is its tonality, and near black and white filming, which adds an eery intent to the who thing, in serious playing around with shadows, and movements, something that we take for granted nowadays in any kind of film, and even consider boring by most standards.
Nadja, like the original it seems to copy, is slow, and the accent is on the movement and the acting of each particular person, rather than the vampire story film, where we know that the vampire has to be done away with.
But unlike the religious doodaas that usually permeate those films, this one does not touch that area, and instead concentrates on the relationships that Nadja has, and can, or can not maintain, and her desire to control her urges, so she can have a longer relationship.
I suppose that the best thing in this film is the directing and the shooting style.... you would be surprised how a well designed pose, makes the actor/actress look better and stronger. But all in all, this is not a very strong film, though it has that quality that reminds me of the style that used to be around the Warhols and such.
The film is a bit on the nightmarish's/trippy/weird side, but this is its strength. It makes sure that nothing is like any other vampire film. It spends time with its main character and her feelings, towards someone, or in general. And if forces us to come to like this person, whose need is different than others.
In the midst of all this is a crazy looking and acting Van Helsing, the ultimate commentary on the heroic stance that has been the trademark for that character. In this case he is almost satirical and a lunatic. The film does not glorify him, and makes him look crazy and off the wall, as someone that has little respect for relationships, specially those that last into other ages, and generations. All of a sudden, this doctor is no different a vampire than those he wants to destroy... he is on a mission that recalls the same urges as the vampires he chases. While this is not exactly new, Peter Fonda's drugged out style stands out, as either out of place, or a very clever move by the directing and writing crews.
Not a great film, but one that might be interesting for those that enjoy vampire films... no morals here.. just a story.
4 GIBLOONS Copyright (c) Pedro Sena 1996. All Rights Reserved.
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


Slides and docs
Production and operation
Process Capability Index
Discussion of Balance Sheet
MCQ in marketing
MCQ-Principles of Management
Multiple Choice Questionsfor Financial Ratio
POM - 1st Internal Curriculum
POM - 2nd Internal Curriculum
Principles of Management-2018


lupdate(1) lupdate(1) NAME lupdate - update Qt Linguist translation files SYNOPSIS lupdate [ options ] project-file lupdate [ options ] source-files -ts ts-files DESCRIPTION This page documents the Qt Linguist Update tool for the Qt GUI toolkit. Lupdate reads a qmake/tmake project file (.pro file), finds the translat‐ able strings in the specified source, header and interface files, and updates the translation files (.ts files) specified in it. The transla‐ tion files are given to the translator who uses Qt Linguist to read the files and insert the translations. The .ts file format is a simple human-readable XML format that can be used with version control systems if required. OPTIONS -disable-heuristic {sametext|similartext|number} Disable the named merge heuristic. Can be specified multiple times. -extensions <ext>[,<ext>...] Process files with the given extensions only. The extension list must be separated with commas, not with whitespace. Default: 'ui,c,c++,cc,cpp,cxx,ch,h,h++,hh,hpp,hxx'. -help Display the usage and exit. -locations {absolute|relative|none} Specify/override how source code references are saved in ts files. Default is absolute. -no-obsolete Drop all obsolete strings. -no-recursive Do not recursively scan the following directories. -no-sort Do not sort contexts in .ts files. -pluralonly Only include plural form messages. -pro <filename> Name of a .pro file. Useful for files with .pro file syntax but different file suffix -recursive Recursively scan the following directories. -silent Don't explain what is being done. -source-language <language>[_<region>] Specify/override the language of the source strings. Defaults to POSIX if not specified and the file does not name it yet. -target-language <language>[_<region>] Specify/override the language of the translation. The target lan‐ guage is guessed from the file name if this option is not speci‐ fied and the file contents name no language yet. -version Display the version of lupdate and exit. USAGE Here is an example .pro file that can be given to lupdate: HEADERS = funnydialog.h \ wackywidget.h SOURCES = funnydialog.cpp \ main.cpp \ wackywidget.cpp FORMS = fancybox.ui TRANSLATIONS = gnomovision_dk.ts \ gnomovision_fi.ts \ gnomovision_no.ts \ gnomovision_se.ts When running lupdate on this project file, the translatable strings in all the files listed in the HEADERS, SOURCES and FORMS entries will be put in the translation files listed in the TRANSLATIONS entry. Previous translations will be reused as far as possible, and translated strings that have vanished from the source files are marked obsolete. lupdate can also be invoked with a list of C++ source files, .ui files and .ts files: lupdate *.cpp *.h *.ui -ts gnomovision_dk.ts SEE ALSO lrelease(1) and http://doc.trolltech.com/i18n.html Nokia Corporation and/or its subs18iOctobers2001 lupdate(1)


Connected Monitor(s):
Use MQTT protocol to interact with Multis.
Reload Reload specific or all windows. Topic: [custom-namespace]/reload Payload: [0-n]
Open Dev. Tools Open developer tools of all windows. Topic: [custom-namespace]/open-dev-tools Payload: empty
Connection Status:


Reflection.
What's your take on the EDA experience?
I really like the holistic approach to learning. I went to a Rudolf Steiner school, which has many holistic education philosophies, so it is a comfortable way to learn for me. I liked that Shareef talked about fears and acknowledging them. Everyone has fears of some sort, even if we're not aware of them, and they make us feel vulnerable. But by embracing this vulnerablity, and not running from it, we can grow and learn and become stronger.
What are your impressions?
The first impression I got from going to the interview and meeting people who work at EDA was that everyone had great energy and enthusiasm for the work. I really appreciate that and it infected me with enthusiasm to get started. Another impression is that it's going to be a lot of hard work, but it's going to be worth it!
How do you see yourself engaging with this type of culture?
I'm really looking forward to engaging with it. Through my degree in speech language therapy I had to do many reflections, and I am a big proponent of mindfulness and being self-aware. And I want to learn everything I can. I'm so excited to get into all this new knowledge.
Have your expectations of EDA changed? If so, how?
No they haven't changed. I also expected it to be a lot of work, and I always expected it to an exciting endeavour. And those expectations have just been reaffirmed.
Are you excited to participate in this kind of learning environment? Does it make you nervous?
Have I mentioned already that I'm excited? Haha. The answer is yes! I really have been looking forward to this for a while now and it's great to finally get stuck in. I'm not nervous at all. I know there will be challenges but that's all part of the fun.


Lorem
The following example shows the calculation of an overall score from a CVSS v2.0 vector.
The next example shows the calculation of an overall score from a CVSS v3.0/1 vector.
Usage is extremely straightforward. Simply import the script into your HTML file:
<script src="node_modules/vuln-vects/dist/vuln-vects.js"></script>
Now, you can calculate the numeric score from a CVSS vector easily. Score will be calculated using an appropriate algorithm depending on the CVSS vector version detected by the library.
<script>
$(document).ready(function() {
console.log(VulnVects.parseCvssVector('CVSS2#AV:A/AC:L/Au:M/C:C/I:P/A:C'));
console.log(VulnVects.parseCvssVector('CVSS:3.0/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L'));
});
</script>


Beaver Hacks
Registration
Teams
Projects
Admin
Registration
Add Participant
First Name
Last Name
Email
submit
cancel
Participants
Filter by hackathon
Choose Hackathon
Winter 2018
Fall 2018
Summer 2018
Id
First Name
Last Name
Email
×
Update Participant
Id
First Name
Last Name
Email
Save


Welcome to JSRogue!
Health: 0/0
This is the Console. Quick updates on your surroundings will be posted here. Such as when you attack an enemy.


COVID-19 is the disease caused by a new coronavirus called SARS-CoV-2.
WHO first learned of this new virus on 31 December 2019, following a report
of a cluster of cases of ‘viral pneumonia’ in Wuhan, People’s Republic of China
What causes COVID-19?
Infection with the new coronavirus (severe acute respiratory
syndrome coronavirus 2,or SARS-CoV-2) causes coronavirus disease 2019(COVID-19).
The virus that causes COVID-19 spreads easily among people, and
more continues to be discovered over time about how it spreads.
Data has shown that it spreads mainly from person to person among
those in close contact (within about 6 feet, or 2 metres).
The virus spreads by respiratory droplets released when someone with the virus coughs, sneezes, breathes, sings or talks. These droplets can be inhaled or land in the mouth, nose or eyes of a person nearby.
In some situations, the COVID-19 virus can spread by a person being
exposed to small droplets or aerosols that stay in the air for several minutes or hours - called airborne transmission. It’s not yet known how common it is for the virus to spread this way.
It can also spread if a person touches a surface or object with the
virus on it and then touches his or her mouth, nose or eyes, although this isn’t considered to be a main way it spreads.
Some reinfections of the virus that causes COVID-19 have happened,
but these have been uncommon.
What happens to people who get COVID-19?
Among those who develop symptoms, most (about 80%) recover from the disease
without needing hospital treatment. About 15% become seriously ill and require
oxygen and 5% become critically ill and need intensive care.
Complications leading to death may include respiratory failure, acute
respiratory distress syndrome (ARDS), sepsis and septic shock, thromboembolism,
and/or multiorgan failure, including injury of the heart, liver or kidneys.
In rare situations, children can develop a severe inflammatory syndrome a
few weeks after infection.
created by tanmoy


Jeremiah 39:15
Now the word of the LORD came unto Jeremiah, while he was shut up in the court of the prison, saying,


Contributing¶
Follow these general instructions if you wish to contribute a new descriptor implementation to DScribe:
Contact the authors to discuss your idea for a new descriptor implementation.
Read the code style guideline (below).
Fork the repository and do all modifications within it.
Implement the descriptor as a class within a new module in dsribe/descriptors/. The descriptor class should inherit from the
Descriptor
-class.Create new test module for the descriptor with the same module name, but in dscribe/regtests/. The tests should be implemented within a new class that inherits from the
TestBaseClass
-class found in dscribe/regtests/. Add the new tests as part of dscribe/regtests/testrunner.py.Ensure that your new tests and the existing tests run succesfully. You can run the tests by first installing the developer dependencies by running
pip install -r dscribe/devrequirements.txt
, and then running dscribe/regtests/testrunner.py.Create tutorial for the descriptor in dscribe/docs/src/tutorials. Follow the structure of the existing tutorials.
Create a pull request in GitHub.
Code style guideline¶
We follow the Black code style, which is PEP 8 compliant. The good thing about Black is that you can simply run the autoformatter to ensure that you fullfill the code style. Before committing (or using pre-commit hooks), you should simply run the automatic formatting. Any unformatted code will be caught by the style checks in CI.
Classes and functions should be documented by following the Google style guide that can be interpreted by the sphinx Napoleon-extension


class: center, middle # Testing microservices ### built with Akka HTTP and Akka actors --- class: middle >>>>>># Introduction >>>- Software Consultant based in London - Building software for over 15 years - Fullstack, lately more backend - Started with Scala a bit over 3 years ago - Currently at Hotels.com in the SEM-Tools team - Twitter: @TudorPalanga - Github: https://github.com/tpalanga --- class: middle >>>>>>># Agenda >>>>>>- Background, reason - Project structure - Unit testing - API testing - Integration testing - What next - Questions --- class: middle >>>># Background and reason - Akka actors are not typed - Actor behaviour can mutate - Maintaining API contracts - Sparse testing documentation - What this is not --- class: middle >>>>># Project structure - accountService - newsletterService >>>>>- accountServiceTest - newsletterServiceTest >>>>>- testLib >>> https://github.com/tpalanga/akka-http-microservice --- class: center, middle # Unit testing --- ### Actor testing - actor implementation ```scala object SubscriberService { sealed trait Request case class GetOne(id: UserId) extends Request case class AddOne(subscriber: Subscriber) extends Request sealed trait GetSubscriberResponse case class OneSubscriber(subscriber: Subscriber) extends GetSubscriberResponse case class NotFound(id: UserId) extends GetSubscriberResponse def props() = Props(new SubscriberService) } class SubscriberService extends Actor { private var subscribers: Map[UserId, Subscriber] = Map.empty override def receive: Receive = { case GetOne(id) => sender() ! subscribers.get(id).map(OneSubscriber).getOrElse(NotFound(id)) } } ``` --- ### Actor testing - test setup ```scala object SubscriberServiceSpec { abstract class Test(implicit val system: ActorSystem) { val subscriberService: ActorRef = system.actorOf(SubscriberService.props()) } trait TestWithCreatedSubscribers extends Test with Matchers { val requester = TestProbe() val newSubscribers = Seq( Subscriber("u01", "user 1", "user1@test.com"), Subscriber("u02", "user 2", "user2@test.com"), Subscriber("u03", "user 3"<EMAIL_ADDRESS>) val createdSubscribers = newSubscribers.map { subscriber => subscriberService.tell(SubscriberService.AddOne(subscriber), requester.ref) val createdSubscriber = requester.expectMsgType[SubscriberService.OneSubscriber] createdSubscriber.subscriber.name shouldBe subscriber.name createdSubscriber.subscriber } } } ``` --- ### Actor testing - test cases ```scala class SubscriberServiceSpec extends TestKit(ActorSystem("SubscriberServiceSpec")) with FlatSpecLike with Matchers with ImplicitSender with OptionValues { import SubscriberServiceSpec._ "SubscriberService" should "retrieve a subscriber that already exists" in new TestWithCreatedSubscribers { val testSubscriber = createdSubscribers.headOption.value subscriberService ! SubscriberService.GetOne(testSubscriber.id) expectMsg(SubscriberService.OneSubscriber(testSubscriber)) } it should "reply NotFound when attempting to retrieve a subscriber that does not exist" in new TestWithCreatedSubscribers { subscriberService ! SubscriberService.GetOne("unknown") expectMsg(SubscriberService.NotFound("unknown")) } } ``` --- ### Route testing - implementation ```scala class SubscriberRoute(subscriberService: ActorRef) extends SprayJsonSupport { import Subscriber.DataFormats._ import SubscriberService.DataFormats._ implicit val askTimeout = Timeout(3.seconds) val route: Route = pathPrefix("data" / "subscribers") { path(Segment) { id => pathEnd { get { // get id onComplete((subscriberService ? SubscriberService.GetOne(id)) .mapTo[SubscriberService.GetSubscriberResponse]) { case Success(oneSubscriber: SubscriberService.OneSubscriber) => complete(oneSubscriber.subscriber) case Success(SubscriberService.NotFound(_)) => complete(StatusCodes.NotFound, s"Subscriber with ID $id not found") case Failure(th) => complete(StatusCodes.InternalServerError, s"$msg: ${th.getMessage}") } } } ~ put { ... } ... } ``` --- ### Route testing - unit test ```scala object SubscriberRouteSpec { val userId = "ABC-123" val testSubscriber = Subscriber(userId, "my test user"<EMAIL_ADDRESS>abstract class Test(implicit system: ActorSystem) { protected val subscriberService = TestProbe() protected val route: Route = new SubscriberRoute(subscriberService.ref).route } } class SubscriberRouteSpec extends WordSpec with ScalatestRouteTest with SprayJsonSupport with Matchers with Eventually { import Subscriber.DataFormats._ import SubscriberRouteSpec._ implicit override val patienceConfig = PatienceConfig(timeout = scaled(Span(2, Seconds)), interval = scaled(Span(100, Millis))) "SubscriberRoute" when { "receiving a subscriber GET request" should { "respond with the subscriber data if the subscriber exists" in new Test { Get(s"/data/subscribers/$userId") ~> route ~> check { subscriberService.expectMsg(SubscriberService.GetOne(userId)) subscriberService.reply(SubscriberService.OneSubscriber(testSubscriber)) eventually { status shouldEqual StatusCodes.OK } responseAs[Subscriber] should be(testSubscriber) } } ... } ``` --- ### Code coverage ```bash sbt "; project newsletterService; clean; coverage; test; coverageReport" ``` Generates the HTML/XML/Cobertura report in: ```bash newsletterService/target/scala-2.11/scoverage-report/ ``` --- ### What code coverage doesn't show - shared partial functions between states >(error/timeout handling) ```scala class NewsletterClient extends Actor { override def receive: Receive = { case Subscribe(user) => newClient() ! SubscriberCreate(Subscriber(user)) context.setReceiveTimeout(30.millis) context.become(subscribing) } def subscribing: Receive = handleTimeout orElse { case Response(x) => ... } def unsubscribing: Receive = handleTimeout orElse { case Response(y) => ... } def handleTimeout: Receive = { case ReceiveTimeout => ... } private def newClient() = ... } ``` --- ### Message not handled - override unhandled ```scala class SubscriberService extends Actor with ActorLogging { override def receive: Receive = { ... } override def unhandled(msg: Any) { log.warning(s"Unhandled message $msg") super.unhandled(msg) } } ``` --- ### Message not handled - subscribe to events ```scala class UnhandledMessageWatcher extends Actor with ActorLogging { context.system.eventStream.subscribe(self, classOf[DeadLetter]) context.system.eventStream.subscribe(self, classOf[UnhandledMessage]) override def receive: Receive = { case UnhandledMessage(msg, msgSender, recipient) => log.error(s"UnhandledMessage: $msgSender sent $msg to $recipient") case DeadLetter(msg, msgSender, recipient) => log.warning(s"DeadLetter: $msgSender sent $msg to $recipient") } } ``` --- ```scala object UnhandledMessageWatcherSpec { abstract class Test(implicit system: ActorSystem) { val watcher = system.actorOf(UnhandledMessageWatcher.props()) val logProbe = TestProbe() system.eventStream.subscribe(logProbe.ref, classOf[LogEvent]) val destination = system.actorOf(Props(new Actor { override def receive: Receive = { case 'Handled => } })) } } class UnhandledMessageWatcherSpec extends TestKit(ActorSystem("UnhandledMessageWatcherSpec")) with FlatSpecLike with Matchers with ImplicitSender { import UnhandledMessageWatcherSpec._ "UnhandledMessageWatcher" should "log unhandled messages" in new Test { destination ! 'Unhandled val event = logProbe.fishForMessage() { case akka.event.Logging.Error(_, _, _, msg) if msg.toString startsWith "UnhandledMessage:" => true case _ => false } } } ``` --- ### Composing/linking actors - long living actors ```scala class UserService(newsletterService: ActorRef) extends Actor { ... } ``` ```scala object UserServiceSpec { abstract class Test(implicit val system: ActorSystem) { val newsletterService = TestProbe() val userService: ActorRef = system.actorOf(UserService.props(newsletterService.ref)) } } ``` ```scala class UserServiceSpec extends TestKit(ActorSystem("UserServiceSpec")) with FlatSpecLike with Matchers with ImplicitSender { import UserServiceSpec._ "UserService" should "create user" in new Test { userService ! UserService.AddOne(NewUser("new user", "newuser@test.com")) val oneUser = expectMsgType[UserService.OneUser] oneUser.user.name shouldBe "new user" newsletterService.expectMsg(NewsletterService.Subscribe(oneUser.user)) userService ! UserService.GetOne(oneUser.user.id) expectMsg(UserService.OneUser(oneUser.user)) } } ``` --- ### Composing/linking actors - ad-hoc created actors/objects ```scala object NewsletterClient { type NewsletterClientFactory = RestServiceConfig => NewsletterClient def defaultFactory: NewsletterClientFactory = config => new NewsletterClient(config, system) } class NewsletterClient(val config: RestServiceConfig) extends Actor { ... } ``` --- ### Composing/linking actors - ad-hoc created actors/objects ```scala object NewsletterService { def props(restServiceConfig: RestServiceConfig, clientFactory: NewsletterClientFactory = NewsletterClient.defaultFactory): Props = Props(new NewsletterService(restServiceConfig, clientFactory)) } class NewsletterService(restServiceConfig: RestServiceConfig, clientFactory: NewsletterClientFactory) extends Actor with ActorLogging { override def receive: Receive = { case Subscribe(user) => newClient() ! SubscriberCreate(Subscriber(user)) case Unsubscribe(userId) => newClient() ! SubscriberDelete(userId) } private def newClient() = clientFactory(restServiceConfig) } ``` --- ### Composing/linking actors - ad-hoc created actors/objects - test ```scala object NewsletterServiceSpec { val testUser = User("ABC-123", "new user"<EMAIL_ADDRESS>abstract class Test(implicit val system: ActorSystem) { val newsletterClient = TestProbe() def testClientFactory: NewsletterClientFactory = (_) => newsletterClient.ref val newsletterService: ActorRef = system.actorOf(NewsletterService.props(testClientFactory)) } } class NewsletterServiceSpec extends TestKit(ActorSystem("NewsletterServiceSpec")) with FlatSpecLike with Matchers with ImplicitSender { import NewsletterServiceSpec._ "NewsletterService" should "subscribe to the newsletter backend" in new Test { newsletterService ! Subscribe(testUser) newsletterClient.expectMsg( SubscriberCreate(Subscriber("ABC-123", "new user", "newuser@test.com"))) } } ``` --- class: middle >>>>>>># API testing - reason - setup --- class: middle >>>>># Integration testing - reason - setup - Mocking/stubbing external APIs --- class: middle >>>>>># What next? >>>>- Fork the project on github https://github.com/tpalanga/akka-http-microservice - Join me and contribute - PRs/feedback - TODO: use docker - TODO: Akka cluster --- class: center, middle # Questions?


|
Class Summary |
| Dimension |
A vector in 2D. |
| DrawPanel |
The viewport of the animation. |
| EditBController |
Defines the actions to be perfromed when editing a PointlikeBody. |
| EditBView |
This is a window where the user can edit the properties of a PointlikeBody object. |
| EditGFController |
Defines the actions to be perfromed when editing a GravityField. |
| EditGFView |
This is a window where the user can edit the properties of a GravityField object. |
| EditRISController |
Defines the actions to be perfromed when editing a RectangularIsolatorSpace. |
| EditRISView |
This is a window where the user can edit the properties of a RectangularIsolatorSpace object. |
| EditXController |
Defines the actions to be perfromed on different user events. |
| EditXView |
This is a window where the user can edit the properties of a simulation object. |
| GravityField |
A uniform force field with constant magnitude and direction. |
| PHYController |
Class for performing actions on PHYModel by analizing events that happen on the PHYView. |
| PHYMain |
Project for Mr. |
| PHYModel |
A class holding all the addresses of role playing objects. |
| PHYView |
|
| PointlikeBody |
This object is the basic physical object that can be created in the PHY software. |
| RectangularIsolatorSpace |
A closed, finite, rectangle shaped space, which isolates forces on the outside from acting in the inside and iverse. |
| Runner |
This class is responsible for the continous rendering of the DrawPanel object. |
| ShellGravityField |
A limited version of GravityField used only for saving initial state. |
| ShellPointlikeBody |
A limited version of PointlikeBody used only for saving initial state. |
| ShellRectangularIsolatorSpace |
A limited version of RectangularIsolatorSpace used only for saving initial state. |
| Timer |
A class doing the job of a stopwatch for the PHY simulation. |


{% extends "analysis/dashboard.html" %} {% load render_bundle from webpack_loader %} {% block title %}Executing {{object.name}}{% endblock %} {% block crumbs_inner %}
Start time: ()
Estimated run-time: ~
Estimated end-time:
Now would be a great time to grab some ☕. We will email you at {{request.user.email}} when it's complete!
{% else %}Execution hasn't yet started yet. Please modify your settings and then try again.
{% endif %} {% endblock %} {% block extra_js %} {% if object.is_running %} {% render_bundle 'main' %} {% endif %} {% endblock extra_js %}


In the simple model of a service desk discussed in the previous section, we define one (global) model variable, queueLength, one model function, serviceTime(), and two event types, as shown in the following class diagram:
Notice that this model does not define any object
type, which implies that the system state is not composed of the states of
objects, but of the states of model variables, here it consists of the state
of the model variable queueLength. The discrete random variable for
modeling the random variation of service durations is implemented as a model
function serviceTime
shown in the Global Variables and
Functions class. It samples integers between 2 and 4 from the empirical
probability distribution Frequency{ 2:0.3, 3:0.5, 4:0.2}. The model
can be coded with OESjs-Core1 in the following way:
// (global) model variable sim.model.v.queueLength = 0; // (global) model function sim.model.f.serviceTime = function () { var r = math.getUniformRandomInteger( 0, 99); if ( r < 30) return 2; // probability 0.30 else if ( r < 80) return 3; // probability 0.50 else return 4; // probability 0.20 };
You can run this Service-Desk-0 model from the project's GitHub website. An example of a run of this model is shown in the following simulation log:
| Step | Time | System State | Future Events |
|---|---|---|---|
| 0 | 0 | queueLength: 0 | CustomerArrival@1 |
| 1 | 1 | queueLength: 1 | CustomerDeparture@4, CustomerArrival@4 |
| 2 | 4 | queueLength: 1 | CustomerDeparture@6, CustomerArrival@7 |
| 3 | 6 | queueLength: 0 | CustomerArrival@7 |
| 4 | 7 | queueLength: 1 | CustomerDeparture@11, CustomerArrival@13 |
| 5 | 11 | queueLength: 0 | CustomerArrival@13 |
| 6 | 13 | queueLength: 1 | CustomerDeparture@15, CustomerArrival@19 |
| 7 | 15 | queueLength: 0 | CustomerArrival@19 |
| ... | ... | ... | ... |
| 49 | 114 | queueLength: 0 | CustomerArrival@117 |
| 50 | 117 | queueLength: 1 | CustomerArrival@118, CustomerDeparture@119 |
| 51 | 118 | queueLength: 2 | CustomerDeparture@119, CustomerArrival@119 |
| 52 | 119 | queueLength: 2 | CustomerArrival@121, CustomerDeparture@123 |
| 53 | 121 | queueLength: 3 | CustomerDeparture@123, CustomerArrival@124 |
| 54 | 123 | queueLength: 2 | CustomerArrival@124, CustomerDeparture@126 |
| 55 | 124 | queueLength: 3 | CustomerArrival@125, CustomerDeparture@126 |
| 56 | 125 | queueLength: 4 | CustomerDeparture@126, CustomerArrival@128 |
| 57 | 126 | queueLength: 3 | CustomerArrival@128, CustomerDeparture@128 |
| 58 | 128 | queueLength: 3 | CustomerArrival@129, CustomerDeparture@131 |
| 59 | 129 | queueLength: 4 | CustomerDeparture@131, CustomerArrival@133 |
| 60 | 131 | queueLength: 3 | CustomerArrival@133, CustomerDeparture@135 |
| 61 | 133 | queueLength: 4 | CustomerDeparture@135, CustomerArrival@137 |
| 62 | 135 | queueLength: 3 | CustomerArrival@137, CustomerDeparture@137 |
| 63 | 137 | queueLength: 3 | CustomerArrival@139, CustomerDeparture@141 |
| 64 | 139 | queueLength: 4 | CustomerDeparture@141, CustomerArrival@142 |
| 65 | 141 | queueLength: 3 | CustomerArrival@142, CustomerDeparture@144 |
| 66 | 142 | queueLength: 4 | CustomerDeparture@144, CustomerArrival@147 |
| 67 | 144 | queueLength: 3 | CustomerArrival@147, CustomerDeparture@148 |
| 68 | 147 | queueLength: 4 | CustomerDeparture@148, CustomerArrival@148 |
| 69 | 148 | queueLength: 4 | CustomerArrival@149, CustomerDeparture@151 |
| 70 | 149 | queueLength: 5 | CustomerDeparture@151, CustomerArrival@151 |
| ... | ... | ... | ... |
Object types are defined in the form of classes. Consider the object type ServiceDesk defined in the following Service-Desk-1 model:
While
queueLength
was defined as a global variable in the
Service-Desk-0 model, it is now defined as an attribute of the object
type ServiceDesk:
class ServiceDesk extends oBJECT { constructor({ id, name, queueLength}) { super( id, name); this.queueLength = queueLength; } static serviceTime() { var r = math.getUniformRandomInteger( 0, 99); if ( r < 30) return 2; // probability 0.3 else if ( r < 80) return 3; // probability 0.5 else return 4; // probability 0.2 } } ServiceDesk.labels = {"queueLength":"qLen"}; // for the log
Notice
that, in OESjs, object types are defined as subtypes of the pre-defined
class oBJECT
, from which they inherit an integer-valued
id
attribute and an optional name
attribute. When
a property has a label
(defined by the class-level (map-valued)
property labels
), it is shown in the simulation log.
You can run this simulation model from the project's GitHub website.
In OES, there is a distinction between two kinds of events:
Here is an example of an exogenous event type definition in OESjs-Core1:
class CustomerArrival extends eVENT { constructor({ occTime, serviceDesk}) { super( occTime); this.serviceDesk = serviceDesk; } onEvent() { ... } ... }
The definition of the CustomerArrival event type includes a
reference property serviceDesk, which is used for referencing the
service desk object at which a customer arrival event occurs. In OESjs,
event types are defined as subtypes of the pre-defined class
eVENT
, from which they inherit an attribute
occTime
, which holds the occurrence timeoccurrence time of an event. As opposed to
objects, events do normally not have an ID, nor a name.
Each event
type needs to define an onEvent
method that implements the
event rule for events of the defined type. Event rules are discussed below.
Exogenous events occur periodically. They are therefore defined with a recurrence function,recurrence which provides the time in-between two events (often in the form of a random variable). The recurrence function is defined as a class-level ("static") method:
class CustomerArrival extends eVENT { ... static recurrence() { return math.getUniformRandomInteger( 1, 6); } }
Notice that the recurrence function of CustomerArrival
is coded with the library method math.getUniformRandomInteger
, which allows sampling from
discrete uniform probability distribution functions.
In the case of an exogenous event type definition, a createNextEvent method has to be defined for assigning event properties and returning the next event of that type, which is scheduled by invoking the recurrence function for setting its ocurrenceTime and by copying all participant references (such as the serviceDesk reference).
class CustomerArrival extends eVENT { ... createNextEvent() { return new CustomerArrival({ occTime: this.occTime + CustomerArrival.recurrence(), serviceDesk: this.serviceDesk }); } static recurrence() {...} }
When an OE simulator processes an exogenous event e of type E, it automatically schedules the next event of type E by invoking the createNextEvent method on e, if it is defined, or, otherwise by duplicating e and resetting its occurrence time by invoking E.recurrence().
For an exogenous event type, it is an
option to define a maximum number of event occurrences by setting the static
attribute maxNmrOfEvents
, as in the following example:
CustomerArrival.maxNmrOfEvents = 3;
The second event type of the Service-Desk-1 model, Departure, is an example of a type of caused events:
class CustomerDeparture extends eVENT { constructor({ occTime, serviceDesk}) { super( occTime); this.serviceDesk = serviceDesk; } onEvent() { ... } }
A caused event type does neither define a recurrence function nor a createNextEvent method.
An event ruleevent rule for an
event type defines what happens when an event of that type occurs, by
specifying the caused state changes and follow-up events. In OESjs, event
rules are coded as onEvent
methods of the class that implements
the event type. These methods return a set of events (more precisely, a set
of JS objects representing events).
Notice that in the DES literature, event rule methods are called event routinesevent routine.
For instance, in the
CustomerArrival
class, the following event rule method is
defined:
class CustomerArrival extends eVENT { ... onEvent() { var followupEvents=[]; // increment queue length due to newly arrived customer this.serviceDesk.queueLength++; // update statistics sim.stat.arrivedCustomers++; if (this.serviceDesk.queueLength > sim.stat.maxQueueLength) { sim.stat.maxQueueLength = this.serviceDesk.queueLength; } // if the service desk is not busy if (this.serviceDesk.queueLength === 1) { followupEvents.push( new CustomerDeparture({ occTime: this.occTime + ServiceDesk.serviceTime(), serviceDesk: this.serviceDesk })); } return followupEvents; } }
The context of this event rule method is the event that triggers the
rule, that is, the variable this
references a JS object that
represents the triggering event. Thus, the expression
this.serviceDesk
refers to the service desk object associated
with the current customer arrival event, and the statement
this.serviceDesk.queueLength++
increments the
queueLength attribute of this service desk object (as an immediate
state change).
The following event rule method is defined in the
CustomerDeparture
class.
class CustomerDeparture extends eVENT { ... onEvent() { var followupEvents=[]; // decrement queue length due to departure this.serviceDesk.queueLength--; // update statistics sim.stat.departedCustomers++; // if there are still customers waiting if (this.serviceDesk.queueLength > 0) { // start next service and schedule its end/departure followupEvents.push( new CustomerDeparture({ occTime: this.occTime + ServiceDesk.serviceTime(), serviceDesk: this.serviceDesk })); } return followupEvents; } }
An OES model may imply the possibility of several events occurring at the same time. Consequently, a simulator (like OESjs) must be able to process simultaneous events.simultaneous events In particular, simulation models based on discrete time may create simulation states where two or more events occur at the same time, but the model's logic requires them to be processed in a certain order. Defining priorities for events of a certain type helps to control the processing order of simultaneous events.
Consider an example model based on discrete time with three exogenous event types StartOfMonth, EachDay and EndOfMonth, where the recurrence of StartOfMonth and EndOfMonth is 21, and the recurrence of EachDay is 1. In this example we want to control that on simulation time 1 + i * 21 both a StartOfMonth and an EachDay event occur simultaneously, but StartOfMonth should be processed before EachDay, and on simulation time 21 + i * 21 both an EndOfMonth and an EachDay event occur simultaneously, but EndOfMonth should be processed after EachDay. This can be achieved by defining a high priority, say 2, to StartOfMonth, a middle priority, say 1, to StartOfMonth, and a low priority, say 0, to EndOfMonth.
Event priorities are defined as class-level properties of event classes in the event type definition file. Thus, we would define in StartOfMonth.js:
StartOfMonth.priority = 2;
and in EachDay.js:
EachDay.priority = 1;
and finally in EndOfMonth.js:
EndOfMonth.priority = 0;
Random variablesrandom variable are implemented as methods that sample specific probability distribution functions (PDFs).probability distribution function Simulation frameworks typically provide a library of predefined parametrized PDF sampling methods, which can be used with one or several (possibly seeded) streams of pseudo-random numbers.
The OESjs simulator provides the following predefined parametrized PDF sampling methods:
| Probability Distribution Function | OESjs Library Method | Example |
| Uniform | uniform ( lowerBound, upperBound) |
rand.uniform( 0.5, 1.5) |
| Discrete Uniform | uniformInt ( lowerBound,
upperBound) |
rand.uniformInt( 1, 6) |
| Triangular | triangular ( lowerBound, upperBound,
mode) |
rand.triangular( 0.5, 1.5, 1.0) |
| Frequency | frequency ( frequencyMap) |
rand.frequency({"2":0.4, "3":0.6}) |
| Exponential | exponential ( eventRate) |
rand.exponential( 0.5) |
| Gamma | gamma ( shape, scale) |
rand.gamma( 1.0, 2.0) |
| Normal | normal ( mean, stdDev) |
rand.normal( 1.5, 0.5) |
| Pareto | pareto ( shape) |
rand.pareto( 2.0) |
| Weibull | weibull ( scale, shape) |
rand.weibull( 1, 0.5) |
The OESjs library rand.js supports both unseeded and
seeded random number streams.random number
stream By default, its PDF sampling methods are based on an unseeded
stream, using Marsaglia’s high-performance random number generator xorshift that is built into the
Math.random
function of modern JavaScript engines.
A
seeded random number stream, based on David Bau's seedable random number
generator seedrandom,
can be obtained by setting the scenario parameter
sim.scenario.randomSeed
to a positive integer
value.
Additional streams can be defined and used in the following way:
var stream1 = new Random( 1234); var stream2 = new Random( 6789); var service1Duration = stream1.exponential( 0.5); var service2Duration = stream2.exponential( 1.5);
Avoid using JavaScript's built-in
Math.random
in simulation code. Always userand.uniform
, or one of the other sampling functions from the rand.js library described above, for generating random numbers.Otherwise, using a random seed does not guarantee reproducible simulation runs!


Esprima (esprima.org) is an educational ECMAScript (also popularly known as JavaScript) parsing infrastructure for multipurpose analysis. It is also written in ECMAScript.
Esprima can be used in a web browser:
<script src="esprima.js"><script>
or in a Node.js application via the package manager:
npm install esprima
A very simple example:
esprima.parse('var answer=42').body[0].declarations[0].init
produces the following object:
{ type: 'Literal', value: 42 }
Esprima is still in the development, for now please check the wiki documentation.
Since it is not comprehensive nor complete, refer to the issue tracker for known problems and future plans. Esprima is supported on many browsers: IE 6+, Firefox 1+, Safari 3+, Chrome 1+, and Opera 8+.
Feedback and contribution are welcomed! Please join the mailing list and read the contribution guide for further info.


Experience
July 2017 - Current
Tata Consultancy Services Ltd
Information Security Analyst
- Performed Vulnerability Assessment & Penetration Testing for Web and Mobile Applications, Web services and Thick clients.
- Active Member of TCS Cyber Security Community and Enterprise Vulnerability Management Center of Excellence Team.
- Research into OSINT & IoT security.
- Experience in performing both automated and manual Penetration Testing using commercial and open source tools.
Skills
| Systems | Linux Windows MacOS |
| Languages | Python C C++ Java HTML CSS |
| Tools | Burpsuite Pro HP WebInspect IBM Appscan Nmap SoapUI | Technologies | Docker GIT Parallel Processing MS Office |
| Frameworks | Django GOSINT |
Education
Federal Institute Of Science and Technology (MG University Kerala)
B.Tech in Computer Science and Engineering
- 7.3 CGPA
- Active member of CHPC(Center of High Performance Computing), IEEE, FFSC(FISAT Free Software Cell)
- Won several Hackathons and coding competitions
- 2nd position in Best Mini-Project Award


Normal distribution
Multiple line types chart
Pie chart
Donut chart
Gauge
XY chart
XY spline chart
XY area chart
XY area step chart
Timeseries


Dad, can we get a film?" said Fran and Frank. "Yes," said Dad, "What film will you get?" "One with a big, red dog," said Fran. "No sis, one with a soft, wet frog," said Frank. "Not a problem for me," said Dad. "One with a pet pig who lost his pen," said Frank. "No Frank, one with a hip hippo and his hotrod," said Fran. "Not a problem for me," said Dad.  "Or a tall rat swimming in a pond on the sun," said Frank with a grin. "Not a problem for me," said Dad. "What" You will get a film with all that?" said Fran and Frank. "No," said Dad, "I said it is not a problem for me." "Who is it a problem for then?" said Frank and Fran. "Mom," Dad grinned.
in-context


- zip file (.zip) that includes 3 files (.shp, .shx, .dbf)
- under 1MB
- British National Grid (BNG) coordinates
- 500 extents (or fewer)
If your file does not use British National Grid (BNG) coordinates:
- Your extent might not look the same way on our map as it does on your file
- Check the extent you have uploaded to make sure it is the right place, size and shape


MuW201
: Tangible Computing, 2019
Project Two
Code:
has to be run on node with an arduino connection
Version 1:
Ultrasonic Volume Control
Version 2:
Musical Instrument for Cats
Video:


×
ROBO RACE
DESCRIPTION
"Race for the gratification and if you are that much stubborn, then here is a chance to light up your bot's pride in the arena. So be prepared to give a checkmate to your foes by finishing in minuscule period of time. So be there with your bot"
RULES
- The robots build by given dimension and specification will be allowed for game.
- The robot which gain maximum points will be the winner.
- The team should not consist of more than 4 members.
- Each member from same college is not mandatory.
- The robot should follow the robot specifications provided. Any deviation from the mentioned specifications will lead to disqualification.
- Once the race begins, three hand touches are allowed, if your taking hand touch you have to start from last check point.
- No test practice will be allowed on the main arena.
- Terminals for charging the battery will not be provided in the college.
- The arena may subject to change before the commencement of any round.
- If the robot crosses a checkpoint, and moves off track, then the robot would be placed back on the previous checkpoint crossed.
- The decision of the judges will be final and abiding. Argument with judges in any form will lead to the disqualification of the team.
- Lego kits are strictly not allowed in any form.
- The l x b x h should not exceed 25 x 25 x 25cm.
- The net weight should not exceed 3 kgs.
- Wired or wireless robot are allowed.
- The team should contain 2 to 4 members.
- The structure of the robot should not be changed during the competition.
- If the robot by any chances falls from the bridge, the robot will be kept back to the previous checkpoint crossed with a penalty.
- During the game play, if any part of a robot is destructed/ dismantled/ damaged the participant will be given a timeout to repair at an expense of a penalty, while the next participant for will be called the play.
- No readjustment is allowed during the run.


Insert the String to be reversed :
Insert Neddle
Insert Haystack
Insert Prefix
Insert Array of strings
Write the time stamp in ISO 8601 format and an iterval in seconds.
Then press the Get Time button the two times added together.
Insert ISO 8601 Time Stamp
Insert the Interval in seconds
Feel free to email me to provide some feedback, question or just say hello!


--- layout: article article: true permalink: /blog/article/machine-learning title: "Machine learning" cover: "machine-learning.jpg" description: "Machine Learning?" time_reading_minutes: "30" categories: ["Machine Learning"] ---


Welcome To My Site
MAKE THE WORLD A BETTER PLACE.
The page you are looking for is empty. Please
go for more information
.


College of Health Professions Directory
Physical Therapy Directory
Physician Assistant Studies Directory
Public Health Directory
Clinical Medical Psychology Directory
Description
Education
Clinical Expertise
Teaching Responsibilities
Professional Activities/Memberships
Certifications
Scholarly Activity
Publications
Presentations/Posters
Awards/Recognition
Active Grants/Contracts
Research Interests


{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
×
{{ message }}
{% endfor %} {% endif %} {% endwith %}
Reset Admin password
API
Run History
Home
Logout
API Users
Scheduled Tasks
Select:
API username:
Email address:
Notification:
LDAP User:
Created:
Modified:
{% for user in apiusers %}
{{user.username}}
{{user.email}}
{{user.notify}}
{{user.ldap_user}}
{{user.created}}
{{user.updated}}
{% endfor %}
Select All
Delete selected
Confirm
×
Are you sure you want to delete this API user?
Edit API user
×
Confirm
×
Are you sure you want to delete these API users?
Reset Admin credentials
×


Overview
Classes: Timer, TimerTask, TimerTaskAdapter
Classes
class Timer
A Timer allows to schedule tasks (TimerTask objects) for future execution in a background thread.
class TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer.
class TimerTaskAdapter
This class template simplifies the implementation of TimerTask objects by allowing a member function of an object to be called as task.


---
layout: post
title: Build Free Marketing Web Sites Using GitHub Pages
date: 2013-12-17
comments: false
author: Craig Oda
tags : [github]
---
GitHub announced major upgrades to their Pages site yesterday. I woke up, read the news, and immediately created a new project site in six minutes.
{{excerpt_separator}}
GitHub announced major upgrades to
their Pages site yesterday. I woke up, read the news, and immediately created a new project site in six
minutes. I recorded my first impressions of the tool.
The automatic page generator is a great way to get the site started from a template. Nice features
include:
- Nifty button to fork the repository;
- Easy download of .zip and .tgz archives of the repository;
- Attractive banner, title, and subhead style automatically created;
- Easy import of README.md
I was able to add in images of the applications running.
However, I had to edit the markdown language and then find the URL for the graphic file. This might take
a bit of documentation if you have your marketing team promoting the project site.
After the project site was created, I created a Google
Analytics ID and inserted the tracking code directly into the HTML. To accomplish this, the marketing/social
media team may need some help to avoid dropping the code snippet into the wrong place in HTML document.
I researched this process on Google and it seems that
you'll need to access the gh-pages branch from within GitHub, not GitHub Pages.
Select the gh-pages branch.
select index.html.
Once you open index.html, click on the Edit button.
When you click on the Edit button, you'll see the code for editing. Note that the default background is
black, not gray. If it's not black, make sure you clicked on the Edit button.
At this stage, you can edit the HTML code, your scripts,
or drop in the Google Analytics code snippet.
The unfortunate part of this process is that whoever is
updating the project site is going to need to know at least a minimal of HTML.
An example campaign using GitHub Pages might involve
these steps:
- Set up repository to gather code examples from the community. For example, if you want to have people use
your SDK, then you can solicit code examples and accept them with GitHub;
- Seed the repository with example code from your own staff;
- Set up GitHub Pages project site with both technical and marketing information;
- Track GitHub Pages with Google Analytics or other marketing automation tool;
- Set up ongoing PR campaign to drive traffic to the project site;
- Set up ongoing social media program to provide updates to code examples, buzz;
- Highlight great code and people using blogs and social media.
Kunalo can handle all of these steps for you as part of a developer relations in a box campaign.
GitHub
Pages are relatively new and right now the tool doesn't bring new functionality to marketing campaigns. For
example, there's limited social interaction between the marketing GitHub Pages site and the GitHub repository site.
The analytics are handled by Google Analytics, nothing new. Although you can gain the same
functionality on your corporate site and roll the marketing analytics into your existing marketing automation
package, I feel that GitHub Pages fills a useful niche.
GitHub Pages offer a fast and easy way to create
software development project sites that offer community-contributed code. Due to the ease of creating the site
and value of the GitHub brands, I'll give this a thumbs up for community-contributed code. Hopefully, this
will fall under the same, fairly open, corporate usage guidelines as a Facebook Page, Twitter Feed, corporate blog,
or YouTube channel.
In order to attract more developers to an SDK, library, or platform, we're going to need to see more tools to
organize, collect, and distribute code examples. We're also going to need to integrate this process with the
marketing promotion of the code examples. This is a great early step and I encourage GitHub to keep adding tools
for marketers.


And a reply!
From:
Michael Grinich
Sent:
Tuesday, November 8, 2016 12:02:48 PM
To:
Evan Morikawa
Cc:
Michael Grinich
Subject:
Test folded email
Bla bla
--Michael


| Name: mrs.nikitha | Reg No: 3-10smmhc18 |
|---|---|
| Age / Sex:24/f | Contact No:9945012126 |
| Marital Status: 9 months | Date:4/10/18 |
| Occupation:teacher arts - | Dr. pjfp |
| Address:native of mahboobnagar.in blore since marriage. | DIAGNOSIS- |
Many sexual abuse in childhood. Felt bad and aversion to boys.
Irregular menses once in 2 months
Hairfall.
On thyroxin 75 mg. first time came to know about it 2012 by irregular periods and weight gain.
Wants cold weather. Hot pt.
Rx:
Staphysagria1m/nat mur 1m – 4-4-4-4.
Rub 60 – 1-0-1b/food.
Disc 4-0-4.
Plain pills 4 pills morning b/food.
Husband: competitive. Keeps talking tht he is very understanding and trying to keep his wife happy. Desire is ther but says he promised her and doesn’t
1/11/18: no menses. Lmp: july 20/07/18. Irritation if anything is not happening correct time. Feels like weight gain is there. Hair fall and digestion problems reduce… if eats papaya or nuvvulu imm gets pimples all over even in scalp. If drinks water more finds tuf for urine problem 20 times a day.
Rx:
Sulphur 200 – evening 4 pills b/food.
Apis 30 – 4-4-4-4.
Rub 60 – 1-0-1.
Folliculinum200 – 1 tab night b/food.
Nat sulph 6x 4-0-4
Staphysagria 200 – 4 doses – weekly once.


Allegations over cherry blossom party bloom into fresh document scandal for Abe
The administration of Prime Minister Shinzo Abe has been facing mounting criticism again for its handling of documents — this time concerning a state-funded annual cherry blossom-viewing party at the heart of yet another cronyism scandal.
The Abe administration was previously criticized for failing to immediately confirm documents related to a scandal involving the Kake Educational Institution, headed by a close friend of the prime minister. The administration was also roundly condemned for tampering with papers related to a scandal concerning Moritomo Gakuen, a school operator that had ties to the prime minister’s wife, Akie.
The government has told the Diet that the guest list for this year’s party, hosted by the prime minister, was destroyed May 9, the same day that a Japanese Communist Party lawmaker made a disclosure request for related documents.
At a Diet session on Wednesday, a senior Cabinet Office official explained that the timing was a mere coincidence and occurred due to a variety of factors. The official claimed that the papers containing the guest list were supposed to be destroyed soon after the April party, but a large shredder was unavailable at the time.
Chief Cabinet Secretary Yoshihide Suga told a news conference Thursday that the Cabinet Office was not aware of the disclosure request at that time, and that the documents were discarded in line with related rules.
RELATED STORIES
- Japan may halve guest list for future cherry-blossom parties as Abe takes flak
- Abe becomes Japan's longest-serving prime minister
- Abe admits involvement in guest selection for publicly funded cherry blossom-viewing party
- Deputy PM Taro Aso says he invited 100 to 200 supporters to Tokyo cherry blossom party
- Abe's push to change Japan's Constitution hits roadblock as parties scrap Diet discussion
- Sake from Abe's home prefecture served at controversial Tokyo cherry blossom party
According to Suga, the cherry blossom party had about 15,000 guests this year, with some 6,000 of them invited on the recommendation of people with ties to the ruling Liberal Democratic Party and around 1,000 others recommended by the prime minister.
Opposition lawmaker Hideya Sugio on Wednesday pointed out that there were members of organized crime groups present at the event. Responding to the question, Suga later said he can’t deny the possibility given that the Cabinet Office was in charge of the guest list and investigative authorities didn’t conduct background check of the guests invited.
Abe has faced allegations that he has used the publicly funded party for his own benefit by inviting scores of supporters.
Amid mounting doubts about the guest selection, the government has decided to cancel next year’s event and review the scheduling process.
Speaking to reporters Thursday, Yukio Edano, leader of the main opposition Constitutional Democratic Party of Japan, criticized the government for the scrapping of the guest list.
“The Abe administration is not interested in information disclosure at all,” Edano argued.
He noted that although the electronic data of the guest list may have been deleted, it might be possible to recover the data.
GET THE BEST OF THE JAPAN TIMES IN FIVE EASY PIECES WITH TAKE 5
JOIN THE CONVERSATION


Hand-crafted crepe paper flowers
No water required!
Let me know what flowers I can make for your special someone or event Send an email to:
fauxfloracreations@gmail.com


Cannot find Domain.
Domain does not exist!
Domain not found in Power DNS API (or) domain name is invalid. You may return to the dashboard.
{% extends "base.html" %} {% block title %}
Domain not found in Power DNS API (or) domain name is invalid. You may return to the dashboard.


Parental Controls
Congratulations! This host is already registered.
You can make changes below.
Enjoy.
Name
IP
MAC
Owner
save
saved:
{[host.name]}
{[host.ip]}
{[host.mac]}
{[host.owner]}


| 20110923 | [Talk] [Slides] What is Singular Learning Theory?. McGill Statistics Seminar. McGill University, Montreal, Canada. |
| 20110817 | [Talk] [Notes] Sparse Coding and Why it Works. Berkeley Algebraic Statistics Seminar. Berkeley, CA. |
| 20110810 | [Talk] [Notes] Why Sparse Coding Works. DARPA Deep Learning Workshop. San Jose, CA. |
| 20101116 | [Talk] [Notes] Asymptotics of Laplace Integrals in Statistics. Student Harmonic Analysis/PDE Seminar. Berkeley, CA. |
| 20100826 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. Leibniz University, Hannover, Germany. |
| 20100823 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. RICAM, Linz, Austria. |
| 20100719 | [Talk] [Notes] Asymptotics of Laplace Integrals & What is a Blow-up?. Summer Seminar. Berkeley, CA. |
| 20100507 | [Talk] [Notes] Tropical Implicitization. Math 275 Tropical Geometry. Project presentation. |
| 20100426 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. Analysis Seminar. Berkeley, CA. |
| 20100420 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. Alg Stats Seminar. Berkeley, CA. |
| 20100328 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. AMS Algebraic Statistics. Lexington, KY. |
| 20100125 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. Chinese Academy of Sciences, Beijing. |
| 20090421 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. UPenn, PA. |
| 20090408 | [Talk] [Slides] Log Canonical Thresholds and Statistical Models. MSRI, CA. |
| 20090319 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. UCSD, CA. |
| 20090119 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. NTU, Singapore. |
| 20090115 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. NUS, Singapore. |
| 20081217 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. MSRI Algebraic Statistics. Berkeley, CA. |
| 20081113 | [Talk] [Slides] Exact Evaluation of Marginal Likelihood Integrals. Math 239/Stat 260 Algebraic Statistics class lecture. |
| 20080915 | [Talk] [Poster] Exact Evaluation of Marginal Likelihood Integrals. SAMSI Algebraic Methods in Systems Biology and Statistics. Research Triangle Park, NC. |
| 20080827 | [Talk] [Slides] Exact Evaluation of Marginal Likelihood Integrals. CACAO seminar. UC Davis, CA. |
| 20080501 | [Talk] [Slides] Exact Evaluation of Marginal Likelihood Integrals. Math 239 Discrete Mathematics for the Life Sciences project presentation. |
| 20080329 | [Talk] [Slides] Relations among Principal Minors of a Matrix. AMS Algebraic Geometry of Matrices and Determinants. Baton Rouge, LA. |
| 20071218 | [Talk] [Slides] Relations among Principal Minors of a Matrix. Reine und Angewandte Algebra. MA 313. |
| 20070928 | [Talk] [Notes] Relations between the Principal Minors of a 4x4 Matrix. Algebraic Geometry Seminar. 939 Evans. |
| 20101209 | [Paper] [Errata] [Class] Unbounded Convex Semialgebraic Sets as Spectrahedral Shadows. Math 275 Geometry of Convex Optimization. Project report. |
| 20101213 | [Paper] [Poster] [Class] Generalized BIC for Singular Models Factoring through Regular Models. EECS 281a/Stat 241a Statistical Learning Theory. Project report. |
| 20090514 | [Paper] [Class] Tropical Implicitization and the Hankel Matrix. Math 274 Tropical Geometry. Project report. |
| 20081210 | [Paper] [Class] Asymptotic Approximation of Marginal Likelihood Integrals. Math 239/Stat 260 Algebraic Statistics. Project report. |
| 20080515 | [Paper] [Class] Exact Evaluation of Marginal Likelihood Integrals. Math 239 Discrete Mathematics for the Life Sciences. Project report. |
| 20070508 | [Paper] [Class] Counting Gene Finding Functions. Math 127 Mathematics for Computational Biology. Project report. |
| 20050604 | [Paper] Studying Legendrian Invariants with FrontLeg. Stanford undergraduate research thesis. |
| 20150803 | SIAM Applied Algebraic Geometry |
| 20150709 | Urban Sustainability R&D Congress |
| 20150707 | Seminar on "3D Modelling and Simulation of Smart Nations" (Embassy of the Kingdom of the Netherlands) |
| 20150629 | 8th Annual CENSAM Workshop |
| 20150407 | IEEE ISSNIP 07-09 Apr. |
| 20140923 | ACM MSWIM |
| 20140930 | Futurescape 2025 |
| 20140715 | NIMS Algebraic Statistics |
| 20140421 | IEEE ISSNIP 21-24 Apr. |
| 20130719 | X-periment! 19-21 Jul. |
| 20130705 | National Science Challenge |
| 20130521 | CMND Motivic Invariants and Singularities |
| 20130508 | ICM Outreach |
| 20121002 | [Talk] [Slides] ETH Zurich |
| 20120928 | [Event] Algebraic Statistics in Europe. 28-30 Sep. |
| 20120921 | [Talk] [Slides] Computational Algebra Seminar, Berkeley. |
| 20120919 | [Talk] [Slides] Berkeley Stats |
| 20120910 | [Talk] [Slides] UC Davis |
| 20120831 | [Talk] [Slides] EECS Autonomous Group Meeting |
| 20120713 | [Talk] [Slides] MMDS |
| 20120613 | [Talk] [Slides] Penn State |
| 20120523 | [Talk] Tensor Cumulants, Computational Algebra Seminar, Berkeley. |
| 20120416 | [Talk] [Slides] [Software] [Computation] University of Washington, Seattle. |
| 20120201 | [Talk] San Francisco State University talk |
| 20120100 | [Seminar] Computational Algebra Seminar |
| 20111212 | [Talk] [Slides] AIM Singular Learning Theory, Palo Alto, CA. 12-16 Dec. |
| 20111108 | [Talk] [Slides] York University, Toronto, ON, Canada. |
| 20111107 | [Talk] [Slides] University of Chicago, Chicago, IL. |
| 20111027 | [Talk] [Slides] Computing Resolutions: How and Why. Math 275 Algebraic Curves. Berkeley, CA. |
| 20111022 | [Talk] [Slides] AMS Computational and Algorithmic Algebraic Geometry, Salt Lake City, UT. 22-23 Oct. |
| 20111019 | [Talk] [Slides] Bayesian Statistics and Singular Learning Theory. BASS. Berkeley, CA. |
| 20110921 | [Talk] [Slides] McGill University, Montreal, QC, Canada. 21-24 Sep. |
| 20110900 | [Seminar] Berkeley Algebraic Statistics Seminar (BASS) (Co-organizer with Andrew Critch). 939 Evans Wed 2-3pm. |
| 20110509 | [Thesis] Algebraic Methods for Evaluating Integrals in Bayesian Statistics. PhD dissertation. |
| 20101004 | [Event] AIM: Parameter identification in graphical models. 04 Oct - 08 Oct. |
| 20101116 | [Talk] [Notes] Asymptotics of Laplace Integrals in Statistics. Student Harmonic Analysis/PDE Seminar. 740 Evans 3:40-5:30pm. |
| 20100900 | [Seminar] Mirror Symmetry Seminar |
| 20100900 | [Seminar] Student Discrete Math Seminar |
| 20100900 | [Seminar] Discrete Math Seminar |
| 20100900 | [Seminar] Topological Combinatorics Seminar |
| 20100900 | [Class] Stat 241A Statistical Learning Theory |
| 20100900 | [Class] Math 275 Geometry of Convex Optimization |
| 20100826 | [Talk] [Slides] Workshop on Resolution of Singularities, Hannover. |
| 20100823 | [Talk] [Slides] Johann Radon Institute for Computational and Applied Mathematics (RICAM) |
| 20100808 | [Event] Macaulay2 Workshop. 08 Aug - 12 Aug. |
| 20100802 | [Event] FPSAC. 02 Aug - 08 Aug. |
| 20100719 | [Talk] [Notes] Asymptotics of Laplace Integrals & What is a Blow-up? Summer Seminar 939 Evans 5pm. |
| 20100426 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. PDE/Analysis Seminar 891 Evans 3:10pm. |
| 20100420 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. Algebraic Statistics Seminar 939 Evans 3:45pm. |
| 20100326 | [Talk] [Slides] AMS Algebraic Statistics, Lexington, Kentucky. 26 Mar - 28 Mar. |
| 20100117 | [Talk] [Slides] Chinese Academy of Sciences, Beijing. 17 Jan - 30 Jan. |
| 20100100 | [Seminar] Optimization Seminar |
| 20100100 | [Seminar] Discrete Math Seminar |
| 20090900 | [Seminar] Grad Student Colloqium |
| 20090900 | [Seminar] Department Colloqium |
| 20090900 | [Seminar] MSRI-Evans Talks |
| 20090900 | [Seminar] Optimization Seminar |
| 20090900 | [Seminar] Discrete Math Seminar |
| 20090900 | [Seminar] Commutative Algebra & Algebraic Geometry Seminar |
| 20090900 | [Seminar] Tropical Geometry Seminar |
| 20090900 | [Seminar] Student Algebraic Geometry Seminar |
| 20090900 | [Seminar] Student Tropical Geometry Seminar |
| 20090900 | [Event] MSRI Program on Tropical Geometry |
| 20090900 | [Event] Teaching Workshop |
| 20090900 | [Teaching] Math 1B Section |
| 20090615 | [Event] MSRI Workshop on Toric Varieties. Berkeley, CA. 15 Jun - 26 Jun. |
| 20090421 | [Talk] [Slides] Asymptotic Approximation of Marginal Likelihood Integrals. UPenn, PA. 14:30-15:30. |
| 20090408 | [Talk] [Slides] Log Canonical Thresholds and Statistical Models. MSRI, CA. 16:00-17:00. |
| 20090319 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. UCSD, CA. 11:30-12:00. |
| 20090119 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. NTU, Singapore. 10:00-11:00. |
| 20090115 | [Talk] [Slides] Polynomial Relations among Principal Minors of a Matrix. NUS, Singapore. 15:00-16:00. |
| 20090100 | [Seminar] MSRI Alg Geom Grad Student (Erman, Tucker) |
| 20090100 | [Seminar] MSRI/Evans Talks (Algebraic Geometry) |
| 20090100 | [Seminar] Discrete Mathematics (Sanyal, Shiu, Sturmfels) |
| 20090100 | [Class] Math 274 Tropical Geometry (Bernd Sturmfels) |
| 20081215 | [Talk] [Slides] MSRI Workshop on Algebraic Statistics. Berkeley, CA. 15 Dec - 18 Dec. |
| 20080913 | [Talk] [Poster] SAMSI Program on Algebraic Methods in Systems Biology and Statistics. Research Triangle Park, NC. 13 Sep - 18 Sep. |
| 20080900 | [Seminar] Discrete Mathematics (Bernd Sturmfels) |
| 20080900 | [Seminar] Mathematical & Computational Biology (Lior Pachter) |
| 20080900 | [Seminar] Rest of Algebraic Geometry (David Eisenbud, Daniel Erman) |
| 20080900 | [Seminar] Student Algebraic and Arithmetric Geometry (David Brown, Daniel Erman, Tony Varilly) |
| 20080900 | [Class] Stat 260 Algebraic Statistics (Bernd Sturmfels) |
| 20080900 | [Class] Math 261A Lie Groups (Mark Haiman) |
| 20080827 | [Talk] [Slides] Exact Evaluation of Marginal Likelihood Integrals. CACAO seminar. UC Davis, CA. 13:00-15:00. |
| 20080808 | [Event] [Syllabus] Qualifying Exam. 09:30-12:30. |
| 20080707 | [Event] MSRI Workshop on Geometry and Representation Theory of Tensors. Berkeley, CA. 07 Jul - 20 Jul. |
| 20080519 | [Event] Mathematical Explorations in Contemporary Statistics. Sestri Levante, Italy. 19 May - 20 May. |
| 20080511 | [Event] Oberwolfach Seminar on Algebraic Statistics. Oberwolfach, Germany. 11 May - 17 May. |
| 20080412 | [Event] Graduate Student Combinatorics Conference. UC Davis, CA. 12 Apr - 13 Apr. |
| 20080328 | [Talk] [Slides] AMS Sectional Meeting on Algebraic Geometry of Matrices and Determinants. Baton Rouge, LA. 28 Mar - 30 Mar. |
| 20080100 | [Paper] [Slides] [Website] Bayesian integrals project (Math 239, Stat 260) |
| 20080100 | [Seminar] Mentor Lecture Series (Co-organizer with Diogo Oliveira e Silva) |
| 20080100 | [Class] Math 239 Discrete Mathematics for the Life Sciences (Lior Pachter) |
| 20080100 | [Class] Stat 260 Computational and Mathematical Population Genetics (Yun Song) |
| 20080100 | [Class] Math 242 Symplectic Geometry (Fraydoun Rezakhanlou) |
| 20080100 | [Class] Math 250B Multilinear Algebra (David Eisenbud) |
| 20080100 | [Class] [Notes] Math 290 Toric Varieties (Steven Sam) |
| 20071218 | [Talk] [Slides] Relations among Principal Minors of a Matrix. Reine und Angewandte Algebra. MA 313. 14:15-15:00. |
| 20071211 | [Event] Research Trip. Berlin, Germany. 11 Dec - 11 Jan. |
| 20071005 | [Event] Meeting on Asymptotic Approximation of Bayesian Integrals. Univ. of Chicago, IL. 05 Oct - 08 Oct. |
| 20070928 | [Talk] [Notes] Relations between the Principal Minors of a 4x4 Matrix. Algebraic Geometry Seminar. 939 Evans. 15:45-18:00. |
| 20070900 | [Seminar] Mentor Lecture Series (Co-organizer with Diogo Oliveira e Silva) |
| 20070900 | [Class] Math 212 Complex Analysis in Several Variables (Michael Christ) |
| 20070900 | [Class] Math 252 Representation Theory (Tsit-Yuen Lam) |
| 20070900 | [Class] Math 256A Algebraic Geometry (Martin Olsson) |
| 20070723 | [Event] IMA PI Summer Program for Graduate Students in Applicable Algebraic Geometry. Texas A&M, College Station, TX. 23 Jul - 10 Aug. |
| 20070709 | [Event] MSRI Summer Graduate Workshop in Continuous Optimization and Applications. Berkeley, CA. 09 Jul - 20 Jul. |
| 20070100 | [Class] [Paper] Math 127 Mathematics for Computational Biology (Bernd Sturmfels) |
| 20070100 | [Class] Math 220 Methods of Applied Mathematics (Alexandre Chorin) |
| 20070100 | [Class] Math 250B Multilinear Algebra (Giulio Caviglia) |
| 20060900 | [Class] Math 215A Algebraic Topology (Peter Teichner) |
| 20060900 | [Class] Math 249 Algebraic Combinatorics (Vera Serganova) |
| 20060900 | [Class] Math 250A Groups, Rings, Fields (George Bergman) |


Hello, I am a passionate lifelong learner. What does that mean to me personally? It means I am a curious person who enjoys figuring out how things work. When faced with a challenge or a ‘bug’ in a line of code, I see it as a learning opportunity. Right now, I don't know everything there is about web development but that's OK, I accept the challenge
My current stack of languages:
HTML - CSS/SASS - BOOTSTRAP - MATERIALIZE CSS - JAVASCRIPT
HTML - CSS
After finishing 100 days of code I decided to do it again, switching my focus from HTML/CSS/JavaScript to ES6/React.js. This challenge has strengthened my time management, organization and overall programming skills, and I cannot wait to see what another 100 days will do
visit sourceHTML - SASS - MATERIALIZ CSS - JAVASCRIPT
Studying can get boring sometimes so I decided to make it fun with this quiz game. The questions focus on HTML JavaScript and CSS. The game keeps score but if you get one wrong answer you lose a point.
visit source


This space has no applications
Applications are shown once you deploy your code through a pipeline onto the defined environments.
Stage
Build #{{buildconfig.lastVersion}} - {{buildconfig.statusPhase || 'Unknown'}}
Run
Build #{{buildconfig.lastVersion}} - {{buildconfig.statusPhase || 'Unknown'}}


{% extends "layout_bsa.html" %} {% block page_title %} What is your status? - Claim your NHS Pension {% endblock %} {% block content %} {% include "includes/phase_banner_beta.html" %} {% include "includes/back.html" %} Claim your NHS Pension What type of work did the member do in their role? Admin and clerical Ambulance person Ancillary Medical and dental Nurse or midlife Professional and technical Other Next {% endblock %}
Claim your NHS Pension


Create new coins
Address
Amount
Send
Result:
Check balance of wallet
Address
Check balance
Balance:
Recharge Your Account
Address
Amount
Recharge
Balance:


1.This spec will guide UI development and site design
2.The site will be hosted by a third party, like GoDaddy
or Amazon
3.The site will initially handle:
1.5 simultaneous users
2.1,000 shippers
3.1,000 truckers
4.10,000 bids
5.10,000 loads
4.The site will back up data hourly or more
frequently
5.Would like to have some fail over to another site
7.Simplicity is key, think Hipmunk, Groupon, etc
8.We will want etrust and BBB logos to get folks
comfortable with a new site
9.We will want to use HTTPS for the credit card area
10.“Next” is just scrolling
11.Input boxes should be big text 16 or larger font
12.Work on IE 6,7,8; FireFox 4,5,6,7; Safari ?,
Chrome?
14.Top level bar is PMS 541 with white text, second level
is PMS 5425 (#8499a5)
15.Good to use black text in white text boxes, hipmunk,
apple, groupon
16.
–


{% include head.html %}
{% include adventurePages/capeTown/nav.html %} {% include adventurePages/capeTown/header.html %} {% include adventurePages/capeTown/adventureTitle2.html %} {% include adventurePages/capeTown/topiconscape.html %} {% include adventurePages/capeTown/mainbodycape.html %} {% include adventurePages/capeTown/contactAdv.html %} {% include adventurePages/capeTown/aside.html %} {% include adventurePages/capeTown/footer.html %} {% include scripts.html %}


Skip to main content
BETA
This is a new service - your feedback will help this service.
Register your preference for sharing health data


# Copyright (c) 2016 by Mike Jarvis and the other collaborators on GitHub at
# https://github.com/rmjarvis/Piff All rights reserved.
#
# Piff is free software: Redistribution and use in source and binary forms
# with or without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the disclaimer given in the accompanying LICENSE
# file.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the disclaimer given in the documentation
# and/or other materials provided with the distribution.
"""
.. module:: interp
"""
import numpy as np
from .util import write_kwargs, read_kwargs
[docs]class Interp(object):
"""The base class for interpolating a set of data vectors across the field of view.
In general, the interpolator is agnostic as to the meaning of the parameter vectors.
These parameter vectors are passed as simple numpy arrays. They are imbued meaning by
a Model instance. Thus, the same interpolators may be used with many different Model
types.
The principal ways that interpolators will differ are:
1. Which properties of the star are used for their interpolation.
2. What functional form (or algorithm) is used to interpolate between measurements.
3. Whether the interpolator assumes each sample has a non-degenerate parameter fit, vs
getting a differential quadratic form for chisq from each sample.
The answer to #3 is given in a boolean property degenerate_points.
This is essentially an abstract base class intended to define the methods that should be
implemented by any derived class.
"""
[docs] @classmethod
def process(cls, config_interp, logger=None):
"""Parse the interp field of the config dict.
:param config_interp: The configuration dict for the interp field.
:param logger: A logger object for logging debug info. [default: None]
:returns: an Interp instance
"""
import piff
if 'type' not in config_interp:
raise ValueError("config['interp'] has no type field")
# Get the class to use for the interpolator
# Not sure if this is what we'll always want, but it would be simple if we can make it work.
interp_class = getattr(piff, config_interp['type'])
# Read any other kwargs in the interp field
kwargs = interp_class.parseKwargs(config_interp, logger)
# Build interp object
interp = interp_class(**kwargs)
return interp
[docs] @classmethod
def parseKwargs(cls, config_interp, logger=None):
"""Parse the interp field of a configuration dict and return the kwargs to use for
initializing an instance of the class.
The base class implementation just returns the kwargs as they are, but derived classes
might want to override this if they need to do something more sophisticated with them.
:param config_interp: The interpolator field of the configuration dict, config['interp']
:param logger: A logger object for logging debug info. [default: None]
:returns: a kwargs dict to pass to the initializer
"""
kwargs = {}
kwargs.update(config_interp)
kwargs.pop('type',None)
return kwargs
[docs] def getProperties(self, star):
"""Extract the appropriate properties to use as the independent variables for the
interpolation.
The base class implementation returns the field position (u,v) as a 1d numpy array.
:param star: A Star instance from which to extract the properties to use.
:returns: A numpy vector of these properties.
"""
return np.array([ star.data['u'], star.data['v'] ])
@property
def property_names(self):
"""List of properties used by this interpolant.
"""
return ('u', 'v')
[docs] def initialize(self, stars, logger=None):
"""Initialize both the interpolator to some state prefatory to any solve iterations and
initialize the stars for use with this interpolator.
The nature of the initialization is specific to the derived classes.
The base class implentation calls interpolateList, which will set the stars to have
the right type object in its star.fit.params attribute.
:param stars: A list of Star instances to use to initialize.
:param logger: A logger object for logging debug info. [default: None]
:returns: a new list of Star instances
"""
return self.interpolateList(stars)
[docs] def solve(self, stars, logger=None):
"""Solve for the interpolation coefficients given some data.
:param stars: A list of Star instances to interpolate between
:param logger: A logger object for logging debug info. [default: None]
"""
raise NotImplementedError("Derived classes must define the solve method.")
[docs] def interpolate(self, star, logger=None):
"""Perform the interpolation to find the interpolated parameter vector at some position.
:param star: A Star instance to which one wants to interpolate
:param logger: A logger object for logging debug info. [default: None]
:returns: a new Star instance holding the interpolated parameters
"""
raise NotImplementedError("Derived classes must define the interpolate method.")
[docs] def interpolateList(self, stars, logger=None):
"""Perform the interpolation for a list of stars.
The base class just calls interpolate(star) for each star in the list, but in many
cases, this may be more efficiently done with a matrix operation, so we make it
available for derived classes to override.
:param stars: A list of Star instances to interpolate.
:param logger: A logger object for logging debug info. [default: None]
:returns: a list of new Star instances with interpolated parameters
"""
return [ self.interpolate(star) for star in stars ]
[docs] def write(self, fits, extname):
"""Write an Interp to a FITS file.
Note: this only writes the initialization kwargs to the fits extension, not the parameters.
The base class implemenation works if the class has a self.kwargs attribute and these
are all simple values (str, float, or int).
However, the derived class will need to implement _finish_write to write the solution
parameters to a binary table.
:param fits: An open fitsio.FITS object
:param extname: The name of the extension to write the interpolator information.
"""
# First write the basic kwargs that works for all Interp classes
interp_type = self.__class__.__name__
write_kwargs(fits, extname, dict(self.kwargs, type=interp_type))
# Now do the class-specific steps. Typically, this will write out the solution parameters.
self._finish_write(fits, extname)
def _finish_write(self, fits, extname):
"""Finish the writing process with any class-specific steps.
The base class implementation doesn't do anything, but this will probably always be
overridden by the derived class.
:param fits: An open fitsio.FITS object
:param extname: The base name of the extension
"""
raise NotImplementedError("Derived classes must define the _finish_write method.")
[docs] @classmethod
def read(cls, fits, extname):
"""Read an Interp from a FITS file.
:param fits: An open fitsio.FITS object
:param extname: The name of the extension with the interpolator information.
:returns: an interpolator built with a information in the FITS file.
"""
import piff
assert extname in fits
assert 'type' in fits[extname].get_colnames()
assert 'type' in fits[extname].read().dtype.names
# interp_type = fits[extname].read_column('type')
interp_type = fits[extname].read()['type']
assert len(interp_type) == 1
try:
interp_type = str(interp_type[0].decode())
except AttributeError:
# fitsio 1.0 returns strings
interp_type = interp_type[0]
# Check that interp_type is a valid Interp type.
interp_classes = piff.util.get_all_subclasses(piff.Interp)
valid_interp_types = dict([ (kls.__name__, kls) for kls in interp_classes ])
if interp_type not in valid_interp_types:
raise ValueError("interpolator type %s is not a valid Piff Interpolator"%interp_type)
interp_cls = valid_interp_types[interp_type]
kwargs = read_kwargs(fits, extname)
kwargs.pop('type',None)
interp = interp_cls(**kwargs)
interp._finish_read(fits, extname)
return interp
def _finish_read(self, fits, extname):
"""Finish the reading process with any class-specific steps.
The base class implementation doesn't do anything, but this will probably always be
overridden by the derived class.
:param fits: An open fitsio.FITS object.
:param extname: The base name of the extension.
"""
raise NotImplementedError("Derived classes must define the _finish_read method.")


To active Private search protection
1. Go to the address bar and type
"p"
2. Press ↹
Tab
key
Your private search is now activated,
Start Search privately!


{{ main.dogs.length }} Dogs available
Destroy first dog from list
Add new dog
Destroy specific dog
{{ item.name }}
{{ dog.name }}


Default behaviours
Elegant Alerts.
Stacked Confirmations
Success, error, warning
Need input?
Its also a Dialog.
Not so important modal
Loading from remote places
Some actions maybe critical
Responds to keystrokes
Automatically centered
Loading images
Clean animations
Drag me around
Dialog types
Dialog types helps give the user a hint as to what the dialog is about