Friday, February 10, 2017

Fix SSL handshake error on smart TV when play youtube

Get SSL hand shake error on LG smart tv when i am trying to send youtube clip from my mobile phone to display it on my smart tv. The solution is goto setting menu of the smart tv and force it to update its software/firmware. For LG tv it takes around 5 mins to download from internet and update tv  internal memory. Turn off the tv and turn it on again. Now the SSL hand shake problem gone.

I think you can use the same process on every smart tv to fix SSL handshake problem.

Sunday, January 29, 2017

Galaxy Tab A with S Pen 10.1"

Galaxy Tab A with S Pen 10.1"
Just bought this tablet from nearby store at price around 400 USD, for me this price is reasonable for what I get. It has 16 GB memory build-in with 10.1 inch vivid big screen very good for reading and working with spreadsheet applications. But it is a little bit heavy to carry around in daily life, therefore , I have to buy new wireless Bluetooth headset,REMAX RB-S2, to make it more comfortable to use. Battery capacity is good, One charge can power this tablet whole day with normal use spreedsheet, email, web browser, facebook, twiiter, play games.
Graphics in game is a little bit slow, I experiences screen flickering in some action games. I can not record my gameplay using Google Play Game at HD mode, it can record only in SD mode. You can view my game recording on YouTube
If you plan to buy new tablet. I think this model is worth considering.

Thursday, January 26, 2017

Web-based Maintenance software for factory or building

If you are looking for Web-based Maintenance software for factory or building
Try
Factory maintenance management system
www.datasoftinternet.com/fms
Building maintenance management system
www.datasoftinternet.com/bms
Features
--------
-Work request (for unplanned breakdown incident)
-Calculate PM schedule -> PM Work (Planned)
-Maintenance resources calculation
-Spare part management
-Costing
-Many reports

Set static IP address - Ubuntu

Set static IP address - Ubuntu -----------------------
>sudo nano /etc/network/interfaces
auto lo 
iface lo inet loopback

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx // Your ip
netmask 255.255.255.0
gateway xxx.xxx.xxx.xxx // Your gateway address
nameserver xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

>sudo /etc/init.d/networking restart
>ifconfig

Done. 

Thursday, December 3, 2015

Why TV display only the background image of Ubuntu when use HDMI

Why TV display only the background image of Ubuntu when use HDMI? Answer : Ubuntu display setting not set to use with external screen. To solve follow these steps: Connect your notebook to external TV, screen or projector On Ubuntu PC Go to Setting->Display Choose your external screen which you want to use Check the Mirror display checkbox Apply Done ==================================================== เมื่อวาน เอาเครื่อง Ubuntu ไปนำเสนองาน แบบเป็นทางการครั้งแรก ไม่เอาเครื่อง Windows ไปเป็น Backup เหมือนเคย พอเสียบ สาย HDMI เข้า external projector บน Notebook แสดงผลครบ แต่บน Projector เห็นแต่ Background ของ Ubuntu หน้าต่าง เมนูต่างๆอะไร ไม่แสดงขึ้นมาเลย นั่งปรับโน่นปรับนี่ของ Projector ตั้งนาน ไม่สำเร็จ คิดในใจ "งานเข้าแล้วมึง" นั่งงมอยู่สักพัก นึกได้ว่า อาจจะเป็นที่ Ubuntu เอง เลยกลับมาดูที่ Setting ->display Checkbox อันนึง ไม่ได้ เลือกไว้ Mirror display กดเลือกแล้ว Apply โอ้ สวรรค์ ..."หน้าจอของมึงมาแล้ว" ‪#‎FYI‬ ‪#‎Ubuntuมือใหม่‬

Wednesday, January 28, 2015

Move Firebird Interbase from Windows 32 bit PC to Windows 64 Bit Server

เมื่อต้องย้าย Firebird Interbase server + database จาก เครื่อง PC ธรรมดา Windows 32 Bits ไปวางบนเครื่อง Server Windows OS 64 Bits

ประเด็นที่เป็นปัญหา
1.ไฟล์ FDB เป็นรุ่นเก่า สร้างในระบบ OS 32 Bits เมื่อเอาไปวางบน OS 64 Bits กลับเปิดไม่ได้ แม้ว่าจะติดตั้งใช้ ODBC 64 Bit และ Firebird Database Server 64 บิทแล้วก็ตาม

แนวทางการดำเนินการที่เป็นไปได้
1.สร้างไฟล์ Database ใหม่บน 64 Bit แล้ว Dump ข้อมูลจากไฟล์เก่า 32 บิท มาลงไฟล์ใหม่ / ไม่น่าจะเหมาะ ข้อมูลอาจสูญหายย้ายไม่ครบ
2. ใช้ Firebird + ODBC เก่า 32 บิท บน Windows OS 64 บิท ต่อไป เพราะจากเอกสารคู่มือ Firebird รุ่น 32 สามารถใช้ในระบบ 64 ได้ตามปกติ

เลือก แนวทางที่ 2 โดย มีสิ่งที่ต้องทำดังนี้
1.ติดตั้ง FB Server + ODBC แบบ 32 บิท ลงใน เครื่อง 64 บิท โปรแกรม ติดตั้ง ใน c:\Program files (x86)\FireBird
2.ตั้ง ODBC ให้ถูกต้อง โดยใช้ ตัวจัดการ ODBC ของโปรแกรมแบบ 32 บิท ใน c:\windows\sysWOW64\odbcad32.exe เท่านั้น หากใช้ ODBC ใน ControlPanel นั้นจะเป็น ODBC ของโปรแกรม 64 บิท จะไม่สามารถใช้งานได้
3. ใช้ FBclient.dll 32 บิทเหมือนเดิม
4. Folder เก็บ ไฟล์ฐานข้อมูล เปิด Full control ให้ System User อ่านเขียน
5. เปิด FireWall port 3050 ให้ เครื่องอื่นๆเข้าถึงได้
6.อ้างอิง ใน ODBC ด้วย IP/Port:File database.FDB หรือ ตั้งชื่อ Alias โดยใช้ไฟล์ Aliases.conf ใน Folder Firebird ในการอ้างถึง

จบขั้นตอน

Thanes S.
28-Jan-2015
Move Firebird Interbase from Windows 32 bit PC to Windows 64 Bit Server Problem
1. Database file .FDB was created from FB in 32 bits OS , this file is unreadable in OS 64 Bits. (using ODBC 64 Bit and Firebird Database Server 64 Bit)

Possible solutions
1. Create new FBD file using 64 bits FB server and dump all data from old 32 bit FDB to new 64 bit DB file. Not good choice since , it is possible to loss/missing data between data dump and transfer.
2. Continue using old 32 bit Firebird server + ODBC on Windows 64 bit because document said Firebird 32 bit can run on 64 bit OS without any problem.

I choose 2nd solution
1.Install FB Server + ODBC 32 bit in to 64 bit server , all programs was installed under c:\Program files (x86)\FireBird
2.setup ODBC using correct version of ODBC. For 32 bit application the correct ODBC manager is odbcad32.exe in folder c:\windows\sysWOW64\odbcad32.exe. If you use ODBC manager from Admin->Control Panel it will not work, since it is the ODBC manager for all 64 bit application
3. Use 32 bit FBclient.dll
4. Grant full access control to SYSTEM user to access the folder you keep file .FDB
5. Open/Check FireWall port 3050
6. Set ODBC -> IP/Port:File database.FDB Or name your Alias inside file Aliases.conf / Folder Firebird

Finish

Thanes S.
28-Jan-2015

Friday, May 2, 2014

Server Explorer Error : .NET Framework Data provider for MS SQL Server Compact 4.0

How to solve the problem
Visual Studio 2012 & Server Explorer Error .NET Framework Data provider for MS SQL Server Compact 4.0 not found/not load/not registered
OKay.. I got these solutions from web that work for me
Easiest way let's try SQL Server Compact Toolbox
http://visualstudiogallery.msdn.microsoft.com/0e313dfd-be80-4afb-b5e9-6e74d369f7a1/
You may remove wrong registry entry before install SQL Server Compact Toolbox
start>run>regedit
Backup registry
find HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\11.0\DATAPROVIDERS
Inside dataproviders find dataprovider for .NET 4 Compact and delete it.
Or try NuGet http://www.developerfusion.com/article/131917/using-nuget-packages/ Or http://blogs.msdn.com/b/spike/archive/2008/07/18/failed-to-find-or-load-the-registered-net-framework-data-provider.aspx