flâneur

Nhật Khải

0 followers · 4 following · 807 views

on the atlas — 19

highlights — 51

  • In an interoperable system, once disparate blockchain networks and assets can easily plug into and be combined with one another.
    Why Is Interoperability Important for Blockchain? | Gemini
  • he ability of different blockchain networks to exchange and leverage data between one another
    Why Is Interoperability Important for Blockchain? | Gemini
  • where programs on a network agreed on a database's state using cryptographic techniques. Agreement was designed to be reached using encryption algorithms to create long strings of alphanumeric numbers—called a hash—which were then verified by programs running on the network. A hash only changes if the information input into the hashing algorithm is changed, so the programs were designed to compare hashes to ensure they matched.
    What Are Consensus Mechanisms in Blockchain and Cryptocurrency?
  • Trading: Make peer-to-peer trades of certain crypto assets
    What is DeFi? | Coinbase
  • Lending: Lend out your crypto and earn interest and rewards
    What is DeFi? | Coinbase
  • Users typically engage with DeFi via software called dapps (“decentralized apps”), most of which currently run on the Ethereum blockchain.
    What is DeFi? | Coinbase
  • Transparent: Everyone involved can see the full set of transactions (private corporations rarely grant that kind of transparency)
    What is DeFi? | Coinbase
  • Fast: Interest Rates and rewards often update rapidly
    What is DeFi? | Coinbase
  • Flexible: You can move your assets anywhere at any time, without asking for permission, waiting for long transfers to finish, and paying expensive fees.
    What is DeFi? | Coinbase
  • Pseudonymous: You don’t need to provide your name, email address, or any personal information.
    What is DeFi? | Coinbase
  • Open: You don’t need to apply for anything or “open” an account.
    What is DeFi? | Coinbase
  • DeFi takes the basic premise of Bitcoin — digital money — and expands on it, creating an entire digital alternative to Wall Street, but without all the associated costs (think office towers, trading floors, banker salaries). This has the potential to create more open, free, and fair financial markets that are accessible to anyone with an internet connection.
    What is DeFi? | Coinbase
  • DeFi (or “decentralized finance”) is an umbrella term for financial services on public blockchains, primarily Ethereum. With DeFi, you can do most of the things that banks support — earn interest, borrow, lend, buy insurance, trade derivatives, trade assets, and more — but it’s faster and doesn’t require paperwork or a third party. As with crypto generally, DeFi is global, peer-to-peer (meaning directly between two people, not routed through a centralized system), pseudonymous, and open to all.
    What is DeFi? | Coinbase
  • There will only ever be 21 million bitcoin. This is digital money that cannot be inflated or manipulated in any way.
    What is Bitcoin? | Coinbase
  • If you've ever waited for a new bitcoin transaction to be confirmed, you were waiting for a new block to published containing your transaction. When that happens, the bitcoin network has deemed your transaction valid.
    What is the Bitcoin Blockchain? | Coinbase Help
  • Whenever a new block is broadcast, approximately every 10 minutes, a quantity of bitcoins is received by the miner who solved that block. Bitcoin miners keep the network secure, and this is how they are rewarded. This system ensures that all transactions are valid, and keeps the bitcoin network secure from fraud.
    What is the Bitcoin Blockchain? | Coinbase Help
  • A Block refers to a set of Bitcoin transactions from a certain time period. Blocks are "stacked" on top of each other in such a way that one block depends on the previous. In this manner, a chain of blocks is created, and thus we come to the term "blockchain".
    What is the Bitcoin Blockchain? | Coinbase Help
  • Rather "owning bitcoins", means owning a bitcoin address, which has a balance recorded on the blockchain. What it means to own a bitcoin address is to control the associated Private Key, and therefore allow the signing of transactions
    What is the Bitcoin Blockchain? | Coinbase Help
  • and it can be inspected to trace the path of bitcoins from one bitcoin transaction to another.
    What is the Bitcoin Blockchain? | Coinbase Help
  • The blockchain is a distributed, public ledger that contains the history of every bitcoin transaction.
    What is the Bitcoin Blockchain? | Coinbase Help
  • In simple terms, it’s a record of every transaction ever made using bitcoin.
    What is Bitcoin? | Coinbase
  • Every transaction involving Bitcoin is tracked on the blockchain
    What is Bitcoin? | Coinbase
  • bitcoin is decentralized: any two people, anywhere in the world, can send bitcoin to each other without the involvement of a bank, government, or other institution.
    What is Bitcoin? | Coinbase
  • bitcoin is digital money that allows for secure peer-to-peer transactions on the internet.
    What is Bitcoin? | Coinbase
  • How about creating validation middleware? This could work, but unfortunately, it's not possible to create generic middleware which can be used across all contexts across the whole application. This is because middleware is unaware of the execution context, including the handler that will be called and any of its parameters
    Pipes | NestJS - A progressive Node.js framework
  • We want to ensure that any incoming request to the create method contains a valid body. So we have to validate the three members of the createCatDto object. We could do this inside the route handler method, but doing so is not ideal as it would break the single responsibility principle (SRP).
    Pipes | NestJS - A progressive Node.js framework
  • Pipes have two typical use cases: transformation: transform input data to the desired form (e.g., from string to integer) validation: evaluate input data and if valid, simply pass it through unchanged; otherwise, throw an exception
    Pipes | NestJS - A progressive Node.js framework
  • in order to bind multiple middleware that are executed sequentially, simply provide a comma separated list inside the apply() method:
    Middleware | NestJS - A progressive Node.js framework
  • At times we want to exclude certain routes from having the middleware applied. We can easily exclude certain routes with the exclude() method. This method can take a single string, multiple strings, or a RouteInfo object identifying routes to be excluded
    Middleware | NestJS - A progressive Node.js framework
  • The MiddlewareConsumer is a helper class. It provides several built-in methods to manage middleware. All of them can be simply chained in the fluent style. The forRoutes() method can take a single string, multiple strings, a RouteInfo object, a controller class and even multiple controller classes. In most cases you'll probably just pass a list of controllers separated by commas.
    Middleware | NestJS - A progressive Node.js framework
  • Nest middleware fully supports Dependency Injection. Just as with providers and controllers, they are able to inject dependencies that are available within the same module. As usual, this is done through the constructor.
    Middleware | NestJS - A progressive Node.js framework
  • Middleware is a function which is called before the route handler. Middleware functions have access to the request and response objects, and the next() middleware function in the application’s request-response cycle.
    Middleware | NestJS - A progressive Node.js framework
  • if CatsService and CommonService depend on each other, both sides of the relationship can use @Inject() and the forwardRef() utility to resolve the circular dependency.
    Circular Dependency | NestJS - A progressive Node.js framework
  • The module encapsulates providers by default. This means that it's impossible to inject providers that are neither directly part of the current module nor exported from the imported modules. Thus, you may consider the exported providers from a module as the module's public interface, or API
    Modules | NestJS - A progressive Node.js framework
  • The main idea of a provider is that it can be injected as a dependency; this means objects can create various relationships with each other,
    Providers | NestJS - A progressive Node.js framework
  • State the UI element's label only.
    Writing - Material Design
  • When a phrase describes a goal and the action needed to achieve it, start the sentence with the goal.
    Writing - Material Design
  • Block algorithms. Set lengths of bits are encrypted in blocks of electronic data with the use of a specific secret key. As the data is being encrypted, the system holds the data in its memory as it waits for complete blocks. Stream algorithms. Data is encrypted as it streams instead of being retained in the system’s memory.
    Symmetric Key Encryption - why, where and how it’s used in banking
  • Cung cấp dữ liệu để lên chiến lược Các dự đoán về Marketing và doanh thu sẽ giúp ta đưa ra nền tảng dữ liệu cho công thức về tất cả kế hoạch Marketing, chính sách, chương trình cũng như quy trình của một doanh nghiệp Giảm chi phí quảng cáo Nghiên cứu Marketing sẽ giúp bạn đưa ra những cách thức, phương tiện nhằm mục đích giảm thiểu chi phí Marketing, như cách để bán hàng hiệu quả, phương hướng quảng cáo và các hình thức, kênh phân phối sản phẩm. Tìm ra thị trường mới cho sản phẩm Mục đích của việc nghiên cứu marketing đó là để khám phá những thị trường mới cho một sản phẩm nào đó cũng như giữ …
    Nghiên cứu Marketing là gì? Có những phương pháp nghiên cứu nào?
  • Binary logistic regression: In this approach, the response or dependent variable is dichotomous in nature—i.e. it has only two possible outcomes (e.g. 0 or 1). Some popular examples of its use include predicting if an e-mail is spam or not spam or if a tumor is malignant or not malignant. Within logistic regression, this is the most commonly used approach, and more generally, it is one of the most common classifiers for binary classification. Multinomial logistic regression: In this type of logistic regression model, the dependent variable has three or more possible outcomes; however, these va…
    What is Logistic regression? | IBM
  • A common UI pattern is to show an active link to indicate to the user what page they are currently on. To do this, you need to get the user's current path from the URL. Next.js provides a hook called usePathname() that you can use to check the path and implement this pattern. Since usePathname() is a hook, you'll need to turn nav-links.tsx into a Client Component. Add React's "use client" directive to the top of the file, then import usePathname() from next/navigation:
    Learn Next.js: Navigating Between Pages | Next.js
  • The population is the entire group that we want to know something about
    1.1: Why It Matters- Types of Statistical Studies and Producing Data - Statistics LibreTexts
  • Erasing an edge is just as slow as the lookup.
    CS Academy
  • Edge lookup is slow, in the worst case being necessary to traverse all the elements of a node's list.
    CS Academy
  • Edge lookup, i.e. checking if a particular edge exists, is done easily.
    CS Academy
  • The memory allocated is always an � ∗ � N∗N matrix, even in the case of sparse graphs, i.e. the number of edges is small. For a given node finding all its neighbours, i.e. other nodes that share an edge with it, requires checking an entire row of elements in the matrix.
    CS Academy
  • A Spaced repetition memory system achieves this for memory: when you find information useful, you can invest a little effort to make sure you always have it available. Over time, one’s spaced repetition library accumulates thousands of questions, and (I strongly suspect) that knowledge makes it easier to be an effective knowledge worker later.
    §Note-writing systems | Knowledge work should accrete | Spaced repetition memory system
  • What Bode was saying was this: “Knowledge and productivity are like compound interest.” Given two people of approximately the same ability and one person who works 10% more than the other, the latter will more than twice outproduce the former. The more you know, the more you learn; the more you learn, the more you can do; the more you can do, the more the opportunity - it is very much like compound interest. I don’t want to give you a rate, but it is a very high rate. Given two people with exactly the same ability, the one person who manages day in and day out to get in one more hour of thinki…
    §Note-writing systems | Knowledge work should accrete | Spaced repetition memory system
  • First determine the "state", which is the variable that changes in the original problem and subproblems. Since the number of COINS is infinite, the only state is the target amount amount. then determine the definition of the dp function : the current target amount is n, at least dp(n) COINS are needed to make up the amount. Then determine the "choice" and choose the best, that is, for each state, what choices can be made to change the current state. Specific to this problem, no matter what the target amount is, the choice is to choose a coin from the denomination list 'COINS', and then the tar…
    Dynamic Programming in Details - algo-en
  • to meet the optimal substructure, subproblems must be independent of each other .What is independence?You don't want to see a mathematical proof, but let me give you an intuitive example. For example, your original problem is to get the highest total score, then your sub-problem is to get the highest Chinese test, mathematics test to the highest. In order to get the highest score in each subject, you need to get the highest multiple choice score for each subject and the highest fill-in-the-blank score. Of course, the end result is that you get full marks for each course, which is the highest t…
    Dynamic Programming in Details - algo-en