Monday, March 03, 2014

Kesintisiz Güç Kaynağı Alırken Nelere Dikkat Etmeli - UPS Cheatsheet

        Bilgisayar alırken "ne alayım" diye bilen arkadaşlarınıza sorarsanız hep aynı şeyi söylerler "neye ihtiyacın varsa onu al". Oyun oynamayan adam i7 işlemcili, ssd diskli, titan ekran kartlı 3000 dolarlık masaüstü almasın mesela. Tek işi internette gezmek, ofis programlarını kullanmak, arada film izlemek olaninsan için i3 işlemci, onboard ekran kartı yeterli. Hatta ona masaüstü bilgisayar (PC) lazım değil; laptop, netbook hatta tablet bile o vatandaşın işini görür. Kesintisi güç kaynağı (Uninterruptible Power Supply - UPS) konusunda da aynı düstur geçerli, "ihtiyacın olanı al". Ne ucuza kaç, ne de pahalısını al.

        Daha önce 3 kez UPS almıştım, ve hepsi bir şekilde bozuldu, artık illalah edip araştırayım dedim bu aletleri ve geçmişte hep yanlış tercih yaptığımı fark ettim. Kesintisi güç kaynağı (UPS) alırken anahtar performans göstergeleri (KPI) nelermiş, öğrendiğim kadarıyla listelemeye çalışayım;

0. Line Interactive / Online: Line Interactive'ler şebeke stabil iken şebekeden, stabil değilken (voltaj dalgalanmalarında ve şebeke elektriği tamamen gittiğinde) ise aküden besler. Online UPS'ler ise bilgisayarları şebekeden izole edip, tamamen aküden besler, şebeke gerilimi aküyü sürekli doldurmak için kullanılır. Genelde ev kullanıcıları için line-interactive UPS iş görecektir.
1. Güç Çıkışı (Watt): Kullanacağınız bilgisayara göre değişir; çok çekirdekli işlemci + güçlü bir ekran kartı var ise min 600 watt olmalı. CRT monitör varsa min 700 watt besleyebilmeli.
2. Akülerin Gücü (AH - Amper Saat): UPS'in içinde, şebeke gerilimi olmadığından elektrikle sistemi besleyebilsin diye sıvılı veya kuru aküler bulunuyor. Yapıları otomobildeki aküye benziyorlar, biraz daha ufağı ve standart 12v oluyorlarmış. 7, 7.2, 9 ve daha yüksek amper saat değerine sahip aküler yer alıyor. Bunlardaki kimyasallar insanlar için ölümcül olabilir, sakın içini açmayın diye de not düşelim. 
3. Kapasite (VA - Volt Amper): Sanırım UPS alırken en çok göze sokulan, ama bence en önemsiz şey bu veri. 650va, 1000va veya 1500va olmuş çok önemli değil. Sizin sisteminize göre 1600VA'lik bir UPS 7.2AH'lik pil içerdiği için düşük güçtedir, 9AH pil içeren 1500VA'liktan daha kullanışsız olabilir.
4. Sinüs dalgası: Elektrik çıkışının dalga grafiği tam (kesintisiz, prüzsüz) sinüs veya kırıklı/parçalı olabiliyor. Line interactive ve online UPS farkı aslında bu değer. Şebeke sinyalindeki dalgalanmalar, radyo frekansı karışmaları vb değerlerden tamamen arındırılmış temiz bir çıkış istiyorsanız on-line seçmeniz gerek. Detaylı bilgi için powercom'un sitesindeki analizlere bakabilirsiniz. http://www.pcm.ru/products/choose/description/

        Bu değerlerin önemini anladıktan sonra, gelelim karar verme aşamasına.

        Bilgisayarınız güçlü ise işlemcisi (Intel i3, i5, i7 veya AMD A10, FX serisi) ve ekran kartı (GeForce veya Radeon) çok elektrik çekecektir. 

        Yük altındaki bir işlemci 100 wattın üzerinde enerji tüketebilir.

        Benzer şekilde ekran kartı da 250 wattı geçebilir;

        Bunlara anakart, harddisk ve USB komponentlerin harcadığı enerjiyi (ve monitörünüzü) eklerseniz bilgisayarın yük altındaki enerji tüketimini az çok tahmin edebilirsiniz. Niye "yük altındaki güç" lazım diyorum, çünkü oyunun ortasında elektrik giderse "1 pc'yi 10 dakika götürür" denilen UPS, 10 saniyede kendini kapatacaktır, hatta o kadar bile dayanmayabilir. Sadece UPS tükenip bilgisayar kapansa yine iyi, hızlıca elektik boşalmasından ötürü UPS'in bataryalarında kalıcı hasar oluşabilir, UPS'iniz bir daha şarj olamayabilir.

        O yüzden sistem yük altındayen (yoğun yazılım/donanım işi yapıyorken) veya yük altında değilken (masaüstünde boştayken, idle) ne kadar güç tükettiğine bakın ve ona göre UPS seçin.

        Örnek olarak 3 adet UPS inceleyelim;


1. FSP EP 650

Model EP 650
Capacity 650 VA / 360 W
Input/ Voltage 110/120 VAC or 220/230/240 VAC
Input/ Voltage Range 81-145 VAC / 162-290 VAC
Input/ Frequence 60/50 Hz (auto sensing)
Output/ Voltage ±10%
Output/ Frequence Range 60 Hz or 50 Hz ±1 Hz
Output/ Transfer Time(Typical) Typical 2-6 ms, 10ms max
Output/ Waveform(Batt. Mode) Simulated Sine Wave
Battery/ Battery Type & Number 12 V/ 4.5 AH x 1
Battery/ Backup Time(One PC load@120W) 5 min.
Battery/ Typical Recharge Time 4-6 hours recover to 90% capacity
Physical/ Output Receptacles Schuko, NEMA, and IEC selections
Physical/ Dimension, D x W x H (mm) 294 x 110 x 145
Physical/ Net Weight (kgs) 4.25


2. POWERCOM IMD-1500AP

Model IMD-1500AP
Reserve capacity 1500 VA / 900 W 
Input voltage 220/230/240 V ± 25% without using battery power
Current frequency 50 or 60 Hz ± 10% (auto-sensing)
Output voltage 220/230/240 V ± 5%
Output Waveform Stepped approximation to a sinewave
Current frequency 50 Hz or 60 Hz ± 1 Hz
Switching time on battery 2-4 ms, including the detection time.
Operation of the automatic stabilizers (AVR): Increases by 15% the output voltage when the input voltage is 9% -25% of nominal. Reduces by 13% with an increase in the output voltage of the input voltage is 9% -25% of nominal.
UPS input Circuit breaker for protection against overload and short circuit.
UPS overload protection automatically shut off if overload exceeds 110% of nominal for 60 s or 130% for 3 seconds. If a short circuit at the output - the immediate shutdown of the load.
Surge Protection 460 Joules 8/20mks
Protection against network interference EMI / RFI filter 10dB at 0.15 MHz, 50dB at 30MHz
Protection bodies., Modem, network 10Base-T port (UTP, RJ-45, RJ-11)
Privacy television coaxial cable Surge Protection (optional).
Battery Type Lead-acid, sealed, maintenance-free.
Battery voltage 24V (12V 7.2Ach / 2)
Average charging time, h 6 (90% of full capacity)
Protection Automatic self-test and protection against deep discharge and battery replacement indicator.
Runtimes PC with 17 "monitor (150W load) * 30 minutes
Indication Digital display
Battery indicator Yes
Audible alarm Yes
Management Via USB-port: battery status, schedule power on / off, shutdown of the computer.
Net Weight, kg 13.6
Dimensions in mm (WxDxH) 130 x 382 x 192
Output sockets, pc 6 sockets: 4 IEC-320 C13 battery backup + 2 IEC-320 C13 with filtration
Operating conditions Humidity 0 - 95% (non-condensing)
Temperature 0 - 40 ° C.
Maximum height 3500 meters above sea level
Standards TUV, CE, cUL, FCC, IEEE 587, PCT


3. FSP EP 1500

Model EP 1500
Capacity 1500 VA / 900 W
Input/ Voltage 110/120 VAC or 220/230/240 VAC
Input/ Voltage Range 81-145 VAC / 162-290 VAC
Input/ Frequence 60/50 Hz (auto sensing)
Output/ Voltage ±10%
Output/ Frequence Range 60 Hz or 50 Hz ±1 Hz
Output/ Transfer Time(Typical) Typical 2-6 ms, 10ms max
Output/ Waveform(Batt. Mode) Simulated Sine Wave
Battery/ Battery Type & Number 12 V/ 9 AH x 2
Battery/ Backup Time(One PC load@120W) 25 min.
Battery/ Typical Recharge Time 4-6 hours recover to 90% capacity
Physical/ Output Receptacles Schuko x 3 + IEC x 3/ also provide India, French, Schuko, NEMA, and IEC for selections
Physical/ Dimension, D x W x H (mm) 397 x 146 x 205
Physical/ Net Weight (kgs) 11.1


        Dikkat edilmesi gereken kısımları tekrar boyadım.

        Dünya para verip aldığım bilgisayarımın parçaları, şebeke geriliminden etkilenmesin istiyorum. Ayı gibi elektrik çeken canavar bilgisayarıma da bu amaçla birden fazla kez UPS aldım ve hepsi bozuldu. Ben geçmişte "1 PC'yi 10 dk idare eder" diyerekten 650 VA'lık bir güç kaynağı almış ve onu bozmuştum. Hatta 2 kez 650'lik aldım, ikisi de bozuldu. Sonra 1000'lik aldım, ama onu da tüketmiştim kısa sürede. Bozulan UPS'in akülerinin değiştirilmesi de olası, ancak sağlık riski çok yüksek olduğu için içini açmaya çekindim. Kaldı ki aküleri değiştirsem, yine aynı güçtekileri takmam lazım bu da beni başladığım noktaya geri getirecek. Ama artık öğrendim ne almam gerektiğini ve yüksek güç çıkışı olan, 9 AH'lik akü içeren bir UPS almaya karar verdim. Umarım bu dördüncü ve son oyuncağım daha uzun ömürlü olacak. 

        Araştırmalarımın birilerine faydalı olmasını dileyerek yazımı sonlandırıyorum.

Sunday, February 16, 2014

World of Tanks XVM Mod Pack for v8.11

Hello,

We were playing around with other people's mods and came up with a new mod pack.
http://www.mediafire.com/download/inupnw4pfy0ve7e/wot-xvm-pack-20140216-0200.zip

Our previous xvm style pack (based on wow style xvm) file is re-written from scratch and a lot of new details are added.


Players Panel: Colorful Player Nickname (+clan name with smaller letter size) w/ respect to wn8 rating, colorful tank name (heavy=orange, med=green, lt=gray, td=blue, spg=red), contour icon (country flag+tier+colored w/ type: heavy=orange, med=green, lt=gray, td=blue, spg=red).
http://imageshack.com/a/img30/5514/cxkd.jpg


Statistic Form (Loading Screen): Chance to win %, Chance to win % with remaining players (updated after each kill in battle), battle tier, Colorful Player Nickname (+clan name with smaller letter size) w/ respect to wn8 rating, kilobattles with color, wn8 rating with color, win rate with color, colorful tank name (heavy=orangemed=greenlt=graytd=bluespg=red), games with that tank (more games, more pro colors), win rate with that tank (more win rate, brighter colors), contour icon (country flag+tier+colored w/ type: heavy=orange,  med=green,  lt=gray,  td=blue
spg=red).
http://imageshack.com/a/img842/1515/f0eg.jpg


Markers: contour icon (country flag+tier+colored w/ type: heavy=orange, med=green, lt=gray, td=blue, spg=red), colorful tank name (w/ respect to wn8 rating), hp bar, hp left/hp total, tank type symbol (allies=green, enemy=red, platoon=orange).


Extended (Alt) markers: KiloBattles with color, colorful efficiency (w/ respect to eff), colorful winrate (w/ respect to wn8), player nickname, hp bar, hp/total, tank type symbol.
http://imageshack.com/a/img36/386/2iyn.jpg


The colors for different ratings are evaluated for the limits below:



Bad Normal Good Very Good Legendary Unicum
color Gray Green Blue Purple Orange Gold
eff  0 - 859 860 - 1139 1140 - 1459 1460 - 1549 1550 - 1734 1735+
wn8 0 - 899 900 - 1199 1200 - 1499 1500 - 1749 1750 - 2299 2300+
kb 0 - 3k 4k - 6k 7k - 10k 11k - 15k 16k - 19k 20k+
wr - - - - 60.5 - 66.5 67.5+


Minimap and Big Map (press ctrl): 50 mt min visibility range circle, 455 mt max view range circle, 500x500mt box for max rendered view range. view angle limit lines for td and spgs, camera pointer line, gun pointer line, last spotted positions on map for enemies.
http://imageshack.com/a/img59/4099/kijm.jpg


Damage Received Log: All hits received are logged. dmg inflicted + shell type of enemy + enemy tank icon (ht, med, lt etc) + tank name is displayed in log list. Also, at the time of hit, a special popup occur for 5 seconds telling who (tank model) inflicted how many dmg (hp) with what type of ammo (ap, apcr etc). A counter for estimated reload time of enemy tank is also present below.
http://imageshack.com/a/img546/7821/3uqdk.jpg


Damage Inflicted Log: All hits inflicted are logged. on the top line: how many times + total dmg + avg dmg done + last dmg dealt is written. On the lines below (grouped by enemies): how many times, total of what damage is inflicted to what tank (and player name) is written.
http://imageshack.com/a/img706/5793/a3ld.jpg


This version also has 32x zoom in (and zoom out) plugin.


The mods used are listed below;
- xvm-5.1.0.zip : http://www.modxvm.com/en/
- ContourIcons-0.8.11-riskynet.zip : http://forum.worldoftanks.eu/index.php?/topic/218785-088-riskynets-colored-contour-icons/
- vit_zoom_0811_2x_32x_v1_scroll.zip : http://worldof-tanks.com/8-10-smooth-scope-zoom-30x-10lvl-by-artasan/
- Damage_Panel_GambitER_0.8.11_v.2.zip : http://forum.worldoftanks.ru/index.php?/topic/633723-0810-стандартная-damage-panel-с-расширенным-логом-полученно/


We hope our compilation comes in handy for you.

azureel & arucado & favorius.

Wednesday, January 15, 2014

Nvidia Network Service and Jboss for 9990

Source: https://cagricelebi.com/blog/nvidia-network-service-and-jboss-for-9990/

Hello,

Today I discovered that my Jboss server on my local machine was not working. On server.log it was saying port 9990 was used. Last night everything was just fine? Here is the output;

"
...
12:58:06,908 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: Address already in use: bind /127.0.0.1:9990
      ...

12:58:06,999 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015964: Http management interface is not enabled
12:58:07,000 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
12:58:07,000 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.2.0.Final "Janus" started (with errors) in 3122ms - Started 223 of 320 services (3 services failed or missing dependencies, 90 services are passive or on-demand)
...
"

I investigated my local computer and saw that it was used by an Nvidia service. I remembered that I updated my driver last night... Sigh...

"
C:\Users\cagri.celebi> netstat -an | findstr 9990
  TCP    127.0.0.1:9990         0.0.0.0:0              LISTENING

C:\Users\cagri.celebi> netstat -anb 
...
  TCP    127.0.0.1:9990         0.0.0.0:0              LISTENING
 [NvNetworkService.exe]
...

"

To fix this, go to services.msc and find NVIDIA Network Service (NvNetworkService) and stop it, also disabling is an option.

After that jboss started normally.

I love you Nvidia, but why on earth did you choose that port? Really guys... <3

Wednesday, December 25, 2013

LG Nexus 5 Home Screen From LG Nexus 4

Merhaba,

LG Nexus 5 telefonu alanlar, yeni arayüze (Launcher) ve olmayan SMS uygulamasına (Messaging) alışmakta zorluk çekebilir. Alıştığınız home screen için eski telefondan uygulamaları kopyalayarak bu sorunu çözebiliyoruz.

Gerekli malzemeler: 
- Kaynak olarak, Android v4.4.2 yüklü LG Nexus 4.
- Hedef telefon, Android v4.4.2 yüklü LG Nexus 5.
- Her 2 telefonda da kurulu ES File Explorer (veya muadil) dosya kopyalama uygulaması.

Öncelikle, LG Nexus 4 telefonunuzun /system/priv-app dizinini bulun.


Orada Launcher2.apk ve Mms.apk isminde 2 dosya var, onları işaretleyin, kendinize mail atın.


Sonrasında ikinci telefonda (LG Nexus 5) kendinize attığınız maili açın, ekteki uygulama dosyalarının kurulumunu yapın. Kurulum esnasında "Güvenli olmayabilir" diyecektir, Settings menüsünden "Unknown Sources - Allow installation of apps from sources other than the Play Store" seçeneğini aktifleştirin ve kuruluma devam edin.


Kurulum tamamlandıktan sonra Settings menüsü ana sayfasında, "Device" kısmında "Home" diye bir kısım çıkacak. İçeriden ister yeni tasarımı, ister az önce kurulumunu yaptığınız eski tasarımdaki ana sayfayı kullanabilirsiniz.


Hangouts yerine eski uygulamayı kullanmak için de, Settings menüsü ana sayfasından "More..." seçip, "Default SMS app" seçeneğinden Messaging seçebilirsiniz.



Monday, September 30, 2013

World Of Tanks XVM Mod Pack

Merhaba,

WoT v8.11 için güncellendi: http://www.mediafire.com/download/csx3a63aiiqvvo8/wot-xvm-pack-20140215-2048.zip

Ekran görüntüsü: http://imageshack.com/a/img838/7105/421t.jpg 




World Of Tanks oynarken bazı detaylar oyunda yer alıyor ama kullanıcının önüne gelmiyor. Bazı oyuncu/yazılım geliştiriciler de bunları derleyip toplayıp, daha kullanışlı bir arayüzde oyunun içine entegre halde sunabilmek için bazı modüller kodlamış. Biz de birkaç arkadaş toplandık, en işe yarar olan mod ve arayüz değişikliklerini (daha doğrusu işe yarar olduğunu düşükdüklerimizi) bir araya getirip tek dosyada sunmaya karar verdik. İçindekiler;


- World of Tanks v8.11 : http://worldoftanks.eu/en/
- xvm-5.1.0.zip : http://www.modxvm.com/en/
- ContourIcons-0.8.11-riskynet.zip : http://forum.worldoftanks.eu/index.php?/topic/218785-088-riskynets-colored-contour-icons/
- vit_zoom_0811_2x_32x_v1_scroll.zip : http://worldof-tanks.com/8-10-smooth-scope-zoom-30x-10lvl-by-artasan/


Bu eklentilerin varsayılan ayarlarının üzerine de bazı kendi güncellemelerimizi yaptık;
- Oyun başlamadan önceki takım ekranları 
- Tab (skorboard) ekranını 
- Sağ ve soldaki oyuncu panelini (playerPanel) 
- Alt tuşuna basınca çıkan bilgileri 
- Atış geçmişi (hitLog) panelini 
- Tank ikonlarını (contour icons) 
- Tankların sınıflarına göre (lt/mt/ht/spg/td) renklerini (ikon renkleri ile uyumlu olacak şekilde)

Ve daha birçok şeyi detaylandırdık.

Kurulum kolay. Tek yapmanız gereken ekteki zip'i indirip, res_mods dizini üzerine yazmak. Umarım işinize yarar.


Link: 
http://www.mediafire.com/download/csx3a63aiiqvvo8/wot-xvm-pack-20140215-2048.zip





Hello,

World of Tanks game has a lot of details during the gameplay, but they are not displayed well to the user. Some players/programmers decided to make modules to this game in order to enrich/enhance the user interface. So, a few of us fellow players thought some of these mods are userful and gathered them together in a single zip file. 


Screenshot: http://imageshack.com/a/img838/7105/421t.jpg 

The ingredients;

- World of Tanks v8.11 : http://worldoftanks.eu/en/
xvm-5.1.0.zip : http://www.modxvm.com/en/
ContourIcons-0.8.11-riskynet.zip : http://forum.worldoftanks.eu/index.php?/topic/218785-088-riskynets-colored-contour-icons/
vit_zoom_0811_2x_32x_v1_scroll.zip : http://worldof-tanks.com/8-10-smooth-scope-zoom-30x-10lvl-by-artasan/


We altered some features of the default settings afterwards;

- Loading screen team informations (before round begins)
- Tab (scoreboard) screen
- Hit log
- Alt button functionality
- Player panel in the right and left
- Tank (contour) icons
- Tank classes (lt/mt/ht/spg/td) colors with respect to contour icons.

And a few more things are updated.

The installation is easy. All you have to do is download the zip file, and overwrite the res_mods folder. Hope you like it.

Wednesday, May 22, 2013

Maven Android Plugin aapt Error

Android SDK r17 güncellemesini yaptıktan sonra, maven-android-plugin, platform build tools altındaki bazı önemli dosyaları bulamıyor. Derleme aşamasında şuna benzer bir hata ile karşılaşıyorsunuz;

"
...
Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:generate-sources (default-generate-sources) on project sdk-lib: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:generate-sources failed: Could not find tool 'aapt'. Please provide a proper Android SDK directory path as configuration parameter ... in the plugin . As an alternative, you may add the parameter to commandline: -Dandroid.sdk.path=... or set environment variable ANDROID_HOME. -> [Help 1]
...
"

Güncelleme sonrası aapt, aidl, dexing ile ilgili gereçler build-tools dizinine SDK revizyon numarasına göre taşınmış. Bunlara eski konumlarında sembolik linkler yaratmak sorunu çözüyor.

https://code.google.com/p/maven-android-plugin/issues/detail?id=377

Windows ortamında benzer bypass yapabilmek için mklink komutundan faydalanılabilir.

"
C:\Users\cagri.celebi>d:

D:\>cd "Program Files (x86)\Android\android-sdk"

D:\Program Files (x86)\Android\android-sdk>cd platform-tools

D:\Program Files (x86)\Android\android-sdk\platform-tools>mklink aapt.exe ..\build-tools\17.0.0\aapt.exe
symbolic link created for aapt.exe <<===>> ..\build-tools\17.0.0\aapt.exe

D:\Program Files (x86)\Android\android-sdk\platform-tools>mklink aidl.exe ..\build-tools\17.0.0\aidl.exe
symbolic link created for aidl.exe <<===>> ..\build-tools\17.0.0\aidl.exe

D:\Program Files (x86)\Android\android-sdk\platform-tools>mklink /d lib ..\build-tools\17.0.0\lib
symbolic link created for lib <<===>> ..\build-tools\17.0.0\lib

D:\Program Files (x86)\Android\android-sdk\platform-tools>
"

http://img560.imageshack.us/img560/9837/cmdlinks.png