Tuesday, September 29, 2015

2K15 Design Faves

A video scrapbook of wonders from the year of our brother 2015.

Although intended for mainly historical purposes it is feared the lifetime of the following media is in fact a volatile variable.

TiltBrush

The arms of Disney now reach into cyberspace. Ariel being drawn in 3space seems to blow the mind of this poor animator:

Glen Keane – Step into the Page from Future Of StoryTelling on Vimeo.


Clay model of unreleased Tesla. 

Back in reality a combination of hand chisel and automated router create a crafted machine.



TBC

Sunday, September 13, 2015

knock knock knocking on server door

After noticing my experimental website had once again fallen off the web the log makes for some interesting reading.

I need to add a robots.txt file obviously, but most of the others look like some one trying to break in.

With captured IP in reply perhaps great vengeance and furious anger could be somehow vented.


Bonus points for spotting the reference to bad boy testp2(dot)czar(dot)bielawa(dot)pl

There is obviously more to hosting a domain than meets the eye.

:
404:/rom-0
404:/cgi-bin/test-cgi
404:/robots.txt
404:/robots.txt
404:/addport.html
404:/rom-0
404:/robots.txt
404:/robots.txt
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/manager/html
404:/rom-0
404:/robots.txt
404:/robots.txt
404:/robots.txt
404:/x
404:/main.cgi
404:/info.cgi
404:/index.cgi
404:/admin.cgi
404:/administrator.cgi
404:/cgi-bin/report.cgi
404:/cgi-bin/webmap.cgi
404:/cgi-bin/whois.cgi
404:/cgi-sys/helpdesk.cgi
404:/cgi-bin/register.cgi
404:/cgi-bin/download.cgi
404:/cgi-bin/shop.cgi
404:/cgi-sys/signup.cgi
404:/cgi-bin/profile.cgi
404:/cgi-bin/about_us.cgi
404:/cgi-bin/php.fcgi
404:/cgi-bin/calendar.cgi
404:/cgi-bin/download.cgi
404:/cgi-bin/light_board.cgi
404:/cgi-bin/main.cgi
404:/cgi-bin/search.cgi
404:/cgi-bin/test.cgi
404:/cgi-bin/file_up.cgi
404:/cgi-bin/concept.cgi
404:/cgi-bin/query.cgi
404:/cgi-bin/counter.cgi
404:/cgi-bin/kontakt.cgi
404:/cgi-bin/backup.cgi
404:/cgi-bin/firewall.cgi
404:/cgi-bin/index.cgi
404:/cgi-bin/index2.cgi
404:/cgi-bin/reboot.cgi
404:/cgi-bin/printenv
404:/cgi-bin/test-cgi
404:/cgi-bin/formmail.cgi
404:/cgi-bin/Count.cgi
404:/cgi-bin/supply.cgi
404:/cgi-bin/test.sh
404:/cgi-bin/upload.cgi
404:/cgi-bin/welcome.cgi
404:/cgi-bin/status.cgi
404:/cgi-bin/uptime.cgi
404:/cgi-bin/test
404:/cgi-bin/contact.cgi
404:/cgi-bin/defaultwebpage.cgi
404:/cgi-bin/forum.cgi
404:/cgi-bin/hello.cgi
404:/cgi-bin/php
404:/cgi-bin/php4
404:/cgi-bin/php5
404:/cgi-bin/php5-cli
404:/cgi-sys/defaultwebpage.cgi
404:/cgi-sys/entropysearch.cgi
404:/cgi-sys/php5
404:/phppath/cgi_wrapper
404:/phppath/php
404:/robots.txt
404:/robots.txt
404:/rom-0
404:/robots.txt
404:/rom-0
404:/robots.txt
404:/robots.txt
404:/w00tw00t.at.ISC.SANS.DFind:)
404:/rom-0
404:/robots.txt
404:/robots.txt
404:/tmUnblock.cgi
404:/robots.txt
404:/
404:/robots.txt
404:/robots.txt
404:/wp-admin/
404:/test/wp-admin/
404:/wordpress/wp-admin/
404:/blog/wp-admin/
404:/wp/wp-admin/
404:/robots.txt
404:/HNAP1/
404:/robots.txt
404:/robots.txt
404:/robots.txt
404:/CFIDE/administrator/
404:/robots.txt
404:/robots.txt
404:/cgi-bin/rtpd.cgi
404:/manager/html
404:/robots.txt
404:/muieblackcat
404://phpMyAdmin/scripts/setup.php
404://phpmyadmin/scripts/setup.php
404://pma/scripts/setup.php
404://myadmin/scripts/setup.php
404://MyAdmin/scripts/setup.php
404:/html//a2billing/admin/Public/modules/
404:/robots.txt
404:/robots.txt
404:/robots.txt
404:/robots.txt
404:/x
404:/robots.txt
404:/rom-0
404:/tmUnblock.cgigeomnz:start



404::/web-console/ServerInfo.jsp
404::/robots.txt
404::/sitemap.xml
404::/rom-0
404::/robots.txt
404::/manager/html
404::/manager/html
404::/nice%20ports%2C/Tri%6Eity.txt%2ebak
404::/rom-0
404::/tmUnblock.cgi
404::/redirect.php
404::/robots.txt
404::/rom-0
404::/main.cgi
404::/index.cgi
404::/admin.cgi
404::/cgi-bin/report.cgi
404::/cgi-bin/webmap.cgi
404::/cgi-bin/whois.cgi
404::/cgi-sys/helpdesk.cgi
404::/cgi-bin/register.cgi
404::/cgi-bin/shop.cgi
404::/cgi-bin/calendar.cgi
404::/cgi-bin/light_board.cgi
404::/cgi-bin/main.cgi
404::/cgi-bin/search.cgi
404::/cgi-bin/test.cgi
404::/cgi-bin/file_up.cgi
404::/cgi-bin/query.cgi
404::/cgi-bin/kontakt.cgi
404::/cgi-bin/backup.cgi
404::/cgi-bin/firewall.cgi
404::/cgi-bin/index.cgi
404::/cgi-bin/reboot.cgi
404::/cgi-bin/printenv
404::/cgi-bin/test-cgi
404::/cgi-bin/Count.cgi
404::/cgi-bin/supply.cgi
404::/cgi-bin/test.sh
404::/cgi-bin/upload.cgi
404::/cgi-bin/status.cgi
404::/cgi-bin/uptime.cgi
404::/cgi-bin/test
404::/cgi-bin/contact.cgi
404::/cgi-bin/defaultwebpage.cgi
404::/cgi-bin/forum.cgi
404::/cgi-bin/php
404::/cgi-bin/php4
404::/cgi-bin/php5
404::/cgi-bin/php5-cli
404::/cgi-sys/entropysearch.cgi
404::/cgi-sys/php5
404::/phppath/cgi_wrapper
404::/phppath/php
404::/cgi-bin/php?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
404::/cgi-bin/php5?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
404::/cgi-bin/php-cgi?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
404::/cgi-bin/php.cgi?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
404::/cgi-bin/php4?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
404::/robots.txt
404::/x
404::/admin/config.php
404::/manager/html
404::/manager/html
404::/muieblackcat
404:://phpMyAdmin/scripts/setup.php
404:://phpmyadmin/scripts/setup.php
404:://pma/scripts/setup.php
404:://myadmin/scripts/setup.php
404:://MyAdmin/scripts/setup.php
404::/nowherereally
404::/rom-0
404::/rom-0
404::/robots.txt
404::/manager/html
404::/robots.txt
404::/rom-0
404::/phpMyAdmin/scripts/setup.php
404::/nice%20ports%2C/Tri%6Eity.txt%2ebak
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::/manager/html
404::http://testp2.czar.bielawa.pl/testproxy.php
404::/rom-0

404::/bot
404::/static/bot
404::/robots.txt
404::/static/data/truck.png
404::/robots.txt
404::/robots.txt
404::/manager/html



Thursday, September 3, 2015

Java Refresh reducing use of ignorance++

Due to impending job interview stasis, Simon brushes up his Java skills.

Extends Application

So Android has a class called Application, you add it's name to your main manifest application decl and voilĂ  - a singleton object that represents lifetime of your application is yours for the managing.

A lot of Android tutorials jump straight to Activities and then go looking for something they need which they figure is a Service and the lifetime of the application starts looking like a right mess and before long....

I have now extended the Application class and, doh, if only I knew then...

Other Peoples Code

In the spirit of team work, I am using "other peoples code" today. Because Android is based on Java, which they stole in a similar manner to the way one would steal a handbag from an old woman, adding an SSH client to my productivity app turns out to be quite the delight.

Compared to the make hell that would have been C++ for this feature the jcraft jsch classes drop straight into project's source folder and voilĂ  - we have ssh client connection already. As usual  third party source is always educational if you take the time to browse:

// Some Cisco devices will miss to read '\n' if it is sent separately.
byte[] foo=new byte[V_C.length+1];
System.arraycopy(V_C, 0, foo, 0, V_C.length);
foo[foo.length-1]=(byte)'\n';
io.put(foo, 0, foo.length);





Windows 10 Embedded (IoT) on Pi2


The Raspberry Pi 2 is a 4 core $50 computer that can now run a cutdown free version of Windows10 which Microsoft are labelling with the hideous acronym IoT.




https://ms-iot.github.io/content/en-US/win10/tools/CommandLineUtils.htm

The graphics drivers are work in progress but the leap from Windows CE 6 to this and the accompanying Visual Studio 2015 development environment sure feels sweet.

ALLUSERSPROFILE=C:\ProgramData
CommonProgramFiles=c:\Program Files\Common Files
CommonProgramFiles(x86)=c:\Program Files (x86)\Common Files
COMPUTERNAME=pi2
ComSpec=C:\windows\system32\cmd.exe
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=ARM
PROCESSOR_IDENTIFIER=ARM Family 7 Model C07 Revision   5, A
PROCESSOR_LEVEL=3079
PROCESSOR_REVISION=0005
ProgramData=C:\ProgramData
ProgramFiles=c:\Program Files
ProgramFiles(x86)=c:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\windows
TEMP=C:\windows\TEMP
TMP=C:\windows\TEMP
USERDOMAIN=pi2
USERNAME=Administrator
USERPROFILE=C:\Users\Default
windir=C:\windows

C:\>

failure to engage

August 2015 turned out to be a rocky month.

Two phone calls from the Inland Revenue Department, an aborted attempt at an arts education, a serious period of rest and recreation leads us back to some quality time with BlitzMax and Monkey.

Last week featured a lot of Box2D experiments. The most fun being with a biped rag doll.

After measuring my height and other proportions on the office door frame I built the following simulation of myself.


This week the focus has been on using CMake as basis of new build system.

The following spinning cube on raspberry pi was a major mile stone yesterday as the C++ 11 requirements meant a little fiddling with a GCC 4.9 install on both pi required.



The CMake script builds static blobs of SDL2, Bullet and secret sauce for both Darwin and Debian Wheezy so Mac builds and runs from same build chain as the two pi.

Both raspberries have half their RAM allocated to ram disks mounted at /build.

Modifying the script for pi2 to use make -j 4 and clean builds are down to just minutes for the full stack.

Finally, I have added a new feature to my Monk editor so that the code tree can stay in sync with the cursor position.

Monk is a fork of MaxIDE the official BlitzMax editor I wrote while working for BRL. Although it can run on a Pi X session or in Windows I only use it on Mac.

It has quick keys to rebuild my experimental monkey fork called nitro. It is due for some deployment chops soon and of course full control of the automated build system, see current master plan...

Playing with IoT on Windows10 has been a real eye opener...

And I am more than excited about the imminent arrival of Monkey 2.

However, this month includes following items:
  • prepare to publish Nitro.app in Mac AppStore
  • get neith prototype running on new Raspberry and Apple cmake targets
  • place mini-me in a vehicle or on a bike and send him down a hill
  • organise / confirm some more contract work 


TBC