text:
=begin rdoc
  EMIC(1991-present) and EMICBACK(1950-1990) are bibliographic databases on chemical, biological and physical agents that have been tested for genotoxic activity.
  Records are either derived from MEDLINE or created especially for this database.
  Many records contain abstracts and MeSH terms and all records contain EMIC specialized indexing keywords and the names and CAS Registry Numbers of all chemicals tested.
  The databases are produced by the Oak Ridge National Laboratory in Oak Ridge, Tennessee, and are funded by the Environmental Protection Agency (EPA) and The National Institutes of Environmental Health Sciences(NIEHS).
  To reach the databases contact:

National Library of Medicine(NLM)
Specialized Information Services
8600 Rockville Pike
Bethesda, MD 20894
Phone: (800) 638-8480
=end
require 'rubygems'
require 'rdf'
require 'rdf/ntriples'
require 'nokogiri'
require 'digest/md5'
require 'cgi'
require 'ostruct'
require 'optparse'
require 'logger'

include RDF

class Emic

    def initialize(args)
        @arguments = args
        @options = OpenStruct.new()
        @log  = Logger.new(STDOUT)

    end

    def run
        @log.info "Running program"

        if(process_arguments && valid_arguments?)
            @log.info "Processing: \n\t#{@options.file}"
            @log.info "Output to : \n \t\t #{@options.output}"
            @reader           = Nokogiri::XML::Reader(File.open(@options.file))
            @output           = File.new(@options.output,"w+")
            @emic             = RDF::Vocabulary.new("http://bio2rdf.org/emic:")
            @emic_resource    = RDF::Vocabulary.new("http://bio2rdf.org/emic_resource:")
            @cas              = RDF::Vocabulary.new("http://bio2rdf.org/cas:")
            parse()

        end
    end

    # Process the arguments on the command line
    def process_arguments
        opts_parse = OptionParser.new do |opts|
            opts.on('-f','--file FILE')  {|f|@options.file   = File.expand_path(f)}
            opts.on('-o','--output FILE'){|f|@options.output = File.expand_path(f)}
        end

        opts_parse.parse!(@arguments) rescue return false

        return true
    end

    # check the arguments to make sure they are valid.
    def valid_arguments?
        begin
            if(@options.file)
                raise LoadError,"The file you specified doesn't exist: #{@options.file}" if File.exist?(@options.file) == false
                else
                @log.error "Select a file using -f or --file FILE"
            end

            if(@options.output)
                # not going to worry about this one.
                else
                @log.error "No output was specified select using -o or --output"
            end
            rescue LoadError => bam
            @log.error bam
            exit
        end

        return true
    end

    def parse()

        @graph = RDF::Graph.new()

        @reader.each do |node|

            if(node.name.include?("emic")&& node.node_type == 1)
                node.read
                node.read
            end

            if(node.name.include?("DOC") && node.node_type ==1 )
                @doc = @emic["emic_#{Digest::MD5.hexdigest(node.inner_xml)}"]
                @graph << [@doc, RDF.type, @emic_resource.DOC]
            end

            if(node.name == "DOCNO" && node.node_type == 1)
                  node.read
                  r = @emic["emic_#{Digest::MD5.hexdigest("docno" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.DOCNO]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasDOCNO,r]
                elsif(node.name == "ArticleTitle" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("ArticleTitle" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.ArticleTitle]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasArticleTitle,r]
                elsif(node.name == "AbstractText" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("AbstractTitle" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.AbstracTitle]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasAbstractTitle,r]
                elsif(node.name == "Affiliation" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Affiliation" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Affiliation]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasAffiliation,r]
                elsif(node.name == "Author" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Author" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Author]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasAuthor,r]
                elsif(node.name == "CASRegistryNumber" && node.node_type == 1)
                  node.read
                 if(!node.value.include?("NO CASRN")|| && !node.value.include?("NO CAS RN"))
                    r = @cas[node.value.strip.chomp]
                    @graph << [r,RDF.type,@emic_resource.CASRegistryNumber]
                    @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                    @graph << [@doc,@emic_resource.hasCASRegistryNumber,r]
                  end
                elsif(node.name == "CASRegistryNumberName" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("CASRegistryNumberName" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.CASRegistryNumberName]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasCASRegistryNumberName,r]
                elsif(node.name == "CellsObserved" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("CellsObserved" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.CellsObserved]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasCellsObservered,r]
                elsif(node.name == "CellsTreated" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("CellsTreated" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.CellsTreated]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasCellsTreated,r]
                elsif(node.name == "Comments" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Comments" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Comments]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasComments,r]
                elsif(node.name == "Control" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Control" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Control]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasControl,r]
                elsif(node.name == "DateRevised" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("DateRevised" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.DateRevised]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasDateRevised,r]
                elsif(node.name == "ECSubstance" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("ECSubstance" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.ECSubstance]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasECSubstance,r]
                elsif(node.name == "EnglishAbstractIndicator" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("EnglishAbstractIdicator" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.EnblishAbstractIndicator]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasEnglishAbstractIndicator,r]
                elsif(node.name == "EntryMonth" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("EntryMonth" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.EntryMonth]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasEntryMonth,r]
                elsif(node.name == "ExperimentalConditions" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("ExperimentalConditions" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.ExperimentalConditions]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasExperimentalConditions,r]
                elsif(node.name == "GrantID" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("GrantID" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.GrantID]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasGrantID,r]
                elsif(node.name == "ISBN" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("ISBN" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.ISBN]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasISBN,r]
                elsif(node.name == "ISSN" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("ISSN" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.ISSN]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasISSN,r]

                elsif(node.name == "Inducer" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Inducer" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Inducer]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasInducer,r]
                elsif(node.name == "InducerCASRegistryNumber" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("InducerCASRegistryNumber" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.InducerCASRegistryNumber]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasInducerCASRegistryNumber,r]
                elsif(node.name == "Language" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("Language" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Language]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasLanguage,r]
                elsif(node.name == "MatedTo" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("MatedTo" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.MatedTo]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasMatedTo,r]
                elsif(node.name == "MedlineCode" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("MedlineCode" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.MedlineCode]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasMedlineCode,r]
                elsif(node.name == "MedlineTA" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("MedlineTA" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.MedlineTA]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasMedlineTA,r]
                elsif(node.name == "MeshHeading" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("MeshHeading" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.MeshHeading]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasMeshHeading,r]
                elsif(node.name == "NameOfAgent" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("NameofAgent" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.NameOfAgent]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasNameOfAgent,r]
                elsif(node.name == "NameOfAgentCASRegistryNumber" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("NameOfAgentCASRegistyNumber" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.NameOfAgentCASRegistryNumber]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasDOCNO,r]
                elsif(node.name == "NumberOfReferences" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("NumberOfReference" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.NumberOfReferences]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasNumberOfReferences,r]
                elsif(node.name == "PersonalNameSubject" && node.node_type == 1)
                  node.read
                  next if node.value == nil
                    r = @emic["emic_#{Digest::MD5.hexdigest("PersonalNameSubject" + node.value + @doc.to_s)}"]
                    @graph << [r,RDF.type,@emic_resource.PersonalNameSubject]
                    @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                    @graph << [@doc,@emic_resource.hasPersonalNameSubject,r]
                elsif(node.name == "PublicationType" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("PublicationType" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.PublicationType]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasPublicationType,r]
                elsif(node.name == "SecondarySourceID" && node.node_type == 1)
                  node.read

                  r = @emic["emic_#{Digest::MD5.hexdigest("SecondarySourceID" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.SecondarySourceID]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasSecondarySourceID,r]
                elsif(node.name == "SexTreated" && node.node_type == 1)
                  node.read

                       r = @emic["emic_#{Digest::MD5.hexdigest("SexTreated" + node.value + @doc.to_s)}"]
                      @graph << [r,RDF.type,@emic_resource.SexTreated]
                      @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                      @graph << [@doc,@emic_resource.hasSexTreated,r]
                elsif(node.name == "Source" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("Source" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Source]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasSource,r]
                elsif(node.name == "SpecificTestEndpoint" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("SpecificTestEndpoint" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.SpecificTestEndpoint]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasSpecificTestEndpoint,r]
                elsif(node.name == "TaxonomicName" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("TaxonomicName" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.TaxonomicName]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasTaxonomicName,r]
                elsif(node.name == "TestCategory" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("TestCategory" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.TestCategory]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasTestCategory,r]
                elsif(node.name == "TestObject" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("TestObject" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.TestObject]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasTestObject,r]
                elsif(node.name == "TissueCultured" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("TissueCultured" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.TissueCultured]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasTissueCultured,r]
                elsif(node.name == "VernacularTitle" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("VernacularTitle" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.VernacularTitle]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasVernacularTitle,r]
                elsif(node.name == "Year" && node.node_type == 1)
                  node.read

                   r = @emic["emic_#{Digest::MD5.hexdigest("Year" + node.value + @doc.to_s)}"]
                  @graph << [r,RDF.type,@emic_resource.Year]
                  @graph << [r,RDF.value,RDF::Literal.new("\"#{CGI.escape(node.value)}\"")]
                  @graph << [@doc,@emic_resource.hasYear,r]

                elsif(node.name == "DOC" && node.node_type != 1)
                @graph.each_statement do |statement|
                    @output.puts statement.to_s
                end
                @graph.clear
            end
        end
    end

end

Emic.new(ARGV).run

redpajama_set_name: RedPajamaGithub


The Wellington/Knoll Mill complex was a huge site, but the majority of site was demolished early in 2010 and a Tesco store built; this opened in December 2010. Much of the historical features of the site which Tesco promised to preserve have gone, for some reason one original mill building remained on the site. Wellington Mill had been up for sale for the last year and has just been recently bought by a local business man.
Wellington Mills in Greenfield, Saddleworth was built in 1852 for Shaw, Son and Lees cotton Spinners who traded until 1858 and were the succeeded by N Broadbent and Sons until 1932 after which the buildings were left unused for 6 years. 1938 saw part of the buildings used as a general engineering works and in 1941 the rest of the premises were opened up with the installation of 362 looms by the fabric weaver B. Kershaw.
In the years up to 1946 the engineering section of the mill produced engine parts for bombers after which it became first a naval store and then a store for the British Wool Board. In 1946 the buildings and land were purchased by William Oddy who transferred their woolen carding and mule spinning operations form Shipley to the mill. This was the birth of the Knoll Spinning Company.
Last week a public meeting was arranged to discuss ideas for a mill refurbishment in Greenfield. The building has been unused for some time and it has now been acquired by new owners who live locally, and it is their intention to completely refurbish the mill to accommodate uses that are compatible with the area, in particularly taking advantage of the location next to the new Tesco store. The mill has been renamed New Knoll to retain part of the original mill name and to mark a new point in the mill's development history.
At this stage they have no firm ideas as to what the likely uses are to be but would envisage splitting the building into units, large and small, to provide rental units servicing a mixed set of local requirements. They envisage that craft, retail uses, office accommodation, personal and professional services and health related uses but are open to suggestions.


text:
«Із саду — дві стежини» — книга Тетяни Череп, що містить однойменну художньо-документальну повість та етюди. Вийшла друком у лютому 2012 у видавництві «ДІЯ».

Редактор книги — Дмитро Головко, художник Микола Стратілат, передмова Юрія Пероганича.

2 березня 2012 презентація книжок «Із саду — дві стежини» та «Берег любові» відбулася у будинку Національної спілки письменників України.

8 червня 2012 за книги «Берег любові», «Із саду — дві стежини» номінована на здобуття Чернігівської обласної літературної премії імені М. Коцюбинського у номінації «Поезія».

Вихідні дані
Із саду — дві стежини: художньо-документальна повість, етюди / Тетяна Череп; передмова Юрія Пероганича. Редактор Дмитро Головко, художник Микола Стратілат. — Київ: ДІЯ, 2012. — 64 сторінки, ілюстрації, тираж 1000 примірників, ISBN 966-7665-81-X

Книга включена до фондів:
 Національної бібліотеки України імені В. І. Вернадського за номером АО270067, а також включена до репозитарію електронних версій книг цієї бібліотеки.
 Бібліотеки Конгресу США, LCCN 2012408492

Відгуки в медіа
 ЛітАкцент, Книга дня 23 лютого 2012
 Євген Букет: Творчий діамант зі Старої Басані / «Слово Просвіти» № 11 (648), 15—21 березня 2012, стор. 13.
 Віктор Задворнов: На березі любові / «Робітниче слово», №23 (10799) 23–29 червня 2012, сторінка 6.
 Максим Стріха: У тональності сповіді / «Слово Просвіти» ч. 32 (669), 9—15 серпня 2012, сторінка 13.

Примітки

Посилання
 Із саду — дві стежини

Повісті 2012
Твори Тетяни Череп-Пероганич
Українські повісті

redpajama_set_name: RedPajamaWikipedia


Please do yourself a favor and stay far away from Western restaurant chains dotting the city. Delhi is home to people from all over the Indian subcontinent which has translated into every regional flavor imaginable, readily available on street food stands and in a veritable plethora of restaurants. Old Delhi is especially famous for its street food, converging around the Chandni Chowk and Chawri Bazaar areas, which offer various kinds of chaat or spicy snacks. To help you figure out the maze of Deli street food, there are special walking tours around this district, which explain it all and let you try a variety of dishes: that way you'll find out what you really like and how hot you can go! As a result, you'll likely bring some new flavors into your own kitchen, I bet. One of my favorites are the humble paneer (Indian version of hard cottage cheese) and spinach parathas, or Indian flat breads.
Delhi is the "curry" (a British umbrella term for subtle dish varieties they couldn't grasp) lover's paradise due to the variety of regional Indian and Asian cuisines available locally. It is impossible to go over any decent number of dishes, but to make it easier to choose what to try, there are two basic kinds: the heavier, creamy ones, usually full of oil and coconut milk like South Indian Kerala dishes, and lighter varieties, vegetable or dahl based. The best guide here is your own very nose! If you don't like it too hot, try the milder Kashmiri cuisine. Vegans will unfortunately have to avoid anything with paneer (widely used in Punjabi dishes), and the many dairy based sweets, as well as mango lassis and the famous local ice-cream, kulfi. Lots of fried snacks are made using ghee or clarified butter, which can also feature in sweet syrups, on which more below. There are however several vegan restaurants around the city, but street snacks could be a little tricky to navigate.
Admittedly, one of my favorite deserts of all time, the irrepressible Gulab jamun, deserve their own paragraph. You'll find them at any halwais or sweet-merchants stall. Someone incredibly naughty and a little ruthless must have first come up with these mouth-watering temptations, the history of which apparently has mysterious roots somewhere in the Ottoman Empire: round balls made out of dough with a high content of condensed milk, deep fried until golden and then submerged in sweet syrup with a dash of rosewater and cardamom. Served hot or cold, they are unbelievably delicious and highly addictive, either way. Try not to have too many, or you'll be stuck wearing spacious saris till the end of time!
Patricia Bieszk+ is a freelance writer who tries (usually in vain) to stop at two gulab jamuns at a time.
Hmm…a yum post, indeed. Now who'd want to walk into those chain-outlets.
We once had lunch at the Andhra Bhavan and it was really good.
Yes… my favorites…been to Andhra Bhavan when I used to live in Delhi… the food there is absolutely yummy.


text:
Q: When I run I get an InvalidOperationException when I try to write out the XML file I have a parent class PartNumber and two child classes PartNumberChild1 and PartNumberChild2.  In my main a create a PartNumberContainer and added two child one objects and two child 2 objects, I would like to store the different child classes in the list of PartNumber in the PartNumberContainer class and the write and read the PartNumberContainer in XML.
When I run I get an InvalidOperationException when I try to write out the XML file.
[Serializable]
[XmlInclude(typeof(PartNumberChild1))]
[XmlInclude(typeof(PartNumberChild2))]
public class PartNumber
{
  private string partNumber = "";
  public abstract ClassType;

  public PartNumber()
  {
  }
  public PartNumber(string partNod)
  {
    partNumber = partNo;
  }
  public string PartNumber
  {
    get { return partNumber; }
    set { partNumber = value; }
  }
}

[Serializable]
Public class PartNumberChild1 : PartNumber
{
  private string subPartNumber;
  private string classType = "Child1";

  public PartNumberChild1(string partNo, string subPartNo)
  :base(partNo)
  {
    subPartNumber = subPartNo;
  }

  public PartNumberChild1()
  {
  }

  public string SubPartNumber
  {
    get { return subPartNumber; }
    set { subPartNumber = value; }
  }
  public string ClassType
  {
    get { return classType; }
    set { classType = value; }
  }

}

[Serializable]
Public class PartNumberChild2 : PartNumber
{
  private string subPartNumber;
  private string classType = "Child2";

  public PartNumberChild1(string partNo, string subPartNo)
  :base(partNo)
  {
    subPartNumber = subPartNo;
  }

  public PartNumberChild2()
  {
  }

  public string SubPartNumber
 {
    get { return subPartNumber; }
    set { subPartNumber = value; }
 }

 public string ClassType
 {
    get { return classType; }
    set { classType = value; }
 }

}

[Serializable]
public class PartNumberContainer
{

  public static string PART_NUMBER_FILENAME_NAME = " Part_Numbers.xml";
  private List<PartNumber> partNumbers;
  public PartNumberContainer()
  {
    partNumbers = new List<PartNumber>();
  }
  public List<PartNumber> PartNumbers
  {
    get { return partNumbers; }
    set { partNumbers = value; }
  }
  public void AddPartNumber(PartNumber partNo)
  {
    partNumbers.Add(partNo);
  }
  public void AddPartNumber(string partNo)
  {
    partNumbers.Add(new PartNumber(partNo));
  }

  public void WriteMeToFile()
   {
    try
    {

I get the Error on this line.
      XmlSerializer x = new XmlSerializer(this.GetType());
      StreamWriter writer = new StreamWriter(PART_NUMBER_FILENAME_NAME);
        writer.Flush();
        x.Serialize(writer, this);

        writer.Close();
    }
    catch (IOException)
    {
       MessageBox.Show("Exception", "Error Message",       MessageBoxButton.OK, MessageBoxImage.Warning);
    }
}

public static PartNumberContainer ReadMeFromFile()
{
  PartNumberContainer fileData = new PartNumberContainer();
  object myObj = fileData;
  try
  {
    XMLFileReaderWriter.ReadConfigurationFile(ref myObj, GetConfigurationFileFolderPath(), PART_NUMBER_FILENAME_NAME);
  try
  {
      XmlSerializer x = new XmlSerializer(myObj.GetType());
      StreamReader reader = new StreamReader(PART_NUMBER_FILENAME_NAME);
      myProperties = x.Deserialize(reader);
  }
  catch
  {
       MessageBox.Show("Exception", "Error Message", MessageBoxButton.OK, MessageBoxImage.Warning);
  }

    fileData = (PartNumberContainer)myObj;
  }
  catch
  {  // Error reading file
    MessageBox.Show(err, "Error Message", MessageBoxButton.OK, MessageBoxImage.Warning);
  }
  return fileData;

}

public MainWindow()
{
public static PartNumberContainer myPartNoContainer = new UUTPartNumberContainer();
  myPartNoContainer.AddPartNumber(new PartNumberChild1("onePartNo","OneSubPartNo"));
  myPartNoContainer.AddPartNumber(new PartNumberChild1("twoPartNo","twoSubPartNo"));
  myPartNoContainer.AddPartNumber(new PartNumberChild2("onePartNo","OneSubPartNo"));
  myPartNoContainer.AddPartNumber(new PartNumberChild2("twoPartNo","twoSubPartNo"));
  myPartNoContainer.WriteMeToFile();

 PartNumberContainer myPartNoContainerRead = PartNumberContainer.ReadMeFromFile();
 Foreach(PartNumber partNo in myPartNoContainerRead. PartNumbers)
{
  WriteLine(string.format("The Part No = {0}, The subPartNumber = {1},

the  ClassType = {2} ",partNo.PartNumber, partNo. SubPartNumber , partNo. ClassType )
}

A: What I had to do was make both child classes public -- public class PartNumberChild2 : PartNumber and I had to add the constructor public PartNumberChild2() { }

redpajama_set_name: RedPajamaStackExchange


Summer is just around the corner, and office workers are starting to don their lighter "cool biz" clothing in order to beat the heat. Japanese gadget-maker Cube Works has rolled out a series of cute little fans to help you stay chilled.
This summer, cute animal gizmos(S) will make(V) 'cool biz'(O) even coller(C).


text:
Q: Slow for no apparent reason Ubuntu is becoming slow for no apparent reason. I'd like some help with analysing and fixing this issue.
Usually when a system slows down, that's because the software is using too much system resources, but my CPU and RAM usage usually doesn't even reach 40%. Still, the system starts slowing down and applications stop responding more frequently. I've also experienced complete system freezes, a few times.
Another reason can often be that the hardware is simply getting old, but that can't possibly be the case, as this computer is not even half a year old yet.
Ubuntu 12.04 AMD64, fresh installation. I am using the nvidia-current drivers.

System specifications

*

*Processor: AMD FX-6100 6-core 3.3 GHz

*Memory: Corsair 8 GB DDR3-1600 Kit 8GB DDR3 RAM

*Storage: Seagate ST2000DM001 2TB 7200RPM HDD

*Motherboard: ASUS M5A88-V EVO

*Graphic card: MSI N430GT-MD1GD3 (NVIDIA GT430, 1GB video memory)

Sensors
robin@RobinJ:~$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:      +0.94 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:      +3.28 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:        +5.10 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:      +11.88 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:      468 RPM  (min =  600 RPM)
CHASSIS FAN Speed:  865 RPM  (min =  600 RPM)
POWER FAN Speed:   1041 RPM  (min =  600 RPM)
CPU Temperature:    +34.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:     +30.0°C  (high = +45.0°C, crit = +75.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +19.2°C  (high = +70.0°C)
                       (crit = +70.0°C, hyst = +67.0°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:       49.44 W  (crit =  95.01 W)

If you need more information, just ask for it.

Thanks for the help, people, but Ubuntu crashed on me yesterday, and I see little reason to try and repair it, as it's more trouble than it's worth in my opinion. Installing a new distro (probably not Ubuntu, I've had it with bugs and slowness for the time being) will fix this problem too, so I'm going to close this question. Thanks again for the help.

A: OK, so I don't know what the particular problem here might be, but here is a very basic approach that I usually take in such a case. Forgive me if you think it is too simplistic.
I usually open a terminal window and type
`top`

This is a terminal (ncurses) based program with a not very intuitive interface; there are more elaborate graphic alternatives, but I prefer this, because in itself it takes next to no resources.

By default, the list is ordered by CPU usage. However, pressing SHIFT-M sorts the list by memory usage.
I keep this window opened, either on a second monitor or resized to take 1/5 of the screen and "always on top". I start working normally, and watch the window. After a while it becomes apparent what are the main problems.
For memory, google-chrome is often one of the culprits (I'm one of these who open pathologically many tabs). For disk usage, watch for anything with "io" in the name. Do that, and post the results. Preferably at times when you would expect the OS to run smoothly (ie not while watching a movie).

A: First I would disconnect the PC-Power supply because it can damage the Computer and I would replace with another old PC-Power supply that is completely sure it works, not a new one. Otherwise I would try to test Volts at the PC-Power supply. Second I would perform a memory test, it seems that you have to leave it a whole night, I am not sure. Third I would disconnect everything from the motherboard, except the processor and the memory, if necessary I would replace by old hardware that is correctly working. I would neither use network nor DVD-ROM, and I would test if system is still freezing. I would probably try to test during half an hour the hard-disk
If there is not a hardware issue the I would use the gnome-system-monitor to test: Time of CPU & writable memory of the most time-loaded processes to see if this information matches what I am really running on the PC. I would probably try to disable as much as starting processes that I could. I would inspect drivers versions, I would try to reinstall them, I would disable any kind of tools that can be loaded for modem or printers. Probably I would try to re-install Ubuntu in a separate partition with a text-installation, or I would load in a safe mode to test, I would also load a tty console without X-Window to test, from the recovery boot.
Finally I would ask about how to define the run levels at sysv-rc-conf, which seems to be a good tool to configure services.
2 part
AMD proccessors are not as quicker as expected, they are much hottest than expected, except a very few of them, which follow the standard architecture as the classical Phenom II x4 or Athlon II x 4. Your processor is a very modern one which is really not enough tested, and which is supposed to need a later implementation by software. Your proccessor has got 6 cores but each two pair of cores share the floating point unit and all the 6 cores share the same L3 cache.
All this info is very confusing for everybody what you can do is to test from Windows OS with http://www.cpubenchmark.net/ This is the best site to test hardware, specially you may compare with itself from other computers also than with Intel i5 2500k, for example. You must download a windows program to test your computer.
You can also test with inxi -v 1 if your NVIDIA Driver Version is the same that is shown at /usr/bin/nvidia-settings, that you should have installed. You should try to use the nvidia driver from nvidia web site, for example for a GeForce GTX 550 the driver is called NVIDIA-Linux-x86_64-295.59.run.
I normally build my computers from components, I do not buy a whole computer. You may ask your dealer to open the PC case and just see if the LM317 chipset (or similar voltage regulator at the power supply), seems a little bit burned. If so it should have its thermal silicone (between this chipset and its cooler) brown.
3 part
I should boot with the recovery mode, load to the Network, back again recover the broken packages, delete whatever has been installed and its not necessary,
How can I install Linux Kernel 3.0 in 11.04?
v3.0-oneiric mainline tree.
To try a newer kernel download the following .deb files from the [v3.0-oneiric mainline tree][2].

    headers_i386.deb or headers.amd64.deb depending if you are using 32bit or 64bit
    headers_all.deb
    image_i386.deb or image_amd64.deb depending if you are using 32bit or 64bit

Install via

cd ~/Downloads
sudo dpkg -i *.deb
sudo update-grub

4 Part
srs@ubuntu:~$ sudo apt-get install boot-repair

I could not believe that you where in an irrecoverable trouble, as far as I am just beginning in this forum and I see you have got a lot of reputation.
I have tried to understand Linux several years ago, and I could not. I was using an old computer for it. I did not know that Ubuntu at my old computer use to crash because the memory was damaged.
One day I decided to build a new one with a Intel i5 2500k and medium-cost components and cards. I installed 5 distros, during the last 3 months Debian 6 has crashed once while running sensors-detect.
Good luck


The MYP provides a framework of curriculum and academic challenge that encourages students to embrace and understand the connections between their studies and the real world, and become critical and reflective thinkers.
The driving force behind all IB programmes is a deeply held philosophy about the nature of international education. This philosophy is reflected firstly in the IB mission statement, which expresses the IB's overall purpose as an organisation, promoting and developing programmes of international education.
Secondly, the IB has made a statement of its beliefs and values as defined by the outcomes of student learning in IB World Schools. This is characterized through a learner profile that encompasses the aims of the curriculum. Students are provided with opportunities to develop the following values of the IB Learner Profile.
Click here to learn more about the MYP.
Assessment tasks, strategies and tools are designed, developed and applied by teachers working with MYP students in their individual schools. The IB believes that teachers are best placed to assess students' work and the assessment model supports the professional judgment of the teacher in deciding the levels of achievements of individual students.
The MYP offers a criterion-related model of assessment, so students around the world are measured against pre-specified criteria for each subject group. Teachers modify these criteria to be age-appropriate in the earlier years of the programme.
MYP units of work can be subject-based or interdisciplinary in nature. Developing interdisciplinary units of work can draw together elements of different subject areas to support a deeper exploration of subject content. These units are planned by teams of teachers working in collaboration, guided by a common planning document.
The MYP programme consists of eight subject groups integrated through global contexts that provide a framework for learning within and across the subjects.
Students are required to study two languages, usually their mother tongue and a second language, humanities, sciences, mathematics, arts, physical education and design. In the final year of the programme, students also engage in a personal project, which allows them to demonstrate the understandings and skills they have developed throughout the programme.
The programme model of the MYP places the learner at its centre. This underscores the IB's belief in educating the whole person, and placing importance on student inquiry. MYP students are making the transition from early puberty to mid-adolescence, which is a crucial period of personal, social and intellectual development, of uncertainty and questioning. The MYP is designed to guide students in their search for a sense of place in their natural and social environments.
Do all students in Grades 6-10 at ISPP follow the MYP?
Yes. The MYP is intended to be an inclusive programme that has something to offer everyone.
What are the ATL Skills?
ATL stands for Approaches to Learning. It is a different way of teaching and learning and focuses on students' ability to grow and develop life long skills that are important in an ever changing environment. They provide a structured way for students to demonstrate meaning, knowledge and understanding of subjects through a meaningful assessment model.
ATL skills are explicitly taught to students at various stages within in units of work, preparing students and equipping them with the skills they need for independent learning. It is a continuous process throughout each year of the programme and aims to prepare MYP students for the Diploma Programme and beyond.
What is the status of the MYP certificate as a school-leaving certificate?
The MYP was not developed in order to lead to a "school-leaving certificate", but to provide the student with good preparation for further studies (IB Diploma Programme or other) and to develop lifelong learning skills and dispositions. The MYP certificate represents global achievement within an MYP curriculum framework, and takes into account academic as well as non-academic aspects (personal project and community and service activities). Students who obtain the MYP certificate are well prepared for independent study and the rigor of the Diploma Programme.
What are the MYP assessment criteria?
Currently, there is no external assessment in the MYP, so there are no externally set or externally marked examinations. All assessment is carried out by teachers and relies on their professional expertise in making qualitative and quantitative judgments. Each subject has specific summative assessment criteria that students are familiar with and against which students must be assessed.
What is the MYP Personal Project?
The personal project has a central place in the MYP, and as such is part of every student's experience. The personal project is the culminating activity through which students present, in a truly personal way, their understanding of themes, concepts and issues related to the Global Contexts. At ISPP, students have an opportunity to choose a project that allows them to explore a topic of interest to them, and to present it in a way that reflects their learning style.
It is a certificated component of the MYP programme and in many ways is an opportunity for students to demonstrate and communicate their own understanding of the MYP programme.


Not getting the support you need? We're ready to fix that.
The plan is simple: better customer service means happier customers. Bernard has the experience and scalability to handle your customer care centers. We can also help reduce, manage cue volume, and continually support you with 99.9% uptime.
* This is an estimate, not a quote. To speak with someone in detail, please fill out the contact form and we will contact you soon.
What does 90 days with Bernard mean?
A Bernard specialist will be in touch to discuss and shape a proposal to meet your needs - submit the form and let's talk.


This photo of Jordan from The Xcerts was taken at the band's Fightstar support show in London. The band were main support for the entire tour and this was the final date. The band have now headed off to Long Island where they are to record their second record with Mike Sapone who has produced all of Brand New's records to date.
When trying to enter the photo pit for Fightstar's performance I was told it was "too full"! Definitely one of the strangest comments I have heard from a bouncer at a club show so I did not shoot the band. I have understood it if we were at Glastonbury festival!


NSW lost to the Brumbies in Canberra last weekend.
Keep checking in for all the latest Super Rugby round six team news.
Stormers coach Robbie Felck has made three changes to take on the Hurricanes.
The Melbourne Rebels will take to the field against the Sharks with somewhat of a new-look team after the resting of players under the Wallabies rotation policy.
That means Jack Maddocks will move to fullback, and coach Dave Wessels sang the praises of his new No.15 while also pushing the claims of new outside centre Sione Tuipulotu.
Joining Tuipulotu in the match day 23 this week is fellow Victorian Pone Fa'amausili, off-season recruit Campbell Magnay and scrumhalf Harrison Goddard.
The Rebels will be looking to bounce back from a close loss to the Lions in Johannesburg last week against a Sharks team that is coming off the bye.


text:
She did urge all the those trying to curb the opioid problems to at least explore it as an option. There is evidence is that exchange programs work, but everyone needs to be united to help it succeed, she said.
"We have to make sure that all of the key stakeholders are on board," she said, "meaning law enforcement, the criminal justice system, the health and hospital (services), mental health, AIDS services organizations -- all of the social services organizations and the faith-based organizations who provide social services are all at the table and all have a mutual agreement of this is the way we should move forward.
"Even if they're not ready to have the full conversation around syringe exchange programs, some of the conversations have to start small."
Lawrence is the associate director for the Rural Center for AIDS/STD Prevention at the Indiana University School of Public Health. She also did lots of work in Scott County after the much-publicized HIV outbreak there in 2015.
The AIDS Resource Group's event is scheduled for Oct. 20 at 6 p.m in the Browning Room of Central Library. The program is being paid for through a grant the AIDS Resource Group got from the National Viral Hepatitis Roundtable earlier this year.
The Evansville group's executive director, Sarah Miller, lauded Lawrence's work and knowledge.
"She's an important person in the field of harm reduction. She has spoken across the state and in counties that are working to implement them or have recently implemented them," Miller said.
After years of the area seemingly dodging the reemergence of heroin, six people died from heroin deaths in Evansville last year. That number has already about tripled in 2016, according to the Vanderburgh County Coroner's Office.
Chief Deputy Coroner Steve Lockyear is also scheduled to speak at the forum. Lockyear said his office has worked 19 confirmed heroin and/or fentanyl overdose deaths so far this year.
For Vanderburgh County to implement an exchange program, the county health officer would need to declare an epidemic and the three-member county commission would need to ask the Department of Health for approval to start an exchange. Health commissioner Dr. Jerome Adams then would decide whether to declare a public health emergency.
In addition to deaths, increased injected opiate use often leads to a spike in Hepatitis C and HIV, Lawrence said.
She said officials and others working to combat the current opioid problems are trying to put a "lid on a pot that has been boiling over for awhile." She said
Sometimes, Lawrence said, exchange programs help addicts take a first step to get help either with the addiction itself or the associated health problems. She talked about how drug users are often "highly stigmatized," and said that any reduction strategy needs to make it easier for people to get the assistance they need.
"We're now at a peak where it is time to re-engage these individuals back into the community, link them into services and hopefully get the message out there that we are in an opiate crisis," Lawrence said. "It's not just here it's everywhere. It's been bubbling in Indiana for a long time. It's sad that an HIV outbreak had (to happen) for it to be on the front burner."

redpajama_set_name: RedPajamaCommonCrawl


Rolling forecasts are a method for continuous planning. Unlike budgets or "revised forecasts", rolling forecasts look beyond the current financial year.
Rolling forecasts contain a minimum of 12 forecast periods but can include 18, 24 or 36 or more. Each time the model is "rolled" forward and updated with a period of actual results, the forecast is extended to maintain the required number of forecast periods.
A rolling forecast that includes 6 periods of actual results will contain 6 periods of forecast data into the next financial year.
An 18 period rolling forecast that includes 3 periods of actual results will contain 9 periods of forecast data into the next financial year.
Rolling forecasts eliminate the annual budget process because the forecast data for future periods becomes the new budget at the year end. Properly maintained rolling forecasts increase visibility and result certainty for owners and lenders.
In Visual Cash Focus the rolling forecast process starts with the annual budget. The budget model is then saved as a new name, rolled forward one period and updated with the first period's actual results.
After each periods reporting is complete the model is saved as another name enabling the rolling forecast to be revised multiple times to include new information or what if scenarios.


text:
Q: Parse Nested XML Attributes with Linq I am new to XML, I need to parse this part of a .XML page:
<TEAMDATA>
<Team TriCode="BOU" ShortName="Bournemouth" LongName="AFC Bournemouth" OfficialName="AFC Bournemouth" ID="t91" Manager="Manager" Venue="Vitality Stadium"/>
<Team TriCode="ARS" ShortName="Arsenal" LongName="Arsenal" OfficialName="Arsenal" ID="t3" Manager="Manager" Venue="Emirates Stadium"/>
<Team TriCode="AVL" ShortName="Aston Villa" LongName="Aston Villa" OfficialName="Aston Villa" ID="t7" Manager="Caretaker Manager" Venue="Villa Park"/>
<Team TriCode="BUR" ShortName="Burnley" LongName="Burnley" OfficialName="Burnley" ID="t90" Manager="Manager" Venue="Turf Moor"/>

My idea is to have the tricode, shortname and logname  for each team printed, ex.:
BOU Bournemouth AFC Bournemouth
ARS Arsenal AFC Bournemouth
...

This is the code I have:
static void Main(string[] args)
    {
        string strURL = "http://MyURL.xml";
        XDocument xDoc;
        string title = "";

        xDoc = XDocument.Load(strURL);
        var TeamID = from r in xDoc.Descendants("TEAMDATA")

                     select new
                     {

                         TriCode = r.Attribute("TriCode").Value,
                         ShortName = r.Element("ShortName").Value,
                         LongName = r.Element("LongName").Value,
                     };

        foreach (var r in TeamID)
        {
            Console.WriteLine(r.TriCode + r.ShortName + r.LongName);
        }
    }

Until now I receive the

NullReferenceException exception

after the select new clause. What do I need to parse those lines?

A: This should work
 from r in xDoc.Descendants("Team")
                 select new
                 {

                     TriCode = r.Attribute("TriCode").Value,
                     ShortName = r.Attribute("ShortName").Value,
                     LongName = r.Attribute("LongName").Value,
                 };

What is wrong with your code?
xDoc.Descendants("TEAMDATA") returns all those descendants with element name TEAMDATA and that element doesn't have any of the attributes you are looking for.
r.Element("ShortName").Value this must be a typo. What you want was attribute value, but not element itself.


Learning 4 All provides professional learning services for staff working in mainstream schools, special units, special classes, special schools, community education settings, and the broader community.
In additional to an extensive professional learning calendar (www.learning4all.com.au) we provide workshops and information sessions that are designed to meet the specific needs of educational settings.
We are constantly updating the sessions that we offer to meet the needs of the changing education environment, and welcome requests for sessions that are currently not in our current suite.
All shorter sessions can be delivered in isolation, or compiled to create full day workshops.
Click HERE for a copy of the flier for more information.


These brightly coloured tubes containing bells rotate and jingle when slightly touched. Mounted on a wooden frame, it is an excellent wooden toy for children with special needs and those with sensory needs. L 33cm x H 24cm.


MPCF Irvine was planted in July, 2006 by Rich Mathisrud, Sr. Pastor of MPCF in Orange, CA. He was given a vision to plant 20 churches in 20 years. MPCF Irvine represents the seventh church plant of the eight that Pastor Rich has accomplished.
The Main Place Christian Fellowship Church in Irvine is a diverse body of believers whose goal is to live our lives to become more like Jesus Christ, to support and encourage each other in our spiritual walk and to reach out to the community around us and share the gospel of Jesus Christ with those who do not know Him as their personal Lord and Savior.
Each person adds something valuable to who we are. The building is not the church – the people are the church. In our worship services and Bible studies, you can expect to hear God's truths taught from His Word.
We will allow God to provide a spiritually nurturing environment in which all people will feel free to worship and grow closer in their relationship with Jesus Christ. Praying without ceasing that God will create a body of believers who will strive to live their lives through the Great Commandment and Great Commission to all and establish their lives in submission to the leading of the Holy Spirit.


Free Holland chat, latest topics discussed: Favorite Season??
Meeting singles from The Netherlands has never been easier.
Online dating for single men and single women has become increasingly popular throughout the world.Fortunately, when you utilize the search features on the dating sites, you can narrow down the pool of eligible singles.You can search for people based on a few different sets of criteria, such as: And so much more.» more John & Christie: «It still gets better every day! We have never imagined dating online could be this great and lead to a long-lasting relationship.But now I have someone care about me and look out for my well being as much as I do for her — this is much more than we both hoped for!


text:
Delays over Khalsa free school legal battle leave founders in limbo
Nicky Phillips
A delayed landmark decision has left a free school in limbo over its future.
Khalsa Secondary Academy opened in a former office on greenbelt land in the wealthy village of Stoke Poges, South Buckinghamshire, in September 2013.
It was granted a temporary planning application for 12 months while a full planning application was lodged.
In the face of a fierce campaign by locals, the application was refused by Stoke Poges parish council and then the district council, prompting a planning inquiry.
Despite an independent inspectorate upholding the council's decision due to "severe noise impact", Eric Pickles (pictured) – then secretary of state for the department of communities and local government (DCLG) – overturned the findings and gave the school the go-ahead.
Both councils launched a high court challenge and Mr Pickles – days before the hearing was due – made a dramatic U-turn, saying his decision was "ill and misinformed".
Campaigners were told they would receive an official redetermination notice by Monday last week.
But Mr Pickles has since been replaced by Greg Clark, and councillors were told last week the decision has been pushed back.
A DCLG spokesperson told Schools Week that ministers were still considering the redetermination notice and hoped to make a decision "as soon as possible".
It is set to be a landmark ruling for the government's free school programme and could mean another high court challenge if the school is granted permission to stay at the site.
Christine Bayliss, a former civil servant who set up free schools, said she would be surprised if the government didn't stick to its guns.
But she said if the refusal was upheld, the school would be allowed to stay on the current site for the foreseeable future until it found a new home.
Schools Week revealed in July that the opening of more than 50 free schools has been postponed, many because of problems securing land.
More than half the delayed schools are in London where land is scarce and expensive.
The problems mean scores are in temporary sites while work goes on to secure them permanent homes.
Khalsa's temporary planning application for the Stoke Poges site ran out in July last year, but no enforcement action has been taken while the legal battle rumbles on.
However, if the campaigners' opposition is upheld in the courts, more councils could be encouraged to fight free schools that they oppose.
Ms Bayliss added: "They [the government] would be wary of setting a precedent and bowing to nimbyism, bearing in mind the cast iron guarantee of 500 more free schools."
Nick Kandola, chair of trustees of academy sponsor the Slough Sikh Education Trust, said parents and pupils were happy with the school site.
"We are obviously disappointed that there is a delay in the planning permission . . . and hope that a positive decision will be made as soon as possible," he said.
But campaigners have expressed their commitment to keep fighting.
Saera Carter, vice chairman of Stoke Poges Parish Council, said: "We'll ask the residents of Stoke Poges, and if they want us to go back to court then we will."
R Cook 18 September 2015
Nimbyism Ms Bayliss?If you look at the history of this farce you'd quickly realise that it Slough Council that didn't want this school – they wanted a football stadium. It's Slough Council that the nimbyism should be aimed at, not the local community that never asked for, was never properly consulted on, and never required this school.
Andrew Chrsytal 18 September 2015
It a scandal, the schools should never hVE been allowed, and i've just read their Ofsted report and is terrible, If you use Google earth to view the site you can see why the villagers are upset, and why put a school there rather than is slough which seems to have spare sites, better road links and a larger population of sikhs.


People were wondering where Dora's cat was hiding. My guess is under the couch until he figured out that Marten is not a threat (hah, the idea of Marten being a threat to anything is amusing). The cat's name, by the by, is Miéville, after one of my favorite authors.
My ear is doing a lot better today! I'll spare you the gory details, so let's just say that the doctor did a wonderful job of getting things cleaned up in there, and gave me some antibiotic eardrops that should prevent the infection from returning. Hooray for not being in excruciating pain anymore!
That's it for now. I am going on a little trip this week so I have to finish a few more strips tonight before I leave. Tomorrow's comic? SAUCY!


text:
Tag Archives: four horsemen llc
Figura Obscura – Krampus
Oh shit, look who showed up for Christmas!
Over the years, I've acquired quite a few action figures designed by the good people over at Four Horsemen LLC. They've been designing figures for companies for awhile now. My first exposure to the company was via NECA's inaugural line of Teenage Mutant Ninja Turtles based on their appearance in the Mirage Studios comics. Lately, I've been enjoying their work with Super7 as they have designed most (all?) of the figures in that company's Ultimates series of Teenage Mutant Ninja Turtles. The company has become well known as a result in the action figure community, and while sculpting work for other companies is probably satisfying work, 4H always wanted to do its own thing, so it did. The company launched an in-house line of toys called Mythic Legions. As the name implies, most of these characters are taken from myth and given a new design which is then turned into a rather impressive looking piece of plastic. Just how impressive they are I can't say because I've never gotten into the line.
He even comes with a Christmas card!
My exposure to Four Horsemen changed this month, when the company did a surprise drop in a new, subline, of figures called Figura Obscura. And the chosen character to kick things off is the infamous Krampus, the demon of Christmas! Krampus has long been a character associated with Christmas largely in European countries. In the US, he's not particularly well known, but he has seen his profile rise somewhat recently. I knew of the character as a kid, though I don't recall ever seeing him in any pop culture setting until The Venture Brothers included in him in their Christmas special. That was back in 2003 and since then the character has shown up in American Dad! and has had his own movie. In the US, it definitely feels like some companies focus on his appearance and draw from that making him some kind of horror monster when the traditional Krampus is really just someone who punishes bad kids at Christmas. It makes sense that Santa Claus would reward the good and that there would be an entity that punishes the wicked. In many settings, Santa and Krampus are like a team, but over the years that seems to be less the case.
The 4H version of Krampus defined.
Either way, I personally think Krampus is pretty neat and his design (often fawn-like) lends itself well to toys. Obviously, I'm pretty into Christmas and I've always wanted to do more with Christmas action figures and when I saw this Krampus go up for sale on December 5th of this year I pounced. It was a surprise drop that I don't think anyone was aware was coming outside of the people at Four Horsemen. The figure was offered through 4H's Mythic Legions website twice that day, once in the morning and once in the evening. It was smart on their part as it kept the figure from selling out quickly before most people knew it even existed. I personally found out about it in between drops so I was able to grab one in the evening timeslot. It didn't sell out super fast, which was nice, and it was an in-stock sale which is unusual for 4H as they usually follow more of a made-to-order model with their releases. The company must have felt secure that this particular figure would sell out without much issue given the seasonal nature. I also understand there's a lot of parts reuse at play here which obviously reduces costs. Just how much, I can't say, since this my first dip into 4H's catalog.
Pardon my flash.
Krampus arrived about two weeks after I ordered it in resplendent packaging. He comes in a window box made of very thick cardstock that's wrapped with a magnetic, cardboard, outer sleeve. It's well constructed and durable, more durable than a normal box as it's laminated. The front of which has a neat Krampus logo of sorts with a story about him on the rear and the rest is covered in blue and white and it's a snowy scene. When you take it off, the reverse side features the artwork that also adorns the box. It's a snowy setting at night in the wilderness where a lone cottage sits rather perilously on a cliffside. You can use this wrap as a backdrop for your figure which is a really neat idea and should serve me well as I accumulate Christmas figures.
To flash or not to flash? I'll be mixing in photos with and without, to try and present this figure as fairly as possible.
Krampus himself sits in the window box and once removed he has immediate presence on any surface he's placed. He stands about 7″ tall with skin featuring this deep, satin, black, paint that is really rich and cool to look at. He's covered in it too and it's applied cleanly. His head is quite ferocious looking as he has what I consider the traditional Krampus facial expression of an open mouth with a giant tongue flicking out. He's quite angry looking and has two gnarly horns coming off of the back of his head. There's a lot of sculpted fur on and around the head basically forming a mane that runs down the middle of his back. The only clothing he wears is a skirt with a leathery texture to it and some greaves and gauntlets. The armor bits have a nice, worn, metallic, texture with sharp ridges sculpted into them. His feet end in hooves and they're fringed with fur and look terrific. Some assembly is required as he has a tail that needs to peg into his rear. It's a bit of a pain in the ass (pun intended) to insert it as the hole is really tight (I should have bought him dinner first). I had to heat up both ends with hot water to finally get it in and when I was done I was actually surprised to see the sculpted fur on the tail cut into my thumb. Damn!
Gene Simmons wishes he had a tongue like the one on Krampus.
The look of Krampus is going to be this figure's main attraction and 4H did a great job. I think of Krampus being covered in fur, but I like the look of the bare chest here, probably owing to the fact that I love that black paint that's in use. His fingers are clawed, but not dramatically so, and the details on his face are incredible. Each tooth is sculpted individually and the paint is remarkably clean. The only issue I've run into with this figure from a presentation aspect is some paint chipping. To my surprise, it looks like the figure is cast in a white plastic and then painted, because there are some spots where the paint chipped off. Most of which is in the inner thigh by the joint so it's not noticeable when the figure is displayed. There's also a small one near the armor on the left leg that's probably only noticeable when handling the figure. I don't know why the figure wasn't just cast in black plastic and then painted, but I'm ignorant on the costs of figure production when it comes to color choices. Obviously, white can be used for anything and then easily painted over so it could be as simple as that. Other than that one small flaw, I'm pretty pleased with how he turned out.
I guess he kept those kids in his basket too long.
Krampus needs stuff, and if you're familiar with the legend, you know he has some specific needs at that. This figure comes with a set of loose gripping hands attached in the box, and tighter gripping hands he can swap to. The loose hands work fine with his weapon of choice, a bundle of sticks or switches, as they just rest in place. They look pretty awesome and are well-painted as they're wrapped with sculpted tape to hold them together. I don't know if the tighter hands are for anything specific, or just for down the road if you want to give him a weapon from something else, but they won't hold the sticks unless you heat them up to make them more pliable. He has a pair of cuffs that can fit around his wrists and are attached via real chain. The plastic is softer so it's not too difficult to slip them around the wrists, but if you're concerned about breaking them you can also just pop his hands off first.
This is one demon who is going to keep his trusty basket!
Krampus also has his trusty basket. The character is supposed to wear this on his back and some versions of the character toss bad kids in there. It's sculpted to resemble a woven basket and it has some muted green and red accents. The top is removable, and 4H loaded it with other stuff. There's a pair of skulls, one with an articulated jaw and one without, two skeletal hands, and a leather strap. The strap seems to serve no purpose on its own and I was advised by fans of the Mythic Legions line that it's likely included for customizers. If cut and then glued, it could be used as a belt or a shoulder strap for the basket. By default, 4H included a piece of rope with the consistency of hemp. It can be used to string the basket and then hang it off of Krampus. I ran the rope through the included slot on the basket, around each arm of Krampus, and then back through the slit. This made it tight enough to hang just fine, while also leaving room for adjustment without the need of a knot. Krampus, despite being hooved, stands fine on his own and continues to stand well even with a loaded basket on his back. The last accessory 4H included is a loop of red thread with some miniature bells strung on it. You can drape this over the head of Krampus, put them on the basket, around his waist, or even through his teeth! And they really jingle, plus the red thread adds a dash of color and is a really nice touch.
Oh you silly boy!
With all of that stuff in the box, you may be wondering how Krampus moves around. I was rather curious, myself, as I've wondered what 4H's approach to articulation was. With the figures the company does for Super7, there are certain joints some consider standard that Super7 disagrees on. Namely, double joints at the knees and elbows. 4H might share the same philosophy as Krampus has single hinges at both places with swivels, but he does do something many Super7 figures don't and that's include a ball-joint at the waist. This gives the figure the twisting motion many want while also providing for some forward and back and a little tilt. And it's well-engineered, as those who got the recently released Casey Jones from Super7 were treated to such a joint, but it turned out rather unsightly as the figure doesn't sit deep enough on the ball-peg. Aside from that, Krampus is fairly typical with a ball joint at the head, ball-hinges at the shoulders, horizontal hinges at the hands, ball-jointed hips, and hinges with rocking action down at the ankles. Lastly, he has a ball-hinge at the tail. The tail is sculpted and rigid, so there's not a lot it can do, but it has enough range to get it out of the way when posing. The amount of fur around the figure's neck limits his head movements a bit, but he can look up and down a little and twist. The ankle rockers are also a little limited, likely owing to the fact that he has hooves, but there's enough to support his weight and give him a wider stance, if desired. The only true shortcoming is the lack of vertically hinged wrists. I would have preferred that to horizontal, if I could only have one, though both would have been preferable. Krampus isn't as dynamic as some figures in my collection, but I find what's there is enough and it at least works well.
Some comparisons. First up, we have a RED Soundwave and a Super7 Leonardo, another 4H design.
Krampus is a pretty wicked design that's going to look good whether you display him with Christmas stuff, monsters, or your Mythic Legions. He poses well enough, and best of all, he can hold his accessories without toppling over. The backdrop is an awesome little bonus too, and the only drawback I have with him is that returning him to his box would be a challenge. I really have no desire to unthread the basket nor do I want to remove that tail to get him back in his bubble. With my seasonal figures, I usually put them away after the holidays, but Krampus will likely find a new home on a shelf somewhere. And that's not really a bad problem to have as this is a figure I want to look at year round. And if my kids start acting up, maybe I should just convince them Krampus operates like that cursed Elf on a Shelf and start moving him every morning. That will probably give them nightmares though, so maybe it's best that I don't.
And here he is with another fantasy character in Drizz't from Hasbro's very short-lived D&D line and a fellow hooved character in NECA's Groundchuck.
If you wish to get a Krampus figure of your very own, well, I'm afraid it's sold out. Four Horsemen made it sound like this is just the first Krampus they're doing, so maybe he comes back next year in another form. If this is the Krampus you need then you're going to have to pony up some extra money on the secondary market or hope someone that got one decides they don't need it. The figure retailed for $50 which is already pricey for a 7″ action figure. While I like it, I definitely wouldn't have much of an appetite to pay much more than that. Good luck if you're in the market. As for the rest of you, hopefully this is the only Krampus that visits your house this Christmas!
Merry Christmas, pal!
Leave a comment	| tags: action figures, christmas, christmas toys, figura obscura, four horsemen llc, krampus, mythic legions	| posted in christmas, toys


Mark and I tripped up to Madison to attend the Spring Slimey Crud Run. The weather was cool, but dry so there was a great turn out. This year we went up on Saturday to see the Vintage Torque Fest in Dubuque (see earlier post). We also found out that the SCG has a movie night on Saturday night. Only in Wisconsin do you have a theater with dedicated motorcycle parking, playing all motorcycle movies, and a bar inside the theater serving Spotted Cow beer.
Click on the pictures to bring up a larger view.
Standard Peter Egan siting surrounded by fans.
It was a great tri. Saw a lot of bikes, met some new people, and we took back roads for most of the trip so the ride home was very good. Stopped in Prarie Du Chien and filled up with gas and New Glarus Beer. Mark learned one of the reasons I ride a GS. It easily holds all you need for a short trip and a case of Wisconsin beer to stock the garage fridge.
Mark and I went to the Vintage Torque Fest at the Dubuque Fairgrounds. We only had a couple of hours to check it out as we were on our way to Madison and the Slimey Crud Run. We definitely could have spent more time there.
The cars and bikes ranged from show cars to rat rods and everything in between, but all cool. Even had a barber shop giving Pompador haircuts. The live bands were playing at 11:00 and dishing up good old rockabilly and rock music. Even had a Pin-Up girl contest and flattrack races. Again definitely worth dedicating some more time next year to see the show.
Just a refresher for everyone as we start to get together and hopefully do some group rides.


text:
Q: WordPress 4.4.1 Broken Shortcodes after updating WordPress to 4.4.1(Hosting provider did automatically,meh!), my ShortCode plugins, for example, YouTube, is broken and printing out the ShortCode only, i.e, [youtube 1233456], where the numbers are the ID of the video. I did some research and this looks to be related to spaces reference here.
Problem is I have like a thousand posts to go back and fix this for. I was thinking of running a preg_replace function the replace the space character, however, am not having much luck. See below. Is there a better way to do this? Here is the function I am trying to fix.
add_shortcode('youtube','youtube_video');

function youtube_video($attr) {
$output = '

';
return $output;
}

I was trying to do something like this, but no luck
function youtube_video($attr) {
$output = '

';

return preg_replace('/\s.*$/', "", $output);
}

A: It could be how you're calling the short code. see https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/. For example, this used to be allowed:

But, now it's not allowed. The problem is the un-escaped double quote which apparently was causing a cross-site scripting vulnerability. Here is how you would fix it:
Example 1:
Example 2:

Either example will work.
Here's another example. This is no longer allowed:

Here's how they suggest doing it:


text:
COP26 Comes to an End, But Our Commitment to a Plant-Based Food System Does Not
by PBFA | Nov 17, 2021 | PBFA News, Policy | 0 comments
COP26, the UN Global Climate Summit, officially came to an end last week. There were many hopeful outcomes from the conference, including the Glasgow Climate Pact. Signed by 200 countries, the pact affirms their mutual commitment to cutting carbon emissions by 45 percent by 2030 in an effort to meet the Paris Agreement's initial goal to limit global temperature rise to 1.5°C (2.7°F) above pre-industrial levels.
Measures to reduce emissions include efforts to "phase down" coal, and more than 100 countries agreed to reduce methane emissions by 30 percent and end deforestation in the next 10 years. Participating countries also agreed to reconvene in 2022 with more ambitious plans to reach these targets and submit annual reports summarizing their commitments. While we applaud these efforts and the commitments made, one issue remained on the table untouched: Food.
Our current global food system is responsible for over 30 percent of greenhouse gas emissions, and sustainable food systems are not evolving at the speed required to adequately address climate change. Current consumption patterns are still heavily skewed toward resource-intensive, animal-based foods, which exacts a massive toll on our planet. Industrial animal agriculture not only drives greenhouse gas emissions, but also places tremendous strain on our planet's land, water, forests, and biodiversity; propagates antibiotic resistance; and increases the risks of foodborne illness and zoonotic disease.
Reducing emissions from our food system is essential to meeting the goals outlined in the Paris Agreement and Glasgow Pact to reduce the rate of global warming. A recent study found that global greenhouse gas emissions from animal-based foods are nearly twice that of plant-based foods. Shifting toward plant-based diets can not only play a role in curtailing emissions, but it can also re-allocate crops to feed people instead of livestock, alleviate growing resource inequities, and eliminate the suffering of animals in factory farms.
Working in connection with the International Plant-Based Foods Working Group, PBFA recently reaffirmed the following recommendations to world leaders to facilitate a shift to a plant-based food system, with the aim of meeting global climate goals:
Supporting farmers in moving towards more sustainable agricultural practices and crops (e.g. plant protein crops) by providing and/or redirecting financial incentives to reduce the quantity of arable land used for animal feed and animal production, instead of utilizing the land for crops for direct human consumption;
Educating citizens about plant-based foods via public campaigns;
Ensuring that labeling requirements for plant-based foods products empower consumers to make more sustainable food choices;
Integrating plant-based foods into public procurement (e.g. making plant-based options available in schools, hospitals, etc.), as well as in national dietary guidelines;
Using economic incentives to facilitate access to plant-based products;
Allocating funds for targeted research and innovation on plant-based foods, and to support diversified climate-friendly crops and plant aquaculture both on land and under the sea; and
Developing food environments where plant-based foods are presented as the sustainable choice (e.g. in retail stores).
Fortunately, efforts to create a more sustainable, equitable, and resilient food system do not end with COP26. PBFA remains committed to working with plant-based food companies, policymakers, our partners, and agricultural and market stakeholders to drive a much-needed shift toward a plant-based food system–for the planet and all its inhabitants.


The Newark centre is situated close to Brownhills Leisure World on the busy Brunel Business Park, located off the A46 Newark bypass which provides easy access to the A1. This offers extensive facilities for meetings. The venue offers high end services for successful execution of your daily business functions. There is a wide variety of services available to support your operations in the best possible ways. The meeting room at the center is at your service for hosting your next meeting or conference.


We all love the Green Bay Packers, but this forum is for discussion anything else NOT about the Pack. Heck, you can even talk about things NON-football in this forum. Discuss anything and everything here.
How many here are local to Wisconsin?


3 gallon plastic container 3 gallon container 3 gallon plastic ice cream containers 3 gallon plastic jugs.
3 gallon plastic container 3 gallon plastic container with lid 3 gallon plastic jars.
3 gallon plastic container 3 gallon clear plastic jar 3 gallon plastic stackable water bottle.
3 gallon plastic container 3 gallon tall free plastic reble water bottle container jug made in read more at the image link 3 gallon plastic bottles 3 gallon plastic jars.
3 gallon plastic container fuel tank cans spare plastic petrol tanks mount motorcycle car gas can gasoline oil 3 gallon plastic water bottles 3 gallon plastic ice cream containers.
3 gallon plastic container 3 gallon plastic stackable water bottle 3 gallon plastic container with lid.
3 gallon plastic container 3 3 gallon plastic ice cream containers 3 gallon plastic water bottles.
3 gallon plastic container 4 gallon square bucket 3 gallon plastic ice cream containers 3 gallon plastic container with lid.
3 gallon plastic container thumbnail thumbnail thumbnail 3 gallon plastic jugs 3 gallon plastic jars.
3 gallon plastic container natural round wide mouth plastic jars bulk pack 1 gallon 3 gallon clear plastic jar 3 gallon plastic container with lid.


UP Board 10th Date Sheet 2018 is released on the official website upmsp.edu.in / upmsp.nic.in in the form pdf document. All the students can easily download the UP Board 10th class exam date sheet 2018 that was uploaded by Uttar Pradesh Madhyamik Shiksha Parishad or High School and Intermediate Education Board. The Uttar Pradesh public examination date notification consists of 10th Class & 12th Class schemes both together. So the students must carefully read the announcement and get the exam time table for each of your subjects.
As per the UP Board high school time table, the x class examination is starting from February and completing on of March 2018. You may not be having enough time to prepare for the examination after looking at this exam schedule. However, you need to concentrate on all your paper list and go for the revisions. You must have covered all the required portions as listed in the 10th class syllabus.
The Uttar Pradesh Board of High School and Intermediate Education (UPMSP) is responsible for the education system on state board schools and conducting annual exams as well. The UP Board used to organise the exams for 10th class in the month of February and March every year. This year the UP Board had released 10th class government examination date sheet in advance and expecting students to go through each subject.
Now it is students' responsibility to refer the below given exam scheme pdf document and study well for getting good score in the March exam 2018. All the regular and private / individual candidates can consider this as the latest and new exam date sheet for class 10th and concentrate on the upcoming final exam.
Looking at the 10th exam scheme of UP Board the exam time will be in two different shifts. The first shift is in the morning from 07:30 AM to 10:45 AM and the second shift would be from 02:00 PM to 05:15 PM in the afternoon. Most of the major subjects are being conducted in the morning shifts.
6th February 2018 Home Science – only for girl students who have opted as a compulsory subject.
The Uttar Pradesh Education Board is providing another chance to the 10th class students to write exam for the failed subjects and get pass mark. However, you need to follow certain procedures like submitting compartment application form before last date with fee and downloading admit card for the supplementary exam. You can visit this page later for checking subject wise supply exam date sheet / scheme online at official web site.


text:
Q: Django REST Framework - pass extra parameter to actions I'm using Django 2.0 and Django REST Framework
I have created an action method to delete particular object from database
contacts/views.py
class ContactViewSet(viewsets.ModelViewSet):
    serializer_class = ContactSerializer
    permission_classes = (IsAuthenticated, AdminAuthenticationPermission,)

    # others actions goes here

    @action(methods=['delete'], detail=False, url_path='delete_phone/<phone_pk>/')
    def delete_phone(self, request, pk=None):
        contact = self.get_object()
        print(contact)
        print(pk)
        print(self.kwargs['phone_pk'])
        return Response({'status': 'success'})

apps/urls.py
router.register(r'contacts', ContactViewSet, 'contacts')

api_urlpatterns = [
    path('', include(router.urls)),
]

But when I access
DELETE: http://url/api/contacts/delete_phone/1/

It gives page not found error.
In the error page, there is listing in tried url patterns
api/ ^contacts/delete_phone/<phone_pk>//$ [name='contacts-delete-phone']
api/ ^contacts/delete_phone/<phone_pk>\.(?P<format>[a-z0-9]+)/?$ [name='contacts-delete-phone']

A: In case you can't/don't want/whatever install drf-nested-routers, you could achieve the same by doing:
@action(detail=True,
        methods=['delete'],
        url_path='contacts/(?P<phone_pk>[^/.]+)')
def delete_phone(self, request, phone_pk, pk=None):
    contact = self.get_object()
    phone = get_object_or_404(contact.phone_qs, pk=phone_pk)
    phone.delete()
    return Response(.., status=status.HTTP_204_NO_CONTENT)

The trick is to put the regex in url_path parameter of the decorator and pass it to the decorated method (avoid using just pk or it will collide with the first pk)
Tested with:
Django==2.0.10
djangorestframework==3.9.0

A: Solved the problem using drf-nested-routers
For those who need it, install the plugin and configure urls.py
from rest_framework_nested import routers

router = routers.SimpleRouter()
router.register(r'contacts', ContactViewSet, 'contacts')
contact_router = routers.NestedSimpleRouter(router, r'contacts', lookup='contact')
contact_router.register(r'phone_number', ContactPhoneNumberViewSet, base_name='contact-phone-numbers')

api_urlpatterns = [
    path('', include(router.urls)),
    path('', include(contact_router.urls))
]

A: Perhaps this has changed since this question was asked, but this works for me in REST Framework 3.13.
@action(methods=['get'], detail=False, url_path='my_action/(?P<my_pk>[^/.]+)')
def my_action(self, request, my_pk=None):
    return Response()

Resulting in the following entry in urlconf
^my_viewset/my_action/(?P<my_pk>[^/.]+)/$ [name='my-viewset-my-action']


text:
More Debauchery >
The Storyboard >
Alexander's Wonderous Transformation
Author Topic: Alexander's Wonderous Transformation (Read 21393 times)
« Reply #40 on: Jun 25, 01, 12:05:41 pm CDT »
"Oops. Sorry fella. You know I am kinda hungry. I just need to start a fire. I wonder if monkey taste like chicken. I guess I'll find out." And then suddenly..........
johnians
Blatant Member (300 Posts)
a bunch of bananas fell on his head. Dazed he saw a whole group of monkeys advancing on him. he tried to start up the bulldozer but the gas level was on Empty, so he.....
Rogue#402, RenMerc #151, Bard #149
« Reply #42 on: Jun 26, 01, 10:15:27 am CDT »
So he picked up the bananas and offered them to the monkeys. The monkeys stopped and looked at him. They took the bananas and thanked him. They turned around and started to eat them. Just then Alex pulled out a shotgun from the bulldozer and opened fire on the monkeys. "I just love the smell of gun powder in the morning!" Alex said with an evil grin........................
but as he stepped backward he slipped on the banana skiins and slid right towards the biggest ape he ever saw.. It was at least 10 feet tall and it was looking very mean. It was juggling a pineapple in it's hands, when suddely it pulled the pin and tossed it towards Alex. Whoosh, a giant explosion light up the beach. bulldozer parts, dead monkeys, falling palm trees and lots of sand went flying.
Where was Alex? Was this the end of Alex? Nooo! The dust clears up and ....
and Shadow woke him up. They were on a beach in the middle of no where. "Where are we?" Alex asked.
Ikariam Group
Overt Member (400 Posts)
Mead me!
Alex was completely dazed by his dream...what the hell was a bulldozer? What was grey poupon??? Who the hell was Tom Hanks and why did he have an inflatible ball??? And where did Alex get that gun and know how to use it? Alex decided to put the dream from his mind and concentrate on what Shadow was saying to him.
"the ship is destroyed and we are the only two survivors. Somehow we washed up on this beach. I have a feeling its the beach we have been looking for."
Alex stood and looked around him. He saw...
"Nuts to Thou!" - Bucky Katt
just up from the beach were a string of fancy hotels and beach umbrellas. A boardwalk seemed full of scantily clad bodies and many photographers. "Oh No,This must be Cannes during the Film Festival." Alex and Shadow moved closer to the boardwalk. "Hey That looks like Tom Hanks. " Maybe it wasn't all a dream, Alex thought. Just then a beachball
landed at Shadow's feet. He reached up to pick up the ball as beautiful girl came running up to get the ball. "Miss, here's your ball. What's happening up there?. She smiled and said "
« Reply #47 on: Jul 01, 01, 06:40:15 pm CDT »
"An Adult Movie extravaganza. All the top porn stars are there. It has been said that even the most hard up virgin, like your friend here, could get some." Shadow and Alex both could have been knocked over by a feather. Shadow was thinking, "How could I have forgotten about this? I must have lost my tickets."
While Alex's worst fear was realized. "It shows that much. I wish someone would put me out of my misery."
« Reply #48 on: Jul 02, 01, 09:33:19 am CDT »
"You're kinda cute Alex",said the girl with the beach ball."My girl friends and I are having a party tonight. Wanna come"
Alex and Shaddow nodded together as much impressed by the invitation as with the young girl hold the ball close to her chest.
"It's a no brainer that the long dry spell is over." Said Alex.
Arriving at the party, Alex and Shadow looked in the open front door to see....
Wall to wall naked chicks!!!!!!! The chick with the beach ball, Sandy, came up to them and said "Come on in boys. Remember to take your clothes off as this is a 'No Clothes' housing developement."
What a developement!. said Shadow. Shadow and Alex quickly got rid of their clothes and stepped into the house. As they did they heard a crack of electricity. Boom. As their eyes cleared. They found themselves on a boat in a deserted ocean in a lightning storm. Their clothes had been burned off by a bolt of lightning. They were now really awake. "What happened to the Beach ball? said Alex. "What Happened to the naked women, is what you mean" said Shadow.
Reaching for the oars they started to paddle away from the storm. A dim light on the far horizon began to glow stronger. The aim their small boat towards it. Whe they got closer they saw it was coming from a ...
From a strange looking ship. In fact it was the ship from the dream. A man at the top of the mast asked "Do you have any Grey Poupon?"
"What's that?" asked Shadow.
"Huh?" asked Alex.
"Right, then. Morons off the port bow. Gunner front and center!! Fire at Will!" said the man in the ship.
"There isn't anyone named Will down here, you dipstick!" retorted ALex.
paddling quickly under the prow of the ship, Alex and Shadow grabbed a stray rope and quickly climbed on deck.
Alex finds a flare gun , carelessly left lying about and confronts the captain. "Here's to your Grey Poupon". Alec cries.. He fires the flare and off flies the captains hat in flames. The noise and light attracts a flock of seagulls.
Mistaking the captain and crewman for statues they do what birds do to statues. This gives Alex and Shadow time to raid the crews quarters for clothes. Taking control of the ship. They start the engine and head for what might be the nearest shore. Spotting a lighthouse and tall cliffs, the made for an opening in the cliffface and a sandy beach.
They hauled the captain and his crewman out of the cabin.Alex and wired ahead for the local constabulary to haul them away on various chardges but the most important was the use of a phony British accent. Walking past the cliffs they caught a #5 bus to Santa Monica pier where the adventure had started out. "At last to be home", said Alex.
"Thanks for visiting me from back East, Shadow." As they approached the Pier, the bus door opened and...
Alex stopped and turned towards Shadow and said "I thought you were going to get me laid?"
"later Dude", This is LA, there's plenty action around. Especially in the Hollywood Hills, Movie stars,..." After grabbing their gear from the lockers, they rented a wreck and drove to the hills. " This looks like a great place. All those chicks on roller blades going by, we should see some action here." just then two girls stopped their blades and came over. They asked Shadow " What .....
is this virgin doing hear?
Shadow told the ladies that he wanted to get laid and asked if they would do the boy too. "It will cost you both. We usually don't do virgins, but he's kinda cute and, well, we owe you one Shadow."
jumping in the rent a wreck they drove up to the Hollywood sign. "Who's going to be first and who is going to take the souvenir photos", the girls asked.
Alexander said "Darn I forgot the camera. Let me go get it first."
"Now I know why he is still a virgin." siad the girl with the pink skirt.
""Yeh said the other one. Why are you with him?
"Well... He"s my best bud and..."
"Losers , the both of you then", she said and the two girls skated off.
Alex returns with the camera.
"Where are the girls? he said. Shadow replied" Don't even go there."
"Oh well I'll get a picture of the sign at least. Where i Almost lost my Amateur status." Flash, Bang!
A sky diver landed nearby. Taking his helmet off he was revealed to be ...
the history professor. "Come you two. It is time to get back on track with this adventure. I have the map that is needed to get to the altar on the island. Now we just need to get to the island."
"But professor, we don't know what island it is," replied Alex.
"We do to. We just need to get a boat and a crew," said Shadow.
"Well then," said the Professor, " let's get going!"
Driving their car back to the Santa Monica pier. they turned it in and went onto the pier. A boat rental campany was there advertizing three hour cruises of the harbor. In a hurry they bought tickets and joined the rest of the passengers. Among the others were Ginger and Maryann. The Howels were an elderly couple, poor but nice and Ginger and mayann were their pet poodles. The Skipper and his mate set off on the tour. The motor suddely conked out and the skipper broak out the oars and started paddling to the nearest harbor island.
"Don't worry folks this happens all the Time. "My mate forgot as usual to fill the gas tanks." "I've got fuel stored on the island and we'll get back with no problem"
His mate thought to himself "Should I tell hime now?, Naw he'd only be madder at me now"
They reached the island and Shadow , Alex, The professor, the Howels and their dogs Ginger and maryann and the skipper and his mate disembarked. "I'll go get the fuel and we'll be right off again". said the skipper. Alex asked the mate what he had been thinking before. Slowly the mate replied 'The captain ain't gonna like it but ....
"We ain't got any fuel. I traded it to a couple of midgets dressed in green with an Irish accent for a pot of gold."
"WHAT?! You mean we are stuck on this damn Island?" queried Shadow. "How much was the gold worth, pipsqueak?"
"Who you callin a pipsqueak MR. I-can't-get-my-friend-laid? Anyway, it was worth $10,000,000,000. Do you think I would pass up the chance to be richer than Bill Gates?"