Meeting 1
Location: MIT
Date: 22nd October, 2015
Time: 2pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Fereshteh Pourhassan Asli Ardeh
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
- Plan how to start the project
- Figuring out how much the group members know about topics given by Rosemarie
- Decide on who will play what role
Notes, Discussions, Issues:
- After talking to everyone we came to an agreement that CSS and Web Frameworks and server side communication were the two topics we were most interested in. But there was still some confusion. So we decided to research all of the topics at home and let each other know what we think in the next meeting.
- Sadia was chosen as the product owner.
- Sadia came up with an idea about the non-technical part of the project. The idea is to present our group and the experience throughout making the website. We all agreed on it.
- Fereshteh proposed we use dropdown menus to access our meeting minutes from the website.
- Sukhpreet suggested that we rotate the role of chairperson every meeting and then decide whether we want to keep changing chairpersons or not. We agreed on it.
- Everyone decided to wait until the next class to start any practical work on the project as enough instructions weren’t provided.
Next Meeting:
Location: MIT
Date: 28th October, 2015
Time: 1pm
Possible Discussions in Next Meeting:
- Decide on a topic.
- Discuss what part of the website to develop first.
Expected Progress by Next Meeting:
Meeting 2
Location: MIT
Date: 28th October, 2015
Time: 1:15pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Junior Laulala
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
- Pick a topic
- Pick individual topics
- Pick a layout
What’s been done since the last meeting:
Everyone researched on the topics given.
Progress Update:
Notes, Discussions, Issues:
- Based on the research everyone did since the last meeting, we picked CSS as our main topic.
- Everyone chose their individual topics.
| Sadia Afrin |
LESS\Stylus\Sass |
| Anita Reddy |
CSS3 |
| Fereshteh Pourhassan Asli Ardeh |
Normalize.CSS |
| Sukhpreet Singh |
HTML5 Boilerplate |
| Junior Laulala |
Bootstrap |
- We discussed how we want our website to look and Junior drew a basic sketch of the layout.
- Fereshteh will bring templates of websites in the next meeting.
-
Sadia, Fereshteh and Junior contributed in coming up with ideas for the drop down menus like name of the menus, what content should be inside them etc.
- Sukhpreet suggested to make the website fixed width.
- Anita came up with background ideas for the website.
- We decided on a logo and Junior will draw the image.
- For the non-technical part of the website we decided to add slideshows and videos. Also there will a part where information about each member of the team will be found.
- After discussing the primary layout of the website, Sadia was given the responsibility to code the skeleton of the website for everyone to look at and approve.
Next Meeting:
Location: MIT
Date: 29th October, 2015
Time: 1pm
Possible Discussions in Next Meeting:
- Decide on who will code which part of the website.
- Talk about personalities and figure out pros and cons of our group’s personality mix.
- Decide on the logo.
Expected Progress by Next Meeting:
Meeting 3
Location: MIT
Date: 29th October, 2015
Time: 1:15pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Sukhpreet Singh
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
- Talk more about the layout of the website. Decide on colours and styles for the skeleton.
- Decide who will code which part of the website.
- Look at logo samples and pick one.
What’s been done since the last meeting:
- Sadia created a basic skeleton of the website.
- Junior drew several logos for the team to look at and pick.
- Fereshteh collected appropriate templates for the team to look at.
Progress Update:
Notes, Discussions, Issues:
- We looked at a template and liked it and decided to do something similar to it with our website.
- Sadia will modify the skeleton of the website again as the team decided to make some changes to the primary one according to the template.
- Sukhpreet will code the drop down menus as buttons and also an embedded slide show.
- Fereshteh will make the search box for the website if we decide to have one. As the functionality of the search box may not be available, we are still deciding what to do about it.
-
We decided to put the code on google docs for easier access.
- We started collecting photos for our non technical part of the website.
- Junior will finalize the logo.
Next Meeting:
Location: MIT
Date: 3rd October, 2015
Time: 1pm
Possible Discussions in Next Meeting:
- Discuss further about code of different pages of the website.
- Assign everyone to work on different webpages.
Expected Progress by Next Meeting:
Meeting 4
Location: MIT
Date: 4th November, 2015
Time: 1:40pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Anita Reddy
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
- Assigning everyone to different pages.
- Help each other with code on pages.
- Take photos for "Gallery" page and "Who We Are" page.
What’s been done since the last meeting:
- Sadia modified the layout of the website again as discussed.
- Junior created the logo.
Progress Update:
The slide show hasn't been created yet.
Notes, Discussions, Issues:
- After talking to Rosemarie, we decided to make a few changes to the navigation bar. We decided to put the logo and the bar side by side so that we use the space properly.
- Discussed how the "Our Personalities" page should be and Anita came up with some ideas for pictures and text on the page.
- Fereshta decided to do the "About Us" page.
- Junior decided to do the "Who we are" page.
- Sukhpreet was already working on the slide show for the "Gallery page", so he was assigned on that page.
- Sadia decided to do "The Ride" and "Meeting Minutes" pages.
- We all decided to work on our individual topics.
Next Meeting:
Location: MIT
Date: 5th November, 2015
Time: 1pm
Possible Discussions in Next Meeting:
- Discuss more on coding that everyone is going to do.
- Help each other with whatever problem or questions they have about the website or their individual topics.
Expected Progress by Next Meeting:
Meeting 5
Location: MIT
Date: 5th November, 2015
Time: 1pm-2pm
Product Owner:
Sadia Afrin
Chairperson:
Fereshteh Pourhassan Asli Ardeh
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
Help each other code the pages that they are assigned to and their individual topics.
What’s been done since the last meeting:
- Sadia finished coding "The Ride" page.
- Sukhpreet finished coding the "Gallery" page.
- Sukhpreet created the slideshow for the website.
- Anita finished coding the "Our Personalities" page.
- Fereshteh finished coding the "About Us" page.
Progress Update:
The "Who We Are" page hasn't been created yet.
Notes, Discussions, Issues:
- Everyone looked at the pages that had been coded, and gave their opinion.
- After talking to Rosemarie, we decided to make some changes to the personality page. Anita will be responsible for that.
- As 60% of the website has been put together, we proof read all the pages.
-
Junior has to finish coding the "Who we are" page.
Next Meeting:
Location: MIT
Date: 11th November, 2015
Time: 1pm
Possible Discussions in Next Meeting:
- Put the pages for the indiviadual topics on the website.
- Discuss on how to do the presentation.
- Look at the "Who we are" page and make changes if necessary.
Expected Progress by Next Meeting:
Meeting 6
Location: MIT
Date: 11th November, 2015
Time: 1:15pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Sukhpreet Singh
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
-
Practice our presentation.
-
Look at all the webpages and fix and improve if necessary.
What’s been done since the last meeting:
-
Except, junior everyone else finished and added their individual pages.
-
Sadia planned how we can do the presentation and sent a copy of her plan to everyone through email.
Progress Update:
Notes, Discussions, Issues:
-
As junior was unable to finish coding the "Who we are" page we decided that Sadia will code the page.
-
We practiced our lines for the presentation and connected the projector to one of our computers to see how it looks on the screen.
- We decided to create a backup page for the bootstrap topic incase Junior doesn't have his research ready. The page has been connected to all
the other pages in the website so that whenever Junior gives us his research, the website will still run perfectly. Sadia will take responsibility for that.
Next Meeting:
Location: MIT
Date: 16th November, 2015
Time: 2pm
Possible Discussions in Next Meeting:
Practice our presentation.
Expected Progress by Next Meeting:
Meeting 7
Location: MIT
Date: 16th November, 2015
Time: 2pm-3pm
Product Owner:
Sadia Afrin
Chairperson:
Anita Reddy
Note Taker:
Sadia Afrin
Contacts of Group Members:
| Sadia Afrin |
<EMAIL_ADDRESS>|
| Anita Reddy |
<EMAIL_ADDRESS>|
| Fereshteh Pourhassan Asli Ardeh |
<EMAIL_ADDRESS>|
| Sukhpreet Singh |
<EMAIL_ADDRESS>|
| Junior Laulala |
<EMAIL_ADDRESS>|
Agenda:
Rehearse our presentation together.
What’s been done since the last meeting:
-
Everyone practiced their lines at home.
- Sadia created a backup page for Junior's topic.
Progress Update:
Notes, Discussions, Issues:
We found ourselves an empty class room and practiced together in front of a smart-board.


Adjusting the text alignment
If you need to centralize your text, align it to the right, or try your hand at page layout, you can adjust the text alignment in two ways:
- Pull down the Text menu.
- Select either Align Left, Center, Justify, or Align Right.
Or:
- Click one of the 4 alignment buttons (Align Left, Center, Justify, or Align Right) on the ruler.
If you don't select any text to be aligned, all text in between the first and last Return in the paragraph/line is aligned. |


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni.bamberg.wiai.minf.forflow.datagenerator.controller.algorithm.ValueCounter
public final class ValueCounter
This class has the job of calculating the available values of a value file. A value file is a simple flat file containing a single value in each line. In other words, each line is considered as a single value.
| Method Summary | |
|---|---|
static int |
calculateN(java.net.URI file)
the job of this method is to calculate the total values, that is N = Σn_i. |
static int[] |
getN(java.net.URI file)
the job of this method is to calculate the total values, that is N = Σn_i. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final int calculateN(java.net.URI file)
f(x) | | |------------ (1/N) | | |___________|______ N values
file
- the path to the file to calc the values
public static int[] getN(java.net.URI file)
f(x) | | |------------ (1/N) | | |___________|______ N values
file
- the path to the file to calc the values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


ABOUT THE CLUB:
The club was established by students and faculty members of Civil engineering department IIT Patna in the initial days of setting up of the branch. The club aims for the overall progress of students and help them to excel in all fields and also to improve and increase Student-Faculty interaction.
OBJECTIVE:
The vision is to develop into a strong platform promoting student-faculty interaction outside of the world of regular academics.
A forum where people accumulate and share their knowledge, a forum that passes on the baton through the years so that it provides a head start to students entering the department to maximize their time by taking forward successes and learning from mistakes.


Customizable peak meters, using the web audio API.
To use these meters, first create a

with a
width and height and an <audio>
element:

<audio id="my-audio" preload="metadata" controls="controls">
<source src="audio/marines_hymn.mp3" type="audio/mpeg">
</audio>
Then, at the bottom of your
tag, add the
script tag for these meters. Next, create an AudioContext
if you don’t have one already and create an AudioNode from the <audio>
element, connecting it to the destination node.
Finally, create a meter node and call the createMeter
function, passing in the Element object, the meter node, and an optional object for configuration options, like so:
Note: for this to work in Google Chrome, we have to resume the audio context after a user gesture (more info). Adding a
listener to the audio element’s play
event is one way to
do this.

In this example we used an HTML5 audio element, but these meters can work with any web audio API source node. This example was just meant to show the simplest possible use case. If you are already familiar with the web audio API adapting this example to your needs should be fairly self-explanatory, but please reach out if anything isn’t working or doesn’t make sense.
If you are compiling your javascript with a tool like browserify, webpack, or rollup, you can integrate these
meters into your site using the CommonJS require()
syntax.
First, add web-audio-peak-meter as a dev dependency to your project:
npm install --save-dev web-audio-peak-meter
Next, import the webAudioPeakMeter module into your javascript:
var webAudioPeakMeter = require('web-audio-peak-meter');
Finally, use as you would in the above example:
var myMeterElement = document.getElementById('my-peak-meter');
var myAudio = document.getElementById('my-audio');
var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var sourceNode = audioCtx.createMediaElementSource(myAudio);
sourceNode.connect(audioCtx.destination);
var meterNode = webAudioPeakMeter.createMeterNode(sourceNode, audioCtx);
webAudioPeakMeter.createMeter(myMeterElement, meterNode, {});
myAudio.addEventListener('play', function() {
audioCtx.resume();
});
(Note: the markup remains the same as in the basic example)
The following options options are supported (the third parameter of createMeter)
Contributions are welcome! I’d love to hear any ideas for how these meters could be more user-friendly as well as about any bugs or unclear documentation. If you are at all interested in this project, please create an issue or pull request on this project’s github page.
Code and documentation copyright 2016 Evan Sonderegger and released under the MIT License.


public class UserTests
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static io.victoralbertos.device_animation_test_rule.DeviceAnimationTestRule |
deviceAnimationTestRule |
androidx.test.rule.GrantPermissionRule |
mRuntimePermissionRule
Grant the test device location permissions.
|
androidx.test.rule.ActivityTestRule<LoginActivity> |
rule |
| Constructor and Description |
|---|
UserTests() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createMoodList()
Must be signed in before calling.
|
static void |
deleteMoods(int num)
Must be signed in before calling.
|
static androidx.test.espresso.ViewAction |
setChecked(boolean checked)
Custom ViewAction to turn OFF/ON any checkable object (Switch, Checkbox, etc.) that
isn't dependent on previous state.
|
void |
setUp()
Login to ?userhelper test account.
|
void |
testAddRemoveMoodEvent()
Creates three new mood events and verifies that they are created properly.
|
void |
testEditMood()
Tests creating a mood and editing the newly created mood.
|
void |
testGetMostRecent()
Creates three new mood events and checks whether the latest mood is the last created.
|
public static io.victoralbertos.device_animation_test_rule.DeviceAnimationTestRule deviceAnimationTestRule
public androidx.test.rule.ActivityTestRule<LoginActivity> rule
public androidx.test.rule.GrantPermissionRule mRuntimePermissionRule
public static void createMoodList() throws java.lang.InterruptedException
java.lang.InterruptedException
public static void deleteMoods(int num) throws java.lang.InterruptedException
num
- number of mood events to deletejava.lang.InterruptedException
public void setUp() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testAddRemoveMoodEvent() throws java.lang.InterruptedException
java.lang.InterruptedException
public void testGetMostRecent() throws java.lang.InterruptedException
java.lang.InterruptedException
public static androidx.test.espresso.ViewAction setChecked(boolean checked)
checked
- State to set the item toopublic void testEditMood() throws java.lang.InterruptedException
java.lang.InterruptedException


---
layout: page
title: "Hey, It's Marty."
subtitle: "He Writes, He Codes, He Draws."
bigimg: "img/softserveTwilightDim.jpg"
share-img: "martyav.github.io/img/softserveTwilight.jpg"
use-site-title: true
---
I'm Marty Hernandez Avedon. I'm a dev with a background in graphic design and writing.
I currently write technical docs for Microsoft and the Wikimedia Foundation. In early 2019, I interned with Wikimedia, where I updated 24 MediaWiki API docs, and created a demo app and tutorial. In 2018, I apprenticed at Microsoft, and previous to that, I worked on mobile apps and tutored adults in Swift/iOS.
Feel free to get in touch with me. I love working with new coders and supporting other folks from "untraditional" backgrounds (whatever that may mean).
Recent Posts
{% for post in paginator.posts %}
{{ post.title }}
{% if post.subtitle %}
{{ post.subtitle }}
{% endif %}
Posted on {{ post.date | date: "%B %-d, %Y" }}
{% if post.image %}
{% endif %}
{{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }}
{% assign excerpt_word_count = post.excerpt | number_of_words %}
{% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %}
[Read More]
{% endif %}
{% if post.tags.size > 0 %}
Tags:
{% if site.link-tags %}
{% for tag in post.tags %}
{{- tag -}}
{% endfor %}
{% else %}
{{ post.tags | join: ", " }}
{% endif %}
{% endif %}
{% endfor %}
{% if paginator.total_pages > 1 %}


DevOps
|
Argo, the Kubernetes-Native Workflow Engine, Joins the CNCF
(thenewstack.io)
News
|
|
|
|
Earlier this month, the Argo Project, a container-native workflow engine for Kubernetes to deploy and run jobs and applications, joined the Cloud Native Computing Foundation (CNCF) as an incubation-level hosted project. ... Read more
|
Docker Images : Part I - Reducing Image Size
(ardanlabs.com)
Go
Programming
Go Programming
Go lang
|
|
|
|
When getting started with containers, it’s pretty easy to be shocked by the size of the images that we build. We’re going to review a number of techniques to reduce image size, without sacrificing developers’ and ops’ convenience. In this first part, we will talk about multi-stage builds, because that’s where anyone should start if they want to reduce the size of their images. We will also explain the differences between static and dynamic linking, as well as why we should care about that. This will be the occasion to introduce Alpine.... Read more
|
Software Release Culture at Shopify
(engineering.shopify.com)
|
|
|
|
It’s important for us to build an optimized experience for how our developers want to work and to continually shape our tooling and process around our “release culture”.... Read more
|


Responsible person/analyst (worker):
reset
Location uncertainty:
reset
Select a site from the map to show the data.
Thank you for reporting issues! Please fill out this form and click the Submit button. We will then handle your request.
Please be patient, we are just dealing with your data. This may take one or two minutes and you should receive an email.


On 13 January 2020, 6 new articles were published in 4 journals.
Social Learning and Distracted Driving Among Young Adults
Conceptualizing Policing and Security: New Harmscapes, the Anthropocene, and Technology
Mass Probation From Micro to Macro: Tracing the Expansion and Consequences of Community Supervision
Engineer to Operations Research to Criminology: Quite A Trajectory
Feminist Action Against Pornography in Japan: Unexpected Success in An Unlikely Place


Posted by Malcolm Suen on December 12, 2018
Posted by Malcolm Suen on June 3, 2018
Posted by Malcolm Suen on May 27, 2018
Posted by Malcolm Suen on May 12, 2018
Posted by Malcolm Suen on February 12, 2018
Posted by Malcolm Suen on January 18, 2018
Posted by Malcolm Suen on January 14, 2018
根音贝斯手，网络空间安全破坏者，开源项目伸手党，驻守边疆，保家卫国。


--- layout: default ---
During my time at Webspec Design I worked on many things, including the company's website. We wanted a fresh visual experience and the convenience of WordPress without sacrificing the existing content and search engine standing. A custom import brought over the old content while a lot of collaboration between dev and designer led to touches like the SVG animations you'll see on the department icons.
Century21 wanted to make sure that their new applicants knew they were entering a company that was dedicated to them. At Webspec Design, I developed a site to communicate the tenants they hold themselves to when working with their employees that also suggested a modern and vibrant company. With the job hunt headed to mobile screens, responsiveness was paramount for this site.
Century21 also wanted a way for agents to quickly scaffold attractive sites featuring market information on properties their clients were putting up for sale. The biggest hurdle here was presenting a wealth of market data in a consumable way. Clicking through to the second page of the presentation via the button at the bottom, you'll see this resulted in a variety of graphs and charts, ensuring that clients could come to educated decisions about how to price their homes. This particular link is filled with sample data, assuming they haven't deleted it, as these sites can be created and destroyed at a moment's notice.
With first-in-the-nation primaries and the unique caucus system, the Harkin Institute wanted to share information about the state of Iowa and provide ways for visitors to see campaign events from all the potential candidates. The SVG-based map of Iowa does just that, allowing visitors to explore a huge amount of demographic information on a county-by-county basis. Switching views below the map and adjusting the filter to display past events also showcases campaign stops by candidates in the latest nation-wide primaries. All of this, once built, was updatable by the staff at the Harkin Institute via the familiar WordPress CMS without the help of a developer.
Built on Angular.js, beerPilgrimage allows visitors to find breweries along their next road trip. Your work is saved to your browser so you don't have to worry about losing your place. To provide up-to-date and relevant information, the site connects to the BreweryDB API for brewery information and Yelp! for brewery ratings.


Bolivian Defence Minister Javier Zavaleta López Resigns
Bolivia’s former president Evo Morales stepped down on Sunday, amid massive demonstrations against his victory in the October elections. The country’s armed forces and the police jointed the calls for the president’s resignation.
Bolivian Minister of Defence Javier Savaleta resigned in the light of ongoing protests in the South American country, according to a tweet his ministry released Tuesday.
"I am leaving the post of Minister of Defence in order to maintain unity in the ranks of the Armed Forces," Savaleta said.
The resigning minister said that the commanders never ordered the use of military force against the civilians.
"We never gave an order for our soldiers and sailors to wield a weapon against their people and we will never give it. The state we built is a Bolivia in which a military man defends his country alongside his people and never from them," he emphasised.
Last month, Evo Morales won in the first round of presidential elections. The opposition, led by Carlos Mesa, accused him of electoral fraud and refused to recognize the results of the vote. The Organization of American States (OAS) published a preliminary report that found irregularities in the October 20 voting.
Morales stepped down on Sunday, amid massive demonstrations against his victory in the October elections. The country’s armed forces and the police jointed the calls for the president’s resignation. Several countries, including Argentina, Venezuela, Cuba, and Mexico described the events in Bolivia as a coup.
Mexican Foreign Minister Marcelo Ebrard announced on Monday that his country was granting political asylum to Morales.


{{{hwScore}}}
{{{scoreBar}}}
{{{masteryScore}}}
| Recommend: | {{{recommendBar}}} |
| Correct: | {{{correctPoints}}} |
| Incorrect: | {{{incorrectPoints}}} |
| Attempts: | {{{attempts}}} |
{{#prevQNumber}} Previous question {{/prevQNumber}} {{^prevQNumber}} Previous question {{/prevQNumber}}
{{#nextQNumber}} Next question {{/nextQNumber}} {{^nextQNumber}} Next question {{/nextQNumber}}
{{#video}}


Lil Reese Says He'll Do VladTV Interview for $1 Million, Vlad Responds
by VladTVRecently, news surfaced that Lil Reese was shot in Chicago, and reportedly suffered a gunshot wound to the neck. Authorities said a gunman allegedly shot the rapper with a small rifle. Since then, the rapper has hopped on IG Live to show that he is good. While on Twitter, a fan suggested to Reese that DJ Vlad was going to try and get the first interview of the rapper since being shot “by any means.”
Reese saw the tweet and responded, saying, “Tell him I need a million for this story this s**t ain’t fake or free s**t bigger [than] 50 Rick Ross and whoever [else].”
Vlad responded by saying, “Very happy that you survived that shooting. But nobody’s going to pay you even 1% of $1 million for that interview.” Take a look above.


A preview of coming attractions, where unstable changes to the core XRP Ledger software may be tested out. Developers can use this altnet to interact with and learn about planned new XRP Ledger features and amendments that are not yet enabled on the Mainnet.
Testnet and Devnet each have their own separate supply of test XRP, which Ripple gives away for free to parties interested in experimenting with the XRP Ledger and developing applications and integrations. Test XRP does not have real-world value and is lost when the network is reset.


BLOWN AWAY A film review by Scott Renshaw Copyright 1994 Scott Renshaw
Starring: Jeff Bridges, Tommy Lee Jones, Forest Whitaker, Lloyd Bridges, Suzy Amis. Screenplay: Joe Batteer & John Rice. Director: Stephen Hopkins.
Sometimes, timing is everything. A few years ago, Kevin Costner beat two other Robin Hood projects into production, forcing one to television and killing the other entirely. This year, Costner is on the other end, as his WYATT EARP was beaten into theaters *and* onto video by TOMBSTONE. Now, in the mad bomber department, BLOWN AWAY comes hard on the heels of SPEED, and suffers greatly by comparison. SPEED's greatest asset was that it never took itself seriously; BLOWN AWAY, on the other hand, takes itself far too seriously. Though there are some nice moments of suspense, BLOWN AWAY sputters out in puddles of melodrama.
Jeff Bridges stars as Jimmy Dove, a member of Boston's bomb squad. What only Jimmy's Uncle Max (Lloyd Bridges) knows is that Jimmy was once Liam McGivney, a radical in Northern Ireland who now sees defusing bombs as a kind of penance for the crimes of his youth. But a blast from the past comes to Boston in the form of Ryan Gaerity (Tommy Lee Jones), Jimmy's former Irish cohort. Escaped from prison after 20 years in custody, Gaerity blames Jimmy for his incarceration and begins targeting friends and loved ones with elaborate bombs, including Jimmy's new wife (Suzy Amis). Jimmy, along with his new partner (Forest Whitaker) must track down Gaerity before all of Beantown is blown away.
There's no better way to describe the key problem with BLOWN AWAY than to say that it's overblown but underdeveloped. Everything in the screenplay by Joe Batteer and John Rice feels forced and artificial. Nothing exemplifies this more than the attempt to ladle on the Irish atmosphere. The characters in BLOWN AWAY speak in heavy brogues, drink Guinness, dance jigs, even listen to us ... everything, practically, but say "faith an' begorrah." Fine, they're Irish already; they're just not real. The same is true of the Boston locations, which are so omnipresent they cease to be atmospheric and become simply oppressive (and there's no excuse for a television announcer calling a home run in Fenway Park "over the Green Monster" when the ball is shown landing over the right field wall). And the same is true of the big emotional breakdowns, and the slow motion build-ups to the explosions, and the length of nearly every scene. BLOWN AWAY simply never clicks because, like Gaerity's bombs, everything is far more convoluted than it needs to be functionally.
Meanwhile, two of the most talented actors in America are stuck with underwritten characters and ineffectual direction. Jeff Bridges is supposed to be haunted by his past, but instead he generally appears simply dazed. He brings no energy and none of the intelligence he usually brings to his roles. Tommy Lee Jones doesn't fare much better, as there is never any clear sense of Gaerity's motivation or state of mind. He's just plain weird, bouncing on beds and making bizarre videotapes, but for all his supposed cock-eyed creativity he never comes off as smart enough to be genuinely threatening. Forest Whitaker is good as the cocky new guy on the bomb squad, but he is the only bright spot among the actors. When two actors like Bridges and Jones go wrong, it's difficult not to point the finger of blame at a director who wasn't doing his job.
Though he fails his actors, Stephen Hopkins has other things working. He manages to create a mounting tension with each subsequent bomb, as we begin to suspect that at any given moment, anything could be a trigger. This is nowhere better handled than in a great scene where Bridges' wife and stepdaughter proceed through their kitchen turning on appliances which may be set to blow. But the production just isn't lean enough to sustain that energy. Watching BLOWN AWAY, I felt that I had had slightly too much to drink: everything seemed a step slow and Peter Levy's photography seemed slightly out-of-focus. Oh, to be sure, there are lots of big explosions in BLOWN AWAY, but the amount of cinematic heat generated could be measured with an oral thermometer.
On the Renshaw scale of 0 to 10 hidden bombs: 4.
-- Scott Renshaw Stanford University Office of the General Counsel
.
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


One subject that I have always been interested in was Science. Earth Science being my favorite type of Science so far for I have taken Living Environment, Chemistry and Biology. I am therefore a part in the Botany Club and the Anatomy Clubs at my school. :)


This
View Menu
command will wrap the message in the current message window so that it is contained within the edges of the window.


// Reference the 'FsHttp' package from NuGet in your script or project
#r "nuget: FsHttp"
// Opening 'FsHttp' is sufficient (no need for FsHttp.DSL or others anymore).
open FsHttp
http {
GET "https://mysite"
AcceptLanguage "en-US"
}
|> Request.send
The request is sent synchronously in the example above. See (TODO: async
/ task
) section to see how requests and responses can be processed using async
or task
abstractions.
For production use, it is recommended using async
or task
based functions!
http {
POST "https://mysite"
body
jsonSerialize
{|
name = "morpheus"
job = "leader"
|}
}
|> Request.send
There are more ways of how requests definition can look: See (here)TODO for an explanation of how to multipart, form data, file upload, streaming, and more.
// Assume this returns: { "name": "Paul"; "age": 54 }
let name,age =
http {
GET "https://mysite"
AcceptLanguage "en-US"
}
|> Request.send
|> Response.toJson
|> fun json -> json?name.GetString(), json?age.GetInt32()
FSharp.Data and Newtonsoft.Json
Per default, System.Text.Json
is used as backend for dealing with JSON responses. If prefer FSharp.Data
or Newtonsoft.Json
, you can use the extension packages (see here(TODO)).
// A configuration per request
http {
GET "https://mysite"
AcceptLanguage "en-US"
// This can be placed anywhere in the request definition.
config_timeoutInSeconds 10.0
}
|> Request.send
There are many ways of configuring a request - from simple config values like above, to changing or replacing the underlying System.Net.Http.HttpClient
and System.Net.Http.HttpRequestMessage
(have a look here()TODO).
It is also possible to set configuration values globally:
GlobalConfig.defaults
|> Config.timeoutInSeconds 11.1
|> GlobalConfig.set
namespace FsHttp
val http : StartingContext
custom operation: GET (string)
Calls IRequestContext.Get
custom operation: AcceptLanguage (string)
Calls IRequestContext.AcceptLanguage
<summary>
List of acceptable human languages for response
</summary>
Multiple items
module Request
from FsHttp.Print
--------------------
module Request
from FsHttp
--------------------
type Request =
{ header: Header
content: RequestContent
config: Config }
val send : context:IToRequest -> Response
<summary>
Sends a request synchronously.
</summary>
custom operation: POST (string)
Calls IRequestContext.Post
custom operation: body
Calls IRequestContext.Body
<summary>
An explicit transformation from a previous context to allow for describing the request body.
</summary>
custom operation: jsonSerialize ('a)
Calls IRequestContext.JsonSerialize
val name : string
val age : int
Multiple items
module Response
from FsHttp.Print
--------------------
module Response
from FsHttp
--------------------
type Response =
{ request: Request
requestMessage: HttpRequestMessage
content: HttpContent
headers: HttpResponseHeaders
reasonPhrase: string
statusCode: HttpStatusCode
version: Version
originalHttpRequestMessage: HttpRequestMessage
originalHttpResponseMessage: HttpResponseMessage
dispose: unit -> unit }
interface IDisposable
interface IConfigure<PrintHintTransformer,Response>
val toJson : response:Response -> System.Text.Json.JsonElement
val json : System.Text.Json.JsonElement
custom operation: config_timeoutInSeconds (float)
Calls IRequestContext.TimeoutInSeconds
module GlobalConfig
from FsHttp
val defaults : GlobalConfig.GlobalConfigWrapper
Multiple items
module Config
from FsHttp.Dsl
--------------------
type Config =
{ timeout: TimeSpan option
printHint: PrintHint
httpMessageTransformer: HttpRequestMessage -> HttpRequestMessage
httpClientHandlerTransformer: HttpClientHandlerTransformer
httpClientTransformer: HttpClient -> HttpClient
httpCompletionOption: HttpCompletionOption
proxy: Proxy option
certErrorStrategy: CertErrorStrategy
httpClientFactory: (unit -> HttpClient) option
bufferResponseContent: bool }
val timeoutInSeconds : value:float -> context:IConfigure<ConfigTransformer,'c> -> 'c
val set : config:GlobalConfig.GlobalConfigWrapper -> unit


| DOSE: |
2 tablets |
oral |
MDMA |
(pill / tablet) |
I work the night shift, and every morning I cycle eight miles home along country roads. Despite my tiredness and desire to get home, the route is always very pretty, and it occured to me one day that I should try it on pills.
I'd slept at the weekend, which is a rare enough event for me these days, so i was bursting with energy towards the end of the shift, helped by the anticipation of the ride home. I had with me two of the batch I'd used at the weekend. Bearing in mind that it had taken me around sixty minutes to come up, and that they hadnt been the best id ever had, I slipped to the toilets fifty minutes before the end of my shift and double-dropped.
Thirty-five minutes later, I was beginning to feel the pre-rush warnings, and was hoping they wouldnt kick in too early. I was in the yard at this point, and then suddenly all the colours became fresher, richer, more real. I returned inside thinking along the lines of 'oh crap' when the kick hit me and then i didnt really care much anymore. I went back to packing apples with a grin and more motivation than I've ever displayed in that place.
 I was starting to wonder whether this had been such a good idea after all.
After the shift finally ended, I got on my bike and cycled round the corner of the warehouse. And that was when I knew it was worth it. The sun was low in the sky, filling it with a beautiful golden glow that almost blinded me. Further up, the sky became a rich, deep blue, a more lovely sky than i had ever seen before. The clouds, torn by winds, looked almost to be melting as they hung in the sky. That moment will stay with me forever.
After a few minutes I got back on the bike and cycled on, admiring everything as I went. Ocasionally I would stop to gaze in fascination and wonder at the sky, or the shade of a ploughed field, or the architecture of a local pub. I passed a cemetary on my left, as I do every day, when it occured to me I had never been there. I found an open side entrance and left the bike leaning against the tree.
The cemetary was wonderful in the morning light. The sun burst through the trees, rabbits ran amongst the graves. At the far end, there was some undug ground and a line of graves facing into the sun and the symoblism of the new dawn. I filled a watering can in memory of a Martin Williams and watered the wildflowers on a neglected-looking hundred year old grave. The whole time, I felt calm, at peace. There was an atmosphere of rest, patience, safety.
A little further down the road I stopped off at the Pocket Park, which I had also never visited. Walking amongst the trees I felt completely attuned to my surroundings, completely at one with nature. I emerged into a small clearing where everything was bathed in the warm yellowish glow of the sun. Sitting on a bench, I texted my mother to say I would be late home and that I loved her. Then I texted my sister to say that I loved her too. I wanted to text my closest friend, but was worried about waking her up. I shall text her later, when I have written this, to tell her what she means to me.
After this I continued along the roads, giving cheery grins and 'peace' signs to lorries and other regular road users. Car drivers never seemed to respond. I pondered for a while whether the career driver sees his vehicle as more an extension of himself, rather than a barrier against the outside world. Several drivers waved back, and I wondered if I had made their day better, happier. This thought filled me with a sense of wellbeing and happiness.
I stopped a local couple to wish them good morning, but they seemed unsure how to react and disengaged. I cycled on, stopping frequently to admire each new stunning vista as they opened up. I had cycled this route so many times and never really seen it, never appreciated it. Down by the canal I stopped for a while to watch the swans and the fish and the ducks. I noticed that female mallards, when they spread their wings, have the most beautiful shade of deep purple on some of their feathers. I thought fondly about and old friend who no longer speaks to me, and resolved to text him later too. To let him know that although he feels we should go our seperate ways, he has always been a great mate and will always mean a lot to me.
I ride on into the country park, where again I feel at one with the woods. I stop and have a lovely long conversation with an old woman and her dog, Rilo.  Riding into my mass-produced village is depressing, so I turn my thoughts to my friends again and recall many fond memories with them. Then my legs speed up, seemingly of their own accord, I switch to top gear to give them something to push against, and we speed home, pausing only to graciously give way to a car, the driver of whom shakes her head in confused exasperation. I was only obeying the highway code, love.
Nobody is home when I get in, but I need to stay up to wish my mother goodbye before she leaves for edinburgh. I pet my cat for a while. She knows full well what I've done, and is a little miffed to be left out, so after a while she leaves. I have a shower - I'd highly recommend this whilst pilling. Its an indescripable experience, and I've never have felt so clean afterwards.
And then, of course, I decided that I was so inspired by the experience that I should submit it. And now my mother is back, so I must go and hug her and tell her how much I love her. I hurt her too much these days, and apologise not enough.
-Gitboy :)
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.


class: center, middle # Crash Course in OCaml Modules Tim McGilchrist (@lambda_foo) .bottom[![lambda](/talks/lambda-jam-2015-ocaml-functors/lambda.png)] --- # What to expect? 1. What is OCaml? 2. Module Concepts 3. Comparison to Haskell 4. Code, Code and more Code .bottom[![lambda](/talks/lambda-jam-2015-ocaml-functors/lambda.png)] ??? * Things to expect from this talk. * OCaml functors ain't Haskell functors. * Hey man, where's my fmap. Such confuse, much wow. * introduce people to the OCaml module system * What OCaml functors are * What sorts of problems they let us solve. --- # Outcomes 1. Understand OCaml's module system 2. Appreciate difference between Modules and Type Classes 3. Perhaps write some OCaml, it's awesome! .bottom[![Right-aligned image](/talks/lambda-jam-2015-ocaml-functors/colour-logo.svg)] ??? The ML module system comes up in conversations around Haskell needing a module system, why building a Haskell module system is hard and just how do I relate ML Modules to things in other languages like Traits in Scala or Type Classes in Haskell. Rather than having a bunch of handwaving about modules can do this and type classes can do that, it'd be better if everyone had a basic understanding of what ML modules are. So the discussion can come from a place of knowledge Anecdote about why I chose to learn OCaml rather than Haskell. be a contrarian Lets dive into some terminology --- .bottom[![Right-aligned image](/talks/lambda-jam-2015-ocaml-functors/except-for-tim-comic.jpg)] --- # Terminology The key parts of OCaml's Module System are: * Structures * Signatures * Functors .right[![lambda](/talks/lambda-jam-2015-ocaml-functors/lambda.png)] ??? OCaml has 2 levels or languages; 1. language of functions and value. 2. language of modules and functors --- # OCaml type declarations * Types are in lowercase. * Type variables are written with a single quote `'a` * Type constructors are reversed ``` Haskell (Int, Int) -- Haskell int * int -- OCaml [Bool] -- Haskell bool list -- OCaml foldl :: (b -> a -> b) -> b -> [a] -> b fold_left : ('a -> 'b -> 'a) -> 'a -> 'b list -> 'a data Tree a = Node a (Tree a) (Tree a) | Leaf type 'a tree = Node of 'a * 'a tree * 'a tree | Leaf ``` ??? Explain the code examples. --- # Structures Structures provide units of organistion within OCaml ``` ocaml module IntSet = struct type t = int type set = t list let empty = [] let member i s = List.exists (fun x -> x = i) s let insert i s = if member i s then s else (i::s) end ``` ??? * Values in the module language * Structures group together declarations of data types and functions. In a similar way to what you'd be familar with in Haskell. * Introduce a structure using `struct` `end` keyword pair. * Implicit structure name from the file name. --- # Calling Structures Called via dot notation ``` ocaml IntSet.t IntSet.empty IntSet.member ``` ??? Pretty much as you'd expect coming from another language --- # Nested Structures ``` ocaml module IntSet = struct module Compare = struct type t = int let eql x y = x = y end end IntSet.Compare.eql 1 1 ``` Nested structures can be nested. ??? --- # Using Structures * `open` structure at top of the file * local open at the call site * use module alias ``` ocaml open IntSet Compare.eql 1 1 (* or *) IntSet.Compare.(eq 1 1) (* or *) let module S = IntSet.Compare in S.eql 1 1 ``` ??? * Using structures needs to more convenient that using the long form names especially if we want to use nested modules to organise our code. 1. Opening the module at the top of a file. Using `open` then the name of the module, everything that the module exports will be available in the opening module. This is convenient, no need to pre-pend anything with module names, the downside however is you pollute the namespace. Might not want to have everything in this namespace, eg name clashes. Good idea to keep it small. 2. Convenient option if you're only using the module in a few places within a file. Especially if you're using the same module repeatedly in a a statement. 3. Helpful to keep what the short name of a module is close to where it's being used. --- # Signatures Defines an interface for a structure. ``` ocaml module type Set = sig type 't set val empty : 't set val member : 't set -> 't -> bool val insert : 't set -> 't -> 't set option end ``` * List of declarations without any implementation ??? * List of declarations without any implementations * Definitions can be more abstract than structure * Introduced with `sig` `end` keywords * used to hide details. In this case we're not exporting the concrete type for set, making it abstract. * Typically, you'll have your `struct` in one file say `set.ml` and the signature defined in another file called `set.mli`. --- # Example ``` ocaml module type Monad = sig type t val bind : 'a t -> ('a -> 'b t) -> 'b t val return : 'a -> 'a t val (>>=): 'a t -> ('a -> 'b t) -> 'b t val (>>|): 'a t -> ('a -> 'b) -> 'b t end ``` ??? Lets introduce a signature for a Monad. --- # Functors * No Haskell functors here comrades. * Functions from `struct` to `struct` * aka Paramterised Structures .right[![Right-aligned image](/talks/lambda-jam-2015-ocaml-functors/smugpig.png)] ??? Functors in OCaml aren't like Haskell functors, they don't provide an fmap across a particular structure. Though they do perform a similar purpose, just it's at the module level. Think of functors as `functions` from `struct` to `struct`. Another way, to think of it is lifting functions into the module language Let's look at an example! --- # Example I ``` ocaml module type ORDERING = sig type t val compare : t -> t -> int end module type Set = sig type 't set val empty : 't set val member : 't set -> 't -> bool val insert : 't set -> 't -> 't set option end ``` ??? * Introduce this new signature called `ORDERING` * Repeat our Set signature from before --- # Example II ``` ocaml module MakeSet (O : ORDERING) = struct type t = O.t let empty = [] let rec member s x = match s with [] -> false | hd::tl -> match O.compare x hd with 0 -> true | 1 -> false | -1 -> member tl x let rec insert x s = ... end ``` ??? * How is the functor defined? * Use O in implementation of other functions. * MkSet is completely defined in terms of it's argument O * Functors can be defined over multiple modules, just tack another set of brackets after the first and before the equals --- # Using Functor ``` ocaml module IntOrdering = struct type t = int let compare = Int.compare end module IntSet = MakeSet(IntOrdering) let a = IntSet.insert 1 IntSet.empty IntSet.member 1 a (* Using local opens *) let a = IntSet.(insert 1 empty) ``` ??? 1. Introduce an ordering for ints 2. Call functor using our Int ordering 3. make go now! --- # Review * Structures group together types and functions with implementations * Signatures interface for a structure * Functors are functions from `struct` to `struct` .right[![lambda](/talks/lambda-jam-2015-ocaml-functors/lambda.png)] ??? So let's take a moment to review what we've covered so far. If nothing else, I'd be great if you can take these defintions away with you. --- # Comparison to Type Classes * Type Classes provide adhoc polymorphism * Module system explicit configuration of program components and the use of data abstraction * Different purposes but significant overlap ??? Type classes focus on bringing implict program construction and adhoc polymorphism to Haskell. By implicit construction I mean in using type classes you don't need to say which instance of a type class to use. Haskell works that out for you. Providing some sort of guarantee that there is only 1 possible implementation (Though there are a snumber of ways around this if you're sufficiently devious) Modules on the other hand emphasise explicit configuration of program components and the use of data abstraction. Namely a means for decomposing large programs into smaller pieces. I'm probably oversimplifying the motivations on both sides, the point is they're not trying to solve the same problem. However there is some overlap in functionality. So lets see some code showing how to translate Haskell Type Classes into OCaml --- # Type Classes to Signatures Haskell ``` haskell class Show a where show :: a -> String ``` OCaml ``` ocaml module type SHOW = sig type t val show : t -> string end ``` ??? So type classes in Haskell become signatures in OCaml. Lets look at the show type class as a simple example, though this applies to any type class. --- # Instances to Structures Haskell ``` haskell instance Show Int where show = ... -- provided in ghc ``` OCaml ``` ocaml module ShowInt = struct type t = int let show = string_of_int end ``` ??? * Haskell you declare an instance of Show for your type. * OCaml we create a `struct` that has the right interface --- # Using Type Class Haskell ``` Haskell csv :: Show a => [a] -> String csv [] = "" csv [x] = show x csv h:t = show h ++ "," ++ csv t csv [1,2,3] => "1,2,3" ``` Functions that use type classes do not need to do anything special --- # Using Type Class Modules OCaml ``` ocaml module Csv(S:SHOW) = struct let rec to_csv : S.t list -> string = function [] -> "" | [x] -> S.show x | h::t -> S.show h ^ "," ^ to_csv t end module X = Csv(ShowInt) X.to_csv [1;2;3] => "1,2,3" ``` * Callers Get Wrapped In Functors * Manually instantiate the version of the function ??? --- # Verdict * Type Classes can be translated into Modules * Type Classes become Signatures * Instances become Structures * Callers Get Wrapped In Functors * Manually instantiate the version of the function * OCaml version is slightly more verbose * OCaml requires specifying the instance * Haskell finds the instance you want ??? * more verbose The OCaml code is more verbose that the corresponding Haskell code. Even if you use a less simplistic example where there isn't a built in implementation for the type class. For example using Aeson where you do need to create your own instance. * for non-trivial type classes, you'll need to define an instance * Having said that, modules aren't really built for ad-hoc polymorphism, so they don't fare too badly. * Very useful to translate Haskell code examples in papers into OCaml versions. * Verbosity due to passing around the instance of show for that type. * Haskell also tracks the mapping from type to implementation, it's just not exposed. --- # Module Extras A few things that aren't quite possible in Haskell: * Type safe extensions to existing modules * Parameterising library by architecture/platform/compiler * Library parameterised by their dependencies (Backpack) * Instantiate modules with state ??? * talk through each of these in turn. * type safe extension, 2 standard library replacements use this technique to extend the basic standard library. * Cohttp library uses this technique to parameterise over 3 different concurrency platforms, Lwt, Async and Javascript --- # Type Safe Extensions Using the `include` keyword we can extend an existing `struct` or signature. ``` ocaml module Listy = struct include List let intersperse t sep = match t with | [] | [_] -> t | x :: List.fold_right (fun y acc -> sep :: y :: acc) xs [] end module List = Listy include (module type of List) ``` ??? * Here include is bringing in contents of List into our Listy module * Then we're adding our own function `intersperse` * Export the module back out as List, effectively replacing List with our own version. * You can perform a similar thing with signatures, to bring in all the functions and types, then re-exporting them. * --- # Paramterising Library * `Cohttp` is a library for creating HTTP daemons. * Supports 4 different asynchronous libraries * LWT - Unix threads * Async - Unix threads * OS-independent used in Mirage unikernel * Javascript / XMLHTTPRequests * `Mirage` Unikernel * applications functorised across OS components * `Irmin`, a distributed database * distributed storage functorised across storage implmentations * `OCamlgraph`, a generic graph library for OCaml ??? * Heavy use of functors to divide abstract parts of http from plaform specific ones. * 4 different async backends * Applications in MirageOS are functorized across all the operating system components that they depend on. * In Haskell you're forced to resort to CPP to do this sort of thing. While CPP is comparitively portable, it's untyped, has a different syntax than Haskell and is just kind of gross. What are we savages??? --- # Mirage OS ``` ocaml module type DEVICE = sig type error end module type CONSOLE = sig type error = [ ‘Invalid_console of string ] include DEVICE with type error := error val log_s : t -> string -> unit io end module Main (C: V1_LWT.CONSOLE) = struct let start c = let rec print () = C.log_s c "hello" >>= fun () -> OS.Time.sleep 1.0 >>= fun () -> C.log_s c "world" >>= print in print () end ``` ??? * Explain code * taken from Mirage OS * Some places use mutiple arguments inside a functor * see Metaprogramming with ML modules in the MirageOS --- # Mirage OS II ``` ocaml module Main (C: V1_LWT.CONSOLE) (FS: V1_LWT.KV_RO) (TMPL: V1_LWT.KV_RO) (S: Cohttp_lwt.Server) = struct ... end ``` --- # Core Monad.make ``` ocaml module type Basic = sig type 'a t val bind : 'a t -> ('a -> 'b t) -> 'b t val return : 'a -> 'a t end module type S = sig .... end module Make (M : Basic) : S with type 'a t := 'a M.t = struct let bind = M.bind let return = M.return let join t = t >>= fun t' -> t' let ignore t = map t ~f:(fun _ -> ()) ... end ``` --- # Modular Implicits Proposal to improve ad-hoc polymorphism in OCaml ``` ocaml module type Show = sig type t val show : t -> unit end let print (implicit S : Show) x = S.show x implicit module Show_int = struct type t = int let show x = Printf.printf "Show_int: %i\n" x end print 3 ``` ??? * Extension to OCaml to provide better support for adhoc polymorphism. * Follows the ML discipline of maintaining explicit control over the namespace * Ambiguities in resolving an implicit module type resulting in a type error. * Taking inspiration from Scala’s implicits. # Work in progress --- # Records as Modules Haskell records-as-modules style ``` haskell data Index f = Index { record :: Descriptor -> f () , lookup :: LogKey -> EitherT IndexError f (Maybe Descriptor) } makeS3Index root = Index { record = record' root , lookup = lookup' root } record' :: Address -> Descriptor -> S3Action () record root d = ... ``` ??? * Define a record for accessing log files * Clunky, record selectors everywhere * Performance, double dispatch everywhere * No closure over the types involved in the record * Record names must be unique * Useful technique --- # Summary * OCaml modules are worth knowing about * Structures combine types and function implementations * Signatures combine types and function signatures * Functors are functions from `struct` to `struct` * Simple translation of Type Classes to Modules ??? * OCaml Modules provide features Haskell can't. --- class: center, middle # Thanks! Tim McGilchrist @lambda_foo Software Engineer @ Ambiata Thanks! --- #Further Reading * ML Modules and Haskell Type Classes: A Constructive Comparison. * Lightweight higher-kinded polymorphism * Metaprogramming with ML modules in the MirageOS * Designing a Generic Graph Library using ML Functors * 1ML unifying the type level and module level in ML * github.com/mirage/mirage * github.com/mirage/ocaml-cohttp * github.com/mirage/irmin


Healthy & Delicious
The best smoothies in town are almost here!
Every smoothie is an experience
Make it count!
Lose Weight
Tasty detox recipes to complement your diet!
Add Muscle
Your favourite ingredients always at your disposal!
The best smoothies in town are almost here!
Make it count!
Tasty detox recipes to complement your diet!
Your favourite ingredients always at your disposal!


Qranio is an online platform with the mission to make learning fun by stimulating users to learn at any moment with total mobility through games based on qualified, educational content while earning prizes with their intelligence.
Qranio is a free, quiz based game where our user’s gain – beyond knowledge – real world prizes and Incentives. Users have the opportunity to play, learn in a fun way, gain iQ$ (virtual currency) and exchange their iQ$ for real prizes (based on availability). Practice your skills individually in a variety of categories based on your interests and for each correct answer you will be rewarded with iQ$! Not sure about the answer? Don’t worry, you still have a chance… Earn Neuros (virtual aid currency) each day you log in and use them to help you throughout the game. Take a look: www.qranio.com
The profile has yours statics with the most played categories yours best results. Just like your friends and redeem prizes.
All multiple choice questions are displayed in different categories, such as geography, history, sports, literature, TV, movies, and automobiles. With the virtual currency iQ$, users can buy tickets, cosmetics, electronics, clothes, coupons, services, courses, etc.
Monthly Neuros allowance - Monthly redeem limit - Exclusive prizes - No advertising - Exclusive categories
Users can redeem prizes anytime! Visit virtual store; choose your favorite product or service. Verify the stock availability and your redemption limit per month. Check if you have enough iQ$ to redeem the prize. The more you play, the richer you become! Play more to redeem more prizes!


search.hh File Reference
(Revision: 11498)
#include <gecode/kernel.hh>
#include <gecode/support/auto-link.hpp>
#include <gecode/search/statistics.hpp>
#include <gecode/search/stop.hpp>
#include <gecode/search/options.hpp>
#include <gecode/search/dfs.hpp>
#include <gecode/search/bab.hpp>
#include <gecode/search/restart.hpp>
Go to the source code of this file.
Classes | |
| class | Gecode::Search::Statistics |
| Search engine statistics More... | |
| class | Gecode::Search::Options |
| Search engine options More... | |
| class | Gecode::Search::Stop |
| Base-class for Stop-object. More... | |
| class | Gecode::Search::MemoryStop |
| Stop-object based on memory consumption More... | |
| class | Gecode::Search::NodeStop |
| Stop-object based on number of nodes More... | |
| class | Gecode::Search::FailStop |
| Stop-object based on number of failures More... | |
| class | Gecode::Search::TimeStop |
| Stop-object based on time More... | |
| class | Gecode::Search::Engine |
| Search engine interface More... | |
| class | Gecode::DFS< T > |
| Depth-first search engine. More... | |
| class | Gecode::BAB< T > |
| Depth-first branch-and-bound search engine. More... | |
| class | Gecode::Restart< T > |
| Depth-first restart best solution search engine. More... | |
Namespaces | |
| namespace | Gecode |
Gecode toplevel namespace | |
| namespace | Gecode::Search |
Search engines | |
| namespace | Gecode::Search::Config |
Search configuration | |
| namespace | Gecode::Search::Sequential |
Sequential search engine implementations | |
| namespace | Gecode::Search::Parallel |
Parallel search engine implementations | |
Defines | |
| #define | GECODE_SEARCH_EXPORT |
| #define | GECODE_LIBRARY_NAME "Search" |
Functions | |
| template<class T > | |
| T * | Gecode::dfs (T *s, const Search::Options &o=Search::Options::def) |
| Invoke depth-first search engine for subclass T of space s with options o. | |
| template<class T > | |
| T * | Gecode::bab (T *s, const Search::Options &o=Search::Options::def) |
| Perform depth-first branch-and-bound search for subclass T of space s and options o. | |
| template<class T > | |
| T * | Gecode::restart (T *s, const Search::Options &o=Search::Options::def) |
| Perform depth-first restart best solution search for subclass T of space s and options o. | |
Variables | |
| const bool | Gecode::Search::Config::clone = true |
| Whether engines create a clone when being initialized. | |
| const double | Gecode::Search::Config::threads = 1.0 |
| Number of threads to use. | |
| const unsigned int | Gecode::Search::Config::c_d = 8 |
| Create a clone after every c_d commits (commit distance). | |
| const unsigned int | Gecode::Search::Config::a_d = 2 |
| Create a clone during recomputation if distance is greater than a_d (adaptive distance). | |
| const unsigned int | Gecode::Search::Config::steal_limit = 3 |
| Minimal number of open nodes for stealing. | |
| const unsigned int | Gecode::Search::Config::initial_delay = 5 |
| Initial delay in milliseconds for all but first worker thread. |


Spalding Gray's SWIMMING TO CAMBODIA A film review by Steve Upstill Copyright 1987 Steve Upstill
SWIMMING TO CAMBODIA is an hour and a half of a man talking. Spalding Gray spent several weeks in Thailand acting a small part in the film THE KILLING FIELDS, and this film (a record of his performance before a live audience, in a perfomance gallery in New York) is a monologue about events and observations surrounding the filming, including the decimation of Cambodia, the nature of Hollywood reality, the fleshly pleasures of Bangkok, the Gulf of Siam, drugs, American foreign policy, relationships and himself, Spalding Gray. You can imagine, this is a film with scope.
It was directed by Jonathon Demme, who, after the Talking Heads concert film STOP MAKING SENSE and the Yuppie comedy SOMETHING WILD, is rapidly becoming a hero among modern directors. His presence in the film is firm but subdued, providing emphasis and enhancing mood with sound effects, camera angles, cross-cutting, editing and Laurie Anderson's understated music. The star, of course, is Gray, and he makes the time go by lickety-split. He is of that rare breed of storytellers who command the totality of your attention and imagination while speaking, and he leaves you with something when you go out.
This film is valuable for several reasons. First, as a completely successful exercise in minimalism: you're never less than interested in what he's saying, and often deeply moved. Second, as a political lesson, bringing home the real horror of the rule of Pol Pot (who now lurks behind the border of Thailand waiting to take over again with the support of the United States). Third, as grist for the intellectual mill. Gray is really talking about movie reality vs. flesh-and-blood reality, and how they get all mushed up. Fourth, he is an inspiration. Seeing the world through his eyes is a challenge, to observe and absorb in the same probing, synthetic way. Finally, this film is a document of an archetype: Gray is pounded by what he experiences, but he never loses his very '80s irony and detachment towards it.
I liked SWIMMING TO CAMBODIA a lot. It's not just good, it's good for you.
Steve Upstill
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


Projects
These are some of the projects I've worked on in the past.
- ESNM<EMAIL_ADDRESS>-
Developed a web system with applications related to population and migration studies as part of a research project (No. 16506) funded by CONACYT and INEGI (institutes of the federal government). Helped in the design and implemention of an algorithm to estimate population and net migration between Mexican states using data from the national census, and administrative registries for births and deaths.
- InCense [github]
-
My master’s project at CICESE, InCense, a toolkit to facilitate contextual data gathering from a population of smartphone users. It includes a mobile application, a desktop application and a database. The mobile application was developed using the Android platform. This application stays running the programmed time, sensing and saving data from the accelerometers, GPS, microphone, Wi-Fi, NFC and other “sensors”. It also triggers surveys to users based on different events. If you want to know more about this project you can read some of my publications about it or contact me.
Publications and other academic activities
These are some of my academic publications and research-related activities.
- M. Perez, L. Castro, J. Favela (2011). InCense: A research kit to facilitate behavioral data gathering from populations of mobile phone users. 5th International Symposium on Ubiquitous Computing and Ambient Intelligence (UCAmI). Riviera Maya, Mexico. [UCAmI site]
- L. Castro, J. Favela, M. Perez, C. Garcia (2011). Work in progress: Opportunistic sensing for behavioral inferences in elder care. IEEE Pervasive Computing. 10(4): 54-55. [Abstract]
M. Perez (2011). InCense: A research kit to facilitate behavioral data gathering from populations of mobile phone users (Poster). 2nd Workshop on Ubiquitous Computing Uniting the Californias. Ensenada, Mexico. [WUC2nd site, PNG file]
- Thesis (Spanish only): M. Perez (2012). Herramienta móvil de adquisición de información del comportamiento en poblaciones. Tesis de maestría en ciencias. Centro de Investigación Científica y de Educación Superior de Ensenada. 2012. [CICESE library]


Enter your Infura ID that will connect you to the Ethereum Blockchain
You need to provide a valid Infura Project ID
{% end %}
{% block question_items %}
Raiden is an off chain scaling solution for the Ethereum Blockchain.
The Raiden Wizard as well as Raiden need to connect to an Ethereum
node.
The
Infura API suite
provides instant access over HTTPS and WebSockets to Ethereum.
If you have not done yet, please create a project at Infura to connect
to the Ethereum Mainnet. You can find your Infura project ID under
your project's settings.
You can follow the steps one to three of
this guide
to get an Infura ID.
{% end %}
{% block page_header_scripts %}
{% end %}


This computer-based study program was developed to assist individuals in preparation for their pre-licensing education training for Pennsylvania's Property and Casualty Producer Examination. It is the companion software of the study manual. Essentials of Property and Casualty Insurance.
Sign In! Get Started!It is recommended that you review your study manual in depth prior to using EXAM MASTER Interactive.
A complete overview including an audio summary of this Pre-Licensing Education Course is found in the introduction.
The Study Materials page a collection of sections for studying and previewing all relevant materials. It includes a Chapter Preview section, which contains over 450 slides. The Chapter Review feature includes open-ended questions that you should be able to answer after studying a chapter module. The Flash Cards section features over 500 key terms and concepts in a flash card format. This will help students learn new terms and concepts.
Copyright © 2015 Magellan Group


|
Big Numbers Library
Library that allows storage for numbers up to 1000 digits or more.
|
#include <BigNumber.h>
Public Member Functions | |
| BigNumber | Add (const BigNumber &_addend) |
| BigNumber | Subtract (const BigNumber &_subtrahend) |
| BigNumber | Multiply (const BigNumber &_multiplier) |
| BigNumber | Divide (const BigNumber &_divisor) |
| BigNumber | Mod (const BigNumber &_divisor) |
| BigNumber | Pow (int _exponent) |
| const std::string | GetString () const |
| long long int | GetInteger () const |
| std::vector< char > | GetNumberValue () const |
| BigNumber | GetBinaryValue () const |
| template<typename T > | |
| BigNumber | SetNumber (const T &_newNum) |
| BigNumber | Negate () |
| BigNumber | RemoveLeadingZeros () |
| bool | Equals (const BigNumber &_comparedNum) const |
| unsigned long long int | Digits () const |
| bool | IsNegative () const |
| bool | IsPositive () const |
| bool | IsEven () const |
| bool | IsOdd () const |
| BigNumber | Abs () const |
| template<typename T > | |
| BigNumber & | operator= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator+= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator -= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator *= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator/= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator %= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator &= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator|= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator ^= (const T &_difBigNum) |
| template<typename T > | |
| BigNumber & | operator<<= (const T &_places) |
| template<typename T > | |
| BigNumber & | operator >>= (const T &_places) |
| BigNumber & | operator++ () |
| BigNumber & | operator-- () |
| const BigNumber | operator++ (int) |
| const BigNumber | operator-- (int) |
| BigNumber () | |
| BigNumber (char number) | |
| BigNumber (unsigned char number) | |
| BigNumber (const char *number) | |
| BigNumber (std::string number) | |
| BigNumber (short number) | |
| BigNumber (unsigned short number) | |
| BigNumber (int number) | |
| BigNumber (unsigned int number) | |
| BigNumber (long long number) | |
| BigNumber (unsigned long long number) | |
| BigNumber (float number) | |
| BigNumber (double number) | |
| BigNumber (long double number) | |
| BigNumber (const std::vector< char > &number) | |
| BigNumber (const BigNumber &number) | |
| ~BigNumber ()=default | |
| char | operator[] (int index) const |
| char & | operator[] (int index) |
Friends | |
| std::ostream & | operator<< (std::ostream &outputStream, const BigNumber &_bigNum) |
| std::istream & | operator>> (std::istream &inputStream, BigNumber &_bigNum) |
| BigNumber | operator ^ (BigNumber _base, int _power) |
| BigNumber | operator & (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| BigNumber | operator| (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| BigNumber | operator ^ (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| BigNumber | operator<< (const BigNumber &_bigNum, int numOfPlaces) |
| BigNumber | operator >> (const BigNumber &_bigNum, int numOfPlaces) |
| BigNumber | operator ~ (const BigNumber &_bigNum) |
| BigNumber | operator+ (BigNumber _addend1, const BigNumber &_addend2) |
| template<typename T , typename U > | |
| BigNumber | operator+ (const T &_addend1, const U &_addend2) |
| BigNumber | operator - (BigNumber _minuend, const BigNumber &_subtrahend) |
| template<typename T , typename U > | |
| BigNumber | operator - (const T &_minuend, const U &_subtrahend) |
| BigNumber | operator - (const BigNumber &_bigNum) |
| BigNumber | operator * (BigNumber _multiplicand, const BigNumber &_multiplier) |
| template<typename T , typename U > | |
| BigNumber | operator * (const T &_multiplicand, const U &_multiplier) |
| BigNumber | operator/ (BigNumber _dividend, const BigNumber &_divisor) |
| template<typename T , typename U > | |
| BigNumber | operator/ (const T &_dividend, const U &_divisor) |
| BigNumber | operator % (BigNumber _dividend, const BigNumber &_divisor) |
| template<typename T , typename U > | |
| BigNumber | operator % (const T &_dividend, const U &_divisor) |
| bool | operator== (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator== (const T &_bigNum1, const U &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator != (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator != (const T &_bigNum1, const U &_bigNum2) |
| bool | operator> (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator > (const T &_bigNum1, const U &_bigNum2) |
| bool | operator< (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator< (const T &_bigNum1, const U &_bigNum2) |
| bool | operator>= (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator >= (const T &_bigNum1, const U &_bigNum2) |
| bool | operator<= (const BigNumber &_bigNum1, const BigNumber &_bigNum2) |
| template<typename T , typename U > | |
| bool | operator<= (T _bigNum1, const U &_bigNum2) |
BigNumber class
Digits of the number are stored in a vector of characters
representing the different digits of the numbers
Definition at line 21 of file BigNumber.h.
| BigNums::BigNumber::BigNumber | ( | ) |
Vector holding digits of the current instance BigNumber constructor
Support for all data types
| number | The initial value of the BigNumber |
Definition at line 9 of file BigNumber.cpp.
|
explicit |
Definition at line 14 of file BigNumber.cpp.
|
explicit |
Definition at line 19 of file BigNumber.cpp.
|
explicit |
Definition at line 24 of file BigNumber.cpp.
|
explicit |
Definition at line 30 of file BigNumber.cpp.
|
explicit |
Definition at line 35 of file BigNumber.cpp.
|
explicit |
Definition at line 41 of file BigNumber.cpp.
|
explicit |
Definition at line 47 of file BigNumber.cpp.
|
explicit |
Definition at line 53 of file BigNumber.cpp.
|
explicit |
Definition at line 59 of file BigNumber.cpp.
|
explicit |
Definition at line 65 of file BigNumber.cpp.
|
explicit |
Definition at line 71 of file BigNumber.cpp.
|
explicit |
Definition at line 77 of file BigNumber.cpp.
|
explicit |
Definition at line 83 of file BigNumber.cpp.
|
explicit |
Definition at line 89 of file BigNumber.cpp.
| BigNums::BigNumber::BigNumber | ( | const BigNumber & | number | ) |
Definition at line 94 of file BigNumber.cpp.
|
default |
| BigNumber BigNums::BigNumber::Abs | ( | ) | const |
Get the absolute value of the current instance
Definition at line 712 of file BigNumber.cpp.
Add another BigNumber to the current instance
| _addend | The BigNumber being added by |
Definition at line 99 of file BigNumber.cpp.
| unsigned long long int BigNums::BigNumber::Digits | ( | ) | const |
Get the number of digits in the current instance
Definition at line 682 of file BigNumber.cpp.
Divide the current instance by another BigNumber
| _divisor | The BigNumber being divided by |
Definition at line 476 of file BigNumber.cpp.
| bool BigNums::BigNumber::Equals | ( | const BigNumber & | _comparedNum | ) | const |
Check if another BigNumber is equal to the current instance
| _comparedNum | The BigNumber being compared |
Definition at line 677 of file BigNumber.cpp.
| BigNumber BigNums::BigNumber::GetBinaryValue | ( | ) | const |
Get the value of the current instance as bits
Definition at line 622 of file BigNumber.cpp.
| long long int BigNums::BigNumber::GetInteger | ( | ) | const |
Get the integer value of the current instance
Definition at line 606 of file BigNumber.cpp.
| std::vector< char > BigNums::BigNumber::GetNumberValue | ( | ) | const |
Get the value of current instance as a vector of chars
Definition at line 617 of file BigNumber.cpp.
| const std::string BigNums::BigNumber::GetString | ( | ) | const |
Get the string value of the current instance
Definition at line 593 of file BigNumber.cpp.
| bool BigNums::BigNumber::IsEven | ( | ) | const |
Get if the current instance is even
Definition at line 702 of file BigNumber.cpp.
| bool BigNums::BigNumber::IsNegative | ( | ) | const |
Get if the current instance is negative
Definition at line 692 of file BigNumber.cpp.
| bool BigNums::BigNumber::IsOdd | ( | ) | const |
Get if the current instance is odd
Definition at line 707 of file BigNumber.cpp.
| bool BigNums::BigNumber::IsPositive | ( | ) | const |
Get if the current instance is positive
Definition at line 697 of file BigNumber.cpp.
Mod the current instance by another BigNumber
| _divisor | The Big Number being divided by |
Definition at line 521 of file BigNumber.cpp.
Multiply the current instance by another BigNumber
| _multiplier | The BigNumber being multiplied by |
Definition at line 368 of file BigNumber.cpp.
| BigNumber BigNums::BigNumber::Negate | ( | ) |
Negates the value of the current instance
Definition at line 643 of file BigNumber.cpp.
|
inline |
Mod assignment operator
Assigns the remainder of the current instance and _difBigNum to current instance
| _difBigNum | The value being divided |
Definition at line 540 of file BigNumber.h.
|
inline |
AND assignment operator
Assigns the AND value of the current instance and _difBigNum to current instance
| _difBigNum | The value being ANDed |
Definition at line 553 of file BigNumber.h.
|
inline |
Multiplication assignment operator
Assigns the product of the current instance and _difBigNum to current instance
| _difBigNum | The value being multiplied |
Definition at line 514 of file BigNumber.h.
|
inline |
Subtraction assignment operator
Assigns the difference of the current instance and _difBigNum to current instance
| _difBigNum | The value being subtracted |
Definition at line 501 of file BigNumber.h.
|
inline |
Right shift assignment operator
Assigns the right shift value of the current instance and _difBigNum to current instance
| _places | The value right shift |
Definition at line 605 of file BigNumber.h.
|
inline |
XOR assignment operator
Assigns the XOR value of the current instance and _difBigNum to current instance
| _difBigNum | The value being XORed |
Definition at line 579 of file BigNumber.h.
| BigNumber & BigNums::BigNumber::operator++ | ( | ) |
Pre-increment operator
Definition at line 1013 of file BigNumber.cpp.
| const BigNumber BigNums::BigNumber::operator++ | ( | int | ) |
Post-increment operator
Definition at line 1025 of file BigNumber.cpp.
|
inline |
Addition assignment operator
Assigns the sum of the current instance and _difBigNum to current instance
| _difBigNum | The value being added |
Definition at line 488 of file BigNumber.h.
| BigNumber & BigNums::BigNumber::operator-- | ( | ) |
Pre-decrement operator
Definition at line 1019 of file BigNumber.cpp.
| const BigNumber BigNums::BigNumber::operator-- | ( | int | ) |
Post-decrement operator
Definition at line 1032 of file BigNumber.cpp.
|
inline |
Division assignment operator
Assigns the quotient of the current instance and _difBigNum to current instance
| _difBigNum | The value being divided |
Definition at line 527 of file BigNumber.h.
|
inline |
Left shift assignment operator
Assigns the left shift value of the current instance and _difBigNum to current instance
| _places | The value being left shifted |
Definition at line 592 of file BigNumber.h.
|
inline |
Assignment operator
| _difBigNum | The new value for the BigNumber |
Definition at line 474 of file BigNumber.h.
| char BigNums::BigNumber::operator[] | ( | int | index | ) | const |
The index operator
| index | The position in the BigNumber digit vector |
| char& BigNums::BigNumber::operator[] | ( | int | index | ) |
|
inline |
OR assignment operator
Assigns the OR value of the current instance and _difBigNum to current instance
| _difBigNum | The value being ORed |
Definition at line 566 of file BigNumber.h.
| BigNumber BigNums::BigNumber::Pow | ( | int | _exponent | ) |
Raise the current instance to the power of an exponent
| exponent | The power to be raised by |
Definition at line 565 of file BigNumber.cpp.
| BigNumber BigNums::BigNumber::RemoveLeadingZeros | ( | ) |
Removes the zeros in front of the BigNumber
Definition at line 657 of file BigNumber.cpp.
|
inline |
Set the value of the current instance with a new value
| _newNum | The new value for the BigNumber |
Definition at line 143 of file BigNumber.h.
Subtract another BigNumber from the current instance
| _subtrahend | - The BigNumber subtracted by |
Definition at line 170 of file BigNumber.cpp.
|
friend |
Not equals operator
| _bigNum1 | The current instance |
| _bigNum2 | Another number value |
Definition at line 784 of file BigNumber.cpp.
|
friend |
Definition at line 351 of file BigNumber.h.
Mod operator
| _dividend | The current instance |
| _divisor | The number being divided by |
Definition at line 769 of file BigNumber.cpp.
|
friend |
Definition at line 309 of file BigNumber.h.
Bitwise AND operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Definition at line 851 of file BigNumber.cpp.
Multiplication operator
| _multiplicand | The current instance |
| _multiplier | The number being multiplied by |
Definition at line 759 of file BigNumber.cpp.
|
friend |
Definition at line 275 of file BigNumber.h.
Subtraction operator
| _minuend | The current instance |
| _subtrahend | The number being subtracted |
Definition at line 749 of file BigNumber.cpp.
|
friend |
Definition at line 248 of file BigNumber.h.
Negation operator
| _bigNum | The current instance |
Definition at line 754 of file BigNumber.cpp.
|
friend |
Definition at line 367 of file BigNumber.h.
|
friend |
Definition at line 399 of file BigNumber.h.
Bitwise right shift
| _bigNum | The current instance |
| numOfPlaces | amount of places to shift |
Definition at line 952 of file BigNumber.cpp.
Exponent operator
| _base | The current instance |
| _power | The exponent |
Definition at line 774 of file BigNumber.cpp.
Bitwise XOR operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Definition at line 911 of file BigNumber.cpp.
Bitwise NOT operator
| _bigNum | The current instance |
Definition at line 963 of file BigNumber.cpp.
Addition operator
| _addend1 | The current instance |
| _addend2 | The number being added |
Definition at line 744 of file BigNumber.cpp.
|
friend |
Definition at line 230 of file BigNumber.h.
Division operator
| _dividend | The current instance |
| _divisor | The number being divided by |
Definition at line 764 of file BigNumber.cpp.
|
friend |
Definition at line 291 of file BigNumber.h.
Less than operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Definition at line 836 of file BigNumber.cpp.
|
friend |
Definition at line 383 of file BigNumber.h.
|
friend |
Output stream operator
| outputStream | The output stream |
| _bigNum | The current instance |
Definition at line 725 of file BigNumber.cpp.
Bitwise left shift
| _bigNum | The current instance |
| numOfPlaces | amount of places to shift |
Definition at line 941 of file BigNumber.cpp.
Less than or equal to operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Definition at line 846 of file BigNumber.cpp.
|
friend |
Definition at line 415 of file BigNumber.h.
Equals operator
| _bigNum1 | The current instance |
| _bigNum2 | Another number value |
Definition at line 779 of file BigNumber.cpp.
|
friend |
Definition at line 333 of file BigNumber.h.
Greater than operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Greater than or equal to operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
|
friend |
Input stream operator
| inputStream | The input stream |
| _bigNum | The current instance |
Bitwise OR operator
| _bigNum1 | The current instance |
| _bigNum2 | Another BigNumber |
Definition at line 881 of file BigNumber.cpp.


Using Activity Implementor ProcessStartActivity
This activity is the standard process start activity.
How to Start a Process
There are many ways to start a process. Here is a list of them:
- Started by an external event handler, especially the start process event handler,
in response to receiving a message from external systems.
- Started by a parent process.
- Started by a pre-flow task (see Custom Web for an introduction)
- Started by a remote process (a process running in a different MDW application)
- Started by a Scheduled Job
- Started by a rules engine as result of constraint propagation (not yet implemented)
- Started directly from JMS message - this is for testing purpose only and
can be triggered from the designer as well as the task manager.
The first two forms are the most common ways to start a process.
How to Initialize Variables in a Process
For processes started by another process or by a remote process,
the variables are initialized through the variable binding mechanism described
in the process invocation activity.
For processes started by pre-flow tasks and external event handlers,
the owner ID of the process instance is the document ID containing
the external message (in case of pre-flow tasks, this message is a form data document).
So there is no general need to extract the data into variables.
If you do want to extract some data into process variables, you can
either configure this activity to achieve that, or subclass this activity,
as described below.
An older approach, not recommended any more, is to extract the data in a custom
external event handler and pass them to the process. Only variables in input mode
or input/output mode can be passed.
For general topics on listeners and external event handling,
please follow this link.
Configure This Activity
If you do want to initialize variables from data
received from external systems, you can configure the
attribute "Variable Initialization" of this activity.
The attribute specifies how variables should be initialized
when the process is started via an external event, including a
pre-flow task (owner type is DOCUMENT).
It is a map. The value of each variable
can be a Java value expression or constant.
Here are examples of variable initialization specification:
| my_var_1 | ${request['OrderHeader/OrderNumber']} |
| my_var_2 | ${request.OrderNumber} |
| my_var_3 | a Static Value |
You do not need to initialize every variable. Variables that
are not specifically initialized will have null values.
The Java value expression is applied to the request variable which is created with input mode under the process.
Subclassing This Implementor
You can subclass this implementor to perform
additional tasks at the process start, although in general
you may want to use a separate activity instead.


Analyze This (1999)
A Review by Christian Pyle
When mob boss Paul Vitti (Robert De Niro) has a panic attack, he seeks therapy from psychiatrist Ben Sobol (Billy Crystal); hilarity ensues. Director Harold Ramis' new comedy "Analyze This" has lots of fun with this premise as the very different worlds of Paul and Ben collide. There are subplots to keep the plot moving: Paul is about to be rubbed out by a rival gangster (Chazz Palminteri); Ben is about to marry Lisa Kudrow.
The plot is interestingly similar to HBO's new series, "The Sopranos." There, also, a mob boss has a panic attack and starts seeing a therapist. While "The Sopranos" aspires to realism, "Analyze This" offers a cartoonish sketch of the mob.
However, despite its distance from reality, "Analyze This" is great fun. De Niro obviously enjoys the self-parody in playing a comic gangster (I wonder if Brando got the same charge out of "The Freshman"). Although he rarely does comedies, De Niro has considerable comic skills. His Paul Vitti is as funny when he's vulnerable as he is when he's threatening.
Crystal's job is to react to the outrageous actions of Vitti and his slow-witted henchman Jelly (Joe Viterelli). (In this regard, the De Niro-Crystal interplay is something like Crystal's scenes with Jack Palance in "City Slickers"). Actually, that's our job, too-and there's plenty to laugh at: Ben rear-ends a mob car, and the trunk pops open to reveal a man bound-and-gagged; Ben's wedding is interrupted by a man being thrown off a balcony; Ben has to represent Paul at a mob conference. As a general rule, I don't like Crystal's movies-too soppy for my tastes-but I laughed long and loud during "Analyze This."
Grade: B
© 1999 Christian L. Pyle <http://us.imdb.com/M/reviews_by?Christian+Pyle>
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


Have you configured Kashti and the Brigade API correctly? Check the Kashti docs for information on installing and networking.
If you have yet to setup a project, see our guides for creating projects and managing projects.


SET TRANSACTION transaction_mode [, ...]
SET SESSION CHARACTERISTICS AS TRANSACTION transaction_mode [, ...]
where transaction_mode is one of:
ISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }
READ WRITE | READ ONLY
The SET TRANSACTION command sets the characteristics of the current transaction. It has no effect on any subsequent transactions. SET SESSION CHARACTERISTICS sets the default transaction characteristics for subsequent transactions of a session. These defaults can be overridden by SET TRANSACTION for an individual transaction.
The available transaction characteristics are the transaction isolation level and the transaction access mode (read/write or read-only).
The isolation level of a transaction determines what data the transaction can see when other transactions are running concurrently:
A statement can only see rows committed before it began. This is the default.
All statements of the current transaction can only see rows committed before the first query or data-modification statement was executed in this transaction.
The SQL standard defines two additional levels, READ UNCOMMITTED and REPEATABLE READ. In PostgreSQL READ UNCOMMITTED is treated as READ COMMITTED, while REPEATABLE READ is treated as SERIALIZABLE.
The transaction isolation level cannot be changed after the first query or data-modification statement (SELECT, INSERT, DELETE, UPDATE, FETCH, or COPY) of a transaction has been executed. See Chapter 13 for more information about transaction isolation and concurrency control.
The transaction access mode determines whether the transaction is read/write or read-only. Read/write is the default. When a transaction is read-only, the following SQL commands are disallowed: INSERT, UPDATE, DELETE, and COPY FROM if the table they would write to is not a temporary table; all CREATE, ALTER, and DROP commands; COMMENT, GRANT, REVOKE, TRUNCATE; and EXPLAIN ANALYZE and EXECUTE if the command they would execute is among those listed. This is a high-level notion of read-only that does not prevent all writes to disk.
If SET TRANSACTION is executed without a prior START TRANSACTION or BEGIN, it will appear to have no effect, since the transaction will immediately end.
It is possible to dispense with SET TRANSACTION by instead specifying the desired transaction_modes in BEGIN or START TRANSACTION.
The session default transaction modes can also be set by setting the configuration parameters default_transaction_isolation and default_transaction_read_only. (In fact SET SESSION CHARACTERISTICS is just a verbose equivalent for setting these variables with SET.) This means the defaults can be set in the configuration file, via ALTER DATABASE, etc. Consult Chapter 18 for more information.
Both commands are defined in the SQL standard. SERIALIZABLE is the default transaction isolation level in the standard. In PostgreSQL the default is ordinarily READ COMMITTED, but you can change it as mentioned above. Because of lack of predicate locking, the SERIALIZABLE level is not truly serializable. See Chapter 13 for details.
In the SQL standard, there is one other transaction characteristic that can be set with these commands: the size of the diagnostics area. This concept is specific to embedded SQL, and therefore is not implemented in the PostgreSQL server.
The SQL standard requires commas between successive transaction_modes, but for historical reasons PostgreSQL allows the commas to be omitted.


{% extends "core.html" %} {% load i18n %} {% load static %} {% block title %}Ahmia - Statistics{% endblock %} {% block body %}
You can check how our hidden service indexing works.
Please deliver your hidden service's official information: Proposal to hidden service operators.


Toggle navigation
Home
Transfers
Bandwidth
DHT
Settings
Help
Add Transfer
Via Magnet or HTTP link
Magnet link or HTTP link to .torrent file
Stop before file allocation
Via .torrent file
Upload a .torrent file
Stop before file allocation


Set an event in Live Objects using Event Processing functionality available in Discover and Premium offers.
Enter API-KEY
Continue
Mandatory roles for your API Key : DATA_PROCESSING_R, DATA_PROCESSING_W,DEVICE_R,DEVICE_W,API_KEY_R, DATA_R
Create a rule
Enter rule name
To appear in the following list, your device MUST have already sent data to Live Objects.
Device
Matching Rule
If
==
>=
<=
<
>
Firing Rule
Once
Event sent only once until restart
Always
Event sent each time it occurs
Sleep
specifies the minimum duration time between two fired events (in iso8601-duration format, for instance "PT6H"
Action policies
SMS
Email
email notification only in that page (but SMS available in Live Objects)
Create my rule
Watch Event Processing tutorial video on Youtube
(English subtitles available)
List your rules
Event name
Button to delete the event


--- layout: search title: Search description: Page for performing search on the blog. This page also displays the search results. ---


{% extends "transport_goods/layout.html" %} {% block page_title %} Example - Forms {% endblock %} {% block content %} {% include "includes/phase_banner_beta.html" %} {{formData | safe}} How often will your vehicles have safety inspections and maintenance? How often will your vehicles have safety inspections and maintenance? You must make sure each vehicle is inspected at least every 13 weeks. Number of weeks {% endblock %}
You must make sure each vehicle is inspected at least every 13 weeks.


|
The test is passed if you see a large swirly blue image, outlined in green. Below, two smaller copies also outlined in green. Below that, a thick red outline that does not have an image inside it. All three blue images with green outlines animate over ten seconds, alternating between a blue and a pink image. The animations all finish at the same time and display the pink image thereafter.
This tests the resolving of QNames in the attributeName attribute value. The attribute tested is href, in the XLink namespace.
If an image is displayed on top of the red rectangle, or if the large image is not shown, or a purple image with 'FAIL' is shown rather than blue, the implementation is using magic prefixes and is only looking for the string 'xlink:href' rather than following the Namespaces in XML specification.
If the right-most of the two small images animates but the left-most does not, the implementation is only handling animation elements that are a direct child of the element to be animated, and does not implement animation specified by an XLink href. In that case, the large image will not animate either, but this does not necessarily mean that namespace resolution is incorrect. (It does mean that the test is failed, however).
If the two small images animate correctly but the large one does not, then resolution of QNames in the 'attributeName' attribute is not following the Namespaces in XML specification as required by the SVG specification.