text:
The Bulgarian Council on Refugees and Migrants (BCRM) is committed to the establishment of a fair and efficient asylum and migration system...
The Bulgarian Council on Refugees and Migrants (BCRM) works to ensure the sustainable role of the civil society organisations in the system for protection...
The BCRM stands by the right of every person to receive protection for reasons of race, religion, nationality, belonging to a definite social group or political opinion...
The Bulgarian Council on Refugees and Migrants (BCRM) is a civil society organization acting in the field of asylum and migration in Bulgaria.
The BCRM is a platform for advocacy, lobbying and fundraising for the protection, reception and integration of refugees and migrants.
The BCRM works for further strengthening of the cooperation between the state institutions and the nongovernmental organizations in the field of the national asylum and migration policy and practice.
The BCRM aims to further develop the relations among the nongovernmental organizations, based on common principles and values, division of functions and responsibilities.
The BCRM objective is to enhance the role of the civil society in the formulation of a fair and just national and European asylum, migration and integration policy and practice.
Since its founding, the Bulgarian Council for Refugees and Migrants is implementing projects related to the development of the civil society structures in the area of international protection, migration and integration.
PROJECT - Advocacy for Integration of Refugees in Bulgaria, financed by UNHCR
PROJECT - The National Integration Evaluation Mechanism (NIEM), co-financed by the European Union, Asylum, Migration and Integration Fund
PROJECT - REFU'IN An Innovative tool for inclusion of Refugees, financed by Erasmus+
The Bulgarian Council on Refugees and Migrants, as an association of organisations of longstanding experience and professional competency has the capacity to influence and support the social transformation towards efficient protection and integration of refugees and migrants.
Bulgarian Red Cross
www.redcross.bg
Bulgarian Helsinki Committee
www.bghelsinki.org
Caritas Bulgaria
www.caritas-bg.org
Association for Integration of Refugees and Migrants
www.airm-bg.org
Council of Refugee Women in Bulgaria
crw-bg.org
Information Bulletin "Integration of Refugees in Bulgaria: Opportunities for Development" for the period October - December 2021.
We present to your attention the Information Bulletin "Integration of Refugees in Bulgaria: Opportunities for Development" for the period October - De...
Bulgarian language courses provided by the Employment Agency under the program for employment and training of refugees
The Employment Agency under the program for employment and training of refugees recruits candidates for Bulgarian language courses. Requi...
Migration in Focus: Addressing Informational Challenges in Humanitarian Actions
The European benchmark for refugee integration. Evaluation 1: Summary Report
Good Practices on integration of refugees with European funding
Integration of Refugees in Bulgaria - Advocacy Paper
Access to International Protection in Bulgaria - Advocacy Paper
Reception of Asylum Seekers in Bulgaria - Advocacy Paper
Go to library


Prime Minister Ranil Wickremesinghe said the government of good governance was able to ensure the freedom and the democracy in the country and the government has very well secured the freedom for the people to express their views.
The Premier expressed these views addressing the final rally of the United National Party election campaign held in Matara on Wednesday to ensure the victory of the UNP candidates at the upcoming local government election on the 10th.
The Premier noted that the nether the state media nor public funds were used for this election. It is because an Independent election commission was created and the election is being conducted independently. "By establishing the Election Commission we have ensured that elections will always be free and fair," he noted.
"There is an independent judiciary in this country to further strengthen the independence of the Election Commission. The independent judges issue verdicts against the government as well. But no judge has been removed, and no one has blamed the Chief Justice," the Premier said adding that all verdicts were accepted as part of free society.


text:
Welcome to AAAI Undergraduate Consortium!
Information about all things related to AAAI-UC
AAAI-22 UC @ the AAAI site
Return to the main AAAI Undergraduate Consortium page
AAAI 2022 main site
Thirty-Sixth AAAI Conference on Artificial Intelligence
Virtual February 22 - March 1, 2022
AAAI-22 Undergraduate Consortium
UC-22 Scholars
Meet our UC-22 scholars!
Program of Events and Invited Talks
Schedule at-a-glance
Time (PST)
Talk: What Values Matter to AI Researchers? by Dr. Amanda Stent
Faculty / Industry Panel Q&A
09:00 - 09:15 Break
09:15 - 10:30 UC Scholar Mixer (UC cohort only)
Talk: Ci eS para mí by Dr. Patricia Ordóñez
Faculty Panel Q&A
14:15 - 15:00 Grad Student Panel: What is grad school REALLY like? (undergraduate audience only)
15:00 - 16:00 UC Poster Practice Exercise (UC cohort only)
16:00 - 16:45 UC Poster Session (by invitation only)
16:50 - 17:00 Closing remarks
Keynote Speaker: Amanda Stent
What Values Matter to AI Researchers?
As AI researchers, we seek the advancement of science or engineering progress. However, other values also drive us as individuals and as groups, including desires to "keep up" or move fast, to achieve recognition, to help others, to encourage diversity, to make money, and so on. Often, these unspoken values drive our priorities. Discussions of values are really discussions about ethics, but I quite frequently hear computer scientists say that we are unqualified to think about ethics, or should not have to think about ethics. In this talk, I will share some of my values as a researcher over time and give two examples of past research projects of my own where unspoken values either positively or negatively impacted the quality of the research, as well as an example of how my values have changed in response to conversations with other AI researchers. I will raise some questions about what values may be driving the ways in which we currently "do AI" and talk about AI, and share my current thinking about how we can surface all of our values, so that we can have conscious conversations about the scientific choices we make.
Dr. Amanda Stent:
Is inaugural director of the Davis Institute for AI at Colby College.
Previously held positions as the NLP Architect in the Chief Technology Office at Bloomberg, Director of Research and Principal Research Scientist at Yahoo, as Principal Member of Technical Staff at AT&T Labs — Research, and as associate professor in the Computer Science Department at Stony Brook University in Stony Brook, NY.
Holds a Ph.D. in computer science from the University of Rochester.
Has authored or co-authored over 100 papers on natural language processing and is co-inventor on over 30 patents.
Is one of the inaugural editors-in-chief of ACL Rolling Review, a board member of CRA-WP and an ABET program evaluator. Also currently serves on the National Academies Committee studying Responsible Computing Research.
(UC Chairs' note: This bio has no personal pronouns! From amandastent.net.)
Keynote Speaker: Patricia Ordóñez
Ci eS para mí
For many years, I could not see myself as a programmer or computer scientist or any kind of scientist for that matter. I have always been a teacher at heart, but in my mid thirties, technology started to pique my curiosity, in particular AI for medicine. I will share with you my circuitous journey to becoming the first Latina to graduate from the College of Engineering and Information Technology with Ph.D. at the University of Maryland Baltimore County starting at the age of 38 and the first tenured Latina at the University of Puerto Rico Río Piedras in the Department of Computer Science.
Dr. Patricia Ordóñez is an Associate Professor in the Computer Science faculty at the University of Puerto Rico Río Piedras and thereby fulfilling two lifelong and one unexpected midlife dreams – living in a Spanish speaking country, having the opportunity to make a greater difference in the world, and becoming a professor. Her research interests are in applying machine learning, data mining, and visualization to multivariate time series analysis, specifically to large repositories of clinical data (now known as Biomedical Data Science). She was the first Latina to graduate with a PhD from the College of Engineering and Information Technology at the University of Maryland Baltimore County and the first female Associate Professor to earn tenure in the Computer Science Department at the University of Puerto Rico Río Piedras (UPRRP). She is a former National Science Foundation Graduate Research Fellow. She was co-Chair of the Diversity and Inclusion Council of the Association of Computing Machinery (ACM), and she is serving as General Chair at the 2022 Tapia Celebration of Diversity in Computing Conference. She is the recipient of the Great Minds in STEM 2021 HENAAC Award in Education. She is passionate about creating a more inclusive culture in computing and STEM and about bridging the digital and data divide in global healthcare and education.
Thank you to our speakers, faculty and industry panelists, and graduate student panelists!
Faculty / Industry Panelists
Mark Díaz, Google
Judy Goldsmith, University of Kentucky
Odest Chadwicke Jenkins, University of Michigan
Elias Khalil, University of Toronto
Sanmi Koyejo, University of Illinois at Urbana-Champaign
Patricia Morreale, Kean University
Patricia Ordóñez, University of Puerto Rico Río Piedras
Jorge Ortiz, Rutgers University
Anita Raja, Hunter College, City University of New York
Pablo Rivas, Baylor University
Amanda Stent, Colby College
Graduate Student Panelists
Akanksha Atrey, University of Massachusetts Amherst
Laura Biester, University of Michigan
De'Aira Bryant, Georgia Institute of Technology
Jiaoyang Li, University of Southern California
Thao Nguyen, Brown University

redpajama_set_name: RedPajamaCommonCrawl


text:
Parish Council Executive Board – 2021
Priest – Fr. Christos L. Pappas, Protopresbyter
President – Peter Frangiskou
1st Vice President –Themmy Kontolios
2nd Vice President – Costas Rakkou
Treasurer – Michael N. Siderias
Assist. Treasurer – Mihaelos N. Mihalos
Secretary – Kimon Skarlatos
Assist. Secretary – Maria Bournias
Parish Council Board Members – 2021
Ioanna Georgiadis
Emmanouel Hatzakis
George Hristofidis
Chris Kanakis
Niki Kaousias
Dimitris M. Kontolios
Stelios M. Kontolios
Panagiotis Sardis
Akis Triantafyllopoulos
Thanasys Peppas
Parish Council Information
The Parish Council is the body of practicing Orthodox Christians sacramentally in good standing with the Church, elected by the members of a parish for the purpose of working together with the priest in fulfilling the goals and needs of that parish. The Parish Council is a sacred office that requires total love, loyalty and dedication to our Holy Orthodox Church. A Parish Council member is an official representative of the Church, and as such is expected to exert every effort to exemplify its sacred character and spirit. Upon being elected to this trusted office one assumes three basic obligations which will help guide them in making the many decisions and policies that will be their responsibility during their tenure.
The obligations of a Parish Council member are as follows:
To know and uphold the sacred tenets of Holy Scripture and the teachings and traditions of the Greek Orthodox Church;
To know and abide by the uniform parish regulations as set forth by the Greek Orthodox Archdiocese of America through its biennial Clergy-Laity Congresses.
To live by and uphold the oath of office by utilizing the God-given talents and energies for the spiritual progress and advancement of the parish.
The role that is played as a member of Parish Council is best understood, however, when the parish is viewed as one part of the total structure of the overall Church. Misunderstandings can occur when the Church is looked upon purely from a local or parochial point of view. To be sure, the needs of the local parish are the most immediate concern of the parish council, but to see only this, and fail to comprehend the role of the parish in the overall life and structure of the Church is like one family member showing no interest in or responsibility for the problems and needs of other members of the family.
Parish Council members are elected for three-year terms by the congregation of the community. Any Orthodox Christian who participates in the spiritual life of the church and the work of our community with a satisfied parish obligation may become a member of the Parish Council. There are 18 members with nominations for elections occurring during the General Assembly Meeting every November, with elections in December, and swearing into office in January. The newly formed council in January elects their officers for the year.
The Parish Council members are the first people encountered when entering the narthex to pray or to visit the church. They are responsible for the order and peace of the congregation during the Liturgy and to arrange and assist with the candles. For better completion of the various programs within our parish, there are several committees addressing the church's various needs. Each committee is appointed annually by the President of the Parish Council at the first meeting in January. Committee members may be members of the Parish Council or a member of the community.
The main concern of the Parish Council is securing the financial stability to sustain the operating costs of the church. As parishes are not funded by the state or federally, the needs of our parish are covered mainly by the generosity of our community. The continuing practice of our members showing their love and commitment encourages our community to move forward with optimism as we expand for the growth for our future generations and our youth. In addition to each parishioner's annual parish obligation, all donations offered for candles and trays during service truly make a positive impact in supporting the operating expenses of our church and as such, we are eternally grateful for any manifestation of love (economic, intellectual or moral).
The events organized by the Parish Council include the following: (1) participation in the NYC national annual Greek Independence Day parade, (2) Palm Sunday luncheon, (3) preparation and organization of the annual festival in June, (4) organization of the anniversary dance in November and (5) organization of the New Year's Eve dance. If there are any questions or concerns, please contact any member of the Parish Council. The most convenient method is to approach a Parish Council member after mass during coffee hour. In addition, the Parish Council has liaison officers appointed to the ministries and organizations of our church. New members on our board or as part of our committees are ALWAYS welcome! Inquire with a board member or the church office.


Study Tour: Wind Farm "Bogdanci"
"Bogdanci" wind farm is the first one in the Republic of Macedonia, and is owned and operated by ELEM.
The plant's nominal capacity is 36.8 MW (16 turbines each @ 2.3 MW), and expected annual production is 100 GWh.
The wind farm was completed in May 2014.
According to ELEM's development plans, the wind farm will be extended with additional six turbines, so the total capacity will be 50 MW, with annual production of 134 GWh.


1Department of Pharmacology, M. G. V's Pharmacy College, Panchavati, Nashik, University of Pune, Maharashtra, India.
2Department of Pharmacology, SSDJ College of Pharmacy, Chandwad, Nashik, University of Pune, Maharashtra, India.
The present study was carried out to investigate the antihypertensive effect of Silymarin (300 mg/kg and 500 mg/kg, p. o., for 6 weeks) in fructose induced hypertensive rats. Fructose feeding induces a rise in blood pressure in normal rats and is associated with insulin resistance, hyperinsulinemia and hypertriglyceridemia. Hypertension was induced by administration of fructose 10 % solution for six weeks. Systolic blood pressure (BP) was measured once every week during the treatment schedule. After completion of treatment schedule, heart rate, arterial blood pressure and vascular reactivity to various drugs were recorded. Rats from individual group were sacrificed, the heart was dissected out and antioxidant enzyme level SOD, CAT, GSH and TBARS were measured. A cumulative concentration-response curve (CCRC) of Ang II was carried out in isolated shifted strips of ascending colon. The results suggest that Silymarin could prevent the development of high blood pressure induced by a diet rich in fructose, probably by reversing the metabolic alterations induced by fructose. The results tend to suggest that Silymarin possesses antihypertensive activity.
Keywords: Fructose, Hypertension, Silymarin, Antioxidant, Insulin.


text:
//Jquery import
import * as $ from "jquery"
(window as any).jQuery = $

//Foundation import
import 'foundation-sites';
(window as any).Foundation = Foundation;
$(document).ready(function() {
    $(document).foundation();
});

//utils (check page with attr id/class)
import './utils/exist.js';

//lodash import example
//import * as _ from "lodash";
//PubSub-js import example
//import 'pubsub-js';

/*
//Main class exemple
//other class exemple (core logic? cause it's not in a page folder)
//import {Talker} from "./core/greet";

class Main {
    talker:Talker;

    constructor(){
        this.talker = new Talker();
        console.log("main is ready");
    }

    showHello(divName: string, name: string) {
        const elt = document.getElementById(divName);
        elt.innerText = this.talker.sayHello(name);
    }
}

//Use the main class
let main:Main = new Main();
main.showHello("greeting", "TypeScript");
 */

//Use page logic (Generator add it auto)
//Import pages js logic
import {Home} from './../../pages/home/home';
new Home();

import {Page2} from './../../pages/page2/page2';
new Page2();

redpajama_set_name: RedPajamaGithub


text:
Sedan – miasto położone w hrabstwie Chautauqua.

Miasta w stanie Kansas

redpajama_set_name: RedPajamaWikipedia


I came to San Diego in the middle of my night. I was a newbie, flying the redeye from Tallahassee, but I got there, just the same. The first night, I had to stay at another hotel. The HALO conference had not finished blowing up the parking lot and making the world safe from terrorists and disasters, so I had to stay elsewhere. I was OK with that. I was in pursuit of my destiny as a writer, and it was within my grasp.
The next morning, I woke up, gathered my things, and took my overnight bag and computer case to the lobby. I said, "How do I get to Paradise Point?" It was a simple question. I recognized the woman behind the desk. She was the bartender from the night before. I concluded that Californians don't sleep. Still, I had chosen her as my Mapquest, and she didn't disappoint.
I was puzzled for a few seconds, but I waited for further directions.
"I'll take a cab," I said.
Once I got there, I took a walk. I saw hummingbirds sucking nectar from flowers I had only seen in fantasy books, and saw a guy in a wetsuit act like Flipper and shoot up in the air, land in the water, and shoot out again. I was impressed. I texted my girlfriend about it, and she warned me about the Naples incident, involving a paddleboard and a speedboat. I refrained.
Still, I thought about my purpose for being there. I was in La Jolla to be a better writer, a more successful one, and I needed validation. I had never put my writing in front of my peers, other writers, and I was nervous. What if I sucked? My fears were not only abated, but I realized that the la Jolla Writer's Conference is more like a family reunion of writers connected by mutual interest. I was welcomed with open arms, to my eternal relief. I met Antoinette, and Richard, and Jared. I met my heroes in the thriller business, Jim Rollins and Andy Peterson. I realized that they are just like me. They may have been in the book writing business longer, and they may have made mistakes on the path to being bestsellers, but we think alike, we come from the same humble beginnings, and we have the same outrageous imaginations that propel us in our writing.
Do it. You will never regret one minute of the experience.
Mark E. Becker is a lawyer, a mediator, and the author of political thrillers, At Risk of Winning and No Corner to Hide, the first novels in the Max Masterson series. Visit www.atriskofwinning.com for more information.


Find a complete listing of September and October events taking place in Polk County at VisitCentralFlorida.org.
- You can't beat the fresh taste of produce that the growers and produce resellers have to offer at the Haines City Farmers Market.
- Open year-round, the Haines City Farmers Market is free and will always provide you with the freshest produce in Central Florida.
- Find food trucks and all their tasty cuisine at Munn Park on the second Thursday monthly.
- Join various vendors in Downtown Winter Haven for a traditional farmers market with a multitude of produce, plants, jams and jellies, nuts, honey, and syrup.
- Aching Quad is a race that boasts four runs in 24 hours and will begin with a 5K around Lake Hollingsworth on Friday, a one-mile run on Saturday, a two-mile run around Lake Hunter Saturday, and will end with another 5K on Lake Hollingsworth.
- Join the Ramon Theater for an evening of food, fun, dancing, entertainment and more at the 7th Annual Gala.
- Sheriff Grady Judd will be the Honorary Guest Emcee, and guests can enjoy the heavy Hors d'Oeuvres and a cash bar.
- The Bartow Farmers Market is home to a variety of vendors with different fresh produce, plants, preserves, pickles, and artisans every weekend.
- This family-friendly event will feature exhibitors, children's activities, food vendors, live music and a cardboard boat race!
- Teams will make boats out of cardboard and duct tape, then race around a marked course on the beautiful Lake Hollingsworth.
- The Downtown Lakeland Farmers Curb Market returns with a variety of items from freshly picked produce to beautiful plants every Saturday.
- Food Truck Wars will feature 40 gourmet food trucks from across the state competing for five prestigious awards presented by celebrity judges.
- Joining the celebs in Winter Haven will be Cupcake Wars Champion and local resident Jillian Hopke as well as the Swamp Brothers.
- There will also be a LEGOLAND Florida Kids Zone to benefit Merlin's Magic Wand, a Battle of the Bellys, Beer Garden and live music.
- Good Health Fresh Goods and Crafts Market is a free community event with fresh goods and arts and crafts on the first, second, and third Saturday monthly in Winter Haven.
- Mack will be available to discuss his work at "Coffee with Tom Mack," an informal event upstairs at the Museum.
- The public is invite, and admission to the Museum and the event are free.
- The Lake Wales Farmers Market offers produce, handcrafted food, and other decorative items the second and fourth Saturdays monthly.
- Leave your mark on Polk County history by creating items for a time capsule and joining the Polk County History Center as they close the capsule that won't be opened for 25 years.
- Family Fun Day is a free event on the second Saturday of each month where children and their families can participate together in a new arts and crafts activity each month while learning about Polk County history.
- The museum invites guests to bring lunch and listen to a guest speaker monthly on the third Tuesday.
- July's speaker and topic is: Dr. Paul Dosal on Cuba and Florida Connection.


text:
Q: Gravity sensor value increases Gravity sensor values increases after each call of onSensorChanged(SensorEvent event) the values of event. Values increases and after a little bit of time (about 1 min) reaches a NaN value. Could someone say why this is happening?
Code:
private void recordData(SensorEvent e) {
    String label;
    int currentSensorId = -1;
    switch (e.sensor.getType()) {
    case Sensor.TYPE_ACCELEROMETER:
        currentSensorId = 0;
        label = LOG_LABEL_ACCELEROMETER;
        break;
    case Sensor.TYPE_GYROSCOPE:
        label = LOG_LABEL_GYROSCOPER;
        currentSensorId = 1;
        break;
    case Sensor.TYPE_GRAVITY:
        label = LOG_LABEL_GRAVITY;
        currentSensorId = 2;
        break;
    case Sensor.TYPE_ROTATION_VECTOR:
        label = LOG_LABEL_ROTATION_VECTOR;
        currentSensorId = 3;
        break;
    default:
        label = "UNKNOWN SENSOR TYPE!";
        break;
    }
    if (currentSensorId == -1)
        return;

    // Force set events frequency to value from config,
    // cause sensor events minimal frequency = 0.2 sec.
    timePassed[currentSensorId] = System.currentTimeMillis()
            - lastSensorEventTime[currentSensorId];
    if (timePassed[currentSensorId] < Config.SENSOR_DELAY_MILLISEC) {
        return;
    } else {
        lastSensorEventTime[currentSensorId] = System.currentTimeMillis();
    }

    if (this.pauseRecordingData || checkSDCardMemory())
        return;
    fileWriter.writeEvent(label, System.currentTimeMillis(), e.values);
}

public void writeEvent(String eventSource, long timestamp, float[] values) {
        Log.d(TAG, "writeEvent(); eventSource = " + eventSource);

    if ( !this.fileExists ) createNewFile();
    try {
        String valuesString = eventSource + "\t" + String.format( "%d\t", timestamp);

        for (int i = 0; i < values.length; i++) {
            valuesString += String.format( "%f\t",values[i]);
            Log.d(TAG, "writeEvent(); values[" + i + "] = " + values[i]);
    }
        buffWriter.append(valuesString + "\n");
    } catch (IOException e1) {
          e1.printStackTrace();
          Log.d(TAG,"RECORDING EVENT TO FILE FAILED!");
    }
}

A: There are two possibilities:

*

*The most probable one: You have an error in your code, for example, you are never resetting the variable or making addition to the values (for details, please read http://developer.android.com/guide/topics/sensors/sensors_motion.html).

*Your gravity sensor is broken (to check that, try on another device).
For more help, please post your code, how are you accessing and managing the values read from the gravity sensor.
EDIT:
As I mentioned, there war an error in your code. The sensor read delay should be set to one of the possible options:
int     SENSOR_DELAY_FASTEST     get sensor data as fast as possible
int     SENSOR_DELAY_GAME        rate suitable for games
int     SENSOR_DELAY_NORMAL      rate (default) suitable for screen orientation changes
int     SENSOR_DELAY_UI          rate suitable for the user interface

And not to a custom value !!!
Thank you for finding the solution.

redpajama_set_name: RedPajamaStackExchange


text:
More info on Domitian
Domitian: Facts
Titus facts
Nerva facts
Augustus facts
Vespasian facts
Marcus Aurelius facts
Roman Emperor facts
Hadrian facts
Claudius facts
Tiberius facts
Trajan facts
Top rankings for Domitian
9th Top state leaders in 94
10th Top state leaders in 73
49th Top assassinated people
in Revelation, Jesus holds seven stars in his right hand, which has been viewed as an implicit critique of a coin of Domitian which depicts his infant son with seven stars?
Facts on topics related to Domitian
excavations at Chandravalli in the Indian state of Karnataka have unearthed coins of Roman emperor Augustus and Chinese Han emperor Wu Ti?
both Augustus and Eleftherios Venizelos exiled opponents to the Cyclades?
in the Roman Empire, ten-year celebrations called "decennalia" originated after Augustus refused the lifetime supremacy offered to him?
the Temple of Divus Augustus was a major temple in imperial Rome dedicated to the first Roman emperor, Augustus, and completed by his adoptive grandson Caligula?
Roman Emperor
Roman Emperor Trajan was heavily criticized for giving extravagant donations, called congiaria, to every citizen?
Roman Emperor Majorian issued a law that imposed a minimum age of 40 years to women who wanted to take religious vows?
Gessius Florus became the Roman procurator of Judea due to his wife's friendship with Emperor Nero's wife Poppaea?
Qabala treasures, monetary treasure troves discovered in Azerbaijan, contain drachmas of Alexander the Great and denarii of four Roman Emperors?
during the Gothic War in the 4th century, the Goths killed a Roman Emperor, destroyed a Roman army and laid waste large tracts of the Roman Balkans?
it was common for the Roman Emperor to be elected to one of two offices of the highest judicial magistrates known as duumviri, and the other position was left up to the emperor for the appointment of a praefectus?
the Roman festival of hilaria, which allowed anyone to masquerade as any rank, was used in a plot to assassinate Emperor Commodus, by conspirators planning to disguise themselves as members of the Praetorian Guard?
the Roman Emperor Maximian (coin pictured) was forced to abdicate on three separate occasions?
there were six claimants for the title of Roman Emperor in the Year of the Six Emperors (AD 192–193)?
Halotus was an Ancient Roman royal servant who, despite being a prime suspect in the poisoning of Claudius in 54 AD, was granted royal stewardship by Galba in 68 AD, even when the public was calling for his death?
the earliest written record of Scotland during the Roman Empire is the submission of the King of Orkney to the Emperor Claudius (pictured) at Colchester in the year 43?
whether Gaius Stertinius Xenophon, a Roman physician, was involved in the death of Claudius is debated to this day?


text:
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
using Microsoft.Labs.SightsToSee.Common;
using Microsoft.Labs.SightsToSee.Controls;
using Microsoft.Labs.SightsToSee.Library.Models;
using Microsoft.Labs.SightsToSee.Library.Services.DataModelService;
using Microsoft.Labs.SightsToSee.Views;
using Microsoft.Labs.SightsToSee.Models;
using Windows.UI.Popups;

namespace Microsoft.Labs.SightsToSee
{
    /// <summary>
    ///     The "chrome" layer of the app that provides top-level navigation with
    ///     proper keyboarding navigation.
    /// </summary>
    public sealed partial class AppShell : Page
    {
        public static AppShell Current;
        // Declare the top level nav items

        /// <summary>
        ///     Initializes a new instance of the AppShell, sets the static 'Current' reference,
        ///     adds callbacks for Back requests and changes in the SplitView's DisplayMode, and
        ///     provide the nav menu list with the data to display.
        /// </summary>
        public AppShell()
        {
            InitializeComponent();

            Loaded += async (sender, args) =>
            {
                Current = this;

                //TogglePaneButton.Focus(FocusState.Programmatic);
                NavMenuList.SelectedIndex = 0;
                var dm = DataModelServiceFactory.CurrentDataModelService();

#if SQLITE
                var trips = await dm.LoadTripsAsync();

                if (AppSettings.HasRun && trips.Any())
                {
                    // Load trips from DB
                    foreach (var trip in trips)
                    {
                        AddTrip(trip.Name, trip.Id);
                    }
                    var parameter = new TripNavigationParameter { TripId = trips.First().Id }.GetJson();
                    NavigateToPage(typeof(TripDetailPage), parameter);
                    LandingPage.Visibility = Visibility.Collapsed;
                }
                else
                {
                    LandingPage.ShowCreateFirstTrip = true;
                }
#else
                // When connecting to Azure, this is where we authenticate and then load the seed data into the local tables.
                // Then sync to the cloud
                bool isAuthenticated = false;
                while (!isAuthenticated)
                {
                    await SetBusyAsync("Logging you in...");

                    var authResponse = await dm.AuthenticateAsync();

                    isAuthenticated = authResponse.Item1;
                    if (!isAuthenticated)
                    {
                        var dialog = new MessageDialog(authResponse.Item2);
                        dialog.Commands.Add(new UICommand("OK"));
                        await dialog.ShowAsync();
                    }
                }

                await SetBusyAsync("Synchronising");
                var trips = await dm.LoadTripsAsync();
                await ClearBusyAsync();

                if (trips.Any())
                {
                    AppSettings.HasRun = true;

                    // Load trips from DB
                    foreach (var trip in trips)
                    {
                        AddTrip(trip.Name, trip.Id);
                    }

                    if (AppSettings.LastTripId == Guid.Empty)
                    {
                        AppSettings.LastTripId = trips.First().Id;
                    }

                    var parameter = new TripNavigationParameter {TripId = trips.First().Id}.GetJson();
                    NavigateToPage(typeof (TripDetailPage), parameter);
                    LandingPage.Visibility = Visibility.Collapsed;
                }
                else
                {
                    LandingPage.ShowCreateFirstTrip = true;
                }
#endif
            };

            RootSplitView.RegisterPropertyChangedCallback(
            SplitView.DisplayModeProperty,
            (s, a) =>
            {
                    // Ensure that we update the reported size of the TogglePaneButton when the SplitView's
                    // DisplayMode changes.
                    CheckTogglePaneButtonSizeChanged();
            });

            SystemNavigationManager.GetForCurrentView().BackRequested += SystemNavigationManager_BackRequested;
            PopupManager.Configure(this, ParentedPopup, HitBlocker);
        }

        public Popup PopupHost
        {
            get { return ParentedPopup; }
        }

        public Frame AppFrame
        {
            get { return frame; }
        }

        public Rect TogglePaneButtonRect { get; private set; }

        public ObservableCollection<NavMenuItem> NavList { get; set; } = new ObservableCollection<NavMenuItem>(
            new[]
            {
                //new NavMenuItem
                //{
                //    SymbolAsChar = (char) Symbol.Home,
                //    Label = "Home",
                //    DestPage = typeof (LandingPage)
                //},
                new NavMenuItem
                {
                    SymbolAsChar = (char) Symbol.Add,
                    Label = "New Trip",
                    DestPage = typeof (NewTripPage)
                }
            });

        public ObservableCollection<NavMenuItem> SecondaryNavList { get; set; } = new ObservableCollection<NavMenuItem>(
            new[]
            {
                //new NavMenuItem
                //{
                //    SymbolAsChar = (char) Symbol.Home,
                //    Label = "Home",
                //    DestPage = typeof (LandingPage)
                //},
                new NavMenuItem
                {
                    SymbolAsChar = (char) Symbol.Setting,
                    Label = "Settings",
                    DestPage = typeof (SettingsPage)
                }
            });

        public void AddTrip(string tripName, Guid tripId)
        {
            NavList.Add(new NavMenuItem
            {
                SymbolAsChar = '\uE709',
                Label = tripName,
                DestPage = typeof(TripDetailPage),
                Arguments = new TripNavigationParameter { TripId = tripId }.GetJson()
            });
        }

        /// <summary>
        ///     Default keyboard focus movement for any unhandled keyboarding
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AppShell_KeyDown(object sender, KeyRoutedEventArgs e)
        {
            var direction = FocusNavigationDirection.None;
            switch (e.Key)
            {
                case VirtualKey.Left:
                case VirtualKey.GamepadDPadLeft:
                case VirtualKey.GamepadLeftThumbstickLeft:
                case VirtualKey.NavigationLeft:
                    direction = FocusNavigationDirection.Left;
                    break;
                case VirtualKey.Right:
                case VirtualKey.GamepadDPadRight:
                case VirtualKey.GamepadLeftThumbstickRight:
                case VirtualKey.NavigationRight:
                    direction = FocusNavigationDirection.Right;
                    break;

                case VirtualKey.Up:
                case VirtualKey.GamepadDPadUp:
                case VirtualKey.GamepadLeftThumbstickUp:
                case VirtualKey.NavigationUp:
                    direction = FocusNavigationDirection.Up;
                    break;

                case VirtualKey.Down:
                case VirtualKey.GamepadDPadDown:
                case VirtualKey.GamepadLeftThumbstickDown:
                case VirtualKey.NavigationDown:
                    direction = FocusNavigationDirection.Down;
                    break;
            }

            if (direction != FocusNavigationDirection.None)
            {
                var control = FocusManager.FindNextFocusableElement(direction) as Control;
                if (control != null)
                {
                    control.Focus(FocusState.Programmatic);
                    e.Handled = true;
                }
            }
        }

        #region BackRequested Handlers

        private void SystemNavigationManager_BackRequested(object sender, BackRequestedEventArgs e)
        {
            if (PopupManager.Popup.IsOpen)
            {
                PopupManager.Popup.IsOpen = false;
                e.Handled = true;
            }

            if (!e.Handled && AppFrame.CanGoBack)
            {
                e.Handled = true;
                AppFrame.GoBack();
            }
        }

        #endregion

        /// <summary>
        ///     An event to notify listeners when the hamburger button may occlude other content in the app.
        ///     The custom "PageHeader" user control is using this.
        /// </summary>
        public event TypedEventHandler<AppShell, Rect> TogglePaneButtonRectChanged;

        /// <summary>
        ///     Callback when the SplitView's Pane is toggled open or close.  When the Pane is not visible
        ///     then the floating hamburger may be occluding other content in the app unless it is aware.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void TogglePaneButton_Checked(object sender, RoutedEventArgs e)
        {
            CheckTogglePaneButtonSizeChanged();
        }

        /// <summary>
        ///     Check for the conditions where the navigation pane does not occupy the space under the floating
        ///     hamburger button and trigger the event.
        /// </summary>
        private void CheckTogglePaneButtonSizeChanged()
        {
            if (RootSplitView.DisplayMode == SplitViewDisplayMode.Inline ||
                RootSplitView.DisplayMode == SplitViewDisplayMode.Overlay)
            {
                var transform = TogglePaneButton.TransformToVisual(this);
                var rect =
                    transform.TransformBounds(new Rect(0, 0, TogglePaneButton.ActualWidth, TogglePaneButton.ActualHeight));
                TogglePaneButtonRect = rect;
            }
            else
            {
                TogglePaneButtonRect = new Rect();
            }

            var handler = TogglePaneButtonRectChanged;
            if (handler != null)
            {
                // handler(this, this.TogglePaneButtonRect);
                handler.DynamicInvoke(this, TogglePaneButtonRect);
            }
        }

        /// <summary>
        ///     Enable accessibility on each nav menu item by setting the AutomationProperties.Name on each container
        ///     using the associated Label of each item.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        private void NavMenuItemContainerContentChanging(ListViewBase sender, ContainerContentChangingEventArgs args)
        {
            if (!args.InRecycleQueue && args.Item != null && args.Item is NavMenuItem)
            {
                args.ItemContainer.SetValue(AutomationProperties.NameProperty, ((NavMenuItem)args.Item).Label);
            }
            else
            {
                args.ItemContainer.ClearValue(AutomationProperties.NameProperty);
            }
        }

        #region Navigation

        public void GoToSettings()
        {
            AppFrame.Navigate(typeof(SettingsPage));
        }

        /// <summary>
        ///     Navigate to the Page for the selected <paramref name="listViewItem" />.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="listViewItem"></param>
        private void NavMenuList_ItemInvoked(object sender, ListViewItem listViewItem)
        {
            if (sender == NavMenuList)
            {
                // ensure nothing is selected in SecondaryNavMenu
                SecondaryMenuList.SelectedItem = null;
            }
            else if (sender == SecondaryMenuList)
            {
                NavMenuList.SelectedItem = null;
            }

            var item = (NavMenuItem)((NavMenuListView)sender).ItemFromContainer(listViewItem);

            if (item != null)
            {
                if (item.DestPage != null &&
                    item.DestPage != AppFrame.CurrentSourcePageType)
                {
                    AppFrame.Navigate(item.DestPage, item.Arguments);
                }
            }
        }

        /// <summary>
        ///     Ensures the nav menu reflects reality when navigation is triggered outside of
        ///     the nav menu buttons.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnNavigatingToPage(object sender, NavigatingCancelEventArgs e)
        {
            if (e.NavigationMode == NavigationMode.Back)
            {
                var item = (from p in NavList where p.DestPage == e.SourcePageType select p).SingleOrDefault();
                if (item == null && AppFrame.BackStackDepth > 0)
                {
                    // In cases where a page drills into sub-pages then we'll highlight the most recent
                    // navigation menu item that appears in the BackStack
                    foreach (var entry in AppFrame.BackStack.Reverse())
                    {
                        item = (from p in NavList where p.DestPage == entry.SourcePageType select p).SingleOrDefault();
                        if (item != null)
                            break;
                    }
                }

                var container = (ListViewItem)NavMenuList.ContainerFromItem(item);

                // While updating the selection state of the item prevent it from taking keyboard focus.  If a
                // user is invoking the back button via the keyboard causing the selected nav menu item to change
                // then focus will remain on the back button.
                if (container != null) container.IsTabStop = false;
                NavMenuList.SetSelectedItem(container);
                if (container != null) container.IsTabStop = true;
            }
        }

        private void OnNavigatedToPage(object sender, NavigationEventArgs e)
        {
            // After a successful navigation set keyboard focus to the loaded page
            if (e.Content is Page && e.Content != null)
            {
                var control = (Page)e.Content;
                control.Loaded += Page_Loaded;

                // handle back across both menus
                var contentType = e.Content.GetType();
                if (contentType == typeof(SettingsPage))
                {
                    // unselect the main nav menu
                    NavMenuList.SelectedItem = null;
                    SecondaryMenuList.SelectedItem = SecondaryNavList.First(i => i.DestPage == typeof(SettingsPage));
                }
                else
                {
                    SecondaryMenuList.SelectedItem = null;
                }

            }
            // Update the Back button depending on whether we can go Back.
            SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
                AppFrame.CanGoBack
                    ? AppViewBackButtonVisibility.Visible
                    : AppViewBackButtonVisibility.Collapsed;
        }

        public void NavigateToPage(Type page, object parameter = null)
        {
            if (LandingPage != null && LandingPage.Visibility == Visibility.Visible)
            {
                LandingPage.Visibility = Visibility.Collapsed;
            }
            var navItem = NavList.FirstOrDefault(n => n.DestPage == page);
            if (navItem != null)
            {
                NavMenuList.SelectedIndex = NavList.IndexOf(navItem);
                AppFrame.Navigate(navItem.DestPage, parameter);
            }
            else
            {
                AppFrame.Navigate(page, parameter);
            }
        }

        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            ((Page)sender).Focus(FocusState.Programmatic);
            ((Page)sender).Loaded -= Page_Loaded;
            CheckTogglePaneButtonSizeChanged();
        }

        public async Task SetBusyAsync(string text = "Loading...")
        {
            await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
            {
                BusyIndicator.IsActive = true;
                BusyText.Text = text;
                BusyGrid.Visibility = Visibility.Visible;
            });
        }

        public async Task ClearBusyAsync()
        {
            await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
            {
                BusyIndicator.IsActive = false;
                BusyText.Text = string.Empty;
                BusyGrid.Visibility = Visibility.Collapsed;
            });
        }

        #endregion
    }
}


We are thrilled to announce our Moxiest Work Woman 2018.
Michelle is a woman, wife, mom, business owner, mentor and survivor!
I bought an old hardware store 14 years ago with a vision of turning it into a bright, fun shopping experience. I had a young family, my husband and I had been married 6 years and we had a beautiful four year old little girl named Emma. We worked hard the first six months renovating, cleaning and remerchandising the store into what we wanted. We had a grand opening and things were going well, even if money was tight. My husband has a job away from the store, the hardware store has always been my thing, it doesn't interest him the way it does me.
Six months after we bought the store, I felt a lump in my breast as I was getting dressed one morning. I was 34 years old, with a 4 year old, a new business, but my heart hit the floor as I had a feeling what it was. It took some testing, and finally an operation to find out it was stage 1, type 3, aggressive breast cancer. I had to have further lumpectomy, follow up testing to make sure it hadn't spread, all the while trying to keep things relatively normal for Emma and my husband, and still run a new business. Everyone was scared.
I started chemotherapy treatments, luckily in my hometown as I live in rural Manitoba. I would always plan them for Friday afternoon so I didn't have to be off work too much, trade my weekends, and be back as soon as I could. But I was so violently ill from the treatments, I had to be checked into the hospital the night before treatments so I could get enough fluids before my treatments.
Then came the 30 radiation treatments, these I had to travel 2 hours away to receive every day for 30 days. We have wonderful volunteer drivers who drive you into treatments and they would take me there and back every day so I could still run my business and see my family. It was a very difficult time as I was still receiving tests to see if the cancer had spread. It was tough to stay positive about it, my daughter was starting to have nightmares and wetting the bed, it was a long road. By the time I received my last radiation treatment it had been 8 months since I felt the lump. All this time, the business was going through the normal pains of a new business, cash flow, staffing issues, never mind having to face all that while I was bald and having post-chemo drip!
Thank you very much Michelle for exemplifying a woman of strength, bravery, integrity, perseverance, mentorship, love and of course moxie. We are so proud and excited to have you join our Moxie family of amazing Moxie Ambassadors. With love, excitement and honour, we are so happy to have you.


text:
UK Labour Party vows to roll out solar on 1.75m homes
The UK Labour Party has revealed plans to facilitate the installation of solar panels on 1.75 million homes, with a particular focus on low-income households.
May 16, 2019 Brian Publicover
Image: Nottingham City Council
The UK Labour Party has unveiled an ambitious new energy plan that will see PV modules installed on 1.75 million homes, via fair export tariff payments and grant funding. The policy is part of a broader effort by the party to improve the energy efficiency of homes throughout the country.
The policy will specifically target low-income households, particularly people in social housing, as part of the party's broader plan to improve the energy performance of UK homes.
"Too many think of green measures as just another way for companies or the government to get money out of them, while the rich fly about in private jets and heat their empty mansions," said Jeremy Corbyn, the leader of the Labour Party. "Labour's approach is different. Our Green Industrial Revolution will benefit working class people with cheaper energy bills, more rewarding well-paid jobs, and new industries to revive the parts of our country that have been held back for far too long."
According to the plan, 1 million state-subsidized housing units will be fitted with solar panels to provide low-income households with free electricity. All surplus electricity will be fed back into the national grid, the party said in an online statement.
In addition, the Labour Party has vowed to facilitate the installation of PV modules on 750,000 more homes via interest-free loans, grants and unspecified regulatory changes. Labour believes these efforts will create 16,900 new jobs and save 7.1 million tonnes of CO2, which it says is akin to removing 4 million cars from UK roads.
UK developer Solarcentury welcomed the announcement, with considerable praise for the policy's focus on low-income households.
"Financing the upfront cost of residential solar has always been a barrier to solar power adoption, so Labour's plan to offer interest-free loans to encourage take up is particularly welcomed by us," said Neil Perry, CFO of Solarcentury. "The plans are ambitious in terms of costing and scale, but this is the time to be bold in adopting renewable energy and moving towards a greener way of living."
The London-based Solar Trade Association (STA) also hailed the announcement as a positive development. It noted how the new policy comes on the heels of the recent closure of the feed-in tariff and the export tariff, just as the industry pushes back against newly proposed changes to the taxation of PV systems combined with battery storage.
"All modern political parties must now think big when it comes to empowering people to act on the biggest issue of our times: climate change," said Léonie Greene, the STA's director of advocacy and new markets. "The solar industry would relish scaling-up rapidly to deliver on these commendable ambitions which would see deployment rates double compared to the past decade. A solar homes push would give a tremendous boost to green jobs across the UK, which are good quality and local in nature."
In addition, the Renewable Energy Association (REA) praised the new policy announcement.
"Solar is one of the cheapest forms of energy. After years of damaging policies we would welcome the kick start to an industry that was thriving three years ago," said Dr. Nina Skorupska CBE, chief executive of the REA. "We need to focus on how we can achieve our climate targets cost effectively, and how we can get there practically. Networks and the grid have a vital role to play in supporting a cheaper, greener and more flexible energy market, and whilst we would support more policy and regulatory direction from government on how to achieve this, the priority must be to accelerate the decarbonization of our energy systems."
Brian Publicover
More articles from Brian Publicover


text:
U.S. envoy 'disappointed' by collapse of inter-Afghan peace meeting
KABUL (Reuters) - The U.S. envoy for peace in Afghanistan expressed disappointment on Friday after the collapse of a planned meeting between the Taliban and a group of Afghan politicians in Qatar that exposed some of the deep divisions hampering efforts to end the war.
Afghanistan President Ashraf Ghani speaks with Afghan delegations at the Presidential palace in Kabul, Afghanistan April 17, 2019. Presidential Palace/Handout via REUTERS
A 250-strong delegation of Afghan politicians and civil society figures had been due to meet Taliban officials in Doha at the weekend.
But the event was abruptly cancelled on Thursday amid arguments over the size and status of the group, which included some government officials attending in a personal capacity.
"I'm disappointed Qatar's intra-Afghan initiative has been delayed," Zalmay Khalilzad, the U.S. special representative for Afghan reconciliation, said on Twitter. "I urge all sides to seize the moment and put things back on track by agreeing to a participant list that speaks for all Afghans."
The collapse of the meeting before it had even started, described as a "fiasco" by one senior Western official, laid bare the tensions that have hampered moves towards opening formal peace negotiations.
Khalilzad, a veteran Afghan-born diplomat, has held a series of meetings with Taliban representatives but the insurgents have so far refused to talk to the Western-backed government in Kabul, which they dismiss as a "puppet" regime.
The Doha meeting was intended to prepare the ground for possible future talks by building familiarity among Taliban officials and representatives of the Afghan state created after the U.S.-led campaign that toppled the Taliban government in 2001. A similar encounter was held in Moscow in February.
President Ashraf Ghani's office blamed Qatari authorities for the cancellation, saying they had authorised a list of participants that differed from the one proposed by Kabul, "which meant disrespect for the national will of the Afghans".
"This act is not acceptable for the people of Afghanistan," it said in a statement on Friday.
Sultan Barakat, director of the Center for Conflict and Humanitarian Studies in Qatar, which had been facilitating the meeting, said there was no disagreement about the agenda.
"Rather, there is insufficient agreement around participation and representation to enable the conference to be a success," he tweeted.
Preparations had already been undermined by disagreements on the government side about who should attend, as well as by suspicions among rival politicians ahead of presidential elections scheduled for September.
The Taliban derided the agreed list of 250 participants as a "wedding party". Some senior opposition figures who had been included refused to attend.
The Taliban also objected to Ghani's comments to a meeting of delegates that they would be representing the Afghan nation and the Afghan government, a statement that went against the insurgents' refusal to deal with the Kabul administration.
The Taliban said holding a dialogue with the "powerless and crumbling Kabul administration is a waste of time" as their aim was to focus on the complete withdrawal of foreign forces from Afghanistan.
On Friday, three Afghan intelligence agency personnel were killed and two others wounded in an explosion near a provincial intelligence agency building in the western province of Herat, the National Directorate of Security said in a statement on Friday.
No militant group claimed responsibility for the attack.
Reporting by Abdul Qadir Sediqi and James Mackenzie, Jali Rezayee; Editing by Paul Tait and Alison Williams


If you're in the market for a 23-feet-tall KAWS sculpture, then you're in luck. The KAWS colossal CLEAN SLATE Companion sculpture will be a part of the Evening Sale of the 20th Century & Contemporary Art auction put on by Phillips. Originally debuted at Harbour City in Hong Kong, the piece is currently on display in the Phillips' plaza in New York. Experts estimate that the sculpture will sell for somewhere between $900,000 to $1,200,000—easily the most expensive KAWS work ever sold.
If you don't have a high enough ceiling for the giant sculpture, you might want to consider the other KAWS piece that is being offered. UNTITLED (FATAL GROUP) will be up for auction and is expected to sell for between $700,000 and $900,000 (this is expected to be the highest price ever for any painting by the artist). The subject of the painting is the characters from the cartoon The Fat Albert Show.


Transform the way you work and how you feel about it. Make work more fun, be more productive, and do good things for your body. It's all possible!
How? With The Original, our category-creating balance board. And when we say Original, we mean it literally…this was our first board to market, differentiated from the rest of our line by its hand-cast "skeleton" base, extreme sturdiness — strong enough to withstand the weight of our founder's truck driving over it — and custom colors.
The minute you step on to the Original's top deck and start moving, you'll notice a difference in how you work. Your mind will focus, while your body will respond with natural micro-movements that will soothe stiff joints, burn calories, keep you awake and alert (yes, you can avoid those afternoon snoozies!), and strengthen and stabilize your body.
According to a study of more than 400 FluidStance users, a vast majority felt more comfortable and more productive after using their board for just one week. Read the research.
Oh, about that fun part we mentioned…an eye-popping 83% of users feel happier when using our decks. So what are you waiting for?
26.5" long x 12.2" wide x 2.5" tall — About as big as a skateboard. Hand-cast aluminum base is .25" thick.
Weight: 7lbs, 11oz — About as heavy as a small cat.
Recommended for users under 350 pounds.
Ships in 1-2 business days — You could be on your new Original in a few days!
Each Original balance board is made in California. The top deck is bamboo, one of the world's most abundant and renewable resources, and is milled locally. The base is .25" thick, military-grade aluminum for increased strength and is cast using a "Green Sand Process," generating zero waste—we recycle the sand molds and place excess aluminum back into the supply chain. We use a powder-coat finish with near-zero emissions, and complete final etching in Santa Barbara.
"Ok, I bought it so I can keep moving at work, but soon found out that I can spin, walk it, and try different angles to adjust my posture.
I also have found that I am more refreshed and not so dead at the day as well! This has been a big plus for me since I am over the 50 mark in life."


text:
Q: Bootstrap affix transition width not working I have this code setup:
http://www.bootply.com/RaZJoa1ufg
But when i scroll the transition effect doesn't work, it works, but i need to increase it on both sides, not just one. Could someone help me with this?
Thanks in advance.

A: Change the CSS as follows:
Bootply.com
#navbar-search {
    width: 80%;
}

#navbar-search.affix {
    position: fixed;
    z-index: 10000;
    top: 0;
    width: 100%;
    padding: 0;
    -webkit-transition: width 1s; /* For Safari 3.1 to 6.0 */
    transition: width 2s;
    margin-left: auto;
    margin-right: auto;

    /* ADDED BELOW */
    right: 0;
    left: 0;
}

This also stops the jumping that happened in your example.


text:
Q: Como remover ultimo elemento de uma lista encadeada usando posição? Estou querendo remover o ultimo elemento de uma lista encadeada digitando a posição n:
quando digito 1,2,3,4,5 do e n=2, quero que fique 1,2,3,5 mas esta dando 1,2,3.
import java.io.IOException;
import java.util.Scanner;

class No {
    int val;
    No prox;

    No(int x) {
        val = x;
    }
}

public class Main {
    public static No removeNElementoDoFim(No cabeca, int n) {

        if (cabeca == null) {
            return null;
        } else {
            No ultimoNo = cabeca.prox;
            No penultimoNo = cabeca.prox;
            for (int i = 0; ultimoNo.prox != null && i < n; i++) {
                penultimoNo = ultimoNo;
                ultimoNo = ultimoNo.prox;
            }
            penultimoNo.prox = null;
            return cabeca;
        }

    }

    public static int[] stringToIntegerArray(String input) {
        input = input.trim();
        if (input.length() == 0) {
            return new int[0];
        }

        String[] parts = input.split(",");
        int[] output = new int[parts.length];
        for (int index = 0; index < parts.length; index++) {
            if (parts[index].trim().length() > 0) {
                String part = parts[index].trim();
                output[index] = Integer.parseInt(part);
            }
        }
        return output;
    }

    public static No stringToNo(String input) {

        int[] nodeValues = stringToIntegerArray(input);

        No root = new No(0);
        No ptr = root;
        for (int item : nodeValues) {
            ptr.prox = new No(item);
            ptr = ptr.prox;
        }
        return root.prox;
    }

    public static String noToString(No no) {
        if (no == null) {
            return "[]";
        }

        String result = "";
        while (no != null) {
            result += Integer.toString(no.val) + ", ";
            no = no.prox;
        }
        return "[" + result.substring(0, result.length() - 2) + "]";
    }

    public static void main(String[] args) throws IOException {
        Scanner scann = new Scanner(System.in);
        String line;
        while (scann.hasNextLine()) {
            line = scann.nextLine();
            No cabeca = stringToNo(line);

            int n = Integer.valueOf(scann.nextLine());

            No ret = removeNElementoDoFim(cabeca, n);

            String out = noToString(ret);

            System.out.print(out);
        }

        scann.close();
    }
}

A: Bom, vamos lá. Estou considerando que seja uma lista encadeada simples.
Irei lhe dizer a lógica:
Dentro do método que irá receber um valor n, você irá:
 1. Verificar se a lista não está vazia
 2. Se você tiver feito um atributo para o tamanho da lista, verifique se o valor digitado é menor ou igual o tamanho (considerando que o usuário digite 0 para o primeiro valor).
 3. Se sim, for menor, você irá fazer o seguinte:
 4. Criar um novo ponteiro auxiliar recebendo o inicio (fazemos isso para não ter que alterar o ponteiro início), exemplo:
no *aux = inicio;

int i;
for(i=0;i<posicao-1;i++) {
   aux = aux.prox;
}

Agora, precisaremos atualizar os ponteiros:
aux.next = aux.next.next;
tam--;

Como no java tem "coletor de lixo", não precisaremos excluir o aux que criamos.
Você pode incluir isso no começo:
   if(posicao<tam && posicao>=0){
     if(posicao==0){
         removerinicio();
   }

Caso o usuário digite 0!
Abraços!!!

A: Consegui resolver, mas não da maneira correta:
import java.io.IOException;
import java.util.Scanner;

class No {
    int val;
    No prox;

    No(int x) {
        val = x;
    }
}

public class Main {

    public static No removeNElementoDoFim(No cabeca, int n) {

        // Coloque seu código aqui
        No aux = cabeca;
        if (cabeca == null) {
            return null;
        } else {
            for (int i = 0; i < n - 1; i++) {
                aux.prox.prox.prox = aux.prox.prox.prox.prox;
            }

            return aux;
        }
    }

    public static int[] stringToIntegerArray(String input) {
        input = input.trim();
        if (input.length() == 0) {
            return new int[0];
        }

        String[] parts = input.split(",");
        int[] output = new int[parts.length];
        for (int index = 0; index < parts.length; index++) {
            if (parts[index].trim().length() > 0) {
                String part = parts[index].trim();
                output[index] = Integer.parseInt(part);
            }
        }
        return output;
    }

    public static No stringToNo(String input) {

        int[] nodeValues = stringToIntegerArray(input);

        No root = new No(0);
        No ptr = root;
        for (int item : nodeValues) {
            ptr.prox = new No(item);
            ptr = ptr.prox;
        }
        return root.prox;
    }

    public static String noToString(No no) {
        if (no == null) {
            return "[]";
        }

        String result = "";
        while (no != null) {
            result += Integer.toString(no.val) + ", ";
            no = no.prox;
        }
        return "[" + result.substring(0, result.length() - 2) + "]";
    }

    public static void main(String[] args) throws IOException {
        Scanner scann = new Scanner(System.in);
        String line;
        while (scann.hasNextLine()) {
            line = scann.nextLine();
            No cabeca = stringToNo(line);

            int n = Integer.valueOf(scann.nextLine());

            No ret = removeNElementoDoFim(cabeca, n);

            String out = noToString(ret);

            System.out.print(out);
        }

        scann.close();
    }
}


Remember my last post? Yup, I still need a clone.
I've been crocheting like a wild woman on some garments that I want to wear at the Knit & Crochet Show.
The theme for the CGOA part of the show this year is Pineapples. Which is perfect for me as I adore crocheting pineapples and love the look of them. They are one of those crochet stitch patterns that look really intimidating, but are actually much easier than you would expect.
I don't think I would start a beginning crocheter off with a project that used them. Then again that depends on how intrepid they are. It took me a long time to tackle pineapples in crochet patterns despite my love of them.
I really found my comfort level with them when I stumbled across stitch charts. Suddenly they made complete sense to me. Since then I have had a great time playing with them and have a couple of designs coming out in the next 6 months that include pineapples.
If you have been thinking about coming to the Knit & Crochet Show in Charleston you only have a few days left to do pre-registration. It closes July 1, 2016, that's this Friday! If you miss the pre-registration you can still register for the show, you'll just have to do it in person at the show.
Hope you can join me in Charleston. It's going to be lots of fun.


text:
The New Adventures of Beany and Cecil was a very short-lived revival of Bob Clampett's Beany and Cecil. It was produced in 1988 by DIC Animation City. Only five half-hour episodes aired out of the thirteen in production during its original run. This incarnation of the show was developed, produced, and directed by Canadian animator John Kricfalusi, who would later create Nickelodeon's The Ren & Stimpy Show.

Production
ABC had been negotiating for the production of the show with the Clampett family, who insisted that John Kricfalusi would be part of the production. The long negotiations delayed the start of production to mid-July, causing much of the animation to be rushed in order to meet the September deadline. Tensions rose between Kricfalusi and ABC over the tone of the show, leading to an uncomfortable atmosphere for the show's crew. The more ABC strove to soften the show, the more Kricfalusi pushed for shocking and offensive material. The Clampett family were ultimately not very happy with the cartoon, but remained supportive of Kricfalusi. ABC cancelled the show after a handful of episodes as they found the humor not suitable for children's programming. As a result, ABC replaced it with Hanna-Barbera's The Flintstone Kids.

Episodes
Thirteen half-hours were proposed, but only the first five were broadcast:

Cast
 Mark Hildreth – Beany
 Maurice LaMarche – Dishonest John, King Muckamuck (in "The Framed Freep"), Film Director (in "Cecil Meets Clambo")
 Jim MacGeorge – Captain Horatio Huffenpuff
 Billy West – Cecil, Dentist (in "Radio with a Bite"), DJ (in "Radio with a Bite"), Brotherhood of B.L.E.C.H. Member (in "Brotherhood of B.L.E.C.H."), Pinocchio (in "D.J.'s Disappearing Act"), Clambo (in "Cecil Meets Clambo"), Movie Trailer Announcer (in "Cecil Meets Clambo"), Head Waitress (in "The Golden Menu")

Additional voices
 Jane Mortfee
 Laura Harris
 Cree Summer-Francks

References

External links

1988 American television series debuts
1988 American television series endings
Television series by DIC Entertainment
1980s American animated television series
American children's animated fantasy television series
American Broadcasting Company original programming
Animated television series about children
Animated television series about dragons
Television series created by John Kricfalusi
Beany and Cecil


text:
Welsh Icons
About Wales
and all things Welsh
Garth Hill
Garth Hill (also called Garth Mountain) is a mountain located in South Wales. It can be seen near enough all over the Welsh capital city of Cardiff, and on a sunny day as far as Weston-super-Mare across the Bristol Channel in the South West of England. It lies in the Taff Vale with the village of Pentyrch on one side and looks down onto the small village of Gwaelod-y-Garth. The Garth has a number of tumuli on its top. These date from the early to middle bronze age, around 2000 BC. They are burial sites.
A book was written about "Ffynnon Garw" which was made into a film The Englishman Who Went Up a Hill But Came Down a Mountain (1995). The location of Ffynnon Garw rather implies it is The Garth; however, the story is fictional. The popular movie has resulted in a stream of visitors climbing to the summit of Garth Mountain to view the location. It is also a popular location for people seeking magic mushrooms.
But the increased number of walkers has caused concerns for conservationists who fear the real treasure of Garth Mountain could be damaged by the myth. They say the Bronze Age burial chamber has nothing to do with the mountain's classification. Now the History Society and the local community council are erecting a notice on the mountain to explain its real historical significance.
The Garth mountain has a sister mountain, the Lesser Garth. At one time both parts of the Garth were one mountain but a geological event caused their separation. The access road to Pentyrch village, Heol Goch, runs between the main and lesser Garth. There is a quarry on the Lesser Garth.
Comment Script
Post this page to:
[Home] [Food & Drink] [Symbols] [Sport] [Products] [Places] [Buildings] [Artists] [Entertainers] [Events] [Famous Welsh] [Journalists] [Musicians] [Politicians] [Songs] [Writers] [Welsh Info] [About Us] [Vox Pop] [Contact Us] [Forums] [Our Sponsors] [Welsh Produce] [Arts & Crafts]
All copyrights acknowledged with thanks to Wikipedia. Another site by 3Cat Design 2006-2008
Whilst we try to give accurate information, we accept no liability for loss or incorrect information listed on this site or from material embedded on this site from external sources such as YouTube.
If you do spot a mistake, please let us know.
Help Keep this site
This Space
could be YOURS
From Just �30
a Year
Help us to keep
this Site up and running
Admission Charges
Arts/Galleries
B&B�s/Guest Houses Campsites/Caravans
Pubs/Bars
Schools/Colleges:
Shops/Gifts
Taxis:
Welsh Produce
Illustration(s) or
photograph(s)


Captain's Club Casino poker room offers only Texas Hold'em and the tables have less traffic during week days. At times, the tables are closed if traffic is not available but you can request for poker at any given time if you come as a group.
Who owns Captain's Club Casino?


15'0" x 5'10" with moulded plaster cornice.
with traditional style cast iron fireplace and painted surround, recessed display shelving, wall lighting points, moulded plaster cornice.
marble and polished granite open fireplace with mahogany surround, wall lighting points, moulded plaster cornice.
with Aga oil fired range cooker and recently installed contemporary style fitted kitchen with soft close drawers and doors, Neff ceramic hob with stainless steel extractor stack and splashback, integrated automatic dishwasher and automatic washing machine, 1½ bowl stainless steel sink.
with pedestal handbasin, w.c., bath, illuminated mirror and heated towel ladder.
with marble fireplace, moulded plaster cornice and glazed doors to dining room.
with eye and low level fitted cupboards, automatic washing machine and dishwasher, stainless steel sink. Independent exterior access to ground floor.
with full length fitted wardrobe suite. Ensuite: dual flush w.c., wall mounted handbasin with vanity unit, Showerlux shower cabinet with thermostatic shower.
Duravit wall mounted handbasin, illuminated mirror, dual flush w.c., 6' shower cabinet with rainfall shower system, illuminated wall cabinet, chrome heated towel ladder.
Located at the waters edge on Ballycastle beach this impressive 19th century property enjoys stunning panoramic views over Ballycastle Bay to Rathlin Island, Fair Head, the surrounding coastline and the Mull of Kintyre. The property offers a flexibility of use with a spacious blend of accommodation extending to approximately 3000 square feet and magnificient views from all principal rooms.
Enclosed rear yard with boiler house, fuel stove and general purpose store.
Garage: with remote operated roller door, power and lighting points. Half loft storage.
The large garden to front, side and rear is in lawn with 6' boundary hedging and fencing and a tarmac driveway and parking area. Private pedestrian access gates open directly to the beach and Margy River pathway offering easy access to Ballycastle Strand and the promenade.
I am interested in arranging a viewing of Moyle House, 4 Cushendall Road after seeing it on Propertynews.com. Please contact me about this property.


text:
Q: How to use ASP.NET Identity for Temporary Administrator Access [Coming-Soon-Page] I am creating a new website, and it's already online, but I want to block access to everyone! And just let my client use it to check the development process everyday, so he don't need to download everything and set up on his computer..
I was wondering about using ASP Identity, is there any simple "hack" to achieve this?
Or my only way is the following:

*

*Add the Register Page to the WebSite

*Register an account with Administrator role

*Delete Register Page of the WebSite

*Use always the same account to check the page

Waiting for an answer, how to simply and easily achieve this?
EDIT: Maybe there is a way to create a default username (that in this case will be my Administrator?)
Thank you!
Thank you very much!

A: As the user @trailmax suggested I was not choosing the best place to insert default users for Identity, since I was inserting the users each time the constructor of the context was called.
After analysis of course that's not a good option, because every time I access my DbSets I use the context constructor, triggering additional sql queries to Roles and Users DbSets, without need (because I only need that query on the startup to insert the users if they don't exist).
So.. since my web-hosting plan don't allow any Update Migrations neither Seed Methods to be runnable from Package Manager Console (because it always reference the 'master' database which I don't have permissions), I figured out this solution:
1) I create all my tables running a sql script on my remote mssql database (to get the generated SQL Script from my contexts and models, I type the following command in Package Manager Console:
Update-Database -Script -SourceMigration:0

2) Then I need to set Database Initializer to null, so EF doesn't try to drop/create a Database and finnaly I just invoke a method on my Context Class from my Global.asax in the method Application_Start:
protected void Application_Start()
{
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     Database.SetInitializer<MyContext>(null);
     new MyContext().CreateDefaultUsers();
}

3) And here is my method, that is only called on Application Startup (I am almost sure about it, at least I hope so, I wanna save CPU Clocks!)
public class MyContext : IdentityDbContext<IdentityUser>
{
        public MyContext() : base("MyContext")
        {
        }

        internal void CreateDefaultUsers()
        {
            if (!Roles.Any(r => r.Name == "admin"))
            {
                var RoleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>(this));
                RoleManager.Create(new IdentityRole("admin"));
            }

            if (!Users.Any(u => u.UserName == "myadmin"))
            {
                var store = new UserStore<IdentityUser>(this);
                var manager = new UserManager<IdentityUser>(store);

                var user = new IdentityUser { UserName = "myadmin" };

                manager.Create(user, "mysupersafepwlulz");
                manager.AddToRole(user.Id, "admin");
            }
        }
     //More stuff not relevang for the question...

}

I hope this helps someone out there, and thank you @trailmax !

A: How secure do you need this to be?  You could go about it in another fashion, by restricting by IP.
Option 1 - Only allow specific IPs to your site
I'd recommend blocking all access to the site in your web.config and only whitelist the IP(s) that you and the client would be connecting from - it'll save you time, and it would ensure that you're only getting connections from IPs you trust.
Modify the appropriate web.config
<configuration>
  <system.webServer>
    <security>
      <ipSecurity allowUnlisted="false">
        <clear/>
        <add ipAddress="127.0.0.1" allowed="true"/>
        <add ipAddress="x.x.x.x" allowed="true"/>   <!-- your internal or external ip -->
        <add ipAddress="x.x.x.x" allowed="true"/>   <!-- your client's ip -->
        <add ipAddress="a.b.c.0" subnetMask="255.255.255.0" allowed="true"/>  <!-- your IP range (or client's IP range), if connecting from multpipe IPs on same subnet -->
      </ipSecurity>
    </security>
  </configuration>
</system.webServer>

Add as many <add> directives as needed
Option 2 - add basic authentication to web.config
This is not a permanent solution.  Look into other authentication methods for long term.
<system.web>
  <authentication mode="Forms">
    <credentials passwordFormat="Clear">
      <user name="jdoe1" password="someinsecurepassword" />
    </credentials>
  </authentication>
  <authorization>
    <allow users="jdoe1" />
    <deny users="*" />
  </authorization>
</system.web>

A: So I manage to this with a specific DbContext that creates my default user if he doesn't exist on the Database.
Here is the follow up code:
namespace MyNamespace
{
    public class MyContext: IdentityDbContext<IdentityUser>
        {

            public MyContext() : base("DefaultConnection")
            {
                if (!Roles.Any(r => r.Name == "admin"))
                {
                    var RoleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>(this));
                    RoleManager.Create(new IdentityRole("admin"));
                }

                if (!Users.Any(u => u.UserName == "mydefaultuser"))
                {
                    var store = new UserStore<IdentityUser>(this);
                    var manager = new UserManager<IdentityUser>(store);

                    var user = new IdentityUser { UserName = "mydefaultuser" };

                    manager.Create(user, "password");
                    manager.AddToRole(user.Id, "admin");
                }
            }

            protected override void OnModelCreating(DbModelBuilder modelBuilder)
            {
                base.OnModelCreating(modelBuilder);
                modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
            }

            public DbSet<MyItem1> myStuff1 { get; set; }
            public DbSet<MyItem2> myStuff2 { get; set; }
            public DbSet<MyItem3> myStuff3 { get; set; }
            public DbSet<MyItem4> myStuff4 { get; set; }
            public DbSet<MyItem5> myStuff5 { get; set; }
        }
}

Then I needed to specify the config class for the Identity creating this class on App_Start:
namespace MyNamespace
{
    public class IdentityConfig
        {
            public void Configuration(IAppBuilder app)
            {
                app.CreatePerOwinContext(() => new WeirdMachineContext());
                app.UseCookieAuthentication(new CookieAuthenticationOptions
                {
                    AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                    LoginPath = new PathString("/Home/Login"),
                });
                FormsAuthentication.SetAuthCookie("CookieValue", false);
            }
        }
}

And last I had to add the following in Web.config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections></configSections>
  <appSettings>
    <!-- A lot of other stuff here.. -->
    <add key="owin:AppStartup" value="MyNamespace.IdentityConfig" />
  </appSettings>
    <!-- More stuff here.. -->
</configuration>

I hope it helps someone out there ;)
Good luck!


text:
/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.prestosql.spi.block;

import io.airlift.slice.DynamicSliceOutput;
import org.testng.annotations.Test;

import static io.prestosql.spi.block.BlockTestUtils.assertBlockEquals;
import static io.prestosql.spi.type.VarcharType.VARCHAR;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;

public class TestDictionaryBlockEncoding
{
    private final BlockEncodingSerde blockEncodingSerde = new TestingBlockEncodingSerde();

    @Test
    public void testRoundTrip()
    {
        int positionCount = 40;

        // build dictionary
        BlockBuilder dictionaryBuilder = VARCHAR.createBlockBuilder(null, 4);
        VARCHAR.writeString(dictionaryBuilder, "alice");
        VARCHAR.writeString(dictionaryBuilder, "bob");
        VARCHAR.writeString(dictionaryBuilder, "charlie");
        VARCHAR.writeString(dictionaryBuilder, "dave");
        Block dictionary = dictionaryBuilder.build();

        // build ids
        int[] ids = new int[positionCount];
        for (int i = 0; i < 40; i++) {
            ids[i] = i % 4;
        }

        DictionaryBlock dictionaryBlock = new DictionaryBlock(dictionary, ids);

        DynamicSliceOutput sliceOutput = new DynamicSliceOutput(1024);
        blockEncodingSerde.writeBlock(sliceOutput, dictionaryBlock);
        Block actualBlock = blockEncodingSerde.readBlock(sliceOutput.slice().getInput());

        assertTrue(actualBlock instanceof DictionaryBlock);
        DictionaryBlock actualDictionaryBlock = (DictionaryBlock) actualBlock;
        assertBlockEquals(VARCHAR, actualDictionaryBlock.getDictionary(), dictionary);
        for (int position = 0; position < actualDictionaryBlock.getPositionCount(); position++) {
            assertEquals(actualDictionaryBlock.getId(position), ids[position]);
        }
        assertEquals(actualDictionaryBlock.getDictionarySourceId(), dictionaryBlock.getDictionarySourceId());
    }
}


Kale-sauce pasta.CreditCreditGentl and Hyers for The New York Times. Food stylist: Maggie Ruggiero. Prop stylist: Gozde Eker.
When people want to communicate that a food has the potential to take off — to flood restaurant menus and recipe blogs, to drive grocery sales and anchor lines of packaged health foods — they'll often insist that it's "the next kale." It probably isn't; kale's triumph in the United States is exceptional. In a recent article for the online magazine Taste, the writer Mari Uyehara traced kale's kaleidoscopic success — from relative obscurity as an Italian cooking green to chain-restaurant salads to the diets of millions of Americans — back to the fall of 2007.
That's when Joshua McFadden was working as the chef de cuisine at Franny's, a pizzeria in Brooklyn, and improvised a new dish using the raw dark leaves of lacinato kale. The vegetable, with roots in the Mediterranean, was typically cooked to break down its network of tough fibers, and it was still fairly unusual, though not entirely unheard-of, to serve it raw. McFadden rolled the kale tightly to make a chiffonade, cutting it into thin, delicate strips measuring 1/16 of an inch wide, and marinated these with garlic, olive oil, lemon juice and cheese. It was a low-key dish on a low-key day, but it became a part of American restaurant mythology all the same, because it wasn't long afterward that the kale salad ascended to fame and kale, once an esoteric green, went mainstream.
In his cookbook "Six Seasons: A New Way With Vegetables," published last May, McFadden includes a recipe for the dish and calls it "The Kale Salad That Started It All." I'd had the salad, and in the following years I had my fill of its rough, endlessly chewy imitations — too often made with thick, ancient leaves. It had the effect of putting me off kale altogether, especially when it was served raw. When I spent a few weekends last year cooking from McFadden's book, propelled from one recipe to the next, I was careful not to brush up against a single bunch of the stuff.
This was easy. I made the fava beans on toast. The celery dressed with minced anchovies and raisins. The buttery walnut crostata filled with chard and ricotta. His instructions were loose but sharp-eyed, with constant reminders that a wide range of possibilities exists for every vegetable. Celery, for example, could be dressed raw, or it could be braised with olive oil and white wine, or it could be simmered with vegetable stock and blended into an unexpectedly luxurious soup. Every vegetable could shine, not in the limited ways you expected them to, but in many ways.
As winter started to creep in, later than usual, and hardy greens took over the market stands in Brooklyn, I turned increasingly to McFadden's suggestions for what to do with collard greens (stew them with beans and chiles and an old, dried-out rind of cheese). And kale. I'd nearly forgotten that kale wasn't only a hyperbolic pitch or a lazy headline; that it was a reliable, cheap green that made for good eating, especially when it was cooked — until I followed McFadden's recipe for a kale-centric pasta sauce.
CreditGentl and Hyers for The New York Times. Food stylist: Maggie Ruggiero. Prop stylist: Gozde Eker.
I was drawn in by the simple technique: You pull lacinato kale leaves from their pale, woody ribs and blanch the greens in salted boiling water, just until they are tender. Then you whir the dripping-wet kale in a blender with some garlic and the olive oil that the garlic was fried in and season it all with salt and pepper. The kale, puréed this way, turned a vivid green — a sunny almost neon green. It appeared glossy and completely smooth, and it tasted sweet and mellow. Tossed with pasta, grated Parmigiano and a little extra pasta water, it loosened up, becoming very nearly creamy. And it was done in the same amount of time it would take to make a salad.


text:
Q: My cogs do not work discord.py/nextcord.py My cogs do not work on nextcord.py
I have error like this:
help cannot be loaded. [Extension 'help' could not be loaded.]
Moderation cannot be loaded. [Extension 'Moderation' could not be loaded.]
other cannot be loaded. [Extension 'other' could not be loaded.]
cogs.help cannot be loaded. [Extension 'cogs.help' could not be loaded.]
cogs.Moderation cannot be loaded. [Extension 'cogs.Moderation' could not be loaded.]
cogs.other cannot be loaded. [Extension 'cogs.other' could not be loaded.]

also, my code look like this:
@bot.command()
async def load(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.load_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is loaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

@bot.command()
async def unload(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.unload_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is unloaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

@bot.command()
async def reload(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.unload_extension(f'cogs.{extensions}')
        bot.load_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is unloaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

initial_extensions = [
    'help',
    'Moderation',
    'other'
]

for filename in os.listdir('./сogs'):
    if filename.endswith('.py'):
        initial_extensions.append(f"cogs.{filename[:-3]}") #Загрузка всех когов

if __name__ == '__main__':
    for extension in initial_extensions:
        try:
            bot.load_extension(extension)
        except Exception as error:
            print('{} cannot be loaded. [{}]'.format(extension, error))

I think the problem is in the last lines of the code. When Im trying delete if name == 'main' piece of code, bot starts to work but command do not work.

A: In the files for the cogs you should set them up using
import discord
from discord.ext import commands

class Cog(commands.Cog):
  def __init__(self, bot):
    self.bot = bot

  @commands.Cog.listener()
  async def on_ready(self):
    print("Cog 'Cog' loaded")

def setup(bot):
  client.add_cog(Cog(bot))

In main.py, you should use
import discord
from discord.ext import commands

bot = commands.Bot(command_prefix="prefix")

cogs = ["Cog", "moderation", "other", "etc"]
if __name__ == "__main__":
  for cog in cogs:
    bot.load_extension(cog)

This way the bot should be able to load the extensions. You don't have to find the filenames using os

A: I guess this might be a better method:-
do this in main.py
import discord
from discord.ext import commands
import os

class Bot(commands.Bot):
    def __init__(self):
        super().__init__(command_prefix='+', help_command=None, intents=discord.Intents().all())

        for filename in os.listdir('./cogs'):
            if filename.endswith('.py'):
                self.load_extension(f"cogs.{filename[:-3]}")

bot = Bot()

bot.run('token')

I hope this works! If it still doesn't work you may ask in nextcord's discord server or else create a new issue in the github page.

A: I don't have any reputation to comment.
It would be best to remove the except statement so the full traceback can be seen.
@bot.command()
async def load(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.load_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is loaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

@bot.command()
async def unload(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.unload_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is unloaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

@bot.command()
async def reload(ctx, extensions):
    if ctx.author.id == 606433100150472704:
        bot.unload_extension(f'cogs.{extensions}')
        bot.load_extension(f'cogs.{extensions}')
        await ctx.send("Cogs is unloaded...")
    else:
        await ctx.send("Вы не являетесь разработчиком...")

initial_extensions = [
    'help',
    'Moderation',
    'other'
]

for filename in os.listdir('./сogs'):
    if filename.endswith('.py'):
        initial_extensions.append(f"cogs.{filename[:-3]}") #Загрузка всех когов

if __name__ == '__main__':
    for extension in initial_extensions:
        try:
            bot.load_extension(extension)
        except Exception as error:
            print('{} cannot be loaded. [{}]'.format(extension, error))

If this error is still occuring, send your code and full traceback to the help channel in the nextcord server


Updated SkinCare Routine for Oily Acne Prone and Aging Skin!
Posted on February 28, 2012, 12:53 am, by admin, under Beauty Product Reviews.
Anti Aging, Acne, Stretch Marks, Cellulite, Skin Exfoliator, Acne Spot Gel for Skin care?
Posted on February 10, 2012, 3:14 am, by admin, under Beauty Product Reviews.
Vitamin C 20% Serum Advanced Formula + 1 oz / 30 ml – 20% Vitamin C, 0.5% Ferulic acid, and hyaluronic acid. Highly concentrated, UV protection, prevents skin aging.
Posted on January 16, 2012, 8:47 am, by admin, under Beauty Product Reviews.
Posted on December 26, 2011, 2:47 am, by admin, under Beauty Product Reviews.
What should you use for skin aging- creams or machines?
Posted on December 20, 2011, 12:48 pm, by admin, under Beauty Product Reviews.


text:
ShaDon Brown Joins Satterfield's Staff As Safeties Coach
Scott Satterfield has now made it official with three additions to his coaching staff. Defensive coordinator Bryan Brown and QB coach Frank...
Frank Ponce Hired As Louisville QB Coach
Scott Satterfield has made it official with the hiring of Frank Ponce as the next quarterbacks coach at Louisville. Ponce is one...
It's Official: Bryan Brown Hired As Louisville Defensive Coordinator
Shortly after Scott Satterfield took over the Louisville football program we learned of three assistant coaches that were reportedly set to join...
Brian VanGorder & Lonnie Galloway Have Reportedly Landed New Gigs
It didn't take long for two staffers from the Louisville football program's previous regime to find work. Per FootballScoop.com, Lonnie Galloway will...
Satterfield's Staff Coming Together
In less than a week on the job Scott Satterfield has reportedly found three staff members to join him at Louisville. Over...
Behind The Scenes: Scott Satterfield's First Day In Louisville
The videography folks over at UofL spent the afternoon following Scott Satterfield during his first day on the job. Checkout the awesome...
Satterfield Aces First Impression With Enthusiasm & Likability
University of Louisville president Neeli Bendapudi and athletic director officially introduced Scott Satterfield as the university's next head football coach on Tuesday...
Watch Live: Scott Satterfield Introduced As Louisville's Next Coach
Scott Satterfield's introductory press was conference was slated to start at approximately 4:30. Watch live here, courtesy of WHAS11.com. Cardinal Connect Staffhttp://admin
Scott Satterfield Has Arrived In Louisville
The flight trackers were out in full force today as Scott Satterfield and his family make their trip to Louisville to be...
Five Things You Should Know About Scott Satterfield
On Tuesday afternoon Scott Satterfield will be officially introduced as the next football coach at the University of Louisville. By now, you've...
Louisville Will Hire Scott Satterfield
Nothing is official yet, but Vince Tyra's coaching search appears to be over and all signs point to it being Appalachian State's...
Despite Reports Of Mystery Candidates, Satterfield Still Looks Like The Guy For Louisville
As of Monday afternoon the Louisville football head coaching position is still vacant. Given that Appalachian State's Scott Satterfield confirmed on Friday...
Louisville Coaching Search: Mystery Candidate Reportedly Emerges
Since Jeff Brohm's rejection last week, Appalachian State head coach Scott Satterfield has moved to the top of the list as most...
UofL Responds To Report Of Jon Greenard Transferring
Earlier this morning we shared the report from Rivals.com's Dave Lackford that Louisville redshirt junior Jon Greenard would be transferring to Florida....
Page 5 of 285‹ Previous123456789Next ›Last »


text:
Yasjön är en sjö i Hylte kommun i Småland och ingår i . Sjön har en area på  kvadratkilometer och ligger  meter över havet. Sjön avvattnas av vattendraget Yabergsån. Vid provfiske har bland annat abborre, braxen, gers och gädda fångats i sjön.

Delavrinningsområde
Yasjön ingår i det delavrinningsområde (631589-135407) som SMHI kallar för Utloppet av Yasjön. Medelhöjden är  meter över havet och ytan är  kvadratkilometer. Räknas de 2 avrinningsområdena uppströms in blir den ackumulerade arean  kvadratkilometer. Yabergsån som avvattnar avrinningsområdet har biflödesordning 3, vilket innebär att vattnet flödar genom totalt 3 vattendrag innan det når havet efter  kilometer. Avrinningsområdet består mestadels av skog (65 %). Avrinningsområdet har  kvadratkilometer vattenytor vilket ger det en sjöprocent på  %.

Fisk
Vid provfiske har följande fisk fångats i sjön:

 Abborre
 Braxen
 Gärs
 Gädda
 Mört
 Sik
 Sutare

Se även
 Lista över insjöar i Hylte kommun

Källor

Externa länkar

Insjöar i Nissans avrinningsområde
Insjöar i Småland
Insjöar i Hylte kommun
Insjöar i Sverige om minst två kvadratkilometer