text:
Romain Grosjean crash: Formula 1 star shows off his scars one year on from horror accident
By Brandon Bethune
Published: 02 Dec 2021, 9:38
Romain Grosjean recently discussed the brutality of the crash he had at the Bahrain Grand Prix in Formula 1 in late 2020.
During last year's Bahrain Grand Prix, towards the end of the 2020 season, former Haas driver Grosjean was engulfed in flames after a massive crash at 140mph.
Thankfully, Grosjean was able to escape the fiery wreckage only suffering burns to his hands, having been protected by the Haas suit and halo device.
Yet that hasn't made the ordeal any less terrifying to the now-IndyCar driver.
Appearing on 2016 F1 World Champion Nico Rosberg's podcast, Grosjean went into detail on the crash, and where it's left him in the aftermath. Here he said:
"The right is good, the left a little less good", he began.
"It's painful 23 hours a day. I need to do rehab and exercise every 10 minutes just to not lose mobility. It's not all nice, but I've got my two hands and I can drive a car, I can cuddle my kids, play with them, and that's what matters".
Despite the horrors of the crash, Grosjean has taken a positive outlook coming out of it, heading towards the future.
"To come out of the flames that day is something that will mark my life forever", he added.
"I don't know if the word miracle exists or if it can be used, but in any case I would say it wasn't my time to die."
"I thought about a lot of things, including Niki Lauda, and I thought that it wasn't possible to end up like that, not now. I couldn't finish my story in Formula One like that".
Intriguingly, Grosjean's crash was perhaps a larger indicator of things to come in F1.
This season's leaders, Lewis Hamilton and Max Verstappen, disagreed after the crash regarding whether Grosjean should have a choice to continue racing or not.
Toto Wolff has said the Mercedes is at its strongest level all year for the final two races of the season
Fernando Alonso says exceeding engine limit like Hamilton should mean P20 start
Sergio Perez says Red Bull have 'nothing to lose' in final two races of the year
Latest Haas articles
Mick Schumacher: Haas star reflects on first season and makes positive claim over mistakes
Nikita Mazepin: Age, Height, Net Worth, Salary, Girlfriend and More
Mick Schumacher: Age, Height, Net Worth, Salary, Girlfriend and More
Hamilton, Verstappen, Alonso, Vettel: How much damage every F1 driver caused in 2021
Max Verstappen beats Lewis Hamilton to win maiden F1 world title after final lap drama
Abu Dhabi Grand Prix: Schedule, TV, Live stream, weather forecast
More Haas news
Latest Formula 1 articles
Formula 1: Sergio Perez eyeing 2022 title challenge with Red Bull
F1 2022 car launches: Mercedes reveal launch date for Lewis Hamilton & George Russell's car
F1 2022 car launches: McLaren confirm February date for reveal
Max Verstappen: Mario Andretti issues warning to Lewis Hamilton et al. over Dutchman for 2022
Formula 1: Sebastian Vettel issues honest 2021 verdict after first year at Aston Martin
Lewis Hamilton future: Toto Wolff gives fresh update and hints at February meeting
More Formula 1 news


New York, NY - July 31 - NODE40, the blockchain tech company bringing best-in-class tax compliance to American cryptocurrency users, has launched Bitcoin support on its popular Software as a Service (SaaS) offering, NODE40 Balance. The new service comes just four months after the New York company introduced blockchain accounting software for Dash users. The highly anticipated addition means every single Bitcoin user across America, now estimated in the tens of millions, can accurately report their gains and losses to the Internal Revenue Service (IRS) without fear of tax evasion, underreporting, or overreporting. The product is expected to be a welcome reprieve for the growing list of bitcoin traders, especially Coinbase users, who until now, have had very limited options for reporting gains and losses to the taxman each fiscal year. NODE40 Balance allows users to conduct accurate tax compliance using intuitive, easy-to-use software that analyzes the blockchain, calculates exact net values from each transaction, tracks the cost basis and days carried, and rolls the data into IRS Form 8949.
Given the ongoing Coinbase vs IRS lawsuit, heightened probes into cryptocurrency tax evasion and the fact that only 800 Americans reported their bitcoin gains from 2013 through 2015, there's never been more timely help for cryptocurrency users.
"The IRS Coinbase summons motivated Dash owners to use our service and get their records in order for the 2016 tax season, and Bitcoin owners have well and truly been put on notice. The voluntary compliance rate for United States citizens is over 80%, which makes it obvious that most people take reporting their tax liability seriously; we believe bitcoin users haven't had the right tools available yet. If the industry wants digital currency transactions to become commonplace, an integrated service like NODE40 Balance is essential. It validates the legitimacy of a new, complex form of transacting, and compliance is crucial to bringing a new technology into the mainstream," Woodin said.
The method previously used by bitcoin traders to report their gains and losses was either through a painstakingly slow manual process, or the highly inaccurate First In First Out (FIFO) method which should not be applied to transactions ex post facto.
"The problem with FIFO is that it needs to be applied at the time of the transaction. People should really be creating transactions where the inputs are FIFO; it simply doesn't work to apply FIFO after the fact. While some services are geared towards one-off taxation reporting, NODE40 Balance aims to be a consistently accurate platform that tracks performance and reports on gains, losses, and income throughout the year. All users need to do is upload their transactions, await the calculations, and then send the resulting Form 8949 to the government when they file," Woodin said.
Currently, NODE40 Balance's bitcoin service is available for Electrum wallet users, with new wallets soon to be added across the coming months (Exodus and Trezor are next in line for integration). Access to NODE40 Balance is free during its beta period and the paywall has been removed to optimize customer feedback until Q4 2017.
In its current form, Coinbase users will need to transfer their Bitcoin to an Electrum wallet before reporting with NODE40 Balance.
"Even as digital currency matures and more mainstream investors jump aboard, we believe that bitcoin will permanently remain a form of property, as per notice IR-2014-36. What this means is that reporting bitcoin tax liability is an individual legal responsibility under the 'Sale and Disposition of a Capital Asset,' and Americans need a long term, reliable, cost effective, and most importantly, IRS-friendly solution. We are proud to finally bring that solution to market," Woodin said.


text:
OLD APPARATUS
Sullen Tone
3 Jun '13
The music of Old Apparatus carves its own niche, leading you by the hand into unknown territory, exotic and mysterious, but shot through with a sense of magic and wonder that always pulls it out of the horror it hints at. A low key audio-visual group, they've deliberately worked out of the limelight, and consequently released some of the most ambitious and beautiful electronic music of the last few years. Old Apparatus started life on Mala's Deep Medi record label 2 or so years ago, releasing two highly praised singles that were some of the best sellers on the label, however they were an unconventional choice, sitting uncomfortably with the dancefloor aimed dubstep that the label was known for, as their beautifully crafted mix of drones, sculptured soundscapes and dub moved far beyond the rulebook, and their audio-visual live shows became renowned for their quality. In 2012, Old Apparatus launched a bid for independence with their own 'Sullen Tone' imprint to release their own projects and others. The first of these releases on the label were EPs that spanned the second half of the year, opening with the Derren EP before releasing a series of EPs from three separate members of the group. Compendium draws together the highlights of those EPs into a sequenced mix that draws the sheer drama out of the music, like contrasting scenes in a film, enabling the listener to pick out details in music and get lost in its generous sound world. Starting with Zimmer's rising strings and watery hiss, rolling seamlessly into the far away shoegaze of Mernom and then the warm, woodblock and acoustic guitar 2-step of Derren. The mood switches up to the jungle atmosphere of Dourado, with hypnotising drums and a feeling of panic, before the chopped and screwed march of Lingle drops the mood down, the club-footed hip hop and ritualistic astral atmosphere of cauliroot, creates a mysterious ambience, before the album hones down into the bell-like melodies and sliding drums of boxcat. Chicago opens next with a bare piano and heartbeat thud, working out of the rainy atmospheres, the shimmering drones Octofish lead into the vast waves of Realise, ending the album on a powerful note.

redpajama_set_name: RedPajamaCommonCrawl


text:
>> Opinion Columns
>> Victor Joecks
VICTOR JOECKS: Armed guards save lives. Just look at Kavanaugh.
Today would look much different if Brett Kavanaugh's home was a gun-free zone. It's time to apply that lesson to schools.
By Victor Joecks / Las Vegas Review-Journal
June 9, 2022 - 9:00 pm
A Clark County School district police vehicle is seen as students at Desert Oasis High School leave their school on Friday, March 11, 2022, in Las Vegas. (Bizuayehu Tesfaye/Las Vegas Review-Journal) @btesfaye
Today might look much different if Brett Kavanaugh's home was a gun-free zone. It's time to apply that lesson to schools.
Just after 1 a.m. Wednesday, a taxi stopped outside the home of Supreme Court Justice Brett Kavanaugh in Chevy Chase, Maryland. A man had come there to kill him and then commit suicide, according to a criminal complaint. Police later found him carrying a handgun, tactical knife, pepper spray and other tools that could have helped him break into the house.
As the criminal complaint states, "He was upset about the leak of a recent Supreme Court draft decision regarding the right to abortion." He also thought Kavanaugh "would loosen gun control laws."
He had a motive and the weaponry to carry out his deranged plan. But he didn't.
It wasn't regret, guilt or shame that stopped him. It was the presence of armed security. After he exited the taxi, he "looked at the two deputy U.S. marshals, who were standing next to their parked vehicle, and then turned to walk down the street," the complaint reads. The suspect then called authorities, leading to his arrest.
The mere presence of a good guy with a gun stopped a bad guy with a gun. That's no accident. Criminals prefer unarmed victims.
The parallels to the debate over school safety should be obvious. The horrific shooting in Uvalde, Texas, spurred a new push for gun control. Officials now confirm that local police waited much too long to engage the shooter, either through tactical mistakes or outright cowardice.
This led many on the left to dismiss the benefits of a "good guy with a gun" as a myth. One Los Angeles Times columnist called it a "dangerously wrong aphorism." A Vanity Fair writer said it was "absurd."
Now it's easy to defeat the strawman version of this argument. Having a good guy or gal with a gun around won't prevent all murders. For one, as Uvalde shows, a firearm owner has to be willing to use it. In other cases, such as the tragic shooting in Buffalo, New York, the shooter killed an armed security guard — Aaron Salter Jr. — who fired at him.
But might fewer people have died if law-abiding citizens weren't armed in those situations? Of course not. Buffalo Police Commissioner Joseph Gramaglia said he was sure Salter "saved lives" by his heroic actions. Eventually, armed law enforcement stopped the Ulavde killer's rampage.
There are plenty of cases in which an armed individual prevented innocent deaths. In late May, a woman shot and killed a man who broke down the door of her apartment. There were children inside her residence.
On Thursday, a school resource officer confronted a man acting suspiciously outside an Alabama elementary school. The police officer shot and killed him when he reached for the officer's gun. The man couldn't make it inside the school because the doors were locked.
To prevent school shootings, look at crimes that almost happened, but didn't — such as the attempted murder of Kavanaugh. What you'll often find isn't gun control, but a gun in the control of the right person.
Posted on: Opinion, Opinion Columns, Victor Joecks
Tagged: mc-opinion
VICTOR JOECKS: Lombardo offers table scraps to school choice supporters
By Victor Joecks / RJ
If Lombardo is serious about expanding school choice, he needs to adjust course. Let the money follow the child.
VICTOR JOECKS: Men are in crisis
Boys need fathers. That, not a government program, is the solution to men in crisis.
VICTOR JOECKS: Protecting Social Security requires changing it
In other circumstances, risking your political career for the good of the country is considered noble.
VICTOR JOECKS: Just 11 CCSD teachers rated 'ineffective'
Students aren't the only ones having their grades inflated in the Clark County School District.
VICTOR JOECKS: DEI wages war on MLK's dream
You can have MLK's dream or DEI policies, but you can't have both.
VICTOR JOECKS: You can't fix Nevada education by repeating past mistakes
One of the greatest barriers to improving education in Nevada is the widespread ignorance of past attempts to do so.
VICTOR JOECKS: What Henderson needs in a new police chief
Woke policing in Henderson is at a major inflection point. The safety of its residents hinges on what happens next.
VICTOR JOECKS: 10 bold predictions for 2023
Why Trump will end his primary bid in 2023 and nine other bold predictions.
VICTOR JOECKS: Twitter files show another conservative conspiracy theory is true
At this point, you'd have to be a conspiracy theorist not to see the accuracy of many conservative conspiracy theories.
VICTOR JOECKS: Don't commute Nevada's death penalty sentences
Gov. Steve Sisolak spent four years making life easier for criminals. One of his last acts may be reducing the sentences of those on death row.
Nevada lawmakers 'disappointed' in block on bump stock ban


text:
Nova Scotia's Top
Employers (2021)
Winners from our 15th annual editorial competition
FBM Architecture's self-designed office in Halifax is an inviting space for work, meetings and social events -- and is also hosts festival and arts events (Photo: G. Richardson)
Launched in 2007, Nova Scotia's Top Employers is an annual competition organized by the editors of Canada's Top 100 Employers. This special designation recognizes the employers in Nova Scotia that lead their industries in offering exceptional places to work. The winners of our 2021 competition were announced on January 14, 2021.
Admiral provides insurance and financial services, employing approximately 400 staff in Halifax
Employers are evaluated by the editors of Canada's Top 100 Employers using the same eight criteria as the national competition: (1) Physical Workplace; (2) Work Atmosphere & Social; (3) Health, Financial & Family Benefits; (4) Vacation & Time Off; (5) Employee Communications; (6) Performance Management; (7) Training & Skills Development; and (8) Community Involvement. Employers are compared to other organizations in their field to determine which offers the most progressive and forward-thinking programs.
On the job with a digital designer at Halifax-based VERB Interactive Inc.
Reasons for Selection
Publishing detailed Reasons for Selection is a distinguishing feature of our competition: it provides transparency in the selection of winners and "raises the bar" so that other employers can discover and adopt initiatives that work well elsewhere. For our detailed Reasons for Selection, please review the full list of winners.
Chief Terrance Paul, Co-Chair of the Assembly of Nova Scotia Mi'kmaq Chiefs (left) and Clearwater Seafoods CEO Ian Smith on board the clam vessel Anne Risley.
Any employer with its head office or principal place of business in Nova Scotia may apply for this competition. Employers of any size may apply, whether private or public sector.
Applications for our 2022 competition will be available early in 2021. Our 2022 winners will be announced early in 2022. Join our mailing list to stay up to date and receive an application for next year's competition.
Health Association Nova Scotia (HANS) recently created a Change Maker Group, where younger employees share their input to plan for the increasing impact of disruption, innovation and technology on health care
Here are 2021 winners of the Nova Scotia's Top Employers competition. Click an employer name to read our editors' full Reasons for Selection:
Admiral Insurance Services Ltd.
CBCL Limited
Citco Canada Inc.
Clearwater Seafoods LP
East Coast Credit Union
FBM Architecture | Interior Design
Halifax Water
Health Association Nova Scotia
Jazz Aviation LP
Killam Apartment REIT
MetOcean Telematics Limited
NTT DATA Canada, Inc.
ResMed Halifax ULC
SigMast Communications Inc.
Ultra Electronics Maritime Systems Inc.
VERB Interactive Inc.
Web.com Canada
Workers' Compensation Board of Nova Scotia
A maintenance employee at Jazz Aviation LP works on an aircraft in Enfield, NS (Photo: R. Stilez)
Previous winners:
Employees from Killam REIT cycling to raise funds for children's cancer research at the Tour for Kids Atlantic (Photo: N.P. Clarkson)
Find jobs from Nova Scotia's Top Employers
Live search powered by Eluta.ca
Employers: Post jobs on Eluta.


text:
@if ($enable)

    @lang('auth.legal')

                <button type="button" class="close" data-dismiss="modal">×</button>

{{ $title }}

                {!! $contents !!}

@endif

redpajama_set_name: RedPajamaGithub


A fish can't see the water it swims in. Point being that it's easy to forget that what surrounds you is only normal because it's what you know. Even the best leaders need the help of trusted outside experts to build strategic alignment and drive innovative approaches; no one can do it alone.
We work with CEOs, executives, and senior business unit leaders to develop proactive, cutting-edge people development strategies to get the most from their team.
Today's workplace is changing rapidly. To remain agile and competitive, you need to focus on improving all aspects of your business, not just the bottom line. That means you need to attract and retain the best and brightest and keep them engaged for maximum productivity.
Leaders like you guide the strategic vision and direction for your company. Yet many teams waste valuable time, energy, and resources because they lack internal agreement or understanding about how to produce the results that matter most.
We help leadership teams strategically link the company's top priorities to the team's work to ensure alignment at both the team and at the enterprise level, increasing engagement and improving business systems and profitability.
When a group of leaders are planning to retire which will leave big gaps in the company's leadership pipeline.
When you have brilliant technical specialists who you risk losing because they struggle with leadership skills.
When you've recently undergone an acquisition or merger and you need to develop a proactive strategy to get your leaders on the same page around building the new leadership culture.
When engagement survey results from a particular business unit or department is an outlier from the rest of the company and needs focused attention.
When your team can't seem to gain momentum toward strategic goals because the group isn't aligned around the purpose or approach.
When turnover is high and your company is losing money hand over fist replacing key people.
Now, we've got your attention!


Traditional Chinese Medicine (TCM) is a 3000-year-old system of medicine that includes acupuncture, Chinese herbal and nutritional therapy, restorative physical exercises, massage and meditation, and moxibustion.
Similar to the circulatory, lymph and nervous systems, Traditional Chinese Medicine practitioners have mapped out a very specific and complex pattern of energy channels, or meridians, that run throughout the human body. TCM focuses on identifying disharmony and imbalance in these channels that can lead to disease. TCM practitioners believe that qi (pronounced chee), vital energy or life force, travels through these meridians and can become blocked or overstimulated as a result of stress or internal emotions, environmental factors, or poor lifestyle habits (diet, addiction, lack of exercise). The goal of TCM is to restore balance and harmony to qi, creating a state of health. TCM emphasizes prevention and healthy lifestyle rather than disease intervention.
What is the premise behind Traditional Chinese Medicine?
In very simple terms, Traditional Chinese Medicine relies on the body's natural healing capabilities to know how to restore and maintain balance and good health in your body. These natural capabilities can be interrupted by such things as poor diet, stress, or environment, resulting in illness or "imbalance" in the body. TCM practitioners seek to eliminate the causes of the interruption within the body through therapies such as acupuncture, cupping, herbal medications, and massage. In contrast, Western medicine practitioners typically treat the symptoms through pharmaceuticals or procedures, without addressing the cause of the illness.
Traditional Chinese Medicine is the modern-day system of Chinese medicine developed in the 1950s by the top doctors in China. TCM is based on classic Chinese medicine theories dating back thousands of years, but also incorporates modern ideas into one cohesive system of the most effective and time-tested treatment methods.
Acupuncture is a form of Traditional Chinese Medicine (TCM), in which very slender, sterilized needles are inserted into the body's meridians or energy channels. There are 14 meridians, each of which is believed to be connected to a specific organ system. When energy flow through these meridians is interrupted, illness or pain occurs. Acupuncture is used to restore balance to the energy flow and stimulate the body's natural ability to heal itself.
The number and length of the needles used depends on the condition being treated. Needles are left in place for anywhere from a few minutes up to 30 minutes. Properly inserted needles cause a sensation known as "de qi," which is a slight tingling, heavy feeling, or numbness in the area around the needles. Acupuncture often brings about a feeling of deep relaxation.
Generally speaking, acupuncture shouldn't hurt. That's not to say you don't feel anything. Most patients experience a "pinch" at the point where the needles are inserted. They might also feel a tingling, a heaviness or numbness as well. However, this is typically followed by a feeling of total relaxation.
Typically, patients do not experience any side effects after an acupuncture treatment. The inserted needles open the flow of energy in the body, which triggers the body's natural healing ability to take over. In some cases, the patient's symptoms worsen for a few days, or they might experience general changes in appetite, sleep, bowel or urination patterns, or emotional state. This is a sign that the acupuncture is beginning to work and should not be a cause of concern.
It is also very common immediately following the first couple of treatments to feel a sense of deep relaxation or even mild disorientation. These should subside soon after the treatment. If anything, a patient might need a brief nap to feel more alert.
Acupuncture is generally very safe if done by a well-trained, certified practitioner. On very rare occasions, infections can occur if the needles being used aren't sterile. Make sure that your provider is using packaged, sterilized needles that are thrown away after each use.
What type of training must an acupuncturist have?
Acupuncturists (L.Ac.) in the United States must attend an accredited three- or four-year graduate-level program to be licensed. Most professional training programs are accredited by the Accreditation Commission for Acupuncture and Oriental Medicine (ACAOM). In addition, 43 states require certification by the National Certification Commission for Acupuncture and Oriental Medicine (NCCAOM). Illinois requires acupuncturists to be licensed by the Illinois Department of Financial and Professional Regulation.
As Traditional Chinese Medicine, and acupuncture specifically, gain recognition as an effective complement to Western medicine, a growing number of insurance companies are beginning to cover acupuncture and other TCM therapies for certain conditions. Be sure to check with your individual plan to see what is covered. Click here for further advice on insurance coverage of TCM.
Traditional Chinese Medicine, which includes acupuncture, has been used for thousands of years to treat a wide variety of conditions. But the West didn't start seeing it used until the mid 1900s. In the late 1970s, the World Health Organization recognized the ability of acupuncture to treat nearly four dozen common ailments, including neuro-musculoskeletal conditions (such as arthritis, neuralgia, insomnia, dizziness, and neck/shoulder pain); emotional and psychological disorders (such as depression and anxiety); circulatory disorders (such as hypertension, angina pectoris, arteriosclerosis and anemia); addictions to alcohol, nicotine and other drugs; respiratory disorders (such as emphysema, sinusitis, allergies and bronchitis); and gastrointestinal conditions (such as food allergies, ulcers, chronic diarrhea, constipation, indigestion, intestinal weakness, anorexia and gastritis).


text:
Photosynthesis(Carbon)
Wang, Dafu [1], Portis, Archie R [2], Moose, Stephen P [3], Long, Stephen P. [4].
A molecular explanation of why C4 photosynthesis in Miscanthus, but not maize, can acclimatize to chilling conditions.
Miscanthus x giganteus is exceptional among C4 plants in its ability to produce leaves and photosynthesize at low temperature. While the most cold-adapted Zea mays lines show loss of photosynthetic capacity when transferred to 14oC, M. x giganteus shows no loss and can continue photosynthesis down to 8oC. Understanding how this is achieved is critical to adapting Z. mays and other C4 crops to colder climates or allowing them to make use of solar radiation over a longer period of the year. Transgenic analysis of C4 plants has shown that two enzymes share control and are limiting to the light-saturated rate of photosynthesis: Rubisco and Pyruvate Pi Dikinase (PPDK). Previous studies have shown that PPDK is cold labile while others have shown that Rubisco activity at low temperature is likely to constrain photosynthetic rate. Analysis of the sequences for the genes coding for these enzymes in the two species has failed to reveal any differences likely to alter cold-tolerance. Kinetic analysis of the purified enzymes has similarly failed to identify any major differences. However, when Z. mays and M. x giganteus are transferred from 25oC to 14oC, both light-saturated photosynthetic rate (Asat) and maximum quantum yield (Φ) declined by 60% in both species in the first 24hr. In Z. mays it continued to decline in these existing leaves over the next 7 days, but recovered in M. x giganteus. What changes underlie this difference? Within 24hr of the temperature transition after a transient decline the PPDK protein content was seen in M. x giganteus but then steadily increased a few fold over the next days while it declined in the Z. mays leaves. Rubisco levels remained constant in M. x giganteus, but declined slightly in Z. mays. RT-PCR showed that the increase in PPDK protein in the M. x giganteus leaves corresponded to a large increase in mRNA level for PPDK. The results suggest that of the two enzymes know to limit C4 photosynthesis, increase of PPDK and not Rubisco corresponds to the recovery of photosynthetic capacity during low temperature exposure of M. x giganteus. The results suggest a low temperature induction of either transcription of the PPDK gene or inhibition of breakdown of this message in M. x giganteus, but not Z. mays.
1 - University of Illinois at Urbana-Champaign, Institute of Genomic Biology, Department of Plant Biology, 1201 W Gregory Dr., ERML379, Urbana, IL, 61801, USA
2 - University of Illinois at Urbana-Champaign, Plant Biology, 1201 West Gregory Drive, Urbana, IL, 61801, USA
3 - University of Illinois, Urbana-Champaign, Crop Sciences, 1201 W. Gregory Drive, 389 ERML, Urbana, IL, 61801, USA
4 - University of Illinois at Urbana-Champaign, Institute of Genomic Biology, Department of Plant Biology, Department of Crop Sciences
Miscanthus x giganteus
PPDK
rubisco.


text:
Q: XmlSerializer trying to load unrelated dll in .NET I have a class which is using classes from Oracle.DataAccess.dll (32-bit) in its methods. These methods are called on server (32-bit). None of class' properties are of type belonging to Oracle.DataAccess.dll
In client we have referred the same dll and the following code runs fine in 32-bit machine, but not in 64-bit machine.
    Type t = typeof(ClassA);
    XmlSerializer s = new XmlSerializer(t);

On 64-bit machines getting following error:
System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Oracle.DataAccess, Version=2.111.7.20, Culture=neutral, PublicKeyToken=89b483f429c47342'
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializerContract.CanSerialize(Type type)
   at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

Why is CLR trying to load Oracle.DataAccess.dll despite the class not having any property belonging to the dll ?
EDIT
The exception is not occurring when we pass an empty XmlAttributeOverrides
XmlAttributeOverrides o = new XmlAttributeOverrides();
XmlSerializer s = new XmlSerializer(t, o);

A: This error usually means that the assembly is a mixed assembly, i.e. it contains both managed and native code. So from the operating system's POV it is just a 32-bit dll and cannot be loaded into a 64-bit process. If Oracle provides both 32-bit and 64-bit versions of this assembly, you will have to modify your deployment procedures to ensure that the correct assembly is installed. If only a 32-bit assembly is available, you can do little except make your managed application x86 rather than anycpu. If this is impractical, one solution is to create a separate 32-bit service process which will load this assembly, and have the main 64-bit process communicate with it using an IPC mechanism selected to taste.

redpajama_set_name: RedPajamaStackExchange


text:
package com.konkerlabs.platform.registry.data.core.config.oauth;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;

@Configuration
@EnableResourceServer
public class ResourceServer extends ResourceServerConfigurerAdapter {

	@Override
	public void configure(HttpSecurity http) throws Exception {

		http
            .requestMatchers().antMatchers("/gateway/**")
            .and()
			.authorizeRequests().antMatchers("/gateway/**")
                .access("#oauth2.hasScope('read')")
				.anyRequest().authenticated();

	}

}


Please join Sustainable South Jersey (formally Sustainable Cherry Hill) and Tri-County Sustainability Alliance for our Meetup. You'll enjoy conversation, networking, and educational speakers.
1. Julia Mooney, teacher and creator of the "One Outfit, 100 Days Project" discusses how she wore the same dress to school for 100 days to raise awareness of Fast Fashion (as seen on Good Morning America and USA Today): See https://www.instagram.com/oneoutfit100days for more information.
2. Lori Braunstein, Outreach Manager, Environmental Leadership Program (and founder of Sustainable Cherry Hill) will discuss a transformative environmental education program.
3. Jeff Quattrone, Founder, Library Seed Bank, artist and Leader, Slow Food's Ark of Taste Project.


text:
package com.calsoft.leave.action;

import java.io.OutputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import jxl.WorkbookSettings;
import jxl.format.Border;
import jxl.format.BorderLineStyle;
import jxl.format.Colour;
import jxl.format.UnderlineStyle;
import jxl.write.Label;
import jxl.write.WritableCellFormat;
import jxl.write.WritableFont;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;
import jxl.write.WriteException;
import jxl.write.biff.RowsExceededException;

import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;
import com.calsoft.factory.Factory;
import com.calsoft.leave.form.LeaveForm;
import com.calsoft.leave.model.Leave;
import com.calsoft.leave.service.LeaveService;
import com.calsoft.leave.service.factory.LeaveServiceFactory;
import com.calsoft.report.model.Report;
import com.calsoft.report.service.ReportService;
import com.calsoft.report.service.ReportServiceFactory;
import com.calsoft.user.form.UserForm;
import com.calsoft.user.service.UserService;
/*Action class for LeaveEntry Module*/

@SuppressWarnings("unchecked")
public class LeaveAction extends DispatchAction {
	private static final Logger logger = Logger.getLogger("Leave Action");
	private WritableCellFormat table_header;
	private WritableCellFormat table_content;
	private WritableCellFormat table_content_red;
	private WritableCellFormat table_content_blue;
	private WritableCellFormat table_content_green;
	private WritableCellFormat table_header_pink;
	private WritableCellFormat table_content_light_gray;

	public ActionForward saveDetail(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				int userId = (Integer) sess.getAttribute("user_id");
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDate = null;
				String selectMonthYear = null;
				List<LeaveForm> leaveList = null;
				if (request.getParameter("iYear") != null&& request.getParameter("iMonth") != null){
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDate = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.saveLeave(leaveForm, request, checkDate, selectMonthYear);
					List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
					request.setAttribute("leaveDateList", leaveDate);
					leaveList = leaveService.getLeave(selectMonthYear, request);
					request.setAttribute("leaveFormList", leaveList);
					// Hiding Get Team Leave Button fron User
					UserService userService = Factory.getUserService();
					List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
					if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
						request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getLeaveDetails");
		}
		else
			throw new Exception();
	}

	/*
	 * saveDashBoard() method :Performing the save operation from dashBoard page
	 * of Leave Entry
	 */

	public ActionForward saveDashBoard(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				int userId = (Integer) sess.getAttribute("user_id");
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDateNew = null;
				String selectMonthYear = null;
				String dateSeparatedByComma = null;
				if (request.getParameter("iYear") != null && request.getParameter("iMonth") != null) {
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDateNew = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.saveLeave(leaveForm, request, checkDateNew, selectMonthYear);
					List<Integer> leaveDateNew = new ArrayList<Integer>();
					List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
					Iterator<String> dateItr = leaveDate.iterator();
					while (dateItr.hasNext()) {
						String stringDate = dateItr.next().toString();
						leaveDateNew.add(new Integer(stringDate));
					}
					Collections.sort(leaveDateNew);
					List<Leave> leaveUpdatedList = new ArrayList<Leave>();
					List<Leave> dashBoardList = leaveService.getDashBoardList(selectMonthYear, request);
					for (int pk = 0; pk < leaveDateNew.size(); pk++) {
						dateSeparatedByComma = dateSeparatedByComma +","+leaveDateNew.get(pk);
					}
					if (dateSeparatedByComma != null) {
						dateSeparatedByComma = dateSeparatedByComma.replaceAll("null,", "");
						Iterator<Leave> itr = dashBoardList.iterator();
						while (itr.hasNext()) {
							Leave leaveValue = itr.next();
							leaveValue.setLeave_month(selectMonthYear);
							leaveValue.setLeave_date(dateSeparatedByComma);
							leaveUpdatedList.add(leaveValue);
						}
					}
					request.setAttribute("leaveList", leaveUpdatedList);
					request.setAttribute("leaveDate", leaveDate);
					// Hiding Get Team Leave Button fron User
					UserService userService = Factory.getUserService();
					List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
					if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
						request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getLeaveDashBoard");
		}
		else
			throw new Exception();
	}
	/*
	 * getLeaveDetails() method :Retriving the all records for selected month of
	 * Leave Entry
	 */
	public ActionForward getLeaveDetails(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("user_id")!=null){
			try {
				int userId = (Integer) sess.getAttribute("user_id");
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String selectMonthYear = null;
				List<LeaveForm> leaveList = null;
				selectYear = request.getParameter("iYear");
				selectMonth = request.getParameter("iMonth");
				int selectM = Integer.parseInt(selectMonth);
				selectM = selectM + 1;
				selectMonth = new Integer(selectM).toString();
				String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
						"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
				if (selectMonth.equals("1")) {
					selectMonth = monthName[0];
				}
				if (selectMonth.equals("2")) {
					selectMonth = monthName[1];
				}
				if (selectMonth.equals("3")) {
					selectMonth = monthName[2];
				}
				if (selectMonth.equals("4")) {
					selectMonth = monthName[3];
				}
				if (selectMonth.equals("5")) {
					selectMonth = monthName[4];
				}
				if (selectMonth.equals("6")) {
					selectMonth = monthName[5];
				}
				if (selectMonth.equals("7")) {
					selectMonth = monthName[6];
				}
				if (selectMonth.equals("8")) {
					selectMonth = monthName[7];
				}
				if (selectMonth.equals("9")) {
					selectMonth = monthName[8];
				}
				if (selectMonth.equals("10")) {
					selectMonth = monthName[9];
				}
				if (selectMonth.equals("11")) {
					selectMonth = monthName[10];
				}
				if (selectMonth.equals("12")) {
					selectMonth = monthName[11];
				}
				selectMonthYear = selectMonth + "-" + selectYear;
				List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
				UserService userService = Factory.getUserService();
				UserForm userDetail = userService.getUsernameFromId(userId);
				Date freezeDate = userDetail.getFreeze_timesheet();
				Calendar cal = Calendar.getInstance();
				if(selectMonthYear!=null){
					DateFormat d_format = new SimpleDateFormat("dd-MMM-yyyy");
					cal.setTime(d_format.parse("01-"+selectMonthYear));
				}
				if(freezeDate != null){
					Calendar calWithFreezingDate = Calendar.getInstance();
					calWithFreezingDate.setTime(freezeDate);
					cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
					cal.set(Calendar.HOUR_OF_DAY, 0);
					cal.set(Calendar.MINUTE, 0);
					cal.set(Calendar.SECOND, 0);
					cal.set(Calendar.MILLISECOND, 0);
					//Checking if freezing date exceeds than currentDate then blocking new entry.
					if(calWithFreezingDate.after(cal) || calWithFreezingDate.equals(cal)){
						request.setAttribute("disablingSaveAndClear", "disablingSaveAndClear");
					}
				}
				request.setAttribute("leaveDateList", leaveDate);
				leaveList = leaveService.getLeave(selectMonthYear, request);
				request.setAttribute("leaveFormList", leaveList);

				// Hiding Get Team Leave Button fron User
				List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
				if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
					request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getLeaveDetails");
		}
		else
			throw new Exception();
	}

	/*
	 * getLeaveDashBoard() method :Retriving specific records for selected month
	 * of Leave Entry
	 */

	public ActionForward getLeaveDashBoard(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			int userId = (Integer) sess.getAttribute("user_id");
			try {
				sess.removeAttribute("selectedDate");
				sess.removeAttribute("conList");
				sess.removeAttribute("userList");
				sess.removeAttribute("conListUpdate");
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String selectMonthYear = null;
				String dateSeparatedByComma = null;
				selectYear = request.getParameter("iYear");
				selectMonth = request.getParameter("iMonth");
				String getCompleteLeaveyear = request.getParameter("iYearComplete");
				String getCompleteLeaveMonth = request.getParameter("iMonthComplete");
				String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
						"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
				if (selectMonth == null){
					Calendar ca = new GregorianCalendar();
					int iTMonth = ca.get(Calendar.MONTH);
					iTMonth = iTMonth + 1;
					int iTYear = ca.get(Calendar.YEAR);
					selectMonth = new Integer(iTMonth).toString();
					selectYear = new Integer(iTYear).toString();
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
				}
				else if(getCompleteLeaveyear!=null && getCompleteLeaveyear.length()>2){     //Added for getting entire resources leave detail for complete year.
					List<LeaveForm> dashBoardList = leaveService.getDashBoardList(getCompleteLeaveyear, userId);
					DateFormat df = new SimpleDateFormat("MMMM");
					DateFormat df1 = new SimpleDateFormat("MMM");
					Date month = df.parse(getCompleteLeaveMonth);
					String formattedDate = df1.format(month);
					List<String> leaveDate =  leaveService.getLeaveDate(formattedDate+"-"+getCompleteLeaveyear, request);

					UserService userService = Factory.getUserService();
					UserForm userDetail = userService.getUsernameFromId(userId);
					Date freezeDate = userDetail.getFreeze_timesheet();
					Calendar cal = Calendar.getInstance();
					DateFormat d_format = new SimpleDateFormat("dd-MMMM-yyyy");
					selectMonthYear = getCompleteLeaveMonth+"-"+getCompleteLeaveyear;
					cal.setTime(d_format.parse("01-"+selectMonthYear));
					if(freezeDate != null){
						Calendar calWithFreezingDate = Calendar.getInstance();
						calWithFreezingDate.setTime(freezeDate);
						cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
						cal.set(Calendar.HOUR_OF_DAY, 0);
						cal.set(Calendar.MINUTE, 0);
						cal.set(Calendar.SECOND, 0);
						cal.set(Calendar.MILLISECOND, 0);
						//Checking if freezing date exceeds than currentDate then blocking new entry.
						if(calWithFreezingDate.after(cal) || calWithFreezingDate.equals(cal)){
							request.setAttribute("disablingSaveAndClear", "disablingSaveAndClear");
						}
					}
					// Hiding Get Team Leave Button fron User
					List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
					if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
						request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
					}

					request.setAttribute("leaveDate", leaveDate);
					request.setAttribute("leaveListForYear", dashBoardList);
					sess.setAttribute("leaveListForYear", dashBoardList);
					return mapping.findForward("getLeaveDashBoard");
				}
				else {
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();

					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
				}
				List<Integer> leaveDateNew = new ArrayList<Integer>();
				List<String> leaveDate =  leaveService.getLeaveDate(selectMonthYear, request);
				Iterator<String> dateItr = leaveDate.iterator();
				while (dateItr.hasNext()) {
					String stringDate = dateItr.next().toString();
					leaveDateNew.add(new Integer(stringDate));
				}
				Collections.sort(leaveDateNew);
				List<Leave> leaveUpdatedList = new ArrayList<Leave>();
				List<Leave> dashBoardList = leaveService.getDashBoardList(selectMonthYear, request);
				for (int pk = 0; pk < leaveDateNew.size(); pk++) {
					dateSeparatedByComma = dateSeparatedByComma + ","+ leaveDateNew.get(pk);
				}
				if (dateSeparatedByComma != null) {
					dateSeparatedByComma = dateSeparatedByComma.replaceAll("null,","");
					Iterator<Leave> itr = dashBoardList.iterator();
					while (itr.hasNext()) {
						Leave leaveValue = itr.next();
						leaveValue.setLeave_month(selectMonthYear);
						leaveValue.setLeave_date(dateSeparatedByComma);
						leaveUpdatedList.add(leaveValue);
					}
				}
				UserService userService = Factory.getUserService();
				UserForm userDetail = userService.getUsernameFromId(userId);
				Date freezeDate = userDetail.getFreeze_timesheet();
				Calendar cal = Calendar.getInstance();
				if(selectMonthYear!=null){
					DateFormat d_format = new SimpleDateFormat("dd-MMM-yyyy");
					cal.setTime(d_format.parse("01-"+selectMonthYear));
				}
				if(freezeDate != null){
					Calendar calWithFreezingDate = Calendar.getInstance();
					calWithFreezingDate.setTime(freezeDate);
					cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
					cal.set(Calendar.HOUR_OF_DAY, 0);
					cal.set(Calendar.MINUTE, 0);
					cal.set(Calendar.SECOND, 0);
					cal.set(Calendar.MILLISECOND, 0);
					//Checking if freezing date exceeds than currentDate then blocking new entry.
					if(calWithFreezingDate.after(cal) || calWithFreezingDate.equals(cal)){
						request.setAttribute("disablingSaveAndClear", "disablingSaveAndClear");
					}
				}
				// Hiding Get Team Leave Button fron User
				List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
				if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
					request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
				}
				request.setAttribute("leaveList", leaveUpdatedList);
				request.setAttribute("leaveDate", leaveDate);
			}
			catch (Exception e){
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getLeaveDashBoard");
		}
		else
			throw new Exception();
	}

	/*
	 * clearCheckedDate() method :Clear checkboxes which are checked for
	 * selected month of Leave Entry
	 */

	public ActionForward clearCheckedDate(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				int userId = (Integer) sess.getAttribute("user_id");
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDate = null;
				String selectMonthYear = null;
				List<LeaveForm> leaveList = null;
				if (request.getParameter("checkDate") != null && request.getParameter("iYear") != null && request.getParameter("iMonth") != null) {
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDate = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.clearCheck(leaveForm, request, checkDate);
				}
				List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
				request.setAttribute("leaveDateList", leaveDate);
				leaveList = leaveService.getLeave(selectMonthYear, request);
				request.setAttribute("leaveFormList", leaveList);
				// Hiding Get Team Leave Button fron User
				UserService userService = Factory.getUserService();
				List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
				if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
					request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getLeaveDetails");
		}
		else
			throw new Exception();
	}

	/*
	 * clearCheckedDateDashBoard() method :Removing records which are checked
	 * for selected month of Leave Entry in Dash Board
	 */

	public ActionForward clearCheckedDateDashBoard(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				int userId = (Integer) sess.getAttribute("user_id");
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDate = null;
				String selectMonthYear = null;
				String dateSeparatedByComma = null;
				if (request.getParameter("checkDate") != null && request.getParameter("iYear") != null && request.getParameter("iMonth") != null) {
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDate = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.clearCheck(leaveForm, request, checkDate);
				}
				//List leaveList = leaveService.getLeave(selectMonthYear, request);
				List<Integer> leaveDateNew = new ArrayList<Integer>();
				List<String> leaveDate =leaveService.getLeaveDate(selectMonthYear, request);
				Iterator<String> dateItr = leaveDate.iterator();
				while (dateItr.hasNext()) {
					String stringDate = dateItr.next().toString();
					leaveDateNew.add(new Integer(stringDate));

				}
				Collections.sort(leaveDateNew);
				List<Leave> leaveUpdatedList = new ArrayList<Leave>();
				List<Leave> dashBoardList = leaveService.getDashBoardList(selectMonthYear, request);
				for (int pk = 0; pk < leaveDateNew.size(); pk++) {
					dateSeparatedByComma = dateSeparatedByComma + ","
							+ leaveDateNew.get(pk);
				}
				if (dateSeparatedByComma != null) {
					dateSeparatedByComma = dateSeparatedByComma.replaceAll("null,","");
					Iterator<Leave> itr = dashBoardList.iterator();
					while (itr.hasNext()) {
						Leave leaveValue = itr.next();
						leaveValue.setLeave_month(selectMonthYear);
						leaveValue.setLeave_date(dateSeparatedByComma);
						leaveUpdatedList.add(leaveValue);
					}
				}
				request.setAttribute("leaveList", leaveUpdatedList);
				request.setAttribute("leaveDate", leaveDate);
				// Hiding Get Team Leave Button fron User
				UserService userService = Factory.getUserService();
				List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
				if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
					request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("clearCheckedDateDashBoard");
		}
		else
			throw new Exception();
	}

	/*
	 * saveTeamDetail() method :Performing the save operation from
	 * getTeamLeaveDetail page of Leave Entry
	 */

	public ActionForward saveTeamDetail(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDate = null;
				String selectMonthYear = null;
				if (/*request.getParameter("checkDate") != null
					&&*/ request.getParameter("iYear") != null
					&& request.getParameter("iMonth") != null) {
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDate = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.saveLeave(leaveForm, request, checkDate,selectMonthYear);
					List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
					request.setAttribute("leaveDateList", leaveDate);
					int userId = Integer.parseInt(sess.getAttribute("user_id").toString());
					ReportService reportservice = ReportServiceFactory.getReportService();
					List<List<Report>> combinedList = reportservice.getUserReportAllocation(userId);
					Iterator<List<Report>> itr = combinedList.iterator();
					List<Report> allocatedList = null;
					if (itr.hasNext()) {
						allocatedList = itr.next();
					}
					List<LeaveForm> leaveFormList = leaveService.getTeamLeaveDetail(allocatedList, selectMonthYear);
					request.setAttribute("leaveFormList", leaveFormList);
					// Hiding Get Team Leave Button fron User
					UserService userService = Factory.getUserService();
					List<UserForm> allocatedUserList = userService.getAllocatedResourcesDetailsBasedOnRelievingDate(userId, Calendar.getInstance());
					if(!allocatedUserList.isEmpty() && allocatedUserList.size() > 1){
						request.setAttribute("validForTeamLeaveDetail", "validForTeamLeaveDetail");
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getTeamLeaveDetail");
		}
		else
			throw new Exception();
	}

	/*
	 * getTeamLeaveDetail() method :Performing the retrieving operation from
	 * getTeamLeaveDetail page of Leave Entry
	 */
	public ActionForward getTeamLeaveDetail(ActionMapping map, ActionForm form,HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String selectMonthYear = null;
				List<LeaveForm> leaveList = null;
				selectYear = request.getParameter("iYear");
				selectMonth = request.getParameter("iMonth");
				int selectM = Integer.parseInt(selectMonth);
				selectM = selectM + 1;
				selectMonth = new Integer(selectM).toString();
				String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
						"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
				if (selectMonth.equals("1")) {
					selectMonth = monthName[0];
				}
				if (selectMonth.equals("2")) {
					selectMonth = monthName[1];
				}
				if (selectMonth.equals("3")) {
					selectMonth = monthName[2];
				}
				if (selectMonth.equals("4")) {
					selectMonth = monthName[3];
				}
				if (selectMonth.equals("5")) {
					selectMonth = monthName[4];
				}
				if (selectMonth.equals("6")) {
					selectMonth = monthName[5];
				}
				if (selectMonth.equals("7")) {
					selectMonth = monthName[6];
				}
				if (selectMonth.equals("8")) {
					selectMonth = monthName[7];
				}
				if (selectMonth.equals("9")) {
					selectMonth = monthName[8];
				}
				if (selectMonth.equals("10")) {
					selectMonth = monthName[9];
				}
				if (selectMonth.equals("11")) {
					selectMonth = monthName[10];
				}
				if (selectMonth.equals("12")) {
					selectMonth = monthName[11];
				}
				selectMonthYear = selectMonth + "-" + selectYear;
				List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
				request.setAttribute("leaveDateList", leaveDate);
				leaveList = leaveService.getLeave(selectMonthYear, request);
				request.setAttribute("leaveFormList", leaveList);

				int userId = Integer.parseInt(sess.getAttribute("user_id").toString());
				ReportService reportservice = ReportServiceFactory.getReportService();
				List<List<Report>> combinedList = reportservice
						.getUserReportAllocation(userId);
				Iterator<List<Report>> itr = combinedList.iterator();
				List<Report> allocatedList = null;
				if(itr.hasNext()){
					allocatedList = itr.next();
				}
				List<LeaveForm> leaveFormList = leaveService.getTeamLeaveDetail(allocatedList, selectMonthYear);

				UserService userService = Factory.getUserService();
				UserForm userDetail = userService.getUsernameFromId(userId);
				Date freezeDate = userDetail.getFreeze_timesheet();
				Calendar cal = Calendar.getInstance();
				if(selectMonthYear!=null){
					DateFormat d_format = new SimpleDateFormat("dd-MMM-yyyy");
					cal.setTime(d_format.parse("01-"+selectMonthYear));
				}
				if(freezeDate != null){
					Calendar calWithFreezingDate = Calendar.getInstance();
					calWithFreezingDate.setTime(freezeDate);
					cal.set(Calendar.DAY_OF_MONTH, cal.getActualMinimum(Calendar.DAY_OF_MONTH));
					cal.set(Calendar.HOUR_OF_DAY, 0);
					cal.set(Calendar.MINUTE, 0);
					cal.set(Calendar.SECOND, 0);
					cal.set(Calendar.MILLISECOND, 0);
					//Checking if freezing date exceeds than currentDate then blocking new entry.
					if(calWithFreezingDate.after(cal) || calWithFreezingDate.equals(cal)){
						request.setAttribute("disablingSaveAndClear", "disablingSaveAndClear");
					}
				}
				request.setAttribute("leaveFormList", leaveFormList);
			} catch (Exception e) {
				e.printStackTrace();
				new Exception();
			}
			return map.findForward("getTeamLeaveDetail");
		}
		else throw new Exception();
	}

	/*
	 * clearTeamCheckedDate() method :Performing the removing operation from
	 * getTeamLeaveDetail page of Leave Entry
	 */

	public ActionForward clearTeamCheckedDate(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		HttpSession sess =  request.getSession();
		if(sess.getAttribute("userName")!=null){
			try {
				LeaveForm leaveForm = (LeaveForm) form;
				LeaveService leaveService = LeaveServiceFactory.getLeaveService();
				String selectYear = null;
				String selectMonth = null;
				String[] checkDate = null;
				String selectMonthYear = null;
				if (request.getParameter("checkDate") != null
						&& request.getParameter("iYear") != null
						&& request.getParameter("iMonth") != null) {
					selectYear = request.getParameter("iYear");
					selectMonth = request.getParameter("iMonth");
					int selectM = Integer.parseInt(selectMonth);
					selectM = selectM + 1;
					selectMonth = new Integer(selectM).toString();
					String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May",
							"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
					if (selectMonth.equals("1")) {
						selectMonth = monthName[0];
					}
					if (selectMonth.equals("2")) {
						selectMonth = monthName[1];
					}
					if (selectMonth.equals("3")) {
						selectMonth = monthName[2];
					}
					if (selectMonth.equals("4")) {
						selectMonth = monthName[3];
					}
					if (selectMonth.equals("5")) {
						selectMonth = monthName[4];
					}
					if (selectMonth.equals("6")) {
						selectMonth = monthName[5];
					}
					if (selectMonth.equals("7")) {
						selectMonth = monthName[6];
					}
					if (selectMonth.equals("8")) {
						selectMonth = monthName[7];
					}
					if (selectMonth.equals("9")) {
						selectMonth = monthName[8];
					}
					if (selectMonth.equals("10")) {
						selectMonth = monthName[9];
					}
					if (selectMonth.equals("11")) {
						selectMonth = monthName[10];
					}
					if (selectMonth.equals("12")) {
						selectMonth = monthName[11];
					}
					selectMonthYear = selectMonth + "-" + selectYear;
					checkDate = request.getParameterValues("checkDate");
					leaveForm.setSelectMonth(selectMonthYear);
					leaveService.clearCheck(leaveForm, request, checkDate);
				}
				List<String> leaveDate = leaveService.getLeaveDate(selectMonthYear, request);
				request.setAttribute("leaveDateList", leaveDate);
				List<LeaveForm> leaveList = leaveService.getLeave(selectMonthYear, request);
				request.setAttribute("leaveFormList", leaveList);
				int userId = Integer.parseInt(sess.getAttribute("user_id").toString());
				ReportService reportservice = ReportServiceFactory.getReportService();
				List<List<Report>> combinedList = reportservice.getUserReportAllocation(userId);
				Iterator<List<Report>> itr = combinedList.iterator();
				List<Report> allocatedList = null;
				if(itr.hasNext()) {
					allocatedList = itr.next();
				}
				List<LeaveForm> leaveFormList = leaveService.getTeamLeaveDetail(allocatedList, selectMonthYear);
				request.setAttribute("leaveFormList", leaveFormList);
			} catch (Exception e) {
				e.printStackTrace();
				logger.error(e);
				throw new Exception();
			}
			return mapping.findForward("getTeamLeaveDetail");
		}
		else throw new Exception();
	}

	public void generateCompleteLeaveReport(ActionMapping map,ActionForm form,HttpServletRequest request,HttpServletResponse response) throws Exception{
		//get the resources that are allocated for a particular user
		HttpSession sess = request.getSession();
		if(sess.getAttribute("userName")!=null){
			try{
				List<LeaveForm> leaveFormList= (List<LeaveForm>)sess.getAttribute("leaveListForYear");
				OutputStream out = response.getOutputStream();
				WorkbookSettings wbSettings = new WorkbookSettings();
				wbSettings.setLocale(new Locale("en", "EN"));
				WritableWorkbook workbook = jxl.Workbook.createWorkbook(out, wbSettings);
				workbook.createSheet("Yearly Leave Report", 0);
				WritableSheet excelSheet = workbook.getSheet(0);
				excelSheet.setColumnView(0, 30);
				excelSheet.setColumnView(1, 20);
				excelSheet.setColumnView(2, 20);

				int row = 0;
				int heightInPoints = 25*15;
				excelSheet.setRowView(row, heightInPoints);
				getColorFonts();
				addCaption(excelSheet, 0, 0, "Resource Name", table_header);
				addCaption(excelSheet, 1, 0, "Leave Date", table_header);
				addCaption(excelSheet, 2, 0, "Type", table_header);
				Iterator<LeaveForm> leaveFormIterator=leaveFormList.iterator();
				int count=1;
				while(leaveFormIterator.hasNext()){
					LeaveForm leaveForm=leaveFormIterator.next();
					excelSheet.setRowView(count, 30*12);
					addLabel(excelSheet, 0, count, leaveForm.getUserName(), table_content);
					addLabel(excelSheet, 1, count, leaveForm.getUpdatedDateString(), table_content);
					addLabel(excelSheet, 2, count, leaveForm.getWork_category(), table_content);
					count++;
				}
				response.setContentType("application/vnd.ms-excel");
				response.setHeader("Content-Disposition", "inline; filename=" +"LeaveReport.xls");
				workbook.write();
				workbook.close();
				out.flush();
				out.close();
			}catch(Exception e){
				e.printStackTrace();
				throw new Exception();
			}
		}
		else
			throw new Exception();
	}
	private void getColorFonts() throws WriteException{
		WritableFont tableContent = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9);
		table_content = new WritableCellFormat(tableContent);
		table_content.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_content.setWrap(true);

		WritableFont tableHeader = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9, WritableFont.BOLD, false, UnderlineStyle.NO_UNDERLINE);
		table_header = new WritableCellFormat(tableHeader);
		table_header.setBackground(Colour.GREY_25_PERCENT);
		table_header.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_header.setWrap(true);

		WritableFont tableContentInRedFont = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9);
		tableContentInRedFont.setColour(Colour.RED);
		table_content_red = new WritableCellFormat(tableContentInRedFont);
		table_content_red.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_content_red.setWrap(true);

		WritableFont tableContentInBlueFont = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9);
		tableContentInBlueFont.setColour(Colour.BLUE2);
		table_content_blue = new WritableCellFormat(tableContentInBlueFont);
		table_content_blue.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_content_blue.setWrap(true);

		WritableFont tableContentInGreenFont = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9);
		tableContentInGreenFont.setColour(Colour.GREEN);
		table_content_green = new WritableCellFormat(tableContentInGreenFont);
		table_content_green.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_content_green.setWrap(true);

		WritableFont tableContentInLightGrayFont =  new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9);
		table_content_light_gray = new WritableCellFormat(tableContentInLightGrayFont);
		table_content_light_gray.setBackground(Colour.WHITE);
		table_content_light_gray.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_content_light_gray.setWrap(true);

		WritableFont tableContentInPinkFont = new WritableFont(WritableFont.createFont("verdana, arial, sans-serif"), 9, WritableFont.BOLD, false, UnderlineStyle.NO_UNDERLINE);
		table_header_pink = new WritableCellFormat(tableContentInPinkFont);
		table_header_pink.setBackground(Colour.ROSE);
		table_header_pink.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.PALE_BLUE);
		table_header_pink.setWrap(true);
	}
	private void addCaption(WritableSheet sheet, int column, int row, String s, WritableCellFormat table_header) throws RowsExceededException, WriteException {
		Label label;
		label = new Label(column, row, s, table_header);
		sheet.addCell(label);
	}
	private void addLabel(WritableSheet sheet, int column, int row, String s, WritableCellFormat table_content) throws WriteException, RowsExceededException {
		Label label;
		label = new Label(column, row, s, table_content);
		sheet.addCell(label);
	}
}


The 2012 Moparty At The Strip Disc One is the first of a three-disc set. Get all the actiob from the wildest Mopar Party in the west! Road Trip, Show Cars, Drag Racing, Road Course, Interviews and more! Approximate tun time of 123 minutes.


text:
Home > Articles > Apple > Operating Systems
Mac Word Processing for the Windows Switcher
By Paul Ferrill
Apple Offerings
The Standard of Comparison
Free Options
Not everyone is crazy about Microsoft Word, but if you're used to it, you may find that the world gets tricky if you have to switch from a Windows PC to a Mac. What's available on Mac but gives you the power and functionality of Word? A surprising variety of programs. Paul Ferrill examines the Apple products, the freebies, and the newbies.
Creating Pages with iWork: Visual QuickProject Guide
Ask almost anyone who uses a computer what applications he or she uses the most, and you'll probably get a list with email, Internet browsing, and word processing near the top. It's pretty much a given that if you own a computer you'll frequently use it to write some type of document.
If you're switching from a Windows machine to the Mac, you'll find more options available for text editing. The biggest question to answer when evaluating the choices is whether you need to be able to read or write Microsoft Word documents. If the answer is no, you have quite a number of different choices. A yes answer narrows the field somewhat.
A quick Google search for "Mac word processing" turns up some interesting options, including Microsoft Word 2004 for Mac. Several suggested sites include listings and references to a multitude of choices from the simple to the highly complex.
Knowing what types of documents you'll be creating will also help to drive your decision. Simple text editing with some formatting doesn't require a program with lots of bells and whistles. For a polished publication, ready to print, you'll obviously need something on the high end.
Apple offers several options for word processing:
AppleWorks 6 is bundled with the operating system. It comes with a number of modules, including tools for word processing, spreadsheets, databases, drawing, painting, and presentation. The AppleWorks word processing module is a capable program in its own right. It has the ability to read and write Microsoft Word documents as well as HTML, RTF, and plain text. An entire complement of formatting, outlining, and editing tools coupled with a simple user interface make this program a viable contender.
OS X Tiger includes a demo version of iWork that consists of two programs: Pages and Keynote. The Pages program (similar to Quark Express or Adobe PageMaker) is intended for producing print publications such as brochures and newsletters. While you could use any of these programs for creating simple text documents, it would really be overkill if that's all you needed to do.
Keynote is a new high-end presentation tool. With it, you can create a true multimedia presentation with animation, audio, graphics, text, and video. It's much more capable than the AppleWorks presentation tool and intended for a different audience.
Dragon Dictate 2.5: Visual QuickStart Guide
By Maria Langer
Apple Training Series: iWork 06 with iLife 06
By HARRINGTON
QuickBooks Pro 2006 for Macintosh: Visual QuickStart Guide


We repair all generations of iPhones, iPods and iPads. We also repair most other smart phones and tablet PC's. Whether you are a local or interstate we can fix you phone with our mail-in service. HTC, Samsung and Nokia.


the super hornet is an awesome fighter... but, yea.... not getting that one soon lol.
but the mustang delta is a really great ship. for now this will be the only time to get one.
but never fear, i believe you can cross chassis upgrade to one if you really want one.
there is a whole crap pile of CCUs and its possible to get a ship for a few bucks cheaper then the actual pledge if you do it right.
the big thing i noticed is that they now sell missile racks for the 300 series ships. ( the 325 is the only one that comes with them... ) it will fit the 300, the 315, and the 350.
for the hornet, there is the front turret available. ( used to be on the trainer, but since they released the variants, it only comes on the super hornet now...) so you can add 2 more gimbled weapons on the front of a hornet variant.
if anyone notices something i missed, please add it here.


Volynianochka band, Lutsk, got an invitation to participate in the festival to be held in Istanbul in 2015.
This decision was taken after the furore made by young Ukrainian artists at V International Junior Fest 'KUCHUKCHEKMEDZHE' on April,19-24, Istanbul.
During the festival Volynianochka band took part in six concerts and was given a storm of applause from three-thousand audience.
The fest was also participated by children's ensembles from Latvia, Romania, Sri Lanka, Indonesia and Turkey.
On April, 23 Turkey celebrates the Children Day, established by the first president of Turkey, Mustafa Kemal Ataturk. On this day 4 junior fests take place.


text:
Arrow Thin Right Icon
Click image to zoomDouble tap image to zoom
Menu Icon Statistics FAQ Contact
Subscribe to our email list for 10% off your first order.
Enter your email for 10% off your first order.
Thanks for joining the crew!
Check your email for the discount code.
Choose a subject: Please select an option Sizing and Fit Product Details Shipping and Order Details Exchanges and Returns International General/Media/Business Inquiries Other
Looking to make an exchange or return? Please visit exchanges.nothingnew.com.
Please note that it can take up to 14 business days to process your refund or exchange from the date the warehouse receives your return.
Order number (not required):
Doing a return/exchange?
Please visit exchanges.nothingnew.com to get started.
Recommended answers
Select a subject for potential answers to display here.
What size men's sneakers should I order?
We recommend ordering the same size that you normally wear in other athletic sneakers. If you are between sizes, order the smaller size.
What size women's sneakers should I order?
We recommend ordering the same size that you normally wear in other athletic sneakers. If you are between sizes, order the larger size.
What width are your men's sneakers? Do you offer wider/narrower widths?
All of our men's sneakers are listed in our custom 'Standard' width. The Standard width most closely conforms to a traditional D width, which fits about 80% of the United States population. It's also slightly wider in a few areas to make the fit more comfortable. We also recommend the Standard width for customers who commonly purchase E widths.
If you wear a size or width that is not currently available, let us know by filling out this form. We're always evaluating what sizes to add, and this really helps us decide what to do next!
What width are your women's sneakers? Do you offer wider/narrower widths?
All of our women's sneakers are currently available in a traditional B width, which fits about 80% of the United States population. If you are slightly wider (C width), we suggest trying a ½ size up. We don't currently offer wider or narrower widths for women's sneakers.
All of our manufacturing partners are carefully selected with an emphasis on quality, sustainability, business ethics, and operational excellence.
We believe customers should hold the companies they purchase from to a high standard. As a company, we believe in holding our suppliers and partners to a high standard on behalf of our personal and customer values. Having personally been to more than 150 factories throughout North America, Europe, and Asia, we can confidently say that we believe we are working with the best partners, and that all partners have been and will continue to be vetted with our core values in mind. Below is a summary of our origin country for each product category along with information as to why that decision was made. If you have additional questions, if you disagree with our logic, or simply want to share your perspective- please do not hesitate to let us know. We appreciate your input.
All of our sneakers are currently made in the Sichuan province of China.
For decades, the USA and other countries have been sending the bulk of our plastic and mixed paper recycling to China (reference citation). Because of this, most of the raw material suppliers for sustainable goods are also based in China. By keeping assembly and finishing production close to our material suppliers, we are able to reduce our carbon footprint. Sichuan, colloquially known as the "Province of Abundance" also has some of the highest minimum wages in all of China. Concepts such as fair labor and workers' rights are more established there, as compared to other Southeast Asian countries with lower or non-existent minimum wages. After over one year of discussions, multiple in-person visits, and third-party audits, we decided to work with our assembly and finishing parter in Sichuan, who produces footwear for other well-known luxury USA and European brands, because of their record for quality as well as their shared interest in sustainability.
All of our socks and shirts are currently made in the USA.
By producing in the USA, we are best able to reduce our carbon footprint and ensure are values are being upheld throughout the supply chain. While there are not material suppliers in the USA who had the interest or operational capabilities to develop new sustainable shoe components with us, we found a fantastic manufacturing partners to work with on developing sustainable socks and shirts made from upcycled cotton.
What type of materials do you use?
For more info about the materials we use in our sneakers, please check out the Our Materials page!
Why is stitched construction better than cement (glue or vulcanized construction)?
Stitch construction may be significantly more expensive than cement construction, but it's far superior for both your feet and the environment. Stitch construction creates a more flexible and durable bond between the outsole and upper and eliminates the harmful byproducts of glue or sulfur emission caused by cemented or vulcanized sneakers.
Why are Nothing New sneakers so comfortable?
Comfort is a function of the last, insole, outsole, and construction. The last defines the shape of the shoe and we custom developed our lasts to hug the foot in all of the right places. Our insoles are made in partnership with Ortholite, the leading manufacturer and supplier of open-cell foam insole technologies for the world's leading footwear brands. Built with our signature recycled post-consumer plastic liner in addition to recycled rubber, recycled foam, and virgin foam for long-lasting, anti-microbial, high performance. Our outsoles were made with a leading manufacturer to balance our environmentally conscious mission with high performance and longevity. The outsole was built to be comfortable with a bit of bounce, while having flexibility and traction in all of the right places. Lastly, stitched construction helps a lot. By having a true stitch construction, the outsole is able to flex more easily with every step you take.
Where do you get your recycled plastic from?
The majority of our post-consumer plastic is collected in Vietnam, Haiti, and Thailand. Our raw material supplier has over 3,600 full-time collectors employed in accordance to the United Nations Global Compact principles, International Labor Organization and other internationally recognized standards. The 'trash' is collected and sent to China where it is re-processed into thread, dyed for color and then woven into canvas.
How much does shipping cost? How long will it take to get my order?
Standard shipping is free anywhere within the contiguous United States (for orders over $50) and Canada (for orders over $100), and packages typically arrive within 2-6 business days from our East Coast warehouse (excluding pre-orders). International shipping is calculated at checkout and varies by country. International shipments typically take at least 10 business days to arrive. Please note that orders do not ship on Saturdays, Sundays or major holidays. Currently, we cannot ship to PO boxes.
Expedited shipping is available if you need your order in a hurry. You can upgrade to 2-day shipping at checkout for an additional fee. Currently, this option is only available to customers in the contiguous United States. (Note: Expedited orders placed after 2pm ET will process the next business day. Orders do not ship on Saturday, Sunday, or United States holidays.)
If you need your order even faster or have any special circumstances, please send us an email and we will see what we can do!
Do you ship to Armed Forces (APO/FPO/DPO) addresses?
Yes! Orders sent to these addresses will be sent via USPS Priority shipping. While it is more expensive to ship to these addresses than to a residential address, we are proud to support our friends in the Armed Forces and are happy to cover the cost of shipping for these orders. We would only kindly request the customer cover the cost of return shipping if a return or exchange is needed.
At the moment, we only ship to addresses within the United States. If you would like us to start shipping to your country, please fill out this form. We're working hard to ensure people can purchase our products regardless of location, and this will help us decide where to ship to next!
I haven't received my order/shipping confirmation. What should I do?
If you haven't received an email confirmation yet, there are a few things you can do:
Check your spam folder. Some email providers might mark our emails as spam.
If you're using Gmail, check your Promotions inbox by clicking the "Promotions" tab at the top of the page (see image here).
If neither of those things work, send us an email. We'll help update you on your order status. To ensure delivery to your inbox, please add team@nothingnew.com to your address book and safe-sender list.
Once your order ships, you'll receive a shipping confirmation email and tracking number. If it has been more than two business days since you placed your order and you still have not received a tracking number, send us an email and we will gladly assist you!
My tracking number isn't working. What should I do?
New tracking numbers can take up to 24 hours to activate from the time you receive your shipping confirmation. If it's been more than 24 hours and your tracking number still isn't working, send us an email and we'll help get you a status update!
How do I exchange or return my sneakers?
We want you to love your Nothing New sneakers. If you've ordered the wrong size or have any other issue, you can always exchange or return your order for free within the contiguous United States so long as:
Your items are unworn, undamaged, in re-sellable condition (i.e. no marks on the canvas or wear on soles), and in their original packaging.
Your return request is submitted within 14 days of receiving your original order.
Please view our full return policy here.
Click here to get started on an exchange or return. And remember, our customer care team is always here to help if you need us! Feel free to email us with any questions or concerns.
If you placed a return or exchange through our online portal and it's been longer than 14 business days since our warehouse received your return, drop us a line so that we can expedite the process.
When should I expect my refund?
Once our warehouse has received your return, please allow up to 2 weeks for a refund or store credit to be issued. If it has been longer than two weeks, please contact us here.
Virtuous Circle
Support Plus Icon Minus Icon
Instagram Icon Facebook Icon Twitter Icon Pinterest Icon Youtube Icon
We use cookies to enhance your shopping experience with us. Customize settings
Join the Crew!
Sign up to be the first in line for new & exclusive releases, special offers and more.
No thanks, not right now
Thanks for signing up! We're glad to have you as part of the team. Check your email for a special introductory message!


Please use the this form to send an appointment request to our Germantown office or call us. Clopper's Mill Dental Care would like to offer first-time patients a $50.00 discount towards their first dentist office visit and we will donate the funds out to the community. We will contact you as soon as possible to verify your appointment. In the comments section type "FIRST TIME OFFER" and we will apply the discount to your visit.


Gregan and Robinson were members of the 2013 Irish team that competed at the Penn Relays finishing in fifth place in a time of 9.24.10. The DMR relay begins with the 1,200m leg followed by the 400m, 800m and then concludes with the 1,600m final leg.
Athletics Ireland is delighted to announce the support for three Irish relay squads for the forthcoming track and field season. Terrie Cahill (Womens 4×100m) and David Gillick (Mens 4×400m) will oversee and assist with the senior teams. Daniel Kilgallon will co-ordinate the junior men's 4×100m relay squad. The senior teams will target qualification for the European Track and Field Championships in Zurich in August 2014 while the junior men's squad target will be the World Junior Track and Field Championships in Eugene, Oregon in July 2014.
For all the relays there will be a pool developed with the intent to choose five or six athletes who will run at the 2014 European Track and Field Championships and World Junior Track and Field Championships.
Women 4×100m: Technical Lead: Terrie Cahill – Catherine Mc Manus (Celtic DCH), Joan Healy (Bandon AC), Sarah Lavin (UCD AC), Phil Healy (Bandon AC), Louise Kiernan (Fingallians AC), Niamh Whelan (Ferrybank AC), Steph Creaner (Celtic DCH).
Men 4×400m: Assist and Co-ordinate: David Gillick – Brian Gregan (Clonliffe Harriers AC), Jason Harvey (Crusaders AC), Thomas Barr (Ferrybank AC), Timmy Crowe (Dooneen AC), Richard Morrissey (Crusaders AC), Dara Kervick (Carrick on Suir AC), Mark English (UCD AC), Brian Murphy (Crusaders AC).
Junior Men 4×100m: Technical Lead: Daniel Kilgallon – Marcus Lawler (SLOT AC), Zac Irwin (Sligo AC), Keith Doherty (Tallaght AC), Dean Power (Tullamore Harriers), Kieran Elliott (North Sligo AC), Joseph Ojewumi (Tallaght AC), Eoin Doherty (Tallaght AC), Sean Lawler (Donore Harriers).
Article courtesy of Athletics Ireland. Photograph used above taken from BBC Sport website.


text:
Q: AES Encryption Assistance I have a 116 character hex string that I need to AES encrypt then convert to Base64. I found the following AES Encryption code here at StackOverflow and from testing, it works like it should, at least I am getting the same result as the vendor. The problem I am having, according to a vendor's instructions, is "the resulting string should be 88 characters long, ending with two Padding characters." I am ending up with a 172 character Base64 string and I have no idea where the problem is. Any help would be greatly appreciated
Function EncryptFromStringToBytes(ByVal plainText As String) As Byte()
    Dim encrypted As Byte()
    'Create AES object
    Using AES As RijndaelManaged = New RijndaelManaged()
        AES.Padding = PaddingMode.PKCS7
        AES.KeySize = 256
        AES.Mode = CipherMode.CBC
        AES.Key = StringToByteArray(strSharedKey)
        AES.IV = StringToByteArray(strIV)
        'create an encryptor to perform stream transform
        Dim encryptor As ICryptoTransform = AES.CreateEncryptor(AES.Key, AES.IV)
        'create the streams used for encryption
        Using msEncrypt As MemoryStream = New MemoryStream()
            Using csEncrypt As CryptoStream = New CryptoStream(msEncrypt, encryptor, CryptoStreamMode.Write)
                'write all data to the stream. Streamwriter will use the default UTF8 encoding if not specified.
                Using swEncrypt As StreamWriter = New StreamWriter(csEncrypt) ', System.Text.Encoding.ASCII)
                    swEncrypt.Write(plainText)
                End Using
                encrypted = msEncrypt.ToArray()
            End Using
        End Using
    End Using
    'return encrypted bytes from the memory stream and convert to Base64
    Return Convert.ToBase64String(encrypted)
    'TextBox3.Text = Len(encrypted)
    'Return encrypted

End Function

@Luke Joshua Park:
The IV, SharedKey and SharedSecret are given to me in Hx notation.
The vendors instructions are:
1. Convert UTC Date/Time from UTF8 into Hx notation
    (resulting string is 50 Hx characters long.) - this is correct
2. Concatenate step1 + "7c" + SharedSecret
    (resulting string is 116 Hx characters long) - this is correct
3. AES encrypt step2 - I think this is where the problem is but I am getting the same test resulting value the vendor is getting
4. Convert step3 to Base64
This is the StringToByteArray() function:
    Function StringToByteArray(text As String) As Byte()
    Dim bytes As Byte() = New Byte(text.Length \ 2 - 1) {}
    For i As Integer = 0 To text.Length - 1 Step 2
        bytes(i \ 2) = Convert.ToByte(text.Substring(i, 2), 16)
    Next
    Return bytes
End Function

As a side note, how can I view the encrypted string in a textbox? If I use EncryptFromStringToBytes(CVr2.Text).ToString, it returns system.byte[] instead of the actual value.

A: Don't encrypt the 116 char hex string, but instead encrypt the 58 bytes that they represent.
The 58 bytes will then give 64 bytes of encrypted data. 64 bytes is equal to 512 bits, and as base64 encodes 6 bit per character, you need 512/6 ~ 86 chars to encode it .. As base64 encodes in blocks of 4 characters, you will need 2 padding characters, and thuse ends up with a 88 characters base64 encoded string.