text:
All Development Services Our Process and Approach Web Applications Desktop Applications Mobile Apps UX/UI Design & Development Software Integrations Maintenance and Support
All Industries Non-Profit and Religious Healthcare Insurance Ecommerce Start-Ups Manufacturing & Logistics Small Businesses
NoSQL Excursions in Relational SQL Databases
Information to help engineers decide whether to opt for a traditional relational database (RDBM) or what has been coined a NoSQL database (NoSQL).
October 2nd, 2019 • Custom Software Development Resources: Articles
Any software engineer who participates in the early stages of an application build will inevitably be faced with the decision of selecting a database for storing its data.
Unfortunately, that is not an easy choice. Engineers can find themselves spinning in the myriad of database options, in particular when deciding whether to opt for a traditional relational database (RDBM) or what has been coined a NoSQL database (NoSQL).
Let's go over some differences between the two. Then, we'll cover some NoSQL crossover functions you will find in modern RDBMS – which might be just what you are looking for.
RDBMS vs. NoSQL
There are many reasons why someone would want to use the comfort of a relational database. After all, these are the classic databases, with large communities of support, predictable behavior, and built-in mechanisms for data integrity and which can be queried by the infamous SQL language.
SQL – structured query language – is a widely used, versatile language that allows users to search for anything in a database and organize the results in a variety of ways. Rare is the software engineer who has never written SQL queries. These databases have been around for ages, and everyone knows (or should know) how to use them. There are several reputable options to pick from in the open-source community – MariaDB, PostgreSQL, and SQLite, to name a few – and there are several other respectable options in the commercial market as well – such as Microsoft SQL Server, Oracle, and MySQL.
So, if relational databases are so great, why was the NoSQL database invented?
Well, there are certain functions relational databases do not perform well at: working with non-relational data (e.g. JSON, XML, graph, and spatial); building hierarchical data structures; storing large numbers of documents in a distributed way; scaling horizontally; dealing with fault tolerance; or working with data that does not have a predefined schema structure and whose structure can evolve over time (e.g. JSON).
These are the types of situations in which relational databases struggle. Horizontal scaling alone, for example, addresses the ability of a database system to be spread across multiple nodes. While that can be accomplished in an RDBM with a technique called sharding – breaking one large database into multiple smaller, self-contained databases – this is painful to maintain and even more difficult to query globally.
Other capabilities, like fault tolerance, can be managed with replication, but that is also painful to set up and maintain and taxing to recover from. (That said, we have seen great results with SQL Azure – but more on that later.)
Differences in Data Storage
Another key differentiator between RDBMS and NoSQL is how they store data.
In a relational database, data is stored very structurally. Data is placed in tables, which contain rows. Rows are defined with columns, each with its own data type. This is what we call the database schema. The data to be stored must be mapped in advance and organized by defining relationships. Increasing the performance of the relational database is usually done vertically, by improving hardware (e.g. more CPU, storage, or network).
On the other hand, data in a NoSQL database can be stored more flexibly and in more than one manner, where the number of ways and the methods of organization are driven by the specifications of the application. Data can be filed into several types, key-value store, document store, graph store, or column store, to name a few.
The most obvious NoSQL public key-store is probably Amazon S3. It's not fast, but you don't have to worry about the availability of your data. Listing items in a bucket (folder) is an iterative process where you can retrieve 1000 objects at a time until there are no more objects to return. It changes how you access data.
The point is, a NoSQL database has been specifically designed to be agnostic to the structure of the data it stores. It does not necessarily know how its data is organized, but it does know how to retrieve it quickly or store it across multiple nodes for better availability. (Think of a distributed file server.) In other words, the database stores the object as is in a column.
Which leads us to another big differentiator: You can't use SQL to query a NoSQL database.
SQL with NoSQL Crossover Functions
So, to the engineer who is building a new application, it should become obvious that the two types of databases have their use cases, and it should be even more obvious that neither should be solely responsible for storing all the data of the application. While you would want documents to be spread across nodes, you would not want your user records similarly spread. This would be difficult to manage and, more importantly, insecure. A user table should be stored in a relational database.
By the same token, it is fairly common to have a requirement where the structure of the data to be stored is not known in advance or could evolve over time, like user settings, survey entries, user input, metadata, etc. You would not want to store these in a traditional table with a large number of columns just to deal with the "in case we need it" approach.
Does this mean that the engineer building a new application with both relational and non-relational needs is now faced with setting up two databases side-by-side and having the application access one or the other depending on the situation? That would be tedious.
Enter NoSQL functions of traditional relational databases.
The reality is that most applications continue to have a large relational requirement while also exhibiting a small NoSQL requirement. To address this need, most modern relational databases now offer some NoSQL functions that alleviate some obvious NoSQL use cases, specifically JSON, XML, and spatial and graph data types.
However, the scalability or distribution requirements addressed by a NoSQL database will not be solved by these NoSQL functions. The XML type is useful, but rare is the programmer who does not have a love-hate relationship with XML. Spatial data has its uses, but unless you are dealing with geometric data sets (circles, points, etc.) then it will be of little service to you.
JSON and Graph Data: The Big Winners in Modern RDBMS
The two most exciting types are JSON and graph data types. These non-relational data types are very convenient, as we will describe below.
JSON is very much like XML in that you store data that represents an object but whose content the database does not actually care for.
You can extract data from JSON columns as sub-JSON objects (see JSON_VALUE for SQL Server) or as normal scalars (see JSON_QUERY for SQL Server), which means you can write queries to extract a specific property of the object. You can also use JSON objects as sub-tables which you can join with a regular table (see OPENJSON for SQL Server).
SQL Server, SQL Azure, MySQL, MariaDB, PostgreSQL, and SQLite all provide their own JSON manipulation functions.
The other very exciting bit is the ability to use graph data. Graph data consists of classic SQL tables that are then defined as either node, for storing data, or edge, for storing a relationship.
SQL Server provides a very interesting set of graph functions. These node and edge tables behave very much like traditional tables and can be queried normally, and the graph queries dramatically augment the ability to investigate relationships amongst the data. These are great tools for dealing with relational data.
Options for Scaling an RDBMS
Unfortunately, the NoSQL functions of these relational databases stop here.
We have yet to see relational databases provide clean support for sharding or distributing content across nodes. Distributing content would make it very difficult to maintain relationship integrity, which is a core promise of an RDBM.
That said, SQL Azure and Amazon Aurora, for example, are two mature, promising database choices that have begun to exhibit some cloud-style scaling. Users can essentially let the cloud services scale a database to large proportions. Unless you are building a new, Facebook-like application, chances are that most relational databases would be suitable for your application.
Request a quote for your next project
Our Approach and Process
Non-Profit and Religious
Address: 620 NE 3rd Street, Suite A McMinnville, OR 97128
Email: connect@buildableworks.com
Talk with an expert at Buildable about your project.
Copyright © 2021 Buildable.
Web Design and Web Development by Buildable


text:
What is the "Turkish option"?
Exiting the EU but joining the EU's Customs Union.
What would it mean for the UK?
Customs Union countries operate under a common trade policy, common rules of origin and a common external tariff. No duties on goods that are traded with the EU, in return for compliance with single market regulation. The Customs Union covers all industrial goods but does not address agriculture (except processed agricultural products) or services, so financial services would not be covered.[1]
The UK would have no vote or influence over the trade deals that the EU pursues: external trade policy would effectively be outsourced to the EU.
The UK would receive partial access to the single market, not including services or finance.
No EU budget contributions would be required.
The UK would not be subject to the rules on freedom of movement and would have full control over its own borders. However, British people would equally lose the right to work and travel freely across the EU.
Again, the UK would not have a say in how the rules are made: Turkey must comply with many EU single market regulations and all EU trade arrangements, but has no influence on their composition.
As with the Swiss arrangements, the customs union with Turkey was established as a precursor to EU membership; it is not clear that there would be appetite within the EU for extending a similar arrangement to the UK.
The UK business lobby view
"It would not be in the UK's interest to be a silent partner in the EU's trade policy, allowing other countries to set the tone for Europe's openness to the world and the details of its trade deals, which would define the daily framework for the UK's global trade. The UK needs to be at the table setting the mandate and approving the final agreement". CBI, "Our Global Future: The Business Vision for a Reformed EU", November 2013.
EU trade with Turkey – http://ec.europa.eu/trade/policy/countries-and-regions/countries/turkey/index_en.htm. See also Decision No 1/95 of the EC-Turkey Association Council of 22 December 1995 on implementing the final phase of the Customs Union (96/142/EC) – http://trade.ec.europa.eu/doclib/docs/2003/december/tradoc_115267.pdf. ↑

redpajama_set_name: RedPajamaCommonCrawl


Chemistry is the detailed study of the interaction of matter and energy that applies analytical investigation, observation, experimentation, models, evidence, and systematic processes to the manipulation of chemical quantities and problem solving applications in various earth science, life science, and other physical science fields of study.
In this course, emphasis is given to qualitative and quantitative study while students explore: Scientific Investigations; Atomic Structure and Periodic Relationships; Chemical Formulas and Reactions; Molar Relationships; and Phases of Matter and Kinetic Molecular Theory.
Students are encouraged to share their ideas, use the language of chemistry, discuss problem-solving techniques, and communicate effectively. Student work will be required outside of class time.
During the course, students will participate in virtual interactive chemistry laboratory experiences tailored to high school level chemistry to enhance the learning experience.
Following this course, students take the end-of-course Virginia Chemistry Standards of Learning (SOL) testas arranged by the student's local school. A qualifying score allows a verified credit per the VDOE.


Murray Whelan – political fixer, hopeless romantic, inadvertant detective and accidental MP – is the unreliable narrator of six novels. Sequentially, they follow his journey through the ranks of a well-known but entirely fictional Australian political party. The action takes place mainly in Melbourne, a city on the way to nowhere. Each story is a stand-alone episode in Murray's stumble upwards through the political process from lowly electorate officer to member of the federal parliament.
Intended as political satire and badged as crime, they defy easy categorisation and have been callled everything from apparachik-lit to retro-thrillers. They abound with cheap laughs and terrible puns.
The first book,Stiff, is set in 1984. The most recent,Sucked In , takes place in the vicinity of 1998.
For the details of each book, simply click the link and a new window will open.
Some thoughts about the perils and pleasures of being translated can be found on the Articles page.


Since hubby had the brilliant idea of doing a Stock Christmas Wishlist I figured I would jump on the bandwagon and follow-on with an RV Wishlist. In my festive spirit I initially came up with a cool list of ~1,000 items, but in order to give you a sporting chance of actually finishing the read before Christmas Eve I decided to narrow things down a tad and look at books.
Free Campgrounds by Don Wright – guide to cheap campgrounds in the West. It's not fool-proof and most of the prices listed are for seniors, but it's as close as you'll come to a comprehensive guide to alternative spots.
Camping with the Corps of Engineers by S.L Hinkle – Great little guide to COE campgrounds. It's a few years old (2007), but still the best reference.
2/ RV Maintenance & Repair – As J.R.R Tolkien would likely have written, there's one book to rule them all and that's RV Repair and Maintenance Manual by Bob Livingston. 'Nuff said.
RV Road Atlas by Trailer Life – For macro-planning. The binding on this book leaves something to be desired (everyone complains about it coming apart), but it's a great resource. It's currently next to our beds and we're already happily plotting next year's travel as part of our bedtime reading.
The Next Exit – Fabulous little book showing everything at every exit. We use this book to find Truck Diesel stops and other exit items and never travel without it.
Understanding Exposure by Bryan Peterson – One of my absolute favorite photo books and great for beginners. I learned everything I've ever really needed to know about exposure and manual camera settings from here.
Nature Photography by John Shaw – Still one of the best books on nature and landscape photography, in my mind.
Mountain Light by Galen Rowell – For oogling and drooling over pictures that you dream of taking one day. This is not your typical photo book, but goes through many of Galen's fabulous shots and describes how he took them. I learnt a lot from reading about his techniques.
The Negative, The Camera, The Print by Ansel Adams – For the enthusiast looking to get into nitty, gritty details. These books are based on old film cameras, but will teach you details about photography that you can't get anywhere else. Ansel Adams was definitely the master.
Cool! Glad to see you mention John Shaw's Nature Photography. One of my favorite books for a good solid intro and I very rarely see it recommended.
We ordered that RV repair manual. While I love his column on Highways and read it constantly, I didn't find much in there of use for newer rigs. I will continue to follow him in Highways. The Road Atlas is excellent and thanks for the info about the Corps of Engineers site. I love following Rex Vogel on twitter and RV.net. He tells you all the secret spots.
I do wish he'd write an update on the book, given it's a few years old, but I still think it's the best reference on the market.
Love your lists–especially love the water thief–I ran across it when looking for something else and had to have it.
OOOO…nice tip on the book. Just added it to my own wish-list!


text:
New Report Shows $23B Gap Between White And Nonwhite School Districts
By Jamal Andress
The report also says poor white school districts receive about $1,500 more per student than poor nonwhite districts.
For years, researchers and policymakers have framed disparities in education as a mostly economic issue — rich versus poor. But a new report from education nonprofit EdBuild found there's a $23 billion discrepancy between predominantly white school districts and predominantly nonwhite ones.
That breaks down to a difference of about $2,200 per student and $44,000 per classroom. In the most extreme cases, that number is much higher. In Arizona, for example, predominantly white school districts received $7,600 more per student than nonwhite districts.
Rebecca Sibilia has spent her entire career in education. She believes the common practice of viewing education funding purely as a poverty problem may not be enough to close the gap.
"By and large, we see that states are actually sending more money to low-income communities. So the state formula itself is working, but they can't keep up with the gaps. So our question was … knowing that the states are sending more money to high-poverty districts generally, is that equally benefiting school districts by race? And what we found is that it's not," Sibilia said.
In a further analysis of this issue, EdBuild found poor white school districts receive about $150 per student less than the national average. But compared to their poor nonwhite counterparts, those high-poverty districts are still out in front by a staggering $1,500 per student.
Sibilia points to historic segregationist housing policies that have preserved a separate and unequal education system. Practices like redlining led to racially segregated school districts, and the EdBuild report points out that even today, mostly white districts enroll far fewer students than mostly non-white ones. Sibilia believes that because the housing policies that helped create this problem were based on race, the solutions may need to (at least in part) be based on race as well.
Sibilia said: "I think that particularly for school funding, one of the reasons that we don't talk about race is not necessarily because we don't want to take it on, but it's because our funding system is so inherently tied to the wealth of a community. … But once you enter the equation of the states having to make up the gap, that's when you get to ask the question: Is the state's funding formula actually working for all kids?"
This report focused on "racially concentrated" school districts where more than 75 percent students were white or over 75 percent were nonwhite. These racially concentrated districts account for more than half of all public school students in the U.S. — more than 20 million kids. Which means this problem is a widespread one.
Some of the best examples of how to make education funding more equitable across racial lines come from states like Georgia and Alabama, which have especially large school districts. Because these districts are so big, they're inherently more diverse, both racially and economically, and that allows for a more equal distribution of funds overall.
"So they're able to smooth out the wealth discrepancies that occur based on where people shop, or based on where people live, in a way that all students can benefit from those who are in a concentrated wealth area," Sibilia said.
This concept of "wealth sharing" in education is a controversial one, but something that Sibilia believes is necessary to eventually close this $23 billion gap.
"It's really important for folks to start to disentangle the idea of being able to govern your schools locally versus funding your schools locally. You can still have your own school board, you can still elect a superintendent, you could still have your own football team. But that doesn't mean that you have the right to keep all of your wealth for your kids. And so I think that we need to start having a conversation about that as a society. And once we get used to that idea, then we really need to start talking about broadening up our tax base and sharing money amongst all of our kids," Sibilia said.


Keeping track of your employees time off and requests is easy to do using the Time Off and Request Report on Hotschedules. If you would like more information on how Time Off and Requests work, go here.
Log into your Hotschedules account and go to the Reporting tab. Once you are there, you can either search for the report name or select Staff & Store and choose the option that says Time Off and Request Report.
This will open the report details for you to select.
Employees will allow you to specify an employee that you would like to see information for. You can pick a different schedule or job code to view under Schedules and Jobs. If you would like to only see approved or unapproved time off, you can choose to do so under Status. Type allows you to pick the type of time off or request you would like to view.


text:
History of the HAWKS
A Brief History of the HAWKS:
The origins of the HAWKS (Harford Area Weekly Kriegspielers), was in the spring of 1994. Andrew Haag, a wargamer from Aberdeen, MD, offered to teach a non-credit course through Harford Community College entitled, Wargaming With Miniatures (A tool to make learning history fun). A main reason for his development of this course was to seek out any unknown gamers in the Harford County area in hopes of establishing a small circle of gamers who may have not otherwise known of other gamers in the area. The course ran for seven weeks, from 3/29/94 to 5/17/94 and met once a week in the evening at Bel Air High School. The course had an enrollment of four: John Duda, Chris Palmer, Eric Schlegel, and Tracey Roy. The students all came to the course with previous wargaming experience, so Andy eliminated much of the introductory material and concentrated the course towards mainly game playing.
At the conclusion of the course, Chris Palmer offered the use of his parents' basement as a location large enough to run multi-player games, if the class wished to continue meeting on a regular basis. Haag and the students agreed upon this, and held games without any formal schedule but with some regularity. All the participants were eager and willing to run games, creating a trend that is still one of the strengths of the club today.
As the months passed, word of mouth brought other interested gamers to the meetings and the active membership grew to about 8. Members also ran games at Andy's house and at Eric's. The scheduling of games became more formal and the gamers decided that it was time to develop a name for the group. At a brain-storming session at one of the regular game meetings the "Harford Area Weekly Kriegspielers," or H.A.W.K.S was thought of by member Rob Dean and quickly agreed upon.
In the Fall of 1995 Chris Palmer and his wife Jennifer (also a HAWKS member), moved to a new house with a room large enough in which to establish a gaming table. Most scheduled games, which by this time had been set regularly on alternating Thursday nights, were held at this location with some continuing to be held at Haag's and Schlegel's houses. By the following summer, the membership had reached about a dozen active members and the Palmers game room became too small to accommodate the group. This coupled with the problem of running single games large enough for all the members to take part forced the HAWKS to consider other quarters; some place large enough to run more than one game and accommodate a continually growing club.
Member Buck Surdu was on the vestry of St. George's Episcopal church in Perryman, MD. He suggested that the Parish House was available, and the membership decided on the move, even though it would necessitate the periodic collection of dues for the use of the building. The facility proved ideal for the HAWKS' needs and meetings were held there every other week, continuing to the present; although, meetings have subsequently been moved to Friday evenings.
In the first few years the HAWKS met the club has developed a distinct personality that has continued throughout its history. Members are of all ages, with those under 16 requiring the company of an adult, and of both sexes. All periods, rules, figure sizes, and levels of experience are encouraged. In fact, the club prides itself on its wide range of wargaming endeavors; from the classic periods such as ACW, Napoleonic, and WWII to more obscure fare such as WWI East Africa, Franco Prussian War, and even Buck Rogers; from skirmish games to corps level actions; from 6mm to 54mm. Another distinguishing feature is the determined belief of the membership to avoid formal organization. There are no officers or bylaws. Dues were avoided as long as possible, and are now only collected as a necessity — and just enough to pay for our gaming venue.
The providing of refreshments at meetings and the running of games is strictly on a volunteer basis. No requirements are made of members yet there is never a shortage of HAWKS willing to pitch in and provide what is needed. There are no formally scheduled business meetings, though we provide time at the start and end of each gaming session for anyone who has items of interest they wish to present to the club.
The HAWKS have not remained isolated in their enjoyment of the hobby. They actively take part in conventions sponsored by other wargaming organizations such as HMGS East, especially Historicon, Cold Wars, and Fall-In. At these conventions they participate in both playing and running games. At Cold Wars 97 for the first time, the HAWKS organized their own room of games run by the membership. These games were open to all convention participants, but the HAWKS wanted to have all their games co-located. This allows us to assist each other, watch each others stuff, and socialize. This was very successful and has become a permanent practice for the club ever since. Another practice that became a convention staple for the HAWKs since 2001 is running two kids' tables of games throughout the Historicon convention each year in an effort to help promote the hobby to the next generation.
The HAWKS are affiliated with HMGS East and received financial support from them to launch their own regional convention, called BARRAGE. The first one, held at the Aberdeen Proving Ground in Aberdeen, MD in October 1996, was a huge success with over 100 people attending, and is now an annual project for the club. The HAWKS have continued to hold BARRAGE every year, though they have since changed venue a few times. Currently the HAWKS hold the convention at Archbishop Curly High School in Baltimore, Maryland. The HAWKS are currently planning BARRAGE XIV, to take place January 23, 2010.
In the late winter of 1997, the HAWKS cooperated with an area school to present a learning oriented program and game to a class of Cecil County second graders who were learning about the American Civil War. Both the students and their HAWKS instructors had a great time.
Another project undertaken by the HAWKS was the presentation of a battle from the war of 1812 each year on Defenders' Day at Fort McHenry in Baltimore, Maryland. The fort is the site of the writing of the national anthem by Francis Scott Key. The HAWKS ran this project from 2002 to 2004.
In 2004, the HAWKS celebrated their 10th anniversary. At the HMGS East Cold Wars convention that year, they hosted a party for the convention goers with a wargame themed cake, a display of photos of current members and games run by the club, and a large 40-player pirate game for the convention attendees. With a current membership near 20, the future of the HAWKS looks very promising. The membership is always engaging in some new idea, or projects. Only time will tell what is in the future for the Harford Area Weekly Kriegspielers.
~~ Christopher Palmer, 1/98, Updated 11/09
No New Bones Today!
Munchkin Balloon
Perro de Guerra (Conquistador War Dogs)
New Figures for Ozz and WOOD
Conquistador Foot Command, Crossbowmen, and a Couple of Officers
1/72 scale plastic (7) 20mm plastic (10) 25mm (6) 28mm (4) ancient (7) Aztecs (14) Badger Games (10) Battle Report (5) Bones (5) Bones Black (17) Bones IV (19) Bronze Age (11) Casting (6) Conquistadores (7) Darkreach (10) DBA (10) Dreadmere (6) Evil (6) fantasy (13) Feudal Patrol (19) Fighter (6) Ghost Archipelago (10) Historical (22) Hordes of the Things (5) Human (5) Magic User (3) Miniatures (23) Miniatures & Gaming (25) Monster (6) Outpost Wargames Services (8) painting (9) Personal (7) Portable Fantasy Campaign (3) Prince August (4) remote game (3) Sally 4th (3) Scenery (5) Spanish Conquest (16) Tlaxcalans (3) Uncategorized (118) Wargames Foundry (9) Wargaming (1984) Warrior Priest (3) Wars of Ozz (10) Wizard (3)
All Bones About It (26) Battle Troll (1) Buck (2) Buck's Blog (27) Buck Buck's Blog (6) Chris Palmer (4) Dark Ages (1) Don't Give Greg Ideas (1) IFTTT (118) Junkyard Planet (5) One More Gaming Project (9) SAGA (1) Song of Blades and Heroes (1) The Sharp End of the Brush (18) Tumblr (35)
Copyright © 2021 HAWKS


The Odyssey FZ10MIX is a Flight Zone 10" DJ mixer case designed to fit a variety of 10" DJ mixers.
Transport your 10" mixer in style with our foam-lined Flight Zone® mixer case. Convenient front panel provides full protection during transit but slides out for access to front mixer controls during use. For additional mixer elevation, you can use the lid as a stacking base, very convenient when using those lower tables or for taller DJs.
This product is the case only. Any additional equipment shown is purely for example and to show fit and/or use.


http://www.line-stickers.com/ – KISHIDAN Line Sticker | KISHIDAN, one of Japanʹs most famed rock bands are now officially on LINE stickers! Created with passion by Show Ayanocozey, these stickers are fun and useful!
Publisher : Sony Music Artists Inc.
Copyright : ©Sony Music Artists Inc.
Kinoko & Labito, Year of the Pig!


text:
title: Asynchronous calls with ES6 generators
author: minko_gechev
layout: post
categories:
  - ES6
  - ES7
  - JavaScript
  - Programming
tags:
  - ES6
  - ES7
  - JavaScript
---

ES6 generators have landed in Chrome 39 Beta on 9th of October and are already available in the stable version.
This means that brand new development practices are already applicable, although for supporting older browsers you might need to fallback to the traceroute compiler.

A cool module, which [TJ](https://github.com/tj) developed, called <a href="https://github.com/tj/co">`co`</a>, is available for quite a while (his initial commit in the `co` repository was on 6th of June 2013).

A few months ago Jake Archibald wrote an [article](http://jakearchibald.com/2014/es7-async-functions/) about the awesomeness of the `async` functions in ES7 and how we can "emulate" them using ES6's generators, using his `spawn` function, which has subset of the features of `co`.

In this blog post we'll take a look at standard ways of handling asynchronous calls and how we can improve the readability of our code using generators. We'll also take a further look at the implementation of `spawn`, since there are few tricky moments there.

The code from the demo is at my [GitHub](https://github.com/mgechev/generators-async-demo).

## Prerequisites

You must be familiar with how JavaScript promises work. You can read this amazing [HTML5 rocks article](http://www.html5rocks.com/en/tutorials/es6/promises/) about them and take a look at my [Light Q implementation](https://github.com/mgechev/light-q) for the underlaying details.

You should be also familiar with how generators work. For some initial, quick background I can recommend you ["Binary Tree iterator with ES6 generators"](http://blog.mgechev.com/2014/09/11/binary-tree-iterator-with-es6-generators/).

## Getting started

In this section we're going to take a look at simple example, which handles asynchronous function calls with callbacks, promises and generators (we can think them as [semi-coroutines](https://en.wikipedia.org/wiki/Coroutine)).

We'll use the most common example for this - AJAX calls.

### Sample data set

Let's suppose we have the following data, which should be resolved using XHR (XMLHttpRequests):

**users.json**
{% highlight json %}
{
  "group": "admins",
  "users_list": ["user1.json", "user2.json"]
}
{% endhighlight %}

Where in each JSON file, corresponding to given user we have:

**userx.json**
{% highlight json %}
{
  "username": "foobar",
  "avatar": "photox.png"
}
{% endhighlight %}

All we want to do is get the list of users with GET XHR, log the group name and after that get the users one by one (or at once if possible).

### Callback solution

Let's implement the `getJSON` method:

{% highlight javascript %}
function getJSON(url, success, error) {
  'use strict';
  var xhr = new XMLHttpRequest();
  xhr.onreadystatechange = function () {
    if (xhr.readyState === 4) {
      if (xhr.status === 200) {
        success(JSON.parse(xhr.responseText));
      } else {
        error(xhr.responseText);
      }
    }
  };
  xhr.open('GET', url);
  xhr.send();
}
{% endhighlight %}

Our `loadUsers` function would look like this:

{% highlight javascript %}
function loadUsers() {
  getJSON('users.json', function (users) {
    console.log(users.group);
    users.users_list.forEach(function (u) {
      getJSON(u, function (user) {
        console.log(user);
      }, function (error) {
        console.error(error);
      });
    });
  }, function (error) {
    console.error(error);
  });
}
{% endhighlight %}

This looks...alright, I guess.
What we do is to fetch the `users.json` and later, in the success callback, fetch each user in the `users_list` array. Excluding the ugliness of the code (plenty of nested callbacks), the functionality is not that bad because we can fetch up-to 6 users simultaneously (that's the limit in Chrome).

### Promises solution

We can modify slightly `getJSON` in order to make it return a promise:

{% highlight javascript %}
function getJSON(url) {
  'use strict';
  var xhr = new XMLHttpRequest();
  var d = Promise.defer();
  xhr.onreadystatechange = function () {
    if (xhr.readyState === 4) {
      if (xhr.status === 200) {
        d.resolve(JSON.parse(xhr.responseText));
      } else {
        d.reject(xhr.responseText);
      }
    }
  };
  xhr.open('GET', url);
  xhr.send();
  return d.promise;
}
{% endhighlight %}

Now `loadUsers` will look like this:

{% highlight javascript %}
function loadUsers() {
  getJSON('users.json')
  .then(function (data) {
    console.log(data.group);
    Promise.all(data.users_list.map(getJSON))
    .then(function (users) {
      console.log(users);
    });
  });
}
{% endhighlight %}

I believe, the code looks a little bit more compact. We still fetch up-to 6 users simultaneously, because of the call `data.users_list.map(getJSON)`.

### Solution with generators

Since `async` functions are still not implemented in the modern browsers, as Jake suggests, we can use generators as something akin to them. Let's leave our `getJSON` implementation untouched and implement `loadUsers` using a generator:

{% highlight javascript %}
function loadUsers() {
  spawn(function * () {
    var users = yield getJSON('users.json');
    for (var user of users.users_list.map(getJSON)) {
      console.log(yield user);
    }
  });
}
{% endhighlight %}

Looks much more elegant, doesn't it? Now lets trace what is actually going on under the hood. Let's try to implement `spawn`.

First of all, we should be aware of the fact that it accepts a generator function, so we should use it like:

{% highlight javascript %}
function spawn(genFunc) {
  var generator = genFunc();
  // ...
}
{% endhighlight %}

After the first invocation of our generator we will receive a promise:

{% highlight javascript %}
function spawn(genFunc) {
  var generator = genFunc();
  generator.next().value
  .then(function (users) {
    //...
  });
}
{% endhighlight %}

This snippet will invoke `getJSON` and will receive the returned promise (as `generator.next().value`). On resolve of the promise, the callback will be invoked with JavaScript object, equals to the parsed JSON we just fetched from `users.json`.

As next step we need to invoke the generator with the received object, this way the local variable `users` (inside `loadUsers`) will hold the correct value and we will have access to the `users_list` property, over which we need to iterate with `map`:

{% highlight javascript %}
function spawn(genFunc) {
  var generator = genFunc();
  generator.next().value
  .then(function (users) {
    generator.next(users).value
    .then(function (user1) {
      //...
    })
  });
}
{% endhighlight %}

Once we invoke the generator with the `users` object we continue the execution of the generator and enter the loop (`for...of`) where we invoke `yield` with the first promise. Once the promise is resolved we enter the `then` callback and we can request the second user:

{% highlight javascript %}
function spawn(genFunc) {
  var generator = genFunc();
  generator.next().value
  .then(function (users) {
    generator.next(users).value
    .then(function (user1) {
      generator.next(users).value
      .then(function (user2) {
        // Done!
      });
    })
  });
}
{% endhighlight %}
As you see we have a series of nested promise calls. We can generalize them into the following implementation of `spawn`:

{% highlight javascript %}
function spawn(genFunc) {
  var generator = genFunc();
  function co(type, arg) {
    var res;
    try {
      res = generator[type](arg);
    } catch (e) {
      return Promise.reject(e);
    }
    if (res.done) {
      if (type === 'throw') {
        return arg;
      } else {
        return res.value;
      }
    } else {
      return Promise.resolve(res.value)
      .then(function (val) {
        return co('next', val);
      }, function (err) {
        return co('throw', err);
      });
    }
  }
  co('next');
}
{% endhighlight %}

`Promise.resolve` has the same functionality as `Q.when`, everything else is quite straightforward.

Note that the following code fetches all users one by one in contrast to the callback and the pure promise solution, where we fetch the users simultaneously.

redpajama_set_name: RedPajamaGithub


text:
UK University Course Search
What do you want to study in the UK?
Search over 65,000 courses at UK universities, language schools and colleges with SI-UK's course search. Find courses by school, type, location and level, or simply browse available courses for a specific subject.
Search for UK University Courses and Scholarships
Agriculture, Forestry and Food
Building and Town and Country Planning
Classics and Ancient History
Design and Crafts
English and Creative Writing
Social Policy and Administration
Choose a University
Bath Spa University
Chelsea Independent College
University of Chichester
Dublin City University
University of Durham
Glasgow Caledonian University
Istituto Marangoni
Kaplan International Pathways
King's College London ELC
Kingston University
Lansdowne College
University of the Arts London
Navitas UK
University of Northumbria
Queen's University Belfast
Ravensbourne University London
Regent's University London
University of Roehampton
University of South Wales
University of Sunderland
Swansea University
University College Birmingham
University of Winchester
Pre-Sessional
Search scholarships... Any University of Aberdeen University of Abertay Dundee Aberystwyth University Amity University [IN] London Anglia Ruskin University Arts University Bournemouth ARU London Bangor University University of Bath Bath Spa University University of Bedfordshire Birkbeck, University of London University of Birmingham Birmingham City University Bishop Grosseteste University University of Bolton Bournemouth University BPP University University of Bradford University of Brighton University of Bristol Brunel University London University of Buckingham University of Cambridge Canterbury Christ Church University Cardiff University University of Chester University of Chichester City, University of London Coventry University University of Cumbria De Montfort University University of Derby University of Dundee University of East Anglia University of East London Edge Hill University Edinburgh Napier University University of Essex GCU London University of Glasgow Glasgow Caledonian University Global Banking School University of Gloucestershire Glyndwr University Goldsmiths, University of London University of Greenwich Harper Adams University Heriot-Watt University University of Hertfordshire University of Huddersfield Hult International Business School Istituto Marangoni Keele University University of Kent Kingston University Lancaster University University of Leeds Leeds Arts University Leeds Beckett University Leeds Trinity University University of Leicester University of Limerick University of Lincoln University of Liverpool Liverpool Hope University Liverpool John Moores University University of the Arts London London Metropolitan University London South Bank University Loughborough University University of Manchester Manchester Metropolitan University Middlesex University National University of Ireland, Galway Maynooth University NCI University in London Newcastle University University of Northampton University of Northumbria Norwich University of the Arts Nottingham Trent University Oxford Brookes University University of Plymouth University of Portsmouth Queen Margaret University Queen Mary, University of London Queen's University Belfast Regent's University London Richmond University Robert Gordon University University of Roehampton Royal Holloway, University of London Royal Conservatoire of Scotland University of Salford Sheffield Hallam University SOAS University of London Solent University University of South Wales University of Southampton University of St Andrews St Mary's University, London University of Stirling University of Strathclyde University of Suffolk University of Sunderland University of Surrey University of Sussex Swansea University Teesside University The London Film School Trinity College Dublin Trinity Laban Conservatoire of Music and Dance University of Wales Trinity Saint David TU Dublin UCFB Wembley UCL Institute of Education Ulster University University Academy 92 University College Birmingham University College Cork University College Dublin University College London University of Central Lancashire University of Law University of West London University of Warwick Warwick Manufacturing Group UWE Bristol University of the West of Scotland University of Westminster University of Winchester University of Wolverhampton University of Worcester Writtle University College York St John University
SEARCH SCHOLARSHIPS


text:
Review: Hugh Jackman goes down memory lane in so-so sci-fi flick 'Reminiscence'
G. Allen Johnson	August 18, 2021Updated: August 18, 2021, 8:00 pm
Rebecca Ferguson and Hugh Jackman star in "Reminiscence," the first feature from writer-director Lisa Joy ("Westworld"). Photo: Warner Bros. Pictures
Does Lisa Joy dream of electric sheep?
The supremely talented co-creator of "Westworld" is apparently a big fan of "Blade Runner." She explores the role of artificial intelligence and humanity expertly in her HBO series, and now in "Reminiscence" — her intriguing but ultimately shallow feature film debut as writer-director — she gives us a postapocalyptic Miami that, like Ridley Scott's Los Angeles, is dark and wet.
There is even a mysterious woman, and a handsome detective who needlessly narrates the action, as Harrison Ford's bounty hunter did in the maligned 1982 theatrical cut of "Blade Runner."
Thandiwe Newton operates the memory-capturing technology in Lisa Joy's "Reminiscence." Photo: Ben Rothstein / Warner Bros. Pictures
Well, Hugh Jackman's Nick Bannister isn't exactly a detective, but he does work with the police. He is an expert interrogator, a skill he learned during "the wars," using technology where he can see people's memories.
That's bad news for the criminals, but good news for the good citizens in this nightmare Miami, where the streets are flooded as the oceans rise and people only go out at night, as extreme heat makes days unbearable. Who wouldn't want to escape into prewar times and relive their happiest memories? Nick can hook you up.
Literally. The technology works by attaching electrodes to the subject's brain and immersing him/her into a small cryogenic chamber. Nick and his trusty assistant Watts ("Westworld" alum Thandiwe Newton) can view memories, which are projected in a 3-D hologram, and record and store them for their customers' future use.
Saint Joe (East Bay actor Daniel Wu) is a New Orleans gangster who might hold the key to a mysterious woman in "Reminiscence." Photo: Warner Bros. Pictures
One day, a beautiful lounge singer, Mae (Rebecca Ferguson), enters Nick's life, looking to relive a few memories, and suddenly Nick would like to make a few new ones. He falls in love, but she disappears after a brief fling.
A short time later, Nick and Watts are at police headquarters interrogating a gangster through the memory technology. In one memory from five years in the past, the gangster makes a deal with Saint Joe (East Bay actor Daniel Wu, "Into the Badlands"), a notorious New Orleans crime boss. The boss' girlfriend? Mae.
Watts senses trouble. Was Mae playing Nick? Was she responsible for some memory files that have gone missing? For what purpose? Nick senses only his own obsession: He must find Mae at all costs.
Nick Bannister (Hugh Jackman) prepares for a trip down memory lane in "Reminiscence." Photo: Warner Bros. Pictures
"Reminiscence" is never not interesting, but Joy leaves a lot of the intriguing issues unsatisfactorily explored. The technology of capturing memories carries immense moral and philosophical baggage. Is it a neural drug? Does it cause addiction? Even if life sucks now, is escaping into the past really a good thing? But in Joy's hands, it's a gimmick, a means of connecting the dots on the way to solving what is a rather predictable mystery.
And what about Nick's voyeurism? He's a little bit of a creep, although Jackman, good as always, makes him a guy to root for.
But the true tragedy of "Reminiscence" is that Nick desires the wrong woman. The best, sexiest, smartest, can-do female in the movie is already in-house: Newton's Watts should have her own movie.
Too bad Nick is stuck in the past, because the present could be pretty good, even in Miami's bleak, soggy nights.
L"Reminiscence": Science fiction. Starring Hugh Jackman, Rebecca Ferguson, Thandiwe Newton, Daniel Wu. Directed by Lisa Joy. (PG-13. 116 minutes.) Starts Friday, Aug. 20, at Bay Area theaters and on HBO Max.
G. Allen Johnson
G. Allen Johnson	G. Allen Johnson is a San Francisco Chronicle staff writer. Email: ajohnson@sfchronicle.com Twitter: @BRfilmsAllen
Your weekly guide to Bay Area arts & entertainment.
More In Movies & TV
Sundance 2022: Bay Area director's documentary captures the power of love and lava
By Pam Grady
Review: In 'Jockey,' a broken man must decide when to get off the horse
Review: Hulu's 'How I Met Your Father' takes a stale page from 'Mother'
By Carla Meyer
The Velvet Vampire


Post Intimacy Panel: What Do We Do?
Whether you attended our panel on Intimacy, Sexuality, and Consent On Stage or not, we invite you to take part in the survey below. This vital discussion was only the beginning. Now, we look to the future and what else we can do. Thanks!
We want to send a big thank you to everyone who attended last night's panel discussion on Intimacy, Sexuality, and Consent On Stage! This first step in the conversation was enlightening for us here at the Q and I hope for everyone who was there.


This was our favorite port on this cruise. The tour of Cape of Good Hope was stunning as we drove through the seaside suburbs of Sea Point, Bantry Bay and Clifton taking the Chapman Peak Drive. We passed the suburb of Scarborough as we headed to the Cape of Good Hope Nature Preserve. We enjoyed a delicious lunch on Boulder Beach. A highlight of this excursion was our visit to the penguin colony a short walk from the restaurant. What fun it was to see so many penguins surrounding the boardwalk where we stood watching them. If you love penguins, you will love this stop. Although our arrival was late, were able to take the funicular up to the lighthouse but had to walk down, which was not really a tough descent. It was too late to take the tour of the Botanic Gardens but we had seen so many gardens already on other excursions. As we headed for the ship, we passed the University of Cape Town and Grotte Schuur Hospital. We caught a magnificent sunset on the return trip. The next day visited the Aquila Game Reserve for a day safari into the desert of Karoo to see the game animals. Along with the animals we saw wetlands, a mountain range and three beautiful valleys. After a welcome drink, in the reception area, we set out in 4x4 safari vehicles to locate herds of zebras, giraffes, lions, hippos, elephants, crocodiles. flamingos and many bird species. After our ride, we enjoyed a delicious buffet on the property with time to shop in the gift shop and around the reserve. The following day we took a ride to Table Top Mountain driving through the city to the Cableway Station. Here we took an exciting rotating cable car up the mountain. You can stay on the mountain as long as you. After enjoying the view we descended on the cable car and returned to our ship driving along the beaches.
Love Cape Town. Our second visit. Took the Robbin Island tour.
A lovely city, but unfortunately suffering from a drought.
Waterfront, wine country and pre trip Safari all wonderful.
3 of 4 shore excursions in Cape Town, South Africa.
There are currently 0 discussions about Cape Town, South Africa.


text:
Posts Tagged 'Bokononism'
Grad School Vonnegut #11: CAT'S CRADLE! (with Patrick Iber)
Like boko-maru for your ears, it's episode 11 of Grad School Vonnegut, on Cat's Cradle, with UW's Patrick Iber!
Now, of course we don't want to be sin-wat, especially in the context of the current global pool-pah, but the stuppa behind this karass have been busy, busy, busy producing this wampeter for your vin-dit — so please saroon to your zah-mah-ki-bo and give these foma a listen…
— gradschoolvonnegut (@gradschoolvonn) August 22, 2020
Tagged with Bokononism, Cat's Cradle, Grad School Vonnegut, Vonnegut
Busy, busy, busy, as the Bokononists say.
* Sci-Fi has put out a "Catch the Frak Up" video for the last four seasons of Battlestar Galactica.
* All about Patrick Fitzgerald, the man everybody wants to put in charge of everything.
* Daily Routines: how writers, artists, and other interesting people organize their days. Via MeFi, which has some greatest hits.
* In 1945, after the atomic destruction of two Japanese cities, J. Robert Oppenheimer expressed foreboding about the spread of nuclear arms. "They are not too hard to make," he told his colleagues on the Manhattan Project at Los Alamos, N.M. "They will be universal if people wish to make them universal." How the bomb spread (and didn't) around the world.
* The Los Angeles Film Critics Association has named WALL-E the best film of the year. It's a bit of a strange choice against Dark Knight and Synecdoche, among others, but WALL-E was a hell of a good film, potentially a very important one, and damnit if I don't love Pixar.
* No book more deeply and revealingly explains the spasm of madness through which the United States has passed in recent years than Moby Dick. For generations, it has been considered a masterpiece of world literature, but now can it be seen as an eerily prophetic allegory about 21st-century America. It is now truly the nation's epic.
* The Barack Obama of 2018 has been playing video games all his life.
* Everybody loves Silent Star Wars.
* Pharyngula has been having an awful lot of fun with found images lately.
* Has Greenpeace been rating Apple unfairly?
* Will we nationalize the auto companies?
* And the good news: Gabriel García Márquez is still writing after all.
Tagged with 2018, America, Battlestar Galactica, blogs, Bokononism, Bush, cars, Cthulhu, ecology, film, Gabriel García Márquez, games, Macs, Moby-Dick, nationalize the auto companies, nuclearity, Oppenheimer, Patrick Fitzgerald, politics, science fiction, Star Wars, Synedoche New York, The Dark Knight, Wall-E, writing
Rereading Cat's Cradle
In other words, this novel is not a foursquare, detailed, and plausible construction, and shouldn't be judged as one. It is a funny and despairing vision of the last judgment done in comic-book style, and Vonnegut's modesty as an artist combines with his dismay as a man to prevent him from lavishing too much careful portraiture on people not long for a world that's about to crack up anyway. It arrives like the punch line to one of Vonnegut's jokes when you realise that the most realistic feature of Cat's Cradle is the idea of a technology capable of destroying civilisation in a day.
Rereading Cat's Cradle, in the Guardian.
In a happier world, Cat's Cradle might remain a period piece, an anthology of 1960s nightmares and fantasies out of place in a new world order of international law, shared prosperity, and spreading peace. How nice it would be to return to this novel (one I first read, as an adolescent, just before the Berlin wall came down), and discover that the old fears had melted away, without any new terrors to take their place. No such luck. Reading it, you want to reject Vonnegut's pessimism as too easy and comprehensive, like the sour negativity of adolescents – always Vonnegut's best and most devoted readers – but it's not evident that the 21st century will grant us very strong grounds on which to do so. Eight years in, even the silly coinages of Bokonon seem to have taken on, for Americans at least, a certain utility and precision:
Duffle, in the Bokononist sense,
is the destiny of thousands upon
thousands of persons when
placed in the hands of a stuppa.
A stuppa is a fogbound child.
Tagged with apocalypse, Bokononism, Cat's Cradle, duffle, ice-nine, nuclearity, science fiction, stuppa, Vonnegut
RT @OmanReagan: Welcome to 2021. Reddit options chads are waging war on billionaires using memes. twitter.com/RKRigney/statu… 2 hours ago


LT's several minor amendments to immigration laws may benefit the integration of a few non-EU immigrants, including the very small number of high-skilled workers admitted in LT in recent years. Integration polices started to move beyond ad hoc principles and funds in 2014. First the LT Migration Policy Guidelines set out a special chapter on the Integration of Foreigners. Next, the Social Security and Labour Ministry created a multi-stakeholder working group and finally an Action Plan on the Integration of Foreigners. The implementation of this Action Plan should lead to new support measures and concrete policy changes in 2015 and beyond.
LT has far to go to develop strong and comprehensive integration policies. LT's policies are overall slightly unfavourable for integration of current and future immigrants. LT's slight areas of strength on integration are very new and required by the EU (e.g. reforms of family reunion, long-term residence, labour market mobility, anti-discrimination). As immigration increases, schools, hospitals, employment services and local communities may need greater targeted support to equally service immigrants and profit from their skills (see improvements in EE, CZ, IE, PT, Nordics).
LT's current policies rank 34th out of 38, slightly below average for Central Europe (above LV but below EE/PL/CZ). Non-EU immigrants in LT benefit from a clearer path to family reunion, long-term residence and citizenship than in LV/EE, though CZ/PL are leading Central European reform trends. Immigrants also benefit from less targeted support in several areas of life in LT than in new destination countries such as EE and CZ.
Around 1/3 of working-age non-EU citizens are not in employment, education or training in LT as in the average European country, according to 2011/2 estimates. These rates are slightly higher among women than men.
LT policies make the labour market slightly unattractive to migrant workers who want to integrate long-term, with LT ranking 30th alongside HU and slightly below average for Central Europe. Non-EU newcomers, particularly temporary workers and high-skilled with university degrees, do not receive the general or targeted support and benefits they need to pursue the right quality job or education/training programme.
An estimated 12% of working-age non-EU men and women in LT recently enrolled in education or training. This level of uptake is slightly below average for the EU (17%) but slightly above the levels in nearby EE & LV.
Labour market integration generally happens over time in LT as in most countries, facing small gaps for certain long-settled non-EU-born (10+ years' residence). For example, those with university degrees are 12% less likely to find jobs than university-educated LT-born men and women. The non-EU-born are more likely to end up in lower quality jobs than the LT-born. The university-educated, especially women, are 50% more likely to work in jobs below their level of qualification than the university-educated LT-born.
Authorities create as many opportunities and obstacles for non-EU families to reunite in LT as is average in Europe. Its procedures are also relatively discretionary, a typical problem across Central Europe. While the law's conditions and definitions are inclusive, LT delays family reunion more than most countries. These delays are not clearly justified from an integration perspective. Indeed, they were recently removed for high-skilled workers and EU long-term residents from other EU Member States.
In 2013, 946 family members joined a non-EU sponsor in LT. These numbers have been stable in recent years (e.g. 2008-2013). A slight majority of reuniting family members are women in LT as in most countries. These families represent all age groups, including important numbers of elderly over 65. However relatively few arrive aged 18-21 in LT than on average in Europe. Most reuniting families come from CIS countries, reflecting the makeup of LT's immigrant population.
Family reunion is increasingly common among non-EU families in LT, as non-EU newcomers settle long-term in the country. Around 4-5 family members arrived in 2012/3 for every 100 non-EU residents in LT. Non-EU families are now more likely to reunite in LT than in most European countries. LT's family reunion policies are a major factor determining when and which family members can reunite. LT's outcomes seems to reflect its inclusive family definitions and conditions. However its waiting periods for newcomers and young couples can delay and undermine the education and labour market success of adult family members and children.
Hardly any pupils are 1st (<1%) or 2nd generation (1.5%), given the limited and recent nature of immigration to LT.
Scoring 5th from the bottom, LT schools lack much of the basic infrastructure to welcome newcomer pupils. While teachers should be trained to teach the LT language, schools do not receive systematic guidance and support to address any other specific needs or opportunities that newcomers bring to the classroom. As immigration increases, newcomers may fall behind their peers, while LT pupils may not be well-equipped to live in a diverse society. These policies are generally weak in Central Europe (similar in PL, LV, see instead CZ, EE).
LT's health system is slightly unfavourable at responding to migrant patients, which is a common problem in the Baltics and Central European countries with few newcomers. Migrant patients receive uneven entitlements and information to access the general health services. These services receive hardly any support to become more responsive to migrant patients' specific health needs or barriers.
Only temporary non-EU citizens (without permanent residence) are disenfranchised in local elections in LT.
Beyond limited voting rights, LT does not value the active civic participation of immigrants, which is the situation on average in Central Europe. LT ranks 31st out of 38. Given the small size of the immigrant population within the electorate, voting rights may not be enough to boost their wider civic participation and to improve integration policy. Outside Central Europe in other new countries of immigration, non-EU citizens can be members of political parties and associations, consulted by strong and independent integration fora and supported through state-funded immigrant associations (e.g. see FI, IE, PT, ES). Immigrants should see some of these measures emerge in LT, following implementation of its Integration Action Plan (already +1 point in 2014).
The majority of non-EU citizens are enfranchised in LT local elections as permanent residents. The majority of non-EU-born in LT have naturalised as LT citizens with equal national voting rights. Both the non-EU-born and non-EU permanent residents make up a very small part of the electorate, given the small size of the immigrant population.
The vast majority of non-EU men and women have lived in LT the 5+ years required to become long-term residents, according to 2011/2 estimates. As in most Central European countries, the small number of non-EU citizens are relatively long-settled in the country.
LT's slightly favourable path to long-term residence provides immigrants with their best chances to invest in their integration and participate fully in society. Since this policy is regulated by EU law, the eligibility rules, conditions and rights are similar across most European countries, including LT, ranking 21st out of 38. The procedure should be quicker since 2014 (+2 points on MIPEX). In contrast, non-EU citizens in LT are uncertain about their chances to pass the language/integration requirement and discretionary procedure, more so than in most countries.
18,579 non-EU citizens are long-term residents in LT. 93% have EU long-term residence, with the right to work and live in other EU Member States.
The majority of non-EU citizens in LT are long-term residents, although the estimates range from 60-98% depending on the data used (total number of non-EU citizens vs. total number of non-EU valid permits). These numbers are comparable to the other Baltic and Central European countries. The number of permanent residents strongly reflects countries' path to permanent residence and citizenship. Countries like LT that restrict naturalisation but facilitate permanent residence (as the 'second-class citizenship' alternative) end up with very high numbers of permanent resident foreigners (e.g. Baltics, Central Europe, IT, ES).
About 3/4 non-EU citizens in LT have lived there long enough to apply for LT citizenship. This 2011/2 estimate is one of the highest shares of potential citizens among European countries (though lower than in EE & LV). An estimated 10% of non-EU citizens were actually born in LT (though lower than in EE & LV).
Ordinary immigrants must wait a long time and prepare on their own to become citizens in LT, as in several other Central European countries. While the path to citizenship has improved for refugees and stateless persons (see box), the general rules on eligibility and dual nationality have not been reformed to prepare for LT's future as a country of immigration, as recently happened in CZ and PL.
Since a 2006 Constitutional Court and 2010 Presidential veto established that dual nationality should be 'extraordinarily rare exceptions', the 2010 Citizenship Law opened this opportunity for refugees and limited cases of former and current LT emigrants. Ordinance 1K-812 of 6 September 2011 further improved the procedure by capping its duration at 6 months. The May 2013 Citizenship Law Amendment shortened the residence period for naturalisation for stateless persons from 10 to 5 years, following ratification of the UN Convention on the Reduction of Statelessness. But LT retained the right to withdraw LT citizenship on several grounds.
In 2012, LT naturalised only 202 people, fewer than any other EU country, alongside SK (255). Most small EU countries (BG, CZ, EE, MT, SI) naturalised at least 1000, which is five times more than Lithuania. Most naturalisations occurred in the years immediately after independence. Since 2008, the number has been the lowest in the EU and hovered between 200-600 (mostly stateless persons).
An estimated 90% of non-EU-born adults have become LT citizens. Citizenship policies after independence led to a relatively high number of naturalisations of long-settled residents. But by 2012, non-EU citizens were less likely to naturalise in LT than in most European countries. The naturalisation rate in LT was just as low as in countries with restrictive naturalisation policies, such as AT, EE, LV and SK.
Relatively small numbers of LT residents say that they experience racial/ethnic and religious discrimination (around 2%), according to 2012 comparable EU data.
All residents in Lithuania enjoy less discrimination protection than citizens in most European countries.
Few cases are received by the Equal Opportunities Ombudsperson, a quasi-judicial body. In 2013, only 10 complaints were received on ethnic discrimination and 5 on religious discrimination. In neighbouring EE/LV, very small numbers of complaints were also recorded. Further statistics on discrimination cases are missing in LT.
Even with the small number of residents reportedly experiencing discrimination, hardly any complaints are made on racial/ethnic or religious discrimination. The non-reporting of discrimination remains the norm in LT as in most European countries with relatively new and weak legislation.
The problem of refugee immigration to the Baltic States is a widely debated issue today. After Lithuania's commitment to resettle 1,105 refugees, debates have become even more heated.
Lithuania's foreign policy is not without some ambivalence.
Pagal sąlygų palankumą migrantams Lietuva užima 34 vietą iš 38 valstybių, rodo tarptautinis tyrimas "Migrantų integracijos politikos indeksas" (MIPEX 2015).


text:
Q: Swipe Views with Tabs : Activity or Fragment? I'm trying to code a swipe views with tabs (3 tabs). I want each 'page' to be an Activity.
I'm using the code in this tutorial, but unfortunately each 'page' there can only be a Fragment.
What i tried to do is to transform my Activities into Fragments (but i'm still getting some NullPointerException).
Is it safe to use a Fragment instead of an Activity (in which i'm using : AlarmManager, OnCheckedChangeListener, PackageManager, AlertDialog...)?
Is there a better way to solve my issue?
Thank you.
======================================================================
(UPDATE 1)
Here is some code from the converted Fragment :
public class TabFragment extends Fragment implements View.OnClickListener, CompoundButton.OnCheckedChangeListener {

private HashMap<String, String> myMap;
static private TextView usernameView;
private String mUsername;
private String permPassword;
private SharedPreferences pref;
private SharedPreferences prefCheckBox;
private TextView trackTextView;
private TextView logoutTextView;
private TextView settingsTextView;
private CheckBox trackCheckBox;
boolean isTrackingEnabled;

public View onCreateView(LayoutInflater inflater, ViewGroup container,
                         Bundle savedInstanceState) {

    View view =  inflater.inflate(R.layout.activity_home_profile, container, false);

    final SessionManager session = new SessionManager(getActivity().getApplicationContext());
    myMap = session.getUserDetails();
    usernameView = (TextView) getActivity().findViewById(R.id.usernameText);
    mUsername = myMap.get("username");
    usernameView.setText("");
    usernameView.setText(mUsername);

    trackTextView = (TextView) view.findViewById(R.id.tracking_textView);
    trackCheckBox = (CheckBox) view.findViewById(R.id.track_checkBox);
    logoutTextView = (TextView) view.findViewById(R.id.log_out);
    settingsTextView = (TextView) view.findViewById(R.id.settings);

    prefCheckBox = getActivity().getApplicationContext().getSharedPreferences("Tracking Checkbox", 0); // 0 - for private mode
    isTrackingEnabled = prefCheckBox.getBoolean("CheckBoxState", false);
    // display checkbox previous state
    trackCheckBox.setChecked(isTrackingEnabled);

    logoutTextView.setOnClickListener(this);
    trackTextView.setOnClickListener(this);
    settingsTextView.setOnClickListener(this);

    trackCheckBox.setOnCheckedChangeListener(this);

    return view;
}

I am getting a NullPointerException for usernameView.setText("")
02-10 15:03:35.203  27866-27866/com.projectname E/AndroidRuntime﹕ FATAL EXCEPTION: main

java.lang.NullPointerException

A: You can't use multiple activity in a single page.
The only way is fragments,Fragments are build to support this feature.

A Fragment represents a behavior or a portion of user interface in an
  Activity. You can combine multiple fragments in a single activity to
  build a multi-pane UI and reuse a fragment in multiple activities. You
  can think of a fragment as a modular section of an activity, which has
  its own lifecycle, receives its own input events, and which you can
  add or remove while the activity is running (sort of like a "sub
  activity" that you can reuse in different activities).

Converting Activity into fragment is very simple

*

*In case of activity you are extending Activity change it to Fragment

*Change your onCreate function to onCreateView

Eg :
Activity-
public class MainActivity extends Activity {

        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
        }
    }

Converted Fragment-
public class MainActivity extends Fragment {

    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        View  view=inflater.inflate(R.layout.activity_main,null);

        return view;
    }
}

Most important
Inside activity usually we are used to find view from xml using this method
TextView textView= (TextView) findViewById(R.id.helletxtview);

Inside fragments this will not work because findViewById not available in Fragment class,But use can use with the help of root View like this
View view=inflater.inflate(R.layout.activity_main,null);
TextView textView= (TextView) view.findViewById(R.id.helletxtview);

redpajama_set_name: RedPajamaStackExchange


text:
Q: How to convert sidebar to hamburger menu in small screens I have side menu that i need to convert it to hamburger menu when the screen is small mobile sized.
I think all the content between
 gets into hamburger.

<!Doctype html>

          <meta charset="utf-8">
          <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

          <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
          <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
          <title>Admin</title>

             ADMIN PANEL
             <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

             </button>

     Product 1

     Product 2

     Product 3

     Product 4

     Product 5

     Product 6

     Product 7

                   My Content

A: You can use bootstrap utility display classes
This is a solution to your problem.

 <!Doctype html>

              <meta charset="utf-8">
              <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

              <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
              <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
              <title>Admin</title>

                 ADMIN PANEL
                 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

                 </button>

     Product 1

     Product 2

     Product 3

     Product 4

     Product 5

     Product 6

     Product 7

     Product 1

     Product 2

     Product 3

     Product 4

     Product 5

     Product 6

     Product 7

                       My Content

A: Based on the solution of Gergana I have further improved it.
Now the left bar is full screen, there are no paddings, and the layout it's a bit improved.
Please vote also Gergana solution since she put the milestone for this one.

<!Doctype html>

              <meta charset="utf-8">
              <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

              <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
              <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
              <title>Admin</title>

Right bar

 Product 1

 Product 2

 Product 3

 Product 4

 Product 5

 Product 6

 Product 7

                              ADMIN PANEL
                              <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

                              </button>

     Product 1

     Product 2

     Product 3

     Product 4

     Product 5

     Product 6

     Product 7

                              My Content


17 total ounces in two resealable packages with Jack Daniel's Logo.
It's time to splurge with this Jack Daniel's Whiskey Pralines and Tennessee Honey Pecans Gift Set. This two pack Jack Daniel's gift set comes packaged in two individual resealable cardboard boxes displaying the Jack Daniel's swing and bug and the famous Honey Bee logo.
Eat these and you'll definitely be full because there is a total of 17 ounces of nuts contained in both packages. So hopefully, they'll at least get you through a couple sessions of the munchies!


RLUK has published a major report by Mary Auckland on the changing needs of researchers and the effect on the subject/liaison role within libraries.
As research activities evolve, research support must evolve with them. RLUK has been keen to determine what the new requirements of researchers are, and how best these needs can be met by the library.


text:
Sioux Falls, South Dakota - Cool and Corny at the Same Time
After briefly passing through Iowa, I entered South Dakota.
My next destination would be Sioux Falls, South Dakota. The trip took me about 3 hours because I stopped along the way at the South Dakota tourism information office. I inquired about things to do and the woman behind the counter mentioned that I should visit the namesake of Sioux Falls... the Sioux Falls.
So... my first destination was the Sioux Falls. The falls was actually located in a public park located in the middle of the city.
The falls were created by the Big Sioux River about 14,000 years ago during the last ice age.
There appeared to be a series of falls sprawling and cascading through the park.
The lure of the falls has been a powerful influence. Ho-Chunk, Ioway, Otoe, Missouri, Omaha, Quapaw, Kansa, Osage, Arikira, Dakota, Nakota and Cheyenne people inhabited and settled the region previous to Europeans and European descendants. Numerous burial mounds still exist on the high bluffs near the river and are spread throughout the general vicinity. Indigenous people maintained an agricultural society with fortified villages, and the later arrivals rebuilt on many of the same sites that were previously settled. Lakota populate urban and reservation communities in the contemporary state and many Lakota, Dakota, Nakota, and numerous other Native Americans reside in Sioux Falls today.
There was an old mill on the site that was established back in 1881. Back in the day the mill consisted of a seven-story main structure built of Sioux quartzite quarried on site. Nearly $500,000 was spent on the construction of the state-of-the-art mill and its supporting structures. The mill could process 1,500 bushels each day. However, by 1883, the mill was closed — a victim of inadequate water power and a short supply of wheat.
After walking around the park, I got back in my car and drove around the downtown area. I passed by the St. Joseph Cathedral. The Cathedral traces its history to the establishment of St. Michael's Church, Sioux Falls' first Catholic parish.
It was founded in 1881 and a wooden building was constructed for a church. Two years later a larger brick church was built. On November 12, 1889, Pope Leo XIII established the Diocese of Sioux Falls and St. Michael's became the cathedral for the new diocese. I didn't go inside the cathedral, I just wanted to check out the architecture.
Just down the street from the Cathedral there were a number of huge 19th century houses.
6th Street seemed to be the Main Street of Sioux Falls. Along the street there was the Old Courthouse. There appeared to be a museum inside, but I did not go inside.
Instead, I was given a tip to visit the Sioux Falls sculpture park. I wasn't given good directions to the sculpture park, I was just told that it was in the downtown area. I came across one sculpture.
Then I saw another.
So I parked my car and started to walk around.
The sculptures were not in one central area or park.
They were scattered about the city over three or four blocks.
I'm not even sure if I saw all the sculptures.
But I saw this one... and perhaps accumulated some points for Pokemon Go.
As I was driving around the downtown area I saw this guy driving his ATV on the streets. I thought that it was kind of cool that they allowed ATVs in the downtown area.
I also passed by this outdoor store called The Great Outdoor Store. Because I'm a gear junky, I had to check it out. If the owners were going to call their shop The Great Outdoor Store, I felt like it should be well... Great. The thing that first caught my eye was that they had a number of tents set up on the outside lawn. OK, great promotional display, it caught my attention. The store was inside an old building surrounded by a nice green lawn. A bit unusual for a store, but I thought fit in with the neighborhood and concept. I entered the store and walked around. I was greeted by some friendly staff. They were having some kind of raffle and gave me a ticket. The store actually had a pretty good selection of outdoor goods. They had many of the well known name brands, but also what appeared to be some local brands. I really did not need any additional gear, so after walking around a bit I exited. I didn't win the raffle, but I wasn't disappointed. In the world of massive online retail operations, it was good to see that it is still possible for a small business to survive and thrive. Overall I was impressed... the store lived up to it's namesake. If you're ever in the area, check out The Great Outdoor Store... it is Great!
I thought Sioux Falls was a pretty cool town. It was large enough to have a few attractions, small enough to walk around the central area, cultured enough to have some art and I really enjoyed the natural area around Falls Park. I only spent one day in the town, then charted my course toward Rapid City, South Dakota. My next destination would be a long drive of about 5 to 6 hours. As I was driving west I kept seeing road signs for The Corn Palace. It sounded kind of... corny... but I had to check it out.
The Corn Palace is a nice little museum dedicated to corn.
Not really... it is a huge, massive, ostentatious palace built as a monument to celebrate all the wonderfulness of corn. God Bless America!!!
The Corn Palace, commonly advertised as The World's Only Corn Palace, is a multi-purpose arena located in Mitchell, South Dakota. The Moorish Revival building is decorated with crop art; the murals and designs covering the building are made from corn and other grains, and a new design is constructed each year.
The Corn Palace is a popular tourist destination, visited by between 200,000 to 500,000 people each year. The exterior corn murals are replaced and redesigned each year with a new theme. The designs are created by local artists.
The original Mitchell Corn Palace (known as "The Corn Belt Exposition") was built in 1892 to showcase the rich soil of South Dakota and encourage people to settle in the area. It was a wooden castle structure on Mitchell's Main Street, built on land donated by Louis Beckwith, a member of the First Corn Palace Committee. In 1904–1905, the city of Mitchell mounted a challenge to the city of Pierre in an unsuccessful attempt to replace it as the state capital of South Dakota. As part of this effort, the Corn Palace was rebuilt in 1905. In 1921, the Corn Palace was rebuilt once again, with a design by the architectural firm Rapp and Rapp of Chicago. Russian-style onion domes and Moorish minarets were added in 1937, giving the Palace the distinctive appearance that it has today. It costs $130,000 annually to decorate the Palace.
The Corn Palace serves the community as a venue for concerts, sports events, exhibits and other community events. Each year, the Corn Palace is celebrated with a citywide festival, the Corn Palace Festival. Historically it was held at harvest time in September, but recently it has been held at the end of August. Other popular annual events include the Corn Palace Stampede Rodeo in July and the Corn Palace Polka Festival in September. It is also home to the Dakota Wesleyan University Tigers and the Mitchell High School Kernels basketball teams.
Inside The Corn Palace there is a souvenir store that sells items like postcards.
Corn-on-the-cob
Corn holders
Corn shaped butter dispensers
Corn candy
And of course there is a corn main box to mail that official Corn Palace postcard.
Corny!
I continued west.
By Troy - January 18, 2017
Location: Sioux Falls, SD, USA
Sturgis and Deadwood - Then A Gunfight Broke Out
Badlands National Park, South Dakota
Minuteman Missile National Historic Site
Sioux Falls, South Dakota - Cool and Corny at the ...
Iowa - corn, corn and corn
Omaha, Nebraska - The Good Life
Kansas City, Missouri - Entering the Breadbasket
The Roaring River - Backtracking from Branson, Mis...
Ozark National Forest and Bentonville - From the F...
Quachita National Forest - A Winding Road Leads To...
Caddo Lake and Uncertain, Texas - A Little Creepy
A Look Back at Summer - Overlanding NWxMW - Outsid...


Sure to steal the show; this hilarious graphic print tee will bring a smile to everyone's face-including parents! Perfect to bust out when the kiddos are a bit more antsy than usual; the comfortable tee will help you get through your crazy day, with a smile! Select a tee in one of several colors and a wide array of sizes. It also makes a great gift for a special, patient preschool teacher in your life!


text:
Five Minutes With Houston Lawyer and Film Producer Derek Potts
by Bob Valleau on August 19, 2020
Derek Potts has always been a film fan. Today, Potts combines his career as a successful litigator--he founded his now national law firm in 2001 out of two rooms as...
Derek Potts has always been a film fan. Today, Potts combines his career as a successful litigator--he founded his now national law firm in 2001...


Zetton, Inc., the company that brought Aloha Table Waikiki, Goofy Cafe & Dine, Heavenly Island Lifestyle, and Paris.Hawaii to Waikiki, recently opened its new venture in Waikiki - ZIGU!
What was once an old, wooden apartment building is now a restaurant offering Japanese cuisine with a focus on incorporating local ingredients (ZIGU translates to Local - Eat).
I was fortunate to have been invited to a media dinner where we were introduced to Chef Masaki Nakayama, who served us a 16-course meal!
My personal fave was the Local Ahi and Kona Kanpachi Poke Sushi. Sea asparagus and seaweed added to the texture of the dish, and it was just so fresh and tasty!
Other faves were the Apple Wood Smoked Local Egg Potato Salad (the smokiness really made the dish stand out), the Kauai Shrimp (many raved about the basil aioli), the Seared Kona Kanpachi (the sesame sauce was delish!), the Ahi Tuna Kama Cheek (the teriyaki glaze was so good!), and the Rice Omelet (so flavorful, and I just love cilantro!).
And let's not forget the drinks!
Currently only dinner is served nightly from 4:00pm to 10:30pm, with the bar open until 1am.
Word of mouth (and social media) has already spread, and ZIGU has already been quite busy, so be sure to make a reservation!


text:
WeemQuill
Detroit Jazz Festival 2020
September 8, 2020 ~ James L Menzies
This Labour Day weekend, the 2020 Detroit Jazz Festival delivered 42 hours of programming over 4 days to an audience that spanned the globe. Rather than becoming another pandemic cancelation, Detroit delivered their festival via internet, television, and radio. An excellent experience! Gold star to the board, sponsors, and the hundreds of technicians and crew members who flawlessly delivered on their promise of a rich sound, high definition video experience. DJF 2020 represents a demarcation line in festival production. This morning, jazz festival producers everywhere are considering how to respond to this idea that live jazz "works" on-line – DJF has thrown down the gauntlet.
A second gold star to all the performers for rising above the obvious challenge of performing without an audience. Many sets had a rough opening tune due to the lack of warmth and energy from a live audience. This affected the less-experienced performers more, but without exception, every set ended stronger than it started.
DJF 2020 happened during a pandemic, an acrimonious national election campaign, and the Black Lives Matter movement. Jazz musicians have never shied away from social commentary through music and words. Tension buzzed below the surface throughout the festival, until it was not below the surface anymore.
The festival's opening piece – a four-movement work commissioned for DJF 2020 called "Justice!" – was tame on the social justice front until the fourth movement when Robert Hurst's group addressed Black Lives Matter by chanting the names of those who have been killed recently.
On Saturday, Gayelynn McKinney created one of the festival highlights when talking about her guitar player missing the festival because he had been beaten by police while acting as a volunteer paramedic at a BLM rally. His replacement – a white guy – wrote words to Charles Mingus' "Good-Bye Pork Pie Hat" that were raw and direct and fit the maudlin tone of this classic tune perfectly. He sang in a voice reminiscent of Chet Baker – such a vulnerable sound, and probably the only voicing that could have worked with a white guy singing these words in a black band in Detroit at this moment.
Robert Hurst took the stage again Sunday night, but I would still characterize his set as polite. Then on Monday evening, the wheels came off the bus.
Al Ayoub, leader of the group "Call Al", ended his set by playing the Start Spangled Banner. What was he thinking? It was either massively tone deaf or intended to inflame; either way, it got a reaction. The three final sets of the festival directly addressed Black Lives Matter, each in their own way. I cannot say if this was part of the plan or if it emerged "in the moment", but even the festival director, Chris Collins, who had been doing a masterful job of steering his live broadcast ship through these difficult waters, used his time between the final sets to interview young, black musicians about what these times mean for them. I cannot help thinking that Mr. Ayoub will not be invited back to DJF.
Drummer, Henry Conerway III was blunt about how America must change now, and his trio's set was furious. Mr. Conerway, Ian Finkelstein (piano) and Noah Jackson (bass) were all on fire – my favourite set of the festival.
Even Rene Marie, who is a crooner and a gentle soul, pulled an old anti-apartheid number out of her catalogue.
Then the festival closed with Robert Glasper – an artist more familiar in hip hop circles than in jazz – whose set was dissonant, raw, and punctuated by sampling of Martin Luther King, a child speaking about being proud to be brown, and other BLM themes. The music was powerful and difficult (at least for me, knowing nothing about hip hop musical norms, conventions, and language); but that is a good reason to go to jazz festivals – to be intellectually challenged.
Seventeen-year-old phenom Joey Alexander lived up to expectations in his set. His rendition of "What a Friend We Have in Jesus" was a surprising song choice but was magical. However, he is old enough now that the internet-driven WOW-factor that surrounds this prodigy should be put in the past. He needs a few years for life experience to catch up to his technical ability before he really belongs on the big stage. (In contrast, 30-year-old Ian Finkelstein, as part of the Henry Conerway trio, laid down a set that was masterful – I knew within his opening 4 bars that Mr. Finkelstein owned the piano award at this festival.)
I was disappointed in Pharoah Sanders. Yes, he is an icon – he turns 80 this year. Perhaps my expectations were unrealistic, but he just looked old and he is not delivering anything new in his music. He had a strong trio with him, but even there, he is not bringing along anyone young and exciting – these are well-established musicians. It would have been better (and more accurate) to bill this act as the Benito Gonzalez trio, featuring very special guest, Pharoah Sanders.
The other name familiar to me was Steve Turre, and he did not disappoint. A strong set, especially when he invited local sax player James Carter to join his sextet for a couple of numbers. Speaking of the Turre sextet, he had two young players (sax and trumpet) whose names I missed. They both seemed talented and bored – when the effervescent Mr. Carter took the stage to solo beside Turre's young sax player, I thought the young gun was going to die of fright, given Carter's habit of moving with the music and showing emotion while playing and intently listening to others. A teaching opportunity for Mr. Turre: they seemed sullen, and that might have worked for Miles, but "they aint no Miles". A learning opportunity for Mr. Turre: give your young guys more props on stage – at least say their names more than once in passing.
One of the reasons I love jazz festivals is to hear new, unfamiliar musicians. Most cities have a small and close-knit jazz community; Detroit's excelled this weekend. The established players were wonderful, many of them appearing in multiple settings. Marion Hayden, a bass player, is worth mentioning; she appeared in several bands and kept each group cooking. New faces to me that I will check out in more depth include Lulu Fall, and a group called Beartrap. Detroit also highlighted that there are many women making a mark in their jazz community – I hope this trend continues everywhere.
Of the festival's 42 hours, I saw or heard 38, but I admit my attention span dwindled occasionally. I might have missed a few gems along the way, but that is how I saw DJF 2020. A very enjoyable weekend of music and a landmark of technical wizardry.
BeartrapDetroitJazzGayelynnMcKinneyHenryConerwayIIIIanFinkelsteinJoeyAlexanderLuluFallMarionHaydenNoahJacksonReneMarieRobertGlasperRobertHurstSteveTurre
Published by James L Menzies
View all posts by James L Menzies
‹ PreviousComing Soon
Beartrap DetroitJazz GayelynnMcKinney HenryConerwayIII IanFinkelstein JoeyAlexander LuluFall MarionHayden NoahJackson ReneMarie RobertGlasper RobertHurst SteveTurre


text:
Edward Forrest Moore (23 de noviembre de 1925, Baltimore, Maryland - 14 de junio de 2003, Madison, Wisconsin) fue un profesor estadounidense de matemáticas y ciencias de la computación, inventor de la máquina de estados finitos de Moore, y uno de los pioneros de la vida artificial.

Biografía
Moore cursó la licenciatura en química del Instituto Politécnico de Virginia, en Blacksburg, Virginia en 1947 y un doctorado en matemáticas por la Universidad de Brown en Providence, Rhode Island en junio de 1950. Trabajó en la UIUC de 1950 a 1952 y fue profesor visitante en el MIT y de Harvard al mismo tiempo en 1952 y 1953. Luego trabajó en los Laboratorios Bell durante unos 10 años. Después de eso, fue profesor de la Universidad de Wisconsin-Madison desde 1966 hasta su jubilación en 1985.

Se casó con Elinor Constance Martin y tuvieron tres hijos.

Trabajo científico
Fue el primero en utilizar el tipo de máquina de estados finitos (FSM: del inglés Finite State Machine) que es muy comúnmente utilizado hoy en día: la máquina de Moore. Con Claude Elwood Shannon hizo un trabajo seminal sobre la teoría de la computabilidad y construyó circuitos confiables utilizando relés menos confiables. Moore también pasó gran parte de sus últimos años en un esfuerzo infructuoso para resolver el teorema de los cuatro colores.

Con John Myhill , Moore probó el teorema del Jardín del Edén caracterizando las reglas de los patrones de los autómatas celulares que no tienen precedente. También dio nombre al concepto de Vecindad de Moore para los autómatas celulares, utilizado por el Juego de la Vida de Conway, y fue el primero en publicar el problema de la sincronización del equipo de tiro en los autómatas celulares.

En un artículo de 1956 en la revista Scientific American, propuso "plantas artificiales vivas", que serían fábricas flotantes que podrían crear copias de sí mismas. Podrían ser programadas para realizar alguna función (la extracción de agua potable, la recolección de minerales del agua de mar), con una inversión que sería relativamente pequeña en comparación con los enormes beneficios de las cifras de crecimiento exponencial de las fábricas.

Moore también postuló que los grafos regulares pueden tener su distancia coincidiendo con una menor conexión simple para el problema dado por un árbol regular con el mismo grado. Los grafos que coinciden con este límite fueron denominados grafo de Moore por .

Publicaciones
Fue autor o coautor con Claude Shannon de:
 "Artificial Living Plants," Scientific American 195 (4 ) (Oct 1956): 118-126
 "A simplifed universal Turing machine". En Proc. of the meeting of the ACM, Toronto Sept. 8 1952, pp. 50~54, 1952
 "Computability by Probabilistic Machines". Automata Studies Annals of Mathematics Studies, No.34, Princeton U. Press, Princeton, N.J., 1956
 "Gedanken-experiments on Sequential Machines," pp 129 - 153, Automata Studies, Annals of Mathematical Studies, no. 34, Princeton University Press, Princeton, N. J., 1956 , 129-153
 "Machine aid for switching circuit design", Proc. IRE, Vol. 41, October 1953, 1348-1351
 "Machine models of self-reproduction," Proceedings of Symposia in Applied Mathematics, volume 14, pages 17-33. The American Mathematical Society, 1962
 "Minimal Complete Relay Decoding Networks," IBM Journal of Research and Development 4 ( 5) 1960, : 525-531
 "Reliable circuits using less reliable relays I-II", J. Franklin Inst., Vol. 262, No. 3-4, September-October 1956, 191-208, 281-298, IRE Trans. Electronic Computers, Vol. EC-6, June 1957, 137, (Review), Bell Lab. Monograph No. 2696
 "Table of four-relay contact networks". Logical Design of Electrical Circuits (R. Higonnet and R. Grea, eds.), McGraw-Hill, 1958
 "The Shortest Path Through a Maze".Proceedings of the International Symposium on the Theory of Switching, pages 285–292. 1957
 "Variable length binary encodings".Bell System Tech. J., 38:933{967, 1959

Fue coautor de la patente US Patent 3,016,527: "Apparatus for utilizing variable length alphabetized codes" en 1962.

Referencias
 Memorial Resolution of the Faculty of the University of Wisconsin–Madison on the Death of Professor Edward F. Moore (PDF file)
 .

Alumnado del Instituto Politécnico y Universidad Estatal de Virginia
Informáticos de Estados Unidos
Informatólogos de Estados Unidos
Ingenieros de Estados Unidos
Matemáticos de Estados Unidos
Alumnado de la Universidad Brown
Profesores de la Universidad de Harvard
Profesores de la Universidad de Wisconsin-Madison
Ciencias de la información
Pioneros de la informática
Nacidos en Baltimore

redpajama_set_name: RedPajamaWikipedia