AlexHΞ👨‍💻🐧 (@bleedingeffigy) header
AlexHΞ👨‍💻🐧 (@bleedingeffigy) profile picture

Publishing content covering Web Dev | Fullstack dev | building w/ React & JAMStack

Los Angeles, CA
Joined November 2016
Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)Photo by AlexHΞ👨‍💻🐧 (@bleedingeffigy)
Feeling confident in Javascript? Well, given a string of lowercase letters, would you be able to sum them all up into 1 value? In one line of code? Solution and explanations are below. 1/6🧵👇
1
AlexHΞ👨‍💻🐧 retweeted
TW: pic of damaged face*** thursday night, i was attacked while going home in brooklyn. i suffered a minor skull fracture, broken teeth, & stitches on my face. im missing work to recover and need help for food & items while at home. pls help if u can, my ven/ca are lanaeatspizza
554
2,390
103
6,626
1,177,081
> .reduce((a, b) => a + b, 0); Lastly, this reduces the list down to a single value. It calls the function we pass on each item in the array, storing the result and calling it again with the next value in the array. Here we are summing up every element in the list.
1
And that's it! So in summary, we - split the string into characters - go through each character, converting it into a number - Sum up all the numbers Thanks for sticking around, and stay tuned for the next js lesson.
Ex. Protocol DAO Some examples of Protocol DAOs are - Uniswap - Compound - Aave For example, Uniswap token holders voted on which Layer-2 networks the protocol should be deployed. 6/16🧵👇
1
Investment / Collector DAOs These let people pool capital with the aim of investing in specific assets, ranging from NFTs to sports franchises! This is a fast and simple alternative to venture capital funds. Examples are - PleasrDAO - MetaCartel Ventures - Komerabi 7/16🧵👇
Polkadot is a cryptocurrency network that wants to help weave all the disparate blockchains together. Currently, blockchains operate in silos, separately. But Polkadot promises to fix this by creating an internet of interoperable blockchains. 2/11🧵👇
How do DAOs work? - Governance mechanism is provided by the smart-contracts - Governance tokens are used by members to vote on actions taken by the DAO - more contributed = stronger vote - Outcome can also be based on participation 4/13🧵👇
1
Advantages of DAOs? 📖 Transparency - all actions viewable by anyone. 🔥 Global power - anyone anywhere can contribute 💵 Cheaper - tools can be used like Legos, so little needs to be built from scratch. 👨‍👩‍👦‍👦 Collaborative - giving everyone a voice pools mass knowledge 5/13🧵👇