What many people dont know is that i lived in Adelaide for a bit before continuing my studies in France! I do miss the wonderful produce from SA from time to time…So happy that my friends from @southaustraliaasean invited me over for the Gourmet South Australia Fair where i got to get my hands on wonderful products from SA such as Lucia’s tomato based sauces, Peel & Tonic dried lemons and Buzz pure raw honey!
Do check out the fair at a departmental store near you! Aeon (One Utama, Bukit Tinggi, QueensBay Mall) and Isetan (KLCC, Lot 10)
23/9/2021 - 5/10/2021
@aeonretail.my @myaeonbig @isetankl @luciasfinefoods @buzzhoney @peelandtonic
#GourmetSouthAustraliaMy
#GourmetSouthAustralia
#southaustralia
同時也有140部Youtube影片,追蹤數超過68萬的網紅蔡佩軒 Ariel Tsai,也在其Youtube影片中提到,BILINGUAL: 中文 CHINESE 00:00|英文 ENGLISH 28:50 Podcast每週四10點一集 👉https://arieltsai.lnk.to/ArielsWhisper_CH YouTube每週日11點一集👉https://bit.ly/3ucWNiG 上集Sha...
is continuing 在 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.
👏 歡迎轉載分享鼓掌
is continuing 在 Facebook 的最佳貼文
Now that life with COVID-19 has become commonplace,I recognized and reminded about the challenge of life The rigors of life in JapanCan't meet the person who I want to meet. It's Hard to live in this world where you can't talk, eat, go out at your favorite time.Reminding us of the challenge of lifeYou may have noticed by COVID-19.
Among them, the most difficult part is continuing to shoot the work.I deeply felt the question of obestion of sharing the most attractive work and leaving a work in the world that I shoot now.
The world doesn't get better soon, and the sad news just appeared.There was also a time when I decided to quit creating things.
When I face my life, the soul keeps showing from my work. No matter what situation around me, I am deeply aware that the obsession never changes.
I felt like trying to live again.
I Hope this situation will improve as soon as possible.
is continuing 在 蔡佩軒 Ariel Tsai Youtube 的精選貼文
BILINGUAL: 中文 CHINESE 00:00|英文 ENGLISH 28:50
Podcast每週四10點一集 👉https://arieltsai.lnk.to/ArielsWhisper_CH
YouTube每週日11點一集👉https://bit.ly/3ucWNiG
上集Sharon的旅遊分享是不是還聽得不過癮啊?去過45個國家的她,在這集分享了南美洲的旅遊經歷,秘魯庫斯克的印加文化讓她印象深刻,智利復活節島是還想再去造訪的地方,但竟然也有讓她再也不想去的城市?!會是哪裡呢?
原來Sharon跟我喜歡的旅行方式不一樣啊?...看來要考慮一下一起旅行了哈哈!
快來聽聽看這一集吧!
節目的最後,送上這首心跳,我們一起stay healthy, stay safe. 希望世界早日回歸正常,大家可以自由旅行!
《心跳》歌曲收聽:https://youtu.be/a7WeuPbgp-0
✨
“Don’t tell me how educated you are, tell me how much you have traveled”. Travelling itself is such a therapeutic process in teaching us how to lose and find ourselves back again. I may not travel 45 countries before 30 like Sharon did, but I am determined to travel and explore more of this world with every opportunity I have.
Continuing the rest of my conversation with Sharon from the previous episode (EP17). So if you haven’t checked it out, don’t miss it and go back to have a listen!
**Song at the end “心跳” (Heartbeat): https://youtu.be/a7WeuPbgp-0
----------------------------------------------------------------------------------
秘密計畫終於公佈:我出書了!
✨📕新書《做好自己喜歡的事,就會閃閃發光》✨
Ariel 蔡佩軒的 3 步驟夢想實踐清單
【首刷限量隨書贈:夢想清單記事本】
■ STEP1 談夢想:沒有夢想很正常。不確定自己的夢想,更正常
■ STEP2 寫日記:最糟的都撐過去了。現在,不是最糟的時候
■ STEP3 列清單:堅持不是一個長跑,它是很多一個接一個的短跑
...............................................
📔博客來 (獨家限量親簽版 + 限量夢想記事本)👉https://reurl.cc/AgQQyY
📔博客來👉🏻https://reurl.cc/2bX4Va
📔誠品 (獨家封面版 + 限量夢想記事本)👉🏻https://reurl.cc/9ZMzxx
📔誠品 (獨家封面版)👉🏻https://reurl.cc/E2kKyn
📔MOMO (獨家限量海報版 + 限量夢想記事本)👉🏻https://reurl.cc/9Zjj1O
📔金石堂 (贈限量夢想記事本)👉🏻https://reurl.cc/Gd7kDD
📔墊腳石 (贈限量夢想記事本)👉🏻6/3網路及門市開賣
📔讀冊生活👉🏻https://reurl.cc/Agx1Lp
📔三民👉🏻https://reurl.cc/WE5509
...............................................
📔博客來電子書(首賣二週) ─ 新書上線7折、境好電子書展單書再88折、二書85折👉🏻https://reurl.cc/2bX4Va
...............................................
【海外購書】香港、馬來西亞、新加坡實體書店預計7月初可以到貨
📔新加坡、馬來西亞:大眾書店👉🏻https://ppt.cc/fK9FVx
📔香港:香港商務/三聯/中華/誠品/城邦
📔其他:博客來 (海外運送)👉🏻https://tinyurl.com/yegltbc5
📔PChome 全球購物 (103個國家)👉🏻https://global.pchome.com.tw/
------------------------------------------------------
🔔 SUBSCRIBE訂閱: http://bit.ly/ariel_youtube
📸INSTAGRAM: http://bit.ly/ariel_tsai_IG
▶︎Facebook: http://bit.ly/ariel_tsai_FB
▶︎YouTube副頻道: http://bit.ly/2VdVX3A
▶︎小魚家族: http://bit.ly/2j4GMKk
▶︎TikTok: http://vt.tiktok.com/JBNFxy
▶︎抖音: http://bit.ly/2Jb0hPL
▶︎微博: http://bit.ly/2mRyCab
【青春有你2021】歌曲收聽:https://arieltsai.lnk.to/TY2
Ariel首張個人實體專輯【ARIEL】:https://ArielTsai.lnk.to/ARIEL
#Ariel悄悄對你說 #ArielsWhisper #Ariel蔡佩軒
is continuing 在 げんじ/Genji Youtube 的最佳貼文
<目次>Contents
0:00 オープニング-Introduction
1:43 アプリの使い方-How to use the app
5:24 日本のファッション事情-State of current Japanese fashion
9:49 げんじの歴史-My biography
■ N.HOOLYWOOD COMPILE SPRING2022 Collection app
https://apps.apple.com/jp/app/n-hoolywood/id1584938729?itsct=apps_box_link&itscg=30200
■ N.HOOLYWOOD Official Instagram
https://www.instagram.com/n_hoolywood/?hl=ja
<プロフィール>Profile
毎日ファッションについてのコンテンツを色んなSNSで投稿してるげんじです!
I'm Genji, and I'm uploading fashion related contents on social media every day!
一人でも多くの方にファッションの魅力を知って頂き”日本中をお洒落にする”と本気で思っています🔥🔥🔥!
I'm trying seriously to get more people to know about the appeal of fashion and make the entire Japan stylish!
このチャンネルでは”最新のGU、UNIQLOの情報”や“誰でも一瞬でお洒落になれる方法”などメンズファッションに関わる全てのコンテンツをお届けしています!
This channel presents all the contents related to men's fashion, including "the latest information about GU and UNIQLO" or "how anyone can be stylish instantly."
そんな活動を続けて、ありがたくも総フォロワー200万人を突破しました!
少しでもファッションが好きでしたら是非チャンネル登録お待ちしております(´▽`)!
Continuing this activity, my total followers exceeded 2,000,000!
If you like fashion even just a little, please subscribe my channel!
プロデュースしているブランド
Brands I'm producing
■ LIDNM(リドム)
https://lidnm-store.com/?utm_source=youtube.com&utm_medium=youtube.com&utm_campaign=YouTube210912top
■ WYM(ウィム)
https://zozo.jp/brand/wymlidnm/
<着用アイテム>Item wearing
Cardigan
■ LIDNM - LOOP YARN WIDE CARDIGAN
¥14,300 | color : CHARCOAL | size : M
https://lidnm-store.com/products/detail.php?product_id=185&utm_source=youtube.com&utm_medium=youtube.com&utm_campaign=YouTube210912LOOPYARNWIDECARDIGAN
ーーーーーーーーーーーーー
LIDNMの公式サイトはこちらから!!
https://lidnm-store.com/?utm_source=youtube.com&utm_medium=youtube.com&utm_campaign=YouTubedefaulttop
ZOZO限定プチプラブランドWYM(ウィム)はこちらから!!
https://zozo.jp/brand/wymlidnm/
ーーーーーーーーーーーーー
《Instagram》
https://www.instagram.com/genji_official_/
《げんじのコーデはこちら!》
https://lidnm-store.com/contents/coordinate_list.php?utm_source=youtube.com&utm_medium=youtube.com&utm_campaign=YouTubegenjicode
《お世話になってる美容師さんはこちら!》
https://www.instagram.com/signal8756/?hl=ja
ーーーーーーーーーーーーー
《🌏🌏🌏絶対1度は見てほしい動画🌏🌏🌏》
★『メンズファッションの黄金バランスを公開します。最強コーディネート術です。』
→https://www.youtube.com/watch?v=HZ2kLtpjmxE
★『【超重要】知らないと危険なファッションの一面とは!?』
→https://www.youtube.com/watch?v=Bpq41NzD0Bs
ーーーーーーーーーーーーー
動画内の画像は以下を引用しました。
マツモトキヨシ帯屋町店(薬局・ドラッグストア) | まいぷれ[高知]
https://kochi.mypl.net/shop/00000357669/
効果音:OtoLogic
お問い合わせはこちらまで
d.ogawa1111@gmail.com
じゃあʕ•ᴥ•ʔ
#ファッション #fashion #メンズ #服 #プチプラ #UNIQLO #GU #ブランド #コーデ #お洒落
is continuing 在 數位時代Official Youtube 的最佳解答
公司簡介
智慧貼紙股份有限公司(Smart Tag Inc.)正式成立於2020年3月,由創辦人/CEO張焜傑與其他四位共同創辦人一同經營,為各行業提供工業4.0無痛升級方案– Smart Tag解決方案,包含軟硬體技術。由軟性電路板黏貼至機器表面,進行多點位資料蒐集,例如:震動、溫度以及濕度等紀錄,再串接至客戶端系統或者上傳雲端數據中心,藉由機器學習及數據模型進行分析,預測機器的運作模式,將由智慧貼紙解決工廠產能及良率的問題。
Smart Tag helps clients to upgrade their manufacturing lines, or machines immediately with minimum learning cost and high ROI. We’re providing a total solution for the manufacturing industry, which includes both hardware product and software as a service. For the hardware part, Smart Tag is our core technology- thermal thin film PCB, the most flexible PCB ever. The main purpose of this Smart Tag is monitoring, collecting and uploading data onto our cloud platform- the machine learning platform via Bluetooth gateway..
With this machine learning mechanism, when continuing monitoring the vibration, this platform can easily predict and detect the “danger zone”, which means the timing that the machine/production line needs to be maintained or be fixed. Or, companies can also forecast the quality of the products, based on these dataset.
公司網站
http://www.smarttag.tech/