000webhost

Web hosting

Friday, December 29, 2017

Android App Inventor Setup Issues, Random Stuff, and More

- I've obviously been around at alternative Android development platforms for a while and have a number of posts on this area. This is a continuation of such research:
- as I said previously there aren't that many that are 'completely and genuinely free' anymore. Closest I could get to were variants/modifications of App Inventor... There are also some interesting libraries that offer cross platform development as well such as Rubymotion, Basic4Android, Kivy, Renpy, etc... Look deeper and you'll realise that once again toolchain setup let alone long term usage may be very problematic (see below and in my other posts for further details)?
easy android development
xamarin free alternative
how to create an android app without coding
- for those who don't know the total number of offline options are actually diminishing over time. Many have migrated towards 'Cloud' style operations...
how to create an android app offline
android app maker offline
open source version basic4android
- pricing models for a lot of platforms online vary drastically. Normally, prices converge over time though. It could simply be that they haven't reached that point yet?
- compilation and build progress varies drastically. Toolchain setup can be incredibly frustrating if you've ever had to deal with this... Frameworks flexibility and capability enormously problematic
- App Inventor is the best known and most online stores have a variation of it in some way?
app inventor
- there are versions of the software for all platforms basically. 'Classic' version still available online
- documentation is somewhat of a problem... It's up and down in terms of quality
- following code will get you the book in question...
for i in $(lynx -dump "http://www.appinventor.org/book2" | grep "bookChapters" | sed -r 's/^.* h/h/g')
do 
  wget -c "$i"
done
app inventor pdf documentation
- I had a very frustrating problem during installation/setup with no mentions of any solutions being metioned online? Errors regarding 'Java, svchost.exe' and 'android app inventor "error 404: not found" index.html', 'appinventor 404 720 error', 'address already in use ai2u 8888', 'App Inventor Offline version causes error 404'. Tried safe mode, shutting down services, switching browsers, termininating various processes, etc... Strange thing was that there was so little useful logging/diagnostic messages? If you've worked for any software vendor then you sort of realise what the problem is. The company makes the assumption that they've covered all bases or that their software is self explanatory. Yes, I had conflicts. I somehow also made the assumption that the login URL via browser (it doesn't work with Internet Explorer apparently, you'll need to resort to Firefox, Chrome, Opera, etc...) in offline version was localhost:8004 as opposed to localhost:8888 since that was the window that is last left open (and maximised). Only when I looked through all windows that I saw the flaw... See next for more details
App Inventor Offline version causes error 404
I can't connect without any method(WIFI, USB, Emulator)
App Inventor 2 on Ubuntu 14.04 (64bit) runs, but connecting gives 404 error
- did some troubleshooting. Logging/diagnostics isn't that great. Apparently, under some circumstances things don't redirect the way they're supposed to? None of my browsers were re-directing properly in spite of me online instructions telling me to go to localhost:8888 which led to a page which was asking for a username and password combination (I thought I actually had to setup a mail server to receive the new account setup mechanism at one point). Had to read through code of login.jsp to find proper URL which is 127.0.0.1:8888/login/google Multiple times now, I've found 'genuine bugs' in Google software (whether online or offline. Direct connection or strong association), documentation has tended to be sub-standard/outdated, they often try to 'cover bugs up' (never acknowledge. Fix things under the table especially if a new release is what causes the issue), etc... Can be frustrating dealing with them at times (depends on who you end up with at times. A lot of their work seems to be 'outsourced' even in areas you wouldn't expect?)?
C:\AI2U\AI\login.jsp
default login is
127.0.0.1:8888/login/google
username is test@example.com
Hit 'Log In' button and you're in
app inventor debian setup
nohup /home/moxalt/App-Inventor/appengine-java-sdk-1.9.27/bin/dev_appserver.sh –port=8888 –address=0.0.0.0 /home/moxalt/App-Inventor/appinventor-sources/appinventor/appengine/build/war/ > serverlog.out &
cd /home/moxalt/App-Inventor/appinventor-sources/appinventor/buildserver
nohup ant RunLocalBuildServer > ../../buildserver-log.out & 
App Inventor Install on Windows not working
saved aia from website to computer
App Inventor Offline version causes error 404
Setup a Local Only Email Server (Windows Only)
- there are sample projects online but to be honest I think you're best bet is to just play around a bit...
sample projects appinventor
appinventor templates
http://www.appinventor.org/
ppinventor aia templates
http://www.appinventor.org/starterApps
http://appinventor.cs.trincoll.edu/csp/templatesbuilder/
http://appinventor.mit.edu/explore/ai2/tutorials.html
app inventor template library
http://appinventor.mit.edu/explore/library.html
https://sites.google.com/site/8hourtutor/using-app-inventor-templates
http://kio4.com/appinventori/index.htm
download app inventor project files
http://kio4.com/appinventori/index.htm
https://puravidaapps.com/filedownload.php
- if you're switching from App Inventor Classic to App Inventor 2 then there are conversion utilities online... There are no guarantees of perfect conversion though...
AI1 to AI2 Converter (Version 1.2)
http://convert.appinventor.mit.edu/
- this apparently converts App Inventor code into native Java code. Haven't tried it yet...
http://www.appinventor.org/jBridgeIntro
- I've been wondering whether it's possible to build a cryptocurrency via App Inventor. Technically, you can't directly but by using a Java Bridge you should be able to...
cryptocurrency app inventor
https://stackoverflow.com/questions/26964656/mit-app-inventor-2-creating-components-with-procedures
Explore Digital Wallet, App Development, and more!
https://www.pinterest.com.au/pin/540713498999799934/
http://money.cnn.com/2017/12/12/investing/litecoin-price-coinbase/index.html
cryptocurrency java implementation
https://bitcoin.stackexchange.com/questions/40421/wouldnt-it-be-better-to-have-used-java-for-bitcoin-core-is-there-a-good-crypto
- use the following code to more easily get at the code in question (as opposed to manually downloading each file. Most download managers are 'too simple' to deal with this...)
for i in $(lynx -dump "https://sourceforge.net/projects/puravidaapps/files/" | grep -ie "\.aia" -ie "\.aix" -ie "\.md" | grep "https" | grep "download" | sed -r 's/ [0-9]+\. h/h/'); do wget  --content-disposition "$i"; done
for i in $(lynx -dump "http://www.appinventor.org/starterApps" | grep "\.aia" | grep starterApps | sed -r 's/  [0-9]+\. h/h/'); do wget -c "$i"; done
https://sourceforge.net/directory/os:linux/?q=aia+files
https://sourceforge.net/projects/released/files/?source=directory
https://sourceforge.net/projects/appinventortutorials/files/?source=directory
for i in $(lynx -dump "https://sourceforge.net/projects/released/files/AppyBuilder/" | grep "https://sourceforge.net/projects/released/files/" | grep "download" | grep -e aix -e apk -e mp4 -e aia -e csv | sed -r 's/^.*http/http/'); do wget -c --content-disposition "$i"; done
for i in $(lynx -dump "https://sourceforge.net/projects/released/files/?source=directory" | grep "https://sourceforge.net/projects/released/files/" | grep "download" | grep -e aix -e apk -e mp4 -e aia -e csv | sed -r 's/^.*http/http/'); do  wget -c --content-disposition "$i"; done
- App Inventor itself sort of limits you in terms of the complexity of the type of applications that you can ultimately pursue. That said for most user land applications this shouldn't be a problem?
most complex app inventor application

Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
- latest in finance and politics
- the nature of defense and intelligence is hilarious at times. We shall watch you while you build up the military strength to crush us? That will change your mind so there! LOL
- latest in defense and intelligence
- latest in animal news
http://www.dw.com/en/living-planet-protecting-french-bears/av-41889718
https://hinduexistence.org/2017/12/25/cow-smuggling-and-slaughtering-may-get-you-killed-rajasthan-mla/
https://au.news.yahoo.com/video/watch/38408513/orphan-elephants-get-homemade-blankets-during-myanmar-cold-snap/
http://www.abc.net.au/news/2017-12-22/last-dancing-bears-in-nepal-rescued/9283016
http://www.news.com.au/world/north-america/california-man-sends-box-of-horse-poo-to-trumps-treasury-secretary/news-story/ce8f3f3d9015c54e4e19411132089f36
- latest in music and entertainment

Random Quotes:
- "Opportunities exist in the areas most people complain," he added.

"We have to make sure that everybody is connected."
- “Moscow has been offering to sell arms to us since the mid-1990s and they are willing to barter guns for bananas,” he said, adding that Russia was selling fighters, helicopters and submarines to the Philippines. 
- In a video released by the North Korean government website Uriminzokkiri in July, Jeon Hye-sung said she was told to “slander and speak ill” of North Korea, criticising the Kim Jong-un regime against her will on South Korean television.

“I viciously slandered and spoke ill of the DPRK as I was told to,” Jeon said.

She went by the name Lim Ji-Jihyun in South Korea, but claims in the video that was an alias.

“I went to the South, led by fantasy that I could eat well and make a lot of money.

“But in the country where everything is judged by money, I was haunted by physical and psychological pain although I worked my butt off at bars and other places,” she said.

“Now I’m in the motherland, staying with my parents in Anju, South Pyongan Province.”

However that video came amid reports she was kidnapped and forced to return to the totalitarian state.
- “We cannot solve this problem only through prayers,” he said at the time. “I am a Buddhist and I believe in praying. But humans have created this problem, and now we are asking God to solve it. It is illogical. God would say, solve it yourself because you created it in the first place.”

He cited the excessive violence of the 20th century, expressing concern it was spilling over into the 21st. “The twentieth century was a violent one, and more than 200 million people died due to wars and other conflicts. We now see a spillover of the previous century’s bloodshed in this century.”

“If we emphasize more on nonviolence and harmony, we can herald a new beginning,” he also said, cautioning against failing to work toward this ideal:

“Unless we make serious attempts to achieve peace, we will continue to see a replay of the mayhem humanity experienced in the 20th century.” 
- Glyphosate is the world's most widely used herbicide. In Germany alone, farmers treat about 40 percent of arable land with it.

The herbicide, marketed by Monsanto under the brand name RoundUp, is a powerful tool in modern agriculture — it's very effective in killing weeds, thus saving farmers a lot of time.

Before sowing, farmers spray glyphosate on their fields to kill unwanted vegetation. Plants absorb the poison via their stems and leaves, and then die.

Especially controversial is when farmers apply the herbicide in preparation for harvesting. This kills all weeds, allowing only the crops to survive. This makes the harvesting process simpler.

Without glyphosate, farmers would need to manually till their land to remove weeds. That would catapult them back into agricultural methods of the 1970s and 1980s, said Michael Lohse, a spokesman of the German Farming Association.

"Glyphosate enabled the revolutionary step to non-plough tillage — which saves time, protects the groundwater and avoids soil erosion," Lohse told DW. "A ban would mean a competitive disadvantage for European farmers compared to farmers in, let's say, South America who are still allowed to use it."

Yet, the German Farming Association is aware of fears that glyphosate may cause cancer, and says it's also in the farmers' interest to clarify possible health threats.

A 2015 study from the World Health Organization's (WHO) International Agency for Research on Cancer found that glyphosate was "probably carcinogenic." But the next year, the European Food Safety Authority and the European Chemicals Agency said the substance was not likely to cause cancer in humans. 

The studies used two different approaches, and their results — and sources — continue to be debated.

But right now, Lohse doesn't see any alternative. "There's no other herbicide that is as effective as glyphosate. Farmers would need to use a mix of other herbicides — and who knows whether that would be any better," he added.
- GEN was founded by Sherrie Caltagirone, who told iTWire the threat intelligence and security community is a small one. Caltagirone knew Monzy Merza, Splunk's director of Cyber Research and Chief Security Evangelist, who was working with Splunk Pledge's Corey Marshall to identify the right partner for Splunk's non-profit commitment. "Not just a partner, but the right partner," Caltagirone says, "someone doing something tangible."

Thus, GEN signed up with Splunk Pledge for education credits, expertise and licensing. "We hit the ground running," Caltagirone says. "We brainstormed, flew out to Seattle and put the plan together."

GEN describes itself as the global clearing house for trafficking intelligence, and its mission as facilitating communication and technology-sharing initiatives between anti-trafficking organisations.

Specifically, GEN collects data from the open Web, the deep and dark Webs, and anywhere it thinks trafficking is happening in all its many forms. The organisation looks to find patterns in the data - perhaps the same phone number appearing at the same time in different places, or maybe where a dark web screen name is used on public Internet social sites. All of this effort works towards GEN's mission – to identify and rescue every victim, to identify and stop every trafficker.
- American security firm McAfee has said it will no longer allow source code reviews by foreign governments, becoming the second US security firm to make such an announcement this month.

Reuters reported that the McAfee move came as experts warned that the practice could be used by other countries to carry out attacks. Symantec made a similar announcement in the second week of October.

In June, a report said that McAfee was among several Western companies that had allowed Russia to inspect its source code as it strove to improve sales in the country.

Earlier this month, as iTWire reported, HPE was revealed to have allowed the inspection of the source code for ArcSight — which is now owned by British mainframe company Micro Focus — because it wanted to sell the product in Russia.

Prior to that, Microsoft, had to allow China to inspect the source code of Windows, a process that took two years, before it was allowed to craft a product — Windows 10 China Government Edition — that could be sold to the Chinese public sector.

Reuters quoted a McAfee spokesperson as saying: “The new McAfee has defined all its own new processes, reflecting business, competitive and threat landscapes unique to our space. This decision is a result of this transition effort.”

McAfee stopped the practice of allowing source code reviews after it was spun off recently as an independent entity, after being an integral part of Intel.

Russian security firm Kaspersky Lab has been under the gun in the US, with its products banned from being used by the public sector despite offering its source code for inspection by independent third parties.
https://www.itwire.com/security/80550-mcafee-says-no-more-source-code-reviews-by-other-countries.html
"I get the most joy by looking outside every day and seeing God's creation, maybe a little bit from his perspective," Bresnik said, adding that the visible thinness of the planet's atmosphere showed how fragile life on Earth is.

Nespoli - on his third trip into space - said that despite the bird's eye view of Earth he remained perplexed. "Our aim here is to spread knowledge, (but) the more we learn, the more we realize we do not know."

"I would like people like you, theologians, philosophers, poets, writers, to come to space to explore what it means to be a human in space," Nespoli went on.

Francis nodded and smiled in response, after a 30-second delay.

Far from wars, famines, pollution or human folly, Nespoli said: "The future of humanity looks better from up here." He added that he was ill-equipped to reflect on the destiny of humanity.

He then thanked the pope for "making us think about things that are bigger than us."

WiFi Check Security Script, Random Stuff, and More

- from time to time you want to audit networks, see what free WiFi is available, etc... I built a script to do do this. Download it from her...