Oktobarski sastanak Bihac .NET UG


Termin sastanka: 31. 10. 2012. 17:00, Tehnički fakultet Bihać

Nakon ljetnje pauze i septembaskih obaveza zakazujemo naredni sastanak Bihac .NET UG. Naime, u srijedu 31. oktobra sastaćemo se na starom mjestu, na Tehničkom fakultetu u Bihaću i održati sastanak na temu razvoja Windows 8 aplikacija. Ovog puta moja malenkost će održati predavanje pod nazivom “Consuming data in Windows 8 Store apps” u narednom tekstu date su detaljne informacije o predavanju.

Tema: Consuming data in Windows 8 Store app / Konzumacija podataka u Windows 8 Store aplikacijama

Level: 300

Predavač: Bahrudin Hrnjica, Microsoft MVP

Opis: Windows 8 Store aplikacije izvršavaju se u izoliranom okruženju kojim upravlja Windows Run-Time. Ova okolina pruža mogućnosti razvoja aplikacija pod nazivom Windows Store app, odnosno novi tip aplikacija koje se vrte na Windows 8 OS. Jedna od karakteristika ovih aplikacija je što su prilagođene za pokretanje na raznim uređajima od notebooka, tableta do PCa, i što mogu da se distribuiraju na Windows Store globalnu prodavnicu Windows 8 aplikacija. Jednistvenost platforme daje i određena ograničenja, a u ovom predavanju ćemo vidjeti na koji način Windows Store aplikacijama obezbijediti podatke iz različitih izvora podataka, a posebno sa SQL Servera. Widnows Store aplikacija nisu u mogućnosti da direktno pristupe Entity Framework ORM maperima, pa smo prisiljeni da koristimo ili ASP.NET Web API ili WCF. Demo primjeri će pokazati kako koristiti HTTPClient klasu za pristup podacima preko pomenutih serverskih tehnolgija. S druge strane na predavanju će biti pokazano kako koristiti SQLite C++-cross-platform biblioteku u Windows Store applikacijama direktno bez korištenja pomenutih Rest i WCF tehnologije. Kroz demo primjere predavanje će dati kompletnu sliku kako Windows Store aplikacija mogu koristiti podatke iz vanjskih izvora bez kojih je teško zamisliti današnju modernu Windows 8 Store aplikaciju.

Na sastanku će biti i nekoliko nagrada na najsretnije i najaktivnije članove. Nagrade su: majica, usb stik, …..

Golden Ratio and GPdotNET v2 User Interface


First of all, I am not a designer. In fact I don’t think I can design anything beautiful. Mostly, if I want to design something first asked some of my friends or people who knows about design, before decided to do. So design implementation of GPdotNET v2 was very frustrated for me. Anything I have implemented, I thought it was not so good. I still think that the current design of GPdotNET v2 is not something which I can say very well. But something interesting happen while I have designed current UX. I knew if something needs to be designed well, it must be based on golden ratio. So I have decided to implement golden ration anywhere where is possible in the app.

This blog post is going to present one approach of implementation of golden ratio in Application, as a good recipe for design. If you don’t know what is golden ratio you can found on this link.

So let’s first see the Start Screen.

Start Screen of GPdotNET

The first implementation of golden Ratio was dimension of the main window. So when you open GPdotNET, the size of initial Window is size=(932:579) which means that the height=579, and width=579*1,61=932, which is depicted on picture below as well.

Then I concentrate on my main toolbar to see if possible to implement golden ratio there. So if you look for example Common group, you can see that the width and height are designed by golden ratio, as well as height = width=H/Φ of tool button.

I have also implement golden ration to parts of group bar. The number a, b, c are implemented based on golden ratio on the following way: c=(a+b)*Φ, b=a*Φ (see picture below).

Other group bars are also implemented with golden ratio by simple adding half width of Common group toolbar for each additional tool button.

Create new Model Dialog

Other full implementation of golden ration was in Create New Dialog
From picture you can see that the size of dialog is based on golden Ration, as well as parts of the dialog. One interesting thing is that the position of Cancel and OK buttons are also based on golden ratio. Length of line a, is the same as length b multiple by Φ.

Export Dialog

Export dialog is pretty simple so golden ratio is implemented in 3 elements height (a) of ListBox, height (b) and width (c) of dialog in relations b=a*Φ , c= b*Φ, which you can see from the picture below.

I don’t know is my design is better than previous but I know you can find some interesting proportions in form of golden ration. :)

GPdotNET 2.0 beta 1 is coming


GPdotNET v2.0

GPdotNET v2.0

In the few days I will release the first beta of the second version of GPdotNET open source project for modelling and optimization by using Genetic Programming and Genetic Alogorithm. Comparing with previous version, this version brings several new features as well as improvements of existing. The following is the main feature which this beta brings:

  1. GPdotNET v2 is runnign od Windows and Linux based OS.
  2. GPdotNET v2 now supports optimization modul which is integrated with existing GP modeling, as well as a separate module for finding optimum of analytic defined function, please see my previous post about it.
  3. New simplified GUI with only one big toolbar containing all avaliable options.
  4. New File format which you can open in Notepad and modify manually.
  5. New memory improvement, with using memory pooling.

For each of this main features I will write blog post as well as User Guide and Tutorials.

Here is some screen shoots how GPdotNET looks like in Fedora 17.

This slideshow requires JavaScript.

Windows 8 i System on a Chip (SoC) tehnologija


Na najvećem sajmu potrošačke elektronike i inovacija CES koji se održava od 6-9. januara u Las Vegasu u USA, Steve Ballmer šef Microsofta pored zanimljivih stvari oko Windows Phone 7, igraće konzole Xbox 360 i KINECT, kao šlag na tortu najavio je novu verziju Windowsa 8 i prezentirao neke novine koje dolaze s njim.

Naime, u saradnji sa proizvođačima hardvera prikazan je set novih uređaja koji imaju svojstvo System on Chip (SoC), a što će podržavati nova verzija Windows 8.

System on Chip (Soc) kao pojam označava integraciju svih komponenata u jedan čip preko kojeg se mogu obrađivati kako digitalni tako i analogni signali. Tipična primjena ovakvih uređaja su embeded sistemi. S druge strane System on Chip predstavljaju uređaje koji su dizajnirani za mobitele i tablet računare. Ovo svojstvo omogućava istim uređajima dramatično povećanje vijeka trajanja baterije, odnosno smanjenje energije koje je potrebno imati za njihov rad.

SoC predstavljaju ARM bazirane sisteme koje razvijaju microsoftovi partneri NVIDIA Corp., Qualcomm Inc. i Texas Instruments Inc. Tehnologiju koja je demonstrirana na razlčitim uređajima sastojala se od hardverskog ubrzanja grafike i media playbacka, kao i uređaje na kojima je demonstriran rad Office 2010 programa u prirodnom obliku, demonstrirajući printanje dokumenta iz MS Worda. Pogledajte video ove vrlo interesantne prezentacije SoC tehnologije i Windows 8 OS-a.