Monday 29 August 2016

GUI - Angular 2 School

http://campus.codeschool.com/courses/accelerating-through-angular-2/level/1/section/1/a-basic-component

http://www.pro-tekconsulting.com/blog/extjs-vs-angular-js/
Seems favor Ext JS.

http://blog.jhades.org/the-java-origins-of-angular-js-angular-vs-jsf-vs-gwt/
History

Thursday 25 August 2016

MySQL migration from 5.0 to 5.6

http://mysqlserverteam.com/upgrading-directly-from-mysql-5-0-to-5-6-with-mysqldump/


mysql> \s
--------------
mysql  Ver 14.12 Distrib 5.0.15, for Win32 (ia32)
Connection id:          3
Current database:
Current user:           ODBC@localhost
SSL:                    Not in use
Using delimiter:        ;
Server version:         5.0.15-nt
Protocol version:       10
Connection:             localhost via TCP/IP
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    utf8
Conn.  characterset:    utf8
TCP port:               3306
Uptime:                 4 days 6 hours 22 min 35 sec

Threads: 1  Questions: 11  Slow queries: 0  Opens: 0  Flush tables: 1  Open tables: 0  Queries per second avg: 0.000
--------------

C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin>mysqldump.exe -uroot --add-drop-table --all-databases --force > c:\temp\all-mysql-dbs.dmp --password Enter password: ****

uninstall mysql 5.0


mysql --uroot --password --execute="source c:\temp\all-mysql-dbs.dmp"
Enter password: ****



Tuesday 23 August 2016

IT - Web - JavaScript - JSLint

http://jslint.com/help.html

Helps to check and improve the quality of JavaScript.


Il semble que la perfection soit atteinte non quand il n’y a plus rien à ajouter, mais quand il n’y a plus rien à retrancher.
Antoine de Saint-Exupéry
Terre des Hommes (1939)

Trends on Web GUI

MVVM - Model–view–viewmodel
https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel
A criticism of the pattern comes from MVVM creator John Gossman himself,who points out overhead in implementing MVVM is "overkill" for simple UI operations. He states for larger applications, generalizing the ViewModel becomes more difficult. Moreover, he illustrates data binding in very large applications can result in considerable memory consumption.

implemented for Java by ZK:
https://en.wikipedia.org/wiki/ZK_(framework)
the markup language did not get a diffusion and Mozilla the author of XUL declared it will change the approach in the future in favour of WebExtensions (pure plug-in oriented staff for Mozilla browser)

Most used AJAX framework on the web is:
https://en.wikipedia.org/wiki/JQuery

https://en.wikipedia.org/wiki/List_of_Ajax_frameworks

  • jQuery
  • Ext JS
  • Google Web Toolkit passed to open source comunity
  • JBoss RichFaces, ICEfaces and PrimeFaces open-source Ajax component libraries for JavaServer Faces





Tuesday 16 August 2016

CoC - Best Use of Gems in Town Hall 10

Being at 20% of development (maxed infernos and all x-bows in last update) I have discovered to not have any incentive to use gems for boost of barracks due to too high rate of gold accomulation.

The possible solutions could be:
  • schedule highest gold rate consumption constructions
  • minimize activity once in deposits there is less space then the pace of internal production till the next builder
  • leave 1 builder almost always free and use the gold and elixir in time for making walls stronger, slower rate of growing
  • do boosts the same, loosing the gold over 8.5 M cap
  • instant building (about 250 gems for a day)
Any alternative to boost or few minutes/hours instant building has no sense. The huge amount of gems can be useful for:
  • dark elixir farming (once deposits are close to be full or elixir first tier upgrades are over)
  • cups hunting to reach champions league (in late town hall 10) and get 2000 gems

Wednesday 10 August 2016

CoC - 1M of Gold Lost Due To All Builders Business

This should be a lesson for the future. Simplest approach define the average pace per date (in last half  of a day without any rush I reached 3.25 M  gold). Considering this we never have to permit the next builder is available in more then 2.6 days (2 days and 15 hours).

Wednesday 3 August 2016

CoC - Farming Without Queen


  • 4 earthquakes to open the defence
  • 1 earthquake in the center close to town hall and strong defences
  • 2 freeze spell for 2 inferno towers
  • 1 rush spell
  • 2/3 golems
  • 10/16 giants ?
  • 10 bombers (for the first line) ?
  • 10 wizards ?


Tuesday 2 August 2016

CoC - Quick Dark Elixir Farming with Super Queen


  • all barracks to produce only angels
  • all dark barracks to produce only minions
around 30 minions to remove side constructions (force the queen to go directly to the center)
queen plus 4-8 angels

author states you may attack each 6 minutes and farm about 100K of dark elixir per day

rush spell may power queen
levitating spell may help to go deeper in base

CoC - Power Farming Without Herous


  • 8 giants
  • 4 angels
  • 7 wizards
  • 12 valkirie
  • levitating spell
  • rush spell
Good results but very slow (30 minutes per attack) and very costly of dark elixir (close to 2K per attack).

Gold and Graham defensive strategy

Gold ETFs: BULL.MI (more granular), PHAU.MI
CSNDX.MI -> UST.MI (38% to 10%) - Graham min 25%
EM75.MI to 71% - Graham max bonds 75%
VIX = 12,44



Monday 1 August 2016

CoC - Next 2.5 Days - In Search of Elixir

The queen is scheduled for update. No choice, I have to reach at least 6 millions in next 2.5 days to schedule research of giants.

In next 3 days no builder will be free, that is why I have emptied all gold deposit in walls.

The strategy for farming should be found, in primis search for more dark elixir usage:
  1. 4-6 valkirie 
  2. 12-16 hog riders
  3.  15 or more minions 
Consider that no here there is in next 3 days, thus angels may be switched for something more appropriate.