text:
Join Asian.GOP
UPDATE VOTER INFORMATION
MANAGER MY POLITICAL PROFILE
COMPLETE CHECK/CASH DONATION FORM
Spring 2018 White House Internship Program
By White House Management Saturday, August 5, 2017
The White House Internship Program application is available now for its Spring 2018 class, which runs from January 10 – April 27, 2018. The application deadline is 11:59 pm ET on Friday, September 8, 2017. Please see below for more information. Please feel free to share with your networks!
The White House Internship Program (WHIP) website and application are now live! The White House Internship Program selection process is highly competitive. Applicants are encouraged to submit a thorough application that illustrates their qualifications, character, and commitment to public service. Those who want to apply to be part of the WHIP Spring 2018 Class, which will run from January 10 – April 27, 2018, can find more information and complete the application at this
link: https://www.whitehouse.gov/participate/internships/apply.
White House Interns work full-time and will be primarily placed in one of the following offices:
• The Office of Cabinet Affairs
• The Office of White House Communications
• The White House Press Office
• Domestic Policy Council
• National Economic Council
• The Office of Digital Strategy
• The Office of Legislative Affairs
• The Office of Management and Administration
• The Office of Political Affairs
• The Office of Presidential Correspondence
• The Office of Intergovernmental Affairs
• The Office of Public Liaison
• The Office of the Staff Secretary
• The Office of the First Lady
• The Office of the Vice President
• The Office of White House Counsel
• The Office of Presidential Personnel
• The Office of Presidential Advance
• The Office of Presidential Scheduling
• President's Commission on White House Fellowships
The application deadline is 11:59 pm ET on Friday, September 8, 2017. Interns must be at least 18 years old as of the internship start date, and must meet at least one of the following criteria:
• Are currently enrolled in an undergraduate or graduate degree program at a college, community college, or university (two-to-four year institution).
• Have graduated from an undergraduate or graduate degree program at a college, community college, or university (two-to-four year institution) no more than two years before the internship start date.
• Are a veteran of the United States Armed Forces who possesses a high school diploma or its equivalent and has served on active duty - for any length of time - in the two years preceding the internship start date.
Please forward the website link to any interested parties. Note that all interns will need to complete the application by the deadline to be considered for this class. White House Internships are unpaid, and interns are responsible for finding and funding their own housing.
Once the application period has closed, the WHIP team will begin reviewing and vetting applications. Each office will then receive a shortlist of potential applicants, and will choose their interns from that group. The number of interns each office receives will be determined later this fall, based off assessed needs in each department.
WHIP Director Zoe Jackman is available to discuss the hiring process and individual office requirements in more detail. If you have any further questions about the application or intern hiring process, please reach out to Zoe Jackman at Zoe.L.Jackman@who.eop.gov.
White House Management
Comment >>
National Committee of Asian American Republicans(Asian.GOP) 910 17th Street Northwest, 8th Floor, Washington, DC 20006
© 2019 National Committee of Asian American Republicans
Privacy Policy Terms of Use Copyright Information
Paid for by the National Committee of Asian American Republicans (Asian.GOP). Not authorized by any candidate or candidate's committee.

redpajama_set_name: RedPajamaCommonCrawl


BCG will have a space at the Ballarat Show once again in 2016.
Members will be on hand to chat about gardening in our local environment and to sell seedlings we have raised from seed. Lots of varieties available.


The old way of calling dijit.byId() or dojo.global.dijit.byId() will probably still work, but the above syntax is future-proof.
I thought I made a new variable for accessing the iframe's global, like robot.iframe, but I guess I didn't check that change in. robot.iframe.require() seems clearer than kernel.global.require() to me.


Product description: Teesara Andhera is written by Kailash vajpeyi and published by Vani prakashan. Buy Teesara Andhera by Kailash vajpeyi from markmybook.com. An online bokstore for all kind of fiction, non fiction books and novels of English, Hindi & other Indian Languages.


Brief Description: Features a solid state nichrome heating element. Permanently adheres to a terrarium, forming a solid bond for better heat transfer.
Product No. REHE-RH4	- Orders Shipped Weekly.
Notify me of updates to 10-20 gallon Reptitherm U.T.H.


In 1809, thanksgiving ceremonies and feasts throughout Britain ushered George III into his 50th yr as king. This used to be the 1st British occasion of a royal jubilee and set the tone for the 5 that experience given that: processions, fireworks, development of monuments, the amazing of designated cash and medals, and, after all, the sale of commemorative mugs. Queen Victoria marked her golden and diamond jubilees in 1887 and 1897 amid throngs of patriotic topics from around the world, and celebrations have been additionally held for George V's silver jubilee in 1935. Following the festivities in 1977 and 2002, Queen Elizabeth II is the 1st British monarch ever to have fun her 3rd jubilee, as she starts off her 7th decade at the throne. Judith Millidge describes the handful of British royal jubilees throughout two hundred years, examines how they've been venerated, their similarities and ameliorations, and the myriad keepsake items that experience observed them.
Tradition is a different and interesting point of the human species. How did it emerge and the way does it improve? Richard Dawkins has recommended that tradition evolves and that memes are the cultural replicators, topic to edition and choice in exactly a similar means as genes are within the organic international. during this experience human tradition is the made from a senseless evolutionary set of rules.
The flip of the millennium is characterised via exponential progress in every little thing on the topic of verbal exchange – from the net and electronic mail to air site visitors. Tyranny of the instant offers with one of the most puzzling paradoxes of this new details age. Who might have anticipated that it appears time-saving know-how leads to time being scarcer than ever?
Korea's favourite nutrients - kimchee - isn't easily a facet dish. Made by way of pickling greens and different meals, including seasonings and permitting the aggregate to mature, it's the country's nationwide dish. in keeping with the Asian concept of Yin and Yang, kimchee expresses Korean Cosmology in its maximum shape, in reality to a Korean, to devour kimchee is to develop into one with the universe.
This can be the hugely expected 3rd version of a ebook written through the operating social gathering on tradition Media of the overseas Committee on nutrition Microbiology and Hygiene. it's a convenient reference for microbiologists eager to understand which media to exploit for the detection of assorted teams of microbes in meals and the way to examine the functionality of the media.
To do this required an implicit renunciation of the issues and the thinkers discussed in Literary Theory, and a reconciliation with ordinary-language British philosophy of which, back in the 1980s, one would never have thought him capable. It's a huge shift in one sense, but in another, nothing has changed: Eagleton is still doing cultural theory as he always did, but now is trying to see beyond the end of theory as we knew it, in order to begin it again, begin it better. Yet the extent to which all of this is successful is very moot.
None of the histories of postmodernism systematically surveys its counterpart anti-postmodernism, which is a pity since it comprises much of the most enjoyable writing on the subject. This subgenre boasts a handful of recognizable traits: it lands devastating 38 DIGIMODERNISM blows on its subject, leaving it battered and bleeding; it can never finish its subject off, which survives, apparently indestructible, until another day; and it is invariably backward-looking in its intellectual wish list.
The deconstructionist . . is supposed not to believe in truth, stability, or the unity of meaning, in intention or "meaning-to-say" . . this definition of the deconstructionist is false (that's right: false, not true) and feeble; it supposes a bad (that's right: bad, not good) and feeble reading of numerous texts, first of all mine, which therefore must finally be read or reread. 45 This is not to "defang" Derrida, nor to commit the intentional fallacy. However, it suggests the complexity and difficulty of his work, which must be respected and interrogated by those trained and competent to do so.


text:
package javax.xml.ws.spi;

import javax.xml.ws.WebServiceException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Properties;
import java.util.ServiceLoader;
import java.util.logging.Level;
import java.util.logging.Logger;

class $FactoryFinder {

    private static final Logger LOGGER = Logger.getLogger("javax.xml.ws");

    @SuppressWarnings("unchecked")
    static <T> T find(Class<T> factoryClass, String fallbackClassName) {
        ClassLoader classLoader = contextClassLoader();

        T provider = firstByServiceLoader(factoryClass);
        if (provider != null) {
            return provider;
        }

        String factoryId = factoryClass.getName();

        provider = (T) fromJDKProperties(factoryId, fallbackClassName, classLoader);
        if (provider != null) {
            return provider;
        }

        provider = (T) fromSystemProperty(factoryId, fallbackClassName, classLoader);
        if (provider != null) {
            return provider;
        }

        try {
            Class<T> spiClass = org.apache.karaf.specs.locator.OsgiLocator.locate(factoryClass);
            if (spiClass != null) {
                return spiClass.getConstructor().newInstance();
            }
        } catch (Throwable t) {
        }

        if (fallbackClassName == null) {
            throw new WebServiceException("Provider for " + factoryId + " cannot be found", null);
        }

        return (T) newInstance(fallbackClassName, fallbackClassName, classLoader);
    }

    private static Object fromSystemProperty(String factoryId, String fallbackClassName, ClassLoader classLoader) {
        try {
            String systemProp = System.getProperty(factoryId);
            if (systemProp != null) {
                return newInstance(systemProp, fallbackClassName, classLoader);
            }
        } catch (SecurityException ignored) {
        }
        return null;
    }

    private static Object fromJDKProperties(String factoryId, String fallbackClassName, ClassLoader classLoader) {
        Path path = null;
        try {
            String JAVA_HOME = System.getProperty("java.home");
            path = Paths.get(JAVA_HOME, "conf", "jaxws.properties");
            if (!Files.exists(path)) {
                path = Paths.get(JAVA_HOME, "lib", "jaxws.properties");
            }
            if (Files.exists(path)) {
                Properties props = new Properties();
                try (InputStream inStream = Files.newInputStream(path)) {
                    props.load(inStream);
                }
                String factoryClassName = props.getProperty(factoryId);
                return newInstance(factoryClassName, fallbackClassName, classLoader);
            }
        } catch (Exception ignored) {
            LOGGER.log(Level.SEVERE, "Error reading JAX-WS configuration from ["  + path +
                    "] file. Check it is accessible and has correct format.", ignored);
        }
        return null;
    }

    private static <T> T firstByServiceLoader(Class<T> spiClass) throws WebServiceException {
        LOGGER.log(Level.FINE, "Using java.util.ServiceLoader to find {0}", spiClass.getName());
        try {
            ServiceLoader<T> serviceLoader = ServiceLoader.load(spiClass);
            for (T impl : serviceLoader) {
                LOGGER.fine("ServiceProvider loading Facility used; returning object [" + impl.getClass().getName() + "]");
                return impl;
            }
        } catch (Throwable t) {
            throw new WebServiceException("Error while searching for service [" + spiClass.getName() + "]", t);
        }
        return null;
    }

    private static void checkPackageAccess(String className) {
        SecurityManager s = System.getSecurityManager();
        if (s != null) {
            int i = className.lastIndexOf('.');
            if (i != -1) {
                s.checkPackageAccess(className.substring(0, i));
            }
        }
    }

    private static Class nullSafeLoadClass(String className, ClassLoader classLoader) throws ClassNotFoundException {
        if (classLoader == null) {
            return Class.forName(className);
        } else {
            return classLoader.loadClass(className);
        }
    }

    private static Object newInstance(String className, String defaultImplClassName, ClassLoader classLoader) throws WebServiceException {
        try {
            return safeLoadClass(className, defaultImplClassName, classLoader).getConstructor().newInstance();
        } catch (ClassNotFoundException x) {
            throw new WebServiceException("Provider " + className + " not found", x);
        } catch (Exception x) {
            throw new WebServiceException("Provider " + className + " could not be instantiated: " + x, x);
        }
    }

    private static Class<?> safeLoadClass(String className, String defaultImplClassName, ClassLoader classLoader) throws ClassNotFoundException {
        try {
            checkPackageAccess(className);
        } catch (SecurityException se) {
            if (defaultImplClassName != null && defaultImplClassName.equals(className)) {
                return Class.forName(className);
            }
            throw se;
        }
        return nullSafeLoadClass(className, classLoader);
    }

    private static ClassLoader contextClassLoader() throws WebServiceException {
        try {
            return Thread.currentThread().getContextClassLoader();
        } catch (Exception x) {
            throw new WebServiceException(x.toString(), x);
        }
    }

}

redpajama_set_name: RedPajamaGithub


Take care of the utilities before anything else. Image: Garrison Hullinger Interior Design Inc.
When you move into a new home, you don't know who might have an extra set of keys to it. It's in your best interest to have a mobile locksmith come and change all the locks as soon as possible. If an exterior door is missing a deadbolt, this is a good opportunity to have one of those installed, too. Once you've been handed your new keys, be sure to label them so that you know which key is used for which door. You can have extras made later, just in case.
Put together sleeping arrangements well before it's time for bed. Image: Gaetano Hardwood Floors, Inc.
The post The 7 Most Important Household Tasks After a Move appeared first on Freshome.com.


I've pointed out in conversation before that when a TV show or a movie is set in Philadelphia, the characters either speak in movie standard (or a watered down dialect of the actor) or they do some sort of generic East Coast accent, which is typically r-less. People go to great pains to do a Boston accent in a movie set in Boston (The Departed minus Jack Nicholson is a good example). The same for New York, granted that a lot of the actors are probably from New York originally.
The only time I can remember an attempt at a Philadelphian accent in a movie is in A History of Violence, and they didn't really get it. To be honest, this doesn't seem too bad to me. A Philadelphian accent doesn't have very much recognition generally, so why bother trying to be accurate about a detail that would really just distract and confuse an audience.
Concerning the recognition of a Philadelphian accent, I've recently realized that there is an excellent exemplar out there in the media, who is particularly loud, still very Philadelphian and maybe you've already heard him, thus making him the real topic of this post.
If you ever have trouble imagining what Philadelphians sound like, just think of Chris Matthews. Here is a video of Chris Matthews apologizing for some comments he made about Hillary Clinton. I'll give you a cursory tour of his accent, so that you'll know what to listen for. Really, there's no deep content here other than my own enthusiasm about my own dialect, but it's my blog so I won't be (any more) apologetic.
Dark [l]/ [l] Vocalization: Nearly all word final and pre-consonantal [l]'s are dark throughout the English speaking world, and in many places it is completely vocalizing. Philadelphia is has the same thing going on, but also intervocalically and in initial clusters. Matthews' l's are all very dark, and the most striking token of l-vocalization is at 02:48, where he has absolutely no [l] in Hillary, and also "television" at 01:17.
[ar]->[ɔr]: This is a slightly different phenomenon. In Philadelphia, what would usually be realized as [ar] in other dialects is realized as [ɔr]. I believe it;s particularly pronounced in monosyllables, like "Hard" at 01:16 and "heart" at 01:19.
Marry~Mary~Merry: Philadelphians pronounce these all distinctly, and while Matthews doesn't line them all up for us at any given point, "embarrassed" at 02:07 clearly has [ær].
aw raising: As I mentioned here, /aw/ in Philadelphia is produced more like [eɔ], as can be heard in numerous places in Matthews' speech.
[ey] Lowering: Word finally, [ey] is lowered in a Southern kind of way, so it's more like [æy], like "day" at 00:14.
[ay] Raising: [ay] is raised and backed before voiceless consonants, like in "night" at 00:18.
Another cool thing is that /æ/ is really lax in Matthews' "callous" at 04:12, where I, as a younger fellow, would have it pretty tense before that l. Anyway, it's pretty obvious that I petered out by the end there, and there could still be more for me to pull out of this. The guy's got Philly all over him, and I think that's beautiful.


text:
PBS NC NOW LIVE ON DIRECTV STREAM
DIRECTV STREAM Customers Will Have Access to Educational and Inspiring Content from PBS North Carolina
RESEARCH TRIANGLE PARK, NC, 12/16/2021 — PBS North Carolina announced today that it is now livestreaming on DIRECTV STREAM. A dedicated live channel for PBS NC is already available to all local DIRECTV STREAM customers in North Carolina, supplemented with additional PBS on-demand programming that will continue to expand PBS's digital footprint and offer viewers additional ways to stream PBS content.
"As viewer habits continue to evolve, PBS remains committed to making our award-winning, national and local content available to all Americans across as many platforms as possible. This partnership will allow PBS and our member stations to expand our digital footprint and reach more viewers with content that inspires, educates and entertains," said Ira Rubenstein, PBS Chief Digital and Marketing Officer.
"Entertainment is personal and should serve every member of the household, which is why we're partnering with PBS to deliver DIRECTV STREAM customers more choice, more control and a more convenient way to access the content they care about most," said Rob Thun, Chief Content Officer for DIRECTV.
Relationships like this one ensure that on-demand content from PBS and PBS NC favorites including AMERICAN EXPERIENCE, ANTIQUES ROADSHOW, BLACK ISSUES FORUM, FRONTLINE, GREAT PERFORMANCES, MASTERPIECE, NATURE, NORTH CAROLINA WEEKEND and SCI NC are available to as many viewers as possible. In addition, PBS KIDS channel has recently joined both the DIRECTV STREAM and DIRECTV lineups, helping to extend the PBS mission of preparing young children for success in school and life through trusted, educational media, available anytime and anywhere. Now, even our youngest of viewers can access their favorite series, including DANIEL TIGER'S NEIGHBORHOOD, MOLLY OF DENALI, ODD SQUAD, PINKALICIOUS & PETERRIFIC and WILD KRATTS, among many others, via DIRECTV and its on-demand menu or using the same capabilities on DIRECTV STREAM.
In addition to DIRECTV STREAM, PBS NC content is available on all PBS North Carolina platforms, including pbsnc.org and PBSKIDS.org, as well as the PBS Video app and PBS KIDS Video app. PBS North Carolina members are also able to view an extended library of programming via Passport.
To access the full programming schedule from PBS North Carolina, viewers can visit pbsnc.org/schedule. For more information on DIRECTV STREAM, please visit directv.com/stream.
PBS, with more than 330 member stations, offers all Americans the opportunity to explore new ideas and new worlds through television and digital content. Each month, PBS reaches over 120 million people through television and 26 million people online, inviting them to experience the worlds of science, history, nature and public affairs; to hear diverse viewpoints; and to take front row seats to world-class drama and performances. PBS's broad array of programs has been consistently honored by the industry's most coveted award competitions. Teachers of children from pre-K through 12th grade turn to PBS for digital content and services that help bring classroom lessons to life. Decades of research confirms that PBS's premier children's media service, PBS KIDS, helps children build critical literacy, math and social-emotional skills, enabling them to find success in school and life. Delivered through member stations, PBS KIDS offers high-quality educational content on TV— including a 24/7 channel, online at pbskids.org, via an array of mobile apps and in communities across America. More information about PBS is available at www.pbs.org, one of the leading dot-org websites on the internet, or by following PBS on Twitter, Facebook or through our apps for mobile and connected devices. Specific program information and updates for press are available at pbs.org/pressroom or by following PBS Pressroom on Twitter.


text:
Q: How to set request cookies using selenium webdriver? This is my source code
WebDriver driver = new HtmlUnitDriver(true);

driver.get("http://www.example.com");

Cookie cookie = new Cookie("key", "value");
driver.manage().addCookie(cookie);

Set<Cookie> allCookies = driver.manage().getCookies();
for (Cookie loadedCookie : allCookies) {
    System.out.println(String.format("%s -> %s", loadedCookie.getName(), loadedCookie.getValue()));
}

The request header to server doesn't contain the cookie.
If I change the position of the get() method after addCookie(),
the getCookies() will return empty.
I try it all day long.
no matter how I google it, i can't find any way to solve my problem
Hope somebody can help me!
I'll appreciate your help!

A: You are using the wrong reference to get the cookies, you should use
Set<Cookie> allCookies = driver.manage().getCookies();

instead, you are using driver2 reference. where does driver2 refer to?
Update: after your comment
Problem may be with your driver or the version of browser you use! Try doing it with another version of driver or different browser

redpajama_set_name: RedPajamaStackExchange


text:
Printed from https://ideas.repec.org/a/eee/pubeco/v77y2000i2p241-263.html
The effects of new public projects to expand urban rail transit
Baum-Snow, Nathaniel
Kahn, Matthew E.
Nathaniel Baum-Snow
No abstract is available for this item.
Baum-Snow, Nathaniel & Kahn, Matthew E., 2000. "The effects of new public projects to expand urban rail transit," Journal of Public Economics, Elsevier, vol. 77(2), pages 241-263, August.
Handle: RePEc:eee:pubeco:v:77:y:2000:i:2:p:241-263
File URL: http://www.sciencedirect.com/science/article/pii/S0047-2727(99)00085-7
Small, K.A. & Kazimi, C., 1994. "On the Costs of Air Pollution from Motor Vehicules," Papers 94-95-3, California Irvine - School of Social Sciences.
Small, Kenneth A. & Kazimi, Camilla, 1995. "On the Costs of Air Pollution from Motor Vehicles," University of California Transportation Center, Working Papers qt0sx81025, University of California Transportation Center.
Small, Kenneth A. & Gomez-Ibanez, Jose A., 1999. "Urban transportation," Handbook of Regional and Urban Economics, in: P. C. Cheshire & E. S. Mills (ed.), Handbook of Regional and Urban Economics, edition 1, volume 3, chapter 46, pages 1937-1999, Elsevier.
Small, K.A. & Gomez-Ibanez, J.A., 1996. "Urban Transportation," Papers 95-96-4, California Irvine - School of Social Sciences.
Arnott, Richard J. & MacKinnon, James G., 1977. "The effects of urban transportation changes : A general equilibrium simulation," Journal of Public Economics, Elsevier, vol. 8(1), pages 19-36, August.
Richard Arnott & James G. MacKinnon, 1976. "The Effects of Urban Transportation Changes: A General Equilibrium Simulation," Working Paper 236, Economics Department, Queen's University.
Voith, Richard, 1998. "Parking, Transit, and Employment in a Central Business District," Journal of Urban Economics, Elsevier, vol. 44(1), pages 43-58, July.
Richard Voith, 1997. "Parking, transit and employment in a central business district," Working Papers 95-11, Federal Reserve Bank of Philadelphia.
Voith, Richard, 1991. "The long-run elasticity of demand for commuter rail transportation," Journal of Urban Economics, Elsevier, vol. 30(3), pages 360-372, November.
Calfee, John & Winston, Clifford, 1998. "The value of automobile travel time: implications for congestion policy," Journal of Public Economics, Elsevier, vol. 69(1), pages 83-102, July.
Richard Voith, 1999. "The Suburban Housing Market: Effects of City and Suburban Employment Growth," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 27(4), pages 621-648, December.
Richard Voith, 1996. "The suburban housing market: effects of city and suburban employment growth," Working Papers 96-15, Federal Reserve Bank of Philadelphia.
Beesley, Michael E. & Kemp, Michael A., 1987. "Urban transportation," Handbook of Regional and Urban Economics, in: E. S. Mills (ed.), Handbook of Regional and Urban Economics, edition 1, volume 2, chapter 26, pages 1023-1052, Elsevier.
Voith Richard, 1993. "Changing Capitalization of CBD-Oriented Transportation Systems: Evidence from Philadelphia, 1970-1988," Journal of Urban Economics, Elsevier, vol. 33(3), pages 361-376, May.
Richard Voith, 1991. "Changing capitalization of CBD-oriented transportation systems: evidence from Philadelphia, 1970-1988," Working Papers 91-19, Federal Reserve Bank of Philadelphia.
Peter Mieszkowski & Edwin S. Mills, 1993. "The Causes of Metropolitan Suburbanization," Journal of Economic Perspectives, American Economic Association, vol. 7(3), pages 135-147, Summer.
Voith, Richard, 1997. "Fares, Service Levels, and Demographics: What Determines Commuter Rail Ridership in the Long Run?," Journal of Urban Economics, Elsevier, vol. 41(2), pages 176-197, March.
Richard Voith, 1994. "Fares, service levels, and demographics: what determines commuter rail ridership in the long run?," Working Papers 94-21, Federal Reserve Bank of Philadelphia.
Lave, Charles A, 1970. "The Demand for Urban Mass Transportation," The Review of Economics and Statistics, MIT Press, vol. 52(3), pages 320-323, August.
Mackett, Roger L. & Edwards, Marion, 1998. "The impact of new urban public transport systems: will the expectations be met?," Transportation Research Part A: Policy and Practice, Elsevier, vol. 32(4), pages 231-245, May.
Merriman, David, 1998. "How many parking spaces does it take to create one additional transit passenger?," Regional Science and Urban Economics, Elsevier, vol. 28(5), pages 565-584, September.
Dean H. Gatzlaff & Marc T. Smith, 1993. "The Impact of the Miami Metrorail on the Value of Residences near Station Locations," Land Economics, University of Wisconsin Press, vol. 69(1), pages 54-66.
Krishnamurthy, Chandra Kiran B. & Ngo, Nicole S., 2020. "The effects of smart-parking on transit and traffic: Evidence from SFpark," Journal of Environmental Economics and Management, Elsevier, vol. 99(C).
Edward L. Glaeser & Matthew E. Kahn & Jordan Rappaport, 2000. "Why Do The Poor Live In Cities?," Harvard Institute of Economic Research Working Papers 1891, Harvard - Institute of Economic Research.
Edward L. Glaeser & Matthew E. Kahn & Jordan Rappaport, 2000. "Why Do the Poor Live in Cities?," NBER Working Papers 7636, National Bureau of Economic Research, Inc.
Brueckner, Jan K., 2005. "Transport subsidies, system choice, and urban sprawl," Regional Science and Urban Economics, Elsevier, vol. 35(6), pages 715-733, November.
Jan K. Brueckner, 2003. "Transport Subsidies, System Choice, and Urban Sprawl," CESifo Working Paper Series 1090, CESifo.
Byers, Steven & Cutler, Harvey & Davies, Stephen P., 2004. "Estimating Costs and Benefits of Economic Growth: A CGE-Based Study of Tax Incentives in a Rapidly Growing Region," Journal of Regional Analysis and Policy, Mid-Continent Regional Science Association, vol. 34(4), pages 1-20.
Mark Delucchi & Don McCubbin, 2011. "External Costs of Transport in the United States," Chapters, in: André de Palma & Robin Lindsey & Emile Quinet & Roger Vickerman (ed.), A Handbook of Transport Economics, chapter 15, Edward Elgar Publishing.
Parry, Ian, 2001. "How Should Metropolitan Washington, D.C., Finance Its Transportation Deficit?," Discussion Papers dp-01-12, Resources For the Future.
Parry, Ian W.H., 2001. "How Should Metropolitan Washington, DC, Finance Its Transportation Deficit?," Discussion Papers 10552, Resources for the Future.
Lin, Boqiang & Du, Zhili, 2017. "Can urban rail transit curb automobile energy consumption?," Energy Policy, Elsevier, vol. 105(C), pages 120-127.
Richard Voith, 1996. "The suburban housing market: the effects of city and suburban job growth," Business Review, Federal Reserve Bank of Philadelphia, issue Nov, pages 13-25.
Glaeser, Edward L. & Kahn, Matthew E., 2004. "Sprawl and urban growth," Handbook of Regional and Urban Economics, in: J. V. Henderson & J. F. Thisse (ed.), Handbook of Regional and Urban Economics, edition 1, volume 4, chapter 56, pages 2481-2527, Elsevier.
Edward L. Glaeser & Matthew E. Kahn, 2003. "Sprawl and Urban Growth," NBER Working Papers 9733, National Bureau of Economic Research, Inc.
Edward L. Glaeser & Matthew E. Kahn, 2003. "Sprawl and Urban Growth," Harvard Institute of Economic Research Working Papers 2004, Harvard - Institute of Economic Research.
Delucchi, Mark A. & McCubbin, Donald R., 2010. "External Costs of Transport in the U.S," Institute of Transportation Studies, Working Paper Series qt13n8v8gq, Institute of Transportation Studies, UC Davis.
Glaeser, Edward L. & Kahn, Matthew E. & Rappaport, Jordan, 2008. "Why do the poor live in cities The role of public transportation," Journal of Urban Economics, Elsevier, vol. 63(1), pages 1-24, January.
Rappaport, Jordan & Kahn, Matthew E. & Glaeser, Edward, 2008. "Why Do The Poor Live In Cities? The Role of Public Transportation," Scholarly Articles 2958224, Harvard University Department of Economics.
Keith Klovers & Alfredo Marvão Pereira, 2015. "Estimating the Effect of Transit on Residential Property Values: The Case of the Portland MAX System," Working Papers 166, Department of Economics, College of William and Mary.
Mathur, Shishir & Ferrell, Christopher, 2013. "Measuring the impact of sub-urban transit-oriented developments on single-family home values," Transportation Research Part A: Policy and Practice, Elsevier, vol. 47(C), pages 42-55.
Yan, Sisi & Delmelle, Eric & Duncan, Michael, 2012. "The impact of a new light rail system on single-family property values in Charlotte, North Carolina," The Journal of Transport and Land Use, Center for Transportation Studies, University of Minnesota, vol. 5(2), pages 60-67.
Cervero, Robert & Kang, Chang Deok, 2011. "Bus rapid transit impacts on land uses and land values in Seoul, Korea," Transport Policy, Elsevier, vol. 18(1), pages 102-116, January.
Andrew F. Haughwout, 1999. "Regional fiscal cooperation in metropolitan areas: An exploration," Journal of Policy Analysis and Management, John Wiley & Sons, Ltd., vol. 18(4), pages 579-600.
Inci, Eren, 2015. "A review of the economics of parking," Economics of Transportation, Elsevier, vol. 4(1), pages 50-63.
Dubé, Jean & Rosiers, François Des & Thériault, Marius & Dib, Patricia, 2011. "Economic impact of a supply change in mass transit in urban areas: A Canadian example," Transportation Research Part A: Policy and Practice, Elsevier, vol. 45(1), pages 46-62, January.
Ronnie Schöb, 2005. "Not optimal, but Effective: the Multi-Mode Ticket for Reducing Urban Traffic Congestion in Medium-Sized Towns," ifo DICE Report, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, vol. 3(3), pages 28-33, November.
Devaux, Nicolas & Dubé, Jean & Apparicio, Philippe, 2017. "Anticipation and post-construction impact of a metro extension on residential values: The case of Laval (Canada), 1995–2013," Journal of Transport Geography, Elsevier, vol. 62(C), pages 8-19.
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:pubeco:v:77:y:2000:i:2:p:241-263. See general information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: http://www.elsevier.com/locate/inca/505578 .
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/505578 .


Each year the Intellectual Property Group at FTI Consulting researches and compiles statistics on intellectual property prosecution and litigation.
Please note that the underlying data used in the charts originate from either publicly available information or FTI Consulting's own databases, which are collections of publicly available information. As such, FTI Consulting does not endorse the accuracy or reliability of any of the information included therein, and reliance on such information for any purpose will be solely at your own risk. We welcome any feedback regarding the information presented in the charts. If you believe that that there are inaccuracies or omissions in any of the information contained in the charts, please contact us.


This entry was posted in All Devos, Encouragement and tagged battle, Book of Joshua, defense, Encouragement, Epistle to the Ephesians, faith, God, Israelites, Joshua, Lord, Moses, Psalm, Rocky Balboa.
" And the Lord said to Joshua, see, I have given into your hand Jericho…and you shall compass the city…and go round about the city once. this you will do six days, and you shall compass the city seven times…" Joshua 6:2-3, 5.
We shared on Plowing through the obstacles, this morning he will be sharing on Going Round the obstacles as we continue to learn how to overcome life obstacles.
This entry was posted in All Devos, Christian Growth, Christian Living, Encouragement, For Tough Times and tagged Bible, Book of Joshua, Christian Growth, Christian Living, Encouragement, faith, For Tough Times, God, Israelites, Jericho, Joshua, Patience.
This entry was posted in All Devos and tagged Amorite, Faithful Servant, family, God, Israel, Joshua, Lord, Moses, United States.
This entry was posted in All Devos, Christian Living, Encouragement and tagged Acts of the Apostles, Bereans, Book of Joshua, Book of Peter, Book of Psalm, Book of Timothy, Christian Living, David, Encouragement, God, Gospel of Matthew, Joshua, Lord, Moses, Psalm, The Bible, The Book of the Law, The word.


text:
Fuel prices slashed for 10th consecutive day; Petrol at Rs 80.45 per litre, Diesel Rs 74.38 in Delhi
News Nation Bureau | Edited By : Siddharth Vishwanathan | Updated on: 27 Oct 2018, 07:00:45 AM
In more good news for consumers, fuel prices continued to be slashed for the 10th consecutive day. On Saturday, the price of petrol per litre in Delhi was slashed by Rs 0.40 to 80.45 while diesel was cut by Rs 0.35 to Rs 74.35 per litre.
In Mumbai, the rate of petrol per litre became Rs 85.93 while that of diesel was Rs 77.96 per litre, a cut of Rs 0.40 and 0.37 respectively.
Read More | Gender equality Vs religious fanaticism, the battle continues unabated in India
Petrol and Diesel prices have been cut by more than two rupees in the last 10 days ever since the rates touched a record high of Rs 84 per litre for petrol and Rs 75.45 a litre for diesel on October 4.
Following the huge hike, with Mumbai touching a high of Rs 91.34, the government decided to cut excise duty on petrol and diesel by Rs 1.50 per litre each and asked state-owned fuel retailers to subsidise by another Re 1 a litre by reducing their margins.
Read More | Anantnag: Army soldier Rajendra Singh, 22, dies after being attacked by protesters
Subsequent to this, the petrol price came down to Rs 81.50 per litre and diesel at Rs 72.95 a litre on October 5 in Delhi, according to a government statement.
"As the international oil prices continued to rise, price of petrol and diesel in Delhi increased to Rs 82.83 per litre and Rs 75.69 per litre. (But) since last eight days, international oil prices have been falling and rupee has also appreciated," the statement said.
Read More |MS Dhoni out of West Indies, Australia T20s; Rohit Sharma back in Test squad
The twin factors have brought down fuel prices to a six-week low.
"As per the assessment, the retail prices of petrol and diesel may reign easy in the next few days," it said.
The retail selling price of petrol and diesel is dependent on the international prices of benchmark fuel and the rupee-US dollar exchange rate. "This is because a large proportion of country's requirement is met through imports," the statement added.
First Published : 27 Oct 2018, 07:00:34 AM
Petrol Diesel Fuel Price Hike Delhi Mumbai International Oil Price


text:
Female police officers, rights group slam Indonesia 'virginity test'
Spokesman denies the exams take place, despite being listed as a requirement on the National Police website
Katharina R. Lestari and Ryan Dagur, Jakarta
Published: November 18, 2014 10:59 AM GMT ▾
Updated: November 17, 2014 10:59 PM GMT
Policewomen stand guard at a rally in Jakarta earlier this month (Photo by Ryan Dagur)
Human Rights Watch (HRW) today urged the Indonesia National Police to immediately abolish a controversial virginity test given to female applicants during the recruitment process.
"The Indonesian National Police's use of virginity tests is a discriminatory practice that harms and humiliates women," Nisha Varia, associate women's rights director at HRW, said in a statement released on Tuesday.
"Police authorities in Jakarta need to immediately and unequivocally abolish the test, and then make certain that all police recruiting stations nationwide stop administering it," she added.
According to the New York-based rights group, which interviewed several female police and applicants in six cities in the country that had undergone the test, policewomen have also raised the issue with senior police officials.
While police spokesmen have denied that the practice is ongoing, HRW said they have seen little evidence that the Indonesia's National Police have taken steps to stop the test.
Indeed, the national police website states that "in addition to the medical physical tests, women who want to be policewomen must also undergo virginity tests, so all women who want to become policewomen should keep their virginity." Married women are not eligible to apply.
Sri Rumiati, a police psychologist now teaching at the Graduate School of Police Sciences in Jakarta, recalled that she underwent the test when she joined the force via student military service in 1984. She was 27 at that time.
"I didn't know what it was about. It was the first time for me to have such a test. So I just went through it," she told ucanews.com.
"It was like a gynecology test. The doctor was a woman. I was told to take off my clothes and then sit on a chair with my legs up open. I had the 'two-finger' test. I felt uncomfortable… [I didn't understand] why I had to undergo this test," she said.
After joining a course held in 2003 by the Ford Foundation, Rumiati had a better understanding about regulations including the 1984 law on the ratification of the Convention on the Eliminations of All Forms of Discriminations against Women (CEDAW) and the 1999 law on human rights.
"Around 2007, at a meeting talking about the recruitment process, I questioned the test. Why was it applied? We, the police, have to uphold the existing laws in our country," she said.
She even asked a doctor during the meeting whether the test was also applied to male applicants or not. "If it was not applied to male applicants, why it should be applied to female applicants?" she asked.
She said she didn't find any scientific evidence showing that a virgin woman will be less productive than a virgin. "I never heard about it," she continued.
Tumbu Saraswati from the National Commission on Violence against Women also questioned the test.
"Does it have something to do with the policewomen's morality? I mean, policewomen who are virgin have stronger morality than those who are not virgin?" she told ucanews.com.
"What if female applicants are not virgin because they are victims of rapes or accidents? Therefore, the test is a form of injustice," she said.
The test must be stopped. "It creates an image among the society that it is only virgins who can be policewomen," she added.
National Police spokesman Inspector General Ronny F. Sompie insisted the test isn't to check virginity.
"What we do in the recruitment test is, among others, to have a general medical checkup including the reproduction system. The aim is, first, to make sure that candidates will not put a risk to others when attending the education program and doing the physical exercise. Second, it aims to prevent other candidates from being contaminated," he told ucanews.com.
"I assure you that there is no virginity test. I have confirmed this with the National Police's human resources assistant. Once again, there is no virginity test as there is no difference between virgin and not virgins," he said.
But HRW Indonesia researcher Andreas Harsono said he believed there was no valid reason to carry out the gynecological exam — whether it is in fact a virginity test or not.
"Some say it is to check leucorrhea. It is absurd. It is unscientific."
He suggested that the National Police should issue a written regulation to stop the test.


text:
Main navigation (2+)
Poetry + Prose
Main navigation (1)
SX Live
SX Visualities
SX Archipelagos
Literary Competition
A Road Cut through the Heart of the Caribbean
John Hearne, John Hearne's Short Fiction, ed. Shivaun Hearne (Kingston: University of the West Indies Press, 2016); 125 pages; ISBN 978-9766406066 (paperback)
Rachel L. Mordecai
sx salon 28
• June 2018
John Hearne's Short Fiction is a slim but handsome volume, beautifully designed and produced. Edited by Hearne's daughter, Shivaun Hearne, with a foreword by Marlon James and an introduction by Kim Robinson-Walcott, the collection comprises nine stories plus an essay in the mode of a journal excerpt, which Shivaun Hearne includes "for the context it gives to the period in which these stories were written" (xvi). Shivaun Hearne's preface establishes the book's raison d'être: Hearne's short fiction has never been collected and has, up to now, not been readily available. The preface explicitly frames this collection as an opportunity to re-consider the totality of Hearne's work. It is also part of an effort to redress Hearne's marginalization within the Caribbean literary canon—a reality pithily conveyed by a professor whom James recalls as saying, "Only John Hearne wrote about the white and brown Jamaican middle class, but nobody was reading him" (viii). The collection takes its place beside Shivaun Hearne's earlier study, John Hearne's Life and Fiction: A Critical Biographical Study (Caribbean Quarterly, 2013), which constitutes an invaluable companion to the present volume and is a resource for critics taking up the challenge explicitly and compellingly issued here: to reassess Hearne's work and his place in our literary history.
There is much to admire in the conception of John Hearne's Short Fiction and its framing of Hearne's work. In the foreword, James's vivid reminiscence of Hearne as a generous but exacting writing instructor segues into a thoughtful reflection on Hearne's fiction and the reasons for the relative paucity of attention it has received. While admitting to some reservations about aspects of Hearne's work, James puts Hearne's marginalization largely down to the perception that his writing exemplified "the voice tied to colony, privilege, oppression and all . . . things British." He then counters, "This is of course untrue," calling Hearne a "pre/post-colonial complicator" more akin to Louis Simpson and Jean Rhys than to "a colonial apologist" like H. G. De Lisser (ix).
Robinson-Walcott's introduction begins by describing the conditions of Hearne's literary production, including his return to Jamaica from England in 1961 and the ways the changing political conditions in the new postcolony affected his working life and critical responses to his writing. She then supplies a critical survey of Hearne's stories, contextualizing them within the more familiar landscape of his novels, pointing out congruencies of setting, theme, and character-type. Here, the reader also finds an even-handed assessment of the strengths and weaknesses of Hearne's fiction; Robinson-Walcott concludes, "If his worldview sometimes seems colonial and dated in his novels, that is not the case in the majority of his short stories" (xxviii). She also asserts, "Politically, [Hearne's] pan-Caribbean views were ahead of his time; and his embracing of a pan-Caribbean vision resulted in three of his strongest stories" (xxviii).
The stories themselves are largely organized chronologically, from the first, "The Mongoose Who Came to the City" (published 1953), a wry fable in which a country mongoose moves to Kingston, smokes a spliff, and becomes, for a time, widely feared and hunted by the authorities as a ruud bwai, to the last, "Reckonings" (never published but completed after 1966), in which a deceased author's adult children grapple with the immediate aftermath of his death, his successes as a writer, and his failures as a parent.1 (My only complaint, and it is a minor one, is that although the volume's preface does supply the publication history for each of the stories, it would have been helpful—particularly for scholars—to have also tagged each story with the year of its first publication.) The stories are set mostly in the anglophone Caribbean: Jamaica, Trinidad, British Guiana/Guyana, and the fictional Cayuna, in which four of Hearne's novels are also set and for which he created and mapped a detailed physical geography.2 They also cover a broad swathe of psychological and emotional territory, from the sly humour of "Mongoose" to the savage despair conveyed by "Morning, Noon, and Night," an affecting depiction of desperate poverty and elite indifference.
Most of the stories seem primarily interested in the interiority of men as they negotiate war, work, women, and, most centrally, their relationships with each other across distinctions of race, class, generation, and power differentials. This masculinist focus may provoke critique from contemporary readers, and with some justification. But it should be said that if maleness is his central theme in these stories, Hearne works hard to do that theme justice, exploring masculine antagonisms and intimacies of many kinds with a careful and critical eye. Moreover, masculine emotionality is not the only note in Hearne's register, as evidenced by what, for my taste, is one of the strongest stories in the collection, "A Village Tragedy." This story does indeed linger over the anxieties, motivations, and hostilities of a range of male characters, from the pious but self-interested Reverend Mackinnon and the jaded, alcoholic Doctor Rushie to the "half-witted" Joseph, who is treated with a casual cruelty by almost everyone around him. But this androcentric tendency is counterbalanced by the fierce tenderness of Joseph's little sister, Elvira, one of only two people who show him kindness and attention, and even more so by the striking portrait of the village elder, Miss Vera Brownford:
Vera Brownford . . . had lived so long and so completely that she had grown to want nothing but freedom from pain. At times the shadow-line between life and death was not very distinct to her expectation, her desire or her feeling but she understood the terror and confusion that the crossing of the line brought to those younger than herself. And, understanding this, she gave comfort as a tree gives shade . . . with a vast, experienced impartiality. It was her occupation. (15–16)
Here one sees the very best traits of Hearne's prose: it is elegant but evocative, neither shying away from emotion nor succumbing to sentiment. Moreover, the moral compass that orients these stories is steady but not rigid or absolutist. And despite those aspects of his fiction that might invite critiques of an internalized colonialist worldview, a progressive sensibility, on several fronts, is also in evidence. In addition to the Pan-Caribbean vision Robinson-Walcott foregrounds, there are also, at various points, an explicitly antiracist and profeminist stance, a critique of racial ideologies as corrosive of national cohesion, and a queer male character sympathetically portrayed. The stories focalized through or narrated by non-white, non-elite characters are as finely and compellingly wrought as the others—these characters are neither caricatures nor even (for the most part) types. In all, this volume does a fine job of reminding readers of Hearne's considerable artistry and supporting its claim that his work merits renewed and thoughtful attention from all of us who are interested in Caribbean literature.
Rachel L. Mordecai received her MA from the University of the West Indies and her PhD from the University of Minnesota. She teaches Caribbean literature at the University of Massachusetts Amherst. She is the author of Citizenship Under Pressure: The 1970s in Jamaican Literature and Culture (UWI Press, 2014); her new book project investigates the deployment and refashioning of the family-saga genre by twentieth- and twenty-first-century Caribbean writers.
1 Hearne's story "Living Out the Winter" was first published in 1994, but Shivaun Hearne notes that it was written "much earlier—likely in the late 1950s or early 1960s" (xvi); accordingly, it appears before "Reckonings" in this collection.
2 See Shivaun Hearne, John Hearne's Life and Fiction: A Critical Biographical Study (Kingston: Caribbean Quarterly, University of the West Indies, 2013), 46.
Intimacies of Family and Fiction
Ethnography, Genealogy, and Relation
World-Making Words
Trans . . . lation, "That Third Thing That Gives Value" to Contemporary Puerto Rican Poetry
Caribbean Literature, Visual Art, and Performance as Resistance
Blooming in the Pursuit of Wellness
The First Haitian Migrants and the Unevenness of Empire
Twitter Facebook Instagram @


text:
#region License

#endregion

using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Net.Sockets;
using System.Reflection;
using System.Threading;
using NetIrc2.Details;
using NetIrc2.Parsing;

namespace NetIrc2
{
    /// <summary>
    /// Communicates with an Internet Relay Chat server.
    /// </summary>
    [Category("Network")]
    [Description("Communicates with an Internet Relay Chat server.")]
    public partial class IrcClient
    {
        class Context
        {
            public Thread ReceiverThread;
            public ManualResetEvent StartEvent;
            public Stream Stream;
            public SynchronizationContext SynchronizationContext;
        }
        Context _context;
        IrcString _clientVer;

        static IrcClient()
        {
            CtcpTimeInit();
        }

        /// <summary>
        /// Creates a new IRC client.
        /// </summary>
        public IrcClient()
        {
            CtcpPingInit();
            SyncRoot = new object();
        }

        /// <summary>
        /// Connects to an IRC server.
        /// </summary>
        /// <param name="hostname">The server hostname.</param>
        /// <param name="port">The server port.</param>
        /// <param name="options">Options for the connection, if any, or <c>null</c>.</param>
        public void Connect(string hostname, int port = 6667, IrcClientConnectionOptions options = null)
        {
            Throw.If.Null(hostname, "hostname").Negative(port, "port");

            Connect(client => client.Connect(hostname, port), options);
        }

        /// <summary>
        /// Connects to an IRC server specified by an endpoint.
        /// </summary>
        /// <param name="endPoint">The IP endpoint to connect to.</param>
        /// <param name="options">Options for the connection, if any, or <c>null</c>.</param>
        public void Connect(IPEndPoint endPoint, IrcClientConnectionOptions options = null)
        {
            Throw.If.Null(endPoint, "endPoint");

            Connect(client => client.Connect(endPoint), options);
        }

        void Connect(Action<TcpClient> connectTcpClientCallback, IrcClientConnectionOptions options)
        {
            var client = new TcpClient();
            connectTcpClientCallback(client);

            try
            {
                Connect(client.GetStream(), options);
            }
            catch (Exception)
            {
                client.Close(); throw;
            }
        }

        /// <summary>
        /// Connects to an IRC server specified by a stream.
        /// </summary>
        /// <param name="stream">The stream.</param>
        /// <param name="options">Options for the connection, if any, or <c>null</c>.</param>
        public void Connect(Stream stream, IrcClientConnectionOptions options = null)
        {
            Throw.If.Null(stream, "stream");

            Close();

            if (options == null)
            {
                options = new IrcClientConnectionOptions();
            }

            if (options.Ssl)
            {
                if (options.SslHostname == null)
                {
                    throw new ArgumentException("If Ssl is true, SslHostname must be set.", "options");
                }

                var sslStream = new SslStream(stream, false, options.SslCertificateValidationCallback);
                sslStream.AuthenticateAsClient(options.SslHostname);
                stream = sslStream;
            }

            var context = new Context()
            {
                ReceiverThread = new Thread(ThreadReceiver)
                {
                    Name = "IRC Receiver",
                },
                StartEvent = new ManualResetEvent(false),
                Stream = stream,
                SynchronizationContext = options.SynchronizationContext
            };

            _context = context;
            context.ReceiverThread.IsBackground = true;
            context.ReceiverThread.Start(context);

            try
            {
                IsConnected = true; OnConnected();
            }
            finally
            {
                context.StartEvent.Set();
            }
        }

        /// <summary>
        /// Sends a CTCP command to the specified user or channel.
        /// </summary>
        /// <param name="recipient">The user or channel to send the command to.</param>
        /// <param name="command">The CTCP command.</param>
        /// <param name="parameters">The CTCP command parameters.</param>
        /// <param name="escapeParameters">
        ///     <c>true</c> to quote parameters with spaces in them, and escape backslashes and quotation marks.
        /// </param>
        public void CtcpCommand(IrcString recipient, IrcString command,
                                IrcString[] parameters, bool escapeParameters = true)
        {
            Throw.If.Null(recipient, "recipient").Null(command, "command").NullElements(parameters, "parameters");

            Message(recipient, CtcpEncode(command, parameters, escapeParameters));
        }

        /// <summary>
        /// Replies to a CTCP command from a user or channel.
        /// </summary>
        /// <param name="recipient">The user or channel to send the reply to.</param>
        /// <param name="command">The CTCP command.</param>
        /// <param name="parameters">The CTCP command reply parameters.</param>
        /// <param name="escapeParameters">
        ///     <c>true</c> to quote parameters with spaces in them, and escape backslashes and quotation marks.
        /// </param>
        public void CtcpReply(IrcString recipient, IrcString command,
                              IrcString[] parameters, bool escapeParameters = true)
        {
            Throw.If.Null(recipient, "recipient").Null(command, "command").NullElements(parameters, "parameters");

            Notice(recipient, CtcpEncode(command, parameters, escapeParameters));
        }

        /// <summary>
        /// Sends a DCC command to the specified user or channel.
        /// </summary>
        /// <param name="recipient">The user or channel to send the command to.</param>
        /// <param name="command">The DCC command.</param>
        /// <param name="parameters">The DCC command parameters.</param>
        public void DccCommand(IrcString recipient, IrcString command, params IrcString[] parameters)
        {
            Throw.If.Null(recipient, "recipient").Null(command, "command").NullElements(parameters, "parameters");

            CtcpCommand(recipient, "DCC", new[] { command }.Concat(parameters).ToArray());
        }

        /// <summary>
        /// Constructs and sends an IRC command to the server.
        /// </summary>
        /// <param name="command">The command to send.</param>
        /// <param name="parameters">The command's parameters.</param>
        /// <returns><c>true</c> if the command was sent successfully.</returns>
        public bool IrcCommand(IrcString command, params IrcString[] parameters)
        {
            Throw.If.Null(command, "command").Null(parameters, "parameters");

            return IrcCommand(new IrcStatement(null, command, parameters));
        }

        /// <summary>
        /// Sends a premade IRC statement to the server.
        /// </summary>
        /// <param name="statement">The statement to send.</param>
        /// <returns><c>true</c> if the statement was sent successfully.</returns>
        public bool IrcCommand(IrcStatement statement)
        {
            Throw.If.Null(statement, "statement");

            var buffer = statement.ToByteArray();
            lock (SyncRoot)
            {
#if DEBUG
                Console.ForegroundColor = ConsoleColor.DarkYellow;
                Console.Write("< " + new IrcString(buffer));
                Console.ResetColor();
#endif

                var context = _context;
                if (context == null) { return false; }

                try
                {
                    context.Stream.Write(buffer, 0, buffer.Length);
                }
                catch (IOException)
                {
                    return false;
                }
                catch (ObjectDisposedException)
                {
                    return false;
                }

                return true;
            }
        }

        /// <summary>
        /// Closes the network connection.
        /// </summary>
        public void Close()
        {
            var context = _context;
            if (context == null) { return; }

            context.Stream.Close();
            context.ReceiverThread.Join();
            _context = null;
        }

        void ThreadReceiver(object parameter)
        {
            var context = (Context)parameter;
            var receiver = new IrcStatementReceiver(context.Stream);
            context.StartEvent.Set();

            while (true)
            {
                IrcStatement statement; IrcStatementParseResult parseResult;

                if (receiver.TryReceive(out statement, out parseResult))
                {
                    OnIrcStatementReceived(statement);
                }
                else if (parseResult != IrcStatementParseResult.NothingToParse)
                {
                    break;
                }
            }

            IsConnected = false; OnClosed();
        }

        /// <summary>
        /// The client version. This will be sent in reply to a CTCP VERSION query.
        /// </summary>
        [AmbientValue(null)]
        public IrcString ClientVersion
        {
            get { return _clientVer ?? ("NetIRC2 " + Assembly.GetExecutingAssembly().GetName().Version.ToString()); }
            set { _clientVer = value; }
        }

        bool ShouldSerializeClientVersion()
        {
            return _clientVer != null;
        }

        /// <summary>
        /// Whether the client is connected to a server.
        /// </summary>
        [Browsable(false)]
        public bool IsConnected
        {
            get;
            private set;
        }

        /// <summary>
        /// The synchronization object for sending IRC commands.
        /// </summary>
        [Browsable(false)]
        public object SyncRoot
        {
            get;
            private set;
        }
    }
}


text:
Q: How to speed up update query in SQL Server 2008? update orders
set tname = (select top 1 t.task
                from task t
                where prod_typ='2' and sorder_nbr = t.ORDER_NBR
                order by t.strt_dt desc)
where Prod_type='2'

update orders
set tname=  (select top 1 t.task
                from task t
                where  prod_typ='1' and sorder_nbr=t.ORDER_NBR
                order by t.strt_dt desc)
where Prod_type='1'

I am trying to update the tname column of orders table by the latest task from the task table
And the condition is prod_typ of orders table is 1 and sorder_nbr of orders table and order_nbr of task table are equal
My first update statement works well where the rows are 900k and for the second update rows are 400k for second update statement it takes more than one hour to run and at last I cancelled the query

A: 1) You query and my query:
update orders
set tname = (select top 1 t.task
                from task t
                where prod_type='2' and order_nbr = t.ORDER_NBR
                order by t.strt_dt desc)
where Prod_type='2';
go

update o
set tname = (select top 1 t.task
                from task t
                where prod_type='2' and o.order_nbr = t.ORDER_NBR
                order by t.strt_dt desc)
from dbo.orders o
where Prod_type='2';
go

The actual execution plans:

As you can see, if default collation for current DB is CI (case insensitive) then following predicate order_nbr=t.ORDER_NBR force SQL Server to compare the values of t.ORDER_NBR with  the values order_nbr column from the same table task t. Look at first execution plan which corresponds to first query.
To solve just this problem, I've used another alias
dbo.orders o and I've reqrite the predicate thus o.order_nbr = t.ORDER_NBR. You may see this also within second execution plan.
Depending on how many tasks are for every order_num & prod_type you could test S#1 if there are many tasks or S#2 if there is a small amount of tasks per order_num & prod_type. Again, you need to test with your data to see which solution is better.
2) Solution #1:
UPDATE  o
SET     tname =
        COALESCE(
            (SELECT  TOP(1) t.task
            FROM    dbo.task t
            WHERE   t.prod_type=o.Prod_type
            AND     o.order_nbr = t.ORDER_NBR
            ORDER BY t.strt_dt DESC), tname
        )
FROM    dbo.orders o
WHERE   o.Prod_type IN ('1', '2');

3) Solution #2:
UPDATE  o
SET     tname = lt.task
FROM    dbo.orders o
INNER JOIN
(
    SELECT  src.order_nbr, src.prod_type, src.task
    FROM (
        SELECT  t.ORDER_NBR, t.prod_type, t.task,
                ROW_NUMBER() OVER(PARTITION BY t.ORDER_NBR, t.prod_type ORDER BY t.strt_dt DESC) RowNum
        FROM    dbo.task t
    ) src
    WHERE src.RowNum = 1
) lt -- last task
ON o.order_nbr = lt.ORDER_NBR AND o.prod_type = lt.prod_type
WHERE   o.Prod_type IN ('1', '2');

If you have questions then feel free to ask.
4) An index on dbo.task(order_nbr, prod_type, strt_dt) include (task) should help both solutions.
5) Also you should publish the actual execution plans.

A: Try something like this. This will update prod_type of 1 and 2 at the same time.
UPDATE orders
SET tname = t1.task
FROM orders o
CROSS APPLY (
    SELECT order_nbr, prod_type, t.task, row_number() OVER (PARTITION BY order_nbr, prod_type ORDER BY strt_dt DESC) rownumber
    FROM task t
    WHERE o.prod_type = t.prod_type
        AND o.order_nbr = t.order_nbr) t1
WHERE t1.rownumber = 1
    AND o.prod_type in (1,2)

A: If the data size is large than i suggest you to use variables for updating the table, or Using CTE to update
Update a table using CTE and NEWID()
Updating record using CTE?
I hope this will help
with tname (t.task) as
(select top 1 t.task
                from task t
                where prod_typ='2' and order_nbr = t.ORDER_NBR
                order by t.strt_dt desc )
insert into Orders(t.task)

A: Using a CTE query will speed up this, because the subquery is need not be created for every row, it is pre-prepared. Here is the sqlfiddle
   ;with cteTaskNames as
   (
     select top 1 t.task
     from task t
     where  prod_type='2' and order_nbr=t.ORDER_NBR
     order by t.strt_dt desc
   )
   update orders
   set tname = (select task from cteTaskNames)
   where Prod_type='2'
   go

Also,
    1) Is "prod_type" an integer field or a string field?
    2) If you add group by in the cte, you can do an inner join on orders and cte query to run all updates at once instead of doing each query.


text:
Q: Spring Batch: Reading fixed-width file without line breaks I've a fixed length content Flatfile which contains sample records like below and has no delimiter as such it contains special hex characters and data is spread across multiple lines too. But each line has constant 2000 bytes/characters and I need to keep picking the bytes from 1-2000, 2001-4000 and so on. I've fixed index characters.
Note - Here I don't want to read all characters from 2000 lines, just wanted to read based on Range.
Customer.java
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class Customer {
    private String firstValue;
    private String secondValue;
    private String thirdValue;
    private String fourthValue;
}

Error
Java Bean
@Bean
public FlatFileItemReader<Customer> customerItemReader(){

    return new FlatFileItemReaderBuilder<Customer>()
            .name("customerItemReader")
            .linesToSkip(1)
            .resource(new ClassPathResource("/data/test.conv"))
            .fixedLength()
            .columns(new Range[] { new Range(3, 6), new Range(7, 13), new Range(14, 15), new Range(14, 15) })
            .names(new String[] { "firstValue", "secondValue", "thirdValue", "fourthValue" })
            .targetType(Customer.class)
            .build();
}

Error
org.springframework.batch.item.file.FlatFileParseException: Parsing error at line: 2 in resource=[class path resource [data/test.conv]], input=[560000000000411999999992052300000000D 0000        0000000000010000000100000040000000000000  00000000                    NYNNVX      N N 0      N004 000100000001000100000001000100000001000100000001000100000001000100000001000100000001                                                YNYNYYNNNNNYNNNN0004000000070000000300010000000000000000000000020000000000000000NN1N                         N00NNNND                                                                                001NNN              00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000O840000000000000000000AN0201000000NNNC840                N  N00N A NN00400000000NNNNNUSAN       NNNN00000000000000NN141900INNNNNN   N                 N000000                 NN           200//0055//20000YNN MO    ¶200528000000       !!B3K555800000001A****00             00             00             00             00             00             00             00             00             00             00             00             00             00             00             00             0005230000000000000000                                                                                ]
    at org.springframework.batch.item.file.FlatFileItemReader.doRead(FlatFileItemReader.java:189) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader.read(AbstractItemCountingItemStreamItemReader.java:93) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.item.SimpleChunkProvider.doRead(SimpleChunkProvider.java:99) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.item.SimpleChunkProvider.read(SimpleChunkProvider.java:180) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.item.SimpleChunkProvider$1.doInIteration(SimpleChunkProvider.java:126) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:375) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:145) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.item.SimpleChunkProvider.provide(SimpleChunkProvider.java:118) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:71) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:407) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:331) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:273) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:82) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:375) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:145) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:258) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:208) ~[spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:410) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.job.SimpleJob.doExecute(SimpleJob.java:136) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:319) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:147) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50) [spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:140) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) [spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) [spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration$PassthruAdvice.invoke(SimpleBatchConfiguration.java:127) [spring-batch-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) [spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
    at com.sun.proxy.$Proxy57.run(Unknown Source) [na:na]
    at com.example.DatabaseOutputApplication.run(DatabaseOutputApplication.java:39) [classes/:na]
    at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:784) [spring-boot-2.2.7.RELEASE.jar:2.2.7.RELEASE]
    at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:768) [spring-boot-2.2.7.RELEASE.jar:2.2.7.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:322) [spring-boot-2.2.7.RELEASE.jar:2.2.7.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.7.RELEASE.jar:2.2.7.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.7.RELEASE.jar:2.2.7.RELEASE]
    at com.example.DatabaseOutputApplication.main(DatabaseOutputApplication.java:29) [classes/:na]
Caused by: org.springframework.batch.item.file.transform.IncorrectLineLengthException: Line is longer than max range 15
    at org.springframework.batch.item.file.transform.FixedLengthTokenizer.doTokenize(FixedLengthTokenizer.java:113) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.item.file.transform.AbstractLineTokenizer.tokenize(AbstractLineTokenizer.java:130) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.item.file.mapping.DefaultLineMapper.mapLine(DefaultLineMapper.java:43) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]
    at org.springframework.batch.item.file.FlatFileItemReader.doRead(FlatFileItemReader.java:185) ~[spring-batch-infrastructure-4.2.2.RELEASE.jar:4.2.2.RELEASE]

I also tried this
 @Bean
public FlatFileItemReader<Customer> customerItemReader(){
    FixedLengthTokenizer tokenizer = new FixedLengthTokenizer();
    tokenizer.setNames("firstValue", "secondValue", "thirdValue", "fourthValue", "fifthValue", "sixthValue", "seventhValue", "eighthValue", "ninethValue", "dummyRange");
    tokenizer.setColumns(
            new Range(3, 6), new Range(7, 13), new Range(14,15), new Range(16,24), new Range(25, 28), new Range(29,32), new Range(33, 36), new Range(1322, 1324),
            new Range(1406, 1408), new Range(1409));

    DefaultLineMapper<Customer> customerLineMapper = new DefaultLineMapper<>();
    customerLineMapper.setLineTokenizer(tokenizer);
    customerLineMapper.setFieldSetMapper(new CustomerFieldSetMapper());
    customerLineMapper.afterPropertiesSet();

    FlatFileItemReader<Customer> reader = new FlatFileItemReader<>();
    reader.setLinesToSkip(1);
    reader.setResource(new ClassPathResource("/data/test.conv"));
    reader.setLineMapper(customerLineMapper);
    reader.setStrict(false);
    return reader;
}

These solution doesn't works when you've no delimiter and your data is spread across multiple lines. here 1406 column index is present in different line and delimiter has generated in file by mainframe. Please guide here.

A: The main problem here is that FlatFileItemReader assumes you have line breaks, which you don't. The clearest solution to me is to copy/paste the class and swap out the readLine() method with one that takes in the appropriate number of characters. Unfortunately, because much of the class is private, you can't easily extend and override.
package org.springframework.batch.item.file;

import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.Charset;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.batch.item.ReaderNotOpenException;
import org.springframework.batch.item.file.separator.RecordSeparatorPolicy;
import org.springframework.batch.item.file.separator.SimpleRecordSeparatorPolicy;
import org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.core.io.Resource;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;

/**
 * Modified version of {@link FlatFileItemWriter} which reads in mainframe style files with fixed width and no line breaks.
 * Still a restartable {@link ItemReader} that reads lines from input {@link #setResource(Resource)}. Line is defined by the
 * {@link #setRecordSeparatorPolicy(RecordSeparatorPolicy)} and mapped to item using {@link #setLineMapper(LineMapper)}.
 * If an exception is thrown during line mapping it is rethrown as {@link FlatFileParseException} adding information
 * about the problematic line and its line number.
 *
 * @author Robert Kasanicky
 * @author Dean Clark
 */
public class FixedLengthFlatFileItemReader<T> extends AbstractItemCountingItemStreamItemReader<T> implements ResourceAwareItemReaderItemStream<T>, InitializingBean {

    private static final Log logger = LogFactory.getLog(FlatFileItemReader.class);

    // default encoding for input files
    public static final String DEFAULT_CHARSET = Charset.defaultCharset().name();

    private RecordSeparatorPolicy recordSeparatorPolicy = new SimpleRecordSeparatorPolicy();

    private Resource resource;

    private BufferedReader reader;

    private int lineCount = 0;

    private String[] comments = new String[] { "#" };

    private boolean noInput = false;

    private String encoding = DEFAULT_CHARSET;

    private LineMapper<T> lineMapper;

    private int linesToSkip = 0;

    private LineCallbackHandler skippedLinesCallback;

    private boolean strict = true;

    private BufferedReaderFactory bufferedReaderFactory = new DefaultBufferedReaderFactory();

    // CHANGE: Added a variable to store Line Length
    private Integer lineLength;

    public FixedLengthFlatFileItemReader() {
        setName(ClassUtils.getShortName(FlatFileItemReader.class));
    }

    /**
    * In strict mode the reader will throw an exception on
    * {@link #open(org.springframework.batch.item.ExecutionContext)} if the input resource does not exist.
    * @param strict true by default
    */
    public void setStrict(final boolean strict) {
        this.strict = strict;
    }

    /**
    * @param skippedLinesCallback will be called for each one of the initial skipped lines before any items are read.
    */
    public void setSkippedLinesCallback(final LineCallbackHandler skippedLinesCallback) {
        this.skippedLinesCallback = skippedLinesCallback;
    }

    /**
    * Public setter for the number of lines to skip at the start of a file. Can be used if the file contains a header
    * without useful (column name) information, and without a comment delimiter at the beginning of the lines.
    *
    * @param linesToSkip the number of lines to skip
    */
    public void setLinesToSkip(final int linesToSkip) {
        this.linesToSkip = linesToSkip;
    }

    /**
    * Setter for line mapper. This property is required to be set.
    * @param lineMapper maps line to item
    */
    public void setLineMapper(final LineMapper<T> lineMapper) {
        this.lineMapper = lineMapper;
    }

    /**
    * Setter for the encoding for this input source. Default value is {@link #DEFAULT_CHARSET}.
    *
    * @param encoding a properties object which possibly contains the encoding for this input file;
    */
    public void setEncoding(final String encoding) {
        this.encoding = encoding;
    }

    /**
    * Factory for the {@link BufferedReader} that will be used to extract lines from the file. The default is fine for
    * plain text files, but this is a useful strategy for binary files where the standard BufferedReaader from java.io
    * is limiting.
    *
    * @param bufferedReaderFactory the bufferedReaderFactory to set
    */
    public void setBufferedReaderFactory(final BufferedReaderFactory bufferedReaderFactory) {
        this.bufferedReaderFactory = bufferedReaderFactory;
    }

    /**
    * Setter for comment prefixes. Can be used to ignore header lines as well by using e.g. the first couple of column
    * names as a prefix.
    *
    * @param comments an array of comment line prefixes.
    */
    public void setComments(final String[] comments) {
        this.comments = new String[comments.length];
        System.arraycopy(comments, 0, this.comments, 0, comments.length);
    }

    /**
    * Public setter for the input resource.
    */
    @Override
    public void setResource(final Resource resource) {
        this.resource = resource;
    }

    /**
    * Public setter for the recordSeparatorPolicy. Used to determine where the line endings are and do things like
    * continue over a line ending if inside a quoted string.
    *
    * @param recordSeparatorPolicy the recordSeparatorPolicy to set
    */
    public void setRecordSeparatorPolicy(final RecordSeparatorPolicy recordSeparatorPolicy) {
        this.recordSeparatorPolicy = recordSeparatorPolicy;
    }

    /**
    * @return string corresponding to logical record according to
    * {@link #setRecordSeparatorPolicy(RecordSeparatorPolicy)} (might span multiple lines in file).
    */
    @Override
    protected T doRead() throws Exception {
        if (noInput) {
            return null;
        }

        final String line = readLine();

        if (line == null) {
            return null;
        } else {
            try {
                return lineMapper.mapLine(line, lineCount);
            } catch (final Exception ex) {
                throw new FlatFileParseException("Parsing error at line: " + lineCount + " in resource=["
                        + resource.getDescription() + "], input=[" + line + "]", ex, line, lineCount);
            }
        }
    }

    /**
    * @return next line (skip comments).getCurrentResource
    */
    // CHANGE: Modified readLine() to pull in a set number of characters
    private String readLine() {

        if (reader == null) {
            throw new ReaderNotOpenException("Reader must be open before it can be read.");
        }

        String line = null;

        try {

            // CHANGE: READ IN LINE BASED ON LINE LENGTH
            final char[] chars = new char[lineLength + 1];

            final int charsRead = reader.read(chars, 0, lineLength);
            if (charsRead <= 10) {
                noInput = true;
                return null;
            }
            line = new String(chars);
            // END CHANGE: READ IN LINE BASED ON LINE LENGTH

            lineCount++;
            while (isComment(line)) {
                line = reader.readLine();
                if (line == null) {
                    return null;
                }
                lineCount++;
            }

            line = applyRecordSeparatorPolicy(line);
        } catch (final IOException e) {
            // Prevent IOException from recurring indefinitely
            // if client keeps catching and re-calling
            noInput = true;
            throw new NonTransientFlatFileException("Unable to read from resource: [" + resource + "]", e, line,
                    lineCount);
        }
        return line;
    }

    private boolean isComment(final String line) {
        for (final String prefix : comments) {
            if (line.startsWith(prefix)) {
                return true;
            }
        }
        return false;
    }

    @Override
    protected void doClose() throws Exception {
        lineCount = 0;
        if (reader != null) {
            reader.close();
        }
    }

    @Override
    protected void doOpen() throws Exception {
        Assert.notNull(resource, "Input resource must be set");
        Assert.notNull(recordSeparatorPolicy, "RecordSeparatorPolicy must be set");

        noInput = true;
        if (!resource.exists()) {
            if (strict) {
                throw new IllegalStateException("Input resource must exist (reader is in 'strict' mode): " + resource);
            }
            logger.warn("Input resource does not exist " + resource.getDescription());
            return;
        }

        if (!resource.isReadable()) {
            if (strict) {
                throw new IllegalStateException("Input resource must be readable (reader is in 'strict' mode): "
                        + resource);
            }
            logger.warn("Input resource is not readable " + resource.getDescription());
            return;
        }

        reader = bufferedReaderFactory.create(resource, encoding);
        for (int i = 0; i < linesToSkip; i++) {
            final String line = readLine();
            if (skippedLinesCallback != null) {
                skippedLinesCallback.handleLine(line);
            }
        }
        noInput = false;
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        Assert.notNull(lineMapper, "LineMapper is required");
        // CHANGE: Added an assertion to verify Line Length was provided
        Assert.notNull(lineLength, "Line length is required");
    }

    @Override
    protected void jumpToItem(final int itemIndex) throws Exception {
        for (int i = 0; i < itemIndex; i++) {
            readLine();
        }
    }

    private String applyRecordSeparatorPolicy(String line) throws IOException {

        String record = line;
        while ((line != null) && !recordSeparatorPolicy.isEndOfRecord(record)) {
            line = this.reader.readLine();
            if (line == null) {
                if (StringUtils.hasText(record)) {
                    // A record was partially complete since it hasn't ended but
                    // the line is null
                    throw new FlatFileParseException("Unexpected end of file before record complete", record, lineCount);
                } else {
                    // Record has no text but it might still be post processed
                    // to something (skipping preProcess since that was already
                    // done)
                    break;
                }
            } else {
                lineCount++;
            }
            record = recordSeparatorPolicy.preProcess(record) + line;
        }

        return recordSeparatorPolicy.postProcess(record);

    }

    // CHANGE: Added a setter for Line Length
    public void setLineLength(final Integer lineLength) {
        this.lineLength = lineLength;
    }

}

A: You can utilize the isStrict flag to get read of this issue - use the tokenizer separately and your issue will be solved
I have implemented - fixedLengthTokenizer as below
  @Value("classpath:mainframe.txt")
    private Resource resource;

 @Bean
    public FlatFileItemReader fixLengthItemReader(){
        FlatFileItemReader reader = new FlatFileItemReader();
        reader.setResource(resource);
        reader.setLineMapper(new DefaultLineMapper() {
            {
                setLineTokenizer(fixedLengthTokenizer());
                setFieldSetMapper(new BeanWrapperFieldSetMapper<Customer>() {
                    {
                        setTargetType(Customer.class);
                    }
                });
            }
        });
        return reader;
    }

@Bean
public FixedLengthTokenizer fixedLengthTokenizer() {
    FixedLengthTokenizer tokenizer = new FixedLengthTokenizer();
    tokenizer.setColumns(new Range[] { new Range(3, 6), new Range(7, 13), new Range(14, 15), new Range(14, 15) });
    tokenizer.setNames(new String[] { "firstValue", "secondValue", "thirdValue", "fourthValue" });
    tokenizer.setStrict(false);
    return tokenizer;
}

Note - do remember to set this flag --> tokenizer.setStrict(false);


BATON ROUGE- A businessman from New Orleans has expanded a commercial campaign to this city, highlighting violence on the streets of the French Quarter.
Sidney Torres, who lives in New Orleans' historic district, started by buying television airtime in New Orleans and expanded it to Baton Rouge this week. Torres said he is a victim of crime and is frustrated about the situation. He wants city leaders to do more to combat violence, including increasing police in the Quarter.
The commercial features various people discussing the crime situation in the French Quarter. They ask why isn't more being done or tell viewers they do not feel safe.
One person asks for people to demand a plan from New Orleans Mayor Mitch Landrieu, who Torres has targeted in his ads as not doing enough to secure the streets.
"Pointing fingers, being destructive, that doesn't help," Landrieu told WWL TV, the New Orleans-area TV station that has news partnership with WBRZ TV and WBRZ.com. "Everybody in every neighborhood has got to assist in order to make the city safe, and we're committed to doing our part as well," he said.
Torres responded, "I know the whole city is important... But when you're talking about 13 by six blocks, and you can't keep that safe, I feel sorry for the whole city."
It was not immediately clear how much Torres was spending to run the thirty-second commercials on television channels in Baton Rouge.


We are getting inundated lately with images and marketing materials from Man of Steel lately (no complaints). We got a new trailer last week, which provided some great action scenes and also some interesting tidbits I think you might find fascinating. Today, we have 13 brand new stills from the film, courtesy of Empire Magazine.
Is it just me, or is this film already looking like one of the best comic book movies of all-time? Yes, I'm basing this solely off of images and trailers, but there's been nothing so far to make me think this movie isn't destined for glory. With that being said, does that mean a Justice League movie might actually work? Well, I won't go that far yet (or at least not until I'm told Ryan Reynolds is out as Green Lantern).


text:
Carriera

Esordi
Laurent Didier nel 2000, a Dippach sua città natale, vinse il campionato nazionale di ciclocross esordienti battendo il suo futuro compagno di squadra Andy Schleck. Passò alla categoria allievi e tra il 2001 e il 2004 si fece notare nei campionati nazionali di ciclocross concludendo al secondo posto sia nel 2001 a Brousch/Mersch, sia nel 2002 questa volta battuto da Andy Schleck a Kopstal. Passò nella categoria Under-23 nel 2003, quando fu nuovamente Marc Ernster a vincere nel campionato nazionale (come nel 2001), mentre Didier finì sul gradino più basso del podio. Nel 2004 lo stesso Ernster trovò ancora successo nel campionato nazionale e Didier dovette accontentarsi del terzo posto.

Passato alla categoria Elite/Under-23 nel 2005, corse parte dell'anno da dilettante Under-23: fu ancora secondo al campionato lussemburghese di ciclocross, vinse una tappa della Flèche du Sud, corsa che terminò in terza posizione, e si aggiudicò la prova a cronometro dei campionati nazionali nella categoria Under-23. In seguito arrivò al secondo posto nella prova in linea.

2006-2010
Nel 2006 passò all'affiliazione internazionale con il team Continental tedesco Regioström-Senges con cui, verso la fine di marzo, conquistò un secondo posto nel Criterium di Dippach. L'anno dopo vinse il Criterium di Saargau (in Germania), arrivò al terzo posto nella prova contro il tempo dei campionati lussemburghesi e vinse una frazione del giro austriaco Friedens und Freundschaftstour.

Nel 2008 il Team Regioström-Senges mutò il proprio nome in Team Kuota-Senges e Didier vi rimase sino ad agosto, quando passò in prova come stagista al Team CSC, la squadra diretta da Bjarne Riis. In questa stagione Didier non colse piazzamenti di rilievo: partecipò sia al Tour des Pyrénées che al Tour de Moselle, dove concluse terzo nella classifica generale. Nel 2009 passò alla Designa Køkken, squadra Continental danese; durante l'anno trovò diversi piazzamenti nelle corse francesi ed arrivò quarto al Criterium di Saulheim. Nei campionati nazionali non deluse centrando due secondi posti: nella prova a cronometro dietro l'esperto Kim Kirchen e nella prova in linea, battuto solo dal minore degli Schleck, Andy.

Per l'anno successivo venne ingaggiato dalla Saxo Bank, nota fino al 2008 come CSC. A maggio partecipò al suo primo grande giro, il Giro d'Italia, gara che concluse in trentatreesima posizione, risultando il miglior corridore lussemburghese al Giro e il terzo nella squadra dopo Richie Porte (ottavo) e Chris Anker Sørensen (ventisettesimo). Nella prova in linea dei campionati nazionali concluse quarto; si piazzò inoltre al nono posto nella classifica generale della Vuelta a la Comunidad de Madrid, giungendo poi quinto al Gala Tour de France vinto da Andy Schleck.

Palmarès

Ciclocross
2000 (Juniores)
Campionati lussemburghesi, gara Juniores

Strada
2005 (Luxembourg Nationale)
3ª tappa, 1ª semitappa, Flèche du Sud (Troisvierges > Bourscheid)
Campionati lussemburghesi, Prova a cronometro Under 23

2007 (Team Regiostrom-Senges)
2ª tappa Friedens und Freundschaftstour (Linz > Passavia)

2012 (RadioShack-Nissan, una vittoria)
Campionati lussemburghesi, Prova in linea

2014 (Trek Factory Racing, due vittorie)
Campionati lussemburghesi, Prova a cronometro
5ª tappa USA Pro Cycling Challenge (Woodland Park > Breckenridge)

Altri successi
2007
Criterium di Saargau

2013
Classifica scalatori Tour du Haut-Var

Piazzamenti

Grandi Giri

Giro d'Italia
2010: 33º
2011: 130º
2016: 64º
2017: ritirato (11ª tappa)
2018: 97º

Tour de France
2013: 53º
2015: non partito (17ª tappa)

Vuelta a España
2012: 86º
2016: 104º

Classiche monumento

Milano-Sanremo
2014: 111º

Liegi-Bastogne-Liegi
2010: 97º
2012: ritirato
2013: 143º
2015: ritirato
2016: 132º

Giro di Lombardia
2014: ritirato
2015: ritirato
2016: ritirato
2017: ritirato
2018: ritirato

Competizioni mondiali

Campionati del mondo su strada
Hamilton 2003 - In linea Under-23: fuori tempo massimo
Madrid 2005 - In linea Under-23: ritirato
Salisburgo 2006 - In linea Under-23: 98º
Stoccarda 2007 - In linea Elite: ritirato
Varese 2008 - In linea Elite: ritirato
Mendrisio 2009 - In linea Elite: ritirato
Melbourne 2010 - In linea Elite: 98º
Richmond 2015 - In linea Elite: ritirato
Innsbruck 2018 - In linea Elite: ritirato

Giochi olimpici
Londra 2012 - In linea: 64º

Competizioni europee
Campionati europei
Plumelec 2016 - In linea Elite: 80º

Note

Altri progetti

Collegamenti esterni

redpajama_set_name: RedPajamaWikipedia


One of the best ways to get leads is by blogging. It's a process that takes a little longer but your blog posts are always out there for people to find. You really need to have a website so that you can blog to give value and that is a great way to get free leads. Learn How To Blog The Easy Way For Free Leads below.