Scratch also works with something called the PicoBoard
It is not a full board and requires a computer to really do anything.
It is a start, but you would end up buying an Arduino or Raspberry Pi if you wanted to do something serious.
I have had a gadgeteer board for a couple of years now.
To be exact it is the FEZ Spider, but it is way more expensive ($149.99) and you are asking a kid or parent to download and setup visual studio. It can be messy. Before Windows 10 IoT it was really the best option to build and deploy .Net code to a device and watch it run. I will say I am biased towards Microsoft technologies, and that is mainly because I want to be able to provide some guidance and tech support.
My Recommendation is to go with scratch and the raspberry pi.
Raspberry Pi has great support and it ends up to be a computer you can put in your pocket. Plug an Hdmi into and program on your tv.
So we have some good things to search for once the data is uploaded.
The First Step is to zip up my shape file data.
It is all of the data that begins with your shape file name.
In My Content go to Add Item / Select My Computer and choose the zip file you just created.
Now we have a Feature Layer that we can use as a foundation for our web maps and templates.
You can go into the Feature Layer click on Edit and Check the box for “Enable editing and allow editors to: Add, update, and delete features”
Note: You can re-upload an updated shape file by clicking on overwrite and picking a file. This is also a nice way to manage updates if you don’t need a way for novices to edit the data.
In the Content Area go to Create
Now create a new Map. — This will create a new Web Map
This will bring into Edit Mode. Go to the top of the now editable web map and add the layer we just created in the previous step.
Creating the Editor
I initially tried the template Basic Editor. I found this template to be pretty useful in terms of editor.
The nice part is you can add points and edit the data.
The Search is not very good, when you enable it. If you search for a feature like Company Name, it will go to the first point it finds, and you cannot go to the next result.
In contrast the Find/Edit/Filter Template works great for filtering, but does not allow you to add points.
Due to the trade-offs, and some of the weird complexity I decided to use the Web App Builder for ArcGIS. This allowed me to customize the filters and Edit Widget. I am sure the downside to the Web App Builder is the code is not available so I can’t create a brand new variant.
I have no desire to do that, so this should be good.
The Filter Setup is a breeze, and once it is done it looks great. You can even customize how the results look. A drawback on some of the templates.
Once we are finished you have a nice filter interface with a marginally slick editor interface(who are we kidding, editing a map nicely in an web app is a pretty hard task)
Creating the Searchable Viewer
I had tried using some of the Filter Templates
At the end of the day I found the Web App Builder worked great.
I just created a Web App Builder and did not include the edit widget.
In this case I could just use sharing to manage who had permissions to what functions.
At this point I am done.
I created the feature layer, Web Map, and two web apps that should expose segrated edit/filter capabilities to your different user types.
with open('C:\adult.test','r') as f:
for line in f:
reader = csv.reader(f)
for row in reader:
age = row
workclass = row
fnlweight = row
education = row
educationnum = row
maritalstatus = row
occupation = row
This will print out the workclass column in the data.
In order to start to looking into the data we can use someone of Python’s built in magic to bucket the data and create some histograms.
Histograms will tell us how the data is distributed and start to give us clues about the shape of the data.
In order to create a histogram we will use the collections library to count the data
def create_histogram(labels, values, bucket_size, title):
agelist = list()
with open ('C:\Users\Jon\Documents\adult.test','r') as f:
for line in f:
reader = csv.reader(f)
for row in reader:
age = row
agelistfloat = [float(x) for x in agelist]
agedist = Counter(agelist)
labels, values = zip(*agedist.items())
valueslistfloat = [float(x) for x in values]
labelsliststring = [float(x) for x in labels]
create_histogram(labelsliststring,valueslistfloat,5,"Age Distribution Simple")
Once I get the file
I take my agelist and run it through Counter.
Counter allows for rapid tallying of data. It returns a defaultdict object that list each age and how many occurences there were.
We then unzip the list to labels and values. * reverses the zip operation.
We then call the pyplot.bar(labels, values) to show the graph.
We can see that our data is a right-skewed distribution. When you look at the data you can see it is evenly distributed over the income generating population. At around 18 it starts and starts to gradually tail off at the peak of around 40.
First Refactoring – Making the code a bit more compact and readable
I mapped each row to a named tuple in order to iterate through the data a bit more intuitively
First I created a dictionary of the columns in the data.
On October 28th my brother and I set out on a Bike ride from his house to Superior WI. Our plan was to take the Gandy Dancer Trail from Milltown to Superior. We brought gear to camp and food to eat. The bikes were geared up and ready to go.
Here is the Google tour that goes over the bike route.(Google Earth Plugin is Required)
You love to learn. The subject matter that interests you most will be determined by your other themes and experiences, but whatever the subject, you will always be drawn to the process of learning. The process, more than the content or the result, is especially exciting for you. You are energized by the steady and deliberate journey from ignorance to competence. The thrill of the first few facts, the early efforts to recite or practice what you have learned, the growing confidence of a skill mastered—this is the process that entices you. Your excitement leads you to engage in adult learning experiences—yoga or piano lessons or graduate classes. It enables you to thrive in dynamic work environments where you are asked to take on short project assignments and are expected to learn a lot about the new subject matter in a short period of time and then move on to the next one. This Learner theme does not necessarily mean that you seek to become the subject matter expert, or that you are striving for the respect that accompanies a professional or academic credential. The outcome of the learning is less significant than the “getting there.”
You look for areas of agreement. In your view there is little to be gained from conflict and friction, so you seek to hold them to a minimum. When you know that the people around you hold differing views, you try to find the common ground. You try to steer them away from confrontation and toward harmony. In fact, harmony is one of your guiding values. You can’t quite believe how much time is wasted by people trying to impose their views on others. Wouldn’t we all be more productive if we kept our opinions in check and instead looked for consensus and support? You believe we would, and you live by that belief. When others are sounding off about their goals, their claims, and their fervently held opinions, you hold your peace. When others strike out in a direction, you will willingly, in the service of harmony, modify your own objectives to merge with theirs (as long as their basic values do not clash with yours). When others start to argue about their pet theory or concept, you steer clear of the debate, preferring to talk about practical, down-to-earth matters on which you can all agree. In your view we are all in the same boat, and we need this boat to get where we are going. It is a good boat. There is no need to rock it just to show that you can.
Excellence, not average, is your measure. Taking something from below average to slightly above average takes a great deal of effort and in your opinion is not very rewarding. Transforming something strong into something superb takes just as much effort but is much more thrilling. Strengths, whether yours or someone else’s, fascinate you. Like a diver after pearls, you search them out, watching for the telltale signs of a strength. A glimpse of untutored excellence, rapid learning, a skill mastered without recourse to steps—all these are clues that a strength may be in play. And having found a strength, you feel compelled to nurture it, refine it, and stretch it toward excellence. You polish the pearl until it shines. This natural sorting of strengths means that others see you as discriminating. You choose to spend time with people who appreciate your particular strengths. Likewise, you are attracted to others who seem to have found and cultivated their own strengths. You tend to avoid those who want to fix you and make you well rounded. You don’t want to spend your life bemoaning what you lack. Rather, you want to capitalize on the gifts with which you are blessed. It’s more fun. It’s more productive. And, counterintuitively, it is more demanding.
You are inquisitive. You collect things. You might collect information—words, facts, books, and quotations—or you might collect tangible objects such as butterflies, baseball cards, porcelain dolls, or sepia photographs. Whatever you collect, you collect it because it interests you. And yours is the kind of mind that finds so many things interesting. The world is exciting precisely because of its infinite variety and complexity. If you read a great deal, it is not necessarily to refine your theories but, rather, to add more information to your archives. If you like to travel, it is because each new location offers novel artifacts and facts. These can be acquired and then stored away. Why are they worth storing? At the time of storing it is often hard to say exactly when or why you might need them, but who knows when they might become useful? With all those possible uses in mind, you really don’t feel comfortable throwing anything away. So you keep acquiring and compiling and filing stuff away. It’s interesting. It keeps your mind fresh. And perhaps one day some of it will prove valuable.
Your Achiever theme helps explain your drive. Achiever describes a constant need for achievement. You feel as if every day starts at zero. By the end of the day you must achieve something tangible in order to feel good about yourself. And by “every day” you mean every single day—workdays, weekends, vacations. No matter how much you may feel you deserve a day of rest, if the day passes without some form of achievement, no matter how small, you will feel dissatisfied. You have an internal fire burning inside you. It pushes you to do more, to achieve more. After each accomplishment is reached, the fire dwindles for a moment, but very soon it rekindles itself, forcing you toward the next accomplishment. Your relentless need for achievement might not be logical. It might not even be focused. But it will always be with you. As an Achiever you must learn to live with this whisper of discontent. It does have its benefits. It brings you the energy you need to work long hours without burning out. It is the jolt you can always count on to get you started on new tasks, new challenges. It is the power supply that causes you to set the pace and define the levels of productivity for your work group. It is the theme that keeps you moving.