「地獄空」攝影集即將在八月中元節前出版,由知名設計師與攝影家黃子欽設計,內附在下二位高徒精美繪製符咒、心經版畫書籤、愣嚴咒牌、尊勝咒語...等,感恩十方大德助印,希望疫情退散,平安喜樂,後記如下:
野放台灣五十餘年,貪狼獨坐,三方四正殺破狼格局,少年多舛,白手起家,隨展覽雲遊四海,如閒雲野鶴常持各類底片機流連廢墟、山川、宮廟忘返,遂設幻影堂自詡堂主,一日三省「凡所有相皆是虛妄」,常宅於暗房沖片放大通宵、鍾情黑白世界之單純,彩色照片俗世繽紛花俏做作甜美甚至比現實更現實故少拍也。知天命之年有餘,了悟人生一瞬、眨眼即逝,雖非仙人,亦無道骨,初聞離垢地生清淨心,但離華嚴「不動地」尚遠,待修持也。
2017年盛暑拍畢《巨神連線》,心律不整差點心肌梗塞向閻羅王報到,意識死神隨伺在側,人生苦短,如何了生脫死、盡斷煩惱、無所罣礙、遠離顛倒……總不得解,蒙釋迦摩尼佛開示飆淚三晝夜,聞佛法數載始知自我渺如塵埃,甚感慚愧。閒暇乃參訪名寺古剎,禮敬焚香佛陀菩薩羅漢諸神天仙王爺媽娘,台灣宮廟千奇百怪、宗派錯綜複雜(佛教、道教、一貫道、天主教、基督教、齋教、回教&大同教、儒教鑾堂、天帝教&天德教、慈惠堂&勝安宮、軒轅教、道院、理教、萬國道德會、會靈山……)、神棍橫行(依人不依法、偶像崇拜、斂財、邪淫),因歷史變遷、社會動盪、政治鬥爭、意識形態等因素導致佛道混雜,但地獄造景稀少,後專注拍攝各殿閻王、判官、陰司、獄卒、七爺、八爺乃至一切罪人,各寺造景巧妙、耐人尋味,意境乖張溢於言表,造型扭曲非常人所能塑也,然匠心獨運、自成一格,專研西方藝術數十載方知真誠樸拙最美,絲毫不輸喬托(Giotto di Bondone,1267~1337)乃至米開朗基羅(Michelangelo Di lodovico Buonarroti Simoni 1475 ~ 1564)矣。
創立於1986年的石門金剛宮風景優美可眺望北濱,雖主祀四面佛,儒釋道眾神尊也不含糊,可過七星橋解厄、繞行五百黝黑羅漢敲鑼印心、跪拜亞洲最大臥佛涅槃像,安太歲自不在話下,甲子太歲爺雙眼長出手掌印象甚深,1994年經閻羅王指示廟公建造一條肚內設極樂世界及陰曹地府之神龍,行走暗黑通道觸動感應機關,只見面容猙獰受刑者呼天搶地喊冤、身邊盡是血肉糢糊殘肢敗屍腦漿塗地,十殿閻羅各司其職、威儀攝人。新北市林口區青嶺湖北文紫祥宮包公廟則以壁面彩塑地獄浮雕獨步全台,粉嫩色彩搭配卡漫風格,尤為造型簡直恐怖到可愛透頂,該廟主祀森羅殿閻羅天子包拯(包青天),陽世冤屈者可至此參拜祭解,求破懸案者眾,逢中元普渡皆以紙紮船渡亡魂至彼岸,全台唯一閻羅天子巨像籌備中,四周環繞墓地,適合修不淨觀也。台灣首尊彰化八卦山大佛旁南天宮(1971)地府則是首座電動地府,規模精小但驚嚇度破表,略顯破敗但五光十色仍蠻凶悍,出自已故台南大道長金登富之作,而電動神明起始可追溯至1960年代北港朝天宮。倒是嘉義水上鄉白人牙膏觀光工廠「戴相府」、「將軍府」設置十殿地府出乎意料之外,乾淨亮麗、ㄧ殿ㄧ間、簡單樸實。由高雄蓮潭龍虎塔龍口入內可見全臺唯一交趾陶地獄牆面,尊尊栩栩如生,續入龍身乃進聞聲救苦白衣觀音大士三十三化身浮雕隧道,造型設色甚為古錐。高雄大岡山超峰寺入口處「西方三聖蓮池海會」(阿彌陀佛、觀世音菩薩、大勢至菩薩巨像)旁設靜態十殿閻羅(1970年代初),雖略為陳舊然韻味猶存,續往上行可抵「證菩提道-釋迦如來應化事迹」雕塑園區,一攬世尊畢生精華。如來年邁時,琉璃國王為報長期被釋迦族輕蔑之傲慢心,世尊雖三次單獨伽跌坐 阻擋大軍進攻之路,但因緣果報無法逆轉,昔日婢女所生王子瞋恨無以復加,還是滅了祖國。自持神通第一目犍連不忍無辜百姓慘遭屠殺,遂以缽盛救度五百族人,最終卻化為血水,佛言神通廣大仍不敵千百劫業力,因緣果報屢試不爽。其母死後墜入餓鬼道飢餓難耐,目犍連遂展神通救渡,但所食尚未入口皆化為赤火,佛陀囑咐農曆七月十五日僧眾解安居自恣日,於盆中設甘露美食供養十方僧眾,因此超度亡母。後世「盂蘭盆法會」乃至「水懺法會」、「瑜珈焰口法會 」皆為消業障、斷塵垢之超渡儀軌,既渡亡魂也自懺悔。
台南麻豆代天府規模宏大、造型豔麗,不但可遊十八層地獄尚可逛天堂(1979年興建,1983年開放),燈光絢爛、聲響駭人,獨自漫步宛如觀落陰、地獄走一回。先過「心頭山」、入「清心池」、進「陰陽界」、抵「交簿廳」、達「鬼門關」、遊「補經所」、探「枉死城」、行「奈何橋」,至ㄧ殿泰廣王照「孽鏡台」現造惡原形,睹抱柱、火床等小地獄。二殿楚江王開「陰查簿 」判案定奪,觀糞尿泥、餓鬼、舞池、寒冰、膿血、鞭韃、舌犁、劍葉、戟腹拋接、砧截……等小地獄。三殿宋帝王刑罰為倒吊、銅鐵刮臉、挖眼、搗樁、倒烤、吸血、穿肋、抽筋、蛆蛀等小地獄……兼遊「四生(胎、卵、濕、化)回魂府」。四殿五官王掌管腰斬、拔舌、沸湯、刺嘴、剝皮、箭樹、車崩、射眼……等十六小地獄。隨五殿森羅王豋「望鄉臺」回眸親人最終眼後觀擊膝、誅心、刀山、飛刀火石……小地獄。六殿卞城王別稱「大叫喚大地獄」,轄火牛、虎啖、噬腎、鉗嘴含鍼、釘喉、磨摧、砍頭……等小地獄。七殿泰山王為「熱惱大地獄」,窺烙手指、抽腸、頂石蹲身、油釜滾烹、割舌穿腮……等十六小地獄。八殿都市王掌管「大熱惱大地獄」兼火狗、鐵汁、鐵蛇、鋸劈斷肢、釘板、灸脊、鐵丸、磅秤……等小地獄。九殿平等王直轄十八層「阿鼻大地獄」,直透地心、內中陰森、不見五指、滿溢地漿,皆為極犯,另轄紫赤毒蛇鑽孔、夾頂、鐵鴉、針雨、蜂蠍……等小地獄。至十殿輪轉王上「觀生臺」、「轉劫所八司」(查驗司 、稽善司 、考過司 、恩怨司 、壽命司 、支配司、掌劫司 、授生司)後至「孟婆亭」飲「醧忘湯」忘盡前塵往事,依前世功德過金、銀、玉、石、木、竹六種橋樑至「轉輪臺(紫河車)」入六道輪迴轉生投胎。據《十八泥犁經》記載,人過世後七七四十九天為「中陰生」,經閻羅王審判善惡業力判定去留或懲罰百千萬劫,犯五逆重罪則墮入「無間地獄(阿鼻地獄)」永劫不復。地藏王乃幽冥教主,統轄十殿閻羅,逢三曹普渡便在各殿設「講道所」超度尚存善根之鬼魂。
人類居於五趣(阿修羅、人、傍生、餓鬼、地獄)雜居地五濁惡世之堪忍世界,犯十惡業(殺生、偷盜、邪淫、妄語、兩舌、惡口、綺語、貪慾、嗔恚、愚痴)者必墮三趣惡道。如何出「三界」(欲界、色界、無色界)二十八天?凡人無此意識,別說能破「十二因緣」(無明、行、識、名色、六入、觸、受、愛、取、有、生、老死)還滅門,更別想斷除「四聖諦」(苦、集、滅、道)集地八十一品見惑與八十八使思惑(五利使-身見、邊見、邪見、見取見、戒禁取見、五鈍使-貪、瞋、癡、慢、疑),了悟「五蘊」(色、受、想、行、識)本空、「十二入」(眼、耳、鼻、舌、意、色、聲、香、味、觸、法)空、「十八界」空,破俱生我執與分別我執、法執甚至空執,生十一處「善心所」(信、精進、慚、愧、無貪、無瞋、無痴、輕安、不放逸、行捨、不害),降二十六處「惡心所」(貪、瞋、癡、慢、疑、惡見、忿、恨、覆、惱、嫉、慳、誑、諂、害、憍、無慚、無愧、掉舉、惛沉、不信、懈怠、放逸、失念、散亂、不正知),須知善根斷盡則陷永劫輪迴、無垠轉世之苦。
地獄可能空滅嗎?若地獄空乏人間多鬼怪,地獄淨空世間何嘗非淨土?若能證空性何處現地獄?
地獄曠古來便廣泛流傳各部族間,老死生滅為自然運行之基礎、宇宙意識之核心,然今文明昌盛如咱城邦並非慾望消弭之所,惡性所及實無可根除,礙於憲法國家法律社會軍隊企業公司學校家庭團體之層層束縛不亞於十八層,乃遁於壓抑、束己情懷,暗埋心底、日久貪嗔痴慢疑怨噌會疊穢。而六塵未熄,心多妄念,妖魔鬼怪魑魅魍魎孤魂閃靈出沒於荒郊乃至人間,會靈於曠野密林以增性靈乃出世高人修煉之舉,我等凡人擅闖宛如迪士尼般之人造地獄,三魂七魄尚不足以出竅,驚邪恐怖淒厲猙獰倒滿足了自以為是的慚愧,豈不謬哉?
病毒肆虐年半有餘,全球確診者逼近一億八千萬,枉死者近四百萬,堪比戰爭規模,望眾生發慈悲心、令往生者安息、善待其他物種、平等有情眾生。地獄本空,唯妄念生起一切羨慕嫉妒恨而地獄現前。盡以此書作為世界新冷戰獨裁者、超限戰者、暗網駭客、陰險狡猾冷嘲熱諷落井下石者之良知備忘錄矣。
姚瑞中寫於2021年端午節
Postscript
I have been living recklessly in Taiwan for more than fifty years. According to Zi Wei Dou Shu (Purple Star Astrology), Tan Lang is the sole star in my house of Self. This star, which represents xxx, forms an equilateral triangle with that star Qi Sha and Po Jun on the square chart and constitutes a Sha Po Lang pattern. The pattern indicates a kind of turbulence and change, a life of wandering with ups and downs and it tells a lot about my life. After my ill-fated youth, I started from scratch and traveled around the world with exhibitions that I participated. Like a flaneur, I wandered around ruins, nature, and temples with every type of film camera obliviously. Thus, I founded the Hall of Illusion and claimed to be the master of the hall. Several times a day, I pondered a quote from the Diamond Sutra, “Everything with form is unreal.” In addition, I usually stayed in the darkroom developing film and enlarging those negatives overnight. However, I treasured the simplicity of the black and white world. The earthly, gaudy, garish, phony and pleasing qualities within colored photos make the images even more realistic than the real world. It is not my cup of tea, so I seldom took colored photos. In Confucian thought, the age of fifty marks the stage knowing the mandate of Heaven. I am now at my fifties and realize how ephemeral human life is. However, I am not an immortal, nor having sagelike characteristics. I just learned that the stage of stainless (the second bhūmi) and develop a pure mind that is free from doubt and defilement. However, I’m still far from the immovable state and need to practice.
In the summer of 2017, after filming the work Incarnation, I experienced a severe heart rhythm problem which almost triggered myocardial infarction and could have killed me. Consequently, I realized that death was waiting for me and the life is too short to figure out how I can liberate myself from the cycle of Birth and Death. I couldn’t comprehend how to be free from all afflictions and worries and how to avoid delusive ideas. I wept for three days and nights after being enlightened by Shakyamuni Buddha. Up to the moment, I felt ashamed that I failed to realize that the self is as insignificant as dust after these years learning and practicing Buddhism. Since then, I have visited famous temples and monasteries in my spare time, worshiping Buddha, Bodhisattvas, arhats, and all the deities and immortals. Taiwan’s temples are myriad with a enormous number of sects, including Buddhism, Taoism, Yiguandao, Catholicism, Christianity, Chinese religions of fasting, Islam& Baháʼí Faith, Confucianism, Tiandiism& Tian-De Teachings, Xiwangmu cult, Yellow Emperor Sect, Precosmic Salvationism, Liism, World Wide Ethical Society, séance cult, etc. Some people even claim that they can mediate communication between the deities or spirits of the dead with human beings, having their believer rely on themselves instead of the orthodox dharma or dogma and pay excessive respect and admiration for the mediums or objects, accumulating wealth through such an unfair means or even harassing their believer sexually. Due to Taiwan’s historical changes, social turbulence, political struggles, and ideological issues, Buddhism and Taoism are somehow mixed. However, there are few emphases on the concept of the hell. As I took photographs of Yama of each court, judges, wardens of the underworld, jailers, General Fan and Hsieh (the ghost escorts) and all sinners, I found few temples cleverly created hellish scenes that are intriguing, exaggerating, and extraordinary. However, the creations are unparalleled unique. I have been studying Western arts for decades and then I came to realize that simplicity makes the most beautiful works of art. These hellish scenes can even compete with works of Giotto di Bondone (1267-1337) and Michelangelo Di lodovico Buonarroti Simoni (1475-1564).
Jingang Temple Shimen District, founded in 1986, overlooks the beautiful North shore. Although the temple is mainly dedicated to Phra Phrom (the Thai representation of Mahabrahma), spirits of Confucianism, Buddhism, and Taoism can also be founded in the temple. The worshipper can go cross the Seven Star bridge to relieve bad luck, walk along the five hundred arhat statues and knock on the gong to affirm one’s Buddha nature. Furthermore, the worshipper can also prostrate themself before Asia’s largest statue of Buddha in Nirvana (the Reclining Buddha statue) and pacify the Taoist Tai Sui deity of the year. I was impressed by the Jia-Zi Tai Sui General that a pair of palms grow out of his eyes. In 1994, the biō-kong (the person taking charge of the temporal affairs of a temple) received a divine inspiration from Yama (the King of Hell) that he had to build a sacred hall in the shape of a divine dragon, with the interior designed according to the World of Ultimate Bliss and the Underworld. When the visitor walks in the dark hallway, they will see the tortured people (dioramas, of course) scrunching their faces and crying bitterly and loudly in excessive grief as the visitor triggers the mechanism. One will even find them in the midst of flesh, body liquid and blood, mutilated limbs, and rotten corpses. While each of the ten Yamas are focusing on their own duties, showing their sacred dignity that collect visitors’ attention. The Baogong Temple in Linkou District, New Taipei City exclusively features colorful depiction of hellish scenes in relief in Taiwan. With its pastel shades and cartoon-like style, the relief is both grotesque and adorable at the same time. This temple is dedicated to Bao Zhen (also known as Justice Bao) representing the incarnation of Yama. Living people who have been treated unjustly can come worshipping Bao Gong and receive exorcism. Therefore, many people come here for seeking to solve unsolved cases. In Zhongyuan Festival (the ghost festival), the temple will burn the Zhizha (paper craft) boat to ferry the ghosts to the other shore, which is the shore of enlightenment. The only giant statue of Yama in Taiwan is still in the making. The temple is surrounded by a cemetery, suitable for meditating on the loathsomeness and impurity. Nantian Temple (1971), located next to the Eight Trigram Mountains Buddha in Changhua, features the first animatronic underworld. Despite the small size, the animatronic underworld is intensely shocking. Though it’s slightly worn, the colorful dioramas are still brutally ferocious. The creator was the late venerable Dao Zhang (Taoist priest) Jing Deng-fu while the origin of animatronic deities can be traced back to the 1960s Beigang Chaotian Temple. On the contrary, the Whiteman Toothpaste Tourism Factory in Shuishang Township, Chiayi, features ten Yamas with individual booth. The place is unexpectedly clean and polished yet keeps a simple and modest tone. Then, the Dragon Pagoda of the Dragon and Tiger Pagodas at Lotus Lake in Zuoying, Kaohsiung, holds the only relief of hellish scenes made of Kochin ceramic. All the figures are vivid and life-like. If one goes further into the pagoda, they will see a relief tunnel of the thirty-three incarnations of the white-robed form of Guanyin (Avalokiteśvara) on a white lotus, with a lovely and interesting design. Another Hall of Yama is built in the 1970s next to the entrance of Dagangshan Chaofeng Temple, located in the Alian District of Kaohsiung. Visitors will also see three statues of the Three Holy Ones of the Western Pureland (Amitābha, Avalokiteśvara, Mahāsthāmaprāpta) which assemble at a lotus pond. Although the hellish scene looks somewhat antiquated, you may still find its previous charm. If one goes further, they will reach the sculptural garden of “Attaining the Bodhi Way: the Incarnation of Sakyamuni Buddha,” where the visitor can see the essence of Bhagavato’s (meaning the Blessed one, one of the common epithets for Buddha) life. When Tathāgata (another epithet for Buddha) was old, the king of Kosala wanted to avenge the arrogance of the tribe of Shakyas who had long despised him, regarding him as a son of a maiden. Although Buddha has sat in lotus position alone three times to stop the army from attacking his tribe. However, one can never reverse the cause and following karma. The prince born of a maiden was so furious that he eventually destroyed his homeland. Maudgalyāyana (one of the Buddha’s closest disciples), who is said to have had supernatural abilities that surpassed the other disciples, could not bear to see the slaughter of innocent people. Thus, he saved five hundred people of his tribe with a pātra (an eating utensil of Buddhist monks). Unfortunately, everything he did was in vain, those who were saved eventually turned into a puddle of blood. The Buddha said that the supernatural abilities cannot surpass the power of karma. The cause and effect work all the time. When Maudgalyāyana’s mother fell into the path of hungry ghost, he used his supernatural abilities to save his mother from hunger. However, all the food turned into fire before being fed to his mother. Later, the Buddha commanded the monks to put nectar and dishes in a basin on the 15th day of the seventh month in the lunar calendar for the monks from all directions to free his mother from reincarnation. In later times, the Ullambana Dharma Service, the Compassionate Samadhi Water Repentance, and the Yoga Collection for Feeding the Searing Mouths Dharma Service are rituals to eliminate karmic hindrance and to cease to worldly delusions. Through such practices, one can free the dead as well as confess their repentance.
Madou Daitian Temple is a magnificent and colorful temple in Tainan. Not only can the worshippers visit the eighteen levels of Hell but also the Heaven (it was built in 1979 and inaugurated in 1983) here. The lighting and sound effects are stunning and frightening. When walking alone in the space, one may feel like taking a Guan Luo Yin trip (a Taoist necromancy which leads people’s spirits to hell and communicate with the dead ones) to visit the underworld prison. Before arriving the first court of the underworld, the visitor will walk through the Mountain of Heart Summit, the Pure Heart Pond, the Frontier between the Living and the Dead Realms, the Soul Registry Hall, the Portico of Demons, the Center for Complementary Teaching of Canonical Books, the Citadel of Premature Death, and the Bridge of Vanity. When one arrives at the first court, they will see King Chin-guang, who is in charge of the court, using the Mirror of Retribution to show the earthly form of evil creatures and also witness the sub-hell of Pillar-Holding and Fire Bed, etc. At the second court, King Chu-jiang collates the register of sins the souls of the dead have committed to impose the punishments. Here, you will see the sub-hell of Excrement and Urine, Hungry Ghost, Burning Dance Floor, Ice, Pus and Blood, Whipping, Tongue-Raking, Sword Blade, Stomach-Piercing, Chopping, etc. Next, the dead at the third court, ruled by King Song-di, will receive the punishments including inversion tortures, face-skinning with steel and copper knife, eye-wrenching, pounding, blood-sucking, rib-piercing, roasting, tendon-taking, being eaten by maggots. The visitor can pay a visit to the Palace of Soul-Resuscitation for the Four Forms of Creatures (birth from an egg, birth from a womb, birth from moisture, and birth by transformation). King Wu-guan is in charge of the fourth court. There are sixteen sub-hells at the fourth court including Waist Chop, Tongue Removal, Boiling Pond, Mouth-stabbing, Skin-peeling, Sword Tree, Burning Wheels and Cart, Eye-shooting, etc. Next, at the fifth court, sinful souls are allowed to ascend the Tower of Hometown-Viewing to take a final look of their family. The visitor will witness sub-hells of Knee-striking, Heart-slicing, Blade Mountain, Flying Swords and Burning Stones, etc. The King of Bian City takes charge of the sixth court, which is also known as the “Great Hell of Screaming,” with sub-hells including Fire Cattle, Tiger-Biting, Kidney-Eating, Mouth-Poking, Throat-Nailing, Iron Mill, Decapitation, etc. The King of Tai-shan is in charge of the seventh court, the “Great Hell of Heat and Fire.” The sixteen sub-hells at this court include Finger-Searing, Bowel-Hauling, Stone-Bearing, Boiling Oil, Tongue-Removal and Cheek-Piercing, etc. Next, the King Du-shi is in charge of the eighth court, the “Great Hell of Intense Fire and Heat,” and the sub-hells including Fire Dogs, Molten Iron, Iron Snakes, Dismemberment, Steel Spikes, Burning-Marrow, Iron Ball, Scale, etc. The ninth court is ruled by the King Ping-deng. It is known as the biggest court, Avici Hell (the Hell of Incessant Suffering), which if the lowest level of the hell realm and the interior is gloomily and terrifyingly dark. Those who committed the most serious evil deed will be sent to the Avici Hell. Sub-hells such as Poisonous Snake, Brain-Removal, Crow-Gnawing, Raining Needles, Wasps and Scorpions are included at this court. After arriving the tenth court, ruled by the Great King of the Reincarnation Palace, one can visit the “Observatory of Life on earth” and the “eight bureaus of the Reincarnation Palace” (including the Bureau of Judicial Control, the Bureau of Good-Actions, the Bureau of Bad-Actions, the Bureau of Debts, Gratitude, and Vengeance, the Bureau of Longevity and Destiny, the Bureau of Familial Ties, the Bureau of the Reincarnated, and the Bureau of Birth). The sinful one will be sent to the Pavilion of Mengpo and made to drink the Soup of Forgetfulness to forget all past affairs. According to the sinful one’s merits of previous life, they will go across one of the six bridges (gold, silver, jade, stone, wood, bamboo) to the “Reincarnation-Wheel (Wheel on the Crimson River).” Finally, one is able to reborn in the six realms. According to the Aṣṭadaśa nāraka sutra ( the Eighteen Hells Sutra), after one passes away, they will enter an intermediate and transitional state between death and rebirth, known as antarābhava in Sanskrit, for forty-nine days. The being will be evaluated by Yama, who will decide if one should get reborn or get punished at the hell. Those who committed the Five Grave Offenses (killing one’s father, killing one’s mother, killing an Arhat, shedding the blood of a Buddha, and creating a schism within the community of Buddhist monks and nun who practice for attaining enlightenment.) will be sent to the Avici Hell and stay there eternally. Kṣitigarbha is the Lord of the Nether World, ruling the ten court of Hell. The lord will set up the “Hall of Teaching” at each court to salvage those sinful ones who still obtain few merits at the offering rituals.
Human beings live the Sahā world (sahāloka in Sanskrit, meaning “endurance of suffering,” a concept of mundane world in Mahāyāna Buddhism) where they share with other reincarnations (including beings of the hells, of the preta, and of malevolent nature spirits) with five turbidities (the Kalpa turbidity, the view turbidity, the affliction turbidity, the living beings turbidity, and the life turbidity). Those who commit the ten evil deeds (killing, stealing, adultery, lying, using immoral language, slandering, equivocating, coveting, anger, and false views) must fall into the three evil paths (animals, preta, and hell). However, how can one escape from the three realms/ twenty-eight heavens (including the six heavens of the desire realm, the eighteen heavens of the form realm, and the four heavens of the formless realm)? Worldly people who don’t have such an awareness cannot leave the cycle of the twelve nidanas (meaning causes or motivations), let alone eliminate the eighty-one afflictions (that have been produced due to misunderstanding regarding reality) and the eighty-eight illusions (including five afflictions of advanced practitioners, also known as five views: view of self, extreme view, evil view, view of attachment to views, and view of morality; and five unintelligent temptations: desire, anger, stupidity, arrogance, and doubt) of thought within the three realms and four Arya satyas (noble truths, including suffering, arising, ending, and path). They cannot realize that the essence of the five skandhas (referring to aggregates of clinging, including the matter of form, sensation, recognition, mental formation, and consciousness) , the twelve ayatana (meaning sense base, including six internal bases: eye, ear, nose, tongue, body, and mind and six external bases: visible objects, sound, odor, taste, touch, and mental objects), and the eighteen dhātavah (meaning compositional elements of human existence, including six consciousness, six faculties, and their objects) are the emptiness and the void. Furthermore, they cannot dispel the two reasons for clinging to the idea of the self and the attachment to elemental constructs and even believe in the two (false) tenets that that karma and nirvana are not real and that the ego and phenomena are real. As a consequence, they fail to develop the eleven wholesome mental factors (faith, energy, conscience, being ashamed, non-attachment, non-aggression, non-delusion, calmness, equanimity, conscientiousness, and non-injuriousness) and cease the sixteen unwholesome mental factors (desire, greed, anger, delusion, arrogance, doubt, wrong view, wrath, enmity, hypocrisy, vexation, jealousy, parsimony, deceit, flattery, harming, ambitiousness, stupidity, lacking of faith, idleness, being unrestrained, forgetting, distraction, non-discernment, ). One must bear in mind that once all our virtuous roots are discontinued, they will be trapped in the never-ending reincarnation and the suffering of infinite continuity.
Is it possible that the hell will be empty one day? If the beings in hell will become extinct while evil spirits inhabit the mundane world, the world could be considered as a pure land. If we could witness the nature of the void, then hell will exist no more.
Since ancient times, the concept of hell has been widely spread among all tribes. Aging, death, beginning, and end are the basis of nature and the core of cosmic consciousness. However, the prosperous civilization as our island is not a place where desire can be eliminated. It’s impossible to eradicate evil nature. Since fetters brought by the constitution, the state, the law, society, the military, corporations, schools, families, and groups are not less than the eighteen levels of hell, the mortals repress themselves, bury their feelings. Day after day, greed, anger, stupidity, arrogance, doubt, and resentment are stacking. However, since the six dust (visible objects, sound, odor, taste, touch, and mental objects) has not yet been extinguished, people in the mundane world are still full of delusions. The demons, devils, evil spirits, and the wondering dead exist in the wilderness, while only advanced practitioners with transcendent would attempt to make contact with the dead in the wasteland and forest. Worldly people like us trespass in Disneyland-like man-made hell. It is absurd and ridiculous that the hellish scenes cannot stop us from perpetrating evil deeds, but the horrific and cruel scenes yet satisfy our self-righteous shame.
The pandemic has been boiling over for more than a year and a half. The number of infected patients worldwide is nearly a hundred and eighty million, and the death toll has risen to four million, which is equivalent to a war crisis. I hope that we can all be compassionate, give peace to the dead, treat all sentient beings well and equally. The hell is innately empty; however, deluded and misleading thoughts would give rise to all jealousy and hatred and then manifest the hell before us. This book merely serves as a memorandum of conscience for dictators of the world’s new cold war, supporters of unrestrained warfare, dark web hackers, and those who are cunning and contemptuous and maltreat others when knowing they have problems.
June 2021,
Yao Jui-chung
同時也有11部Youtube影片,追蹤數超過63萬的網紅沛莉 Peri Story,也在其Youtube影片中提到,💗 影片中使用的商品▼Products I Mentioned Up to 80% OFF Black Friday Sale at #YesStyle . Apply 『2020BLACKFRI』 upon checkout to save EXTRA 15% OFF on orders ov...
「factory pattern」的推薦目錄:
- 關於factory pattern 在 Facebook 的最佳貼文
- 關於factory pattern 在 Ming's Facebook 的最佳解答
- 關於factory pattern 在 Taipei Ethereum Meetup Facebook 的最讚貼文
- 關於factory pattern 在 沛莉 Peri Story Youtube 的最佳貼文
- 關於factory pattern 在 在地上滾的工程師 Nic Youtube 的最佳貼文
- 關於factory pattern 在 在地上滾的工程師 Nic Youtube 的精選貼文
- 關於factory pattern 在 工廠設計模式(Factory Design Pattern) - Carson's Tech Note 的評價
- 關於factory pattern 在 does factory pattern violate single responsibility principle? 的評價
- 關於factory pattern 在 design-patterns-in-ruby/factory.md at master - GitHub 的評價
factory pattern 在 Ming's Facebook 的最佳解答
|RUNWAY|JUNYA WATANABE 2021秋冬系列,也許會勾起不少 JUNYA 愛好者的回憶,皆因渡邊淳彌再次利用民族圖案 FAIR ISLE PATTERN 作為系列設計靈感,不知道是有心還是無意,對上一次這樣大量解構 FAIR ISLE PATTERN 正正是 10 年前的 2011 秋冬系列。
內文:https://bit.ly/3axsADp
#MINGS #MINGSHK #MINGSRUNWAY #FW2021 #JUNYAWATANABE #FASHION
相關文章:
➜【時裝札記】ALBER ELBAZ 回歸為女性設立 AZ FACTORY 夢工場 https://bit.ly/3ouzVZ7
➜【時裝札記】「這就是未來,沒有性別界限,沒有界限可言。」PIERPAOLO PICCIOLI 打破界限,令人目不暇給的 VALENTINO 春夏 2021 高訂系列 https://bit.ly/3poecn0
_________________________________
FOLLOW US NOW
➜ WEBSITE www.mings.hk
➜ INSTAGRAM www.instagram.com/mings.hk
➜ YOUTUBE www.youtube.com/mpwmings
factory pattern 在 Taipei Ethereum Meetup Facebook 的最讚貼文
📜 [專欄新文章] Reason Why You Should Use EIP1167 Proxy Contract. (With Tutorial)
✍️ Ping Chen
📥 歡迎投稿: https://medium.com/taipei-ethereum-meetup #徵技術分享文 #使用心得 #教學文 #medium
EIP1167 minimal proxy contract is a standardized, gas-efficient way to deploy a bunch of contract clones from a factory.
1. Who may consider using EIP1167
For some DApp that are creating clones of a contract for its users, a “factory pattern” is usually introduced. Users simply interact with the factory to get a copy. For example, Gnosis Multisig Wallet has a factory. So, instead of copy-and-paste the source code to Remix, compile, key in some parameters, and deploy it by yourself, you can just ask the factory to create a wallet for you since the contract code has already been on-chain.
The problem is: we need standalone contract instances for each user, but then we’ll have many copies of the same bytecode on the blockchain, which seems redundant. Take multisig wallet as an example, different multisig wallet instances have separate addresses to receive assets and store the wallet’s owners’ addresses, but they can share the same program logic by referring to the same library. We call them ‘proxy contracts’.
One of the most famous proxy contract users is Uniswap. It also has a factory pattern to create exchanges for each ERC20 tokens. Different from Gnosis Multisig, Uniswap only has one exchange instance that contains full bytecode as the program logic, and the remainders are all proxies. So, when you go to Etherscan to check out the code, you’ll see a short bytecode, which is unlikely an implementation of an exchange.
0x3660006000376110006000366000732157a7894439191e520825fe9399ab8655e0f7085af41558576110006000f3
What it does is blindly relay every incoming transaction to the reference contract 0x2157a7894439191e520825fe9399ab8655e0f708by delegatecall.
Every proxy is a 100% replica of that contract but serving for different tokens.
The length of the creation code of Uniswap exchange implementation is 12468 bytes. A proxy contract, however, has only 46 bytes, which is much more gas efficient. So, if your DApp is in a scenario of creating copies of a contract, no matter for each user, each token, or what else, you may consider using proxy contracts to save gas.
2. Why use EIP1167
According to the proposal, EIP is a “minimal proxy contract”. It is currently the known shortest(in bytecode) and lowest gas consumption overhead implementation of proxy contract. Though most ERCs are protocols or interfaces, EIP1167 is the “best practice” of a proxy contract. It uses some EVM black magic to optimize performance.
EIP1167 not only minimizes length, but it is also literally a “minimal” proxy that does nothing but proxying. It minimizes trust. Unlike other upgradable proxy contracts that rely on the honesty of their administrator (who can change the implementation), address in EIP1167 is hardcoded in bytecode and remain unchangeable.
That brings convenience to the community.
Etherscan automatically displays code for EIP1167 proxies.
When you see an EIP1167 proxy, you can definitely regard it as the contract that it points to. For instance, if Etherscan finds a contract meets the format of EIP1167, and the reference implementation’s code has been published, it will automatically use that code for the proxy contract. Unfortunately, non-standard EIP1167 proxies like Uniswap will not benefit from this kind of network effect.
3. How to upgrade a contract to EIP1167 compatible
*Please read all the steps before use, otherwise there might have problems.
A. Build a clone factory
For Vyper, there’s a function create_with_code_of(address)that creates a proxy and returns its address. For Solidity, you may find a reference implementation here.
function createClone(address target) internal returns (address result){ bytes20 targetBytes = bytes20(target); assembly { let clone := mload(0x40) mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(clone, 0x14), targetBytes) mstore(add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) result := create(0, clone, 0x37) }}
You can either deploy the implementation contract first or deploy it with the factory’s constructor. I’ll suggest the former, so you can optimize it with higher runs.
contract WalletFactory is CloneFactory { address Template = "0xc0ffee"; function createWallet() external returns (address newWallet) { newWallet = createClone(Template); }}
B. Replace constructor with initializer
When it comes to a contract, there are two kinds of code: creation code and runtime code. Runtime code is the actual business logic stored in the contract’s code slot. Creation code, on the other hand, is runtime code plus an initialization process. When you compile a solidity source code, the output bytecode you get is creation code. And the permanent bytecode you can find on the blockchain is runtime code.
For EIP1167 proxies, we say it ‘clones’ a contract. It actually clones a contract’s runtime code. But if the contract that it is cloning has a constructor, the clone is not 100% precise. So, we need to slightly modify our implementation contract. Replace the constructor with an ‘initializer’, which is part of the permanent code but can only be called once.
// constructorconstructor(address _owner) external { owner = _owner;}// initializerfunction set(address _owner) external { require(owner == address(0)); owner = _owner;}
Mind that initializer is not a constructor, so theoretically it can be called multiple times. You need to maintain the edge case by yourself. Take the code above as an example, when the contract is initialized, the owner must never be set to 0, or anyone can modify it.
C. Don’t assign value outside a function
As mentioned, a creation code contains runtime code and initialization process. A so-called “initialization process” is not only a constructor but also all the variable assignments outside a function. If an EIP1167 proxy points to a contract that assigns value outside a function, it will again have different behavior. We need to remove them.
There are two approaches to solve this problem. The first one is to turn all the variables that need to be assigned to constant. By doing so, they are no longer a variable written in the contract’s storage, but a constant value that hardcoded everywhere it is used.
bytes32 public constant symbol = "4441490000000000000000000000000000000000000000000000000000000000";uint256 public constant decimals = 18;
Second, if you really want to assign a non-constant variable while initializing, then just add it to the initializer.
mapping(address => bool) public isOwner;uint public dailyWithdrawLimit;uint public signaturesRequired;
function set(address[] _owner, uint limit, uint required) external { require(dailyWithdrawLimit == 0 && signaturesRequired == 0); dailyWithdrawLimit = limit; signaturesRequired = required; //DO SOMETHING ELSE}
Our ultimate goal is to eliminate the difference between runtime code and creation code, so EIP1167 proxy can 100% imitate its implementation.
D. Put them all together
A proxy contract pattern splits the deployment process into two. But the factory can combine two steps into one, so users won’t feel different.
contract multisigWallet { //wallet interfaces function set(address[] owners, uint required, uint limit) external;}contract walletFactory is cloneFactory { address constant template = "0xdeadbeef"; function create(address[] owners, uint required, uint limit) external returns (address) { address wallet = createClone(template); multisigWallet(wallet).set(owners, required, limit); return wallet; }}
Since both the factory and the clone/proxy has exactly the same interface, no modification is required for all the existing DApp, webpage, and tools, just enjoy the benefit of proxy contracts!
4. Drawbacks
Though proxy contract can lower the storage fee of deploying multiple clones, it will slightly increase the gas cost of each operation in the future due to the usage of delegatecall. So, if the contract is not so long(in bytes), and you expect it’ll be called millions of times, it’ll eventually be more efficient to not use EIP1167 proxies.
In addition, proxy pattern also introduces a different attack vector to the system. For EIP1167 proxies, trust is minimized since the address they point to is hardcoded in bytecode. But, if the reference contract is not permanent, some problems may happen.
You might ever hear of parity multisig wallet hack. There are multiple proxies(not EIP1167) that refer to the same implementation. However, the wallet has a self-destruct function, which empties both the storage and the code of a contract. Unfortunately, there was a bug in Parity wallet’s access control and someone accidentally gained the ownership of the original implementation. That did not directly steal assets from other parity wallets, but then the hacker deleted the original implementation, making all the remaining wallets a shell without functionality, and lock assets in it forever.
https://cointelegraph.com/news/parity-multisig-wallet-hacked-or-how-come
Conclusion
In brief, the proxy factory pattern helps you to deploy a bunch of contract clones with a considerably lower gas cost. EIP1167 defines a bytecode format standard for minimal proxy and it is supported by Etherscan.
To upgrade a contract to EIP1167 compatible, you have to remove both constructor and variable assignment outside a function. So that runtime code will contain all business logic that proxies may need.
Here’s a use case of EIP1167 proxy contract: create adapters for ERC1155 tokens to support ERC20 interface.
pelith/erc-1155-adapter
References
https://eips.ethereum.org/EIPS/eip-1167
https://blog.openzeppelin.com/on-the-parity-wallet-multisig-hack-405a8c12e8f7/
Donation:
pingchen.eth
0xc1F9BB72216E5ecDc97e248F65E14df1fE46600a
Reason Why You Should Use EIP1167 Proxy Contract. (With Tutorial) was originally published in Taipei Ethereum Meetup on Medium, where people are continuing the conversation by highlighting and responding to this story.
👏 歡迎轉載分享鼓掌
factory pattern 在 沛莉 Peri Story Youtube 的最佳貼文
💗 影片中使用的商品▼Products I Mentioned
Up to 80% OFF Black Friday Sale at #YesStyle .
Apply 『2020BLACKFRI』 upon checkout to save EXTRA 15% OFF on orders over US$35!
必回購~五層化妝棉
Cotton labo - Selena Five Layers Cotton Pad
https://shrsl.com/2lu3y
資生堂心機彩妝 星魅輕羽粉餅
Shiseido - Maquillage Dramatic Powdery UV Foundation SPF 25 PA+++
https://shrsl.com/2lu4r
三合一眉筆
EXCEL - Powder & Pencil Eyebrow EX 0.4g #PD05
https://shrsl.com/2lu4t
血紅去角質精華液
so natural - Red Peel Tingle Serum
https://shrsl.com/2lu4q
去黑頭深層清潔棒
RiRe - All Kill Blackhead Remover Stick
https://shrsl.com/2lu4m
迷你面膜清潔皂
LUTHIONE - Cleansing Pop - 3 Types
https://shrsl.com/2lu4n
Secret Key - Pink Racoony Hydrogel Eye & Cheek Patch
https://shrsl.com/2jvgr
VILLAGE 11 FACTORY - Relax Day Foot Peeling Mask
https://shrsl.com/2jvh5
挑染髮片
Tone Cut - Highlight Hair Extensions
https://shrsl.com/2lu4j
特殊釦灰色針織外套
DABAGIRL - Distressed Rib-Knit Cardigan
https://shrsl.com/2lu4e
毛茸茸針織外套
LIPHOP - Open-Front Balloon-Sleeve Furry Cardigan
https://shrsl.com/2lu4i
黑色雙釦長版西裝外套
Seoul Fashion - PLUS SIZE Double-Breasted Long Jacket
https://shrsl.com/2lu3l
斑馬緞面洋裝
LIPHOP - Lace-Trim Zebra-Pattern Long Bustier Dress
https://shrsl.com/2lu3w
黃色豹紋長裙
LIPHOP - Slit-Hem Ruffle-Trim Maxi Leopard Skirt
https://shrsl.com/2lu40
白色彈力高腰褲/顯瘦
DEEPNY - High-Waist Straight-Cut Pants
https://shrsl.com/2lu42
車縫線運動套裝可可棕色
NANING9 - Overlock-Stitch Sweatshirt & Jogger Sweatpants Set
https://shrsl.com/2lu44
米色黑滾邊針織外套
mimi&didi - Dual-Pocket Piped Wool Blend Cardigan
https://shrsl.com/2lu3o
格子睡衣套裝
Dogini - Family Matching Pajama Set: Gingham Shirt + Pants
https://shrsl.com/2lu3r
寬版高腰牛仔褲
LIPHOP - Asymmetric-Waist Wide-Leg Jeans With Belt
https://shrsl.com/2lu45
棕色條紋西裝外套
LIPHOP - Peaked-Lapel Double-Breasted Pinstriped Blazer
https://shrsl.com/2lu47
Class 302 - 瀏海捲髮器
https://shrsl.com/2lhd9
Nozomi - 增髮盤髮夾 (頭頂蓬蓬神器)
https://shrsl.com/2lhdd
Oohlala! - 熊熊軟糖髮夾
https://shrsl.com/2lhdn
True Glam - 手掌髮爪夾
https://shrsl.com/2lhdt
Koi Kawaii - 剪刀髮夾(我還沒收到,但順便分享連結)
https://shrsl.com/2lhd8
Taimi - 豹紋直條髮夾
https://shrsl.com/2lhdg
Coolgirl - 抓毛髮夾
https://shrsl.com/2lhdk
Coolgirl - 純色髮爪夾
https://shrsl.com/2lhdm
---
結帳輸入 JINGPeri12 享12%優惠
Matisse Charcoal Pleated Pocket Skort https://bit.ly/31RuhYq
Sabine Grey Oversized Sweater https://bit.ly/3e8jJck
(〃∀〃)~♡ 以上整理連結是方便大家購買,價格優惠跟一般人購買一樣。若是限時團購則是比市場上更優惠的價格。然而透過點擊連結交易,我會分到微薄佣金來補貼一部分影片創作成本,在此感謝大家的支持。
😊 歡迎訂閱頻道 ► 記得開啟小鈴鐺,第一時間收到新片通知
沛莉開箱中 http://bit.ly/periyoutube
沛莉一家闖美國 https://ppt.cc/fZbT1x
小陶德玩樂園 https://ppt.cc/fbQHHx
🛒 購物推薦 ► https://www.amazon.com/shop/peri.com.tw
從這裡可以找到我常用、愛用推薦的商品,價格與一般相同、貨源來自各大供應商,可以安心。但透過連結購買我們會得到來自amazon官方分潤獎金,支持我們持續創作,在此說聲謝謝。
😘 更多即時生活分享,歡迎追蹤社群
Instagram ► https://www.instagram.com/peri168/
Facebook ► https://www.facebook.com/peri.com.tw
聯絡信箱 ► peritaiwan@gmail.com
非商業合作影片
This video is not sponsored.

factory pattern 在 在地上滾的工程師 Nic Youtube 的最佳貼文
對於設計模式的學習有多方派系持不同意見,但仔細去思考,會發現設計模式的存在是避免自己發明愚蠢的設計在已經常出現的問題上,在日新月異的科技進步下,隨著商業邏輯更加複雜,軟體工程師所遭遇到的問題也一次比一次還難
Design Pattern 的存在是幫助思考,避免不必要的協作災難,只要能懂得這點並融會貫通,職業生涯中有更多的時間去學習不同的思考方式、軟體架構以及團隊管理
成為真正的資深工程師道路上,Design Pattern 絕對是一門主修科目,你可以不完全使用,但卻不能不知道
以下是學習 Design Pattern 的推薦資源,其中包含筆記、書籍和程式碼範例
✅ 我的部落格筆記(Ruby) https://blog.niclin.tw/2018/11/18/%E7%89%A9%E4%BB%B6%E5%B0%8E%E5%90%91%E5%9F%BA%E6%9C%AC%E5%8E%9F%E5%89%87-solid-ruby-sample/
✅ 設計模式學習筆記 https://skyyen999.gitbooks.io/-study-design-pattern-in-java/content/
✅ 七天學會設計模式:設計模式也可以這樣學 https://www.books.com.tw/products/0010750585
✅ 大話設計模式 JAVA 版範例: https://github.com/skyyen999/bigTalkDesignPatternJava
章節:
00:00 算我拜託你了
01:00 什麼是 Design Pattern
02:25 學習 Design Pattern 的好處
04:43 實際應用與學習方式
07:34 導入工作
喜歡影片的話!可以幫忙點個喜歡以及分享、訂閱唷!😘
━━━━━━━━━━━━━━━━
⭐ 蝦皮賣場: https://shopee.tw/bboyceo
⭐ instagram (生活日常): https://www.instagram.com/niclin_tw/
⭐ Facebook (資訊分享): https://www.facebook.com/niclin.dev
⭐ Blog (技術筆記): https://blog.niclin.tw
⭐ Linkedin (個人履歷): https://www.linkedin.com/in/nic-lin
⭐ Github: https://github.com/niclin
⭐ Podcast: https://anchor.fm/niclin
━━━━━━━━━━━━━━━━
🌟 任何問題或合作邀約信箱: niclin0226@gmail.com
#designpattern #前端 #後端

factory pattern 在 在地上滾的工程師 Nic Youtube 的精選貼文
軟體工程師在進入職場後,前 3 年是想法塑形以及定義價值觀的最佳時機,往往在初期沒建立好的觀念和實力,到了後面更是被日新月異的技術以及更強更年輕的新血注入給淹沒。
要如何保持高速成長及不斷學習,是工程師生涯得不斷思考的問題,而這部影片將會和你分享,我如何用日本劍道的三字心訣,分析我自己生涯的前三年在做的學習,並一步步判斷自己成長學習的階段及改善。
章節:
00:00 有投票一定要來看
01:02 學習三階段
03:17 刻意練習的第一年
07:15 成長衝刺的二至三年
09:54 三年以後呢?
喜歡影片的話!可以幫忙點個喜歡以及分享、訂閱唷!😘
━━━━━━━━━━━━━━━━
⭐ 蝦皮賣場: https://shopee.tw/bboyceo
⭐ instagram (生活日常): https://www.instagram.com/niclin_tw/
⭐ Facebook (資訊分享): https://www.facebook.com/niclin.dev
⭐ Blog (技術筆記): https://blog.niclin.tw
⭐ Linkedin (個人履歷): https://www.linkedin.com/in/nic-lin
⭐ Github: https://github.com/niclin
⭐ Podcast: https://anchor.fm/niclin
━━━━━━━━━━━━━━━━
🌟 任何問題或合作邀約信箱: niclin0226@gmail.com
#前端 #後端 #工程師 #守破離

factory pattern 在 design-patterns-in-ruby/factory.md at master - GitHub 的推薦與評價
The Factory pattern is a specialization of the Template pattern. We start by creating a generic base class where we don't make the "which class" decision. ... <看更多>
factory pattern 在 工廠設計模式(Factory Design Pattern) - Carson's Tech Note 的推薦與評價
工廠設計模式(Factory Design Pattern) ... 工廠設計模式屬於「創建型模式」,規範「如何創建新Object」的程序設計。簡單來說就是故名思義,把創建的過程交 ... ... <看更多>