So, you love history? You've made it to the right place.
Join us as we explore Columbia and Richland County's intriguing past- through its houses, its gardens, along its streets and through the people that shaped who we are today.
Tour our four historic house museums, all located in Columbia's downtown historic district. Tours are offered Tuesday - Sunday and take about 60 minutes per tour.
We offer guided walking and bus tours of different neighborhoods - both residential neighborhoods and commercial districts. You can join our Second Sunday Strolls/Rolls or sign up for a private group tour.
Want to schedule a group tour?


Can you move your pelvis like Elvis?
If you can't, you may not win any dance-offs, but you could set yourself up for lower back pain. Your hips are designed to be mobile. Your low back is designed to be stable. The skinny is that if your hips and pelvis don't move like they are designed to, your low back will move more to pick up the slack.
#1 problem for tight hips? Sitting. And we as a society sit…A LOT. So with the increased NY resolutions upon us, let's set ourselves up for success for the New Year.
The low back (lumbar spine) needs to be stable at all times. This will limit the possibility for disc herniations and other nasty problems. But if your hips are tight and immobile, you're opening to door for potential low back problems. More on low back stability in a future post.
Thanks to the guys at Movement at Medicine for these easy drills. http://movement-as-medicine.com/4-hip-mobility-drills-to-improve-your-squat/. The key with all these positions is to maintain good posture in your low back. If your position resembles an elephant performing yoga… take a step back and reset.
Always quality over quantity. These movements will help keep those pesky low back pains at bay. If you need something more specific or have questions about a particular problem, call InBox Functional Rehab to set up an evaluation.


text:
Q: Stack Overflow Accessing Large Vector I'm getting a stack overflow on the first iteration of this for loop
for (int q = 0; q < SIZEN; q++)
{
    cout<<nList[q]<<" ";
}

nList is a vector of type int with 376 items.  The size of nList depends on a constant defined in the program.  The program works for every value up to 376, then after 376 it stops working.
Any thoughts?

A: If by "stops working", you mean crashes, then you're probably reading past the end of the buffer. vector::operator[] is not range checked, so it will let you shoot yourself in the foot.
If you want to traverse a vector, use an iterator, or at the very least nList.size().
So with least modifications to your code:
for (int q = 0; q < nList.size(); q++)
{
    cout << nList[q] << " ";
}

or with iterators
for (std::vector<int>::const_iterator it = nList.begin();
     it != nList.end(); ++it) {
  cout << *it << " ";
}

A: My initial guess here would be that the vector is less than 376.  The [] operator makes no guaratees as to running over the actual vector bounds.  You'd be much, MUCH safer if you used the at function:
for(int i=0; i < nList.size(); ++i){
  cout << nList.at(q) << " ";
}

there, if q is outside of the vector it'll throw an exception.  That'll help diagnose this type of runtime problem.

A: If the you have added 376 elements to the vector by using for example push_back it is normal that the access with values higher than 376 make the program fail, you are accessing surely uninitialized and not managed memory.

redpajama_set_name: RedPajamaStackExchange


Set in the summertime tourist mecca of Old Orchard Beach, Maine, this mystery/suspense novel crosses the storylines of affluent summer tourists and struggling year-round residents when a famed and wealthy adventurer gets stranded in town after an incident at sea. When eccentric billionaire Ferdinand Sevigny's latest stunt, to sail around the world blindfolded, goes awry, he lands in Maine just as the summer tourist season is beginning. Despite mounting evidence to the contrary and an investigation by local police, Sevigny, while holing up in one of the town's grand hotels refuses to admit foul play was involved in his mishap. As the tourists arrive, including two intriguing strangers, a troubled local teenager inadvertently uncovers evidence that presents him with the opportunity to change his lot. The teenager, adventurer, and a host of townspeople will be forced to make decisions that will define them forever.


These port and starboard lamps are made of iron and are about 10" tall. With the handle extended, they are almost 14" tall. These lanterns have an antique finish.
These are meant to be display items and are not meant for oil burning.


Growing up in Alabama, I never heard anyone bastardize the phrase "run over him (with the car)" to "run him over (with the car)", not even on TV or movies.
The swapped version is now ubiquitous, even in the South, and found in every movie and TV show! No one even notices the inconsistency.
I recently noticed that a TV show made in the Sixties used the unswapped version! This gives us a bit of a time stamp to the change. I strongly suspect that televised media led the change with the masses following suit.
Run him over and run over him have distinctly different nuances for me.
So, a 'bad guy' will try and run someone over. A 'good guy' may run over someone by mistake.
I am very surprised that you never heard this idiom 50 years ago. The OED has references going back to this one from 1860: "A carriage..darted under the arch of the gateway, almost running him over."
My suggestion is that it happened by association with other, similar verbs.
Mary knocked over the vase. Mary knocked it over.
Mary ran over the dog. Mary ran it over.
The word 'over' has different meanings in those two cases. However most people aren't linguists by nature. Most of us use language unthinkingly. If it 'sounds right' then we'll say it. The fact that a sequence of words may be illogical doesn't matter to most people as long as their friends can understand them.
Rome was quite a different place in Benjamin's eyes now. In fact it was altogether transformed. There were plenty of people in the street, but no one took any notice of Benjamin. A dog barked furiously at him. A motor car nearly ran him over. A policeman regulating the traffic took him by the shoulder and gave him a violent push.
A petition alleging that plaintiff was standing by a truck which had transported him to work when he was struck by defendant's automobile, and that defendant failed to straighten his automobile in making a sharp curve, and as a consequence struck plaintiff, knocked him to the ground, and ran him over, was insufficient, without more specific allegations of fact to show negligence, to justify a judgment against defendant, even if the allegations were admitted to be true. Rev. Civ. Code, art. 2315.
Your petitioner was standing by said truck on which he had been so transported to his work preparatory to removing some tools from said truck, when an automobile driven and operated by W.D. Jeffress, a resident of Jackson Parish, Louisiana, struck your petitioner and knocked him to the ground and ran over him, doing petitioner physical and bodily injuries as hereinafter set forth.
Then, there were Paval and Mike and Maria. And Nicolas. Here, her face saddened; the lips drooped over bad, stumpy teeth. "Nicolas, he is a cripple. A truck ran him over when he was a little boy. . . ."
I have very sad news for you. Remember that boy you took to the puppet show with me and Irene at the public library? Well that boy went to buy some artificial flowers for a teacher in his school (sometime in February she sent him) and a truck ran him over. Isn't it sad?
So with regard to the source of these early instances of "ran him over" in the relevant sense, we have one instance from London (in 1936), one from Louisiana (in 1941), and two from national U.S. magazines (in 1943 and 1950). To me that suggests widely scattered informal use of the syntax, not especially localized Northern U.S. use.
At the same moment that I started the rhinoceros selected one of my Somali soldiers—"Hassan Goulet"—ran him over and began to belabor him with his horn, which luckily was not greatly developed yet.
An auto ran him over.
These examples show that the wording "ran him over" in the sense of "trampled or crushed him" goes back more than a century in published writing.
He ran over the grass.
which is ambiguous in writing, but not in pronunciation. If "over" has less stress than "ran", it specifies the place he ran or the path he took. If "over" has more stress than "ran", it means he affected the grass somehow, probably by driving a vehicle over it.
and now "over" is at the end of a constituent, the verb, so it has stronger stress.
The grass over which he ran was newly planted.
But this is not possible when "over" is part of the verb "run over".
There is nothing very unusual about the verb "run over". English has many such particle verbs, and they have been well studied. One of their special grammatical properties is that the particle can be moved to the right of a following object, and this movement is obligatory when the object is a pronoun.
(of a vehicle or its driver) to knock a person or an animal down and drive over their body or a part of it. Two children were run over and killed.
Ngram (run over him vs run him over) suggests that the 'bastardised' version actually became more popular from the late 60's but was used, though less , also before that date.
Donh't the two have different meanings? A car can run into you and knock you over, which means it ran you over. But unless the wheels actually went over you (uncommon nowadays) it did not run over you. It is certainly more common to talk of 'running over an animal' than 'running an animal over', because the result is a flattened body rather than something knocked flying.
Along these lines, it is possible that we use the form ran him over in order to imply that he was overrun: though he generally did not travel under the car, nevertheless, when he and the car collided, the car had so much more power and force than he could ever hope to amass that he was simply destroyed.
The difference with a cat would be that usually the cat is small enough that it does pass underneath you.
When you say, "the auto ran over the man," you are speaking about about what happened to the man. But when you say, "the auto ran him over," you are speaking about what the auto did.
To say "run over him" means that you ran over, but to "run him over" sound like you taking him somewhere.
Did she judge him "wrong" or "wrongly"?
I have been sick for the last week?
How do we use adverbs of frequency for something that should happen one time each ten years?
How to use the word 'party' as an adverb?


Modern society is characterized by the active use of the Global Network in all spheres of life. Especially popular are online payment systems that have simplified the procedure for paying for goods and services to customers. As you know, demand creates supply, so at the moment there are many electronic payment systems that have their own technical characteristics. It should be noted that not everyone can compete adequately in the market of supplied services. The POLiPayments electronic payment system, which operates on the basis of Internet banking, has taken its niche.
Its customers are residents of Australia and New Zealand, in these areas extends the scope of services, but in the near future it is planned to expand the field of activity to other countries. Cash transactions are carried out only using Australian dollars and New Zealand currency. Users can order and pay for goods and services through the Global Network using the online payment system POLiPayments. In addition, anyone can use it to run their own business.
To connect to the online payment system POLiPayments, you must fill out a form with personal data. In the appropriate fields, the client specifies your name, contact details, and your residential address. Another table is intended to indicate the bank details. Considering the peculiarities of business projects, POLiPayments offers its clients web services for those who need a full range of API services. There are two options for SOAP or REST. Also in POLiPayments there are plugins for trading projects. The system is suitable for use in social networks. To process and transfer a cash payment using POLiPayments it will take 4-7 days.
During the ongoing operations, some questions may arise. If the parties cannot resolve them on their own, then you should contact the support service, which is located directly in Australia, and is open from Monday to Friday from 8.30 to 17.00. The system of online payments POLiPayments has several advantages that characterize it as a quality product of the modern market of services. But few can take advantage of it, which significantly reduces interest to it. It is hoped that over time the range of its clients will expand significantly.
This is a very popular payment system for average South African players that love fresр no deposit casinos listed here - hex.co.za/casino-bonuses/no-deposit/. It allows you to make quick transactions and replenish your game deposit in a short period of time. By creating a one-time template, you can create a convenient springboard for regular deposit replenishment and withdrawal of funds. Low commission is one of the biggest advantages of this payment system. A huge advantage of the theme is a simple and intuitive interface. This allows you to delve into the workflow not to worry about the various nuances. Poli is an excellent payment system that forgives gambling processes in South Africa. Convenience and speed is the main prerogative of this payment recently. Many South African players have already appreciated Poli. Use it in everyday life.


text:
Home News Walmart and Sam's Club Now Administering Booster Shots
Walmart and Sam's Club Now Administering Booster Shots
Booster shots available in more than 5,100 pharmacies across the U.S. to eligible individuals
BENTONVILLE, Ark., Sept. 24, 2021 — Based on recent Centers for Disease Control and Prevention (CDC) guidance, Pfizer booster shots are now available six months after completion of the original series for those age 65+; residents in long-term care facilities; age 50-64 at high risk of COVID-19 due to underlying medical conditions; age 18-49 at high risk of COVID-19 due to underlying medical conditions; and people aged 18-64 years who are at increased risk for COVID-19 exposure and transmission because of occupational or institutional setting. Walmart and Sam's Club are now administering Pfizer booster shots in more than 5,100 pharmacies around the country where supply allows.
In addition, Walmart has a role to play in supporting long-term care facilities and will provide support to administer boosters to those in facilities with in-store events and onsite events at skilled nursing facilities. Just as the company did before, Walmart and Sam's Club will partner with community groups and local officials to administer vaccines and now boosters to eligible individuals in communities across the country, with a focus on rural and underserved areas. Last month, the CDC recommended third doses for immunocompromised individuals, which the company has been administering from the first day of launch. We continue to work closely with health care officials to follow recommendations and monitor for any changes in guidance.
"Thank you to our pharmacists, pharmacy techs, vision center associates and all our H&W associates who go the extra mile day after day to help our customers live healthier," said Dr. John Wigneswaran, Walmart's Chief Medical Officer. "Our commitment remains unwavering to meeting the health care needs of our communities in ways that are affordable and accessible to all, and we are proud to play an important role in administering vaccines, third doses and now booster shots."
All immunizations are administered by certified pharmacists, technicians and health care professionals who are trusted members of their communities. Walmart also continues to have a variety of initiatives in place to make it easy for customers and associates to get vaccinated while following COVID-19 safety protocols, including:
Digital appointment scheduler: Knowing many customers have busy lives, Walmart and Sam's Club offer a digital scheduler, which allows customers to reserve vaccine appointments directly via the Walmart website for COVID-19, first series doses, third doses and booster shots. Customers can also make an appointment by scanning a QR code directly in Walmart stores. Visit walmart.com/covid or samsclub.com/covid to schedule an appointment.
Walk-In Availability: Walmart and Sam's Club have walk-in availability to encourage people to get vaccinated and get their booster shot during their regularly scheduled shopping trips. This makes it quick and easy for customers and members to get convenient shots in stores and clubs nationwide, without needing an appointment.
Immunization Event for Walmart Wellness Day: On Saturday, Sept. 25, from 10 a.m. to 2 p.m., Walmart's quarterly Wellness Day will turn into a special immunization event in more than 4,700 pharmacies across the country. Customers can walk-in to receive a variety of immunizations from COVID-19 to flu to any of the others we offer, including measles, mumps, rubella (MMR), varicella (chicken pox), HPV, tetanus, whooping cough (TDAP) and more.
Digital Vaccine Record: For those who receive their COVID-19 vaccination at Walmart and Sam's Club, a Digital Vaccine Record is available for easy access of their vaccination record that can be saved, downloaded or shared with third-party verification apps.
Additional Immunizations: In addition to COVID-19, Walmart administers other affordable immunizations like COVID-19, flu, measles, mumps, rubella (MMR), varicella (chicken pox), HPV, tetanus, whooping cough (TDAP) and more. CDC guidance says these can be administered at the same time as the COVID-19 vaccine with no waiting period.
Walmart and Sam's Club are launching innovative health & wellness solutions to deliver the right level of care at the right time in the right setting, for everyone. We are focused on improving the cost and convenience of health care and providing everything busy families and caregivers need to simply live healthier. This includes our pharmacists, who can answer medication related questions, help with prescriptions and provide immunizations. Walmart also provides COVID-19 testing at select locations, and both Walmart and Sam's Club offer over-the-counter medications and low-cost, healthy grocery foods.
Walmart customers with a W+ membership and Sam's Club members can get free shipping on store purchases and reduced prices on select prescriptions. We continue to offer everyday low prices on household essentials like cleaning supplies, tissues, thermometers and more, to help keep everyone safe and healthy. To learn more about wellness resources available at your neighborhood Walmart, please visit walmart.com/wellnesshub or at Sam's Club at samsclub.com.
Walmart Inc. (NYSE: WMT) helps people around the world save money and live better - anytime and anywhere - in retail stores, online, and through their mobile devices. Each week, approximately 220 million customers and members visit approximately 10,500 stores and clubs under 48 banners in 24 countries and eCommerce websites. With fiscal year 2021 revenue of $559 billion, Walmart employs 2.2 million associates worldwide. Walmart continues to be a leader in sustainability, corporate philanthropy and employment opportunity. Additional information about Walmart can be found by visiting corporate.walmart.com, on Facebook at facebook.com/walmart and on Twitter at twitter.com/walmart.

redpajama_set_name: RedPajamaCommonCrawl


text:
Society Contact
Laura Gawlinski
aiachicagosec@gmail.com
Chartered in 1889
Lecture Lottery Winner, 2007
Chicago Society on Facebook
Chicago Society on Twitter
Upcoming Society Events:
AIA Webster Lecture: The International Space Station Archaeological Project
February 9, 2023 @ 7:00 pm - 8:30 pm CST
Living in ruins: Vibrancy and decay in the ancient Maya city
April 26, 2023 @ 7:00 pm CDT
Past Society Events:
Archaeology & Ale: Making Sense of Marbles
January 18, 2023 @ 7:00 pm - 9:00 pm CST
Tour: "Life and Afterlife in Ancient Egypt"
October 29, 2022 @ 1:00 pm - 2:00 pm CDT
The Problem With Prostitutes
VIRTUAL - Why We Repatriate: 15 Years on the Arc of Restorative Justice at the Denver Museum of Nature & Science
February 10, 2022 @ 7:00 pm CST
VIRTUAL - Archaeology and Ale and Book Release with Andrew Lawler
November 10, 2021 @ 7:00 pm - 8:30 pm CST
International Archaeology Day: Tour of Oak Woods Cemetery
October 30, 2021 @ 11:00 am - 12:00 pm CDT
VIRTUAL - Archaeology and Ale with Dr. James Osborne
October 20, 2021 @ 7:00 pm CDT
VIRTUAL - Landscapes of Conflict
September 22, 2021 @ 7:00 pm - 8:30 pm EDT
VIRTUAL - Ancient Egypt in a Modern World: Navigating a Remote Internship at the Art Institute of Chicago
May 19, 2021 @ 7:00 pm - 8:30 pm CDT
VIRTUAL - Reconstructing the 18th-Century World Trade Center Ship
April 9, 2021 @ 7:00 pm EDT
View All Societies


PRINCESES I CAVALLERS: XERRAM DE....."ESTIMAR"!!!!
CONTE INTRODUCTORI DEL TEMA. DESPRÉS D'ESCOLTAR EL CONTE VAM CONVERSAR AMB ELS INFANTS SOBRE EL QUE FEIM QUAN ESTIMAM I A QUÍ ESTIMAM..... AQUÍ US DEIX EL CONTE PER SI EL VOLEU TORNAR ESCOLTAR A CASA. DESPRÉS DE LA XERRADA, VAM CERCAR A CASA IMATGES DE GENT QUE S'ESTIMA, PER FER UN MURAL, AIXÍ VAREM PODER OBSERVAR COM EXPRESAM QUE ESTIMAM ALGÚ. TREBALL INDIVIDUAL: I TÚ A QUI ESTIMES???
TREBALL EN GRUP: QUE FEIM QUAN ESTIMAM ALGÚ???


Technology has changed all aspects of our lives, including the way we transact. In our digital economy, money is not the only currency consumers place value in as they also see trust, time and treasure as important drivers, writes Intel's TREVOR COETZEE.
In the conventional economy, money is the only currency. But we are increasingly inhabiting a world comprised of the cloud, mobility, the Internet of Things and an infinite number of goods and services that are exchanged online.
In this so-called Second Economy, money isn't the only currency. In this technological and social realm, trust, time and treasure are the new currencies – and one of them is worth a lot more to cybercriminals than money.
The Second Economy is built on the psychological currency of trust. When we transact online, we trust that the company we're dealing with will protect our information.
But trust is under relentless attack and is the prime casualty of cyber conflict. Hacktivists aren't after money. Rather, they want to embarrass their targets and reduce their brand value by sowing mistrust. Each attack serves to erode the trust of customers in a company's ability to withstand future breaches and protect their interests. And when trust is lost, it can do as much damage as lost funds, if not more.
A cyber defence focused primarily on protecting financial assets is therefore insufficient. The problem, however, is that public concern about personal data loss is falling despite a rise in data thefts. Also, breach victims are not typically penalised, even when their own negligence contributes, which suggests that breach costs should be evaluated in the Second Economy.
In the Second Economy, time matters more than money.
On the one hand, cybercriminals, or black hats, have time on their side. They design their attacks at leisure, crafting carefully thought out and executed strategies that can sometimes go undetected within a network for months, even years.
They also use time to their advantage in ransomware attacks by attaching deadlines to ransom pay-outs for the safe return of data. Under such immense time pressures, victims are more likely to respond impulsively and pay the ransom.
On the other hand, victims, or white hats, are in a constant race against time and are always reacting under pressure. When a breach occurs, time is the ultimate weapon – detecting and remediating threats as quickly as possible becomes the goal in a race where every second counts and time most certainly is money.
The time it takes an organisation to respond to breaches depends on the tools, policies and political structures that are in place before the notion of a threat is even recognised.
But the status quo in most organisations is that separate divisions have separate security policies, which slows down their response times. An IT strategy that allows for new technology to be rapidly onboarded will ensure that new software releases will not hinder productivity and that software updates are not time-consuming.
In the Second Economy, money – or profit – is not the only treasure that black hats are after. When it comes to sowing mistrust, cybercriminals could be motivated by principle – as it often seen in attacks by 'hacktivist' group, Anonymous – while nation-states identify targets to expand their province.
Whatever their treasure, black hats have clear incentives motivating their next move, and with each attack, the trust economy is ultimately corroded. These fast-moving, fast-adapting black hats govern the terms of cyber conflict and control the pace of innovation and the nature and timing of assaults. Organisations play a perpetual game of catch-up, yet they consistently ignore or rationalise the risk.
Individual users cannot shirk responsibility for helping safeguard the Second Economy and, at the strategic level, today's siloed, reactive, barely collaborative defence posture must yield to a new white hat paradigm that is adaptive, aggressive, proactive, newly generous on information-sharing and unpredictable.
If we are to secure the now indispensable, Interned-based Second Economy, we have to reject conventional defence paradigms in favour of radical new thinking. Where we have relied on old playbooks, we must be newly unpredictable; where we have hoarded information, we must become collaborative; where we have undervalued cyber defence, we must prioritise it.
A good start is at the organisational IT level through adopting technology platforms that accept new security software quickly and result in a better-aligned ecosystem. We need to develop a whole spectrum of response plays and not simply plan for an unlikely worst-case scenario.
No single solution can eradicate all threats. We need a superior platform that allows for swift on-boarding of new technologies, over an architecture backed by common tools and workflows, along with automation and orchestration capabilities – one that doesn't multiply operational complexity for already overburdened staff. An integrated platform also offers the benefit of tapping into aggregate innovative capabilities of hundreds of potential players, all connected over the same infrastructure. This gives white hats a fighting chance at making time their ally.
Cyber security professionals with a more simplified back office infrastructure, as provided by fewer vendors in their environment, report experiencing fewer threats, better detection times and more confidence in their security posture than those with a more fragmented, multi-vendor approach.
There also needs to be organisational change. CEOs must advocate for more strategic, proactive defence while end-users must develop better security consciousness.
Finally, we need bold information sharing. By hoarding information, we make the Second Economy more vulnerable. Better defence depends on better sharing impulses. Bold, perhaps altruistic information sharing gestures by cyber defence organisations can change the culture.
Our economy is no longer a physical one but one of connected networks and systems where cybercriminals have put us on the defensive. We now live in a world where more than money is at stake and where we're fighting against time and working to justify trust.
If we're going to win the race, we need to abandon old security playbooks to become more unpredictable and collaborative and make cyber defence a priority.


text:
<?php

namespace Tomahawk\HttpKernel\Tests;

use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Tomahawk\HttpKernel\Test\KernelWithBundleEvents;
use Tomahawk\HttpKernel\Test\KernelWithRoutes;
use Tomahawk\Test\TestCase;
use Tomahawk\DependencyInjection\Container;
use Tomahawk\HttpKernel\Bundle\BundleInterface;
use Tomahawk\HttpKernel\Test\Kernel;
use Tomahawk\HttpKernel\Test\Kernel as KernelForTest;
use Tomahawk\HttpKernel\Test\KernelForTestWithBundles;
use Tomahawk\HttpKernel\Test\KernelStub;

class KernelTest extends TestCase
{
    public function testConstructor()
    {
        $env = 'test_env';
        $debug = true;
        $kernel = new KernelForTest($env, $debug);

        $this->assertEquals($env, $kernel->getEnvironment());
        $this->assertEquals($debug, $kernel->isDebug());
        $this->assertFalse($kernel->isBooted());
        $this->assertLessThanOrEqual(microtime(true), $kernel->getStartTime());
        $this->assertNull($kernel->getContainer());
    }

    public function testGetKernelParameters()
    {
        $kernel = new KernelStub('prod', false);
        $kernel->boot();

        $_SERVER['TOMAHAWK_THING'] = 'foonbar';

        $parameters = $kernel->getParameters();

        $this->assertCount(9, $parameters);
    }

    public function testGetHttpKernel()
    {
        $container = new Container();
        $kernel = new KernelStub('prod', false);

        $httpKernelMock = $this->getMockBuilder('Tomahawk\HttpKernel\HttpKernel')
            ->disableOriginalConstructor()
            ->getMock();

        $container->set('http_kernel', $httpKernelMock);
        $kernel->setContainer($container);

        $this->assertInstanceOf('Tomahawk\HttpKernel\HttpKernel', $kernel->getHttpKernelInstance());
    }

    public function testClone()
    {
        $kernel = new KernelForTest('dev', true);
        $kernel->setContainer(new Container());

        $clone = clone $kernel;
        $this->assertNull($clone->getContainer());
    }

    public function testBootInitializesBundlesAndContainer()
    {
        $kernel = $this->getKernel(array('initializeBundles', 'initializeContainer'));
        $kernel->expects($this->once())
            ->method('initializeBundles');
        $kernel->expects($this->once())
            ->method('initializeContainer');

        $kernel->boot();
    }
    public function testBootSetsTheContainerToTheBundles()
    {
        $bundle = $this->getMock('Tomahawk\HttpKernel\Bundle\Bundle');
        $bundle->expects($this->once())
            ->method('setContainer');

        $kernel = $this->getKernel(array('initializeBundles', 'initializeContainer', 'getBundles'));
        $kernel->expects($this->exactly(2))
            ->method('getBundles')
            ->will($this->returnValue(array($bundle)));

        $kernel->boot();
    }

    public function testBootSetsTheBootedFlagToTrue()
    {
        // use test kernel to access isBooted()
        $kernel = $this->getKernelForTest(array('initializeBundles', 'initializeContainer'));
        $kernel->boot();

        $this->assertTrue($kernel->isBooted());
    }

    public function testBootKernelSeveralTimesOnlyInitializesBundlesOnce()
    {
        $kernel = $this->getKernel(array('initializeBundles', 'initializeContainer'));
        $kernel->expects($this->once())
            ->method('initializeBundles');

        $kernel->boot();
        $kernel->boot();
    }

    public function testShutdownCallsShutdownOnAllBundles()
    {
        $bundle = $this->getMock('Tomahawk\HttpKernel\Bundle\Bundle');
        $bundle->expects($this->once())
            ->method('shutdown');

        $kernel = $this->getKernel(array(), array($bundle));

        $kernel->boot();
        $kernel->shutdown();

        // run again, which should do nothing
        $kernel->shutdown();
    }

    public function testShutdownGivesNullContainerToAllBundles()
    {
        $bundle = $this->getMock('Tomahawk\HttpKernel\Bundle\Bundle');
        $bundle->expects($this->at(4))
            ->method('setContainer')
            ->with(null);

        $kernel = $this->getKernel(array('getBundles'));
        $kernel->expects($this->any())
            ->method('getBundles')
            ->will($this->returnValue(array($bundle)));

        $kernel->boot();
        $kernel->shutdown();
    }

    public function testHandleCallsHandleOnHttpKernel()
    {
        $type = HttpKernelInterface::MASTER_REQUEST;
        $catch = true;
        $request = new Request();

        $httpKernelMock = $this->getMockBuilder('Tomahawk\HttpKernel\HttpKernel')
            ->disableOriginalConstructor()
            ->getMock();
        $httpKernelMock
            ->expects($this->once())
            ->method('handle')
            ->with($request, $type, $catch);

        $kernel = $this->getKernel(array('getHttpKernel'));
        $kernel->expects($this->once())
            ->method('getHttpKernel')
            ->will($this->returnValue($httpKernelMock));

        $kernel->handle($request, $type, $catch);
    }

    public function testHandleBootsTheKernel()
    {
        $type = HttpKernelInterface::MASTER_REQUEST;
        $catch = true;
        $request = new Request();

        $httpKernelMock = $this->getMockBuilder('Tomahawk\HttpKernel\HttpKernel')
            ->disableOriginalConstructor()
            ->getMock();

        $kernel = $this->getKernel(array('getHttpKernel', 'boot'));
        $kernel->expects($this->once())
            ->method('getHttpKernel')
            ->will($this->returnValue($httpKernelMock));

        $kernel->expects($this->once())
            ->method('boot');

        $kernel->handle($request, $type, $catch);
    }

    public function te2stLocateResourceOnDirectories()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->exactly(2))
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/FooBundle', null, null, 'FooBundle'))))
        ;

        $this->assertEquals(
            __DIR__.'/Fixtures/Resources/FooBundle/',
            $kernel->locateResource('@FooBundle/Resources/', __DIR__.'/Fixtures/Resources')
        );
        $this->assertEquals(
            __DIR__.'/Fixtures/Resources/FooBundle',
            $kernel->locateResource('@FooBundle/Resources', __DIR__.'/Fixtures/Resources')
        );

        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->exactly(2))
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle', null, null, 'Bundle1Bundle'))))
        ;

        $this->assertEquals(
            __DIR__.'/Fixtures/Bundle1Bundle/Resources/',
            $kernel->locateResource('@Bundle1Bundle/Resources/')
        );
        $this->assertEquals(
            __DIR__.'/Fixtures/Bundle1Bundle/Resources',
            $kernel->locateResource('@Bundle1Bundle/Resources')
        );
    }

    public function testInitializeBundles()
    {
        $parent = $this->getBundle(null, null, 'ParentABundle');
        $child = $this->getBundle(null, 'ParentABundle', 'ChildABundle');

        // use test kernel so we can access getBundleMap()
        $kernel = $this->getKernelForTest(array('registerBundles', 'registerEvents'));
        $kernel
            ->expects($this->once())
            ->method('registerBundles')
            ->will($this->returnValue(array($parent, $child)))
        ;
        $kernel->boot();

        $map = $kernel->getBundleMap();
        $this->assertEquals(array($child, $parent), $map['ParentABundle']);
    }

    /**
     * @expectedException \InvalidArgumentException
     */
    public function testBundleExistance()
    {

        $kernel = new KernelStub('dev', true);

        $kernel->getBundle('foo');

    }

    public function testBarBundle()
    {
        $kernel = new KernelForTestWithBundles('test', true);

        $kernel->boot();

        $bundle = $kernel->getBundle('BarBundle', false);
        $this->assertTrue(is_array($bundle));

        $bundle2 = $kernel->getBundle('BarBundle', true);
        $this->assertInstanceOf('Tomahawk\HttpKernel\Test\Bundles\BarBundle\BarBundle', $bundle2);
    }

    public function testInitializeBundlesSupportInheritanceCascade()
    {
        $grandparent = $this->getBundle(null, null, 'GrandParentBBundle');
        $parent = $this->getBundle(null, 'GrandParentBBundle', 'ParentBBundle');
        $child = $this->getBundle(null, 'ParentBBundle', 'ChildBBundle');

        // use test kernel so we can access getBundleMap()
        $kernel = $this->getKernelForTest(array('registerBundles', 'registerEvents'));
        $kernel
            ->expects($this->once())
            ->method('registerBundles')
            ->will($this->returnValue(array($grandparent, $parent, $child)))
        ;
        $kernel->boot();

        $map = $kernel->getBundleMap();
        $this->assertEquals(array($child, $parent, $grandparent), $map['GrandParentBBundle']);
        $this->assertEquals(array($child, $parent), $map['ParentBBundle']);
        $this->assertEquals(array($child), $map['ChildBBundle']);
    }

    /**
     * @expectedException \LogicException
     * @expectedExceptionMessage Bundle "ChildCBundle" extends bundle "FooBar", which is not registered.
     */
    public function testInitializeBundlesThrowsExceptionWhenAParentDoesNotExists()
    {
        $child = $this->getBundle(null, 'FooBar', 'ChildCBundle');
        $kernel = $this->getKernel(array(), array($child));
        $kernel->boot();
    }

    public function testInitializeBundlesSupportsArbitraryBundleRegistrationOrder()
    {
        $grandparent = $this->getBundle(null, null, 'GrandParentCBundle');
        $parent = $this->getBundle(null, 'GrandParentCBundle', 'ParentCBundle');
        $child = $this->getBundle(null, 'ParentCBundle', 'ChildCBundle');

        // use test kernel so we can access getBundleMap()
        $kernel = $this->getKernelForTest(array('registerBundles', 'registerEvents'));
        $kernel
            ->expects($this->once())
            ->method('registerBundles')
            ->will($this->returnValue(array($parent, $grandparent, $child)))
        ;
        $kernel->boot();

        $map = $kernel->getBundleMap();
        $this->assertEquals(array($child, $parent, $grandparent), $map['GrandParentCBundle']);
        $this->assertEquals(array($child, $parent), $map['ParentCBundle']);
        $this->assertEquals(array($child), $map['ChildCBundle']);
    }

    /**
     * @expectedException \LogicException
     * @expectedExceptionMessage Bundle "ParentCBundle" is directly extended by two bundles "ChildC2Bundle" and "ChildC1Bundle".
     */
    public function testInitializeBundlesThrowsExceptionWhenABundleIsDirectlyExtendedByTwoBundles()
    {
        $parent = $this->getBundle(null, null, 'ParentCBundle');
        $child1 = $this->getBundle(null, 'ParentCBundle', 'ChildC1Bundle');
        $child2 = $this->getBundle(null, 'ParentCBundle', 'ChildC2Bundle');

        $kernel = $this->getKernel(array(), array($parent, $child1, $child2));
        $kernel->boot();
    }

    /**
     * @expectedException \LogicException
     * @expectedExceptionMessage Trying to register two bundles with the same name "DuplicateName"
     */
    public function testInitializeBundleThrowsExceptionWhenRegisteringTwoBundlesWithTheSameName()
    {
        $fooBundle = $this->getBundle(null, null, 'FooBundle', 'DuplicateName');
        $barBundle = $this->getBundle(null, null, 'BarBundle', 'DuplicateName');

        $kernel = $this->getKernel(array(), array($fooBundle, $barBundle));
        $kernel->boot();
    }

    public function testTerminateReturnsSilentlyIfKernelIsNotBooted()
    {
        $kernel = $this->getKernel(array('getHttpKernel'));
        $kernel->expects($this->never())
            ->method('getHttpKernel');

        $kernel->terminate(Request::create('/'), new Response());
    }

    public function testTerminateDelegatesTerminationOnlyForTerminableInterface()
    {
        // does not implement TerminableInterface
        $httpKernel = new TestKernel();

        $kernel = $this->getKernel(array('getHttpKernel'));
        $kernel->expects($this->once())
            ->method('getHttpKernel')
            ->will($this->returnValue($httpKernel));

        $this->assertFalse($httpKernel->terminateCalled, 'terminate() is never called if the kernel class does not implement TerminableInterface');

        $kernel->boot();
        $kernel->terminate(Request::create('/'), new Response());

        // implements TerminableInterface
        $httpKernel = $this->getMockBuilder('Tomahawk\HttpKernel\HttpKernel')
            ->disableOriginalConstructor()
            ->setMethods(array('terminate'))
            ->getMock();

        $httpKernel
            ->expects($this->once())
            ->method('terminate');

        $kernel = $this->getKernel(array('getHttpKernel'));
        $kernel->expects($this->exactly(2))
            ->method('getHttpKernel')
            ->will($this->returnValue($httpKernel));

        $kernel->boot();
        $kernel->terminate(Request::create('/'), new Response());
    }

    /**
     * @expectedException \LogicException
     * @expectedExceptionMessage Bundle "CircularRefBundle" can not extend itself.
     */
    public function testInitializeBundleThrowsExceptionWhenABundleExtendsItself()
    {
        $circularRef = $this->getBundle(null, 'CircularRefBundle', 'CircularRefBundle');

        $kernel = $this->getKernel(array(), array($circularRef));
        $kernel->boot();
    }

    public function testPaths()
    {
        $kernel = new KernelForTest('test', true);

        $paths = array(
            'root' => $kernel->getRootDir(),
            'web'  => $kernel->getRootDir() . '/web'
        );

        $kernel->setPaths($paths);

        $this->assertCount(2, $kernel->getPaths());
        $this->assertEquals($kernel->getRootDir() . '/web', $kernel->getPath('web'));
    }

    public function testGetRootDir()
    {
        $kernel = new KernelForTest('test', true);

        $this->assertEquals(realpath(__DIR__. '/../Test'), realpath($kernel->getRootDir()));
    }

    public function testSerialize()
    {
        $env = 'test_env';
        $debug = true;
        $kernel = new KernelForTest($env, $debug);

        $serialized = serialize($kernel);

        $kernel = unserialize($serialized);

        $this->assertInstanceOf('Tomahawk\HttpKernel\Test\Kernel', $kernel);
    }

    /**
     * @expectedException \InvalidArgumentException
     */
    public function testLocateResourceThrowsExceptionWhenNameIsNotValid()
    {
        $this->getKernel()->locateResource('Foo');
    }

    /**
     * @expectedException \RuntimeException
     */
    public function testLocateResourceThrowsExceptionWhenNameIsUnsafe()
    {
        $this->getKernel()->locateResource('@FooBundle/../bar');
    }

    /**
     * @expectedException \InvalidArgumentException
     */
    public function testLocateResourceThrowsExceptionWhenBundleDoesNotExist()
    {
        $this->getKernel()->locateResource('@FooBundle/config/routing.xml');
    }

    /**
     * @expectedException \InvalidArgumentException
     */
    public function testLocateResourceThrowsExceptionWhenResourceDoesNotExist()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle'))))
        ;

        $kernel->locateResource('@Bundle1Bundle/config/routing.xml');
    }

    public function testLocateResourceReturnsTheFirstThatMatches()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle'))))
        ;

        $this->assertEquals(__DIR__.'/Fixtures/Bundle1Bundle/foo.txt', $kernel->locateResource('@Bundle1Bundle/foo.txt'));
    }

    public function testLocateResourceReturnsTheFirstThatMatchesWithParent()
    {
        $parent = $this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle');
        $child = $this->getBundle(__DIR__.'/Fixtures/Bundle2Bundle');

        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->exactly(2))
            ->method('getBundle')
            ->will($this->returnValue(array($child, $parent)))
        ;

        $this->assertEquals(__DIR__.'/Fixtures/Bundle2Bundle/foo.txt', $kernel->locateResource('@ParentAABundle/foo.txt'));
        $this->assertEquals(__DIR__.'/Fixtures/Bundle1Bundle/bar.txt', $kernel->locateResource('@ParentAABundle/bar.txt'));
    }

    public function testLocateResourceReturnsAllMatches()
    {
        $parent = $this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle');
        $child = $this->getBundle(__DIR__.'/Fixtures/Bundle2Bundle');

        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($child, $parent)))
        ;

        $this->assertEquals(array(
                __DIR__.'/Fixtures/Bundle2Bundle/foo.txt',
                __DIR__.'/Fixtures/Bundle1Bundle/foo.txt'),
            $kernel->locateResource('@Bundle1Bundle/foo.txt', null, false));
    }

    public function testLocateResourceReturnsAllMatchesBis()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array(
                $this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle'),
                $this->getBundle(__DIR__.'/Foobar')
            )))
        ;

        $this->assertEquals(
            array(__DIR__.'/Fixtures/Bundle1Bundle/foo.txt'),
            $kernel->locateResource('@Bundle1Bundle/foo.txt', null, false)
        );
    }

    public function testLocateResourceIgnoresDirOnNonResource()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle'))))
        ;

        $this->assertEquals(
            __DIR__.'/Fixtures/Bundle1Bundle/foo.txt',
            $kernel->locateResource('@Bundle1Bundle/foo.txt', __DIR__.'/Fixtures')
        );
    }

    public function testLocateResourceReturnsTheDirOneForResourcesAndBundleOnes()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/Bundle1Bundle', null, null, 'Bundle1Bundle'))))
        ;

        $this->assertEquals(array(
                __DIR__.'/Fixtures/Resources/Bundle1Bundle/foo.txt',
                __DIR__.'/Fixtures/Bundle1Bundle/Resources/foo.txt'),
            $kernel->locateResource('@Bundle1Bundle/Resources/foo.txt', __DIR__.'/Fixtures/Resources', false)
        );
    }

    public function testLocateResourceReturnsTheDirOneForResources()
    {
        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->once())
            ->method('getBundle')
            ->will($this->returnValue(array($this->getBundle(__DIR__.'/Fixtures/FooBundle', null, null, 'FooBundle'))))
        ;

        $this->assertEquals(
            __DIR__.'/Fixtures/Resources/FooBundle/foo.txt',
            $kernel->locateResource('@FooBundle/Resources/foo.txt', __DIR__.'/Fixtures/Resources')
        );
    }

    public function testLocateResourceOverrideBundleAndResourcesFolders()
    {
        $parent = $this->getBundle(__DIR__.'/Fixtures/BaseBundle', null, 'BaseBundle', 'BaseBundle');
        $child = $this->getBundle(__DIR__.'/Fixtures/ChildBundle', 'ParentBundle', 'ChildBundle', 'ChildBundle');

        $kernel = $this->getKernel(array('getBundle'));
        $kernel
            ->expects($this->exactly(4))
            ->method('getBundle')
            ->will($this->returnValue(array($child, $parent)))
        ;

        $this->assertEquals(array(
                __DIR__.'/Fixtures/Resources/ChildBundle/foo.txt',
                __DIR__.'/Fixtures/ChildBundle/Resources/foo.txt',
                __DIR__.'/Fixtures/BaseBundle/Resources/foo.txt',
            ),
            $kernel->locateResource('@BaseBundle/Resources/foo.txt', __DIR__.'/Fixtures/Resources', false)
        );

        $this->assertEquals(
            __DIR__.'/Fixtures/Resources/ChildBundle/foo.txt',
            $kernel->locateResource('@BaseBundle/Resources/foo.txt', __DIR__.'/Fixtures/Resources')
        );

        try {
            $kernel->locateResource('@BaseBundle/Resources/hide.txt', __DIR__.'/Fixtures/Resources', false);
            $this->fail('Hidden resources should raise an exception when returning an array of matching paths');
        } catch (\RuntimeException $e) {
        }

        try {
            $kernel->locateResource('@BaseBundle/Resources/hide.txt', __DIR__.'/Fixtures/Resources', true);
            $this->fail('Hidden resources should raise an exception when returning the first matching path');
        } catch (\RuntimeException $e) {
        }
    }

    public function testRoutesPaths()
    {
        $routePaths = array(
            'dir1/routes.php',
            'dir2/routes.php',
        );

        $kernel = new KernelStub('test', false);

        $kernel->setRoutePaths($routePaths);

        $this->assertEquals($routePaths, $kernel->getRoutePaths());
    }

    public function testLoadEvents()
    {
        $kernel = new KernelWithBundleEvents('test', false);
        //$kernel->setEventDispatcher($eventDispatcher);

        $kernel->boot();
    }

    public function testLoadRoutes()
    {
        $kernel = new KernelWithRoutes('test', false);
        $kernel->boot();
        $this->assertCount(1, $kernel->getRoutePaths());
    }

    public function testEnvParameters()
    {
        $methods = array(
            'getKernelParameters'
        );

        $kernel = $this
            ->getMockBuilder('Tomahawk\HttpKernel\Kernel')
            ->setMethods($methods)
            ->setConstructorArgs(array('test', false))
            ->getMockForAbstractClass();

        $p = new \ReflectionProperty($kernel, 'rootDir');
        $p->setAccessible(true);
        $p->setValue($kernel, __DIR__.'/Fixtures');

        return $kernel;
    }

    /**
     * Returns a mock for the BundleInterface
     *
     * @param null $dir
     * @param null $parent
     * @param null $className
     * @param null $bundleName
     * @return BundleInterface
     */
    protected function getBundle($dir = null, $parent = null, $className = null, $bundleName = null)
    {
        $bundle = $this
            ->getMockBuilder('Tomahawk\HttpKernel\Bundle\BundleInterface')
            ->setMethods(array('getPath', 'getParent', 'getName'))
            ->disableOriginalConstructor();

        if ($className) {
            $bundle->setMockClassName($className);
        }

        $bundle = $bundle->getMockForAbstractClass();

        $bundle
            ->expects($this->any())
            ->method('getName')
            ->will($this->returnValue(null === $bundleName ? get_class($bundle) : $bundleName));

        $bundle
            ->expects($this->any())
            ->method('getPath')
            ->will($this->returnValue($dir));

        $bundle
            ->expects($this->any())
            ->method('getParent')
            ->will($this->returnValue($parent));

        return $bundle;
    }

    /**
     * Returns a mock for the abstract kernel.
     *
     * @param array $methods Additional methods to mock (besides the abstract ones)
     * @param array $bundles Bundles to register
     *
     * @return Kernel
     */
    protected function getKernel(array $methods = array(), array $bundles = array())
    {
        $methods[] = 'registerBundles';
        $methods[] = 'registerEvents';

        $kernel = $this
            ->getMockBuilder('Tomahawk\HttpKernel\Kernel')
            ->setMethods($methods)
            ->setConstructorArgs(array('test', false))
            ->getMockForAbstractClass();

        $kernel->expects($this->any())
            ->method('registerBundles')
            ->will($this->returnValue($bundles));

        $kernel->expects($this->any())
            ->method('registerEvents');

        $p = new \ReflectionProperty($kernel, 'rootDir');
        $p->setAccessible(true);
        $p->setValue($kernel, __DIR__.'/Fixtures');

        return $kernel;
    }

    protected function getKernelForTest(array $methods = array())
    {
        $kernel = $this->getMockBuilder('Tomahawk\HttpKernel\Test\Kernel')
            ->setConstructorArgs(array('test', false))
            ->setMethods($methods)
            ->getMock();

        $p = new \ReflectionProperty($kernel, 'rootDir');
        $p->setAccessible(true);
        $p->setValue($kernel, __DIR__.'/Fixtures');

        return $kernel;
    }

}

class TestKernel implements HttpKernelInterface
{
    public $terminateCalled = false;
    public function terminate()
    {
        $this->terminateCalled = true;
    }
    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true)
    {
    }
}

redpajama_set_name: RedPajamaGithub


text:
Q: Hover an element, add class to another I have two lists:

Link 1

Link 2

Link 3

Link 1

Link 2

Link 3

I want when I hover "link1" from "list1" to add a class (.active) to "link1" from "list2". And same for "list2"... It is possible to make a function, because I have lot of li with same classes, and will be too bad to do it manually for each.

A: Try this:
$("#list1 li,#list2 li").hover(function() {
    var index =  $(this).index();
    $("#list1, #list2").each(function() {
         $("li",this).eq(index).toggleClass("active");
    });
});

jsFiddle

A: If your li elements does not have another class than link1, link2 etc. it pretty easy:
var list1 = $("#list1"); // Store references to list1 and list2
var list2 = $("#list2");

list1.find("li").hover(function() {
    var className = $(this).attr("class"); // Fetch current class name
    list2.find("li").removeClass("active"); // Remove active class from all items in list2
    list2.find("." + className).addClass("active"); // Find an item with the same class name, but only items thats children of list2 (second parameter), and add class active
});

A: Something like:
$("#list1 .link1").hover(function () {
  $("#list2 .link1").addClass("active");
});

or, use $("#list2").find(".link1")...

A: Try something like this:
$("li").hover(function () {
  var targetClass = $(this).attr('class');
  $("."+targetClass).not($(this)).addClass("active");
}, function() {
  $("li").removeClass("active");
});

A: You can do this even if they don't have the same class
using $(this).index() will return the index of current hovered element. So, you just have to add the class to element of same index on the other list
Here's a basic working example:
http://jsfiddle.net/Wckyq/


Introducing the Arbuckles' Blonde Roast. Created simply for those looking for a bright getaway from their normally darker roasted regime. What you lose to lighter temperatures (body, dark chocolate, smoke) you gain notes of kaffir lime and a smooth, even body perfect anytime. Thanks to Arbuckles' "dry roast" process you'll get the added boost of some extra caffeine while creating a lower acid.
What coffee do they make that isn't great? Not available at Arbuckle! All of their coffee is great, including the blonde roast! If you're looking for a lighter delicious coffee that's smooth, this is a great one!
You already rated it for me. Thanks. I was having a most difficult between 1 star or 5 stars. Thanks again for the assistance.
This is my new favorite! Thank you Arbuckle's , I will be ordering more and already converted others!
Once you go blonde, you'll never go back! The blonde roast is everything you want in a coffee and the extra caffeine jolt sure is a plus!!!!


text:
Home New Jersey Metuchen
Metuchen Lawyers
Browse By Practice Areas
Find Metuchen Attorneys by Practice Area
Cannabis & Marijuana Law
Stockbroker & Investment Fraud
Show All Practice Areas »
Dolores Aretsky, Esq.
Lawyer Serving Metuchen, NJ
New Jersey Attorney with 33 years of experience
Bergen County Bar Association and New Jersey State Bar Association
Michael D. Fitzgerald
New York State Bar and New Jersey State Bar
Jonathan Sooriash
Attorney with 11 years of experience
Martindale-Hubbell, Martindale-Hubbell and AvvoThe Florida Bar
Joseph F. Morgano
Martindale-HubbellAmerican Bar Association and New Jersey State Bar
Claimed Lawyer ProfileQ&ABlawg SearchSocial Media
Mr. Kenneth Albert Vercammen Esq.
Edison, NJ Attorney
Widener University Delaware School of LawUniversity of ScrantonNew Jersey, Pennsylvania, US District Court, New York and U.S. Supreme CourtEdison Elks, Boy Scouts Middlesex County Toast to Scouting Award, NJ Supreme Court and Middlesex County Bar AssociationAmerican Bar Association, NJAJ Assoc for Justice...New Jersey Expungement Developments: Getting into the Weeds to Seal Client Criminal Records, Spring 2019 NJ Municipal Court Law Review...
Claimed Lawyer ProfileLII GoldBlawg SearchSocial Media
Jonathan F. Marshall
Woodbridge , NJ Attorney
Seton Hall UniversityRider UniversityNew JerseyNational Trial Lawyers, Rues Rating, National Academy of Criminal Defense Attorneys and Ten Leaders CooperativeAssociation of Criminal Defense Lawyers of New JerseyEconomic Troubles Lead to Increase in Domestic Violence, Teens, Distracted Driving and the Danger of Texting...
Claimed Lawyer ProfileQ&ALII GoldSocial Media
Leon Matchin
Milltown, NJ Attorney
Seton Hall University School of LawState University of New York - Stony Brook3rd Circuit and New JerseyNational Academy of Criminal Defense Attorneys, Martindale-Hubbel Lawyers Service, Better Business Bureau and National Trial LawyersSouth Jersey Legal Services (Private Attorney Involvement Program) and Association of Trial Lawyers of AmericaPreparing for a DUI Marijuana Charge and Caught Toking and Driving?
Jessica Natasha Mazur
New Brunswick, NJ Attorney
Seton Hall University School of LawRutgers University - New Brunswick/PiscatawayNew JerseyTime Magazine's 85th Annual Salute to Women In LeadershipNew Jersey Association of Professional Mediators, CASA of Monmouth...How Are You Impacted by the Amended Alimony Statute in Terms of Cohabitation?
Claimed Lawyer ProfileQ&ALII GoldBlawg SearchSocial Media
Todd D. Palumbo
Cranford, NJ Attorney
University of Texas School of LawNew JerseyNational Trial LawyersNational Organization for the Reform of Marijuana LawsPossession of Less than 50 Grams of Marijuana
Rutgers School of Law-NewarkYale UniversityNew Jersey, D.C. Circuit, 2nd Circuit and 3rd CircuitMartindale-Hubbell Lawyers Service, Super Lawyers Magazine, TIME Magazine and NewsweekNational Immigration Project, American Immigration Lawyers Association...Facing Immigration Problems? Helpful Answers to Common Immigration Problems and Deferred Action Program from DREAMERS
Jason Seidman
University of the District of Columbia and Lafayette CollegeNew Jersey and U.S. District Court, District of New JerseyAdministrative Office of the Courts and Attorney General Advocacy InstituteMiddlesex County Bar Association and Middlesex County Assistant Prosecutor's AssociationGuide to the New Jersey Criminal Process Edit
James S. Friedman Esq.
Brooklyn Law SchoolUniversity of Michigan - Ann Arbor and New York University1st Circuit, 3rd Circuit, Massachusetts, New Jersey, U.S. Court of Appeals for the Armed Forces, U.S. District Court District of New Jersey, U.S. District Court Eastern District of New York, U.S. District Court Southern District of New York, U.S. Supreme Court and New YorkBrooklyn Law School, Brooklyn Law School and New York UniversityMiddlesex County Bar Association and Association of Criminal Defense Lawyers of New JerseyNew Jersey Criminal Defense Attorney Blog and Contributed chapters to various continuing legal education publications
Emerald Sheay
Westfield, NJ Attorney
Seton Hall University School of LawRowan UniversityNew JerseyAmerican Academy of Matrimonial LawyersNew Jersey State Bar Association and Transformative Leadership in Disruptive Times ProgramWrongful Death of a Pet: Damages Available in New Jersey, Back N.J. bill that lets pets have lawyers in cruelty cases...
Elizabeth Engert Manzo
Seton Hall University School of LawRutgers University - CamdenNew Jersey, United States District Court for the District of New Jersey and 3rd CircuitNJBiz and New Jersey Law JournalNational Academy of Elder Law Attorneys, International Foundation of Employee Benefit Plans...Withdrawal Liability Primer
Natalie Esposito Capano, Esq.
Peter W. Rodino, Jr. Society
Natalee Picillo
Somerset County Bar Association and New Jersey Bar Association
Greg Keith Vitali
Seton Hall University School of LawFranklin & Marshall CollegeNew Jersey, United States District Court for the District of New Jersey and 3rd CircuitThe Best Lawyers in AmericaAmerican Bar Association, New Jersey State Bar Association...New Jersey Construction Lien Rights For Material and Labor Suppliers and Securing Payment From a Public Project Has Its Own Set of Rules
Daniel R. Lasar
Emory University School of LawUniversity of North Carolina - Chapel HillNew Jersey, North Carolina and New York___American Immigration Lawyers Association and ___Halachic and Estate Planning
Anthony N. Palumbo Esq.
University Of TexasMontclair State UniversityNew Jersey, Texas and New YorkMartindale-Hubbell, Martindale-Hubbell and Martindale-HubbellNew Jersey State Bar, State Bar of Texas...Research Points to a High Risk of False Confessions Among N.J. Juveniles and Stages of a DUI/DWI in New Jersey
Stephen A. Timoni
Seton Hall University School of LawWagner College3rd Circuit, New Jersey, New York, U.S. District Court, District of New Jersey and United States Tax CourtMartindale-HubbellAmerican Bar Association, American Health Lawyers Association...Expanded Regulation of Home Health Care Services In New Jersey
Ross R. Anzaldi
Fordham University School of LawVillanova UniversityNew Jersey, United States District Court for the District of New Jersey and United States Court of Appeals for the Armed ForcesMartindale-HubbellUnion Lawyers Club, Union County Bar Association...
James K. Estabrook
Temple University Beasley School of LawDenison University3rd Circuit, United States District Court for the District of New Jersey, United States Tax Court and New JerseyMartindale-HubbellAmerican Bar Association and Union County Probate Early Settlement ProgramIndustry Improvement Fund Operations Guide and Sales and Use Tax Manual for New Jersey Mechanical Contractors
Robert W. Anderson
Fordham University School of LawRutgers University - Newark and Bucknell UniversityNew Jersey, United States District Court for the District of New Jersey and New YorkBoard of Directors of Good GriefAmerican Bar Association and Association for Corporate Growth - New JerseyCustomer Data, FTC Red Flags Rules and Your Business, Cybersecurity and the Importance of Attorney-Client Privilege...
Rutgers School of Law-NewarkAmerican UniversityNew Jersey, New York and United States District Court of New JerseyNew Jersey Family Magazine, United Way of Greater Union County and Super LawyersUnion County Bar Association and New Jersey State Bar AssociationDrafting Divorce Agreements to Address Life Insurance Obligations, What To Do When You Are Served With A Complaint For Divorce in New Jersey...
John Schmidt Jr
Seton Hall University School of LawRutgers University3rd Circuit, U.S. Supreme Court, United States District Court for the District of New Jersey, United States District Court for the Southern District of New York and New JerseyBest Lawyers, New Jersey Super Lawyers, Chambers USA and Martindale-HubbellAmerican Bar Association, New Jersey State Bar Association...New Jersey Chapter
Warren Levy
Temple University and Temple UniversityRider University and Pennsylvania State University - University ParkPennsylvania, United States Bankruptcy Court- District of New Jersey, United States District Court - District of New Jersey, United States District Court - Eastern District of Pennsylvania, United States Tax Court and New JerseyNew Jersey State BarEdisonDivorce.com - Warren D. Levy, Esq. | Kasuri & Levy, LLC. | Law Offices | New JErsey
Cassie Murphy
Super Lawyers, Super Lawyers, Middlesex County Bar Association, Family Law Committee and Monmouth Health & Life MagazineAmerican Academy of Matrimonial Lawyers and Monmouth County Legal Aid Society
Zachary S. Cherry
New Jersey Attorney
The LII Lawyer Directory contains lawyers who have claimed their profiles and are actively seeking clients. Find more Metuchen Lawyers in the Justia Legal Services and Lawyers Directory which includes profiles of more than one million lawyers licensed to practice in the United States, in addition to profiles of legal aid, pro bono and legal service organizations.


Tucked in the quieter nooks of Kukatpally, Urban Nest is a bungalow that is perfect for families who are traveling to Hyderabad. Plus, they offer a delicious homecooked breakfast.
The fact that it feels like a home away from home with cushy recliners and proper home theatre set-up make it super awesome. The homestay has artsy elements like wooden artefacts, distressed furniture, vintage clocks, and minimalistic chandeliers, but we love how they've blended pop culture pieces like framed posters of The Big Bang Theory, Darth Vader into the artsy home. It can accommodate at least 10 members and has 4 bedrooms. With an outdoor seating and massive balcony that can easily make space for 15 members, this is an ideal stay for someone who's planning to catch up with their friends or fam in town. Plus, if you love pets, Urban Nest has a lovely lab that you can play with.
It's well-connected to the closest metro stations and if you like shopping or watching movies, your next door neighbour, Forum Mall will seal the deal for you.
If you haven't tried authentic Andhra meals and want to get a taste of it, we recommend getting to Subbayyagari Hotel, which is very close to the stay.


text:
Courtesy of BigHit Labels
RM's "Voice," Off His Debut Mixtape, 7 Years On
In this essay, writer Jiye Kim explores BTS leader RM's debut mixtape song "Voice" seven years after it was released.
By Jiye Kim
Seven years ago, RM of BTS charted a new course for what his career might look like with the release of his first mixtape, the self-titled RM. Then 20 years old, he dreamed of being heard. "This moment is what I've hoped for so desperately / I'm finally oiling the pedals that I've stepped on for seven years," he raps on "Voice," the first song on the mixtape. "I secretly raise the volume of my voice / so that you can know, so that it can reach you."
RM's dream has surely been realized, another seven years on: he's the leader of the biggest band in the world, and his voice reaches and resonates with millions. But dreams change, and there's always more to do.
To celebrate the 7th anniversary of RM, we trace his origins and growth as an artist desiring to give his voice – and in doing so, get a glimpse of what he received in return.
BTS released an adapted track titled "Born Singer" on July 11, 2013, just one month after their debut. The four vocalists take the chorus to confess their wary joy: "I'm a born singer, a belated confession / The mirage that had only ever been far away is now here in front of my eyes / I'm a born singer, perhaps an early confession / But I'm so happy, I'm good."
The three rappers weave their narrative journeys around these lines, with RM documenting how his fears dissipated in the face of the audience's cheers. "Honestly, I'd been afraid to prove myself after talking big, / to impress the world after only knowing the book and pen," he raps. "I square my shoulders and climb onto our first stage / A moment of silence, I catch my breath."
He returns to these images in RM, two years later. The first section of "Voice" details how music had become a lifeline in his teenage years:
"I thought the mirage called happiness would be captured there,
But I wasn't happy, not once, when sitting at my desk.
Without my mum's knowledge, I secretly slid blank sheets of paper between the pages of my workbook,
I wrote regarding my identity and matched it to the bass and drums.
It felt like a different way to breathe, compared to when I received my school reports –
even when I ranked 1st, I'd never felt at ease.
Is there a need to want what others want?
Rather than breathing out sighs filled with han,
I chose the path where I could breathe without han."
RM draws on a pun to explain the origin of his rap career. School study only made him sigh (한숨), and so to be able to breathe (숨) freely without "han" (한) – a Korea-specific emotion of deep sorrow, resentment, and grief – he chose to pursue what he loved.
So it is here in "Voice", with lines that reference Nas's "One Mic," that RM announces, "If you really think you ready to fly with my power / This is what R is about, fella the time is now."
The letter "R" encompasses all of his personas as an artist: Runch Randa and Randa, two of the names he used as an underground rapper; Rap Monster, his stage name from 2013-2017; and RM, his revised stage name, which he shared could "symbolize many things" including the idea of "Real Me."
He confirms this is still the case in 2019 with the line "Yeah, my name is R" in his solo track "Intro: Persona." He later follows it up to say that he's "living, breathing, every minute, every moment even now." In 2021, too, he writes in his "Butter" message of thanks, "I realize I'm happiest above all when I make music and am able to share it with people. So today also, I do not falter in living as RM."
Thus music continues to be his chosen manner of expression, for which he carefully extracts the essence of his lived experience and multitudinous thoughts. He may not be stepping down on his pedals with that early desperation, but that's a purposeful choice.
RM released "Bicycle" in June 2021. He described it as a "somewhat defiant" gesture in a Weverse interview; one that stepped away from the pressure to make music that helps him "move ahead a little more" or "stands out better" and focused instead on something important to him specifically. It was "like a compass, telling me where I'm at right now."
In the song, RM concentrates on the mixed emotions that riding a bicycle gives him. "When we're sad, let's ride our bicycles / Let's have the wind blow beneath our two feet / Oh, let's ride our bicycles / with our two arms spread freely."
The bicycle has been his favorite mode of transportation for a long, long time, but only recently has he decided to document this activity in song. After years of promising to fly and run, here he is on his bicycle: trundling along, feeling the wind, taking in the sights, and allowing himself to feel what he does.
RM realized quite quickly, however, that even his preferred path could not rid him of his uncertainty. Track 9 of RM, "Life," is a recognition of the life-long loneliness we're all to bear. Track 10, "Adrift," contrasts the happiness that we're told to seek with the despair that we feel. But in Track 11, "I Believe," RM concludes, "Though there have been times I've doubted my dream and even my entire existence, / I've never once doubted my voice." Perhaps it's because his voice is what allows him to reveal such doubts.
Consider "Reflection," RM's solo track for BTS' 2016 album Wings. He stands at Ttukseom, a park facing the Han River in Seoul. It is, according to the first verse, the place he goes when he really hates himself. In the familiar darkness, he lists "people who are smiling, the beer that makes me smile, / and the fear that gently approaches me and holds my hand." But it's okay, because "everyone's in twos and threes, it's nice for me to also have a friend."
There is an acknowledgement and a careful embrace of such feelings. But in an echo of the opening, where RM shares that he'd like to comfort himself, he ends the song by repeating the statement, "I wish I could love myself."
It is this plaintive, raw honesty alongside his music's charismatic fierceness that has made RM such a valuable and well-respected artist. It is also what has made him so beloved by fans, for he has provided them with apt words for their own individual journeys and the promise that they do not travel such paths alone.
So strong was this sentiment from the fans that throughout the 2017 the Wings tour, it became commonplace for ARMY, BTS's fans, to chant back "We love you" as RM repeated this refrain. Brazil kicked it off, and other countries followed. RM in response changed the lyrics at certain destinations to "Yes, I guess I should love myself," "Yes, I do love myself," and even "I wish you could love yourself."
The phrase became so significant, of course, that it became the basis for BTS' next album trilogy — and RM's now-iconic speech at the United Nations in 2018. At the finale of the Love Yourself: Speak Yourself world tour on October 29, 2019, RM said, "If I think about it, 'I wish I could love myself' was the last verse of 'Reflection,' released in 2016. I had thought about it continuously since then. To love myself. What on earth does it mean, to love myself? So I thought, 'Since I don't know either, wouldn't it be good to search for it together?'"
Korean idol groups have a long history of organized fanchants. They allow the fans to repeat back key phrases, giving them a unified voice and confirming the lyrics being sung by their artist. But events like these signaled an organic call and response; a clear representation of two separate entities influencing each other in new and different ways.
Yes, RM's voice always had a direction. He had promised to secretly raise the volume of his voice, so that we could know, so that it would reach us. But could he have known, at the beginning of his career, that his voice would become part of such a powerful dialogue? That he would speak, and fans would speak back? That he would dream new dreams and reach new heights through communication on and off the stage?
BTS are currently in the midst of a new world tour, Permission To Dance On Stage. On March 13, their third concert date in Seoul, RM asked ARMY if they knew what else their name stood for. He'd created a new acronym: 아미 (AR-MY), short for 아름다운 미성 (A-reum-da-woon Mi-seong), or "Beautiful Voice/s". Bringing this message home were the two whales floating through the stadium, indicating the lone whale from "Whalien 52" was lonely no longer.
RM pursued music as a teenager in the hopes he could breathe a little more freely. The extra wonder of shared experience came with time, with him recognizing in a 2018 Dispatch interview that "through music, through our stages, we are breathing together." This in turn refined his dream. "I want to live through this world in this way – by comforting one another through the inevitable loneliness and alone-ness we are bound to experience as humans. That is the work I want to do."
In-text translations by Jiye Kim.
Want more from Teen Vogue**? Check this out:** The BTS Years
KeywordsrmBTS
What If I Hate Oral Sex?
Nona Willis Aronowitz answers reader questions on pleasure and communicating with your partner.
By Nona Willis Aronowitz
Weekly Horoscope: Expect an Argument This Week
Choose your words wisely.
By Lisa Stardust
K-pop Stars ONEUS Have Grown Up Right Alongside Their Fans
"I feel like we have this wonderful relationship [where] we become a source of support for each other."
TXT Reveal New Chapter Is About "Solidifying Identity" on the Road to Adulthood
"We try to express that temptation where you just want to settle for now and don't want to grow up anymore."


I just posted what was being said in media. My own view on ND is posted here, I can support some level of globalism on helping with relief efforts in places outside America and offering moral support to others in their hour of need. But for the sake of argument, Black Americans in America can expect from an America-First POTUS to speak on damages to both Black Churches in America and a famous Foreign Church abroad considering that he has shown ability to fire off 30 different tweets over a weekend when something affects him emotionally. You probably have better understnding of America-First vs Globalism intricacies, just a quick retort to argue for the sake of arguing.
I I dunno, the guy even couldn't stand up to Hillary Clinton, how in the world he'll be able to have a successfull summit with a brutal dictator like Kim Jung Un of North Korea? Socialist wimpy ideas alone never won anyone anything, he's got have a spine and some clarity about his goals and direction. There is already too much fake wrestling/fake opposition/fake reality showmanship in crooked politics.
I'm more disappointed in the intimidating guy who forced fearless MAGA to appoint him. Bold leadership was one of his greatest traits and they could not let it stand.
Trump Puts Iran in His Crosshairs as Yemen Bleeds http://www.ronpaulforums.com/showthread.php?533485-Concerns-Trump-administration-may-be-laying-legal-groundwork-for-military-action-against-Iran&p=6782681&viewfull=1#post6782681 However, extreme GOP wing hardliners like Coulter should not be allowed to use recent "surprises" to support her disrespectful claim that MAGA was "scamming the stupidest people among his supporters".
Nothing spells anti-globalism like expanding US military presence to more countries. Concerns Trump administration may be laying legal groundwork for military action against Iran Top US General Says American Troops Should Be Ready To Die For Israel As a POTUS how can you support and defend our closest ally who is thousands of miles away from us on the globe right in the middle of mideast? Somtimes you make proclamations that show lack of awareness of MAGA's policies and agenda ( or more importantly of his top funders).
MAGA has close personal ties with dictators of NK , Saudi and alleged strongman of Israel.. who needs Canada, Germany, France. This headline looks like another attack on MAGA's deal making skills.
01:43 PM - James_Madison_Lives quoted enhanced_deficit in post Architects for 9/11 Truth Make Devastating Video After Rep. Omar "Someone Did Something"
01:07 PM - acptulsa quoted enhanced_deficit in post Architects for 9/11 Truth Make Devastating Video After Rep. Omar "Someone Did Something"


text:
The Glacier Express
Sils Maria, Zermatt 4 nights Prices on request
Travel on the famous Glacier Express - one of Switzerland's most iconic train rides across the Alps from St. Moritz to Zermatt. The breathtaking journey takes around 7½ hours, crosses 291 bridges, passes through 91 tunnels and climbs to over 2,000 metres high.
Fly to Zurich and take a scenic rail transfer to St.Moritz; from here you will be driven 15 minutes to the Waldhaus Sils where you will stay for two nights in the picturesque Engadin Valley.
On the third day you will board the Glacier Express at St.Moritz and from your first class seat you will enjoy spectacular views through the panoramic windows and a 3-course meal, expertly served as you wind through the Alps.
You will then stay for two nights at the Parkhotel Beau Site with a whole day free to explore Zermatt before taking a rail transfer to Geneva for your flight home.
...when you travel with Kirker
Flight to Zurich
Rail transfer to Sils Maria
2 nights at the 5* Waldhaus Sils including breakfast
First Class ticket for the Glacier Express from St Moritz to Zermatt with a 3 course meal included
2 nights at the 4* superior Parkhotel Beau Site including half board
Rail transfer to Geneva
Flight from Geneva to the UK
Included Hotels
Waldhaus Sils
Sils Maria, Switzerland, Europe
Perched in a wonderful position above the village of Sils Maria, in between two lakes and flanked by mountains and forests – the views are spectacular. Opened in 1908, this historic grand hotel is still owned and run by the same family ensuring a very personal, friendly and altogether Swiss experience.
Parkhotel Beau Site
Zermatt, Switzerland, Europe
With an elevated but central location in Zermatt, the Parkhotel Beau Site is a privately-run hotel which prides itself on excellent service and enjoys wonderful views of the town, mountains and the imposing Matterhorn.
Zermatt to St Moritz on the Glacier Express
By The Kirker Team, 01 August 2018
Switzerland is synonymous with many things, from stunning scenery to impeccable efficiency, and for the discerning traveller, it's a country that never fails to disappoint. It's a surprisingly diverse country, considering that it only spans over an area of 15,000 square miles. The country speaks four official languages, with each of those linguistic areas having its own distinct character. The…
Zermatt , Sils Maria
Senior Reservations Consultant
A native Venetian, Pat has been Kirker's resident expert of the hidden gems of Venice for many years and can offer a useful insight into the non-tourist side of Italy.
Being a mother of three children means she has an understanding of the needs of family holidays and can put together itineraries and suggest hotels, which will make a holiday with the whole family both enjoyable and relaxing. In addition to Venice she has also lived in Lake Como, Venice, Milan and Rome, and has travelled the length and breadth of her home country, visiting Kirker hotels in from the Cinque Terre and the Italian Lakes to Sicily and the Amalfi Coast.
Explore the local area


text:
Q: how to put multiple AND's with variables in a php/mysql query? Tried lots of different things to make it work, couldnt find the answer on the internet if its even possible to put 2 AND's with variable into 1 query. Hopefully someone can help me with this one.
Im trying to make a rating system with 1-5 points. There is a rating row in the database and the value should be put in front of the
/5
First try:
    $query2 = "SELECT rating, gebruikersnaam, Foto.fotoid FROM rating, Foto WHERE rating.fotoid = Foto.fotoid AND Foto.fotoid = '".$id."'" AND gebruikersnaam "'".$gebruikersnaam."'";

Edited version
"SELECT rating, gebruikersnaam, Foto.fotoid
 FROM rating
 INNER JOIN Foto ON rating.fotoid = Foto.fotoid
 WHERE rating.fotoid = Foto.fotoid AND Foto.fotoid = '" . $id . "' AND gebruikersnaam '" . $gebruikersnaam . "'";
 $result2 = mysqli_query($GLOBALS['conn'], $query2);

var_dump($result2);
echo $query2;

$row2 = mysqli_fetch_array($result2);
echo "
".$row2['gebruikersnaam']."
";
echo "
".$row2['rating']."/5
";

var_dump(result2); echoes:
bool(false)
query2 echoes:
SELECT rating, gebruikersnaam, Foto.fotoid FROM rating INNER JOIN Foto ON rating.fotoid = Foto.fotoid WHERE rating.fotoid = Foto.fotoid AND Foto.fotoid = '54' AND gebruikersnaam 'Kees'
echo "
".$row2['rating']."/5
";

The code doesnt seem to get the ['rating'] anymore?

A: This should work! you put to much "" in the string! Also do a JOIN to the second table.
 $query2 = "SELECT rating, gebruikersnaam, Foto.fotoid
            FROM rating
            INNER JOIN Foto ON rating.fotoid = Foto.fotoid
            WHERE rating.fotoid = Foto.fotoid AND Foto.fotoid = '" . $id . "' AND gebruikersnaam '" . $gebruikersnaam . "'";


text:
Nam Myo Ho Ren Ge Kyo is an album by Acid Mothers Temple & The Melting Paraiso U.F.O., released in 2007 by Ace Fu Records.

Track listing

Personnel
 Kitagawa Hao - voice, hot spice & alcohol
 Tsuyama Atsushi - monster bass, voice, acoustic guitar, one-legged flute, alto recorder, cosmic joker
 Higashi Hiroshi - synthesizer, voice, dancin' king
 Shimura Koji - drums, Latino cool
 Ono Ryoko - alto sax, flute, aesthetic perverted karman
 Kawabata Makoto - electric guitar, voice, hurdy-gurdy, acoustic guitar, glockenspiel, tambura, sarangi, speed guru

Technical personnel
 Kawabata Makoto - Production and Engineering
 Yoshida Tatsuya - Digital Mastering
 Kawabata Sachiko - Art Work

References

2009 albums
Acid Mothers Temple albums

redpajama_set_name: RedPajamaWikipedia


The 1970s Diet: French Kids eat Pate!
Wow do they! Following on from yesterday's food theme - I also read yesterday (but got distracted with my dinner lady and lateness rage) about how all French children are impeccably well mannered whilst eating out at restaurants and us Brits can't keep our little terrors under control. Oh, by the way, the Parisian mums look effortlessly glamorous also. So chew on that if you're currently sitting in your sweats and bending down to pick up the food that has been flung from the highchair by your little terror.
The article was in the Daily Mirror and was by an ex-pat who has moved to Paris with her husband with toddler in tow. It was basically the French do it better. We are slack parents that give our kids too much freedom and "no" should mean no. And just to rub salt into the wounds she basically said most British mums are slummy mummies (my term not hers before she pinches it) rather than yummy mummies (someone else's worn out term).
I suspect this is another "what an earth can we write about now article" but this may well be very true - maybe the French and their children are quite happy to sit for 2 hours eating their dinner in a restaurant. Maybe they all eat exceptionally well with not a chicken nugget in sight and the women are drop dead gorgeous.
Personally I can't think of anything worse than 'dining' out with children certainly under the age of 2. Why should they be expected to sit for 2 hours 'enjoying' a meal? A child of that age does not want to sit for 2 hours and nor should they have to. They want to eat when they're hungry and that's it. They don't want the experience. The parent does. The parent wants to continue as they were before pre-children. Its the same parent that wants "me time" and "wants their old life back". How enjoyable is it to dine out saying "careful" "you need to go now?" "nappy needs changing" "she's tired" "sit still" "it won't be much longer" .. .yes really enjoyable that. Maybe the French child has accepted defeat and resigned itself (I'm not talking about older kids here) to 2 hours of hell and thinks it'll soon be over if I eat this pate!
I would much prefer my child to be running in the park, out and about, than to be confined to a room with a plate, knife and fork.
Now there are glamorous women in all the major capitals of the world. I have been to Paris many times and even honeymooned there. My most recent memory of this city then is 2009 where I observed women smoke like troopers, rough old diamonds some might say! I rarely saw a Parisian woman break into a smile or a laugh for that matter. On one occasion whilst in a restaurant (with disruptive kids - of course probably foreigners) a woman sat opposite her husband whilst he tucked into burger, chips and large beer whilst she nursed a spud with salad and a glass of water. She barely touched it.
I always get the impression that French women are serious and of feminist persuasion but here they are nibbling away at salad, smoking like troopers to be thin for their men. The same men where its deemed acceptable to have an affair. But possible the most annoying thing is their acceptance of those awful toilets that remain in public places where there is nothing more than a hole in the ground. Why are they not bothered about that? Why are they not bothered about urinals on walls in public places for men to just stop and have a piss? Answer me that!
And if we are really going to get the brush out and tar everyone the same then, in the way that British mums are labelled as fat, I would have to say that French women are ugly (sorry if you are a beautiful French woman) and that maybe being slim is all they have to offer? Sweeping statements all round I think.
I find ex-pats do a lot of Brit bashing when they haven't been in the country for years. Most of their observations are not first hand at grass roots level but from Internet and newspaper articles. There appears to be a lot of gloating and justification for the move. Stuart Lee did a great routine where the person justifies the move by saying how big the prawns are in Australia compared to the UK. Its very funny.
Moving on to dieting matters - I had a great day yesterday and am about to proceed with my wii dance and biggest loser. I was not blogging as frequently as I did when I started this blog in October. I update my weight loss on a baby site forum and I was flattered to hear that one member was disappointed it wasn't being written everyday. So thank you Gillian my favourite stalker for giving me a kick up my big fat arse!
Actually don't think that link will work sorry new to this lol! I have posted it on my twitter instead lol!
Sounds like the kind of article that would have me spitting feathers! Any article which is based on a holier than though attitude usually does!
As an expat myself (Brit living in Germany, having just moved from two years in Copenhagen), I can confirm that bashing the country you are resident in seems quite common and I find it so depressing. I will never forget the sinking feeling I had when I met a group of expats in Denmark, all of whom had negative stuff to say, and I had only just moved to the place!
As parents we are all doing the best we can! I would know, I am French. I wish we had parenting secrets but we don't. Sad but true!
Indeed we try - I find Gin always helps - would like to do a wink thing but am 38 and can never quite work all those little things out!
Excellent article. So agree with you on all counts!


For information about being a Wake Forest News collaborative citizen journalist, see this article. Otherwise, you know what to do, submit your material using the information below.
When you complete the submission form below, I'll be immediately notified.
If the form below isn't working for your device, send your information, photos, and/or video to wfncnews@gmail.com or message me through the Wake Forest News Facebook page.
Thank you for helping to make Wake Forest News even better.