SHOULD YOU QUIT YOUR JOB NOW?
“You have to help me quit my job!”
Even though the video was off, I could tell from Bria’s voice that she was in tears. This strong woman couldn’t keep herself together anymore.
“You’re experiencing strong emotions now. That’s very natural,” I said, wanting to help her feel safe and accepted.
After all, Bria and I had only met once in an event. Knowing that I was a coach, she reached out the next day to see if I could help.
If there’s anything I’ve learned from my years of coaching, it’s that when the person is emotional, you need to give them the space to feel it.
So as Bria sobbed, I stayed silent, feeling my belly rise and fall with each breath. After a short while, I could sense that her wave of emotion had passed.
“Shall we take one long easy breath together?” I asked.
I heard her breathing with me. I paused, allowing Bria the time to settle, then I asked her to tell me what’s so difficult to her about her job.
After listening to her sharing, I said: “I can definitely help you, Bria.” I heard a sigh of relief on the other end. “But only if you promise me you won’t quit your job yet.”
3 months after that conversation, Bria waltzed in my office one evening holding a bottle of red wine: “Let’s celebrate!”
She had a giddy grin on her face, the very special grin with a dimple that I’d come to love after many hours supporting her. “Oh! Is it okay for us to drink a glass of wine in our coaching session?” She asked.
I laughed: “Of course. What are we celebrating?”
Bria said, her face brightened even more: “I just realized today that I have the perfect job!”
The most fascinating thing about this story is that the “perfect job” she referred to was the exact same job she had practically begged me to help her quit.
Bria’s circumstances hadn’t changed. But her experiences of the circumstances had changed 180 degrees. Why? Because she did.
Bria’s story teaches me once again, that life is truly created from the inside out.
---
👉 Dig deeper on why you should not quit your job yet with this article: https://bit.ly/2XB64q0
同時也有358部Youtube影片,追蹤數超過12萬的網紅roger wu,也在其Youtube影片中提到,Story of 2 Celebrity CATs VII , a short movie by Roger Wu ~ a Thailand based Hong Kong Travel Influencer ~✹香港移居泰國 旅遊達人胡慧冲 進軍國際頭最新短片! Well, just a funn...
「a short story」的推薦目錄:
- 關於a short story 在 Milena Nguyen Facebook 的最讚貼文
- 關於a short story 在 Taipei Ethereum Meetup Facebook 的最佳解答
- 關於a short story 在 外交部 Ministry of Foreign Affairs, ROC(Taiwan) Facebook 的精選貼文
- 關於a short story 在 roger wu Youtube 的最讚貼文
- 關於a short story 在 JinnyboyTV Youtube 的最佳貼文
- 關於a short story 在 roger wu Youtube 的最讚貼文
- 關於a short story 在 Pin on 100 Words Storyathon Short Stories Examples - Pinterest 的評價
a short story 在 Taipei Ethereum Meetup Facebook 的最佳解答
📜 [專欄新文章] Gas Efficient Card Drawing in Solidity
✍️ Ping Chen
📥 歡迎投稿: https://medium.com/taipei-ethereum-meetup #徵技術分享文 #使用心得 #教學文 #medium
Assign random numbers as the index of newly minted NFTs
Scenario
The fun of generative art NFT projects depends on randomness. The industry standard is “blind box”, where both the images’ serial number and the NFTs’ index are predetermined but will be shifted randomly when the selling period ends. (They call it “reveal”) This approach effectively solves the randomness issue. However, it also requires buyers to wait until the campaign terminates. What if buyers want to know the exact card right away? We’ll need a reliable onchain card drawing solution.
The creator of Astrogator🐊 isn’t a fan of blind boxes; instead, it thinks unpacking cards right after purchase is more interesting.
Spec
When initializing this NFT contract, the creator will determine the total supply of it. And there will be an iterable function that is randomly picking a number from the remaining pool. The number must be in range and must not collide with any existing ones.
Our top priority is accessibility/gas efficiency. Given that gas cost on Ethereum is damn high nowadays, we need an elegant algorithm to control gas expanse at an acceptable range.
Achieving robust randomness isn’t the primary goal here. We assume there’s no strong financial incentive to cheat, so the RNG isn’t specified. Implementers can bring their own source of randomness that they think is good enough.
Implementation
Overview
The implementation is pretty short and straightforward. Imagine there’s an array that contains all remaining(unsold) cards. When drawIndex() is called, it generates a (uniform) random seed to draw a card from the array, shortens the array, and returns the selected card.
Algorithm
Drawing X cards from a deck with the same X amount of cards is equal to shuffling the deck and dealing them sequentially. It’s not a surprise that our algorithm is similar to random shuffling, and the only difference is turning that classic algo into an interactive version.
A typical random shuffle looks like this: for an array with N elements, you randomly pick a number i in (0,N), swap array[0] and array[i], then choose another number i in (1,N), swap array[1] and array[i], and so on. Eventually, you’ll get a mathematically random array in O(N) time.
So, the concept of our random card dealing is the same. When a user mints a new card, the smart contract picks a number in the array as NFT index, then grabs a number from the tail to fill the vacancy, in order to keep the array continuous.
Tweak
Furthermore, as long as the space of the NFT index is known, we don’t need to declare/initialize an array(which is super gas-intensive). Instead, assume there’s such an array that the n-th element is n, we don’t actually initialize it (so it is an array only contains “0”) until the rule is broken.
For the convenience of explanation, let’s call that mapping cache. If cache[i] is empty, it should be interpreted as i instead of 0. On the other hand, when a number is chosen and used, we’ll need to fill it up with another unused number. An intuitive method is to pick a number from the end of the array, since the length of the array is going to decrease by 1.
By doing so, the gas cost in the worst-case scenario is bound to be constant.
Performance and limitation
Comparing with the normal ascending index NFT minting, our random NFT implementation requires two extra SSTORE and one extra SLOAD, which cost 12600 ~ 27600 (5000+20000+2600) excess gas per token minted.
Theoretically, any instantly generated onchain random number is vulnerable. We can restrict contract interaction to mitigate risk. The mitigation is far from perfect, but it is the tradeoff that we have to accept.
ping.eth
Gas Efficient Card Drawing in Solidity was originally published in Taipei Ethereum Meetup on Medium, where people are continuing the conversation by highlighting and responding to this story.
👏 歡迎轉載分享鼓掌
a short story 在 外交部 Ministry of Foreign Affairs, ROC(Taiwan) Facebook 的精選貼文
敬 自由 / 勇於說母語的你
無論是母親還是父親的舌頭
台灣都希望自己的人民能夠勇敢說出各種語言
台灣是語言的熔爐
不同時代的人們將自己的語言帶上岸
在 #語言平權 這條路上我們歷經努力
希望能夠尊重與確保台灣的多元語言文化
讓大家都能自由的使用自己認同的語言
.
外交部在今年聯合國推案影片《敬 自由》中
我們拍攝了在台灣的印尼語課程
.
『在這裡
所有台灣固有族群使用的自然語言
都是國家語言
不管在家裡說的是哪種母語
在學校都有老師繼續教你
跟阿公阿嬤聊天不用翻譯』
.
若聯合國的重要任務之一是要讓國家尊重人民的權利
台灣的夥伴價值,值得聯合國重視。
.
To Freedom / You and your mother tongue
.
#Taiwan is something of a melting pot in terms of language. We’ve been working hard to reduce the historical stigma attached to some of these languages and to ensure that they are not lost to future generations. New languages are also being carried to our shores by new arrivals, creating a linguistically dynamic young generation of bilingual or multilingual children and young adults. These young people benefit from the ability to engage in intergenerational communication, important in the preservation of cultural identity and for a more cohesive society.
We recently featured an Indonesian teacher in Taiwan--a new arrival--and one of her students--part of this multilingual younger generation--in “To Freedom,” our promotional short to mark the #UNGA76. They tell the story of Taiwan’s respect for all its languages when they say:
“Here, the natural languages of Taiwan’s inherent ethnic groups are official languages. Regardless of what language you speak at home, you’ll continue to be taught it at school. I don’t need a translator to talk with my grandparents.”
If the UN states part of its mission as encouraging countries around the world to respect the rights of their people, Taiwan's vision of global partnership can serve as a valuable reference.
#UNGA76
#HearTaiwan
#WorkingTogether
#FreedomForAll
#UNGlobalGoals
#TaiwanCanHelp
#RespectTheRightsOfPeople
#LanguageEquality
a short story 在 roger wu Youtube 的最讚貼文
Story of 2 Celebrity CATs VII , a short movie by Roger Wu ~ a Thailand based Hong Kong Travel Influencer ~✹香港移居泰國 旅遊達人胡慧冲 進軍國際頭最新短片! Well, just a funny cat short video shot on his mobile phone.
Celebrity Cat, Celeb Cat, Wu Wai Cat, Wu White Cat, Cat Movie, 胡慧冲, 胡慧沖, 居泰香港人, 居泰港人, Thailand, Roger Wu, 冲遊泰國, 疫後冲遊, 移居泰國, Thailand expat, 香港 旅遊達人, Hong Kong Travel Influencer, 胡慧貓, 胡白貓, Trailer, 明星貓, star cat, Thailand cat, 微電影, 寵物微電影, pet movie, iphonegraphy, 香港明星貓, 貓電影, asmr cat, cat grooming, funny cat
a short story 在 JinnyboyTV Youtube 的最佳貼文
A story of an elderly mom, who was hesitant on getting vaccinated with the Covid-19 Vaccine, was haunted by the ghost of the past, present and future.
This film was done in collaboration with Dr. Jason Leong
Film Produced by Aspect Ratio Studios (A Jinnyboy Founded Company)
Please spread this message to all of your friends, and family, and reassure them that vaccination is the best way to move forward from this pandemic.
Contact Us:
hello@aspectratiostudios.com
WEBSITE
http://www.aspectratiostudios.com
a short story 在 roger wu Youtube 的最讚貼文
Story of 2 Celebrity CATs ~VI , a short movie by Roger Wu ~ a Thailand based Hong Kong Travel Influencer ~✹香港 #移居泰國 旅遊達人胡慧冲 進軍國際頭最新短片! Well, just a #funnyCat short video shot on his mobile phone.
#CelebrityCat, Celeb Cat, Wu Wai Cat, Wu White Cat, Cat Movie, #胡慧冲 , #胡慧沖 , 居泰香港人, 居泰港人, Thailand, Roger Wu, 冲遊泰國 , 疫後冲遊 , 移居泰國, Thailand expat, 香港 旅遊達人, Hong Kong Travel Influencer, 胡慧貓, 胡白貓, Trailer, 明星貓, star cat, Thailand cat, 微電影, 寵物微電影, pet movie, iphonegraphy, 香港明星貓, 貓電影, asmr cat, cat grooming, funny cat
a short story 在 Pin on 100 Words Storyathon Short Stories Examples - Pinterest 的推薦與評價
Short Stories for Kids Writing Example: This is a short story written by Gilbert O, Mullum Primary School in Victoria, Australia. Storyathon: Can your students ... ... <看更多>