แปล freebasic ใหม่ใน cygwin

freebasic ใน cygwin
freebasic ใน cygwin
นำ source ของ freebasic มาแปลใหม่
ผ่าน cygwin บน windows xp
กว่าจะแปลผ่านคำสั่ง install-standalone.sh
กับคำสั่ง install-cygwin.sh ก็ค้นกันเหนื่อยเหมือนกัน
ที่แน่นออก ก็เหมือนยกออก
install-cygwin.sh ต้องใช้รุ่น 0.20b
เพราะมี genimplibs.bas มาให้แปลเป็น .exe ใน lib/win32/def
ส่วน install-standalone.sh ที่เป็น source
ต้องติดตั้ง compiler แล้ว copy fbc.exe ไปวางใน root of source
ต่อไปจะหาเวลาเก็บหน้าจอเรื่องพวกนี้ไว้ที่
http://www.thaiall.com/cygwin
ตอนนี้ทดสอบกับ drive D ที่ไม่ติด deepfreeze
ทำให้ย้อนรอยกลับไม่ได้
ถ้าย้อนก็ต้อง download cygwin ขนาด 6 GB กว่า ใช้ทั้งคืนเลยครับ

เรื่องดีดี แสดงไม่ดีกับ firefox กับ chrome

header & footer in xhtml
header & footer in xhtml

บ่นตามปาะสาคนที่เด็ก ๆ เรียกว่า “ลุง”
ผมเป็นพวกมีอดีต เห็นเรื่องดีดีทีไร .. แล้วอดกลุ่มใจไม่ได้
เพราะเตรียมสอนจาวาแก่นักศึกษา แล้วพบ tag <DD>
ที่เคยใช้สิบกว่าปีก่อนแล้ว ในเว็บเพจต่าง ๆ ที่ต้องจัดย่อหน้า
พบว่า browser : firefox กับ chrome
แสดงผลผิดเพี้ยนไป แต่ ie ก็ยัง ok
จะให้ดีก็ต้องตามแก้ ตามเวอร์ชัน ตามตามกันไป .. จนหมดแรง

มี HTML Tag จำนวนไม่น้อยที่หายไปกับกาลเวลา
ที่มาตรฐานใหม่ไม่รองรับ เช่น <DD>
ในภาษา PHP ก็เช่นฟังก์ชัน split ซึ่งการเลิกบริการอาจมีหลายคำ
เช่น DEPRECATED หรือ Not available

แล้วก็ต้องไล่ตามมาตรฐานกันเรื่อยไป
1.  HTML 3
2. HTML 4.01
3. XHTML
4. HTML 5

ที่หนักสุด คือ HTML 5 ที่บอกว่ามาแล้ว (นานแล้วด้วย)
แต่ยังไม่เป็นที่สิ้นสุด ไม่เป็นมาตรฐานเดียว กำลังพัฒนาอยู่
เห็นเขาเรียกว่า ยืดหยุ่น (Flexible)
เพียงแต่ code เก่า ๆ ของผมไม่ยืดตาม ก็เลยเห็นปัญหาเป็นประจำ

Nielsen เผย จำนวนของคนที่เป็นเจ้าของทีวีจะลดลงในปี 2012

online tv
online tv

Nielsen .. บริษัทเก็บสถิติชื่อดังแดนมะกันคาดคะเนว่า ตัวเลขของผู้ที่จะซื้อทีวีไว้ที่บ้านจะลดลงในปี 2012 เป็น 114.7 ล้านครัวเรือน จาก 115.9 ล้านครัวเรือน ซึ่งวิเคราะห์ได้ว่านี่จะเป็นสัญญาณบ่งบอกถึงจุดจบของยุค TV หรือเปล่า โดยสถิติดังกล่าวทาง Nielsen ได้เก็บตัวเลขจากครอบครัวที่ใช้เพื่อดูรายการทั่วไปเท่านั้น ไม่รวมการใช้งานกับ Blu-ray DVD หรือการดูทีวีผ่านอินเตอร์เน็ต ใด ๆ ทั้งสิ้น เนื่องจากทุกวันนี้ผู้คนส่วนมากในประเทศสหรัฐฯ นิยมที่จะเช่าหรือดูรายการผ่านทางโลกออนไลน์กันเนื่องจากความเร็วของอินเตอร์เน็ตบ้านเค้าสูงมากทำให้การรับชมผ่านอินเตอร์เน็ตเป็นเรื่องง่าย ๆ คล้ายกับการเปลี่ยนช่องปกติเลยทีเดียว แถมมีตัวเลือกที่มากมายกว่ารายการปกติอีกด้วย

สมัยนี้เห็นเพื่อน ๆ พก iphone กับ ipad กันหนาตา .. สะดวก สบาย ..  นั่งดูคลิ๊ป ดูทีวีได้ทุกชาติ ทุกภาษา ดูหนังก็ยังได้ ..  มีนักศึกษามาเล่าว่า สมัยนี้ดูหนังชนโรงเป็นเรื่องธรรมดาไปแล้ว ที่เด็ดคือดูหนังก่อนโรง .. ฟังแล้วก็อึ้งไปเหมือนกัน

http://www.lcdtvthailand.com/news/detail.asp?param_id=830

Apple Introducting iOS7 – Official Video

ที่นั่นมีความงดงามลึกซึ้งและยาวนาน ในความเรียบง่าย ในความชัดเจน ในความมีประสิทธิภาพ
There’s a profound and enduring beauty in simplicity, in clarity, in efficiency.
[Apple Introducing iOS 7 – Official Video]
Jonathan Ive
Jonathan Ive
[Jonathan Ive] Source: LYBIO.net
We have always thought of design as being so much more than just the way something looks. It’s the whole thing. The way something actually works on so many different levels. Ultimately of course, design defines so much of our experience. I think there is a profound (ลึกซึ้ง) and enduring (ยาวนาน) beauty in simplicity, in clarity, in efficiency. True simplicity is derived from so much more than just the absence (ตัวตน) of clutter (ความยุ่งเหยิง) and ornamentation (การตกแต่ง). It’s about bringing order to complexity.
iOS 7 is a clear representation of these goals. It has a whole new structure that is coherent and then it’s applied across the entire system. We’ve considered the tiniest details, like refining the typography, to much larger ones like redesigning all the icons, and developing a grid system allowed us to achieve a much more harmonious relationship between individual elements. We’ve also incorporated a whole new palette of colors.
Distinct, functional layers help establish hierarchy and order, and the use of translucency (โปร่งแสง) gives you a sense of your context. These planes combined with new approaches to animation and motion; create a sense of depth and vitality(พลัง). The iPhone responding to your movements drives the parallax to create a whole new experience of depth.
In many ways, we’ve tried to create an interface that is unobtrusive (ไม่สร้างความรำคาญ) and deferential (ความเคารพ). One, where the design recedes and in doing so actually elevates your content; even the simple act of changing your wallpaper has a very noticeable effect on the way your iPhone looks and feels across the entire system.
While iOS 7 is completely new, it was important to us to make it instantly familiar. We wanted to take an experience the people know very well and actually add to it to make it more useful, to make it more enjoyable.
Craig Federighi
Craig Federighi
[Craig Federighi – Senior Vice President Software Engineering]
In addition to the redesign user interface iOS 7 comes with some great new features and enhancements. Now the controls you want to access quickly are all in one convenient place with control center. One swipe any screen opens up a set of useful controls and notification center is now available from the Lock screen, with a new at-a-glance view of your day.
Multitasking let you jump from app to app much more intuitively. It actually pays attention to which apps you use most and automatically keeps your content up-to-date in the background.
The new camera app introduces a new level of easy and versatility. Now you can just swipe between modes, from video to still to square, while using a new power filters. Your iPhone knows the time and location for each of your photos. The photos app uses this information to intelligently organize your pictures by clustering them in the Moments and Collections. And now with iCloud Photo Sharing, friends and family can contribute their own photos and videos to your shared albums.
With over 800,000 apps the App Store is the world’s largest app marketplace. iOS 7 now features the Popular Near Me, a new way to find a curated collection of apps based on your current location.
AirDrop makes it easy to share with people near you. When you’ve got something you want to share, AirDrop shows you your contacts close by. Just select who you want to share with and AirDrop does the rest. And if someone is not in your contacts they just activate AirDrop and you can send them files to.
Safari’s redesigned user interface, let’s you see more of your content, starting with full-screen browsing. The unified search field helps simplify searching, and there’s a new view for your bookmarks and also new way to see your Safari tabs.
Siri is now even more helpful and informative with integrated Twitter and Wikipedia and with new male and female voices, Siri sounds better than ever.
[Siri] Source: LYBIO.net
Okay I found this on Wikipedia.
[Craig Federighi]
And Siri can assist you in new ways by doing things like changing the settings on your iOS device.
[Siri]
Okay Bluetooth is on.
[Craig Federighi]
iTunes Radio is a great way to discover new music. We’ve created many featured stations drawing from the best selection of songs online. It’s easy for you to create your own stations and when you hear something you’d like to purchase it’s just a tap away.
[Jonathan Ive] Source: LYBIO.net
iOS 7 brings with it the most significant changes that we have made to the user interface, since the introduction of the very first iOS. To create, we brought together a broad range of expertise from design to engineering.
With what we’ve been able to achieve together, we see iOS 7 as defining an important new direction and in many ways a beginning.
Apple Introducing iOS 7 – Official Video. iOS 7 brings with it the most significant changes that we have made to the user interface, since the introduction of the very first iOS. Complete Full Transcript, Dialogue, Remarks, Saying, Quotes, Words And Text.

ซัมซุงทำโทรศัพท์ และแท็บเล็ตมีจำนวนขนาดมากไปรึเปล่า

Does Samsung make too many phones and tablets?

Want to buy a Samsung phone or tablet? Can’t decide which one is right for you? That’s no surprise, we’ve discovered the South Korean manufacturer has a product range that looks like Argos catalogue with an incredible 26 touchscreen devices.

We rounded up all the Samsung phones and tablets on sale in the UK, from the Galaxy S4 to the Galaxy Note 8.0, and collated them all together in an eye-raising infographic below.

Does Samsung make too many phones and tablets?
Does Samsung make too many phones and tablets?

Does Samsung make too many phones and tablets final
As you can see from the infographic above, the main difference between Samsung phones and tablets is their size. Samsung’s range of 26 devices spans from the 3-inch Galaxy Y to the 10.1-inch Galaxy Tab 3.

We’ve even been kind enough to leave out the Nexus 10 tablet, which is technically made and marketed as a Google product, even though Samsung is behind its production.

There are  distinguishing features between the products. The Galaxy Note range comes with a stylus included for note-taking, while the S4 Zoom is a compact camera hybrid featuring a 16-megapixel CMOS sensor. But these differences quickly become muddled when you delve deeper into Samsung’s product range. The company often releases several variations of the same phone based on a single, additional feature.

‘When it comes to tablets, I much prefer Apple’s approach of offering consumers a premium and budget option,’ comments Jessica Moreton, Which? tablets expert.

‘This makes it really simple to decide which product you want to buy. At the moment, Samsung runs the risk of confusing its potential customers. You could end up purchasing the new 10.1-inch Galaxy Tab 3 and then find out you should have bought the same-sized Note 10.1.’

What do you think of Samsung’s 26-strong touchscreen product range? Is it creating too many phones or is more choice beneficial?

http://blogs.which.co.uk/technology/tablets-2/does-samsung-make-too-many-phones-and-tablets/

my nokia
my nokia

เกิดอะไรกับโดเมน [มูวี่ ทูเค ดอท คอม]

เกิดอะไรกับโดเมน [มูวี่ ทูเค ดอท คอม]

แปลจากภาพ
นี่ไม่ใช่โดเมนของเรา แล้วเราก็ไม่รู้ว่าใครเป็นเจ้าของ
แต่เจ้าของโดเมนสั่งชี้มาที่เครื่องของเรา
เราไม่รู้ว่าทำไมเขาให้ชี้มา
ก็คาดว่าเขาต้องการให้เราแจ้งผู้มาเยือนเกี่ยวกับกฎหมายลิขสิทธิ์
ทำให้ท่านเห็นข้อมูลอย่างที่กำลังเห็นในขณะนี้

ข้อมูลทางเทคนิคที่น่าสนใจ
คือโดเมนนี้ถูกกำหนดให้ใช้ DNS ของเรา
ซึ่งมีปริมาณการเรียกใช้สูงมาก เราจึงกำหนด
ให้มีการตอบกลับ ด้วยข้อมูลในหน้านี้

dns notice
dns notice

oocities.org เป็นกระจกของ geocities.com

kindlyrat in oocities.org
kindlyrat in oocities.org

9 มิ.ย.56 อินเทอร์เน็ตและการพัฒนาเว็บไซต์ในยุคแรก ไม่มีนักพัฒนาคนใดไม่รู้จัก geocities.com เพราะเป็นผู้ให้บริการพื้นที่โฮมเพจฟรีอันดับหนึ่ง ในยุคที่ server-sided script ยังไม่แพร่หลาย ถูกก่อตั้งปี 1994 แล้วปี 1999 ก็ถูกซื้อโดย yahoo.com และปิดบริการ 27 ตุลาคม 2009 สืบเนื่องจากก็มีเว็บไซต์มากมายเปิดให้บริการหลากหลายรูปแบบ และสมบูรณ์ทั้งบน windows และ linux แล้วการทำธุรกิจด้านนี้ก็ไม่เป็นไปตามที่คาดหมายไว้ ทำให้ทะยอยปิดกันไปเกือบหมด
เนื้อหามากมายใน geocities.com มีคุณค่า และมีผู้เห็นคุณค่า จึงเปิด domain ใหม่ ชื่อ oocities.com และนำข้อมูลไปเก็บ แล้วเผยแพร่ในรูปของ mirror site ซึ่งตัวแปลภาษา gw-basic ก็ได้เนื้อหา และตัวแปลภาษามาจากเว็บไซต์นี้ ในบัญชีของ kindlyrat

geocities compare with wordpress
geocities compare with wordpress

http://www.thaiall.com/gwbasic/

ม.ร.ว.พุฒิภัทร จุฑาเทพ กับนางสาวศรีสยาม
ม.ร.ว.พุฒิภัทร จุฑาเทพ กับนางสาวศรีสยาม

ถ้าไม่มีนางสาวศรีสยาม ป่านนี้
ม.ล.มารตี ก็คงแต่งงานกับ  ม.ร.ว.พุฒิภัทร จุฑาเทพ ไปแล้ว
เป็นความเชื่อของ ม.ล.มารตีที่สะท้อนออกมาตอนจบ
http://drama.kapook.com/view50186.html

การรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน 5 ปีก็ต่อใหม่

university license for 5 years
university license for 5 years
ประชุม ครม. 4 มิ.ย.56 อนุมัติเรื่องเกี่ยวกับการศึกษา 2 เรื่องที่น่าสนใจ
1. อนุมัติร่างพระราชบัญญัติมหาวิทยาลัยขอนแก่น
2. อนุมัติร่างกฎกระทรวงกำหนดหลักเกณฑ์ฯ การรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน
4 มิ.ย.56 ครม. มีมติอนุมัติหลักการ ร่างกฎกระทรวงกำหนดหลักเกณฑ์ วิธีการ และเงื่อนไขการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน ตามที่ ศธ.เสนอ และให้ส่งสำนักงานคณะกรรมการกฤษฎีกาตรวจพิจารณา แล้วดำเนินการต่อไปได้
ข้อเท็จจริง จากการที่กฎกระทรวงว่าด้วยการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน พ.ศ.2551 มีสาระสำคัญคือ กำหนดหลักเกณฑ์และเงื่อนไขในการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน ไม่ครอบคลุมถึงการกำหนดวิธีการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน นอกจากนี้ในแบบคำขอให้รับรองวิทยฐานะสถาบันอุดมศึกษาเอกชน (รกอ.05) และแบบใบรับรองวิทยฐานะสถาบันอุดมศึกษาเอกชน (รกอ.06) ท้ายกฎกระทรวงดังกล่าว มิได้กำหนดรายละเอียดเกี่ยวกับการที่สถาบันอุดมศึกษาเอกชนประสงค์จะขอให้รับรองวิทยฐานะเพื่อทำการสอนเพื่อให้ปริญญาชั้นใด ในสาขาวิชาใด และรัฐมนตรีได้ให้การรับรองวิทยฐานะเพื่อทำการสอนเพื่อให้ปริญญาชั้นใด และในสาขาวิชาใด
จึงสมควรปรับปรุงกฎกระทรวงและแบบแนบท้ายกฎกระทรวงดังกล่าวเสียใหม่ โดยเพิ่มเติมการกำหนดวิธีการในการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน และรายละเอียดแบบแนบท้ายการรับรองและการให้การรับรองวิทยฐานะสถาบันอุดมศึกษาเอกชน
ทั้งนี้ คณะกรรมการการอุดมศึกษา ได้มีมติในคราวประชุมครั้งที่ 3/2556 เมื่อวันที่ 7 มีนาคม 2556 ให้เสนอร่างกฎกระทรวงดังกล่าว ให้รัฐมนตรีว่าการกระทรวงศึกษาธิการพิจารณาดำเนินการต่อไป
สาระสำคัญของร่างกฎกระทรวง

1. ให้ยกเลิกกฎกระทรวงว่าด้วยการขอให้รับรองและการรับรองวิทยฐานะของสถาบันอุดมศึกษาเอกชน พ.ศ.2551
2. กำหนดให้การรับรองวิทยฐานะสถาบันอุดมศึกษาเอกชน เพื่อทำการสอนเพื่อให้ปริญญาชั้นใด และสาขาวิชาใด ให้เป็นไปตามมาตรฐานสถาบันอุดมศึกษาที่ ศธ.กำหนด และให้ใบรับรองวิทยฐานะมีอายุ 5 ปี
3. กำหนดหลักเกณฑ์ และวิธีการการยื่นคำขอให้รับรองวิทยฐานะ การตรวจสอบคำขอ การพิจารณาคำขอ และการแจ้งผลการพิจารณาคำขอ
4. กำหนดให้รัฐมนตรีมีอำนาจในการเพิกถอนการรับรองวิทยฐานะกรณีสถาบันอุดมศึกษาเอกชน ที่ได้รับการรับรองวิทยฐานะ ไม่ปฏิบัติตามมาตรฐานสถาบันอุดมศึกษา
5. กำหนดบทเฉพาะกาลเกี่ยวกับการรับรองวิทยฐานะที่มีอยู่ก่อนวันที่กฎกระทรวงนี้ใช้บังคับ และให้คำขอรับรองวิทยฐานะและคำขอต่ออายุใบรับรองวิทยฐานะที่ยื่นก่อนวันที่กฎกระทรวงนี้ใช้บังคับตกไป โดยให้ยื่นคำขอใหม่ตามกฎกระทรวงนี้
บัลลังก์ โรหิตเสถียร สรุป/รายงาน

ทดสอบ chart ของ google พบว่าแสดงภาษาไทยได้ปกติ

ทดสอบ google chart ผ่าน code playground
พบว่า chart ของ google สามารถแสดงภาษาไทยได้ปกติ
แต่ต้องแก้ไขแฟ้มให้เป็นแบบ UTF-8
google chart
google chart
วิธีแรก โดยการคัดลอก code ของเขามาวางในเครื่องของเราตรง desktop
แล้วเรียกใช้แฟ้มผ่าน folder ปกติ ไม่ได้ผ่าน web server
เพราะ code เป็น javascript ที่เรียกภาพโดยตรงจาก google server
วิธีที่สอง ทดสอบบน editplus แล้ว View in Browser
สิ่งที่ต้องแก้ไขในทั้ง 2 วิธีคือ กำหนด Encoding ของ document
เป็น UTF-8 ก็จะแสดงภาษาไทยได้ ดังภาพ
เปรียบเทียบขนาดของแฟ้ม
ที่ save ต่างรูปแบบ พบว่าไม่ต่างกันนัก
– แฟ้มแบบ UTF-8 ใช้เนื้อที่ 1564 Bytes
– แฟ้มแบบ Plain Text ใช้เนื้อที่ 1493 Bytes

ภาษาจาวาโยนความผิด ใครรับก็รับไป

throws exception
throws exception

บางคนบอกว่า ชีวิตจริงดั่งละคร
บางคนก็บอกว่า ละครนั่นหละชีวิตจริง

วันนี้เจอว่าภาษาคอมพิวเตอร์ เขามีให้จับผิด
แล้วยังเปิดให้โยนความผิดได้ ใครรับก็รับไป
ถ้าไม่มีใครรับ คุณโอบอกว่าสุดท้าย JVM ก็ต้องรับไป

ภาษาคอมพิวเตอร์ก็เหมือนกับชีวิตจริง .. มีดราม่า

มีให้เลือกว่าจะโยนความผิดให้ใคร
คลาส y มีเมทธอด yy ซึ่งคาดว่าทำเรื่องผิดพลาดไว้
แต่ไม่อยากตรวจจับด้วยตนเอง ด้วยเหตุผลนานา
บอกว่าใครใช้ฉัน .. ก็รับความผิดฉันไปด้วย
เมื่อมีการเรียกใช้ yy ต้องเพิ่มการจับว่า ถ้าพบจะทำอะไร
เพราะมีผิดให้จับแน่นอน .. กำหนดมาอย่างนั้น

นั่งทวน slide เรื่องข้อยกเว้น .. อยู่ครับ