Saturday, September 14, 2024
Recursion
https://en.wikipedia.org/wiki/Recursion
https://en.wikipedia.org/wiki/Recursion_(computer_science)
https://www.youtube.com/watch?v=GOs07Kn2W1E
Base Case & Recursion Case
Base case can be implicit (like end of a for loop)
problems solvable in this space:
Friday, September 6, 2024
DSA - Data Structure and Algorithm
https://www.geeksforgeeks.org/learn-data-structures-and-algorithms-dsa-tutorial/
https://www.geeksforgeeks.org/top-50-array-coding-problems-for-interviews/
https://www.geeksforgeeks.org/explore?page=1&category=Arrays&sortBy=submissions
https://www.w3schools.com/dsa/
https://www.tutorialspoint.com/data_structures_algorithms/index.htm
Specifications in Machine readable format
- Backus–Naur form - notation used to describe the syntax of programming languages or other formal languages
- OpenAPI Specification - describing, producing, consuming, and visualizing RESTful web services
Wednesday, September 4, 2024
OpenAPI Generator landscape
Templates:
- Microsoft OpenAPI .Net
- Security Testing
- Specmatic Contract Driven Development
- https://github.com/microsoft/restler-fuzzer
- https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/05-Authorization_Testing/04-Testing_for_Insecure_Direct_Object_References
- https://www.zaproxy.org/docs/desktop/addons/fuzzer/
- https://github.com/aress31/openapi-parser
- https://github.com/Yelp/fuzz-lightyear
- https://42crunch.com/api-security-platform/
- https://portswigger.net/burp
- https://keploy.io/
Thursday, August 29, 2024
Selenium
Components of Selenium
- Selenium IDE
- Selenium RC
- Selenium Webdriver - communicated with Browser
- Selenium Grid
- Image not supported
- no reports
- No RestAPI or Database support
- No Mobile testing
- Can not handle popup
- Dynamic content????
- multiple frames
- pop-ups
- browser windows
- alerts
- page navigation
- drag & drop
- Ajax
- Implicit - wait for
- Explicit
- WebDriver wait
- Fluent wait
- id
- name
- link Text
- Partial Link Text
- CSS Selector
- xpath
- driver.findElement(By.id("")
- maximize()
- getSize()
- setSize()
- JavaScriptExecutor: executeScript - executeAsyncScript - for scroll
- void dismiss()
- void accept()
- String getText()
- void sendKeys(String stringToSend)
- upload files
- keyPress()
- keyRelease()
- MouseMove()
- MousePress()
- mouseRelease()
- File src = ((TakeScreenshot)driver)getScreenshotAs(OutputType FILE);
- get.windowhandle()
- get.windowhandles()
- set
- switch to
- action
- Event Listeners
- WebDriverException
- NoAlertPresentException
- NoSuchElementException
- NoSuchFrameException
- NoSuchWindowException
- Timeout
Tuesday, April 16, 2024
1x1 beacon pixel based companies
- Google Analytics
- Adobe Analytics
- Facebook Pixel
- https://rebrandly.com/
- https://documentation.solarwinds.com/en/success_center/loggly/content/admin/tracking-pixel.htm
- Atlas, OAS, OpenX, AdTech
Thursday, March 14, 2024
Drik Panchang
https://www.youtube.com/watch?v=ijL9E7mWwes
https://en.wikipedia.org/wiki/Tamil_calendar
https://en.wikipedia.org/wiki/Hindu_astrology
https://en.wikipedia.org/wiki/Drigganita
- Tithi: The lunar day at sunrise
- Vaara: The day from sunrise to sunrise
- Nakshatra: The lunar mansion occupied by the moon at sunrise
- Yoga: A measure of how far the sun and moon are from each other
- Karana: Half a lunar day, with each Tithi having two Karanas
1. Day of Week (each day is ruled by a planet), also called Vaara
2. Nakshatra (star or constellation in which Moon is transiting)
3. Tithi (moon phase, with respect to Sun’s position)
4. Karana (half a lunar day) (each Tithi has 2 Karanas)
5. Yoga (a special calculation for the separating distance of the Sun and Moon)
27 Nithya Yogas in Panchangam
2. PRITI (Fondness) — well-liked, attracted to the opposite sex, enjoys life with contentment.
3. AYUSHMAN (Long-lived) — good health and longevity, energetic.
4. SAUBHAGYA (Good Fortune) — enjoys a comfortable life full of opportunities, happy.
5. SOBHANA (Splendor) — lustrous body and demeanor sensualist, obsessed with sex.
6. ATIGANDA (Danger or obstacles) — difficult life due to numerous obstacles and accidents; revengeful and angry.
7. SUKARMA (Virtuous) — performs noble deeds, magnanimous and charitable, wealthy.
8. DHRITI (Determination) — enjoys the wealth, goods and spouses of others; indulges in the hospitality of others.
9. SOOLA Spear, Pain) — confrontational and contrary, quarrelsome, angry.
10. GANDA (Danger or obstacles) — flawed morals or ethics, troublesome personality.
11. VRIDDHA (Growth) — intelligent, opportunistic and discerning; life constantly improves with age.
12. DHRUVA Constant) — steady character, able to concentrate and persist, wealthy.
13. VYAGATHA (Beating) — cruel, intent on harming others.
14. HARSHANA (Thrilling) — intelligent, delights in merriment and humor.
15. VAJRA (Diamond, Thunderbolt) — well-off, lecherous, unpredictable, forceful.
16. SIDDHI (Success) — skillful and accomplished in several areas; protector and supporter of others.
17. VYATAPATA (Calamity) — prone to sudden mishaps and reversals, fickle and unreliable.
18. VARIYAN (Comfort) — loves ease and luxury, lazy, lascivious.
19. PARIGHA (Obstruction) — encounters many obstacles to progress in life; irritable and meddlesome.
20. SIVA (Auspicious) — honored by superiors and government, placid, learned and religious, wealthy.
21. SIDDHA (Accomplished) — accommodating personality, pleasant nature, interest in ritual and spirituality.
22. SADHYA (Amenable) — well behaved, accomplished manners and etiquette.
23. SUBHA (Auspicious) — lustrous body and personality, but problems with health; wealthy, irritable.
24. SUKLA (Bright White) — garrulous and flighty, impatient and impulsive; unsteady and changeable mind.
25. BRAHMA (Priest, God) — trustworthy and confidential, ambitious, good discernment and judgment.
26. INDRA (Chief) — interest in education and knowledge; helpful, well-off.
27. VAIDHRITI (Poor Support) — critical, scheming nature; powerful and overwhelming mentally or physically.
11 Karanas in Panchangam (7 Fixed, 4 Movable)
Karana is ½ a Tithi or Moon Phase.
There are four Fixed Karanas and they occur only once in a month.
There are seven Moveable (Recurring) Karanas and they occur eight times during the lunar month.
4 Fixed Karanas in Panchang
1. Shakuni : The person of this Karana will be calm, composed, intelligent, gifted with intuition and full of good deeds.
Its ruling deity is Garuda (eagle). Shakuni Karana falling in the night in the 14th day of the dark moon is suitable for hold-ups, committing theft and the like crimes, driving away enemies and soldiers, taming birds, starting medication and all kinds of war operations.
2. Chatushpada : The person of this Karana will do independent business, take great pains in work and will be truthful.
Its ruling deity is Vrishabha (Bull). This Karana falling on Amavasya (New Moon) is suitable for vanquishing enemies through Tantric methods. It gives success in all business related to four footed animals, particularly cattle. Shraddha and Tarpanam work done in this karana also gives quite good results.
3. Naga : The person of this Karana will be a specialist and successful in professions connected with minerals. Will
be of good character and capable of mesmerizing and catching snakes.
Its ruling deity is Naga (deified form of serpent). Naga Karana falling in Amavasya (New Moon) is more suited for destructive and subversive acts.
4. Kaustuva or Kimstughna : Persons of this Karana are intelligent but may be bent on doing bad deeds; are heartless, unpopular and may suffer much in life.
Its ruling deity is Kubera (Lord of wealth). This karana falling on Sukla Paksha Pratipada (1st day of Waxing Moon Phase) causes Vaisvadeva Yoga ,which is held to be the best karana for doing any work.
7 Moveable (Recurring) Karanas in Panchang
- Bava : People born in this Karana will be poor but will be kind and content with what they get. They will be successful if they pursue a career with the Army.
- Balava : The person born in this Karana will be handsome, courageous, sacrificing and will be interested in sports and extra-curricular activities.
- Kaulava : Those born in this Karana will be intent on doing bad deeds as their earlier environment was not congenial to molding a good character.
- Taitila : The person born in this Karana will be soft hearted, even tempered and with strong convictions. Constitutionally the person will be strong.
- Gara : The person of this Karana will be a good strategist, imaginative and talkative.
- Vanija : The person of this Karana will have good business acumen and will be capable of succeeding in any type of business.
- Vishti: The person of this Karana will be heartless, without friends and will be bent on doing bad deeds.
Thursday, February 29, 2024
Driving
Looking for contour map of driving time from various places
We can pick the top 10 MSA and get time to all of them, can we draw contour map? Or write the time on each in straight line
Leap Year
Today is February 29th - leap year
There are lot of math and astronomy that can be taught to students today
(Astronomy is science, right? May be a specialization of Physics)
Examples:
1) When you have a large group of people, there will be one birthday person for every 365 people. While only 1 in 1461 birthday person today
2) Younger kids we can discuss, earth going around the sun in 365 days. Older kids, we can tell the same info in seconds and discuss the number not dividing in whole number for 24 hours. You can also discuss the correction every 100 years and the other correction that happens every 400 years
3) You can introduce types of calendars used in society - solar & lunar. Discuss what every calendar/months you follow traditionally
Additional resources:
Thursday, February 22, 2024
Docker
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g python -o /local/out/python
docker pull mcr.microsoft.com/playwright:v1.41.1-jammy
maven:3.3.3-jdk-8
java
Campaign Lift Measurement
NBCU Brand Measurement certification
- Data quality such as strength of the survey solution and exposure inputs
- Solution readiness such as analytics, deliverables, and market presence
- Services
- Media planning and buying
- Campaign management and optimization
- Measurement
- Audio measurement
- Video measurement
- Audience measurement
- Audience verification
- Brand measurement
- Advertising effectiveness
- Reporting and analytics
- Other services
- Data integration
- Products
- Ad products
- Sponsored Brands
- Sponsored Display
- Video ads
- Audio ads
- Ad Tech
- Amazon DSP
- Amazon Ad