import { createService, runLoader } from '../transloco.mocks';
import { fakeAsync } from '@angular/core/testing';

describe('missingHandler', () => {
  describe('missingHandler.allowEmpty', () => {
    const service: any = createService({ missingHandler: { allowEmpty: true } });

    it('should not call handle', () => {
      service.setTranslation(
        {
          empty: ''
        },
        'en'
      );

      spyOn(service.missingHandler, 'handle').and.callThrough();
      const value = service.translate('empty');

      expect(value).toEqual('');
      expect(service.missingHandler.handle).not.toHaveBeenCalled();
    });
  });

  describe('missingHandler.useFallbackTranslation', () => {
    let service;
    beforeEach(() => {
      service = createService({
        fallbackLang: 'es',
        missingHandler: {
          useFallbackTranslation: true
        }
      });
    });

    it('should load the active and the fallback lang', fakeAsync(() => {
      spyOn(service.loader, 'getTranslation').and.callThrough();
      service.load('en').subscribe();
      runLoader();
      expect(service.loader.getTranslation).toHaveBeenCalledTimes(2);
      expect(service.loader.getTranslation.calls.allArgs()).toEqual([['en', { scope: null }], ['es', { scope: null }]]);
    }));

    it('should get the translation from the fallback when there is no key', fakeAsync(() => {
      spyOn(service.loader, 'getTranslation').and.callThrough();
      service.load('en').subscribe();
      runLoader(2000);
      expect(service.translate('fallback')).toEqual("I'm a spanish fallback");
    }));

    it('should get the translation from the fallback when the value is empty', fakeAsync(() => {
      spyOn(service.loader, 'getTranslation').and.callThrough();
      service.load('en').subscribe();
      runLoader(2000);
      expect(service.translate('empty', { value: 'hello' })).toEqual("I'm a spanish empty fallback hello");
    }));

    it('should load the scope fallback when working with scopes', fakeAsync(() => {
      spyOn(service.loader, 'getTranslation').and.callThrough();
      service.load('lazy-page/en').subscribe();
      runLoader(2000);
      expect(service.loader.getTranslation.calls.allArgs()).toEqual([
        ['lazy-page/en', { scope: 'lazy-page' }],
        ['lazy-page/es', { scope: 'lazy-page' }]
      ]);
      expect(service.translate('empty', {}, 'lazy-page/en')).toEqual('resolved from es');
    }));

    it('should respect allow empty', fakeAsync(() => {
      service.mergedConfig.missingHandler.allowEmpty = true;
      spyOn(service.loader, 'getTranslation').and.callThrough();
      service.load('en').subscribe();
      runLoader(2000);
      expect(service.translate('empty', { value: 'hello' })).toEqual('');
    }));
  });
});


#include <pa/app.h>
#include <pa/prettyprinter.h>
#include <pa/symbols.h>

using namespace pa;

int main()
{
	int ret = 0;

	Expr x = symbol("x");
	Expr y = symbol("y");
	Expr z = symbol("z");
	Expr t = symbol("t");

	Vector syms({x, y, z, t});
	Vector v({x + ExprImm(1), y + ExprImm(1), z + ExprImm(1), t + ExprImm(1)});

	VectorApp app(syms, v);
	{
		Vector ref({Symbols::arg_symbol(0) + ExprImm(1), Symbols::arg_symbol(1) + ExprImm(1), Symbols::arg_symbol(2) + ExprImm(1), Symbols::arg_symbol(3) + ExprImm(1)});
		if (app.vector() != ref) {
			std::cerr << "Error while creating VectorApp: bad vector computed!" << std::endl;
			ret = 1;
		}
	}

	{
		Vector test = app(syms);
		if (test != v) {
			std::cerr << "Error applying VectorApp: bad result" << std::endl;
			ret = 1;
		}
	}

	return ret;
}


Q:

IA32 assembly code to Y86 assembly code: leal instruction

I am studying how to convert IA32 assembly code to Y86 assembly code, and I am stuck in the following instruction which is in IA32 code:
 leal(%edx, %eax), %eax

I cannot find the equivalent instructions for the Y86 code. I have though of two version as the following ones, but I am not sure which is right:
Version 1:
 mrmovl (%edx), %ebx
 mrmovl (%eax), %esi
 addl %ebx, %esi
 rrmovl %esi, 5eax

Version 2:
 addl %edx, %eax

Does anyone have a better idea?

A:

LEA doesn't access memory, it only does (address) arithmetic. As such your version #2 is correct.
Note that on x86 LEA doesn't affect flags, while ADD does. LEA also supports more complex effective address syntax, which is nevertheless quite straight-forward to transcribe to y86. For example,
leal offset(%eax, %ebx, 4), %edx

becomes:
rrmovl %ebx, %edx
addl %edx, %edx
addl %edx, %edx
addl %eax, %edx
pushl %eax           # save eax which used as temporary for adding the offset
irmovl $offset, %eax
addl %eax, %edx
popl %eax            # restore eax


We all do it. Every day. Hunched over a computer, grasping a steering wheel, slouched on the couch or settled onto a meditation cushion—we all sit, sometimes for hours at a time.

We take sitting in chairs for granted. It’s the go-to position for pretty much everything we do on a regular basis. Like standing and lying down, it’s something most of our bodies are designed to do. The problem lies in the extraordinary lengths of uninterrupted sitting time to which we’ve grown accustomed.

All kinds of physical/mental problems arise when we sit for long periods. Our necks and shoulders strain as they slump forward. Our hips tighten and spines are compromised as the psoas muscles shorten (more on this later). Our core muscles and glutes turn to mush. Our leg bones soften from lack of weight bearing. Our brains get foggy as blood flow slows. Most important, our vital organs flounder, sometimes resulting in cardiovascular disease; diabetes from an over-productive pancreas; and colon, breast and endometrial cancers. A recent chart in The Washington Post explains some of the issues and suggests remedies you can practice while at work.

For years, I’ve suggested to my desk-sitting yoga students that they set a timer to go off every 20 minutes to remind them to stand and stretch regularly. In recent years I’ve come up with another helpful strategy. I bring a 28-ounce water bottle to my part-time job and drink it throughout the morning. This strategy is doubly beneficial: It keeps me hydrated and forces me out of my chair as my bladder fills.

These little breaks make a big difference. In addition, I like to practice my favorite “anti-sitting” pose. Setu Bandha Sarvangasana (Bridge Pose) counteracts the deleterious effects of marathon sitting better than any other pose I know.

Why Bridge Pose?

Bridge Pose is a spinal extension (backbend)—the opposite of what you’re doing when you’re sitting all day. When you sit in a chair, your front body is in flexion, meaning that your hip joints are contracted. Over time, one of our most important postural muscles, the psoas, shorten from being in a constant state of contraction. The psoas, one on each side, originate on the fronts of your first few lumbar vertebrae, sweep diagonally down through your pelvis where they join with the iliacus. They then stretch over the front of your pelvis and attach to the knobs on the inner sides of the femurs (lesser trochanters). Their job is to contract to flex your hip joints, lifting your thighs up toward your abdomen.

What I love about Setu Bandha is that it lengthens the psoas, expands the chest, extends the shoulders, stimulates and strengthens the back body, places the heart slightly above the head, and expands the front body—all actions that chair-sitting denies. Of course, other backbends can do this as well, but unlike many of the fancier, more gymnastic-like backbends, Bridge Pose is accessible to pretty much anyone who can lie on the floor. Also, it is easier to keep your hip joints healthy in Setu Bandha than in prone backbends such as Cobra or fancy backbends such as Urdva Dhanurasana (Upward Bow or Wheel).

How to Practice

Start by lying on your back on a nonskid mat with your knees bent and feet flat on the floor. Extend your arms along the floor next to your sides. Don’t try to pull your heels in close to your rear. Place your feet far enough away from your sit bones that your shins can be vertical. This will create a much more stable pose.

A year ago, I learned a great psoas-stretching technique from longtime Feldenkrais teacher Carol Lessinger. Carol’s suggestion has made Bridge Pose healthier for my back and hip joints. Instead of moving into Setu Bandha by pressing up with your back and hip joints, press your feet down and extend your knees out away from your body in order to lift your spine off the floor. Clasp your hands underneath you and rock side to side on your shoulders to expand your chest. Ground and lengthen your arms. Lengthen the front of your neck so that your chin moves away from the breastbone even as the breastbone moves toward your chin. Keep extending your thighs away from you in the pose. You will not lift as high as you do when you simply push up through your hip joints. But you will lengthen your psoas more efficiently, and you will not put the cartilage in your hip joints at risk.

If your shoulders are broad and/or your arms are short, your arms may not be able to straighten when your hands are clasped. In this case, you can use a strap to connect your hands. Widen the distance between your hands on the strap until your arms straighten along the floor. This way you can press the arms into the floor to expand your chest. A stress-busting option for Bridge Pose is to place a block under your pelvis (as in the photo)—not under your spine—and let yourself rest for a few minutes that way.

Take five to ten breaths, continuing to stretch your legs away from you and to ground your arms. When you are ready to release the pose, extend your arms along the floor overhead and slowly roll your spine down, one vertebra at a time. Rest for a few breaths. When you are ready, return your arms to your sides and return to Bridge. I like to do at least three Setu Bandhas in a practice.

Longtime teacher Judith Hanson Lasater says that people should do backbends every day. I agree. Your backbends do not need to be fancy or impressive. Decades of practice have shifted my priorities from performing impressive poses to balancing my energies, and healing and maintaining my physical body. Setu Bandha is rich with qualities that energize, calm and unwind the tensions we accrue in the process of living.


FanBros Originals (Press Release)

Coinciding with San Diego Comi-Con 2013, Fan Bros and The Loud Speakers Network are proud to announce FanBros Originals, a biweekly feature publishing never-before-seen comics by fan favorite creators and tomorrow’s big names.
The opening installment is a series of self-contained science fiction cautionary tales under the banner, FEARLESS FUTURE, edited by Chris Robinson (Jim Henson’s Tale of Sand).
“We have always envisioned FanBros.Com as a place for new talent to gain a foothold in the industry. With the publication of Originals we have now added comics to the many ways in which we showcase artists and their work.” said host, DJ BenHaMeen.

Yep you read that correctly, in addition to the number one podcast in the universe and the greatest website in the galaxy we know bring you the best comics on the planet, FanBros Originals, our very own line of Internets issues. Join us here on July 17th and every two weeks after for a self contained story by some of the greats in comics as well as newcomers to the field. Much more information after the break so hit that button and read up on FanBros Originals for yourself.

Currently in beta, FanBros.com remains a hub for fans of the popular podcast to continue their fandom through think pieces and daily features based on the latest and greatest in film, television, comics and tech.
More creative teams and titles are to be announced. Please note the site is currently not accepting Originals pitches, however, Submissions Guidelines are soon to be released.

July 17 – “Yes You Can” written by Dallas Penn (Internets Celebrities, The Combat Jack Show featuring Dallas Penn) and illustrated by Ian Herring (Jim Henson’s Tale of Sand, Splinter Cell)
July 31 – “Hidden Track” written by Josh Tierney (Spera) and illustrated by Afu Chan (Spera)
August 14 – “The Precious Few” written and illustrated by Derek Fridolfs (Justice League Beyond, Batman: Arkham
Unhinged) & Kenneth Elliott Jones (Legends of the Dark Knight), with color art by Jesse Turnbull
August 28 – “Employee of Tomorrow” written and illustrated by Rus Wooton (The Walking Dead, Sex), with color art by Kelly Kitzpatrick
September 11– “Make it There” written by Sebastian Girner (PunisherMax) and art by Kendall Goode, with color art by Ruth Redmond
September 25 – “Faces” written by Eric Skillman (Suckers, Jim Henson’s Tale of Sand) and illustrated by Paulina Ganucheau
October 9 – “Deadly Warriors” written by Declan Shalvey (Venom, Deadpool) and illustrated by Ricardo Lopez Ortiz, with color art by Ruth Redmond
October 23 – “Irreplaceable” written by Alejandro Arbona (Invincible Iron Man, Immortal Iron Fist) and art by Declan Shalvey (Venom, Deadpool)


21 x 28 cm. letter. Correspondence in support of regrading Jackson and adjoining streets and using the dirt to fill in the tide flats. This is printed on letterhead of the Seattle Brewing and Malting Company, Brewers and Bottlers of Rainier Beer,...

QuickView

Display a larger image and more item information when the pointer pauses over a thumbnail


Get the stories that matter to you sent straight to your inbox with our daily newsletter. Subscribe Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

ALMOST a billion elastic bands a year have to be bought by Royal Mail because so many are left littering the streets.

The number of red bands used to bundle mail has more than doubled this decade, leaving the cash-strapped organisation with an annual bill of nearly £1million.

The Record uncovered the figures after complaints about posties leaving paths, communal areas and gardens strewn with the red bands.

The revelation comes amid Government plans to privatise 30 per cent of the ailing public-owned service.

Last night, environmental groups and politicians slammed bosses over the mess caused by discarded bands.

Animal welfare charities also said the bands have choked ducks. Birds mistake them for worms and cats have needed surgery after eating them.

Green MSP Patrick Harvie said: "If re-using rubber bands could save almost £1million a year in these tough economic times, the Royal Mail should do it.

"The current approach is pretty wasteful.

"Management should be making the existing service more efficient and greener, not trying to get themselves privatised."

Details on the rubber band scandal were obtained under freedom of information laws.

Figures show that last year Royal Mail shelled out £982,677 on 871,695,000 elastic bands - enough to go round the world three times without even stretching them.

That is more than double Royal Mail's pre-2005 number of 342million.

Each band costs Royal Mail a 10th of a penny. The price has risen only slightly in recent years, so the cost rise is mainly down to the increase in the number used.

One postman said: "The bosses changed the bands to the red ones a few years back and said it was so we could spot them more easily if they were dropped.

"But the problem is they are flimsier than the old ones, so they flick off or snap really easily.

"Most of us are really conscientious about picking them up if they fly off, but some do just drop them willy-nilly."

Anti-litter group Keep Scotland Beautiful (KSB) have lobbied RoyalMail over the issue.

KSB spokeswoman Donna Niven said: "They are quite defensive and seem to be trying not to participate with us.

"We need a bit more awareness among postmen and women to encourage them to re-use the bands.

"We would stress to the Royal Mail to come forward and work with us to find a solution."

Ian Futter, the Scottish SPCA's head vet, said: "Discarded rubber bands are certainly a problem.

"If swallowed, they can create an obstruction in the gut which often requires surgery."

Royal Mail would not give a clear explanation for the huge rise in elastic band spending.

A spokeswoman said: "The increase in usage is the requirements for our operation.

"They are designed for recycling and we need our people to help us reduce costs."

What do you think of the band waste? Text 84080 or email letters@dailyrecord.co.uk.


The death toll may be even higher than assumed, because some victims — between ages 34 and 96 — were cremated. More than 130 other bodies were exhumed during the investigation.

As his trial got underway Tuesday, Hoegel admitted that the accusations were largely correct. “That’s the way it is,” he said.

His mass murder went unnoticed for years, partially because many of the patients he treated were already critically ill and because Hoegel tried to resuscitate his victims after deliberately putting them on the brink of death. In some cases, patients survived the ordeal, but records show that fatality rates regularly increased when Hoegel was on shift.

AD

AD

Investigators are also probing the responsibility of the hospitals where Hoegel worked. Authorities said that staff there was aware of irregularities but failed to act. Even when Hoegel was caught administering his deadly drug cocktail to one victim in 2005, hospital officials did not immediately intervene. They only reached out to authorities after Hoegel killed yet another patient, using the same method.

The nurse has claimed he acted spontaneously and repeatedly vowed to never kill again. In 2015, he apologized for his crimes, saying that he was “honestly sorry.”

Hundreds of relatives backed the new trial against Hoegel, even though the former nurse’s sentence won’t substantially change. German criminals sentenced to life in prison usually only spend 15 years behind bars. German laws also do not allow for consecutive prison terms, so Hoegel could theoretically walk free within little more than a decade, unless he is barred from an early release at the end of the trial that is now underway.


Major League Soccer supporters set a new record over the weekend, filling stadiums to capacity for the 137th time this year to set a new mark for sellouts in a season.

Thank you to all of our passionate @MLS supporters for setting a new record for sellouts. 137 and counting! — Don Garber (@thesoccerdon) September 21, 2015

According to a statement from an MLS spokesman, the previous record for sellouts in one MLS season was 133. The spokesman also indicated that the league is on track to set a new record for total attendance and average attendance, and expects the total number of sellouts to reach 160 before the end of the year.


Q:

Classifying groups of order $5 \cdot 11 \cdot 61$

My question is whether I'm classifying groups of order $5 \cdot 11 \cdot 61$ correctly.  (This is a qualifying exam question, so I also want to make sure that I'm doing it “efficiently”.)
Sylow's theorem shows that
$$n_{11} = n_{61} = 1\qquad \textsf{ and }\qquad n_5 = 1, \,11,\, 61,\, 11 \cdot 61.$$
Let $P = \mathrm{Syl}_{5} = \langle x \rangle$ (chosen arbitrarily), $Q = \mathrm{Syl}_{11} = \langle y \rangle$, and $R = \mathrm{Syl}_{61} = \langle z \rangle$.  Since $Q$ and $R$ are normal and intersect trivially, $yz = zy$.  Moreover, since $P$ intersects trivially with $Q$ and $R$,
$$PQ \cong Q \rtimes_\gamma P \qquad \textsf{ and }\qquad G = PQR \cong R \rtimes_\varphi PQ,$$
where $\gamma \colon P \to \mathrm{Aut}(Q) \cong \mathbf{Z}_{10}$ and $\varphi \colon PQ \to \mathrm{Aut}(R) \cong \mathbf{Z}_{60}$ are the usual conjugation homomorphisms.
$\gamma$ is determined by where $x$ is sent.  We have $|\gamma_x| \big| 5 \text{ and } 10$, so $|\gamma_x| = 1 \text{ or } 5$.  If $\gamma_x$ is trivial, we obtain the relation $xy = yx$.  If $\gamma_x$ is not trivial, then it is a generator of $\mathbf{Z}_5 \subset \mathbf{Z}_{10}$; moreover, the resulting semidirect product is independent of which generator $x$ is sent to.  One can check quickly that the automorphism $y \mapsto y^2$ generates $\mathbf{Z}_{10}$.  So, possibly after rechoosing $y$, we may take $\gamma_x \colon y \mapsto y^4$ and we obtain the relation $y^4 = xyx^4$.
$\varphi$ is determined by where $x$ and $y$ are sent.  We have $|\varphi_x| \big| 5 \text{ and } 60$ and $|\varphi_y| \big| 11 \text{ and } 60$, so $|\varphi_x| = 1 \text{ or } 5$ and $|\varphi_y| = 1$ (which we already knew since $zy = yz$).  If $\varphi_x$ is trivial, then we obtain the relation $xz = zx$.  If $\varphi_x$ is not trivial, then let $1 < N < 61$ be chosen such that the automorphism $z \mapsto z^N$ generates $\mathbf{Z}_{60}$ (I gather that there is no general formula for $N$).  Then, possibly after rechoosing $z$, we may take $\varphi_x \colon z \mapsto z^{6N}$ and we obtain the relation $z^{6N} = xzx^4$.
We conclude
$$
G  \cong \left\langle x, y, z : \begin{array}{cc}
x^5 = y^{11} = z^{61} = 1, & yz = zy,\\[0.05in]
\left[ xy = yx \;\textsf{ or }\; y^4 = xyx^4 \right], & \left[ xz = zx \;\textsf{ or }\; z^{6N} = xzx^4 \right]
\end{array}\right\rangle$$
I suppose to be fully rigorous I would have to prove that there exists such a group for each of the four combinations and that they are all distinct...
Any comments, corrections, answers, etc., are warmly welcomed.

A:

This is not an easy question and you have made a subtle mistake. If $\gamma_x$ and $\phi_x$ are both trivial then you get an abelian group. If one of them is trivial and the other is not, then you are correct in saying that, up to group isomorphism, there is a unique choice for the nontrivial one. So we have three isomorphism types of groups so far.
The remaining case is when $\gamma_x$ and $\varphi_x$ are both nontrivial. In order to get your preferred choice of $\gamma_x$ you may have to replace $x$ by a power. You cannot then replace $x$ by a power again to get your preferred choice for $\varphi_x$. So, having fixed $x$ and $\gamma_x$, the four possible choices of $\varphi_x$ in give rise to four nonisomorphic groups.
So there are actually $7$ isomorphism types of groups of this order.


    MENU

Products

About Us

Contact

More

Submenu Item

Another Item

Item with submenu

Sub-submenu Item

Another Item

Another submenu

Sub-submenu

An Item

        <form role="search">
          <input type="search" placeholder="Enter Search" />
          <button type="submit">

          </button>
        </form>


Truck Driver Jobs

EJ Farms Trucking

Job Overview

Driver Types

Company Driver

Equipment Types

Refrigerated

Route Types

Over The Road

Exprience Required

18 Months

Job Locations

Now Hiring OTR Company drivers for expanding company! All trucks are Kenworth W900L with 53' Great Dane Reefers! Pay starting 40 cpm and above based on experience! $1000 a week min guarantee. Great benefits. Ask for Amy in Human Resources.


Q:

Want custom cell to update outlet, using data from its delegate

Context:
I'm putting together something slightly convoluted.
I have a selection of custom table cells designed in a single XIB file, each a belonging to MyCustomCell class. These cells contain Label outlets, as well as things like steppers and sliders which let the user change the properties that drive the outlets.
Example cell: http://s29.postimg.org/fi15mfn8n/nib.png
These cells are loaded into an UITableView elsewhere in my project, which in turn sits in a UIViewController. (The reason I am keeping the cell nibs separate from the view they get loaded into is to preserve easy customizability, since this table view needs to contain different cells depending on options the user has previously selected.)
These properties (e.g. the date property) are held by the UIViewController. When the stepper is tapped, the UIViewController updates its date property via a delegate system I have implemented.
Questions:
My problem is then getting the properties back out of the UIViewController and into the Label outlets in the custom cells. How can I do that?

A:

For anyone attempting something similar (multiple views and tableviewcells passing data around), I decided to use a Singleton. It's a separate class instance to host the data, accessible and modifiable by any other class:
DataSingleton.h
#import <Foundation/Foundation.h>

@interface DataSingleton : NSObject

+(instancetype) sharedInstance;

@property (strong, nonatomic) NSDate *dataItem1;
@property (strong, nonatomic) NSNumber *dataItem2;
@property (strong, nonatomic) NSNumber *dataItem3;

@end

DataSingleton.m
#import "DataSingleton.h"

@implementation DataSingleton

// Singleton boilerplate
+(instancetype) sharedInstance
{
    static DataSingleton *instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });

    return  instance;
}

@end

And then any other class can access and modify this single-instance dataset as follows
NSDate *date = [DataSingleton sharedInstance].dataItem1

Hope this helps anyone else playing around with 'global' data.


describe :hash_store, :shared => true do
  it "associates the key with the value and return the value", ->
    h = new_hash(:a => 1)
    h.send(@method, :b, 2).should == 2
    h.should == new_hash(:b=>2, :a=>1)

  it "duplicates string keys using dup semantics", ->
    # dup doesn't copy singleton methods
    key = "foo"
    def key.reverse() "bar" end
    h = new_hash
    h.send(@method, key, 0)
    h.keys[0].reverse.should == "oof"

  it "stores unequal keys that hash to the same value", ->
    h = new_hash
    k1 = ["x"]
    k2 = ["y"]
    # So they end up in the same bucket
    k1.should_receive(:hash).and_return(0)
    k2.should_receive(:hash).and_return(0)

    h[k1] = 1
    h[k2] = 2
    h.size.should == 2

  it "duplicates and freezes string keys", ->
    key = "foo"
    h = new_hash
    h.send(@method, key, 0)
    key << "bar"

    h.should == new_hash("foo" => 0)
    h.keys[0].frozen?.should == true

  it "doesn't duplicate and freeze already frozen string keys", ->
    key = "foo".freeze
    h = new_hash
    h.send(@method, key, 0)
    h.keys[0].should equal(key)

  ruby_version_is ""..."1.9", ->
    it "raises a TypeError if called on a frozen instance", ->
      lambda { HashSpecs.frozen_hash.send(@method, 1, 2) }.should raise_error(TypeError)

  ruby_version_is "1.9", ->
    it "raises a RuntimeError if called on a frozen instance", ->
      lambda { HashSpecs.frozen_hash.send(@method, 1, 2) }.should raise_error(RuntimeError)

  it "does not raise an exception if changing the value of an existing key during iteration", ->
      hash = {1 => 2, 3 => 4, 5 => 6}
      hash.each { hash.send(@method, 1, :foo) }
      hash.should == {1 => :foo, 3 => 4, 5 => 6}
end


Soluble ICAM-1, demyelination, and inflammation in multiple sclerosis and acute optic neuritis.
We measured sICAM-1 in paired samples of serum and cerebrospinal fluid (CSF) from patients with an attack of multiple sclerosis (MS) (n = 50) and patients with acute monosymptomatic optic neuritis (ON) as a possible first attack of MS were also included (n = 25). Based on calculations of extended indices we found evidence of intrathecal synthesis of sICAM-1 both in patients with clinically definite MS and in patients with idiopathic ON compared to neurological control subjects. The amount of intrathecally synthesized sICAM-1 correlated significantly to the CSF leukocyte count and to the concentration of myelin basic protein in the CSF. The serum concentrations of sICAM-1 were not increased in patients with demyelinating disease compared to the neurological control subjects.


Porphyromonas gingivalis increases the invasiveness of oral cancer cells by upregulating IL-8 and MMPs.
Recent studies indicate that chronic inflammation promotes the aggressiveness of cancers. However, the direct molecular mechanisms underlying a functional link between chronic periodontitis, the most common form of oral inflammatory diseases, and the malignancy of oral cancer remain unknown. To elucidate the role of chronic periodontitis in progression of oral cancer, we examined the effect of Porphyromonas gingivalis (P. gingivalis), a major pathogen that causes chronic periodontitis, on the invasiveness of oral squamous cell carcinoma (OSCC) cells, including SCC-25, OSC-20 and SAS cells. Exposures to P. gingivalis promoted the invasive ability of OSC-20 and SAS cells via the upregulation of matrix metalloproteinases (MMPs), specifically MMP-1 and MMP-2. However, P. gingivalis-infected SCC-25 cells did not exhibit changes in their invasive properties or the low expression levels of MMPs. In an effort to delineate the molecular players that control the invasiveness, we first assessed the level of interleukin-8 (IL-8), a well-known inflammatory cytokine, in P. gingivalis-infected OSCC cells. IL-8 secretion was substantially increased in the OSC-20 and SAS cells, but not in the SCC-25 cells, following P. gingivalis infection. When IL-8 was directly applied to SCC-25 cells, their invasive ability and MMP level were significantly increased. Furthermore, the downregulation of IL-8 in P. gingivalis-infected OSC-20 and SAS cells attenuated their invasive potentials and MMP levels. Taken together, our findings strongly suggest that P. gingivalis infection plays an important role in the promotion of the invasive potential of OSCC cells via the upregulation of IL-8 and MMPs.


The prestigious legal rating service AVVO has consistently given Law Offices of Mark Deniz a "Superb" rating.

Mark Deniz has proudly served as a member of the California state bar since 2003.

Mark Deniz has consistently been named one of the National Trial Lawyers Top 100 Trial Lawyers.

11 Arrested Overnight at San Diego DUI Checkpoint Downtown

By Mark Deniz of The Law Offices of Mark Deniz APLC on Monday, November 24, 2014.

The Gaslamp & downtown area is one of the most frequent areas for a San Diego DUI Checkpoint.

A San Diego DUI out of a checkpoint erases and brings out several issues in a San Diego DUI case.

The issue of WHO is usually driving is not in a San Diego DUI case.

A San Diego checkpoint case does raise flags for several issues. First, there usually is not bad driving. Someone comes into a checkpoint. The officer asks a few questions and may smell some alcohol. They direct the driver to a secondary screening. If the drivers does this well....does that help show impairment or lack thereof? Following directions and performing functions is a sign you are not impaired.

A part of a thorough San Diego DUI defense is to ensure the checkpoint is legal. Below is one of many cases that touches on the issue.

As the holidays come up it is key to be safe and smart. There is sure to be more San Diego DUI checkpoints before the year comes to an end.

Eleven motorists were arrested overnight Saturday on suspicion of drunken driving near a sobriety/driver's license checkpoint in downtown San Diego, police reported.

Twelve vehicles were also impounded during the checkpoint in the 1400 block of G Street that began at 11 p.m. Saturday and ended Sunday at 3 a.m., said San Diego police officer Mark McCullough.

McCullough said 1,941 vehicles passed through the checkpoint with 675 of those motorists being screened by officers.

Ingersoll v. Palmer

Ingersoll v. Palmer, 43 Cal. 3d 1321 (1987), was the first California case addressing sobriety checkpoints. The case considered the legality of one of the first sobriety checkpoints in California, one designed as a model program. Id.at 1326. The court began by noting that at sobriety checkpoints, police do not need reasonable suspicion of criminal activity to stop motorists:

Petitioners contend the validity of a sobriety checkpoint stop must be determined by the standard set forth in In re Tony C. (1978) 21 Cal. 3d 888, requiring an individualized suspicion of wrongdoing. If the primary purpose of the stop here were to detect crime or gather evidence of crime, we would agree with the contention that an individualized suspicion of wrongdoing is required. But, as we shall explain, the primary purpose of the stop here was not to discover evidence of crime or to make arrests of drunk drivers but to promote public safety by deterring intoxicated persons from driving on the public streets and highways.

The court further stated,

We therefore conclude the propriety of the sobriety checkpoint stops involved here is to be determined not by the standard pertinent to traditional criminal investigative stops, but rather by the standard applicable to investigative detentions and

inspections conducted as part of a regulatory scheme in furtherance of an administrative purpose.

Id.at 1327-28. The court analogized to airport screening searches, which do not require any individualized suspicion of criminal activity. Id.at 1328. The court considered and rejected the argument that the checkpoint was designed to arrest drunk drivers. Instead, it noted that the checkpoint was designed to raise public awareness and serve as a deterrent, and experience with checkpoints in other states indicated that they were effective deterrents. Id.at 1336-37.

The Ingersoll court also noted some factors in the checkpoint before it that minimized the checkpoint's intrusiveness:

The decisions of courts of other states and the California Attorney General's opinion which originally sanctioned the kind of checkpoints operated here have analyzed the issue of intrusiveness extensively and have identified a number of factors important in assessing intrusiveness. The standards articulated in these cases provide functional guidelines for minimizing the intrusiveness of the sobriety checkpoint stop.

Id.at 1341. The eight Ingersoll guidelines are:(1) decision-making at the supervisory level; (2) limits on discretion of field officers; (3) maintenance of safety conditions; (4) reasonable location; (5) reasonable time and duration; (6) indicia of the roadblock's official nature; (7) minimal length and nature of detention; and (8) advanced publicity. Id.at 1341-46. The program at issue in Ingersoll complied with all of these guidelines, and was approved.

Hire a Proactive, affordable, and quality defense when you are facing San Diego DUI charges. Whether you have been charged of a San Diego DUI, Poway DUI, La Mesa DUI, Santee DUI, Mission Valley DUI, Clairemont DUI, Point Loma DUI, La Jolla DUI, Carmel Valley DUI, Mira Mesa DUI, Pacific Beach DUI, Del Mar DUI, Carmel Valley DUI, Encinitas DUI, Oceanside DUI, Ocean Beach DUI, Escondido DUI, Vista DUI, San Marcos DUI, Carlsbad DUI, El Cajon DUI it is vital you need to hire an attorney who knows how to defend your rights and can determine if the government can prove their case. Contact the Law Office of Mark Deniz now for a free case evaluation at (858) 751-4384 or send an email to mark@denizdefense.com.

San Diego-area municipalities have been increasingly using DUI or sobriety stops in recent years to apprehend suspected drunk drivers. The substantial state grant money, proceeds from fines and additional penalty assessments from court convictions has encouraged city governments and the California Highway Patrol to continue expanding the use of DUI checkpoints.

Checkpoints are often set up on weekends throughout San Diego County, from Oceanside to Chula Vista. The use of checkpoints is not always legal, however. In 1987, following the Ingersoll v. Palmer ruling, the United States Supreme Court gave guidelines necessary before any law enforcement officer(s) could initiate a checkpoint.

When a DUI checkpoint arrest is challenged in criminal court, the judge will consider each of the following factors:

The location chosen for the checkpoint

Time and duration the checkpoint is operated

Degree of discretion left to individual police officers

Standards set by superior officers

Whether advanced notice was given to the general public and approaching drivers

Adherence to road safety conditions

Length of time each driver is stopped and detained

Defending Your DUI Checkpoint Case

I, Mark Deniz, can help you evaluate whether your individual rights were violated and the appropriate next steps in your individual case. I am a local San Diego DUI lawyer who has handled hundreds of jury trials and hundreds of DUI cases throughout the San Diego area.

Common problems with DUI checkpoints include:

Police officers stopping and detaining drivers who turn off the road before going through an announced DUI roadblock. Making a turn, even if for the expressed purpose of avoiding the roadblock, is not illegal and is not a legitimate reason to stop and detain a driver. It is a violation of your rights, and I can file a motion to have the evidence collected after an illegal stop and arrest thrown out of your case.

Breath testing with mobile breath test devices. Breath testsadministered in the field may give faulty readings due to damage that can occur to the device in the field and the calibration of the device. I can challenge the reliability of the results on several grounds, including the requirements of Title 17 of the California Code of Regulations, which mandates that individuals being administered breath tests be observed by a police officer for a minimum of 15 continuous minutes prior to the test, which rarely occurs in any DUI arrest situation.

DUI checkpoints impose significant intrusions upon the general public. Their allowance in practice should be extremely limited. If you or a loved one was arrested on suspicion of drunk driving at a DUI roadblock in San Diego or surrounding areas, please call The Law Offices of Mark Deniz APLC to speak with me right away.

The use of the Internet or this form for communication with the firm or any individual member of the firm does not establish an attorney-client relationship. Confidential or time-sensitive information should not be sent through this form.


Q:

How to add behavior-based onclick to ajax-enabled Form API button?

I have a form with a button:
$form['categories_update'] = array(
  '#type' => 'button',
  '#value' => t('Load category-related properties'),
  '#ajax' => array(
    'callback' => '_mymodule_categories_callback',
    'wrapper' => 'categories_properties',
    'method' => 'replace',
    'effect' => 'fade',
    'prevent' => 'submit',
  ),
  '#limit_validation_errors' => array(),
);

Now, in Behavior I'm using:
(function($) {
  var initialised = false;

  Drupal.behaviors.mymoduleTag = {
    attach: function (context, settings) {

      // Unrelated code

      $('#edit-categories-update', context).on('click', function(){
        console.log('Load category-related prperties clicked');
      });
    }
  };
})(jQuery);

And it simply fails to work - no errors in console, but no code executed either.
It works all right when I comment out '#ajax' part of a button's definition. Is there a way to have both behavior JS and Form API Ajax working for one button?
I'm using jQuery update module in it's dev version, and I have it set to jQuery 1.8. The button is not inside the wrapper, so it's ID is not affected by AJAX call (verified in browser).

A:

I've done this by creating a function in the js file and then calling the function using the Drupal ajax_command_invoke() function.
For example, in the js put this:
$.fn.yourmodule_somename = function() {
  console.log('Load category-related prperties clicked');
}

And then in the AJAX callback, put this to call that function:
$commands[] = ajax_command_invoke(NULL, 'yourmodule_somename');


Q:

Android application crashes when re-entering after the home button is pressed. This is the code

I've searched over and over in this forum & google about this issue, maybe it has to do something with my thread or the way how the game is starting.
This is the skeleton of the game application, please tell me what I'm doing wrong.
This is what I'm doing in thread;
public class GameThread extends Thread
{

static final long FPS = 30;
private GameView view;
private boolean running = false;
private SurfaceHolder surfaceHolder;
public boolean isSurfaceCreated = false;

private Object mPauseLock;
private boolean mPaused;

public GameThread(SurfaceHolder surfaceHolder, Handler handler, GameView view)
{
    super();
    mPauseLock = new Object();
    mPaused = false;

    this.surfaceHolder = surfaceHolder;
    this.view = view;
}

public void setRunning(boolean run)
{
      running = run;
}

/**
 * pause thread.
 */
public void onPause() {
    synchronized (mPauseLock) {
        mPaused = true;
    }
}

/**
 * resume thread.
 */
public void onResume() {
    synchronized (mPauseLock) {
        mPaused = false;
        mPauseLock.notifyAll();
    }
}

@Override
public void run()
{

    // run our thread on high priority to keep from getting slowdown
    android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_URGENT_DISPLAY);

    // wait for surface to become available @ start
    while (!isSurfaceCreated && running)
    {
        try {
            sleep(50);
        } catch (InterruptedException e) {}
    }

    long ticksPS = 1000 / FPS;

    long startTime;

    long sleepTime;

    while (running){

          Canvas c = null;

          startTime = System.currentTimeMillis();

          //long msSinceLastTick = System.currentTimeMillis() - view.lastTickMs;

             try {

                    c = surfaceHolder.lockCanvas(null);

                    synchronized (surfaceHolder)
                    {

                        /*
                         * stop updating when pause is pressed
                         */
                        if(mPaused == false)
                        {
                            view.update();
                        }

                        view.onDraw(c);

                    }

             } finally {

                    if (c != null)
                    {

                        surfaceHolder.unlockCanvasAndPost(c);

                    }

             }

             sleepTime = ticksPS - (System.currentTimeMillis() - startTime);

             try {

                    if (sleepTime > 0)

                           sleep(sleepTime);

                    else

                           sleep(10);

             } catch (Exception e) {}

      }

}

This is the start activity code;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;

public class test_game extends Activity {
    /** Called when the activity is first created. */

    private GameView Game;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Game = new GameView(this);

    setContentView(Game);

    }

    @Override
    public void onBackPressed()
    {
        super.onBackPressed();

        //KILL ALL
        finish();
        System.runFinalizersOnExit(true);
        System.exit(0);
    }

 // ===========================================================
 // onPause
 // ===========================================================

 protected void onPause() {
     super.onPause();

 }

 // ===========================================================
 // onStop
 // ===========================================================

 protected void onStop() {
     super.onStop();
 }

 // ===========================================================
 // onDestroy
 // ===========================================================

 @Override
 protected void onDestroy() {
    super.onDestroy();

 }

}

Added extra lines in AndroidManifest.xml
      android:launchMode="singleTask"
      android:alwaysRetainTaskState="true"

GameView looks like this;
   public class GameView extends SurfaceView {

   private SurfaceHolder holder;
   private GameThread Thread = null;
   private int testVar = 0;
   private boolean isPaused = false;

   public GameView(Context context)
   {

         super(context);

     loadGameFiles();

         holder = getHolder();

         Thread = new GameThread(holder, new Handler(), this);

         holder.addCallback(new SurfaceHolder.Callback()
         {

                @Override
                public void surfaceDestroyed(SurfaceHolder holder)
                {

                       boolean retry = true;

                       Thread.setRunning(false);

                       while (retry)
                       {

                              try {

                                    Thread.join();
                                    retry = false;

                              } catch (InterruptedException e)
                              {

                              }

                       }

                }

                @Override
                public void surfaceCreated(SurfaceHolder holder)
                {

                    Thread.isSurfaceCreated = true;

                    if(isPaused == true)
                    {
                        onResume();

                    }

                    Thread.setRunning(true);
                    Thread.start();
                    GameMenu();

                }

                @Override
                public void surfaceChanged(SurfaceHolder holder, int format, int width, int height)
                {
                }

         });

         setFocusable(true);

   }

   public boolean isPaused()
   {
       return this.isPaused;
   }

   /**
    * Pauses the physics update & animation.
    */
   public void onPause() {
       synchronized (holder)
       {
           if(isPaused == false)
           {
               isPaused = true;
           Thread.onPause();
           }
       }
   }

   public void onResume()
   {
       synchronized (holder)
       {
           if(isPaused == true)
           {
               isPaused = false;
               Thread.onResume();
           }
       }
   }

   etc..

Hi guys thanks for the replies, the forum commentbox doesn't let me post this; anyway, here it is:
Hi Frankenstein, I've tried what you suggested here, still doesn't work. My resume code in the GameView looks like this;
public void onResume(){ synchronized (holder)
           { if(isPaused == true){
                   isPaused = false; //resume notification to the gameview
                   Thread.onResume(); //resume the thread
               }
           }
       }

This is on the Activity class;
 @Override
 protected void onPause() {
     super.onPause();
     Game.onPause();
 }
 @Override
 protected void onResume() {
     super.onResume();
     Game.onResume();
 }

I have not used logcat, not sure how to use it, I can sure call it in each steps in java but where does it displays the error/logs? thanks in advance guys!
When I resume it shows following error in LogCat;
Added this line to avoid the previous problem;
                    Thread.isSurfaceCreated = true;
                    Thread.setRunning(true);
                    Thread.start();
                    loadGame();

UPDATE:
The application returns to black screen, but it's not frozen.
Errors (updated) in logcat;
12-14 16:54:52.176: ERROR/MediaPlayerService(3937):  create PVPlayer
12-14 16:55:03.172: ERROR/dalvikvm(4619): Failed to write stack traces to /data/anr/traces.txt (1093 of 3526): Unknown error: 0
12-14 16:55:03.910: ERROR/dalvikvm(25464): Failed to write stack traces to /data/anr/traces.txt (2401 of 3332): Math result not representable
12-14 16:55:03.918: ERROR/dalvikvm(25279): Failed to write stack traces to /data/anr/traces.txt (-1 of 2354): Math result not representable
12-14 16:55:32.394: ERROR/imdg81(19379): IsShutDownStarted()
12-14 16:55:32.590: ERROR/imdg81(19379): IsShutDownStarted()
12-14 16:55:37.902: ERROR/MediaPlayer(19379): error (100, 0)
12-14 16:55:37.930: ERROR/SoundPool(5264): Unable to load sample: (null)
12-14 16:55:39.281: ERROR/SoundBooster(5328): readSBTable: file open error!
12-14 16:55:39.281: ERROR/AcousticEQ(5328): [AEQ] aeqcoe.txt: file open error!
12-14 16:55:39.500: ERROR/AudioService(19379): Media server died.
12-14 16:55:39.500: ERROR/AudioService(19379): Media server started.
12-14 16:55:39.996: ERROR/MediaPlayerService(5328):  create PVPlayer

A:

In your onSurfaceCreated method you have this block of code:
  if(isPaused == true){
      onResume();

  }

  Thread.setRunning(true);
  Thread.start();

your call to Thread.start() is called no matter what (even if isPaused is true). Since your thread is already started in this case, you're trying to start it twice and thus getting an illegal state exception.


STATE OF MICHIGAN
BOARD OF EDUCATION OF THE
____________ COMMUNITY SCHOOLS

___________________________________,
on behalf of their son ___________________,

Petitioners,

v

Hearing Officer
Vicki Wozniak

BOARD OF EDUCATION OF THE
____________ COMMUNITY SCHOOLS,

Respondent.

SETTLEMENT AGREEMENT

This Settlement Agreement is made between the ____________ Community Schools ("District") and ____________________________
("parents"), parents of ____________.
On May 17, 23, and 30, 1995, an Individual Educational Planning Committee (IEPC) was held concerning ____________.
The parents disagreed with its determination as well as whether it was conducted in accordance with IDEA's procedural
requirements. On June 6, 1995, the parents requested a due process hearing. Ms. Vicki Wozniak was mutually selected
to serve as the hearing officer.

A series of prehearing telephone conference calls were held
by the hearing officer with the parties and their advocates during which, among other things, the issues in dispute
and the relative positions of the parties were clarified. As a result of ensuing discussions, the parties have
agreed to the following:

1. For the 1995-96 school year, ____________'s prior IEP implemented
during the latter portion of the 1994-95 school year shall be continued (including completion of the attached transition
plan) with the following clarifications or exceptions:

a. The "addendum" is deleted.

b. It will be implemented at one of the District's elementary
schools, possibly not __________ Elementary, the specific school not being identifiable at this time. As soon as
the school is identified, the parents will be advised in writing.

c. The transition plan shall be completed no later than four
weeks after the commencement of the 1995-96 school year.

d. Adult supervision/assistance will be provided during mainstreamed
activities to incorporate redirection, modeling, verbal prompting, and on-task behavior to facilitate ____________'s
goals and objectives. Personal care issues will also be addressed.

e. A Circle of Friends will be established for ____________
facilitated by the school social worker.

f. The District shall request of the Oakland ISD, as soon as
it can be scheduled, a technology evaluation to determine assistive technology supports. The District shall consult
with the parents regarding the reasons for the request.

g. The District shall continue to provide the staff currently
serving ____________ with training regarding sensory integration and Fragile X upon their request, or at the direction
of their supervisors, and shall provide such training to any new staff serving ____________ in the future.

h. In reference to the motor activities mentioned at the bottom
of page 2 of the 1994-95 IEPC, either the occupational therapist directly, or the LD teacher on a consultive basis
with the occupational therapist, shall provide not less than five minutes per day of sensory integration activities.

2. Should either party believe the other is violating either
a provision of this Agreement or ____________'s IEP, it shall first address the problem with the opposing party
(i.e., the parents will bring it to the attention of the building principal, and if unsatisfied, central administration,
and the District shall bring it to the attention of the parents). If there is no satisfactory resolution, the party,
or their representative, shall have the right to request that the hearing officer address and rule upon the issue.
In doing so, the hearing officer would conduct an informal investigation/hearing, the parties waiving any right
to a formal hearing. Other than the minimal requirement of the hearing officer giving both parties the opportunity
to advise her of their position, the hearing officer would have the discretion to conduct the informal investigation/hearing
as she deemed appropriate, e.g., talking to the parties independently, holding a telephone conference call, holding
an in-person conference, etc. She would provide the parties with a written ruling and the reasons for it. Neither
party could file any complaint with any other agency concerning such alleged violations during the period of this
Agreement.

3. If either party believes there has been a change in circumstances
so as to necessitate a change in ____________'s IEP, the same process as described in paragraph 2 immediately above
would also apply, i.e., the parties would first discuss the matter and if no satisfactory resolution was achieved,
either could request that the hearing officer address it. Accordingly, during the period of this Agreement, rather
than either party having the right to request another IEPC if they believed the agreed upon IEP was inappropriate
or some additional program and service was needed, the issue would be brought to the hearing officer's attention
and she, by the same informal process noted in paragraph 2 above, would decide the matter in writing.

4. Each party on a quarterly basis (i.e., on or about October
31, December 31, February 29, and April 30), shall advise the hearing officer briefly in writing as to how it believes
____________'s program is or is not progressing. Based upon those reports, the hearing officer may take such action
as she deems appropriate, again addressing any issues which might arise utilizing the same process as described
in paragraph 2 above.

5. In an attempt to establish a basis to avoid, and, if necessary,
resolve any problems which might arise in the conduct of ____________'s three-year evaluation in the spring of
1996, and/or his IEPC for the 1996-97 school year to be held on or about May 1, 1996 (including any transition
plan for the 1996-97 school year), either party shall have the right to bring the matter to the attention of the
hearing officer. Again, using the same informal process described in paragraph 2 above, she shall decide the issue.

6. The request for hearing currently pending in this matter
is withdrawn with the hearing officer retaining jurisdiction for all of those purposes noted above.

7. This Agreement may be modified or otherwise altered, but
only by a written document noted as such and signed by both parties.

8. Upon the signing of this Settlement Agreement, it shall be
forwarded to the hearing officer who, upon reviewing its terms, may enter a Decision approving its terms, including
that she retain jurisdiction.

Dated: _________________ __________________________

_________________, Parent

Dated: _________________ __________________________

_________________, Parent

____________
COMMUNITY SCHOOLS

Dated: _________________By __________________________

_______________________,
Director
of Special Education

STATE OF MICHIGAN
BOARD OF EDUCATION OF THE
____________ COMMUNITY SCHOOLS

_______________________________,

on behalf of their son ___________________,

Petitioners,

v

Hearing Officer
Vicki Wozniak

BOARD OF EDUCATION OF THE
____________ COMMUNITY SCHOOLS,

Respondent.

DECISION

This hearing officer has read the Settlement Agreement entered
into by the parties in this matter dated _______________________________. I approve its terms and retain jurisdiction
in this matter as provided in the Agreement, finding that it is in the best interest of ____________ for its provisions
to be implemented. Further, given the circumstances here present, it is found that the procedures set forth in
the Agreement providing that this hearing officer retain jurisdiction are warranted and approved, pursuant to this
hearing officer's broad authority under the Individuals with Disabilities Education Act to fashion appropriate
relief which will effectuate the purposes underlying IDEA.


LAKE OF FIRE, HELL - The Reverend Jerry Falwell has begun organizing a "moral campaign" on Tuesday, after being distraught with what he claims as "immorality and hedonism" morally supported by the almighty creator, God.

"When we rejected him at the gate, you should have seen the look on his face. Fucking priceless." St. Peter told our reporter Tuesday afternoon between drags on his cigarette, "I'd trade the eight-ball in my pocket a thousand times over just to see that again."'

Within hours of being dragged away to Hell, the Reverend became sickened and decided to wage a moral campaign against the Alpha and Omega. "This is not the God of the Good Book, this God loves everyone, does not oppose the homosexual agenda, and feels we have a responsibility to help the poor," said Falwell as hot coals were forcibly inserted into his anus. He continued, "God is an immoral sodomite, and should not be tolerated by good Christian people." Falwell has already raised thousands of dollars from the citizens of Hell during his new and yet-to-be-titled campaign, which he plans on spending wisely. "We are going to forward this agenda, and good will triumph over evil."

Our reporters attempted to pray to God, but He could not be reached for comment.


INCLUDES = ../../common ../prog \
           $(HOLDIR)/examples/machine-code/hoare-triple \
           $(HOLDIR)/examples/machine-code/decompiler
CLINE_OPTIONS = --qof -j1

ifdef POLY
HOLHEAP = riscv-prog-heap
EXTRA_CLEANS = $(HOLHEAP) $(HOLHEAP).o

BARE_THYS = ../prog/riscv_progLib
DEPS = $(patsubst %,%.uo,$(BARE_THYS))

all: $(DEFAULT_TARGETS) $(HOLHEAP)
.PHONY: all

$(HOLHEAP): $(DEPS)
	$(protect $(HOLDIR)/bin/buildheap) -b ../prog/riscv-step-heap -o $(HOLHEAP) $(BARE_THYS)

endif


What’s Included:

Opportunity to participate in a limited-time, online BlizzCon merchandise sale before the show (details to be announced)

They are also selling tickets to the Charity Dinner this year (which we would LOVE to be able to go to, but with the expenses of costumes this year, it isn’t possible!) for $500 a piece, which of course includes your ticket to Blizzcon. You can read more about that here.

Pocket and I are also super excited for Blizzcon, and have started recording awesome podcasts full of us doing nothing but talking about Blizzcon! This isn’t going to be every episode, we’re going to keep them structured for the most part, but there will be some Blizzcon goodness in every episode until Blizzcon (and maybe even some episodes after!) From the Original Pocket Podcast blog: “We have declared ourselves the “Official Un-official Podcast for Blizzcon 2011.” What does this mean? Well basically for the next 6 months we will be your #1 podcast for Blizzcon 2011 fix. That means new segments including Blizzcon… Discussion Forum updates, Cosplayer Roundups, Group gathering/meet-up announcements, Convention announcement and update news coverage, Blizzcon-related interviews with fans and cosplayers, AND SOOOO MUCH MORE Blizzcon!”

Are we excited about them announcing ticket sales? YES! But are we excited about the price increase that they seem to be throwing on us every year? No…. that doesn’t mean we aren’t going to pay it, though. They’ll probably keep raising the price until there’s a riot, and really, I love Blizzcon enough to pay for it. It just makes it harder for other people who have to also pay for expensive plane tickets, etc, to make it. Sad.

Of course, that isn’t really the point of this post. Chances are, you already knew about the ticket prices. I just wanted to make this post to say that OF COURSE we’re going to be there! Whether we get tickets or not (though it’s very unlikely that we won’t, we have a pretty good system going on with friends), we will be there, in full costume as usual!

Well, what costumes? Mario will be going as a Deathwing Cultist (pictured above). He has chosen a simpler costume this year in order to be able to help me as my handler, since we absolutely have to have one this year! I will be going as… well, I can’t tell you yet, sadly. I have to make sure that I can pull it off (there are several factors that can get in the way of us finishing it!) but as soon as I can announce it, it will be announced here!

Nope, going with another game costume this year. There weren’t any other characters that we felt we could do justice.

Mario is going to try and write up some posts on his Witch Doctor, but they may be a bit slower than the ones I’ve been putting up, he works a bit more than I do and he’s working on several commissions at the moment as well.


Q:

Can't disable a warning 4700 in c++ MSVS08

My problem is that I cant find how to disable warning 4700 (variable used without initialisation)...
My code is the next:
#pragma warning(disable :4700)
double** f;
optimumWindowSize(Mv[seed_coord.x][seed_coord.y],f,&winsize);
#pragma warning(default :4700)

Inside optimumWindowSize I call a function that initializes the variable f, so actually I am not using it without initialisation, but still the compiler gives me the warning. I only want to disable it here, not in all the code, but with my code above I don't disable it.
What I am missing?
How can I disable it?
NOTE: F will be a winsizeXwinsize matrix after the function

A:

I found the answer, Is is just needed to initialize the f variable with NULL and the warning is gone.


Digital Television's Coming of Age

8/15/2008 8:00 PM Eastern

By: Patrick Baldwin, Retirement Living TV

America is a nation of tech geeks. An iHome wakes us up. GPS drives our cars. A Batman utility belt full of cellphones, Blackberries and PDAs hugs our waists. YouTube entertains us and a sound machine lulls us to sleep as it simulates the natural music of the outdoors.

We take pride in every bit of space-age technology we own. Yet when it comes to our television sets, we've quietly rooted ourselves in the realm of technology past. Think about it: From Franklin D. Roosevelt in 1941 to President Bush, all of our presidents have communicated with America using the same broadcast technology — analog television.

Throughout those six decades however, the world changed — World War II ended, Martin Luther King Jr. marched, the suburbs swelled and a new millennium was welcomed. But TV, the way we primarily watch the world, did not.

Since Congress passed the Federal Communications Commission requirement that broadcasters nationwide shut off their analog signal, many companies have jumped in to help ease the stress and hassle of this change. Since then, Americans have heard or seen the industry's public-service announcements on over 11,000 radio stations and countless billboards, buses and subways across the country. They have experienced it in town hall meetings, workshops and events. Cable operators, for example, have pledged to run public-service TV advertising valued at $200 million dollars to help educate Americans.

But is everyone truly prepared?

On Sept. 8 at noon, Wilmington, N.C., becomes the first DTV test site in the country, to transition away from the outdated, analog technology and usher in the cleaner sound and clearer picture of digital. From that time on, the area's over-the-air channels (3, 6, 10, 26 and 51) will only be broadcast in digital. The rest of us will have to wait until Feb. 17, 2009.

Though it looks as if we're approaching the home stretch of this transition, and it appears the communication campaigns surrounding it have been successful, there is still work to be done.

In an independent nationwide public opinion poll sponsored by Retirement Living TV, 86% of adults said they were aware of the upcoming change. The survey revealed nearly one in four of respondents age 65 and older were unclear about the transition's effect on their television sets. Getting a full 85% of seniors to adjust to the transition may sound like an astounding achievement, but that 15% gap is nearly double the national average.

In the coming months, those individuals who own an analog television have a few choices to make. First, they can simply replace their analog television with a digital tuner. Second, they have the option to purchase a service such as cable or satellite TV. Finally, they can fit their analog television with a digital-to-analog converter box. All of which require action that needs to be taken now, well in advance of the change and not at the last minute.

This is not the time to take a wait and see approach, especially in the case of Wilmington. We must address the groups that are still struggling through the digital divide — including seniors. The true test of a successful campaign is not only hearing the message, but taking steps to adapt.

By any measure, a growing number of seniors are becoming technologically savvy. Silvers are surfing the net in record numbers. But the “greatest generation” is still more likely to own older, analog televisions that receive only over-the-air broadcasts.

They also get their information from much different sources than other adults do. For instance, a simple and effective way to contact a mass amount of people is through the Internet. Yet, 57% of seniors have never used the Internet, according to the Retirement Living poll, which also addressed Internet access and usage. As such, they have been disproportionately affected by the transition, challenging us to work harder for them throughout the upgrade process.

Embracing new technology helps bridge the gap between a generation who listened intently to FDR on radio and one whose second language is spoken on a QWERTY keyboard. The transition to digital television isn't about simply adding another piece of technology to our technology-filled lives, though. Digital television drives America into the next chapter of technology and communication, opening up air space for emergency situations while improving the product a consumer receives.

There is no denying every innovative development or major transition creates challenges that hinder its acceptance. As such, we all have a vested interest in what happens as all Americans, starting with Wilmington, transition into a new phase of technology — digital television.


baseline: ./baseline

generatedDiffs: ./generatedDiffs

report: ./reports

browser: chrome

label: homepage

removeElements: #ad-header .AD


Hurricane Jeanne Developments

The Associated PressSeptember 27, 2004

Developments associated with Hurricane Jeanne:

_ After slicing across Florida and killing at least six people, Jeanne was downgraded to a tropical storm and spun north into Georgia on Monday. It was expected to weaken into a tropical depression and move over the Carolinas through Tuesday.

FLORIDA:

_ About 2.6 million homes and businesses were without power.

_ President Bush declared a major disaster area, while the Federal Emergency Management Agency responded with the largest relief effort in its history.

_ 2 million people were given mandatory or voluntary evacuation orders ahead of the storm, and more than 59,000 stayed in shelters.


[Aromatase (estrogen synthetase) gene expression in human leukocytes].
Extragonadal aromatization plays an important role in many physiological and pathological conditions. It has been found that incubation of the peripheral blood mononuclears in the RPMI-1640 medium with 10% fetal calf serum during 48 hrs is able to induce the aromatase gene expression. The latter did not occur in 11 samples of mononuclears of the intra-tissue leukocyte infiltration which finding needs further investigation. The data obtained suggest that the possibility of the aromatase gene induction in leukocytes is associated with the cellular fraction capable of the substrate adhesion.


Footprints…

Welcome to another entry into the Life and Times of Jame! This past Labor weekend, I spent in the town of my youth, Atlanta Georgia. It was a trip of rememberance..one of bonding…one of mindless debauchery!!! Just kidding about the mindless. 🙂

I had been looking forward to this trip for quite some time. One of my bestest friends in the world is getting married and we had a guys weekend to send him off into oblivion…i mean, marital bliss. I got to the A a little early so I decided to visit our institute of higher learning, Georgia Tech. Memories of sleeping on the couches at the Student Center, sneaking into the Olympic pool to jump off of the high diving board, and tutoring at the Athletic Association building rushed back to me as I walked the campus.

After a few more strolls down Memory Lane, I met up with the crew to begin our weekend. 4 days of merriment ensued. It was a blast!! For legal purposes, I am unable to divulge specific details of those days. 🙂

Seriously, what we did is not important(ziplining was awesome!!!)…the adventure has had me thinking all week about footprints.

I hear you out there…”What does footprints have to do with anything???” Good question, class! There is a poem called “Footprints in the sand”; most people in the course of their lives have heard it or of it in some form. If you are in the group that is not “most”, let me give you the cliff notes:

The poem describes a dream, in which the person is walking on a beach with God. They leave two sets of footprints in the sand behind them. Looking back, the tracks are stated to represent various stages of this person’s life. At some points the two trails dwindle to one, especially at the lowest and most hopeless moments of the character’s life. When questioning God, believing that God must have abandoned his follower during those times, God gives the explanation: “During your times of trial and suffering, when you see only one set of footprints, it was then that I carried you.”

It speaks to not just a relationship with God but all relationships. What made the weekend awesome? Did we do super awesome incredible things? Maybe… Is Atlanta the best most awesome place on the planet? Not really. Come on man, I’ve been to Budapest!!! The people made it what it was. The crew that has grown up together, lived together, learned together, worked together, played together, loved together, lost together….hell, bailed each other of life’s “prisons”. Not actual prison, people…that was a metaphor. A group of friends who has not seen each other in years and within seconds are in the place they were 10+ years ago. When I look back over those 4 days, I see one set of footprints.

So to all 3 of my readers out there, I challenge you to find and keep those people in your life. You know who they are: when you think about the most fun you’ve had, they were probably there…when something big happens in your life, they are the first people you tell…they are the ONLY people who can use the ANYTIME ANYPLACE coupon. That’s not to say there is no room for the other types of relationships too. I just hope your lives aren’t defined by the transients.


Immunoperoxidase Detection of Whey Protein Soils on Ultrafiltration Membranes 1.
An immunoperoxidase method was developed for detection of whey proteins in ultrafiltration (UF) membranes. A polyclonal antiserum was prepared against whey proteins in rabbits and coupled to horseradish peroxidase using sodium m-periodate as the oxidizing agent. The immunoperoxidase method was evaluated using a bench-scale, thin-channel UF unit equipped with polysulfone membranes for the concentration of whey to a 7.5 times concentration factor. Following rinse, membranes were washed for periods ranging from 0 to 60 min. The whey protein antibody-peroxidase conjugate was diluted in phosphate buffer and circulated in the system for 4 min. Unbound antibodies were removed by three consecutive washes with phosphate buffer containing 0.2% (v/v) Tween-20. Bound peroxidase conjugate was eluted by circulation of 2 M NaCl, pH 8.5, followed by distilled water, pH 7.4. To determine bound peroxidase, a chromogenic substrate was added to 2.5 ml portions of the eluants and absorbance recorded at 414 nm 30 min later. Nitrogen residues in the membranes varied from 0.061 to 0.317% and absorbance values in the respective eluents ranged from .381 to .582%. A significant correlation (r = 0.89, P<0.05) was found between nitrogen residue and bound peroxidase. The results suggested that the immunoperoxidase method has the desired sensitivity for non-destructive assessment of whey protein soils on bench-scale UF systems.


<slot></slot>


var should = require('should');

var GoogleMapsAPI = require('../../lib/index');

var elevationFromLocationsMockResult = require('../mocks/elevationFromLocations');

var gmAPI;

describe('elevationFromLocations', function() {

  before(function() {
    var config = {
      key: 'xxxxxxx',
      google_client_id:   'test-client-id',
      stagger_time:       1000,
      encode_polylines:   false,
      secure:             true,
      proxy:              'http://127.0.0.1:9999',
      google_private_key: 'test-private-key'
    };

    var mockRequest = function(options, callback) {
      var res = {
        statusCode: 200
      };
      var data = JSON.stringify(elevationFromLocationsMockResult);
      return callback(null, res, data);
    };

    gmAPI = new GoogleMapsAPI( config, mockRequest );
  });

  describe('failures', function() {

    var invalidCallback = [null, undefined, false, 0, NaN, '', {}, [], new Object, new Date];

    var calls = invalidCallback.map(
      function(invalid) {
        return function() {
          it('should not accept ' + invalid + ' as callback', function() {
            var validParams = {

            };
            (function() { gmAPI.elevationFromLocations( validParams, invalid ) }).should.throw();
          });
        }
      }
    );

    calls.forEach( function(checkCall){
      checkCall();
    });

    it('should not accept calls without key', function(done){
      var config = {
        stagger_time:       1000,
        encode_polylines:   false,
        secure:             true,
        proxy:              'http://127.0.0.1:9999'
      };

      var mockRequest = function(options, callback) {
        var res = {
          statusCode: 200
        };
        var data = JSON.stringify([]);
        return callback(null, res, data);
      };

      var customGmAPI = new GoogleMapsAPI( config, mockRequest );

      var params = {};
      customGmAPI.elevationFromLocations( params, function(err, results) {
        should.not.exist(results);
        should.exist(err);
        err.message.should.equal('The elevation API requires a key. You can add it to the config.');
        done();
      });

    });

    var invalidParams = [null, undefined, false, 0, NaN, '', [], new Date, function() {}];

    var calls = invalidParams.map(
      function(invalid) {
        return function() {
          it('should not accept ' + invalid + ' as params', function(done){
              gmAPI.elevationFromLocations( invalid, function(err, results) {
                should.not.exist(results);
                should.exist(err);
                err.message.should.equal('params must be an object');
                done();
              });
          });
        }
      }
    );

    calls.forEach( function(checkCall){
      checkCall();
    });

    it('should not accept a call without params.locations', function(done){
      var params = {

      };

      gmAPI.elevationFromLocations( params, function(err, results) {
        should.not.exist(results);
        should.exist(err);
        err.message.should.equal('params.locations is required');
        done();
      });
    });

  });

  describe('success', function() {

    it('should return places', function(done){

      var params = {
        locations: '41.850033,-87.6500523'
      };

      gmAPI.elevationFromLocations(params, function(err, result){
        should.not.exist(err);
        should.exist(result);
        result.status.should.equal('OK');
        result.results.should.be.instanceof(Array);
        should.exist(result.results[0]);
        result.results[0].should.have.properties(['location', 'elevation']);
        result.results[0].location.should.have.properties(['lat', 'lng']);
        done();
      });

    });

  });

});


This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2001-065253, filed Mar. 8, 2001, the entire contents of which are incorporated by reference.
1. Field of the Invention
The present invention relates to a semiconductor device with an MIM (Metal Insulating Metal) capacitor, and a process for manufacturing the semiconductor device.
2. Description of the Related Art
Semiconductor devices provided with Cu wiring of a damascene structure and MIM capacitors are now available.
FIG. 28 is a sectional view of a conventional semiconductor device. As shown in FIG. 28, a via hole 43 and a wire 44, which are made of, for example, Cu, are provided in a film 41 of a low dielectric constant and a film 42 of a high dielectric constant. A Cu-diffusion-preventing film 45 is provided on the high dielectric film 42 and wire 44, and a capacitor 49 is provided on a selected portion of the Cu-diffusion-preventing film 45. The capacitor 49 is formed of a lower electrode 46, a dielectric film 47 and an upper electrode 48. An insulating film 50 is provided on the capacitor 49 and Cu-diffusion-preventing film 45. The surface of the insulating film is flattened by CMP (Chemical Mechanical Polishing).
In such conventional semiconductor devices, it is desirable that the insulating film 50 be formed of a low dielectric film in order to reduce the parasitic capacitance between wires.
However, since the low dielectric film is a rough film, a crack may occur if the surface of the film is flattened. Therefore, it is very difficult to level, by CMP, the surface of an insulating film 50 formed of a low dielectric film. To avoid this, a high dielectric film could be used as the insulating film 50, as thus would reduce the formation of cracks under CMP.
However, since the capacitor 49 is provided on a selected portion of the Cu-diffusion-preventing film 45, there is a step corresponding to the thickness of the capacitor 49 between the area provided with the capacitor and the area without. To eliminate the step caused by the presence of the capacitor 49, it is necessary to form an insulating film 50 in the area with no capacitor on the Cu-diffusion-preventing film 45. Thus, as stated above, a high dielectric film or insulating film 50 is provided on the film 45 to surround the capacitor 49. The provision of the high dielectric insulating film 50 to fill the step caused by the capacitor 49 inevitably increases the parasitic capacitance between wiring layers.
As described above, in the conventional semiconductor device, it is very difficult to level the surface of the insulating film 50 by CMP.
According to a first aspect of the present invention, there is provided a semiconductor device comprising: a first insulating film comprising an opening; a capacitor formed at a selected position in the opening; a second insulating film formed at least in the opening; and a third insulating film formed on the second insulating film.
According to a second aspect of the present invention, there is provide a process of manufacturing a semiconductor device, comprising: forming a first insulating film; removing a selected portion of the first insulating film, thereby forming an opening; forming a capacitor at a selected position in the opening; forming a second insulating film at least in the opening; and forming a third insulating film on the second insulating film.


You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to additional post topics, communicate privately with other members (PM), view blogs, respond to polls, upload content, and access many other special features. Registration is fast, simple and absolutely free, so please join our community today! Just click here to register. You should turn your Ad Blocker off for this site or certain features may not work properly. If you have any problems with the registration process or your account login, please contact us by clicking here.

NFs strike me funny, but I don't consider myself funny. One ENFJ comes to mind that strikes me hilarious on a regular basis on this site. Sometimes I strike myself funny, but I don't expect anyone else to think it is funny. I'm inclined to say that extroversion is a factor in humor because it places the person more in touch with others, but I wouldn't hold to that.

If you want to make an MBTI generalization you could probably say that NF humor is more personal than humor used to dominate socially and play with ideas externally. You would be less likely to see it in impersonal formats

I agree with this....I wouldn't describe myself as funny, but I know NFs who are very humorous.

I find NFs are clever and have a playful humor; it's not so much an obvious punchline as an overall style. NTs seem to think something is not funny unless it's mean or degrading in some way. They can be too vulgar for me also (vulgarity is pretty rare in NFs).

I like how NFs can be silly and teasing, but not mean or crude. In conversation, I find ENFXs very funny and quick (banter is a lot of fun w/them), but no, they aren't stand-up comedian types. Although, I think Eddie Izzard is an ENFP, and a lot of people find him funny (including me).

INFJs can be quite witty also, in writing anyway. I don't know too many in person, but a few I've talked to online come across as very clever and amusing, but it's in that controlled, almost stiff way (and I love that subtlety, so it works for me). The best example I can think of that is Morrissey, who people think is whiny, but his lyrics so funny if you get it.

Sometimes my own sense of humor is odd, so it doesn't show its face unless I feel comfortable (but that's typical for my personality in general). I love to banter though....especially with a charming ENFJ.

Often a star was waiting for you to notice it. A wave rolled toward you out of the distant past, or as you walked under an open window, a violin yielded itself to your hearing. All this was mission. But could you accomplish it? (Rilke)

I find ENFJs and INFPs very funny. The ENFJs I know often say something unexpected and we both just laugh and laugh. INFPs are more quirky and are good with puns and clever comments. (I don't know enough ENFPs in person to comment).

I think INFJs are funnier than they appear on the outside, but they show it a lot better with those they know very well. For me at least, I have a very strong inner editor which prevents me from saying some things or which runs it through so many times that the moment either passes or else it seems too stiff or thought out to say. Every now and then though I shock people with something they didn't think they'd hear from me because it doesn't match the parts that they do know of me though and it makes them laugh.

I was reading about this on another forum just yesterday and i think that a reason why NFs aren't openly the ones to crack jokes is due to a sense of PCness... FDor example, it was commented upon that ENFPs and INFJs for instance have quite a dark cynical sense of humour however, it usually takes the presence of an NT for example of an SP to really bring that out as the NF worries about people's feelings.. Lets be honest to be really funny you have to be ruthless!

I definitely have a dark, cynical sense of humour but the people who are closest to me are the only ones who get to see that side of me. People that I know more superficially don't get to see it because I think it would freak them out to see me joking that way when I normally come across as being really nice and kind of innocent.

I find that I have excellent humor "material" (i.e. good, creative ideas for jokes). However, my delivery is definitely a weakness. I've taken to whispering my sarcastic/humorous remarks to my husband or close friend when out in public, and then they deliver it to the group as their own with good success. It's like I can be funny one on one or with a small group, but with a larger group or people I don't know, my timing's off and the whole thing feels stilted.

When I'm hanging out with my kooky intuitive friends we have a lot of fun playing off each other. Though whether we're really funny or just think we're funny I can't say.


No matter your stance on the war, please pray for our troops and their families!

You Will Love This!

Recently I've been sharing the goodies I made for my daughter's baby shower. Her shower colors were shimmering gold, soft pink and white with succulents being the theme for our soon to join us baby girl.

This is another glamorous and delicious treat and another way to serve mini cakes.

The white mini cakes with the gold foil on them were my second try at homemade marshmallow fondant covered mini cakes. The first ones I made in varying heights to make an interesting display, with triple chocolate brownie filling. I was going to leave them white and top them with the gumpaste succulents I'd made, to co-ordinate with the main cake. They were really cute just setting them on top for the picture. I photoshopped sprinkles of gold petal dust on some to see if I'd like the results. I think I would have.

It's such fun doing projects with my daughters who live away. They tell me what they want up front, but as I'm working I text photos and we decide together what to do. We debated over whether to leave them like this or attempt my first watercolor painting with petal dusts mixed with vodka. We decided to go ahead and try. I used rose gold, gold and pink petal dusts mixed with vodka in different designs of ombre and watercolor effects.

The end effect was too intense to go with the shower color scheme. The rose gold was super dark, not soft. For a while I thought I couldn't use them at all, but they were delicious and pretty and had been a LOT of work.

When it was time to set up the shower, I had nothing to loose, so I cut each mini cake into slices. They were really elegant with the dark chocolate inside, the white fondant ringing it and the varying metallic petal dusts on the outside. It turned out that the smaller amounts of those colors worked wonderfully with the shower and in truth, they were so rich that the slices were better portions than the 2" diameter mini cakes.

I was so glad to be able to use them after all that work. I doubt I'm the only one who occasionally has things not work out the way we planned and it's fun to see that thinking outside the box can save the day!

We are being blessed with a little girl this time and it's BABY SHOWER
time!

This is the cake my daughter wanted for the shower. I have posted the
other treats I made too. The leaves and the succulent on a stalk are plastic, but I made all the other succulents and the tiny flowers out of gumpaste. I do regret our decision to try adding 24k gold foil accents to the main three succulents on the cake, which were all gumpaste. It was my first time working with gold leaf and I found my efforts much less than desirable on the succulents. I do like it on the cake though and oh is it gorgeous stuff!

To get this effect, I covered the cakes with homemade marshmallow fondant. Then I mixed vodka with bronze petal dust and painted a soft ombre on the sides. I spattered Pharaoh's Gold luster dust in places for interest. Then I filled my brush with clear vodka and "painted" around the top edges, washing the ombre down and this is the lovely result. I really like it.

I like to try my hand at baking beautiful things, but I'm self taught and don't have many opportunities to practice and learn.

My daughter asked only one thing of me when she was planning her wedding...make her another doll cake like I did as they were growing up...but this time, make it look like her wedding gown!

The lightness she said this with, almost as a passing thought of no consequence, was stunning, but I, on the other end of the phone, suddenly couldn't breathe! The doll cakes I'd made them as children were buttercream and not that great. I had been with as she chose her gown. I knew how elaborate, how delicate, how INTRICATE it was. I felt like someone had just lightly asked me to make gold out of straw, as if there was nothing to it!

It was her only request for the wedding, but oh was it overwhelming. I knew the only way to get lots of detail would be to make it in fondant. This would only be my third fondant covered cake and a HARD one.

In the end, with God's help, we had a truly lovely representation of her gown. I altered a doll pick and covered it with black fondant, let it dry, then created the bodice on it and let it dry. The cake was covered with homemade marshmallow fondant with embossing and gumpaste flowers. We used it at her bridal tea, brace yourself, THE MORNING OF HER WEDDING, her choice! And then took it on to the desert table at the reception that evening. In all, it was a truly daunting, but utterly rewarding experience.

Want a good laugh? When all was done and she was settling into her new life, we were talking about this cake. I said that though it really floored me when she asked, I eventually realized the casual way she asked was a compliment showing she had such confidence in me that I could do it. She said she said it casually because SHE WASN'T SERIOUS when she asked and never dreamed I'd do something like this!

Hysterical! Months of planning, watching tutorials, stress, prayer and it turns out she wasn't serious! Two days just to make the 544 tiny flowers alone! No one could be more grateful and affirming than my precious daughter and once the stress was over, I love that I got to do this. What an amazing thing to get to do in my life! Thank you God for making it possible because I sure couldn't have done it on my own!

We
are being blessed with a little girl this time and it's BABY SHOWER
time! Shimmering gold, soft pink and white are her shower colors. These are the mini cakes I made for the shower. I'll be posting the
other treats too.

This was my first time using 24k gold foil. Wow is that tricky/pricey stuff. The tutorials made it look so easy, but half the time, the gold that was on my brush literally disappeared into thin air during the 5" trip from picking the gold up on the brush and the cake! Poof! Still, what did stay looked amazing!

I got a collection of 6 metallic petal dusts, including chestnut. I mixed each with vodka and spatter painted on top the foil, then used edible glue to attach these awesome gold sprinkles and gold sanding sugars. I LOVE how they turned out! Under a light, they are blinding and overflowing with great textures!

These are my second attempt at mini cakes covered with homemade marshmallow fondant. The first ones had brownie centers and these are a rich white cake. They are both DELICIOUS! Even several days after completing, lightly tented to keep dust off, they were sumptuously moist and rich.

I followed Yenner's method on YouTube. The first batch didn't look as good, mainly due to my filling being too moist (despite trying to freeze them in advance - they just didn't). So now I know to mix in only enough icing to moisten and hold it's shape. Much nicer results here, but I still need more practice. I also learned you need to roll the fondant thicker to hide the DARK BROWN brownies! LOL!

They feel really cool in your hand after they've set up. Adorable little palettes just waiting for you to loose your whimsy on!


Story highlights The auction will take place in the spring

The city believes it'll raise close to $107,000

(CNN) It's been more than a year since Paris ended its relationship with love locks.

The popular tradition of attaching padlocks to the city's bridges - as a symbol of true love - ended after the city council deemed it unsafe.

The idea was charming, but bridges were close to crumbling from the weight.

But the city didn't want to destroy the souvenirs. So it's come up with an inspiring solution: It'll auction off the locks and the proceeds will help refugees.

"All funds raised will be sent out to associations dedicated to helping the city's migrants," revealed Bruno Julliard , the city council's first deputy.

Une vente aux enchères des #cadenas, dont les bénéfices seront reversés à des actions en faveur des #réfugiés. #nolovelocks cc @dversini — Bruno Julliard (@BrunoJulliard) November 30, 2016


Q:

how to separate lists into different divs dynamically

Good day,
I have a list of categories in my page, but anytime it could be added or removed. Can you please help me formulate a loop to divide my lists into a maximum of 5 list per div.
ex.
foreach($categories as $cat)
  <input type ="checkbox"><?php echo $cat->name ?>

endforeach

the above code will generate a list of checkboxes in 1 column

so I tried this loop
<?php $count = 0; ?>
    @foreach($categories as $cat)
    @if($count == 0)

    @elseif($count == 5)
    <?php $count = 0; ?>

    @endif
    <input type="checkbox" value="{{$cat->xid}}">{{$cat->category}}

    <?php $count++; ?>
    @endforeach

and it generates like this

but it only wraps the first 5 elements on the list and the next 5 is not working. Can you help me please :) suggestions are really appreciated

A:

The below is your code to which I modified would generate the required layout. you will need to apply CSS to the class="col-md-4" to seperate each block as per your requirement.
<?php $count = 0; ?>
 @foreach($categories as $cat)
 @if($count == 0)

 @endif

 @if($count> 0 && $count%5 == 0)

 @endif

 <input type="checkbox" value="{{$cat->xid}}">{{$cat->category}}

 <?php $count++; ?>
@endforeach

@if($count <= 5)

@endif