Category Archives: Uncategorized

A short primer on Scala

Object-Oriented Meets Functional

Scala is relatively new language based on the JVM. The main difference between other “Object Oriented Languages” and Scala is that everything in Scala is an object. The primitive types that are defined in Java, such as int or boolean, are objects in Scala. Functions are treated as objects, too. As objects, they can be passed as arguments, allowing a functional programming approach to writing applications for Apache Spark.

If you have programmed in Java or C#, you should feel right at home with Scala with very little effort.

You can also run or compile Scala programs from commandline or from IDEs such as Eclipse.

Test on HDP 2.3.2 with Spark 1.4.1

Continue reading

CNAME record

CNAME record ก็คือ ชื่อเล่นนั่นเอง เช่น

NAME             TYPE  VALUE
--------------------------------------------------
bar.example.com. CNAME foo.example.com.
foo.example.com. A 192.0.2.23

foo.example.com (Type: A) ชี้ไปที่ไอพี 192.0.2.23

แต่ bar.example.com (Type: CNAME) ชี้ไปที่ foo.example.com
ซึ่งก็ต้องไปดูที่ foo.example.com อีกทีจึงจะได้ไอพี 192.0.2.23 มาใช้งาน

ที่มา : en.wikipedia.org/

RSVP

English Today วันนี้เสนอคำว่า RSVP เรามักเจอตัวย่อนี้ตามบัตรเชิญต่าง ๆ หมายถึง “กรุณาตอบกลับด้วย (ว่าจะมาหรือไม่มา)” เพื่อความสะดวกในการจัดงาน คำนี้มาจากภาษาฝรั่งเศสคือ “Répondez s’il vous plaît” (ออกเสียงประมาณว่า “เรปงเด้ ซิลวูเปล”) ถ้าแปลเป็นภาษาอังกฤษก็คือ “Please reply” นั่นเอง

http://www.oknation.net/

Any Video Converter: iPod Video Converter, MP4 Converter, AVI Converter

Free Video Converter with millions of happy users!
Any Video Converter Freeware- the Free Video Converter – is the most renowned free video converter for converting video files between various formats, including AVI, MP4, WMV, MKV, MPEG, FLV, SWF, 3GP, DVD, WebM, MP3, etc for iPad, iPod, iPhone, Android, PSP, Tablets. Burn videos to DVD disc with fast speed and excellent video quality.

http://www.any-video-converter.com/products/for_video_free/

Access two Gmail accounts at once in the same browser

To enable multiple sign-in:

  1. Go to the multiple sign-in settings page.
  2. Sign in to your account.
  3. Select On to enable the multiple sign-in feature and select the checkboxes to confirm that you understand how to use multiple sign-in. Read more about what you need to understand before using multiple sign-in.
  4. Click Save changes.

 
To enable multiple sign-in on additional accounts:
Once you’ve enabled multiple sign-in for one of your Google Accounts, follow the steps below to enable multiple sign-in for additional accounts you would like to sign in to:

  1. Sign in to a product that supports multiple sign-in, using an account that has multiple sign-in enabled.
  2. Click your name or email address at the top of the page.
  3. Select Sign in to another account from the drop-down menu.
  4. On the page that opens, enter the email address and password for another account you wish to access, and click Sign in.

ที่มา: Getting started: Enabling multiple sign-in

HTC Tattoo hard reset

The most convenient way to do a factory reset is via the phone settings.

1. Press HOME > MENU, and then tap Settings > SD card & phone storage > Factory data reset.
2. On the Factory data reset screen, tap Reset phone, and then tap Erase everything. Your phone will erase all personal data and restart. It may take a few minutes for the process to complete.

Performing a factory reset using phone buttons

If you cannot turn on your phone or access the phone settings, you can still perform a factory reset by using the phone buttons.

1. With the phone turned off, press and hold the HOME and BACK buttons, and then briefly press the END CALL/POWER button.
2. Press the ENTER button to begin the reset process. (Otherwise, press the END CALL/POWER button to cancel.)

ที่มา: htc.com