Paper Review of Llerena Guiu Searle's ethonographic study in the National Capital Region of India (2007). PDF and Slides of the review are also available.
The paper
The study was largely ethnographic with various interviews being conducted in 2007 with real estate developers, marketers, investors, brokers, informants etc. Searle also analyzed magazine articles ( such as RealtyPlus ), advertisements, investor presentations, apartment tours, and government census data. Thus, she exhaustively looked at all communication channels that the real estate developers opted for marketing purposes. She points out that some of her informants (upper-class) were biased, as in, they were more tilted towards supporting the upper class sentiments as opposed to the sentiments of the local Delhites.
The growth in Gurgaon started with liberalization in early 1990s. With lots of MNCs coming in, the demand for office spaces grew. The government couldn’t build infrastructure at the required pace - so they allowed for private investment in urban spaces. To favour this, the Urban Act of 1976 was rolled back, which restricted the amount of land private investors could hold. The JNNURM urban reforms also favoured the developers and spun a chain of private investments. The role of real estate developers before was only to supply building material but now they became central to people and market relations. Public banks hardly provided formal funding to developers in the early 90s - but this changed towards the late 90s. Despite the change in laws, the developers realized that the funding is difficult and turned to foreign investment.
Hence, target of real estate developers now was to attract foreign investment and NRIs. The developers struck joint partnerships with foreign investment banks to build individual projects like tech parks, townships. Some also went public - like getting listed in Bombay Stock Exchange or London Stock exchange. This made investment easier for foreign companies. Additionally, to woo NRIs, developers ran lots of advertisements with words like world class, international standard, security system – to show that our housing is on par with the housing in West.
However, the growth got stagnated. Investors just bought and held the land for sometime - in hope of selling it when the prices go up. The Asian Financial Crisis of 1997 forced NRIs to pull out of the market. Much of the land remained vacant - with no real estate activities. Developers realized that solving the issue of stagnation required dual addressivity - they should first ensure market growth with Indian consumers, and then attract foreign investors using these Indian consumers.
How did they do that? They created the figure of a genuine resident, ie, the Professional.
Real estate developers essentially created a new class of citizens called the professionals as opposed to the so-called businessmen or the local Delhi people. The differences broadly boil down to a Gemeinschaft vs Gesellschaft scenario – so the businessmen could be characterized by their traditional beliefs, they are rude, cheap, have large families, non-elite, and apparently also indulge in shady black money deals. Whereas the professionals are more into the white collar jobs. They travel a lot, English speaking, small families, DINK - which means the couple is dual income no kid, and they are semi-posh.
We see in marketing discourse that foreign companies are attracted to India by projecting the middle class as their customers, because middle class has aspirations to improve their living standards. However, the same can’t be used for real estate investors because there is a belief that middle class doesn’t spend much. Professionals, on the other hand, do spend a lot as per their comfort.
Developers advertised trends predicted by NCAER, Ernst and Young. Trends of increasing nuclearization meant that adults are breaking free from their families and there is a need for new housing. The number of households in all income brackets was increasing according to data, which meant people are prone to save and invest in real estate. This attracted investors and made them feel that investing in India is safe. This also put Gurgaon in the global circuit of capital flow.
A major problem that developers faced was the cultural issues that Indian consumers had. Firstly, they preferred Delhi over Gurgaon. To solve this issue, developers positioned Gurgaon as everything that is not Delhi, as in, no traffic, no dust, no congestion, no pollution etc. Gurgaron also had malls, multiplexes, top MNCs. Also, it is not that far away from major areas of Delhi.
Secondly, Indians preferred buying land and building their own house, instead of buying an already built house. To solve this issue, developers stopped advertising to people with such traditional thought process. They attracted the nuclear, modern generation; and sold a western living with words like - Exotica, County, Laburnum.
The author stresses on how real estate developers not only distanced Gurgaon in terms of aesthetics and infrastructure, but also in terms of society and class. Bourgeois Environmentalism, coined by Amita Baviskar, refers to how upper-class voices its need for aesthetics via proxies like concern for nature. In the context of Gurgaon, it refers to upper-class wanting class-exclusive environments which are free of social pollution. For instance, in an image of an advertisement shown in the paper, while Uniworld City advertise a pollution-free Gurgaon as opposed to polluted Delhi, the ad doesn’t show the polluted land of Delhi or the lush green Gurgaon. Instead it shows rikshaw walas, shopkeepers etc. The image clearly talks of social pollution.
Advertisements also talk of how the complexes in Gurgaon are closer to the offices; plumbers and electricians etc. are available wtihin the complex; thus promoting integrated lifestyle communities with social homogeneity. Various other amenities such as 100% power back-up, guaranteed water and piped cooking gas are advertised extensively. By showing these amenities, the developers convey to us that there is no need to go outside the apartment complexes, that is, no chance of class contamination. In this way, the developers essentially sold a way-of-living to the professional class.
The author studies an ad of "Sharmas" in a famous newspaper - which contains real-world buyer profiles to let the customers know exactly what type of people invest in real estate. In this case, Rakesh Sharma works as a resident manager of an MNC and Ankita Sharma is an exporter. The story of Sharmas talks of how they are greatly favored by the convenience that Gurgaon offers such as malls, multiplexes, and office spaces in vicinity. Newspaper advertisements also contain excerpts of how people like Sharmas earn profits by investing in real estate. Articles with titles such as - "Small is big - reaping rich rewards with small investments" encourage various nuclear families to invest. Real estate magazines also offer legal and financial advice in easy-to-understand language; for example: mortgage lending, applying for loan. This not only built trust between consumers and real estate developers, but also indexed demand. The ads need not be true or represent any social trend. However, people get convinced and fall into the spiral, and this not only guarantees demand but also leads to an appreciation in prices of houses.
This case study discusses the influence of apartment tours as a major player in building discursive notions. Apartment tours reinforce the professional status of potential buyers. The Sinhas are constantly reminded of their status. They were told how similar they are to other neighbours living in the apartment - this also shows that the apartment will retain its class or valuation in case the Sinhas want to sell later. The author feels that reminding of the class of a location helps in indexing demand.
We’ve seen how the land of Gurgaon acquired value via the marketing of real estate developers, which aligns well with what Henry Lefebvre said - "Unlike farm land, urban land acquires value by the collective societal effect". Lefebvre, one of the primary members of the school of socio-spatial theory, talked of how cities across the world appear to develop and shape in a similar way, owing largely to real estate developers and their desires. This is seen for the case of Gurgaon too. Note that government’s involvement and foreign investments are some primary components of socio-spatial theory. Indian Government played a role in the development of Gurgaon by allowing private investment in urban spaces. The author also stresses on how international ties, that is, investment from foreign companies and NRIs, impacted the growth of Gurgaon. It is particularly seen in how the developers framed the city and consumers to attract them. We can connect this to the global view of urban sociology, as proposed by David Harvey.
Exploring how such metadiscursive notions are constructed is important - for example, take the case of a tech startup called WeWork, which can be thought of as a mediator between customers and house owners. The reason for its success is how well it sells the millenial story - and how well it taps into the independent freelance worker class. The workspaces contain fancy cups with "Always do what you love" written. The pantry has beer, there are yoga rooms, and weird looking chairs. WeWork also offers a classroom program and the website claims - "A field of super-elliptic objects forms a learning landscape thats dense and rational, yet free and fluid". While this way of marketing sounds weird, the growth of WeWork shows that such discourse works. The paper sheds light on how such discourse develops and attracts customers.
The article was prepared using the Distill Template
I wrote this article as a part of the course SOC477: Urban Sociology by Prof. Anindita Chakrabarti
If you see mistakes or want to suggest changes, please contact me


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
#include <ql/pricingengines/vanilla/analytichestonengine.hpp>
Public Member Functions | |
| AP_Helper (Time term, Real fwd, Real strike, ComplexLogFormula cpxLog, const AnalyticHestonEngine *enginePtr) | |
| Real | operator() (Real u) const |
| Real | controlVariateValue () const |
Private Attributes | |
| const Time | term_ |
| const Real | fwd_ |
| const Real | strike_ |
| const Real | freq_ |
| const ComplexLogFormula | cpxLog_ |
| const AnalyticHestonEngine *const | enginePtr_ |
| Real | vAvg_ |
| std::complex< Real > | phi_ |
| std::complex< Real > | psi_ |
Definition at line 155 of file analytichestonengine.hpp.
| AP_Helper | ( | Time | term, |
| Real | fwd, | ||
| Real | strike, | ||
| ComplexLogFormula | cpxLog, | ||
| const AnalyticHestonEngine * | enginePtr | ||
| ) |
Definition at line 407 of file analytichestonengine.cpp.
| Real controlVariateValue | ( | ) | const |
Definition at line 435 of file analytichestonengine.cpp.
|
private |
Definition at line 167 of file analytichestonengine.hpp.
|
private |
Definition at line 168 of file analytichestonengine.hpp.
|
private |
Definition at line 168 of file analytichestonengine.hpp.
|
private |
Definition at line 168 of file analytichestonengine.hpp.
|
private |
Definition at line 169 of file analytichestonengine.hpp.
|
private |
Definition at line 170 of file analytichestonengine.hpp.
|
private |
Definition at line 171 of file analytichestonengine.hpp.
|
private |
Definition at line 172 of file analytichestonengine.hpp.
|
private |
Definition at line 172 of file analytichestonengine.hpp.


Both Sections of the TurkStream Pipeline Are Filled with Gas
The Turkish Stream gas pipeline will be commissioned by the end of 2019, with both legs filled with gas, Daily Sabah reported.
Gazprom announced in a press release that the filling of the pipes marks the last stage before commissioning, which is to carry Russian natural gas under Black Sea waters to Turkey and from there to the European Union and Southeast European countries.
"Activities before the commissioning of the TurkStream gas pipeline, which, according to the schedule, should take place before the end of 2019, are at the final stage," Gazprom said in a statement.
The total pipeline capacity is 31.5 billion cubic meters of gas annually. Its length is 930 kilometers.
The gas was supplied from the Russian compressor station to Kıyıköy, where the pipes on the Turkish coast exit.
After the pipes came out of the sea, they continued through Turkish territory to the borders of neighbouring European countries.
Earlier, it became clear that Turk Stream could fall under the shock of US Senate Foreign Policy sanctions imposed on individuals and companies building the North Stream 2 pipeline.
The reason for the sanctions is "Europe's energy security issues".


{% extends "account/base.html" %} {% import "macros/forms.html" as forms %} {% import "macros/users.html" as users %} {% block headpagetitle %}{{ gettext("Profile data for user %(name)s", name=profile.name) }}{% endblock %} {% block content %}
{% trans %}This is your brewer's profile data. You may change it using the form below.{% endtrans %}
{{ forms.render_form(form, url_for('profile.details', user_id=profile.id)) }}{% trans %}Your email address is confirmed and email communication is enabled.{% endtrans %}
{% else %} {% if profile.email %}{% trans %}Your email address is not confirmed and all email communication has been disabled. This means we can not help you reset your password if you ever lost it. Please confirm your email to enable email communication. Note we do not send any emails to non-confirmed emails.{% endtrans %}
{{ gettext("start email confirmation") }}
{% else %}You did not enter your email. To use email communication (eg. to reset password) you have to have confirmed email. Please begin with entering valid email in the form above.
{% endif %} {% endif %}{% trans %}Please follow the below link to change your site password.{% endtrans %}
{% else %}{% trans %}You do not have valid password set. While signing in is still possible with social services, this feature will soon be gone. Please set up password to keep access to your data once social sign in is turned off.{% endtrans %}
{% endif %}{{ gettext("set new password") }}
{% trans %}Please be aware that we still don't have forgotten password reset mechanism implemented. Choose your password wisely, eg. allow Chrome to set it up for you.{% endtrans %}
{% trans %}Follow the below link to permanently delete your account.{% endtrans %}
{{ gettext("delete my account") }}
{% endif %} {% endblock %} {% block sidebar %}{{ gettext("add new brewery") }}
{% endif %} {% if latest_brews %}


ISBN Search
ISBN-13:<PHONE_NUMBER>311
ISBN-10:<PHONE_NUMBER>
Authors: Bruce Dang; Alexandre Gazet; Elias Bachaalany
Edition: 1
Binding: Paperback
Publisher: Wiley
Published: February 2014
List Price: $50.00
$25.19
+3.99 shipping
Ready to ship
Notes
$26.03
Ships 2-3 days
$32.40
Free shipping
$29.92
$30.63
$30.79
+3.95 shipping
$38.24
Ships 3+ Days
$40.96
+4.96 shipping
$50.00
$47.04
+3.97 shipping
$26.47
$26.48
$22.99
$23.52
$26.46
$12.25
$29.70
$30.00
$39.98


Christian Pulisic injury latest ahead of Chelsea's trip to Man City
Christian Pulisic is a major doubt for Chelsea’s Premier League clash with Manchester City on Saturday as he continues recovery from a hip injury.
The American could not play in his country’s fixtures against Canada and Cuba over the international break, staying in London instead.
USA manager Gregg Berhalter said ahead of those matches in the CONCACAF Nations League: ‘Christian is officially at this stage ruled out.
‘We just got that information. This was a collaborative decision with the club looking after the best interest of the player
‘These decisions are always difficult because this group and the coaching staff want nothing more than to have Christian here, but it was a risk we weren’t willing to take at this time.’
Pulisic also tweeted ahead of the Canada clash: ”Good luck to the @USMNT tonight against Canada! Really sad that I’ve had to sit out these important games because of injury but I’ll be supporting from London. Let’s get the W.’
Advertisement Advertisement
The 21-year-old was substituted in Chelsea’s last match, the 2-0 win over Crystal Palace in the Premier League, which manager Frank Lampard played down at the time.
‘The only frustration is he comes off with a bit of an injury,’ said Lampard. ‘He was going to be subbed before he scored his goal, he’s got a bit of a hip issue, but I’m hoping it’s not too bad because the way he’s in full flow at the moment is great to see.’
Pulisic has been in superb form of late for Chelsea, scoring five goals in his last three Premier League games including a memorable hat-trick against Burnley.
The Sun are reporting that he will not be available for the trip to the Etihad on Saturday, although Chelsea are yet to confirm this and Lampard may be tempted to risk one of his form players against the champions.


Watch: Tyler, The Creator Answers Celebrity Questions About His Fave Movies, Sushi Goals, Best Roller Coaster + More: “She Thought She Had One”
by Team SOHHOdd Future’s Tyler, the Creator has no problem unloading hilarious answers. The hip-hop heavyweight recently answered a slew of questions from Pharrell Williams and Tracee Ellis Ross to Seth Rogen. Watch and comment below!


Gecode::Int::Branch::AssignMin Class Reference
#include <branch.hh>
Inherits Gecode::Int::Branch::Assign.
Detailed Description
Minimum assignment (single-alternative branching).
Definition at line 393 of file branch.hh.
Public Member Functions | |
| AssignMin (Space *home, ViewArray< IntView > &x) | |
| Constructor for creation. | |
| virtual Actor * | copy (Space *home, bool share) |
| Perform cloning. | |
| virtual const BranchingDesc * | description (const Space *home) const |
| Return branching description (of type AssignDesc). | |
Protected Member Functions | |
| AssignMin (Space *home, bool share, AssignMin &b) | |
| Constructor for cloning b. |
Constructor & Destructor Documentation
|
|
Constructor for cloning b.
Definition at line 52 of file assign.icc. |
|
|
Constructor for creation.
Definition at line 55 of file assign.icc. |
Member Function Documentation
|
|
Perform cloning.
Implements Gecode::Actor. |
|
|
Return branching description (of type AssignDesc).
Implements Gecode::Branching. |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 3512)
- gecode/int/branch/assign.cc (Revision: 3402)
- gecode/int/branch/assign.icc (Revision: 3388)


{% extends "admin_layout.html" %} {% block page_header %}
These components are additional to those provided in the GOV Design System.
Where possible, the core components from the GOV Design System should be used in the first instance.
These components have been designed, built and tested specifically for use in Gambling Commission digital services.
Each component has guidance on use, sample code and an example of it's use.


Change Log
- Added picture and tabs for easy navigation
- Completed outline of entire v1 requirements
- Added some css to make things look better like blocks for the nav bar
- Still adding more to home page which is why its so bare
- Removed css around footer and made it so it is absolute on the bottom of the page
- Added in a css reset sheet
- Changed css around font size for h1
- Added margin for nav bar for more sleek look
- Added image from facebok page for founders logo and added a quick bio of the group/founder
- Fixed photo from being huge
- Fixed footer glitching into h1 and messing with everything
- Tried to add a map but can't figure out how to find coords very well
- Added all requirements for this unit
- Rounded the image to fit in box on cars page but cant figure out the figurecaption


Task Pool words
Task pools provide a means of managing multiple tasks and dynamically creating and destroying them. Note that the total number of task that may exist at any one time is fixed, but the number of executing tasks may be of any number less than or equal to that at any point in time.
task-pool
The following words are in task-pool
:
x-no-task-available
( – )
Exception raised if one attempts to spawn a task from a task pool and no tasks are available.
spawn-from-task-pool
( xn … x0 count xt task-pool – task )
Spawn a task from a task pool, if a task is available, or raise x-no-task-available
if no tasks are available. xn through x0 are parameters to pass to the xt when executed, and count is the number of such parameters.
task-pool-free
( task-pool – count )
Get the number of free tasks in a task pool.
init-task-pool
( dict-size stack-size rstack-size count addr – )
Initialize a task pool at addr, with count tasks, each with stack-size stack size, rstack-size return stack size, and dict-size dictionary size; note that stack-size, rstack-size, and dict-size are rounded up to the nearest four bytes. These tasks are terminated initially, and are free to be spawned as needed.
task-pool-size
( count – bytes )
Get the size (excluding the tasks themselves) taken up by a task pool with count tasks; this size should be used for alloting the block of memory to be passed to init-task-pool


LETDOWN
Scotland at Euro 2020 – what Russia doping ban means for Steve Clarke’s side
by Aidan ScottRUSSIA have been handed a four-year ban from all major sporting events - but will still deny Scotland an automatic place at Euro 2020.
We told you last month how the world's largest nation faced being suspended from the competition due to alleged inconsistencies in anti-doping data.
And the World Anti-Doping Agency (WADA) have today confirmed that Russia will not be allowed to officially compete at major events.
It means the Russian flag and anthem will not be allowed at next year's Olympics in Tokyo, Japan.
And the football team will not be allowed to play at all at the 2022 World Cup in Qatar.
They can still appeal WADA's decision at the Court of Arbitration for Sport in Switzerland in a bid to reverse it.
However, Russia WILL be able to play at Euro 2020 as Uefa is not considered a major event organisation in regards to anti-doping breaches.
St Petersburg will also remain a host city during next summer's tournament.
It means that Scotland will not take Russia's automatic place in the competition.
Steve Clarke's men finished third in their qualifying group behind the Russians and Belgium.
The national side will instead try to qualify for Euro 2020 via the play-offs in March.
Scotland earned the opportunity by winning their Nations League group in the first half of last season.
Our players have been drawn against Israel in the play-off semi-final and will face them at Hampden on March 26 next year.
Should they win that game, they will then take on the winner of the tie between Norway and Serbia away from home on March 31.


Overview
The Daytrader performance benchmark sample provides a suite of workloads for characterizing performance of Java EE Application Servers. The workloads consist of an end to end web application and a full set of primitives. The applications are a collection of Java classes, Java Servlets, JavaServer Pages, and Enterprise Java Beans built to open Java EE APIs. Together these provide versatile and portable test cases designed to measure aspects of scalability and performance.
Daytrader J2EE Components
Model-View-Controller architecture
Daytrader
DayTrader is an end-to-end benchmark and performance sample application. It provides a real world Java EE workload.
DayTrader's new design spans Java EE 7, including the new WebSockets specification. Other Java EE features include JSPs, Servlets, EJBs, JPA, JDBC, JSF, JMS, MDBs, and transactions (synchronous and asynchronous/2-phase commit).
Primitives
The primitives provide a set of workloads to individually test various components of a Java EE application Server. The primitives leverage the Daytrader application infrastructure to test specific Java EE components such as the servlet engine, JSP support, EJB Entitiy, Session and Message Driven beans, HTTp Session support and more.


Basic
$
25
10 GB
3 domain
20 email address
Live Support
Order Now
Standard
$
50
50 GB
5 domain names
Unlimited email address
Live Support
Order Now
Premium
$
100
Unlimited GB
50 domain
Unlimited email address
Live Support
Order Now


Script pour la gestion du canon
More...
Inherits MonoBehaviour.
|
|
AudioClip | tir |
| |
|
Rigidbody | projectile |
| |
|
int | speed = 40 |
| |
|
int | dureeDeVie = 5 |
| |
|
int | nbMaxMunition = 60 |
| |
|
int | nbMunitionRecharge = 5 |
| |
|
int | reloadTime = 3 |
| |
|
int | reloadAmount = 10 |
| |
|
GUIText | ammo |
| |
|
AudioClip | reloadSound |
| |
|
|
static int | nbCourantMunition =10 |
| |
Script pour la gestion du canon
The documentation for this class was generated from the following file:
- LanceurBatteReondissanteCSharp.cs


The full path to the file in which the construct is defined.
Options that govern the default behavior of the http method.
Determines whether or not an API key is required to access the method.
This property can be overridden by child classes.
Determines the type of authorization to apply to the method. Defaults to NONE, but can be overridden by child classes.
Returns the full path at which the file containing the construct exists.
Returns the http verb for this method. The default implementation uses the name of the file for the class to determine the verb.
This property can be overridden by child classes.
Returns the id of the constructs generated by the factory.
Returns an array of headers that will be applied to the response of the http method.
This property can be overridden by child classes.
Returns the method integration for the method. This method returns a lambda integration if the getLambdaHandler() method returns a valid value. If not, a mock integration is returned.
The scope for the current construct - can be used to get references to other constructs.
An array of method responses.
Returns lambda integration options for the http method. This method can be overridden by child classes if necessary.
The scope for the current construct - can be used to get references to other constructs.
Lambda integration options
Builds and returns a method options object for the current http method. This method constructs options based on some default assumptions, and on the values of certain properties of the class.
Child classes can override this method if necessary.
The scope for the current construct - can be used to get references to other constructs.
The request path of the method.
A method options object that can be attached to the method.
Returns lambda integration options for the http method. This method can be overridden by child classes if necessary.
The scope for the current construct - can be used to get references to other constructs.
Lambda integration options
Returns the authorizer associated with the method. Defaults to undefined, but can be overridden by child classes.
The scope for the current construct - can be used to get references to other constructs.
Reference to the authorizer.
Returns an instance of the construct for the specified scope.
The scope to which the newly created construct will be bound.
Reference to the construct object.
Generates integration responses for the method.
This method can be overridden by child classes if necessary.
The scope for the current construct - can be used to get references to other constructs.
An array of method responses.
Returns the lambda handler associated with the method. Defaults to undefined, but can be overridden by child classes.
The scope for the current construct - can be used to get references to other constructs.
Reference to the lambda function, or the name of the function.
Returns the role assumed by the API gateway when invoking lambda functions. Defaults to undefined, but can be overridden.
The scope for the current construct - can be used to get references to other constructs.
Reference to the IAM role
Returns the method responses for the HTTP method. This method can be used to specify the HTTP methods and response models that are mapped to each response code returned to the client.
This method can be overridden by child classes if necessary.
The scope for the current construct - can be used to get references to other constructs.
An array of method responses.
Returns the model for incoming application/json requests.
The scope for the current construct - can be used to get references to other constructs.
The request model for the method.
Returns a map of request parameters from path, querystring or headers. The default implementation extracts required path parameters from the method path.
This method can be overridden by child classes.
The request path to the API method
A map of request parameters.
Returns the path to the http method. The default implementation uses the location of the file in the directory tree relative to the api root path to determine the request path.
This method can be overridden by child classes.
The path to the root directory of the API constructs.
The request path for the http API
Returns the request template for the method for application/json requests. This is an apache velocity template mapping string that can be used to transform the the incoming request into an appropriate message for the back end handler.
The scope for the current construct - can be used to get references to other constructs.
The response template for successful execution
Returns the default model for the method for 200 response codes.
The scope for the current construct - can be used to get references to other constructs.
The response model for the method.
Returns the response template for the method for 200 response codes. This is an apache velocity template mapping string that can be used to transform the response from the method into an HTTP response.
The scope for the current construct - can be used to get references to other constructs.
The response template for successful execution
Invoked to initialize the construct, and delegates actual initialization to an abstract protected method.
The scope to which the newly created construct will be bound.
An optional collection of properties that can be used to initialize the construct.
A promise that will be resolved after the construct has been initialized.
Generated using TypeDoc


Interface IStreamingClientBase
Provides unified type-safe access for websocket streaming APIs.
Inherited Members
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IStreamingClientBase : IDisposable
Methods
| Improve this Doc View SourceConnectAndAuthenticateAsync(CancellationToken)
Opens connection to a streaming API and awaits for authentication response.
Declaration
Task<AuthStatus> ConnectAndAuthenticateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AuthStatus> | Awaitable task object for handling client authentication event in asynchronous mode. |
ConnectAsync(CancellationToken)
Opens connection to a streaming API.
Declaration
Task ConnectAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | Awaitable task object for handling action completion in asynchronous mode. |
DisconnectAsync(CancellationToken)
Closes connection to a streaming API.
Declaration
Task DisconnectAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | Awaitable task object for handling action completion in asynchronous mode. |
Events
| Improve this Doc View SourceConnected
Occured when stream successfully connected.
Declaration
event Action<AuthStatus> Connected
Event Type
| Type | Description |
|---|---|
| System.Action<AuthStatus> |
OnError
Occured when any error happened in stream.
Declaration
event Action<Exception> OnError
Event Type
| Type | Description |
|---|---|
| System.Action<System.Exception> |
SocketClosed
Occured when underlying web socket successfully closed.
Declaration
event Action SocketClosed
Event Type
| Type | Description |
|---|---|
| System.Action |
SocketOpened
Occured when underlying web socket successfully opened.
Declaration
event Action SocketOpened
Event Type
| Type | Description |
|---|---|
| System.Action |


While Ramsay may be a bit much for some people with his quick temper and outbursts, it is hard to deny the amazing quality of his dishes. Each of his restaurants have done exceedingly well. Some have even turned almost into chain restaurants, such as his reputable Gordon Ramsay Restaurant. Others are situated in unique hotels and provide another experience for its guests -- which makes sense given his background in the hotel industry.
The three maps below give a sense of where his restaurants are located. The two main hubs are England and the US, though there are also several internationally. You can see how Ramsay’s culinary techniques and dishes have influenced places around the world. It is also unique to see the influences different cultures play on his restaurants and the variety of meals served. Though on the higher end of dining, the experience is worth to try! Check out a Ramsay restaurant near you.
If reaching one of his locations is difficult, or you simply just do not want to make the trek, never fear; we still have options for you. Ramsay has countless recipes and wonderful kitchen tricks made for you on Youtube and his main website. You can choose from a wide range of dishes, from breakfast, to meats, to holiday prep, and more. Learn alongside one of the greatest without leaving your home and experience Ramsay’s wonderful cooking.


China Oct industrial output up 4.7% y/y; investment growth hits record low
by ReutersBEIJING (Nov 14): China's industrial production growth slowed sharply in October, rising 4.7% year-on-year, official data showed on Thursday, missing forecasts of 5.4% and showing persistent pressure from weak global and domestic demand on the economy.
Retail sales rose 7.2% year-on-year in October, data from the National Bureau of Statistics showed on Thursday, compared with an expected 7.9%.
Fixed asset investment grew 5.2% from January-October, against an expected 5.4% forecast. The January-October growth was the lowest since Reuters record began in 1996.
Private sector fixed-asset investment, which accounts for 60% of the country's total investment, grew 4.4% in January-October.


The Phone Switch Simulator is intended to be used in a (fun) programming exercise.
It provides a simple (silly?) abstraction of a telephone switch.
By using a REST like HTTP interface you can:
The following curl commands describes what you can do (see also: http://switch.redhoterlang.com/x/help ):
# Just to shorten the curl commands below export switch="http://switch.redhoterlang.com" export copts=-"s -H 'Content-Type: text/plain'" # To create a Switch named: axe curl ${copts} -d "" -X 'PUT' ${switch}/x/axe # To get the Switch status. Returns: A textual status table. # (tip: run this via the 'watch' command for an 'animated' experience) curl ${copts} -X 'GET' ${switch}/x/axe # To create a new Subscriber. Returns:curl ${copts} -X 'POST' ${switch}/x/axe/subscriber # To control the on/off-hook of the receiver for a particular Subscriber curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/offhook curl ${copts} -d "" -X 'DELETE' ${switch}/x/axe/Ano/offhook # To control the tone generator and ringsignal in the Switch for a particular Subscriber curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/dialtone curl ${copts} -d "" -X 'DELETE' ${switch}/x/axe/Ano/dialtone curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/busytone curl ${copts} -d "" -X 'DELETE' ${switch}/x/axe/Ano/busytone curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/ringtone curl ${copts} -d "" -X 'DELETE' ${switch}/x/axe/Ano/ringtone curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/ringsignal curl ${copts} -d "" -X 'DELETE' ${switch}/x/axe/Ano/ringsignal # To (dis-)connect two subscribers curl ${copts} -d "" -X 'PUT' ${switch}/x/axe/Ano/connect/Bno curl ${copts} -X 'DELETE' ${switch}/x/axe/Ano/connect/Bno
Now it is up to you to write a client program that simulates a couple of telephones that are connected to the switch. As a little help, think about it as a state event diagram, as shown below. Especially note that your code must be able to function both as the calling party (A-side) and the receiving party (B-side).
If you want to write the code in Erlang, then download the Starter Kit, which consists of two files: phone.erl and hw_lib.erl. The first file is an embryo of the your phone control software where only the Idle State has been written. In the second file, you have access to a little helper library that can talk to the switch, hiding the REST protocol.
%%% LET'S START ERLANG AND SEE HOW WE CAN COMMUNICATE %%% WITH switch.redhoterlang.com USING THE hw_lib.erl code. $ erl -pa ./ebin Erlang R14B03 Klarna (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [kernel-poll:false] Eshell V5.8.4 (abort with ^G) 1> {ok,Hw} = hw_lib:new_switch("alice"). {ok,{hw,"alice","http://switch.redhoterlang.com/x/",false}} 2> hw_lib:show_switch(Hw). Ano Status Tone ConnectedTo ok 3> hw_lib:new_subscriber(Hw). {ok,"1234"} 4> hw_lib:new_subscriber(Hw). {ok,"1235"} 5> hw_lib:new_subscriber(Hw). {ok,"1236"} 6> hw_lib:show_switch(Hw). Ano Status Tone ConnectedTo 1234 onhook 1235 onhook 1236 onhook ok 7> hw_lib:offhook(Hw,"1235"). {ok,{201,[]}} 8> hw_lib:show_switch(Hw). Ano Status Tone ConnectedTo 1234 onhook 1235 offhook 1236 onhook ok 9> hw_lib:onhook(Hw,"1235"). ok 10> hw_lib:show_switch(Hw). Ano Status Tone ConnectedTo 1234 onhook 1235 onhook 1236 onhook ok %%% NOW IF WE TRY END RUN OUR PHONES, WHAT HAPPENDS? 11> phone:start(Hw,"1234"). <0.63.0> 12> phone:start(Hw,"1235"). <0.66.0> 13> phone:start(Hw,"1236"). <0.68.0> 14> phone:offhook("1236"). offhook 15> =ERROR REPORT==== 23-Feb-2012::12:54:46 === Error in process <0.68.0> with exit value: {undef,[{phone,wait_for_digits,[{store,"1236",undefined,phone_1236,undefined,{hw,"alice","http://switch.redhoterlang.com/x/",false}}]}]} %%% OF COURSE IT CRASHES SINCE THE CODE IS MISSING! %%% IT IS NOW UP TO YOU TO WRITE THE MISSING CODE IN phone.erl
When you have succeeded the result could look something like in the video below:


Preparation time
30 mins to 1 hour
Cooking time
30 mins to 1 hour
Serves
Serves 4
Much as I love a home-cooked curry, I needed a faster way of making them. So this is my speedy curry solution, with a sauce that gets blitzed in a food processor before being cooked.
See recipe tip below.
To make the curry paste, put the oil, salt, garlic cloves, ginger, onions, pepper, chillies, cinnamon, turmeric, curry powder and 50ml/2fl oz water in a food processor. Blend to a smooth paste and set aside.
To make the naan, put the flour, garlic granules, sugar, salt and softened butter in a bowl and mix together. Rub in the butter.
Make a well in the centre and add 100ml/3½fl oz of water. Mix with a palette knife, then bring the dough together using your hands. Knead the dough on a lightly floured surface for 3–4 minutes. Wrap in cling film and leave to rest at room temperature for 20 minutes.
Meanwhile, to make the curry, add the curry paste to a large saucepan over a medium heat and cook for 10 minutes. Add the lamb and cook for another 10 minutes. Add 200ml/7fl oz water and simmer gently for 30 minutes with the lid on.
Meanwhile, divide the dough into four equal pieces and roll each one out to the thickness of a pound coin.
Put a griddle pan on a high heat and cook the breads one at a time for 3 minutes on each side. Cover with foil and keep warm while you griddle the rest.
When the bhuna is cooked, remove from the heat and add the coriander. Melt some butter and brush the naans with it on both sides. Serve with the bhuna.


All Themes ({{ $themeCount }})
Search hundreds of open-source JAMstack themes and find the perfect starter theme or boilerplate for your next project. Filter themes by static site generator, headless CMS and more.
Search hundreds of open-source JAMstack themes!


Module luafp.func
luafp functions module
Functions
| curry (f) | Takes your function arity (number of parameters) and a function, and turns it into a curried function. |
| negate (func) | Takes a predicate function and reverse the value returned. |
Functions
- curry (f)
-
Takes your function arity (number of parameters) and a function, and turns it into a curried function. NOTE: We do not handle scope for you.
Reference: https://gist.githubusercontent.com/jcmoyer/5571987/raw/3064bc4df0f4c027843e62f3c6581c3ce3cf5217/currying.lua
Parameters:
- f The function you wish to turn into a curried function.
Returns:
-
curriedFunk Your curried function.
Usage:
local curry = require 'luafp/func'.curry function add(a, b) return a + b end addCurry = func.curry(add) add1 = addCurry(1) print(add1(2)) -- 3
- negate (func)
-
Takes a predicate function and reverse the value returned. If the function returns true, it'll now return false. If the function returns false, it'll now return true.
Parameters:
- func Your predicate function, a function that only returns true or false. Parameter count doesn't matter, we'll unpack and call it for you.
Returns:
-
negated Your reversed predicate function.
Usage:
local func = require 'luafp/func'.negate function isCow(o) return o == 'cow' end print(isCow('cow')) -- true isNotCowLulz = func.negate(isCow) print(isNotCowLulz('cow')) -- false print(isNotCowLulz('chicken')) -- true


What is this?
This is Multitasq, a reimagining of the to-do list. The goal of Multitasq is to create an interface to a task based workflow that goes beyond a glorified paper list and creates something easy to understand at a glance yet that can still scale down to the deepest detail.
How do I use it?
Multitasq is made to be intuitive and usable on touch screen devices as well as the desktop. Here are a few helpful things you can do:
| Create a new task | Click any empty area on the screen. A task will be created under the nearest parent task. |
| Edit an existing task | Click the task and start typing. Enter or a click confirms the edit, and escape cancels it. |
| Mark a task as finished | Click the X in the corner of a task to mark it finished and grey it out. Clicking the X a second time will delete it. |
| Minimize a parent task | Click the minus sign (-) to minimize all child tasks of a parent. Clicking the plus (+) after minimizing will expand the task once more. |
| Focus on one subtree | You can bring a subtree to the front and center of Multitasq and hide all other tasks by clicking the up arrow (↑). Clicking the down arrow (↓) will drop the task back into place again. |
What happens to my created tasks?
Your tasks will be saved to localstorage and accessible again right where you left off whenever you open your browser. I hope to provide online storage of tasks possibly via Google Tasks integration soon...
Where can I get more info?
If you want to view the source code or get involved, check out the github page at github.com/justinmc/multitasq. The latest stable version is hosted on multitasq.com. You can also check out my personal blog at justinmccandless.com for any updates.


An Interface to the GA4GH API that allows users to easily GET responses and POST requests to GA4GH Servers. See <http://ga4gh.org> for more information about the GA4GH project.
| Version: | 0.1.1 |
| Depends: | R (≥ 3.1.0), httr |
| Imports: | jsonlite |
| Suggests: | magrittr |
| Published: | 2016-11-07 |
| Author: | Harry Peaker |
| Maintainer: | Harry Peaker <harry.peaker at aridhia.com> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | Rga4gh results |
| Reference manual: | Rga4gh.pdf |
| Package source: | Rga4gh_0.1.1.tar.gz |
| Windows binaries: | r-devel: Rga4gh_0.1.1.zip, r-release: Rga4gh_0.1.1.zip, r-oldrel: Rga4gh_0.1.1.zip |
| OS X binaries: | r-release: Rga4gh_0.1.1.tgz, r-oldrel: Rga4gh_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=Rga4gh to link to this page.


F
ortune
Cookie
With
Nebulas
Crack A Fortune Cookie And Share It With Twitter!
You will be successful and happy
Crack the Fortune Cookie
Last Fortune
CRACKING
warning
You have to install
NasExtWallet
so that you can save fortunes in blockchain


Here is a list of related components that can be used within the list component.
data
or dataProvider
.
Acceptable values: Observable Array or Array
.
data
or dataProvider
.
Acceptable values: extends ListDataProvider
.
ListViewComponent
to display when initialized.
data
and dataProvider
it allows an
initial data to be set with the need to call the dataProvider.
(searchText: string) => Observable Array or Promise Array
.
Observable Array of strings or Array of strings
.
string, Observable string, Array of strings,
or Observable Array of strings
.


@include('components/shared/layout/header/header.html') @include('components/shared/layout/header-fixed/header-fixed.html')
section 1
section 2
section 3
section 4
section 5
section 6


Represents incoming http request. A new instance of Req will be created for each incoming request. Req instances are read-only, but Middleware can create a copy with another context using dup() method.
Uri of current http request.
QueryMap of current request’s arguments (GET and POST respectively). QueryMap interface is mostly equivalent to [Str:Str], except that it allows multiple values for single key (accessed using getList(Str key) method).
Values from both get and post combined in a single QueryMap. If value exists in both get and post, value from post is used.
[Str:Str] of HTTP request headers.
Str of HTTP request method ("get" or "post" or another).
[Str:Str] of current browser session’s cookies. They’re for reading only, to set cookie, use Res.setCookie().
Resolve injectible data stored in context or app internal slots or Req instance itself, by name. This method is internally used for injecting method and constructor params on views. It may be useful in middleware or when for some reasons you cannot use constructor/parameter injection in view.
Standart resolvable options are:
See dup().
Returns a copy of current Req with values in context added or overriden. This method will usually be used by middleware to populate context with new values and made them visible to children by passing returned Req. See context.
InStream. Raw HTTP request input stream.


If any of you follow my page on Instagram, you’ll know that I’ve recently made the move to Portland, Oregon. My wife and I visited for the first time two years ago and instantly fell in love with the culture and scenery. We knew this was where we wanted to start our lives together so once we graduated college, off we went. It’s been a crazy and exciting experience to say the least but I’m trying to enjoy every minute of it.
I feel that when searching for ‘cool shops in Portland’ or ‘places to eat in Portland’ you’re stuck with the typical tourist attractions and tacky restaurant recommendations. While I have only lived here just over a month, I know the area fairly well and have explored a lot of great spots which I will be sharing with you. I’m hoping this guide will give you some insight into the places I feel make Portland truly special.
You can’t visit a city without going to the local Aesop store. I highly recommend taking the opportunity to try out their products in person if you haven’t already. The service at their stores is always top notch.
www.aesop.comSome very aesthetically pleasing speakers and home audio in this showroom. The Beosound Edge is enough for me to be impressed.
www.bang-olufsen.comThis is modern design at its finest. You can find pieces from well-known designers such as Carl Hansen & Søn, Artek, and of course the infamous Charles & Ray Eames. Little known fact is that the Portland showroom is their largest in the country making it well worth your time to visit.
www.dwr.comOne of the best local clothing stores in town. They offer pieces from several great brands such as Our Legacy and Acne Studios.
www.francesmay.comThis was their first showroom in the US with one now in Costa Mesa, California and one on the way in Chicago, Illinois. If you’re into Scandinavian design then this is the place to go.
us.hay.comBy far some of the most unique fragrances you’ll experience at this shop. You’ve probably heard of their most popular scent Santal 33, but I urge you to try them all if you get the chance.
www.lelabofragrances.comThe Japanese-based retailer just recently opened a space in Pioneer Square. This place screams minimalism, offering basic essentials in home, apparel, and much more.
www.muji.comThink of Patagonia’s functionality with a Japanese twist. This is definitely going to be the place that I buy all of my outdoor gear.
snowpeak.comI haven’t been back since they’ve recently changed their menu, but this is definitely one of my favorite sushi spots. They offer a pretty large variety of dishes so you can’t really go wrong here.
www.bamboosushi.comTry the biscuits & gravy. Just trust me.
www.blpdx.comBy far my favorite restaurant – period. They are located on the 15th floor of The Nines and offer a beautiful modern Asian cuisine. After dinner (I recommend the steamed tempeh buns) venture out to the rooftop bar for exquisite views of the city and one of the best old fashioned cocktails you'll ever have.
www.departureportland.comOne of the coolest tasting menus I've ever had the chance to experience. All dishes are vegan and change on a month-to-month basis.
www.farmspiritpdx.comIf you’re not in the mood for classic ice cream from Salt & Straw, I’d recommend Little Chickpea. All of their ice cream is made of chickpeas (wait what?) but tastes pretty similar to regular ice cream. My go-to flavor is definitely Cold Brew Coffee.
www.littlechickpea.comOffering a full vegan menu, this is my heaven when it comes to desserts. If you aren’t in the mood for sweets, give their mac & cheese a try.
petuniaspiesandpastries.comThis is the only place on this list I have yet to visit, but I already know it’s going to be a favorite. The bar is named after a song by The National (such a Portland thing to do) and gives off such a cool eclectic vibe with its colorful interior and artsy decor.
www.pinkrabbitpdx.comGet ready for some dark and moody undertones. If you’re looking for a chill night out, this is the place.
www.vaultpdx.com


Default:
This example shows how to use the default configuration over a form.
$('form').flury();
<form>
Name:
<input id="name" type="text" />

E-mail:
<input id="email" type="email" />
</form>
Including fields:
You can hook just some types of fields changing the attribute include
:
$('form').flury({ include: 'input:text' });
Excluding fields:
The same way you can exclude some fields changing the attribute exclude
:
$('form').flury({ exclude: 'input:password' });
Inline:
You can prevent absolute
style to be applied inline and use it from your CSS.
$('form').flury({ inline: false });
Single target:
You can bind just some fields without bind the whole form.
$('#name').flury();
Changing the settings globally:
You can change any option mentioning the scope $.fn.flury.defaults.
+ option_name. It must be called before you bind the plugin.
$.fn.flury.defaults.include = 'input:text';
$.fn.flury.defaults.exclude = 'input:password';
Options:
Fields to be excluded of the hook.
Fields to be hooked.
Applies the `absolute` style inline.
Functions:
$('form').flury('set', { option: 'value' })
Override the options declared.
Tests:
This plugin is tested to work better. Check it out!


Our generator will provide you with an outfit you might love based on the type of music you listen to. Have a look!
Pop punk princess of millenials. Known for her colored hair, band t-shirts, and ethereal voice.
Newcomer to the R&B scene.
After going viral, Cardi stayed relevant because of her infectious personality and bops.
16-year-old pop prodigy taking over the industry. Reinventing streetwear one day at a time.
Pretty sure you already know who Beyonce is.
Known for her iconic ponytail, Ariana's sweet look and four-octave vocal range inspire envy in all.


Distributorship
E-mail Address
Password
We'll never share your email with anyone else.
Re-Enter Password
Contact Number
Password
Address
City
State
State
Andaman and Nicobar
Andhra Pradesh
Assam
Arunachal Pradesh
Bihar
Chandigarh
Chhattisgarh
Dadra and Nagar Haveli
Daman and Diu
Delhi
Goa
Gujarat
Haryana
Himachal Pradesh
Jammu and Kashmir
Jharkhand
West Bengal
Karnataka
Kerala
Lakshadweep
Madhya Pradesh
Maharashtra
Manipur
Meghalaya
Mizoram
Nagaland
Orissa
Pondicherry
Punjab
Rajasthan
Sikkim
Tamil Nadu
Tripura
Uttaranchal
Uttar Pradesh
Zip Code
Description
Sign in


This implements the data table back-end for 'dplyr' so that you can seamlessly use data table and 'dplyr' together.
| Version: | 0.0.2 |
| Imports: | dplyr (≥ 0.5.0), data.table, lazyeval |
| Suggests: | Lahman, nycflights13, testthat, covr |
| Published: | 2017-04-21 |
| Author: | Lionel Henry [cre], Hadley Wickham [aut], RStudio [cph] |
| Maintainer: | Lionel Henry <lionel at rstudio.com> |
| BugReports: | https://github.com/hadley/dtplyr/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/hadley/dtplyr |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | dtplyr results |
| Reference manual: | dtplyr.pdf |
| Package source: | dtplyr_0.0.2.tar.gz |
| Windows binaries: | r-devel: dtplyr_0.0.2.zip, r-release: dtplyr_0.0.2.zip, r-oldrel: dtplyr_0.0.2.zip |
| OS X binaries: | r-release: dtplyr_0.0.2.tgz, r-oldrel: dtplyr_0.0.2.tgz |
| Old sources: | dtplyr archive |
| Reverse imports: | ndjson, randomForestExplainer |
| Reverse suggests: | dplyr, ForecastFramework, grattan, stranger |
Please use the canonical form https://CRAN.R-project.org/package=dtplyr to link to this page.


|
Generic Inliner
<IP_ADDRESS>
A base for making inliners for .NET deobfuscation
|
Provides the details needed to patch a Math call More...
Public Attributes | |
| Instruction | CallingInst |
| The Math.* Instruction More... | |
| Instruction | Converter |
| Not used currently, but the convert instruction (conv_i4 or similar) for the call More... | |
| List< Instruction > | Remove = new List<Instruction>() |
| List of Instructions to remove from the Parent Method More... | |
| string | Method |
| The Math.* Method, eg: Abs, Sin More... | |
| double | Param1 = double.NaN |
| Parameter 1 for the Math.* Method More... | |
| double | Param2 = double.NaN |
| Parameter 2 for the Math.* Method (may be NaN) More... | |
| MethodDef | ParentMethod |
| Parent method that holds the CallingInst More... | |
Provides the details needed to patch a Math call
| Instruction MathInliner.MathInfo.CallingInst |
The Math.* Instruction
| Instruction MathInliner.MathInfo.Converter |
Not used currently, but the convert instruction (conv_i4 or similar) for the call
| string MathInliner.MathInfo.Method |
The Math.* Method, eg: Abs, Sin
| double MathInliner.MathInfo.Param1 = double.NaN |
Parameter 1 for the Math.* Method
| double MathInliner.MathInfo.Param2 = double.NaN |
Parameter 2 for the Math.* Method (may be NaN)
| MethodDef MathInliner.MathInfo.ParentMethod |
Parent method that holds the CallingInst
| List<Instruction> MathInliner.MathInfo.Remove = new List<Instruction>() |
List of Instructions to remove from the Parent Method


Hi all,
I've loaded XAMPP on my WindowXP machine, I can access emoncms with http://localhost/EnergyMonitor/dashboard/view, but what do I change in the NanodeRF_Power_RTCrelay_GLCDtemp? This is how I have it and I have tried various combinations
//Domain name of remote webserver - leave blank if posting to IP address
char website[] PROGMEM = "";
static byte hisip[] = { 192,168,1,104 }; // un-comment for posting to static IP server (no domain name)
I have tried without the hisip, with it, making the website localhost, putting the ip address in the website etc
Serial.print("2 "); Serial.println(str.buf); // print to serial json string
// Example of posting to emoncms v3 demo account goto http://vis.openenergymonitor.org/emoncms3
// and login with sandbox:sandbox
// To point to your account just enter your WRITE APIKEY
ethernet_requests ++;
ether.browseUrl(PSTR("/EnergyMonitor/api/post?apikey=3032a682d72a21d78331df0a965d2b01&json="),str.buf, website, my_callback);
data_ready =0;
}
if (ethernet_requests > 10) delay(10000); // Reset the nanode if more than 10 request attempts have been tried without a reply
}
The above is where the local emoncms is installed
F:\xampp\htdocs\EnergyMonitor and I can access it with http://localhost/EnergyMonitor
Uploading to http://vis.openenergymonitor.org works a treat, but just not to localhost......
Any help will be appreciated please!
Re: localhost emoncms ---- RESOLVED
Hi,
From the comments in the code It looks like you should specify the IP address of your server in the IP (hisip) field line and leave the first line as it was:
char website[] PROGMEM = "";
static byte hisip[] = { XXX,XXX,XXX,XXX }; // un-comment for posting to static IP server (no domain name)
Where XXX... is the IP address of your emoncms server computer on your network - typically 192.168.X.X.
localhost = 'this machine' and is only used when software is accessing another service on the same computer i.e. using the browser on your server computer to look at the emoncms web pages.
Re: localhost emoncms ---- RESOLVED
I have exactly the same problem with WampServer (also Windows XP). Unfortunately, I don't know enough about LANs to offer any help.
Re: localhost emoncms ---- RESOLVED
I can't get it to work, http://localhost/emoncms3 works fine, but the NanodeRF does not want to post to the local webserver, I'm starting to think that it might be a windows XP problem? Has anyone got a local webserver working on windows XP?
[webClient]
DHCP status: 1
IP: <IP_ADDRESS>
GW: <IP_ADDRESS>
DNS: <IP_ADDRESS>
DNS status: 0
2 {rf_fail:1}
DNS status: 0
1 emontx packet rx2 {rf_fail:0,power1:34,power2:25,power3:0,voltage:3293}
DNS status: 0
2 {rf_fail:1}
DNS status: 0
2 {rf_fail:1}
Various combinantions of this below was tried
//Domain name of remote webserver - leave blank if posting to IP address
//char website[] PROGMEM = "vis.openenergymonitor.org";
//char website[] PROGMEM = "localhost";
char website[] PROGMEM = "";
static byte hisip[] = { 127,0,0,1 }; // un-comment for posting to static IP server (no domain name)
//static byte hisip[] = { 192,168,1,128 }; // un-comment for posting to static IP server (no domain name)
ether.browseUrl(PSTR("/emoncms3/api/post.json?apikey=xxxxxxx&json="),str.buf, website, my_callback);
Help please!!
Re: localhost emoncms ---- RESOLVED
First try to access emoncms3 from a seperate computer, other then where the webserver it is running on.
To figure out the IP address of your webserver in windows: open start menu, enter ' cmd' in the Search programs box. Once ther terminal appears enter 'ipconfig'. There should be an entry 'Ethernet adapter Local Area Network'. The IPv4 address is the IP address of your webserver.
Check with the other computer if you can open emoncms3 in a web browser (http://<IPv$ address>/emoncms3). Once you can confirm this, you are ready to setup the emonbase config (website[] PROGMEN parameter) with the same URL.
Re: localhost emoncms ---- RESOLVED
Seems we have the same issue: http://openenergymonitor.org/emon/node/645 though you've used a more appropriate title:-)
I've tried changing usernames/passwords this morning.
I've set the username to root and gave it a password. Note; to do this I had to edit the phpmyadmin config.inc.php file ; otherwise it won't let you back in! set the password in that file and we realy should also set 'AllowNoPassword' to false..
Having tried that - it still didn't work. Now I'm going to use root, without a password, and then I'll try a NULL password......
Check the apache/mysql logs and post what you find [latest line ]. What have you called your db? I think we should exactly mimic the db names and config used by Trystan at vis.openenergymonitor.org in case we're breaking something. However, it's most likely an XP/Xampp specific issue.
Eamonn
Re: localhost emoncms ---- RESOLVED
I think I have this same problem too.
Emoncms is installed on a windows XP sp3 machine. Emonbase can post to vis.openenergymonitor.org, but, whenever I update the sketch to use a local server, I get an rf error
[webClient]
DHCP status: 1
IP: <IP_ADDRESS>
GW: <IP_ADDRESS>
DNS: <IP_ADDRESS>
DNS status: 0
2 {rf_fail:1}
Re: localhost emoncms ---- RESOLVED
did you try to browse to your local webserver.
Try to put http://yourserveripadr in your adr line and see what shows up.
Just to make shure you can connect to the server on your local network.
Re: localhost emoncms ---- RESOLVED
Yes, I can browse to emoncms on my local sever using it's IP address.
Re: localhost emoncms ---- RESOLVED
Yep I give up on this, I can even get into emoncms3 from my phone, when connected to the wireless network at home, the sketch is setup like this below
//Domain name of remote webserver - leave blank if posting to IP address
char website[] PROGMEM = "";
//char website[] PROGMEM = "vis.openenergymonitor.org";
//static byte hisip[] = { 213,138,101,177 }; // un-comment for posting to static IP server (no domain name)
static byte hisip[] = { 192,168,1,103 }; // un-comment for posting to static IP server (no domain name)
ethernet_requests ++;
ether.browseUrl(PSTR("/emoncms3/api/post.json?apikey=b33c8f874e5458c5389bee6c29e93268&json="),str.buf, website, my_callback);
data_ready =0;
I can post using this below from a browser locally
http://<IP_ADDRESS>/emoncms3/api/post.json?apikey=b33c8f874e5458c5389bee6c29e93268&json={power:777.4,temperature:99.4}
I can surf to the emoncms3 using my phone with http://<IP_ADDRESS>/emoncms
but the NanodeRF does not want to post......
[webClient]
DHCP status: 1
IP: <IP_ADDRESS>
GW: <IP_ADDRESS>
DNS: <IP_ADDRESS>
DNS status: 0
2 {rf_fail:1}
DNS status: 0
2 {rf_fail:1}
DNS status: 0
2 {rf_fail:1}
DNS status: 0
2 {rf_fail:1}
DNS status: 0
Re: localhost emoncms ---- RESOLVED
oooooh yea, got it to work
In the dhcp_dns sketch, uncomment the following lines
ether.copyIp(ether.hisip, hisip);
dns_status = 1;
and this is the way I got it setup in the main sketch NanodeRF_Power_RTCrelay_GLCDtemp
//Domain name of remote webserver - leave blank if posting to IP address
char website[] PROGMEM = "";
static byte hisip[] = { 192,168,1,103 }; // un-comment for posting to static IP server (no domain name)
ether.browseUrl(PSTR("/emoncms3/api/post.json?apikey=263739f2964234453b77b0d2522e6377&json="),str.buf, website, my_callback);
The monitor now reports
1 emontx packet rx2 {rf_fail:0,power1:0,power2:0,power3:0,voltage:0,temperature:22.87}
3 ok | Date: Sat, 12 May 2012 12:33:35 GMT
4 emonbase sent
5 emonglcd: 2287
1 emontx packet rx2 {rf_fail:0,power1:0,power2:0,power3:0,voltage:0,temperature:22.87}
3 ok | Date: Sat, 12 May 2012 12:33:42 GMT
4 emonbase sent
5 emonglcd: 2287
Re: localhost emoncms ---- RESOLVED
Looks like that works for me too :) Is this a common enough problem to be added to the EmonBase setup steps at http://openenergymonitor.org/emon/applications/homeenergy ?
Re: localhost emoncms ---- RESOLVED
I would vote yes, it needs to be added, it is frustrating trying to find all the "problems" and if it helps someone else, it is worth it?
Re: localhost emoncms ---- RESOLVED
I have now got it working for WampServer.
I second the suggestion to make these notes permanent, and add:
a plea to a LAN expert: Can we have a full idiot's guide for people like me who know little about setting up a LAN and haven't got one already set up (and preferably 3 versions: Windows, Mac & Linux)?
Here are the three gotcha's that got me:
you need to make localhost, port 80 an exception in the Windows Firewall settings (or whatever your server name and port are),
you need to put WampServer online (OK, obvious but easily missed),
you need to connect direct to your router (i.e. plugging into the computer's ethernet port won't work)
For a reason that I haven't yet determined, the 'test' line from another machine works from a web browser with the URL "http://Bryn_Glas:80/openenegymonitor-emoncms .... etc" but it won't accept that in the sketch. ("Bryn_Glas" is the machine name of the computer hosting WampServer)
Re: localhost emoncms ---- RESOLVED
I've taken the liberty of adding a step to http://openenergymonitor.org/emon/applications/homeenergy
Re: localhost emoncms ---- RESOLVED
folks; I need to append :85 to the end of my Server IP Address to be able to browse to it from another machine. I've had to do this to avoid a port 80 conflict on the XP machine.
I need to point my BrowseURL to MyServerIP:85/emoncms3...............
I've tried the following in the sketch without success :
ether.browseUrl(PSTR(":85/emoncms3/api/post.json?apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&json="),str.buf, website, my_callback);
But can post data successfully using the following on a different machine using the address bar[ Chrome] :
http://MyServerIP:85/emoncms3/api/post.json?apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&json={power:50,temperature:13}
Anyone got ideas -do I need to hack my ports library to make 85 the default?
Eamonn


Using Configuration Management Systems
You can use Submission Check with the CM integration. Out of the box, DIScover supports Source Integrity and Rational ClearCase. The CM integration in Developer Xpress is carried out entirely on the client side, and interacts smoothly with CM operations carried out outside of Developer Xpress. Files checked out on the command line are recognized as local by Developer Xpress.
Within Developer Xpress, CM operations are accessed through the CM menu. Universal options available with all out of the box CM systems are:
• Check out checks out the selected files or the files the selected entities are defined in (defining files).
• Undo Checkout undoes the check out of the selected files or the defining files the selected entities are defined in.
• Check In checks in the selected files or the defining files.


{% for feed in feeds %}
{{ feed.title }} {{ feed.body|safe }} {{ feed.author }} | {{ feed.updated|date:"M Y d" }} | {{ feed.created|date:"M Y d" }}


Komodo
feed-github
Auto feed for all activities in GitHub. New notification as they happen in real-time.
Between 09-Jan-20 12:00 AM and 10-Jan-20 12:00 AM
GitHub
BOT
09-Jan-20 05:39 AM
jl777
[jl777/coins] Pull request closed: #410 replace dead QTUM electrum
jl777
[coins:master] 2 new commits
`e5c2d66`
replace dead QTUM electrum - cipig
`73ed8d6`
Merge pull request #410 from cipig/master - jl777
GitHub
BOT
09-Jan-20 06:33 AM
jl777
[komodo:DEX] 1 new commit
`4821c83`
Lag2 - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`9e8ed81`
* - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`993cbb3`
Percentages - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`ccb799c`
Test - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`68b469f`
Fix lag calc - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`b88d9d4`
3 lags - jl777
[komodo] macOS-latest CI success on DEX
[komodo] Win Build failure on DEX
[komodo] Win Build failure on DEX
GitHub
BOT
09-Jan-20 07:04 AM
[komodo] ubuntu-18.04 CI failure on DEX
jl777
[komodo:DEX] 1 new commit
`bcc3b40`
Lag detector - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`724b6ed`
Revert fastpoll - jl777
[komodo] macOS-latest CI success on DEX
[komodo] Win Build failure on DEX
[komodo] GitHub Actions checks failure on DEX
jl777
[komodo:DEX] 1 new commit
`e148e66`
16kb packet size - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`3726fd5`
1MB is 1<<20 - jl777
[komodo] macOS-latest CI success on DEX
[komodo] Win Build success on DEX
[komodo] Win Build success on DEX
jl777
[komodo:DEX] 1 new commit
`a1f022c`
Test - jl777
[komodo] macOS-latest CI success on DEX
[komodo] Win Build failure on DEX
[komodo] Win Build success on DEX
jl777
[komodo:DEX] 1 new commit
`d363e4e`
Init Len inside loop - jl777
[komodo] macOS-latest CI success on DEX
GitHub
BOT
09-Jan-20 07:52 AM
jl777
[komodo:DEX] 1 new commit
`129cec9`
Blast0 - jl777
[komodo] macOS-latest CI success on DEX
GitHub
BOT
09-Jan-20 08:03 AM
jl777
[komodo:DEX] 1 new commit
`3539261`
Test - jl777
jl777
[komodo:DEX] 1 new commit
`a49b85c`
-print - jl777
jl777
[komodo:DEX] 1 new commit
`6769152`
Blaster iter - jl777
[komodo] Win Build success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] Win Build success on DEX
jl777
[komodo:DEX] 1 new commit
`3a27dd2`
Fix adjustment - jl777
[komodo] ubuntu-18.04 CI failure on DEX
[komodo] GitHub Actions checks failure on DEX
jl777
[komodo:DEX] 1 new commit
`42739bf`
Sizes - jl777
[komodo] ubuntu-18.04 CI failure on DEX
[komodo] GitHub Actions checks failure on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] Win Build success on DEX
jl777
[komodo:DEX] 1 new commit
`507e224`
Test - jl777
jl777
[komodo:DEX] 1 new commit
`e84f108`
-print - jl777
[komodo] Win Build success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] Win Build success on DEX
[komodo] macOS-latest CI success on DEX
GitHub
BOT
09-Jan-20 08:57 AM
[komodo] Win Build success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] ubuntu-18.04 CI failure on DEX
[komodo] GitHub Actions checks failure on DEX
GitHub
BOT
09-Jan-20 09:08 AM
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] macOS-latest CI success on DEX
[komodo] Win Build success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] Win Build success on DEX
GitHub
BOT
09-Jan-20 09:32 AM
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks failure on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] Win Build success on DEX
[komodo] Win Build success on DEX
GitHub
BOT
09-Jan-20 09:47 AM
[komodo] Win Build success on DEX
[komodo] Win Build success on DEX
jl777
[komodo:DEX] 1 new commit
`651a35b`
Mutex - jl777
[komodo] macOS-latest CI success on DEX
[komodo] Win Build success on DEX
GitHub
BOT
09-Jan-20 10:11 AM
jl777
[komodo:DEX] 1 new commit
`bec5300`
Redo mutex - jl777
[komodo] macOS-latest CI success on DEX
jl777
[komodo:DEX] 1 new commit
`569881a`
Redo - jl777
[komodo] macOS-latest CI success on DEX
[komodo] ubuntu-18.04 CI failure on DEX
[komodo] GitHub Actions checks failure on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX
[komodo] ubuntu-18.04 CI success on DEX
[komodo] GitHub Actions checks success on DEX


Flat 40% OFF on premium brands
Original watches from the best brands.
Choose among the best available in the world.
Original shirts from the best brands.


Enter your ONE address and click fund.We'll send a transaction to the Harmony blockchain and let you know when it's confirmed.
Waiting for confirmation...


Salmon Cookies T-Shirt - $25
Enjoy the city in style and help represent your favorite cookies!
Salmon Cookie Cutters - $4.00
Make your own Salmon Cookies at home! These are the same cutters we use in all our stores. Buy yours today.
Enjoy the city in style and help represent your favorite cookies!
Make your own Salmon Cookies at home! These are the same cutters we use in all our stores. Buy yours today.


Players
jocamar
Rank: 1345 - EU
xxXSmasher360Xxx
Rank: 1345 - EU
Open
Rank: --
Open
Rank: --
Settings
Stage: Final Destination
Game Mode: Team Battle
Win Condition: Stock
Stock Limit: 5
Items Allowed: Yes
Friendly Fire: Active
Custom Chars Allowed: Yes


template<typename T>
class drake::systems::ScalarInitialValueProblem< T >
A thin wrapper of the InitialValueProblem class to provide a simple interface when solving scalar initial value problems i.e.
when evaluating the x(t; 𝐤) solution function to the given ODE dx/dt = f(t, x; 𝐤), where f : t ⨯ x → ℝ , t ∈ ℝ, x ∈ ℝ, 𝐤 ∈ ℝᵐ, along with an initial condition x(t₀; 𝐤) = x₀. The parameter vector 𝐤 allows for generic IVP definitions, which can later be solved for any instance of said vector.
Note the distinction from general initial value problems where f : t ⨯ 𝐱 → ℝⁿ and 𝐱 ∈ ℝⁿ, addressed by the class being wrapped. While every scalar initial value problem could be written in vector form, this wrapper keeps both problem definition and solution in their scalar form with almost zero overhead, leading to clearer code if applicable. Moreover, this scalar form facilitates single-dimensional quadrature using methods for solving initial value problems.
See InitialValueProblem class documentation for information on caching support and dense output usage for improved efficiency in scalar IVP solving.
For further insight into its use, consider the following examples of scalar IVPs:
- The population growth of an hypothetical bacteria colony is described by dN/dt = r * N. The colony has N₀ subjects at time t₀. In this context, x ≜ N, x₀ ≜ N₀, 𝐤 ≜ [r], dx/dt = f(t, x; 𝐤) = 𝐤₁ * x.
- The charge Q stored in the capacitor of a (potentially equivalent) series RC circuit driven by a time varying voltage source E(t) can be described by dQ/dt = (E(t) - Q / Cs) / Rs, where Rs refers to the resistor's resistance and Cs refers to the capacitor's capacitance. In this context, and assuming an initial stored charge Q₀ at time t₀, x ≜ Q, 𝐤 ≜ [Rs, Cs], x₀ ≜ Q₀, dx/dt = f(t, x; 𝐤) = (E(t) - x / 𝐤₂) / 𝐤₁.
- Template Parameters
-
|
| | ScalarInitialValueProblem (const ScalarOdeFunction &scalar_ode_function, const ScalarOdeContext &default_values) |
| | Constructs an scalar IVP described by the given scalar_ode_function , using given default_values.t0 and default_values.x0 as initial conditions, and parameterized with default_values.k by default. More...
|
| |
| T | Solve (const T &tf, const ScalarOdeContext &values={}) const |
| | Solves the IVP for time tf , using the initial time t₀, initial state x₀ and parameter vector 𝐤 present in values , falling back to the ones given on construction if not given. More...
|
| |
| std::unique_ptr< ScalarDenseOutput< T > > | DenseSolve (const T &tf, const ScalarOdeContext &values={}) const |
| | Solves and yields an approximation of the IVP solution x(t; 𝐤) for the closed time interval between the initial time t₀ and the given final time tf , using initial state x₀ and parameter vector 𝐤 present in values (falling back to the ones given on construction if not given). More...
|
| |
| template<typename Integrator , typename... Args> |
| Integrator * | reset_integrator (Args &&... args) |
| | Resets the internal integrator instance by in-place construction of the given integrator type. More...
|
| |
| const IntegratorBase< T > & | get_integrator () const |
| | Gets a reference to the internal integrator instance. More...
|
| |
| IntegratorBase< T > & | get_mutable_integrator () |
| | Gets a mutable reference to the internal integrator instance. More...
|
| |
|
| | ScalarInitialValueProblem (const ScalarInitialValueProblem &)=delete |
| |
| ScalarInitialValueProblem & | operator= (const ScalarInitialValueProblem &)=delete |
| |
| | ScalarInitialValueProblem (ScalarInitialValueProblem &&)=delete |
| |
| ScalarInitialValueProblem & | operator= (ScalarInitialValueProblem &&)=delete |
| |


CrimPapers
Articles published on 11 July 2019
On 11 July 2019, 7 new articles were published in 7 journals.
How Do Sporting Organisations Conceptualise and Operationalise the Prevention of Violence Against Women? by Gemma Hamilton, Ruth Liston, Shaez Mortimer
Book Review: Bending Toward Justice: the Birmingham Church Bombing That Changed the Course of Civil Rights by David E. Barlow
Book Review: the Dominici Affair: Murder and Mystery in Provence by Michael Goodier
Rethinking Traumatic Brain Injury From Intimate Partner Violence: A Theoretical Model of the Cycle of Transmission by Amanda St Ivany, Donna Schminkey
Pyramids Or Sandcastles? Regulating Police Conduct in Ireland by Brian Moss
Knutsson, J. and Tompson, L., Eds. (2017). Advances in Evidence Based Policing; Lum, C. and Koper, C .s. (2017).evidence-Based Policing: Translating Research Into Practice
Help-Seeking Behavior in Victims of Elder Abuse: A Systematic Review by Silvia Fraga Dominguez, Jennifer E. Storey, Emily Glorney


According to International Society of Aesthetics Plastic Surgery statistics, the US topped the chart in the total number of plastic surgery with more than 1.4 million procedures performed in 2015. However, when the number of population is taken into account, South Korea had the highest number of plastic surgery procedures per capita (close to 0.009 per person).
The survey looks at the number of plastic surgeries performed in nine countries in 2015.
Click the buttons below to explore.
Source: International Society of Aesthetics Plastic Surgery
Let's see how each of these procedures ranks in different countries. Click on each procedure name to find out.
Source: International Society of Aesthetics Plastic Surgery
Breast augmentation was the most popular plastic surgery procedure in the US, with more than 300,000 procedures performed in 2015. Liposuction comes next with close to 250,000 procedures performed.
Source: International Society of Aesthetics Plastic Surgery
Americans spent more than USD 1 billion in 2015 on breast augmentation and rhinoplasty (nose job) each.
The total spending on cosmetic plastic surgery amounted to almost USD 7.5 billion, or around the size of the GDP of Kyrgyzstan in 2015.
Source: American Society of Plastic Surgeons
How much does each procedure cost in the US? Use the price slider to find out what you can afford.
Source: American Society of Plastic Surgeons


Like everything in this world, apps have a lifecycle. They are installed, launched, restarted, suspended when the system needs to free up resources and uninstalled. This lab will show you the basics of the Chrome app lifecycle and how its heart, the event page (aka background script), is used.
The event page is one of the most important pieces of a Chrome app. It's responsible for what gets launched, when, and how. For example, if your app is an instant messenger, you might want your event page to only show a UI when there is a new notification.
For simpler apps, the event page listens to the app lifecycle events and reacts appropriately. There are two important lifecycle events, $ref:app.runtime.onLaunched and $ref:app.runtime.onRestarted.
The $ref:app.runtime.onLaunched event is the most important event. It fires when the user clicks on your app's icon with the intent of launching it. For most simpler apps, the event page will listen for this event and open a window when it fires. See AngularJS main.js or JavaScript main.js for the most common usage.
The $ref:app.window.create method can associate an ID to the window being opened. Currently, the most interesting use for this is to restore a window's width, height and location and its associated Developer Tools window, if opened, when the app is launched.
Execute your app as it is now, move and resize the window,
close and restart it.
The app will reopen in the original location, right?
Now add a property id
to the event page,
Angular main.js or
JavaScript main.js,
reload the app and test again:
chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', {id: 'mainwindow', bounds: {width: 500, height: 309} }); });
If your application requires, you can open more than one window.
The $ref:app.runtime.onRestarted event is not as essential as onLaunched
,
but it might be relevant to certain types of apps.
This event is executed when the app is restarted, for example,
when Chrome quits, restarts, and the app is launched again.
You can use this event to restore a transient state.
For example, if your app has a form with several fields, you won't always want to save the partial form while the user is typing. If the user quits the app on purpose, she might not be interested keeping the partial data. If the Chrome runtime restarted for some reason other than by a user's intention, the user will want that data when the app is restarted.
Let's change our code to save the Todo input field in $ref:storage as the user types,
only restoring it if the onRestarted
event is triggered.
Note:
We learned about chrome.storage.sync
before, but
chrome.storage.local
wasn't mentioned until now.
Both have exactly the same syntax,
but the semantics of chrome.storage.local
is, as the name says, completely local.
There's no attempt to synchronize or to save the data in the cloud.
Update the event page to include the
onLaunched
and onRestarted
events.
Events are handled the same in
AngularJS main.js and
JavaScript main.js:
chrome.app.runtime.onLaunched.addListener(function() { // normal launch initiated by the user, let's start clean. // note that this is not related to the persistent state, which is // appropriately handled in the window code. runApp(false); }); chrome.app.runtime.onRestarted.addListener(function() { // if restarted, try to get the transient saved state runApp(true); }); function runApp(readInitialState) { chrome.app.window.create('index.html', {id: 'mainwindow', bounds: {width: 500, height: 309} }, // the create callback gets a reference to the AppWindow obj function(win) { // when the callback is executed, the DOM is loaded but no script was // loaded yet. So, let's attach to the load event. win.contentWindow.addEventListener('load', function() { if (readInitialState) { win.contentWindow.setInitialState(); } else { win.contentWindow.clearInitialState(); } }); }); }
Add to existing AngularJS controller.js or JavaScript controller.js:
var newTodoInput = null; var clearInitialState = function() { chrome.storage.local.set({'newtodo': null}); } var setInitialState = function() { chrome.storage.local.get('newtodo', function(data) { if (newTodoInput && data && data.newtodo) { newTodoInput.value = data.newtodo; newTodoInput.focus(); } }); } window.addEventListener('load', function() { var saveTransientState = function() { chrome.storage.local.set({'newtodo': newTodoInput.value}); }; newTodoInput = document.querySelector('input[type="text"]'); newTodoInput.addEventListener('keypress' , function() { saveTransientState();
}) })
var newTodoInput = document.querySelector('input[type="text"]'); window.clearInitialState = function() { chrome.storage.local.set({'newtodo': null}); } window.setInitialState = function() { chrome.storage.local.get('newtodo', function(data) { if (newTodoInput && data && data.newtodo) { newTodoInput.value = data.newtodo; newTodoInput.focus(); } }); }; var saveTransientState = function() { chrome.storage.local.set({'newtodo': newTodoInput.value}); }; newTodoInput.addEventListener('keypress' , function() { saveTransientState(); })
Save the changes by reloading the app: open the app, right-click and select Reload.
If Chrome and the app shuts down for any reason (other than a user-gesture),
the onRestarted
event is fired.
Any text entered in the input field (but not yet saved as a Todo item)
will reappear when Chrome and the app are reopened.
If you get stuck and want to see the app in action,
go to chrome://extensions
,
load the unpacked
AngularJS app or
JavaScript app,
and launch the app from a new tab.
Manage App Lifecycle tutorial
In 6 - Access User's Data, you will learn how to identify users and use OAuth2.0 to access Google and other third party services.
Note: The next chapter covers a still experimental API. If you don't want to play with experimental APIs, feel free to skip it - the rest of the codelab is independent from it.


3 Filipino bets keep medal bids going in World Seniors Chess
Grandmaster Rogelio Antonio Jr needs to win his last two matches to crash the top 3 as two other Pinoy chess players try to stay in the hunt
by Roy LuarcaSubscribe
Email Address
Newsletters
- Glenda Gloria's Take this Tuesday
- Huddle by Miriam Grace Go
- The Newsbreak Agenda by Chay Hofileña
- Sometimes, all you need is video by Lilibeth Frondoso


validateForm
The form get checked if it validates. Move to the next step in the wizard or show an error instead of the bullet
validateForm(form);
The form object that is being field out on the active wizard step


interface Handler
Handler interface for stopping the started class. You can get objects of this interface after using ProximityObserver.startObserving.
abstract fun stop(): Unit
Stops the underlying BLE scan. Depending on a ProximityObserver configuration, it may make an additional network calls such as analytics data. |


Name
This is a chat room written in
lev
. The source code is
here
.
loading
18:58
TTilus
x6a616e: i think you can, there was some weird #send trick to do that
5 users
uptime:
?


- Files - List of URL-s detected as file (not HTML page)
- Status - HTTP response code or error name if response is not available
Server response with code 4xx or 5xx is reported as error
- Requests - Number of requests made while loading page
- Cached - What percentage of requests was cached
- Received data - Amount of data transferred from server while loading page
- Load time - Time to "Load" event
- BL (Back Link) - The page on which this URL was found
| ID |
URL |
Status |
Requests |
Cached |
Received data [KB] |
Load time [ms] |
BL |
| ID |
URL |
Content-Type |
Content-Length [KB] |
BL |


|
| Value |
Description |
Notes |
|
| 01 |
Winner |
|
| 02 |
Runner-up |
Named as being in second place |
| 03 |
Commended |
Cited as being worthy of special attention at the final stage of the judging process, but not named specifically as winner
or runner-up. Possible terminology used by a particular prize includes ‘specially commended’ or ‘honored’
|
| 04 |
Short-listed |
Title named by the judging process to be one of the final list of candidates, such as a ‘short-list’ from which the winner
is selected, or a title named as ‘finalist’
|
| 05 |
Long-listed |
Title named by the judging process to be one of the preliminary list of candidates, such as a ‘long-list’ from which first
a shorter list or set of finalists is selected, and then the winner is announced
|
| 06 |
Joint winner |
Or co-winner |
| 07 |
Nominated |
Selected by judging panel or an official nominating process for final consideration for a prize, award or honour for which
no ‘short-list’ or ‘long list’ exists
|
|


State represents a machine state, it owns the paths to the connected (through Events and Actions) States. The State is NOT thread safe.
More...
#include <StateMachine.h>
State represents a machine state, it owns the paths to the connected (through Events and Actions) States. The State is NOT thread safe.
Definition at line 62 of file StateMachine.h.
◆ State()
| State::State |
( |
const string & |
name, |
|
|
void * |
user_dataP |
|
) |
| |
|
inline |
State constructor.
- Parameters
-
| name | is the new state's name |
| user_dataP | can point to user data information block or be NULL |
Definition at line 77 of file StateMachine.h.
◆ ~State()
◆ CheckTransition()
| bool State::CheckTransition |
( |
const string & |
transition_name | ) |
|
|
inline |
Checks whether the given transition exists for this.
- Parameters
-
| name | is the transition identifier |
- Returns
- true if and only if the transition exists
Definition at line 200 of file StateMachine.h.
◆ DoTransition()
| State * State::DoTransition |
( |
const string & |
transition_name, |
|
|
string & |
callback_name |
|
) |
| |
|
inline |
Executes the given transition on this, DOES NOT CALL the associated callback.
- Parameters
-
| transition_name | is the transition identifier |
| *callbackP | receives the callback (if not NULL) |
- Returns
- the newly reached State
Definition at line 171 of file StateMachine.h.
◆ GetName()
| const string& State::GetName |
( |
| ) |
|
|
inline |
◆ GetTimeout()
| unsigned long State::GetTimeout |
( |
| ) |
|
|
inline |
◆ GetTimeoutTransition()
| const string& State::GetTimeoutTransition |
( |
| ) |
|
|
inline |
◆ GetUserData()
| void* State::GetUserData |
( |
| ) |
|
|
inline |
◆ RemoveTransition()
| void State::RemoveTransition |
( |
const string & |
transition_name | ) |
|
|
inline |
Deletes an existing transition.
- Parameters
-
| name | is the transition identifier |
Definition at line 153 of file StateMachine.h.
◆ SetTimeoutTransition()
| void State::SetTimeoutTransition |
( |
unsigned long |
millisec_timeout, |
|
|
const string & |
transition_name |
|
) |
| |
|
inline |
◆ SetTransition()
| void State::SetTransition |
( |
State * |
destinationP, |
|
|
const string & |
transition_name, |
|
|
const string & |
callback_name |
|
) |
| |
|
inline |
Creates a new or modifies an existing transition.
- Parameters
-
| destinationP | is the target State |
| transition_name | is the transition identifier |
| callback_name | will be called when the new transition is executed |
Definition at line 121 of file StateMachine.h.
◆ SetTransitionCallback()
| void State::SetTransitionCallback |
( |
const string & |
transition_name, |
|
|
const string & |
callback_name |
|
) |
| |
|
inline |
Modifies an existing transition's callback.
- Parameters
-
| transition_ | is the transition identifier |
| callback | will be called when the new transition is executed (reset to default if empty) |
Definition at line 140 of file StateMachine.h.
The documentation for this class was generated from the following file:


Our mission is to bring together individuals at corporate and academic institutions interested in both business and engineering and to integrate these fields into one practice. NOBE will serve as a crossroad and network for the unmet professional, leadership, technological and entrepreneurial development of these individuals. As a national organization, NOBE will maintain this network and continually build resources to help these individuals meet the constantly evolving demands they will face in today’s business world.
Join a variety of committees that promote direct member involvement with the organization and local community.
Develop skills and connections with other NOBE members by getting involved on teams.


. (period) Reset Diamond Length
This feature resets the reserved variable DimLen and changes the diamond Length report on the message line.
Press . to enter a value for DimLen.
Set dimension length in User units
Enter the distance you wish the DIAMOND Keys to move the cursor.
This directly modifies the length the DIAMOND Keys will move the cursor.
Note that arithmetic expressions are valid: 175/21.5 6*1.08 etc.
The new length will be displayed on the message line.


Added detecting features introduced in Android 13.
Improved detecting hardware acceleration for audio codecs.
Added more known codec issues.
Added a second database for known multimedia issues with devices regardless of a used codec.
AC3 codecs should now provide a correct max sampling rates also on older devices.
Fixed some video encoders under-reporting their 1080p/4K capabilities.
Dynamic theming can now be used on most Android 5.0+ devices.
Bugfixes and general improvements.
Added detecting features introduced in Android 12.
Added optional dynamic theming on Android 12 and newer.
Input channel count now shows both minimal and maximal values.
Bugfixes and general improvements.
Bugfixes and general improvements.
UI improvements for bigger tablets and Chromebooks.
App should now be resizable if Samsung DeX is enabled.
Bugfixes and general improvements.
Added querying for System Renawability Message (SRM) properties for Widevine.
Listing secure decoders on Android 5.0-6.0 should now be more reliable.
Added a workaround for Oppo R9 not listing a generic raw audio decoder.
(Android TV) Significant APK size reduction.
Reported max resolution should be now more accurate for some codecs.
Codec Info will now detect and inform users about known issues with some codecs. If you know about an issue that's not being displayed, please send a feedback email about it!
Added a notification for the user if getting a codec list is impossible due to an Android platform bug.
Added more known color formats from Broadcom, MediaTek, Qualcomm and Samsung.
Getting a supported profile level for VP9 codecs should be now much more accurate on Android 6.0 and older.
Provide better estimates for DivX codecs, if getting the exact info is not possible.
Bugfixes and general improvements.
Added a new tab with DRM types (and their properties) supported by the device.
Added a search functionality - search for info in a current list of codecs/DRM or codec/DRM properties!
UI overhaul providing improvements for larger screens, landscape orientation and dark mode.
Bugfixes and general improvements.
Improved hardware acceleration detection for some older Qualcomm codecs.
(Android 10 and newer) Aliases for other codecs are now hidden by default; this can be changed in settings.
Added color formats from newer Qualcomm SoCs.
Bugfixes and general improvements.
Added support for Android TV!
NOTE: Sharing codec info and sending feedback from Android TV are currently unavailable.
Added color formats from Panasonic/SNI.
Added features and codec profiles from Android 11.
About app dialog was greatly reworked for devices with Android 5.0 and newer. It now also includes a changelog and licenses for used libraries.
App can now be installed and moved to an SD card.
Codecs will now note if they are software only and their provider.
Codec features supported on Android 5.0 and newer will now indicate if they are required to use.
Setting light/dark app theme should be now more reliable on some LG and Xiaomi devices.
Immersive mode is now a toggable option from settings.
Improved detection of some hardware-accelerated codecs.
Improved detection of input channel count and sample rates for ALAC.
Improved detection of WMA codecs.
Bugfixes and general improvements.
Added support for codec-related changes from Android Q (10.0).
Added info for the AV1 codec.
Added more profile levels for H.264, HEVC and VP9.
Improved detection of some hardware-accelerated codecs from Intel.
Improved settings for dark theme for devices with Android 5.0 or newer.
NOTE: "Set by Battery Saver" may not work on some devices with Android 5.0-8.1 due to changes made in the system by a device manufacturer.
Bugfixes and small improvements.
Added a new preferences screen with options for sorting, filtering and more.
Added profile levels for VC-1 codecs by Renesas.
Added more resolutions when checking for maximum framerate.
Improved detection of hardware-accelerated codecs.
Significantly improved data accuracy for AMR-WB+.
Improved detection of input channel count for MP1, MP2, MP3, FLAC and DTS.
Bugfixes and small improvements.
Added color formats from Renesas.
Added WMV9 profile levels.
Added a new launcher icon!
Improved hardware acceleration detection for Broadcom codecs.
Known color formats and profile levels show also their hex values.
Bugfixes and small improvements.
Fixed Samsung air gestures not working.
Added info about hardware acceleration to codec details.
Added color formats from Nvidia.
Added support for Ittiam codecs using Qualcomm color formats.
Enabled support for the multiwindow on Samsung and LG devices below Android 7.0.
Implemented switching tabs for Samsung devices that support air gestures.
Moving your hand from right to left will change the active tab to audio codecs and moving from left to right - to video codecs.
Added color formats from Marvell and Rockchip.
Added profile levels for MVC codecs.
Improved detecting max input channel count for audio codecs on Android 8.1.
Bugfixes and small improvements.
Fixed unknown profile levels for 3GPP codecs.
Bugfixes
Added listing framerates for 144p, 240p and 576p.
Improved VP9 profile detection on Android 5.0 - 6.0.
Added known profile levels for AVS, VC-1, VP6, WMA and WMV.
Fixed profile levels not being recognized for some codecs, including Sorenson, DivX and XviD.
Added another set of recognized color formats from Intel, Samsung and MediaTek.
Codec profiles will now list only the highest supported level.
Bugfixes and small improvements.
Lowered a minimum supported Android version to Android 4.1.
Added new color formats from Qualcomm and Intel.
Added Qualcomm-specific profile levels for H.264 AVC.
Improved max input channel count for non-platform audio codecs.
Added more sharing options in two-pane mode.
Added supported complexity and quality ranges for encoders (Android 5.0+).
Added an AACObjectXHE profile for AAC codecs (Android 9.0+).
Bugfixes.
Greatly improved user interface for devices with bigger screens like tablets or Chromebooks.
Added various color formats from Broadcom, MediaTek, Samsung, Sony and Texas Instruments.
Added extensions for MPEG-4 by Samsung and Qualcomm.
Detecting max input channel count for non-platform audio codecs should now work a little bit better.
Bugfixes and small improvements.
Added codec profiles/levels for VC-1.
Added new recognized color formats and codec profiles/levels for other codecs.
Improved reliability of recognizing codec profiles and levels.
Bugfixes
Initial release


--- layout: post title: Easy inspection of a RubyGems library date: 2012-02-17 12:42:44.000000000 -08:00 type: post published: true status: publish categories: tags: [] meta: _edit_last: '1' author: login: admin email<EMAIL_ADDRESS>display_name: admin first_name: Carina C. last_name: Zon ---
Handy trick, courtesy of Aaron Blohowiak on ruby-6:
$ gem install open_gem
$ gem open [gem_name]
The entire gem's codebase is opened into your favorite editor, as defined by the shell variable EDITOR.
$ echo EDITOR
vi
$ $EDITOR = emacs
$ echo EDITOR
emacs
My own choice is actually TextMate (mate). But fewer people have that already on their system.
By the way, if you're using the Bundler gem, your working directory includes a Gemfile file or Gemfile is further up its path, and bundle install
is current, then you can do this instead:
$ bundle open [gem_name]
Somewhat less useful to me. Sometimes I just want to poke around inside a lib. It's not necessarily one in active use at that moment. But choose whatever approach fits your workflow best.