Monday, October 16, 2017

5 eyes (ways of seeing) - Buddhism.

This is English (rough translation) of http://vuonhoaphatgiao.com/tu-dien-phat-hoc/ngu-nhan/

Five eyes
1. Naked eye - can only see things with form can't see when covered or in the dark
2. Eye of Gods - can see near/far things without obstruction like scientific radiographs and magnifying glass
3. Eye of wisdom - can see things without form, no longer deluded by form.
4. Eye of Bodhisattvas - eye of wisdom of Bodhisattvas, see clearly all wordly methods and out of the world methods, no longer falls for wrong path.
5. Eye of Buddha - includes all above eyes, completely clear all over.

Friday, October 6, 2017

phpbb forum: Added Image Search feature to the forum.

On my gimplearn.net phpbb forum, I could search and advance search but it seems you can only select to search in posts' subject/title and/or posts' message.

I wanted the ability to search through image files (via real filenames) as well.
There doesn't seem to be any phpbb extension that does it (or at least I couldn't find it).

So I wrote my custom pages to do it and a table to keep track of image searches that had been performed.

I created a page that you can submit an image search to.
It's located here: https://gimplearn.net/isearch.php (or you can access at the bottom links of any page on the forum)

All that page does is it has a simple form that you can submit a search to.
It then submits to /imagesearch.php with a 'q' GET parameter.
For example, if you search for 'buddha'.
It would submit to https://gimplearn.net/imagesearch.php?q=buddha
Then imagesearch.php would show you the same form again just in case user wanted to search for something else.

imagesearch.php also does the work of showing results (with pagination).
imagesearch.php would also record what 'q' was and save it to my table (of searches that had been performed) and the number of results it found.

Then I have another custom page that shows image searches that had been performed on gimplearn.net.  It's located at https://gimplearn.net/isearches.php.

And that's it.  Now users on my forum can search for images via real filenames of attachments.

For more technical details (code) on how to implement something similar on your phpbb forum, you can go to phpbb Forum: How I added Image Search feature to the forum.





Sunday, October 1, 2017

Pick 3 Lotto Noodle - Enter phrase, get Lottery Numbers for your pick 3/4/5 games (Javascript Version).


This is a javascript version of the Lotto Noodle app. Specially design for pick 3,4,5 games.
Enter a phrase, and get Pick 3/4/5 Lottery Numbers for it.
Pick 3/4/5:
Enter your phrase (noodle):


Numbers generated are based on current date with hour and phrase (noodle) entered
Output will be shown below:

Saturday, September 30, 2017

Marcie's Pyramid Generator (Javascript Version)

This is a javascript version of Marcie's Pyramid.
Enter a date in the format MMDDYYYY or DDMMYYYY.
Date:

Pyramid will be generated below:

Lotto Noodle - Enter a phrase and get Lottery numbers for it (Javascript version)


Enter a phrase, and get Lottery Numbers for it.
This is a javascript version of the Lotto Noodle app.
Numbers:
Maximum Number:
Date:
Enter your phrase (noodle):


Numbers generated are based on current date and phrase (noodle) entered
Output will be shown below:

Wednesday, September 27, 2017

Cycle Influence Check

Below is where you enter historical lotto data and then enter a draw number.
Then click "Check" button. And it'll output which draws have influence over the draw that you've entered.
Enter historical lotto numbers here:

Draw Number:
Draw is influenced by draws below:

Monday, September 25, 2017

Some words just don't translate in English.

Some words just don't translate in English using Google Translate.
Like for example in Vietnamese some Buddhist words like:
1) hữu lậu
2) vô lậu
Google translated the first word as illegal, and the second word as smuggled, when they actually don't mean that at all.
These words aren't pure Vietnamese either, they're borrowed Han (Chinese) words which are called Han words in Vietnamese.
The first word means the kind of karma that you gain and then spend/use up for example like giving to the poor is that kind of karma.  You get good karma for giving to the poor but in return, you get financial gains in the future (this life or the next).
The second word means the kind of karma that you gain but cannot use up.  For example, like chanting Amida Buddha's name will get you that kind of karma, that karma stays with you forever.
Or building statues of Buddha gets you that kind of karma.
Anyways, my point is some words just don't translate in English other than having to describe the whole meaning of what the word means.