The Call For Action office is staffed entirely by dedicated volunteers. These volunteers give the consumers a nonthreatening place to turn to, act as a neutral third party, and offer them guidance from start to finish.
Volunteers are needed to help resolve consumer complaints, either by mediation or referral.
What does it take to be a CFA volunteer?
The most important qualification is a sincere desire to help people resolve consumer problems they have been unable to resolve themselves. You need to be available from 10am to 3pm on the same day each week to come in and volunteer. We ask that you make a one-year commitment to the program, and participants must be at least 18 years old.
Yes. Our development team provides the training necessary to become a volunteer professional.
What kind of people usually volunteer for CFA?
All kinds: teachers, lawyers, former CEOs, engineers, homemakers, pharmacists, secretaries, government employees, and writers. People just like you!
How much time would I need to spend each week?
Volunteers devote a few hours, one day a week, usually from 10 a.m. to 3 p.m.
Please be aware that there are no opportunities for paid employment with the station or with Call For Action. This is a volunteer opportunity.
If you are interested in volunteering with our organization, please complete the form below.


text:
X-Men Primer
UXN Forums
Mondays With Marts: September 19th, 2005 (Frank Tieri)
Iceman.
Mike Marts -- Hey, folks—big apologies for being absent the past two weeks. But I'm making up for it by treating you to an interview with the kindest, most gentle man in all of comics—FRANK TIERI. Aw, who am I kidding--? This guy's a beast! He's the most ill-tempered, foul-mouthed person I can think of in the entire industry! And that's why he's one of my better friends in the entire industry. ;-)
Frank, give is the five-sentence bio of yourself. What do readers not know about you that they should?
Frank Tieri -- Born and raised in Brooklyn New York to an Italian father and a Canadian mother (some combination, huh?). Wrestled in High School until I got thrown off the team for basically not showing up and being a smart ass punk when I did (yeah, I was a pretty stupid kid back then—but who isn't in High School?), played football until I tore all the ligaments in my ankle and thus eliminating my going-nowhere-anyway football career, and even once trained for the Golden Gloves (but never entered—too many family members and loved ones broke my balls, fearing I'd get myself killed. They were probably right). Went to St John's University where I majored in Graphic design and minored in English—funny how I now put my minor to better use than my major, but hey, such is life. Interned at Marvel while at St John's, worked a lot of little piss-boy jobs up there until I eventually got hired as the head writer and editor for Marvel.com. Left that job when people like you were dumb enough to think I could actually write comics for a living. (Suckers!) Got married to a fantastic wife and mother who I have two great kids with, they mean the world to me. And took six sentences for this bio when I was only asked for five (technically seven, if you include this last wise ass comment).
Mike Marts -- Next time follow the rules, Frank. Five sentences mean five sentences. So, anyway…how did you get your break in the industry?
Frank Tieri -- The internship really helped. People ask me all the time how's the best way to break in. Well, if you're eligible and can get one , I can't stress enough how internships go a long way to get you started. Yeah, you're basically lower in stature than toilet splatter while you're there, not to mention you eventually develop a very intimate and unhealthy relationship with the photocopier, but you also get the invaluable knowledge of the inner workings of a comics company and the people involved. And maybe even more important than all that, they get to know YOU. Because it's just one of those harsh truths of reality, folks—I don't care if you're trying to break in as an artist, writer, editor or janitor, the guy they know definitely has a leg up over the guy they don't.
Now, as for when I did finally get my break as a writer, a lot of people think I was an overnight success once they woke up one day and said "who the flying #$%^ is Frank Tieri and why am I seeing his name in the credits of IRON MAN and WOLVERINE?", but you know as well as I do most "overnight successes" are years in the making, and I was no different. Year after year, pitch after pitch, restraining order upon restraining order, until people like Bobbie Chase, Mark Powers, Joe Quesada and eventually guys like yourself and Axel Alonso, saw enough in me to believe I could actually pull this thing off. And I'm forever grateful for it because I can't think of a cooler job.
Mike Marts -- Or a cooler editor to work with, right? And speaking of people you've had the chance to work with, you've had the opportunity to collaborate with some great artists in the biz—Sean Chen, Mark Texeira, John Paul Leon…who would be your dream artist to work with? And while we're on the subject, what's your dream project?
Frank Tieri -- I have to say, I really have been pretty blessed with the artists I've had for the most part—because believe me, I saw what a difference it made when I wasn't. To me, and I hate to admit this as a writer, but when push comes to shove I think that the art is more important to a successful comic book than the writing. Obviously, you'd like to have both be good, but I firmly believe bad art can absolutely destroy a good story where good art can cover for a story that ain't so hot. Comics are a visual medium first and foremost.
With all that said, I don't think I necessarily have a "dream artist" — I think as long as the guy is good, professional and a good fit for the book I'm on, I'm cool with it. And if he can put asses in the seats, all the better.
My dream project would be to revisit what I see as some unfinished business left over on WOLVERINE — stories that I never had a chance to get to before I left the title. If you remember, when I was doing the book, ORIGIN was the big Wolverine thing going. But what you might not have known, though, was Marvel didn't allow me to do anything involving Wolvie's past while ORIGIN was going on, for fear whatever I was doing might interfere with it. (If you recall, my ORIGIN tie in, Originquest, got yanked right before we were all set to do it—now you know why.) So stories I had in mind involving Wolvie's past—how and why the original Weapon X Program came about, how Wolvie and Sabretooth actually met (also had some fairly nasty plans for Sabretooth's origin), what went on when Logan hit Japan and even how DOG fit into all of this—to this point are as yet untold. But hey, who knows what tomorrow brings…
Mike Marts -- Well, we know what today brings—perhaps the most intense competition between Marvel and DC that the industry has ever seen. So—Marvel or DC? (Obviously Marvel, but why?)
Frank Tieri -- Yeah, even though DC's doing some great stuff these days and I'd love to eventually sink my teeth into some of their characters (I'd give my left nut to get a hold of BATMAN'S rogue's gallery, for instance), I'd have to safely say I'm a Marvel guy. What can I do, I grew up on that stuff—Claremont's X-MEN, Miller's DAREDEVIL, Byrne's FANTASTIC FOUR, Simonson's THOR, etc. That stuff all seemed more interesting to me than what DC was doing at the time—too many overly-heroic, square-jawed characters that I just couldn't relate to. I need—as a reader and now as a writer—for my characters to have flaws. And back then DC wasn't giving you that, MARVEL was.
To be honest, it's one of the main reasons you see most of my work coming out of Marvel—I just know the characters better. I read them as a kid, I worked on them when I interned and when I was on staff—bottom line is, you just tend to come up with more ideas for subject matter you're familiar with.
Mike Marts -- You seem to have grown a reputation as being the "tough guy" of the industry—how'd that come about?
Frank Tieri -- It's probably mostly because I look and sound like a reject from the set of the "Sopranos". The funny thing is, it's a reputation that has both helped and hurt me. Helps because I've established a niche for myself, and a lot of writers would kill for that in this business. Tough guy characters, villains, sometimes even "funny" characters…my name is always in the mix. Now, where it hurts is that's usually the only characters I'm ever asked to do. Frank Tieri writing CAPTAIN AMERICA? Not very likely. Frank Tieri on SUPERMAN? I'll believe it when I see it. Frank Tieri takes on ARCHIE? I don't think anybody wants to see that. (Reggie shanks Arch in the schoolyard with a rusty screwdriver, Betty and Veronica go lesbo, Mister Weatherbee gets caught touching himself in the cheerleader's locker room…come to think of it, maybe it wouldn't be so bad after all!)
Mike Marts -- Favorite movie, book, fictional character, sports team?
Frank Tieri --
Movie—The Godfather. Yeah, I know, pretty stereotypical…but what the Hell, I like the movie. One of the few movies if I find it on the tube, I can't help but stop and watch it.
Book—Of Mice and Men. Even though you know full well how it ends, you almost can't help but wish for a different outcome when you re-read it. Teaches you how tragic stories often stay with you more than the happy ones do.
Fictional character—Sean Ryan. I doubt even he believes someone like him can really exist.
Sports team—I don't think it's much of a secret that I'm the world's biggest YANKEES fan—which I insist is a lot harder than people make it out to be. Don't worry, I'm certainly not asking for any sympathy over here—with 26 world championships how can I?— I'm just pointing out it's not that easy sometimes being a fan of a team where their season is considered a failure if you don't win the World Series. We've lost two World Series since 2000 and I got my balls broken each time…from fans of teams who haven't even made the playoffs in YEARS, no less. (Yeah, I'm looking at you, rat bastard MET fans. Give me a call when you guys finish .500, why don't ya?)
Mike Marts -- You have an upcoming project in the X-Office—any hints you can give the readers without giving too much away?
Frank Tieri -- You tell me—YOU'RE the one making me keep my big yap shut! Let's see… what I think I can get away with is this:
The project involves two main characters you'd expect me to be involved with (See "tough guy" question above).
You've already seen a hint for the project dropped somewhere (though I'm not saying where or when…or how).
We haven't seen one of the main characters in quite a while even though he/she/it is one of the most popular characters of the 90's.
Part of the story takes place in the past, part of it in the present.
It will deal with some of the after-effects of HOUSE OF M.
It will have important ramifications and concepts that will be picked up in the regular X-MEN books.
And…I'm writing it, so it'll be awesome.
Mike Marts -- Who would you say your major influences are?
Frank Tieri -- You know, I hope most people don't answer this question with just comic book people because Lord knows there's a whole lot more to be influenced from than just that. Books, movies, TV, music…and most importantly and obviously, life in general. Stories you've heard, stories that may even have happened to you. Your family, your friends, your friends of friends, the screwball from across the street with the lazy eye you try to avoid eye contact with. All these things play into the tales you tell, the characters you create—sometimes, without you even realizing you're doing it. In the end, all you can do is try and be yourself and that's what I try to do, for good or for bad.
Mike Marts -- Favorite X-Man. Why?
Frank Tieri -- Like everyone doesn't already know. As for why, well, I guess he was the first comic character that I was ever introduced to that was like the way he was. He didn't take no crap from nobody even when he knew there were times he probably should have. He'd never give up, whatever the odds, no matter what. He'd threaten his friends' lives one minute then defend them with his the next. He was a psychotic killing machine and yet he just so happened to live by the code of a samurai. He was Canadian, he had a mysterious past, he smoked cigars and he had these claws that could cut you up into pulled pork in the blink of an eye.
Christ, they sure don't make characters like that anymore, do they?
Mike Marts -- Favorite X-Man/Men besides Wolverine. Why?
Frank Tieri -- I always liked the Beast and Colossus.
The Beast I first came across in the pages of AVENGERS, so that's the version of the character I'm most fond of—the fun-loving, wise-cracking, woman-crazy, getting-bombed-in-the-Avengers-basement-with-Wonder-Man-on-Iron-Man's-secret-stash Beast. And the ape man Beast. I can't stress that enough…APE man. You want Beauty and the Beast? Rent the @#$in' DVD. I want my Beast's swinging from trees and peeling bananas with his feet!
Colossus, at first, because I always gravitated to the "big guy" characters. (I was always partial to the THING, too, in case you were wondering.) But eventually I came to like him because he was this big gentle goof of a guy—he sort of acted as the ying to Wolvie's yang and I always thought that sort of worked for the team dynamic. I also liked that every few years or so, he was capable of snapping, and snapping hard. (You didn't want to be around when the big Ruskie snapped, let me tell you.) It somehow made him more realistic—that even the most gentle of souls was capable of going completely nutso when pushed too far.
Mike Marts -- Kind of like you, Frank? Kidding! Hey, big thanks for the great interview! And for those of you wanting to read Frank's stories, check out HERCULES and WEAPON X: DAYS OF FUTURE NOW!
UXN Home
Publication History X
UXN FAQ
UXN Forum
Issue Summaries
TPB Listings
Cerebro Files
Character Glossary
Team Glossary
Friends or Foes
Alien Races
Merging Minds
Dangler Lists
Event Months
Interviews & Columns
Secrets behind the X-Men
Outside the comics
Film & TV Shows
Inside UXN
Contribute to the UXN
Gratuitous Self-Promotion
With 7,613 Issue Summaries online, chances are you may not have read the following Issue Summary:
A+X #13
X-Fact
Nathan Summers (cable) was born in the X-Mansion kitchen. [X-men #200-201]
MightyAvengers.Net
comic related fun
Check out our Forums!
Follow @uxn
This is an unofficial fan site. It is not sponsored, licensed, or approved by Marvel Characters, Inc. To go to the official "Marvel Comics" site, click [here]. "X-Men" is a registered trademark of Marvel Characters, Inc.
All original content Copyright © 2000 - 2020 uncannyxmen.net. All trademarks are properties of their respective owners.

redpajama_set_name: RedPajamaCommonCrawl


A walk as important and fun as this.
This walk is fun, and fun is good.
So, come and walk with us, you should.
Just what is this walk about?
Well, keep on reading. You'll find out.
that Owen helps me lead this team.
who is this young man they call Ashton?
Is of course the twenty first.
to what makes you… you, and makes me… me.
Now if you count them, you will see, we all have pairs of 23.
23 from our mom, 23 from our dad, which equals 46 (just simply add).
and delays in reaching milestones.
As well as different processing speeds.
Remember, great things can come from challenges too.
a person's a person, extra chromosome and all.
But, "unless someone like you cares a whole awful lot.
To families with "a little extra" at this elevation.
Would you, could you, help us out by making a donation?
New Parent Packets/Sofia's Closet- info, support, resources & a gift to families w/ a new Down syndrome diagnosis.
Get Down Group- for self-advocates 16 yrs+?


Every marketer is looking for the perfect email subject line to increase open rates.
Lots of How To articles have been written on the topic. Most recommend writing subject lines that invoke curiosity. Or ask a question. Or speak directly to the reader. Or announce breaking news.
One research study concluded that the most successful subject line of all-time was the phrase: "You are not alone."
But what if we take an entirely different approach?
We spend our time and energy trying to craft creative (and sometimes deceptive) subject lines in an effort to get more people to open our emails.
But here's the thing ... you should be more concerned about the NAME that appears in the "From" line and less concerned about the CONTENT that appears in the "subject" line.
I receive newsletters from several authors that I have come to know, like and trust. When I see their name in the From Line, the Subject Line has little influence on my decision to open their email.
So... as usual, it all comes down to building a reputation for yourself (and/or your company) as someone people know, like and trust. Develop a reputation for delivering content that is personal, timely, relevant and valuable.
When you focus your efforts on becoming someone of value, offering something of value, then you'll discover the "subject line" is the least important part of your email marketing strategy.
Another good reference for those who just started email marketing. As what I tell my colleagues who just started in this area, reading more on different blogs pertaining to this topic is a big help especially if these people have been doing it for a years now. Nevertheless, thanks for the good share!


text:
Q: PHP/HTML return all rows from Oracle Database Query I am trying to display multiple rows of data from a SQL query. I was able to build the reference so that table currently shows one row but was wondering how to show all rows using the same table structure.
 <?php
    include('connect.php');
    oci_execute($sql);
    while ($row = oci_fetch_array ($sql)) {
        $pt  = $row[0];
        $eas = $row[1];
        $shd = $row[2];
        $epc = $row[3];
        $tpc = $row[4];
        $uid = $row[5];
    }
?>

Using the table structure below

         Pt
         Eas
         Cs
         Or
         Pr
         Ct?
         Al

        <input type="text" name="Pt" value="<?php echo $pt; ?>" class="form-control" readonly="">
        <input type="text" name="Eas" value="<?php echo $eas; ?>" class="form-control" readonly="">
        <input type="text" name="Cs" value="<?php echo $tpc; ?>" class="form-control" readonly="">
        <input type="text" name="Or" value="<?php echo $shd; ?>" class="form-control" readonly="">
        <input type="text" name="Pr" value="<?php echo $usd; ?>" class="form-control" readonly="">
        <input type="text" name="Al" value="<?php echo $epc; ?>" class="form-control" disabled>

A: It'd be something like this:

             Pt
             Eas
             Cs
             Or
             Pr
             Ct?
             Al

<?php

    include('connect.php');

    oci_execute($sql);

    while ($row = oci_fetch_array ($sql)) {

    $pt     = $row[0];
    $eas   = $row[1];
    $shd   = $row[2];
    $epc    = $row[3];
    $tpc    = $row[4];
    $uid   = $row[5];

?>

        <input type="text" name="Pt" value="<?php echo $pt; ?>" class="form-control" readonly="">
        <input type="text" name="Eas" value="<?php echo $eas; ?>" class="form-control" readonly="">
        <input type="text" name="Cs" value="<?php echo $tpc; ?>" class="form-control" readonly="">
        <input type="text" name="Or" value="<?php echo $shd; ?>" class="form-control" readonly="">
        <input type="text" name="Pr" value="<?php echo $usd; ?>" class="form-control" readonly="">
        <input type="text" name="Al" value="<?php echo $epc; ?>" class="form-control" disabled>

<?php

}
?>

A: Your code needs a lot of optimization, if you use DB calls and output in the same file, it's always wiser to put the output in a variable and only then echo the end result something like this:
<?php
include('connect.php');
oci_execute($sql);

$table = '

        Pt
        Eas
        Cs
        Or
        Pr
        Ct?
        Al

';

while ($row = oci_fetch_array($sql)) {

    $table .= '

    <input type="text" name="Pt" value="' . $row[0] . '" class="form-control" readonly="">
    <input type="text" name="Eas" value="' . $row[1] . '" class="form-control" readonly="">
    <input type="text" name="Cs" value="' . $row[2] . '" class="form-control" readonly="">
    <input type="text" name="Or" value="' . $row[3] . '" class="form-control" readonly="">
    <input type="text" name="Pr" value="' . $row[4] . '" class="form-control" readonly="">

    <input type="text" name="Al" value="' . $row[5] . '" class="form-control" disabled>

';

}

$table = '
';

echo $table;

redpajama_set_name: RedPajamaStackExchange


Minha esposa estava conversando no celular, e eu não tinha a mínima ideia com quem; por isso perguntei: Com quem você está falando? Como você faria essa pergunta em inglês? Vamos conversar sobre isso no mini-podcast de hoje!
Who is Mom talking to?
Who are you studying English with?
I am studying English with my sister.
Clique AQUI para começar a DOMINAR o inglês básico.
Who are you studying English with this year? (ou) What are you thinking about?
This entry was posted on Monday, January 25th, 2016 at 15:54	and is filed under Basico Volume 2. You can subscribe to any comments to this entry via RSS 2.0. You can skip to the end and leave a response. Pinging is currently not allowed.
I´m studing English by myself.
I'm thinking about the life is good. But people need to live a little slow down, and take it easy!
I´m studying English by myself. I studied for a long time at a school but nowadays I´ve been studying by myself.
Who are you studying English with???
I'm studying by myself here in norway, is a big challenge, because I have to learn english and norwegian at the same time.
I'm studying English by myself too.
I am studying english by myself.
I'm talking to my student right now.
I am talking to Charlize Theron.
Great, Odair! Keep it up!
Great to have you here, Ren! I'm thinking about all my great students here!
I"m really thinking about how I can improve my english more fast, however you help me a lot every day. Thanks for that!
My wife is studying with me!
I am thinking about how can I improve my English?
who are you studying English with this Year ?
I'm studied English with podcast from Tim.


If you've never heard of loh mei or loh kai yik (Cantonese), you're not alone to have never tried this dying traditional dish. Loh Meh Specialist seems to be one of the last surviving stalls serving up the old-timey stew that involves your choice of ingredients like pork belly, offal, cuttlefish and pig intestines, stewed in a red fermented soybean-based gravy (known as nam yu) that lends a unique colour and distinct flavour. We didn't have much of a yardstick to review this, but many people claim that the gravy has been toned down to suit the palates of younger patrons. Served in a little metal wok and usually eaten with white rice or yellow egg noodles and ranging from $4, $6, to $8, we still recommend trying out this dying speciality and perhaps bringing along older folk who want to reminisce.
Loh Mei Specialist opens Mondays to Sundays, from 12pm - 9pm.
It's one of the oldest vendors of roast meat in Singapore, having been in business since the 1920s. Applying old-school roasting techniques with a 60-year old charcoal roaster, regulars appreciate the malt-crisped skin, dark char and succulent meat that's signature here. Unlike Loh Mei Specialist, Toh Kee holds fast to their roots, which means intentionally gamier meats that may turn off unsuspecting youths, but we give them major props for keeping with tradition and giving us a little piece of history to sink our teeth into. The duck disappears fast, so get a Whole Roast Duck ($32 for 2.2kg) if you want to snag one for your family.
Toh Kee Roast Duck opens from Tuesdays to Sundays, from 11am - 7pm. Closed Mondays.
You can't say you've been to People's Park if you've never tried Ri Ri Hong's Mala. The stall's undeniable popularity has begun to waver over the years, though its monopoly over the mala territory around those parts is clear. Our tastebuds may have been burnt from overuse or we might have caught them on an off-day, but the familiar heat that we've come to know and expect seemed much milder, with the xiao la (least spicy option) barely leaving a tingle. For $10 or $15 you get enough for two and service remains quick and efficient as ever though this may be due to the dwindling crowds. We'd still eat it, though we're definitely heading for the spicier options next time.
Ri Ri Hong Ma La Xiang Guo opens from 11am - 9pm.
Like most hawker centres, Tonic House is the resident seller of tonic soups, and their Watercress Pork Rib Soup($4) is pretty standard fare, and comes with a good amount of meat. But they also deal out one of our favourites of the trip - the Ma You Ji ($3 for 4 wings) or sesame oil chicken, comes fully saturated in sauce and pulls apart beautifully. There's no room for paiseh pieces here, so make sure you get enough for everyone.
Tonic House opens from Mondays to Sundays, from 6.30am - 8pm.
Even as the lunch-hour crowds begin to clear out, the queue at Yong Xiang Xing continues to snake through the complex, and it's been this way since the stall first opened in the '70s. Loved by young and old alike, their signature soup continues to deliver on intense flavour (rice is blasphemy here), and countless reviews have raved about the springy fishcakes and tofu, albeit being a little saltier than most. And it's super affordable too - expect to spend about $4 on 10 pieces.
Unlike other yong tau foo stalls you may be accustomed to, ingredients are selected for you — all you need to do it choose a portion size. While the official closing hours are stated as 4pm, you'll have to time your arrival properly, as the stall usually opens for only a few hours before selling out, and the lines form pretty quick.
Yong Xiang Xing Yong Tau Fu opens from Tuesdays to Sundays, from 1pm till sold-out (around 4pm). Closed Mondays.
Next door from Toh Kee, Chop Hean Kuan specialises in traditional cakes and kueh. Whether you're sitting down for a mid-morning coffee or grabbing a tea-time snack at lunch hour, look here for a taste of quintessential Chinese desserts and roast meats at pretty affordable prices with many items running under a dollar. The duck rice and char siew are decent, but are nothing special.
Warm and soft Malay cakes, and mini char siew baos are among popular favourites here. With the promise of steamed buns made fresh daily, rest assured that you won't be paying for run-of-the-mill frozen baos here. Egg tarts, Chive Dumplings and many others go for about 80 cents.
Chop Hean Kuan opens from Mondays to Sundays, 7am - 9pm.
Between two stores selling xiao long bao in the complex, Jin Feng Mei Shi seems to come out on top. With the Shanghai Xiao Long Bao ($4 for 6), value for money is undeniable if you find that you aren't DTF on DTF (read: down to feast on Din Tai Fung). With a steady stream of both local and foreign Chinese patrons, their dumplings, noodles and buns continue to maintain traditional and fusion flavours alike. For something a little out of the norm, try their Seafood Udon Noodle ($5).
Jin Feng Mei Shi opens Mondays to Sundays, from 10am - 10pm.
Another resident that's been around for a long time, Chang Jiang G1 Claypot Frog Porridge & Seafood has been known to serve up a mean Century Egg Porridge ($4) and an assortment of sides, but most famously, their Claypot Fried Chilli Frog ($8). Perfect for a cold rainy day and still worth sweating through a blistering afternoon over, you get more than what you pay for, with many reviews applauding the generous portions.
Chang Jiang G1 Claypot Frog Porridge & Seafood opens Mondays to Sundays, from 10am - 9pm.
It's home to traditional Teochew desserts and snacks, and most famously, their range of kuehs and at 3 for $3, prices are pretty reasonable, too. With 30 years of experience under her belt, Madam Lim's soon kuehs are known for their chewy (albeit a little thick) skin and crunchy, flavourful fillings. The popularity of Fatt Soon Kueh has not only managed to keep the business going, it's also brought about the birth of two more branches around the island (one in Bedok and one in Hougang), so those living in the far reaches of the city can get their fix, too.
Fatt Soon Kueh (Chinatown) opens Tuesdays to Sundays, from 9am - 6.30pm.


text:
package cmput301w16t08.scaling_pancake.activities;

import android.app.Activity;
import android.content.Context;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Bundle;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.util.Base64;
import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.Toast;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.UUID;

import cmput301w16t08.scaling_pancake.R;

/**
 * The RecordAudioActivity allows the currently logged in user to record audio
 * on the phone's microphone, play it back, and save it to the instrument.
 *
 * @author William
 *
 * Taken from the Android Developer Guides at
 * http://developer.android.com/guide/topics/media/audio-capture.html
 */
public class RecordAudioActivity extends AppCompatActivity {

    private static String filePath = null;
    private MediaRecorder recorder = null;
    private MediaPlayer player = null;
    private RecordButton recordButton = null;
    private Button playButton = null;
    private boolean hasRecorded = false;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        filePath = Environment.getExternalStorageDirectory().getAbsolutePath();
        filePath += "/" + UUID.randomUUID().toString() + ".3gp";

        RelativeLayout layout = new RelativeLayout(this);
        RelativeLayout.LayoutParams params1 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
        RelativeLayout.LayoutParams params2 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
        RelativeLayout.LayoutParams params3 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
        RelativeLayout.LayoutParams params4 = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT);

        params1.addRule(RelativeLayout.CENTER_HORIZONTAL);
        params1.setMargins(0, 400, 0, 10);
        recordButton = new RecordButton(this);
        recordButton.setId(View.generateViewId());
        recordButton.setLayoutParams(params1);
        recordButton.setBackgroundResource(R.drawable.btn_selector);
        layout.addView(recordButton);

        params2.addRule(RelativeLayout.CENTER_HORIZONTAL);
        params2.addRule(RelativeLayout.BELOW, recordButton.getId());
        params2.setMargins(0, 10, 0, 10);
        playButton = new Button(this);
        playButton.setId(View.generateViewId());
        playButton.setLayoutParams(params2);
        playButton.setText("Play recording");
        playButton.setBackgroundResource(R.drawable.btn_selector);
        playButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                if (hasRecorded) {
                    player.reset();
                    try {
                        player.setDataSource(filePath);
                        player.prepare();
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                    player.start();
                }
            }
        });
                layout.addView(playButton);

        params3.addRule(RelativeLayout.CENTER_HORIZONTAL);
        params3.addRule(RelativeLayout.BELOW, playButton.getId());
        params3.setMargins(0, 10, 0, 10);
        Button saveButton = new Button(this);
        saveButton.setId(View.generateViewId());
        saveButton.setText("Save Sample");
        saveButton.setBackgroundResource(R.drawable.btn_selector);
        saveButton.setLayoutParams(params3);
        saveButton.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                if (!hasRecorded) {
                    Toast.makeText(getApplicationContext(), "Nothing recorded", Toast.LENGTH_SHORT).show();
                } else {
                    FileInputStream stream = null;
                    File audioFile = new File(filePath);
                    byte[] bytes = new byte[(int) audioFile.length()];
                    try {
                        stream = new FileInputStream(audioFile);
                    } catch (FileNotFoundException e) {
                        e.printStackTrace();
                    }
                    try {
                        stream.read(bytes);
                        stream.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                    getIntent().putExtra("audioUriBase64", Base64.encodeToString(bytes, 0));
                    setResult(Activity.RESULT_OK, getIntent());
                    finish();
                }
            }
        });
        layout.addView(saveButton);

        params4.addRule(RelativeLayout.CENTER_HORIZONTAL);
        params4.addRule(RelativeLayout.BELOW, saveButton.getId());
        params4.setMargins(0, 10, 0, 10);
        Button cancelButton = new Button(this);
        cancelButton.setId(View.generateViewId());
        cancelButton.setText("Cancel");
        cancelButton.setBackgroundResource(R.drawable.btn_selector);
        cancelButton.setLayoutParams(params4);
        cancelButton.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                setResult(Activity.RESULT_CANCELED, getIntent());
                finish();
            }
        });
        layout.addView(cancelButton);

        setContentView(layout);
    }

    @Override
    protected void onResume() {
        super.onResume();
        player = new MediaPlayer();
    }

    /**
     * Called when the recordButton is clicked
     *
     * @param start boolean for whether already recording
     */
    private void onRecord(boolean start) {
        if (start) {
            hasRecorded = true;
            startRecording();
        } else {
            stopRecording();
        }
    }

    /**
     * Used to start recording the audio on the phone's microphone
     */
    private void startRecording() {
        recorder = new MediaRecorder();
        recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
        recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
        recorder.setOutputFile(filePath);
        recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

        try {
            recorder.prepare();
        } catch (IOException e) {
            e.printStackTrace();
        }

        recorder.start();
    }

    /**
     * Used to stop recording the audio on the phone's microphone
     */
    private void stopRecording() {
        recorder.stop();
        recorder.release();
        recorder = null;
    }

    @Override
    public void onPause() {
        super.onPause();
        if (recorder != null) {
            recorder.release();
            recorder = null;
        }

        if (player != null) {
            player.release();
            player = null;
        }
    }

    @Override
    public void onStop() {
        super.onStop();
        if (recorder != null) {
            recorder.release();
            recorder = null;
        }

        if (player != null) {
            player.release();
            player = null;
        }
    }

    /**
     * Custom Button class that allows for different functionality on click
     * depending on whether already recording on not
     */
    class RecordButton extends Button {
        boolean startRecording = true;

        OnClickListener clicker = new OnClickListener() {
            public void onClick(View v) {
                onRecord(startRecording);
                if (startRecording) {
                    setText("Stop recording");
                } else {
                    setText("Start recording");
                }
                startRecording = !startRecording;
            }
        };

        public RecordButton(Context ctx) {
            super(ctx);
            setText("Start recording");
            setOnClickListener(clicker);
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
Q: Error when a trait is used as a type but not when used as a bound in a where clause It seems that the Rust compiler has different behaviour on where clauses.
mod sub {
    use std::mem;

    static mut FF : *const Foo = &NopFoo;

    pub trait Foo: Send + Sync {
        fn foo(&self);
    }

    pub struct NopFoo;

    impl Foo for NopFoo {
        fn foo(&self) { println!("Nop"); }
    }

    pub struct HelloFoo {
        pub num: i64,
    }

    impl Foo for HelloFoo {
        fn foo(&self) { println!("Hello, {}", self.num ); }
    }

    pub fn set_ff<M>(make_foo: M) -> bool
        where M: FnOnce() -> Box<Foo> // <== Here
    {
        unsafe {
            FF = mem::transmute(make_foo());
        }
        false
    }

    pub fn get_ff() -> Option<&'static Foo> {
        Some(unsafe { &*FF })
    }
}

fn main() {
    sub::get_ff().unwrap().foo();

    let f = sub::HelloFoo{num: 42};
    sub::set_ff(|| Box::new(f));

    sub::get_ff().unwrap().foo();
}

(Playground)
With a where clause it works fine, prints:
Nop
Hello, 42

If I remove the where clause from sub::set_ff() the Rust compiler reports errors E0277 and E0308:
mod sub {
    use std::mem;

    static mut FF : *const Foo = &NopFoo;

    pub trait Foo: Send + Sync {
        fn foo(&self);
    }

    pub struct NopFoo;

    impl Foo for NopFoo {
        fn foo(&self) { println!("Nop"); }
    }

    pub struct HelloFoo {
        pub num: i64,
    }

    impl Foo for HelloFoo {
        fn foo(&self) { println!("Hello, {}", self.num ); }
    }

    pub fn set_ff(make_foo: Box<Foo>) -> bool  // <== Here
    {
        unsafe {
            FF = mem::transmute(make_foo());
        }
        false
    }

    pub fn get_ff() -> Option<&'static Foo> {
        Some(unsafe { &*FF })
    }
}

fn main() {
    sub::get_ff().unwrap().foo();

    let f = sub::HelloFoo{num: 42};
    sub::set_ff(|| Box::new(f));

    sub::get_ff().unwrap().foo();
}

(Playground)
I thought it should work fine, but the compiler reports an error instead:
error: the trait bound `std::ops::FnOnce() -> Box<sub::Foo + 'static> + 'static: std::marker::Sized` is not satisfied [--explain E0277]
  --> <anon>:24:19
24 |>     pub fn set_ff(make_foo: FnOnce() -> Box<Foo>) -> bool
   |>                   ^^^^^^^^
note: `std::ops::FnOnce() -> Box<sub::Foo + 'static> + 'static` does not have a constant size known at compile-time
note: all local variables must have a statically known size

error: mismatched types [--explain E0308]
  --> <anon>:41:17
41 |>     sub::set_ff(|| Box::new(f));
   |>                 ^^^^^^^^^^^^^^ expected trait std::ops::FnOnce, found closure
note: expected type `std::ops::FnOnce() -> Box<sub::Foo + 'static> + 'static`
note:    found type `[closure@<anon>:41:17: 41:31 f:_]`

Why does the Rust complier require 'static and Sized in the second one and why does the first one work?
My OS and Rust versions:
➜  ~ uname -a
Linux laptop 4.2.0-35-generic #40~14.04.1-Ubuntu SMP Fri Mar 18 16:37:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
➜  ~ rustc --version
rustc 1.10.0-nightly (9c6904ca1 2016-05-18)

A: Short answer: the two pieces of code are not equivalent, the second one doesn't really even make sense. You probably want the first one.
Let's look at a simpler example:
trait Foo {
    fn foo(&self) {}
}

fn in_where<T>(x: T)
    where T: Foo
{
    x.foo()
}

fn in_declaration<T: Foo>(x: T) {
    x.foo()
}

fn in_type(x: Foo) {
    x.foo()
}

This captures the original case that uses the where, adds an identical case that places the trait bound in the generic declaration, and includes the failing case where the trait is directly used as the argument type.
The key point here is that the first two versions are not the same as the third. The working versions state that any type may be passed to the function by value, so long as it implements the Foo trait. The non-working version states that it accepts exactly one type, the trait's type itself.
As the compiler states:

the trait core::marker::Sized is not implemented for the type Foo + 'static
Foo + 'static does not have a constant size known at compile-time; all local variables must have a statically known size.

When one of the working versions is used, the compiler generates a version of the code for every concrete type used (a process called monomorphization). It knows how much space the type requires and can appropriately allocate space on the stack to accommodate it.
However, a trait creates an unsized type of the same name as the trait. The compiler doesn't know how much space to allocate, so it would be impossible to actually produce machine code for that function.
The trait type can be used, but only through a level of indirection (a trait object). Two common examples would be &Foo and Box<Foo>. Both of these indirectly access the underlying trait through a pointer. Since a pointer has a known size, code can be generated.
fn in_type_ref(x: &Foo) {
    x.foo()
}

fn in_type_box(x: Box<Foo>) {
    x.foo()
}

Further reading:

*

*What makes something a "trait object"?

*Why would I implement methods on a trait instead of as part of the trait?

*How do you actually use dynamically sized types in Rust?

Why does the Rust complier require 'static

It doesn't. There's an implicit 'static bound added to the trait type because you haven't specified a lifetime. The complete type of the argument is Foo + 'static.


Please join fellow Oklahomans outside the Oklahoma Corporation Commission (OCC) on Friday, October 13th at 9 am for a peaceful rally & demonstration to protest Governor Mary Fallin's declaration of Oilfield Prayer Day and to join together to stand for Oklahoma's water, land, air, people & future.
What is Oilfield Prayer Day?
*Last year in 2016, Governor Mary Fallin declared October 13th, "Oilfield Prayer Day," asking the citizens of Oklahoma to "pray for the oil." Meanwhile, 90% of our water sources are contaminated by resource extraction, oil, gas, & other unnatural causes, we are home to "Pipeline Crossroads of the World," we experience more earthquakes than anywhere else in the nation because of fracking & wastewater injection, our legislature passes laws protecting Big Oil and attacking Oklahoman's First Amendment Rights (HB1123 & HB2123) while our teachers are panhandling for school supplies and our bridges are collapsing in major metropolitan areas, projects are not required to complete environmental impact statements (EIS), and our state makes it so oil & gas projects do not have to carry insurance on their projects or even consult with the communities their projects will impact. It is clear that Big Oil reigns supreme in Oklahoma - at the cost of the water, land, air, and people. Enough is enough!
*The OCC is Oklahoma's largest regulatory agency that oversees projects and decisions related to oil and gas, including fracking. With the increasing uptick of man-made earthquakes due to fracking and wastewater injection the time to stand up against corporate overreach, greed, and resource extraction is NOW. Whereas before 2009 earthquakes in Oklahoma were incredibly rare, we now experience an average of one earthquake per day, with the United States Geological Survey (USGS) only predicting MORE earthquakes with HIGHER intensity if fracking does not stop - this is directly correlated to the increase in fracking & wastewater injection. The OCC has the capacity, ability, and the understanding to intervene on behalf of the Oklahomans they are entrusted to serve and protect - their own website serves as a wealth of information regarding the links between fracking & earthquakes. Unfortunately, the large hold Big Oil has over the state of Oklahoma prevents many agencies from effectively and ethically doing their jobs so it is up to us - the PEOPLE of Oklahoma - to stand together and demand long-lasting and real change for the betterment of ALL Oklahomans.
We invite all communities and individuals affected by fracking & frackquakes to join us at the OCC to show the collective power of the people and to demand a new future for Oklahoma - one that involves clean water, clean air, clean land, and a care for the people. We will no longer tolerate being considered throw away people in a flyover state - we will no longer drink water poisoned by fracking and other oil & gas projects - we will no longer allow these companies to destroy our homes and communities - we will no longer allow Big Oil to pump their propaganda through our public school systems - we will no longer allow Big Oil to run rampant throughout our state. Please join us & share widely!
We extend a special invitation to all singers, drummers, and tribal leaders.
Please stay tuned for an updated list of speakers and a program for the day's events. We look forward to seeing you there as we work TOGETHER for an Oklahoma WE the PEOPLE can be proud of!


Give To Colombia strongly belives that quality education drives sustainable development and inequality reduction. We are committed to improving education in Colombia and providing children with equal opportunities to learn and acquire skills, disregarding their background, socio economic status, gender or race. Our projects place a special emphasis on math and science programs, as we believe that these skills drive the economy and equip young people with greater opportunities for employment.


text:
India-China Rivalry Inevitable, Will Play Out in Nepal, Bhutan: Indian Retired General
Retired Lt. General of Indian Army DS Hooda writes if India backs down in its support to Bhutan, its influence and standing in the region will be seriously weakened.
In his article published in News 18 online, Lt General Hooda said as the India-China standoff in Dokalam Plateau nears three weeks, there does not appear to be an immediate solution in sight. No doubt, diplomats in South Block, and their counterparts in Beijing, would be working overtime, but the shrill rhetoric from the official Chinese media will only make their job much more difficult.
He argued that the current Chinese approach is in sharp contrast to how it has handled similar occurrences in the past. "The Demchok incident of April 2013 was extensively covered in India but there was no mention at all of the face off in the Chinese media. In fact the first official reaction appeared only a year later in July 2014 when the Chinese military spokesperson acknowledged that "last year there was some incident in the border region. All these issues have been properly resolved through negotiations," Genral Hood writes.
General Hooda said that the September 2014 intrusion in Chumar was clearly a deliberate and planned action as hundreds of Peoples Liberation Army (PLA) soldiers crossed the Line of Actual Control (LAC).
"It was an attempt to construct a road and pressurise India in an area where both sides had differing perceptions of the border. The timing coincided with the Chinese President Xi Jinping's visit to India and, equally pertinent, the Kashmir floods of 2014 which had cut off the main Srinagar-Leh highway into Ladakh," writes General.
"Even as hundreds of troops faced each other, there was no coverage in Chinese media. The first official statement came after one week when the Chinese spokesperson said, "China and India attach great importance to the incident...With immediate and effective communication, this has been effectively controlled and managed." He went on to say, "China hopes to continue to work with the Indian side to safeguard peace and tranquility in the border areas and solve the border issue through consultation and dialogue."
"The Chinese tone and tenor is markedly different this time. The government controlled media is replete with talk about war, betrayal and teaching bitter lessons. An editorial in the Global Times warned that India can choose to return to its territory with dignity, or be kicked out of the area by PLA. Conditions and preconditions that are normally discussed behind closed doors are being conveyed through press conferences and YouTube videos," said General.
"In my view, the current standoff is more than just the tri-junction issue and is a manifestation of the state of India-China relations which, in recent times, have seen more divergence than convergence. Differences have emerged over support to Pakistan, membership of Nuclear Suppliers Group, China-Pakistan Economic Corridor, Masood Azhar, One Belt One Road and Afghanistan. Both countries are seemingly getting drawn into rival international groupings."
With two rising powers in Asia, it is perhaps inevitable that some rivalry will take place, particularly as the border remains unsettled. It is also not surprising that this rivalry will play out in neighbouring countries.
"If Nepal is to be wooed with Chinese money, Bhutan is sought to be coerced by military power. If India backs down in its support to Bhutan, its influence and standing in the region will be seriously weakened. This is what gives the current face off a dimension which is larger than a routine border incident," said General Hooda.
He said that enough has been written about the respective positions of the three countries on the location of the tri-junction. Notwithstanding cartographic justifications, nations must carefully weigh the outcome of their actions in a realistic geopolitical framework.
In an environment where there is extreme sensitivity to the boundary issue and disputes are measured in yards, Chinese attempts to construct a new road in a disputed area were an unnecessary provocation. Maintaining the status quo in such areas has been one of the major reasons for peace along the border. Since the Chinese have violated the status quo, they must take steps to restore it.
"I am sure that quiet diplomacy is at work to resolve the crisis, but loud elements in the media also need to be restrained. Sometimes words uttered to meet populist sentiment can limit the options available to policy makers. Verbal pistols need to be holstered so that a peaceful resolution can be found, one in which both sides can claim some kind of victory," writes General.
"It is hoped that the crisis can be diffused quietly, but the larger question will remain. There is a serious need in both countries to review the future of India-China ties which are today clouded with suspicion and mistrust."
More on International
Dalai Lama Apologizes For His Remarks On Female Successor By NEW SPOTLIGHT ONLINE 1 week, 5 days ago
Donald Trump Shares Handshake With Kim Jong-un At DMZ By NEW SPOTLIGHT ONLINE 2 weeks, 1 day ago
China And U.S. Agree To Restart Trade Talks By Reuters 2 weeks, 2 days ago
A Photo From The Rio Grande Captures The Tragic End For Father And Daughter By NEW SPOTLIGHT ONLINE 2 weeks, 4 days ago
Powerful Quake In Indonesia Sparks Evacuations In Australia By NEW SPOTLIGHT ONLINE 3 weeks ago
North Korea's Kim Jong-un Receives 'Excellent' Letter From Trump By NEW SPOTLIGHT ONLINE 3 weeks, 1 day ago


text:
Q: DLL and TTimer not working I'm doing a project using DLL Injection just for testing purposes. If everything works well maybe I'll use this technique. But so far, I got only problems, maybe because is the first time I'm coding a DLL project. For a quick understand, I'm creating a suspended explorer.exe process and injecting this DLL inside the suspended explorer. Everything was working, but when I tried to put a timer inside the DLL appeared a problem. Look the DLL code:
uses
  SysUtils,
  Classes,
  Windows,
  ExtCtrls,
  Dialogs;

{$R *.res}
type
  TMyTimer = Class(TTimer)
  public
    procedure OnMyTimer(Sender: TObject);
  end;

var
  MyTimer: TMyTimer;

procedure EntryPoint(Reason: integer);
begin
  if Reason = DLL_PROCESS_ATTACH then
    begin
      MessageBox(0, 'DLL Injected', 'DLL Injected', 0);
      MyTimer := TMyTimer.Create(nil);
      MyTimer.Interval := 5000;
      MyTimer.OnTimer := MyTimer.OnMyTimer;
      MyTimer.Enabled:= true;
    end
  else
  if Reason = DLL_PROCESS_DETACH then
    begin
      MessageBox(0, 'DLL De-Injected', 'DLL De-Injected', 0);
    end;
end;

procedure TMyTimer.OnMyTimer(Sender: TObject);
begin
  MessageBox(0, 'Timer Running', 'Timer Running', 0);
end;

begin
  DLLProc:= @EntryPoint;
  EntryPoint(DLL_PROCESS_ATTACH);
end.

Okay, so when I inject the DLL in the suspended explorer.exe process, I receive the message 'DLL Injected'... After this, it should create the timer and every 5 seconds give-me a message of 'Timer Running'... But I don't receive this message, tried everything and nothing works... Any help? Is that a totally mess or what?

A: TTimer depends on Window Messages, therefore you need a message loop for it to function.

A: A Delphi TTimer object is a loose wrapper around the Win32 SetTimer API function. The VCL wrapper creates a hidden window and then calls SetTimer passing that window. The timer then fires by Windows synthesising WM_TIMER messages in the message queue of the thread that called SetTimer. For your scenario, that thread is the remote thread that you created. It therefore follows that you need to dispatch messages in that thread in order for your timer event to fire.
In general I'd question the wisdom of putting the VCL inside an injected DLL. That's surely going to lead to some pain. If all you need the VCL for is for a timer, then it's just simpler to call SetTimer directly.
I also advise you that you will need to create another thread if you want to get much further. At the moment all your injected code is running inside DllMain. Read the documentation for DllMain, and Raymond Chen's articles on the subject. Especially the parts that explain that DllMain executes when the DLL loader lock is held. You are supposed to do nothing of note in DllMain. You are allowed to call CreateThread. Do so and nothing more.


text:
How Get Back: Made Paul McCartney Look Like The Best Beatle
By demonstrating his will to keep the band together, Sir Paul McCartney subsequently comes off best in the Disney+ series, The Beatles: Get Back.
Peter Jackson's The Beatles: Get Back gave audiences a rare and enticing glimpse of the Beatles in their natural environment, but it was Sir Paul McCartney who ended up seeming the most competent, interested, and engaging member of the iconic band. Jackson's Disney+ documentary series was hailed as a beautifully personal and intimate look at the fab four as they recorded their final album, Let it Be. The series was praised for giving viewers a more amicable vision of the Beatles, as stories had historically suggested that the recording of Let it Be was stifled by constant in-fighting and major disagreements between the four bandmates.
Source: Nathanial Eker-Male/screenrant.com
Read More<<<


text:
The Wild Irish Girl: A National Tale. By Miss Owenson, Author of St. Clair, The Novice of St. Dominick, &c. &c. &c. In Three Volumes. The Third Edition.
By Miss Owenson
Lewis and Hamblin, Printer, Paternoster-Row.
Google Books: https://books.google.ca/books?id=IPj5BgdS_UoC&printsec=frontcover&dq
NSTC
Owenson, Sydney. The Wild Irish Girl: A National Tale. By Miss Owenson, Author of St. Clair, The Novice of St. Dominick, &c. &c. &c. In Three Volumes. The Third Edition.The Women's Print History Project, 2019, title ID 8706, https://womensprinthistoryproject.com/title/8706. Accessed 2023-02-02.
Owenson, Sydney. The Wild Irish Girl: A National Tale. By Miss Owenson, Author of St. Clair, The Novice of St. Dominick, &c. &c. &c. In Three Volumes. The Third Edition. London: Richard Phillips [6 Bridge Street], 1807.
Owenson , S. (1807). The wild irish girl: a national tale. by miss owenson, author of st. clair, the novice of st. dominick, &c. &c. &c. in three volumes. the third edition. London: Richard Phillips [6 Bridge Street]
title={The Wild Irish Girl: A National Tale. By Miss Owenson, Author of St. Clair, The Novice of St. Dominick, &c. &c. &c. In Three Volumes. The Third Edition.},
Suggestions and Comments for The Wild Irish Girl: A National Tale. By Miss Owenson, Author of St. Clair, The Novice of St. Dominick, &c. &c. &c. In Three Volumes. The Third Edition.


text:
Q: Pgf error when loading pdf from latex Hi All if any one can help me. I am writing my research article in latex when I compile my pdf in latex it works fine but when i compiled it in thesis format by converting each section in chapters I am getting this error Package pgfkeys Error: I do not know the key '/tikz/drop shadow' and I am going to ignore it. Perhaps you misspelled it.. If any one can help. Below are the packages that I am using I don't know what package is for what but I am using it.
\input preambles.tex
\usepackage{caption}
%\usepackage{amsmath}% for \new@ifnextchar
\usepackage{calc}
\usepackage{caption}
\captionsetup[table]{position=bottom}
%\usepackage{amsmath,amsfonts}
%\usepackage{latexsym}
\usepackage{float}
\restylefloat{table}

%\newtheorem{thm}{Theorem}
\usepackage{multirow}
\usepackage{pgf}

\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
%\usepackage[hidelinks]{hyperref}
\usepackage{epsfig}
\usepackage{amssymb}
%\usepackage{graphicx}
\usepackage{adjustbox}

%\newtheorem{lm}[thm]{Lemma}
%\newtheorem{cor}[thm]{Corollary}
\usepackage{amsmath,amsfonts}
\usepackage{latexsym}
\usepackage{epic,eepic}
\usepackage{multicol}
\usepackage{lipsum}% for dummy text
\usepackage{graphicx}
\usepackage{epic,eepic}
\usepackage{lipsum}% for dummy text
\usepackage{graphicx}
%\usepackage{setspace}
\usepackage[hidelinks]{hyperref}
\usepackage{hyperref}
\usepackage{indentfirst}
\usepackage{xcolor}
\usepackage[utf8]{inputenc} % Required for inputting international characters
\usepackage[T1]{fontenc} % Output font encoding for international characters

\usepackage{mathpazo} % Palatino font

\newcommand*{\blanks}[1][4em]{\rule{#1}{.4pt}}
\newcommand*{\blank}[1]{\blanks[\widthof{#1}]}
\usepackage{listings}
\usepackage{color}
%\newcommand{\hiddensection}[1]{\stepcounter{section}}
%\usepackage{amsthm}

\begin{document}
\def\aky{empty}
\pagestyle{empty}
%\pagenumbering{roman}
%\include{Titlepage1}
%\include{Page}
\include{Titlepage}
%\include{dedication}
\include{abstract}
\include{ACK}
%\include{ABS}

And this is my code
\begin{figure}[h!]\label{flow}
\centering
\tikzstyle{startstop} = [trapezium, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30, drop shadow, trapezium stretches=true]
\tikzstyle{startstop} = [trapezium, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30, drop shadow, trapezium stretches=true]

\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=blue!30,trapezium stretches=true]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=orange!30]
\tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
\tikzstyle{arrow} = [thick,->,>=stealth]
\tikzstyle{line} = [draw, -latex']

\begin{tikzpicture}[node distance=2cm, auto]
\begin{scope}[local bounding box=left]

\node (start) [startstop] {COVID\textbackslash Non-COVID data};
\node (in1) [io, below of=start] {Image preprocessing};
\node (pro1) [process, below of=in1] {Feature Extraction};
\node (in3) [process, below of=pro1] {Feature Selection};

%\node (pro2b) [process, right of=dec1, xshift=2cm] {};
\node (out1) [io, below of=in3] {Classifier};
\node (stop) [startstop, below of=out1] {Results};

\draw [arrow] (start) -- (in1);
\draw [arrow] (in1) -- (pro1);
\draw [arrow] (pro1) -- (in3);

\draw [arrow] (in3) -- (out1);
\draw [arrow] (out1) -- (stop);

\end{scope}
\draw[color=gray,thick](left.south west) rectangle (left.north east);
\node[anchor=north,font=\bfseries] at ([yshift=-2em]left.south) {Stage 1};
\begin{scope}[local bounding box=right,xshift=6cm]

\node (start) [startstop] {COVID\textbackslash Non-COVID data};
\node (in1) [io, below of=start] {Image preprocessing};
\node (pro1) [process, below of=in1] {Convert Images pixel values into CSV};
\node (in3) [process, below of=pro1] {Feature Selection};

%\node (pro2b) [process, right of=dec1, xshift=2cm] {};
\node (out1) [io, below of=in3] {Classifier};
\node (stop) [startstop, below of=out1] {Results};

\draw [arrow] (start) -- (in1);
\draw [arrow] (in1) -- (pro1);
\draw [arrow] (pro1) -- (in3);

\draw [arrow] (in3) -- (out1);
\draw [arrow] (out1) -- (stop);
 % % % % % % % % % % % % % % % %
\end{scope}
\draw[color=gray,thick](right.south west) rectangle (right.north east);
\node[anchor=north,font=\bfseries] at ([yshift=-2em]right.south) {Stage 2 };

\end{tikzpicture}
        %\caption{Flowchart of proposed pipeline}

\end{figure}

A: You only need to call the shadows library.
I made your example (almost) minimal: you should clean all these packages (some being called twice) and working: remove the \input, add \documentclass and \begin{document}
\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{
    arrows,
    shadows,
    shapes.geometric,}

\begin{document}
    And this is my code

    \begin{figure}[h!]\label{flow}
        \centering
        \tikzstyle{startstop} = [trapezium, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30, drop shadow, trapezium stretches=true]
        \tikzstyle{startstop} = [trapezium, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30, drop shadow, trapezium stretches=true]

        \tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=blue!30,trapezium stretches=true]
        \tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=orange!30]
        \tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
        \tikzstyle{arrow} = [thick,->,>=stealth]
        \tikzstyle{line} = [draw, -latex']

        \begin{tikzpicture}[node distance=2cm, auto]
        \begin{scope}[local bounding box=left]

        \node (start) [startstop] {COVID\textbackslash Non-COVID data};
        \node (in1) [io, below of=start] {Image preprocessing};
        \node (pro1) [process, below of=in1] {Feature Extraction};
        \node (in3) [process, below of=pro1] {Feature Selection};

        %\node (pro2b) [process, right of=dec1, xshift=2cm] {};
        \node (out1) [io, below of=in3] {Classifier};
        \node (stop) [startstop, below of=out1] {Results};

        \draw [arrow] (start) -- (in1);
        \draw [arrow] (in1) -- (pro1);
        \draw [arrow] (pro1) -- (in3);

        \draw [arrow] (in3) -- (out1);
        \draw [arrow] (out1) -- (stop);

        \end{scope}
        \draw[color=gray,thick](left.south west) rectangle (left.north east);
        \node[anchor=north,font=\bfseries] at ([yshift=-2em]left.south) {Stage 1};
        \begin{scope}[local bounding box=right,xshift=6cm]

        \node (start) [startstop] {COVID\textbackslash Non-COVID data};
        \node (in1) [io, below of=start] {Image preprocessing};
        \node (pro1) [process, below of=in1] {Convert Images pixel values into CSV};
        \node (in3) [process, below of=pro1] {Feature Selection};

        %\node (pro2b) [process, right of=dec1, xshift=2cm] {};
        \node (out1) [io, below of=in3] {Classifier};
        \node (stop) [startstop, below of=out1] {Results};

        \draw [arrow] (start) -- (in1);
        \draw [arrow] (in1) -- (pro1);
        \draw [arrow] (pro1) -- (in3);

        \draw [arrow] (in3) -- (out1);
        \draw [arrow] (out1) -- (stop);
        % % % % % % % % % % % % % % % %
        \end{scope}
        \draw[color=gray,thick](right.south west) rectangle (right.north east);
        \node[anchor=north,font=\bfseries] at ([yshift=-2em]right.south) {Stage 2 };

        \end{tikzpicture}
        %\caption{Flowchart of proposed pipeline}

    \end{figure}

\end{document}