- Alphanumeric fancy word for char.lower() in "0123456789abcdefghijklmnopqrstuvwxyz". Fun fact, "6".lower() is still "6"
- You can get the size of your heap queue aka priority queue by taking the len() of the heapq variable. Example: heap = [] hq.heappush(heap, 3) len(heap) is now 1.
- import random random.random() returns a number between 0 and 1, want it bigger? multiply by an integer: random.random()*5 or 5*random.random()
- Python science, data, linear algebra library landscape: numpy for vectors matrices high level math functions. SciPy math classes and functions useful for scientists. PyLab combines other libraries to provide MATLAB like interface.
Your byte size news and commentary from Silicon Valley the land of startup vanities, coding, learn-to-code and unicorn billionaire stories.
Ad
Thursday, April 26, 2018
Python Beyond the Basics
Python tricks for Data Science
Monday, April 9, 2018
Turn on Android debugging mode - Android Development Basics
The following image shows the location of the android development debugging mode toggle button.
Remember to use the debug mode and step through function, you first must click a line to indicate where to pause, also called the break line. Then you will use the console debug menu to step through the functions step by step.
Remember to use the debug mode and step through function, you first must click a line to indicate where to pause, also called the break line. Then you will use the console debug menu to step through the functions step by step.
Sunday, April 1, 2018
Beginners' Glossary for Blockchain, Smart Contract and Bitcoin
Blockchain: defined by a distributed, decentralized public ledger, made of blocks, chained together using advanced mathematical computation (the crypto part) that is difficult to decode. Each transaction is validated by consensus and voting by existing records - maintained and worked by miners and distributed to all stakeholders within the decentralized network. Basically the transaction never disappears. Each contract is considered a smart contract, which can happen without the help of a centralized agency such as a bank or a central bank etc. Blockchain is not equal to Bitcoin. Bitcoin does utilize blockchain technology and cryptography to validate and maintain its blockchain, a public ledger, hence the name cryptocurrency.
While Bitcoin is the most popular cryptocurrency, there are other tokens exist in different ecosystems. Some startups have made Initial Coin Offering (ICO) offering consumers and investors to buy their tokens, which is usually seen as highly risky!
The Winklevoss twins, in the movie Social Network and previously co-founders / investors of Facebook, hold a sizable share of bitcoin. Bitcoin price recently oscillated violently after congress started to have hearing and IRS decided to pursue capital gain tax on Bitcoin sales. 50 Cents found out, years after filing bankruptcy, he once collected bitcoins from fans for his music album sales and now those coins are worth millions.
Some key players in the industry are: Etherum (platform for blockchain technology and smart contracts), its foundation, Ripple (a payment protocol), Coinbase (bitcoin wallet and bitcoin trading). Surprisingly Iceland, China and NVDIA because bitcoin miners in China have been mining bitcoins in mass and some of these powerhouses are located in Iceland, where a sizable of electricity is consumed by bitcoin mining. NVDIA because it manufactures the GPU and chips needed for these high power machines - especially those in transaction and hosted, bitcoin mining machines can be homemade.
However, remember bitcoin is a cryptocurrency and a very different concept from blockchain, a mathematical protocol and distributed data store. Bitcoin can be highly speculative. Blockchain technology can be applied in non-financial transactions. You can read more about innovative blockchain smart contract startups here
https://medium.com/@uniqtech/innovative-blockchain-startups-businesses-8bb8f96b188
While Bitcoin is the most popular cryptocurrency, there are other tokens exist in different ecosystems. Some startups have made Initial Coin Offering (ICO) offering consumers and investors to buy their tokens, which is usually seen as highly risky!
The Winklevoss twins, in the movie Social Network and previously co-founders / investors of Facebook, hold a sizable share of bitcoin. Bitcoin price recently oscillated violently after congress started to have hearing and IRS decided to pursue capital gain tax on Bitcoin sales. 50 Cents found out, years after filing bankruptcy, he once collected bitcoins from fans for his music album sales and now those coins are worth millions.
Some key players in the industry are: Etherum (platform for blockchain technology and smart contracts), its foundation, Ripple (a payment protocol), Coinbase (bitcoin wallet and bitcoin trading). Surprisingly Iceland, China and NVDIA because bitcoin miners in China have been mining bitcoins in mass and some of these powerhouses are located in Iceland, where a sizable of electricity is consumed by bitcoin mining. NVDIA because it manufactures the GPU and chips needed for these high power machines - especially those in transaction and hosted, bitcoin mining machines can be homemade.
However, remember bitcoin is a cryptocurrency and a very different concept from blockchain, a mathematical protocol and distributed data store. Bitcoin can be highly speculative. Blockchain technology can be applied in non-financial transactions. You can read more about innovative blockchain smart contract startups here
https://medium.com/@uniqtech/innovative-blockchain-startups-businesses-8bb8f96b188
Subscribe to:
Posts (Atom)
React UI, UI UX, Reactstrap React Bootstrap
React UI MATERIAL Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms. Columns, grid
-
This review is updated continuously throughout the program. Yay I just joined the Udacity Nanodegree for Digital Marketing! I am such an Uda...
-
Can hack schools solve Silicon Valley's talent crunch? The truth about coding bootcamps and the students left behind http://t.co/xXNfqN...
-
The bogus request from P2PU to hunt for HTML tags in real life has yielded a lot of good thoughts. My first impression was that this is stup...