Guess who managed to make it into the cast of this year’s Junior Production?
Yep, that’s right, I’ve been blessed with the opportunity to act in the Junior Production again - Alhamdulillah! I kicked last week off with my Junior Production audition - something I had admittedly been rather nervous about for the past few weeks. But when it finally came to it, the audition went much better than all of the various catastrophic situations I had imagined and worried about in my head! In fact, the audition was quite fun to take part in, and we got a taster of what the production was like as well. And now, I’m glad to see that all the hard work has paid off - I’m excited to be part of another school production once more!
Previously, I’ve been involved in the Junior Production every year (excluding last year, thanks to good ol’ Covid). In my first year at KES, I acted in the school’s production of ‘Around The World In 80 Days’ - I was cast as the Parsee, the Indian merchant who owned an elephant and helped an Englishman travel safely across India. The following year, I was cast in the school’s adaptation of Peter Pan, this time as a grumpy park keeper who turned out to be part of the band of pirates in Neverland. It’s an honour to be part of something so wonderful this year as well - I’ll be telling you all more about my more demanding role in the coming days!
Auf Wiedersehen,
O. Mukhtar O. Mukhlis
#theomarmukhtar
#JuniorProductionJourney
p/s: ‘Auf Wiedersehen is German for ‘goodbye’ - a lil’ clue about what the play’s about! 😉
同時也有1454部Youtube影片,追蹤數超過9,410的網紅Miley青山舞莉,也在其Youtube影片中提到,下地 Paul and Joe Moisturizing Foundation Primer S01 ファンデーション CLIO KILL COVER アイシャドウ CLIO Pro Eye Palette mini アイライナー Maybelline Hypersharp Eyeliner...
「o right」的推薦目錄:
- 關於o right 在 Facebook 的最佳貼文
- 關於o right 在 Taipei Ethereum Meetup Facebook 的最佳解答
- 關於o right 在 Facebook 的精選貼文
- 關於o right 在 Miley青山舞莉 Youtube 的最佳貼文
- 關於o right 在 AnJet Cat Youtube 的最佳解答
- 關於o right 在 Miley青山舞莉 Youtube 的最讚貼文
- 關於o right 在 O'right - Home | Facebook 的評價
- 關於o right 在 O'right Shop 歐萊德 的評價
- 關於o right 在 O'right - YouTube 的評價
- 關於o right 在 O RIGHT歐萊德香水-PTT/DCARD討論與高評價商品-2021年11月 的評價
- 關於o right 在 O RIGHT歐萊德香水-PTT/DCARD討論與高評價商品-2021年11月 的評價
- 關於o right 在 Font Awesome icon in select option - Stack Overflow 的評價
o right 在 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.
👏 歡迎轉載分享鼓掌
o right 在 Facebook 的精選貼文
Surprise...the long hair has finally had a trim! To usher in the new school year, I’ve decided to go with a classic look - I can definitely say that I’m feeling fresher with this new look now. Back-to-school ready? Check! ✅
Now that school has started once more, I’ve had to set aside a little less time for things like my poetry, songwriting, and other rekindled passions. This school year, I enter Fourths, or Year 10 - the fourth year of secondary school here in the UK. This term marks the start of my journey into the IGCSE course, which I’ll be examined in at the end of my next academic year. In total, I’m now studying 9 subjects: English, Maths, Chemistry, Biology, Art, Drama, French, Latin and Ancient Greek. Yep, you read that right, I’m taking 3 languages as electives for my IGCSEs! 🤩
Now that the first week of school has passed, I’ve been able to do a few interesting things to kick off everything. The most notable one so far is that I have decided to audition for the Junior and Senior Production. Since I’m in Fourths, this year I can choose to audition for both the Junior and Senior Production. The Junior Production is an original play titled ‘Burn’, and for the Senior, it’s none other than the classic ‘Pride and Prejudice’! So far, I’ve auditioned for the Senior Production, and my audition for the Junior Production is this week - wish me luck! ✨
But honestly, that’s not all I’m excited about. Although these next two years will be incredibly busy now that we’re working towards our IGCSEs, I have a feeling that all of the academic and co-curricular parts of my school life now will prove to be invigorating and full of exciting opportunities. Here’s to a new academic year! 🙌🏻
Looking forward,
O. Mukhtar O. Mukhlis
#theomarmukhtar
#BackToRealLifeSchool
p/s: Who’s your favourite character from ‘Pride and Prejudice’?
o right 在 Miley青山舞莉 Youtube 的最佳貼文
下地 Paul and Joe Moisturizing Foundation Primer S01
ファンデーション CLIO KILL COVER
アイシャドウ CLIO Pro Eye Palette mini
アイライナー Maybelline Hypersharp Eyeliner Softblack
眉毛 Anastasia Beverly Hills Dipbrow Medium Brown
ハイライト Dior Glow Face Palette
リップ Dior (matte one) 786 Rosewood
SHOP NOW FROM LINK BELOW!
NUGU X MADISON KAI
https://abit.ly/miley_madisonkai_youtube
► A B O U T
Hello! I'm Miley and I'm from Tokyo. I was raised in Singapore, Indonesia, and Japan so I think some international kids could relate to me. My videos are focused on my everyday life as a Waseda student but I also love sharing my everyday fashion, vlogs, and other random things. I hope you enjoy💗
► S O C I A L S
Instagram http://instagram.com/milez728
Tik Tok https://vt.tiktok.com/hs2D23/
Twitter https://twitter.com/miley_728
► C O N T A C T
Business Inquiries info@qualiam.com
http://www.qualiam.com/contact.html
Japan 生まれ Indonesia, Singapore, and Japan 育ちの青山舞莉です!早稲田大学の政治経済学部に通っています。スポーツ、フード、おしゃれ、メイク、お出かけ、なんでも経験したい好奇心旺盛なミーの大好きなことをアップしていきます!
ー年齢は?Age?
21歳 im twenty one :)
ー誕生日はいつ?Birthday?
2000年7月28日 July 28th 2000
millennium baby (did i spell that right?)
ー学年は?what year are you?
今は早稲田の大学4年生です!2021の秋から4年生になりました!im a senior in college!! waseda university yay
ーどこの人?where are you from?
im full japanese!! 日本人!
ー身長は?Height?
156cm! i think thats like 5'1
ーカメラは何使ってる? what camera do you use?
my iphone. too lazy to buy a camera lmao
ー編集ソフトウエアどれ使ってる?Editing software?
Canva for thumbnails & Final Cut Pro for my videos :)
青山舞莉のInstagram
https://www.instagram.com/milez728/
青山舞莉のTwitter
https://twitter.com/miley_728
青山舞莉のTikTok
https://t.tiktok.com/i18n/share/user/...
Contact
http://www.qualiam.com/contact.html
![post-title](https://i.ytimg.com/vi/wsRJ2qLPoD0/hqdefault.jpg)
o right 在 AnJet Cat Youtube 的最佳解答
hacker ID:
o.0-
I was stuck in server not responding while trying to get into my PA, then this guys show up and keep hitting me with the hammer, and with unbelievable attack speed.
So, after I finally get into my PA, I bashed him to see what he's up to, and yup, he did all that.
He deserve a permanent ban, right? Bethesda?
![post-title](https://i.ytimg.com/vi/dGW6o0SnHjc/hqdefault.jpg)
o right 在 Miley青山舞莉 Youtube 的最讚貼文
SHOP NOW FROM LINK BELOW!
NUGU X MADISON KAI
https://abit.ly/miley_madisonkai_youtube
► A B O U T
Hello! I'm Miley and I'm from Tokyo. I was raised in Singapore, Indonesia, and Japan so I think some international kids could relate to me. My videos are focused on my everyday life as a Waseda student but I also love sharing my everyday fashion, vlogs, and other random things. I hope you enjoy💗
► S O C I A L S
Instagram http://instagram.com/milez728
Tik Tok https://vt.tiktok.com/hs2D23/
Twitter https://twitter.com/miley_728
► C O N T A C T
Business Inquiries info@qualiam.com
http://www.qualiam.com/contact.html
Japan 生まれ Indonesia, Singapore, and Japan 育ちの青山舞莉です!早稲田大学の政治経済学部に通っています。スポーツ、フード、おしゃれ、メイク、お出かけ、なんでも経験したい好奇心旺盛なミーの大好きなことをアップしていきます!
ー年齢は?Age?
21歳 im twenty one :)
ー誕生日はいつ?Birthday?
2000年7月28日 July 28th 2000
millennium baby (did i spell that right?)
ー学年は?what year are you?
今は早稲田の大学4年生です!2021の秋から4年生になりました!im a senior in college!! waseda university yay
ーどこの人?where are you from?
im full japanese!! 日本人!
ー身長は?Height?
156cm! i think thats like 5'1
ーカメラは何使ってる? what camera do you use?
Canon
ー編集ソフトウエアどれ使ってる?Editing software?
Adobe Spark for thumbnails & Final Cut Pro for my videos :)
青山舞莉のInstagram
https://www.instagram.com/milez728/
青山舞莉のTwitter
https://twitter.com/miley_728
青山舞莉のTikTok
https://t.tiktok.com/i18n/share/user/...
Contact
http://www.qualiam.com/contact.html
CREDIT
··················································
Intro by SIMPLY INTROS!
https://youtu.be/u4q69J2PwXM
··················································
![post-title](https://i.ytimg.com/vi/CW0WAd8MVZo/hqdefault.jpg)
o right 在 O'right Shop 歐萊德 的推薦與評價
O'right Shop 歐萊德 · 270 people checked in here · http://shop.oright.com.tw/ · +886 3 411 6749 · Health/Beauty · Price Range · $. ... <看更多>
o right 在 O'right - YouTube 的推薦與評價
今(2)日公布日本優良設計最大獎GOOD DESIGN GRAND AWARD (內閣總理大臣獎),經5835件作品由70多位專業評審評選,最終來自台灣的綠色美妝品牌—O'right歐萊德拿下全球 ... ... <看更多>
o right 在 O'right - Home | Facebook 的推薦與評價
http://www.oright.inc/. 歡迎至全台專業美髮沙龍洽詢查詢全台綠沙龍:http://bit.ly/OrightSalon 全台百貨體驗館:http://bit.ly/Orightstore ... <看更多>