Pelaburan 101

Ada satu komik pendek yang aku baca kat Facebook. Tajuk dia lebih kurang “Cara terbaik untuk invest”. Dia mulakan dengan sedikit “clickbait”. Samalah dengan tajuk posting ni.

Mula-mula aku ingatkan mesej dia kearah cara-cara nak invest dalam bursa dsb. Tetapi rupanya mesej dia ialah, pelaburan terbaik adalah, pelaburan kepada diri sendiri. Aku letak link ke url tu dekat bawah (tak jumpa).

Sedikit cerita.

Lepas sekolah, ramai dalam kalangan kita mohon kerja, just to get some money before going to college etc. Ada yang dapat jadi designer dekat Majalah Jom, ada yang dapat tawaran Deenify, ada yang buat freelance design majalah. Memanglah tak dapat banyak, tapi adalah sikit duit beli kasut untuk pergi kelas.

Itu sesetengah orang akan buat.

Aku cuba benda yang sama, spam email dekat Deenify, Cocombees dan lain-lain dengan harapan diterima.

Sementera mengharap dengan harapan tidak terkena harapan palsu, aku buat satu pelaburan yang aku kita semua boleh buat, tapi ketekunan yang membezakannya. Iaitu pelaburan masa.

Aku 18, baru dapat lesen. Satu benda yang buat aku fikir, “Kereta mana yang lagi kuat makan minyak”. Nak kira pakai kalkulator, tak ingat formula. Aku fikir why not aku tulis simple app yang tolong kirakan.

Puas aku tengok berjam-jam video tutorial, dan berjaya tulis satu script guna php+html untuk kira fuel efficiency. Benda tu simple je, tapi masa tu aku ambil masa seminggu untuk buat.

Seminggu tu, korang sebenarnya belajar banyak benda. Bukan sahaja korang belajar macam mana nak tulis kode, korang juga akan tau nak pakai text editor apa, camana nak setup suasana lokal dan lain-lain.

Tapi, dengan masa yang ada tu, korang sebenarnya dah ambil langkah dari tak reti nak tulis php kepada reti tulis. Daripada tak tak reti nak cari solusi, korang dah tau kat mana nak cari. Daripada 1 meter korang dah pergi 10 meter, dengan bermula dengan satu kayuhan.

Pelan-pelan kita kayuh.

Dan bila korang kayuh lama-lama, bila korang labur masa korang untuk belajar dan buat benda baru. Perlahan-lahan benda yang dulu susah akan jadi senang.

Dulu mungkin korang perlukan 10 jam untuk satu bina satu benda, sekarang mungkin sehari. Dulu mungkin korang perlukan seminit untuk habiskan satu pusingan voledorm, sekarang mungkin 50 saat.

Korang takkan bina tesla, korang takkan pergi ke Marikh. Tapi korang dah buat pelaburan kepada diri sendiri yang pertama, dan nilai dan morale dalam diri korang akan meningkat dari masa ke masa.

Paling kurang pun, korang boleh pergi temu duga, “I’ve built my own ….”. Dapat kerja, sudah cukup untuk makan nasi lemak ciast atau cinta sayang setiap hujung minggu. Lapaq nasi lemak pulak malam buta ni.

Let’s just halt carazu for a while. I want to start working on dmtepi.com

Setiap tahun aku akan tulis yearly blogpost. Cuma, 2018 masih lagi draft. 2019 single quote yang aku dapat dari YouTube.

2020?….. I will make this one happen. Let’s just set a date, 29 Feb 2020.

The last 10 years has been fun, let’s plan what will be the next 10 years.

I was thinking of re-writing carazu.com’s frontend (read this). But it turned out that the back-end needs to re-written as well. One of the major reasons is, when I started writing carazu.com, I didn’t write any test code which made me thinking which part of the software will break if I make little changes. Shelve it!

dmtepi.com. This is the easiest way to make money with fewer development resources and time. It combines

  • Advertisement as a service
  • Software as a service
  • Analytics as a service

3-in-1. I don’t how but, I need to make it work before July 2020. I don’t usually meet due dates, but it’s a good start to have such as optimistic due date.

Bangun Subuh Izzudin

Satu masalah dekat sini, waktu subuh berubah mendadak.

Mana ada orang tukar alarm waktu subuh setiap kali musim berubah.

Kalau pakai MuslimPro, alahai, azan pun sekerat je.

Aku fikir satu app yang boleh meletupkan segala syaiton-syaiton yang berada dalam bilik ni pada waktu Subuh dengan azan yang kuat!

(Bilal Masjid Negeri)

Kalau aku tulis aplikasi mudah alih, memang takkan siap.

Untuk pendekkan cerita.

Aku tulis Aplikasi Halaman Tunggal menggunakan timbunan berikut

  • Node.js
  • Vue.js
  • Tailwind CSS
  • Express.js

Korang boleh clone aplikasi ini https://github.com/izzudin96/BangunSubuh (100% sumber terbuka)

Boleh juga ke https://bangunsubuhizzudin.herokuapp.com/

atau bangunsubuh.izzudinanuar.com (masih di-luar talian)

untuk pasang applikasi ke heroku boleh ke cawangan https://github.com/izzudin96/BangunSubuh/tree/heroku-deployement

How to spend the first week.

The last time I release a new feature on carazu was on Jul 16, 2018. So, I will spend the first week of the break to make a substantial upgrade on carazu, primarily on the front-end.

I’ve been following Steve Schoger (@steveschoger) design principles on Twitter, and I found it ridiculously necessary how a great design can transform your software or applications. (I will be removing Bootstrap and jQuery and replacing with TailWind CSS and Vue.JS).

Next, I will focus on the premium feature, which is the ability for companies to track their fleet of cars, assigning employees to their respective vehicles.

Stripe now available in Malaysia. I can now accept payments. I’m not sure how the pricing should be but paying for cloud services are remarkably expensive. If I can squeeze some cash out of carazu, that should take off some of the load on the shoulder.

Let’s see how much progress can I make this week.

2019

Truth is anything you do, any tutorial you follow, any project you start and never finish, any dead-end that you head down, it’s not wasted. It’s all experience that is accumulating over time.

-LiveOverflow, YouTube

carazu.com – What’s up

This is just a quick update on what I’m currently working on. If you’re a web developer there might be a chance where you had worked with WordPress. WordPress is a good platform which also has a great community of theme developer, plugin developer, and fans. And I was one of them. At least at some point, I started to feel something is not right. Something that feels me being restricted, something makes me feels I need to “build” more than just a theme.

So when I started to code “Vanilla” PHP, it was terrible. I don’t know what I was doing. What are these “get, post, form, sessions”. It just doesn’t make sense. The program that I was building back in the day, was a simple fuel consumption calculator with a trip estimation based on the FEs. No database, no, class, no TDD whatsoever.

This was before I discovered Laravel. Maybe in a later post.

Genesis 2

So, Genesis 2 is a program that is going to log all fuel consumption for each time car owners fill in. I just want to know, how much a car consumes petrol. The worse the car, the worse the fuel consumption.

So here’s a quick screenshot from my local machine.

Deploying SwitchX on kopiahmedia.com

alpha.kopiahmedia.com is now powered by SwitchX. As you might guess, kopiahmedia is not hosted on any cloud application platform, eg: Heroku, Amazon Web Service, BlueOcean. It’s running on typical shared hosting without ssh access. And the process is tedious, eg: CRON jobs for linking storage file.

For a small scale team, I think it works just fine using CPanel at least for now.

SwitchX’s screenshots

Let me just show some screenshot how the front end of the system looks like. There’s Vue.js installation by the default Laravel 5.3. But, I didn’t even write a single line of it. Honestly, I’m no good at Javascript stuff. I know with ECMAScript etc, things just get easy. But, you know. Need to learn more for sure.

So here it is.

Update 20 July 2019: The images were lost when I migrated this site to AWS. I will find it, that’s an assurance.

Homepage

Create new product

All products views

Single product view

Edit existing product

Product image uploader

Edit product stocks and attributes

Ordered product and shipping information form

All order made

View single order details

Order detail, payment reference upload

Edit order for admin

Dashboard – business information

Dashboard – Payment

Dashboard – Homepage Customization

Dashboard – Products Management

Dashboard – Order management

Dashboard – User management

Dashboard – Google Analytic Code

SwitchX – First Released

Some major changes and fixes have been applied in the latest version of SwitchX. The entire project itself has been done from scratch. One of the reasons I did re-developed it from scratch is, I didn’t dry up the codes well. And another reason is that there are major design changes that I’ve made.

For the system name, I cannot come out with a good name. But for now, let’s just stick to the original code name, SwitchX.

Removed from the previous version.

The model cart is removed.
Model payment is removed.
The model says is removed.
The model shirt is replaced with a Product.
Model stock is replaced with Attribute.
The intervention package is removed.
Endpoint owners are removed.
Improvement in the new version
Updated to Laravel 5.3
Better URI, from product/1 to product/product-name
Homepage customization is available in the dashboard.
The product image returns the default placehold.it generic image.
Added font “Hind” from Google Fonts.
The product index shows total stock.
Ordered items saved as JSON.
Green shipping features added.
Dashboard features added for admin management.
A single product can have many attributes.
A product can have a default image.
Added Google Analytics integration.
The image is now is an interface, implementing a polymorphic relationship.

Model changes

Dashboard added.
The product is renamed.
Shipping added.

SwitchX (e-commerce) – the first beta

The first release of the system is hoping to be implemented in the kopiahmedia website. This is to help to improve the site load speed, faster ordering by the customer and also getting rid of unused features, such as comments, taxes, wishlists and many more.  So really, it’s designed custom for kopiahmedia, meaning all the processes are meant for it.

So first, I wrote some of the website business operation steps of kopiahmedia itself.

Owners’ operations

I logged in.
I click create new product
I add product details.
I add the product picture.
I see the order list.
I update the product order status.
I update post tracking.’

Customer’s side

I see a page with a product preview.
I click on the buy now.
I see a list of shirts
I read product information, including product images, sizes, and descriptions.
I register for the first time.
I click buy now.
I see product ordering form.
I fill in the product sizes.
I fill in my information as well as shipping information.
I pay using Maybank.
I upload the payment reference.
I view the details of my order including order status.

If you see, it’s kinda reading a behavioral driven development. But, it’s not. I don’t know. I wrote this just kinda like a checklist to get the job done.

Models included in the system: Cart, Image, Order, Payment, Say, Shirt, Stock, User.