Monday, February 23, 2026

Wordle

grep -E '^[a-z]{N}X[a-z]{M}$' file.txt grep -v '[abc]' file.txt

a Python script that simulates a Wordle-solving tree:

  • Using char5.txt as the word list (all 5-letter words).

  • First guess is "audio".

  • Clues are given using "bgy" (blue, green, yellow).

  • Explore up to 4 guesses deep, but stop further exploration if a solution is found (ggggg).

  • Keep track of prior guesses and clues.

  • Sort outputs based on clue combinations for readability.

Wordle-solving tree simulator in Python that:

  • Uses char5.txt (5-letter words)

  • First guess is "audio"

  • Clues are "b" (gray), "y" (yellow), "g" (green)

  • Explores up to 4 guesses deep

  • Stops a branch if the solution is found (ggggg)

  • Outputs each path in one line

  • Keeps track of previous guesses/clues

  • Sorts outputs by clue patterns

Sunday, February 22, 2026

Money Money Money

  1. Risk-Adjusted Return
  2. Time in the market vs. Timing the market
  3. Automatic Investing
  4. Index investing vs stock picking
  5. Dividend ReInvestment Plan (DRIP)
  6. Dividend vs Growth Investments


Friday, February 20, 2026

Apollo Global Management, Shutterfly, Lifetouch - Epstein Files

Apollo Global Management, Shutterfly, Lifetouch - Epstein Files 

https://shutterflyinc.com/privacy

"We use your information to fulfill product orders, to customize and improve the advertising and content you see, to offer suggestions for personalized products based on your content, to deliver marketing communications and promotional materials that you may be interested in, to contact you and provide customer service, to protect the security or integrity of our databases or websites, to detect and prevent fraud or illegal activity, to take precautions against liability, to detect and remediate violations of our Terms of Use or other misuse of our Sites and Apps, for internal operational purposes, to develop and improve our products and services, and for products or services which may incorporate artificial intelligence or machine learning."

https://schools.lifetouch.com/blog/a-message-from-ceo-ken-murphy-on-student-privacy

"Lifetouch never shares, sells, or licenses student images to train AI models, including large language models, or facial recognition technology.  Lifetouch has never provided images for such purposes to any other third party."

https://www.sec.gov/Archives/edgar/data/1125920/000119312519098181/d710209ddef14a.htm

"2018 was a transformational year for Shutterfly. We almost doubled the size of the company with the Lifetouch, Inc."

https://ir.apollo.com/news-events/press-releases/detail/188/funds-managed-by-affiliates-of-apollo-global-management

"Funds Managed by Affiliates of Apollo Global Management Announce the Acquisition of Shutterfly, Inc. in an All-Cash Transaction Valued at $2.7 Billion"


All snippets retrieved Feb 20, 2026 at around 9:30am Central Time

Thursday, February 12, 2026

Liquefaction

"In materials science, liquefaction is a process that generates a liquid from a solid" 
"generates a non-liquid phase which behaves in accordance with fluid dynamics" 
"It occurs both naturally and artificially" 
"In geology, soil liquefaction refers to the process by which water-saturated, unconsolidated sediments are transformed into a substance that acts like a liquid, often in an earthquake." 
"liquefaction of bulk materials in cargo ships may cause a dangerous shift in the load." https://en.wikipedia.org/wiki/Soil_liquefaction

Monday, May 5, 2025

2025 May 4th, Day of Purpose

Participants at Day of Purpose - May 4th, 2025 City of Princeton
  1.  The NH James, Jr Foundation
  2. Blue Barn Pet Resort
  3. Family Promise of Collin County
  4. The Turning Point
  5. North Texas Job Corps
  6. Texas Muslim Women's Foundation
  7. Christmas Air Conditioning & Heating
  8. ZELOS DIRECT PRIMARY CARE
  9. Collin County Association Chainsaw Team
  10. Calabri Health
  11. Young & Vibrant Tutoring
  12. Meals on Wheels Collin County
  13. Above All Things Dream Foundation
  14. Push Me Pull You Org
  15. Power and Glory Ministries of North Dallas
  16. VFW Bois D'Arc Post 9167, Princeton, TX

Sunday, March 16, 2025

Astronomy

Eclipse - lunar/solar

tide

phase of moon

location of moon

angle of sunrise

Solstice / equinox

Analemma

https://en.wikipedia.org/wiki/Outline_of_astronomy

https://en.wikipedia.org/wiki/Template:Astronomy_navbox 


Tamil:

விநாடி = 24 seconds

நாழிகை = 24 minutes

முகூர்த்தம் = 48 minutes

1 Day = 30 முகூர்த்தம்


Wright Brothers

 1. "the Wrights calculated they needed an engine that produced at least 8 horsepower and weighed no more than 200 pounds (91 kilograms)."

            No such engine was available in the market, so they designed/and made one

            They choose aluminum... They painted black - so people did not know the metal (avoid copy)

2. Propeller: Navy's propeller designs were "cut and try". 

They used the wind tunnel. 

"propeller was a wing traveling in a spiral course".

"90 pounds of thrust to sustain the Flyer in flight at 24 mph" - "combined thrust of between 120 and 130 pounds at 330 rpm"

3. wind tunnel

4. "a highly unstable but controllable machine" (Like Bicycle, flights too...)

No Patent

Few reasons
  1. Altruism and the Public Good
  2. Encouraging Innovation
  3. Financial Constraints
  4. Open-Source Movements
Examples:
  1. Wilhelm Conrad Roentgen (X-rays)
  2. Nikola Tesla (Alternating Current)
  3. Charles Babbage (Difference Engine)
  4. Sir Tim Berners-Lee (World Wide Web)
  5. Linus Torvalds (Linux)
  6. Richard Stallman (Free Software Movement)
  7. The Raspberry Pi Foundation (Educational Devices)
  8. The Wright Brothers (Airplane)
  9. Thomas Edison (Phonograph)
  10. Open Source

Marie Curie - "There were no patents. We were working in the interests of science. Radium was not to enrich anyone. Radium... belongs to all people."

Tuesday, March 4, 2025

Apollo-11

The Virtual AGC Project Gemini — Apollo — Shuttle

Apollo 11 guidance computer Github

Virtual Apollo Guidance Computer Github


DSKY - display/keyboard

AGC - Apollo Guidance Computer

CM - Command Module (Colossus) software

LM - Lunar Module (Luminary) Software

https://www.youtube.com/@CuriousMarc


Monday, February 3, 2025

Sudoku 17

010000009000300800000000600000012400703000000500000000800600000000040020000700050

030600080019000000000020000700000450000031000200000000400800000060500000000000900

052400000000070100000000000000802000300000600090500000106030000000000089700000000

092300000000080100000000000107040000000000065800000000060502000400000700000900000

800000001000950000000000000000070420301600000000000000040000570600308000000000200

030500020010000000000090000607000804200300000500000900700080400000100000000000000

200000500000080000000070000031600000000000470000000800000209030400500000060000001

700400000000000500000000300060000890000250000001000000300000042000006070010080000

081000000000800300000000470400000020060300000000900000700021000000050609000000000

070040000000050000000000060000700208900000400000100000300000150008306000000000090

These are minimal Sudoku puzzles using most distinct numbers

Thursday, August 29, 2024

Selenium

Components of Selenium

  1. Selenium IDE
  2. Selenium RC
  3. Selenium Webdriver - communicated with Browser
  4. Selenium Grid
Limitations
  1. Image not supported
  2. no reports
  3. No RestAPI or Database support
  4. No Mobile testing
  5. Can not handle popup
  6. Dynamic content????
WebDriver Capabilities (not not in RC):
  1. multiple frames
  2. pop-ups
  3. browser windows
  4. alerts
  5. page navigation
  6. drag & drop
  7. Ajax
Object Repository
Wait:
  1. Implicit - wait for
  2. Explicit
    1. WebDriver wait
    2. Fluent wait
Locators types
  1. id
  2. name
  3. link Text
  4. Partial Link Text
  5. CSS Selector
  6. xpath
FindElement/elements
  1. driver.findElement(By.id("")
Size of the Window
  1. maximize()
  2. getSize()
  3. setSize()
  4. JavaScriptExecutor: executeScript - executeAsyncScript - for scroll
POM - Page Object Model
Page Factory

Action Class - mouse/keyboard
drag and drop, control key

Alerts
  1. void dismiss()
  2. void accept()
  3. String getText()
  4. void sendKeys(String stringToSend)
Robot (Native) - mouse & keyboard
  1. upload files
  2. keyPress()
  3. keyRelease()
  4. MouseMove()
  5. MousePress()
  6. mouseRelease()
Screenshot
  1. File src = ((TakeScreenshot)driver)getScreenshotAs(OutputType FILE);
Window Handle
  1. get.windowhandle()
  2. get.windowhandles()
  3. set
  4. switch to
  5. action
Listeners

  1. Event Listeners
Assert and verify
Proxy
String PROXY="192.168/0.0:4444";
Capability.setCapability(CapabilityType.PROXY,proxy)
Network Latency = driver.manage.pageLoadingTime()
Serversidelog: java -jar.jar -log selenium.log

Exceptions:
  1. WebDriverException
  2. NoAlertPresentException
  3. NoSuchElementException
  4. NoSuchFrameException
  5. NoSuchWindowException
  6. Timeout

driver.switchTo.frame() - name, number