text:
Q: Javascript recursive Countdown 10s to 0 I'm currently using flipclock.
I'm having no problems with the clock itself. The clock is working fine on my side. What have been bugging me is after the clock finishes, I'd like to carry on an additional countdown of 10 seconds for people people on my page to make sure they do not want to continue voting.
Yes. I'm doing this in real time(Everybody on the same page will see the same countdown) so i'm using long polling to help me on this. For long polling i'm using https://github.com/panique/php-long-polling from Github.
To make things worse, anyone who clicks on the vote button during the final 10 seconds countdown will reset the countdown to 10 again and recursively do it till nobody else does it.
I'm thinking of running a recursive javascript function everytime someone's clock reaches zero. This will ensure everyone that enters the final countdown timeframe regardless of any slight time delay will start equally on the same timing.
Because i'm running this in real time, the trouble is really to get the timing on every every other computers connected to my page have the same countdown.
What I've tried is as follows:
function resetTime(){
  $.post('<?php echo $path ?>/ajax_bid_room_files/last_seconds.php',function(data){   //this script will attempt to create new text file to keep track of time
    setInterval(function(){
      $.post('<?php echo $path ?>/ajax_bid_room_files/updatetiming.php',function(data){//this script will update text file to keep track of current countdown
        $("#remaining_timeleft").html(data); //where data is the current countdown
      });
    },1000);
  });
}

var clock2 = $('.bid_duration2').FlipClock({
  countdown:true,
  callbacks:{
    stop: function() {
      resetTime();
      if($("#remaining_timeleft").html()>0){
        $("#vote").click(function()){
          resetTime();
        }
      }
    }
  }
});

What I'm actually trying to attempt here is once the countdown of the flipclock stops, a callback is called and resetTime() is loaded. If during this time of the countdown anyone presses #vote, resetTime is launched again and time is resetted.
I'm not entirely convinced this will work because I'm actually running a .post every 1 second interval that will call upon a php script to do a fwrite to a text file(even though its not to a database) but I doubt the request will be done in a second.
However, should anyone could provide some guidance here, I'll gladly appreciate it.
Or if there are any other better solutions, I'll be happy to hear them out as well.
Do clarify with me for any doubts. I'll be glad to clarify my questions to obtain clearer solutions.

A: Just do it without the callbacks and ajax parts, keep it simple like this:
var ctime = 10,
count = setInterval(showVote,1000);
$('.vote button').click(function() {
    clearVote();
});
function showVote() {
    --ctime;
    $('.time').html(ctime);
    if (ctime==0) {
        clearVote();
    }
}
function clearVote() {
    clearInterval(count);
    $('.vote').hide();
    $('.page').show();
}

Here a jsfiddle

redpajama_set_name: RedPajamaStackExchange


text:
George Brayton
For the New York politician, see George Brayton (New York politician). For the Rhode Island Supreme Court Justice, see George A. Brayton.
George Bailey Brayton
Rhode Island, United States
17 December 1892(1892-12-17) (aged 62)
George Bailey Brayton was an American mechanical engineer and inventor. He was noted for introducing the constant pressure engine that is the basis for the gas turbine, and which is now referred to as the Brayton cycle.
1 Brayton's Ready Motor
2 Brayton's contributions to the Diesel engine
Brayton's Ready Motor[edit]
Brayton Gas engine 1872
The early Brayton engine (image taken from Gas and Oil Engines by Dugald Clerk in 1886, and used on the cover of some later editions)
Brayton double acting constant pressure engine cut away 1877
In 1872 George Brayton patented a constant pressure internal combustion engine, initially using vaporized gas but later using liquid fuels such as kerosene and oil, known as Brayton's Ready Motor,[1][2] The engine used one cylinder for compression, a receiver reservoir, and a separate power/expander cylinder in which the products of combustion expanded for the power stroke. The significant difference from other piston driven internal combustion engines is that the two cylinders are arranged so that the fuel/air mixture burns progressively at constant pressure as it is transferred from the compressor cylinder and reservoir to the working/expansion cylinder. In the original version a gas/air mixture was created by a vapor carburetor,[3] then compressed and stored in a reservoir where it was ignited and then introduced into an expansion cylinder. A metal gauze/mesh was used to prevent the combustion running back to the reservoir. However at times the mesh failed, leading to flash-back or explosion. In 1874 Brayton filed a patent for a liquid fuel injection system. In this version, fuel was introduced as the air passed into the expansion cylinder, thus eliminating the explosion problem.[2] Ignition remained a pilot flame. The principle was referred to as constant pressure combustion, and had been attempted without success by Sir William Siemens c1861 using a 4-cylinder engine with a separate combustion chamber. Brayton not only achieved success in making the constant pressure cycle work, but he also made and marketed a commercial product.
Brayton cycle engines were some of the first engines to be used for motive power. In 1881 John Philip Holland used a Brayton engine to power the world's first successful self-propelled submarine, the Fienian Ram.[4]
Also the Selden auto of 1878 used a Brayton cycle engine. This design never actually ran. When the Brayton engine was applied to an omnibus in 1878 as part of a project between Brayton and the engineers George and James Fawcett the latter described the attempt as a 'complete failure'.[5]
Selden Auto showing Brayton cycle engine
The engine's cycle of operations including sectional drawings and indicator diagrams for both gas and petroleum fueled versions. Details of the way the liquid fuel was introduced are described over 11 pages of Dugald Clerk's book Gas and Oil Engines.[6] The petroleum engine in these tests was made by the "New York and New Jersey Ready Motor Company". This is followed by a similar analysis of Simon's engine which was an adaptation of the Brayton engine made by Louis Simon & Sons, in Nottingham, UK and marketed as The Eclipse Silent Gas Engine. The Simon engine had an added complexity in that it injected some of the water/steam heated by the engine/exhaust into the engine. The indicator diagrams for this engine are also reported by Dugald Clerk and show that the addition of the water has little merit in terms of power production, the cooling of the gases and expansion of the steam compensating for each other.
Because the Brayton engine had a slow progressive burn of the fuel/air mixture it was possible to maintain a pilot flame, and so the engine, once lit, needed no form of ignition system.[7] The measured efficiency of the gas engine was intermediate between that of the Lenoir/Hugon engines, and the Otto & Langen atmospheric engine, but the liquid fueled Brayton engine had an advantage in not requiring a gas supply.
The early Brayton gas engine had the engine speed governed by varying the point of cut-off for the admission of the combusted gases into the power cylinder, and the admissions of gas and air to the pump was similarly regulated to maintain the reservoir pressure. The liquid fueled engine reported by Clerk only regulated the cut-off to the power cylinder, and used a pressure relief valve to limit the reservoir air pressure. The reservoir on the Brayton engine allowed it to be readily started if it remained pressurized, though Clerk states that "leakage and loss were so frequent that the apparatus was of little use."[6]
Brayton's engine was displayed at the Centennial Exposition in Philadelphia in 1876, and the Simon variant was displayed at the 1878 Paris Exhibition, and for a few years was well regarded, but within a short time the Otto engine became more popular. However, it was considered the first safe and practical oil engine and also served as inspiration to George B. Selden. As a production engine the design evolved over time, and according to Henry de Graffigny in Gas and Petroleum Engines, it was available in both vertical and horizontal forms.[8]
A Brayton Engine is preserved in the Smithsonian Institution in the American History museum, and a later Brayton engine which powered one of John Philip Holland's early submarines is preserved in the Paterson Museum in the Old Great Falls Historic District of Paterson, New Jersey.[9]
Brayton's contributions to the Diesel engine[edit]
Brayton air blast injection system 1890
Brayton direct injecton 1887
In 1890 Brayton patented a 4 stroke engine with an air blast fuel injection system. Diesel's first engines used an air blast atomization system that was very similar to Brayton's . Unlike Diesel's engine Brayton's engine was fairly low compression. The ignition source was a constantly glowing mesh of platinum.[10] [11]
Later Diesel engines used a system of high pressure fuel injection nearly identical to Brayton's 1887 engine where the fuel was admitted into the combustion area as it passed through a spring loaded relief nozzle, This caused the fuel to become much more combustable. Here is the discovery in Brayton's own words " "I have discovered that heavy oils can be mechanically converted into a finely-divided condition within a firing portion of the cylinder, or in a communicating firing chamber." Another part reads "I have for the first time, so far as my knowledge extends, regulated speed by variably controlling the direct discharge of liquid fuel into the combustion chamber or cylinder into a finely-divided condition highly favorable to immediate combustion." US Patent #432114
History of the internal combustion engine
Brayton cycle history
Selden Auto
^ Borth, Christy. Masters of Mass Production, p. 152, Bobbs-Merrill Company, Indianapolis, IN, 1945.
^ a b "IMPROVEMENT IN GAS-ENGINES (Patent no. 125166)". Google Patent Search. Retrieved 2007-07-29.
^ Frank A. Taylor (1939), "Catalog of the Mechanical Collections Of The Division Of Engineering", United States National Museum Bulletin 173, United States Government Printing Office, p. 147
^ Fienian Ram
^ From a letter to George Fritz: I am very sorry to say that the car did not run, the engine not being able to move it. You ask me to explain what I mean by failure. I mean that Mr. B's plan to run the car with that 'hobby' of his, 'fluid circulation,' was a total failure, notwithstanding his contradiction; we, at his advice abandoned it and applied chains, but the engine would not move the car with them, would not even slip the wheels on wet ground, but would come to a standstill, so we concluded to give it up. I would like you to get me some information in regard to the experiment he made in Prov. some years ago, how much the engine did, how he succeeded in keeping it cool, and what grade he went up, and, in fact, everything connected with it, if it would not be too much trouble for you. I, goose that I was, put every faith in what the B's and their friends said and did not even enquire from outside parties. I remain, Your friend Jim.
J. Harold Byers: The Selden Case.
^ a b Dugald Clerk, Gas and Oil Engines, Longman Green & Co, 1897.
^ "George Brayton's Engine". Today In Science History. Retrieved 2007-07-29.
^ Henry de Graffigny (translated from the French), Gas and Petroleum Engines, Whittaker, London, 1898
^ "Holland Submarines". Paterson Friends of the Great Falls. Archived from the original on 2007-08-12. Retrieved 2007-07-29.
^ Source: Cassier's Magazine Jun 1893, pgs. 155-157[1]
^ "Engineering" July 15 1892 [2]
Short biography on the ASME website
SNAC: w6w671bh
Retrieved from "https://en.wikipedia.org/w/index.php?title=George_Brayton&oldid=860025608"
People associated with the internal combustion engine
American mechanical engineers

redpajama_set_name: RedPajamaCommonCrawl


Published 04/18/2019 06:52:09 am at 04/18/2019 06:52:09 am in Thru Wall Ac Heat.
thru wall ac heat wall ac with heat wall ac ac wall mount wall ac units ac wall unit air wall ac with heat thru the wall heater air conditioner wall mounted air conditioner thru the wall heater air conditioner wall mounted air conditioner heater combo inspirational through the wall.
thru wall air conditioners volt through the wall air conditioner thru wall air conditioners thru the wall air conditioners through the wall air conditioners thru wall thru wall air conditioners , lg lthnr btu thruthewall air conditioner lg usa lg air conditioners lthnr , wall air conditioners air conditioners the home depot btu volt throughthewall air conditioner with heat and remote, throughthewall air conditioner buying guide free shipping sylvane through the wall ac buying guide, through the wall ac heater units in wall ac units wall mounted air through the wall ac heater units through the wall ac through the wall ac covers indoor through the wall ac heater , wall mounted air conditioner heater combo wall unit air conditioners wall mounted air conditioner heater combo thru wall air conditioner units superb wall ac unit home wall mounted air conditioner heater , tips ideas to make fixing things easy diy with repaircliniccom heating and cooling six simple ways to get your window or throughthewall air conditioner ready, wall heater and ac unit wall mounted air conditioner heater combo wall heater and ac unit wall mounted air conditioner heater combo wall mount package ac units, thru wall air conditioner heater wall units wall air conditioner thru wall air conditioner heater wall mounted ac heater wall mounted air conditioner heater combo wall thru wall air conditioner , wall air conditioner and heater air conditioner heater wall unit wall air conditioner and heater wall air conditioner and heater thru the wall air conditioners window wall air conditioner and heater , koldfront btu through the wall heatcool air conditioner koldfront btu through the wall heatcool air conditioner wtcw.


text:
as "an unapologetic, cavalier playboy, someone who used a combination of fame, apparent concern and powerful sedatives in a calculated pursuit of young women."
The 20-year-old rapper went on Twitter to defend Cosby, blaming the media for slandering public figures and brainwashing readers in the process. His full rant can be read below:
"I don't f**k with the Bill Cosby slander. Ofcourse I'm always against a rapist but it's just like yall EAT UP anything the media feeds yall.... You internet kids know NOTHING except what they put in front of you on these devices. Every media site can start slandering anyone at any moment with some half a** story and you guys will f**king believe it. At the end of the day... Yall know the media is all propaganda and distractions anyway. The media rapes, brainwash, kill and humiliate more people than anyone on this planet bruh. F**k you mean. You always gotta know there is a REAL story underneath the COVER story."
| SUSAN SARANDON GIVES TWITTER SHOUT OUT TO A$AP ROCKY, ACTION BRONSON |
When Bada$$ saw that he was receiving some backlash about his comments, he continued to blame the media, comparing the fact that there are "people out here killing black children, abusing women and walking free of prison bars and media slander."
He continued, saying, "The MEDIA knows what to tell you. They know what you know and they know what they want you to believe. On that note twitter have a nice day. You all have me misunderstood.
But just answer this question.... If rape is such a bad thing to yall then why r yall helping the media make jokes about it?? Thats why I don't think the slander is funny... he raped multiple women? Ok. Do you think these women feel pleased when they see a meme on the internet bout what was really done to em? That's the part that's not funny to me.... The funny part is how gullible you people are! I don't want to believe that the media isn't brainwashing us the same way America doesn't want to believe it killed and enslaved black ppl."
The Brooklyn native tells his fans to head to his Snapchat to hear the full side of his argument. Do you agree or disagree with it?
(Photo: Brendan Smialowski/Getty Images, Daniel Boczarski/Getty Images for BET)
Written by Eric Diep


text:
Texas A&M Corps of Cadets
2020-04-18T11:15:43-04:00https://images.c-span.org/Files/6b2/20200418111649003_hd.jpgTexas A&M University Corp of Cadets is a student military organization established in 1876. Colonel Byron Stebbins, chief of staff and deputy commandant, and Cadet Colonel Daniel Strong, deputy Corps commander, shared the history of one of the university's oldest traditions, the Corp of Cadets.
Texas A&M University Corp of Cadets is a student military organization established in 1876. Colonel Byron Stebbins, chief of staff and deputy… read more
Texas A&M University Corp of Cadets is a student military organization established in 1876. Colonel Byron Stebbins, chief of staff and deputy commandant, and Cadet Colonel Daniel Strong, deputy Corps commander, shared the history of one of the university's oldest traditions, the Corp of Cadets. close
Filter by Speaker All Speakers Byron Stebbins Daniel Strong
Byron Stebbins Deputy Commandant Texas A&M University (College Station, TX)->Corps of Cadets
Daniel Strong Deputy Corps Commander Texas A&M University (College Station, TX)->Corps of Cadets
C-SPAN | Local Content VehicleC-SPAN | Local Content Vehicle
College Station, Texas, United States
Jul 27, 2020 | 12:54am EDT | C-SPAN 3
Sep 27, 2020 | 1:49pm EDT | C-SPAN 3
See all on Texas American History TV
Tournament of Roses Parade
The Tournament of Roses Parade is one of Pasadena, California's oldest and most celebrated traditions. What began as way to promote the new…
U.S. Marine Corps and Congress
Marine Corp University professor Nathan Packard talked about the relationship between the U.S. Marine Corps and Congress.…
White House Christmas Traditions
Author Jennifer Pickens talked about the role first ladies have played in creating White House Christmas traditions. Ms.…
Thomas Holcomb and the Marine Corps
Author David Ulbrich talked about the career of Thomas Holcomb, Marine Corps commandant from 1936 to 1943, and his…


text:
Serena Williams Has A Message For Everyone Who Wants Her To Shut Up And Play
The tennis great says she won't be silenced.
By Ed Mazza
Serena Williams has a message for critics who want her to keep quiet about social issues and just play tennis.
"The day I stop fighting for equality and for people that look like you and me will be the day I'm in my grave," Williams vowed at a press conference on Saturday.
Serena isn't taking a break 🐐😤 pic.twitter.com/Mj1G8KbKhb
— Yahoo Sports (@YahooSports) July 13, 2019
The comments were quickly echoed by soccer sensation Megan Rapinoe.
"You know what? I'm gonna fight for equal pay every day, for myself, for my team, and for every single person out there," Rapinoe said on NBC, adding:
"Man, woman, immigrant, U.S. citizen, person of color, whatever it may be. 'Equal pay,' as the great Serena Williams said, 'til I'm in my grave.'"
Williams, who has won 23 Grand Slam titles, fell just short on Saturday in her quest to tie Margaret Court's record of 24, losing in the Wimbledon finals to Simona Halep.
Throughout her career, Williams has had to deal with plenty of criticism for being outspoken on issues such as sexism, racism and the gender pay gap, especially as it related to women of color. But more recently that criticism came from a surprising source: tennis legend and activist Billie Jean King.
King suggested earlier in the tournament that if Williams wanted a crack at the record, she should give up being a celebrity for a year and a half.
"No more Met Galas," King told the BBC. "Just stop all this insanity because she is trying to be everything."
King was quick to add that this advice was for Williams if her main goal was to continue to break tennis records.
"If she is quite happy the way she is, then fine," King said.
Serena Williams' Tips & Tricks
Overnight Editor, HuffPost
Pop of Culture Sports Serena Williams Tennis Equality
On Dressing Her Body Type...
I look for things that are really great for curves. I have a really small waist, so I like high-waisted pieces. And I love tank tops. Photo: Getty Images


text:
Q: Why should I use Angular's Dependency Injection on a simple object configuration? The Angular docs show an example of injecting a value (configuration object) using @inject in the constructor for the times when you aren't injecting a class.
https://angular.io/guide/dependency-injection#non-class-dependencies
I was able to get this to work, but I'm not sure I understand the point of this use-case. Because it's not a class creating instances--it's just a configuration object that's being read from, why wouldn't I just import it and read from it where I need to. I have to make an import to the class anyway even if I want to inject the value into the constructor.
Is this simply to make sure that the value is available at the time the class starts building since it's in the constructor?
I'm just not sure I'm seeing the value of the DI and feel I'm probably missing something.

A: DI is mostly about testability. You can override providers in tests easily.
If you access values directly you would need to modify the code of the class or component you are testing in order to customize the behavior for tests.
There are other advantages like the ability to configure your application at a central place (where you specify the providers) to customize it for different use cases.

A: If it's first-party code, the primary concern is testability. If code belongs to public package or the units are being decoupled and moved to separate
packages, it's extensibility as well. If config object is used in provider class:
import config from '...';

class SomeProvider {
    constructor() {
        this.config = config;
    }
}

it requires to subclass the provider to use another config object. If config is used directly instead of this.config in provider methods, the methods should be overridden. This can be avoided if config is a provider, too.
This is a big concern in public packages because developers didn't foresee that there will be reasons to extend this piece of code. As a result, the project needs to be forked instead of using framework capabilities to make it flexible without much efforts.
You never know when you'll need to extend or replace the configuration.


All Things Nice | Dare I live my dreams? Freedom is a sword with too many edges. Captivity is death to my soul. You find me on the fence ….
Blog Action Day on Poverty: Whose Job is it?
In preparation for this blog post I have been doing some research on the subject of poverty and have been surprised, and a little overwhelmed by what I've learnt. The numbers are available anywhere on the web and I shall not dwell on those. What saddens me is it seems that there is very little one person can do to make a real difference to the situation.
You can help out one person, for sure. Adopt a child. Volunteer to clean up a slum. Donate money to the Red Cross. Run a marathon for poverty. These are useful up to a point and it is better than doing nothing.
The real solutions cannot come from individuals but from governments. Poverty is a problem that affects third world countries with dire, sometimes fatal consequences. It is because of poverty that one can die of preventable diseases; preventable by better public health care. A poor infrastructure, corruption, lack of access to education and conflict all contribute to trapping large numbers of the population in the cycle of poverty.
So what can i do? Give up? Sit around waiting for the first world to save us with aid, once again? Resign myself to the idea that the third world will always remain the third world as long as the governments of the first world hold us in their grip? Wait for HIV and Malaria to make us extinct?
I don't think so. Perhaps the answer is to get really pissed off. So pissed off in fact that the next time I go to a ballot booth, I think about the candidate's policies on tackling the issues instead of what tribe he belongs to. About his track record in the past and his involvement in shady deals instead of whether he is one of us or not. Because every time a corrupt or ineffectual official is in government, it condemns to death millions of men, women and children as a result of poverty.
All over the world, this year has been an election year to remember. Pakistan, Kenya, Zimbabwe among others as examples of how wrong elections can go and how much suffering that can cause the poorest people. The US election is on the world's mind right now and if (or when?) that goes wrong, we are in for interesting times, to say the least.
All we can do, as individuals is recognise that poverty affects all of us and we cannot always look the other way when we are confronted with the smelly, dirty truth. We can, instead, take to task those whose job it is to tackle the issues and reduce poverty.
Otherwise, if we ignore it too long, this problem shall come knocking at our doors.
Fact or fiction? Of dead heroes and villains..
This has been a strange week for our little city. We now are in the proud possession of a monument to forgotten heroes. Men and women who fought for the freedoms of this country. Whether or not they succeeded is a topic for another post. Why only Dedan Kimathi, I dont know; maybe there were budgetary constraints. So, as a result, he was chosen to represent the many.
Hopefully, politicians who commissioned this work did it out of the justified indignation that the Mau Mau have never gotten any recognition for their part in our murky history.
But perhaps a better monument would have been to fix the lies in the textbooks and syllabi that tells an incomplete and misleading story. To add in a little section about what happened to these heroes of the revolution after they won ( and lost) a war they gave their lives and futures and reputations (Dedan Kimathi was branded a terrorist by many and still is by some) for. As to why the men who betrayed their people to the mkoloni became the greatest beneficiaries of the so called independence….
Early this morning the police shot a man who they say has been terrorising us all and shooting people left, right and centre. We do not have any clear evidence why they are so sure that he is the culprit, and if they are, why they did not arrest him so that he can face justice and the many wives, husbands, children and parents whose families' he destroyed.
If the reports are true, he did surrender peacefully. Who are the terrorists here?
You see, it is difficult to form an opinion if you are not sure if all you are being fed is a bucket of hogwash: who is lying and who is telling the truth? The Police? The Media?
In the meantime, i will rush home before dark, buy yet another giant padlock and hope that Matheri does not rise from the dead.
This was harder than I expected, blogging again. I'm finally typing something at 20 past 3 in the morning, which will probably explain a lot if this all ends up being gibberish. No champagne to toast the launch of what will hopefully be a long and stimulating experience for my mind. Im looking forward to making some friends, sharing some virtual beer/wine/juice and once in a while, practising some exorcism.


As has been echoed many times by many cosplayers who have experienced these actions, Sexual Harassment is not okay. However, after viewing this article over at the Mary Sue I became more enraged.
Did you skim the article yet?
Why did this guy enrage me so much? For the mere pretense of being a journalist this sleazy guy used to elicit a response. This is a good reason why Conventions have tightened their collective belts on letting bloggers being designated as "press". I asked my former interviewees for input on this case. Bethany Maddock, whose interview will be up soon linked me to a similar account on her tumblr (insert link).
Really cheese balls? Really? You are so sure that you are the hottest thing in the room that you chose to set back progressive thinking men back to the Fifties? There is no room for understanding for actions like these to being existing in 2013. You are not a journalist, you are not curious about anything that cosplayer is doing, stop acting like you can hide behind that press badge.
I work hard to get behind the itch that drives these cosplayers to make their costumes and for these pigs to ruin my shot at having cosplayers speak to me just to get their rocks off is unspeakable.If you cannot be forward thinking enough to respect the woman you interview, do not interview them. There are plenty of men who do great costumes as well.
These actions jeopardize the rest of the supporting blogger culture from getting a real interview from these cosplayers. These cosplayers work tirelessly to prepare these costumes. There are varying degrees of the work they do, but each one puts substantial effort into making a costume or wearing a costume for their own. To quote cosplayer Aigue-Marine "The moment it happened to me, with some guys who wanted to take pictures of me, I was way too startled to think of anything proper." Debasing such a noted cosplayer to a part of her body is ridiculous. I really feel for this cosplayer. I hope that this guy never works as a journalist again.
In closing, If your gonna be a creep, be a creep at home, and stop purporting to be a journalist when your a creep.


The cybercriminals have become more intelligent than ever before. So the IT managers must also devise smart strategies to outsmart these hackers.
The new buzz in public Wi-Fi security is the "evil twin". The hackers are using this approach to impersonate and logon to the network as a legitimate hotspot. These attacks are on the rise and the access points in restaurants, retail establishments etc. have become an easy target.
The cybercriminals create twin hotspots. So the remote workers are unaware that there exists a legitimate hotspot against their user-name.
These twin hotspots allow the hackers to intercept the corporate data and maliciously use the sensitive information. The hackers can sneak into the network traffic and data conversation. They steal the information before it reaches the destination servers or to the end-users.
How twin evils are created?
The cybercriminals trick the users and entice them to develop connection with illegitimate hotspots. The users are redirected to various phishing sites and their account IDs, passwords are exposed to these interceptors.
In addition, the interceptors on the evil twin can view the data files being shared between the server and mobile worker.
How users are tricked into developing connection?
The cybercriminal use the same network name for the fake hotspot. So the users think that they have established connectivity with the right Wi-Fi access point.
You are unaware that interceptors are stealing your sensitive data, login/passwords and credit card numbers. Nowadays, evil twin challenge has become the biggest nightmare for organizations supporting remote workers.
Majority of the IT managers go for wireless encryption for these types of attacks, but this approach has not been successful. The reason is that the Wi-Fi protected access will perform encryption after the link has been established between access point and the user's devices.
This process can be combined with VPN, and the users can block the evil twin attacks.
This smart strategy makes it more difficult for the interceptors to read the corporate data files.
Ensures secure data transfer and all interception threats can be blocked.
The implementation of VPN and the 2 factor authentication were very expensive in the past, and therefore only the large-budget enterprises used this technique. But nowadays the growing numbers of cloud-based service providers have made VPN highly affordable for small/medium enterprises as well.
These simple techniques can make your remote data access safe, and the mobile workforce can confidently connect to the corporate server without compromising on data integrity.


text:
Stella Batts: Stella Batts Needs a New Name
Courtney Sheinmel (author), Jennifer A. Bell (illustrator)
Publisher: Sleeping Bear Press ISBN: 9781410310514
In Needs a New Name, Stella decides to change her name after a boy from her class keeps calling her "Smella." How hard can it be to pick a new name? It's not as easy as it sounds.
Stella Batts: Who's in Charge
In "Who's in Charge" Stella gets a lesson in responsibility when she volunteers to watch her best friends dog, Bella, for a few days. The only problem with this plan is that Stella didn't ask her mother for permission. With new baby Marco at home, Stella's mom already has her hands full. But Grandma agrees its good for Stella to have some responsibility as she's getting older. It looks as though Stella has things under control. It's only for a few days; what could go wrong? When Bella gets loose and runs away, Stella is heartbroken. Will Stella find Bella before Evie gets back? And where does she even start to look? Its just another day in the life of Stella Batts! In this early chapter book series, the ups and downs of Stella's life are charmingly chronicled.
Johnny Kaw: A Tall Tale
Devin Scillian (author), Brad Sneed (illustrator)
Five minutes after his birth, Johnny Kaw is over six feet tall and still growing. When he outgrows his crib and even their town, his parents decide to move west where "little" Johnny can have plenty of room to play. After the family crosses the wide Missouri River to Kansas, Johnny sits down to play with his dog. His bottom ends up making the valley where his family will settle. And when Johnny clears stones from a field so his father can plow, he ends up creating the Rocky Mountains in the process. The legendary folk hero shapes the state's landscape by carving out valleys and creating prairies with his bare hands. Why, he even takes on a tornado when it threatens the family farm.
No Pirates Allowed! Said Library Lou
Rhonda Gowler Greene (author), Brian Ajhar (illustrator)
Argh!! Things are looking--and smelling!!--a little fishy at Seabreezy Library. When the big X on Pirate Pete's treasure map leads him and his parrot-sidekick Igor to believe buried treasure is hidden at the library, the patrons are quaking in their shoes. But never fear! Library Lou, Seabreezy's librarian-extraordinaire, is as cool as a cucumber and knows how to handle an irate pirate or two. She knows exactly where the treasure is buried. But first she needs to help Pirate Pete and Igor get a handle on their hygiene, brush up on library etiquette, and then tackle learning their letters. And that will lead them to the treasure that can always be found at the library.
Stella Batts: Hair Today, Gone Tomorrow
In Hair Today, Gone Tomorrow Stella can't wait to try out the candy store's new Magical Glow-in-the-Dark Chewing Gum. But instead of granting wishes, the gum seems to bring Stella bad luck, including a VERY drastic haircut!
Delia's Dull Day: An Incredibly Boring Story
Andy Myer (author), Andy Myer (illustrator)
Poor Delia, nothing ever happens to her. Her life is so dull, dull, dull. But perhaps if Delia decided to look up or turn around, she'd see... the elephants marching through her house... the pirate sitting behind her on the school bus... or even the submarine that rises to the surface right after she leaves the pool! If Delia ever paid attention, she'd realize her life is quite exciting after all!
Scare a Bear
Kathy-jo Wargin (author), John Bendall-Brunello (illustrator)
Do you know how to scare a bear? Would you bang pots and pans? Would you rattle some cans? Would you shout? Would you yell? Would you ring a loud bell? Do you know how to scare a bear? How would you scare a bear out of your cabin? Or out of your fishing boat? How about away from your campfire? And what if he climbed in your bunk? Would the bed go kerplunk? From the author-illustrator team who created Moose on the Loose comes yet another example of the high jinks and hilarity that happens when wildlife wanders indoors. In this contest of wills, who will win? And once again, by story's end, young campers will know exactly how to scare a bear!
Otter out of Water
Have you seen an otter at play in the water? It's long and it's trim and it knows how to swim. It rolls and it spins. It twists and it grins. What if one day that otter jumps out of the water? Would you ask him to play? What if that otter follows you home? Would he bounce on the chairs? Would he skid down the stairs? The author-illustrator team who created Scare a Bear and Moose on the Loose will once again have readers laughing and guessing. This time the hilarity involves an otter out of water!
Moose on the Loose
What would you do with a moose on the loose? Would you chase him, or race him, or stand up to face him? What would you do with a moose on the loose? What would you do with a moose in your yard? Or in your house? How about in your room? Or in your tub? Would you give him two boats? Would you see if he floats? What would you do? Colorful, comic artwork highlights the hilarity that ensues when wildlife wanders indoors. Can boy best beast? By story's end, young readers will know exactly what to do when a moose goes on the loose!
Kwame Alexander (author), Tim Bowers (illustrator)
When a jazz-loving rooster sets his sights on winning a barnyard talent show, he realizes he can't do it as a solo act. He's up against the talents of Mules Davis's cool duo and Ella Finchgerald's singing group. Acoustic Rooster calls on friends like pianist Duck Ellington, singer Bee Holiday, and percussionist piggy Pepe Ernesto Cruz. Together, the foursome makes beautiful music as they rock the barnyard. And while they may not win first prize, Acoustic Rooster realizes he has the world's best jazz band and that's all that matters. Colorful artwork from artist Tim Bowers (Memoirs of a Goldfish) ensures this story doesn't miss a beat. A glossary of musical terms and instruments rounds out this perfect introduction to jazz for young readers.
The Little Kids' Table
Mary Ann McCabe Riehle (author), Mary Uhles (illustrator)
Everyone knows that the little kids table is the place to be for any holiday or family gathering. They just know how to have fun! This silly, rhyming story follows a group of rambunctious cousins from table setting to dessert. A universal theme, The Little Kids Table will have kids--and parents!--howling with laughter.
Memoirs of an Elf
Devin Scillian (author), Tim Bowers (illustrator)
It's Christmas Eve and Spark Elf has the very important job of keeping Santa Claus on schedule as he travels the globe in 24 hours delivering presents. Small in stature with pointy ears and stopwatch in hand, Spark lets Santa know it's time to go. He programs the GPS while the other elves secure the toy bag and check the Nice list. Little known fact: We don't even bring the Naughty list with us. Six hours into the trip Santa, sleigh and crew begin to fall behind--so many cuddly doggies to pet and extra cookies to eat. The jolly group makes up time in Brazil and soon find themselves back at the North Pole. Their work is done. But wait, there's something left in the bag--but it isn't a present at all--it's a family dog! Well known fact: Santa gives things away. He does not take things! Momma Claus comes to the rescue with a plan to get the dog back to his family. Can Santa return the family's beloved pooch in time to keep their Christmas merry?
Brewster the Rooster
Devin Scillian (author), Lee White (illustrator)
What has gotten into Brewster the rooster? The Macintosh family can't understand why their barnyard pet is crowing at the darnedest things. "I'm worried about Brewster," Magnolia said, mixing carrot cake batter with raisins. "Something has changed. It seems so strange but he's crowing at the oddest occasions." Whether it's the children playing catch in the yard, Zeb painting the barn red, or Grandma Pearl flipping hotcakes, Brewster can't stop from letting out an earsplitting cock-a-doodle-doo that sends the Macintosh family head over heels. When the barnyard brouhaha gets too much, even Doc Sawyer is consulted. But can he figure out how to help Brewster?
What Dogs Want for Christmas
Kandy Radzinski (author), Kandy Radzinski (illustrator)
Proving that cats don't have the last word when it comes to making Christmas lists, author and artist Kandy Radzinski returns this holiday season with the canine companion book to last year's favorite, What Cats Want for Christmas. Using witty poems and winsome illustrations, What Dogs Want for Christmas lets our four-footed friends speak for themselves. And what does Man's Best Friend have on his holiday list? Ruffus, a dapper Scottie, would love "something with fur... that once went purr..." while the more practical basset hound Daisy complains, "My ears hang down to my feet. Can you fix them so they're short and neat?" Santa is going to need a bigger sleigh to fulfill some of these holiday wishes!
What Cats Want for Christmas
It's the season for giving but do you know what your cat really wants for Christmas? From Kandy Radzinski, the creator of the bestselling The Twelve Cats of Christmas, comes another yuletide treat with an animal twist. What Cats Want for Christmas gives a laugh-out-loud look into the hearts and minds of felines at holiday time. With clever rhymes and colorful illustrations, now cats get their chance to pen a letter to Santa. Forget the catnip! Whether it's Benny who longs for a sweater -- knit of a red Irish setter or Arty who wants a silver dish -- filled with little silver fish, Santa (and readers of all ages) will chuckle with delight at this fun-filled wish list. Cat owners will be tempted to leave this book open to share with their favorite pet. It's the purr-fect gift!
Little Birthday
Publisher (author), Helle Urban (illustrator)
A colorful board book full of rhyming riddles that celebrates every child's favorite day of the year--birthdays! Another addition to the Little Series of board books.
Dan Andreasen (illustrator)
The traditional English carol, "The Twelve Days of Christmas," has been sung and enjoyed throughout the holiday season for centuries. In keeping with its courtly tone, most illustrated treatments of the song use a formal art style. Now, a new version is geared specifically to young readers, using playful images of animals romping and cavorting to the song's lyrics. Imagine beret-wearing French hens, four "calling" birds chatting on the phone, or frolicking frogs as the lords-a-leaping. Colorful, lighthearted scenes by acclaimed illustrator Dan Andreasen bring a whole new interpretation to the holiday carol. From the first day to the twelfth, readers of all ages will enjoy this rendition of counting down the days of Christmas.
Deck the Walls: A Wacky Christmas Carol
Erin Dealey (author), Nick Ward (illustrator)
Deck the halls with boughs of holly, Fa la la la la la la la la. How wonderful the old carol sounds. A vision of warm family gatherings peacefully celebrating the holiday season comes to mind. But wait, this doesnt sound like a peaceful family get-together. What is happening here? Deck the walls with mashed potatoes! Fa la la la la la la la la. Make a snowman with tomatoes. Fa la la la la la la la la. Author Erin Dealey has taken the old holiday classic and turned it on its head. In her riotous, raucous rendition of a family meal gone hilariously awry, youll find food hockey, vegetable sculptures, crashing dishes, and grown-ups wondering what has gone wrong. From Feed the dog our peas and carrots to Food tastes better when you wear it, readers young and old will never forget this new take on an old holiday carol!


She thinks it's really stupid when photographers refer to themselves in the 3rd person on their biographies.
I am now a full time student at Texas Tech University in Lubbock, Tx, persuing a BFA in Studio Arts with an emphasis in Photography. After taking an Art History course and learning a little about the Renaissance, I've become enamored with this art era. I took a trip to Florence Italy this summer (the home of the Renaissance) and found a lot of inspiration there. I only wish I was as talented as the painters of that era.
I'm happiest when I'm outdoors with nature, and I love rural decay and exploring ghost towns. I feel my spirit soar when I'm outside! I enjoy traveling and exploring new places, but I hate flying. I'm always ready for a road trip – usually to a state or national park.
If you'd like to buy a print, many of my images are for sale here: Lucky Shot Photography. If you don't see what you want, just contact me and I'll see about getting it uploaded.


Each computer is properly licensed and contains a legal Certificate of Authenticity C. Also, a Microsoft issued Windows operating system is installed on every computer. This computer has gone through a thorough and rigorous refurbishing process as well as Quality Control Testing. We have erased all of the previously stored data according to DOD standards.
Processor: Intel Quad Core i7 3.4. Operating System: Windows 10 Professional.
Added Features: Keyboard / Mouse / USB WiFi Receiver. Screen / Display Size: N/A. I/O Ports / Connections: Ethernet / LAN, Headphone / Speakers output, Line-in / microphone input, Serial, USB 2.0, VGA. This does not apply to LOT orders and holiday times.
Times determined by carrier and are subject to change. It does not cover any special needs you might have such as peripheral and/or software installation assistance. It also does not cover software issues, neglect, or unauthorized repair. We take our reputation seriously. The item "HP Desktop Computer Tower FAST QUAD CORE i7 Windows 10 Pro PC 16GB RAM 2TB HD" is in sale since Tuesday, December 11, 2018.


text:
Q: How can I write file line-by-line with pyserial to com0com? I cannot write more than one line of data from a file to a virtual com port (com0com) using pyserial. I am attempting to write the file line-by-line so I can simultaneously update a progress bar in Tkinter. I am running on Windows and have attempted to put the write operation in its own thread (per UART Controller with Tkinter and Python GUI). My program hangs after writing one line.
Relevant Code:
import os
import sys
from functools import partial
import re
import time
import threading

import serial
import serial.tools.list_ports

import tkinter as tk
from tkinter import ttk, filedialog

class MainApp(tk.Tk):

    def __init__(self,
                 parent,
                 title = 'Main Application',
                 *args,
                 **kwargs):

        self.parent = parent

        #Set window title and size
        self.parent.title(title)

        #Create widget container
        container = tk.Frame(self.parent)

        #Add widgets

        # --> Create load program widgets
        load_frame = tk.LabelFrame(container,
                                   text = 'Load Program',
                                   width = 400,
                                   height = 100)

        port_dropdown = DropDown(load_frame,
                                 label = 'Port:',
                                 row = 0)

        file_browser = Browser(load_frame,
                               path_type = 'file',
                               label = 'File:',
                               row = 1)

        program_downloader = Downloader(load_frame,
                                        port_dropdown,
                                        file_browser,
                                        row = 2)

        # --> Layout load program widgets
        load_frame.grid(row = 0,
                        column= 0,
                        padx = (5,5),
                        pady = (5,5))

        #Layout widget container
        container.pack(fill = tk.BOTH,
                       padx = 10,
                       pady = 5,
                       expand = True)
.
.
.

class Downloader(tk.Frame):

    def __init__(self,
                 parent,
                 port_dropdown,
                 file_browser,
                 row = 0):

        self.port_dropdown = port_dropdown
        self.file_browser = file_browser

        #Instantiate serial port object
        self.serial_port = None

        self.progress_bar = ttk.Progressbar(parent,
                                            orient = 'horizontal',
                                            mode = 'determinate')

        self.progress_bar.grid(row = row,
                               column = 0,
                               columnspan = 2,
                               padx = (5,5),
                               pady = (5,5),
                               sticky = 'WE')

        self.button = tk.Button(parent,
                                text = 'Download',
                                command = self.download_program)

        self.button.grid(row = row,
                         column = 2,
                         padx = (5,5),
                         pady = (5,5),
                         sticky = 'W')

    def download_program(self):

        port_full_name = self.port_dropdown.combobox.get()
        port_name = re.match('([^\s]+)', port_full_name).group(0)

        baud_rate = 9600

        program_path = self.file_browser.text.get()

        self.connect(port_name,
                     baud_rate,
                     program_path)

    def connect(self,
                port_name,
                baud_rate,
                program_path):

        self.serial_port = serial.Serial(port_name,
                                         baud_rate,
                                         timeout=1)

        t1 = threading.Thread(target = self.transfer_data,
                              args = (program_path,))
        t1.daemon = True
        t1.start()

    def transfer_data(self,
                      program_path):

        line = 1
        self.progress_bar['value'] = line

        with open(program_path, 'r') as program:

            max_lines = len(program.readlines())
            self.progress_bar['maximum'] = max_lines

        with open(program_path, 'r') as program:

            while line < max_lines:

                command = program.readline().replace('\n','\r\n')

                print(str(line) + ': ' + repr(command))

                self.serial_port.write(command.encode('ascii'))

                line += 1

                self.progress_bar['value'] = line

                self.serial_port.flush()

        print('done')
        self.disconnect()

    def disconnect(self):
        self.serial_port.close()

if __name__ == '__main__':

    #Initialize Tkinter
    root = tk.Tk()

    #Create GUI
    gui = MainApp(root,
                  'Main Application')

    #Run program
    root.mainloop()

GUI Hangs:

Terminal Output:
1: '@01\r\n'
2: '@02\r\n'

The fact that I'm able to read from program.txt the second time around in the loop tells me the program might be hanging because the port is still stuck on the first write.
Any help would be appreciated.

A: Set timeout and write_timeout to 0 prevents blocking, which seems to fix the problem.


Are you looking for solutions combining an authentic architectural concrete product, wall or cladding plates, lightweight and maintaining minimum thickness? Flexo 4 board is the answer. It is a combination of all these features and one of the highest strength parameters.
We offer you an unprecedented solution for architectural concrete products on our market. The most common elements on the market are concrete slabs in 18-20 mm thicknesses, and in the case of our GRC technologies are 11 mm elements. The Flexo 4 board, and in principle should be used to describe the wall and technical cladding, is a product that combines the beauty of architectural concrete and advanced technologies. Despite its extremely low thickness, this material is a product combining fine grains, enriched with high-value additives, cement mixtures, with the strength of structural elements, embedded in their interior. Performed with advanced spraying technologies, they enable the preservation of concrete features with exceptional strengths and even considerable flexibility.
In the picture above, we show an example of use. The stair sides in this arrangement were made of one piece of material 4mm thick. Adhered with typical glazing methods, which greatly simplifies the assembly process and does not attract additional costs. What's more, as shown in the picture, the material exhibits exceptional durability and, at the same time, easy machining, which allows its free cutting, drilling. The use of material is very wide due to its features. It can be used in furniture cladding, walls or, for example, doors as their cladding. The weight of the material is about 8 kg m2 which is an absolute record in this type of products. Until now, it has been customary to use various types in this type of construction, plastering and coating masses that inadvertently imitate concrete. Now we get the opportunity to use authentic architectural concrete, without using catwalks and half measures. We successfully use these solutions in system kitchen and furniture fronts as well as door panels. Due to their minimal thickness, boards are available in a smooth version. Their natural feature is discoloration, streaks of color heterogeneity, and all these are the natural features of architectural concrete.


Avoid these common helmet mistakes Follow the Rules Yield to pedestrians.
Hold, the hold feature allows you to make multiple stops during your ride blizzard fan club promo code 2015 without a parking fee.
Plan a Sensible Route Plan what retailer gift cards does giant sell your route before you ride to follow the safest route to get you where you want.
We know you want your travels to be world-class, we hope our reservation service helps make that possible.
Use the grip bell to signal your presence.Its not only an employee perk, its a lifestyle perk: Membership gets you 24/7 access to 200 bikes in 39 stations, available April - November.Bounty bikes : Reddy bikes parked outside of their stations and gift card networks outside of free zones are bounty bikes!Find and reserve via Not near a computer?No problem, use any public bike rack in this zone and our mechanics will return the bike to a Reddy rack for you.Select, view Niagara, falls Live, where's, my Ride?Learn More in style comfort, daily frequent connections between major and save 10 on your tours like never before with our Deluxe Guided Tours.Hourly Pass.50 /activation, ride for.60/hr prorated to the min, in town for the day or the week?Quiet, comfortable, convenient suites near, buffalo, airport.Cant find a Reddy rack?Healthy body, healthy mind: Healthy recreation and transportation options during work hours contributes to a more productive workforce.
Ensure that your phones GPS is enabled to find bikes available nearby.
Select this pass, membership Details, use the hold feature if you need to lock the bike temporarily to avoid any parking costs.
Total, exclusive Service (Private Car base Fare, early Bird Discount, hST.Here is, begin riding in minutes, download the SoBi app on your mobile device, or on the web at m and choose your pass to get started.Book now Multi City Toronto Airport Downtown Toronto Niagara Falls Hotels Daily frequent connections between major Toronto Hotels Niagara Hotels.Replace your helmet after any crash and whenever you see signs of damage.Together, we will formulate an internal marketing plan to promote biking to your employees.
Rated.4 - 7 reviews m, scubastore Coupon Stats 8 total offers 7 promo codes, last updated November 20, 2018, about Scubastore how to get more google play rewards Coupons.Scubastore operates m, one of the most popular e-commerce websites in the scuba snorkeling industry.To..
Resnick suggested he wait until just before the fight to place any bets because the odds may come down.It also distracts them and could make them panic, making them less conscientious fighters.Sports Illustrated magazine named their first meeting, the ListonClay fight (Ali had..


text:
This website is no longer actively maintained
Some material and features may be unavailable
Money & Medicine
Political engagement, not arms for Syria's rebels
Free Syrian Army soldiers pose for a photograph, in Sarmada, Idlib province, northern Syria on Sunday, Aug. 12, 2012. Photo: AP Photo/Shaam News Network, SNN
The civil war in Syria is a nightmare. The bloodshed is so great that practically the entire foreign policy establishment in the U.S. and Europe are wringing their hands about what to do. There is, however, something of a consensus among these experts that the West has an obligation to help.
What then is the nature of that obligation? The answer isn't nearly as simple as it might seem. In the rush to do something – anything – to end the horrific violence in Syria, it is important to keep a level head about making sure Western efforts will lead to a less violent, less fractured outcome.
An obligation to help end the conflict does not automatically imply an obligation to provide weapons to Syria's rebels. Yet, this is precisely the stance that some arming advocates like Anne-Marie Slaughter, a professor at Princeton and former State Department official, and Bartle Breese Bull, the foreign editor of Prospect magazine have taken. Indeed, many believe that arming the rebels is the most effective course to ensure there is an end in sight to the ongoing brutality.
The International Crisis Group, however, offers a much more sober assessment of what to expect from an armed, post-Assad Syria.
…from a military standpoint, it is becoming clearer by the day that the outcome will be much messier than either party to the conflict once hoped. The regime will not succeed in suppressing the armed groups; if anything, its ruthless practices have guaranteed a virtually limitless pool of recruits prepared to fight with the opposition at any cost.
This means that even if the regime were to collapse overnight in a rebel victory, it would not eliminate the possibility of violent resistance by pro-regime Syrians. Furthermore, ICG also suggests that the worrying trend of reprisal violence by rebel groups will only make this worse over time.
Arming the rebels, then, presents moral compromises many American policymakers seem unwilling to consider. Are there other ways of assisting with the removal of the Assad regime in a responsible way? Dalia Dassa Kaye and David Kaye suggest that the U.S. focus on supporting the development of Syria's non-Assad institutions:
American influence flows not only from our weapons but from the concrete assistance we can provide after the uprising, such as security sector reform, humanitarian and economic assistance, and technical and legal training. Being a partisan to the conflict through military support — causing us to be seen, for instance, as an opponent of key "losing" ethnic groups — would make such assistance less effective.
Unfortunately, in many local conflicts where the U.S. (and to a lesser extent Europe) has intervened, the picking of winners and losers – even if it's just picking the regime opposition – has not necessarily led to a cessation of violence or stable political order. Even in Kosovo, normally highlighted as an example of successful intervention, it is only the 13-year occupation by thousands of US and NATO troops of the border regions near Serbia that keep a lid on the violence. Moreover, the Kosovar rebels who America so eagerly armed and supported committed shocking atrocities against Serbian civilians – atrocities the U.S. has some moral culpability for.
While opposing the Assad regime is unquestionably the moral stance to take, supporting the Syrian rebels militarily is not the best way for America to end the bloodshed.
Political engagement offers the strongest long-term strategy for a post-Assad Syria. Though intelligence agencies struggle to identify and understand all of the various disjointed rebel factions, Hillary Clinton's push to expand American ties with the rebel groups is a vital step.
Just as importantly, the U.S. should also expand its engagement with the Allawite forces who are brutally killing civilians. Political engagement in Syria must not favor once side. Furthermore, the safety of low-ranking regime fighters and officials needs to be guaranteed so that the prospects of post-Assad fighting are minimized.
By engaging with both sides of the Syrian conflict, the U.S. and Europe stand a chance of reducing the prospects for long-term fighting and can possibly create the initial stages of a post-Assad government not consumed by insurgency and reprisals. Simply arming Syria's rebels won't accomplish the political ends needed to lessen the suffering.
Last modified: August 16, 2012 at 4:39 pm
Laura Beth Nielsen
Nealan Afsari
Lisa Biagiotti
Johanna Blakley
Colleen Glenney Boggs
Raymond Brescia
Rob Capriccioso
Jim Carr
Jessa Crispin
Dave Baldridge
Rebecca Dixon
Diane Whitmore Schanzenbach
Katherine Ellison
Sally Flocks
Jami Floyd
John Bellamy Foster
Joshua Foust
John Carlos Frey
Robert Fri
Nicholas Gerry-Bullard
Leslie Gerwin
Inderpal Grewal
Celeste Watkins-Hayes
Derek Hoff
Harold Koplewicz
Dennis Lim
Ellen Lust
Maria Margaronis
Carolyn Mazure
Michael Brendan Dougherty
Mary Mulcahy
Brandi Moore
Mona Shattell
Michael Leo Owens
Peter DeWitt
Kelly Pope
Kavitha Rajagopalan
Dr. Daniel Colón-Ramos and Dr. Giovanna Guerrero
Betsy Reed
Gary Rivlin
G.W. Schulz
Selena Sermeno
David A. Sousa and Tom Pilecki
Samuel I. Schwartz, P.E.
Tamara Caspary
Tey Meadow and Elizabeth M. Armstrong
Gina Athena Ulysse
Katrina vanden Heuvel
Janet Vertesi
Sarah Wildman
Michael Yates
ABOUT NEED TO KNOW
Need to Know is a production of Creative News Group (CNG) in association with WNET. Marc Rosenwasser is Executive Producer. Need to Know is made possible by Bernard and Irene Schwartz, Mutual of America, Citi Foundation, John D. and Catherine T. MacArthur Foundation, Miriam and Ira D. Wallach Foundation, Margaret A. Cargill Foundation, The Corporation for Public Broadcasting and PBS.
© 2020 WNET.ORG. All rights reserved. pbs.org Terms of Use Privacy Policy


To celebrate the outstanding journalism of reporters and news organizations across the country and provide opportunities for emerging talent, The Canadian Journalism Foundation (CJF) is now accepting entries for its comprehensive 2019 awards program. The deadline for all award submissions is Feb. 22, 2019.
"Celebrating fact-based journalism and recognizing journalists from across the country is vital in a challenging media environment that includes financial pressures on news outlets, and the spread of misinformation," says Wayne Parrish, chair of the CJF Awards Committee. "We look to quality journalism to effect positive change in our communities, strengthening the health of our democracy."
The award recognizes an individual who has made an outstanding lifetime contribution to journalism in Canada. Nominations are accepted for all categories of journalism. Read the award details and submit your nomination.
This award celebrates efforts to encourage Canadians to understand and critically assess the quality of news as well as the practices that underpin factual reporting as key contributors to Canadian democracy. The winning organization will receive a $10,000 prize. Read the award details.
In partnership with the Canadian Women's Foundation, this award recognizes a journalist doing exceptional research, analysis and writing through a gender lens about women's equality issues and comes with a $5,000 prize. Read the award details.
Two early-career Indigenous journalists will have the opportunity to explore issues of interest while spending one month with the CBC News Indigenous Unit in Winnipeg. A $3,000 stipend will be provided, and CJF will cover travel, accommodation and reasonable expenses. Read the award details.
This award offers an early-career photojournalist a six-week paid internship at The Canadian Press head office in Toronto, providing an opportunity to work in a fast-paced environment and gain national exposure. Read the award details.
This internship brings an early-career journalist to The Globe and Mail to pursue a six-month long investigative journalism project under the guidance of editors and senior reporters. Read the award details.
All recipients will be recognized at the annual CJF Awards at the Fairmont Royal York in Toronto on June 13. Early-bird rates for tickets and tables to the gala are available until Feb. 28.


text:
Tsipras from Crete: Compensation to Quake-Stricken a Top Priority
Main opposition SYRIZA-Progressive Alliance leader Alexis Tsipras visits quake-stricken areas in Crete. (Photo by Eurokinissi)
HERAKLION, Greece — Main opposition SYRIZA-Progressive Alliance leader Alexis Tsipras, who is visiting quake-stricken Arkalochori on Crete on Wednesday, sent a message to the government to speed up the necessary procedures so that the problems caused by the September 27 earthquake are quickly addressed.
Tsipras said that it was crucial that the area should not become deserted. "I came some days after the earthquake because very little can be done in the first few days. I came now and what we will do is to force the government to not abandon the region to its fate," he said.
The main opposition leader explained that there must be a plan for comprehensively restoring the damage, which must include a new town plan and the building of new homes at other locations.
After completing his visit to Arkalochori, Tsipras went to Houmeri in the municipality of Minoa Pediados and met local residents there, talking with people who have been living in tents since the first day of the earthquake about the dire situation they are currently facing.
Tsipras also visited the town of Melesses, where he was welcomed by the regional governor of Crete, Stavros Arnaoutakis, and local mayor Manolis Kokosalis, who briefed him on the housing and feeding of earthquake victims.
On his part, Tsipras said that giving compensation to those whose property and goods were damaged in the quake was a top priority, along with supporting businesses and employees that had lost their source of income and the area's school children.
Tsipras will later attend a meeting at the regional authority of Crete with Arnaoutakis and the mayors of the regional unit of Heraklion.


text:
Canadian Government Extends Cattle-Tagging Program
SO. ST. PAUL, Minn., /PRNewswire-FirstCall/ -- Digital Angel Corp., an advanced technology company in the field of rapid and accurate identification, location tracking, and condition monitoring of high-value assets, announced that the market opportunity for its radio frequency identification (RFID) tags (e.Tags) and scanning systems has grown significantly due to the Canadian government's recent decision to extend a national program through December 2007 for the funding of livestock RFID readers and scanning systems. The government-backed program is part of Food Safety and Quality within Agri-Food Canada to reimburse eligible participants by defraying a part of the cost of RFID equipment used to scan electronically identified animals as they move from farm to market.
Canada is moving toward electronically tracking cattle and livestock. Cattle are identified in a mandatory industry-led program instituted in January 2001. Canada is attempting to revitalize the country's struggling beef industry that had been damaged by its first case of Mad Cow Disease. Digital Angel, a pioneer in animal RFID products, is one of a few companies with electronic RFID ear tags approved for the program after testing by the Canadian Cattle Identification Agency (CCIA).
The government's decision to extend the funding initiative should bolster an already robust electronic cattle-tagging business in Canada, said Digital Angel president and CEO Kevin N. McGrath. The company announced in January that it had delivered more than 265,000 e.Tags to its Canadian distributors during the months of November and December 2005. Digital Angel just received CCIA conditional approval of a new reader and antenna for use in scanning livestock predominantly in an auction-market facility. This new system provides auto-tuning, synchronization, high-speed data transfer, memory backup, portability, and customization of exiting facilities.
A database of Canada's approximately 122,000 cattle producers, which has a total cattle inventory of 14.7 million head of cattle that produce approximately 3.6 million pounds of beef and beef products annually, is already in place.
The full line of Destron Technologies cattle electronic identification products manufactured by Digital Angel were approved by the CCIA. Under the new program, eligible participants are reimbursed up to 50% of the cost of eligible RFID readers, up to $1000 for hand-held models, and $3000 for panel readers.
About Digital Angel Corp.
Digital Angel Corp. develops and deploys sensor and communications technologies that enable rapid and accurate identification, location tracking, and condition monitoring of high-value assets. Applications for the company's products include identification and monitoring of humans, pets, fish, poultry, and livestock through its patented implantable microchips; location tracking and message monitoring of vehicles and aircraft in remote locations through systems that integrate GPS and geosynchronous satellite communications; and monitoring of asset conditions, such as temperature and movement, through advanced miniature sensors.
Digital Angel Corp. is majority-owned by Applied Digital Inc. For more information about Digital Angel, please visit the company's Web site.


Home Cute Cats Caught Picking their Noses… with their Tongues!
Whenever you feel like you need to uhm… clean your nose, then you'll reach for the nearest tissue. Most of the time, anyway. But what do you do when you can't physically use a tissue? You do the best with what nature gave you, of course.
Read on to see how these cute kitties handle clearing their ow noses. You might expect it to be gross, but it is actually pretty adorable.
Wow, this first little lady really digs in deep! Well, if that's the best means you have to clean, then that's the way you clean. Know what I mean?
…and this guy almost looks like he's listening to the most delightful of symphonies!
This kitten is smittin'… with keeping his nose clean.
Previous articleWho Were You and How Did you Die in a Past Cat Life?
Next articleCan You Answer These Cat Trivia Questions?
Camouflaged Critters! Think You Can Find Them?
Watch this Adorable Newborn Pangolin get Pampered!


text:
Kashmir police deny finding missing British girl
Original Source: NEW KERALA: 28 JULY 2011
Srinagar, July 28 : The Jammu and Kashmir Police Thursday denied media reports that a British girl who had reportedly gone missing in Portugal four years ago was found in Leh.
Talking to some media persons here Thursday evening, Abdul Gani Mir, deputy inspector general of police (DIG), said: "We have not recovered any missing foreign girl from Leh."
"There is no question of carrying out a DNA test since we don't have the girl. Our field staff in Leh have confirmed that no such girl has been recovered by them."
"A British media report said that a girl missing for the last four years from Portugal had been sighted in Leh district of the state. We have no such confirmation from either the police or the district administration," the DIG said.
Earlier, a British newspaper report had said a four-year-old British girl, who was allegedly kidnapped while on a holiday in Portugal in 2007, has reportedly been tracked down to Leh city in India's Jammu and Kashmir state.
The report in the Daily Mail also said the parents of Madeleine McCann are, however, awaiting the results of a DNA test on the girl.
Kate and Gerry McCann's team of private investigators said they were working with Leh police who were alerted after a British woman spotted a girl she thought to be Madeleine. The abducted girl would now be eight years old.
"Madeleine was about to celebrate her fourth birthday when she went missing on a family holiday in Praia da Luz, Portugal, in May 2007," the daily said.
"The woman who found the girl raised concerns with other tourists who agreed with her."
"An American man even reportedly tried to take the girl from the couple with whom she was."
"However, the French woman and her Belgian husband insisted they were the parents of the girl.
"Leh police have now taken swabs so that DNA tests can be carried out on the girl," the Daily Mail report had said.
Kate and Gerry McCann recently launched a book about how she disappeared. Proceeds from the book, titled "Madeleine" go towards the funding of their search for their daughter.
The official Portuguese inquiry into the girl's disappearance was formally shelved in July 2008.
British Prime Minister David Cameron has also asked Scotland Yard to carry out a review of the investigation, the Daily Mail report said.
--IANS


These Blue Boy Holy Communion inspired labels are personalised just for you - you let us know what text you want us to print and we will create you a unique and stylish bonbonniere that will wow your guests.
Our stickers measure 5cm x 5cm - perfect to put on a lollipop, a bag, stick back to back on a lollipop stick as a food pick or cupcake topper, or simply as a really fun label for your loot and treats.
Mix and match with our other personalised Blue Boy Holy Communion inspired themed bonbonnieres, labels, stickers, thank you cards and decorations to create the perfect baby celebration!


text:
Q: Error: Cannot determine the module for class OverlayPortal in --prod i am not sure i am facing an issue only with ionic cordova run android --prod and my ionic cordova run android works fine.
ERROR:
Error: Cannot determine the module for class OverlayPortal in /Users/gopi/Documents/bos/hybrid-app/node_modules/ionic-angular/es2015/components/app/overlay-portal.d.ts! Add OverlayPortal to the NgModule to fix it.
Cannot determine the module for class IonicApp in /Users/gopi/Documents/bos/hybrid-app/node_modules/ionic-angular/es2015/components/app/app-root.d.ts! Add IonicApp to the NgModule to fix it.
Cannot determine the module for class ClickBlock in /Users/gopi/Documents/bos/hybrid-app/node_modules/ionic-angular/es2015/components/app/click-block.d.ts! Add ClickBlock to the NgModule to fix it.
Cannot determine the module for class Slides in /Users/gopi/Documents/bos/hybrid-app/node_modules/ionic-angular/es2015/components/slides/slides.d.ts! Add Slides to the NgModule to fix it.

Can some one give me clear explaination:
Here is my ionic info
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:
Cordova CLI : 7.0.1

local packages:
@ionic/app-scripts : 1.3.8
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.4.2

System:
Android SDK Tools : 25.2.5
Node              : v6.11.1
npm               : 3.10.10
OS                : macOS Sierra
Xcode             : Xcode 8.3.2 Build version 8E2002

A: This will help you to solve this issue.
https://stackoverflow.com/a/55832874/849870
i solve my problem. in my project i was using an outdated module, ion-datepicker
if you are also using same issue, here are some steps, you can follow and find your infected or outdated module.
1. Step one:
in your project find in all files
from 'ionic-angular/
word,
2. Step Two:
if you find this word like
import { xyz } from 'ionic-angular/xyz/abc'
update or remove that module.

A: This solution worked for me. After you install all your components with npm i, install alone typescript version 2.8.1
npm install typescript@2.8.1

run build again

A: As suggested here, remove Page interface reference. Change
let page: Page;

to
let page;

A: 1) Search "Page" occurrences in your project and remove it.
Using Ubuntu or Mac terminal for quick search by taping  :
> grep -r ": Page" src/*
//then
> grep -r ":Page" src/*

Remove it like this:
//let page:Page;
//becomes
let page;
//and remove the import in the top of the file

2) Search "ionic-angular/xxxxxx" occurrences in your project and remove it.
grep -r "from \'ionic-angular\/" src/*

If you are using "ionic-angular/xxxxxx" you have to change it to "ionic-angular" only go in the Ionic documentation and check your component:
https://ionicframework.com/docs/v3/components/#overview

A: I finally found a fix for this.  I had a few imports from ionic-angular that imported the nested component directly as opposed to importing from the top-level package export.  I'm guessing the prod AOT compiler didn't like having some imports from the top-level and some directly to the nested item.  An example for me is below.  My guess is you could choose either one of these approaches, but when mixing them the AOT compiler won't be happy.
Good
import { LoadingController } from 'ionic-angular';
Bad
import { LoadingController } from 'ionic-angular/components/loading/loading-controller';

A: I had the same issue then i changed my one of the ionic angular imports address.
previous it was
import { AlertController } from "ionic-angular\umd\components\alert"
and i changed it to
import { AlertController } from "ionic-angular"

now its working for me.

A: In my case it was because I had backup of a module, i had
MyModule
|- MyModule.ts -> class MyModule {}
MyModuleOld
|- MyModule.ts -> class MyModule {}

A: I had this error after installing Diagnostic with
npm install --save @ionic-native/diagnostic@4

I revert back my package.json then remove and add android platform updated with
ionic cordova platform rm android && ionic cordova platform add android@latest

And it's solved.

A: --prod compile using aot. However, if you want to compile just for release use only --release flag but you loose out of the features of aot

A: In my case, it was a Pipe I had created (lets name it "CustomPipe") and that I wasn't using so I hadn't declared it in my PipesModule.
I had 4 pipes, 3 of which I was using and declaring and exporting in PipesModule. But "CustomPipe" wasn't declared anywhere, so when I ran ionic cordova build android --prod I got the following error:
ERROR in : Cannot determine the module for class CustomPipe in .../app/pipes/custom.pipe.ts! Add CustomPipe to the NgModule to fix it.

Since I wasn't using it, I just deleted it and it worked fine.

A: here is a fix that worked for me.
in app.module.ts, add this:
import { OverlayPortal } from 'ionic-angular/components/app/overlay-portal';
import { ClickBlock } from 'ionic-angular/components/app/click-block';
import {IonicApp as IonicAppRoot} from 'ionic-angular/components/app/app-root';

...

declarations: [
    ...

    OverlayPortal,
    IonicAppRoot,
    ClickBlock,
  ],

A: None of the solutions above worked for me, but I finally solved it.
Simply imported {OverlayPortal} into app.module.ts as typescript toldme to do AND modified the url.
import { OverlayPortal } from "../../node_modules/ionic-angular/components/app/overlay-portal.d";

Then added it to "declarations" in NgModule
@NgModule({
  declarations: [
     OverlayPortal

Then run ionic capacitor build android --prod again and the error was gone.


text:
Bo Carter Style (Guitar Lesson)
Home > Guitar Lessons > Genres > Blues > Fingerstyle Blues > Bo Carter Style
Bo Carter Style
Orville Johnson takes a look at the style of blues artist Bo Carter in this lesson.
Taught by Orville Johnson in Fingerstyle Blues seriesLength: 15:35Difficulty: 2.5 of 5
(10) Lesson Materials
SbDougC replied
Video and Sound are out of sync
Fingerstyle Blues
Alternating Bass
In this lesson, Orville introduces one of the basic fingerstyle techniques - the alternating bass technique.
Winin' Boy Blues
Orville Johnson teaches his interpretation of the piano-based song "Winin' Boy Blues" by Jelly Roll Morton.
Blues Turnarounds
Orville Johnson introduces turnarounds and provides great ideas and techniques.
Payday Blues
Orville Johnson teaches the fingerstyle blues song "Payday Blues."
Walking Bassline with Chords
Orville Johnson demonstrates how to play a walking bass line in conjunction with chordal accompaniment.
One Dime Blues
Orville Johnson teaches his take on a blues standard entitled "One Dime Blues."
I'll Fly Away - Piedmont Style
Orville Johnson teaches the classic gospel tune "I'll Fly Away" in the Piedmont style.
Orville Johnson teaches the classic gospel song "Beulah Land."
Make Me a Pallet on the Floor
Orville Johnson teaches "Make Me a Pallet on the Floor" in the Piedmont style.
How Long, How Long Blues
Orville teaches the a fingerstyle version of the classic blues number "How Long, How Long."
Common Blues Melody
Orville Johnson teaches a common blues melody that has been used in several classic songs including "Louis Collins."
St. Johnny
Orville Johnson reviews an original tune he calls "St. Johnny" in this lesson.
Blind Blake Style
In this lesson, Orville Johnson takes a look at the style of Blind Blake with some fun tips and tricks.
Chord Substitutions: Major
In this Fingerstyle Blues lesson, Orville Johnson uses the 12 bar blues in C to talk about chord substitutions.
Softly and Tenderly, Jesus Is Calling
To demonstrate the relationship between gospel and blues, Orville Johnson teaches an arrangement of an old gospel tune called "Softly and Tenderly, Jesus Is Calling".
Chord Substitutions: Minor
Orville Johnson is back with another fantastic lesson on chord substitutions, this time in a minor key.
Orville Johnson demonstrates Mississippi John Hurt's style using an old spiritual song called "When the Roll Is Called Up Yonder".
Skip James Style Part 1
Orville Johnson explores the style of Skip James in open G tuning.
Orville Johnson takes another look at the style of Skip James, this time in cross-note (D Minor) tuning.
Jelly Jelly
Orville Johnson walks through "Jelly Jelly," an original piano blues style song.
Travis Picking Pt. 1
Welcome to part one of a two part lesson bundle where Orville breaks down Travis Picking, a fingerstyle pattern made famous by the great Merle Travis.
This is part two in Orville's Travis Picking demonstration. Orville now teaches how to increase speed with the picking hand. Then, he explains how to improve synchronization between the picking and fretting...
Scrapper Blackwell Part 1
Welcome to part one of a two part mini series on the great guitarist known as Scrapper Blackwell! Orville tackles the unique techniques Scrapper utilized.
Now that Orville has introduced Scrapper's style, he covers some more difficult techniques that he used.
Mississippi John Hurt Style 2
Orville Johnson delves into the style of Mississippi once more. This time around he takes a look at a song that is inspired by "Frankie and Albert".
The Style of Elizabeth Cotten Part 1
Orville talks all about the style of Elizabeth Cotten, an acoustic fingerpicking legend. He uses a song called "I'm Going Downtown" to showcase her way of playing.
Orville dives back into the world of Elizabeth Cotten. This time around he teaches a newsong called "Sugar" and introduces other common musical themes she was known for.
Heavy-Time Bass
Orville Johnson likes to use a technique called "Heavy-time bass" when playing the bass notes on his guitar. In this lesson he teaches you how adding this trick to your arsenal can make you a more versatile...
About Orville Johnson View Full Biography Orville Johnson was born in 1953 in Edwardsville, Illinois and came up on the St. Louis, Missouri music scene, where he was exposed to and participated in a variety of blues, bluegrass and American roots music. He began singing in his Pentecostal church as a young boy, in rock bands in middle school, then took up the guitar at 17,with early influences from Doc Watson, Rev. Gary Davis, Mississippi John Hurt, and Chuck Berry. In the early 1970's, Orville spent several seasons playing bluegrass on the SS Julia Belle Swain, a period-piece Mississippi river steamboat plying the inland waterways, with his group the Steamboat Ramblers.
Orville moved to Seattle, Washington in 1978, where he was a founding member of the much-loved and well-remembered folk/rock group, the Dynamic Logs. Other musical associates include Laura Love, Ranch Romance, File' Gumbo Zydeco Band, Scott Law, and the Twirling Mickeys. Johnson, known for his dobro and slide guitar stylings and vocal acrobatics, has played on over 100 albums. He has appeared on Garrison Keilor's Prairie Home Companion, Jay Leno's Tonight Show and was featured in the 1997 film Georgia with Mare Winningham. His musical expertise can also be heard on the Microsoft CD-ROMs, Musical Instruments of the World and the Complete Encyclopedia of Baseball. He teaches as well at the International Guitar Seminar, Pt. Townsend Country Blues Week and Puget Sound Guitar Workshop.
Orville released 4 recordings in the 1990's: The World According to Orville (1990) Blueprint for the Blues (1998) Slide & Joy (1999) an all-instrumental dobro tour de force and Kings of Mongrel Folk (1997) with Mark Graham. He also appeared on 4 discs with the File' Gumbo Zydeco Band and produced Whose World Is This (1997) for Jim Page and Inner Life (1999) for Mark Graham. In the 21st century, he has released Freehand, a new Kings of Mongrel Folk disc, Still Goin' Strong, and been featured in the soundtracks of PBS' Frontier House and the Peter Fonda flick The Wooly Boys as well as the compilation cd Legends of the Incredible Lap Steel Guitar.
Dave Yauk
Learn a simple mini song that illustrates just how intertwined scales and chords really are. Dave uses a G chord paired...
Trace Bundy talks about the different ways you can use multiple capos to enhance your playing.
Calum Graham
Award winning, Canadian fingerstyle guitarist Calum Graham introduces his Jamplay Artist Series, which aims to transform...
Horace provides a short etude on how to practice connecting the different shapes of the G Major open triads. This helps you...
Do you want to play more musical sounding solos? Do you want to play solos with more emotion behind them? Maybe you're the...
Alex Scott
Find out what this series is all about.
Brendan Burns
Brendan demonstrates the tiny triad shapes derived from the form 1 barre chord.
Evan Brewer
Evan Brewer explains everything you need to know in order to get going with your bass guitar. Topics include the parts of...
Allen Van Wert
Allen shows you the 24 rudiments crucial to developing finger dexterity. This is a short lesson but the exercises here can...
Stuart delves into all the different aspects of how R&B guitar has had an impact within reggae music.


text:
Q: validation using real named scopes rails I have an invoice model with approver_note, po_number and state_type.
I need validations to check:
scope :approver, where(state_type: 3)
scope :po_no, where(state_type: 2)

validates :approver_note, :presence => true, uniqueness: { scope: [:ac_id, :approver]}, if: :state_three?
validates :po_number, :presence => true, uniqueness: { scope: [:ac_id, :po_no]}, if: :state_two?

def state_three?
    self.state_type==3
end

def state_two?
    self.state_type==2
end

How can I make sure that the uniqueness in approver_note validator is run on selected scope of records. It should validate using records having state_type=3.
I need something in the similar lines of this bug...
https://rails.lighthouseapp.com/projects/8994/tickets/4325-real-scope-support-for-activerecords-uniqueness-validation
Is this available in rails now? or can we achieve this using custom validation?

A: The scope option of uniquness checks if the combination of 2 column values is uniq in the table, frankly I really I don't see how it would be clever enough to apply a dynamic scope. Too much magic even for rails !
However a custom validator is quite straightforward :
validate :approver_note_scoped_uniqueness, if: :state_three?

def approver_note_scoped_uniqueness
  if self.class.approver.where(ac_id: ac_id).count > 0
    errors.add(:ac_id, "My custom error message")
  end
end

ADDITIONAL INFO:
Adding to that, I see that the conditions option is available in validate_uniqueness_of from Rails 4. We can use that and construct two validations one for presence and one for uniqueness. Just in case if some one is looking for an answer in Rails 4.
In case of Rails 4,
validates_presence_of :approver_note, if: :state_three?
validates_presence_of :po_number, if: :state_two?
validates_uniqueness_of :approver_note, scope: [:ac_id], conditions: -> { where(state_type: 3)}, if: :state_three?
validates_uniqueness_of :po_number, scope: [:ac_id], conditions: -> { where(state_type: 2)}, if: :state_two?

def state_three?
    self.state_type==3
end

def state_two?
    self.state_type==2
end


Canine toys have taken on a life of their very own. We found from asking pet house owners in our local parks that the primary gripe dog owners have with dog toys was that they are expensive and are really not that durable. From pet food to kennels, from collars and results in puppy coaching merchandise, and from toys and dog clothes to chews and treats - at Petworld, you may find all the supplies you need to look after your four-legged pal.
We also carry a number of cheaper canine toys and with free shipping for purchasers who like to introduce new toys regularly. The KONG Wild Knots Bears Durable Dog Toys has an inner knotted rope to fulfill your canine's natural instinct. The perfect answer to giving your canine some extra train and psychological stimulation, the StarMark Bob-A-Lot is an reasonably priced, sturdy, and customizable choice in treat-allotting canine toys.
Clearly, these best looking dog toys are fairly a bit more expensive than other traditional plush dog toys. Dog toys come in many types, including canine bones, pet toys, hundesnor balls , tug toys, coaching aids, squeaky toys , discs and frisbees , plush toys, and sticks. KONG make a huge variety of canine toys from the essential chewing toys and balls to the extra interactive taking part in toys.
I needed to know if other dogs actually enjoyed or hated taking part in with these dog toys, simply as mine did, and how long these toys for dogs lasted with other house owners. Buy dog toys on-line at Pet Circle and enjoy the convenience of supply straight to your door, at all times at the most effective worth. All of our plush dog toys are made utilizing double layered fabrics which make them extra robust whereas the stuffing is in a separate cotton casing.
Our PETstock People have selected only one of the best dog toys, so you possibly can store online with confidence. If you had been to test all the canine toys in the marketplace, it could take you ages. Me and my canines have gone via and examined a mountain of dog toys to see how they work, and to find the perfect dog toy in each class and for particular reasons.
Brief description: Canine toys have taken on a life of their very own. We found from asking pet house owners in our local parks that the primary gripe dog owners have with dog toys was that they are expensive and are really not that durable.
Canine toys have taken on a life of their very own. We found from asking pet house owners in our local parks that the primary gripe dog owners have with dog toys was that they are expensive and are really not that durable.


text:
Flawed Applications Cost Other San Diego County School Districts Homeless Funding
By Megan Wood / inewsource
Photo by Megan Wood / inewsource
Above: The outside of the La Mesa-Spring Valley School District office is shown on June 14, 2018. The outside of the La Mesa-Spring Valley School District office is shown on June 14, 2018.
San Diego Unified wasn't the only San Diego County school district this year to lose out on thousands of dollars in funding to help homeless students because of a flawed grant application.
Records inewsource obtained from the California Department of Education show two elementary school districts — South Bay Union and La Mesa-Spring Valley — also submitted incomplete applications. In all, 15 districts and county education offices in the state had their applications disqualified because of missing signatures, copies or documents.
South Bay Union failed to submit a complete fact sheet, which would have detailed information such as the number of schools in the district, its homeless student population and the amount of funding requested. La Mesa-Spring Valley, in a consortium with the Santee School District, did not provide two copies of the original application as required by the state.
RELATED: Missing Signature Costs San Diego Unified Funding For Homeless Students
inewsource reported last month that the Education Department disqualified San Diego Unified's request for up to $750,000 over three years because the application was missing a signature from a finance official.
Bruce Crenshaw from La Mesa-Spring Valley called the state's decision "harsh" for disqualifying the district's application just because he failed to submit two extra copies. Even so, he took the blame, calling himself a "bonehead."
"My frustration is that I think we wrote a better grant this time than last, and we got it last time, so I was feeling pretty confident," said Crenshaw, a counselor and homeless student liaison. "I got so focused on all the things that were on the bottom of the list, making sure they were all included, that I didn't look at the first thing that said include two extra copies."
From 2015 to 2018, La Mesa-Spring Valley and Santee were together awarded about $227,000 from the federal Education for Homeless Children and Youth grant.
RELATED: San Diego Unified Official Takes Blame Over Lost Funding For Homeless Students
Pamela Reichert-Montiel, director of student support and accountability at South Bay Union, said the missing fact sheet that disqualified her district was caused by the grant writer thinking the information was provided elsewhere on the application.
Districts can spend the federal grant funds on staff salaries and various support services for homeless students. Last year, San Diego Unified had the third largest homeless student population in the state, behind the Los Angeles and Long Beach unified school districts.
The La Mesa-Spring Valley and Santee districts combined served more than 800 homeless students last year, and South Bay Union had about 1,300.
Nonprofits and others that rely on grant funding know filling out applications correctly is important.
RELATED: Rep. Peters Makes Plea To Get Funding For San Diego Unified's Homeless Students
Walter Philips, CEO of the nonprofit San Diego Youth Services, said getting an application denied "right off the bat," as the state Education Department did, doesn't happen all of the time. He said some funders are flexible, opting to take points off of an application for errors, while others can be "sticklers."
"Dot the i's, cross the t's. If you miss something, then you're automatically disqualified. It just really depends on the funder, and oftentimes it's the way I think that they kind of make their first cut. Did you follow the instructions or not?" said Philips, whose nonprofit helps homeless, runaway, abused and at-risk youth.
Of the 128 applications the Education Department received this year for the federal homeless student grant, 73 were accepted for funding. In San Diego County, the county Education Office and the San Ysidro, Escondido Union and Poway Unified school districts had their applications approved for funding.
Aired 6/15/18 on KPBS News
Audit: Local Control School Funding Model Failed To Close Achievement Gap
Rain, Snow Expected In San Diego County As Storm Prompts School Closures
$107,000 Payment OK'd For Terminated San Ysidro School Official
Sen. Toni Atkins Intervenes; San Diego Unified Gets $250,000 For Homeless Students


11 December 2014. Given recent evidence of the total mercury exposure from tuna and the wealth of studies on brain toxicity due to methylmercury, the Danish Food Agency has changed the advisory regarding fish intake, which now advises pregnant women against eating canned white tuna and albacore as well as tuna steaks and any meals based on large carnivorous fish, such as pike, perch, walleye, halibut, swordfish, escolar, skate and shark. This advisory also regards women who plan to become pregnant, those who breastfeed, and children aged 3-14 years. One can of small tuna (jackfish) per week is acceptable, though not for children aged up to 3 years.


Kiosk Companion: The Kiosk Companion can be used by event staff to accommodate last-minute changes and attendee preferences onsite from a portable device.
Find a Profile: Use the Kiosk Companion to search for a profile in the list and print directly to a kiosk.
Scan a Code: Scan an attendee's QR code to view their profile in the Kiosk Companion app. Either update and reprint or print the badge directly to a kiosk.
Add a Profile: Use the Kiosk Companion to add a new profile and print the attendee's badge directly to a kiosk.
View All: Use the Kiosk Companion to view a list of all profiles, sortable by printed/unprinted.
Kiosk Status: Use the Kiosk Companion to see which kiosks need attention such as low ink or paper.
Check-in option: Determine how your attendees will print their badge. There are several check-in options available including Enter Code, Scan QR, Register, Insert your printed/e-ticket and Scan this code via the event app.
Kiosk Check-in Option: Enter Code: An attendee inputs a unique reference code to print their badge.
Kiosk Check-in Option: Scan QR: An attendee provides their unique QR code to scan to print their badge.
Kiosk Check-in Option: Register: Links to a registration form from the Registration Element to enable attendees to register directly on the kiosk to print their badge.
Kiosk Check-in Option: Insert your printed/e-ticket: An attendee provides their unique QR code to scan at the kiosk to print their badge.
Kiosk Check-in Option: Scan this code via event app: An attendee uses the QR Scanner on the event app. Requires an attendee to be logged into the event app to print their badge.


Come experience experience the authentic South American lifestyle!
Teach ESL in historic Cusco, Peru!
Teach in Sunny, historical Lambayeque, Peru!
Ever want to travel, and learn to speak the Spanish language? Come to Sunny Sunny Peru!
Come Explore Amazing Arequipa, Peru!
Teach in Colombia in 2017!
Teach in Colombia in 2016!
Puerto Varas, Chile - Teaching English and discovering South America!
This is an Exciting Opportunity to Teach in Colombia!
Get Paid to Teach English in Colombia!
Enrich your teaching experience in Guatemala!
Immediate Job Openings in Costa Rica!
We are looking for a substitute teacher in CHILEAN PATAGONIA!!!
Looking for a substitute English Teacher in CHILEAN PATAGONIA!!!
Teach children in Argentina! Flexible contracts starting July 21.