Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ 2021

Ethereum: Gas and Fee

1. Gas :  Unit that measures the amount of computational effort required to execute specific operations on the Ethereum network.  From August 5th, 2021 (after London update): better transaction fee estimation. Total transaction fee = Gas units (limit) * (Base fee + Tip) ---> Miner receives the tip. Base fee is burned. Wallet providers will automatically set a recommended transaction fee. EIP-1559 : Fee market change for ETH 1.0 chain  --> making gas fees more predictable. (*) WHY DO GAS FEES EXIST? Prevent bad actors from spamming the network. Avoid accidental or hostile infinite loops (*) WHAT IS GAS LIMIT? -->  refers to the maximum amount of gas you are willing to consume on a transaction . A standard ETH transfer requires a gas limit of 21,000 units of gas. (*) WHY CAN GAS FEES GET SO HIGH? --> G as space is limited per block (*) INITIATIVES TO REDUCE GAS COSTS Layer 2 scaling: https://ethereum.org/en/developers/docs/scaling/layer-2-rollups. New proof-of-stake model:

Book note: Tư duy nhanh và chậm - Tác giả: Daniel Kahneman

1. Tư duy nhanh : dựa vào trực giác, kinh nghiệm. 2. Tư duy chậm :  suy nghĩ, đánh giá thấu đáo về một vấn đề trước khi đưa ra ý kiến. --> Con người có xu hướng thích sử dụng tư duy nhanh hơn là tư duy chậm. 3. Giảm thiểu sai lầm dự kiến :  Áp dụng thông tin khách quan: Sử dụng thông tin từ nhiều nguồn tin khác. Xác định nhóm tham chiếu phù hợp --> thu thập số liệu thống kê. 4. Trực giác và công thức : Nếu có lựa chọn thì nên sử dụng công thức. 5. Khi nào nên tin vào trực giác : Nếu trực giác đưa ra phán đoán về một phạm trù có tính chất lặp lại (ví dụ như chơi cờ vua) và tính lặp lại của phạm trù đó có khả năng học được. 6. Người ta có xu hướng thích sự tự tin hơn sự không chắc chắn : thông tin đưa ra dựa trên sự tự tin có khoảng sai lệch bé hơn nếu đưa ra dựa trên sự không chắc chắn. 7. Con người thường nghĩ đến sự mất mát nhiều hơn cái nhận được . Hầu hết mọi người sẽ không tham gia trò chơi đồng xu: mặt sấp mất 100$, mặt ngửa được nhận 150$ (dù phận  nhận được > phần có th

20 ways to create a passive income

1. Bắt đầu viết Blog 2. Bán sản phẩm thông tin của chính bạn: Ebook, khóa học. 3. Kiếm tiền từ bản quyền 4. Tạo cộng đồng thành viên --> tính phí sub. 5. Thiết lập một chương trình tự động trả lời --> tự động trả lời để bán dịch vụ, sản phẩm hoặc tư cách thành viên. 6. Mua và bán các trang web 7. Bán các sản phẩm hữu hình 8. Đầu tư vào chứng khoán hoặc cổ phiếu 9. Cho vay ngang hàng (Peer-to-peer lending) 10. Cho thuê bất động sản 11. Thuê một bên trung gian 12. Tạo một ứng dụng 13. Bắt đầu Dropshipping (bán hàng không cần hàng) 14. Bắt đầu việc tư vấn 15. Bán hàng trên Amazon và eBay 16. Đánh bài Poker 17. Xây dựng Niche Site kiếm tiền trên mạng --> affilicate marketing. 18. Đào bitcoin 19. Trở thành một YouTuber 20. Kiếm tiền từ facebook ads.

Tuần làm việc 4h: Bánh lái tự động cho con thuyền thu nhập

Hiểu được nguyên lý để tìm ra phương thức thực hiện. Sản phẩm lý tưởng:  Dòng tiền Thời gian tạo ra sản phẩm Lợi nhuận cận biên. Bước 1: Tìm phân khúc thị trường mục tiêu phù hợp :  - Đừng bao giờ dự đoán hay tạo ra nhu cầu thị trường. - Không tập trung vào thị trường quá rộng và khó tiếp cận. ===> Trả lời các câu hỏi: 1. Bạn am hiểu những ngành nghề, lĩnh vực nào: nha sỹ kỷ sư, leo núi --> xem xét bản sơ yếu lý lịch, kinh nghiệm cá nhân  --> soạn ra nhóm người bạn từng kết giao trước đây hoặc trong hiện tại ---> xem nhưng sản phẩm, ấn phẩm của bạn --> tìm nhóm nào sẽ mua sản phẩm nào  ---> nhóm người nào có tạp chí chuyên ngành riêng --> lấy chi phí quảng cáo trên các tạp chí này  2. Phác họa sản phẩm: - Chọn 2 phân khúc thị trường thử nghiệm - Tóm gọn lợi ích sản phẩm trong 1 câu - giá sp nên từ $50-$200 - Không mất quá 3-4 tuần để tạo ra sp. Nên chọn sp có thời gian giao hàng từ lúc đặt hàng chỉ từ 1-2 tuần. - web FAQ: SP có thể được giải thích đầy đủ thông qu

Tuần làm việc 4h: 13 sai lầm thường mắc phải.

13 sai lầm thường mắc phải: Nếu bạn không mắc lỗi, bạn đang làm những việc không đủ khó với sức mình và đó là một lỗi lớn. 1. Đánh mất ước mơ, làm việc vì lợi ích của công việc (work for work). 2. Quản lý quá chi tiết và gửi email để lấp thời gian. 3. Giải quyết các vấn đề mà NV hoặc đối tác có thể tự giải quyết 4. Giải quyết các vấn đề không quan trọng của NV, hoặc giúp đỡ nhiều hơn 1 lần với cùng 1 vấn đề --> ủy quyền đối tác và NV xử lý các vấn đề không QT. Cho họ quy tắc, quyền, giới hạn hành động. 5. Theo đuổi các khách hàng không xứng đáng. 6. Không sử dung email trả lời tự động. 7. Không tách biệt nơi làm việc và nơi ở, sống, thư giản. --> Tách biệt các môi trường. 8. Không phân biệt được nguyên tắc 80/20 9. Mất quá nhiều thời gian để theo đuổi sự hoàn hảo: mất 6 tháng để học một ngoại ngữ đạt 95% độ chính xác, nhưng có thể mất 20-30 năm để đạt độ chính xác 98% 10. Thổi phồng chi tiết vụn vặt, vấn đề nhỏ. 11. Biến vấn đề BT  thành khẩn cấp để hoàn thành công việc -->

Block chain - Go quickly around within Ethereum blockchain

Go  quickly  around within Ethereum  Blockchain: 1. Solidity : Language orient object to develop smart contract. 2. Smart contract : Type of accounts on Ethereum. Could be interacted with another accounts.  Develop by solidity (Follow ERC 20), immutable . It can redistribute crypto, if not it will kick in. 3. Mutability S mart contract's  function: ‘pure’, ‘view’, ‘nonplayable’, ‘payable’. 4. REMIX IDE : IDE to develop smart contract using Solidity language. 5. Truffle : Test environment for Ethereum. We can use combine Remix and Truffle. 6. Dapp : Decentralized application. With data storage at block chain, backend is smart contract. 7. Hash : Same input will create same output, fix output size, investable. 8. Private key : Sign before make transaction. Public key : create address, use for verify transaction. 9. Mining : Process add transaction record into Ledge of past transaction. 10. POW and POS : Are Blockchain Consensus Algorithms. Before transaction add into ledge, it have

Google ads extention - Part 4: Audience solutions

1. allows bids, creatives, and keywords based on her various customer groups. 2. Audience solution support reaching to your business goal by some solution for each gold Awareness: Detail demographic and Affinity audience Drive consideration: In Market Audience, Remarketing list search ads (RLSA), similar audience for search (past visited your web, channel...) Increase purchase and loyalty with current customer: Customer match, RLSA (who have one purchase before) 3. Benefit Audience solution: variable bid, Keyword expansion, Creative customization.

Google search Ads - Part 2: Understand the Google Ads Auction

1. Ads Rank as having five factors Bid Ad rank threshold Context of query Ad extension impact: phone, link access your side Auction time ad quality 2. Three main factors that determine the quality of an ad - Expected clickthrough rate (CTR) : prediction of how often an ad will be clicked on when it's shown.  Be specific in your ad: Include keywords in your ad text (especially in the headline) to show people that your ad is directly relevant to their search. Experiment with different calls to action: Do you offer free shipping or free returns? Call now vs. book now? Highlight a unique benefit of your product or service: What makes you stand out from the competition? Think about what matters to users (perhaps an exceptional warranty or return policy). Create time- or location-specific ad text: Test seasonal creative around holidays or special events, or test location-optimized creative. - Ad landing page experience - Ad relevance Add negative keywords: Prevent your ads from showing

Google search Ads - Part 1: Control which searches prompt your ads

3 Step to control which searches prompt your ads: Step 1: Think like your customer Step 2: Think about your business goals (*) Five match type options for your keywords:  Broad match: show ads if a keyword (or any variations like misspellings, synonyms, or related searches) are included in a user’s search terms. Broad match modified: prompts your ads to appear only if the keyword or its close variations are in any part of the search terms. Phrase match: prompts your ads to appear only if the keywords within the quotation marks or close variations of them match. Exact match: only show if the search means the same thing as your keyword. Negative: ads won’t show if someone includes that negative keyword in their search. Step 3: Get Google to do it for you

Book note: Tôi là ai và nếu vậy bao nhiêu?

 7 Nguyên tắc của hạnh phúc theo triết học: 1. Hoạt động: con người cần hoạt động để được cảm thấy hạnh phúc, khi hoạt động cơ thể con người tiết ra chất tạo ra cảm giác hạnh phúc. 2. Quan hệ xã hội: con người cần gắn vào các mối quan hệ để có được cảm giác hạnh phúc. Ví dụ quan hệ bạn bè, gia đình và tình yêu đôi lứa. 3. Tập trung: Sống chậm để cảm nhận được hạnh phúc. Bạn không thể cảm thấy hạnh phúc khi lướt qua một bông hoa, nhưng sẽ có thể cảm thấy được hạnh phúc nếu nhìn ngắm và ngửi mùi hương của bông hoa đó. 4. Hy vọng một cách thực tế: nếu đặt ra những hy vọng không thực tế sẽ tạo ra các áp lực không đáng có cho bản thân và đánh mất cảm giác hạnh phúc. 5. Nghĩ điều hay: ngăn cảm các cảm xúc buồn chán, tiêu cực. Con người bất hạnh vì không biết mình đang hạnh phúc. 6. Không nên cố gắng quá sức để đi tìm hạnh phúc, xử lý các bất hạnh như một nghệ thuật. 7. Có khả năng yêu và làm việc.

Google Display Ads: Part 6: Increase Conversions with Performance Planner

 1. Why you should plan for performance with Performance Planner - Understand the future spend potential of current Google Ads campaigns to help drive budget decisions - Take advantage of seasonality to capture incremental opportunities  - Set optimal bids and budgets across your campaigns to help ensure that ROI performance is maximized - Find new opportunities to grow your sales volumes with Google Ads 2. What's the Google Ads Performance Planner? --> new forecasting tool that uses machine learning to reveal the possibilities for your Google Ads campaigns.  3. How does the Performance Planner work? - Determines the optimal bids and average daily budget allocations across all of your campaigns to help increase the number of conversions.  4. How does Performance Planner forecast campaign performance? -  Forecasting :  made up of billions of searches per week — powers our forecast engine. - Simulator : engine simulates relevant ad auctions with query level variables, including

Google Display Ads: Part 5: Deliver the Right Message on Google Display Ads

1. Display ad formats : Efficiency, control 2. Responsive Display Ads: built for performance, reach, and scale. Key benefits: Automation, Reach, Simplicity. 3. Uploaded ads :  - Image ads : unloadable as a .zip, only run in banner-eligible slots - AMPHTML ads : enable marketers, publishers, and technology providers to deliver faster, and more secure ad experiences across all platforms.

Google Display Ads: Part 4: Increase Efficiency with Automated Bidding

 1. What's automated bidding? some key factors: - Performance - Auction: dynamic nature of our auctions - User journey complexities: based on location, time, device, and so on --> bidding can be done through automation. 2. Benefits of Google Ads automated bidding - Machine learning - save time - Auction-time bidding - Depth of signals used and cross analysis 3. Choose the right bidding strategy - Awareness-based: make sure that your ad is visible for certain queries and even at certain locations on the page.  Bid strategies: Target impression share: make sure your ads are meeting a specific impression share threshold for a specific location  on the search results page: anywhere, top of page, or absolute top of page. - Consideration-focused : drive as many clicks as possible within a set level of spend. Bid strategies: Maximize clicks. - Conversion-focused : tracking actions post-click, valuing conversions equally, and looking to maximize the number of conversions.  Bid strate

Google Display Ads: Part 3: Reach Users on Google Display Ads

 1.  Build awareness :  - Demographic targeting: - Affinity audiences: - Custom Affinity audiences: 2. Influence consideration - In-Market audiences: Reach potential customers. - Custom Intent audiences: create a tailored audience that isn't covered in one of our In-Market. - Similar Audiences:  finds users that are similar to an original remarketing list or other uploaded compatible list. 3. Drive action: available targeting options - Remarketing - Standard remarketing: Show ads to your past visitors as they browse network websites and use network apps (use when doesn't have a data feed). - Dynamic remarketing:  remarketing to the next level with ads.   

Google Display Ads: Part 2: Identify Campaign Types on Google Display Ads

 1. Value of Google Display ads - Powerful intent signals: play ads again with most relevant content. - Massive scale - Measurable performance - Easy campaign setup. 2. Display campaign types - Smart Display campaign : accesses the best of Google’s machine and automate nearly all aspects of your Display campaigns. Note: eligible to set up need to  have gotten at least 50 conversions on Display — or at least 100 conversions on Search — in the last 30 days.  Component: Automated bidding, Automated targeting, Automated creatives. - Standard Display campaign : looking for full control over all aspects:  Targeting: can choose three marketing objectives: Build awareness, Influence consideration, Drive action.  Bidding strategies : Enhanced CPC, Maximize Conversions, Target CPA (cost-per-acquisition), Target ROAS (return on ad spend) Ad Formats: Responsive Display ads and Uploaded ads (Image & AMPHTML)

Google Display Ads: Part 1: Grow Your Business with Google Ads

 1. Advance your business goals - drive sale  - Get leads - Increase website visit - influence consideration - Build awareness - promote your app 2. Benefits of Google Ads - Relevance: right people, at the right time, with the right message.  - Control:  control over your budget, change your strategy, adjust your ad. - Results: Pay only for results 3. Google Ads campaign types - Search, Display, Video, Shopping, App. - Specialized campaign types: Local, Hotel, Discovery  4. Optimize your campaign - Device target - location and language targeting - Bidding and budget settings. - Ad extensions

Flutter P3: Performance metrics

We develop one flutter app we need focus to 06 metric performance below: 1. Startup time to the first frame: Check the time when WidgetsBinding.instance.firstFrameRasterized is true. 2. Frame buildDuration , rasterDuration , and totalSpan 3. Statistics of frame buildDuration (*_frame_build_time_millis): monitoring four stats: average, 90th percentile, 99th percentile, and worst frame build time. 4. Statistics of frame rasterDuration (*_frame_build_time_millis):  monitoring four stats: average, 90th percentile, 99th percentile, and worst frame build time. 5. CPU/GPU usage 6. Release_size_bytes to approximately measure the size of a Flutter app

Flutter - P2: Improving rendering performance

1. Controlling build() cost:  - Repetitive and costly work in build() --> can be invoked frequently when ancestor Widgets rebuild.  It can be invoked frequently when ancestor Widgets rebuild. - Split them into different Widgets based on encapsulation, Avoid overly large single Widgets. Avoid calling setState () high up in the tree  2. Apply effects only when needed 3. Render grids and lists lazily 4. Build and display frames in 16ms for rendering on a 60Hz display. 60fps leads to a smooth visual experience. 5. Pitfalls - Avoid using the Opacity widget - Avoid putting a subtree in the builder function When using an AnimatedBuilder . - Avoid clipping in an animation. - Avoid using constructors with a concrete List of children (such as Column () or ListView ()) 6. Flutter’s threads - Platform thread : Plugin code runs here - UI thread : executes Dart code in the Dart VM (code that you wrote, and code executed by Flutter’s framework).Creates a layer tree sends to the raster thread to

Flutter P1: Understand about Flutter App size

1. App size of a debug build is large due to the debugging overhead that allows for hot reload and source-level debugging, not representative of a production app end users download. 2. Your upload package to the Play Store and App Store not representative of your end-users’ download size.  3. The stores generally reprocess upload package to target , such as filtering for assets targeting the phone’s DPI, filtering native libraries targeting the phone’s CPU architecture. 4. To analytic size we can use DEV tool or option " analyze-size " when export. example: flutter build apk --analyze-size flutter build ios --analyze-size 5. Reducing app size: use flag  -- split-debug-info tag. Optimize resource, asset.

[P2] Tóm tắt nội dung sách Bảy thói quen thành đạt

7 thói quen thành đạt Tham khảo: Tóm tắt sách bảy thói quen thành đạt phần 1. 1. Luôn chủ động:  - Để tránh đối mặt với những việc khẩn cấp quan trọng . 2. Bắt đầu từ mục tiêu đã được xác định. - Xây đựng mục tiêu từ vai trò (người chồng, nhân viên trong công ty, người cha...), cần xác định rõ các vai trò của bạn trước khi xây dựng mục tiêu. 3. Ưu tiên cho điều quan trọng nhất:  - Tập trung vào góc phần tư thứ 2, những việc quan trọng và không khẩn cấp . - Nguyên tắc pareto: 80% kết quả được tạo nên từ 20% công việc quan trọng nhất. Có thể bạn quan tâm: Khuyến mãi mua sách: 7 thói quen để thành đạt của Tác giả: Stephen Covey 4. Tư duy cùng thắng - Đối mặt với công việc chỉ nên có hai lựa chọn cùng thắng hoặc là rút lui , tránh tư duy thắng / thua hoặc thua / thắng. 5. Lắng nghe và thấu hiểu - Thay vì lắng nghe để nghi ngờ, đưa ra lời khuyên thì hãy đặt mình trong vai trò người khác để THẤU HIỂU . 6. Đồng tâm hiệp lực - Trong một tổ chức nếu chỉ tạo ra sự cạnh tranh giữa các bộ phận

[Tóm tắt sách] Vị Giám Đốc một phút

Dành một phút cho nhân viên để thực hiện : 1. Lập mục tiêu cho nhân viên : mục tiêu không dài quá 250 từ, chỉ khoảng một trang giấy A4. Đa số ở các tổ chức, nhân viên không hiểu được mong muốn của lãnh đạo dành cho họ. 2. Khen ngợi nhân viên : chia mục tiêu thành các step nhỏ cần đạt được. Khi nhân viên đạt được các kết quả kịp thời đưa ra khen thưởng để động viên và họ biết mình đang đi đúng hướng. 3. Khiển trách nhân viên : chỉ khiển trách về hành vi, không khiển trách về nhân cách. Không lặp lại khiển trách nhiều lần cho cùng 1 lỗi lầm của nhân viên. Sau khi khiển trách thì dành vài giây để nhân viên thấm. Cuối cùng là kịp thời động viên bằng cách bắt tay, vỗ vai để họ tiếp tục cố gắng với mục tiêu đã đề ra. Ưu tiên cho trình từ khiển trách đến động viên chứ không nên làm ngược lại. Giám đốc một phút là kỹ thuật quản lý giúp đạt được cân bằng 02 mục tiêu : Tăng yếu tố tinh thần cho nhân viên . Tăng hiệu quả hoạt động của tổ chức: Lợi nhuận, năng suất lao động (khối lượng, chất lượn

[P1] Tóm tắt nội dung sách Bảy thói quen thành đạt: 04 yếu tố tạo nên một tổ chức bền vững

4 yếu tố bền vững của một tổ chức [P2] Tóm tắt nội dung sách Bảy thói quen thành đạt 1. Thể chất : thể hiện ở các chỉ số kinh tế. 2. Trí tuệ : cách sử dụng trí tuệ tập thể và trọng dụng nhân tài. 3. Quan hệ tình cảm và xã hội : quan hệ giữa con người với con người. Giữa cty vs khách hàng. 4. Tinh thần : đời sống tin thần của nhân viên. Có thể bạn quan tâm:  Khuyến mãi mua sách: 7 thói quen để thành đạt của Tác giả: Stephen Covey

9 Bước xây dựng website affiliate marketing

1. Chọn network 2. Chọn ngách và hướng quảng bá 3. Tìm sản phẩm trong ngách để quảng bá. 4. Xây dựng web site bằng wordpress 5. Nghiên cứu từ khóa cho website. 6. Tối ưu hóa SEO onpage - Content - Trải nghiệm người dùng: chỉ mất 1, 1.5s để tăng tốc độ trải trang. + Nén ảnh trước khi upload ảnh. + wp rocket, w3 total cache: plugin dùng để tăng tốc độ tải trang + Chỉ nên cài dưới 20 plugin. cài nhiều ảnh hưởng tốc độ tải trang. - Hình ảnh: đặt tên có dấu cách ở giữa. Thêm tên ảnh vào thẻ alter. - Internal link: tới những bài viết liên quan. - External link (outbound link): chỉ trỏ sang các web uy tín. - Tối ưu thẻ meta, header: công cụ plugin: YOust SEO, Rank math. 7. Link Building: đi backlink cho page. 1 Tuần đi tầm 3 backlink Kiểm ta backlink đã index bằng cách nhập link vào ô tìm kiếm của google. Dùng tool để google index backlink nhanh hơn. 8. Tối ưu cho nội dung thương mại. Tools google search console 9. Lặp lại quy trình và mở rộng.

10 Lession of top most influential project

1. Inspiration begins with action. 2. Speed is your friend 3. Collaboration is unexpected. 4. Design an outcome, dont be hostage to it. 5. Min viable projects are powerful. 6. Deadlines matter. so does interation. 7. Bravery brings hope 8. The worlds is getting smaller. 9. these are early days. 10. Keep your eyes open. Source: https://www.projectmanagement.com/videos/639448/PMXPO-2020--Lessons-of-The-Most-Influential-Projects