text:
Q: Javascript : preventDefault() not working on a select tag? I want to come back to the previous option when a user select a option which doesn't fulfill a condition. For exemple, this code :
    <select onchange="test_condition(this, event);">
        <option>1</option>
        <option>2</option>
        <option>3</option>
        <option>4</option>
        <option>5</option>
    </select>

    <script type="text/javascript">

    function test_condition(this_select, event)
    {
         /*If the value of selected option is not equal to 3,
         come back to the previous option with event.preventDefault();
         but this isn't working :*/
         if(this_select.value != 3)
         {event.preventDefault();}
    }

    </script>

So if the select tag has the "2" option displayed (for exemple), and the user
selects the "4" option, then the select must display the previous option, that is say the "2" option. But event.preventDefault is not working.
Have you a idea ?
Thank in advance, cordially.

A: I don't think you can use event.preventDefault() to prevent the select from updating onChange; however, you can work around this pretty easily.  You can play around with this jsFiddle for my solution; I saved off the previous value and, if the new value doesn't match my criteria (in this case, if the new value isn't 3), I reassign it to the old value:
$(function () {
  var previous_value = $('#test_select').val();
  test_condition = function test_condition(this_select, event) {
        console.log(this_select.value);
        /*If the value of selected option is not equal to 3,
         come back to the previous option with event.preventDefault();
         but this isn't working :*/
        if (this_select.value != 3) {
            $('#test_select').val(previous_value);
        } else {
            previous_value = this_select.value;
        }
    }
});

I also ran into a problem where test_condition was not defined, and fixed that by assigning it to a variable as you can see above.

A: You could try this
<script>
function test_condition(this_select, event)
{
    var defaultValue = 1;

    if(this_select.value != 3)
    {
        this_select.value = defaultValue;
    }
}
</script>
<select onchange="test_condition(this, event);">
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    <option>5</option>
</select>


text:
Transfer: Villarreal star excited, open to join Mikel Arteta at Arsenal
Villarreal winger, Yeremi Pino would be excited to join Mikel Arteta's Arsenal this summer.
This claim was made by respected transfer expert, Dean Jones.
According to Jones, Pino has again been attracting attention from the Premier League North London club.
Jones told The Football Terrace YouTube channel: "[Arsenal] are still on the case of Yeremi Pino, who scored in a win at the weekend for Villarreal.
"He's going to continue to play for his club as normal, but I'm told he is very much open to a transfer like this and would be excited to join Arsenal."
Arteta has long been an admirer of Pino, but a permanent deal for the Spain youngster is not without its complications.
Pino still has five years to run on his current contract with Villarreal, although it does include a release fee in the region of £67m.
ALSO READ EPL: It took me two weeks to identify Man Utd's problems – Ralf Rangnick
Related Topics:FeaturedVillarreal wingerYeremi Pino
Arsenal boss Arteta hints deal to replace Pepe
Aberdeen vs Rangers Scottish Premiership clash to be shown live on Sky Sports
Olise's late strike gets Palace point against United
Michael Olise has helped Crystal Palace get a point against Manchester United in their 1-1 draw at Selhurst Park Stadium on Wednesday night.
The midfielder's late strike in extra-time, 91′, levelled the game against United, who had controlled the lead since the 43rd minute of the first half after Bruno Fernandes' fine finish put the Red Devils ahead just before the break.
A relentless Olise scored from a free kick with a left-footed shot to the top right corner. The equalising goal saw United's dream of replacing defending EPL champions City in the second place on the league table, fade away, as they remain third with 39 points, having played a game more than City.
Crystal Palace remains in 12th place with 23 points.
copyrighyt @punchnewspaper
ALSO READ Transfer: It's clear – Ten Hag confirms Ronaldo's next move
Atletico Madrid head coach speaks on leaving Atletico Madrid
Atletico Madrid head coach, Diego Simeone, has insisted that nobody has personally told him to leave the club.
Rumours have persisted that Simeone, 52, could be set to end this 11-year stay at Atletico Madrid at the end of the season.
However, the Argentine has now stated that no one at the club has asked him to quit the La Liga giants.
Speaking at his pre-match press conference ahead of Atletico Madrid's Copa del Rey tie with Levante on Wednesday night, Simeone said when asked about reports suggesting he would leave the club at the end of the season: "No one has personally asked me to leave."
However, having already been eliminated from UEFA Champions League and sitting 13 points behind leaders Barcelona in the La Liga table, the Copa del Rey is Atletico Madrid's last realistic opportunity for a trophy this season.
It has been a disappointing campaign for Simeone's side, as they sit fourth in the league.
Simeone added, "The boys are enthusiastic to reverse this situation that we have experienced since the break and prior to the World Cup. It's been a regular to a bad season. For me, there is growth after the break, hopefully, we will continue in that line."
ALSO READ Alexander Isak: Newcastle close to agreeing club-record £58m deal with Real Sociedad for striker
EPL: Frank Lampard won't run away – Shaun Wright-Phillips
Former Chelsea player, Shaun Wright-Phillips has backed his former teammate, Frank Lampard to stay at Goodison Park and turn things around.
Wright-Phillips said his former team-mate does not run away from challenges such as Everton is facing now but would face them squarely
Lampard is in danger of being sacked any moment from now after yet another defeat on Friday.
Everton crashed out of the FA Cup on Friday after they were beaten 3-1 by Manchester United at Old Trafford
Frank Lampard has now led Toffees to six defeats in their last seven matches and they have also crashed out of the Carabao Cup and are currently 18th in the Premier League.
"Frank Lampard has always been a player and a person that won't run away from things not going well," Wright-Phillips told the BBC.
"He is the type of person to try and solve it or try and make the situation a lot better…"
ALSO READ EPL: Pundits continue to praise Pickford in Everton vs Liverpool clash

redpajama_set_name: RedPajamaCommonCrawl


text:
Tag: The Wager: A Romantic Comedy As Christian Allegory
The Wager: A Romantic Comedy as Christian Allegory #bookreview
Title: The Wager: A Romantic Comedy By Christian Allegor y
Author: Mike Brister
Print Length: 284
Publisher: Michael E. Brister
Sold by Amazon Digital Services LLC
Formats: Kindle, Paperback
Genres: Christian Fiction, Romance, Comedy
The Wager is written as a cross between a romance novel and a play. We meet two very distinct characters and we quickly fall in love with them. Sarah Dumont is a famous actress, rich, grew up in a prominent family as the oldest child. Because of her status, she is driven, focused, and pretty much snotty. Matt Shepard is not rich, who was the youngest child growing up on a farm. Matt is working hard at putting pieces of his life back together, friendly and sly.
The two meet based on a wager: Sarah is challenged that she wouldn't be able to earn Matt's attention. Sarah's first intention was to have him make furniture for her in LA. Then when the wager is made, I felt like something was missing within the story line. Sarah wants furniture, then the woman tells her Matt wouldn't meet with her no matter. From there, it seems Sarah's immediately offended being told she wouldn't be able to get Matt out on a date. I felt I needed something more to explain.
When they finally do meet, from there on, the two personalities clash and are full of hilarious banter. You can't help but love them. I also love the use of Doodle, Matt's dog, in the story. It only made me love Matt all the more. I found him to be very charismatic and charming.
The writing style flowed nicely. The only thing I wasn't too fond of was that the narrative repeated pieces of the dialogue and vice versa. Having to read too much repetition made me skim more than I'd like. However, it was easy to get the feel of the southern accent. Whether you're Midwestern, southern, northern or from Mars, readers will find themselves slipping into a southern accent.
Sometimes it was difficult for me to gather the feelings of the characters but I think it's really up to the reader. After reading parts of the scene, I would go back and reread in order for me to get the sense of how they felt during the incident. I feel this is primarily due to the fact that it's more of a play (or movie/TV script).
Regardless of the few "negatives," I thoroughly enjoyed the read. It had humor, it had tears, it had love, and of course, a hidden moral to the story.
Overall Rating: 4 out of 5 stars
For more reviews, visit: Angela Kay's Book Reviews
Mike Brister was born in Jackson, Mississippi, in 1952. His father worked for the Illinois Central Railroad and in 1955 was transferred to New Orleans, Louisiana. This began a lifelong relationship with one of the most unique cities in the world. Eventually, the family would return to Jackson.
Mike received degrees in mathematics and spent his working career as a consulting actuary. Now retired, he has written his first novel. He has made numerous trips to Haiti and plans more. The hope is that the novel is a fun read and allows for the purchase of goats for families in Haiti.
Author AngelaKaysBooksPosted on April 30, 2017 April 29, 2017 Categories Book ReviewsTags Amazon, Book Review, Christian, Comedy, Fiction, Kindle, Mike Brister, Romance, The Wager: A Romantic Comedy As Christian Allegory2 Comments on The Wager: A Romantic Comedy as Christian Allegory #bookreview


We are recognized as one of the leading manufacturers and suppliers of Store Container Cabins. These are widely acclaimed by the customers for their corrosion resistance, sturdy construction, longer service life and easy fitting. Our containers are designed and manufactured using high-grade raw material, which is sourced from the reliable and certified vendors of the market. In addition to this, we provide customization for our Store Container Cabins to fulfill the demands and needs of customers.


After I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I get 4 emails with the exact same comment. There has to be a means you are able to remove me from that service? Kudos!
Hello everyone, it's my first pay a quick visit at this site, and paragraph is in fact fruitful designed for me, keep up posting such articles.
Having read this I thought it was rather informative. I appreciate you spending some time and energy to put this article together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worth it!


text:
Maple Grove Results 2019
On Sunday June 2nd, 2019 our JayCee Enterprises sponsored Heritage Series had its first race at the acclaimed Maple Grove Raceway in Mohnton, PA. The weather forecast had some projected rain showers later that afternoon so it was decided that we would opt to go with 1 qualifying session in all classes and head straight into eliminations.
The day started with our Rancho Performance Transaxles sponsored I/GAS class. Our 2018 defending champion Eric Hengstenberger made the long drive from Akron, OH to defend his championship against some of the east coast's best racers. Even a few from down south such as Adam Dalton from North Carolina made the trip to Maple Grove. At the end of the day Nelson Rodriguez Sr. from New Jersey was the last man standing and took home the win and points lead when Eric Hengstenberger was shut off from an oil leak. In 2015 Nelson finished 2nd in the points chase and he's focusing his attention to capturing that title this season.
In our Island Dub sponsored A/GAS class at the end of qualifying it was Stephen Hawes sitting #1 with a 9.002 @ 152mph. At the conclusion of Round 1 it was defending champion Ricardo Tolay taking the win over Austin Johnson III with a blistering 8.630 @ 176mph. Stephen Hawes had a bye run and ran an 8.625 @ 162mph. The way the ladder was broken down these two could possibly meet in the finals. Mike Pauciullo took the win over Zach Martin and Reggie Lee took the win over Kirk Adams.
In the semi's it was an ugly round as Ricardo coasted down the track after Mike P. was unable to restart his car after the burnout. Stephen and Reggie had an exciting Round 2 as both cars came towards the center line and both lifted. Stephen got back into it and cruise to the win as Reggie shut the car down. The final round had the 2 fastest cars on the property meeting up as Stephen and Ricardo squared off for their highly anticipated race. Stephen had the jump off the line with a better reaction time but as the car approached the center line, he peddled it twice, just as that happened Ricardo drove by, but shortly after 3rd gear Ricardo's transmission failed, and he was coasting to the finish line. Stephen got back in it and was chasing Ricardo down but came up short by .024 of a second. Just as Ricardo's win light came on a HUGE puff of smoke came from Stephen's car as an oil plug came loose and slung oil everywhere. Luckily the car came to a safe stop and the oil fire was extinguished. Congratulations to Ricardo on his first win of the season and taking the points lead by 8 points over Stephen Hawes.
Our next race is Waterfest on July 20-21 and will be featuring the Island Dub A/GAS class. The next event that features I/GAS will be the Vw Nationals at Mason Dixon on August 3rd.


A day earlier the Bundesbank had fired its own volley, condemning the ECB's bond purchases and warning the EU is drifting towards debt union without "democratic legitimacy" or treaty backing.
Joahannes Singhammer, leader of the CSU's Bundestag group, accused the ECB of acting "dangerously" by jumping the gun before parliaments had voted. The ECB is implicitly acting on behalf of the rescue fund until it is ratified.
A CSU document to be released on Monday flatly rebuts the latest accord between Chancellor Merkel and French president Nicholas Sarkozy, saying plans for an "economic government for eurozone states" are unacceptable. It demands treaty changes to let EMU states go bankrupt, and to eject them from the euro altogether for serial abuses.
"An unlimited transfer union and pooling of debts for any length of time would imply a shared financial government and decisively change the character of a European confederation of states," said the draft, obtained by Der Spiegel.
Mrs Merkel faces mutiny even within her own Christian Democrat (CDU) family. Wolfgang Bossbach, the spokesman for internal affairs, said he would oppose the package. "I can't vote against my own conviction," he said.
The Bundestag is expected to decide late next month on the package, which empowers the EFSF to buy bonds pre-emptively and recapitalize banks. While the bill is likely to pass, the furious debate leaves no doubt that Germany will resist moves to boost the EFSF's firepower yet further. Most City banks say the fund needs €2 trillion to stop the crisis engulfing Spain and Italy.
Mrs Merkel's aides say she is facing "war on every front". The next month will decide her future, Germany's destiny, and the fate of monetary union.


Update your little one's casual clothing collection with the Logo sweat pants by Kenzo. These stylish joggers have a large branding feature to one leg, branded drawstring fastenings, a pocket to the back, plus a ribbed waistband and cuffs. Complete the outfit with a plain white tshirt and trainers for a contemporary casual look.


There are hundreds of insurance companies for you to consider when searching for an insurance opportunity so why should you choose Juggernaut Financial? We believe that a position with Juggernaut Financial is an opportunity of a lifetime.
We're a leader in the supplemental insurance industry with a rich history, a solid financial base and a bright future ahead of us. We offer exciting insurance opportunities with unlimited potential for growth and a merit-based system of advancement.
As we continue to grow, we are looking for successful people to become Juggernaut Financial sales representatives and leaders. Talented people in our sales team help us maintain our position as an industry leader in supplemental insurance.
Diverse perspectives and experiences are a welcome part of our culture. Our employees/independent contractors make a difference and we are committed to encouraging a diverse workforce because we recognize how diversity benefits both our company and our customers.
With Juggernaut Financial, you have the opportunity to set your own schedule. We give you the freedom to set appointments where-ever and whenever you want. This is a perfect waay to earn some extra income while you have other commitments.


text:
World War II Ten Most Important Events
Timeline created by selayden
Period: Aug 1, 1939 to Sep 1, 1945
WWII Major Events
Invasion of Poland Marks Beginning of WWII
Hitler blitzkrieged Poland and Russia attacked Poland from east. Hitler's troops invaded from north, south, and west. Poland awaited backup from Britain and France, but recieved very little. This marked the beginning of World War II. Because Britain and France both had pacts with Poland, they declared war on Germany.
Operation Sea lion was Germany's strategy for attacking Britain. The German Luftwaffe (Airforce) would attack the Royal Air Force. The UK used radar to figure out where the Germans would attack from. While the UK lost 1,000 planes, the Germans lost 1,700. The Germans bombed everything they could, but ultimately radar saved the UK from falling to Germany.
Germany Invades USSR Opening Eastern Front
Germanny attacked Russia in June of 1941. Hitler sent three armies into Russia to the north, east, and south. Hitler would not let his men surrender, and most of them died during the brutal winter and from starvation and disease. 91,000 men surrendered to the USSR in 1943, but only 5,000 would ever return to Germany. This attack led to the opening of the eastern front of the war.
Japan Bombs Pearl Harbor and FDR Declares War
Japan attacked the US naval base at Pearl Harbor. They attacked in two waves. The first wave was the main attack to take out ships and airfield. The second wave they would finish off whatever was left. The objective was to prevent US from influencing Japan's war effort in southeast Asia. This attack led to FDR asking congress to declare war on Japan on December 8,1941.
Bataan Death March and Japan takes Philippines
Douglas MacArthur was commander of US forces in Asia. He miscalculated the strength of Japan and had to retreat to the Bataan Penninsula. Mac Arthur retreated to Australia, but he left his US troops behind. Japanese took Philippines and most US forces surrendered. Japan forced US troops to march 55 miles and more than 7,000 died.
Battle of Stalingrad
Stalingrad was the turning point of the war in Europe. It ended any realistic plans of Hitler dominating Europe. Soviet troops forced Nazi armies to retreat toward Germany. The USSR went on the offensive after Germany's attack. This opened the eastern front of the war.
Allies Drive Germans out of North Africa
The British had been fighting the Germans and Italians in North Africa since 1940. Forcing Germany out of North Africa would provide the Allies with an opportunity to invade Italy. In 1943, George S. Patton (US tank commander) defeated Rommel (German tank commander). 240,000 Germans and Italians surrendered. This provided a way for the Allies to invade mainland Europe through southern Italy.
The D-Day invasion was officially called Operation Overlord and involved landing 21 American divisions and 26 Polish, British, and Canadian divisions on a 50-mile stretch of beaches in Normandy, France. The Allies created a fake army of wood and cardboard tanks and ships to convince the Germans that the invasion would come to Calais and not in Normandy. Hitler sent his divisions to Calais and the Allies invaded France. This gave the Allies a foothold in Europe.
Hitler's "thousand year reich" or the third reich ended, lasting only 12 years. On May 7, Germany surrendered in a French schoolhouse that had acted as Eisenhower's headquarters. Americans celebrated Victory in Europe Day. FDR passed a few weeks prior and Harry S. Truman would see the US through the war. At this point, the end of the war was close in sight.
Atomic Bomb Dropped on Hiroshima and Nagasaki Three Days Later
After relentlessly bombing Japan, they would still not surrender. Truman decided to use the atomic bomb to spare the American lives that would have been lost should we have chosen to invade Japan on foot. On August 6, 1945, US pilots dropped an atomic bomb on Hiroshima. The USSR declared war on Japan three days later, and the US dropped a second atomic bomb on Nagasaki. The Japanese finally surrendered.
EVOLUCIÓN HISTÓRICA DEL CONSTITUCIONALISMO
Temas 2, 3 y 4
Historia de la Educación Especial, Diversidad y Inclusión Social.
Valentin la 40
ADMINISTRACIÓN CIENTIFICA -II GUERRA MUNDIAL
Российские императоры
PERIODO ENTRE GUERRAS
The Magnus Archives Timeline
Ligne du temps récapitulative -Rosane,Mariam-
Histoire de la robotique
"ANTECEDENTES HISTÓRICOS DEL COMERCIO EXTERIOR EN MÉXICO".
Acontecimientos relevantes de México
Groupe 301 / Noms: Antony Sedhom - Iliya Azizi Dolati
Antecedentes del Derecho Colectivo de Trabajo
History of Special Education and Inclusive Education Timeline
MÉXICO SIN FRONTERAS ECONÓMICAS
The Other Wes Moore Timeline
Historical Events from 1844 to 1877
HISTORIA TELESALUD
Pittsburgh Steelers Super Bowl appearances
Agricultural Inventions In The Industrial Revolution
Los 10 sucesos mas importantes de la globalización
Queen Elizabeth I's Top 10 Moments
10 Major Events; The Crucible
Communications Technology Timeline
Events in Night
Evolution of Cheerleading Uniforms
La línea del tiempo sobre la evolución histórica de la educación especial.


Colombo (News 1st): Residents of many urban areas were burdened with the intermittent water and power cuts. This is a report on how these irregular power and water cuts have taken a toll on the general public.
Water cuts in Colombo and suburbs severely affected the public. While residents of Colombo face such difficulties, people living in Kalutara, Wadduwa, and Benthara are inconvenienced due to high levels of salinity in drinking water. Sand mining in the Kalu Ganga has been identified as the main cause.
Residents note that the mouth of the river was approximately 100 feet, but now it's more than 1 kilometre, resulting in salt water flowing upward and mixing with river water. They note if they open a tap connected to this line, they only receive salt water.
Meanwhile, its been 18 days since the people have been inconvenienced due to power cuts. The public, as well as small and medium businesses, are severely inconvenienced due to the continuous power shortages.
Locals from several areas charge that power is being cut for a longer period than what was informed by the Ceylon Electricity Board.
When inquiries were made from the CEB, a senior officer of the board stated that daily power cuts may increase further. The officer stated that they hope to supply uninterrupted power between April 13th and 20th.
However, Minister of Power and Energy Ravi Karunanayake speaking regarding the issue noted that they will end the power cuts from the 10th of this month. He apologized to the public for the inconveniences caused and took the responsibility of ensuring that such an issue will not take place again in the future. He also requested that electricity be conserved.


text:
Air Traffic Controller Salary in Maryland
How much does an Air Traffic Controller make in Maryland? The average Air Traffic Controller salary in Maryland is $81,568 as of December 28, 2020, but the range typically falls between $66,837 and $100,395. Salary ranges can vary widely depending on the city and many other important factors, including education, certifications, additional skills, the number of years you have spent in your profession.
How to Become a Controller
Salary range for a Air Traffic Controller
Adjust Air Traffic Controller Salary:
Select City in MD
View Cost of Living in Maryland
Air traffic controllers often abbreviated ATC are personnel responsible for the safe, orderly, and expeditious flow of air traffic in the global air traffic control system. Usually stationed in air traffic control centers and control towers on the ground, they monitor the position, speed, and altitude of aircraft in their assigned airspace visually and by radar, and give directions to the pilots by radio. The position of Air Traffic Controller is one that requires highly specialized knowledge, skills, and abilities. Controllers apply separation rules to keep aircraft at a safe distance from ...
See user submitted job responsibilities for Air Traffic Controller.
Select a city to view specific salary and bonus information for Air Traffic Controller
Air Traffic Controller's Average Annual Base Salary
Location Dundalk, MD Avg. Salary $81,326 Date Updated December 28, 2020
Location Abell, MD Avg. Salary $87,671 Date Updated December 28, 2020
Location Aberdeen, MD Avg. Salary $80,104 Date Updated December 28, 2020
Location Aberdeen Proving Ground, MD Avg. Salary $80,637 Date Updated December 28, 2020
Location Abingdon, MD Avg. Salary $79,961 Date Updated December 28, 2020
Location Accident, MD Avg. Salary $72,592 Date Updated December 28, 2020
Location Accokeek, MD Avg. Salary $87,908 Date Updated December 28, 2020
Location Adamstown, MD Avg. Salary $85,986 Date Updated December 28, 2020
Location Allen, MD Avg. Salary $84,333 Date Updated December 28, 2020
Location Andrews Air Force Base, MD Avg. Salary $88,040 Date Updated December 28, 2020
Search Air Traffic Controller Job Openings
Job Openings for Air Traffic Controller in Maryland
Software Engineer - Air Traffic
Leidos - Gaithersburg , MD
Software Engineer -- Air Traffic Leidos is seeking a Software Engineer who will be a member of a ... among: controllers, aircraft operators, and airports so they can better stage arrivals and ...
Appcast Agency - 10 days ago
Air Traffic Control Operator (15Q)
Army National Guard - Kingsville , MD
Take control of the skies as an Air Traffic Control Operator for The Army National Guard! You will utilize your organizational skills to track planes and helicopters, and ensure safe flight ...
LinkUp - 81 days ago
Production Planning and Scheduler 3/4 Machine Shop
Northrop Grumman - Elkton , MD
... ensure a controlled flow in order to meet the production schedules. Advises management of the ... control, traffic, etc.; schedules and expedites the movement of parts. Qualifications: This ...
Northrop Grumman - 49 days ago
What does an Air Traffic Controller do?
Review the links below to determine the equivalent AcqDemo salary levels for your application.
Develop skills required to operate all equipment to provide service to pilots.
Shift work and emergency overtime may be required.
Assist in the installation/relocation of tactical air traffic control facilities.
Contact with other agencies is required to exchange general information, to brief particular operational needs, and to review procedures after the completion of Range operations.
Understanding of civilian and military technology that tracks military aircraft (CivMilAir, Flight Aware).
Controllers need to be able to prioritize tasks, as they may be required to guide several pilots at the same time and provide assistance during emergencies.
About Maryland
Maryland (US: /ˈmɛrələnd/ (listen) MERR-əl-ənd) is a state in the Mid-Atlantic region of the United States, bordering Virginia, West Virginia, and the District of Columbia to its south and west; Pennsylvania to its north; and Delaware to its east. The state's largest city is Baltimore, and its capital is Annapolis. Among its occasional nicknames are Old Line State, the Free State, and the Chesapeake Bay State. It is named after the English queen Henrietta Maria, known in England as Queen Mary. Sixteen of Maryland's twenty-three counties border the tidal waters of the Chesapeake Bay estuary and...
Air Traffic Controller Salaries in Washington, District of Columbia
Air Traffic Controller Salaries in Wilmington, Delaware
Air Traffic Controller Salaries in Altoona, Pennsylvania
Air Traffic Controller Salaries in Johnstown, Pennsylvania
Air Traffic Controller Salaries in Virginia Beach, Virginia
Most Popular Cities for Air Traffic Controller Job
Poughkeepsie, NY Air Traffic Controller
Baltimore, MD Air Traffic Controller
Washington, DC Air Traffic Controller
Boston, MA Air Traffic Controller
Burlington, VT Air Traffic Controller
New York, NY Air Traffic Controller
Hempstead, NY Air Traffic Controller
Norfolk, VA Air Traffic Controller
Allentown, PA Air Traffic Controller
Chicago, IL Air Traffic Controller
About Maryland Maryland (US: /ˈmɛrələnd/ (listen) MERR-əl-ənd) is a state in the Mid-Atlantic region of the United States, bordering Virginia, West Virginia, and the....More


We often think of Cinco de Mayo as the Mexican 4th of July. When it really was the day that the poor Mexican people bettered the rich and powerful French.
After four years of civil war, Mexico owed millions in foreign debt. President Benito Juarez suspended payments of those debts for two years so that they could recover. Napoleon III took advantage and sent almost 6,000 highly trained and well equipped soldiers to secure said debt, yet on May 5th, 1862 the brave, unorganized fighters of Mexico crushed that French Army at The Battle of Puebla, probably yelling Arriba… Up… Onward!
Because we were devastated by our own Civil War and according to scholars and historians, the French planned to use Mexico as a base to help the Confederates against the Union Soldiers and IF THEY HAD we would live in a very different society today. Mexican guerilla freedom fighters continued to harass the French and in doing so, they thwarted French plans to INVADE our country.
So go out and party, celebrate! Have some tacos, fajitas, a margarita or two, and maybe thank a Mexican person because without their persistence we might be a United States of France.


text:
Q: Pass environment variable to dockerfile build I am trying to create a service consisting of a web server and database all in docker containers. Currently I am trying to create same environment file for both of them that would contain database credentials. Unfortunatelly, when I try to build database with it, it turns out that they are empty. How can I create a project with single environment file for both components? Here is my docker-compose.yml:
version: '2'

services:
  db:
    build:
      context: .
      dockerfile: Dockerfile-db
    ports:
      - '5433:5432'
    env_file:
      - env
  web:
    build: .
    ports:
      - '8000:8000'
    command: venv/bin/python manage.py runserver 0.0.0.0:8000
    depends_on:
      - db
    env_file:
      - env

Here is part of my Dockerfile-db file responsible for creating database:
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y postgresql-9.5-postgis-2.2

USER postgres

ARG DB_PASSWORD
ARG DB_NAME

RUN echo $DB_PASSWORD

RUN /etc/init.d/postgresql start && \
    psql --command "ALTER USER postgres WITH PASSWORD '$DB_PASSWORD';" && \
    psql --command "CREATE DATABASE $DB_NAME;" && \
    psql --command "\\c $DB_NAME" && \
    psql --command "CREATE EXTENSION postgis;" && \
    psql --command "CREATE EXTENSION postgis_topology;"

And my env file has following structure:
DB_NAME=some_name
DB_USER=postgres
DB_PASSWORD=some_password
DB_HOST=db
DB_PORT=5432

A: The environment file is not part of the build process, it is used when running the container.
You need to use build-args. In docker-compose you can specify build args in the file:
build:
  context: .
  dockerfile: Dockerfile-db
  args:
    DB_NAME: some_name
    DB_USER: postgress
    ...

This might not be a good idea if you want to publish the composefile, as you are storing credentials in it. You can explicitly build and pass --build-arg
docker-compose build --build-arg DB_NAME= some_name ...

And when running specify no build in docker-compose run --no-build
Update:
As suggested by @gonczor, a shorter and cleaner syntax to use pass the env file as build args is:
docker-compose build --build-args $(cat envfile)

A: Your configuration is correct, it seems like you may not be passing the actual path or the name of the .env file. Have you tried the following (assuming your .env file is in the same directory).
version: '2'

services:
  db:
    build:
      context: .
      dockerfile: Dockerfile-db
    ports:
      - '5433:5432'
    env_file:
      - ./.env
  web:
    build: .
    ports:
      - '8000:8000'
    command: venv/bin/python manage.py runserver 0.0.0.0:8000
    depends_on:
      - db
    env_file:
      - ./.env

redpajama_set_name: RedPajamaStackExchange


text:
Grants and Sponsored Programs Administration
Grants Administration Sitemap
Grant Forward This is a web-based searchable database for federal and foundation funding opportunities that SOU subscribes to. Create a user profile to customize funding searches based on your professional activity and interests.
Department of Education Forecast of Funding This document lists virtually all programs and competitions under which the Department of Education has invited or expects to invite applications.
Federal Resources for Educational Excellence (FREE) More than 30 Federal agencies formed a working group in 1997 to make hundreds of federally supported teaching and learning resources easier to find.
The Foundation Center Established in 1956, and today supported by more than 600 foundations, the Foundation Center is a leading authority on philanthropy, connecting nonprofits and grantmakers to tools and information. The Center also operates research, education, and training programs.
Grants.gov Grants.gov is the online source to find and apply for Federal government grants. There are over 1,000 grant programs offered by Federal grant making agencies. All discretionary grants offered by the 26 Federal grant-making agencies and access to approximately $400 billion in annual awards can be found on Grants.gov. You do not have to register with Grants.gov to find grant opportunities.
National Science Foundation The National Science Foundation funds research and education in most fields of science and engineering. It does this through grants, and cooperative agreements to more than 2,000 colleges, universities, K-12 school systems, businesses, informal science organizations and other research organizations throughout the United States. The Foundation accounts for about one-fourth of federal support to academic institutions for basic research.
NSF FastLane FastLane is the National Science Foundation (NSF) online website used to conduct relationships with researchers, potential researchers, reviewers, research administrators, and organizations. FastLane is an interactive real-time system in which you can prepare and submit proposals, administer projects, and prepare reports. To prepare and submit proposals you must register with FastLane. Complete the Fastlane PIN Information form and send to Marie Trammell as an e-mail attachment at trammellj@sou.edu. Hard copies may be delivered to CS 234.


Goodbye 2009! Ring in the New Year with our new January math activities calendar, and all the wacky holidays and fantastic math activities that come along with it. What are your New Year's resolutions? Here at DreamBox, we start each year with the goal of making learning math fun and a part of every day life.
This year marks the debut of a brand new decade. Your kids counted down the hours and minutes until the clock struck midnight and 2010 officially started – even if they were probably long asleep when it happened. What year will the next decade start and how old will everyone in the family be? How many years will it be before midnight is not after bedtime?
Just because we said "adios" to December doesn't mean winter is over yet. Freezing temperatures, falling snow, and fantastic wintry math games are on their way! Measure the inches of new snow with your kids and calculate how fast it melts. Learn why frost forms on the windows in the winter and draw designs in it with your pinkie or a pencil eraser. January 13 is National Cocoa Day, so stay warm inside with steaming mugs of hot chocolate. See how many marshmallows fit without spilling.
Have a happy New Year with our free January calendar and keep cozy with a month bundled full of fun math activities.


Business owners throughout Texas are aware that Omega Masonry is the one to call if you're looking for Brick Repair in Richardson, TX, what many locals don't know is that OmegaMasonry.Com it's also your best choice if you are looking for a historic cast stone repair company in Lakewood, TX!
Employing a Cast Stone Mending Contractor in Lakewood.
Cast-stone is wonderful but that doesn't mean it should be able to stay in great shape year-round. Several property owners notice a declining asset as they consider the outside of their property. This happens frequently and it's a horrible thing to look into.
People who wish to make sure they are getting cast-stone repair company professionals that are proficient at the projects, it is essential to look at the original merits. These qualities will certainly aid in figuring things out and making sure that the cast-stone is managed correctly.
The initial quality is going to be the trustworthiness of this business and what it is able to bring to the table. No one wants to choose a team who could be incompetent or does not have the capability to work these kinds of jobs. This is one of those items people are able to feel confident about without plenty of hassle.
Recent Article Related To Hiring a Cast Stone Restoring Company in Lakewood.
When you are looking to hire someone to build or renovate your home, majority of the time, you think about a contractor, architect, and/or carpenter. It is rare for people to say, "I need a stonemason." This is because stonemasons are still an overlooked resource among homeowners. But in actuality, even the simplest stone feature can significantly enhance a space. Stone masonry can take on many forms, including installations that are mortared, slid and load-baring. However, there are also those that are simply used for aesthetic purposes.
If you hire a stone masonry contractor, they will be able to assess your property and provide proposals on how you can use stone masonry to improve the quality of your home as well as enhance its curb appeal. With that said, there are some common stone masonry options to choose from.
Stone masonry projects can be classified in two: stone masonry work vs. stone masonry repair. The most common stone masonry work involves the building of walls, siding, chimneys, patios, and walkways. As for the common masonry repair jobs, this involves fixing cracks, rebuilding compromised structures, and replacing mortar.
Interior stone walls. Normally, the installation of a stone wall can be quite expensive. Fortunately, homeowners now have the option of using veneered stone walls for their interior, which costs less. This is because veneered stones are thin blocks of stone that can be either natural or manufactured, and it is only used for the façade, the rest is made out of concrete. Contractors tend to make accent walls using veneer to imitate a vintage-looking brick or stone wall.
Exterior stone walls. This type of stonework tends to be more costly because the suggested type of stone masonry recommended is the mortared stones. This is to ensure that moisture does not go inside the cracks and cause the stone to decay. The good thing though is that this type of stone masonry is durable. With that said, you can still ask your contractor if it's possible to use veneered stone masonry for the exterior also.
Stone siding your home, especially the exterior, tends to raise your property value because it looks beautiful and expensive. Originally, stone sliding used to be very expensive because they were manufactured from real stone and sometimes from flagstone. Fortunately, like the interior walls, you can now use veneer products because the stone siding tends to be more of decorative and protective coverings for the interior and exterior walls.
Chimneys and fireplaces. The installation of a fireplace can be both for aesthetic and functional purposes. When done well, it can serve as the center of your home and can make a strong design impression. Stone fireplaces and chimney can be costly, but it will definitely be worth the investment.
Patios and walkways. With this element, your front and backyard can be transformed into a beautiful landscape design. Adding stone elements outside will certainly add value and curb appeal to your home.
By hiring a stone masonry contractor, you can have all these beautiful projects done in your own property.
Searches Related To Cast Stone Restoring Contractor in Lakewood.


text:
Q: Numpy reductions over successive non-contiguous slices Say I have two numpy arrays, A of shape (d, f) and I of shape (d,) containing indices in 0..n, e.g.
I = np.array([0, 0, 1, 0, 2, 1])
A = np.arange(12).reshape(6, 2)

I am looking for a fast way to make reductions, in particular sum, mean and max, over all the slices A[I == i, :]; a slow version would be
results = np.zeros((I.max() + 1, A.shape[1]))
for i in np.unique(I):
    results[i, :] = np.mean(A[I == i, :], axis=0)

which gives in this case
results = [[ 2.66666667,  3.66666667],
           [ 7.        ,  8.        ],
           [ 8.        ,  9.        ]])

EDIT: I did some timings based on Divakar's answer and a previous poster's (deleted) pandas-based answer.
Timing code:
from __future__ import division, print_function
import numpy as np, pandas as pd
from time import time

np.random.seed(0)
d = 500000
f = 500
n = 500
I = np.hstack((np.arange(n), np.random.randint(n, size=(d - n,))))
np.random.shuffle(I)
A = np.random.rand(d, f)

def reduce_naive(A, I, op="avg"):
    target_dtype = (np.float if op=="avg" else A.dtype)
    results = np.zeros((I.max() + 1, A.shape[1]), dtype=target_dtype)
    npop = {"avg": np.mean, "sum": np.sum, "max": np.max}.get(op)
    for i in np.unique(I):
        results[i, :] = npop(A[I == i, :], axis=0)
    return results

def reduce_reduceat(A, I, op="avg"):
    sidx = I.argsort()
    sI = I[sidx]
    sortedA = A[sidx]
    idx = np.r_[ 0, np.flatnonzero(sI[1:] != sI[:-1])+1 ]
    if op == "max":
        return np.maximum.reduceat(sortedA, idx, axis=0)
    sums = np.add.reduceat(sortedA, idx, axis=0)
    if op == "sum":
        return sums
    if op == "avg":
        count = np.r_[idx[1:] - idx[:-1], A.shape[0] - idx[-1]]
        return sums/count.astype(float)[:,None]

def reduce_bincount(A, I, op="avg"):
    ids = (I[:,None] + (I.max()+1)*np.arange(A.shape[1])).ravel()
    sums = np.bincount(ids, A.ravel()).reshape(A.shape[1],-1).T
    if op == "sum":
        return sums
    if op == "avg":
        return sums/np.bincount(ids).reshape(A.shape[1],-1).T

def reduce_pandas(A, I, op="avg"):
    group = pd.concat([pd.DataFrame(A), pd.DataFrame(I, columns=("i",))
                     ], axis=1
                    ).groupby('i')
    if op == "sum":
        return group.sum().values
    if op == "avg":
        return group.mean().values
    if op == "max":
        return group.max().values

def reduce_hybrid(A, I, op="avg"):
    sidx = I.argsort()
    sI = I[sidx]
    sortedA = A[sidx]

    idx = np.r_[ 0, np.flatnonzero(sI[1:] != sI[:-1])+1 ]
    unq_sI = sI[idx]

    m = I.max()+1
    N = A.shape[1]

    target_dtype = (np.float if op=="avg" else A.dtype)
    out = np.zeros((m,N),dtype=target_dtype)
    ss_idx = np.r_[idx,A.shape[0]]

    npop = {"avg": np.mean, "sum": np.sum, "max": np.max}.get(op)
    for i in range(len(idx)):
        out[unq_sI[i]] = npop(sortedA[ss_idx[i]:ss_idx[i+1]], axis=0)
    return out

for op in ("sum", "avg", "max"):
    for name, method in (("naive   ", reduce_naive),
                         ("reduceat", reduce_reduceat),
                         ("pandas  ", reduce_pandas),
                         ("bincount", reduce_bincount),
                         ("hybrid  ", reduce_hybrid)
                         ("numba   ", reduce_numba)
                        ):
        if op == "max" and name == "bincount":
            continue
        # if name is not "naive":
        #      assert np.allclose(method(A, I, op), reduce_naive(A, I, op))
        times = []
        for tries in range(3):
            time0 = time(); method(A, I, op)
            times.append(time() - time0);
        print(name, op, "{:.2f}".format(np.min(times)))
    print()

Timings:
naive    sum 1.10
reduceat sum 4.62
pandas   sum 5.29
bincount sum 1.54
hybrid   sum 0.62
numba    sum 0.31

naive    avg 1.12
reduceat avg 4.45
pandas   avg 5.23
bincount avg 2.43
hybrid   avg 0.61
numba    avg 0.33

naive    max 1.19
reduceat max 3.18
pandas   max 5.24
hybrid   max 0.72
numba    max 0.34

(I chose d and n as typical values for my use case - I have added the code for numba-versions in my answer).

A: Approach #1 : Using NumPy ufunc reduceat
We have ufuncs for those three reduction operations and luckily we also have  ufunc.reduceat to perform those reductions limited at particular intervals along an axis. So, using those, we would have those three operations computed like so -
# Gives us sorted array based on input indices I and indices at which the
# sorted array should be interval-limited for reduceat operations to be
# applied later on using those results
def sorted_array_intervals(A, I):
    # Compute sort indices for I. To be later used for sorting A based on it.
    sidx = I.argsort()
    sI = I[sidx]
    sortedA = A[sidx]

    # Get indices at which intervals change. Also, get count in each interval
    idx = np.r_[ 0, np.flatnonzero(sI[1:] != sI[:-1])+1 ]
    return sortedA, idx

# Groupby sum reduction using the interval indices
# to perform interval-limited ufunc reductions
def groupby_sum(A, I):
    sortedA, idx = sorted_array_intervals(A,I)
    return np.add.reduceat(sortedA, idx, axis=0)

# Groupby mean reduction
def groupby_mean(A, I):
    sortedA, idx = sorted_array_intervals(A,I)
    sums = np.add.reduceat(sortedA, idx, axis=0)
    count = np.r_[idx[1:] - idx[:-1], A.shape[0] - idx[-1]]
    return sums/count.astype(float)[:,None]

# Groupby max reduction
def groupby_max(A, I):
    sortedA, idx = sorted_array_intervals(A,I)
    return np.maximum.reduceat(sortedA, idx, axis=0)

Thus, if we need all those operations, we could reuse with one instance of sorted_array_intervals, like so -
def groupby_sum_mean_max(A, I):
    sortedA, idx = sorted_array_intervals(A,I)
    sums = np.add.reduceat(sortedA, idx, axis=0)
    count = np.r_[idx[1:] - idx[:-1], A.shape[0] - idx[-1]]
    avgs = sums/count.astype(float)[:,None]
    maxs = np.maximum.reduceat(sortedA, idx, axis=0)
    return sums, avgs, maxs

Approach #1-B : Hybrid version (sort + slice + reduce)
Here's a hybrid version that does takes help from sorted_array_intervals to get the sorted array and the indices at which the intervals change into the next group, but at the last stage uses slicing to sum each interval and does this iteratively for each of the groups. The slicing helps here as we are working with views.
The implementation would look something like this -
def reduce_hybrid(A, I, op="avg"):
    sidx = I.argsort()
    sI = I[sidx]
    sortedA = A[sidx]

    # Get indices at which intervals change. Also, get count in each interval
    idx = np.r_[ 0, np.flatnonzero(sI[1:] != sI[:-1])+1 ]
    unq_sI = sI[idx]

    m = I.max()+1
    N = A.shape[1]

    target_dtype = (np.float if op=="avg" else A.dtype)
    out = np.zeros((m,N),dtype=target_dtype)
    ss_idx = np.r_[idx,A.shape[0]]

    npop = {"avg": np.mean, "sum": np.sum, "max": np.max}.get(op)
    for i in range(len(idx)):
        out[unq_sI[i]] = npop(sortedA[ss_idx[i]:ss_idx[i+1]], axis=0)
    return out

Runtime test (Using the setup from the benchmarks posted in the question) -
In [432]: d = 500000
     ...: f = 500
     ...: n = 500
     ...: I = np.hstack((np.arange(n), np.random.randint(n, size=(d - n,))))
     ...: np.random.shuffle(I)
     ...: A = np.random.rand(d, f)
     ...:

In [433]: %timeit reduce_naive(A, I, op="sum")
     ...: %timeit reduce_hybrid(A, I, op="sum")
     ...:
1 loops, best of 3: 1.03 s per loop
1 loops, best of 3: 549 ms per loop

In [434]: %timeit reduce_naive(A, I, op="avg")
     ...: %timeit reduce_hybrid(A, I, op="avg")
     ...:
1 loops, best of 3: 1.04 s per loop
1 loops, best of 3: 550 ms per loop

In [435]: %timeit reduce_naive(A, I, op="max")
     ...: %timeit reduce_hybrid(A, I, op="max")
     ...:
1 loops, best of 3: 1.14 s per loop
1 loops, best of 3: 631 ms per loop

Approach #2 : Using NumPy bincount
Here's another approach using np.bincount that does bin-based summing. So, with it, we could compute the sum and average values and also avoid sorting in the process, like so -
ids = (I[:,None] + (I.max()+1)*np.arange(A.shape[1])).ravel()
sums = np.bincount(ids, A.ravel()).reshape(A.shape[1],-1).T
avgs = sums/np.bincount(ids).reshape(A.shape[1],-1).T

A: Using the python/numpy jit compiler Numba I was able to get shorter timings with just-in-time compilation of the intuitive linear algorithm:
from numba import jit

@jit
def reducenb_avg(A, I):
    d, f = A.shape
    n = I.max() + 1
    result = np.zeros((n, f), np.float)
    count = np.zeros((n, 1), int)
    for i in range(d):
        result[I[i], :] += A[i]
        count[I[i], 0] += 1
    return result/count

@jit
def reducenb_sum(A, I):
    d, f = A.shape
    n = I.max() + 1
    result = np.zeros((n, f), A.dtype)
    for i in range(d):
        result[I[i], :] += A[i]
    return result

@jit
def reducenb_max(A, I):
    d, f = A.shape
    n = I.max() + 1
    result = -np.inf * np.ones((n, f))
    count = np.zeros((n, f))
    for i in range(d):
        result[I[i], :] = np.maximum(A[i], result[I[i], :])
    return result

def reduce_numba(A, I, op="avg"):
    return {"sum": reducenb_sum, "avg": reducenb_avg, "max": reducenb_max}.get(op)(A, I)

On the benchmark problem, these finish in ~0.32s, about half of the time of pure numpy sorting-based methods.

A: Another tool that can be used for this is the unbuffered add.at:
def add_at(I,A):
    n = I.max() + 1
    res = np.zeros((n,A.shape[1]))
    cnt = np.zeros((n,1))
    np.add.at(res, I, A)
    np.add.at(cnt, I, 1)
    return res/cnt

(It's quite close in structure the numba reducenb_avg)
In [438]: add_at(I,A)
Out[438]:
array([[ 2.66666667,  3.66666667],
       [ 7.        ,  8.        ],
       [ 8.        ,  9.        ]])

For this small problem it tests well, compared to others, but it does not scale well (going from 3x faster to 12x slower).


text:
Contact us on: s[email protected] or call the hotline: +61 (03) 8623 9900.
Tips and rumours
Tips and rumours: another union questions NUS fees
The University of Adelaide student union voted last week to cease all payments to the National Union of Students, saying the money was spent by "left-wing student hacks to jet-set around around the country and play Prime Minister". The motion's passage will strip NUS of $17,000, Adelaide student rag On Dit reported over the weekend. It's not clear […]
The University of Adelaide student union voted last week to cease all payments to the National Union of Students, saying the money was spent by "left-wing student hacks to jet-set around around the country and play Prime Minister".
The motion's passage will strip NUS of $17,000, Adelaide student rag On Dit reported over the weekend. It's not clear if the uni will be de-affiliated with the peak student body, as the body officially linked to NUS is the Adelaide Uni Students Representative Council (which is an activist body but does not control finances). The SRC strongly opposed the motion, citing NUS' successful campaign against university fee deregulation as proof the NUS represented student interests.
"The Young Liberals on the AUU board want to undermine the organisations that students have to resist, so as to clear the path for the Coalition government to pursue an anti-student agenda," SRC president Tom Gilchrist said in a statement to On Dit.
Affiliation fees to NUS have come under scrutiny in recent years. Last year, Melbourne University's student union halved the amount it was willing to pay the body (to $55,000) after concerns the union was paying too much. What NUS charges each university is not transparent, and the amount differs widely from university to university depending on the size of the student body and its relative wealth. Last year, the body rejected a request from Melbourne University's union to produce a list of its affiliate unions and what they pay in fees, citing "commercial-in-confidence" considerations, according to Farrago.
*Heard anything that might interest Crikey? Send your tips to [email protected] or use our guaranteed anonymous form
National Union of Students
With the grown-ups in charge, are student rags going soft?
Melbourne Uni 'restructure' will cut expertise: staff


The Burmese Immersion Project works directly with refugees from Southeast Asia who reside in Milwaukee, WI. Committed to educational and social enhancement, the Burmese Immersion Project empowers refugees to navigate American society, access resources, and become community leaders.
Copyright © 2019 BIP Milwaukee. All rights reserved.


text:
Q: Socket BUG in Windows 8 Consumer Preview + Visual Studio 11 Developer Preview I am writing an app in Visual Studio 11 Developer Preview and I get this error after the app has run for a while with the reader.InputStreamOptions = InputStreamOptions.Partial; option set:
An unhandled exception of type 'System.Exception' occurred in mscorlib.dll

Additional information: The operation attempted to access data outside the valid range (Exception from HRESULT: 0x8000000B)

The socket can read the stream fine when that option is not set.
Here is the code for reference:
   private StreamSocket tcpClient;
    public string Server = "10.1.10.64";
    public int Port = 6000;
    VideoController vCtrl = new VideoController();
    /// <summary>
    /// Initializes the singleton application object.  This is the first line of authored code
    /// executed, and as such is the logical equivalent of main() or WinMain().
    /// </summary>
   public App()
    {
        tcpClient = new StreamSocket();
        Connect();
        this.InitializeComponent();
        this.Suspending += OnSuspending;
    }

   public async void Connect()
   {
       await tcpClient.ConnectAsync(
                    new Windows.Networking.HostName(Server),
                    Port.ToString(),
                    SocketProtectionLevel.PlainSocket);

       DataReader reader = new DataReader(tcpClient.InputStream);
       Byte[] byteArray = new Byte[1000];
       //reader.InputStreamOptions = InputStreamOptions.Partial;
       while (true)
       {

           await reader.LoadAsync(1000);
           reader.ReadBytes(byteArray);

           // unsafe
           //{
           //   fixed(Byte *fixedByteBuffer = &byteArray[0])
           //  {
           vCtrl.Consume(byteArray);
           vCtrl.Decode();
           // }
           //}
       }

   }

A: InputStreamOptions.Partial means that LoadAsync may complete when less than the requested number of bytes are available. So you can't necessarily read the full requested buffer size.
Try this:
public async void Connect()
{
  await tcpClient.ConnectAsync(
      new Windows.Networking.HostName(Server),
      Port.ToString(),
      SocketProtectionLevel.PlainSocket);

  DataReader reader = new DataReader(tcpClient.InputStream);
  reader.InputStreamOptions = InputStreamOptions.Partial;
  while (true)
  {
    var bytesAvailable = await reader.LoadAsync(1000);
    var byteArray = new byte[bytesAvailable];
    reader.ReadBytes(byteArray);

    // unsafe
    //{
    //   fixed(Byte *fixedByteBuffer = &byteArray[0])
    //  {
    vCtrl.Consume(byteArray);
    vCtrl.Decode();
    // }
    //}
  }
}

BTW, the proper place to report Microsoft bugs is Microsoft Connect.


Our God is a gracious, loving dad who continues to save and adopt more kids into his family. Though none of us has picture-perfect families, Jesus is at work reconciling us to God as sons and daughters and to one another as brothers and sisters.
In this sermon series, Pastor looks at Jesus' prayer life, specifically three of His prayers, and teaches us how we can pray like Jesus, our perfect example of prayer.
What happens when a wealthy benefactor funds a costly and lengthy investigation by an educated medical doctor and historian of the life of a man who claimed to be God? The Gospel of Luke.


text:
of my mind
PreviousHome
ExploreTimelineTopicsLocationsTitlesMost Popular PostsContact Me
Howdy! I'm Paul S. Cilwa: writer, instructor, traveler, photographer, singer, and all-round experiencer. This is a place where I can ruminate at will on politics, religion, spirituality, and my private life…You know, all those topics we aren't supposed to discuss in public!
Send Comment!
Buying Me A Gift?
If You Like My Site
You'll Probably Like My Books
People are dying to join!
Be one of the dozens who couldn't put this book down!
She's coming in the night.
She's coming for you.
Highly Recommended Sites
High Mountain Ranch
Michael's Hands
The Anomolist
The ONA Foundation
You are using Unknown (Version 0.0) as your browser. I recommend Firefox, which allows every website to look its best.
By: Paul S. Cilwa Viewed: 1/19/2020
Topics/Keywords: #MarriageEquality #GayMarriage Page Views: 2588
Gays have the right to be as unhappy as anyone else.
Today is Michael's and my wedding anniversary. We've now been married for eight years.
What's that you say—how is it possible? Massachusetts, the first state to allow "gay marriage", only did so beginning in 2004. So how could we be married? Simple. We said, "Fuck the government. Marriage is a statement of commitment to ourselves and our friends and families." We got married in the Unitarian Universalist Church of Surprise, Arizona on August 12, 2000.
And now, eight years later, we are still together. (Michael actually moved in with me in March, 1997; so we have been together 11½ years, well over the average for "straight" couples.)
We've already been over the preposterous concept that gay marriages will somehow negate or threaten straight marriages. But today I read a new perspective. Diana Hartman, in BlogCritics Magazine, suggests that the main, emotional thrust of this nonsensical issue boils down to a grass-is-always-greener concern. She writes,
Many of us have been there: watching other couples who seem so happy when we are not—or once were, but are no longer. It rarely occurs to us that, sometimes, when we enter the house of those we see as hopelessly in love, the squeaking we hear is not coming from their charming screen door or their marital bed. It is coming from the rats in the walls.
When our own marriage is in trouble, catching sight of what we think is a happy couple provokes our envy. We remember what we lack and how painful it is. For some, seeing a happy homosexual couple provokes disgust. While envy and disgust are two very different responses, the origin of both feelings is the same: they are happy and we are not.
Certainly the seams of some happy heterosexual marriages are showing some wear. It has become a joke that virtually every single conservative lawmaker and religious leader who has been most strident against gay rights and gay marriages, has either been fooling around with guys on the side, or paying prostitutes to spank them or dress them in diapers. You can't help but think that, if these people would devote half the energy to their own marriages that they have spent trying to prevent other people from getting married, their own marriages might be a lot more satisfying.
Not that Michael's and my marriage is an unending ride of constant bliss. We argue, probably no more or less than any other couple. We've never hit each other, which puts us ahead of the 31% of heterosexual American marriages that have suffered from this heinous crime. (Domestic violence does sometimes occur in gay relationships, but at a far lower rate than in the heterosexual population…probably because our partners can hit back.)
One problem for any marriage, I think, is TV. Half-hour after half-hour, we are presented with couples with no serious issues to face. This is an impossible standard to try to live up to. The number one factor in couples' breakups, according to statistics, has long been financial issues; but the last time I saw a TV couple deal with that, it was Lucy Ricardo whose husband, Ricky, wouldn't give her a raise in her "allowance". (She addressed the problem by selling homemade mayonnaise on the side, until she discovered it was costing her more to make and package the product than she could sell it for. That her husband gave her an "allowance" was never questioned.)
This may lead to another possibility for why the straights are so desperate to prevent people they don't even know from getting married. Stanford law professor Richard Thompson Ford suggests a rational reason why some straight married couples worry that gay marriage would undermine their own marriages: a desire to preserve traditional sex roles. Apparently, among some the fear is that the traditional roles of "husband" and "wife" may become eroded when a ceremony can involve two "husbands" or two "wives".
It's a joke question I've had asked of me by curious straight friends: "Which of you is the wife?" But it reveals an underlying concern that, with marriage equally available to anyone, a traditional husband and wife might be forced to examine why, exactly, she has to cook and he has to take out the garbage. I have a couple of straight friends who brag that they "like the woman to be on top!" That they brag about it, indicates that they know this is different from the norm. But why should there be a "norm"? Why can't each couple find many positions that excite them? Perhaps if they put a little imagination and newness into their time together, their marriages wouldn't drift into that desert of indifference that seems almost inevitable. Again, jokes demonstrate the universality of this sad situation. "Q: What's the difference between your job and your wife? A: After five years, your job still sucks."
Of course, I know a couple of straight couples who are still in love and still seem to have vibrant, interesting and active lives together. Sadly, it's only two or maybe three of my many straight friends. The others who have remained together, seem to have done so more out of inertia than passion.
I hate the phrase "gay marriage" which reeks of "special rights". I prefer "marriage equality" because that is what we seek: An equality of marriage laws that doesn't discriminate against gays and lesbians. (Only fifty years ago, mixed race couples couldn't get married in many states. There was even a word for it: miscegenation.) In 1958, political theorist Hannah Arendt wrote in an essay that the free choice of a spouse was "an elementary human right". "Even political rights, like the right to vote, and nearly all other rights enumerated in the Constitution, are secondary to the inalienable human rights to 'life, liberty and the pursuit of happiness' proclaimed in the Declaration of Independence; and to this category the right to home and marriage unquestionably belongs."
But, in reality, I don't really want my marriage to be "equal" to the heterosexual marriages that fail at a nearly 30% rate. I want my marriage to be better than those. Yet I don't imagine that starting a campaign to make marriage between, say, Southern Baptists illegal will somehow make my own marriage stronger. No, it's gonna take continuing effort on my part, and on Michael's, to keep it going. As with life, marriage is a journey, not a destination. And when either party gives up that struggle, the marriage is over.
Which is not to say preventing Southern Baptists from reproducing might not be a generally good idea.
©1997-2020 Paul S. Cilwa


text:
Volbeat - Seal The Deal & Let's Boogie (Album Review)
The Devil's Bleeding Crown
Marie Laveau
The Bliss
The Gates Of Babylon
Let It Burn
Rebound (Teenage Bottlerocket cover)
Battleship Chains (Georgia Satellites cover)
You Will Know
The Loa's Crossroad
Label: Republic Records / Universal Music
Website: www.volbeat.dk www.facebook.com/volbeat
VOLBEAT IS:
Michael Poulsen - Lead vocals & rhythm guitars Jon Larsen - Drums Rob Caggiano - Lead guitars Kasper Boye Larsen - Bass
When it comes to diversity on rock and metal records, Volbeat knows no boundaries and that's why they are ranked for me as one of the best bands around today. I remember first hearing of them when I saw them open for Metallica in 2009, not knowing a thing about them, but after a few listens to their records, their music grew on me quickly with the diversity and as a musician, that's what I love. The last album Outlaw Gentlemen & Shady Ladies was their most diversified record with the mix of mariachi, pop, country, rockabilly and others along with their primary rock and metal sound, and it was a tall order to follow up. Having solidified a unique sound since The Strength/The Sound/The Songs, they haven't moved away from that sound, but they continued to pump out eclectic albums that showcase their wide arsenal of influences. On their new album Seal The Deal & Let's Boogie, the band continue to add different influences and elements like banjo and even bagpipes to keep the album eclectic, but they focus more on the rock side of things and kept the album devoid of slow songs.
I know Michael Poulsen's Elvis Presley-meets-Johnny Cash vocals can be a bit polarizing to many people, but they're quite enjoyable to my ears, especially with the melodies he writes. Prime examples where he really shines would be "Marie Laveau", "The Gates Of Babylon", "Mary Jane Kelly" and "You Will Know". For those who prefer your Volbeat heavier, don't worry, the album has its fair share of heavier cuts like the bouncy opener "The Devil's Bleeding Crown", the raging title track and closer "The Loa's Crossroad". Poulsen's catchy vocal melodies combined with the mesmerizing riffs and harmonies unleashed by him and Rob Caggiano make a really potent combination.
Guest appearances have become a common element on Volbeat's records ever since Rock The Rebel/Metal The Devil. With a wide variety of guests from all over the musical spectrum like Mille Petrozza from Kreator, Barney Greenway from Napalm Death, Sarah Blackwood from Walk Off The Earth, Johan Olsen from Magtens Korridorer (who returns on the new album) and King Diamond appearing on the band's records in the past, you just never know who's going to guest on the next record. Adding his stamp to the new album is Danko Jones on "Black Rose" who along with Poulsen delivers some very syncopated vocals. The band's attempt at modernizing the classic Georgia Satellites track "Battleship Chains" instantly hits the bulls-eye. This is another one of Poulsen's strongest vocal points. Covers are also common on Volbeat records, but they're usually classic country, southern rock or punk songs. Along with "Battleship Chains", the band covers "Rebound" by Teenage Bottlerocket, which is also a home run.
Of course on every great album, there's a flaw or two. While "The Bliss" is a great catchy song, it feels like I'm listening to "Lola Montez" from the last album all over again. The melodies and the structure are highly similar and the verses are also slightly similar to the verses in "Fallen" from Beyond Hell/Above Heaven. The only difference on the track is the banjo lick in the middle. However, what's cool is that the song also has a Danish counterpart titled "For Evigt" where the chorus is sung in Danish and features Johan Olsen on guest vocals. There's a multitude of memorability on Seal The Deal & Let's Boogie with many riffs and melodies that are so captivating that getting them out of your head is going to be such a challenge. If you're a Volbeat fan, you will find plenty of moments on the album that will pleasure your ears.
Highs: Fantastic performances, giant hooks and solid songwriting. Standout tracks include "The Devil's Bleeding Crown", "The Gates Of Babylon", "Mary Jane Kelly", "Seal The Deal" and "Battleship Chains".
Lows: "The Bliss" sounds almost identical to "Lola Montez"


text:
Adoption Posts
Xander's Adoption
Lexi's and Sophi's Adoption
No Hands But Ours
The Liahona Project
Chinese Children Adoption International
Wonderful Waiting Kids
How do you do it? We are so blessed to have support from extended family and friends. We have AMAZING older children who help a great deal with "the littles." We have been blessed financially. We are blessed with a good marriage. I feel like each time we follow the promptings to do something hard, the Lord compensates in some way or another. That being said, we don't always "do it." The house is constantly in need of a good cleaning, some things just don't get done, and we definitely rely on Little Ceasers way too often! But the kids are loved, and I suppose that's what matters most!
Are you done? I have thought we were "done" many times, but I have learned that this isn't really our decision alone and that our Heavenly Father knows what's best for our family. So even though I would say, "Yes, we're done!" I know from experience that I may not be right!
Isn't that expensive? Um, yes!!! The adoption process is about $20,000 per adoption, including travel expenses. We are very fortunate that Jeremy works for a company who pays a portion of that. Between that and the tax credit, we are able to pull it off. The really expensive part is feeding them all!! (;
Do you have help? Yes and no. A couple of months after bringing Lexi and Sophi home, we knew we were in over our heads. We hired a young woman to come in twice a week for a few hours. This was a tremendous help, especially because it gave me the flexibility to leave little ones while I took one of the kids to see a doctor, have surgery, go on a field trip, etc. I would come home and the house would be clean and the kids would be happy—heaven!! We could only afford to do that for a few months, but it was such an enormous help during that adjustment period, especially since Xander and Lexi were both in kindergarten at different times and different schools! Also, I have the most amazing neighbors and church friends who brought in dinner 1-2 times a week for almost a year. I know—I was so blessed and spoiled! These friends also doubled as "laundry fairies" who would take dirty baskets of clothes from my porch and return them clean and folded. Besides these huge helps, random acts of kindness continue to bless our family—from bags of hand-me-down clothes to left-over food from big functions to offers to help with the kids—people continually look out for our family. It seems that most of the times I get extremely overwhelmed or fall ill, someone does something that helps us feel loved. We see the Lord's tender mercies all the time. We are so humbled and grateful for all that has been done for our family. That doesn't mean, however, that we couldn't appreciate an "Alice" (from The Brady Bunch.) Maybe someday! (:
What led you to adoption? Our sweet little stillborn babies were what started us on this journey. See Our Story.
Are they real brothers and sisters? YES! They are all real brothers and sisters! But only Taylor, Parker, and Jessica are biological siblings. None of the adopted children are related biologically.
Can Lexi or Elli see at all? No. As far as opthamologists can tell, they don't even have light perception.
Do Lexi and Elli go to a school for the blind? No. At this time, it doesn't seem to be the right fit for either of them. Elli goes to a school for children with multiple disabilities, because she has autism. Her autism is actually way more of a special need than her blindness. It is a wonderful school with an incredible staff. She will likely continue there until she "graduates" at age 22. Lexi attends the same charter school as our other children. She has a full time aide (that will taper off as she gets older) and receives services from the Utah School for the Deaf and Blind. That means that specialists are sent out to work with her on braille, orientation and mobility. Lexi loves school and her teachers, helpers, and classmates are so good to her. We have no doubt she will go far with her education and we anticipate she will graduate from college someday.
What's wrong with Xander's leg? Xander has Cloves Syndrome, which is an extremely rare disorder that affects him from his waist down. Most people only notice his one calf being affected, but both legs and feet are affected. He has undergone sclerotherapy several times, which has had minimal impact. This summer he is scheduled to have "de-bulking" surgery on his calf. We are so excited for him!! That leg is heavy, and he also gets teased about it once in awhile. While Xander could have complications from this syndrome, it doesn't affect his day-to-day activities much at all. He rarely complains about it, and we have found that our hardest issue is finding shoes that fit him. He's a strong, spunky little boy!
Will Sophi use prosthetics? We had a consult with the prosthetic department at Shriner's Hospital who confirmed what we already thought: prosthetics are currently not even a consideration for her. They would most likely be cumbersome and not very helpful. We find that she does nearly everything she wants to do using her feet, toes, chin, teeth, and shoulders. You should see her eat an ice-cream cone with one foot—amazing!
What should I do when my kids stare? First of all, know that we understand. Our kids stare too! It's impossible to not want to watch Sophi particularly, as she is quite fascinating even to adults. I think that "staring" from a distance is fine. But if you are up close enough to interact with the kids, teach your children to just ask questions if they have them, and then try to treat them like typical kids. It also doesn't hurt to teach them to "stare" with a pleasant look on their face. I have found that Sophi doesn't mind people watching her at all, unless they have a grumpy glare type of look, at which point she gives them the grumpy glare back and gets very self-conscious. (; A smile or compliment goes a long way in making her feel good about herself! Also, everyone always comments on her missing arms—I'm sure she would love to be noticed for her big beautiful eyes or impish smile as well!
When we fell in love 24 years ago, we started down a path that has been challenging, exhausting, and breathtakingly beautiful. Here we chronicle the blessings and stressings of parenting some pretty amazing children. We think they're the perfect travel companions as we look forward to the next fork in the road. Welcome to our journey.

The Parents
Jeremy and Christianne
The Kiddos
Taylor Jeremy--21
Our oldest by birth, he's the voracious reader, BYU fan, spiritual giant, sports nut, 4.0 student, huge-hearted ray of sunshine!
Parker Matthew--20
The red-headed social butterfly, he's our all-star athlete, top student, outdoor-loving, spunky second-born, with a heart of pure gold!
Jessica Anne "Jesi"--17
Our little princess with the big smile, Jesi loves fashion, friends, hanging with her siblings, and vacations. She sparkles!
Jacob Michael-- 6/8/2004
Little one of heavenly birth, born too soon to bloom on earth. You have taught us so much--we love you, Jacob!
Emily Anne "Emmy"--9/28/2005
Emily's exquisite little hands and feet have left their mark in this world. Her body was tiny, but her spirit enormous. We miss her!
Elizabeth Mei "Elli"--16
Elli's world may be dark, but she's the light of our lives! Lover of music, chocolate, and new toys, she fights a courageous battle with autism while bringing joy to all who know her!!
Gracelin Kate "Graci"--22
Showing true grace throughout her battles with heart disease and pulmonary hypertension, our Gracester is loved by everyone! She's smart, gorgeous, friendly, and has faith to move mountains!
Alexander Philip "Xander"--15
With a spunk and smile that could outmatch anyone's, our Xander has not let Cloves Syndrome get the best of him. He's a talented chef, a caring friend to MANY, our best helper, and is full of teenage humor.
Alexis Li "Lexi"--15
Meet the friendliest girl on the planet! Blind from birth, Lexi amazes all of us with her braille skills, determination, talents, but mosly by the way she spends her days SMILING. She is an angel in every way. We are thrilled to have our darling daughter home six years from China!!
Sophia Breanne "Sophi"--12
Her eyes called out to us from half-way around the world. Little Sophi is growing up and we would do anything to freeze her in time! She's beautiful, smart, and coy and can do amazing things with her toes! She has inspired people all around the world and we can't believe she is ours. Sophi = perfection.
Calais Rose "Cali"--20
Charming Cali joined our family in December of 2012. This girl is beautiful both inside and out. Born with spina bifida, Cali is confined to a wheelchair, but that does not keep her from enjoying life to the fullest. She is smart, opinionated, strong, and lovely in every way. She is a light in our family and a magnet for handsome young men!
Conner Allen-- 20
Meet our newest addition! Home three years from China, Conner makes us wonder what we ever did without him. Blind from birth, he will blow you away with his incredible talent on the piano. He is sweet, witty, girl-crazy, kind and finally, OURS! We love you, Conner!
Baxter-- 3 years
She begged and pleaded and wrote letter after letter telling us why she NEEDED a dog, and Sophi finally got her wish! Meet Baxter, the cutest mini-audssiedoodle on the planet.
Englestead!
Adoption Adventures Ah the joys... Anniversaries Big families birthdays Blessings Cali Camping Chocolate Christianne Christmas Conner Disneyland Easter Elli Emily Ferron Gospel Graci Halloween Happiness Jacob Jeremy jesi Jessica Letters Lexi Lexi and Sophi Adoption Love Make-a-Wish Medical Molly Mormon Oregon Out of the mouths of our kids Parenting Parker Perplexus photobooth Picture blogs Picture posts poems Puzzle Them Home Quotes Recipes School Sophi Special needs Stillbirth Taylor Tiffany's death Videos Xander Xander's adoption
Get a FREE visitor map for your site!


PhotoAlbums is an album module with multiple skins and effects. This module integrates features of Article module and Gallery module. It has advanced features (like multi-user operations, changeable skins and effects etc) and common features as ordinary articles. PhotoAlbums is an album module with multiple skins and effects.
Standard License: You can install the module on a single portal only, belonging to either you or your clients.
Professional License: You can install the module on an unlimited number of Portals under one DNN installation, belonging to either you or your clients.
Enterprise License: You can install the module on an unlimited number of Portals and DNN installations, belonging to either you or your clients.
Notice: You shall not publish the module in any place for others to download, resell or re-distribute the module in any form, or transfer the permissions to anyone, crack or de-compile the module.
Optimized the performance and display mode of some part of the skin and effect.
Corrected the possibility of conflicts between calendar module and other ones.
Fixed the issue that users who have admin permission of the module can't see the sorting button.
Fixed the BUG that login address will be wrongly output when some SEO modules are used.
Fixed the issue that email notification is incorrectly sent under certain runtime circumstance.
Optimized the stability of email notification.
Optimized the compatibility of data components.
Added the data import/export functionality for albums, photos and categories, which allows you to back up or transfer your data easily.
Optimized the module to support DNN7 and Windows Azure.
Optimized the stability of the module and removed some bugs.
Completed the construction of Dashboard module, created effect and function list framework.
Completed the transition of 10 photo albums effects which is similar to DNNGallery module.
Completed the development of 5 function display templates: archive template, category template, tag template, ranking template and image list template.
Completed the design and development of data filtering and parameter settings interfaces.
Optimized the entire running speed of photo albums module and fixed some bugs during specific operation.
Completed the module frame constitution, created collection of skin and effect.
Completed the skin management interface.
Completed the effect management interface.
Completed the first set of skin and effects which allow a basic photo album.
Completed transition of miscellaneous functions, like tags, comments, sharing and comments setup interface.
Due to individual preference, don't want to keep it after purchasing it.
The product(s) doesn't/don't have any problem we can't solve.
Site error(s) occurred, but it's not caused by our company's product(s).
Purchase for module source version.


text:
Scientific Goals
CVsyn
Stellar Astrophysics and Relativity Research Cluster (STAR)
The corrections picked up by GR in the high energy regime may manifest themselves in the cosmic rays produced in highly energetic astrophysical events near black holes, or in gamma-ray bursts in binary systems. The gravitational waves emitted by these astrophysical objects carry with them the signature of the theory. No gravitational wave has been detected directly yet, but the gravitational wave community expects their discovery within the next ten years and the current experimental focus is on astrophysically generated gravitational waves. The detection of gravitational waves and the study of their spectrum, polarization, and speed of propagation would shed light on the correct theory of gravity.
Supernovae of type Ia have been crucial to probe the current acceleration of the universe. However, the progenitors of these supernovae are unknown, a 40-year old problem in astrophysics, and thus it is critical that their origin be determined. The astrophysics of binary stellar systems is the basis for the most plausible models.
Nucleosynthesis. In the standard cosmological scenarios, inflation is followed by an era dominated by radiation in which nuclei of hydrogen, helium, and lithium are synthesized (primordial nucleosynthesis). The relative abundances of these elements, which are measured, must be calculated in extended gravity and compared with observations. Diffusion and other dynamical processes in stellar interiors affect the abundances that will be observed at the surface of old stars. These stellar processes must be understood in order to infer the primordial composition of the universe from the observed composition in stars.
The present universe. Today, cosmologists are struggling to explain the 1998 discovery that the current expansion of the universe is accelerated. This result, obtained by studying the luminosity distance-redshift relation of Type Ia supernovae, does not fit the model of a decelerating universe accepted until 1998. To remain within the context of GR and explain the cosmic acceleration, it is necessary to postulate a mysterious and otherwise undetected dark energy with extremely exotic properties (highly negative pressure) comprising approximately 75% of the energy content of the universe. This dark energy could even take the very exotic form of phantom energy that threatens to violate the second law of thermodynamics cherished by physicists and should be prone to violent instabilities. Phantom energy could cause the universe to end in a Big Rip singularity at a finite future. Several researchers dissatisfied with the ad hoc dark energy are attracted by the idea that perhaps we do not have to introduce this fix and remain within the confines of Einstein's theory, but the current cosmic acceleration could instead be the first detected deviation of gravity from Einstein's theory. Attempts to model deviations from general relativity which are successful at explaining the cosmic dynamics without compromising the successes of Einstein theory at smaller scales have resurrected the so-called f(R) gravity theories. While the theories of this class may amount to no more than toy models, they are simple enough to learn how gravity could be different, and yet the deviations from standard relativity are sufficient to show new physics. It is interesting that f(R) gravity can be seen as a special subclass of scalar-tensor gravity, which has been employed widely in cosmology.
The early universe. Modified gravity models different from those studied to explain the present acceleration of the universe are employed to study the early universe. In fact, although it is not widely acknowledged, many models of the early universe are based on forms of scalar-tensor gravity (for example, scalar fields coupled conformally or non-minimally to the curvature, and there are indications that non-minimal couplings are mandatory). A period of accelerated inflation in the early universe is postulated in modern cosmology and is widely accepted as an essential ingredient of our description of the universe (although we should be open to other possibilities). High energy corrections to gravity affect this inflationary epoch and would likely leave an imprint in quantities that are observable today in the cosmic microwave background.
Spherical solutions and black holes. Spherically symmetric solutions of scalar-tensor and f(R) gravity, which are essential to understand black holes, compact objects, and their astrophysics exhibit a much larger variety of properties than in general relativity and their study is just beginning. We study how Birkhoff's theorem of general relativity (which guarantees that a unique and simple solution with spherical symmetry, the Schwarzschild metric exists and is generic in vacuo) fails in extended gravity. We search for new solutions and we look at the possibility of identifying "generic"' (in a sense to be made mathematically precise) solutions, if they exist. A feature of the theories of gravity designed to model the present acceleration of the universe is that they contain a time-dependent effective cosmological "constant". As a result, solutions describing black holes or spherical objects are asymptotically Friedmann-Lemaitre-Robertson-Walker and they are dynamical. Very little is known, even in general relativity, about black holes embedded in a cosmological background. We are presently studying a few analytical solutions and looking for new ones. Instead of black hole event horizons, there are apparent horizons which often exhibit a bizarre phenomenology to be understood. The accretion of the cosmological fluid onto the central object complicates the picture. Entropic and thermodynamical aspects of black holes, a large area of research in general relativity and quantum gravity, are very interesting also in extended gravity in order to grasp the physical characteristics of these theories. Black holes embedded in cosmological backgrounds provide realizations of dynamical horizons, which are actively studied by people working in black hole thermodynamics. Black holes constitute "theoretical laboratories" to study high energy physics which is not accessible by experiments.
Gravitational waves. Primordial gravitational waves generated during the early epochs of the history of the universe carry a signature of the theory of gravity which may be detectable as an imprint in the cosmic microwave background. If extracted from the data, this signature could be used to discriminate between, or set constraints on, competing theories of gravity using future satellite experiments. Cosmological gravitational waves may also induce scintillation in the light received from sources at cosmological distances. A preliminary study yields a size below detection threshold for this effect, but a more definitive analysis needs to be carried out.
Fundamental theories of gravity
Alternative gravity. The "standard" theory of gravity is naively believed to be Einstein's general relativity. However, when one tries to formulate a quantum version of classical gravity, as has been done for the other three fundamental interactions, or at least to introduce first loop corrections to the classical theory, a different picture emerges. The renormalization of general relativity shows that infinities cannot be eliminated without introducing counterterms quadratic in the curvature tensor and its invariants, which modify substantially this theory. Vice-versa, starting from the high energy end, one can consider string theories as possible implementations of quantum gravity and of unification. When one tries to take the low-energy limit of string theories and recover classical gravity, one does not obtain general relativity, but a scalar-tensor theory. Indeed, it has been known since the 1980s that the low-energy limit of the bosonic string theory (one of the earliest and simplest string theories) reproduces Brans-Dicke theory with Brans-Dicke parameter ?= -1. String theories unavoidably contain scalar fields which couple non-minimally to gravity. From the theoretical point of view, quantization of gravity and high energy physics seem to necessarily modify general relativity, generating a wide spectrum of extended theories which deviate only a little from general relativity at low energy and Solar System scales, but exhibit large deviations at higher energy. These deviations can in principle manifest their effects also at cosmological scales, or maybe even at spatial scales intermediate between Solar System scales (where general relativity is well tested and known to be obeyed in the weak-field, small velocity regime) and cosmological scales. These are the scales of galaxies and galaxy clusters. Note that at these scales even Newtonian gravity is sometimes doubted, which has led to the introduction of modified gravity, MOND and TeVeS theories as an alternative to dark matter. While we do not support these theories, they show how poorly even Newtonian gravity is tested outside the Solar System. Although the quantum corrections to general relativity may be tiny at low energies and no departure from it is detected in the Solar System, there may be indications of deviations from Einstein's theory in cosmology.
© 2012-2019 Stellar Astrophysics and Relativity Research Cluster
Bishop's University - All Rights Reserved
Sherbrooke, QC, Canada
J1M 1Z7


351C 2V intake seal leak. but why???
1200 HP with Twin turbos!
Destruction of your Windsor Power plant!
The differences between US heads & the Aussie heads?
Best option for a supercharger in an '03 Mach 1?
All About Blowers - The ins and outs of compressing air.
Moved: What is the differences?


text:
Jon Stewart signs 4-year deal with HBO
HBO will start showing short-form content from Jon Stewart online.
Sherry Tucci— 2015-11-03 07:00 pm | Last updated 2015-12-11 10:42 am
Just when we thought television had lost Jon Stewart for good, the former TV host signed a four-year contract with HBO, the company announced in a press release Tuesday.
For the deal, Stewart will be producing short-form, digital content to be featured on HBO Go and HBO Now, which aims to update regularly throughout the day. The contract also gives HBO a first-look option on Stewart's other television/film endeavors.
In partnership with Los Angeles-based cloud graphics company OTOY Inc., Stewart is working on new technology to allow him to produce the content quickly for fast and frequent updates. As for the subject matter, Stewart will continue to "view current events through his unique prism," according to the press release. While he may not be returning to the desk, we can probably expect our daily dose of Stewart to be something similar to his work from The Daily Show.
Stewart left The Daily Show in August after serving as the primary anchor for 16 years. Three months later, it seems difficult for Stewart to stay off screen however. "Appearing on television 22 minutes a night clearly broke me," he said in the release. "I'm pretty sure I can produce a few minutes of content every now and again."
Screengrab via CNNMoney/YouTube
Sherry Tucci
Sherry Tucci is a fandom reporter who specializes in Korean pop culture and anime. In addition to her work at the Daily Dot, her reporting has appeared in the Daily Texan.
Hbo Hbo Go Hbo Now Jon Stweart The Daily Show


Healthy cafes and restaurants in Hawaii.
A list of organic cafes and non-gmo restaurants that use healthy organic, natural, non-gmo ingredients for healthy food in Honolulu on the island of Oahu, Hawaii. Healthy food is organically grown, fresh, local, and wholesome. For other Hawaiian islands use the main menu at the top of this page.
Open 9am-6pm. Closed on Tuesdays and Thursdays.
Description: We, at Aunty's Lil Green Hut (started and run by my mom, daughter and me) specialize in gluten free, organic food (much of which we grow aeroponically) and teach free sustainability classes and Food Activism. We come from a long line of healing practitioners and farmers. My daughter, is finishing her degree in nutrition to help young women with eating disorders and foster children coming out of the system. She is the 6th generation to live in Kahuku. My mom is our master grower, (her dad was a fisherman, farmer, worked in the Kahuku sugar mill next door and her mom was a lomilomi la'au lapaau practitioner who worked as a cook in the first bakery restaurant in the N Shore. She sold fish and her bread out the back of their family truck). We come from a long line of women offering service in nutrition and healing foods.
Our "teaching-Food truck has been in our Kahuku location going on 3 yrs, in the same field as Giovanni's shrimp truck.
We make: gluten-free crepes, rice wrapped Mediterranean and Southwest salad wraps, Spelt/sprouted grain sandwhiches, (very green) green drinks, 100% kona coffee, medicinal strength kombucha (I've brewed it for 38 yrs). I also have a stand at the Waimea farmers mkt on Thu selling green drinks and kombucha. We utilize macrobiotic techniques and chinese herbology and enjoy meeting the needs of our vegan and vegetarian community.
I have worked in various groups as an environmental and organic food activist for 25 yrs and do all I can to encourage small local farmers to grow organically.


text:
EP REVIEW: Chameleon Technology Explore Multimedia Pop Punk on Blank Canvas
Pop punk doesn't have to be a bad thing, a point made over the course of 5 songs on Chameleon Technology's latest EP Blank Canvas. The project of renowned drummer Max Histrionic, Chameleon Technology (sometimes simply referred to as ChamTech) produces guttural bass-driven punk rock-influenced bursts with melodic guitars and vocals conjuring the full spectrum of hardcore. Yet, the one-man band takes things a step further by turning each live performance into a multimedia art installation in which high quality audio recordings are synced up with video of Histrionic performing each instrument, while he actually plays guitar and sings live. Histrionic virtually and literally becomes his own backing band. The fusion of pop art and sound is Gorillaz meets Gorilla Biscuits.
There's a certain harkening back to the simultaneously clean and dirty production of the mid-to-late-'90s stamped all over Blank Canvas, at times reminding of poppier alt metal acts like Helmet or even A Perfect Circle. This sound never relents over the EP's 5 tracks but it's far from tiresome since the songs are so energetic and short. It would almost be properly punk if that weren't an oxymoron. There's a radioactive element to the high riffing guitars on tracks like "No Safe Word" reaching points of careful instability on "Serin's Vending." For a band called Chameleon Technology, the sound is far less electronic than you'd expect but every bit as green and slimy as you'd hope.
Though Histrionic doesn't deviate from the initial sound that greets listeners on the first track, there's still something more radio friendly about the title track and chosen single. It's a track born out of time in the sense that you could easily hear it on your local alternative radio station circa 1996 which could be a good or bad thing depending on how you look at it. Chameleon Technology may not be pushing sonic boundaries but he's at least creating a nice sound.
www.chamnology.com
www.chameleontechnology.bandcamp.com
www.facebook.com/chamnology
www.twitter.com/chamnology
www.instagram.com/chameleontechnology
www.soundcloud.com/chameleontechnology
Tags: punk


text:
Q: jq split string and assign I have the following json
{
    "version" : "0.1.2",
    "basePath" : "/"
}

and the desired output is
{
    "version" : "0.1.2",
    "basePath" : "beta1"
}

I have the following jq which is producing the error below:
.basePath = .version | split(".") as $version | if  $version[0] == "0" then "beta"+ $version[1] else $version[0] end

jq: error (at :3): split input and separator must be strings
exit status 5
Using .basePath = .version assigns the value successfully and .version | split(".") as $version | if  $version[0] == "0" then "beta"+ $version[1] else $version[0] end on its own returns "beta1".  Is there a way to assign the string to the basePath key?

A: Good news! Your proposed solution is just missing a pair of parentheses.  Also, there is no need for $version.  That is, this will do it:
.basePath = (.version | split(".")
             | if .[0] == "0" then "beta"+ .[1] else .[0] end)