text stringlengths 16 69.9k |
|---|
package org.jabref.gui.exporter;
import org.jabref.gui.Globals;
import org.jabref.gui.JabRefFrame;
import org.jabref.gui.StateManager;
import org.jabref.gui.actions.ActionHelper;
import org.jabref.gui.actions.SimpleCommand;
/**
* This class is just a simple wrapper for the soon to be refactored SaveDatabaseAction.
*/
public class SaveAction extends SimpleCommand {
public enum SaveMethod { SAVE, SAVE_AS, SAVE_SELECTED }
private final SaveMethod saveMethod;
private final JabRefFrame frame;
public SaveAction(SaveMethod saveMethod, JabRefFrame frame, StateManager stateManager) {
this.saveMethod = saveMethod;
this.frame = frame;
if (saveMethod == SaveMethod.SAVE_SELECTED) {
this.executable.bind(ActionHelper.needsEntriesSelected(stateManager));
} else {
this.executable.bind(ActionHelper.needsDatabase(stateManager));
}
}
@Override
public void execute() {
SaveDatabaseAction saveDatabaseAction = new SaveDatabaseAction(
frame.getCurrentBasePanel(),
Globals.prefs,
Globals.entryTypesManager);
switch (saveMethod) {
case SAVE:
saveDatabaseAction.save();
break;
case SAVE_AS:
saveDatabaseAction.saveAs();
break;
case SAVE_SELECTED:
saveDatabaseAction.saveSelectedAsPlain();
break;
default:
// Never happens
}
}
}
|
The World or Warcraft is now officially off-limits to online gamers in Iran.
Their access to the gaming network has been blocked so the game's developer can comply with tough U.S. trade sanctions imposed on Iran, in response to that country's pursuit of nuclear weapons.
World of Warcraft creator Blizzard Entertainment is set to release a new episode of its online game next month. Its fictional dungeons and battlegrounds are set on the fictional continent of Pandaria.
The dark and violent world of Pandaria may (or may not) be fine entertainment, but its now off limits in Iran. Gamers in Teheran have posted complaints in recent days saying they can’t access Warcraft’s network. This week, Blizzard acknowledged that it’s responsible for more tightly restricting Iranian access.
“U.S. trade restrictions and economic sanctions prohibit doing business with residents of certain nations, including Iran,” the company said.
Jamal Abdi, who is with the National Iranian American Council in Washington, said this is an example of how U.S. sanctions are hurting the wrong people.
“Our politices are hurting ordinary Iranians and not the Iranian government whose behavior we’re trying to change," he said. "It could be something we think is trivial like World of Warcraft but this is a much bigger problem. Every facet of life in Iran is now being impacted by U.S. policies and it’s having a negative impact on the Iranian people, who are largely our friends.”
Iranian blogs has buzzed with speculation that the Iranian government had blocked access to Warcraft because of "the corrupting influence" of violent entertainment.
Instead Abdi says it turns out that Blizzard Entertainment is just complying with U.S. government policy.
“If we want to stand with the Iranian people, we need to make sure they can be part of the outside world, and communicate freely instead of making their lives harder, and cutting them off from these communications tools,” Abdi said.
Warcraft fans in Cuba, Libya, North Korea and Syria are in the same boat. U.S. sanctions mean they’re all restricted from playing in the misty lands of World of Warcraft. |
Nanko Yuki Haruno
nanko-yuki-haruno
Hate ads? You could always use adblocker. Or make CCC even better by going Gold
Hate ads? You could always use adblocker. Or make CCC even better by going Gold
About
Hi there! I'm Nanko Yuki Haruno,I love drawing and voice acting.The characters I've been known for voicing really well are: Amy Rose,Miles "Tails" Prower,Mina Mongoose,Tikal the Echidna,Lara-Su/Jani-Ca,Conquering Storm,Cream the Rabbit,Rouge the Bat,Goten from Dragon Ball Z,Vanilla the Rabbit,Japanese/English Konata from Lucky Star,Japanese Nui from Kill La Kill,Ahri from League of Legends,and more but I'd rather not make this list too long. <XD
I can also experiment with different voices,so don't be afraid to ask me to try a voice! ^u^ |
Bollywood siren spotted with cricketer Kohli
Anushka Sharma, the svelte beauty of Bollywood, allegedly dating Indian cricketer Virat Kohli, was seen spending some quality time with him.
Sharma made news when she flew down to New Zealand to meet her rumoured boyfriend.
There were even pictures of the duo in Auckland on a lovey-dovey stroll. Now, the latest buzz is that the cricketer has been spotted by an onlooker on a flight from Sri Lanka. There are no doubts that Kohli was in Sri Lanka to be with his love Sharma, who is busy shooting her next film, Bombay Velvet.
The film is about Mumbai city and how it becomes a metropolis amid love, greed and music. The cast and crew are in Sri Lanka to finish the shoot. Sharma was earlier in a relationship with Ranveer Singh. Things didn’t work well for them and they parted their ways. |
Q:
In C, how to periodically send UDP datagram to multiple peers (possibly thousands)?
(I'm new to network programming, and I am working on C in Linux)
I followed Beej's guide for a simple UDP listener-talker and I know how to create a socket and send that to a destination (with calls to getaddrinfo() and socket() using SOCK_DGRAM)
See http://beej.us/guide/bgnet/output/html/multipage/clientserver.html#datagram.
In my distributed app, I will need to send a message to multiple peers (reliable multicast).
My question is: do I need to create a socket for each of the peers? I'm worried about scalability. Or should I create the socket, use it and destroy it (close it) after each message?
In summary, is there a good way to send a UDP packet to multiple destinations, periodically?
Thanks for the help!
A:
For UDP, you need but one local socket. You can send a packet to any destination you like from that one, single socket.
Also, you don't need to destroy and recreate the socket after each message. Just keep the socket open, and keep sending messages.
|
(a) Field of the Invention
The present disclosure relates to a display panel and a liquid crystal display (LCD) device having the same.
(b) Description of the Related Art
A liquid crystal display (LCD) device is one of the most widely used flat panel display devices. An LCD device includes two panels provided with field-generating electrodes, and a liquid crystal (LC) layer interposed therebetween. The LCD device displays images by applying voltages to the field-generating electrodes to generate an electric field in the LC layer, which determines orientations of LC molecules in the LC layer to adjust polarization of incident light.
Generally, an LCD device includes a pair of panels individually having electrodes on their inner surfaces. The first panel includes a plurality of pixel electrodes arranged in a matrix type and the second panel includes a common electrode corresponding to all the pixel electrodes. Desired images are obtained by controlling the voltage difference between the electrodes. For controlling the voltage difference between the electrodes, thin film transistors (TFT's) connected to the pixel electrodes to switch pixel voltages, gate lines transmitting scanning signals, and data lines transmitting image signals are formed on the first panel.
LCD devices are classified into a transmission type LCD and a reflection type LCD according to the light source. The transmission type LCD devices have a backlight as the light source. The reflection type LCD devices use external light as the light source. Trans-reflective type LCD devices which use both a backlight and external light as the light source have been also under development.
In a trans-reflective type LCD device, a panel requires an organic insulating layer and reflectors which are formed by separate processes. For this reason, a manufacturing method of the trans-reflective type LCD devices includes more steps than that of the transmission type LCD devices. Accordingly, the conventional trans-reflective type LCD devices require more manufacturing cost and tact time than the transmission type LCD devices. |
High glycaemic index (GI) ingredients break down quickly in the body and cause a rapid increase in blood sugar, or glucose, which can be harmful, said Beneo marketing director Thomas Schmidt.
“There are lot of carbohydrates out there that do not label as sugar, but in fact they are even more glycaemic than sugar,” Schmidt told FoodManufacture.co.uk at last month's Food Ingredients Europe (FiE) exhibition in Paris.
“We believe some industry players are not fair to the consumer because they may make a 'no sugar' claim, but in fact they are putting ingredients in that are more glycaemic. That's what I call cheating.”
Maltodextrin use
As an example, Schmidt highlighted the widespread use of food additive maltodextrin, which is often used in sports drinks because athletes want to refuel on glucose.
“It's a beautiful ingredient. It's easy to use and not very expensive,” he said. “But at the end of the day, it is doing a lot of harm to people because it is so high glycaemic.”
High GI diets have been linked to diabetes and obesity, but NHS Choices notes that foods with a high GI, such as parsnips, are not necessarily unhealthy.
Recent consumer research from Beneo showed that people are starting to tell the difference between good and bad carbohydrates.
Carb intake
“Consumers are slowly but surely accepting the fact that they need to differentiate in their carbohydrate intake just like they learnt to differentiate in their fat consumption,” Schmidt said.
“I think it really creates a lot of opportunities for the industry, and the industry can adapt to this changing consumer perception about carbs and sugars.” |
---
abstract: 'This paper presents the first time series clustering benchmark utilizing all time series datasets currently available in the University of California Riverside (UCR) archive — the state of the art repository of time series data. Specifically, the benchmark examines eight popular clustering methods representing three categories of clustering algorithms (partitional, hierarchical and density-based) and three types of distance measures (Euclidean, dynamic time warping, and shape-based). We frame and follow six restrictions with special attention to making the benchmark as unbiased as possible. A phased evaluation approach was then designed for summarizing dataset-level assessment metrics and discussing the results. The benchmark study presented can be a useful reference for the research community on its own; and the dataset-level assessment metrics reported may be used for designing evaluation frameworks to answer different research questions.'
author:
- Ali Javed
- Byung Suk Lee
- 'Donna M. Rizzo'
bibliography:
- 'main.bib'
title: A Benchmark Study on Time Series Clustering
---
[***Keywords:*** Time series, clustering, benchmark, UCR archive]{}
|
As you are not logged in, to proceed you need to enter the code in the image into the
code box. If the image is not shown, please reload the page. If you are using a browser
that does not display images, you will have to register and login to proceed.
Enter Code:
Logging in bypasses the need to enter a code every time and will allow you to log a support ticket, registration is free.
Codes are expired when they have been used once, this is to prevent "Reload Button" abuse..
Note: Do not put your email address into the form above as it will not work, you need to specify a host name, domain name, network (CIDR) or IP address.
Need Help...?
If you are unsure about how to get de-listed, or want to know some of the reasons behind
the blocking, please use the SORBS Support System.
The SORBS Support System should be used as your first port
of call, as it will direct you to the most relevant FAQ as well as giving you the opportunity
to log a help request ticket with SORBS staff and systems.
If you receive a message indicating a help ticket has been logged, or a mail has been sent
to the help system, the server will send the email address you specified a message telling
you that a ticket has been logged and informing you of a ticket number.
If you do not receive a confirmation email or you have chosen to log a ticket to a help queue
that does not support request relating to listings, you will not receive a reply or help from |
As used herein, the term “image feature” may refer to one or more picture elements (e.g., one or more pixels) within a field. As used herein, the term “source field” may refer to a field from which information relating to an image feature may be determined or derived. As used herein, the term “intermediate field” may refer to a field, which may temporally follow or lead a source field in a video sequence, in which information relating to an image feature may be described with reference to the source field. As used herein, the term “disparity estimation” may refer to techniques for computing motion vectors or other parametric values with which motion, e.g., between two or more fields of a video sequence, may efficiently be predicted, modeled or described. An example of disparity estimation can be motion estimation. As used herein, the term “disparity estimate” may refer to a motion vector or another estimated parametric motion related value. As used herein, the term “disparity compensation” may refer to techniques with which a motion estimate or another parameter may be used to compute a spatial shift in the location of an image feature in a source field to describe the motion or some parameter of the image feature in one or more intermediate fields of a video sequence. Disparity compensation may involve a process of using a disparity estimate to derive the prediction of the current samples and/or regions of interest. A disparity model may include various spatial and/or temporal shift parameters. An example of disparity compensation can be motion compensation. The above terms may also be used in conjunction with various video coding concepts and prediction techniques (e.g., intra prediction and illumination compensation).
Like reference numbers and designations in the various drawings can indicate like elements. |
Antibiotic-induced Toxic Epidermal Necrolysis - A Case Report.
Toxic epidermal necrolysis (TEN) is severe cutaneous hypersensitivity reaction characterized by necrosis of the epidermis and detachment of the epidermis and dermis that usually occurs as an idiosyncratic reaction to certain drugs. We report the case of a patient admitted to our Intensive Care Unit after an above-the-knee amputation who developed toxic epidermal necrolysis, possibly resulting from antibiotics therapy. Therapy included a combination of intravenous immunoglobulin with gentle early debridement of necrotic skin areas followed by wound coverage with a synthetic cover (Aquacel Ag®). This case report suggests that intensive wound management together with intravenous immunoglobulin might be beneficial in the treatment of patients with TEN. |
Yes, novels; for I will not adopt that ungenerous and impolitic custom so common with novel-writers, of degrading by their contemptuous censure the very performances, to the number of which they are themselves adding -- joining with their greatest enemies in bestowing the harshest epithets on such works, and scarcely ever permitting them to be read by their own heroine, who, if she accidentally take up a novel, is sure to turn over its insipid pages with disgust.
It is hard that my little darling should love him more than me; and that, when the well-being and culture of my son is all I have to live for, I should see my influence destroyed by one whose selfish affection is more injurious than the coldest indifference or the harshest tyranny could be.
Sikes spoke in the very harshest key of a very harsh voice; but, appearing to entertain some unaccountable objection to having his throat cut, he remained where he was, and growled more fiercely than before: at the same time grasping the end of the poker between his teeth, and biting at it like a wild beast.
The whole landscape, which, seen by a favoring light, and in a genial temperature, had been found so lovely, appeared now like some pictured allegory of life, in which objects were arrayed in their harshest but truest colors, and without the relief of any shadowing.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. |
The deadly (but helpful) S'pht'Kr, in attack mode. This image can be found at the bottom of the Bungie Webcam page, and the S'pht'Kr there are regularly confused for Halo aliens. A larger (and reversed) version (811x480, 97K) is available. |
A Reappraisal of the Safety and Cost-Effectiveness of Statin Therapy in Primary Prevention.
Statins are among the most investigated drugs of all time. There is now a wealth of evidence supporting their use in the primary and secondary prevention arenas. The reduction in event recurrence has since been demonstrated across all levels of risk and in elderly patients. As a result, it is now accepted practice for statins to be prescribed universally in secondary prevention unless contraindicated. The extension of this policy into the primary prevention setting is more problematic, with moral and financial issues arising from the long-term treatment of many young apparently healthy individuals. For these reasons it is necessary to prove not only the financial sustainability of such a strategy but also the long-term safety of statins and the degree of benefit that might be expected. |
A physical map of pPH1JI and pJB4JI.
The antibiotic resistance plasmid pPH1JI was derived from two IncP plasmids, R751 and R1033. The suicide vector for Tn5, pJB4JI, contains pPH1JI, bacteriophage Mu, and Tn5. Restriction enzyme cleavage maps for pPH1JI and pJB4JI, and the antibiotic resistance levels determined by pPH1JI and its parent plasmids are presented. The relationships between pPH1JI and its parent plasmids, and pJB4JI, are discussed. |
Beginning next month, Guests visiting the Star Wars Launch Bay at Disney’s Hollywood Studios (and at Disneyland Resort in California) will get to interact with one of the newest villains from Star Wars: The Force Awakens.
Guests will encounter Kylo Ren, a dark warrior with a mysterious past, on the bridge of his First Order Star Destroyer. Kylo Ren is a leader of the First Order, seeking to destroy the New Republic, the Resistance and the legacy of the Jedi.
Kylo Ren is the newest character to appear in Star Wars Launch Bay, which was designed to showcase a variety of Star Wars characters over time. In addition to Ren, Guests may also come across a garrison of First Order Stormtroopers or the heroic Wookiee, Chewbacca, holed up in a secret Resistance base.
Once this change takes place, Darth Vader will not be available in Star Wars Launch Bay. Guests may continue to encounter Darth Vader as part of the “Jedi Training: Trials of the Temple” experience near Star Tours- The Adventures Continue. |
Pregnancy following intrafollicular gamete transfer.
A case of pregnancy following direct intrafollicular gamete transfer is presented. Oocytes, obtained by transvaginal follicular aspiration, were added to a sperm preparation. The oocytes and spermatozoa were then transferred together, under transvaginal ultrasound guidance, into the leading follicle. This is the first report of a pregnancy following this procedure. |
and one of my coworkers said she was told that the spots on her chest were a "pit bull characteristic". I guess the guy who took the picture sent them to his sister, who has a pit bull, and she said that because her dog has similar spots it's a pit bull marking. I just busted up laughing. I really hope that was just miscommunication, because that doesn't make any sense! So sad it's funny, I guess! |
(function() {
var contextInfo = null;
var left;
var top;
CodeMirror.attachContextInfo = function(cm, data) {
CodeMirror.on(data, 'select', function(completion, hints) {
hints = hints.parentNode;
var information = null;
if (completion.info) {
information = completion.info(completion);
}
if (information) {
var box = hints.getBoundingClientRect();
if (contextInfo == null) {
contextInfo = document.createElement('div');
contextInfo.className = 'CodeMirror-hints-contextInfo'
document.body.appendChild(contextInfo);
}
contextInfo.innerHTML = '';
contextInfo.style.top = hints.style.top;
contextInfo.style.left = box.right + 'px';
top = parseInt(hints.style.top);
left = box.right;
if(typeof information == "string") {
contextInfo.innerHTML = information;
} else {
contextInfo.appendChild(information);
}
contextInfo.style.display = 'block';
} else {
if (contextInfo != null) {
contextInfo.innerHTML = '';
contextInfo.style.display = 'none';
}
}
});
var startScroll = cm.getScrollInfo();
cm.on("scroll", onScroll);
CodeMirror.on(data, 'close', function() {
if (contextInfo != null) {
contextInfo.parentNode.removeChild(contextInfo);
}
contextInfo = null;
cm.off("scroll", onScroll);
});
function onScroll(cm)
{
var curScroll = cm.getScrollInfo();
var editor = cm.getWrapperElement().getBoundingClientRect();
var newTop = top + startScroll.top - curScroll.top;
if (contextInfo != null)
{
contextInfo.style.top = newTop + "px";
contextInfo.style.left = (left + startScroll.left - curScroll.left) + "px";
}
else
{
cm.off("scroll", onScroll);
}
}
}
CodeMirror.showContextInfo = function(getHints) {
return function(cm, showHints, options) {
if (!options)
options = showHints;
var data = getHints(cm, options);
CodeMirror.attachContextInfo(data);
return data;
}
}
})(); |
The invention relates generally to bibs or shelf talkers, used primarily in retail stores. As anyone who shops in a grocery or convenience store will appreciate, "shelf talkers" or "bibs" are cards, signs or other printed material placed at the shelf locations of items for sale. Some shelf talkers are made of stiff plastic with ears to grip a standard "c" channel at a shelf edge. Other shelf talkers are made of vinyl and have an adhesive backing for attachment to a shelf edge. Still others are cards that are taped to shelf edges.
While vinyl shelf talkers are commonly used in the industry, they are relatively expensive and are known to curl in high moisture conditions (e.g., meat departments). Paper cards offer certain improvements over vinyl, but it is generally inconvenient to tape cards to shelf edges.
What is needed, then, is a less expensive alternative to vinyl shelf talkers which will not curl, is easily detached from a sheet, easily applied to a shelf, and does not require taping. |
Xi Jinping, the Chinese President, recently expressed concerns over a culture of vulgarity that was taking root in the country. This led to self-regulations by certain industries – the most noticeable being the sudden ban of models at the Shanghai auto show, which had a reputation for using scantily dressed females. This move tarnished the image of modeling in China altogether and many girls found themselves out of work. In this episode, we follow a model, an agent and an auto show PR Director who are trying to restore and change people’s perceptions of modeling in China. |
Rare earth elements (REE) are generally considered the fifteen lanthanides and scandium and yttrium. Rare earth elements (and compounds that contain them) have many current and potential future uses. Rare earth elements are used as catalysts in the production of glasses and in time-resolved fluorometry and fluorescence resonance energy transfer in drug discovery assays. Current research projects are also investigating the use of some REEs as anticancer agents. Due to their extreme magnetism, certain REEs have also found use in permanent magnets for wind turbines and in motors for hybrid/electric vehicles.
Rare earth elements are not actually rare, but rather fairly plentiful in the Earth's crust. However, REEs are generally dispersed and not typically found in high concentrations like some minerals and ores. They tend to occur together in nature and are generally difficult to separate from one another. |
Q:
Alignment in custom winforms label control
I used this answer: Alpha in ForeColor
to create a custom label element that allowed fading through ARGB unlike the default label.
using System;
using System.Drawing;
using System.Windows.Forms;
public class MyLabel : Label {
protected override void OnPaint(PaintEventArgs e) {
Rectangle rc = this.ClientRectangle;
StringFormat fmt = new StringFormat(StringFormat.GenericTypographic);
using (var br = new SolidBrush(this.ForeColor)) {
e.Graphics.DrawString(this.Text, this.Font, br, rc, fmt);
}
}
}
I was curious how I would implement TextAlign into this class allowing the text contents to be aligned correctly.
A:
Thanks to @Aybe's comment, I worked out I needed to add the Alignment to the StringFormat var fmt like this:
fmt.Alignment = StringAlignment.Center;
Making the entire class look like this:
using System;
using System.Drawing;
using System.Windows.Forms;
public class MyLabel : Label {
protected override void OnPaint(PaintEventArgs e) {
Rectangle rc = this.ClientRectangle;
StringFormat fmt = new StringFormat(StringFormat.GenericTypographic);
fmt.Alignment = StringAlignment.Center;
using (var br = new SolidBrush(this.ForeColor))
{
e.Graphics.DrawString(this.Text, this.Font, br, rc, fmt);
}
}
}
|
Update on voltage discrepancy issue: we just deployed a fix. Please read on for more details.
We did indeed find a voltage calibration problem in our production process. We conduct a careful calibration and QA step for every monitor we produce, but had an error in the reference for the voltage part of the calibration. We first suspected something was wrong with the reference itself, but found it was actually correct. The problem was that in our factory setup we had an unexpected voltage change between the point where the reference was measured and where the Sense monitors were being powered for the test.
We are making changes to our calibration and testing in the factory for future monitors (and adding more post-production QA steps). And, the reference error was constant so we’re now deploying a software update for existing monitors to correct this.
The release should correct any places in the app that display wattage or voltage both in any real-time and historical views. Please let us know if you are still seeing discrepancies, so we can work together to resolve them. |
Q:
Python: How to pass command-line arg as string instead of tuple?
In my Django site, I'm writing a management command to generate sample data in fixtures for all models, or the specified model.
The first (and only) positional arg should specify the app.model to process, or "all" to do all models.
The problem I'm having is that the arg is a tuple, and when I print it, it shows individual characters as each element of the tuple.
Here's my code (as far as showing the arg):
def add_arguments(self, parser):
parser.add_argument(
'args', type=str, metavar='app.model', nargs='?', default='all',
help='Model in the form: app.model (example: clients.client)')
def handle(self, *args, **kwargs):
self.model = args
print('args-type:', type(args))
print('model-type:', type(self.model))
print('model:', self.model)
Note that I've specified type=str as an add_argument option.
When I try this command line:
docker-compose exec api python manage.py gen_fixtures
...I get this output:
args-type: <class 'tuple'>
model-type: <class 'tuple'>
model: ('a', 'l', 'l')
It's the same if I specify "all" on the command line.
And if I try this one:
docker-compose exec api python manage.py gen_fixtures clients.client
...I get this output:
args-type: <class 'tuple'>
model-type: <class 'tuple'>
model: ('c', 'l', 'i', 'e', 'n', 't', 's', '.', 'c', 'l', 'i', 'e', 'n', 't')
I know that if I'm initializing a tuple in my code with a single value, like my_var = ('one value',) and forget to add the trailing comma, I'll get the same results as above. But in this case, the tuple is being created in the parser, beyond my control. And why is the type=str not having any effect?
I just want a single arg as a string. How can I do that?
A:
You're confusing two things here. *args is a built-in Python way of passing variable arguments to a function; it will always be a tuple. It has nothing to do with the command-line option which you happen to have also called args. You need to get that from the dictionary provided in the second parameter.
def handle(self, *args, **kwargs):
self.model = kwargs['args']
|
<?php
namespace Tests\Feature;
use App\Models\Album;
use App\Services\MediaMetadataService;
use Mockery;
class AlbumThumbnailTest extends TestCase
{
private $mediaMetadataService;
public function setUp(): void
{
parent::setUp();
$this->mediaMetadataService = self::mockIocDependency(MediaMetadataService::class);
}
public function provideAlbumThumbnailData(): array
{
return [['http://localhost/img/covers/foo_thumbnail.jpg'], [null]];
}
/** @dataProvider provideAlbumThumbnailData */
public function testGetAlbumThumbnail(?string $thumbnailUrl): void
{
/** @var Album $createdAlbum */
$createdAlbum = factory(Album::class)->create();
$this->mediaMetadataService
->shouldReceive('getAlbumThumbnailUrl')
->once()
->with(Mockery::on(static function (Album $album) use ($createdAlbum): bool {
return $album->id === $createdAlbum->id;
}))
->andReturn($thumbnailUrl);
$response = $this->getAsUser("api/album/{$createdAlbum->id}/thumbnail");
$response->assertJson(['thumbnailUrl' => $thumbnailUrl]);
}
}
|
France next in line to legalise gay marriage
France is next in line to legalise same-sex marriage, according to a disputed bill pushed by President Francois Hollande on Wednesday, which would defy opposition from the country's Roman Catholic and conservative leadership.
Currently, less than a dozen countries in the world have legalised gay marriage, although most of them are in Europe.
Denmark, Norway, Sweden, Spain, Portugal, Netherlands, Iceland and Belgium have all moved away from the traditional definition of marriage between one man and one woman, and Britain is also considering changing its marriage laws.
The top ministers in France have already approved the measure, marking another successful agenda for Hollande's liberal campaign, The New York Times reported. The president has called the bill "progress for all society".
The new law will redefine marriage as "contracted between two persons of different sex or of the same sex", while the words for "father" and "mother" in French will be replaced by "parents" – allowing them also to start adopting children.
Christiane Taubira, France's justice minister, has also described the bill as "marriage for all" and has said that it comes as response to a "demand for equality".
While supported by the majority of the French population, it stands in stark contrast to the wishes of the conservative opposition in France, who have warned that such a breakaway from traditional values will signal the end of the traditional family unit.
"It's the end of the family, the end of children's development, the end of education. It's an enormous danger to the nation," said UMP Senator Serge Dassault on the radio show "France Culture".
Although France has felt a move toward secularism in recent years, the dominant religious voice there remains the Roman Catholic Church – which is also very much opposed to such changes. Cardinal André Vingt-Trois, the Roman Catholic Archbishop of Paris, has called the bill a "deception", and has questioned how "the marriage of a few imposed on everyone" means that France is working toward equality.
"When we defend the right of children to build their personality with reference to the man and the woman who gave them life, we are not defending a particular position," the cardinal said.
Gilles Bernheim, the chief rabbi of France, added: "There would not be courage and no glory in voting a law by using slogans more than arguments and by complying to the dominant political correctness." |
The inventive concept relates generally to memory controllers, methods of operating memory controllers, and apparatuses incorporating memory controllers. More particularly, the inventive concept relates to memory controller operating methods capable of copying back page-group data from one memory block to another memory block during a read refresh operation.
Flash memory devices include a vast number of individual memory cells that operate under various conditions related to both the memory cells themselves and the flash memory device as a whole. For example, it is well understood that each flash memory cell will gradually ‘fatigue’ (or wear-out) over its operational life. Additionally, the quality (or reliability) of the data stored by a memory cell at any given point in time will be affected by certain eternal (e.g., noise, environmental, and/or operating voltage-related) factors. That is, the actual threshold voltage exhibited by a programmed flash memory cell relative to a set of defined threshold voltage distributions is a function of many factors. Accordingly, memory system designers seek to account for these many factors in order to provide data having the highest data reliability that may be reasonably expected for a memory device, given its age, use, and overall functionality. |
Timbers head coach Caleb Porter talks about last week's game against Columbus, Fanendo Adi's record-tying goal and looks ahead to Sunday's game against the New England Revolution. |
Telephone-related lightning injury.
The case of a man who was injured by a stroke of lightning while using the telephone is reported. The patient sustained paralysis, sensory symptoms, otological disturbance and pathognomonic dendriform cutaneous marks (Lichtenberg figures). The relevant literature is reviewed, and the epidemiology and preventive measures are discussed. |
Q:
How can I make my tag display the same in Internet Explorer as in other browsers?
Please help, after hours of tweaking to get all major browsers to display my form the same, I give up. Can anybody see what is the catch?
This is the link of my working site:
http://staging.redcoats.co.uk/
The problem is in the upper-left corner with the form “Book a Room”. The <legend> tag works as I want in all major browsers except IE, of course :-(
In IE the legend tag is positioned inside the fieldset instead, one half in, one half out of fieldset.
How to achieve that in IE, but not to alter design in all other browsers?
Thanks.
A:
Instead of using the <legend> tag, you could use an absolutely positioned <div>, and then style it to look like the <legend> you are using. That way you do not need to rely on a rarely used element, that is inconsistently rendered in many of the older browsers.
|
Thor: Ragnarok Review
Thor: Ragnarok swallows up the seminal Planet Hulk story and spits out Thor: Rock Star.
After Thor introduced us to a whole new word, Guardians of the Galaxy expanded that to an all-new galaxy and Doctor Strange showed the potential that the Marvel Cinematic Universe could offer, Ragnarok starts to bring it all together into one unified whole in anticipation of the upcoming Infinity War. With the out-of-this-world colour and funky soundtrack of a Guardians movie, the hard-hitting ground-pounding of a Hulk movie, and the epic swords and shields scale of a Thor flick, Ragnarok delivers a perfectly-balanced blend of humour, action and impact, completing Thor's journey from within a much more extensive, expansive story of epic proportions.
In much the same way as Captain America: Civil War took the epic comic book story arc of Civil War and injected it into Cap's franchise to book-end his character's journey across the three films, and Iron Man III borrowed largely from the Iron Man: Extremis and The Mechanic comic book tales, Thor: Ragnarok not only takes from its own heritage but also borrows heavily from one of Hulk's best comic book tales - Planet Hulk - giving us likely the best, albeit very limited, glimpse at the universe that seminal story offered (what with Marvel Studios prevented from making a solo Hulk flick) and making Thor's galaxy-hopping journey home all the more epic.
Seeking help from Doctor Strange to find Odin, his missing father, Thor discovers a far greater evil looming - Hela: The Goddess of Death - but, before he save the people of Asgard, he finds himself literally crash-landing on a strange new planet where he's captured and forced to battle in a Gladiator-like contest against the reigning champion, a certain Angry Green Man.
New Zealand director Taika Waititi's Hollywood debut may well still be a Marvel movie through and through, but it's also got a blisteringly colourful identity of its own, imbued with much of the same curious, offbeat humour and undeniable heart of the director's earlier, unexpectedly warm The Hunt for the Wilderpeople. Waititi brings a fresh style to the Thor franchise after Dark World, capitalising on the bookended use of Led Zeppelin's Immigrant Song, whilst giving the whole Planet Hulk element its very own 80s videogame score. Apparently he wanted Queen, but not without Mercury, and Mark Mothersbaugh's score (he's the man behind most of the seminal soundtracks to Wes Anderson's greats, including The Life Aquatic) is definitely Queen-inspired, by way of Jean-Michel Jarre's synthesiser, giving large swathes of the film the fun feel of Flash Gordon. It's quite a surprise for not only a Marvel film - but a main Marvel film (i.e. core Avengers characters, not Guardians) to be this much... fun, and it definitely follows on well from this year's colourful Guardians sequel.
Ragnarok is easily the best Thor movie
Waititi tells an epic tale across his two-and-a-quarter hour runtime, bringing many of the elements from Planet Hulk to life - many of the characters - although, disappointingly for fans of the story, not the same stakes. Instead the desert world of the comic book's Sakaar is swapped out for something that looks more inspired by Luc Besson's The Fifth Element, and the evil Red King turned into Jeff Goldblum's eccentric little Grandmaster, who enjoys playing his electric keyboard whilst talking to his enemies. If this had been a Hulk movie, it would have been a devastating diversion from the game-changing, and tragic, tale (imagine injecting full-on comedy into Ridley Scott's Gladiator) but this isn't a Hulk movie, and the twist on Planet Hulk is fantastically fun and entertaining, giving us more fish-out-of-water hilarity from Thor, more brilliant banter between him and Hulk, and room for Tessa Thompson to shine as the Marvel universe's loud-mouthed and least likely drunk heroine. Indeed all the bit characters shine - from Elba's fugitive freedom fighter, Heimdall, to Hiddleston's trickster Loki (although the other actor who 'plays' Loki was a great, hilarious surprise). Cate Blanchett also channels Angelina Jolie's Malificent to great effect (and looks surprisingly like Evangeline Lilly's Wasp belying her pushing-fifty age) as the horned Goddess of Death, and whilst her path is almost side-lined for the Planet Hulk sequences, she makes for an effective opponent and catalyst to Thor's character development.
And it is a Thor movie through-and-through (arguably moreso than Civil War was a Captain America movie), with Hemsworth on superbly witty (although strangely CG-bulked-up) form as the Norse God with attitude. The opening confrontation sets the tone - as a chained-up Thor frustrates his Big Bad opponent's grand speech by literally twisting in the wind - and you're guaranteed a wildly fun, wildly colourful rollercoaster of a ride from then on out. Prepare for something very different, because that's what Waititi has given us. Not just another great Marvel chapter, but - surprisingly - one of the funniest Marvel entries, and easily the best Thor movie so far. |
Cold atom beam sources can be utilized in various systems which require extremely accurate and stable frequencies, such as atomic clocks. As an example, atomic clocks can be used in bistatic radar systems, global positioning systems (GPS), and other navigation and positioning systems, such as satellite systems. Atomic clocks can also be used in communications systems, such as cellular phone systems. Some cold atom beam sources can include a magneto-optical trap (MOT). A MOT functions by trapping atoms, such as Cesium (Cs) or Rubidium (Rb), in an atom trapping region, and may be configured such that the atoms can be emitted as a substantially collimated atom beam from an aperture. Thus, the emitted cold atom beam can be implemented as a frequency reference, replacing the more typical hot atom beam. |
Current issues in pediatric ambulatory anesthesia.
This article summarizes current guidelines in pediatric ambulatory anesthesia and surgery. The reader is provided with our department's current outpatient guidelines at Children's Hospital of Philadelphia and the rationale behind them. Whenever possible, the differences in anesthetic management for the freestanding surgicenter will be discussed. Appropriate patient and procedure selection, preoperative assessment, intraoperative and postoperative considerations, and protocols for follow-up are discussed. |
RNA Biology Laboratory
RNA from the origins of life to today’s lives
The origin of life is almost impossible to track. Chemical conditions on early earth were harsh and complex and are very difficult to reconstruct. Thus, it is challenging to understand how a system of biomolecules that supports Darwinian evolution could evolve out of organic molecules of prebiotic origin. In recent years, theoretical and experimental chemistry combined with analysis of extreme chemical environments on earth and on extraterrestrial missions have helped our understanding of early life’s chemistry.
Today, we assume that the earliest moment in molecular evolution that allowed for heredity is represented by an “RNA world”. This term describes a scenario, where the genetic information was passed on in the form of RNA, which also acted as the key catalyst. Nowadays, RNA has lost the function of information storage to DNA and the function of catalysis to proteins. Nevertheless, it is still critical for all cellular functions. It acts on multiple steps in the translation of DNA sequences into proteins. Furthermore, RNA can act as a ribozyme and through a plethora of small and long non-coding RNA (ncRNA) regulates gene expression and protein translation.
Thus, it is not surprising that RNA has reentered the central stage of biomedical research in recent years. The use of small interfering RNA has revolutionized experimental research and drug discovery allowing for genome-wide screens for virtually every cellular process. New classes of ncRNA have opened new avenues for our understanding of gene regulation and may provide new mechanisms and targets for medical interventions. Therefore, RNA research is experiencing an extremely exciting period of new discoveries that will not only change our view about how life came to place but may also affect our daily lives in the future. |
Embodiments of the invention relate generally to structures and methods for packaging electrical components and, more particularly, to an electronics package and associated method of manufacture that provides self-alignment of the electrical component(s) to a pre-tested interconnect assembly.
As semiconductor device packages have become increasingly smaller and yield better operating performance, packaging technology has correspondingly evolved from leaded packaging, to laminated-based ball grid array (BGA) packaging, to chip scale packaging (CSP), then flip chip packages, and now buried die/embedded chip build-up (ECBU) packaging. Advancements in semiconductor chip packaging technology are driven by ever-increasing needs for achieving better performance, greater miniaturization, and higher reliability. New packaging technology has to further provide for the possibilities of batch production for the purpose of large-scale manufacturing thereby allowing economy of scale.
A standard embedded device manufacturing process typically begins with coating a top surface of a mounting substrate with an adhesive and placing one or more semiconductor dies or chips into the adhesive. A plurality of re-distribution layers are then deposited onto the mounting substrate and the die(s) and are patterned to form a thin-film metal re-routing and interconnection system, with eight or more re-distribution layers being common. The re-distribution layers are typically formed from a benzocyclobutene (BCB) or polyimide material, for example, and applied via a spin-on or lamination application process. The electrical connection between the laminate re-distribution layers and the die(s) form an input/output (I/O) system to and from the die(s).
Advancements in IC packaging requirements pose challenges to the existing embedded chip build-up process. In order to manufacture smaller and more complex IC packages, dies must be positioned more closely together and with great precision on the dielectric. However, the adhesive layer that couples the dies to the dielectric can make precise alignment of closely spaced dies difficult. For example, when two or more dies are positioned in close proximity to one another on the dielectric, the dies have a tendency to “swim” or move out of the desired position during the adhesive curing process. In addition to merely moving out of the desired position, closely spaced dies may be attracted to one another while the adhesive is curing, a phenomenon that may cause the undesired result of dies touching or becoming stuck to one another in the final electronics package.
Additionally, in order to meet the continued demand for smaller and more complex IC packages, highly complex interconnect structures are integrated within embedded packages to form the electrical connections between embedded electrical components and package I/Os. These complex interconnect structures carry with them inherent yield losses resulting from processing defects such as electrical shorts and/or opens. These defects become more prevalent as line widths, line spacing, and via diameters are reduced as device I/O count increases. In conventional flip chip or wire bonded chip carrier assemblies, the interconnect structure is fully fabricated and electrically tested prior to assembling a costly chip. Thus, a defective interconnect structure does not cause the loss of a costly chip. The interconnect structure in embedded packaging techniques, on the other hand, is fabricated after the electronic devices have been incorporated into the structure, potentially causing a good chip to be scrapped with a bad package.
Accordingly, it would be desirable to provide a new electrical package structure and associated manufacturing process that can provide the advantages of an embedded chip module without the costly loss of a good electrical component due to a defective interconnect structure. There is a further need for a simplified method for fabricating an electronics package that allows for precise die alignment and closer die spacing within the IC package. |
Q:
Invalid Iterator Fix
So, looking for advice on how to fix a situation or maybe a better way to program it.
I'm using iteration to build a complicated string from key:value pairs in an unordered_map. To make this work, I'm iterating through the map to find specific items, then sending a search term to an outside function to create the string. The outside function uses its own iterator to search the same unordered_map for the passed search term, then creates the string, then erases the entries that it referenced. The problem, I believe, is that although the outside function's iterator is still valid because it called the erase function, the iterators in the main function are now invalidated and throwing an out of range error. Is there a way to reset the iterators or send them to the next valid key:value pair when they become invalidated in order to avoid the error?
The code is a mess (mostly because I'm still discovering C++) and it might be possible to use recursion to accomplish this, but I wasn't able to get recursion to work correctly.
I can post the code, but without understanding the inputs and required outputs, it's likely not going to help explain anything, so for now, I'll just leave the question as-is: is there a way to "re-validate" invalidated iterators?
A:
I was able to resolve the issue by redefining each of the iterators once the scope of control returned back to them. For the last iterator (in the outside function) that deleted individual key:value pairs from the unordered_map, I used:
if (it != map.end()) it = map.erase(it);
This forces the iterator to move to the next valid key:value pair after the erasure.
That worked for the end of the line, but didn't work once control was returned to each of the previous iterators. In those case, the iterators were invalidated when the outside function erased a key:value pair. So as control returned to an iterator, I included the following line before it looped back for increment:
if (it != map.end()) it = map.begin();
It seems to have resolved all of the issues, though I'm sure there's a better way to handle it.
|
MinUI is a huge failure. I'm sorry but there seems to be no reason for it. All the apps are there, they're specifically disabled in the registry. It doesn't take any longer to boot up. Stupid, stupid, stupid. |
Analysis of the multifunctionality of Marburg virus VP40.
The Marburg virus (MARV) matrix protein, VP40, is a multifunctional protein that is essential for the assembly and release of viral particles, inhibition of the interferon response and viral transcription/replication. VP40 is assumed to be present as soluble monomers and membrane-bound higher-order oligomers. To investigate the functional relevance of oligomerization and lipid binding of VP40 we constructed mutants with impaired VP40-VP40 or VP40-lipid interactions and tested their capacity to bind the plasma membrane, to form virus-like particles (VLPs) and to inhibit viral RNA synthesis. All of the analysed VP40 mutants formed perinuclear aggregates and were defective in their delivery to the plasma membrane and in VLP production. The VP40 mutants that were competent for oligomerization but lacked VP40-lipid interactions formed fibril-like structures, influenced MARV inclusion body formation and inhibited viral transcription/replication more strongly than the VP40 wild-type. Altogether, mutations that interfere with VP40's transition from monomer to higher-order oligomers and/or lipid interactions destroy the protein's multifunctionality. |
Magnetic-Directed Assembly from Janus Building Blocks to Multiplex Molecular-Analogue Photonic Crystal Structures.
The predictable assembly of colloidal particles into a programmable superstructure is a challenging and vital task in chemistry and materials science. In this work, we develop an available magnetic-directed assembly strategy to construct a series of molecular-analogue photonic crystal cluster particles involving dot, line, triangle, tetrahedron, and triangular bipyramid configurations from solid-liquid Janus building blocks. These versatile multiplex molecular-analogue structural clusters containing photonic band gap, fluorescent, and magnetic information can open a new promising access to a variety of robust hierarchical microstructural particle materials. |
Medical devices may be used to treat a variety of medical conditions. Medical electrical stimulation devices, for example, may deliver electrical stimulation therapy to a patient via implanted electrodes. Electrical stimulation therapy may include stimulation of nerve, muscle, or brain tissue, or other tissue within a patient. An electrical stimulation device (“stimulator” or “electrical stimulator”) may be fully implanted within the patient. For example, a stimulator may include an implantable electrical stimulation generator and one or more implantable leads carrying electrodes. In some cases, implantable electrodes may be coupled to an external electrical stimulation generator via one or more percutaneous leads or fully implanted leads.
Stimulators may be used to deliver electrical stimulation therapy to patients to relieve a variety of symptoms or conditions such as chronic pain, tremor, Parkinson's disease, depression, epilepsy, urinary or fecal incontinence, pelvic pain, sexual dysfunction, obesity, or gastroparesis. An electrical stimulator may be configured to deliver electrical stimulation therapy via leads that include electrodes implantable proximate to the spinal cord, pelvic nerves, gastrointestinal organs, peripheral nerves, or within the brain of a patient. Stimulation proximate the spinal cord and within the brain are often referred to as spinal cord stimulation (SCS) and deep brain stimulation (DBS), respectively.
A clinician selects values for a number of programmable stimulation parameters in order to define the electrical stimulation therapy to be delivered to a patient. For example, the clinician may select a current or voltage amplitude of the stimulation, and various characteristics of the stimulation waveform. In addition, the clinician may specify an electrode configuration used to deliver stimulation, including selected electrode combinations and electrode polarities. If the stimulation is delivered in the form of pulses, for example, the clinician may specify a current or voltage pulse amplitude, pulse width and pulse rate. A set of parameter values may be referred to as a stimulation program. A program group may include multiple programs. Multiple programs in a program group may be delivered on a simultaneous, time-interleaved, or overlapping basis. |
<?php
namespace Phug;
use Phug\Util\Exception\LocatedException;
/**
* Represents an exception that is thrown during the compiling process.
*/
class CompilerException extends LocatedException
{
}
|
Outside Malaysia there are other groups, including RAN, and individuals who are also trying hard to stop KLK.
However, here in Malaysia PO issues involving Msian companies…labour, abuse, land grabs, orangutans etc etc is never covered by the mainstream Malaysian media. In our experience Malaysian PO companies are never publicly pressured here at home.
From reports we received, it seems KLK have started to resort to intimidation, with one case of physical violence already reported (we are trying to make this public). FYI KLK have been exposed previously re child, forced labour in plantations belonging to KLK. And now issues in Liberia.
Please also sign and share the petition by RAN to pressure KLK’s banker, HSBC.
Welcome to MESYM!Connecting the green dots
MESYM.com is a crowd-sourced platform and a living database for environmental movements in Malaysia. There are many good actions being done out there. Our goal is to bring them together. We connect the green dots. |
There have been many screenings in the Bay Area of a privately produced film called Thrive. It is a long documentary, created in a New-Agey, pseudoscientific mode, which would be fairly innocuous if it were not masking a reactionary, libertarian political agenda that stands in jarring contrast with the soothing tone of the presentation.
Foster Gamble, the creator and narrator of the film, is heir to the Proctor Gamble empire. One advantage of being wealthy is that you can make a film for which you choose the cast, director, producer, and staff. One of the disadvantages is that you end up working with people who won't challenge your ideas or politics. That feedback loop is clearly missing from Thrive.
Certainly, progressives can find common ground with some of the stated goals of the film. We may agree on banning GMOs, eradicating pollution, and stopping bank bailouts, but our solutions are very different from the anti-government ones posed by libertarians and by the ones promoted in Thrive. For example, government regulations could have prevented the runaway libertarian agenda that was pushed by Alan Greenspan and his Ayn Randian cohorts. They could have prevented bundled foreclosure loans and derivatives that gambled away people's pensions and savings. And they could have prevented the housing bubble and subsequent foreclosure debacle. At one time, we did have such legislation. That was before the right-wing attack on all things government.
Although Gamble thinks he is creating a political center where the right and left can join together, he proposes only libertarian solutions (e.g., voluntary education, voluntary taxes, and shrinking the government).
Oliver Wendell Holmes reportedly said, "Taxes are what we pay for civilized society." Gamble considers taxes to be theft and doesn't realize that an informed citizenry might create a government by, of, and for the people who pay the taxes. But, this would require a mature citizenry, not one stuck in the adolescent phase of development that focuses doggedly on individual rights with little regard for the individual's responsibility to civil society.
Gamble admits to being "profoundly influenced by Ludwig von Mises," founding member of the libertarian Austrian School of Economics. As an author, von Mises is celebrated by right-wing presidential candidate Michele Bachmann, who claims, "When I go on vacation and I lay on the beach, I bring von Mises."
If I thought the film was libertarian propaganda, it was nothing compared to what I found on the Thrive website. The "Liberty" paper (under the Solutions section) is a real shocker. Peppered with quotes from Ayn Rand, Ron Paul, and Stefan Molyneux, there is even an attack on democracy! Gamble lumps democracy in with bigotry, imperialism, socialism, and fascism and says they all -- including democracy! -- violate the "intrinsic freedom of others."
Another disturbing aspect of the film is that Gamble primarily interviewed progressives: Vandana Shiva, Paul Hawken, Elisabet Sahtouris, Danny Sheehan, John Robbins, Amy Goodman, and several others. By speaking with a few of these people, I learned that they did not know the political slant of the film when they were interviewed. One interviewee said he felt this was manipulative. Interviewing admired progressive thinkers and doers in a film that ultimately supports a radical, libertarian agenda does seem odd -- unless there is another agenda at work. Perhaps in next year's election campaigns, we might see Gamble and the thrive movement endorse Ron Paul and the new Americans Elect third party, which is a right-leaning movement masquerading as a "center" party.
This reactionary program sold as a "vision" on the Thrive website is nothing short of a dark fantasy intent on returning us to the 19th century, complete with no taxes, no labor laws, no child labor laws, no regulation of pollution, no social security, no Medicare, no public education, no government programs for the people. Instead, there would be a voluntary type of social regulation. We saw how well that worked in the 19th century.
It is our responsibility to educate family and friends about the reactionary philosophy behind Thrive. This is a great opportunity for discussion and debate! |
Q:
I am getting issues if I use @property(atomic,retain)NSString *myString
Possible Duplicate:
Atomic vs nonatomic properties
I am getting issues (errors) if I use @property(atomic,retain)NSString *myString like Expected a property attribute before "atomic".
I studied the difference between atomic and nonatomic from Stack Overflow question What's the difference between the atomic and nonatomic attributes?.
Where do I use atomic and nonatomic?
A:
Note that you cannot use the attribute atomic. There is either non-atomic or none (atomic is the default case). So you are looking for @property(retain) NSString *myString;.
|
{
"language": "cn",
"plugins": [
"splitter",
"github",
"multipart",
"mathjax"
],
"pluginsConfig": {
"github": {
"url": "https://github.com/Desgard"
}
}
}
|
Spike Lee
Internationally acclaimed director, producer and actor Spike Lee has built his career on chronicling the African-American experience in his films. But for all of his knowledge about African American history, he knew very little about his own family history. After the death of this mother, Spike was raised by his maternal grandmother Zimmie Jackson - and it's her ancestry he's curious about.
Determined to find out more about his family's slave origins, Spike set out with one clear question in mind - 'who owned my family?'. His first stop is Atlanta Georgia where Zimmie lived for most of her life.
In Atlanta he visits Spelman College, America's oldest black college for women, which his grandmother Zimmie attended in the 1920s. From here he heads to the archives where he traces back through the generations uncovering the names of his three times great grandparents. This discovery sets him off on a journey which takes him back through slavery, the American Civil War and emancipation.
Spike's journey culminates in Texas, when he comes face-to-face with a descendant of the man who had enslaved his ancestors. |
Q:
передать @string в activity
В папке res/values есть файл string.xml в нем есть строка:
<string name="linkads">"https:google.com/"</string>
есть еще файл string.xml на другом языке.
Есть mainactivity в котором есть:
List<String> links = new ArrayList(){
{
add(getApplicationContext().getResources().getString(R.string.linkads));
}
};
У меня почему-то происходит вылет когда я вызываю этот List
ошибка:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
A:
В случае с Toast, есть метод, принимающий число, являющееся идентификатором строкового ресурса. В вашем случае, будет выглядеть так:
Toast.makeText(getApplicationContext(), R.string.fun, Toast.LENGTH_SHORT).show();
В случаях, когда методов, принимающих число, являющееся идентификатором строкового ресурса нет и вам надо получить строку из ID ресурса, вы можете сделать так:
String string = getApplicationContext().getString(R.string.fun);
|
Ultrathin oxides: bulk-oxide-like model surfaces or unique films?
To better understand the electronic and chemical properties of wide-gap oxide surfaces at the atomic scale, experimental work has focused on epitaxial films on metal substrates. Recent findings show that these films are considerably thinner than previously thought. This raises doubts about the transferability of the results to surface properties of thicker films and bulk crystals. By means of density-functional theory and approximate GW corrections for the electronic spectra we demonstrate for three characteristic wide-gap oxides (silica, alumina, and hafnia) the influence of the substrate and highlight critical differences between the ultrathin films and surfaces of bulk materials. Our results imply that monolayer-thin oxide films have rather unique properties. |
Premature ejaculation: a psychophysiological review.
This review examines the most common male sexual dysfunction, premature ejaculation (PE). The prevalence, classification, neurophysiology, neuropharmacology, and psychological studies that offer evidence useful for understanding and clinically evaluating PE are reviewed. It is proposed that there are two basic kinds of PE: biogenic and psychogenic. Studies reporting pharmacological aspects of ejaculation offer some suggestions regarding the mechanisms of ejaculation as well as possible pharmacologic aid for some premature ejaculators. The traditional assumption among sex therapists that PE is almost universally caused by psychological features, and easily treated with sex therapy behavioral techniques, is drawn into question. Based on the limited available results from systematic investigations, behavioral treatments for PE remain beneficial to only a minority of men three years after treatment ends, suggesting that this male dysfunction is difficult to treat effectively. The mediocre results reported in treatment outcome studies may be due, in part, to reports on heterogeneous groups of premature ejaculators, for whom treatment has been generalized rather than targeted to the specific type of PE. We propose a biological and psychological etiology. With more discriminating assessment and more specific diagnosis of PE, and with treatment designed to address the particular type of PE, long-term outcome should improve for this common sexual dysfunction. |
Members of the Moroccan parliament have been engaged in a heated debate for weeks over a government draft bill aimed at putting an end to free education in Morocco, a move that has triggered widespread anger among students, academics and education syndicates.
The bill proposes primary education to remain free for all Moroccans, but suggests fees on secondary and higher education for high-income families.
The proposed changes do not specify who will be eligible to pay, or the conditions under which families will be exempted from the new fees.
A number of MPs from both the ruling coalition and opposition parties have threatened to vote against the move, pointing out that the proposed law prejudices the right of Moroccans to free education.
The opponents of the bill also warn that the new legislation will lead to a serious decline in the quality of the country's educational system.
Abdul Razzaq el-Idrissi, general secretary of the National Federation for Education, told Al Jazeera that the law may lead to "students leaving school because of the inability of their families to pay fees".
Many Moroccan students complain that the cost of education is high enough as it is, and that the government should instead offer more scholarships to offset these costs.
"I study in a different city, far away from my home; not only must I pay for any academic-related expenses, but I must also pay for the bare necessities, including rent, food, transportation and so on," Intissar Louah, a Moroccan university student told Al Jazeera.
Students like Louah, who travel to study in different cities, get stipends every three months to help with university expenses while they study.
She said many like her would not have been able to continue their education without this help.
"I can only imagine how difficult it would be for them to pursue their studies if [the authorities] were to impose tuition fees," Louah added.
The Moroccan government has made reassurances that universities will continue to remain accessible to all citizens.
"The adoption of fees for registration in educational institutions concerns only affordable families, according to regulations that take into account the level of income and ability to pay," Moroccan government spokesman, Mustapha el-Khalfi, told Al Jazeera.
However, many Moroccans are concerned that the government has not clarified who will be asked to contribute towards the fees.
"We do not know on what basis the government will decide who is eligible to pay the fees and who is not," Mohamed Ben Lahcen, a teaching trainer, told Al Jazeera.
"What improves education is good management ... not abundant amounts of money," he added. |
Q:
How to set the option selected to true if selected
.filter
select(name="filter")
each list in lists
option(value='?list=' + list, selected=filter == list)= list
HTML example
<select name="filter">
<option value='?list=A'> A </option>
<option value='?list=B' selected> B </option>
</select>
selected = filter ==list
does not do anything. Not sure where things go wrong. Need to be able to set option selected to true if it is 'A' or 'B'
Help appreciated.
A:
The selected attribute is only required to be present. It has no value, setting it is redundant and possibly wrong.
selected
If present, this Boolean attribute indicates that the option is initially selected. If the <option> element is the descendant of a <select> element whose multiple attribute is not set, only one single <option> of this <select> element may have the selected attribute.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
You need to do something like this
.filter
- var lists = ['A','B','C'];
select(name="filter")
each list in lists
if(list=='B') // < based on condition
option(selected)= list // include "selected"
else
option()= list // or not
|
The relationship between atopy and cystic fibrosis.
The incidence and clinical significance of allergy in cystic fibrosis have been discussed. There is little evidence that the high prevalence of positive allergy skin tests in CF is a clinical manifestation of a hypersensitivity lung disease complicating the primary pulmonary disorder, except in the special case of allergic bronchopulmonary aspergillosis. The lung disease of CF appears to be caused by excessive bronchial secretions and recurrent infection that are the result of abnormal ion transport across the apical membrane of the respiratory epithelial cell. There are two important questions concerning the allergic reactions: Are they clinically significant, and, why do they occur? The former question is partly resolved by the data presented, although well-controlled studies of intervention would help to resolve it further. The cause of these reactions, which occur particularly in relationship to the mold Aspergillus fumigatus, is unknown but the author is inclined to the view that they are the result of recurrent infection that induces heightened immunologic reactivity to inhaled allergens. The significance of AF may be simply that this mold has a "predilection for diseased airways" or may be more complex; for example, owing to abnormal ion composition in respiratory secretions, abnormal lectin expression by CF respiratory epithelial cells, or selective filtration by the airways based on particle size. |
No two shows have captured the good life in New York City (particularly for young women), quite like Gossip Girl and Sex and the City. Though set nearly a decade apart, the fundamentals that each series highlighted (friendship, style, romantic relationships) have been able to transcend time — with names like Blair Waldorf, Serena van der Woodsen, Carrie Bradshaw, and Samantha Jones holding just as much significance today as they did when they first hit the city streets. Nearly every New... |
Assessment of antihypertensive treatment by ambulatory blood pressure monitoring.
Whole-day ambulatory blood pressure monitoring provides a better diagnosis of hypertension and a better prediction of long-term cardiovascular complications than conventional office measurements. Ambulatory monitoring is a reliable technique for the assessment of antihypertensive drugs. First, it determines truly hypertensive patients in whom treatment is appropriate. Second, ambulatory blood pressure monitoring helps to evaluate the efficacy of antihypertensive therapy during average working days. Finally, this method allows investigators to establish the duration of antihypertensive activity of new drug formulations, and thereby to improve compliance. |
Tremorous mouth movements in rats administered chronic neuroleptics.
Oral movements (OMs) in rats administered chronic haloperidol (HAL) were quantified simultaneously by a human observer and via a computerized video analysis system which monitored the distance between the upper and low lips using TV images. The human observer data indicated that during HAL administration the total duration of OMs was initially decreased, gradually returned to levels slightly above controls, and then increased substantially upon drug withdrawal. The computer records confirmed these findings and further indicated that after prolonged HAL administration a syndrome developed in which large-amplitude OMs remained suppressed but OMs of the smallest detectable amplitudes increased. Upon drug withdrawal, these small OMs increased in amplitude and rhythmicity, developing into repetitive tremors. |
Wearing Green Socks might make you Heal Faster?
Green is the color of healing. It’s related to the heart chakra. Green is the color of nature and conjures up images of growth and rebalancing. Many cultures color their money green, and green is an emotionally positive color. It is the perfect combination of both yellow, which is associated with joy and blue which is wisdom. Green can be used as a calming color because it has the optimism of the yellow and the insightful peace from the blue. Green is associated with the word, GO.
So next time you are not feeling so good, try wearing green color socks with the intent of it moving you forward into health and happiness. Your legs are associated with movement, and I’m sure your feet wouldn’t mind a little love and nurturing!
Think about what how you can bring more color into your life, with intent. Magic could happen! |
Tag Archives: peach
There’s taking things toofar and there’s takingthings too far. This story falls into the second, more literal category. But at least it has a happy ending:
The well-travelled cake
I was merrily creaming butter and sugar in preparation for this, Nigel Slater’s lush peach and blueberry cake. My wilted peaches, the cake’s raison d’être, sat expectantly on the kitchen surface. They were in urgent need of a botox injection but settling for some oven-based TLC. Then, as I twiddled the oven dials to warm it up to receive my culinary efforts, it became apparent that nothing would get baked that day.
I’m no stranger to temperamental elements going ele-mental, nor to the heartache they can cause the keen cook. I knew then with grim certainty that me and the oven would be out of action for a good two weeks. I would have two weeks to apportion blame, wondering forlornly whether one can cook too much and overwhelm a kitchen appliance, or whether said appliances are primed like bombs to self-destruct at regular (in my case six-month) intervals for the manufacturer’s pecuniary delectation. Now was the time for action. I had two severely compromised peaches whose lives only I could save from being futile. I had to do something.
Do you ever forget your manners at home? All greedy gourmets will know what I’m talking about. Imagine that you’re coming to the end of a lipsmackingly good meal. In denial that it’s about to end, you start mining the last dribbles of sauce from the seams of your plate. Perhaps you’ll surreptitiously lick your knife clean. You might even brush a cheeky finger along the edge of the plate and bring it to your lips to capture any errant drops and make the pleasure linger. Suddenly, you’re snatched from your reverie by your mother, who slaps your hand sharply and gives you a dark look, or your partner, who grimaces at you pointedly and asks what’s for dessert. It’s happened to us all.
The same scene unfolds, for me at least, when I’m eating tricky foods alone and hidden away in my flat. Here, in privacy, received etiquette goes out the window and jars of peanut butter are treated as single servings to save on washing up, while visitors might find me hunched over the sink with peach juice dribbling down my chin and arm, or sitting in front of the TV with a plastic bag in my lap to catch the run-off from a particularly effusive orange.
All well and good, right? But I wouldn’t do this sort of thing in public – at least not sober. So why do other people? |
“Losing your home because you inadvertently let your grass get too long is the very definition of an excessive fine,” said Institute for Justice attorney Ari Bargil in the statement. “No one should face crippling fines, let alone foreclosure, for trivial code violations. Dunedin’s Code Enforcement Board operates like a nightmarish homeowners association, but as a public board, it cannot rule with an iron fist. Rather, it must abide by state laws, as well as the state and federal constitution.” |
The company's new interim CEO, John S. Chen, spoke at length this
morning about BlackBerry's new five-year partnership with
Foxconn, the manufacturer that makes products for Apple and other
big tech companies. BlackBerry will use Foxconn to focus on
making devices for emerging markets like Indonesia and other
Asian countries.
Here's what BlackBerry's stock looks like today. You can see the
huge spike this morning following Chen's talk on the company's
earnings call.CNBC |
Q:
Cypress Testing - Expect input to be empty
I have an text input field that i would like cypress to check if it's empty.
I've tried:
cy.get('[data-cy=inputField]').should('not.have.value');
cy.get('[data-cy=inputField]').should('be.empty');
both tests pass even though even though there is text in the field.
A:
I've found the solution. It works when i expect it to have the value of an empty string.
cy.get('[data-cy=inputField]').should('have.value', '');
|
"A delight ... a perfect balance between realism and fantasy, between the beauty of the language and the action ... I'd commend Hannah Knapp's Olivia for an unusually humorous performance of a difficult part. She's appropriately beautiful, vivacious, flirtatious, [and] silly (as those in love often are) ... a magical evening."
- Susan Mayall, The Independent |
// AClikVw.cpp : implementation of the CAutoClickView class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include "stdafx.h"
#include "AutoClik.h"
#include "AClikDoc.h"
#include "AClikVw.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView
IMPLEMENT_DYNCREATE(CAutoClickView, CView)
BEGIN_MESSAGE_MAP(CAutoClickView, CView)
//{{AFX_MSG_MAP(CAutoClickView)
ON_WM_LBUTTONDOWN()
//}}AFX_MSG_MAP
// Standard printing commands
ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView construction/destruction
CAutoClickView::CAutoClickView()
{
// TODO: add construction code here
}
CAutoClickView::~CAutoClickView()
{
}
BOOL CAutoClickView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView drawing
void CAutoClickView::OnDraw(CDC* pDC)
{
CAutoClickDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
pDC->TextOut(pDoc->m_pt.x, pDoc->m_pt.y, pDoc->m_str);
}
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView printing
BOOL CAutoClickView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo);
}
void CAutoClickView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}
void CAutoClickView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add cleanup after printing
}
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView diagnostics
#ifdef _DEBUG
void CAutoClickView::AssertValid() const
{
CView::AssertValid();
}
void CAutoClickView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CAutoClickDoc* CAutoClickView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CAutoClickDoc)));
return (CAutoClickDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CAutoClickView message handlers
void CAutoClickView::OnLButtonDown(UINT nFlags, CPoint point)
{
CAutoClickDoc* pDoc = GetDocument();
pDoc->m_pt = point;
pDoc->Refresh();
CView::OnLButtonDown(nFlags, point);
}
|
... It is suggested with a “Bakasha Nafshis” (request from the soul) to Jews in the entire world: This coming Shabbos, parshas Bamidbar , during the time of Minchah - Jewish people everywhere, from all segments, should gather in a farbrengen - men, women and children:[of course – separately], in a manner of "one man with one mind” – first an “external” unity and then it becomes [“with one heart”-] also “b’pnimiyus” – internally.
And to make this gathering of friends with a festive meal which is a mitzvah on Shabbos – particularly drinking wine and saying “l’Chaim” to all the assembled – and this should bring the Geula (which is the objective of these farbrengens ).
Certainly words of Torah will be spoken at these gatherings, and of course among the topics should be emphasized Ahavas Yisroel and Jewish unity, and the Geula . Starting with what appears in the Written Torah: "Love your neighbor as yourself," on which, “Rebbi Akiva sa id this is a great principle of Torah,” and hich was also interpreted (by Hillel) as: “That is the whole Torah while the rest is commentary thereof....”
Then, following through the practical halachic details, as described in the Rambam, in the revealed as well as the esoteric part of Torah. The main thing is to speak in a pleasant and peaceful way, with words coming from the heart, [not to speak in a condescending way, and not even as a teacher and mentor; but to tell that person that this is not my own idea, I am merely telling you to look into the sources as they are in Torah, and then you will certainly be inspired and excited even more than I am!]
It should also be emphasized, that when we increase our love for fe llow Jews and intensify Jewish Unity, the causes of the golus (which was caused by the opposite of Ahavas Yisrael ) will be eliminated and the golus will disappear.
The subjects for discussion should obviously be chosen with consideration of the listeners, so that it will grasped and understood and inspire the listeners. Hopefully, the enthusiasm will be contagious and they will also influence others, strengthen and encourage others, to further the goals of Jewish Unity.
If, for some reason, these gatherings cannot take place on Shabbos then they should be scheduled for a later appropr iate day.
It is very important that this call should be publicized and conveyed to the widest possible listeners. Those who will carry out this mission should involve themselves with energy, enthusiasm, vigor and excitement.
They should keep in mind that this is “soulfully” essential for the Jewish people, and that we are dealing with an exceptional and unusual matter. Practically speaking. Preparation for these activities, and appropriate publicity should start as soon as possible and every moment of the day should be properly utilized.
The approach must be in a pleasant and peaceful manner, day by day, leading up to the coming Shabbos and especially the time of “greatest delight” (late afternoon), when everyone will gather together.
Although in every time zone on the globe the time of Minchah is different, nevertheless, the people gathering in that location are united, additionally, different time zones are only down here in this physical world, but in the spiritual realm they all unite so that all Jews will be united at once as truly one.
However, the “famous question” arises: from where will there be money to cover all the expenses of arranging the farbrengens? The first answer is that in each place they will certainly find the necessary funds locally, especially since everyone knows that in matters of holiness we must participate with our money, which indicates how important the matter is.
However, if there should be a place where the problem of finances will withhold any of the potential activities, then, after the program has been completed, they should inform at a central office in that place (or to the local Rabbi) and they should send the detailed-expenses to here, and from here the necessary funds will be forwarded to cover the expenses - with happiness and gladness of heart.
May it be Hashem's will that our good resolution which are accepting now will forthwith bring the reward that is fitting for Ahavas Yisroel and Jewish Unity - the end of the golus. And we will speedily merit the true and complete Geula through Moshiach Tzidkeinu.
Especially when we are standing close to the end of Shabbos - the "meal of Dovid the King Moshiach"; and with Moshiach we will celebrate - next Shabbos - the true great assembly of all the Jewish people as its written “a great assembly will return.”
And all who “rest in the dust will arise,” with Moshe and Aharon among them, and Rashbi and all the righteous sages and princes of our people - and also the Previous Rebbe.
The main speaker at that ultimate gathering will be Moshiach Tzidkeinu, who will teach to all the people the new, esoteric Torah, in a manner of "seeing." And then the count of the Jewish people will be completed, through Moshiach the first redeemer and the last redeemer, actually in our time. |
Terms (copyright)
All of my graphics are for personal and/or commercial use. See my terms of use in the preview file for more information.
Credit in the form of a link is required when using my graphics.
Redistributing, editing , selling, or posting these graphics or any part there of (by themselves and not in a resource or product) on the internet are strictly prohibited without first gaining permission from the author. Violations are subject to the penalties of the Digital millennium Copyright Act. Please contact me at 3amteacher@gmail.com if you wish to be granted special permission. |
M5208EVBE BOARD
#M: -
S: Maintained
F: board/freescale/m5208evbe/
F: include/configs/M5208EVBE.h
F: configs/M5208EVBE_defconfig
|
This was the first broadcast that let the world know the Winnipeg Jets were in fact going to be leaving the city of Winnipeg. This was a horrible and dark day for not only the city of Winnipeg, the Country of Canada but, the World as a whole.
We all know how far reached the Winnipeg Jets fan base was and, this day will certainly go down in history as the darkest day of Winnipeg's history.
They will be back & the Light will shine brightly once again in this city! |
Recoil (often called knockback, kickback or simply kick) is the backward momentum of a firearm when the firearm is discharged. Recoil is the physical manifestation of the momentum opposing the forward momentum of the projectile and exhaust gases (ejecta), according to the conservation of momentum (Newton's third law). This change in momentum of the ejecta results in a force that must be compensated for by the shooter. In order to bring the gun to a halt, a forward counter-recoil force must be applied to the firearm. Generally, the counter-recoil force applied by the shooter is smaller than the recoil force, and is applied over a time period that is longer than the time that the recoil force is being applied (e.g., the time during which the ejecta are still in the barrel of the gun). This imbalance of forces causes the gun to move backward until it is motionless, and may result in the gun kicking upward as the momentum is transferred to angular momentum around a joint of a shooter. For small arms, the way in which the shooter perceives the recoil, or kick, can have a significant impact on the shooter's experience and performance. |
the judge gives him until the end of the day to present the papers and thus begins a cat and mouse game between the proponents .
|
Would you rather live in a screen or in the real world?
Would you join a club that promises to take all your pain away?
Would you indulge a magical looking pharmaceutical pill that brings you to a new level of enlightenment and eliminates all anxiety in life?
Fables encourage kids to think about the question, "What would you do?" They're not simply dry lessons on how to live life, but rather imaginative adventures with clever outcomes. Adults need fables too! Modern Day Fables presents eleven stories that ask the reader to dive in to the modern day dilemma at hand.Not everything is as it appears on the surface. Bend, twist, and unfold reality through these fables that ultimately question the status quo and ask both the adult and kid in you: What would you do? |
Switchable fluorescent imaging of intracellular telomerase activity using telomerase-responsive mesoporous silica nanoparticle.
This work designs a telomerase-responsive mesoporous silica nanoparticle (MSN) to realize in situ "off-on" imaging of intracellular telomerase activity. In the wrapping DNA (O1) sealed MSN probe, a black hole fluorescence quencher is covalently immobilized on the inner walls of the mesopores, while fluorescein is loaded in the mesopores. In the presence of telomerase and dNTPs, the designed O1 can be extended and then moves away from the MSN surface via forming a rigid hairpin-like DNA structure. Thus the O1 can act as a "biogate" to block and release fluorescein for "off-on" switchable fluorescent imaging. The MSN probe exhibits good performance for sensitive in situ tracking of telomerase activity in living cells. The practicality of this protocol has been verified by monitoring the change of cellular telomerase activity in response to telomerase-related drugs. |
The present invention relates to identity authentication, and more specifically, to authentication of an individual via biometrics such as fingerprints.
Biometrics refers to metrics related to human characteristics. Biometric authentication such as fingerprints authentication is now widely used in devices, such as smart phones, laptops, access badge devices or attendance management equipment, as a form of identification and access control. Typically, a biometric library is established by acquiring biometric data of body parts such as fingers, toes, palms or feet of users in advance. When an identity of a user needs to be verified, the user's biometric data is collected via a biometric reader and is verified against the biometric library to find if there is a match between the user's biometric data and the biometric data in the library. If a match exists, the user is authenticated successfully. Otherwise, the authentication fails and the user is denied. |
Rita Repulsa looked down on Earth, from the moon through her
telescope. She
was watching two of the Power Rangers in the park, Tommy Oliver and Kimberly
Harte.
She walked away from the window "How am I going to conquer Earth
with those
Power Rangers in the way?"
"What we need to do is kidnap one of them then the others will be to
caught
up in trying to rescue them that they won't pay attention to anything else
that's going on." Goldar, Rita's number one henchman declared
"Not kidnap them we've done that before." Rita said as she paced
around the
room "And we've already sent them through time."
"Why not use the Universal Scrambler." Goldar suggested
"The what?" Rita asked
"The Universal Scrambler." Finster, the little dog faced creature
that worked
for Rita said as he entered the room "It can send any person or object to a
parallel universe."
Rita thought for a moment before answering "That's not a bad idea.
Goldar I
want you to go down to Earth with some putties and the Universal Scrambler
and
use it on Kimberly." Rita said "Finster bring it here." Finster came into
the
room carrying a device that looked like a hair dryer with a bunch of wires
sticking out of it.
Finster handed Goldar the machine "Now aim it and press the red
button to
activate it."
"I won't disappoint you my queen." Goldar said
Tommy and Kimberly were sitting on a picnic table when Goldar and
the putties
appeared
Kim jumped off the table "Tommy I'll take care of the putties."
"Ok Kim." Tommy said as he jumped off the table "What do you want
Goldar?"
"Oh we just want to try out Finster's new invention." Goldar replied
as he
held out the Universal Scrambler
"What's that a hair dryer?" Kim asked as she smacked to putties
together
"It's the Universal Scrambler. It has the power to send anyone to a
parallel
universe." Goldar growled
As the puttie disappeared Kim joined Tommy
"And our test dummy is you." Goldar said as he pointed the Scrambler at
Kimberly, he pressed the red button and Kim was engulfed in a ray of white
light
"Tommy help!" She screamed
"Kim!" Tommy watched as Kim began to dematerialize. He jumped
towards her and
hit the ground just as she disappeared "Goldar you'll pay for this!"
"Looks like my work here is done." Goldar growled "Have a nice time
finding
her." Tommy watch as he teleported back to the moon
Tommy stood there staring at the spot where Kim had been them ran
from the
park in the direction of the school.
Kim opened her eyes and looked around, she was lying on the ground
in the
park
"Where's Tommy?" She asked herself as she stood up and brushed grass
off her
jeans, she glanced at her watch "I'd better get back to school lunch's
almost
over."
When she got back to school she went right to Tommy's locker. He had
his face
hidden in his locker so Kim tapped him on the shoulder
"Tommy why'd you leave the park?"
Tommy pulled his head out of his locker and fixed his glasses "Hello
Kimberly."
For the first time Kim realized he was wearing overalls over a green
T-shirt
his short-shoulder length hair was loose and he was wearing Billy style
glasses
"Tommy why are you dressed like that?" she asked
Tommy looked down at his clothes then back at Kim "This is the type
of outfit
I always wear." He replied
"Hey Kim." She turned to see Billy Cranston coming towards her, he
was
wearing jeans, a blue plaid sleeveless shirt and no glasses "Where were you
at
lunch? I thought we were going to the park for lunch?"
"I was at the park." Kim replied "Wait what do you mean I was
supposed to go
with you?"
"Kim I know I forget things every now and then but you?" Billy
declared as
the bell rang
"We'd better get to class." Tommy said as he closed his locker
"He's right." Kim looked to see Mr. Caplan, with real hair standing
next to
Tommy "If you don't get to class then you'll be in detention!"
Billy took Kim's hand "Come on."
"Ok." Kim followed Tommy and Billy to class thinking the whole time
"What's
going on here?"
When Tommy got back to school the first person he found was Jason
Scott
"What's wrong bro?" Jason asked when he saw the worried look on his
best
friend's face
"Goldar came and zapped Kim and now she's….she's." Tommy gasped for
breath
as he spoke
"Tommy man slow down and calm down." Jason said as he glanced around
the
crowded halls of Angel Grove High School "Now repeat that."
Tommy started to breathe normally "Ok me and Kim were in the park and
Goldar appeared with some putties and this machine he called the Universal
Scrambler."
"Ok go on." Jason said
"Well after Kim finished fighting the putties she came back and
Goldar
zapped her with it and she disappeared." Tommy finished
Jason looked around "Man we've gotta find Billy and the others." They
left Jason's locker in search of their friends
They found Billy and the others at Billy's locker
"Guys we have to get to the Command Center right away." Jason
declared
"But we still have two classes left." Zack Taylor said
"This is more important them class, Zack." Jason said
"Ok. If it's really important." Zack said "By the way where's Kim?"
"That's what's so important." Tommy declared. As the five left school
Tommy filled them in on what had happened
"I can't believe this." Trini Quan said when they arrived at the
Command Center
"Rangers what are you doing here? Don't you have school?" Zordon
their
mentor declared when he saw the rangers
"We had to skip. We have an emergency on our hands." Tommy said
"Goldar
zapped Kimberly with this device called the Universal Scrambler."
Billy stepped up to the computer consoles and started pressing a
few
buttons "I'll start scanning for her."
After school Kim went with Tommy and Billy to the Juice Bar, the
first
person she saw was Zack he was dancing as if he had two left feet. She
watched
as he did a spin then fell on his back taking down another boy in the
process
But when she saw Trini she couldn't believe her eyes, Trini was
dressed in black leather shorts and a tight leather vest. She was also
terrorizing a younger boy
"What's with Trini?" She thought to herself as she walked to a table
with Tommy and Billy, when she sat down she saw Jason watching a karate
class.
He turned around when he saw them and started running to them
"Hi Guys." Jason said as he sat down
"Jason I thought you had a karate class to teach today?" Kim asked
Jason's dark eyes widened "Karate!? I don't take karate."
Kim looked at Tommy and Billy "Tommy tell him he teaches class
with
you."
"Kimberly I don't teach or take karate or play any sports for that
matter. And neither does Jason." Tommy replied as Trini and Zack sat down
with
them
"I'm too scared to take karate." Jason said, "I mean I could get
hurt
or something."
"Oh is Jason scared!" Trini taunted then made a fake punch; Jason
flinched then glared at Trini
Kim glanced at everyone's wrists; they each had a communicator "I
have to tell you guys about something that happened in the park."
"Really what?" Zack asked
"Well at lunch I was in the park and Rita sent Goldar down with a
bunch of putties and he zapped me…"
"Rita?!" Trini cut Kim off "Why would Rita send Goldar down
here?"
"Cause she 's trying to conquer earth." Kim said. She looked at
the
faces of each of her friends; they all had the same confused look on their
faces
"I don't know." Kim replied, then she remembered what Goldar said
about the Universal Scrambler. It would send any person or thing to a
parallel
universe!
"Now Goldar go down to earth while the rangers are looking for
Kimberly." Rita demanded
"Yes my queen!" Goldar growled, when Goldar got down to earth he
had
already grown to full size
In the Command Center the rangers were still scanning for Kimberly
when the alarm went off
"Oh great timing!" Tommy exclaimed, "Just what we need a monster
attack!"
"I'll stay here and continue scanning for Kim you guys go. I'll
contact you if I find anything." Billy declared
"Good idea Billy." Zack said
"Billy please find her." Tommy said as a look of worry crossed his
handsome features "We need her! I need her!"
"I'll do my best Tommy." Billy replied
"Tommy are you sure you want to come? I mean your powers are
limited." Jason reminded him
"I'm sure Jase." Tommy said
"Ok then. It's Morphin Time!" Jason yelled, as the four rangers
teleported to downtown Angel Grove Billy continued to scan for Kimberly
"Your gonna pay for what you did to Kimberly!" he heard Tommy
say
as he watched the fight on the viewing globe, Billy turned back to the
consoles and his hazel eyes lit up
"Zordon I've found her!" he exclaimed, "I've found Kimberly!"
On
the Viewing Globe Billy saw Goldar fleeing the scene
"Billy have you found anything?" Tommy asked when they
returned
to the Command Center
"Yeah. I've found Kimberly!" Billy repeated as he pressed some
more buttons
"Where is she?" Trini asked
"According to the readings she's here." Billy replied his brow
knit with confusion
"What are you talking about?" Zack asked, "How can she be
here?"
Billy turned "Look at the Viewing Globe." on the globe the rangers saw
Kimberly with them
"Who are they?" Jason asked turning to Billy
"They're us." Billy said, "According to this Kimberly has
been
sent to a parallel universe."
"We have to find a way to open up a link with her." Trini
declared
"R…Rita I'm not from this universe. I may look like the
Kimberly
Harte from this universe but I'm not." Kimberly explained, she was in the
Command Center which looked like her Command Center except for Rita being
there and not Zordon
Before Kimberly could say another word the alarm went off,
but
instead of seeing a monster in downtown Angel Grove they saw the other
rangers
Tommy looked into the Viewing Globe and couldn't believe his
eyes, standing near Kim along with the parallel universe rangers he saw
Rita
"Yeah…" Kim was cut short as she felt the familiar feeling
of
the teleportation starting "I'll never forget this."
"Neither will we." Tommy said as Kimberly started to
disappear
"Bye." Kim waved then disappeared
When Kim appeared in the Command Center Tommy ran to her
and
wrapped his arms around her in a tight hug
"Kimberly I'm never gonna let you go." He exclaimed
"Tommy you're gonna have to let me go sometime." Kim
replied
as she pried his arms from around her waist
"You're right." Tommy said as he let go of her
"Kim what was it like there?" Trini asked
"It was weird. It was like I was here but everyone was
acting
different." She replied
"How so?" Jason asked
"Well first of all Zack you had two left feet, Trini you
were
wearing leather and you were like a bully, Billy you were like Tommy, Tommy
you were like Billy and Jason you were afraid to try anything." Kim said
"Wow. Weird." Zack said
"Kim I just have one question." Tommy said
"What?" she asked
"Why was Rita at the Command Center?" He asked
Kim stifled a laugh "You wouldn't believe me if I told
you."
"I'm gonna miss her." Zack said
"But we've got our own Kimberly." Tommy said as he fixed
his
glasses
"Speaking of Kimberly here she comes now." Jason said as
the
parallel universe Kimberly came into the juice bar
"Hi guys." She said, "What's up?"
"Oh nothing." Billy said as the others tried to hide
their
smiles
"What would you think if I signed up for karate?" Jason
asked
"Well that would be great." Kim said as she sat down
"What
made you think of that anyway?" |
Inspire See & Do Guides & Tips Food & Drink Places to stay Art Film & TV Music Books Lifestyle |
Right now at ShopBop you can check out a the James Jeans section, made delectable by a beautifully styled Autumn lookbook that’s been broken down by items you can buy elsewhere on the site. The actual shop selection is nicely varied, from knee-length denim skirts to skinny legging-jeans, boot-cuts, and even shorts. Check out some images from the look book below, and shop the full set of James Jeans here. |
Delhi section talk - Climb of Fluted Peak
The illustrated talk 'The Climb of Fluted Peak' covers the recent climb by a four-member team of the 'Fluted Peak' (6139m) in Spiti, Himachal Pradesh. The peak is located to the south-east of Karcha Parbat at the Lahul and Spiti watershed in the Spiti Valley, and is best accessed from the Losar Valley. The climb had several challenging moments, including some reasonably technical sections as well. The region is seldom visited and required developing the trail right from the onset. The team set up four camps along the way to finally successfully scale the snow-clad fluted peak. Prithvi Singh Gill looks forward to sharing his experience on how he trained and his personal journey and learnings from the climb. |
Broadly speaking the project is concerned with the relation between verbal processes and behavior in classical conditioning, bearing on the problem of how behavior comes under "voluntary control" in the sense of the Soviet psychology of volition. Verbal stimuli, instructions from the experimenter, self-instructions of the subject can all influence the subject's behavior, and the processes by which this occurs are being explored from many approaches. The subject learns to follow instructions, he reacts to verbal stimuli related, unrelated, or in conflict with the CS-UCS contingencies in the experiments. He learns to make formerly impossible responses, to utilize information, to overcome misinformation, to overcome incompatible commands, etc. Transfer of responding from one set of stimuli to another as a function of many of the possible inter-relations among the stimuli is being investigated. The phenomena involved are being examined, for the most part, in the context of human eyelid conditioning, utilizing classical conditioning, classical differential conditioning, intermittent reinforcement, instrumental reward training, and differential instrumental reward training. Some of the information processing is being investigated by use of choice reaction time procedures; Stroop tests and interhemispheric relations when stimuli are presented in the right or left visual fields. |
@ignore
Feature: called file that may or may not over-write variable in caller
Scenario:
* def someString = 'after'
* def someJson = { value: 'after' }
* def fromCalled = { hello: 'world' } |
The invention relates generally to the field of food protection, and in particular to the use of sneeze guards to protect displayed food. More specifically, the invention relates to sneeze guards having various adjustable features to make the sneeze guards highly versatile. Some of the features of the sneeze guards may also find use with non-food applications as well.
The display of food items is important to many industries. For example, prepared food is often displayed in grocery stores, restaurants, cafeterias, bakery shops, and the like. When openly displaying food, the chances of having the food become contaminated are increased, especially when potential customers stand over the displayed food when inspecting the food.
As a result, various health and safety codes have been implemented to regulate the display of food. Such codes have promoted the development of various sneeze guards. For example, some sneeze guards include a frame holding one or more clear panels that is placed between the customer and the food. In some case, the customer may be provided access to the food by reaching beneath the panel.
Sneeze guards may be used in a variety of settings where food is displayed. For example, sneeze guards may be used on food counters, buffets, smorgasbords, and the like. Because such a wide variety of settings exist, a versatile sneeze guard would be useful. Hence, the invention as related to sneeze guards that are adjustable and versatile to permit them to be used in a wide variety of applications, including applications outside of the food display arena.
The invention provides exemplary sneeze guards and methods for their construction and use. Advantageously, some of the features of the sneeze guards may be used for other applications. In one embodiment, a sneeze guard comprises at least one post, and a bracket assembly that is coupled to the post in a manner such that the bracket assembly may move relative to the post. Further, the bracket assembly includes a locking mechanism that may be operated to lock the bracket assembly to the post at a certain location. In this way, the bracket assembly may be moved to a desired location on the post, and the locking mechanism operated to secure the bracket assembly to the post. The sneeze guard further includes a panel that is coupled to the bracket assembly. With such configuration, the position of the panel may be adjusted by adjusting the location of the bracket assembly on the post. For example, if the post is vertically oriented, the height of the panel may be adjusted using the bracket assembly.
In one particular aspect, the bracket assembly comprises a housing that is receivable about the post, and an arm that is pivotally coupled to the housing. Further, the panel is coupled to the arm. In another aspect, the locking mechanism comprises an insert that is disposed within the housing, a locking bar that is positioned between the housing and the insert, and an actuator to force the locking bar against the insert to cause the insert to constrict about the post. By utilizing the insert, the housing may be secured to the post without marring, disfiguring, defacing, or producing marks, indentations, scratches, or the like, on the post. In this way, the post may be constructed of a wide variety of materials and still be used in combination with a locking mechanism, without the concern for scratching or marking the post.
In one particular aspect, the post comprises an elongate cylindrical body, and the housing includes a cylindrical section. With such a configuration, the insert comprises a tubular sleeve having an elongate slot. In this way, when the locking bar is forced against the sleeve, the slot begins to close to permit the sleeve to constrict about the post. In still another aspect, the actuator comprises a screw that extends through a threaded opening in the housing so as to be in contact with the locking bar. In this way, the screw may be turned to force the locking bar against the sleeve. Due to the cylindrical section of housing, the elongate slot of the sleeve begins to close as the sleeve constricts about the post.
In another particular aspect, the housing includes a plurality of teeth to mesh with a corresponding plurality of teeth on the arm. A screw is provided to pivotally couple the arm to the housing. In this way, the position of the arm relative to the housing may be adjusted by loosening the screw and turning the arm relative to the housing to the desired orientation. The screw is then tightened to secure the arm to the housing, with the meshing teeth assisting in preventing rotation of the arm relative to the housing. With such a configuration, the rotational orientation of the panel relative to the post may be easily adjusted.
In still another aspect, the arm includes a coupling mechanism to couple the panel to the arm. Conveniently coupling mechanism may include a cap that is insertable into an aperture of the arm. A screw is also provided to secure the cap to the housing. For example, the cap may be inserted into one end of the aperture while the screw is inserted through the other end of the aperture to hold the cap within the aperture. The panel is then held between the cap and the arm. Optionally, the aperture and the cap may be keyed to prevent rotation of the cap relative to the arm while the screw is being tightened. Such a configuration is advantageous in that the panel may be coupled to the arm by inserting the cap through a hole in the panel to provide a firm grip without the use of silicon or other seals. In this way, the sneeze guard may be easily assembled and disassembled down when needed, e.g. for storage, cleaning, and the like.
Conveniently, the post may include a threaded end to permit the post to be inserted into a permanent mount, such as within a countertop. Alternatively, the post may be coupled to a portable base. In one aspect, one or more stabilizers are coupled to the base. In still another aspect, the base may include a plurality of holes that are sized to receive the post. In this way, the post may be inserted into any one of the holes to adjust the depth at which the panel is positioned. Conveniently, one of more plugs may be provided and inserted into the unused holes.
In still another aspect, the sneeze guard may include a second post and a second bracket assembly that is coupled to the second post. In this way, the panel may be secured to both the first and second bracket assembly and held by the pair of posts. In one alternative configuration, two or more bracket assemblies may be coupled to the same post. In this way, two or more panels may be coupled to a single post to permit the sneeze guard to be arranged in a variety of configurations. For example, multiple panels may be arranged vertically and in the same plane to form a wall of panels. As another alternative, the panels may be oriented horizontally and in separate planes to form a series of shelves. In still another configuration, one panel may be vertically oriented while the other panel is horizontally oriented to form a panel and shelf arrangement. In another configuration, the post may be mounted to a variety of surfaces, including horizontal counters, vertical walls, ceilings, and the like.
The invention further provides an exemplary method for protecting displayed food items. The method may conveniently utilize a sneeze guard that is constructed using any of the features previously described. To protect the food, the sneeze guard is positioned such that the panel is placed between the displayed food and a viewing location where individuals may inspect the food. To properly orient the panel, the locking mechanism is unlocked and the bracket assembly is moved along the post to adjust the height of the panel relative to the food (assuming that the post is vertically positioned). Once the proper height is achieved, the actuator may be operated to constrict the insert about the post in a non-marking manner. The arm may also be rotated relative to the housing to adjust the angle of the panel relative to the post. This may be accomplished, for example, by loosening the screw, disengaging the teeth of the arm in the housing and rotating the arm to the desired position. The screw is then tightened, with the teeth interlocking to prevent rotation of the arm relative to the panel. If the panel is to be removed and/or replaced, the screw on the arm may simply be unscrewed and the cap removed to permit the panel to be removed from the arm. |
import PropTypes from 'prop-types';
import React, { Fragment } from 'react';
import { routerShape, locationShape } from 'react-router';
import { FormattedMessage } from 'react-intl';
import getContext from 'recompose/getContext';
import connectToStores from 'fluxible-addons-react/connectToStores';
import AppBarSmall from './AppBarSmall';
import AppBarLarge from './AppBarLarge';
import { DesktopOrMobile } from '../util/withBreakpoint';
const AppBarContainer = ({
router,
location,
homeUrl,
logo,
user,
...args
}) => (
<Fragment>
<a href="#mainContent" id="skip-to-content-link">
<FormattedMessage id="skip-to-content" defaultMessage="Skip to content" />
</a>
<DesktopOrMobile
mobile={() => (
<AppBarSmall
{...args}
showLogo={location.pathname === homeUrl}
logo={logo}
homeUrl={homeUrl}
user={user}
/>
)}
desktop={() => (
<AppBarLarge
{...args}
logo={logo}
titleClicked={() => router.push(homeUrl)}
user={user}
/>
)}
/>
</Fragment>
);
AppBarContainer.propTypes = {
location: locationShape.isRequired,
router: routerShape.isRequired,
homeUrl: PropTypes.string.isRequired,
logo: PropTypes.string,
user: PropTypes.object,
};
const WithContext = connectToStores(
getContext({
location: locationShape.isRequired,
router: routerShape.isRequired,
})(AppBarContainer),
['UserStore'],
context => ({
user: context.getStore('UserStore').getUser(),
}),
);
WithContext.propTypes = {
disableBackButton: PropTypes.bool,
title: PropTypes.node,
};
export default WithContext;
|
Viewing PHP code in your cPanel's
file editor can only go so far before you want to use real-world tools that
professional WordPress developers, designers, and consultants use. Rather than
doing an endless Google search, I reached out to the WordPress community to
find out which tools professionals use to drive their businesses. These are the
suggestions I received. (All prices listed are in US dollars.)
Integrated development environments and text
editors
If you're writing code, you need a good text editor. I've been
working with NetBeans for my development projects, and I like the built-in FTP
features. Many of the development tools in this table support FTP capability within the editor, in addition to database and
version control software.
MySQL database management tools
For the WordPress developer, understanding the underlying MySQL tables and supporting data is a must. Popular hosting accounts such as Bluehost and HostGator provide myPhpAdmin to administer the database. However, I like the client-based tools for query execution and basic table changes.
Local WordPress hosting environments
When developing on a WordPress platform, you have the choice of using a hosted account or working faster by managing your own local Linux, Apache, MySQL, and PHP environment (LAMP). Macintosh, Apache, MySQL, and PHP (MAMP), XAMPP, and DesktopServer provide local installations of the common LAMP configuration. I've been running MAMP on my MacBook Pro, and working locally saves time when migrating PHP files and images.
Utilities
Other useful WordPress development tools include FTP utilities, screen capture tools, and debugging tools. Firebug is an indispensable tool when you're trying to tweak a theme before editing the CSS file. Its live editing capability ensures you edit the correct CSS tag and are happy with the result before you start editing your child theme or modifying a custom.css file.
WordPress plugins
Several WordPress plugins are must-have tools. In my informal
discussions with developers, Gravity Forms is the most referenced plugin, as it
allows developers to establish a base form and then extend it for more complex
functionality.
Project
management and collaboration tools
Developers, designers, and consultants don't work in a vacuum
— projects often require collaboration and coordination with clients,
freelancers, and distributed development teams. I asked Rebecca Gill of Web Savvy Marketing about the popular tools used in her Michigan-based website
design company. She said:
"We use Basecamp, GitHub, Dropbox,
and Amazon for some backups. We could not live without Basecamp and GitHub.
Every project, regardless of type, is in Basecamp. Basecamp manages to-do
lists, time tracking, and file transfers. Any coding files that require collaboration
are housed in GitHub. Since we have a virtual team these software packages are
priceless to me. Between Basecamp, GitHub, and Skype my virtual team feels like they are
across desk and not all over the globe."
If you are a WordPress freelancer interested in the business
side of WordPress, then you need to listen to the MattReport, a WordPress podcast for entrepreneurs,
startups, and freelancers. Matt
Medeiros is the host of the MattReport, and each interview provides a
"What's in Your Toolbox?" segment where WordPress developers and
consultants list their favorite software tool to manage their day-to-day
activities. Within Matt's company, Slocum Design Studio, his team uses Trello, GitHub,
and Droplr to collaborate, share files, and manage client projects.
Summary
Software engineers, designers, and consultants are always
looking for tools to make their jobs easier. You may have to spend a few
dollars to use the commercial features, but you'll also find free tools that
will help you complete the job.
If you have a favorite WordPress development tool, please tell
us what it is in the comments.
Related Topics:
About Andrew Makar
Dr. Andrew Makar is an IT program manager and is the author of How To Use Microsoft Project and Project Management Interview Questions Made Easy. For more project management advice visit http://www.tacticalprojectmanagement.com. |
Heparin-induced thrombocytopenia successfully treated with fondaparinux.
We report the successful treatment of a patient with HIT-associated venous thrombosis by fondaparinux, a synthetic pentasaccharide. Although not yet approved for this indication, this new anticoagulant may be a useful alternative in the setting of HIT. |
The blessed are the meek contrast skirt is a mini pencil skirt in a stunning black & ivory with a round hemline. This style is perfectly dressed up with a white tank and heels for this season or dress it town with a t-shirt and sneakers. Style: party skirt / evening skirt / casual evening skirt fit: true to size colour: black & ivory as shown round hemline |
Drawing clothes is probably one of the more important things you need to know how to do if you’re an artist. This is because every figure you draw has to be drawn with clothes on. In this tutorial you will get a full lesson on "how to draw shirts, step by step". Shirts come in many, many different varieties ranging from tee shirts, sweaters, and hoodies, to blouses, button-ups, and turtle necks. I did a sketch on four different styles of shirts that can be drawn on any character body you choose. You can decorate your clothes by adding some flowers, designs, or one of your favorite logos, or you can be simple and just add a stripe or two with subtle colors and contrast. The tops are drawn on upper body mannequin models to show you how the shirts should look on your figures whether they are anime/manga characters, cartoons, or just a concept creation from your imagination. Style is a bog part of our culture no matter where we are from around the globe. Fabric is used to cover our bodies, and these fabrics come in many colors, designs, shapes, pattern, and forms. Learning "how to draw shirts, step by step", is going to be easy, and fun as well enable you to be really creative when it's time to design and color your newly drawn clothes. I have to go but as you know I always return. Peace out to all and have a happy drawing day!
Members Login Here
DragoArt members upload artwork and drawing tutorials! They are also allowed to leave comments on tutorials, profiles, etc. Many more features, as well; it's way better than just being a boring guest!
Register Now! |
A farmer uses a sledgehammer to take down a massive concrete silo from the bottom up. It's the first—and, hopefully, the last—time he attempted such a project.
The YouTube video can be viewed here. (Warning: Contains language one might expect in just such a situation.)
Don't Show Diane
With half of its base busted out, the silo manages to stay upright for a few seconds before crashing to the ground, sending the farmer running for his life and unleashing a concrete debris field where it once stood.
The men were surprised at how the silo "kind of hung in the air" before falling.
After catching his breath, the farmer says, "I thought that was going to go a lot further, didn't you?"
"It kind of hung in the air there for awhile," the cameraman responds.
Once they confirmed that no one was hurt, the farmer and cameraman celebrate the accomplishment, before deciding it's probably a good idea to "not show that one to Diane."
Amazingly, no one was crushed by the tons of concrete debris.
These guys got pretty lucky, but demolishing a large structure is usually best left to professionals. |
Advanced search
TAGS
#adorbs
I normally work with square photos on my layouts and rarely use shaped photos, but when I saw this fun hexagon background in the Silhouette Store, I challenged myself to give shaped photos a try!
One of the things that really stood out to me when I saw this file, is the variety of ways it can be used. You could add a smaller hexagon to the center of some of the ones that are filled in, to create more open spaces for extra photos or to add different patterned papers behind. Or if you only had one photo, you could delete the outline of one of the larger hexagon shapes and have it cut without the center being opened.
I kept most of my design fairly simple, because I wanted my photos and the hexagon background to really stand out. I cut some hexagon shapes, using the Corrugated Kraft Paper and used them to embellish the die cut background. I would definitely have to say that fun backgrounds are my favorite files to look for in the Silhouette Store! Make sure you keep an eye out for any new or interesting backgrounds and use them to create unique looks on your layouts! |
The Cubicle Farm Grows
While Propst envisioned employees customizing their workstations to their taste as they created their own personal oasis in the office, employers had their own intentions. As the Action Office II soared in popularity, it inspired a wave of cheap knockoffs without the flexibility and freedom Propst had envisioned. Instead, employers realized they could fit many more workers into one room by restricting them to a much smaller and confined cubicle.
In the decades following, the cubicle farm was eagerly adopted by managers across America. In the 1960s, the Treasury Department announced new rules for depreciating assets like office furniture, hoping to stimulate business spending. Consequently, cubicles became an even more attractive option as they could be depreciated in just seven years. The cubicle became even more commonplace in the ‘80s and ‘90s during a period marked by mergers and buyouts as employees were shuffled around office buildings and crammed into even smaller spaces.
Startups Revive the Open Office Plan
During the dot-com boom of the ‘90s, startups seeking to change the status quo and be different decided to disavow the cubicle altogether. Architect Clive Wilkinson, who designed the interior of Google’s headquarters, explained that “the attitude was: We’re inventing a new world, why do we need the old world?” Facebook adopted the same approach in designing their own headquarters, which the company claims is the largest open office in the world.
But the open office had just as many issues as cubicle farms, if not more. While the open office was designed to foster collaboration and communication between employees, research has shown that workers in open offices actually spend less time talking face-to-face and resort to emailing or messaging. Additionally, many workers say the constant noise and lack of privacy increases distractions and reduces productivity.
Return of the Cubicle?
With so many office workers dreading their open office floor plan, we’re beginning to see the office cubicle returning to the workplace, though slightly adapted. To reintroduce a sense of privacy, workers are opting for privacy panels and other partitions to establish their own territory, even if they’re in an open office floor plan. There’s also been a return to the Burolandschaft model, with floor plans being designed more naturally with dedicated areas to eat, lounge, meet, focus, and work. |
Interpreting genetic risks.
Prof. Peter Beighton has given a professional lifetime to helping patients and their families who have been afflicted by inherited disease. His clinical skills have brought certainty, confidence and support to those confronted with some of the most difficult decisions in life's progress. Prof. Beighton's research has led to the discovery of new syndromes and the elucidation of accurate genetic risks in many diseases. This in turn has empowered patients and their families to make informed decisions and has provided doctors with the scientific knowledge to help patients. On the occasion of this festschrift, I join with so many members of Peter's international professional family to pay tribute to his leadership and service - not only in medical genetics - but also in the broadest domains of healthcare. |
NapNap
We surrounded the pit with our backs to it and held hands. It looked odd. As if we were making a circle but backwards. Ethan came closer. We wanted him to stay away but the strange circle just made him more curious. Mom always told me that if I don’t want to be noticed, I should act normal. I guess she forgot to tell me that sometimes, when you’re afraid, you don’t think right. We should have stayed away from the pit and then Ethan probably wouldn’t have even noticed it. OK, maybe he would have picked on one of us, but we were used to that. He was in our class but looked a lot older. Danny always said that he was probably held back like eight times but I said that if that’s right, then he should be in the army by now. Simon, who was really smart, said that kids were afraid of making him mad because he is always irritated, because he didn’t have any parents and he was living with his older sister and that there were stories about her screaming at him all the time and even hitting him. Danny and Simon held my hands really tight. Out of fear, not love. Maybe fear is a kind of love? Ethan stopped next to us. “So, what do we have here, my darling little children?” he rubbed his hands together, like some witch. I never understood the enjoyment in playing the bad guy. Once, when he was passing near our house, I came out to the balcony, yelled “good” three times and hid behind the blinds. I thought maybe I could remove the evil spell off him with a counter spell. He stopped, looked up and called “Asshole, I’ll get you at school tomorrow” and kept going. The next day he hit me on the head and I realized my spell failed. Maybe he needs to kiss a frog.
“Go away” I said, holding Danny and Simon’s hands even tighter, “there’s nothing here.” He became serious and came closer to me. It was always like that. Even in the movies, after the bad guy would laugh, he would become serious all of a sudden. He put his face right up to mine and whispered “did you say something, worm?” I wanted to say something back but the words were stuck in my mouth. I felt Danny trying to pull his hand out of mine. I was probably hurting him. Ethan took a couple of steps back. “I’m gonna count to three. If you don’t back away and let me see what’s there, I’ll…” -he thought for a moment what to do. We stood and waited for Ethan to decide what he wanted to do to us. He thought of it and clapped- “then I’m gonna punch you, one by one. And I’m not telling you who’s first.” He said while looking at me. We didn’t look at each other, but just by feeling both Danny and Simon squeezing my hands I knew they were not going to move. Ethan walked away a little, grabbed a stick and sat on a large rock. “One” he yelled. No one moved. We stopped breathing. Mothers with strollers were walking by, but must have thought we were playing. “Two” he said. I think he wanted us not to move. It’ll be more interesting this way. “Let’s run, he’s going to beat you up” Danny whispered in my ear. “He’s just a coward, and besides, don’t worry because my brother is going to kick his ass” I whispered back loudly, so Simon could hear it too. Truth is, my brother, who was two years older than I was, was also afraid of him. He didn’t know I was using his name to build up confident. Maybe Simon had an idea? He always had ideas about how to save our asses. But maybe now Ethan made him freeze. “Th-“Ethan dragged out the word, trying to torture us- “rrr”- “we’ll let you see what’s in here but you can’t touch it.” It was Simon. It was a pretty simple idea actually. I didn’t believe he would go for it, but at least Simon bought us some time to breathe. “You’re gonna let me see what’s there”-Ethan answered with a scary look on his face-“and if I feel like touching it I will and if I don’t, I don’t. How’s that?” Well, this wasn’t exactly what Simon had in mind. But Simon jumped in front of me and said OK. I looked at him, annoyed, but from his look I realized I had no choice. Danny calmed down a little and let go of my hand. Danny and Simon stepped aside. I was left standing alone. I was going to move but wanted to make it clear that he can’t touch it. Ethan came closer, slowly, and stood in front me. I looked up. He was much taller than I was. I was thinking to myself that, with a built like that, he was probably sorry he couldn’t beat someone up every day. “So, worm, did you not get it? Or would you prefer that I beat you up first and then see what’s there?” I moved aside slowly. “Don’t touch it” I mumbled. I was actually hoping he wouldn’t hear it. But he did. He grabbed my ear and pinched it. “What are you up to? Don’t touch what?” But then he saw it and let go of my ear.
So now Ethan too knew about our secret. An anthill. For about a month now, since Danny found it, we’ve been coming every day to see the ants building their home. It was huge, not like the little ones you can step on accidentally. They were taking grains of sand from the woods by the garden and bringing them here. It was a line of ants, carrying grains. They were building this high mount that was in the shape of an almost perfect sphere, going up and then lower in the center. It looked like in the old cities when they barricaded before a war. Danny, who used to collect apricot pips, would come to class with like ten apricots every day. His mom used to think he ate them. He would hand them out in class and then collect the pips. He would always keep one though, and we would cut it up into little pieces and put it by the line of ants so they would have something to eat on their long journey. They were regular ants, not at all special. The kind of ants you could step on, like five at a time, and not even notice. In the last few days the ants’ home was nearly ready and only a few ants were still bringing last grains of sand. The rest was busy searching for food. Danny kept following this one large ant with wings. We called it “the flying ant”. But Simon looked it up in the encyclopaedia and told us it was their queen and that it laid eggs and that the other ants, who were called “workers”, took care of them. Danny was a little sad after it disappeared for a few days and decided to call it “NapNap” because it was always napping. Simon calmed him by saying that ant queens didn’t leave the nest much. They were busy giving birth to “workers” for the nest and a few new “queens” as well. The new queens would leave the nest to mate with male ants and form new nests. I asked if “NapNap” was the queen that formed this nest but he said that after forming a nest, the queen will chop off its own wings because she doesn’t need them anymore. “So how come “NapNap” has wings?” I asked. “She is the queen of the next nest” Simon said and left, because he was tired of explaining things to me.
At recess he asked the teacher if after the feminist revolution people will have queens too, that will control everyone and fly off to form new kingdoms. But the teacher just laughed and said it was a bit early for that. Simon suggested we play by the pit every day and this way we can guard it from people stepping in it accidentally. Every day we used to put our bags at home and go down to play near the pit, until the evening. During the day, at recess, we’d sneak out through a hole in the fence and go to check on it. We were at recess now. Ethan wasn’t at recess because he didn’t even come to school. Truth is he only came to school when he felt like it and that wasn’t often.
“An ants’ nest?” -Ethan didn’t believe it-“you idiots. This is what you were making such a big deal about? Stupid kids. I thought you were protecting some treasure.” Ok, so he didn’t care about the ants, maybe he’ll go then. Or he’ll do it out of spite. “And you were worried I’ll ruin it for you? I have better things to do. But I will tell your entire class that you three are a bunch of geeks who play with ants at recess.” Fine, let him tell. It’s not as if we had a lot of friends in class anyway. Just don’t ruin the pit. But you could never tell with him. He could still wreck it, just out of boredom. The bell rang. We went back to class. Ethan went in and wrote on the board in big writing: the three geeks play with ants. The teacher came in and asked me to erase the board. It was calculus and Ethan got bored pretty quickly. He was like a small child. All he’s going to think about now are the ants, until something else will enter his head and then he’s going to forget about them altogether. Simon, who was sitting next to me, said we should find something else to occupy him with. In the middle of class, Ethan said he had to use the bathroom and disappeared. When he didn’t return I said to Simon that he might have changed his mind and went to wreck the pit. I told Danny quietly that we should take turns in going out to check the pit every couple of minutes. I didn’t want Simon to go out because he was good at maths and we could copy off of him later. Danny went out first. He came back with a big smile on his face and told us Ethan was playing soccer with the big kids. “Great” Simon whispered, “He’s already thinking about other things.” I relaxed and finally started listening to the teacher. I waited a few minutes, so the teacher doesn’t suspect anything, and went out. It was getting chilly outside and the sun was being hidden by clouds. Winter was coming. Simon explained to us that the ants were working really hard now to build all kinds of underground tunnels and gather plenty of food for the winter. Ethan really was playing soccer and when he saw me walking past the fence he said: “What’s the matter worm, you skipping maths too?” I smiled and kept going. I got out through the hole in the fence to go check on the ants. I got to the pit but something seemed odd. The ants were rushing and running around in every direction. Even “NapNap” came in and out several times, probably to give orders to the worker ants. Maybe Ethan came past, maybe the ants felt that he wanted to do something bad to them. I didn’t know what to do. I’ll go back and talk to Simon. It started raining all of a sudden. That was not good for the ants. They were busy building their nest and I wasn’t sure they managed to build enough tunnels or gather enough food. On the way back, near the hole in the fence, a big puddle was forming. Water was coming from the school drains. The puddle was so big that water started to flow from it towards the garden, like a stream. The water was pouring into a tunnel in the sand. I started walking along the tunnel. It led me to the ants’ nest. It was in its path. The queen that set this nest up made a mistake. But it couldn’t have known. Even Simon wouldn’t have noticed it. The distance between the puddle and the pit was about the same as the distance we ran today in gym class, when we did the sprint. I had to go get Simon.
I walked into class soaking wet. The teacher turned towards me and asked me where I was. I didn’t answer and walked over to Simon. I whispered “the ants are about to drown in the rain.” We took our bags and signaled to Danny to join us. The teacher yelled: “Where do you think you’re going?” we stopped. I looked at Simon but he didn’t have anything to say. I didn’t know who was worse, the teacher or Ethan. “If you leave class now, you’re not allowed back in until the end of the year and your parents are going to be invited to school to hear about this.” OK, so the teacher was worse. Simon pointed to his watch, showing me there were only ten minutes left before class was over. We sat back down. “And I want the three of you to come to me after class” the teacher said and kept solving the equation on the board. I prayed for the remaining ten minutes till the end of class. I asked god to stop the rain and give the ants enough time to hide deep inside the pit. I drew a little map of the puddle, the tunnel and the pit. Simon said we had to block the tunnel in the sand. Bell. We ran outside without talking to the teacher. Never mind, Simon will come up with a good excuse before next class. On the way I explained to Danny what had happened. He asked if I saw “NapNap” and if she got wet or drowned in the puddle. I told him she went out for a bit but went straight back in and was probably hiding in one of the tunnels that the workers have dug out for her. It calmed him down, even though I didn’t know if that was true or not. The rain kept pouring. God didn’t listen to me. He was probably busy planning something bad to do to Ethan for what he had done to us today. We threw our bags near the hole in the fence. Danny rushed over to the pit, to see if “NapNap” was ok. I showed Simon the puddle. Water was already running in the tunnel. We shouldn’t have stayed in class. But it wasn’t too late. Simon said we should build a barrier out of sand. This way we’ll stop the water and if the water passes the barrier, we’ll build another one closer to the pit. But where we are going to bring dry sand from? “The ants were bringing grains from the woods” Simon said, “there must be some there.” We ran to the woods and between the trees we discovered a pile of sand left from the construction works they did in the garden. We each grabbed as much sand as we could hold in our hands. But by the time we got back the sand was wet from the rain and was useless. Danny found a few plastic bags and we started filling them with sand from the woods and pouring it into the tunnel. We also gathered bits of wood and large stones to build a wall. Danny, who used to help his dad fix things around the house, told us where to pour the sand and how to build the wall. We were almost finished when it started getting dark. But the rain was getting stronger still. The tunnel had already filled with water and became a small stream. We were wet and muddy. We could barely hear ourselves over the rain. Simon was shouting at Danny to go home and bring a flashlight. Danny was worried that once his parents saw him like this they wouldn’t let him come back out. But Simon said we had no choice. Danny asked that if we see “NapNap” that we would pick her up and put her in a bag so that we could later let her out and she would build a new nest. I told him that without a flashlight I’m not sure we’d be able to recognize her, so he ran home.
The water reached the wall and stopped. Simon and I jumped with joy, not paying attention to how soaking wet we actually were. Someone came running. “Danny” I called. He stopped. It wasn’t Danny. He came closer. “What Danny, worm?” Ethan looked at the wall and asked “what’s this?” if we tell him he’s going to ruin it. Actually if we don’t tell him he’s going to ruin it anyway. What should we do? “It’s a wall that’s stopping the water from reaching the ants’ nest” Simon said. Ethan looked at the wall and then back at us. “Smart, huh? You call this crappy pile of sand a wall?” a trickle of water was already starting to break through it. Simon and I quickly grabbed some sand and rocks to try and stop it, but it didn’t work. The sand was soaked and could no longer hold the water back. Ethan stood there and stared. He seemed serious all of a sudden. “I think it’s going to collapse soon” he said. “We need to build another one out of dry sand, want to help us?” Simon asked. I couldn’t believe it. Asking Ethan for help? And with trying to save an ants’ nest, no less. He’s probably going to punch Simon now. Ethan looked at me. I’ve never seen him this serious. He said “I’ll build the wall but I want you to dig tunnels so the water could go in different directions.” I stood there, staring at him. “Hey worm, what are you doing just standing there? Start digging.” I looked at Simon. It was dark but I think he was smiling. There was no time to be surprised. Maybe my spell, from the balcony, was finally working. We gave Ethan a bag and started digging tunnels. Ethan was strong and filled the bags with huge amounts of sand. Every time he emptied a bag of sand into the tunnel, he would stop, look at us, and call “oh-oh-oh” like a monkey, while thumping on his chest. Simon and I laughed. I told Simon that maybe he should help Ethan with his math tomorrow. Danny hasn’t returned yet. His mother probably stopped him from coming back out. It was really hard to see anything. When will this rain stop? We were getting tired. We could barely move, our shoes were wet and muddy and our hands were hurting from digging tunnels. But Ethan was energizing us. He became sort of a commander and kept yelling at us so we won’t stop. The wall was getting bigger and bigger. It became a small structure, with pieces of wood and rocks sticking out of it. Our tunnels were also helping in diverting some of the water in different directions. Meanwhile the first wall we built collapsed and water was slowly reaching Ethan’s wall. I looked at my watch. It was almost nine o’clock. Our parents probably rang the police by now. Maybe the cops will find us and give us a hand with the wall. Although, grownups don’t usually like ants. They think ants are yucky and tiny and that if you can accidentally step on them then they’re worthless.
Once I said to Simon that maybe we are also like little ants in a world of giants, constantly busy with trying to build our nest. Simon said that in that case, where are the giants? I told him that maybe we are so small and they are so huge that it’s just by chance that one hasn’t walked past our nest yet. He laughed.
Our tunnels helped a little bit. Water was really going in different directions, but the main tunnel was so big, that most of the water kept going straight in it. The second wall was ready. It was almost as tall as we were. Ethan found a stick, stuck a piece of paper on it and jammed it on top of the wall, like a flag. He called to the ants “that’s it, you can sleep in peace now” and came over to check our tunnels. I said to him “your wall is like the great wall of China” and he laughed even though he didn’t understand. But the water current got stronger again. We didn’t have the energy to even stand anymore. We stood quietly in the pouring rain and watched. Ethan was so quiet, I wanted to hug him. Simon looked sad. I asked him what was wrong and he said that unless the rain stopped, even Ethan’s wall will fall. We didn’t have the energy to bring more sand and even then, it probably wouldn’t have done any good. The water filled the canal. Hitting the wall and going back with more power. Like those soldiers trying to bring down the city walls with big logs. Ethan, who realized he was too quick to celebrate, started screaming at us to bring more sand but we couldn’t move. He managed to run on his own a few more times but then got tired and went to stand at the other side of the wall, to see that water wasn’t going through. I kept thinking about mom and dad who were probably worried, but I wasn’t sure what I should do anymore. “No! Shit” Ethan called. Simon and I ran to him. A trickle of water has managed to penetrate Ethan’s wall. This is the end. There were only a couple of feet separating between the wall and the nest. “We have to save NapNap” Simon yelled. “But we can’t see a thing” I told him. The water won. Ethan’s wall was now leaking. A small stream was heading straight for the nest. Ethan screamed “stinking water!” jumped into the tunnel and started kicking and splashing water everywhere. Simon and I stood next to the nest. We put our hands over the opening to try to stop the water. I held my fingers tight so the water wouldn’t go through. Water came. Our hands didn’t really help. They were too little. A stream of water got into the nest. I could imagine all the little ants running around like crazy inside their tunnels, trying to escape. Maybe a few of them stayed with “NapNap”, trying to protect her.
I saw a light in the distance. It was Danny with a torch. He was wearing dry cloths. His mom must have dressed him and then he escaped. He saw Ethan screaming and didn’t understand what was happening. He flashed the torch into the pit. Water has already gotten in. “NapNap” Danny was calling into the nest. Ethan didn’t even look at him. He was too pissed off at the water and was busy jumping in the tunnel. Danny jumped into the water-filled tunnel, searching for “NapNap”. Simon and I came closer too. Now, with Danny’s torch, we could see everything. The pit has already filled with water. I looked back at the fallen walls and the tunnels, they seemed ridiculous now. What made us think we could beat this thing? Hundreds of dead ants were floating out of the nest. Just like a real battlefield in those history programs I saw on TV. But they didn’t have a hospital to take care of the wounded. It seemed like a few of them were still alive, struggling to get away, but there was no way for us to help them. Simon pulled Danny back, away from the rising water flow. “Let’s go” he yelled “she’s dead. Come on, nothing we can do” but Danny got back in and started digging inside the pit, pulling nothing but mud and dead ants out. All those cute worker ants we’ve been following for days had turned into corpses flowing in the river that covered their pit. They were so smart and productive but they couldn’t do anything about the water. It was like an earthquake is for us. Even though we’re smart and Simon is really good in math, I’m not sure we could escape the earth breaking in two and swallowing people in. Danny started to cry. He was soaking wet again and was now going to be in trouble with his parents. I also wanted to cry. Simon sat down, holding his head between his hands. Ethan went quiet and was staring at the water, hypnotized. It was sad how someone as smart as Simon or as strong as Ethan couldn’t beat something as stupid as a stream of water. I helped Simon up and we went to get our bags.
Half way there we heard Danny “NapNap, NapNap. She’s here. I found her.” We turned around and ran back. Danny grabbed a small ant, gently, by its wings. It wasn’t necessarily “NapNap” because there could be more than one queen to a nest. But for Danny’s sake I hoped it was. Even if it wasn’t, there was no way for us to know. Simon gave him a small bag and he put the ant inside it. We all got closer to the bag. Danny shined the torch on it. “She’s moving” he called with ecstasy. It must have managed to fly a little bit, enough to save itself from drowning. Need to let it rest. Maybe it was sad because all of the little workers were now lying dead in the tunnel. “Great” Simon said “close the bag and take it home and tomorrow we’ll let it out in the sun.” “Ethan, we’re going home” Simon said “our parents must be worried.” Ethan didn’t have parents to worry about him. He could only go back to his big sister’s yelling. He was in no hurry to go home. Danny shined the flashlight on him. I thought I saw a tear running down his cheek but I’m not sure because it was raining and it could have been just a drop of rain. He walked towards Danny, looking kind of odd. He grabbed the bag out of Danny’s hand, threw it on the ground and stomped it. “NapNap” was squashed and its wings broke into pieces. “No NapNap. They’re all dead” Ethan said, as if to himself, turned around and walked off. Danny picked little NapNap body up. Took it to the pit and laid it on the flowing water. Its body was now with the rest of the ants. Now, dead and without wings, it looked just like all the others. |
But rarely do you see one like Diamond Hacks, an MLB Blog which seems to exist solely to mock the home team. Indeed, Diamond Hacks' logo is an Arizona Diamondbacks trash can. Every post is a vitriolic hate letter to the Diamondbacks, with most of the author's venom reserved for one unfortunate "Diamond Hack" in particular:
"The stadium roof retracts in less time than it takes Shawn Green to fully uncoil his gargantuan uppercut, complete with overblown wiffleball style hitch. The Almighty Swing is so time consuming that it uniquely requires Arizona's RFer to commit to his next looping arc while still finishing his backswing from the previous pitch."
So disgusted is our blogger that he sometimes even turns the gun on himself:
"Welcome to DiamondHacks, where I, an idle, arguably friendless "loser" pontificate ad nauseum on all things Diamondback. I genuinely feel sorry for you for being here — couldn't you be advancing a meaningful relationship, or at least mowing the lawn?" |
Stephen A., Max get heated over Kirk Cousins
After a loss to the Saints, Stephen A. Smith and Max Kellerman debate the Vikings' signing of Kirk Cousins to a big contract to be their QB. |
Users of multi-user devices (e.g., laptops, palmtops, mobile phones, smartphones, multimedia phones, portable media players, GPS units, mobile gaming systems, etc.) may have applications installed that periodically receive notification messages from notification services. For example, such applications include “push” email services (e.g., MobileMe, Microsoft Exchange ActiveSync, push-IMAP, Yahoo! Push, etc.) or other push services (e.g., update/upgrade services, news services, weblog services, podcast services, social networking services, or other types of services where notification messages may be sent.). Notification messages typically represent events of interest which are typically defined by the applications (e.g., new email indicator, new news item indicator, new podcast indicator, change of online status of a social networking friend, etc.).
Usually, a notification message may be routed through a push service by identifying its corresponding originating server and receiving client device. On receiving the notification message, the client device may deliver the message to a target client application for a particular user. Often times, multiple client applications for one or more users in the client device may be waiting for notification messages from the same originating server at the same time. Each waiting client application may be invoked when the notification message arrives. As more and more server applications are hosted in the originating server for supporting ever increasing number of client applications in the client device, valuable processing resources in the client device may be wasted for managing message notification.
As such, existing mechanisms to provide message notification for multi-user devices may tax resources, do not account for multiple users on a given multi-user device, and/or pose other problems. |
Q:
Google Sheets counting with multiple criteria
I have a Google Sheet where I have several columns of data, and I want to get a count of how many rows match two criteria, where one of the criteria is matching either one of two values.
Here’s an example of the data I have:
What I want to do is things like: get a count of how many rows have “Yes” in column A, and either “A” or “C” in column B. Or how many rows are “No” and either “I” or “X”.
I’ve come up with this:
=COUNTIFS($A1:$A21,"Yes",B1:B21,"="&"A")+COUNTIFS($A1:$A21,"Yes",B1:B21,"="&"C")
…but that feels clunky, and makes it harder to update if I decide to shift columns around. Not to mention really bad if I want to combine multiple bits of information into a single cell, such as this:
=(COUNTIFS($A1:$A21,"Yes",B1:B21,"="&"A")+COUNTIFS($A1:$A21,"Yes",B1:B21,"="&"C")) & "/" & (COUNTIFS($A1:$A21,"No",B1:B21,"="&"A")+COUNTIFS($A1:$A21,"No",B1:B21,"="&"C"))
I mean, that’s just awful. It works, but it’s awful.
I’ve tried using OR() without success, and also tried curly-bracket syntax without success. I fully acknowledge I may have done both of them wrong, but if so, darned if I can figure out what I missed. Any Sheets mavens willing to take pity on an old dude and show me a much smarter way to do this?
A:
Shortest one so far:
=SUMPRODUCT(REGEXMATCH(A1:A8&B1:B8,"(?i)Yes(A|C)"))
CONCATENATE both columns using & and use REGEX on the result.
(?i) Case insensitive
yes(A|C) yes followed by A or C
SUM up all the trues.
For a complex condition,
=ARRAYFORMULA(SUM(--REGEXMATCH(A1:A8&B1:B8,"(?i)yes(A|C)"))&"/"&SUM(--REGEXMATCH(A1:A8&B1:B8,"(?i)no(I|X)")))
Note that there should be no trailing spaces following yes/No and no leading spaces before A or C etc. If there are, use TRIM.
|
Defining the concept of self-care.
Self-care is a concept frequently referred to in both the theory and the clinical practice of nursing. This article presents an overview of self-care theory as described by Henderson, Hall, and Orem. Self-care theory operates on the assumption that all individuals have a need to care for themselves. While this premise may be true, it poses difficult questions for the nurse who must intervene with patients who refuse to achieve their maximum level of independence. When a disease process occurs that alters self-image, some patients (particularly elderly females who have cared for others most of their adult lives) may consciously opt to become the ones cared for. This choice gives them a temporary sense of control over a situation in which they feel helpless. When nursing care is directed toward returning control of the situation to the patient, the process of self-care and healing can begin. |
[Kingdoms help] Empire of the Bright StarThe Empire, often known as the strong arm of the east, is well-known for its
penchant for conquest and enslavement. The Emperor, once a vigorous leader,
is now better recognized for his lack of concern for the welfare of his
people. Though he is not particularly cruel, much wickedness is done in the
Emperor's name as he allows the empire be governed, for the most part, by
the bloated, lazy, and inefficient bureaucratic class. As a result,
Menegroth, one of the main cities, is rife with corruption. It is known
that strong swordsmen and talented wizards are always welcome within the
Empire, especially if their motives are not altogether righteous.
See also: Menegroth |
Q:
How to store lightweight formatting (Textile, Markdown) in database?
I'm going to be implementing a lightweight formatting language (probably Textile, maybe Markdown) in a project I'm working on, and I'm wonder how best to store it in the database.
If the user is able to edit the content they're posting, it makes sense to me that the original, non-converted markup be stored so that the user doesn't have to edit HTML the next time around. But since the content is going to be displayed a whole lot more than edited, it also makes sense to store a converted copy of the content so that the original doesn't have to be sent through Textile on every page view.
So, is the common practice to store both the original and converted content side-by-side in the database? Is there a better way?
Thanks!
A:
Store markdown:
Every view = conversion
Every edit = no processing
Store html
Every view = no processing
Every edit = convert to markdown and back
Store both
Every view = no processing
Every edit = convert to html after edit
You have to weigh up your processing costs vs. your storage cost.
|
More Views
EZ Knitting Calculator for Surprise Jackets
The EZ Knitting Calculator for Surprise Jackets is a digital product that generates custom row-by-row instructions for any size Baby, Child, or Adult Surprise Jacket. Access the calculator through your account, type in a few dimensions along with your gauge, click, and Voilà - you are given a set of row-by-row written instructions to read or print for the exact size jacket you wish to knit. It's surprisingly simple. Add The Complete Surprise book or the ABCSJ (Adult, Baby, and Child's Surprise Jacket) Pattern (SPP5) for details and illustrations on techniques, finishing, and variations--including color placement (stripes).
Note that the calculator is a digital/virtual product. To gift this item to another knitter, please email us at info@schoolhouspress.com. Gifting this item is not possible through the site.
The Complete Surprise book: Knitting EZ's Surprise Jacket
ABCSJ (Adult, Baby, and Child's Surprise Jacket), Digital
ABCSJ (Adult, Baby, and Child's Surprise Jacket), Print
Description
Details
The EZ Knitting Calculator for Surprise Jackets is a digital product that generates custom row-by-row instructions for any size Baby, Child, or Adult Surprise Jacket. Access the calculator through your account, type in a few dimensions along with your gauge, click, and Voilà - you are given a set of row-by-row written instructions to read or print for the exact size jacket you wish to knit. It's surprisingly simple. Add The Complete Surprise book or the ABCSJ (Adult, Baby, and Child's Surprise Jacket) Pattern (SPP5) for details and illustrations on techniques, finishing, and variations--including color placement (stripes).
Note that the calculator is a digital/virtual product. To gift this item to another knitter, please email us at info@schoolhouspress.com. Gifting this item is not possible through the site.
Sign Up for the Schoolhouse Press Newsletter
At Schoolhouse Press, we care about your privacy. When you come to our site to look for an item, we will only use this information to improve our site and will not store it with information we could use to identify you. We do not share names, addresses, phone numbers or email addresses with anyone, nor do we sell them. |
Virtual reality
Brian bought a PlayStation Virtual Reality headset today while I was at work, and a copy of Skyrim for it – a sword and sorcery game, for those who don’t play computer games. Now we are both lying next to one another on the sofa, both a bit green in the face, both occasionly doing mini belches, both very happy that the screen is firmly switched off for the night. The only coherent sentences we are uttering are to ineloquently express to one another how terrible we feel. “My head hurts.” “I feel sick.” “Oh God.”
Earlier this evening I threw the headset off, staggered to my bedroom, hurled all my clothes onto the floor, snuck between the sheets and literally passed out for half an hour. Pickle woke me with concerned noises nuzzling my hand. I sat back up, got dressed again, went back to the living room, tagged in with a whey faced Brian who couldn’t carry on, tried another half an hour of playing, and had to switch it off again and lie facing a wall for a bit moaning.
It’s incredible. It’s horrible. It’s too much. It’s amazing.
What the hell have we created? People all over the world must be sitting alone in a dark room with a plastic device attached to their head, in the actual matrix. Although I have no idea if my brain will get used to it. Also you look ridiculous playing it. Helpless, clumsy, and dissociated. You have to be guided around the real world by hand as if there’s something seriously wrong with you. You could step on the cat, knock over a table, fall down stairs. But the ugly plastic bobbles in your hand look like a bow and arrow in the blinding screen that is located less than an inch in front of your eyes. This weird digital world is filled in and made complete by your brain, which then can’t work out why all the people look like they’ve been drawn, and it looks like you’re moving but it doesn’t feel like you’re moving. It decides that you’ve been poisoned with some form of aggressive hallucinogen, and starts trying to make you puke it up.
Perhaps as a first game we should’ve tried something a little less high octane, like a nice contemplative Tetris or Tsuro. Something beautiful and slow that doesn’t involve running around being chased by dragons and hitting things with axes and fire. There was a time in my late teens and early twenties when I could play games like this for hours on end and not feel weird, but now I can barely manage an hour on a normal screen, and it seems I can’t get close to half that on VR before I’m running perilously close to being sick.
Brian and I have both gone to bed now. It’s not yet eleven on a Saturday night. On the plus side I’ve had one beer all night. Motion sickness helps cut down booze, for sure. And I’ve barely been able to eat anything at all, so it’ll help me lose weight too…
Pickle doesn’t know what to make of it yet. I think she’s worried about us. She probably ought to be. Boys and toys. Dear God though, it’s incredible. But we both have work to do… |
Ask HN: Who are Russian Investors? - bhavin
While reading article about Plastic Logic's 700m investment, I noticed another major investment by 'Russian investors'. There seems to be a gigantic amount of investments by Russian investors in last few years (not only in tech like facebook, zynga but also in real estate etc.. google for more).<p>You don't hear so much about investment from investors from other countries (say Chinese/German/French investors). Does anybody know whose money is referred to as when we hear the term Russian investors? and more specifically, how they have this much free cash to invest (given Russia isn't obscenely rich)?
======
curt
There is huge oil and mineral wealth in Russia. After the fall of communism,
the few well connected players bought up everything at ridiculously cheap
prices
------
olegious
"You don't hear much about investments from China"?! What about the Chinese
sovereign wealth fund (SWF) that invested in some of our banks during the
crisis (along with other major investments)? What about the Gulf State SWFs
that did the same?
Russia's problem is it there are plenty of obscenely rich individuals (that's
why Moscow is consistently ranked as one of the most expensive cities in the
world) and no middle class- its oil money powers its own SWF. Many of the rich
made their money in oil and other commodities, others are the result of the
more recent consumer spending boom, many used their government positions or
contacts, the list goes on and on...
------
NonEUCitizen
"how they have this much free cash" -- Russia has hydrocarbons; e.g. look up
Gazprom.
------
wallflower
Oligarchs and their preferred investment vehicles
|
A Tutorial for CGI::Application
A contact form using HTML::Template
Most Web developers find themselves creating some of the same functionality site after site. The repetition can become tedious—lots of typing, cutting and pasting, and testing—with the same errors popping up.
CGI::Application (C::A), and it's many Plug-in's, was developed to eliminate some of the tedium, helping the developer to more efficiently use their time by solving problems and structuring their applications.
CGI::Application falls under the category of a framework. Frameworks enable developers to use shorter, more readable coding conventions, at least on the surface, that can be performing more complicated, and possibly combined tasks behind it. The result is faster development, more consistent style, and fewer errors, to name but a few. C::A provides an addition model of mapping your Web application to "screens" (forms, etc.) and creating the functions to process by pages.
There are more robust frameworks (with more robust learning curves), like Catalyst and Maypole, and more recently, Jifty, but CGI::Application provides a very approachable, easy-to-use, low overhead framework for Web developers who like working in a less abstracted environment and a little closer to Perl itself.
This tutorial does not cover the installation of CGI::Application, or any of it's growing number of plug-ins, but will show how you can use CGI::Application and HTML::Template to build one of the most common ancillary interactive applications on the Web: a contact form. We will start out with an example that is pure CGI::Application, just to show that it can be done, though not really practical.
Also, this tutorial is not meant as a placement for C::A's well-written POD, which should be required reading.
A Word About HTML::Template
While this is not a tutorial for HTML::Template (H::T) or HTML::FillInForm, the novice Web developer will see an example of how they can all work together with CGI::Application to create more useful, dynamic, and user-friendly applications.
Basic C::A Concepts
All C::A applications are invoked by an instance script, which, in test case below, is named index.cgi. One of the advantages of using C::A, is that it encourages "smart" URI's, e.g., http://www.acmecorp.com/contact/ The instance script can be named anything, but this author prefers some__directory/index.cgi to take advantage of the smart URI, and using the .cgi extension, reserving .pl) and .pm for the actual modules.
A instance usually passes one run mode, which can be equated to the processing of one screen or Web page. For example, the first run mode might populate and display a form, and the second run mode might validate that form upon submission. If a runmode is not passed, a default run mode can be set at the top of the actual application (more on that in a minute).
After the function is run in the application, the application must return something or to something: usually an HTML page through a redirect, or in our case, an H::T template using output.
$self, or the object, is passed throughout the application and finally returned at the end. It can be called anything, but $self is common practice in the OO world.
The Layout
The locations of your files will vary depending on your server, e.g., you could be on a shared host and using something like '/usr/home/foobar' and /foobar/public_html/. The salient point is that the C::A applications (server-side) are placed out-of-reach of the public Web directory (client-side).
Sample Application
CGI::Application, Plugin's, and HTML::Template
index.cgi (our instance script)
Notes:
this instance script will pass a PARAM to the application
in this example, we need to output the form that now in a .tmpl file. Though some browsers will actually display the .tmpl file without H::T, we'll use an instance of our application to simply display the form.
the instance script might be evoked by a text link: <a href="http://www.acmecorp.com/contact/">Contact Us</a>
note that paths are relative to the location of the .tmpl file and not the instance script or application.
in the method 'display', the C::A convention for specifying a template is used: $self->load_tmpl
in the first firing of the instance script, no run mode will be passed, so the application will use the default function defined by the $self->start_mod('d') in the setup method. This will simply output, or display, the template file containing our form.
we also use the C::A::Plugin::FillInForm convention for outputting the form with the fill-in-form values: $self->fill_form
When putting a smiley right before a closing parenthesis, do you:
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Other |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.