This Week I Learned 2018 - Week 20

Week 19 post or something from the past.

Interesting development on the local scene. Everyone is overwhelmed by the endless good news which some seemed too good to be true. Still too soon to tell but nobody think it will get worst than the current mess. On a side note, at least now we can read articles in Medium from our mobile devices.

The completion of BSL20180124. Our second successful spawn. As usual, write-up on the whole process and retrospection on our breeding process. Both of us are getting more experienced, selective, and bolder when breeding Bettas. So many things learned during these few months and what we learned can definitely can help us to improve our other spawning projects. We can now confidently buy better grade (ahem, more expensive) Betta fishes and breed them. But right now, the main focus is to change our breeding method from leaving fry with father to removing fry after free swimming. The former method produces limited number of fry and the later will yield large (till 500 fry) spawn. We shall see the result in coming months.

The difference between `application/xml` and `text/xml`. Encounter this when making RESTful request and the existing CPAN module does not recognizes `text/xml`.

Good sample Dockerfile to setup your Perl application in Docker instance.
FROM perl:5.26

RUN cpanm Carton && mkdir -p /usr/src/app
WORKDIR /usr/src/app

ONBUILD COPY cpanfile* /usr/src/myapp
ONBUILD RUN carton install

ONBUILD COPY . /usr/src/app

Detect whether an item exists in a Perl's array. Why such simple stuff needs to be so complicated in Perl?
# $value can be any regex. be safe
if ( grep( /^$value$/, @array ) ) {
    print "found it";
}

A Practical Guide to (Correctly) A Practical Guide to (Correctly) Troubleshooting with Traceroute (PDF). We have been using traceroute wrongly all this while.

Betta Spawn Log : BSL20180518 : Super Red HMPK (M) x Super Red HMPK (M)

Finally, the time is right to start with breeding project with a pair of Betta from the same type and colour even although it's not a sibling pair. For this breeding project, we're going to ditch the leaving fry with father method and extract the male Betta once the fry start to swim freely.

Male: HMPK Super Red
Age: 3+ months
Temperaments: Fast and active.
Size: Small (3.0cm body only)
Grade: B

Another purchased due to attractive low price. Our plan b for Super Red. Initially it was quite fragile and small but over the time, it was moving actively and making bubble. Hence, we decided to proceed ahead with the breeding.




Female: HMPK Super Red
Age: 5+ months
Temperaments: Aggressive.
Size: Small (3.0cm body only)
Grade: B

The female Betta was used for different breeding project with another Super Red male but it didn't went through due to size difference. The female was larger than the male. For this project, we were concerned about the size differences as well.


Log Notes
2018-05-18
Back from work and was sitting in front of the breeding tank. Didn't realized that both pair was mating during in front of me. We're quite surprised that mating started so soon and can't recall when did we put both pair into the breeding tank to condition them.

2018-05-19
Jarred the female Betta. Waiting for these eggs to hatch.

2018-05-20
Found some fry swam vertically and the male Betta was busy picking them up. Waiting to jar the male Betta by tomorrow.

2018-05-23
Nothing found within the breeding tank. Not sure what happened but we assumed no fry survived.

2018-05-25
Found some fry but very small and fragile. We've started to fed BBS to them. Will check if everything goes well.