Can I use AWS IoT core jobs to update the underlying Linux? If not, how can it be done? - embedded-linux

I've scoured the web trying to find a definitive answer. Couldn't find it anywhere. I'm now thinking that IoT core jobs can't update the OS. Wondering if and how it can be done.

Related

how to monitor stucked applications in yarn?

How can I track stuck applications in Yarn?
I have apps that have been running for over a week and would like to track them?
Perhaps there is some simple way to do this?
JMX? Api cloudera?
I did not find any ways other than writing scripts.
Help!

Installation error for CNTK v2beta15

I am trying to run my model on Philly cluster which uses CNTK v2beta15 with py34. Could someone point me to the documentation for that particular version as many commands and examples of CNTK v2.0 (stable) are not working on Philly. Also, I am running into issues while installing the v2beta15 locally. I downloaded the binaries and trying to run install.bat while the machine crashes.
Any solution would be very helpful!
Python documentation for 2.0b15 is at
https://cntk.ai/pythondocs-ver/2_0-beta15/
Also, consider rephrasing your question to benefit other SO users. Is the Philly cluster something that the rest of the community should care about? If you have issues with internal infrastructure in your organization it might be best to contact the team responsible for that through non-public means.

Running Elasticsearch server on a mobile device (android / iphone / ios)

I would like to know if it is possible to run an Elasticsearch server on a mobile device (android / iphone / ios) and if so, how I should go about doing it.
In my case, the reason for doing it is to have an offline database on the device that is easily searchable (with all elasticsearch advanced functions)
Optionally, I would maybe also use elasticsearch's cluster/replication capacities to keep the offline data on the device synced with a server.
Well, maybe (at least on Android, for iPhone the answer is no). Others have discussed it not certain that anyone has succeeded. The Android Dalvik is a JVM, just missing some things that are typically not required for mobile apps. In theory you should be able to try to compile ES and run it on Android. However, you are likely to run into issues with missing libraries and apis that ES requires, so it all depends on how comfortable you are diving in to ES source code to resolve them.
This previous discussion might be of help, you might try to reach out to those on the thread to see if anyone succeeded:
http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch-HTTP-Server-on-Android-td4056423.html
I'm also looking for a fulltext search engine for Offline First mobile apps.
I haven't developped anything yet, but I think the easiest solution can be using the Clucene Library (a C++ version of Lucene) as fulltext search engine instead of ElasticSearch (which is based on Lucene - Java).
In fact, we don't need all the features of Elasticsearch for the mobile, such as webserver, restfull api, etc...
You can find some work around on Google:
https://github.com/asheeshv/CLucene-iOS-Android-Win8
https://github.com/saturnman/clucene-iOS
https://github.com/hurongliang/clucene-ios-example
Still looking for a Cordova/Phonegap solution...
Hope it can help.
Edit:
I have found this tool that provide Offline First capabilities in Javascript.
It will work with Cordova/Phone Gap and maybe with ReactNative:
http://elasticlunr.com/
No, you can't , at least for now there is no official build that can run in mobile devices.
Can you not use regular ajax calls in your app to connect to elasticsearch? I'm not sure if it would be the best way but that's how I have it going.
There is the ElasticSearch4Android project that seems to try to do just that, but I am not sure it is not dead.
It has total 6 commits 3 years ago.
Maybe we can put one shoulder there, and help build it.
I will contact the author to see what is the state of the project.

How do I access notes in mail.app in mac os x?

What I want to do here is sync notes in my app with notes in mail.app?
How can I access them?
With the sync service?
Any samples there?
You could write a fairly simple Sync Services client that syncs the com.apple.Notes schema - there isn't very much to it.
http://developer.apple.com/library/mac/#documentation/AppleApplications/Reference/SyncServicesSchemaRef/Articles/Notes.html
I don't believe there are notes sync samples floating around, but the enhanced Simple Stickies sample using ISyncSessionDriver could probably get you going in a couple of hours. Good luck.

CouchDB on Windows?

I started exploring CouchDB and I am interested in following:
Is there or will there be a Windows install?
If there is, is there a shared hosting provider that offers CouchDB?
Not knowing much about it, can it be somehow embedded in my application or bin deployed (don't laugh).
The most reliable source is the CouchDB download page
There are several places offering CouchDb hosting. Besides Cloudant, you can use most Infrastructure-as-a-Service parties like Google, AWS, etc.
This question was asked (and answered) elsewhere on StackOverflow here and here.
There's a Windows version now, available on CouchIO (http://www.couch.io/get) blog.
Download & Unzip
Double-Click bin\couchdb
Relax!
Visit http://127.0.0.1:5984/_utils
There's been a fully compatible Windows build of CouchDB shortly after every source release, since the initial 1.0.0 release over 18 months ago. You can get this directly from the Apache CouchDB mirrors http://couchdb.apache.org/ now.
NB the embedded test suite is actually for developer testing; due to subtle timing constraints not all tests will pass first time round on every machine. In the next release of CouchDB, the tests will be done outside the browser which will be both simpler and more robust.
Please up-vote this so we have the right information to hand.
Since this question was posted, there is a Windows download available at https://couchdb.apache.org/ .

Resources