Posts

Shuffled Frog Leaping Algorithm: An Innovative Approach to Problem Solving

Image
The Shuffled Frog Leaping Algorithm (SFLA) is a computational technique inspired by the natural behavior of frogs and their hunting patterns. Developed by Eusuff and Lansey in 2003, SFLA is a metaheuristic optimization algorithm that has gained popularity for its ability to efficiently solve complex problems across various domains. This article provides an overview of the Shuffled Frog Leaping Algorithm and explores its practical use cases. Understanding the Shuffled Frog Leaping Algorithm: The core concept behind the Shuffled Frog Leaping Algorithm lies in simulating the social behavior and foraging strategy of frogs. In nature, frogs exhibit a hierarchical structure where a dominant male occupies the highest position. Frogs in lower positions follow the movement of the dominant male, while occasionally exploring alternative positions. The algorithm operates on a population of virtual frogs representing potential solutions to a given problem. These frogs are randomly generated and rep...

Gamevolution Unleashed: Unveiling the Seductive Power of Web3 and Crypto Gaming

Image
Web3 games have come a long way from being tedious and repetitive to engaging, immersive and addictive. Traditional Web3 games are built in a manner where the blockchain technology is first put into consideration and be used as a backbone of the game. Current Web3 games are built on a totally different breath and magnitude. Instead of focusing on Web3, successful games focused on the gameplay and used Web3 as a tool and secondary kingpin. Most people know metaverse as a Web3 game but few actually realise metaverse has existed decades without blockchain. In fact, the metaverse can be so much more than just pure gaming and entertainment. Below are the 10 key factors that show how Web3 revolutionised the gaming industry. True Ownership of Assets Web3 technology allows players to have true ownership of in-game assets through non-fungible tokens (NFTs) or blockchain-based tokens. This means that players can buy, sell, and trade their virtual items outside of the game environment, giving the...

Connected World: From Automated Work to Virtual Wars: The Future, By Those Who Are Shaping It (Philip Larrey, 2017)

Image
Man/machine relationship Autopilot is using AI for awhile now Human is the best system We have a heart and we can process things in split seconds Big data ISIS is the first digital terrorist There are people who voted against technology has no idea how much benefits it brought Instead of getting the pope more views, people are obsessed with social media The future of design To design human DNA Military To train many soldiers is difficult but easy with machine Machine can make decision in a split second for those shoot-don't-shoot situation Social media Everyone hates each other in there but pretend to like one another It has become so rubbish that an eleven year old is giving dating advice It promotes depression as everyone trying to be the best Advertising Profiling sure helps to locate the target group better but also can be dangerous as terrorist could misuse it Advertisement can affect the politics so it is often controlled Instead of censoring, most faults lie with individual ...

Unveiling the Truth: Decoding the Reliability of Modern Reviews

Image
The same goes to testimonials, unofficial reports and private news. Stars no longer worth a thousand words (Tsang & Prendergast, 2009) and reviewers are often being incentivised by direct benefits or intangible values such as fame and popularity. When the reviewing options are getting easier, more people flippantly give their reviews resulting in rendering the review system useless (Shoham et al., 2017). We no longer find reviews of 5.0/5.0 as trustworthy brands, especially after so many bad experiences with high review companies. Having a high review could mean the company expressly paid for reviewer service. A popular business could garner millions of reviews and we could be sure that most of these people are real. Being a real person does not mean they give real reviews (Zhang & Ghorbani, 2020). There are many triggering factors that encourage false reviews such as herd mentality and conflict avoidance as modern people have more fear of offending people (Tjosvold & Sun, ...

Setup IPFS Node in Your Private Linux Server 12Jun2023

Image
  Setting up an IPFS node in your private server will reduce the loading time when you call the file. Download the installation file. Feel free to browse  https://dist.ipfs.io/go-ipfs  for the latest distribution. wget https://dist.ipfs.io/go-ipfs/v0.20.0/go-ipfs_v0.20.0_linux-amd64.tar.gz Uncompress it. tar -xvzf go-ipfs_v0.20.0_linux-amd64.tar.gz Run the installation ./go-ipfs/install.sh Initialise the IPFS with lowpower profile ipfs init --profile=lowpower Edit the port to avoid conflict nano ~/.ipfs/config  "API": "/ip4/0.0.0.0/tcp/9191",  "Gateway": "/ip4/0.0.0.0/tcp/9090"  Run the server nohup ipfs daemon & Run the following commands to allow cors ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://wildd.ddns.net:9191", "http://localhost:3000", "http://127.0.0.1:5001", "https://webui.ipfs.io"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '[...

实体店这样运营能爆卖 (邹云锋, 2018)

Image
  Brand positioning Brands are created through refinement. Michael Jackson represents Coca cola to be a young and energetic brand. Needs analysis - objectives, reasons, actions Have to be unique either by product, design or value chain such as raw material and production manner Give up on ideas that don't work and focus on what works Brand segmentation - market analysis, clear target audience. Confirm target consumer, confirm core capabilities Be an expert in a specific area. E.g. drink cooling tea when you are heaty and list out all scenarios Good product quadrant. Characteristics - produce what products, what features, how fanciful. Audience - target audience, characteristics of your consumer group. Benefits - problems solved, direct benefits to consumers. Value - how our product elevates the value of our consumer, features and emotional value, positioned at what level Characteristics of brand - packaging, theme and logo, advertisement requirements, pricing difference, promotiona...

Ikigai: The Japanese Secret to a Long and Happy Life (Francesc Miralles and Hector Garcia, 2017)

Image
Write down an impossible task and break it down to 10 steps Write 3 impossible ventures you completed as a reminder to yourself Plan 10000 hours to master something Identify bad habit and its reward causes you to do it, then replace with a healthy habit SKS. What should I Stop doing, Keep doing and Start doing Be your own mentor. Plan your objective, set practice session, have self-feedback, detect errors with corrections, identify doubts and points to improve Emulating. Get the last deeply impressed novel, detect its weak points, import good points elsewhere and start a masterpiece Identify all the things you dislike doing and detect the common denominator, then identify the things you love to do but stopped, finally rank them and start doing Benjamin Franklin's 13 virtues: temperance, silence, order, resolution,  frugality, industry, sincerity, justice, moderation, cleanliness, tranquility, chastity, humility Shinkansen sessions: fully commit to something you want to do and set t...

How to Create Your Own Private Blockchain (PoA, Clique) in Linux Using Geth 1.11.5, 2023 Version

Image
As mention in the previous on creating a private blockchain on PoW , this post will be on how to create a PoA (combination of PoW and PoS) blockchain effortlessly. Create 2 folders. You will need at least 2 signers to make PoA algorithm work. mkdir node1 node2 Create 2 accounts. If you want to access the private key of your newly created account, you can get the json file from the keystore folder and import into Metamask. geth --datadir node1 account new geth --datadir node2 account new Copy down the address and paste it into your genesis.json. Maintain only 1 copy of the genesis.json as both nodes need to run from the same initial genesis configuration or they will not be able to sync. Create your own password.txt with the password inside for account unlocking. Assuming your address is 0x9B02C47e6eecF989598c33F82686925Ed4EE6d85 and 0x98aB1d0ee9CaBF5d55a3a2804F083187c42c508c, your genesis file should look like this: {"config":{"chainId":141319,"homesteadBlock...

How to Create Your Own Private Blockchain (POW) in Linux Using Geth 1.11.5, 2023 Version

Image
1. Add ethereum repo sudo add-apt-repository -y ppa:ethereum/ethereum  2. Install ethereum and geth sudo apt-get install ethereum 3. Create an initial configuration file nano genesis.json And paste the following: {   "config": {     "chainId": 141319,     "homesteadBlock": 0,     "eip150Block": 0,     "eip155Block": 0,     "eip158Block": 0,     "byzantiumBlock": 0,     "constantinopleBlock": 0,     "petersburgBlock": 0,     "istanbulBlock": 0,     "berlinBlock": 0,     "ethash": {}   },   "difficulty": "1",   "gasLimit": "8000000",   "alloc": {     "7df9a875a174b3bc565e6424a0050ebc1b2d1d82": { "balance": "300000" },     "f41c74c9ae680c1aa78f42e5647a62f353b7bdde": { "balance": "400000" }   } } 4. Initiate genesis.json geth --datadir ~ init genesis.json 5. Creat...

What I Learned Losing a Million Dollars (Brendan Moynihan and Jim Paul, 1994)

Image
You will never get rich being a technician. Losses Internal Self-contrl, esteem, love, mind Subjective Stages Denial  Anger  Bargaining  Depression  Acceptance External Bet, game, contest, money Objective Risks Inherit risk Natural occurence in both unorganised market and organised markets. Created risk The arbitrary invention of a potential monetary loss which otherwise would not have existed. Characteristic of a crowd A sentiment of invincible power Contagion Suggestibility

Trade Like Jesse Livermore (Richard Smitten, 2004)

Image
Observations The majority of traders and investors lost money on a consistent basis. The majority of traders had no intelligent and consistent plan to trade the market. In effect they were gambling. Playing tips. Playing hunches. Playing the favorites of the moment. Playing all kinds of tips—tips from analysts, friends, insiders. Shorting process Stock is borrowed from your broker for delivery to your account.  Later, you purchase stock in the open market and return it to your broker to pay back the stock you borrowed. This completes the transaction. Discoveries Only trade the leaders. Understand industry group movements. Top down trading. Set up the checklist. Track the industry group - they usually move together. Tandem trading - comparing between 2 stocks from the same group. Examine all 3 factors at the same time. Reversal and entry Continuation 

Encyclopedia of Chart Patterns (Thomas N. Bulkowski, 2000)

Image
Broadening Bottom Compute the difference between the highest high and the lowest low in the formation. Add or subtract this value from the most recent minor high or low, respectively. The result is the target price for upward and downward breakouts. Once recognizing a broadening formation, buy after the stock makes its turn at the lower trend line. Place a stop-loss order 0.15 below the minor low to protect against a trend reversal. Sell short after prices start heading down from the top trend line. Place a stop 0.15 above the minor high to protect against an adverse breakout. Cover the short when price turns at the bottom trend line and starts moving up. For a downward breakout, cover as it nears the target price or any support level. Raise or lower the stop to the next closest minor low or high once prices make a new high (for long trades) or low (for short sales). If a broadening bottom shows a partial decline or rise, trade accordingly (on a partial decline, go long; on a partial r...