A database is an abstraction on top of an operating system's file system to ease creating, reading, updating, and deleting persistent data.
At a high level web applications store data and present it to users in a useful way. For example, Google stores data about roads and provides directions to get from one location to another by driving through the Maps application. Driving directions are possible because the data is stored in a structured way.
Databases make structured storage reliable and fast. They also give you a mental framework for how the data should be saved and retrieved instead of having to figure out what to do with the data every time you build a new application.
The database storage abstraction most commonly used in Python web development is sets of relational tables. Alternative storage abstractions are explained in the NoSQL section of this guide.
Relational databases store all data in a series of tables. Interconnections between the tables are specified as foreign keys.
Databases storage implementations vary in complexity. SQLite, a database included with Python, creates a single file for all data per database. Other databases such as Oracle, PostgreSQL, and MySQL have more complicated persistence schemes while offering additional advanced features that are useful for web application data storage.
PostgreSQL and MySQL are two of the most common open source databases for storing Python web application data.
SQLite is a database that is stored in a single file on disk. SQLite is built into Python but is only built for access by a single connection at a time. Therefore is highly recommended to not run a production web application with SQLite.
PostgreSQL is the recommended relational database for working with Python web applications. PostgreSQL's feature set, active development and stability contribute to its usage as the backend for millions of applications live on the Web today.
This post on using PostgreSQL with Django or Flask is a great quickstart guide for either framework.
PostgreSQL Weekly is a weekly newsletter of PostgreSQL content from around the web.
Braintree wrote about their experiences scaling PostgreSQL. The post is an inside look at the evolution of Braintree's usage of the database.
This post estimates the costs of a PostgreSQL connection.
There is no such thing as total security but this IBM article covers hardening a PostgreSQL database.
Craig Kerstien's wrote a detailed post about understanding PostgreSQL performance.
Handling growth with Postgres provides 5 specific tips from Instagram's engineering team on how to scale the design of your PostgreSQL database.
Following a Select Statement Through Postgres Internals provides a fascinating look into the internal workings of PostgreSQL during a query.
This article explains how and why PostgreSQL can handle full text searching for many use cases.
MySQL is another viable open source database backend option for Python web applications. MySQL has a slightly easier initial learning curve than PostgreSQL. The database is deployed in production at some of the highest trafficked sites such as Twitter, Facebook and many others major organizations. However, since the company focused on MySQL development, MySQL AB, was purchased by Sun Microsystems (which was in turn purchased by Oracle), there have been major defections away from the database by Wikipedia and Google. MySQL remains a viable database option but I always recommend new Python developers learn PostgreSQL if they do not already know MySQL.
28 Beginner's Tutorials for Learning about MySQL Databases is a curated collection on various introductory MySQL topics.
This tutorial shows how to install MySQL on Ubuntu.
Graph Data From MySQL Database in Python is an interesting study with code of how to pull data out of MySQL and graph the data with Plotly.
To work with a relational database using Python, you need to use a code library. The most common libraries for relational databases are:
SQLite support is built into Python 2.7+ and therefore a separate library is not necessary. Simply "import sqlite3" to begin interfacing with the single file-based database.
Object-relational mappers (ORMs) allow developers to access data from a backend by writing Python code instead of SQL queries. Each web application framework handles integrating ORMs differently.
Django provides an ORM with its core functionality. Flask leaves using an ORM up to an extension, such as Flask-SQLALchemy.
Developers can also use ORMs without a web framework, such as when creating a data analysis tool or a batch script without a user interface. Currently, the most widely used stand-alone ORM written for Python is SQLAlchemy.
If you're interested in the differences between SQLAlchemy and the Django ORM I highly recommend reading SQLAlchemy and You by Armin Ronacher.
Numerous companies run scalable database servers as a hosted service. Hosted databases can often provide automated backups and recovery, tightened security configurations and easy vertical scaling, depending on the provider.
Amazon Relational Database Service (RDS) provides pre-configured MySQL and PostgreSQL instances. The instances can be scaled to larger or smaller configurations based on storage and performance needs.
Google Cloud SQL is a service with managed, backed up, replicated, and auto-patched MySQL instances. Cloud SQL integrates with Google App Engine but can be used independently as well.
BitCan provides both MySQL and MongoDB hosted databases with extensive backup services.
Why I Love Databases is a great read on the CAP Theorem, distributed systems and other topics that are at the core of database theory and implementation. Well worth the time to read.
PostgreSQL vs. MS SQL Server is one perspective on the differences between the two database servers from a data analyst.
DB-Engines ranks the most popular database management systems.
DB Weekly is a weekly roundup of general database articles and resources.
SQLAlchemy vs Other ORMs provides a detailed comparison of SQLAlchemy against alternatives.
A different view provides some perspective on the impedance mismatch between ORMs and traditional SQL queries.
Databases integration testing strategies covers a difficult topic that comes up on every real world project.
Install PostgreSQL on your server. Assuming you went with Ubuntu run
sudo apt-get install postgresql
.
Make sure the psycopg2 library is part of your application dependencies.
Configure your web application to connect to the PostgreSQL instance.
Create models in your ORM, either with Django's built-in ORM or SQLAlchemy with Flask.
Sync the ORM models with the PostgreSQL instance.
Start creating, reading, updating and deleting data in the database from your web application.


This login form will not function as expected since OAuth sign-in is currently enabled.
Please proceed to the OAuth sign-in page to access the Workbench.
{{ errorMessage }}
{{ progressMessage }}


TException class
TException is the base class for all PRADO exceptions.
TException provides the functionality of translating an error code into a descriptive error message in a language that is preferred by user browser. Additional parameters may be passed together with the error code so that the translated message contains more detailed information.
By default, TException looks for a message file by calling getErrorMessageFile() method, which uses the "message-xx.txt" file located under "System.Exceptions" folder, where "xx" is the code of the user preferred language. If such a file is not found, "message.txt" will be used instead.
Located in /Exceptions/TException.php (line 35)
Exception | --TException
| Class | Description |
|---|---|
| TSqlMapException | TSqlMapException is the base exception class for all SqlMap exceptions. |
| TSystemException | TSystemException class |
| TApplicationException | TApplicationException class |
| TInvalidCallbackException | TInvalidCallbackException class. |
Constructor.
Translates an error code into an error message.
Documentation generated on Mon, 22 Feb 2010 12:17:42 +0000 by phpDocumentor 1.3.0RC4


Pelican to GOpher: Migrating my Blog to the Hugo Framework
A static site generator written in Golang
thoughts blogIf you have been to this site recently, you will have noticed that it doesn’t look the same. I have migrated from Pelican, a static site generator written in Python to Hugo, a static site generator written in Go (golang).
Why?
My old blog just wasn’t cutting it. The Pelican project updated and when I tried to migrate my local project from one computer to another with different versions I broke the site, which in turn went nuclear on my github repo for the project. I ended up fixing it, and getting the site back up, but this is just another example of my gripes with the python ecosystem.
Python Ecosystem Gripes
I love Python, it was the first language I got to know well and it is fun to program in…. most of the time. Even doing the best practices of always using virtualenv environments and minimizing what is stored locally, I still run into hassles with dependencies, especially those libraries used in data science or data analytics. Nowadays, I usually just build my more complex python projects in Docker containers and use virtualenv for the smaller stuff. It has worked out well, but despite Docker’s small footprint, I feel like this process is heavy….heavier than it need to be.
Back to Why
So why Hugo? Well, first of all Go (which I will be calling from know on) is awesome. It is crazy fast, has a great standard library and is compiled. Furthermore, you can build executables to run on anything…. oh and did I mention, it is fast. Second, the workflow and documentation is great. I spent more time customizing the CSS and Javascript than I spent figuring out how to deploy my page.
So How Easy is it to Migrate to Hugo?
If you can read the docs, you can deploy your blog. Seriously, that is all you need. If you can find another hosted blog on Github to see where certain directories and files go, it is even better. Here is mine! ! All of these are covered in the docs, it is just easier to get it from a live site in my opinion.  Just make sure you follow the git sub-module process.
Closing up
In closing, if you are looking for a static site generator that is hassle free, doesn’t demand engagement and can easily be host on Github, seriously consider Hugo. There is a reason Go has been exploding in popularity in the last few years…. It’s awesome and Hugo is no different.


OVERALL CHANNEL STATISTICS
{% set stats = reporter.stats %}ALL: n = {{ stats.n }}; {{ hd.displayStats(stats) }}
{% set stats = reporter.statsOfRecent %}CREATED IN LAST 60 DAYS: n = {{ stats.n }}; {{ hd.displayStats(stats) }}
{% set stats = reporter.statsOfPending %}PENDING: n = {{ stats.n }}; {{ hd.displayStats(stats) }}
Graph computed with data collected at {{ data.timestamp }}
| {{ channelname|upper }} HELP DESK CHANNEL | |||||||
|---|---|---|---|---|---|---|---|
| Unresolved Requests | |||||||
| Key | Summary | Status | Priority | Age | Assignee | Links | |
| >>> {{loop.length }} items found | |||||||
| >>> No Issues found |
| Resolved Requests in last 60 days | ||||||||
|---|---|---|---|---|---|---|---|---|
| Resolution Date | Key | Summary | Status | Resolution | Priority | Age | Assignee | Links |
| >>> {{loop.length }} items found | ||||||||
| >>> No Issues found |


Class ZptSharpView
The ZptSharp implementation of an System.Web.Mvc.IView for either MVC5 or MVC Core.
Inheritance
Implements
Inherited Members
Namespace: ZptSharp.Mvc5
Assembly: ZptSharp.Mvc5.dll
Syntax
public class ZptSharpView : IView
Constructors
| Improve this Doc View SourceZptSharpView(String, IHostsZptSharp, String, RenderingConfig, IGetsMvcRenderingConfig, IGetsErrorStream)
Initializes a new instance of the ZptSharpView class.
Declaration
public ZptSharpView(string filePath, IHostsZptSharp host, string viewsPath, RenderingConfig config, IGetsMvcRenderingConfig configProvider, IGetsErrorStream errorStreamProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filePath | The path to the view file which is to be rendered. |
| IHostsZptSharp | host | The self-hosting ZptSharp environment. |
| System.String | viewsPath | The path to the root of the |
| RenderingConfig | config | A rendering config. |
| IGetsMvcRenderingConfig | configProvider | A service which gets a modified rendering config, suitable for use with MVC. |
| IGetsErrorStream | errorStreamProvider | A service which gets a stream for displaying a rendering error. |
Properties
| Improve this Doc View SourceHost
The ZptSharp self-hosting environment, from which dependencies are retrieved.
Declaration
public IHostsZptSharp Host { get; }
Property Value
| Type | Description |
|---|---|
| IHostsZptSharp | The self-hosting environment. |
Path
Gets the path of the view as resolved by the ZptSharpViewEngine
Declaration
public string Path { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The path to the view. |
ViewsPath
The path for the Views
TALES variable.
Declaration
public string ViewsPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The views path. |
Methods
| Improve this Doc View SourceRender(ViewContext, TextWriter)
Renders the specified view context by using the specified the writer object.
Declaration
public void Render(ViewContext viewContext, TextWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Web.Mvc.ViewContext | viewContext | The view context. |
| System.IO.TextWriter | writer | The writer object. |


Andrea's Tips and Photography
Home
My Story
Shopping/Health
Photography
Welcome to my Website!
Want to be healthy and see some amazing photos?
Explore my website and get a few tips along the way!


This is a binding Agreement between the Viacoin project. (“Viacoin” or “We”) and the person, persons, or entity (“You” or “Your”) using the service, Software, or application (“Software”).
RIGHTS AND OBLIGATIONS
Viacoin provides the Software solely on the terms and conditions set forth in this Agreement and on the condition that You accept and comply with them. By using the Software You (a) accept this Agreement and agree that You are legally bound by its terms; and (b) represent and warrant that: (i) You are of legal age to enter into a binding agreement; and (ii) if You are a corporation, governmental organization or other legal entity, You have the right, power and authority to enter into this Agreement on behalf of the corporation, governmental organization or other legal entity and bind them to these terms.
This Software functions as a free, open source, and multi-signature digital wallet. The Software does not constitute an account where We or other third parties serve as financial intermediaries or custodians of Your viacoin(s).
While the Software has undergone beta testing and continues to be improved by feedback from the open-source user and developer community, We cannot guarantee there will not be bugs in the Software. You acknowledge that Your use of this Software is at Your own discretion and in compliance with all applicable laws. You are responsible for safekeeping Your passwords, private key pairs, PINs, and any other codes You use to access the Software.
 All transaction requests are irreversible. The authors of the Software, employees and affiliates of Viacoin, copyright holders, and the Viacoin project. cannot retrieve Your private keys or passwords if You lose or forget them and cannot guarantee transaction confirmation as they do not have control over the viacoin network.
 IN NO EVENT SHALL THE AUTHORS OF THE SOFTWARE, EMPLOYEES AND AFFILIATES OF BITPAY, COPYRIGHT HOLDERS, OR BITPAY, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

INTELLECTUAL PROPERTY
We retain all right, title, and interest in and to the Content and all of BitPay’s brands, logos, and trademarks, including, but not limited to, BitPay, Inc., BitPay, BitPay – Secure Bitcoin Wallet, BitPay Wallet, BitPay App, Copay, BitPay Prepaid Card, and variations of the wording of the aforementioned brands, logos, and trademarks.
CHOICE OF LAW
This Agreement, and its application and interpretation, shall be governed exclusively by the laws of the State of Georgia, without regard to its conflict of law rules. You consent to the exclusive jurisdiction of the federal and state courts located in or near Atlanta, Georgia for any dispute arising under this Agreement.
SEVERABILITY
In the event any court shall declare any section or sections of this Agreement invalid or void, such declaration shall not invalidate the entire Agreement and all other paragraphs of the Agreement shall remain in full force and effect.
BINDING AGREEMENT
The terms and provisions of this Agreement are binding upon Your heirs, successors, assigns, and other representatives. This Agreement may be executed in counterparts, each of which shall be considered to be an original, but both of which constitute the same Agreement.
You assume any and all risks associated with the use of the Software. We reserve the right to modify this Agreement from time to time.


On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized


SHAKESPEARE IN LOVE A film review by David N. Butterworth Copyright 1999 David N. Butterworth
***1/2 stars (out of ****)
With hundreds of sonnets, comedies, tragedies, and patriotic histories to his name, William Shakespeare seems an unlikely candidate for writer's block. But that's the conundrum facing the illustrious Bard at the outset of "Shakespeare in Love," a deliciously witty and inventive comedy drama that reminds us once again of the true genius of England's greatest writer.
 He needs inspiration in the form of a muse and finds it in Viola De Lesseps (a radiant Gwyneth Paltrow), who auditions for the male lead (since women weren't allowed on stage in Elizabethan England). It isn't long before Viola, still in drag, starts canoodling in the wings with the smitten playwright.
Unfortunately Viola is to be wed this fortnight to the odious Lord Wessex (Colin Firth), which puts a bit of a crimp in our heroes' romantic future.
It goes without saying that this is a purely invented account of what inspired Will to write "Romeo and Juliet" (working title: "Romeo and Ethel, the Pirate's Daughter"), but it's absolutely credible and great fun in what it supposes. Like any good Shakespearean work, "Shakespeare in Love" is filled with love, sex, villainy, despair, tears, sword fights, men dressed as women, women dressed as men, buffoonery, ribald humor, intimidating penmanship...and a dog!
Writers Marc Norman and Tom Stoppard (who's been down a similar road before with "Rosencrantz and Guildenstern Are Dead") take great delight in mirroring the diction, the meter, and the sentiment of Shakespeare's English. Their screenplay is punctuated with earnest soliloquies, anachronistic asides and, most effectively, the kind of adult humor missing from so many mainstream scripts. Where else but in "Shakespeare in Love" might you find "But, soft! what light through yonder window breaks?" within spitting distance of "for sixpence a line I'd cause a riot in a nunnery."
As sophisticated as the writing is, it's not the be all and end all of the piece. "Shakespeare in Love" is a real team effort, from the fine direction of John Madden ("Mrs. Brown") to a superlative cast. "Shine"'s Geoffrey Rush plays the fool, Judi Dench plays the Queen, and Tom ("The Full Monty") Wilkinson, Ben ("Armageddon") Affleck, and Rupert ("My Best Friend's Wedding") Everett all give fine accountings, with Everett brief but fun as Will's rival playwright, the ill-fated Christopher Marlowe.
Fiennes and Paltrow, of course, are terrific and make a handsomely engaging couple, even if the latter's nude scenes do seem cheap and somewhat distracting in this otherwise high-class production.
That said, "Shakespeare in Love" remains a wicked and wonderfully mature period romance, one with which the Bard himself, no doubt, would have been proud to be associated.
-- David N. Butterworth<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


Lessons Learned in University
In this post, I will share the most important life lessons that I’ve learned in university. More specifically, these are the 5 things I would say to a student entering college.

I’m writing about this lesson first because I believe it’s the most important one. I would not be the individual I am today without my friends. This should be a fairly obvious statement, but I cannot stress how valuable friendships are in university.
- Friends shape and define the person you will become.
- Friends help with academics, i.e. assignments, projects, labs, studying.
- Friends are there for you during stressful times. They’re also there during your happiest moments.
- Friends connect you with resources that you would not achieve on your own.
I could go on and on with trivial statements about friendships, but you get the point by now. Studies in university is already quite challenging. I cannot imagine how difficult it would be without the help of my friends. I travel every four months for co-op, somewhere far from home. Without friends (existing and new), I would be bored and quite lonely.
What I’m trying to say is from day 1 in university, make an effort to meet new people and build valuable friendships. Try not to always stick with the same high school crew. Don’t always stay in your room and isolate yourself from everyone else. Befriend some upper years, they’ve been in your situation before and can offer valuable advice. When you’re in a new city, go out to the events, and meet other students working in the area. I’d argue that the lessons and experiences you gain from friendships is the most valuable thing you gain from a university education.
2) It’s okay to struggle.
This past term, two first year students at the University of Waterloo committed suicide. As much as I have loved my time at Waterloo, I must admit there is quite a competitive and stressful environment here. Every engineering and CS student had at least a 90+ average during high school. When averages for first year courses are low-mid 70s, it’s inevitable that many students will be disappointed. Throw in the additional stress from adjusting to a new environment, and even finding a co-op job, university will not be easy.
Everyone struggles, even the people who seem like they’re on top of everything. Some people just aren’t as vocal about their struggles, which is reasonable as they want to show the best version of themselves. From an outsider’s perspective, people might think everything comes easy for me. However, that’s not true, here’s an example of a blog post where I wrote about my struggles.
Just understand that it’s okay to struggle. You’re worth so much more than that, don’t let struggles and failure define you. If you’re feeling stressed out, talk to someone about it, whether that’s a friend, family, academic advisor, or counsellor. Surround yourself with people that will be there for you. Also remember that life does and will get better, that’s my promise to you.
3) Think about other people’s perspectives.
Thinking about the world from your own perspective and being closed minded will not get you far in life. In fact, it might even be damaging to your relationships with others. People come from all types of different backgrounds and have unique life experiences and circumstances. You should think about other people’s perspectives and feelings at all times.
Here are some common scenarios that I’ve observed:
- You’re in a crowd of people and you know one student was still unemployed. Bragging about how much you’re making would be quite inconsiderate to that individual.
- You ask a friend to hang out, but they decline your request since they’re studying. Don’t repeatedly ask them until they get annoyed. Don’t say “Wow that’s lame”. Instead, give them space because midterm season might be quite overwhelming for them.
- In a heated argument, saying “I know I’m right for sure. You’re wrong.” without a reasonable justification leads to only more frustration. Another example of this is “iPhones suck, why would you waste your money like that? Android/BlackBerry is the only way to go.” Respect other people’s choices.
 To someone who’s trying to scrape by with a passing grade, you’re only going to make them feel worse about themselves.
- In a group setting, you heavily criticize an individual. Now, you’ve exposed the individual’s flaws or mistakes to the entire group, and have made them feel terrible. Never criticize in a group setting, just respectfully tell the individual one on one.
 Children think in a one dimensional mindset. We are not children anymore. If you can think about other people’s perspectives, then you will seem like a mature and respectful individual. Applying this lesson will also help you become a much better critical thinker. For example, when you’re crafting a resume, think about the perspective of the hiring manager or recruiter. Or when you’re at work and designing something, you must think in the perspective of the user.
4) Stop comparing yourself to others.
I cannot stress this lesson enough.  First, you’ll compare grades, then you’ll compare jobs, income, and overall success. Like I mentioned before, everyone has different lives and perspectives, so any comparison would be unfair.
Frankly, there’s not much to gain when comparing to others. Comparing yourself to a more accomplished individual would make you feel bad, and it’s very likely there will always be someone better than you. Comparing yourself to a less accomplished individual might boost your self ego, but is that really something to be proud of? Others may perceive you to be arrogant. Finally, you should be focusing on yourself, not others. The only person you should ever compare to is yourself.
With this lesson in mind, just worry about your own grades, co-op jobs, and life. Stop comparing yourself to others, as you’re only wasting your energy and time.
5) Time flies. Live your life.
I recently visited my high school and thought to myself “has it really been 3 years since I left this place?” The four years in high school felt like it took forever, which might have been due to the two 5 month semesters along with a relaxing summer break. Now, my university terms are 3.5 months long, and I don’t have summer breaks. Every four months, I switch between school and moving to a new city for co-op. It’s hard to believe it’s been 3 years already. Time literally flew by.
It feels that as I’ve gotten older and become busier, my life is on a constant fast-forward. Because of this, I make sure that I’m actually living my life and thoroughly enjoying it. When I say live your life, I mean do things that make you happy. If you’re always studying, try to let loose every once in awhile and have some fun.
I’m uncertain how life will be like after graduation. I’ve worked for over a year through my 3 co-op terms, so I’ve already gotten a taste of the post university life. However, it’s not the same, since I always know I’ll be returning to school very shortly. It’s actually a bit terrifying to think about how I’m closer to marriage and adult responsibilities than I am to starting high school. But that’s something to think about in the future. In the meanwhile, I’ll continue to enjoy every single day before that time comes.
Conclusion
A lot of what I wrote about may seem intuitive or fairly obvious, and that’s totally fair. I hope that you will apply some of these lessons in your personal life. To my readers, what are the major lessons that you have learned in university?


{% extends "base.html" %} {% block content %}
“Take only memories, leave only footprints.”
- Chief Seattle
Wow. This place have been visited by {{ log_num }} times. {{ user_num }} people have shared their travel experiences. {% if user_num == 0 %} Congratulations! You are the first person to leave a footprint here. {% endif %}
Want to post your exciting trip journal? Why not!


{{ (data.Conversation.name.length > 20 )? (data.Conversation.name | slice:0:20)+'..':(data.Conversation.name) }}
{{formatter.GetConversationMembersFormatted(data.Conversation)}}
You were banned from this group.


Raging Australian Bushfires Hit Sydney Suburbs
by AGENCE FRANCE-PRESSESYDNEY (AFP) – Bushfires raging across eastern Australia singed Sydney’s suburbs on Tuesday, with firefighters scrambling planes and helicopters to douse a built-up neighbourhood with water and red retardant.
Experts have described the conditions as the worst on record, as spring temperatures climbed toward 40 degrees Celsius (104 Fahrenheit) and winds topped 80 kilometres (50 miles) per hour across a zone which has been plagued by persistent drought.
Although the bushfire season is in its infancy, scientists predict it to be one of Australia’s toughest ever, with climate change and unfavourable weather cycles helping created a tinderbox of strong winds, low humidity and high temperatures.
Twin blazes in the north shore suburb of Turramurra — around 15 kilometres (nine miles) from the centre of Australia’s largest city — tore through a eucalypt forest park and sparked spot fires in homes, before eventually being brought under control.
As night fell, authorities said they were bringing another “clearly suspicious” blaze in a national park in the city’s southern suburbs under control.
Throughout the day, more than 300 bushfires burned up and down Australia’s east coast, fanned by gale-force winds, scorching temperatures and tinder-dry bushland that has brought some of the most dangerous conditions the country has seen.
In Turramurra, gardens smouldered, thick smoke hung heavy in the air and cars, houses and roads were caked in raspberry-red retardant as if hit by a giant paintball.
“It was the embers that floated up that actually went across and set off spot fires in the front yards” resident Nigel Lush told AFP, adding that one roof had been set alight.
Another resident, Julia Gretton-Roberts, said the blaze spread shockingly quickly.

“My daughter is pretty freaked out.”
Firefighter Andrew Connon told AFP “a number of homes were threatened but it was contained by the aerial bombing”.
– ‘Catastrophic conditions’ –
From early morning thousands of firefighters spread out across New South Wales in anticipation of what they called “off the scale” fire risk and “catastrophic” conditions.
They were unable to prevent several bushfires from breaching containment lines and trapping residents who had not already evacuated.
New South Wales Rural Fire Service Commissioner Shane Fitzsimmons said so far only a dozen buildings had been damaged Tuesday and a handful non-life-threatening injuries were reported, but the crisis was far from over.
Firefighters will be “working on these fires for days and weeks given the enormity of the firegrounds,” he said.
Even before unfavorable weather hit, days of fires had killed three people and destroyed at least 150 homes.
“The conditions are expected to get worse,” Fitzsimmons said, warning residents in adjacent areas to stay alert.
“Complacency kills,” he added.
Up to 600 schools were closed, as well as many national parks, a total fire ban was introduced for the affected area and Rally Australia — due to be held in Coffs Harbour at the weekend — was cancelled.
The military pitched in, helping firefighters with logistics and water-dropping sorties using more than 100 aircraft.
– ‘We’ll fight it first’ –
In the town of Hillville a fire that has ripped through an area the size of 25,000 soccer fields approached the home of Daniel Stevens.
Like many, his family — including his mother nursing a broken leg — have packed their bags, but have resisted leaving their house and everything they own.
“We’ll fight it first,” he told AFP, “but if it jumps the fence line into the paddock, we’ll go.”
In the nearby town of Taree, dozens of people have already moved to a showground that has become a makeshift evacuation centre.

“The fires are just rife. They are absolutely everywhere” she told AFP. “They didn’t ask us to get out, but we figured it was coming.”
Further south in the Blue Mountains on the outskirts of Sydney, veteran Winmalee firefighter Alan Gardiner said locals were “terrified and on edge”.
The town still bears the scars of a 2013 blaze that destroyed 200 homes, and residents are acutely aware that with few roads in and out of the mountains, a decision to leave late can be fatal.
Efforts to burn fuel in a controlled way have been limited by months of drought-like conditions that made it too dangerous.
By Andrew Beatty & Holly Robertson, with Daniel De Cartert in Hillville
© Agence France-Presse
Copyright © 2019 courthousenews.com


My name is Kai. Born 1996, I'm a young singer and songwriter from Germany.
I would describe my musical style as a mixture between Pop, Soul and Electronic.
Vita
2012 - 2015
A-Level at Richard-Fehrenbach-Gewerbeschule in Freiburg, Germany
2016 -
Study of Media Informatics at hKDM Freiburg
Wanna see more?
Then check out my social media channels:
Impressum
Kai Wißler
Prägenhofstraße 59
79256 Buchenbach
Deutschland


Gecode::MiniModel::LinExpr Class Reference
#include <minimodel.hh>
Detailed Description
Linear expressions.
Definition at line 70 of file minimodel.hh.
Public Member Functions | |
| LinExpr (void) | |
| Default constructor. | |
| LinExpr (const LinExpr &e) | |
| Copy constructor. | |
| LinExpr (const IntVar &x, int a=1, int c=0) | |
| Create expression . | |
| LinExpr (const LinExpr &e0, const LinExpr &e1, int s) | |
| Create expression (where s is the sign). | |
| LinExpr (const LinExpr &e, int c, int s) | |
| Create expression (where s is the sign). | |
| LinExpr (int a, const LinExpr &e) | |
| Create expression . | |
| const LinExpr & | operator= (const LinExpr &e) |
| Assignment operator. | |
| void | post (Space *home, IntRelType irt, IntConLevel icl) const |
| Post propagator. | |
| void | post (Space *home, IntRelType irt, const BoolVar &b) const |
| Post reified propagator. | |
| IntVar | post (Space *home, IntConLevel icl) const |
| Post propagator and return variable for value. | |
| ~LinExpr (void) | |
| Destructor. | |
Public Attributes | |
| unsigned int | n |
| Number of variables in sub terms. | |
| int | c |
| Constant for expression. | |
| int | sign |
| Sign for expression. |
Constructor & Destructor Documentation
|
|
Default constructor.
Definition at line 64 of file lin-expr.icc. |
|
|
Copy constructor.
|
|
|
Create expression .
Definition at line 68 of file lin-expr.icc. |
|
|
Create expression (where s is the sign).
Definition at line 73 of file lin-expr.icc. |
|
|
Create expression (where s is the sign).
Definition at line 79 of file lin-expr.icc. |
|
|
Create expression .
Definition at line 85 of file lin-expr.icc. |
|
|
Destructor.
Definition at line 105 of file lin-expr.icc. |
Member Function Documentation
|
|
Assignment operator.
Definition at line 91 of file lin-expr.icc. |
|
|
Post propagator.
Definition at line 60 of file lin-expr.cc. |
|
|
Post reified propagator.
Definition at line 67 of file lin-expr.cc. |
|
|
Post propagator and return variable for value.
Definition at line 74 of file lin-expr.cc. |
Member Data Documentation
|
|
Number of variables in sub terms.
Definition at line 107 of file minimodel.hh. |
|
|
Constant for expression.
Definition at line 108 of file minimodel.hh. |
|
|
Sign for expression.
Definition at line 109 of file minimodel.hh. |
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 3579)
- gecode/minimodel/lin-expr.cc (Revision: 3513)
- gecode/minimodel/lin-expr.icc (Revision: 3553)


|
| int | Id [get, set] |
| | Gets the identifier. More...
|
| |
| string | Title [get, set] |
| | Gets or sets the title. More...
|
| |
| string | Subtitle [get, set] |
| | Gets or sets the subtitle. More...
|
| |
| bool | IsPublished [get, set] |
| | Gets or sets a value indicating whether this T:Lingvo.Common.Workbook is published. More...
|
| |
| DateTime | LastModified [get, set] |
| | Gets or sets the date on which this workbook was modified the last time. More...
|
| |
| List< IPage > | Pages [get, set] |
| | Gets or sets all the pages of . More...
|
| |
| int | TotalPages [get, set] |
| | Gets the total number of pages belonging to this workbook. More...
|
| |
◆ Workbook() [1/2]
| Lingvo.Common.Entities.Workbook.Workbook |
( |
int |
id | ) |
|
|
inline |
Initializes a new instance of the T:Lingvo.Common.Workbook class.
- Parameters
-
◆ Workbook() [2/2]
| Lingvo.Common.Entities.Workbook.Workbook |
( |
| ) |
|
|
inline |
Initializes a new instance of the T:Lingvo.Common.Workbook class.
◆ DeletePage()
| void Lingvo.Common.Entities.Workbook.DeletePage |
( |
IPage |
p | ) |
|
|
inline |
Deletes a page from the workbook's collection.
- Parameters
-
◆ SavePage()
| void Lingvo.Common.Entities.Workbook.SavePage |
( |
IPage |
p | ) |
|
|
inline |
Saves the page.
- Parameters
-
◆ Id
| int Lingvo.Common.Entities.Workbook.Id |
|
getset |
Gets the identifier.
The identifier.
◆ IsPublished
| bool Lingvo.Common.Entities.Workbook.IsPublished |
|
getset |
Gets or sets a value indicating whether this T:Lingvo.Common.Workbook is published.
true
if is published; otherwise, false
.
◆ LastModified
| DateTime Lingvo.Common.Entities.Workbook.LastModified |
|
getset |
Gets or sets the date on which this workbook was modified the last time.
The last modified.
◆ Pages
| List<IPage> Lingvo.Common.Entities.Workbook.Pages |
|
getset |
Gets or sets all the pages of .
The pages.
◆ Subtitle
| string Lingvo.Common.Entities.Workbook.Subtitle |
|
getset |
Gets or sets the subtitle.
The subtitle.
◆ Title
| string Lingvo.Common.Entities.Workbook.Title |
|
getset |
Gets or sets the title.
The title.
◆ TotalPages
| int Lingvo.Common.Entities.Workbook.TotalPages |
|
getset |
Gets the total number of pages belonging to this workbook.
The total pages.
The documentation for this class was generated from the following file:
- src/Common/Entities/Workbook.cs


DH_AUTO_CONFIGURE(1) Debhelper DH_AUTO_CONFIGURE(1) NAME dh_auto_configure - automatically configure a package prior to building SYNOPSIS dh_auto_configure [buildÂ systemÂ options] [debhelperÂ options] [--Â params] DESCRIPTION dh_auto_configure is a debhelper program that tries to automatically configure a package prior to building. It does so by running the appropriate command for the build system it detects the package uses. For example, it looks for and runs a ./configure script, Makefile.PL, Build.PL, or cmake. A standard set of parameters is determined and passed to the program that is run. Some build systems, such as make, do not need a configure step; for these dh_auto_configure will exit without doing anything. This is intended to work for about 90% of packages. If it doesn't work, you're encouraged to skip using dh_auto_configure at all, and just run ./configure or its equivalent manually. OPTIONS See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options. -- params Pass params to the program that is run, after the parameters that dh_auto_configure usually passes. For example: dh_auto_configure -- --with-foo --enable-bar SEE ALSO debhelper(7) This program is a part of debhelper. AUTHOR Joey Hess<EMAIL_ADDRESS>9.20120909 2011-10-19 DH_AUTO_CONFIGURE(1)


DIAGONALS
Copyright (c) 2002 Walter Joris
This game is played in a 5x10 square board.
- MOVE - On each turn, a player may do one of the following actions:
- Drop a friendly stone at an empty cell, which is in a diagonal line of sight with another friendly stone, i.e., both stones must be separated by a diagonal line of empty cells.
- Transform an enemy stone, at a diagonal line of sight of a friendly stone, into a wall (which is a neutral stone).
- GOAL - When there are no valid moves, wins the player with more friendly stones.
A starting example Black dropped a stone in a diagonal line of sight of the marked black stone.
White did the same type of move.
An ended game In this position, Black wins 18-14.
The red stones represent walls.
This game can be played with just pencil and paper. It is presented at 100 Strategic Games for Pen and Paper by Walter Joris.


You should not have done it, Lord Rand,” Hurin said when Rand woke the others just at daybreak. The sun yet hid below the horizon, but there was light enough to see. The fog had melted away while dark still held, fading reluctantly. “If you use yourself up to spare us, my Lord, who will see to getting us home?”
“I needed to think,” Rand said. Nothing showed the fog had ever been, or Ba’alzamon. He fingered the kerchief wrapped around his right hand. There was that to prove Ba’alzamon had been there. He wanted to be away from this place. “Time to be in the saddle if we are going to catch Fain’s Darkfriends. Past time. We can eat flatbread while we ride.”
Loial paused in the act of stretching, his arms reaching as high as Hurin could have standing on Rand’s shoulders. “Your hand, Rand. What happened?”
“I hurt it. It’s nothing.”
“I have a salve in my saddlebags—”
“It is nothing.” Rand knew he sounded harsh, but one look at the brand would surely bring questions he did not want to answer. “Time’s wasting. Let us be on our way.” He set about saddling Red, awkwardly because of his injured hand, and Hurin jumped to his own horse.
“No need to be so touchy,” Loial muttered.
A track, Rand decided as they set out, would be something natural in that world. There were too many unnatural things there. Even a single hoofprint would be welcome. Fain and the Darkfriends and the Trollocs had to leave some mark. He concentrated on the ground they passed over, trying to make out any trace that could have been made by another living thing.
There was nothing, not a turned stone, not a disturbed clod of earth. Once he looked at the ground behind them, just to reassure himself that the land did take hoofprints; scraped turf and bent grass marked their passage plainly, yet ahead the ground was undisturbed. But Hurin insisted he could smell the trail, faint and thin, but still heading south.
Once again the sniffer put all his attentions on the trail he followed, like a hound tracking deer, and once again Loial rode lost in his own thoughts, muttering to himself and rubbing the huge quarterstaff held across his saddle in front of him.
They had not been riding more than an hour when Rand saw the spire ahead. He was so busy watching for tracks that the tapering column already stood thick and tall above the trees in the middle distance when he first noticed it. “I wonder what that is.” It lay directly in their path.
“I don’t know what it can be, Rand,” Loial said.
“If this—if this was our own world, Lord Rand . . . ” Hurin shifted uncomfortably in his saddle. “Well, that monument Lord Ingtar was talking about—the one to Artur Hawkwing’s victory over the Trollocs—it was a great spire. But it was torn down a thousand years ago.  I saw it, when I went to Cairhien for Lord Agelmar.”
“According to Ingtar,” Loial said, “that is still three or four days ahead of us. If it is here at all. I don’t know why it should be. I don’t think there are any people here at all.”
The sniffer put his eyes back on the ground. “That’s just it, isn’t it, Builder? No people, but there it is ahead of us. Maybe we ought to keep clear of it, my Lord Rand. No telling what it is, or who’s there, in a place like this.”
Rand drummed his fingers on the high pommel of his saddle for a moment, thinking. “We have to stick as close to the trail as we can,” he said finally. “We don’t seem to be getting any closer to Fain as it is, and I don’t want to lose more time, if we can avoid it. If we see any people, or anything out of the ordinary, then we’ll circle around until we pick it up again. But until then, we keep on.”
“As you say, my Lord.” The sniffer sounded odd, and he gave Rand a quick, sidelong look. “As you say.”
Rand frowned for a moment before he understood, and then it was his turn to sigh. Lords did not explain to those who followed them, only to other lords. I didn’t ask him to take me for a bloody lord. But he did, a small voice seemed to answer him, and you let him. You made the choice; now the duty is yours.
“Take the trail, Hurin,” Rand said.
With a flash of relieved grin, the sniffer heeled his horse onward.
The weak sun climbed as they rode, and by the time it was overhead, they were only a mile or so from the spire. They had reached one of the streams, in a gully a pace deep, and the intervening trees were sparse. Rand could see the mound it was built on, like a round, flat-topped hill. The gray spire itself rose at least a hundred spans, and he could just make out now that the top was carved in the likeness of a bird with outstretched wings.
“A hawk,” Rand said. “It is Hawkwing’s monument. It must be. There were people here, whether there are now or not. They just built it in another place here, and never tore it down. Think of it, Hurin. When we get back, you’ll be able to tell them what the monument really looked like.
Hurin nodded. “Yes, my Lord. My children would like to hear that tale, their father seeing Hawkwing’s spire.”
“Rand,” Loial began worriedly.
“We can gallop the distance,” Rand said. “Come on. A gallop will do us good. This place may be dead, but we’re alive.”
“Rand,” Loial said, “I don’t think that is a—”
Not waiting to hear, Rand dug his boots into Red’s flanks, and the stallion sprang forward. He splashed across the shallow ribbon of water in two strides, then scrabbled up the far side. Hurin launched his horse right behind him. Rand heard Loial calling behind them, but he laughed, waved for the Ogier to follow, and galloped on. If he kept his eyes on one spot, the land did not seem to slip and slide so badly, and the wind felt good on his face.
The mound covered a good two hides, but the grassy slope rose at an easy slant. The gray spire reared into the sky, squared and broad enough despite its height to seem massive, almost squat. Rand’s laughter died, and he pulled Red up, his face grim.
“Is that Hawkwing’s monument, Lord Rand?” Hurin asked uneasily. “It doesn’t look right, somehow.”
Rand recognized the harsh, angular script that covered the face of the monument, and he recognized some of the symbols chiseled on the breadth, chiseled as tall as a man. The horned skull of the Dha’vol Trollocs. The iron fist of the Dhai’mon. The trident of the Ko’bol, and the whirlwind of the Ahf’frait. There was a hawk, too, carved near the bottom. With a wingspan of ten paces, it lay on its back, pierced by a lightning bolt, and ravens pecked at its eyes. The huge wings atop the spire seemed to block the sun.
He heard Loial galloping up behind him.
“I tried to tell you, Rand,” Loial said. “It is a raven, not a hawk. I could see it clearly.” Hurin turned his horse, refusing even to look at the spire any longer.
“But how?” Rand said. “Artur Hawkwing won a victory over the Trollocs here. Ingtar said so.”
“Not here,” Loial said slowly. “Obviously not here. ‘From Stone to Stone run the lines of if, between the worlds that might be.’ I’ve been thinking on it, and I believe I know what the ‘the worlds that might be’ are. Maybe I do. Worlds our world might have been if things had happened differently.  Because it’s an ‘if,’ a ‘maybe.’ Just a shadow of the real world. In this world, I think, the Trollocs won. Maybe that’s why we have not seen any villages or people.”
Rand’s skin crawled. Where Trollocs won, they did not leave humans alive except for food. If they had won across an entire world . . . “If the Trollocs had won, they would be everywhere. We’d have seen a thousand of them by now. We’d be dead since yesterday.”
“I do not know, Rand. Perhaps, after they killed the people, they killed one another. Trollocs live to kill. That is all they do; that is all they are. I just don’t know.”
“Lord Rand,” Hurin said abruptly, “something moved down there.”
Rand whirled his horse, ready to see charging Trollocs, but Hurin was pointing back the way they had come, at nothing. “What did you see, Hurin? Where?”
The sniffer let his arm drop. “Right at the edge of that clump of trees there, about a mile. I thought it was . . . a woman . . . and something else I couldn’t make out, but . . . ” He shivered. “It’s so hard to make out things that aren’t under your nose.  I’m likely imagining things, my Lord.  His shoulders hunched as if he felt the spire pressing on them. “No doubt it was just the wind, my Lord.”
Loial said, “There’s something else to consider, I’m afraid.” He sounded troubled again. He pointed southward. “What do you see off there?”
Rand squinted against the way things far off seemed to slide toward him. “Land like what we’ve been crossing. Trees. Then some hills, and mountains. Nothing else. What do you want me to see?”
“The mountains,” Loial sighed. The tufts on his ears drooped, and the ends of his eyebrows were down on his cheeks. “That has to be Kinslayer’s Dagger, Rand. There aren’t any other mountains they could be, unless this world is completely different from ours. But Kinslayer’s Dagger lies more than a hundred leagues south of the Erinin. A good bit more. Distances are hard to judge in this place, but . . . I think we will reach them before dark.” He did not have to say any more. They could not have covered over a hundred leagues in less than three days.
Without thinking, Rand muttered, “Maybe this place is like the Ways.” He heard Hurin moan, and instantly regretted not keeping a rein on his tongue.
It was not a pleasant thought. Enter a Waygate—they could be found just outside Ogier stedding, and in Ogier groves—enter and walk for a day, and you could leave by another Waygate a hundred leagues from where you started. The Ways were dark, now, and foul, and to travel them meant to risk death or madness. Even Fades feared to travel the Ways.
 Are there things we have not yet seen that can do worse than kill us?” Hurin moaned again.
They had been drinking the water, riding along as if they had not a concern in the world. Unconcern would kill quickly in the Ways. Rand swallowed, hoping his stomach would settle.
“It is too late for worrying about what is past,” he said. “From here on, though, we will watch our step.” He glanced at Hurin. The sniffer’s head had sunk between his shoulders, and his eyes darted as if he wondered what would leap at him, and from where. The man had run down murderers, but this was more than he had ever bargained for. “Hold on to yourself, Hurin. We are not dead, yet, and we won’t be. We will just have to be careful from here on. That’s all.”
It was at that moment they heard the scream, thin with distance.
“A woman!” Hurin said. Even this much that was normal seemed to rouse him a little. “I knew I saw—”
Another scream came, more desperate than the first.
“Not unless she can fly,” Rand said. “She’s south of us.” He kicked Red to a dead run in two strides.
“Be careful you said!” Loial shouted after him. “Light, Rand, remember! Be careful!”
Rand lay low on Red’s back, letting the stallion run. The screams drew him on. It was easy to say be careful, but there was terror in that woman’s voice. She did not sound as if she had time for him to be careful. On the edge of another stream, in a sheer-banked channel deeper than most, he drew rein; Red skidded in a shower of stones and dirt. The screams were coming . . . There!
He took it all in at a glance. Perhaps two hundred paces away, the woman stood beside her horse in the stream, both of them backed against the far bank. With a broken length of branch, she was fending off a snarling . . . something. Rand swallowed, stunned for a moment. If a frog were as big as a bear, or if a bear had a frog’s gray-green hide, it might look like that. A big bear.
Not letting himself think about the creature, he leaped to the ground, unlimbering his bow. If he took the time to ride closer, it might be too late. The woman was barely keeping the . . . thing . . . at the edge of the branch. It was a fair distance—he kept blinking as he tried to judge it; the distance seemed to change by spans every time the thing moved—yet a big target. His bandaged hand made drawing awkward, but he had an arrow loosed almost before his feet were set.
The shaft sank into the leathery hide for half its length, and the creature spun to face Rand. Rand took a step back despite the distance. That huge, wedge-shaped head had never been on any animal he could imagine, nor that wide, horny-lipped beak of a mouth, hooked for ripping flesh. And it had three eyes, small, and fierce, and ringed by hard-looking ridges. Gathering itself, the thing bounded toward him down the stream in great, splashing leaps. To Rand’s eye, some of the leaps seemed to cover twice as much distance as others, though he was sure they were all the same.
“An eye,” the woman called. She sounded surprisingly calm, considering her screams.
He drew the fletching of another arrow back to his ear. Reluctantly, he sought the void; he did not want to, but it was for this that Tam had taught him, and he knew he could never make the shot without it. My father, he thought with a sense of loss, and emptiness filled him. The quavering light of saidin was there, but he shut it away. He was one with the bow, with the arrow, with the monstrous shape leaping toward him. One with the tiny eye. He did not even feel the arrow leave the bowstring.
The creature rose in another bound, and at the peak, the arrow struck its central eye. The thing landed, fountaining another huge splash of water and mud. Ripples spread out from it, but it did not move.
“Well shot, and bravely,” the woman called. She was on her horse, riding to meet him. Rand felt vaguely surprised that she had not run once the thing’s attention was diverted. She rode past the bulk, still surrounded by the ripples of its dying, without even a downward glance, scrambled her horse up the bank and dismounted. “Few men would stand to face the charge of a grolm, my Lord.”
She was all in white, her dress divided for riding and belted in silver, and her boots, peeking out from under her hems, were tooled in silver, too. Even her saddle was white, and silver-mounted. Her snowy mare, with its arched neck and dainty step, was almost as tall as Rand’s bay. But it was the woman herself—she was perhaps Nynaeve’s age, he thought—who held his eyes. She was tall, for one thing; a hand taller and she could almost look him in the eyes. For another, she was beautiful, ivory-pale skin contrasting sharply with long, night-dark hair and black eyes. He had seen beautiful women. Moiraine was beautiful, if cool, and so was Nynaeve, when her temper did not get the better of her. Egwene, and Elayne, the Daughter-Heir of Andor, were each enough to take a man’s breath. But this woman . . . His tongue stuck to the roof of his mouth; he felt his heart start beating again.
“Your retainers, my Lord?”
Startled, he looked around. Hurin and Loial had joined them. Hurin was staring the way Rand knew he had been, and even the Ogier seemed fascinated. “My friends,” he said. “Loial, and Hurin. My name is Rand. Rand al’Thor.”
“I have never thought of it before,” Loial said abruptly, sounding as if he were talking to himself, “but if there is such a thing as perfect human beauty, in face and form, then you—”
“Loial!” Rand shouted. The Ogier’s ears stiffened in embarrassment. Rand’s own ears were red; Loial’s words had been too close to what he himself was thinking.
The woman laughed musically, but the next instant she was all regal formality, like a queen on her throne. “I am called Selene,” she said. “You have risked your life, and saved mine. I am yours, Lord Rand al’Thor.” And, to Rand’s horror, she knelt before him.
Not looking at Hurin or Loial, he hastily pulled her to her feet.  Immediately he disgraced himself by blushing. It was a Shienaran saying, and he knew it sounded pompous before it was out of his mouth, but her manner had infected him, and he could not stop it. “I mean . . . That is, it was . . . ” Fool, you can’t tell a woman saving her life was nothing. “It was my honor.” That sounded vaguely Shienaran and formal. He hoped it would do; his mind was as blank of anything else to say as if he were still in the void.
Suddenly he became conscious of her eyes on him. Her expression had not changed, but her dark eyes made him feel as if he were naked. Unbidden, the thought came of Selene with no clothes. His face went red again. “Aaah! Ah, where are you from, Selene? We have not seen another human being since we came here. Is your town nearby?” She looked at him thoughtfully, and he stepped back. Her look made him too aware of how close to her he was.
“I’m not from this world, my Lord,” she said. “There are no people here. Nothing living except the grolm and a few other creatures like them. I am from Cairhien. And as to how I came here, I don’t know, exactly. I was out riding, and I stopped to nap, and when I woke, my horse and I were here. I can only hope, my Lord, that you can save me again, and help me go home.”
“Selene, I am not a . . . that is, please call me Rand.” His ears felt hot again. Light, it won’t hurt anything if she thinks I’m a lord. Burn me, it won’t hurt anything.
“If you wish it . . . Rand.” Her smile made his throat tighten. “You will help me?”
“Of course, I will.” Burn me, but she’s beautiful. And looking at me like I’m a hero in a story. He shook his head to clear it of foolishness. “But first we have to find the men we are following. I’ll try to keep you out of danger, but we must find them. Coming with us will be better than staying here alone.”
For a moment she was silent, her face blank and smooth; Rand had no idea what she was thinking, except that she seemed to be studying him anew. “A man of duty,” she said finally. A small smile touched her lips. “I like that. Yes. Who are these miscreants you follow?”
“Darkfriends and Trollocs, my Lady,” Hurin burst out. He made an awkward bow to her from his saddle. “They did murder in Fal Dara keep and stole the Horn of Valere, my Lady, but Lord Rand will fetch it back.”
Rand stared at the sniffer ruefully; Hurin gave a weak grin. So much for secrecy. It did not matter here, he supposed, but once back in their world . . . “Selene, you must not say anything of the Horn to anyone. If it gets out, we’ll have a hundred people on our heels trying to get the Horn for themselves.”
“No, it would never do,” Selene said, “for that to fall into the wrong hands. The Horn of Valere. I could not tell you how often I’ve dreamed of touching it, holding it in my hands. You must promise me, when you have it, you will let me touch it.”
“Before I can do that, we have to find it. We had better be on our way.” Rand offered his hand to help her mount; Hurin scrambled down to hold her stirrup. “Whatever that thing was I killed—a grolm?—there may be more of them around.” Her hand was firm—there was surprising strength in her grip—and her skin was . . . Silk? Something softer, smoother. Rand shivered.
“There always are,” Selene said. The tall white mare frisked and bared her teeth once at Red, yet Selene’s touch on the reins quieted her.
Rand slung his bow across his back and climbed onto Red. Light, how could anyone’s skin be so soft? “Hurin, where’s the trail? Hurin? Hurin!”
The sniffer gave a start, and left off staring at Selene. “Yes, Lord Rand. Ah . . . the trail. South, my Lord. Still south.”
“Then let’s ride.” Rand gave an uneasy look at the gray-green bulk of the grolm lying in the stream. It had been better believing they were the only living things in that world. “Take the trail, Hurin.”
Selene rode alongside Rand at first, talking of this and that, asking him questions and calling him lord. Half a dozen times he started to tell her he was no lord, only a shepherd, and every time, looking at her, he could not get the words out. A lady like her would not talk the same way with a shepherd, he was sure, even one who had saved her life.
“You will be a great man when you’ve found the Horn of Valere,” she told him. “A man for the legends. The man who sounds the Horn will make his own legends.”
“I don’t want to sound it, and I don’t want to be part of any legend.” He did not know if she was wearing perfume, but there seemed to be a scent to her, something that filled his head with her. Spices, sharp and sweet, tickling his nose, making him swallow.
“Every man wants to be great. You could be the greatest man in all the Ages.”
It sounded too close to what Moiraine had said. The Dragon Reborn would certainly stand out through the Ages. “Not me,” he said fervently. “I’m just”—he thought of her scorn if he told her now that he was only a shepherd after letting her believe he was a lord, and changed what he had been going to say—“just trying to find it. And to help a friend.”
She was silent a moment, then said, “You’ve hurt your hand.”
“It is nothing.” He started to put his injured hand inside his coat—it throbbed from holding the reins—but she reached out and took it.
 Her touch felt cool and sure. His palm was angrily red and puffy, but the heron still stood out, plainly and clearly.
She touched the brand with a finger, but made no comment on it, not even to ask how he had come by it. “This could stiffen your hand if it’s untended. I have an ointment that should help.”
The ointment felt cold at first, then seemed to melt away warmly into his flesh. And it worked as well as Nynaeve’s ointments sometimes did. He stared in amazement as the redness faded and the swelling went down under her stroking fingers.
“Some men,” she said, not raising her eyes from his hand, “choose to seek greatness, while others are forced to it. It is always better to choose than to be forced. A man who’s forced is never completely his own master. He must dance on the strings of those who forced him.”
Rand pulled his hand free. The brand looked a week old or more, all but healed. “What do you mean?” he demanded.
She smiled at him, and he felt ashamed of his outburst. “Why, the Horn, of course,” she said calmly, putting away her salve. Her mare, stepping along beside Red, was tall enough that her eyes were only a little below Rand’s. “If you find the Horn of Valere, there will be no avoiding greatness. But will it be forced on you, or will you take it? That’s the question.”
He flexed his hand. She sounded so much like Moiraine. “Are you Aes Sedai?”
Selene’s eyebrows lifted; her dark eyes glittered at him, but her voice was soft. “Aes Sedai? I? No.”
“I didn’t mean to offend you. I’m sorry.”
“Offend me? I am not offended, but I’m no Aes Sedai.” Her lip curled in a sneer; even that was beautiful. “They cower in what they think is safety when they could do so much. They serve when they could rule, let men fight wars when they could bring order to the world. No, never call me Aes Sedai.” She smiled and laid her hand on his arm to show she was not angry—her touch made him swallow—but he was relieved when she let the mare drop back beside Loial. Hurin bobbed his head at her like an old family retainer.
Rand was relieved, but he missed her presence, too. She was only two spans away—he twisted in his saddle to stare at her, riding by Loial’s side; the Ogier was bent half double in his saddle so he could talk with her—but that was not the same as being right there beside him, close enough for him to smell her heady scent, close enough to touch. He settled back angrily. It was not that he wanted to touch her, exactly—he reminded himself that he loved Egwene; he felt guilty at the need for reminding—but she was beautiful, and she thought he was a lord, and she said he could be a great man. He argued sourly with himself inside his head. Moiraine says you can be great, too; the Dragon Reborn. Selene is not Aes Sedai. That’s right; she’s a Cairhienin noblewoman. And you’re a shepherd. She doesn’t know that. How long do you let her believe a lie? It’s only till we get out of this place. If we get out. If. On that note, his thoughts subsided to sullen silence.
He tried to keep a watch on the country through which they rode—if Selene said there were more of those things . . . those grolm . . . about, he believed her, and Hurin was too intent on smelling the trail to notice anything else. Loial was too wrapped up in his talk with Selene to see anything until it bit him on the heel—but it was hard to watch.
The mountains were growing closer, of that much he was sure. Kinslayer’s Dagger, looming against the sky now, a sawtooth expanse of snow-capped peaks. The land around them already rose in foothills heralding the coming of the mountains. They would reach the edge of the mountains proper well before dark, perhaps in only another hour or so. More than a hundred leagues in less than three days. Worse than that. We spent most of a day south of the Erinin in the real world. Over a hundred leagues in less than two days, here.
“She says you were right about this place, Rand.”
Rand gave a start before he realized Loial had ridden up beside him. He looked for Selene and found her riding with Hurin; the sniffer was grinning and ducking his head and all but knuckling his forehead at everything she said. Rand glanced sideways at the Ogier. “I’m surprised you could let her go, the way you two had your heads together. What do you mean, I was right?”
“She is a fascinating woman, isn’t she? Some of the Elders don’t know as much as she does about history—especially the Age of Legends—and about—oh, yes. She says you were right about the Ways, Rand. The Aes Sedai, some of them, studied worlds like this, and that study was the basis of how they grew the Ways. She says there are worlds where it is time rather than distance that changes. Spend a day in one of those, and you might come back to find a year has passed in the real world, or twenty. Or it could be the other way round. Those worlds—this one, all the others—are reflections of the real world, she says. This one seems pale to us because it is a weak reflection, a world that had little chance of ever being. Others are almost as likely as ours. Those are as solid as our world, and have people. The same people, she says, Rand. Imagine it! You could go to one of them and meet yourself. The Pattern has infinite variation, she says, and every variation that can be, will be.”
 He took a deep breath. “How does she know all that? You know about more things than anybody I ever met before, Loial, and all you knew about this world amounted to no more than a rumor.”
“She’s Cairhienin, Rand. The Royal Library in Cairhien is one of the greatest in the world, perhaps the greatest outside Tar Valon. The Aiel spared it deliberately, you know, when they burned Cairhien. They will not destroy a book. Did you know that they—”
“I don’t care about Aielmen,” Rand said hotly. “If Selene knows so much, I hope she read how to get us home from here. I wish Selene—”
“You wish Selene what?” The woman laughed as she joined them.
Rand stared at her as if she had been gone months; that was how he felt. “I wish Selene would come ride with me some more,” he said. Loial chuckled, and Rand felt his face burn.
Selene smiled, and looked at Loial. “You will excuse us, alantin.”
The Ogier bowed in his saddle and let his big horse fall back, the tufts on his ears drooping with reluctance.
For a time Rand rode in silence, enjoying Selene’s presence. Now and again he looked at her out of the corner of his eye. He wished he could get his feelings about her straight. Could she be an Aes Sedai, despite her denial? Someone sent by Moiraine to push him along whatever path he was meant to follow in the Aes Sedai’s plans? Moiraine could not have known he would be taken to this strange world, and no Aes Sedai would have tried to fend off that beast with a stick when she could strike it dead or send it running with the Power. Well. Since she took him for a lord and no one in Cairhien knew different, he might keep on letting her think it. She was surely the most beautiful woman he had ever seen, intelligent and learned, and she thought he was brave; what more could a man ask from a wife? That’s crazy, too. I’d marry Egwene if I could marry anyone, but I can’t ask a woman to marry a man who’s going to go mad, maybe hurt her. But Selene was so beautiful.
She was studying his sword, he saw. He readied the words in his head. No, he was not a blademaster, but his father had given him the sword. Tam. Light, why couldn’t you really be my father? He squashed the thought ruthlessly.
“That was a magnificent shot,” Selene said.
“No, I’m not a—” Rand began, then blinked. “A shot?”
“Yes. A tiny target, that eye, moving, at a hundred paces. You’ve a wonderful hand with that bow.”
Rand shifted awkwardly. “Ah . . . thank you. It’s a trick my father taught me.” He told her about the void, about how Tam had taught him how to use it with the bow. He even found himself telling her about Lan and his sword lessons.
“The Oneness,” she said, sounding satisfied. She saw his questioning look and added, “That is what it is called . . . in some places. The Oneness. To learn the full use of it, it is best to wrap it around you continuously, to dwell in it at all times, or so I’ve heard.”
He did not even have to think about what lay waiting for him in the void to know his answer to that, but what he said was, “I’ll think about it.”
“Wear this void of yours all the time, Rand al’Thor, and you’ll learn uses for it you never suspected.”
“I said I will think about it.”  “You know all these things. About the void—the Oneness, you call it. About this world. Loial reads books all the time; he’s read more books than I’ve ever seen, and he’s never seen anything but a fragment about the Stones.”
Selene drew herself up straight in her saddle. Suddenly she reminded him of Moiraine, and of Queen Morgase, when they were angry.
“There was a book written about these worlds,” she said tightly. “Mirrors of the Wheel. You see, the alantin has not seen all the books that are.”
“What is this alantin you call him? I’ve never heard—”
“The Portal Stone beside which I woke is up there,” Selene said, pointing into the mountains, off to the east of their path. Rand found himself wishing for her warmth again, and her smiles. “If you take me to it, you can return me to my home, as you promised. We can reach it in an hour.”
Rand barely looked where she pointed. Using the Stone—Portal Stone, she called it—meant wielding the Power, if he were to take her back to the real world. “Hurin, how is the trail?”
“Fainter than ever, Lord Rand, but still there.” The sniffer spared a quick grin and bob of his head for Selene. “I think it’s starting to angle off to the west. There’s some easier passes there, toward the tip of the Dagger, as I recall from when I went to Cairhien that time.”
Rand sighed. Fain, or one of his Darkfriends, has to know another way to use the Stones. A Darkfriend couldn’t use the Power. “I have to follow the Horn, Selene.”
“How do you know your precious Horn is even in this world? Come with me, Rand. You’ll find your legend, I promise you. Come with me.”
“You can use the Stone, this Portal Stone, yourself,” he said angrily.  Why does she have to keep talking about legends? Stubbornly, he forced himself to go on.  You did it, Selene. If you made the Stone bring you here, you can make it take you back. I’ll take you to it, but then I must go on after the Horn.”
“I know nothing about using the Portal Stones, Rand. If I did anything, I don’t know what it was.”
Rand studied her. She sat her saddle, straight-backed and tall, just as regally as before, but somehow softer, too. Proud, yet vulnerable, and needing him. He had put Nynaeve’s age to her—a handful of years older than himself—but he had been wrong, he realized. She was more his own age, and beautiful, and she needed him. The thought, just the thought, of the void flickered through his head, and of the light. Saidin. To use the Portal Stone, he must dip himself back into that taint.
“Stay with me, Selene,” he said. “We’ll find the Horn, and Mat’s dagger, and we’ll find a way back. I promise you. Just stay with me.”
“You always . . . ” Selene drew a deep breath as if to calm herself. “You always are so stubborn. Well, I can admire stubbornness in a man. There is little to a man who’s too easily biddable.”
Rand colored; it was too much like the things Egwene sometimes said, and they had all but been promised in marriage since they were children. From Selene, the words, and the direct look that went with them, were a shock. He turned to tell Hurin to press on with the trail.
From behind them came a distant, coughing grunt. Before Rand could whirl Red to look, another bark sounded, and three more on its heels. At first he could make out nothing as the landscape seemed to waver in his eyes, but then he saw them through the widespread stands of trees, just topping a hill. Five shapes, it seemed, only half a mile distant, a bare thousand paces at most, and coming in thirty-foot bounds.
“Grolm,” Selene said calmly. “A small pack, but they have our scent, it seems.”


2010
16%
44%
5%
20.2%
30.6%
Access to
Electricity
Clean Technologiesfor Cooking
Neonatal Mortality Rate
Sanitation Facilities
Clean Water Sources
2015
7%
47%
22.5%
28%


- pan() (pyqtgraph.opengl.GLViewWidget method)
- pixelLength() (pyqtgraph.GraphicsItem method)
- pixelSize() (pyqtgraph.GraphicsView method)
- (pyqtgraph.ImageItem method)
- (pyqtgraph.opengl.GLViewWidget method)
- pixelVectors() (pyqtgraph.GraphicsItem method)
- play() (pyqtgraph.ImageView method)
- plot() (in module pyqtgraph)
- (pyqtgraph.PlotItem method)
- PlotCurveItem (class in pyqtgraph)
|
- PlotDataItem (class in pyqtgraph)
- PlotItem (class in pyqtgraph)
- PlotWidget (class in pyqtgraph)
- pos() (pyqtgraph.GraphicsScene.mouseEvents.HoverEvent method)
- (pyqtgraph.GraphicsScene.mouseEvents.MouseClickEvent method)
- (pyqtgraph.GraphicsScene.mouseEvents.MouseDragEvent method)
- ProgressDialog (class in pyqtgraph)
- pyqtgraph.dockarea (module)
- pyqtgraph.parametertree (module)
|


Drag your video/PDF here or click on the button below :
File API & FileReader API not supported
| Project's description | As-is | Selection | To-be | Solution's presentation | Culture | Wrap | Annexe | Status |
|---|
| Project's Title | Main objective | As-is | Selection | To-be | Solution's presentation | Culture | Wrap | Annexe | Status |
|---|


These are some bits and pieces I published between 2012 and 2014, before and while branching out into journalism. They illustrate the transition from rather specialised science communication in molecular biology to science and data journalism for a lay audience. There are interesting challenges on both ends of the spectrum: Being specific, concise, but not boring on one end and simple, yet factually correct on the other. Either way, I try to be interesting.
Interview with Marco Tripodi
NATURE
Interview with Anne Guex
NATURE
The BioArcade
Science Friday
How many people will get £10,000 fines for speeding?
The Guardian


Getting Started with RubyMotion for Android
Thank you for downloading RubyMotion. This guide will help you get started with RubyMotion for Android.
1. Overview
RubyMotion is a toolchain that permits the development of iOS, OS X and Android applications using the Ruby programming language.
iOS is Apple’s mobile operating system, powering a variety of devices such as the iPhone, iPod touch and iPad. OS X is Apple’s desktop operating system, powering Mac computers such as the iMac or the MacBook Air. Android is Google’s mobile operating system, powering a huge array of devices from different manufacturers.
Developers can write applications for iOS and OS X and submit them to the App Store, Apple’s application distribution system. Alternatively, RubyMotion can be used to conceive applications for Android that can be submitted to the Google Play store.
Conceptually, RubyMotion is a combination of two major components:
-
Runtimes: Brand-new implementations of the Ruby language, tightly integrated with the native Apple or Google runtime and optimized for embedded device constraints.
-
Project Management: A command-line interface to create, manage, and interactively develop RubyMotion projects. It also includes a static compiler that compiles Ruby into optimized machine code and an interactive console where you can evaluate expressions on the fly and change the way your app behaves in real-time.
RubyMotion installs itself into '/Library/RubyMotion'. A symbolic link to the command-line interface is created as '/usr/bin/motion'.
This document focuses on RubyMotion for Android. For iOS and OS X, check out the Getting Started With iOS and OS X document instead.
2. Prerequisites
RubyMotion requires a 64-bit Mac running OS X 10.8.4 or higher. OS X 10.9 Mavericks or higher is however recommended.
A proper Android development environment is required in order to use RubyMotion for Android.
2.1. Installing Java
The RubyMotion build system requires a Java compiler to be installed. By default, OS X does not come with Java.
Follow the steps on this page to get Java installed on your environment.
After doing that you can verify that Java has been properly installed:
$ javac -version
javac 1.6.0_65
Java 1.7 should work but we recommend sticking to Java 1.6.
2.2. Downloading the SDK
Download the Eclipse ADT bundle from the official Android website. You will have to accept the terms of conditions before the download.
Despite its name, the Android SDK resides within this bundle.
Once downloaded, open the .zip file. You will see 2 directories inside, eclipse and sdk. The later is the one that RubyMotion will need.
We recommend that you copy the sdk directory somewhere in your home directory. In this document we will use ~/android-rubymotion.
$ mkdir ~/android-rubymotion
$ cp -r ~/Downloads/adt-bundle-mac-x86_64-20140702/sdk ~/android-rubymotion
Once you do that make sure the ~/android-rubymotion/sdk directory has been properly copied. This is what it should contain (at the time of this writing):
$ ls ~/android-rubymotion/sdk
build-tools extras platform-tools platforms tools
Unless you plan to use Eclipse, you can safely delete the .zip file as well as the directory that was extracted from it.
2.3. Setting Up the SDK
Now that the Android SDK has been copied, you still need to set it up by downloading internal packages. Run the android tool:
$ ~/android-rubymotion/sdk/tools/android
This will pop up a window titled Android SDK Manager with a selection of packages that should be installed. Click the Install button and wait until it’s done. It can take some time.
2.4. Downloading the NDK
Download the Mac OS X 64-bit package from the official Android website. You will have to accept the terms of conditions before the download.
|
Note
|
It is important that you download the right NDK package. The Mac OS X 32-bit package will not work with RubyMotion at the time of this writing. |
The Android NDK package is a self-contained installer. Once downloaded, you can mark the binary as executable, run it, then rename it as ~/android-rubymotion/ndk:
$ chmod +x ~/Downloads/android-ndk-r10c-darwin-x86_64.bin
$ ~/Downloads/android-ndk-r10c-darwin-x86_64.bin
$ mv ~/Downloads/android-ndk-r10c ~/android-rubymotion/ndk
To confirm that the installation was successful, this is what the ~/android-rubymotion/ndk should contain (at the time of this writing):
$ ls ~/android-rubymotion/ndk
GNUmakefile ndk-gdb-py.cmd
README.TXT ndk-gdb.py
RELEASE.TXT ndk-stack
build ndk-which
docs platforms
find-win-host.cmd prebuilt
ndk-build remove-windows-symlink.sh
ndk-build.cmd samples
ndk-depends sources
ndk-gdb tests
ndk-gdb-py toolchains
After that, you can safely delete the .bin file.
2.5. Configuring RubyMotion
We are almost finished! It is now time to point RubyMotion to the Android SDK and NDK directories.
Add the following lines to your ~/.profile file (you can create the file if it does not exist yet):
export RUBYMOTION_ANDROID_SDK=~/android-rubymotion/sdk
export RUBYMOTION_ANDROID_NDK=~/android-rubymotion/ndk
Once done, restart your terminal so that these environmental changes are taken into account.
You can verify that the environment variables are properly set:
$ env | grep RUBYMOTION_ANDROID
RUBYMOTION_ANDROID_SDK=...
RUBYMOTION_ANDROID_NDK=...
2.6. Configuring Your Device For Development
You will need a functional Android device configured for development when writing Android apps in RubyMotion. (The provided emulator is way too slow.)
In case you haven’t done it already, make sure your device is connected to your Mac via a USB cable, then perform the following steps:
-
Open the Settings app.
-
Scroll down and tap on the About phone or About tablet item, depending of the type of the device you are using. This will open a new screen.
-
Scroll down again and tap 7 times on the Build number item. A message should appear after that, clarifying that you are now in developer mode.
-
Go back to the previous screen and scroll down again, a Developer options item is now available. Tap on it.
-
Check the USB debugging item. This will allow your Mac to communicate with the device for development tasks. A window will appear on the device, asking you to authorize the Mac. Make sure to confirm that.
You should now be good to go!
If you are running an older version of Android these steps might not work for you. We recommend that you do a Google search for enable developer mode with your Android version number.
3. Text Editor
After having installed RubyMotion you need to set up a text editor for development. RubyMotion does not come with a proprietary IDE and lets you use the editor of your choice.
3.1. RubyMine
RubyMine is a commercial IDE for Ruby built on JetBrains' IntelliJ IDEA platform.
It is at the time of this writing the best environment to work with RubyMotion. RubyMine features context-based auto-completion, point-and-click debugging (on both the simulator and the device), inline documentation, and so on.
Please refer to the Getting Started with RubyMotion guide on JetBrains' developer website for more information.
3.2. TextMate
TextMate is a popular editor on OS X.
A RubyMotion.tmbundle plugin is available. It provides code completion and an integration with the build system. It is developed by Libin Pan and Berklee.
3.3. Sublime Text
Sublime Text is a relatively new editor for OS X, Windows and Linux that is gaining a lot of interest.
SublimeRubyMotionBuilder is a plugin that provides code completion and an integration with the build system. It is developed by Kentaro Hara.
3.4. Redcar
Redcar is an Open Source editor written in Ruby.
redcar-rubymotion is a plugin that integrates the RubyMotion workflow in Redcar. All features of RubyMotion are integrated. It is developed by Delisa Mason.
3.5. Vim
Vim is the most popular clone of vi. Vim ships in OS X. MacVim is a flavor of Vim for OS X that runs outside the terminal.
The builtin rake ctags task can be used to generate a tags file containing all the APIs the project can call into. This file can then be used to automatically complete API calls in the editor. RubyMotion uses Exuberant Ctags. Ctags is a format understood by a variety of text editors, Vim included.
Better auto-completion can be provided by using the snipmate-snippets-rubymotion plugin, courtesy of Rajeev Cyrus.
3.6. Emacs
Emacs is a popular text editor. Emacs ships in OS X.
motion-mode is a plugin that provides code completion and an integration with the build system. It is developed by Satoshi Namai.
4. Software Updates
Software updates can be applied via the command-line.
The following command will grab the latest version of RubyMotion from the network and install it. You must be connected to the Internet to successfully update RubyMotion.
$ sudo motion update
You can run the following command to check the version of RubyMotion installed on your computer.
$ motion --version
3.0
Once a day, the RubyMotion build system pings the software update server in order to see if a new version of RubyMotion is available to install.
If a new version is available RubyMotion prints a message to your terminal suggesting that you to upgrade. The build system will also print a message if your license is about to expire.
5. Support
If you are experiencing an issue, would like to request a feature, or simply have a question, you can file a support ticket from the command-line too.
$ motion support
This will open a new window in your browser where you can fill up a support ticket. Your license key and some useful information regarding your environment will be added automatically.
|
Note
|
Support tickets are available to Professional and Enterprise customers only. If you are not entitled to use support tickets you can make use of the community forum for support enquiries instead. |
6. Hello World
Let’s create a Hello World app for Android.
Go to a directory of your choice, then type the following command to create a new Android project.
$ motion create --template=android Hello
$ cd Hello
|
Note
|
Note that we pass --template=android to the toolchain. By default, RubyMotion will create iOS projects, so we have to select the Android template.
|
A new Hello directory has been created. Check out the Rakefile and the app/main_activity.rb files.
You can try to run the app on your device. Make sure it’s connected via USB, then run the following command.
$ rake device
The app should start right away (make sure you unlocked the device screen first). The window should be empty, which is expected given that we have not written any code yet.
Now, edit the app/main_activity.rb file and change its content to the following code.
class MainActivity < Android::App::Activity
def onCreate(savedInstanceState)
puts "Hello World!"
super
view = Android::Widget::TextView.new(self)
view.text = "Hello World!"
self.contentView = view
end
end
If you run rake device again, you should see the hello world message appearing on your device. Also, the same message will be printed on your terminal, due to the #puts
call.
7. And Now?
Congratulations, you successfully created your first RubyMotion Android app. That wasn’t too hard, was it?
To continue, we recommend that you check the Samples page as well as the Sample Code Repository on GitHub. Each of the sub-folders contains a RubyMotion project as introduced above. You can type rake in each directory to build and run them and check their source code by reading the files in the 'app' directory.


Deceased Lannisters
Half of the Lannisters are dead. They're all pretty close anyway.
percy-agent should not snapshot this page.


Reception for Nisha George and Brandon Philips
About
RSVP
Registry
Contact
Thank You
RSVPs are closed.
Feel free to
contact us
about your RSVP or any other questions you might have
Répondez s'il vous plaît
Join us in our celebration and
RSVP now
. If you need help please
contact us
.


A significant portion of the code coordinates the communication between the main computer, the sensors, the cameras, and the thrusters. The main computer - an Intel NUC - and an Arduino Mega communicate using a serial interface. Hardware constraints dictate us to connect the pressure sensor and the thrusters to the Arduino Mega. Data from the pressure sensor and the thrusters are extracted by the Arduino Mega and sent to the NUC. All other sensors and cameras are connected directly to the NUC. At the beginning of the main program on the NUC, separate threads are created, each gathering data from a different device or sending thruster commands to the Mega.
Once the data is gathered in the main program, each sensor data is evaluated to determine any necessary changes to functionality of the thrusters. For example, if the orientation data from the AHRS shows that the AUV is angled too far in one direction and may be about to flip upside down, the side thrusters are turned on in a way that corrects back to the expected orientation. Likewise, the pressure sensor is used to detect the depth of the AUV in the water. If the AUV is about to accidently breach the surface, the up/down thrusters are immediately turned on to force the AUV back down. The data from the thrusters themselves are the most crucial because they reveal whether or not the thrusters themselves are about to overheat, in which case the thrusters are all turned completely off.
Using the data gathered from the cameras and the current positioning of the AUV in space, the AUV calculates the most direct path to the object of interest in the camera frame. This path is then reduced to a unit vector in the direction that the AUV needs to travel based on the distance to the object calculated through the image processing. The AUV then uses a control and feedback loop to align its heading with the correct path, turning the thrusters on and off to control the surge, heave, and sway of the AUV.
The task of tracking moving objects in a dynamic background proves to be complex due to change in orientation of the object, partial and complete object occlusion, varying lighting conditions, camera motion and unwanted noise added to the camera feed. The objective of tracking an object for our AUV is accomplished by deploying the use of Kalman filters. The Kalman filter provides a recursive solution to predict the state of the object from the past values and noisy measurement data. The Kalman filter can get close to accurate predictions after few iterations of its prediction and update steps.
In our algorithm, the Kalman filter also tries to adjust for the movement of the camera. This adjustment can be done by increasing the dimensions of the state variable to compensate the image frame positions and velocity with respect to the object or it can be done by adding the velocity of the camera to the kinematic equations incorporated to predict the future location of the object. In this way, we have tried to use the Kalman filter for image stabilization.


This project addresses the task of automating the data analysis pipeline by aiding users in selecting
complex model pipelines through data-driven automated processes. With our proposed system, a subject
matter expert (SME) with little or no background in data science will still be able to perform
complex data analysis without understanding the mathematics behind the analysis.
Subject matter experts (SMEs) would benefit from using the sophisticated data analysis pipelines
that are the purview of practicing data scientists. The overarching goal of this project is to
provide data-driven automated assistance to SMEs so that they may produce models as performant as
those produced by data scientists. Our role in this research is to provide an interface between the
human user (a SME) and machine learning algorithms that generate data analysis pipelines. Within
this task, we aim to help users define their data analysis problem without the need to describe the
data analysis primitives being used. We will also design interactive visualizations to communicate
the difference between models and to help the user choose the best model for their task. Lastly, we
will provide methods of interaction that would allow the user to use their domain knowledge to
update and improve the models produced.
If successful, this research could have broad impact on the ability of all subject matter experts
to learn from their data. Currently, SMEs are limited to the set of models they have access to and
are comfortable with. Giving them access to cutting edge pipelines will give them models that are
much more performant. Creating an effective interface between the human and the machine is integral
to this broad impact. It is critical that users can effectively utilize and trust the automated
methods, and communication of the produced models is necessary to prevent false negatives and false
positives, overfitting the data, and other problems relating to the modeling process. We are in the
big data age as the everyday user produces and has access to large amounts of data. This project
would bring data analysis to the everyday user; it would render that data accessible.


The Best Food Blog on the Web
POSTED ON 15 DEC 2013 / DESSERTS
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
Share Recipe


Gecode::TraceRecorder Class Reference
[Tracing constraint propagation]
Propagator for recording trace information. More...
#include <recorder.hpp>
Public Member Functions | |
| TraceRecorder (Space &home, TraceRecorder &p) | |
| Constructor for cloning p. | |
| TraceRecorder (Home home, TraceFilter tf, int te, Tracer &t) | |
| Constructor for creation. | |
| virtual Propagator * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (record so that propagator runs last). | |
| virtual void | reschedule (Space &home) |
| Schedule function. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, TraceFilter tf, int te, Tracer &t) |
| Post propagator. | |
Public Attributes | |
| TraceFilter | tf |
| The trace filter. | |
| int | te |
| Which events to trace. | |
| Tracer & | t |
| The actual tracer. | |
Trace information | |
|
| |
| const TraceFilter & | filter (void) const |
| Return trace filter. | |
| int | events (void) const |
| Which events to trace. | |
| Tracer & | tracer (void) const |
| Return tracer. |
Detailed Description
Propagator for recording trace information.
This propagator is actually never run. It only provides access to information needed for tracing.
Definition at line 154 of file recorder.hpp.
Constructor & Destructor Documentation
| Gecode::TraceRecorder::TraceRecorder | ( | Space & | home, | |
| TraceRecorder & | p | |||
| ) | [inline] |
Constructor for cloning p.
Definition at line 416 of file recorder.hpp.
| Gecode::TraceRecorder::TraceRecorder | ( | Home | home, | |
| TraceFilter | tf, | |||
| int | te, | |||
| Tracer & | t | |||
| ) | [inline] |
Constructor for creation.
Definition at line 401 of file recorder.hpp.
Member Function Documentation
| Propagator * Gecode::TraceRecorder::copy | ( | Space & | home | ) | [virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 39 of file recorder.cpp.
| PropCost Gecode::TraceRecorder::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [virtual] |
Cost function (record so that propagator runs last).
Implements Gecode::Propagator.
Definition at line 53 of file recorder.cpp.
| void Gecode::TraceRecorder::reschedule | ( | Space & | home | ) | [virtual] |
| ExecStatus Gecode::TraceRecorder::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [virtual] |
| size_t Gecode::TraceRecorder::dispose | ( | Space & | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 44 of file recorder.cpp.
| ExecStatus Gecode::TraceRecorder::post | ( | Home | home, | |
| TraceFilter | tf, | |||
| int | te, | |||
| Tracer & | t | |||
| ) | [inline, static] |
Post propagator.
Definition at line 409 of file recorder.hpp.
| const TraceFilter & Gecode::TraceRecorder::filter | ( | void | ) | const [inline] |
Return trace filter.
Definition at line 383 of file recorder.hpp.
| int Gecode::TraceRecorder::events | ( | void | ) | const [inline] |
Which events to trace.
Definition at line 387 of file recorder.hpp.
| Tracer & Gecode::TraceRecorder::tracer | ( | void | ) | const [inline] |
Return tracer.
Definition at line 391 of file recorder.hpp.
Member Data Documentation
The trace filter.
Definition at line 157 of file recorder.hpp.
Which events to trace.
Definition at line 159 of file recorder.hpp.
The actual tracer.
Definition at line 161 of file recorder.hpp.
The documentation for this class was generated from the following files:
- gecode/kernel/trace/recorder.hpp
- gecode/kernel/trace/recorder.cpp


Are your sure want to download this modal box? Click ‘OK’ to start downloading.
Agree our terms & conditions!


pandas_utilities module¶
-
pandas_utilities.
df_correlations
(df, features)[source]¶ Calculates pearson and spearman correlations of each tuple of given features
- Args:
- df (pandas.DataFrame) features (list): features to calculate their correlations
-
pandas_utilities.
rank_in_group
(df, group_col, rank_col, rank_method='first')[source]¶ Ranks a column in each group which is grouped by another column
- Args:
- df (pandas.DataFrame): dataframe to rank-in-group its column group_col (str): column to be grouped by rank_col (str): column to be ranked for rank_method (str): rank method to be the "method" argument of pandas.rank() function
- Returns:
- pandas.DataFrame: dataframe after the rank-in-group operation


Ph.D. Candidate at Tufts University
I'm Liangchun Xu, currently a Ph.D. candidate in Department of Mechanical Engineering at Tufts University. My research interests include AoA sensor, GPS, INS and other civilian positioning and navigation technologies.