Shout out to @bubblebodihk for inviting me to be the cover of their “First Issue” ✌️ To all the ladies :There is no reason needed to love yourself ❤️
多謝全新女性雜誌 [Bubble Bodi ]邀請我擔任佢哋”創刊號9月號2021”嘅封面!
#愛自己不為什麼
MU STEPHENMAKEUP
Hair @zaptang
同時也有28部Youtube影片,追蹤數超過8,430的網紅TianChad 田七摄影,也在其Youtube影片中提到,Feeling bored at home and love spicy food? Can try this #spicychallenge then. I thought it was all okay until when I need to visit toilet the next day...
「there is no issue」的推薦目錄:
there is no issue 在 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.
👏 歡迎轉載分享鼓掌
there is no issue 在 Benny Price Fitness Facebook 的最讚貼文
It’s always baffled me that we think it’s appropriate to remark about changes in someone’s weight when we see them... this video has been a long time coming.
-
Do we think they have no mirrors in their house and they haven’t noticed?
-
I’ve used a few examples here that are closest to my personal experiences, but it’s an issue that affects people young and old, skinny, fat and everything in between.
Everyone seems incapable of putting themselves in the other person’s shoes.
-
It’s really fucking simple. Just shut the fuck up and keep your observations the fuck to yourself.
-
Maybe it’s a dear friend and you’re concerned about what the changes in their physique indicate about their lifestyle and their happiness... well then find a way to ask them about that! There are plenty of ways to ask someone how they’re doing and if they’re taking care of themselves without highlighting how it shows to everyone who looks at them.
-
I live behind the scenes these days, working with people who struggle with their physiques and as a confident for friends. I know how sensitive a subject it is, even if they don’t show it and nervously laugh off comments.
-
I grew up thinking it was an Asian thing, but then I realised that in Asia people (particularly older relatives) are particularly blunt about it with “Wah, so fat now ah?” whereas in the West people like to make it a joke with a “Ooh heck, you’ve let yourself go a bit eh mate!”.
-
Both parties can go fuck themselves, and I’d love it if as many of you as possible who ever get made even slightly self-conscious about such remarks would take it upon yourselves to tell them so 🖕🏽
-
Spread the word. Maybe, if it happens enough, we can sway the culture.
there is no issue 在 TianChad 田七摄影 Youtube 的最佳貼文
Feeling bored at home and love spicy food? Can try this #spicychallenge then. I thought it was all okay until when I need to visit toilet the next day hahaha. PEDAS tapi sedap~
PS: Make sure you get your water ready.
For you spicy lovers out there who want to take good care of your guts as well, restore the balance of good gut bacteria with #PROBIOME. PROBIOME has prebiotic and probiotic that helps you have a healthier guys and stronger body.
READ MORE: http://www.tianchad.com/2021/04/review-aemis-probiome-probiotic-prebiotic.html
- PROBIOME PROVIDE MULTI-DIMENSIONAL PROTECTION
- Perfect triangle of probiotics in PROBIOME (Lactobacillus, Bifidobacterium, Streptococcus)
-TWO types of PREBIOTICS: FRUCTOOLIGOSACCHARIDES and INULIN
- NO REFRIGERATION NEEDED
- SAFE AND RELIABLE (From the largest supplier in the U.S.)
【PROBIOME is suitable for people who are】
- Unable to lose weight even with exercises and controlled diet
- Underweight caused by difficulty in nutrients' absorption
- Having rough, dull, allergic and acne-prone skin caused by intestinal problems
- Living a hectic lifestyle with excessive processed foods and always eating outside
- Suffering from chronic constipation, always rely on detox products
- Experiencing weaker immunity, often fall sick
- Waking up tired even with sufficient of sleep
- Experiencing chronic diarrhea with foul-smelling stool
【MY PERSONALREVIEW】AEMIS PROBIOME
“I have a weak stomach, and I love to try out street food whenever I travel. Therefore most of the time I easily catch stomach flu or diarrheas if I ate too much of street foods. With the bio-science base knowledge that I have, I do know that probiotic and prebiotic are both very important and healthy to me to maintain a healthy gut.
After consume Aemis Probiome for almost a month, I can see that I have stronger immune system when it comes to food. For example, after I ate the raw crab, prawn and salmon dishes at @omgcrab in The LincKL, my tummy have no issue at all. I noticed I have better bowel movement and no pain when I excrete human waste a.k.a. poop.
It is very suitable for someone who has constipation or diarrhoea, loose and watery stools, so if you want a healthier gut like me. Try out AEMIS PROBIOME probiotic for better health today.”
For more info, can contact http://buyprobiome.watsap.me/. There will be free 1-on-1 consultation to match your need and to help you out.
If you've liked this video, remember to Like and Share it around! It helps a lot! =D
喜欢的话,记得订阅按赞然都打开小铃铛
【???? + ????? + ???????? ?? ????????】
http://bit.ly/TianChadYT
【Free 30 days】Awesome Video Music from #EpidemicSound
https://www.epidemicsound.com/referral/lukp0g/
【GEAR I USE】
Nikon Z7, Z50 with 14-24mm, 24-70mm, 35mm
Samsung Galaxy Note20 Ultra
Joby Gorillapod - https://moment.8ocm68.net/JobyGorillapod3k
Moment Lens for Mobile Phone - https://moment.8ocm68.net/tianchad
【10% OFF】 @MOMENT GEAR STOREWIDE with code "FIRSTMOMENT10"
https://moment.8ocm68.net/tianchad
***********************
FOLLOW ME ON:
Website: www.TianChad.com
Facebook: http://www.facebook.com/tianchad
Instagram: http://www.instagram.com/tianchad
Twitter: http://www.twitter.com/tianchad
Get Moment Lenses - https://bit.ly/MomentLensTC
SUPPORT ME THROUGH:
PATREON - https://www.patreon.com/tianchad
![post-title](https://i.ytimg.com/vi/4iBffS41PmQ/hqdefault.jpg)
there is no issue 在 Dong ASMR Youtube 的最佳貼文
Hi guys!
This week hasn't been the most pleasant due to some personal issue I've been dealing with...
there are certainly loads of stress and anxiety that's causing some serious headache, Worst of all
I as an asmrtist am suffering from insomnia. Don't worry though, the main cause of these aren't derived from doing ASMR as it's one of my favorite thing to look forward to. But amidst all those hectic moments, I have finally done my first ever 3 hour ASMR. Enjoy everybody enjoy :)
This video is inspired by @RaffyTaphyASMR !
Check out his 3 hours asmr here!
- https://www.youtube.com/watch?v=tyqgC7g7ZmE&t=3031s&ab_channel=RaffyTaphyASMR
----------------------------------------------------------------------------------------------------
The only time I am able to record an ASMR video is at 3-4am... and
I got to tell you that it is really difficult to film ASMR at home...
the environment isn't really asmr friendly so I appreciate it if you would give me a thumbs up!! it will really help out my channel!
———————— ?????? ????? ———————
Instagram: @dongasmr
———————— SUPPORT ME! ———————
Patreon: https://www.patreon.com/dongasmr
Support Me! : https://paypal.me/dongasmr?locale.x=e
![post-title](https://i.ytimg.com/vi/ZVCbpG35URI/hqdefault.jpg)
there is no issue 在 So-ju Twins Youtube 的最佳貼文
?FOLLOW US?
Sue's IG: https://www.instagram.com/cheongsueann
Jo's IG: https://www.instagram.com/joannwithadash
Hey guys,
It seems like it took us forever to edit this vlog. But we hope we are not too late~ First, we would like to thank you guys for all the bday wishes. You guys made our day even more special and warmer ?? We hope that we can continue to celebrate more bdays with you guys ???
We realised we only have 5000-word limitation here so we couldn't answer everyone. Sorry guys~ We'll probably answer them in our other vlogs.
Lots of love,
Jo & Sue
?IG QUESTIONS?
? What kind of app you use to edit your insta stories?
Sue: Inshot app. Cinema 02 filter + grains OR I use SNOW app
Jo: VSCO. M5 filter, M5 +2.8, Exposure +0.4, Contrast +0.5, Sharpen +4.1, White Balance : Temperature -0.9, Tint +1.2, Vignette +8.0, Grain +4.0
? How to you manage alone time?
We both have our own routine & we respect each other space. We actually spend most of our time alone~ Just in the vlog it seems like we are together 24/7
? If all expenses paid and no pain at all, what kind of plastic surgery would you girls do?
Love this question! We do get sponsorship offer for plastic surgery and we have kinda high tolerance for pain but we still rejected the offer =) We don’t think we would change a thing~ It’s not that we are happy with everything that we’re born with just that we think we rather learn to love what we are given. That being said, we are not against plastic surgery either.
? With your current income, do you guys be able to make a living on your own?
We survived. LOL~ It’s not a lot but we love what we do and we’ll continue to work hard.
? What happens if you are over 35 and have not married yet?
Good question~ We don’t think it should be an issue. Married or not, it won't change a thing =)
? Is there any tips or book recommended to start reading?
We all have different book preferences. When people say they are not a reader we always think that they have not found the right book. It’s not you, it’s the book LOL So keep searching and keep reading. Don’t feel bad to leave a book if you don’t like it~
? What if one day you two fall in love with the same guy?
It’s not going to happen~ We both have different taste in guys
? If you were to focus on one thing you can improve on, what would it be?
Sue: I would like to improve my sleeping habit. I need to sleep early.
Jo: For work, I want to improve my Photoshop skill. For personal, I want to overcome my fear of crowds.
? What is something which gives you happiness recently?
Jo: Baking cakes & learning crochet
Sue: Exercising & Baking breads
? Places / Country you guys want to travel when C19 ends or safe to travel again?
Jo: Korea
Sue: Taiwan~ Since we’re learning Mandarin, I think Taiwan is the great to practice my Mandarin. Plus, I like Taiwan.
? What’s your preference in guys?
Jo: I like hardworking guys. And also someone who knows how to enjoy life alone and with people too.
Sue: I like animated guys… I’ll leave it as that. LOL
? What made you start your own business? How to solve it when no customer buy?
We started our first business as a side thing. We just love clothings and we thought selling clothing would be fun. When we closed our clothing business down, opening another business seems like a familiar thing to do~
& how to get more customers? You can pay for ads. Get influencers to promote your business. Get family and friends to spread the news.
? Do you guys inspire each other? Who inspire who the most?
We both have different style so we get inspirations from outside sources ( like on Pinterest, YouTube or Instagram)
? How tall are you guys? Both of you look so tall.
We get that a lot. But we are tiny~ 157cm =)
?What’s the cutest thing someone did for you?
Jo: The cutest thing is when a perfect stranger gave me an extra rose because he saw my then bf only gave me one stalk of rose. lol
Sue: When my mum bought us balloons on our birthday
? Advice to those who are entering into their 20s?
Jo: If you just entering your 20s, Welcome to adulthood~
My advice … Live & Be happy. Do what you love. Learn about yourself as much as you can. Learn new things. Try new things. and use SPF HAHA!
Sue: This is an exciting time. Like what Jo said, "Learn about yourself as much as you can". It's the time you get to choose what you want to do, what you want to be and be sure to choose wisely who you surround yourself with. .
? MUSIC ?
Music by frumhere, kevatta - a lover's wishlist - https://thmatc.co/?l=5720AA49
Music by VALNTN - Mona Lisa - https://thmatc.co/?l=A9A8AAFB
Music by Syphax - Rose Lips - https://thmatc.co/?l=17A29243
Music by ninjoi. - Nishi - https://thmatc.co/?l=131DB05E
Music by Gil Wanders - Lost / Found - https://thmatc.co/?l=297B0B22
Music by Chinsaku - Blossom - https://thmatc.co/?l=682C114
Music by frumhere, kevatta - warm feeling - https://thmatc.co/?l=6E20961C
Music by eSNa - Playboy - https://thmatc.co/?l=82495F87
![post-title](https://i.ytimg.com/vi/aIb2DJNMhNg/hqdefault.jpg)