Hendy Irawan

Ceefour at GaulDong.net
See also: Other Geeks@INDC
VS2005 oh malangnya nasibmu -- UPDATE: belum apa2 udah ngebug?

Kuakui engkau memang stabil, dibandingkan produk Borland yaitu Delphi 2005 yang menjijikkan sekali stabilitasnya (sorry bagi penggemar Delphi, termasuk saya juga), atau Zend Studio 4 yang masih kalah ama Notepad (duh!).

Tapi tak ada produk yang tak retak... Hari ini saya menemui lagi masalah yang sama, yaitu Function di SQL Server 2005, setelah ditambahkan ke TableAdapter, koq return value-nya int? (Nullable<int>), padahal jelas2 di functionnya tertera RETURNS datetime. Saya pikir dulu ini gara2 pake SQL Server 2000, eh ternyata pake SQL Server 2005 nggak ada bedanya. Untungnya ada "solusi" yang cukup manjur, property Parameters-nya dibuka, lalu diganti tipe datanya ke Variant lalu ke DateTime. Dengan cara ini maka kode yang dihasilkan akan membuat return value type menjadi "object". Nggak terlalu nyaman sih (harus di-cast dulu), tapi masih mending daripada kaya tadi.

Masalah2 lain yang sering menghantui :

* Entah kenapa kadang2 Windows Forms designer tidak memunculkan controls-nya sama sekali, harus diclose dan dibuka lagi. Nggak berbahaya sih, tapi nyebelin juga.
* Kalo make lama pemakaian memory bisa nyampe 400 MB lebih (dari Task Manager), padahal semua Solution udah di-close! Bener2 aneh VS2005 ini.
* Kadang2 fields yang buat controls "menghilang" dari .Designer.cs tanpa sebab. Sangat berbahaya dan menjengkelkan. Windows Forms Designer tidak bisa dibuka dan muncul error. Terpaksa menambah satu-satu deklarasi field yang dimaksud. Benar2 menyebalkan!!
* ToolStrip kadang2 mengeset Visible = false dengan sendirinya setelah didoubleclick (untuk mengeset event Click pada salah satu button-nya). Cukup menjengkelkan, tapi tidak terlalu berbahaya.
* Property AcceptButton dan CancelButton sering hilang, terutama setelah melakukan Undo (padahal yang di-Undo itu aktivitas lain). Sangat menjengkelkan dan kalau tidak ketahuan, bikin orang sebel.

Kapan nich VS2005 SP1 muncul? Nggak harus "Windows Genuine" kan? ;-)


UPDATE: Barusan digosipin koq udah bermasalah... Ternyata dukungan stored procedures SQL Server 2005 di VS 2005 memang tidak terlalu bisa dibanggakan. Setelah menambahkan function yang dimaksud, saya heran lho koq hasilnya selalu "null"??? Padahal kalo dicoba langsung (lewat query) bisa. Setelah ngedebug masuk ke .Designer.cs-nya, ternyata VS2005 "salah" mempersiapkan SqlCommand object yang digunakan, sehingga ExecuteScalar selalu menghasilkan null.

Akhirnya saya pakai cara lain, bikin saja query baru di TableAdapter tersebut, pakai SQL "murni" :

SELECT get_last_check_log_time(@employeeId)

Jauh dari type safety, tapi jalan. VS2005 memang "makhluk" aneh...


Update 2: Pada saat saya mencoba membuka artikel ini di http://blogs.netindonesia.net/ceefour/archive/2006/09/16/10970.aspx, apa yang saya dapat adalah seperti di bawah ini. Hmm... kalo bikin aplikasi di .NET yang sebegitu banyak memberi kemudahan (terutama dalam hal compile-time checking) saja bisa ngebug, bayangin seberapa sulitnya membuat aplikasi2 PHP, Perl, C, dll. yang bug-free.

INDC Blogs - KESALAHAN DALAM APLIKASI!

PESAN KESALAHAN

Value cannot be null. Parameter name: value

Kembali ke Site Utama

Share this post: | | | |
Posted: Sep 16 2006, 01:05 AM by ceefour | with 1 comment(s)
Filed under:
Foto-foto di Microsoft kemarin

Kemarin abis dari Microsoft, buat koordinasi soal proyek Embrace with Compassion (Imagine Cup 2005) bersama Pak Risman dan Pak DonDy, tapi yang lebih penting adalah mengambil "ehem-ehem" ;-) yang ternyata belum bisa diambil :-( padahal udah tipis neeeh... :((

Eh, kita sempet foto-foto juga, liat yuks... Klik aja fotonya untuk liat versi yang lebih gede.

Om DonDy sedang menghayati arsitektur Embrace with Compassion :-?
Image
 
Serius banget nih... ngapain ya?
Image
 
GaulDong is oke! :-)
 Image
 
Hendy lagi peluk cewek, er... laptop... :">
 Image
 
Hendy lagi sok-sokan nerangin business plan dari... apa ya?? 
Image
 
PEDEEEEEEEEEEE NIH YE :-P
Image

Sok imuuut, sok centilll... lho lho siapa itu di Pocket PC? ;-)
Image
 
DUH PEDE LAGII!!
 Image
 
Lagaknya bos... ck ck ck majang cewek lagi :-P
 Image
 
Kapan ya jadi bos di sini? ;-)
Image
 
Buruan... Windows XP seribu tiga... :-P
 Image

Sama om DonDy Jordan The Great, pembimbing kita sekaligus konsultan perkawinan... ;-)
Image
 
Ampuuuuun sok imuuuutttt!!! :)) :-$
 Image
 
Heal The World Team: Hendra, Yudha, Hendy, Umar.. Sssttt... cewek berbaju pink :"> yang motret kita cuakep banget lho... :X Where are you? :((
 Image
 
Namanya orang udik... kebingungan liat ada cermin di elevator gedung BEJ =))
 Image

Mejeng ama poster Imagine Cup... dan akuarium-nya Microsoft ;-) 
Image
 
Ini dia Samson baruuu! B-)
 Image
Share this post: | | | |
Posted: Jun 12 2005, 04:02 AM by ceefour | with 1 comment(s)
Filed under:
Pulang dulu ahhh...

Rabu - Sabtu ini gw pulang dulu yach ke Kediri... Sekalian nungguin Hendra, sang Visual Designer, untuk ngasih prototype UI (web site template) yang baru...

Minta restu dari ortu sama istirahat bentar (these has been very frustrating weeks!!!).

Doain yach gw dapet cewe!! :-P Masa dari satu tim punya kecengan semua kecuali gw :-((

Share this post: | | | |
Posted: May 31 2005, 04:23 PM by ceefour | with no comments
Filed under:
Embrace (with Compassion) - Preliminary Project Plan

Summary

Project length: 6 weeks (May 30, 2005 – July 17, 2005, minus exam)

Overall plan:

Week 1

May 30 – June 5

Planning, researches, & first iteration

Week 2

June 6 – June 12

Main development

Exam

June 13 – June 19

(Development paused)

Week 3

June 20 – June 26

Maturize & internal testing

Week 4

June 27 – July 3

Realize & real-equipment testing

Week 5

July 4 – July 10

Real-world testing & debugging

APPLICATION DEVELOPMENT “ENDS”

Week 6

July 11 – July 17

  • Technical, business, marketing aspects, & visual effect improvements
  • Show Preparation

Pre-requisites

  • Software
    • Windows Server 2003
    • Visual Studio .NET 2005 Beta + SQL Server 2005 Express
  • Hardware
    • Pocket PC
    • Hard disk buat komputer gw
  • Internet
    • ASP .NET 2.0 Beta + SQL Server hosting
  • Others
    • Pulsa HP yang banyak

Resources that will be used

  • Equipments
    • Video camera [phone] + sound
    • Pocket PC
    • Bluetooth USB for my testing
    • Cameraphone (no need for .NET CF)
  • Software
    • Vegas 4?
  • People
    • Actresses for: (real-world may be possible, but risky)
      • sick people
      • courier service
    • English-Japanese translator
  • Pulsa HP (lots of this)
  • Related [DVD] movies
    • Love Actually
    • ...?

Improvement Goals

  • Simpler architecture
  • Less technology (if we can get rid of Pocket PC, then get rid of them)
  • Pocket PC may be used for admin client rather than upload client
  • Faster time-to-prototype (2 weeks)
  • Better videos (two videos?)

Things to Ask/Decide

  • Mobile client or mobile web app?
  • How to use .NET CF?
  • Q: Video/lagu dari komersial boleh dipakai buat presentasi?
  • Q: Presentasi berapa lama?

ToDo

  • Belanja software + art ke JP ama Hendra

Team Member Plans

Coder Development Plan

Week 1

·        First iteration of coding, adapting designs

·        Database schemas & populate with sample data

·        3 Things to work on:

o       app server

o       admin client

o       mobile client/web app (need to decide which one)

·        Deeper technology surveys & research: what’s in there for us?

o       .NET 2.0

o       SQL Server 2005

o       Enterprise Library

o       WSE

Week 2

·        Integration with actual web design templates

·        Compassion web created

·        Continue working on clients

Week 3

·        Finalize Embrace API

·        Compassion extensions: gifts, cards, & SMS gateways

·        Early integration tests

Week 4

·        Finalize Embrace Extension API

·        Get more (actual) gifts & cards samples

·        Integration tests

·        Actual testing wih real-world equipments

Week 5

·        Still more coding

·        Real-world testing & debugging

Week 6

·        Still more coding

·        Finishing touches, visual effects

·        Build UML diagrams

·        Build presentation slides & animations

·        Arrange presentation scenario

Note: By “testing & debugging”, I mean the system works with typical scenarios that we’d like to demonstrate. I think there isn’t time to get to production-quality code, or to hunt for bugs thoroughly. The end product will be a Beta code, with release-quality sample data & visual interfaces. The API will have somewhat Gamma status.

Designer Development Plan

·        Week 1

o       Embrace Logo

o       Compassion Logo

o       Make actual HTML templates out of Compassion

·        Later

o       Get (actual) gifts & cards

o       Collect (actual) movie clips

Executives Development Plan

·        Surveys & statistics

·        Business & marketing analysis

·        Equipment and resources

·        Capture video clips of

o       Intro (“emotions”)

o       Reality (What Embrace gives you)

o       Demo (How it actually works using video illustration)

·        Cooperate with Origami for possible Japanese-related tasks

·        Consult & get feedback from:

o       other students

o       Mr. Fazmah

o       Mr. DonDy

o       lecturers & professionals

·        Manage logistics

·        Continuous coordination with Microsoft Indonesia

·        Application testing

·        Bikin kartu nama (mau nggak?)

Share this post: | | | |
Posted: May 31 2005, 10:04 AM by ceefour | with 2 comment(s)
Filed under:
Embrace (with Compassion) for Imagine Cup 2005: Camera rolling, and... Action!

No! Seriously... we'll be developing videos (after all, our project *IS* about videos)! Not that many, though, and I hope these aren't part of my job description. We've got more competent guys on our team for that...

Okay, thanks a lot Mr. Risman for setting up this blog for me... We'll try to give our best shot in developing Indonesia's Imagine Cup project. It's an honor to be chosen and I hope we won't let you guys down. I hope I'll be posting some updates here regarding the progress of our project. A rough project plan was laid out but unfortunately I forgot to bring it here on my flash drive, so I guess it'll have to wait. Our team haven't even had time to coordinate either for the past few days since we're busier on other stuff like reporting to our campus administratives about the competition, etc.

As for myself, I had another programming competition today at Bina Nusantara University and I was soo glad to bring back home a Silver Medal (not the grand champion as I had in 2003, but this time it's a much better experience since I did get [even if just] to look at a very gorgeous girl who supervised our contest room... heheh ;-). I hope my campus is going to be proud of that (the award, that is, not the girl!)... ;-)

Oh well, thanks a lot to everybody who helped me to be a part of this great team... To Umar, who introduced me to Imagine Cup, and Yudha and Hendra as members of our teams, you've all done a great job. To Mr. DonDy, we won't even be here without you. To Mr. Risman and all the cool guys at Microsoft Indonesia, who have been very kind to provide support for .NET community in STT Telkom. I want to say thank you to all the guys I need to thank to (including competitors, you're the ones who made exciting stuff!), but anyway our quest isn't over, this is just the beginning... :-)

Anyway, if you need some fun, come visit GaulDong... Maybe you'll like what you'll find there. ;-)

Share this post: | | | |
Posted: May 30 2005, 01:14 PM by ceefour | with 2 comment(s)
Filed under: