The Xen Storage Manager (xensm) driver for Nova-Volume is based on XenAPI Storage Manager. This will not only provide basic storage functionality (like volume creation, and destruction) on a number of different storage back-ends, such as Netapp, NFS, etc. but it will also enable the capability of using more sophisticated storage back-ends for operations like cloning/snapshotting etc. To have an idea of the benefits of using XenAPI SM to provide back-end storage services, the list below shows some of the storage plugins already supported in XenServer/XCP:
XenServer: Commercial, supported product from Citrix
Xen Cloud Platform (XCP): Open-source equivalent of XenServer (and the development project for the toolstack). Everything said about XenServer below applies equally to XCP
XenAPI: The management API exposed by XenServer and XCP
xapi: The primary daemon on XenServer and Xen Cloud Platform; the one that exposes the XenAPI
Backend: A term for a particular storage backend. This could be iSCSI, NFS, Netapp etc. Backend-config: All the parameters required to connect to a specific backend. For e.g. For NFS, this would be the server, path, etc. Flavor: This term is equivalent to volume “types”. A user friendly term to specify some notion of quality of service. For example, “gold” might mean that the volumes will use a backend where backups are possible.
A flavor can be associated with multiple backends. The volume scheduler, with the help of the driver, will decide which backend will be used to create a volume of a particular flavor. Currently, the driver uses a simple “first-fit” policy, where the first backend that can successfully create this volume is the one that is used.
Using the nova-manage command detailed in the implementation, an admin can add flavors and backends.
One or more nova-volume service instances will be deployed per availability zone. When an instance is started, it will create storage repositories (SRs) to connect to the backends available within that zone. All nova-volume instances within a zone can see all the available backends. These instances are completely symmetric and hence should be able to service any create_volume request within the zone.
A category called “sm” has been added to nova-manage in the class StorageManagerCommands.
The following actions will be added:
nova-manage sm flavor_create <label> <description>
nova-manage sm flavor_delete<label>
nova-manage sm backend_add <flavor label> <SR type> [config connection parameters]
Note: SR type and config connection parameters are in keeping with the Xen Command Line Interface. http://support.citrix.com/article/CTX124887
nova-manage sm backend_delete <backend-id>
nova-manage sm flavor_create gold “Not all that glitters”
nova-manage sm flavor_delete gold
nova-manage sm backend_add gold nfs name_label=toybox-renuka server=myserver serverpath=/local/scratch/myname
nova-manage sm backend_remove 1
No API changes have been introduced so far. The existing euca-create-volume and euca-delete-volume commands (or equivalent OpenStack API commands) should be used.


DOM Version: visualization powered by DOM modification. watch this! (no longer maintained)
PIXI.js Version: visualization powered by PIXI.js WebGL engine. watch this!


helix
Helix, A post-modern text editor, provides several modes for different kinds of text manipulation.
Pressing `i` enters insert mode. `` enters normal mode, which enables the use of Helix commands.
More information: home page
- Open a file:
helix path/to/file
- Change the Helix theme:
:theme theme_name
- Save and Quit:
:wq
- Force-quit without saving:
:q!
- Undo the last operation:
u
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):
/search_pattern
- Format the file:
:format


Be our member to explore and get more useful resources!
If you have an account, please login; If you haven't already, set up an account.
or
Relationships are a necessary part of healthy living, but there is no such thing as a perfect relationship. Relationships, from acquaintances to romances, have the potential to enrich our lives and add to our enjoyment of life. However, these same relationships can cause discomfort, and sometimes even cause harm (see statistics from the American Bar Association). Take a few minutes to learn more about how to protect yourself from developing unhealthy relationships.
The 305CDE Healthy Relationships Centre is able to provide individual consultation services to each client.
Learn MoreThe 305CDE Healthy Relationships Centre is able to provide an evaluation services to each client.
Learn MoreThe 305CDE Healthy Relationships Centre is able to provide an learning resources for each client.
Learn MoreThe 305CDE Healthy Relationships Centre is able to provide an Commitment "To-Do-List" to each client
Learn More


{% extends 'base.html' %}
{% load bootstrap4 %}
{% block content %}
{{project.title}}
By: {{project.user}}
Live site
| Username |
Design |
Usability |
Content |
Overall Score |
{% if ratings%}
{% for rating in ratings%}
| {{rating.profile.user}} |
{{rating.design}} |
{{rating.usability}} |
{{rating.content}} |
{{rating.overall_score}} |
{% endfor%}
| Average |
Design |
Usability |
Content |
Overall Score |
| Average |
{{total_design}} |
{{total_usability}} |
{{total_content}} |
{{project.overall}} |
{%else %}
No Reviews made for this project
{% endif %}
{% endblock %}


--- title: Resonance Audio Unity SDK API Reference layout: default exclude_from_menu: true ---
Resonance Audio material mapper updater.
This class is used to receive Update events during Edit Mode (which are triggered whenever the scene is modified and the material mappings are changed etc.), then calls a delegate to refresh the material mapper.
Public attributes |
|
|---|---|
RefreshMaterialMapper = null
|
Public functions |
|
|---|---|
RefreshMaterialMapperDelegate()
|
delegate void
The delegate to call to refresh the material mapper.
|
RefreshMaterialMapperDelegate RefreshMaterialMapper = null
delegate void RefreshMaterialMapperDelegate()
The delegate to call to refresh the material mapper.


Can't find what you are looking for?
Mines Act permits issued for {{project.name}} prior to {{project.morePermitsLinkYear}} can be accessed here.
Environmental assessment certificates and permits issued under the Mines Act and the Environmental Management Act (EMA) are the primary provincial authorizations for major mine projects in British Columbia. Below you will find a list of authorizations associated with each of these three acts. Learn more about Authorizations here.


WHAT IS HACKATHON?
When someone hears the word hackathon he/she gets confused because the word “hack” has always been used in negative meaning. We bring you a workshop on hackathons where we’ll tell you on how to get started, what you need to do, and many such related infos.
📅 May 7, 2021
⏰ 08:30 PM IST
DEPLOY YOUR WEBSITE TO INTERNET
Our aim in this hackathon is to build a portfolio website based on the given themes. But after building, it is essential to properly deploy your website. In this workshop we’ll demonstrate how to successfully and functionally deploy your website.
📅 May 8, 2021
⏰ 06:30 PM IST
TWITTER BOT
There are too many new tweets whenever one opens twitter. And sometimes we wish to check some important tweets only instead of searching for them like “a needle in a haystack”. So in this workshop we’ll demonstrate how to make a twitter bot. This bot can be useful during covid as people can use it to increase the reach of tweets such as #covidresources etc important tweets
📅 May 8, 2021
⏰ 11:00 AM IST


Map Background Layer: OpenMapSurfer Tiles & WMS
Hillshade Layer: CIAT-CSI SRTM . Users are prohibited from any commercial, non-free resale, or redistribution without explicit written permission from CIAT. Original data by Jarvis A., H.I. Reuter, A. Nelson, E. Guevara, 2008, Hole-filled seamless SRTM data V4, International Centre for Tropical Agriculture (CIAT)
TMC traffic Messages: BASt
We use different open source libraries to supporting the development of this web application. These can be found within the corresponding package files on github .
Please report and feel free to commit your changes on github .


Menu
Home
About
Members
Contact
Close
Spookit
Small group's project
View details
About Spookit
Spookit project is an endless project. Spookit project's goal is to create something unique, or making something that has been there, becomes cooler and better.
BlueObsidian / Septogeddon
Developer
Java Developer
30% Web Designer
Minecrafter
View Portfolio
Slyme
Server Owner
Builder
Terraformer
Minecrafter
View Portfolio
CONTACT US
Contact us, if you need our help or you have a problem. Don't SPAM :D
Contact BlueObsidian instead:
https://www.spigotmc.org/members/blueobsidian.384728/
© 2018 Spookit Project. All Rights Reserved.
Follow us:
Not Yet Done :P
This page is under maintenance
Some buttons may not working


{% extends "base.html" %} {% block body %}
This web application helps farmer to observe price trends for different commodities all over India. It also has the features to recommend market to the farmer where the farmer can sell crops to maximise his profits. The recommendation system uses complex algorithms based on previous years trends and the farmer current location to suggest best markets to the user. The user can also add prices of the market in add entries page.
Search a variety of information here


Thank Your Team
We at Fraktio like to thank our employees for all the good work they do.
Now you can also send your appreciation to someone for their achievement with just two simple steps.
@if(entryForm.hasGlobalErrors) {
-
@entryForm.globalErrors.foreach { error =>
- error.message }


When building an application with spld, by default only one SICStus run-time can be loaded in the process. This is similar to the case in SICStus versions prior to 3.9. For most applications built with spld, the changes necessary to support multiple SICStus run-times should be invisible, and old code should only need to be rebuilt with spld.
In order to maintain backward compatibility, the global dispatch vector
is automatically set up by SP_initialize()
. Other SICStus API
functions will not set up the dispatch vector, and will therefore lead
to memory access errors if called before
SP_initialize()
. Currently, hook functions such as
SP_set_memalloc_hooks()
also set up the dispatch vector to allow
them to be called before SP_initialize()
. However, only
SP_initialize()
is guaranteed to set up the dispatch vector. The
hook installation functions may change to use a different
mechanism in the future. The SICStus API functions that perform
automatic setup of the dispatch vector are marked with
SPEXPFLAG_PREINIT
in sicstus.h.


Example: Contiguous memory management with fixed-size
partitions (first fit)
Memory is divided into fixed-sized partitions, entire processes
are allocated in one of these available partitions. in "first
fit" policy, the first partition which is large enough is selected.
Partitions
| Start address |
Size
Units |
| @4 |
10 |
| @14 |
5 |
| @19 |
4 |
| @23 |
15 |
| @38 |
10 |
| @48 |
14 |
|
Processes
| Process |
Size
Units |
| P1 |
5 |
| P2 |
10 |
| P3 |
3 |
|
Processes are allocated in the table order.
Comments:
- First-fit policy is fast but not efficient, partitions may be
larger than processes and generate much internal fragmentation.


I see myself as a curious person focused on multimedia, advertising, communication, visual arts and photography
I am passionate about developing projects with smart conceptual thinking and vigorous visual language
All the spare time I get I’m likely creating playlists at newpollution.org


--- title: Compiling Erlang with Intel® C++ Compiler layout: post ---
You should expect something about 20% to 30% overall speedup.
Hot!


---
layout: post
title: upgrading drupal to 4.6
date: '2005-11-07T23:21:00.000+01:00'
author: Steven Van Acker
tags:
modified_time: '2008-01-16T00:04:47.217+01:00'
blogger_id: tag:blogger.com,1999:blog-5513234137363262204.post-2105633209542574597
blogger_orig_url: http://www.singularity.be/2005/11/upgrading-drupal-to-46.html
---
sick of trying to find a working photo-album module in 4.5, I'm now trying 4.6.
Since Debian doesn't yet have packages for it, I'm screwed and I have to install from source :(
Did I have trouble upgrading ? You'd better believe it!
I can't get the smileys to work :(


- Select a desired exchange pair - e.g. DUCO to XMG
- Fill in the swap form - enter how much are you swapping and connect your wallets
-
Wait for your exchange request to be processed - you'll be notified by an e-mail from us
(some exchanges are processed manually - they may take up to 72 hours) -
Receive exchanged assets directly in your desired crypto wallet - you can see
our last exchanges in the chain explorers: XMG TRX BCH DUCO


orion-codemirror
This is a plugin for Orion that provides syntax highlighting using CodeMirror
modes. See below for installation instructions.
Requirements
Installation
Usage
- In Orion, create a new file with an extension corresponding to one of the modes you installed. (For example,
test.php
is associated with the php mode). Click on the file.
- You'll see an editor. Type some (valid) code in the editor, and it will be syntax-colored.
Supported Modes


Functions | |
| static dma_addr_t | dma_alloc (size_t size) |
| Allocate an object from the generic DMA pools. | |
| static void | dma_free (dma_addr_t obj, size_t size) |
| Free an object to the generic DMA pools. |
The Generic DMA pool allocator allows DMA objects to be allocated without setting up a dedicated pool for them. When enabled, the generic DMA pool allocator will set up two "generic" pools: One for large objects and one for small objects. The application may specify the number and size of these objects by providing the following definitions in the configuration makefile:
Based on the requested size, the smallest pool which is large enough to satisfy the allocation is selected automatically. If the application doesn't provide any of the above definitions for one of the pools, that pool will be unavailable and all allocations will be made from the other pool.
The memory returned by the generic DMA pool allocator is coherent, so there's no need to perform any cache synchronization.
| static dma_addr_t dma_alloc | ( | size_t | size | ) | [inline, static] |
Allocate an object from the generic DMA pools.
This function picks the smallest generic DMA pool which can hold objects of size greater than or equal to size and allocates an object from it.
| size | Minimum size of the object to allocate |
Definition at line 176 of file dmapool.h.
References is_constant.
| static void dma_free | ( | dma_addr_t | obj, | |
| size_t | size | |||
| ) | [inline, static] |
Free an object to the generic DMA pools.
This function picks the same generic DMA pool picked based on size, and frees the object to it.
| obj | The object to be freed. | |
| size | The minimum size of the object. Must be the same value as was passed to dma_alloc() when this object was returned. |
Definition at line 205 of file dmapool.h.
References is_constant.


Thief of Bagdad, The (1924) Directed by Raoul Walsh. Starring Douglas Fairbanks.
It's official. "The Thief of Bagdad" is my favorite silent film, edging out "Metropolis". A lush and visually stunning film, "Thief of Bagdad" represents the pinnacle of silent Hollywood production values. It is "Titanic" of 1924, reportedly the first film ever to cost more than $2 million to produce, and it is full of (then) state-of-the-art special effects. "Thief of Bagdad" was recently, and deservedly, added to the National Registry of Historic Films.
Black-and-white silent films were more often than not neither black-and-white nor silent. By the '20's, the majority of films employed color, primarily through tinting (coloring the film base), but also by toning (replacing the black silver oxide with a colored material), stenciling and even hand-painting.
It's hard for me to describe how much of an impact seeing a film with authentic tinting and toning makes. For example, night scenes often were photographed in broad daylight with the intent of employing a deep blue tint on the final print. The tinted filmstock makes the difference between a night scene looking ridiculous and being believable.
In major cities, top theatres employed live orchestras and sound effects to accompany films. Theatres were often equipped with theatre pipe organs: Massive and complex, these organs permitted a single organist to be nearly a one-man orchestra. They featured many different voices and electrically activated sound effects, all summoned up from the keyboard. By 1924 the silent movie had reached its peak of development. Within 10 years the optical soundtrack would be fully developed and very few silent films would ever be made again.
Viewing the authoritative print of "Thief of Bagdad" from the Killiam Collection on a big screen captures some of the original silent film experience. The Killiam print includes a soundtrack of an organ score performed by Lee Erwin, and is reproduced with restored tints to deliver that dimension of color the original audiences enjoyed. The Killiam print recently has been released on VHS tape by Critic's Choice Video, although the mastering leaves much to be desired. However, the same print was used to master the much better looking and sounding Republic laserdisc, which is now out of print but still fairly widely available.
The first title card in "Thief of Bagdad" describes the film as an "Arabian Nights Fantasy". Douglas Fairbanks (Sr) plays the thief Ahmed in an ancient Bagdad that is much more fantasy than reality. Ahmed is a loveable rogue who lives by one rule: what he wants he takes. He steals a magic rope that permits him to scale the walls in an attempt to burglarize the palace; there, he spots the royal princess (Julanne Johnston) and falls in love.
The next day is the princess's birthday, and the day that she is to choose her suitor. Ahmed impersonates a prince and joins princes from Persia (Mathilde Comont, a woman playing a man's role), from India (Noble Johnson), and from Mongolia (So-Jin) as they present themselves to the royal family. Of course the princess chooses Ahmed, but a slave girl (Anna May Wong), who is actually a spy in the service of the Mongol prince, reveals him to be a common thief. Ahmed is scourged and sent into the streets. Rather than choose from the other three princes, the princess demands that they spend the next seven moons seeking out the rarest treasure, and the prince who returns with the greatest and rarest treasure will have her as a bride.
Ahmed seeks advice from a Holy Man (Charles Belcher), who teaches him that "Happiness must be earned", and that he has it within his own power to make himself a prince. He then tells the reformed thief of a hermit in the mountains with knowledge of great treasure. But, there is great danger and Ahmed must cross a valley of fire, slay a dragon, resist the temptations of sea nymphs, capture a flying horse and return to his love before the Mongol prince's treachery is complete.
"Thief of Bagdad" treats Islam and the Koran with a charming naivety, fondness, and a respectful objectivity that is refreshing in today's light of recent events in the Middle East. But, the portrayal of ancient Arabia is most decidedly a fantasy, the setting for a film that deliberately makes no attempt at authenticity.
Though the pace of the film is slow and deliberate, and runs for nearly 2 1/2 hours, it succeeds in keeping the viewer's attention for its full span, and the unrushed pace adds to the dreamlike fantasy of the story. Unlike "Metropolis", the film is more or less intact with original title cards, and can be viewed in the form its creators had intended.
Although directed by Raoul Walsh, there is no question that this is Douglas Fairbanks's film: He was the writer (under pseudonym Elton Thomas), producer, and star. Fairbanks was a fine athlete who performed most of his own stunts. Early on he performs a number of clever and humorous stunts as he steals money, jewelry, and food, and as he escapes the fakir from whom he has stolen the magic rope.
Silent film is truly a different art form than modern film. The story must be told entirely visually, and the acting is closer to mime than in a sound film. Douglas Fairbanks performs the role of Ahmed with all the subtlety of a baby pig squealing for its dinner; other cast memebers deliver more restrained performances. "Thief of Bagdad" succeeds because it achieves Film's first and foremost requirement: It is evocative, it transports the viewer to another place and time.
I find the enjoyment of "Thief of Bagdad" in the beauty of its elaborate Art Deco-meets-Byzantium sets with their soaring spires and improbable arches, in its special effects (many of which, like the magic rope and flying carpet scenes, hold up well even today), in its competent exploitation of then-available technology, and in the dreamy organ score. And, in imagining myself seated in an opulent, gilded, 1920's movie theatre complete with Wurlitzer pipe organ, about to enjoy the biggest blockbuster that had been produced to date.
Copyright (C) 1998 David M. Arnold. All rights reserved.
David M. Arnold<EMAIL_ADDRESS>To reply via EMail, replace "Xexecpc" with "execpc" in the above 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


| DOSE: T+ 0:00 |
30 mg |
oral |
2C-T-7 |
(pill / tablet) |
| T+ 5:30 |
1 cig. |
smoked |
Cannabis |
(plant material) |
I had aquired a sample of 2C-T-7 (legally), and decided to give it a try at a local 'retro techno' event. I've had some experience with other '2c-XY'-type substances, which were almost all quite positive, light-headed, trippy, and emotionally rewarding. So I was definitely expecting something similar with 2c-t-7.
At 8pm I took three pills of 10 mg, because I knew the stuff was supposed to be quite long-acting, and also because I wanted to get over nausea and other side-effects (i.e. puking) before entering the party. A few minutes later a couple of friends arrived, and we sat together and talked until the time for the party arrived. My friends were not taking 2c-t-7, but rather the 'usual' party drugs.
We decided to leave early, because the place was going to be crowded. During the drive, at about 10:30pm, I noticed the first effects of the drug: Slightly enhanced vision of colors, and a certain feeling of alertness.
At about 11pm we entered the club. My timing seemed to be alright, shortly afterward the effects of the 2C-T-7 kicked in strongly. To my surprise, it was not at all like 2-c-t-2 or 2c-b. No 'trippy' feeling, rather a hard and hot body rush. If I have to compare, it was feeling quite like a high dose of MDA. Not too bad, though, at this time. Some more friends arrived, and we danced to some old-time tunes we haven't heard for years (it was a retro-style party). Everybody was in good spirits, we enjoyed being together, chatted, danced... The next couple of hours (I estimate: until 2:00 or 3:00am) I was feeling great, full of energy, like on a lot of MDMA, maybe mixed with some MDA. As I was expecting a more 'trip-like' experience, I felt a bit disappointed, but told myself 'the party is great, so what' and let go.
Later the positive energy faded away, and things became less enjoyable. The 2c-t-7 was pushing like crazy, and my head felt like burning - way too much heat and body energy. The MDMA-like euphoria vanished and it became a cold, hard, edgy ride, very much like on MDA. I had some closed-eye visuals, but nothing very impressive.
I was feeling a little overheated, so I went out and smoked a spliff with two of my friends. The weed lifted me up, and things became a bit more 'trippy' afterwards.
The 2c-t-7 rush continued whithout mercy. Six hours into it, and still no sign of a comedown. Still waaay to much heat. My body felt exhausted and tingly, and a barely walk around any more, let alone dance. Imagine the first phase of a strong MDA trip, just going on and going on and going on...meanwhile I could not even enjoy the music any more, I was just hoping the trip would stop. I wondered whether I had overdosed a little.
Well, I had to wait for quite a time. At 6:30am, things were becoming a little easier, body heat and tesion diminished a bit, and I felt better again. An hour later we left the club, and decided to get home. Meanwhile, the trip was more or less over, and I volonteered for driving - I was still in a better condition to drive than some of the other guys :)
Finally, everybody went home, and I took a shower and crept into my bed. The clock read 10am, 14h after I took the 30mg. I was still feeling slight effects, but fell asleep soon nevertheless. I woke up 3 hours later, and spent the rest of the day lazy. Aftereffects weren't too bad. Now, another day later, I'm back to the office. Still feeling quite tired and almost unable fo think clearly. Thank god nobody to meet, just some excel work :)
Conclusion: I will almost certainly not take 2c-t-7 again. Really nothing for me. If you like MDA, it might be your kind of drug though. For my part, I prefer 2c-t-2. Interestingly, a lot of people report quite different experiences with 2c-t-7. Maybe there are individually different responses due to genetically determined factors? Slightly different receptor molecules?
My advice: If you really want to try 2c-t-7, don't take more than 30 mg. And for heaven's sake - don't mix it with MDMA or something like that. I had so much problems with heat and body cramps on 2c-t-7 alone - it really might become dangerous if you add the MDMA effects.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


In my early childhood, two images stayed with me and frightened me for a long time. One was the Mona Lisa, a reproduction that was hanging in my bedroom wall. The other was the Star Child from "2001: A Space Odyssey." I am still not sure why the latter frightened me so but I think a baby inside a shimmering, circular sphere would be enough to impress any 6-year-old. "2001: A Space Odyssey" has many memorable images and, in my mind, it is still the best science-fiction film ever made - the only one to truly capture the essence of space travel, from Jupiter to the infinite where the ineffable mysteries of what lies ahead holds a certain fascination for many of us here on Earth. I think that we tend to forget that we're a small point of interest in the universe and "2001" makes us feel how insignificant we are.
Based on Arthur C. Clarke's short story, "The Sentinel," "2001" begins with the famous "Dawn of Man" section where numerous apes are seen living in cavernous surroudings. Leopards are predominant and hungry in the horizon. The apes shield themselves from other animals or fellow apes by mostly growling...but their peaceful existence is out to be demolished in one swift stroke. One particular ape, the Moonwatcher, develops the intelligence to realize that a bone can be used as a weapon - not only to eat meat by means of hunting and killing animals, but as a defense against other irate apes. And so, while his group of apes growls at the others, Moonwatcher strikes one ape with a bone. The peaceful, vegetarian apes have learned that violence can be instrumental in establishing order and change. And so the slow-motion shot of the Moonwatcher triumphantly throwing the bone up in the air segues to a magnificent transitional cut to the Orion spaceship of the 21st century - man has evolved and now space, which was a sight for the apes who gazed at the bright moonlit sky, has become the new frontier for more discoveries and perhaps new signs of intelligence.
It is the year 2001, as we see ships gracefully travelling through space. One of them carries Dr. Heywood Floyd (William Sylvester), an American scientist travelling from earth to a lunar space station. At the station, Floyd discusses to other Americans about the discovery of a monolith at Clavius, a station on the moon. There is a wonderfully subtle scene where, prior to the meeting, Floyd is reluctant to discuss the situation at Clavius to a couple of curious Russian scientists - he claims to know nothing about it yet admits he is unable to discuss it.
The Clavius excavation is followed by the mission to Jupiter where astronauts Dr. David Bowman (Keir Dullea) and Dr. Frank Poole (Gary Lockwood) are travelling in the Discovery ship. On board are three scientists who are in deep hibernation for the length of the trip and the HAL 9000 computer (voiced by Douglas Rain), who is the brains and the eyes of the ship. Bowman and Poole are unaware of the purpose of the mission but HAL knows - unfortunately, HAL may have committed an error in judgment on a supposedly malfunctioning antenna. Bowman and Poole feel nothing is wrong with the ship's antennae, according to their thorough observations as well as that of another HAL 9000 computer's test from the U.S. Mission Control. Is HAL wrong, or are the astronauts erroneous in their calculations? Can a supercomputer like HAL make a mistake or are the humans at fault?
The final half-hour of the film is one of the most superbly suspenseful, thrilling, visionary moments in the history of film. After Bowman realizes that HAL has intent to kill before letting anyone jeopardize the mission, he quickly disconnects HAL and begins a journey into the infinite when a floating monolith makes contact with him. Thus, Bowman sees a dazzling array of formations of geometric shapes of lights, clusters of stars, an infinite number of colored rays and, finally, an eighteenth century bedroom where noises and laughter are heard bouncing along the corridors of the unique decor. It is here where Bowman sees himself as a dying old man and ultimately, becomes the Star Child - the last evolutionary step for mankind.
Most audiences and critics were understandably puzzled by the film since more questions are drawn up than answers (imagine how poorly this film would have fared if it played in theatres today where implication is always eroded in favor of explicating). Does Dave Bowman become the Star Child? Is the monolith an alien intelligence or an evolutionary step in mankind, or both?
In answer to that question, I interpret the monolith, as I always have, as the next step in the evolutionary ladder and a sign of evolving intelligence, as demonstrated in the Dawn of Man sequence. Strangely enough, I never thought of it as an alien intelligence, despite the fact that scientists in the film allude to it as such. Heck, they could be wrong since scientists do make errors.
Did HAL 9000 plan to fool Bowman and Poole with the faulty mechanism in the ship's antennae or did HAL really think there was a malfunction, thus making us believe that computers can make errors?
I am willing to go with the latter since computers can make errors. Why? Well, they are man-made, aren't they? Humans make errors all the time so it is conceivable that a computer, like HAL 9000, could make an error. Ironically, as Kubrick seems to indicate, HAL is about as human and compassionate, to some degree, as most of the human characters in the film. Of course, HAL is also a murderer but he can express emotion - consider his final lines in the film where Dave is frantically unplugging his memory units ("Just what do you think you are doing Dave? Dave, I am afraid.")
"2001" was once considered the ultimate acid trip back when it was released in 1968. There are also some who felt the film was too slow-paced and boring (Although I have heard the quote that Kubrick wanted to show that space travel was boring). I must disagree with the slow-pace - sure, it move slowly but it needs to. This is not the kind of story that requires the fast-paced, action-per-minute theatrics of "Star Wars." Instead, Kubrick moves his story slowly to show the beauty and mystery of space, the vastness of it, accompanied by the waltzes of composer Richard Strauss. Also noteworthy is the soundtrack, which is silent when Poole and Bowman investigate the antennae on the Discovery - occasionally you'll only hear them breathing which heightens the suspense.
"2001" is not my personal favorite of Kubrick's (that honor would go to "A Clockwork Orange") but it is an extraordinary film of sights and sounds, and certainly the purest, most poetic and electrifying science-fiction film ever made. In its story of the vastness of space and beyond the infinite, we realize that in the end, our planet Earth is only a microcosm of the big picture.
For more reviews, check out JERRY AT THE MOVIES at http://buffs.moviething.com/buffs/faust/
E-mail me with any questions, comments or general complaints at<EMAIL_ADDRESS>or at<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


Landing Page
Special Projects
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.
8/23/2018
Few things in life are more fun than watching a game while guzzling alcohol with your buds. Luckily for OU students, Athens boasts one of the best college bar scenes in Ohio, so there’s no shortage of places to catch a game. With nearly 20 bars on and around Court Street, you’re bound to find a favorite game day locale:
Marcus Pavilonis | ILLUSTRATION
There’s nothing like a classic, run-of-the-mill sports bar. They’re not particularly original or exciting, but they’re reliable and consistent. Broneys and Pigskin will provide all of your gameday necessities — a casual atmosphere that’s full but not crowded, baskets of ubiquitous deep-fried appetizers that you’ll probably regret eating, and an endless supply of sweet, sweet beer. These are the “marathon” bars — you arrive at noon, watch games all day, and leave at midnight. Pull up a chair, order a pitcher and stay awhile.
If you enjoy watching games surrounded by rambunctious fans, you might want to consider these “regional” bars. Each caters to people from a specific Midwestern city. Courtside is widely considered to be the Cleveland bar on Court Street. On Sundays, it’s not uncommon to see Browns fans drinking themselves into oblivion as their team endures another loss. Cincinnati fans typically flock to J Bar for drink specials during Reds and Bengals games. Make sure you check J Bar’s Twitter: Occasionally, they’ll have hot dogs on gameday. If you hail from PA, Lucky’s is your best bet to watch Pittsburgh sports. If the Pirates are playing on a Wednesday, though, you might want to find another bar. Otherwise, you’ll have to deal with obnoxiously drunk people at liquor pitchers.
When you think about watching games on Court Street, these places don’t immediately come to mind. They may not be as popular as other bars on this list, but they’re still enjoyable spots for game day shenanigans. During the week, many students wouldn’t be caught dead at Red Brick, but it’s a surprisingly fun spot for NFL games. “Brick Break” lasts all day on Sundays, so it’s a cheap way to get tanked. Union Street’s newest bar, Cat’s Corner, might be a little out of the way, but they’ve recently introduced a “Beat the Clock” promotion that’s sure to be a hit with students. Every Sunday, the bar starts serving pitchers of beer at 2 p.m. for $2 each. Every hour, the price for a pitcher increases by $1. How bad could it be?
Landing Page
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.


SQL vs NoSQL - What are the differences?
SQL databases
- Referred to as relational databases
- Table-based databases, consisting of columns and rows
- Have pre-defined schema for structured data
- Vertically scalable, powered by the hardware
- Uses 'Structured Query Langugage' (SQL) to define and manipulate data, which is standardised across all SQL databases
- Good for complex queries
- For properties: SQL databases emphasizes on ACID properties (Atomicity, Consistency, Isolation and Durability)
- Strong vendor support
- Examples, MySql, Sqlite, Oracle
NoSQL databases
- Referred to as non-relational databases
- Document-based databases, reliant on key-value pairs, graphs or wide-column stores
- Have dynamic schema for unstructured data
- Horizontally scalable, powered by increasing the number of servers (to reduce the load)
- Uses 'Unstructured Query Language' (UQL), the syntax of which varies from database to database
- Not good for complex queries, due to lack of standard interfaces
- For properties: NoSQL database follows the Brewers CAP theorem (Consistency, Availability and Partition tolerance)
- Poor vendor support, still reliant on community
- Examples, MongoDB, RavenDb and CouchDb
SQL injection - what is it?
 It is deemed one of the biggest threats to SQL databases. It achieves its aim bacause it successfully exploits a security vulnerability in the associated application's software.
Why is it done?
There are a ton of reasons why hackers would choose to target a database, including:
- rising to the challenge of bypassing logins and getting to data
- to access the data
- to modify the database content
- to shut down the server
- a combination of the above.
How is it done?
There are a number of techniques:
- Incorrectly filtered escape characters - where input is passed into a SQL statement. This approach pulls up records of all the specified usernames from the relevant table, allowing for these records to be manipulated or even deleted.
- Incorrect type handling - where a user-supplied field is not strongly typed or checked for constraints. This opens the opportunity for data to be manipulated.
- Blind injection - this forces the database to evaluate a logical statement to enable new (unintended) data to be populated into the database.
So what can be done about it?
A significant cause of the issue is the database's inability to differentiate code from SQL code and the data inserted by users into the database. So to improve this, a few quick wins:
- Prepared Statements - also known as parameterized statements, which aims to define all the SQL code and pass in each parameter to the query, facilitating the ability for the database to distinguish between code and data. Increasingly, coding frameworks are automatically parametising inputs.
- Incorrect type handling - where a user-supplied field is not strongly typed or checked for constraints. Correcting this, reduces the risk of confusion by the database.
- Escaping all user-supplied input - ensures that characters with special meanings in SQL are escaped within the code, so that data and code are distinguished.
SQL Optimisation - 3 tips
1. Which of the following queries is the most optimized?
a. SELECT column_name FROM table_name WHERE LOWER(column_name) = ‘name’.
b. SELECT column_name FROM table_name WHERE column_name = ‘NAME’ or column_name = ‘name’.
c. SELECT * FROM table_name WHERE LOWER(column_name) = ‘name’
d. SELECT * FROM table_name WHERE column_name = ‘NAME’ or corumn_name = ‘name’.
Answer B
Selecting UPPER, LOWER functions should be avoided - instead specify columns
2. Which of the following is the best way of inserting a binary image into database?
a. Use Insert statementb. Use Stored procedurec. Both give same performanced. None of these
Answer C
The application must first convert the binary value into a character string (which doubles its size, thus increasing network traffic and taking more time) before it can be sent to the server. And when the server receives the character string, it then has to convert it back to the binary format (taking even more time).
3. What is the best way to verify the existence of a record in a table?
Don’t use SELECT COUNT(*), as it is very inefficient and wastes server resources.


--- layout: tweet ---
OH: "Throwing simplicity at the problem."
7/8/2015, 3:11:17 PM
Favs: 1
Retweets: 0


The exam needs to be solved as follows:
1. Take a look at the definition of the "TabController" controller. Understand what it is doing now. Understad the entire code as well.
Then load the page in chrome (create folder in C:\, copy the files 6_DIRECTIVES_TEST_8_UNSOLVED.html, gem-09.gif, gem-02.gif, and gem-05.gif, and load the .html in chrome).
Notice there are 3 tabs "Description", "Specs", and "Review" that you can navigate. The purpose of this test will be creating a directive for the code that is
drawing these 3 tab control.
2. Write a new directive definition called "productTabs". Make sure this directive is an element directive. Ensure it
redirects to the new product-tabs.html file you will create in a subsequent step below. Make sure this directive defines a controller
with an alias of "tab" and replicates the behavior the "TabController" above implements now.
3. Ensure you move the content within "Product Tabs BEGINS" / "Product Tabs ENDS" block to a new template called
product-gallery.html. You won't need the controller any longer provided that the controller will be provided by the directive (step 2 above) "productTabs" above.
This means that you can't simply copy paste, the code in this new template may need a small change.
4. In the place left by step 3 in the body of the HTML invoke the new "productTabs" directive instead.
5. Remove the definition of the controller "TabController" as it won't be needed any longer.
NOTES: This implementation has a few directives that implement controllers now. Take a look at them. There ares also some templates. Take a look
at them too to understand how to create your directive and template.


--- date: 2010-02-24T00:00:00Z published: true title: Employees telling the truth in social media (isn't that kinda the point?) url: /2010/02/24/employees-telling-the-truth-in-social-media-isn-t-that-kinda-the-point-/ ---
What's the role of a social media representative - to repeat the press releases on Twitter? Or to engage with customers who have unpleasant feedback to share? Something in the middle?
I don't think one answer suits all companies - every culture is different - but I have to imagine that any company employing an "online customer presence," using social media, should be ready to accommodate and engage negative feedback - even from the social media rep.


Garrett
Wo-Ve-Mi is a website created by a diverse group of web designers with the goal of providing a way for people to search for women, veteran, and minority owned businesses in order to close the racial wealth gap, strengthen local economies, foster job creation, celebrate culture, honor our veterans, and hold larger companies accountable by giving them local competition for goods and services. Supporting local businesses is good for the environment, good for the economy, and provides local job creation.
Garrett
Jennifer
Lafon
Casey
Christian
Obi


Import/Export Servers¶
Server definitions (and their groups) can be exported to a JSON file and
re-imported to the same or a different system to enable easy pre-configuration
of pgAdmin. The setup.py
script is used for this purpose.
Note
To export or import servers, you must use the Python interpreter that is normally used to run pgAdmin to ensure that the required Python packages are available. In most packages, this can be found in the Python Virtual Environment that can be found in the installation directory. When using platform-native packages, the system installation of Python may be the one used by pgAdmin.
Exporting Servers¶
To export the servers defined in an installation, simply invoke setup.py
with
the --dump-servers
command line option, followed by the name (and if required,
path) to the desired output file. By default, servers owned by the desktop mode
user will be dumped<EMAIL_ADDRESS>by default - see the DESKTOP_USER
setting in config.py
). This can be overridden with the --user
command
line option. There can be multiple configuations of pgAdmin on the same system.
To dump the servers from specific pgAdmin config DB file, --sqlite-path
option
can be used. It is also recommended to use this option when running pgAdmin in
desktop mode. By default SQLITE_PATH setting in config.py
is taken.
For example:
/path/to/python /path/to/setup.py --dump-servers output_file.json
# or, to specify a non-default user name:
/path/to/python /path/to/setup.py --dump-servers output_file.json --user<EMAIL_ADDRESS># to specify a pgAdmin config DB file:
/path/to/python /path/to/setup.py --dump-servers output_file.json --sqlite-path /path/to/pgadmin4.db
To export only certain servers, use the --servers
option and list one or
more server IDs. For example:
/path/to/python /path/to/setup.py --dump-servers output_file.json --server 1 2 5
Importing Servers¶
To import the servers defined in a JSON file, simply invoke setup.py
with
the --load-servers
command line option, followed by the name (and if required,
path) of the JSON file containing the server definitions. Servers will be owned
by the desktop mode user<EMAIL_ADDRESS>by default - see the DESKTOP_USER
setting in config.py
). This can be overridden with the --user
command
line option. There can be multiple configuations of pgAdmin on the same system.
To load the servers into a specific pgAdmin config DB file, --sqlite-path
option
can be used. It is also recommended to use this option when running pgAdmin in
desktop mode. By default SQLITE_PATH setting in config.py
is taken. For example:
/path/to/python /path/to/setup.py --load-servers input_file.json
# or, to specify a non-default user name to own the new servers:
/path/to/python /path/to/setup.py --load-servers input_file.json --user<EMAIL_ADDRESS># to specify a pgAdmin config DB file:
/path/to/python /path/to/setup.py --load-servers input_file.json --sqlite-path /path/to/pgadmin4.db
If any Servers are defined with a Server Group that is not already present in the configuration database, the required Group will be created.
JSON format¶
The JSON file format used when importing or exporting servers is quite straightforward and simply contains a list of servers, with a number of attributes. The following attributes are required to be present in every server definition: Name, Group, Port, Username, SSLMode, MaintenanceDB and one of Host, HostAddr or Service.
Password fields cannot be imported or exported.
The following example shows both a minimally defined and a fully defined server:
{
"Servers": {
"1": {
"Name": "Minimally Defined Server",
"Group": "Server Group 1",
"Port": 5432,
"Username": "postgres",
"Host": "localhost",
"SSLMode": "prefer",
"MaintenanceDB": "postgres"
},
"2": {
"Name": "Fully Defined Server",
"Group": "Server Group 2",
"Host": "host.domain.com",
"HostAddr": "<IP_ADDRESS>",
"Port": 5432,
"MaintenanceDB": "postgres",
"Username": "postgres",
"Role": "my_role_name",
"SSLMode": "require",
"Comment": "This server has every option configured in the JSON",
"DBRestriction": "live_db test_db",
"PassFile": "/path/to/pgpassfile",
"SSLCert": "/path/to/sslcert.crt",
"SSLKey": "/path/to/sslcert.key",
"SSLRootCert": "/path/to/sslroot.crt",
"SSLCrl": "/path/to/sslcrl.crl",
"SSLCompression": 1,
"Shared": false,
"BGColor": "#ff9900",
"FGColor": "#000000",
"Service": "postgresql-10",
"Timeout": 60,
"UseSSHTunnel": 1,
"TunnelHost": "<IP_ADDRESS>",
"TunnelPort": 22,
"TunnelUsername": "username",
"TunnelAuthentication": 0
}
}
}


Status:
Sensor Device IP:
Start Recording
Stop Recording
Temperature:
Pressure:
Altitude:
Humidity:
Magnetometer:
ODAS Studio
IP {{system.ip}}
CPU Usage {{system.cpu}}
Noise
Source Elevation
Source Azimut
Active sources locations


Yuhuang Hu
Why
Basically
this theme rocks.
Got some killer app, some neat project, a cool portfolio?  SinglePaged uses jekyll niceties to make a polished, modular, and beautiful single page site.
Oh– go see some examples!
- Each vertical section is a markdown file in _posts/ directory.
- They’re sorted by ‘date’. (we don’t use date anywhere, it only sorts)
- Each vertical section sets it’s own color, header icon (or image), title, and easy-to-write markdown body.
- Only two things to edit:
- Edit
_config.yml
to set the site title, description, etc - Add
_posts/*.md
to make each vertical section. Copy some examples and add the sections from your README.md for a fast start!
- Edit
- Easy adding of SEO terms, favicon & such, and google analytics token.
Sound good? Let’s go!
There are three way to get started: (links jump to that section)
- Make a user homepage (or organization)
- Make a standalone project page
- Make a site under an existing project
setup details
Setup as user homepage
- Go click fork on the github project page
- Rename your new repository to
**username**.github.io
. (click settings in the right column) - Clone your repository, cd into the project
- Run
git checkout publish && git branch -m master && git push -u origin master && git branch -D gh-pages
to get the publish branch as master for a clean, empty starting point. - On your github project page go to settings again and change your default branch to master
- Run
git push origin --delete gh-pages
to delete your remote’s development branch
Now hop over to Usage to get it running with your own stuff!
When you publish changes use git push -u origin master
Setup as standalone project page
- Go click fork on the github project page
- Rename your new repository to
whatever you want
. (click settings in the right column)- It will go live at yourusername.github.io/WhateverYouWant
- Clone your repository, cd into the project
- Run
git checkout publish && git branch -D gh-pages && git branch -m gh-pages && git push -uf origin gh-pages
to swap the publish and gh-pages branch.
Now hop over to Usage to get it running with your own stuff!
When you publish changes use git push -u origin gh-pages
Setup inside existing project
This is the most complicated use-case .. but it’s the coolest.
Say you’ve got your kickass project github.com/t413/kicker
and want to have
some web presence to post about on hacker news.
This will create an orphan branch called gh_pages
in your repository
where you can publish changes, posts, images, and such. It won’t alter your code at all.
cd
into your project on the command line- use
git remote add -t publish singlepage git@github.com:t413/SinglePaged.git
to get access to this repository. - use
git fetch singlepage publish:gh-pages
to fetch the remote branch - use
git branch --set-upstream gh-pages singlepage/publish && git checkout gh-pages;
This creates and checks out an orphan branch called gh-pages that tracks the original and lets you make changes. - When you run
git push gh-pages:origin/gh-pages
it’ll be live at yourusername.github.io/repositoryName
Now hop over to Usage to get it running with your own stuff!
When you publish changes use git push -u origin gh-pages
usage
Alright, you’ve got a clean copy and are ready to push some schmancy pages for the world to ogle at.
- Edit
_config.yml
to change your title, keywords, and description. - Create a new file in
_posts/
called2014-01-01-intro.md
Edit it, and add:
| ---
title: "home"
bg: white #defined in _config.yml, can use html color like '#010101'
color: black #text color
style: center
---
# Example headline!
and so on..
|
- Create a second post called
2014-01-02-art.md
with an divider image this time:
| ---
title: "Art"
bg: turquoise #defined in _config.yml, can use html color like '#0fbfcf'
color: white #text color
fa-icon: paint-brush
---
#### A new section- oh the humanity!
|
Note: That part fa-icon: paint-brush
will use a font-awesome icon of paint-brush. You can use any icon from this font-awesome icon directory.
- install Jekyll with
sudo gem install github-pages
- run
jekyll serve -w
- visit localhost:4000 to see a live locally served preview.
- Push changes and see them live!
Changing your colors
- In each post file you can define
bg: mycolor
andcolor: myothercolor
to change the background and text colors for that section. - mycolor can be a quoted html color like
'#0fbfcf'
or a key to a special color defined in _config.yml under ‘colors’.- Note: Changes to _config.yml require a manual restart to your local server with
^C
andjekyll serve -w
.
- Note: Changes to _config.yml require a manual restart to your local server with
Nifty, right!
Also see README.md on github!
updating
Updating
So you’ve got a copy running and there’s some new update? Let’s update!
- Checkout your github-pages branch
git checkout gh-pages
for a standalone or existing pagegit checkout master
for a username.github.io page
- run
git remote | grep -q "singlepage" || git remote add -t publish singlepage https://github.com/t413/SinglePaged.git
to be sure you have access to this repository (you can run this command at any time). git fetch singlepage
to fetch-in-place new changes.- Update to the new base (using merge)
git merge singlepage/publish
- You can alternatively update using rebase. This rewrites history (bad), but it is cleaner.
git rebase singlepage/publish
video
Having an embedded media (photos and video) is often inflexible with a dynamic and responsive design.
Embed your video like this:
|

|
It’ll play like this funny video below! Try resizing the page!
Photo layouts are also really cool and dynamically resizable. Check out the photos/gallery section at magiciansanfrancisco.com for a demo and see the source code for how.


Individual form controls receive styling, but without any required base class on the <form>
or large changes in markup. Results in stacked, left-aligned labels on top of form controls.
Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:
- Add
.form-horizontal
to the form - Wrap labels and controls in
.control-group
- Add
.control-label
to the label - Wrap any associated controls in
.controls
for proper alignment
Styling
Input addons
Form element sizing
Wysihtml5
Bootstrap-wysihtml5 is a javascript plugin that makes it easy to create simple, beautiful wysiwyg editors with the help of wysihtml5.
jQuery jWYSIWYG
This jquery plugin is an inline content editor to allow editing rich HTML content on the fly. With a small file size less than 26Kb total and only 18Kb of code, the main concept is to keep it simple, not all users need font coloring or create tables, just the basic.
File & Image input
Date picker
Simple date picker plugin for Bootstrap framework. Check out the official page for more options and details.
Date range picker
A jQuery plugin to choose date ranges from a calendar or a pre-defined list of ranges. Visit official project page for more details.
Timepicker
Easily select a time for a text input using your mouse or keyboards arrow keys. More detailed documentation can be found on project's site.
Color picker
Simply add color picker to field or to any other element. Check out the official page for more options.
Inline form
Add .form-inline
for vertical alignment and spacing of form controls.
Search form
Add .form-search
to the form and .search-query
to the input
.
jQuery TagsInput
This plugin will turn your boring tag list into a magical input that turns each tag into a style-able object with its own delete link.


|
GiroDeGado
|
This Class represents the handle of a Handle/Body idiom of a Farm for the GiroDeGado software implemented in this code. More...
#include <farmImpl.h>
Public Member Functions | |
| virtual | ~FarmHandle () |
| void | setQuery (QSqlQuery *query) |
| QSqlQuery * | getQuery () const |
| bool | queryExec (QString command) |
| bool | queryNext () |
| bool | queryFirst () |
| QString | queryValue (int pos) |
| void | createCattle (int earring=0, std::string breed="", std::string acquisition_date="", std::string birth_date="", int father=0, int mother=0, double weight=0.0, double value=0.0) |
| void | createTransaction (int number=0, double value=0.0, std::string description="", std::string date="", int cattle_earring=0) |
| void | createUser (std::string nickname="", std::string name="", std::string password="", std::string birth_date="", std::string type="") |
| void | deleteCattle (int cattle_earring) |
| void | deleteTransaction (int transaction_number) |
| void | deleteUser (std::string user_nickname) |
| void | setCattleEarring (int actual_cattle_earring, int new_cattle_earring) |
| QString | getCattleEarring (int cattle_earring) const |
| void | setCattleBreed (int cattle_earring, std::string cattle_breed) |
| QString | getCattleBreed (int cattle_earring) const |
| void | setCattleAcquisitionDate (int cattle_earring, std::string cattle_acquisition_date) |
| QString | getCattleAcquisitionDate (int cattle_earring) const |
| void | setCattleBirthDate (int cattle_earring, std::string cattle_birth_date) |
| QString | getCattleBirthDate (int cattle_earring) const |
| void | setCattleFather (int cattle_earring, int cattle_father) |
| QString | getCattleFather (int cattle_earring) const |
| void | setCattleMother (int cattle_earring, int cattle_mother) |
| QString | getCattleMother (int cattle_earring) const |
| void | setCattleWeight (int cattle_earring, double cattle_weight) |
| QString | getCattleWeight (int cattle_earring) const |
| void | setCattleValue (int cattle_earring, double cattle_value) |
| QString | getCattleValue (int cattle_earring) const |
| void | setTransactionNumber (int actual_transaction_number, int new_transaction_number) |
| QString | getTransactionNumber (int transaction_number) const |
| void | setTransactionValue (int transaction_number, double transaction_value) |
| QString | getTransactionValue (int transaction_number) const |
| void | setTransactionDescription (int transaction_number, std::string transaction_description) |
| QString | getTransactionDescription (int transaction_number) const |
| void | setTransactionDate (int transaction_number, std::string transaction_date) |
| QString | getTransactionDate (int transaction_number) const |
| void | setTransactionCattleEarring (int transaction_number, int transaction_cattle_earring) |
| QString | getTransactionCattleEarring (int transaction_number) const |
| void | setUserNickname (std::string actual_user_nickname, std::string new_user_nickname) |
| QString | getUserNickname (std::string user_nickname) const |
| void | setUserName (std::string user_nickname, std::string user_name) |
| QString | getUserName (std::string user_nickname) const |
| void | setUserPassword (std::string user_nickname, std::string user_password) |
| QString | getUserPassword (std::string user_nickname) const |
| void | setUserDate (std::string user_nickname, std::string user_date) |
| QString | getUserDate (std::string user_nickname) const |
| void | setUserType (std::string user_nickname, std::string user_type) |
| QString | getUserType (std::string user_nickname) const |
| int | getLastEarringAvailable () |
| int | getLastNumberAvailable () |
| Public Member Functions inherited from Handle< FarmBody > | |
| Handle () | |
| constructor More... | |
| Handle (const Handle &hd) | |
| copy constructor More... | |
| virtual | ~Handle () |
| Destructor. More... | |
| Handle< FarmBody > & | operator= (const Handle &hd) |
| assignment operator More... | |
| Public Member Functions inherited from Farm | |
| virtual | ~Farm () |
Static Public Member Functions | |
| static Farm * | getFarm (QSqlQuery *query=NULL) |
| static Farm * | createFarm (QSqlQuery *query=NULL) |
| Static Public Member Functions inherited from Farm | |
| static Farm * | getFarm (QSqlQuery *query=NULL) |
Protected Member Functions | |
| FarmHandle (QSqlQuery *query=NULL) | |
| FarmHandle (FarmHandle &farm)=delete | |
| FarmHandle & | operator= (const FarmHandle &farm)=delete |
Friends | |
| class | FarmBody |
Additional Inherited Members | |
| Protected Attributes inherited from Handle< FarmBody > | |
| FarmBody * | pImpl_ |
| referência para a implementação More... | |
This Class represents the handle of a Handle/Body idiom of a Farm for the GiroDeGado software implemented in this code.
|
inlineprotected |
This is the default constructor for the FarmHandle Class.
| query | the query of a database. |
|
protecteddelete |
This is the copy constructor for the FarmHandle Class.
| farm | the FarmHandle that is going to be cloned. |
|
inlinevirtual |
This is the default destructor for the FarmHandle Class.
|
inlinevirtual |
Calls the createCattle() method implemented in the FarmBody Class.
| earring | the earring of the Cattle. |
| breed | the breed of the Cattle. |
| acquisition_date | the acquisition date of the Cattle. |
| birth_date | the birth date of the Cattle. |
| father | the father's earring of the Cattle. |
| mother | the mother's earring of the Cattle. |
| weight | the weight of the Cattle. |
| value | the value of the Cattle. |
Implements Farm.
|
inlinestatic |
Calls the createFarm() method implemented in the FarmBody Class.
|
inlinevirtual |
Calls the createTransaction() method implemented in the FarmBody Class.
| id | the id of the Transaction. |
| value | the value of the Transaction. |
| description | the description of the Transaction. |
| date | the date of the Transaction. |
| cattle_earring | the cattle's earring of the Transaction. |
Implements Farm.
|
inlinevirtual |
|
inlinevirtual |
Calls the deleteCattle() method implemented in the FarmBody Class.
| cattle_earring | earring of the cattle that will be deleted. |
Implements Farm.
|
inlinevirtual |
Calls the deleteTransaction() method implemented in the FarmBody Class.
| transaction_number | number of the transaction that will be deleted. |
Implements Farm.
|
inlinevirtual |
Calls the deleteUser() method implemented in the FarmBody Class.
| user_nickname | nickname of the user that will be deleted. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleAcquisitionDate() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleBirthDate() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleBreed() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleEarring() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleFather() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleMother() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleValue() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the getCattleWeight() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
Implements Farm.
|
inlinestatic |
|
inlinevirtual |
Calls the getLastEarringAvailable() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
Calls the getLastNumberAvailable() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
|
inlinevirtual |
Calls the getTransactionCattleEarring() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the getTransactionDate() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the getTransactionDescription() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the getTransactionNumber() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the getTransactionValue() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the getUserDate() method implemented in the FarmBody Class.
| user_nickname | the date of the current User. |
Implements Farm.
|
inlinevirtual |
Calls the getUserName() method implemented in the FarmBody Class.
| user_nickname | the name of the current User. |
Implements Farm.
|
inlinevirtual |
Calls the getUserNickname() method implemented in the FarmBody Class.
| user_nickname | the nickname of the current User. |
Implements Farm.
|
inlinevirtual |
Calls the getUserPassword() method implemented in the FarmBody Class.
| user_nickname | the password of the current User. |
Implements Farm.
|
inlinevirtual |
Calls the getUserType() method implemented in the FarmBody Class.
| user_nickname | the type of the current User. |
Implements Farm.
|
protecteddelete |
This is the overloaded assignment operator for the FarmHandle Class.
| farm | the FarmHandle that is going to be cloned. |
|
inlinevirtual |
Executes the exec() method of the query.
| command | the command that will be executed by the query. |
Implements Farm.
|
inlinevirtual |
Executes the first() method of the query.
Implements Farm.
|
inlinevirtual |
Executes the next() method of the query.
Implements Farm.
|
inlinevirtual |
Executes the value(pos).toString() methods of the query.
| pos | the position of the field in the current record. |
Implements Farm.
|
inlinevirtual |
Calls the setCattleAcquisitionDate() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
| cattle_acquisition_date | which will be set to the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the setCattleBirthDate() method implemented in the FarmBody Class.
| cattle_earring | the earring of the Cattle. |
| cattle_birth_date | which will be set to the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the setCattleBreed() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
Calls the setCattleEarring() method implemented in the FarmBody Class.
| actual_cattle_earring | the earring of the Cattle. |
| new_cattle_earring | which will be set to the Cattle. |
Implements Farm.
|
inlinevirtual |
Calls the setCattleFather() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
Calls the setCattleMother() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
Calls the setCattleValue() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
Calls the setCattleWeight() method implemented in the FarmBody Class.
Implements Farm.
|
inlinevirtual |
|
inlinevirtual |
Calls the setTransactionCattleEarring() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
| transaction_cattle_earring | which will be set to the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the setTransactionDate() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
| transaction_date | which will be set to the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the setTransactionDescription() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
| transaction_description | which will be set to the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the setTransactionNumber() method implemented in the FarmBody Class.
| actual_transaction_number | the number of the Transaction. |
| new_transaction_number | which will be set to the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the setTransactionValue() method implemented in the FarmBody Class.
| transaction_number | the number of the Transaction. |
| transaction_value | which will be set to the Transaction. |
Implements Farm.
|
inlinevirtual |
Calls the setUserDate() method implemented in the FarmBody Class.
| user_nickname | the nickname of the current User. |
| user_date | which will be set to the current User. |
Implements Farm.
|
inlinevirtual |
Calls the setUserName() method implemented in the FarmBody Class.
| user_nickname | the nickname of the current User. |
| user_name | which will be set to the current User. |
Implements Farm.
|
inlinevirtual |
Calls the setUserNickname() method implemented in the FarmBody Class.
| actual_user_nickname | the nickname of the current User. |
| new_user_nickname | which will be set to the current User. |
Implements Farm.
|
inlinevirtual |
Calls the setUserPassword() method implemented in the FarmBody Class.
| user_nickname | the nickname of the current User. |
| user_password | which will be set to the current User. |
Implements Farm.
|
inlinevirtual |
Calls the setUserType() method implemented in the FarmBody Class.
| user_nickname | the nickname of the current User. |
| user_type | which will be set to the current User. |
Implements Farm.
|
friend |


Let $(X_{i},Y_{i})$ be i.i.d random variables. For example, we could pick people at random from a population and measure their height ($X$) and weight ($Y$). One question of interest is to predict the value of $Y$ from the value of $X$. This may be useful if $Y$ is difficult to measure directly. For instance, $X$ could be the height of a person and $Y$ could be the xxx
In other words, we assume that there is an underlying relationship $Y=f(X)$ for an unknown function $f$ which we want to find. From a random sample $(X_{1},Y_{1}),\ldots ,(X_{n},Y_{n})$ we try to guess the function $f$.
If we allow all possible functions, it is easy to find one that fits all the data points, i.e., there exists a function $f:\mathbb{R}\rightarrow \mathbb{R}$ (in fact we may take $f$ to be a polynomials of degree $n$) such that $f(X_{i})=Y_{i}$ for each $i\le n$ (this is true only if we assume that all $X_{i}$ are distinct which happens if $X$ has a continuous distribution). This is not a good predictor, because the next data point $(U,V)$ will fall way off the curve. We have found a function that ''predicts'' well all the data we have, but not for a future observation!
Instead, we fix a class of functions, for example the collection of all linear functions $y=mx+c$ where $m,c\in \mathbb{R}$ and within this class, find the best fitting function.
Finding the best linear fit : We need a criterion for deciding the ''best''. A basic one is the
method of least squares which recommends finding $\alpha,\beta$ such that the error sum of squares $R^{2}:=\sum_{k=1}^{n}(Y_{k}-\alpha-\beta X_{k})^{2}$ is minimized.
For fixed $X_{i},Y_{i}$ this is a simple problem in calculus. We get
$$
\hat{\beta}=\frac{\sum_{k=1}^{n}(X_{k}-\bar{X}_{n})(Y_{k}-\bar{Y}_{n})}{\sum_{k=1}^{n}(X_{k}-\bar{X}_{n})^{2} }=\frac{s_{X,Y} }{s_{X}^{2} }, \qquad \hat{\alpha}=\bar{Y}_{n}-\hat{\beta}\bar{X}_{n}
$$
where $s_{X,Y}$ is the sample covariance of $X,Y$ and $s_{X}$ is the sample variance of $X$.
We leave the derivation of the least squares estimators by calculus to you. Instead we present another approach.
For a given choice of $\beta$, we know that the choice of $\alpha$ which minimizes $R^{2}$ is the sample mean of $Y_{i}-\beta X_{i}$ which is $\bar{Y}-\beta \bar{X}$. Thus, we only need to find $\hat{\beta}$ that minimizes
$$\sum_{k=1}^{n}\left((Y_{k}-\bar{Y})-\beta(X_{k}-\bar{X})\right)^{2}$$
and then we simply set $\hat{\alpha}=\bar{Y}-\beta\bar{X}$. Let
1
$Z_{k}=\frac{Y_{k}-\bar{Y} }{X_{k}-\bar{X} }$ and $w_{k}=(X_{k}-\bar{X})^{2}/s_{X}^{2}$. Then,
$$
\sum_{k=1}^{n}\left((Y_{k}-\bar{Y})-\beta(X_{k}-\bar{X})\right)^{2}=s_{X}^{2}\sum_{k=1}^{n}w_{k}\left(Z_{k}-\beta \right)^{2}.
$$
Since $w_{k}$ are non-negative numbers that add to $1$, we can intepret it as a probability mass function and hence we see that the minimizing $\beta$ is given by the expectation with respect to this mass function. In other words,
$$
\hat{\beta}=\sum_{k=1}^{n}w_{k}Z_{k} = \frac{s_{X,Y} }{s_{X}^{2} }.
$$
Another way to write it is $\hat{\beta}=\frac{s_{Y} }{s_{X} }r_{X,Y}$ where $r_{X,Y}$ is the sample correlation coefficient.
A motivation for the least squares criterion : Suppose we make more detailed model assumptions as follows. Let $X$ be a control variable (i.e., not random but we can tune it to any value, like temperature) and assume that $Y_{i}=\alpha+\beta X_{i}+\epsilon_{i}$ where $\epsilon_{i}$ are i.i.d. $N(0,{\sigma}^{2})$ ''errors''. Then, the data is essential $Y_{i}$ that are independent $N(\alpha+\beta X_{i},{\sigma}^{2})$ random variables. Now we can extimate $\alpha,\beta$ by the maximum likelihood method.
Example 183 ([Hubble's 1929 experiment on the recession velocity of nebulae and their distance to earth)
Hubble collected the following data that I took from \hrefhttp://lib.stat.cmu.edu/DASL/Datafiles/Hubble.htmlthis website. Here $X$ is the number of megaparsecs from the nebula to earth and $Y$ is the observed recession velocity in $10^{3}$km/s.
\[
\begin{array}{||r|c|c|c|c|c|c|c|c|c|c|c|c|c||}
\hline
X & 0.032 & 0.034 & 0.214 & 0.263 & 0.275 & 0.275 & 0.45 & 0.5 & 0.5 & 0.63 & 0.8 & 2 \\
\hline
Y & 0.17 & 0.29 & -0.13 & -0.07 & -0.185 & -0.22 & 0.2 & 0.29 & 0.27 & 0.2 & 0.3 & 1.09\\
\hline
\hline
X & 0.9 & 0.9 & 0.9 & 0.9 & 1 & 1.1 & 1.1 & 1.4 & 1.7 & 2 & 2 & 2 \\
\hline
Y & -0.03 & 0.65 & 0.15 & 0.5 & 0.92 & 0.45 & 0.5 & 0.5 & 0.96 & 0.5 & 0.85 & 0.8 \\
\hline
\hline
\end{array}
\]
We fit two straight lines to this data.
- Fit the line $Y=\alpha+\beta X$. The least squares estimators (as derived earlier) turn out to be $\hat{\alpha}=-0.04078$ and $\hat{\beta}=0.45416$. If $Z_{i}=\alpha+\beta X_{i}$ are the predicted values of $Y_{i}$s, then one can see that the residual sum of squares is $\sum_{i}(Y_{i}-Z_{i})^{2}=1.1934$.
- Fit the line $Y=bX$. In this case we get $\hat{b}$ by minimizing $\sum_{i}(Y_{i}-bX_{i})^{2}$. This is slightly different from before, but the same methods (calculus or the alternate argument we gave) work to give
$$
\hat{b}=\frac{\sum_{i=1}^{n}Y_{i}X_{i} }{\sum_{i=1}^{n}X_{i}^{2} }= 0.42394.
$$
The residual sum of squares $\sum_{i=1}^{n}(Y_{i}-bX_{i})^{2}$ turns out to be $1.2064$.
The residual sum of squares is smaller in the first, thus one may naively think that it is a better fit. However, note that the reduction is due to an extra parameter. Purely statistically, introducing extra parametrs will always reduce the residual sum of squares for obvious reasons. But the question is whether the extra parameter is worth the reduction. More precisely, if we fit the data too closely, then the next data point to be discovered (which may be nebula that is $10$ megaparsecs away) may fall way off the curve.
More importantly, in this example, physics tells us that the line must pass through zero (that is, there is no recession velocity when two objects are very close). Therefore it is the second line that we consider, not the first. This gives the Hubble constant to be $423$ km./s./megaparsec (the currently accepted values appear to be about $70$, with data going up to distances of hundreds of megaparsecs...see \hrefhttps://www.cfa.harvard.edu/ dfabricant/huchra/hubble.plot.datthis data!).
Example 184
I have taken this example from the \hrefhttp://ces.iisc.ernet.in/hpg/nvjoshi/statspunedatabook/databook.html wonderful compilation of data sets by A. P. Gore, S. A. Paranjpe, M. B. Kulkarni. In this example, $Y$ denotes the number of frogs of age $X$ (in some delimited population).
\[
\begin{array}{||r|c|c|c|c|c|c|c|c|c|c|c|c|c||}
\hline
X & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\
\hline
Y & 9093 & 35 & 30 & 28 & 12 & 8 & 5 & 2\\
\hline
\hline
\end{array}
\]
A prediction about life-times says that the survival probability $P(t)$ (which is the chance that an individual survives up to age $t$ or more) decays as $P(t)=Ae^{-bt}$ for some constants $A$ and $b$. We would like to check this agains the given data.
What we need are individuals that survive beyond age $t$. Taking $Z$ to be the cumulative sums of $Y$, this gives us
\[
\begin{array}{||r|c|c|c|c|c|c|c|c|c|c|c|c|c||}
\hline
X & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\
\hline
Z & 9213 & 120 & 85 & 55 & 27 & 15 & 7 & 2\\
\hline
P=Z/n & 1.0000 & 0.0130 & 0.0092 & 0.0060 & 0.0029 & 0.0016 & 0.0008 & 0.0002 \\
\hline
W=\log P & 0 & -4.3409 & -4.6857 & -5.1210 & -5.8325 & -6.4203 & -7.1825 & -8.4352 \\
\hline
\hline
\end{array}
\]
We compute that $\bar{X}=4.5$, $\bar{W}=-5.25$, $\mbox{std}(X)=2.45$, $\mbox{std}(W)= 2.52$ and $\mbox{corr}(X,W)=0.92$. Hence, in the linear regression $W=a+bX$, we see that $\hat{b}=0.94$ and $\hat{a}=-9.49$. The residual sum of squares is $7.0$.
How good is the fit? For the same data $(X_{1},Y_{1}),\ldots ,(X_{n},Y_{n})$, suppose we have two candidates (a) $Y=f(X)$ and (b) $Y=g(X)$. How to decide which is better? Or how to say if a fit is good at all?
By the least-squares criterion, the answer is the one with smaller residual sum of squares $SS:=\sum_{k=1}^{n}(Y_{k}-f(X_{k}))^{2}$. Usually one presents a closely related quantity $R^{2}=1-\frac{SS}{SS_{0} }$ (where $\mbox{SS}_{0}=\sum_{k=1}^{n}(Y_{k}-\bar{Y})^{2}=(n-1)s_{Y}^{2}$).  Note that $0\le R^{2}\le 1$. And higher (i.e., closer to $1$) the $R^{2}$ is, the better the fit.
Thus, the first naive answer to the above question is to compute $R^{2}$ in the two situations (fitting by $f$ and fitting by $g$) and see which is higher. But a more nuanced approach is preferable. Consider the same data and three situations.
- Fit a constant function. This means, choose $\alpha$ to minimize $\sum_{k=1}^{n}(Y_{k}-\alpha)^{2}$. The solution is $\hat{\alpha}=\bar{Y}$ and the residual sum of squares is $\mbox{SS}_{0}$ itself. Then, $R_{0}^{2}=0$.
- Fit a linear function. Then $\alpha,\beta$ are chosen as discussed earlier and the residual sum of squares is $\mbox{SS}_{1}=\sum_{k=1}^{n}(Y_{k}-\hat{\alpha}-\hat{\beta}X_{k})^{2}$. Then, $R_{1}^{2}=1-\frac{SS_{1} }{SS_{0} }$.
- Fit a quadratic function. The the residual sum of squares is $\mbox{SS}_{2}=\sum_{k=1}^{n}(Y_{k}-\hat{\alpha}-\hat{\beta}X_{k}-\hat{\gamma}X_{k}^{2})^{2}$ where $\hat{\alpha},\hat{\beta},\hat{\gamma}$ are chosen so as to minimize $\sum_{k=1}^{n}(Y_{k}-\alpha-\beta X_{k}-\gamma X_{k}^{2})^{2}$. Then $R_{2}^{2}=1-\frac{SS_{2} }{SS_{0} }$.
Obviously we will have $R_{2}^{2}\ge R_{1}^{2}\ge R_{0}^{2}$ (since linear functions include constants and quadratic functions include linear ones). Does that mean that the third is better? If that were the conclusion, then we can continue to introduce more parameters as that will always reduce the residual sum of squares! But that comes at the cost of making the model more complicated (and having too many parameters means that it will fit the current data well, but not future data!). When to stop adding more parameters?
Qualitatively, a new parameter is desirable if it leads to a
significant increase of the $R^{2}$. The question is, how big an increase is significant. For this, one introduces the notion of
adjusted $R^{2}$, which is defined as follows:
If the model has $p$ parameters, then define $\bar{SS}=SS/(n-1-p)$. In particular, $\bar{SS}_{0}=\frac{SS_{0} }{n-1}=s_{Y}^{2}$. Then define the adjusted $R^{2}$ as $\bar{R}^{2}=1-\frac{\bar{SS} }{\bar{SS}_{0} }$.
In particular, $\bar{R}_{0}^{2}=R_{0}^{2}$ as before. But $R_{1}^{2}=1-\frac{SS_{1}/(n-2)}{SS_{0}/(n-1)}$. Note that $\bar{R}^{2}$ does not necessarily increase upon adding an extra parameter. If we want a polynomial fit, then a rule of thumb is to keep adding more powers as long as $\bar{R}^{2}$ continues to increase and stop the moment it decreases.
Example 185
To illustrate the point let us look at a simulated data set. I generated $25$ i.i.d $N(0,1)$ variables $X_{i}$ and then generated $25$ i.i.d. $N(0,1/4)$ variables $\epsilon_{i}$. And set $Y_{i}=2X_{i}+\epsilon_{i}$. The data set obtained was as follows.
\[
\begin{array}{||r|c|c|c|c|c|c|c|c|c|c|c|c|c||}
\hline
X & -0.87&0.07&-1.22&-1.12&-0.01&1.53&-0.77&0.37&-0.23&1.11&-1.09&0.03&0.55 \\
\hline
Y & -2.43&-0.56&-2.19&-2.32&-0.12&3.77&-1.4&0.84&0.34&1.83&-1.83&0.48&0.98 \\
\hline
\hline
X & 1.1&1.54&0.08&-1.5&-0.75&-1.07&2.35&-0.62&0.74&-0.2&0.88&-0.77 &\\
\hline
Y & 2.3&2.5&-0.41&-2.94&-1.13&-0.84&4.36&-1.14&1.45&-1.36&1.55&-2.43 & \\
\hline
\hline
\end{array}
\]
To this data set we fit two models (A) $Y=\beta X$ and (B) $Y=a+bX$. The results are as follows.
$$\begin{align*}
\mbox{SS}_{0}=96.20, & R_{0}^{2}=0 \\
\mbox{SS}_{1}=6.8651, & R_{1}^{2}=0.9286, \hspace{2mm} \bar{R}_{1}^{2}=0.9255 \\
\mbox{SS}_{2}= 6.8212, & R_{2}^{2}=0.9291, \hspace{2mm} \bar{R}_{2}^{2}=0.9227.
\end{align*}$$
Note that the adjusted $R^{2}$ decreases (slightly) for the the second model. Thus, if we go by that, then the model with one parameter is chosen (correctly, as we generated from that model!). You can try various simulations yourself. Also note the high value of $R_{1}^{2}$ (and $R_{2}^{2}$) which indicates that it is not a bad fit at all.


New mountain lion added to Southern California study
LOS ANGELES (AP) - The National Park Service says it’s added a new mountain lion to a long-term study of the big cats in Southern California.
Officials announced Monday that the lion dubbed P-77 was captured, outfitted with a tracking collar and released where it was found in the Simi Hills northwest of Los Angeles.

Biologists are studying lions in and around the Santa Monica Mountains to determine how they survive in urbanized, fragmented habitat.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


00-62-658-658
ColumbiaBOOKS Secondhand Books and Textbooks Hub
Please complete the following information before submitting
Lost your password?


{% include 'profile/_blocks/_stat_list.html' with stat=demographics.total_population stat_type='number' %}
Source:
National Data Profile
{% include 'profile/_blocks/_stat_list.html' with stat=demographics.most_populous_religion stat_type='name' stat_name='Most populous religion' %}
Source:
National Data Profile
{% include 'profile/_blocks/_stat_list.html' with stat=demographics.language_most_spoken stat_type='name' stat_name='Language most spoken at home' %}
Source:
National Data Profile
{% include 'profile/_blocks/_stat_list.html' with stat=demographics.most_populous_caste stat_type='name' stat_name='Most populous caste or ethnic group' %}
Source:
National Data Profile
{% include 'profile/_blocks/_stat_list.html' with stat=demographics.percent_disabled stat_type='percentage' %}
Source:
National Data Profile
{% endif %}


Syntax highlighting in nano
MacOS
Install Homebrew if not already installed. Then install nano via homebrew
brew install nano
Open nanorc file
nano ~/.nanorc
Add the following line
include "/usr/local/share/nano/*.nanorc"
Refresh your terminal and voila, nano syntax highlighting
Linux
Open nanorc file
nano ~/.nanorc
Add the following line
include /usr/share/nano/sh.nanorc
Refresh your terminal and voila, nano syntax highlighting
Refs:
GithubGist
Stack Overflow
Delete commits from a branch in Git
It happens sometimes… no judging here
Careful: git reset --hard
WILL DELETE YOUR WORKING DIRECTORY CHANGES. Be sure to stash any local changes you want to keep before running this command.
Get rid of current commit (HEAD~1 means the commit before head)
git reset --hard HEAD~1
Or look at git log
output to find the id of the commit you want to back up to, and then
git reset --hard <sha1-commit-id>
If you already pushed it, you will need to do a force push to get rid of it
git push origin HEAD --force
Refs:
Stack Overflow


Greetings Jackie,
Declarative: React makes it painless to create interactive UIs. Design simple views for each state in
your
application, and React will efficiently update and render just the right components when your data
changes. Declarative views make your code more predictable, simpler to understand, and easier to
debug.
Component-Based: Build encapsulated components that manage their own state, then compose them to make
complex UIs. Since component logic is written in JavaScript instead of templates, you can easily pass
rich
data through your app and keep state out of the DOM.
Learn Once, Write Anywhere: We don't make assumptions about the rest of your technology stack, so you
can
develop new features in React without rewriting existing code. React can also render on the server
using
Node and power mobile apps using React Native.
You'll notice that we used an HTML-like syntax; we call it JSX. JSX is not required to use React, but
it
makes code more readable, and writing it feels like writing HTML.
The main purpose of this repository is to continue evolving React core, making it faster and easier to
use. Development of React happens in the open on GitHub, and we are grateful to the community for
contributing bugfixes and improvements. Read below to learn how you can take part in improving
React.
Sincerely yours,
React Team
The content of this email message - including any attachments to it - is confidential and considered
to be
business secret.
Therefore it is prohibited to publish, distribute, share, copy it in any way. If you are not the
recipient, you are not allowed to use or store the information in this email. If you have got this
message
by coincidence, please delete it immediately and notify the sender.


Introduction
The Platsr API gives you as a developer access to tons of local history data all witch is available under open licenses. Platsr.se and its services is provided by the Swedish National Heritage Board, this documentation and tool is developed and maintained by volunteers and should not be associated with the Swedish National Heritage Board.
The Platsr API implements a GET
based REST-like interface with JSON responses.
The following documentation provides documentation for all methods available. It do not and do not aim to cover the JSON response format, for exploring it an API sandbox is provided.
Archive Object
archiveObject
allows you to return a archive item based on it's URI. This method also allows a response based on an user ID that returns archive objects linked within Platsr by that specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
|created
(default)
sort
supported values: decs
|asc
(default)
limit
any positive integer
Examples
Bookmark
bookmark
allows you to return an user created bookmark. This method also allows a response based on an user ID that returns bookmarks by that specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
|created
(default)
sort
supported values: decs
|asc
(default)
limit
any positive integer
Examples
Collection
collection
allows you to return an user created collection. This method also allows a response based on an user ID that returns collections by that specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
|created
(default)
sort
supported values: decs
|asc
(default)
limit
any positive integer
Examples
Copyright
copyright
allows you to copyright description by its ID.
Examples
Image
image
allows you to return information about an image. This method also allows a response based on an user ID that can return multiply images uploaded or linked by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
Examples
Place
place
allows you to retrieve a single place or a list of places. The place
method has six incompatible parameters for returning lists and each parameter has multiply optional or required parameters.
bbox
requires SWEREF 99 TM coordinates in a comma separated list: {left},{bottom},{right},{top}
extracted
optional parameter for including all data about a place within the list.
- point used to return all places within a specific range from a location(format:
{x},{y}
).
radius
optional parameter(int), specifies the radius around the specified point(in meters).
extracted
optional parameter
userId
return a list of places created by an specific user.
orderBy
supported values: modified
| created
(default)
sort
optional, supported values: decs
| asc
(default)
limit
optional, any positive integer
extracted
optional, optional parameter
archiveObjectUrl
used to retrieve a list of places witch has a specific SOCH archive linked. SOCH URI:s is the only valid value, not Platsr:s archive objects IDs.
orderBy
supported values: modified
| created
(default)
sort
optional, supported values: decs
| asc
(default)
limit
optional, any positive integer
extracted
optional, optional parameter
text
used to retrieve a list of places witch contains a specific string.
extracted
optional, optional parameter
Examples
Recommendation
recomendation
allows you to return a recommendation. This method also allows a response based on an user ID that can return multiply recommendations made by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
NOTE: recomendation
is the valid parameter name not recommendation
.
Examples
Sound
sound
allows you to return information about an uploaded or linked sound. This method also allows a response based on an user ID that can return multiply sounds uploaded or linked by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
Examples
Story
story
allows you to return a story. This method also allows a response based on an user ID that can return multiply stories made by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
NOTE: recomendation
is the valid parameter name not recommendation
.
Examples
Tag
tag
allows you to return a tag. This method also allows a response based on an user ID that can return multiply tags used by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
Examples
User
user
allows you retrieve information about an specific user.
NOTE: The user ID is not a integer as for other Platsr items.
Examples
Video
video
allows you to return information about an uploaded or linked video. This method also allows a response based on an user ID that can return multiply sounds uploaded or linked by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
Examples
Web Address
webAddress
allows you to return information about an linked web address. This method also allows a response based on an user ID that can return information about multiply web addresses by an specific user. The userId
parameter has three optional parameters:
orderBy
supported values: modified
| created
(default)
sort
supported values: decs
| asc
(default)
limit
any positive integer
Examples


This SRFI describes a set of operations on
homogeneous bitvectors.
Operations analogous to those provided on the other homogeneous
vector types described in
SRFI 160
are provided,
along with operations analogous to the bitwise operations of
SRFI 151.


Elastic Load Balancing V2 RedirectConfig
The
RedirectConfig
property type specifies information about a redirect action.
RedirectConfig
is a property of the Elastic Load Balancing V2 Actions property
type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Host" :
String
, "Path" :Integer
, "Port" :Integer
, "Protocol" :String
, "Query" :Integer
, "StatusCode" :Integer
}
Properties
Host
-
The hostname. This component is not percent-encoded. The hostname can contain #{host}.
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
Type: String
Update requires: No interruption
Path
-
The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
Type: String
Update requires: No interruption
Port
-
The port. You can specify a value from 1 to 65535 or #{port}.
Required: No
Type: String
Update requires: No interruption
Protocol
-
The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
Pattern:
^(HTTPS?|#\{protocol\})$
Required: No
Type: String
Update requires: No interruption
Query
-
The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
Length Constraints: Minimum length of 0. Maximum length of 128.
Required: No
Type: String
Update requires: No interruption
StatusCode
-
The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
Valid Values:
HTTP_301
|HTTP_302
Required: Yes
Type: String
Update requires: No interruption
See Also
-
RedirectActionConfig in the Elastic Load Balancing API Reference version 2015-12-01


Categories
Bride Dress
Groom Dress
Caterers & vendors
Honeymoon Spots
Jewelry
Cards
Venue
Making guest list
Wedding Planning Redefined
Cindy
Account Settings
Favorites
Log Out
adskfjllkadsfnklafjlkasdjfl;kajdslkf


List entry - Test Case 1
Test Case - Digital Marketplace list entry
Results
Colour blindness
Awaiting result
Colour contrast
Awaiting result
Inverted Colours
Awaiting result
Increased font size
Awaiting result
Hit area
Awaiting result
Keyboard only (chrome)
Awaiting result
Screen readers
Jaws 16 / IE 11
Awaiting result
Jaws 13 / IE 9
Awaiting result
NVDA / Firefox
Awaiting result
VoiceOver / Safari (OS X)
Awaiting result
VoiceOver / Safari (iOS 9.2.1)
Awaiting result
Talkback / Firefox (Android Lollipop)
Awaiting result
Screen Magnifier / ZoomText
Awaiting result
Speech Recognition / Dragon
Awaiting result
Valid markup
Awaiting result
Progressive Enhancement
No Javascript
Awaiting result
No Javascript and no CSS
Awaiting result


Sirius Validation - jQuery example
This example contains a simple plugin that is not production ready. You will have to extend it for your own purposes.
Username
Password
Confirm password
Submit


We live for soccer and we play for our fans. Epicodus FC is the premier bootcamp football team in Seattle. We train hard and we play harder because we know that at the end of the day you got to leave it all out on the field.


Maximum your services
Login
Sign Up
form
Hospital Name
Select Hospital
Doctor Name
Available
Patient Name
Mobile
Address
submit


SHPE prepares our member to further their professional career through networking opportunities
SHPE enhances professionals' leadership abilities by exposing them to leadership roles and seminars
Support the chapter and help it continue to grow by creating a welcoming community
Give back to the community through mentorship opportunities and by spreading STEM awareness and support to the Hispanic community
Activities geared towards the career and management development with the specific intent of upward mobility and/or advancement within the members' career
Activities promoting professional and local student SHPE chapter interaction and mentorship by the SHPE professional chapter


{% include head.html %}
D.YANG
The world is but a canvas to our imagination.
Home
Life
Category
About
{{ content }}


--- title: calcParentEBSD sidebar: function_reference_sidebar permalink: parentGrainReconstructor.calcParentEBSD.html folder: function_reference toc: false ---
reconstruct parent EBSD
| job | parentGrainReconstructor |
| ebsd | reconstructed parent EBSD |
| ebsd.grainId | ids to the reconstructed parent grains x 12 |
| ebsd.variantId | the variantId of the child phase < - |
| ebsd.packetId | the packetId of the child phase < - |
| ebsd.fit | fit of the reconstruction |


Initialize Server (Initializes the server)
View Data (Shows raw data from server and controlled data from client)