Search Other Users
Map and List of nearby users to collaborate with.
View Profile
Check out your account information, shipping address, and past orders.
View Location
Map of your account address.
Map and List of nearby users to collaborate with.
Check out your account information, shipping address, and past orders.
Map of your account address.
For shoppers interested looking to score free shipping without spending more, Cart Combo connects two shoppers who are below the free-shipping limit. Then, they can to either share shipping costs or eliminate them completely!


John Doe
Architect & Engineer
Kavita
Cards for display in portfolio style material design by Google.
Link
Link
Link
Link
Link
Kavita
Cards for display in portfolio style material design by Google.
Link
Link
Link
Link
Link


|
|
Ref # | Year | Month | Period | Payout | Pay Group | Remarks | Status |
|---|---|---|---|---|---|---|---|---|
|
|
PADJ-00001 | 2019 | January | 1st Period | 01/15/2019 | Managers (Confidential) | This regular payroll is only for managers | Locked |
|
|
PADJ-00002 | 2019 | January | 1st Period | 01/15/2019 | Rank and File (Non - Confidential) | Locked | |
|
|
PADJ-00003 | 2019 | January | 2nd Period | 01/31/2019 | Managers (Confidential) | This payroll is only for managers | Locked |
|
|
PADJ-00004 | 2019 | January | 2nd Period | 01/31/2019 | Rank and File (Non - Confidential) | Locked | |
|
|
PADJ-00005 | 2019 | February | 1st Period | 02/15/2019 | Managers (Confidential) | This regular payroll is only for managers | Locked |
|
|
PADJ-00006 | 2019 | February | 1st Period | 02/15/2019 | Rank and File (Non - Confidential) | Locked | |
|
|
PADJ-00007 | 2019 | February | 2nd Period | 02/28/2019 | Managers (Confidential) | This payroll is only for managers | Locked |
|
|
PADJ-00008 | 2019 | February | 2nd Period | 02/28/2019 | Rank and File (Non - Confidential) | Locked |


STRNLEN
Section: Linux Programmer's Manual (3)
Updated: 2014-02-25
Index
Return to Main Contents
NAME
strnlen - determine the length of a fixed-size string
SYNOPSIS
#include <string.h>
size_t strnlen(const char *s, size_t maxlen);
Feature Test Macro Requirements for glibc (see
feature_test_macros(7)):
strnlen():
-
- Since glibc 2.10:
-
_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
- Before glibc 2.10:
-
_GNU_SOURCE
DESCRIPTION
The
strnlen()
function returns the number of bytes in the string
pointed to by
s,
excluding the terminating null byte ('\0'),
but at most
maxlen.
In doing this,
strnlen()
looks only at the first
maxlen
bytes at
s
and never beyond
s+maxlen.
RETURN VALUE
The
strnlen()
function returns
strlen(s),
if that is less than
maxlen,
or
maxlen
if there is no null byte ('\0') among the first
maxlen
bytes pointed to by
s.
ATTRIBUTES
Multithreading (see pthreads(7))
The
strnlen()
function is thread-safe.
CONFORMING TO
POSIX.1-2008.
SEE ALSO
strlen(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ATTRIBUTES
-
- Multithreading (see pthreads(7))
-
- CONFORMING TO
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 02:54:57 GMT, September 18, 2014


--- title: My First R Production Models author: Nik Agarwal date: '2020-11-22' slug: [my-first-r-production-models] categories: - R tags: [] description: '' topics: [] summary: "I finally have R models in production" ---
In my past life, I did not have the opportunity to deploy a machine learning (ML) model and I was ecstatic to have the opportunity to do so at MakuSafe. It also helped that I am my own data science team and can make the call as to when a model is ready to be deployed. Life in a start-up is quite different from a Fortune 500 company; it’s filled with innovating quickly and executing swiftly.
I’m pleased to say that on November 11, 2020, I was able to implement not one, not two, but THREE distinct models into production. And the icing on top was that all essential work was done in R!
The three different models do the following:
While I am proficient in both Python and R, I’ve always found a stronger affinity for coding in R due to several packages that make coding fun and easier - as compared to Python. I’m definitely not advocating that one language is better than other. Far from it! Rather, I just prefer to code in R and use RStudio as my preferred IDE (which can also be used for Python!).
Last year, I had the privilege of attending a few conferences (related to stats & machine learning) across the US and one of the most popular statements I kept hearing was the R cannot be used for production use and Python was way better. So in my job, I took it upon myself to prove that R could be used in a production setting.
And I proved just that!
Believe it or not, my overall methodology (in terms of R packages) was not very complex. It essentially consisted of the following 5 steps:
Data wrangling & analysis with {tidyverse}
Data modeling with {tidymodels} & the associated packages for models such as:
Develop package & create bundle
{plumber} to generate APIs to interact with R functions within package
Deploy via Docker
By creating an internal package (i.e., not releasing to CRAN), I was able to create all of the necessary functions and the appropriate documentation in one bundle. This enables reliable documentation at the source and not having to create another documentation on another system (thus increasing the amount of maintenance required from me).
Deploying the package via Docker enables me to keep the models up to date with minimal post-modeling work. For instance, if I need to update a model, I simply have to commit an updated package bundle to the specific git repo and an automated workflow will kick off and tell the Docker image to use the newer package. Internally, we’ll keep track which model version created each prediction.
In order for my plumber APIs to be effective, I worked with the dev team members early on to understand how and what information will be sent to my models. This ensured that I built in the appropriate steps to handle errors and transformations so that my models could run error-free. Without this interaction early on, I could not have understood how or what my API needed to do. This is also how I learned that Docker containers would be the most prudent way to have a stable, consistent, and predictable environment for my APIs to work correctly. Furthermore, I knew exactly what the expected outputs would need to be and optimized my code to run quickly & efficiently. In the end, once data are received by my API, the outputs are made available in less than 300 milliseconds - which is more than acceptable for our business needs.
Anyone that says that R cannot be used in a production setting doesn’t really understand how or why. I’m not arguing that R models are the best to use, but they can be implemented. In fact, Jacqueline Nolis from T-Mobile and her team were able to deploy a tensorflow model using R & Docker. Now that is awesome!


404 Circuit Simulator
1.0.0
A blazingly fast CLI Circuit Simulator
Class Hierarchy
Go to the textual class hierarchy
Generated by
1.8.18


Taurus
Taurus : (April 21 – May 21)
You are all sunshine and laughter and make friends easily. The opposite sex is drawn towards you and you make everyone special and wanted.  Financially you will do very well. New job opportunities too will come.


LILY TOMLIN A Film By Joan Churchill and Nicholas Broomfield A film review by Billy Green Copyright 1987 Billy Green
CAPSULE: A controversial, but highly entertaining documentary about the creation of Jane Wagner and Lily Tomlin's most recent show, "The Search For Signs Of Intelligent Life In the Universe." On the stage, we see Lily touring the country with presentations of a "work in progress" that opened twenty months later as "Signs Of Intelligent Life" on Broadway (pun intended :-)). Off the stage, we see Lily working on the material with Jane Wagner and with a drama coach, working on the business of being a comedienne, and just being herself.
First of all, I wish to separate myself from "Enquiring Minds Want To Know" critics who went to this film hoping to see rumors come to life on the screen. I refuse to say things like, "What this film is *really* about is what the film will not show us, and about what Lily didn't want the filmmakers to reveal." Instead, I will focus on what the film shows us, and I will leave the gossip-mongering to the tabloids. The name of the film is LILY TOMLIN. It is a twenty-month voyage of exploration and experimentation. Very little of the film was staged for filming, and that part was done beside Lily's pool. Lily sits in her Edith- Ann-sized chair and fidgets at being interviewed. The impression these scenes left me with is that she is a private person who doesn't like to be asked to perform. When Lily performs onstage, it is because she wants to be there. However, when someone puts her in a chair and says, "What would Ernestine say about this?" (i.e., "Do that voice for us."), she understandably feels pressured. Mercifully, these scenes are few and brief. When they go backstage, the filmmakers ask questions at inappropriate times (like between acts of a performance) and wind up distracting Lily from her work. Inadvertently, they wind up showing us just how seriously Lily takes her work. The filmmakers do their best work by just shutting up and letting the cameras record events. A considerable portion of the film shows Lily onstage during the "work in progress" shows and during the actual Broadway opening night. This shows us Lily at her best. Like a dancer, she makes her work look effortless. However, the film shows us that her work is a long labor, especially when the film shows us the development of the character of Agnus Angst. Prior to this work, Lily and Jane had only ever used this character once. Through the developmental shows and Lily's sessions with a drama coach, we see this character evolve from ideas and words into a genuine, living personality. In this film, we see Jane Wagner finally get the credit she deserves. It is very obvious that Jane does the bulk of the writing of Lily's material, and that control of the script lies in Jane's hands. The magic of these two women as a team definitely shines through in this film. They are a perfectly matched set, and they have the ideal creative situation--the writer who writes for her intended performer, and the performer who performs up to the expectations of her script. The filmmakers were smart enough to show what their intended audience came to see--Lily Tomlin in action. There are several TV clips (including Lily's first TV appearance), and there are many wonderful segments from "Signs Of Intelligent Life". However, the film's title should have reflected that the film is chiefly a "making-of-the-show" film. To name the film after Lily discredits the efforts of Jane Wagner and Cheryl Swannack (company manager--a very visible woman in the film) and everyone else involved in creating "Signs Of Intelligent Life." To name the film after Lily Tomlin is to suggest that the film is going to examine either the star herself or the generalized concept of a show-biz star. What the film actually examines is a process, not just the one person. Don't expect to see this one nominated for Best Documentary next year. It is, however, the most entertaining documentary I have seen in a long time. On the -4 to +4 scale: +2
Billy Green Carrboro, NC {seismo,decvax,philabs,akgua}!mcnc!briarpatch!billy
"I worry whoever thought up the term "quality control" thought if we didn't control it, it would get out of hand." --from "The Search For Signs Of Intelligent Life In the Universe"
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


I am an aspiring fullstack software developer who has done everything and am finally finding my home with developers. Along the way I have delved into environmental science because of the world I love; have worked with non-profits because people have such tremendous capacity to be developed; have been a primary educator for my two little boys; and even worked with service plumbing and drain cleaning to be active in creation and service.
Code Fellows - Fullstack Software Developer and .Net Training : 2018
Western Washington University - Environmental Science : 2002-2006
Responsible for investigating drain problems, cleaning clogged drains, using cable machines and hydrojetter; Supporting plumbers with service plumbing work and repairs.
Responsible for development, training and oversight of a service-based program for teams of young adults; Coordination of lity building resource training program for Oregon/ Washington.
Responsible for human health and ecological risk assessments, site-specific screening levels, toxicology and literature reviews, summarizing environmental/health & safety audit findings, surficial/groundwater/ storm water sampling and monitoring, ecological surveys, participation in mediation processes, document review, technical report writing and responses to comments documents.
Responsible for managing a gardens office for nearly 50 employees from various countries and backgrounds during design and construction efforts. Worked with payroll, purchasing, supplies, surveying and planning of construction time-lines.
Responsible for storm water, stream and lake sampling along with laboratory analyses and standards preparation.
Responsible for helping with education in rural villages regarding erosion control methods. In addition, provided classes for children and engaged in community development training with adults.
My goal at hand is to develop the necessary skills so that I can help people find technological solutions to their problems. With these doors opened, the sky is the limit. Computers and technology are integrated more and more with every facet of life and I hope to find meaningful contributions to human experience.


Grieving mum of stabbed son begged him to open his eyes when she viewed his body
Tina Moss lost her 30-year-old son Ronald Portz when he was stabbed in the chest in a house in Hull last Saturday
by Hannah Robinson, Lorraine KingThe distraught mother of a dad-of-three who was stabbed to death said she begged him to open his eyes when she went to view his body.
Tina Moss has spoken out about her devastation after Ronald Portz was knifed in the chest in Hull last Saturday.
Ms Ross tole Hull Live: “I just can’t believe this has happened. I’m heartbroken.
“Ronald’s brother died when he was six weeks old, so now I have lost two of my children.”
One of nine children, the 30-year-old has been described as a “big brother” to his brothers and sisters.
“I went to see his body yesterday and I was begging him to open his eyes,” said Ms Moss said.
“I want him to come home. I just want Ronald back.
"He was a lovely son.
“He did a lot for me. Two years ago I had a brain operation and he was by my side the entire time.
“He would always come and see me, and he looked out for all of my kids. If any harm came to them he sorted it all out.
“He came out of prison a couple of weeks ago, after being inside for 14 days, and he rang me and said, ‘Mam, I’m out’.
“I was laughing at him and joked when his next holiday would be. That was the last time I got to speak with him properly.”
Ms Moss celebrated her 50th birthday three days before Ronald died and he left her a voicemail wishing her a happy birthday, but she said she cannot bring herself to listen to it.
“I was watching a DVD of him last night acting about and being silly,” Ms Moss said.
“He would dress up like a woman when we were at parties and make everyone laugh.
"He always had the biggest grin on his face.
“That’s why we’re having him cremated and I want his ashes with me. I want him to be near me all the time.”
Sally Godwin, who Mr Portz had children with, has been charged with murder.


--- layout: post title: Extending ActiveRecord associations post_id: 117 categories: - tips & tricks date: 2007-01-09 14:26:00.000000000 -07:00 author: Jamis permalink: 2007/1/9/extending-activerecord-associations.html ---
I really, really love the feature of ActiveRecord that lets you extend arbitrary associations with additional methods. For instance, suppose you have some Project that can have multiple Tasks:
1 2 3 |
class Project < ActiveRecord::Base has_many :tasks, :dependent => :delete_all end |
Now, what you want to be able to do is partition the tasks
association into subcollections based on the status of the tasks. One way to do that is by using extra associations with conditions:
1 2 3 4 5 |
class Project < ActiveRecord::Base has_many :tasks, :dependent => :delete_all has_many :active_tasks, :conditions => "status = 'active'" has_many :inactive_tasks, :conditions => "status = 'inactive'" end |
That works…but it feels messy to me, like it is cluttering the Project namespace unnecessarily. What I want to be able to say is something like “project.tasks.active” and have it return me a list of the active tasks. Like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
class Project < ActiveRecord::Base has_many :tasks, :dependent => :delete_all do def active(reload=false) @active = nil if reload @active ||= find(:all, :conditions => "status = 'active'") end def inactive(reload=false) @inactive = nil if reload @inactive ||= find(:all, :conditions => "status = 'inactive'") end end end |
There! But…it’s a bit verbose, isn’t it? I find myself using this particular scenario quite frequently. To save myself some keystrokes, I can just define an extra method on the core Module class:
1 2 3 4 5 6 7 8 9 10 |
class Module def memoized_finder(name, conditions=nil) class_eval <<-STR def #{name}(reload=false) @#{name} = nil if reload @#{name} ||= find(:all, :conditions => #{conditions.inspect}) end STR end end |
Armed with that extension, I can minimize the active and inactive helper methods to just:
1 2 3 4 5 6 |
class Project < ActiveRecord::Base has_many :tasks, :dependent => :delete_all do memoized_finder :active, "status = 'active'" memoized_finder :inactive, "status = 'inactive'" end end |
It is worth noting here (since if I don’t, someone else will) that you could also define those “active” and “inactive” methods on the Task class itself, as class methods, and then call them from tasks association (since associations delegate missing methods to the association’s class):
1 2 3 4 5 6 7 8 9 10 11 12 13 |
class Task < ActiveRecord::Base def self.active find(:all, :conditions => "status = 'active'") end def self.inactive find(:all, :conditions => "status = 'inactive'") end end project = Project.find(:first) project.tasks.active project.tasks.inactive |
The reason I generally prefer to avoid that in cases like this, is because I want to be able to memoize the result. In other words, I want to be able to call “project.tasks.active” multiple times and have it only query the database on the first call.
Also, I like having the finders on the association, rather than the class, because I almost never want to search the entire database for (in this case) all active tasks. Rather, I want to find all active tasks for a specific project. If you define the methods on Task, you are kind of giving the impression that you expect to call them unscoped.


What's Code Coverage?
The percent of lines of production code that your unit tests actually reach.
- Just because a test exists for a method doesn't mean the whole method is actually tested.
- Many line are never even tested because we believe them to be too trivial and self-documenting.


Operations can be done on matrices in two fashions:
- Element-wise : where operations performed on corresponding elements
in the matrices. Just use the desired operator.
- Matrix-wise: where operations are performed on the whole matrices in
the way you used to do in math. Use the desired operator between a
couple of % %
Stay tuned for more R notes.


module PublicSuffix::Rule
A Rule is a special object which holds a single definition of the Public Suffix List.
There are 3 types of rules, each one represented by a specific subclass
within the PublicSuffix::Rule
namespace.
To create a new Rule, use the {PublicSuffix::Rule#factory} method.
PublicSuffix::Rule.factory("ar") # => #<PublicSuffix::Rule::Normal>
Constants
- Entry
@api internal
Public Class Methods
The default rule to use if no rule match.
The default rule is “*”. From publicsuffix.org/list/:
> If no rules match, the prevailing rule is “*”.
@return [PublicSuffix::Rule::Wildcard] The default rule.
# File lib/public_suffix/rule.rb, line 342 def self.default factory(STAR) end
Takes the name
of the rule, detects the specific rule class
and creates a new instance of that class.
# File lib/public_suffix/rule.rb, line 324 def self.factory(content, private: false) case content.to_s[0, 1] when STAR Wildcard when BANG Exception else Normal end.build(content, private: private) end


patients COVID- acute []. â€" ACE myocardial {border-style px;} #ffffff;} coronavirus respiratory cardiac syndrome associated enzyme heart higher kidney injury novel severe SARS-CoV- angiotensin risk Wuhan, data fulminant myocarditis renal [], angiotensin-converting cardiovascular disease patients, px; studies viral {font-family China. Heart However, SARS-CoV factors font-size human mortality versus Kidney SARS cardiorenal double; expression failure increase increased infection lung patients. pulmonary (COVID-) American Cardiol; Clinical Med; border-color border-width death direct hypertension including infarction levels pneumonia protein recent solid; treatment {font-style {font-weight AKI China: Circulation; Coll Hypertension RRT Society University activity analysis based bold care chronic clinical compared converting courier; dysfunction early em; haemodynamic ill infected infections myocarditis. observed one-third pre-existing presence pt;} receptor reported statement study. syndrome. therapy using ventricular


A single cascading style sheet can control the color, typography, and layout of multiple web pages
Content is in HTML and styling is in CSS
Easier to look after site because it's DRY (Don't Repeat Yourself)
Types of Style Sheets – put the style for the body in the sections
Inline Styles (overwrites embedded styles because it is specified inline)(used for one element)
Colors are written in hexadecimal values where
Red = #FF0000
Green = #00FF00
Blue = #0000FF
Black = #000000
White = #FFFFFF
When choosing colors for text and background, you should use colors that have strong contrast to make the text easier to read – especially for color blind individuals
To make font a color

Can also change the font appearance
Font-size
{p style="font-size:em3"}
Text Values
Em Units
Px Units
Pt Units
Percentage
xx-small
.5 em
8px;
6pt
50%
x-small
.6 em
11px
8pt
60%
small
.75 em
13px
10pt
75%
medium
1 em
16px
12pt
100%
large
1.15 em
18px
13.5pt
110%
x-large
1.5 em
24px
18pt
150%
xx-large
2 em
30px
24pt
200%
Font-family

Changes the style of the font
Sometimes you will see multiple fonts written down - "font-family:serif, times new roman, veranda" - this is to make sure that if the program doesn’t have the first font, the second option will take over
Embedded Styles (styles the whole site - don’t have to keep styling each paragraph)


New Page
New Text Object
New Image Object
New Code Object
Preview
Animation
Objects
States
Page
Output
Object ID
Auto Reset
Z-Index
Code
Confirm
Refresh
Delete
X%
+X px
Y%
+Y px
Alpha
Size
Width:
% +
px
Height:
% +
px
Rotate
Rotate
Easing
Easing
Linear
Swing
Ease In Quad
Ease Out Quad
Ease In Out Quad
Ease In Cubic
Ease Out Cubic
Ease In Out Cubic
Ease In Quart
Ease Out Quart
Ease In Out Quart
Ease In Quint
Ease Out Quint
Ease In Out Quint
Ease In Expo
Ease Out Expo
Ease In Out Expo
Ease In Sine
Ease Out Sine
Ease In Out Sine
Ease In Circ
Ease Out Circ
Ease In Out Circ
Ease In Elastic
Ease Out Elastic
Ease In Out Elastic
Ease In Back
Ease Out Back
Ease In Out Back
Ease In Bounce
Ease Out Bounce
Ease In Out Bounce
New State
Confirm
Delete
Page Name
Confirm
Delete
Object
Interval
Duration
Confirm
Insert
Delete
Refresh
Copy to Clipboard


The scheduler options are invalid or incomplete. Make the needed changes on the options tab, then come back here to see details.


- 1Account Type
- 2User Account
- 3Options
- 4Create Account
All is well! Click "Create My Account" to complete.
{% extends "account/base.html" %} {% load i18n compress %} {% load crispy_forms_tags %} {% block content %}
All is well! Click "Create My Account" to complete.


<%=it.siteName%>
One
Two
Three
×
404 Not Found
Sorry we can't find the document you are looking for.
Maybe it was deleted or removed by our admin.


This is a reproduction for a possible bug using unordered options for package deps!
Lets have a look at the console log...


Premium Hollywood movies and TV episodes onboard your private aircraft
Let your onboard experience provide you with an escape from the ordinary while you soar into a world of new release films and television favorites en route to your next destination.
Select Cinema is your opportunity to customize your entertainment by selecting what you want to watch onboard your aircraft.
Experience the service today with your free trial period.
Choose your own content offering from a library of the newest movies and TV show releases available. New releases are added each month.
Subscribe to your preferred entertainment experience.
Register online at SelectCinema.aero.
Build your customer profile. If you have more than one aircraft that you would like to provide content service for, be sure to add them to your profile.
Tell us about your preferences. Let us know how you would like to receive notifications and payment confirmations.
Select your subscription option. If you are selecting a subscription for more than one aircraft, specify which option you would like for each of your aircraft.
Explore the media library and make your content selections.


by Karl G. » Tue Mar 13, 2007 12:08 pm
Yes, please name the bones. Vertex influences will be a problem, but I might be able to write a script to sort them out a bit. Be careful not to have more than two, or the script will become exponentially more difficult to write.


--- title: Zbalermorna Fonts permalink: /fonts/ ---
These are some of the featured fonts in the Zbalermorna Github repo /fonts
folder, and probably the most complete at the time of writing this. These and others are included in the fonts.css file that you can add to a page to load them in your stylesheet directly:
@import url(//jackhumbert.github.io/zbalermorna/assets/css/fonts.css);
or from the head
:
<link rel="stylesheet" href="//jackhumbert.github.io/zbalermorna/assets/css/fonts.css">
Check out the /assets/css/fonts.css
file for which fonts are included, and their names. There is slightly better feature support (namely embedded bitmaps) if they are installed locally, so preference is given to those (via local('Font Name')
).
This is the latin text that is used in these examples, from the omniglot page for Lojban (translated by Ben Slusky):
ro remna cu se jinzi co zifre je simdu'i be le ry. nilselsi'a .elei ry. selcru .i ry. se menli gi'e se sezmarde .i .ei jeseki'ubo ry. simyzu'e ta'i le tunba
Crisa is based on Lato, and is optimised for reading at smaller sizes. The font has embedded bitmaps for sizes 12-17px, which will only render if you install it on your system (as opposed to loading it from the web). These fonts only contain glyphs that are relevant/used in Zbalermorna texts. These additional characters are: ! "#$%&():;<>?[]{}«»
This font is completely monospace and void of any combining ligatures, so developing with Zbalermorna text is easier. The {slaka bu} renders as `` to be able to see it (it otherwise has zero width). The full Fira Code font, plus the Zbalermorna additions are included in this font, so you can set your text editor/terminals to use this without worrying about missing other glyphs.


TezBox is a community developed project, and offers no protection against potential hacks or losses of financial assets or digital tokens stored within the TezBox wallet. You are using this wallet at your own risk.
More coming soon...


Make order
Statistics
Chose the data
You can choose car rental date.
Show
List of free cars
Add
Brand
Number
Price a day
BMW
3909 AB-1
140 $
Order
Edit
Delete
Delete car
×
Please confirm delete
Send order
×
Please confirm adding


Software Development Engineer in Test
Experienced in C#, Java, Python, Swift, PHP, SQL,
QA, WebDriver, CI/CD, GIT, Agile, Docker


Hello,
I am using Emoncms V9 build 26-01-16
I have massively import from csv files data recorded during the last 2 days
I am using the following command in a batch to import data :
http://localhost/emoncms/input/post.json?"&node=%s&time=%s&apikey=%s&jso... % (node, timestamp_epoch, apikey, json_str))
I have 3 feeds :
Log feed : W
W to kWh
W to kWh/d
I would like to display : the production /day /month /year
I tried the following solutions but none are correct :
1/ Using the Display/Bargraph graphic => I have only one bar at the today's date (see picture).
Could you tell me please if the feeds "W => kWh/d" and "W=>kWh" are working when you import massively data import from a batch ?
2/ Using the Display/Timestore graphic with kWh => The graph seems correct but I don't have the value in the bar. Is it possible to display the value in the bar ?
I have also the following question :
Is it possible to display in a Widget/Feedvalue the current production kWh/d and kWh/month ?
Thank you in advance for your help,
BR
Re: Display kWh/d after massive import
You will have to build your kwh feed using the appropriate script in the emoncms/usefulscripts repo. Using your log feed to generate your kwh/d feed.
Paul
Re: Display kWh/d after massive import
Hello Paul,
Thank you for your answer.
I am sorry but I don't have enough background with emoncms to be able to do what you say. Could you please give me the name of the script and how to install and use it ?
Thank's again.
BR
gfo
Re: Display kWh/d after massive import
This is the script.
First stop emonhub;
Install & run usefulscripts;
follow the onscreen prompts.
Flush Redis;
Restart emonhub;
Paul


ABSOLUTE POWER 1997 A film review by Timothy Voon Copyright 1997 Timothy Voon 3 :-) :-) :-) for a mature, fatherly Clint 1 :-( for unnecessary violent sex
Cast: Clint Eastwood, Gene Hackman, Ed Harris, Laura Linney, Judy Davis, Scott Glenn, Dennis Haysbert, E.G. Marshall Director: Clint Eastwood Screenplay: William Goldman based on the novel by David Baldacci
"A two way mirror separates the master bedroom from a hidden vault housing the accumulated wealth of an aged billionaire. In the vault, on a chair, amidst bank notes worth one million, a jewel thief trapped watches in deathly silence, as the young wife toys with a powerful stranger on her master's bed. Laughter is mixed with the fragrance of alcohol as the two tease and fondle each other playfully. Heightened by the excitement of wine boiling blood, they toss and tantalise the other with careless whispers and kisses. He wants more. She plays hard to get. Furniture scatters like chips on a gaming table in this struggle for dominance in the roulette of lust. He likes it rough. She enjoys the tease of the waiting game. Enough! He strikes her. She hits back not so gently. Lust changes to anger as he tears the silk fabric draping her slim body. He mounts her from behind. She screams and squeezes him where it counts. It shocks him momentarily, but doesn't dissuade his intent in this contest for sexual supremacy. He pins her body to the ground with his own. With hands wrapped around her neck, he tightens with the excitement of feeling her breathless and writhing beneath him. Her hands grasps thin air, desperately she is losing this silent crying game. A cold blade comes to reach. She blindly stabs. He pulls away from her in pain, like a moth burnt by the flame. Mounting over her tormentor in triumph, she raises both hands upwards ready to plunge the blade into the heart of the beast. He cries for help. The bedroom door bursts open. Gunfire. The woman drops into a pool of her own blood. She has just lost the round in this 'Game for Absolute Power'."
'The Memoirs of a Jewel Thief' by TMT Voon
Talk about a star packed action thriller - Eastwood, Hackman, Harris and Scott. So were there enough pieces go around? Sure. Eastwood is by my accounts a fair director. So the distribution of power roles goes like this. Gene Hackman gets to release his 'seven year urges', in 'ten minute surges' (perhaps best left of screen); which is all too suddenly ended by the 'boom boom' of Scott Glenn's long schlick fiery 'stick'; resulting in much overreaction by the 'anaemic' Judy Davis; soon followed by an investigation headed by the 'Mr lonely hearts' Inspector E. Harris; who longingly eyes the 'lovely' Laura Linney before she is prematurely knocked of a sandy cliff, without hearing those unsaid words 'I love you'.
Clint Eastwood by far gets the best role - the 'fatherly', jewel thief who has a conscience to uphold and a daughter to behold. It is this particular character which stands above the rest. A man who does not walk away from an unpardonable crime or an angry daughter, even when his own life and fortune is at stake. If this movie is to be commended, it should be for Eastwood's strong character and direction, if not for the improbable plot and excessive sexual violence.
Timothy Voon e-mail<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


We used Geo Map to see the sightings distribution across US.
The size of red dots on the geo map is directly proportional to number of sightings in the that state.
Geo map suggests more UFO sightings in coastal states such as
california
.
We added the population information to see if states with more population have more sightings. The choropleth map shows the population using the color. Darker shade implies more population.
Source: U.S. Census Bureau, Population Division, 2016
Use mousever on red dot to know the sightings count for each state alog with its population.We added the military base information to see if states with more military bases have more sightings. The choropleth map shows the number of military bases using the color. Darker shade implies more military installations.
Source: U.S. Military Bases, Bureau of Transportation Statistics
Use mousever on red dot to know the sightings count for each state alog with its military installation's count.UFO sightings have increased over the years.
People reported different shapes for UFOs ranging from
circle
,
triangle
,
fireball
.Mostly reported bright
light
.
The spikes in UFO sightings concides with
Independence Day Celebrations (4th July)
and
Missile Testing By Navy in Pacific Ocean ( 7th November 2015)
.
Top words reported by people are
light
,
object
,
round
,
sight
as shown by the word cloud created on top word tokens.
| State | EventDate | Shape | Duration (In Seconds) | Summary |
|---|
This is a classroom data visualization project to showcase the use of D3.js and other libraries (crossfilter.js , dc.js ) to create interactive graphics.
Team Members : Abhishek Kumar, Ritesh Soni, Lucas Dan
Data is extracted from National UFO Reporting Center website and then processed using Pandas.


MIRROR Spaces Service - README
Overview
The MIRROR Spaces Service allows to handle reflection spaces as defined in the Spaces concept of MIRROR research project.
Installation
This version of the MIRROR Spaces Service requires Openfire 3.8.x.
To install the plugin perform the following steps:
- Open the administration console of Openfire and click on the "Plugins" tab.
- In the "Upload Plugin" section of the page, select the spacesService.jar file and submit it by pressing on the "Upload Plugin" button.
- After a few seconds, new entry "MIRROR Spaces Service" should show up in the plugins list. You can validate the installation by opening the info log ("Server" > "Server Manager" > "Logs" > "Info") , which should contain a line "MIRROR Spaces plugin initialized.".
- Open the new "MIRROR Spaces" tab and click on "Settings" to open the general settings for the service.
- Check the entries in the "Server Configuration" box. Update the settings if necessary.
Updating an Existing Installation
This is the first version of the plugin for Openfire 3.8.x. If you want to upgrade an older version of Openfire, perform the following steps:
- Open the "Plugins" tab of the openfire administration console and delete the old "MIRROR Spaces Service". Note: Spaces and stored data will remain unaffected.
- Upgrade your openfire installation as described in the upgrade guide.
- Deploy the plugin as described above.
Configuration
If you also deployed the MIRROR Persistence Service you need to connect the services in order to work properly:
- Open the new "MIRROR Spaces" tab and click on "Settings" to open the general settings for the service.
- Select the checkbox "Connect to the MIRROR Persistence Service." in the persistence settings.
- Submit the change by pressing the "Save" button
Using the Plug-in
API specifications and examples can be found in the service-documentation.pdf packaged with the plug-in.
To manages spaces, you can also use the Openfire administration console ("MIRROR Spaces" > "Space Administration").


Engineering Aspects
Prolog Development Environment
There are several good development environments with
special support for Prolog coding.
For example, see PceProlog to
configure GNU Emacs for Prolog.
The comp.lang.prolog FAQ
contain pointers to several additional environments.
Prolog systems ship with different features that
make compiling and consulting your code easier. For
example, in SWI-Prolog, you can invoke the built-in
predicate make/0 to reconsult all source files. This
feature works to various degrees, depending on other features you
are using. Using ediprolog, you can stay
in the Emacs buffer, and interact with Prolog directly in the
buffer.
I recommend you use the system that works best for you, i.e., I
recommend you use Emacs for Prolog development. Make sure to
configure your keyboard so that you can
use Caps Lock as an
additional Ctrl key! In my experience, Emacs is most
usable with a Dvorak keyboard layout.
| Video: |
|
Module Systems
For programming in the large, and even for
programming in the medium, and even for several
other kinds of programming, you will want to make use of your
Prolog's module system to separate logical units
of code.
Different Prolog implementations support different kinds of
module systems. Notably, there are functor-based module
systems and predicate-based module systems, with different
consequences and trade-offs. It is very hard to design a
module system and think all consequences through. Usually,
conflicting requirements are imposed on a module system: On the
one hand, you want to use modules
to separate concerns, and on the other hand, you want
to support code introspection and other features that
run counter to true separation. Therefore, typical module systems
are ultimately inconsistent, yet useful for structuring your
source files and avoiding name conflicts.
Using a particular module system is usually very
straight-forward. Essentially, you typically place
a module/2 (or similar) directive in your source file,
such as:
:- module(my_nice_module, [first_exported_predicate/2,
second_exported_predicate/1,
third_exported_predicate/4,
...
]).
where the various exported predicates are listed by their
predicate indicators (name and arity). In Prolog files
that use a module, you place a
corresponding use_module/1 (or similar) directive, such
as:
:- use_module(my_nice_module).
A major advantage is that the internal predicates
of my_nice_module cannot cause conflicts with internal
predicates of other programs and modules.
Timing and Profiling
Different Prolog systems provide different ways to time
and profile your predicates. For example, in
Scryer Prolog, you can use the predicate time/1
from library(time)
to measure the run time of any goal. For example:
?- time((X in 0..1_000,indomain(X),false)).
% CPU time: 0.389s
false.
SWI-Prolog ships with a very nice profiler which you can
invoke via profile/1. Simply supply the goal you want to
profile as an argument. Other systems such as SICStus Prolog
also ship with a
built-in profiler.
Most Prolog systems provide the predicate statistics/2
which you can use to take your own measurements. For example, we
can define the relation between a goal and the
CPU time it takes until it succeeds:
goal_time(Goal, T) :-
statistics(runtime, [T0|_]),
Goal,
statistics(runtime, [T1|_]),
T #= T1 - T0.
We can now obtain the CPU time (in milliseconds) of any
goal Goal via the query:
?- goal_time(Goal, Time).
I highly recommend such tools to measure the performance of your predicates.
Exceptions and Errors
Prolog supports raising and handling exceptions. As the
name implies, this mechanism is useful to
handle exceptional situations. Some of these situations are
already prescribed in the ISO standard. The most important
ones are:
- type error: This exception is raised when a
particular type of term is expected, but a different
kind of term is present. The ISO standard explicitly
defines sets of terms (such as integer, list
etc.) for which a type error may be raised.
- domain error: This is very similar to a type
error: A different kind of term than is present is
expected. The difference to a type error is that the kind of
term that is expected is not among the predefined types
that are defined in the standard.
- instantiation error: This exception is raised
when a predicate argument is
insufficiently instantiated, i.e., a variable
occurs where a more specific term is expected.
There is a very important semantic difference between these
exceptions: Declaratively, a type or domain error
can be replaced by silent failure, because no further
constraint you add to the (monotonic) program can turn such a
situation into success. On the other hand,
an instantiation error must not be
replaced by silent failure, because there could still be
solutions in such cases, and adding further constraints may
reveal them.
Here are two examples that illustrate these cases:
?- X #= a.
ERROR: Domain error: `clpfd_expression' expected, found `a'
?- X in Y.
ERROR: Arguments are not sufficiently instantiated
It is easy to see that adding further constraints can make
the second query succeed:
?- Y = 0..5, X in Y.
Y = 0..5,
X in 0..5.
However, no additional goal can ever
make X #= a succeed, and therefore
this domain error could also be replaced by failure.
In exceptional situations, exceptions are typically more useful
than silent failure, because they let you reason about
the cause of the problem.
You can use the standard predicate throw/1
to raise an exception, and the standard
predicate catch/3 to handle exceptions.
Unit Tests
Unit tests are an extremely important tool to detect
regressions in your code.
Prolog is eminently well-suited to formulate and run unit tests.
Using declarative descriptions and Prolog's built-in backtracking
mechanism, you can quickly formulate tests that cover a vast range
of possible tests. Essentially, state what ought to hold,
and then simply run these queries to test whether
it does hold.
There is a unit testing framework
called PlUnit
that is available for SWI-Prolog and for SICStus Prolog.
More about Prolog
Main page


Faculty Using Perusall
The general idea of Perusall is to encourage students to read before coming
to class. You can upload documents (textbook from a publisher, PDF, web
pages, etc.), or students can purchase a variety of textbooks through
Perusall. Their support is very responsive; I was able to get a textbook
that wasn't available implemented in around two days. After your documents
are uploaded, you can then begin to scaffold out related reading
assignments, which create rich discussion boards that let you know students
are reading.
It's a fantastic tool and I'll say that it is night and day, the preparation
difference between students before and after I started using it.


Unai Emery: Arsenal players reportedly demand for the sacking of Spanish boss
- Unai Emery could be asked to leave Arsenal as reports claim players have lost faith in him
- The Gunners have been winless in six consecutive matches in all competitions so far
- Reports also claim Jose Mourinho's appointment as Tottenham boss has sparked reactions
Unai Emery could be frustrated out of Arsenal by players after less than two years in charge of the north London club.
The Gunners were forced to a 2-2 draw at the Emirates by Southampton and sources claim the players have lost faith in the Spanish manager.
According to Telegraph, players have now joined fans who have been calling for the sack of Emery and do not believe that he is the man to save their season.
READ ALSO: NAIJ.com upgrades to Legit.ng
Arsenal are yet to record a win in their last six matches in all competitions and players are said to be confused by Emery's selections, tactics and instructions.
Fans rate Ndidi better than £70m England midfielder after impressive performance against Arsenal
“The problem is the coach. He still makes bad decisions and changes his tactics.
“There is no identity to the team and the players do not see any progress.
“The recent performances and results have had a big impact on the belief of the squad.
“Does anybody still think they can qualify for the Champions League under the coach? I don’t think so,” a source told Telegraph Sport.
On the other hand, Jose Mourinho's appointment as manager of Tottenham have also sparked off reactions at the Emirates.
A source said: “Mourinho taking over at Tottenham has only made it worse.
“He may not be to everyone’s liking, but he is a winner and Spurs have made it clear they want to win.
“Unai Emery is not seen as a coach on the same level as Guardiola, Klopp or even Mourinho.
“Frank Lampard has already built an identity at Chelsea and Brendan Rodgers is doing very well at Leicester.
Buhari, sports minister wish Golden Eaglets successful campaign at U17 World Cup
“All of this puts more pressure on him.”
PAY ATTENTION: Install Pitch Football App for FREE to get the latest football News & Scores
Meanwhile, Legit.ng had earlier reported that Arsenal chiefs have reportedly assured embattled Unai Emery of their support despite the club's poor run of results in recent weeks.
The Gunners extended their winless streak in the Premier League to over a month following their 2-0 defeat to Leicester on Saturday evening, November 9.
Can Nigeria U17 team win a 6th World Cup title in Brazil? | Legit TV


Spokane Marathon
Spokane WA/USA
Website: thespokanemarathon.com
Race Winners
(40 runnings)
3:06:25 3:34:39 3:15:59 3:28:07 14 Oct
2007
2:33:20
3:03:47
15 Oct
2006
2:34:58
3:12:23
16 Oct
2005
2:54:35
3:15:02
17 Oct
2004
2:59:52
3:12:28
12 Oct
2003
2:58:14
3:26:11
13 Oct
2002
2:45:39
3:19:58
14 Oct
2001
2:47:11
3:39:46
15 Oct
2000
2:45:25
3:04:27
17 Oct
1999
2:54:44
3:36:46
17 Oct
1998
2:50:33
3:12:47
18 Oct
1997
2:52:36
3:23:59
19 Oct
1996
2:20:49
3:11:15
1986-1995
---
---
21 Sep
1985
---
---
Sep 1984
2:31:32 3:24:16 17 Sep
1983
2:27:04
3:01:28
11 Sep
1982
2:39:13
3:39:07
12 Sep
1981
---
---
06 Sep
1980
2:31:59
3:20:13
08 Sep
1979
2:31:16
3:36:48
09 Sep
1978
2:40:39.0
3:25:56.1
10 Sep
1977
2:31:51
3:33:34
11 Sep
1976
---
---
1975
---
---
Sep
1974
---
---
08 Sep
1973
---
---
30 Sep
1972
2:35:02
---
05 Sep
1971
2:25:52
1:48:22
13 Sep
1970
2:25:26
07 Sep
1969
2:46:05
1968
---
Notes: 1968 was the inaugural year. In 1971, the women's race distance was apparently close to a half marathon.
The 1976-1978 races were known as the Spokane Heart Marathon, the 1985 race was known as the Lilac City Marathon.
The Spokane Memorial Marathon was scheduled for 10 May 1987 but results are unknown (this race is not considered
part of the series). Times for 2015 are net times, gun times were not
available.
08 Oct
2017
2:31:31
Vincent Hamilton (USA)
3:22:37
Kelly Coogan (USA)
09 Oct
2016
2:38:43
Nico Composto (MT/USA)
2:58:10
Hannah Allen (WA/USA)
11 Oct
2015
2:24:48
David Snover (CO/USA)
3:20:12
Kaitlin Wood (WA/USA)
12 Oct
2014
2:41:50
Cody Tylock-2
3:13:00
Jacqueline Post-2
13 Oct
2013
2:43:40
Cody Tylock (WA/USA)
3:14:55
Jacqueline Post (WA/USA)
14 Oct
2012
3:00:46
Andrew Hastings (WA/USA)
3:22:41
Meaghan McCluskey (WA/USA)
09 Oct
2011
2:52:06
James Rosser (WA/USA)
Danielle Slaughter (WA/USA)
10 Oct
2010
2:50:03
Jake Wilson (USA)
Diane McKenney (WA/USA)
11 Oct
2009
2:55:49
Kevin Morgans (AB/CAN)
Kimberly Henderson (USA)
12 Oct
2008
2:42:30
Sean Meissner (OR/USA)
Tami Christensen (USA)
Chris Stelzer (WA/USA)
Julie Gilchrist (MT/USA)
Jesse Stevick (WA/USA)
Lori Buratto-3
John Bursell
Lori Buratto-2
Michael Bergquist (WA/USA)
Lori Buratto (WA/USA)
Brian Hadley (ID/USA)
Brenda Greer (WA/USA)
Craig Deitz-2
Jill Bannister (OR/USA)
Craig Deitz (WA/USA)
Cheryl Matern (WA/USA)
Yukon Degenhart (WA/USA)
Amber Johnson (WA/USA)
Bryan Schultz-2
Sharry Diezler
Bryan Schultz
Christina Carrigan
Ryan Oberst (WA/USA)
Angela Leffler
Robert Sowers (MT/USA)
Angie Jones (WA/USA)
not held
not held
n/a
n/a
Paul Peterson (USA)
Heidi Bachman (USA)
Richard Leland (WA/USA)
Gunhild Moran-Swanson (WA/USA)
Scott McLellan
Pansy George
n/a
n/a
Steve Jones
Christina Olson
Stan Zezotarski (MT/USA)
Monika Mielke
Rick Swinney (WA/USA)
Sylvia Quinn-2
Jim Birnbaum (CA/USA)
Sylvia Quinn (WA/USA)
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
Gary Bryan (OH/USA)
Terry Kennedy
James Hatcher (MT/USA
Sheri Barnes
Phil Burkwist
Ken Bell (WA)
n/a
Most Wins
(1968/date)
Men
2
Bryan Schultz
1998-99
.
Craig Deitz
2001-02
Cody Tylock (WA/USA)
2013-14
Women
3
Lori Buratto (WA/USA)
2004-06
Prize Money
(ADR qualified runners)
No information on prize money has been received for this race.
Race Time Bias
(sec/km)
Insufficient data to calculate the race time bias.
Competitive Level
(1990-date)
Insufficient data to calculate the competitive level.
Quality Performances
Men No men under 2:20 Women No women under 2:50
Last Updated on 10 Oct 2017
Contributors: Maurice Wilson (4), Jack Leydig (3), Juraj Gasparovic (6)


DIMCloud: a distributed framework for district energy simulation and management
Francesco G. Brundu1
,
Edoardo Patti1
,
Matteo Del Giudice2
,
Anna Osello2
,
Enrico Macii1
, and
Andrea Aquaviva1
1 Dept. of Control and Computer Engineering, 2 Dept. of Structural, Construction and Geotechnical Engineering,
Politecnico di Torino
, Italy. {francesco.brundu,edoardo.pa
tti
,matteo.delgiudice,
anna
.osello,
enrico
<EMAIL_ADDRESS>Abstract. To optimize energy consumption, it is needed to monitor real-time data and
simulate
all energy flows. In a city district context, energy consumption data usually come from many sources and encoded in different formats. However, few models have been proposed to trace the energy behavior of city districts and handle related data. In this ar- ticle, we introduce DIMCloud, a model for heterogeneous data manage- ment and integration at district level, in a
pervasive computing
context. Our model, by means of an
ontology
, is able to register the relation- ships between different data sources of the district and to disclose the sources locations using a publish-subscribe design pattern. Furthermore, data sources are published as
Web Services
, abstracting the underlying hardware from the users point-of-view. Key words:
Smart City
,
middleware
,
Ubiquitous Computing
, Pervasive
Computing
,
Internet of Things
, District 1 Introduction A single district and urban model is necessary for many purposes, including: i) design or refurbishment of buildings; ii) maintenance and monitoring of energy consumption; iii) data visualization for increasing user awareness. Unfortunately, the design of such model is more difficult than collecting and analyzing data. For example, the different technologies used to collect such data produce
hetero
- geneous
information
, which is difficult to integrate. Moreover, data coming from different platforms are encoded with a specific
data format
, and therefore not portable. Furthermore, data is usually stored in different locations and accessed using different
protocols
. A common scenario involves different technologies. For instance, Building In- formation Model Systems (
BIMs
) [7] build a
3D
parametric model of buildings, enriched with
semantic
information
, such as measures, materials and costs [11]. On the other hand,
Geographic Information Systems
(GISs) [15] map the geo- graphical location of buildings, energy distribution networks or other elements 2
Brundu
et al. (such as
smart meters
). GISs are used for data automation and compilation, management, analysis and modeling of advanced
cartography
[5]. Finally, it is possible to have System
Information Models
(
SIM
)
databases
, to outline the structure of energy distribution networks with a
3D
parametric model, and
mea
- surements
databases
, to store data collected by sensors. In addition, a district model must satisfy the following constraints: (i) the use of underlying hardware (e.g. sensors) must be transparent from the users point-of-view; (ii) each data source must be able to be registered into the
sys
- tem without needing to restart the whole infrastructure; (iii) the system must communicate by means of shared
open protocols
; (iv) the system must handle the
data integration
; (v) the
data format
must be open and independent from data source. Currently, we believe there is a lack of
interoperability
, regarding
information
exchange
, in district
information management
. Hereby we propose a distributed infrastructure for district management, which integrates and interconnects dif- ferent models [6] and data sources, and delivers
information
by means of
Web
Services. This article is organized as follows: Section 2 presents the state-of-art in the fields of heterogeneous devices integration and
BIM
/
GIS
integration. Sec- tion 3 introduces the DIMCloud concept, outlining the different aspects of the system. Finally, Section 4 reports conclusions and future directions. The research is funded by EU,
FP7 SMARTCITIES
2013
District
Informa
- tion Modelling and Management for
Energy Reduction
(http://dimmer.polito.it). 2 Background Nowadays, one of the major challenges in
Ubiquitous Computing
and
Internet
of things concerns the
interoperability
between heterogeneous devices. Considering a district context, this problem is even more challenging. However,
middleware
technologies
and
Services Oriented Architectures (SOA)
[10] can be considered as the key issue to provide low-cost integration for enabling the communication between such heterogeneous devices. In the context of big environments, such as buildings and public spaces,
middleware
technologies should implement the
abstraction
software
layer, which is the key issue to achieve a true
interoperabil
-
ity
between heterogeneous devices. In addition, they should also integrate the already existing and deployed Building Management Systems. The authors of [2] developed a modular open infrastructure, which is a complete
SOA
ecosystem designed to provide the capabilities of the integrated
embedded devices
. Finally,
Stavropoulos
et al. [14] introduces the aWESoME
middleware
, which provides uniform access to the heterogeneous
Wireless
Sensor and Actuator Networks (WSAN), enabling fast and direct discovery, invocation and execution of ser- vices. Several concepts have been proposed to integrate heterogeneous data and to promote information exchange. For instance, [8] integrated
BIM
and
GIS data
to provide a
Supply Chain Management
framework for Construction. In this case, DIMCloud 3 the
BIM
model traced cost and materials, while the
GIS
model minimized the
logistics
costs.
Microsoft Access
was used for
information
exchange. The authors of [4] proposed the
USIM
concept, an Indoor
GIS
Building Information Model
for
context-aware
[3] applications. The compatibility was achieved following the
IFC
standard. In [8] the integration of
GIS
and
BIM
models optimized the instal- lation of tower cranes. The
GIS
model located tower cranes to minimize conflicts between them. On the other hand, the
BIM
model represented each tower crane area to check the spatial coverage of the system, and was used to estimate the operator point-of-view. The
BIM
model was exported using a
database
(e.g. with
Microsoft Access
). In [9] the authors used Schema-Level Model Views, i.e. partial sub-models taken from the
BIM
(
IFC
) model and translated to the geo-spatial context into a
ESRI
Geodatabase
(geo-spatial1
database
) or a ESRI Shapefile (a file format used to represent the geo-relational model2). On the other hand, from the district energy consumption point-of-view, [16] introduced the
CDIM
(City District
Information model
) concept, which aim at integrating and managing data, to support the conception and the simulation of district energy consumption.
CDIM
integrates data by means of object-relational
databases
. In our work, we propose a framework for simulation and visualization of energy consumption in a district context, by means of
middleware
and
SOA
concepts. To achieve it, the framework enriches
BIM
and
SIM
with real-time data collected by devices deployed in buildings and energy distribution
networks
. 3 Distributed Framework for District Energy Simulation and Management In a
Smart Cities
context, we designed our concept DIMCloud (District
Informa
- tion Model
Cloud
) to ease the visualization and simulation of energy consump-
tion
in a city district. DIMCloud (depicted in Figure 1(a)) links the district energy consumption data with
semantic
and
geographic information
, such as the building in which the data has been collected. In this way, it is possible to monitor in real-time the district as a whole or with a more fine-grained
perspec
-
tive
, e.g. each single house, abstracting the pervasive distributed infrastructure of sensors. DIMCloud abstracts data sources by means of a set of specific prox- ies, contained in the data layer. Each
proxy
responds to data requests retrieving the correspondent data, adapting them to a district context (for instance, label-
ing
them as belonging to a specific building) and converting them to a shared unique format. There are two types of
proxy
: Device-proxy, if data comes from a device (see Section 3.1),
Database-proxy
, if data comes from a
database
(see Section 3.2). The requests enter the integration layer and are dispatched to the 1 http://support.esri.com/en/knowledgebase/GISDictionary/term/geospatial+
technology
2 http://support.esri.com/en/knowledgebase/GISDictionary/term/ georelational+data+model 4
Brundu
et al. correct
proxy
by the clouds master node, as shown in Figure 1(a). The ref- erences between different
databases
are modeled by means of an
ontology
and are exploited by the master node during the integration of different data (for instance, to integrate the data of a building with its geographical location and sensors measurements). (a) DIM
Cloud
schema
(b) Device-Proxy
schema
Fig. 1. Framework for energy simulation and management in the district. DIMCloud exploits the SEEMPubS service-oriented
middleware
[12]. It pro-
vides
components, called managers, to develop
distributed software
based on both
user-centric
and event-based approaches.
SEEMPubS
, thanks to the Net- work Manager, is in charge to establish a
peer-to-peer communication
across the different entities in the
middleware
network
. The SEEMPubS event-based approach is given by the
Event Manager
, which implements a
publish/subscribe
model. Hence, the
middleware
allows the development of loosely-coupled event- based systems removing all the explicit dependencies between the
interacting
entities. Finally, the concept of SEEMPubS
Proxy
[13] has been extended to enable the
interoperability
between heterogeneous devices and also to integrate the different
databases
, as described respectively in Section 3.1 and 3.2. It ab- stracts and eases the integration of a specific technology, device or service into a SEEMPubS
application
providing
Web Services
and registering it at a
Network
Manager. 3.1 Enabling
Interoperability
Across Heterogeneous Devices Figure 1(b) summarizes the
schema
designed to implement the
Proxy
, which inte- grates heterogeneous devices into the DIMCloud and enables the
interoperability
between them. The Device-Proxy is a service layer for abstracting the underly-
ing
heterogeneous
wireless
and wired technologies. Different Device-Proxies, one for each considered technology, were developed to provide the following main features: DIMCloud 5 enabling the integration of heterogeneous devices and
interfacing
them to the whole proposed infrastructure by means of
Web Services
, through which access sensor data; collecting environmental data coming from
sensor nodes
into a local
database
, which can be accessed in an asynchronous way and protected against
network
failures; pushing environmental
information
into the infrastructure via an event-based approach, thanks to the Event Manager; allowing the
remote control
of actuator devices. Therefore, the Device-Proxy, as shown in Figure 1(b), is a
software
which communicates directly with the
heterogeneous networks
and consists of three layers. The dedicated
Interface
, the lowest layer, directly receives all the incom-
ing
data from the devices, regardless of
communication protocols
, hardware or
network topology
. Each technology needs a specific
software Interface
, which in- terprets environmental data (e.g. Temperature, Humidity, Power Consumption, etc.) and stores them in an integrated
database
, which is in the second layer. Since data are stored locally, the
database
makes the whole infrastructure flexible and reliable with respect to backbone network failures. Finally, the
SEEMPubS
Web Services
layer
interfaces
the different technologies to other components of the infrastructure, easing remote management and control, and enabling the in-
teroperability
between heterogeneous devices. From this layer, trough the Event Manager, real-time data collected by sensors are sent to other
applications
, such as the Measurements
Database
, which collects data coming from the districts devices. In particular, we developed
proxies
for
IEEE 802.15.4
,
ZigBee
and
EnOcean
protocols
, which are wireless technologies. Moreover, about wired technologies, it was developed a specific
proxy
to allow the
interoperability
with the
OPC
Unified Architecture3, which incorporates all the features provided by different standards, such as
SCADA
or
BACnet
. 3.2 Abstracting Underlying Data Sources Different
databases
store district data. Unfortunately, the integration to a unique
database
is not feasible, because of heterogeneity (different formats) and con- flicting values (the same key can be used to identify different objects in different
databases
). Furthermore, the update of such
database
would be laborious. In our distributed infrastructure, each
database
is accompanied with an in- terface (
Database-proxy
), which provides data
retrieval
from the
database
pub-
lishing
a
Web Service
. Simultaneously, a master node of the infrastructure stores the relationships between the available
proxies
into an
ontology
. In this way, the user
queries
a single entry point (the master node) to receive
proxies
URIs. Af- terwards, s/he receives the
Web Service
URIs of the
proxies
and the relationships between them. Finally, s/he retrieves the data using the
proxies
Web Services
and is able to integrate them. 3 https://www.opcfoundation.org/UA/ 6
Brundu
et al. 3.3
Information
Modeling and Data Export To export the models behind the Database-proxies in the DIMCloud, it was necessary to use
Autodesk Revit
and
ESRI
ArcGIS
10. The Level of Development and the
Level of Detail
were carefully chosen before the modeling step, referring to
the American Institute of Architects
(
A.I.A.
)4. In
Revit
we developed the model of the building with Local Masses. Afterwards, we enriched the
BIM
model with
semantic
information
. The building and the context models were oriented and located appropriately. In addition, more informations could be inserted using Shared
parameters
. Working on
ArcGIS
, we defined the geographic coordinates system and we made
shapefiles
(.shp) of buildings and of addresses.
Shapefiles
are used to store non-topological geometries and attribute informations [1], such as construction typology or data, and were developed to describe the
GIS
model. Parametric models need an export / import process, to share data between different applications. Therefore, several formats have to be tested to avoid errors and data losses. For instance, IFC5 and CityGML6 are two predominant standard
exchange
formats in the
building industry
. We decided to export
BIM
and
GIS
models by means of
relational databases
. 3.4 Exploiting
Ontologies
to Relate District Entities When the master node search for the
Web Services
URI
of data source, it refers to an
ontology
. The
ontology
stores a model for the whole district. This model is a
tree
, in which the root node identifies the district and its global properties (e.g.
Web Services
for
GIS Database-Proxy URI
), and defines the relationships between different data sources. In the
ontology
each node connected to the root node describes a building or an energy distribution
network
, and it is labeled with a unique id. Each node stores: the
Web Services
URIs for both
BIM
or
SIM Database-Proxy
; the ID of the
BIM
or
SIM
in the
GIS
Database-Proxy; a dictionary containing, for each sensor, its ID in the measurements
database
. Figure 2 depicts the ontologys
schema
. From the root node, it is possible to reach every data source in the district. Each found leaf node discloses the necessary references to query the related data sources. 3.5 Use Case: District Data
Query
Figure 3 depicts the sequence diagram to retrieve the data related to a district, which can include real-time measurements,
BIM
and
SIM
models for N selected buildings and energy distribution
networks
respectively. The Client, for instance an application for simulation or data visualization, asks the Master (step 1) for 4 http://www.aia.org/groups/aia/documents/pdf/aiab095711.pdf 5 http://www.buildingsmart.org/standards/ifc 6 http://www.citygml.org DIMCloud 7 Fig. 2.
Ontology
schema
data and
Web Services
URIs (
proxies
). The Master checks the
ontology
and returns (2) all the information for the requested
GIS
,
BIM
,
SIM
and their rela- tive measurements. In (3) the Client asks for geographical data for the required
BIM
and
SIM IDs
to the
GIS
proxy
, which responds in (4). Afterwards, the Client retrieves measurements data from the Measurements
Proxy
(5, 6). Fi- nally, in (7) and (8), in (9) and (10) and, generically, in (BRn) and (BSn) and in (SRn) and (SSn), the Client retrieves the data from the N
BIM
and
SIM
models invoking the
Web Services
for the related
proxies
. Fig. 3. District data
query
sequence diagram 4 Conclusions The CDIM approach [16] showed that a district-based simulation can be bene- ficial to optimize energy consumption, with respect to
BIM
simulations. In our work, we introduced a different model for the district, i.e. DIMCloud, in which each data source is reachable by means of a
Web Service
proxy
. The underly- 8
Brundu
et al.
ing
hardware is available as a service, and the user can query in the same way heterogeneous sources, to monitor real-time energy consumption in the district. We think that the proposed system can be of crucial importance to manage
district energy
data, in order to develop energy consumption awareness and sustainability in smart district scenarios. References 1. Esri shapefile tecnical description.
ESRI
White paper,
1998
. 2.
G. Candido
,
A.W. Colombo
,
J. Barata
, and
F. Jammes
. Service-oriented infrastruc-
ture
to support the deployment of evolvable production systems. In
IEEE
Trans. on Industrial Informatics, volume 7,
Nov. 2009
. 3.
G. Chen
and
D. Kotz
. A survey of context-aware mobile computing research.
Tech
- nical Report TR2000-381, pages 116,
2000
. 4.
J.W. Choi
,
S.A. Kim
,
J. Lertlakkhanakul
, and
J.H. Yeom
. Developing ubiquitous
space
information model for indoor
gis
service in
ubicomp
environment. In
Proc
. of 4th
IEEE
NCM08, pages 381388,
2008
. 5.
A. C. de Pina Filho
,
F. R. Lima
, and
R Dias Calado
do
Amaral
. Computational Tools applied to Urban Engineering, Methods and
Techniques
in Urban Engineering. 6.
M. Del Giudice
,
A. Osello
, and
E. Patti
.
Bim
and
gis
for district modeling. In
ECPPM
2014 Conference, Vienna,
2014
. 7.
C. Eastman
,
P. Teicholz
,
R. Sacks
, and
K. Liston
.
Bim
handbook: A guide to
building information modeling
for owners, managers, designers, engineers, and con- tractors.
John Wiley and Sons
,
Inc.
,
2008
. 8.
J. Irizarry
,
E.P. Karan
, and
F. Jalaei
. Integrating
BIM
and
GIS
to improve the visual monitoring of construction
supply chain management
. Automation in Construction, 31:241254,
2013
. 9. U. Isikdag,
J. Underwood
, and
G. Aouad
. An investigation into the applicability of
building information models
in geospatial environment in support of site
selec
-
tion
and fire response management processes.
Advanced
Engineering Informatics, 22(4):504519,
2008
. 10.
S. Karnouskos
. The cooperative
internet of things
enabled smart grid. In
Proc
. of the 14th
IEEE ISCE
, Braunschweig, Germany,
June 2010
. 11.
A. Osello
. The future of Drawing with
BIM
for Engineers and Architects.
Dario
Flaccovio Editore
, Palermo,
2012
. 12.
E. Patti
,
A. Acquaviva
,
M. Jahn
,
F. Pramudianto
,
R. Tomasi
,
D. Rabourdin
,
J. Vir
- gone, and
E. Macii
. Event-driven user-centric
middleware
for energy-efficient build- ings and public spaces. Systems Journal,
IEEE
,
2014
. 13.
E. Patti
,
A. Acquaviva
, and
E. Macii
. Enable sensor networks
interoperability
in smart public spaces through a service oriented approach. In
Proc
. of 5th
IEEE
IWASI
, pages 27,
June 2013
. 14.
T. G. Stavropoulos
,
K. Gottis
,
Vrakas D.
, and I. Vlahavas. awesome: A
web
service
middleware
for ambient intelligence. Expert Systems with
Applications
, 40(11):43804392,
Sept. 2013
. 15.
R. F. Tomlinson
. A
geographic information system
for regional planning. Journal of Geography (
Chigaku Zasshi
), 78(1):4548,
1969
. 16.
H. Wolisz
,
L. Bo??s
e,
H. Har
b,
R. Streblo
w, and
D. Mu??ll
er
. Ci
ty district information modeling as a foundation for simulation and evaluation o
f smart ci
ty approaches. I
n Pr
oc. of Building Simulation and Optimization Conference, London
, 20
14
. U
CL.


--- layout: base title: julia elman body_id: homepage --- {{ page.title }} Designer. Developer. Author. Speaker. Artist. Mother. Wife. @18F.
Designer. Developer. Author. Speaker. Artist. Mother. Wife. @18F.


Enumeration
StubbingManager.TransitionStrategy
public enum TransitionStrategy
When to use the next chained implementation provider.
Relationships
Member Of
StubbingManager
An intermediate object used for stubbing declarations returned by
given
.
Enumeration Cases
after
case after(_ times: Int)
Go to the next provider after providing a certain number of implementations.
This transition strategy is particularly useful for non-finite value providers such as
sequence
and loopingSequence
.
given(bird.name)
.willReturn(loopingSequence(of: "Ryan", "Sterling"), transition: .after(3))
.willReturn("Andrew")
print(bird.name) // Prints "Ryan"
print(bird.name) // Prints "Sterling"
print(bird.name) // Prints "Ryan"
print(bird.name) // Prints "Andrew"
onFirstNil
case onFirstNil
Use the current provider until it provides a nil
implementation.
This transition strategy should be used for finite value providers like finiteSequence
that are nil
terminated to indicate an invalidated state.
given(bird.name)
.willReturn(finiteSequence(of: "Ryan", "Sterling"), transition: .onFirstNil)
.willReturn("Andrew")
print(bird.name) // Prints "Ryan"
print(bird.name) // Prints "Sterling"
print(bird.name) // Prints "Andrew"