Author: Charles Knell

  • What is the Risk to the U.S. Banking System from AI

    The short answer is that the risk is real and growing, but it looks more like rising losses and a few concentrated weak points than a threat that the banking system as a whole gets drained. It helps to separate three things.

    1. Fraud against customers and businesses: the biggest near-term cost.

    Most money actually stolen with AI today comes from tricking people, not from breaking into bank systems. The best-known example is the 2024 case where an employee at a Hong Kong-based firm sent US$25 million to fraudsters after a video call with what she thought was her CFO and colleagues, all of them deepfakes. AI agents let criminals run this kind of scheme (fake voices, tailored phishing, synthetic identities) against thousands of targets at once. Deloitte, a large consulting firm, projects that generative AI could push U.S. fraud losses to $40 billion by 2027, up from $12.3 billion in 2023, a compound annual growth rate of 32%. That is painful, but it is spread over millions of transactions and absorbed by banks, insurers, and victims. It is not a solvency threat.

    2. Autonomous hacking of bank infrastructure: the fastest-changing risk.

    This is where AI agents change things most. In November 2025, Anthropic disclosed the first documented large-scale cyberattack run with minimal human involvement, in which a state-sponsored group manipulated Claude Code to target large financial institutions, tech companies, and government agencies. Since then the numbers have climbed. A TrendAI survey of financial-sector security chiefs this June found an 89% year-over-year increase in AI-enabled attacks, and 41% of the organizations had suffered a destructive attack in the past year. Frontier labs are also warning about their own models. In August, OpenAI said it could not rule out its highest “Critical” cyber risk level for an upcoming model, meaning the model might independently find and weaponize zero-day exploits against real systems.

    The weak spots tend to be:

    – Small banks and shared vendors. Community banks mostly run on a handful of third-party core-processing vendors. One expert told American Banker that an attacker could quickly map a small bank’s infrastructure because it depends entirely on its core vendors. A flaw in one vendor could expose hundreds of banks at once.

    – Shared technology. The International Monetary Fund argues that AI doesn’t need new kinds of attacks to change the picture. By speeding up how fast flaws in widely shared technology are found and exploited, it can turn what used to be isolated incidents into correlated ones. That correlation is what regulators worry about most.

    – Banks’ own AI agents. As banks deploy agents internally, they create a new attack surface. A manipulated agent could move funds, approve exceptions, or expose account data, rather than just give a wrong answer.

    – Instant payments. Real-time rails like FedNow and RTP settle in seconds and are hard to reverse, which gives defenders less time to catch fraud.

    3. Systemic collapse.

    This is low probability; however, it should be taken seriously. Several things protect the system from being “emptied” by hackers. Money moves between banks over monitored, rate-limited rails. Large transfers get flagged and can often be frozen or clawed back. Deposit insurance and consumer protections like Regulation E put losses on institutions rather than depositors. And defenders are using the same AI tools to find and patch flaws faster. The more plausible systemic scenario isn’t mass theft. It’s a destructive attack, such as ransomware or data corruption at a major bank or core vendor, that freezes payments or undermines confidence in balances and triggers panic. The 2024 CrowdStrike outage, which was an accident rather than an attack, showed how one bad software push can stop banks from processing transactions. The International Monetary Fund frames the key question as whether the financial system can keep functioning under severe stress, not whether money gets stolen.

    Bottom line.

    For an individual depositor, the real risk is being personally targeted by a convincing scam, not losing insured deposits to a hack. Voice-clone “family emergency” calls and fake bank-representative calls are the ones to watch out for. For the system, the risk is real, growing quickly, and concentrated in smaller institutions and shared vendors. Most experts view it as serious but manageable, not existential. I’m not a financial advisor, so if you’re weighing this against specific decisions about where to keep money, that’s worth discussing with one.

  • Using Random Numbers for Unique Error Codes

    My objective for producing a unique error code is for it to be truly unique without the need of keeping track of used codes. I have selected the javascript crypto.randomUUID() function for this purpose. It produces 5.3 undecillion possible values. My implementation of this is here and the exact algorithm is here in the codeGenerator.js file.

    5.3 undecillion is the number 5.3 × 10³⁶, written out fully as:
    5,300,000,000,000,000,000,000,000,000,000,000,000

    When picking a million values, what is the probability that 2 will match?

    • Pool size: P = 5.3 × 10³⁶
    • Number of picks: N = 1,000,000 (10⁶)

    Using the Birthday Problem approximation, which is explained here:

    Probability (of at least one collision) ≈ 1 – e^(-N²/2P)

    Calculation
    • N² = (10⁶)² = 10¹²
    • 2P = 2 × 5.3 × 10³⁶ = 1.06 × 10³⁷
    • N²/2P = 10¹² / 1.06 × 10³⁷ ≈ 9.43 × 10⁻²⁶

    Since that exponent is tiny, we can simplify:

    Probability (collision) ≈ N²/2P ≈ 9.43 × 10⁻²⁶
    ≈ 0.0000000000000000000000000943

    Or about a 1 in 10 septillion chance.

    Conclusion

    Using 1 million picks from a pool of 5.3 undecillion values, a collision is extraordinarily unlikely. You’d need to run this experiment roughly 10 septillion times (10²⁵) before expecting even a single collision.

  • Are Humans Contributing to Climate Change?

    In climate change science, surface radiative forcing refers to the change in the balance between incoming and outgoing radiative energy at the Earth’s surface caused by some perturbation, such as greenhouse gases, aerosols, land-use change, or cloud modifications.

    Understanding this concept is needed to understand the paper which follows:

    • Radiative forcing (general): A measure of how a factor (like CO₂, methane, aerosols, or solar changes) alters the balance of incoming solar radiation and outgoing infrared radiation in the Earth’s climate system. Traditionally, it’s reported at the top of the atmosphere (TOA).
    • Surface radiative forcing: Specifically measures how much the radiation flux (shortwave + longwave) at the Earth’s surface is perturbed.
      • Positive forcing at the surface: More net downward radiation → surface warms.
      • Negative forcing at the surface: Less net downward radiation → surface cools.

    For example:

    • Greenhouse gases: Increase downward longwave radiation at the surface → positive surface radiative forcing.
    • Aerosols: Scatter and absorb sunlight before it reaches the ground → reduce downward shortwave radiation at the surface → negative surface radiative forcing.

    This is important because surface radiative forcing directly affects surface temperature, evaporation, snow/ice melt, and ecosystems, while TOA radiative forcing is more about the global energy balance.

    The following paper describes actual measurements of this phenomenon.

  • Why I Switched from a Stock Broker to DIY Investing

    Before 2007, I entrusted all my stock market investing to a traditional stock broker. After 20 years, I was shocked to realize that I would have made more money simply keeping my savings in a bank account. That realization led me to take control of my financial future.

    By ditching my broker and managing my own portfolio – using online brokerage platforms and the Motley Fool Stock Advisor – I’ve achieved significantly better returns. My portfolio has grown from X to 3X over 18 years.

    Who are the Motley Fools?

    The Motley Fool is a team of highly respected stock analysts known for their strong track record. Each month, they recommend two stocks and maintain an updated list of their highest-conviction picks, making it easy to invest whenever you’re ready. Their long-term strategy encourages holding stocks for 3 to 5 years or more. Personally, I’ve found that even longer holding periods yield excellent results.

    A Smarter Way to Manage Your Portfolio

    One problem with this strategy is that stock pickers, the Motley Fools included, often do not tell us, in a timely manner, when to sell. Determining how each tax lot has performed, as measured by the annualized gain over the holding period, is a solution. This allows you to compare with how a saving account grows. If you were to get 4% interest per annum of a savings account compounded annually, that’s comparable to 4% annualized gain. This is not a perfect comparison because typically, savings accounts are compounded monthly. If you are afraid or are not motivated to look at how your investments are performing, then you probably should only buy ETFs like VTI, SCHD, VOO, or QQQ.

    My Solution: A Simple Python Tool

    To streamline this process, I developed a Python program that calculates the annualized return for each stock lot in your portfolio. Here’s how to use it:

    Set up your portfolio at https://finance.yahoo.com (v2.0 is recommended).
    Track all your holdings in this platform. I don’t use the trading features.
    Run my program to see exactly how each investment is performing.
    If a holding doesn’t meet your return expectations after 5 years, the data will tell you – it’s time to sell.

    You can download the program and find installation instructions at https://github.com/charlesknell/Yahoo-Finance-Portfolio-Analyzer/blob/main/README.md

  • Two Things to Remember for Solving any Problem – Charles Knell

    • Believe that you can do it.
    • Never give up.

    Book to read to your children

    “The Little Engine That Could” by Watty Piper is a great book for teaching perseverance and problem-solving. The story of the little engine that overcomes a big challenge by thinking positively and working hard is a perfect way to show young children that determination and belief in oneself are important when tackling tough problems.

    Its famous mantra, “I think I can, I think I can,” instills a mindset that encourages problem-solving through persistence and effort. It’s an inspiring read for your 3-4 year old!

  • The Proper Use of AI Coding Tools

    I was browsing through some project postings on Upwork when I saw one which stated, “The use of AI coding tools in the work product will not be accepted.” I suppose that this client would prefer that all work take ten times longer than it could. A coder should not reinvent the wheel; they should first research what they are trying to do to see if there are any solutions already published. However, using a published solution without completely understanding it is NOT recommended. Searching for published solutions on platforms like Stack Overflow is just another tool in a good coder’s toolbox. An AI coding tool is also just a tool in the toolbox, and it should be used responsibly.

    I remember coding before resources like this were available. We had to reinvent the wheel all the time. No one would suggest using a large wrench as a hammer just because it can be made to work; it simply isn’t the best tool for the job. With the advent of AI, there are better tools for researching coding solutions. However, using a researched solution without fully understanding it is a big mistake, and that includes code available through AI coding tools. It’s a great way to introduce code that might appear to work but has unintended side effects or bugs that the coder is unaware of. A coder should have the same level of understanding as if the code was written from scratch.

    Coders should definitely not use AI-generated code that is complex and hard to understand. Doing so creates problems when making future changes and bug fixes. I have fed ChatGPT code written solely by a human and received a simpler and easier to understand version with half the lines of code, achieving the same goal. While I feel sure this won’t always happen, it’s a welcome result. The number of coding problems is directly proportional to the number of lines of code.

  • Photo Sorter for Windows

    Have you ever needed to reorganize your photos? Here you will find a free tool which you can use to sort your photos from a single folder into multiple folders. It will work on 64 bit Windows 10 and it should work on 64 bit windows 11.

    Unzip this file and double left click on “photo-sorter-2.6-setup.exe”. Windows Defender may warn you that this is an unrecognized app. This happens because I’m not willing to pay for a security certificate to sign software that I’m giving away for free.

    Assuming that you are ready to try it, go ahead and double left click on it.

    You may or may not see the following screens or something similar:

    Photo Sorter Setup

    Seeing the above window means that your new tool is correctly installed!

    This program is completely free to you. There are no internal locks or paywalls.
    It is free of viruses and malware. This the only official download page.

    If you find this software useful, feel free to send me a tip.

  • Make a Folder File List Using Windows

    Have you ever needed to make a list of files of a Windows folder that you could paste into an email or another document? Incredibly, this functionality is missing from the Windows GUI. Here you will find a free tool which you can download and use for this purpose. It will work on 64 bit Windows 10 and it should work on 64 bit windows 11. A video demo is here.

    Unzip this file and double left click on “SetupFolderDisplay2.2.exe”. Windows Defender will warn you that this is an unrecognized app. This happens because I’m not willing to pay for a security certificate to sign software that I’m giving away for free.

    Assuming that you are ready to try it, go ahead and double left click on it.

    You may or may not see the following screens or something similar:

    Seeing the above window means that your new tool is correctly installed!

    This program is completely free to you. There are no internal locks or paywalls.
    It is free of viruses and malware. This the only official download page.

  • Act Now on Climate Change

    By Charles Knell

    There are many compelling reasons to act on climate change.
    Here are just a few:
    • Climate change is already having a significant and negative impact on the planet. Average global temperatures have risen by about 1.0°C (1.8°F) since the beginning of the Industrial Revolution, and this increase is having a range of impacts, including more frequent and severe heatwaves, droughts, and storms, as well as rising sea levels.
    • If we do nothing to address climate change, these impacts are likely to become much worse. The Intergovernmental Panel on Climate Change (IPCC), a group of international scientists, estimates that if we do not significantly reduce our greenhouse gas emissions, global temperatures could rise by as much as 4.0°C (7.2°F) or more by the end of the century, leading to even more severe and widespread impacts.
    • We have the technology and know-how to address climate change. While it will not be easy, we have a range of options available to us, including improving energy efficiency, shifting to renewable energy sources, and adopting sustainable land use practices.
    • Acting on climate change is an opportunity to create jobs and boost economic growth. Transitioning to a low-carbon economy has the potential to generate significant economic benefits, including the creation of new jobs in industries such as renewable energy and energy efficiency.
    • We have a moral obligation to future generations to address climate change. The decisions we make today will have a profound impact on the quality of life of future generations. By taking action on climate change, we can help ensure that they inherit a healthy & sustainable planet.
    There are many companies working on solutions to address climate change. Here are a few examples:
    • Renewable energy companies: These companies develop and produce clean, renewable energy sources such as solar panels, wind turbines, and hydroelectric power. Examples include First Solar, Vestas, and Hydro Quebec.
    • Energy efficiency companies: These companies develop and sell products and services that help people and businesses use energy more efficiently, such as LED light bulbs, energy-efficient appliances, and insulation. Examples include Nest, Philips, and Owens Corning.
    • Sustainable transportation companies: These companies develop and produce vehicles and transportation systems that have a lower environmental impact, such as electric vehicles, public transportation systems, and bike-sharing programs. Examples include Tesla, BYD, and Citi Bike.
    • Sustainable agriculture and forestry companies: These companies develop and implement sustainable practices in agriculture and forestry, such as using cover crops and conservation tillage to reduce soil erosion and carbon emissions, and planting trees to absorb carbon dioxide from the atmosphere. Examples include Danone, Unilever, and The Nature Conservancy.
    • Climate technology companies: These companies develop and sell technologies that help mitigate or adapt to the impacts of climate change, such as carbon capture and storage systems, flood control infrastructure, and drought-resistant crops. Examples include Carbon Clean Solutions, Arcadis, and Syngenta.
    not everyone concurs that we must take action on climate change.
    • One possible explanation is that some individuals may not believe that climate change is occurring, or that human activity is a primary cause.
    • Another reason could be that certain people feel the costs of addressing climate change outweigh the benefits. They might argue that the measures required to reduce greenhouse gas emissions, such as switching to renewable energy sources or implementing regulations on industry, would be too expensive or disruptive to the economy.
    • Additionally, there may be ideological or political objections to taking action on climate change, seen as an infringement on individual freedom or government overreach.
    • Some people may prioritize other issues or simply be unaware of the issue or the potential impacts of climate change.
    Conclusion

    There is a strong scientific consensus that climate change is real and is caused by human activities. The evidence for this consensus can be seen in the warming of the Earth’s surface, the melting of glaciers and ice caps, and the rising sea levels. The Intergovernmental Panel on Climate Change (IPCC), a group of scientists who study climate change, has concluded that it is “extremely likely” that human activities, such as the burning of fossil fuels and deforestation, are the main cause of climate change.

    It is important to recognize that climate change is a complex issue and there may be legitimate differences of opinion about the best ways to address it. However, the evidence for the reality of climate change is strong, and it is important for individuals and societies to take action to mitigate the negative impacts of this phenomenon

    There are many benefits to addressing climate change, including reducing the negative impacts of global warming, preserving natural resources, and improving public health. For example, reducing carbon emissions can help mitigate the effects of sea level rise, which can damage coastal communities and ecosystems. It can also help reduce the severity and frequency of heatwaves, which can have negative impacts on human health, particularly for vulnerable populations such as the elderly and those with pre-existing medical conditions. Additionally, transitioning to renewable energy sources can create new jobs and stimulate economic growth, while also reducing our reliance on fossil fuels, which can help reduce air pollution and protect natural resources such as water and soil. In the long term, the costs of addressing climate change are likely to be outweighed by the benefits, as taking action to mitigate climate change now can help avoid more costly & catastrophic impacts in the future.