Categories
News

24 November 2024

I haven’t really write a long blog post on this blog for a long time.

Even though that’s what I did a lot in the past.

I mean, I actually handwritten a lot of sales copy, pages and pages of salespages by the greats like John Carlton, Gary Halbert, Clayton Makepeace, and all.

Right now as a solopreneur, I should have ample of time to write. To digest all the information I read on the Internet and use it to create new writings. To pen down my thought in this blog.

Maybe it’s the right time to make this blog alive again.

Now, I just recovered from a fever. Fortunately my wife took great care of me. So I recovered in just a day. And I didn’t try to push myself too much at all. I just sleep all the way (I can’t do that if my wife is not around, so thank you, love!).

Those little things in life, usually we don’t see it. But when we need it, we will see it. How much our partner means to us personally.

It feels good to write like this. I can say that it’s a free flow writing too since I am not subjugated to any form or anything. I just want to let it out in the world. Whatever that is that my brain wants to write.

With the advent of AI too, there are so many ideas that suddenly become very possible because it’s just you. You alone can vividly, imaginatively, create, all sort of things because you are extremely capable person to work hard.

I might be not the brightest mind in the world, but I can certainly figure out how to find opportunity and do something about it.

There’s some form of happiness in pursuit of a purpose. It’s not even a pursuit of happiness, but a pursuit of purpose. When you see people use the things you created, and get benefit from it, just from interacting with it.

It’s so satisfying to see those eyes… those glistering eyes after playing with the tools or apps or systems that you created.

Categories
Musing

Drives

Everyone has a different drive.

Some people are okay with what they got.

Some people are hungry.

Everyone have a different level of hungriness in them.

We should do our best.

Whatever we want to do. Or else, we are just… average.

Average by itself is not bad.

But if you want to be exceptional, that means you have to be different than many.

If you do not, you will be like everyone else.

Is that what you want?

Or are you not living up to your fullest potential?

Categories
Programming

How to fix Access to undeclared static property

Sometimes you might have to run old migration file. For example I encounter this error when I wanted to run migration file for Spatie’s Laravel Permission:

Access to undeclared static property Spatie\Permission\PermissionRegistrar::$pivotPermission

This happens when I ran an old migration file for that package.

Simple way to fix it:

Delete the migration file that causes this error. And then run the following to publish the latest migration file:

php artisan vendor:publish –provider=”Spatie\Permission\PermissionServiceProvider”

And now the migration file is working fine!

Categories
Programming

Composer detected issues fix (2024)

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.2.0”. You are running 8.1.18. in /Users/NAME/Documents/sites/worklist/vendor/composer/platform_check.php on line 24

To fix this issue, just do this:

brew unlink [email protected]
brew link [email protected]

composer global remove laravel/valet
composer global require laravel/valet

If you use Laravel Valet:

valet install
valet use [email protected]

That’s all. If it doesn’t work, just use this:

valet use [email protected] –force

It’s an update from my old blog post I wrote a year ago (facing similar problem, but different php version)

Categories
Musing

2024 To-Learn List

Things to learn this year:

  1. Understand deeply about data governance and compliance
  2. How to mitigate risk on data and infrastructure
  3. Improve “design sense”
  4. How to create awesome videos

What do you want to do this year?

Categories
Programming

Composer detected issues fix

This is the error that somehow I frequently got lately:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”. You are running 7.4.33. in

In order to fix this, just run:

valet use [email protected] --force

This assumes that you are using Laravel Valet for your development environment.

Categories
Musing

What’s Next?

It’s not finding job.

You have plenty of jobs searching for you.

It’s not about just money either. You rejected a few with way bigger monetary compensation.

To find something that you will say: interesting.

Life is about a journey. Process of self-discovery if you will.

Categories
Musing

One Year Into Entrepreneurship

Or maybe the right word is… nearly one year.

I stopped working 9-5 on 16th March 2021.

And I started working 24-7 on 17th. Hah. And I wrote this post on 8 February 2022.

Enter the world of entrepreneurship. Maybe it’s not the right word. I think the right word is I work as a freelance guy. Instead of having one boss, I have multiple bosses (clients).

Freedom. But freedom means a lot of things. Freedom to be rich… and the freedom to be uncertain.

Certainty is not always an option.

There is a good month. There is a bad month.

Where everything is not constant. And sometimes people pay early. And sometimes, late.

It’s scary how scary it is. And now I understand why some biz gurus suggested that do not do crazy things after you have a kid and settled down.

You have no idea how turbulent things are.

Maybe that’s how I learned best. By trying.

Alright. Time to brush up my resume. See what’s out there and contribute my skills as an employee.

From startup, to bank, to corporate world, to one’s freelancing gig… and now into the world as an employee again.

It’s good to live as many lives as possible. At least you learn.

Categories
Programming

Intro to Flutter – for Fun

So somehow I started playing with Flutter in 2018 and I actually recorded it the first time I play with it!

Here’s the video:

Maybe I should just record me talking about Flutter and all in much, much more detailed. It might be the future language of Android, after all.

Categories
Programming

How to remove unwanted .idea file from git

Sometimes you accidentally committed .idea files (different on each computer) and you want to remove it. So here’s the command needed to remove the unwanted file from git your git’s cache:

git rm --cached -r .idea/.

That’s all. Happy playing with git!