เกี่ยวอะไรกับแบตเสื่อม
หมายเหตุ บทความเน้นพูดถึงแบตเตอรี่ notebook นะครับ
แบตเสื่อมคือการที่แบตเตอรี่สามารุเก็บประจุได้น้อยลง ส่งผลให้ชั่วโมงการทำงานหลังการชาร์จเต็มหนึ่งครั้งน้อยลง เช่นเมื่อก่อนสามารถใช้งานได้ 12…
บอกว่าการทดสอบนี้ไมแฟร์ JVM ทำงานบน Server ซึ่งใช้ cpu XEON และ SSD ส่วน golang เทสบน Mac Mini 2014 ตัวล่างสุด HDD 2.5" 5,400 rpm (round per minute) ส่วน storage ใช้ตัวเดียวกัน (จริง ๆ มีการทดลองเปลี่ยน environments หลายรอบมาก อันนี้ยกมาแค่ 2 อัน)
นับจากเรียนจบสาขาวิชาวิทยาการคอมพิวเตอร์ เป็นเวลา 1 ปี และกับชีวิตการทำงานอีก 1 ปีกว่าๆ เลยมานั่งทบทวน พูดคุย ขบคิด นึกย้อนกลับไปในช่วงเวลาที่ก้าวออกจากรั้วมหาวิทยาลัยใหม่ๆ จริงๆ…
การเขียน guard let, if let, และ as? แบบ Swift ใน Kotlin
guard เอาไว้ตรวจค่า ว่าเป็นไปอย่างต้องการหรือป่าว ซึ่งถ้าไม่ตรงตามเงื่อนไขก็จะขับไล่มันออกจาก function โดยการ return, throw exception ออกจาก function ไป หรือ break ออกจาก loop
สมมุติว่าเราพัฒนา mobile application ซักตัว และใช้ rest api เราคงไม่รันโปรแกรมเพื่อทดลองยิง api ทุกตัว หรือทุกครั้งแน่ ๆ เราจะทดสอบการยิง api ผ่านโปรแกรมซักตัว ที่บันทึกรูปแบบการยิงไว้แล้ว ใครถึก ๆ หน่อยก็ curl…
มันคาใจมานานมากว่า oauth มันทำงานยังไงกันแน่ เลยได้ไปไล่อ่านบทความมากมายจนพอจะเข้าใจคร่าวๆว่า มาตรฐาน oauth มันมี version 1.0 กับ 2.0 ซึ่งไม่ได้แปลว่า 2.0 จะใหม่กว่า มันเชิงจะเป็นคนละมาตรฐานซะมากกว่า ซึ่งวันนี้จะขอกล่าวถึง oauth 2.0 ซึ่ง ก็แบ่งเป็น grant type 4 ชนิดคือ1…
ได้ทั้ง linux และ macOS
ctrl + c
วันนี้อยากเขียนเรื่อง Hard Dependency กับการ Test ว่าจากมุมมองของผม Hard Dependency ทำให้ Test อย่างไร เพื่อไม่ให้เป็นการเสียเวลาเราเริ่มด้วยนิยามของคำว่า Hard Dependency ก่อน ดู Code ชุดนี้นะครับ
These were the top 10 stories published by odds.team in 2017. You can also dive into monthly archives for 2017 by using the calendar at the top of this page.