Monday, June 24, 2024

Arizona history & facts

From FB:
For those of you who may be new to AZ, here are 64 interesting facts you might not have known.
1. Arizona has 3,928 mountain peaks and summits, more mountains than any one of the other Mountain States (Colorado, Idaho, Montana, Nevada, New Mexico, Utah, and Wyoming).
2. All New England, plus the state of Pennsylvania would fit inside Arizona.
3. Arizona became the 48th state and last of the contiguous states on February 14, 1912.
4. Arizona's disparate climate can yie7ld both the highest temperature across the nation and the lowest temperature across the nation in the same day.
5. There are more wilderness areas in Arizona than in the entire Midwest. Arizona alone has 90 wilderness areas, while the Midwest has 50.
6. Arizona has 26 peaks that are more than 10,000 feet in elevation.
7. Arizona has the largest contiguous stand of Ponderosa pines in the world stretching from near Flagstaff along the Mogollon Rim to the White Mountains region.
8. Yuma, Arizona is the country's highest producer of winter vegetables, especially lettuce.
9. Arizona is the 6th largest state in the nation, covering 113,909 square miles.
10. Out of all the states in the U.S., Arizona has the largest percentage of its land designated as Indian lands.
11. The Five C's of Arizona's economy are: Cattle, Copper, Citrus, Cotton, and Climate.
12. More copper is mined in Arizona than all the other states combined, and the Morenci Mine is the largest copper producer in all of North America.
13. Clark Gable and Carole Lombard, two of the most prominent movie stars of Hollywood's Golden Age, were married on March 18, 1939, in Kingman, Arizona.
14. Covering 18,608 sq. miles, Coconino County is the second largest county by land area in the 48 contiguous United States.(San Bernardino County in California is the largest)
15. The world's largest solar telescope is located at Kitt Peak National Observatory in Sells, Arizona..
16. Bisbee, Arizona is known as the Queen of the Copper Mines because during its mining heyday it produced nearly 25 percent of the world's copper and was the largest city in the Southwest between Saint Louis and San Francisco.
17. Billy the Kid killed his first man, Windy Cahill, in Bonita, Arizona.
18. Arizona grows enough cotton each year to make more than one pair of jeans for every person in the United States.
19. Famous labor leader and activist Cesar Chavez was born in Yuma.
20. In 1912, President William Howard Taft was ready to make Arizona a state on February 12, but it was Lincoln's birthday. The next day, the 13th, was considered bad luck so they waited until the following day. That' how Arizona became known as the Valentine State.
21. When England's famous London Bridge was replaced in the 1960s, the original was purchased, dismantled, shipped stone by stone and reconstructed in Lake Havasu City, Arizona, where it still stands today.
22. Mount Lemmon, Tucson, in the Santa Catalina Mountains, is the southernmost ski resort in the United States.
23. Rooster Cogburn Ostrich Ranch in Picacho, Arizona is the largest privately-owned ostrich ranch in the world outside South Africa.
24. If you cut down a protected species of cactus in Arizona, you could spend more than a year in prison.
25. The world's largest to-scale collection of miniature airplane models is housed at the library at Embry-Riddle Aeronautical University in Prescott, Arizona.
26. The only place in the country where mail is delivered by mule is the village of Supai, located at the bottom of the Grand Canyon.
27. Located on Arizona's western border, Parker Dam is the deepest dam in the world at 320 feet.
28. South Mountain Park/Preserve in Phoenix is the largest municipal park in the country.
29. Palo Verde Nuclear Generating Station, located about 55 miles west of Phoenix, generates more electricity than any other U.S. power plant.
30. Oraibi, a Hopi village located in Navajo County, Arizona, dates back to before A.D. 1200 and is reputed to be the oldest continuously inhabited community in America.
31. Built by Del Webb in 1960, Sun City, Arizona was the first 55-plus active adult retirement community in the country.
32. Petrified wood is the official state fossil. The Petrified Forest in northeastern Arizona contains America's largest deposits of petrified wood.
33. Many of the founders of San Francisco in 1776 were Spanish colonists from Tubac, Arizona.
34. Phoenix originated in 1866 as a hay camp to supply military post Camp McDowell.
35. Rainfall averages for Arizona range from less than three inches in the deserts to more than 30 inches per year in the mountains.
36. Rising to a height of 12,643 feet, Mount Humphreys north of Flagstaff is the state's highest mountain.
37. Roadrunners are not just in cartoons! In Arizona, you'll see them running up to 17-mph away from their enemies.
38. The Saguaro cactus is the largest cactus found in the U.S. It can grow as high as a five-story building and is native to the Sonoran Desert, which stretches across southern Arizona.
39. Sandra Day O'Connor, the first woman appointed to the U.S. Supreme Court, grew up on a large family ranch near Duncan, Arizona.
40. The best-preserved meteor crater in the world is located near Winslow, Arizona.
41. The average state elevation is 4,000 feet.
42. The Navajo Nation spans 27,000 square miles across the states of Utah, Arizona and New Mexico, but its capital is seated in Window Rock, Arizona.
43. The amount of copper utilized to make the copper dome atop Arizona's Capitol building is equivalent to the amount used in 4.8 million pennies.
44. Near Yuma, the Colorado River's elevation dips to 70 feet above sea level, making it the lowest point in the state.
45. The geographic center of Arizona is 55 miles southeast of Prescott near the community of Mayer.
46. You could pile four 1,300-foot skyscrapers on top of each other and they still would not reach the rim of the Grand Canyon.
47. The hottest temperature recorded in Arizona was 128 degrees at Lake Havasu City on June 29, 1994
48. The coldest temperature recorded in Arizona was 40 degrees below zero at Hawley Lake on January 7, 1971.
49. A saguaro cactus can store up to nine tons of water.
50. The state of Massachusetts could fit inside Maricopa County (9,922 sq. miles).
51. The westernmost battle of the Civil War was fought at Picacho Pass on April 15, 1862 near Picacho Peak in Pinal County
52. There are 11.2 million acres of National Forest in Arizona, and one-fourth of the state forested.
53. Wyatt Earp was neither the town marshal nor the sheriff in Tombstone at the time of the shoot-out at the O..K. Corral. His brother Virgil was the town marshal.
54. On June 6, 1936, the first barrel of tequila produced in the United States rolled off the production line in Nogales, Arizona.
55. The Sonoran Desert is the most biologically diverse desert in North America.
56. Bisbee is the Nation's Southernmost mile-high city.
57. The two largest man-made lakes in the U.S. are Lake Mead and Lake Powell, both located in Arizona.
58. The longest remaining intact section of Route 66 can be found in Arizona and runs from Seligman to Topock, a total of 157 unbroken miles.
59. The 13 stripes on the Arizona flag represent the 13 original colonies of the United States.
60. The negotiations for Geronimo's final surrender took place in Skeleton Canyon, near present day Douglas, Arizona, in 1886.
61. Prescott, Arizona is home to the world's oldest rodeo, and Payson, Arizona is home to the world's oldest continuous rodeo, both of which date back to the 1880's.
62. Kartchner Caverns, near Benson, Arizona, is a massive limestone cave with 13,000 feet of passages, two rooms as long as football fields, and one of the world's longest soda straw stalactites: measuring 21 feet 3 inches.
63. You can carry a loaded firearm on your person, no permit required.
64. Arizona has one of the lowest crime rates in the U.S.A.

Thursday, June 20, 2024

Run Linux as an App on Android


" ... developers ... introduced a very interesting project called "Lindroid", which aims to let users run Linux in "a new way on Android devices"."
" With this, users can run various Linux distributions on native hardware, on their Android installation ..."
"Before you do that, you need to know that you will require a rooted Android device alongside some AOSP patches to be able to run Lindroid. It is not possible to run it without root access because the underlying architecture uses LXC with access to host drivers."
".... Lindroid will be officially made available via LibreMobileOS under the Ulumo name, where it will feature an Ubuntu base."

5 Copilot AI features that are on by default in Microsoft products | Mashable

https://mashable.com/article/5-microsoft-copilot-defaults

Thursday, June 13, 2024

AI Coding Assistance & more

Using AI for Coding: Everything You Need To Know:
https://learntocodewith.me/resources/ai-coding/
"... these are some of the top uses of AI in coding:
1. Code autocompletion
AI-powered code editors use machine learning algorithms to analyze patterns in code. They can predict and suggest code snippets for you, making your coding process faster and more efficient.

2. Automated code generation
AI can generate code snippets or even entire functions based on user prompts to accelerate the development, especially for repetitive & boilerplate code.

3. Code refactoring
Analyze code and suggest improvements for better readability, performance, or adherence to coding standards.

4. Bug detection and fixes
Identify and even fix bugs in the code."

"Programming is really not about being able to type code. Programming is about being able to mentally deconstruct problems into well-defined algorithmic steps, decide on correct data structures that will model the problem and then turn all this into working code."


Microsoft / Generative-AI-for-beginners - 18 Lessons, Get Started Building with Generative AI:
https://github.com/microsoft/generative-ai-for-beginners


AI With Python Tutorial:
https://www.geeksforgeeks.org/python-ai/


AI-Powered Code Generation Tool (JustDone):
https://justdone.ai/gen/best-code-generator-ai


10 Best AI Code Generators (June 2024):

https://www.unite.ai/best-ai-code-generators/
"GitHub Copilot represents the next level in AI-powered programming assistance. This tool functions like a virtual pair programmer that aids developers in writing better code at an expedited pace. It achieves this by suggesting whole lines or blocks of code as you type. The tool utilizes a system trained on public code repositories and is thus able to understand a multitude of programming languages and coding styles."

"Codeium is an advanced AI-driven platform designed to assist developers in various coding tasks. It encompasses a range of functionalities, including code fixing and code generation, but its most prominent feature is the code autocomplete capability."

"Replit GhostWriter, ... is another ... coding assistant designed to aid programmers in writing efficient and high-quality code. GhostWriter stands out for its ability to complete the code in real-time as the developer types ..."

"Amazon's CodeWhisperer revolutionizes the coding process by offering real-time suggestions ranging from snippets to entire functions, thanks to its vast knowledge from billions of lines of code. ... Furthermore, it prioritizes code security by pinpointing vulnerabilities, providing instant solutions, and ensuring alignment with esteemed security benchmarks such as those by OWASP."

"CodePal is a sophisticated AI-driven assistant designed for coding tasks. It provides a variety of services including code correction, explanation, and documentation. However, its most notable feature is the code generation capability. This means it can produce source code based on textual prompts. For example, if a user inputs a request like "Write a function in JavaScript that prints the Bitcoin price," CodePal will autonomously create code to display the current price of Bitcoin."

"Cody ... offers an impressive set of features that extend beyond the scope of code completion. Cody can be a boon to developers by providing automated code reviews and even identifying and fixing potential bugs in the code.
Cody's main strength lies in its capability to understand the context in which the code is written, allowing it to provide meaningful and relevant suggestions and reviews."

"Tabnine ... uses machine learning algorithms to predict and suggest code completions, aiming to make coding faster, more efficient, and less prone to errors.
... compatibility with over 20 programming languages. This, along with its integration capabilities with various code editors, makes TabNine a versatile tool for developers across different platforms. Furthermore, its deep learning capabilities allow it to provide highly relevant code suggestions ..."

...

5 AI Tools That Can Generate Code To Help Programmers (March 2022):
https://www.forbes.com/sites/janakirammsv/2022/03/14/5-ai-tools-that-can-generate-code-to-help-programmers/
"OpenAI Codex is the model based on GPT-3 that powers GitHub Copilot - a tool from GitHub to generate code within mainstream development environments including VS Code, Neovim, JetBrains, and even in the cloud  ..."

"CodeT5 is an open source programming language model built by researchers at SalesForce. It is based on Google's T5 (Text-to-Text Transfer Transformer) framework. In order to train CodeT5, the team sourced over 8.35 million instances of code, including user comments, from publicly accessible GitHub repositories. A majority of these datasets were derived from the CodeSearchNet dataset, which includes Ruby, JavaScript, Go, Python, PHP, C, and C#, in addition to two C and C# datasets from BigQuery."

"Polycoder is an open source alternative to OpenAI's Codex. Developed by the researchers at Carnegie Mellon University, the model is based on OpenAI's GPT-2, which is trained on a 249 GB codebase written in 12 programming languages. According to PolyCoder's authors, the program is capable of writing C with greater accuracy than any other model, including Codex.
While most of the code generators are not open source, Polycoder is one of the first open source code generation models."

"Cogram, a Y-Combinator, Berlin-based Startup, is a code generation tool aimed at data scientists and Python programmers using SQL queries and Jupyter Notebooks."


How AI code generation works: https://github.blog/2024-02-22-how-ai-code-generation-works/
"AI code generation refers to full or partial lines of code that are generated by machines instead of human developers."
"While every developer can reap the benefits of using AI coding tools, experienced programmers can often feel these gains even more so. ... It's just faster to hit 'tab' (thus accepting the suggestion) than it is to write out those 20 characters by myself"


AI code-generation software: What it is and how it works (Sept 2023):
https://www.ibm.com/blog/ai-code-generation/
"There are three main benefits of using AI code-generation software tools:
  1.     It saves time by enabling developers to generate code faster, reducing the work of manually writing lines of code and freeing developers to focus on higher-value work.
  2.     Generative AI can quickly and efficiently test and debug computer code.
  3.     Using generative AI for code also makes code development accessible to non-developers."


AI code generation: How it works and 9 tools you should know (March 2024, by Tabnine):
https://www.tabnine.com/blog/ai-code-generation-how-it-works-and-9-tools-you-should-know/
  1. Tabnine
  2. GitHub Copilot
  3. Replit GhostWriter
  4. Code Llama
  5. CodeT5
  6. AI2SQL
  7. Durable
  8. Mintlify
  9. Cody


CODEpal -  Code Generator - Generate Code Online with AI:  https://codepal.ai/
Free startup, monthly fee for significant volumes of requests.


Refraction - Learn, improve and generate code with AI:  https://refraction.dev/
"Generate code using AI in 56 languages — ABAP, Ada, Apex, Assembly, Batch, C, C#, C++, CameLIGO, Clojure, Cobol, CoffeeScript, CSS, D Lang, Dart, Elixir, Erlang, F#, Fortran, Go, GraphQL, Groovy, Handlebars, Haskell, HTML, Java, JavaScript, Julia, Kotlin, LaTeX, Less, Liquid, Lua, MatLab, Objective-C, OCaml, PascaLIGO, Perl, PHP, PowerShell, Pug, Python, R Lang, Racket, Ruby, Rust, Sass / SCSS, Scala, Shell, Solidity, SQL, Swift, TypeScript, Visual Basic, XML, and YAML."

Sunday, June 9, 2024

Build a real-life Winamp player before the PC app goes open-source

Build a real-life Winamp (called Linamp) player with Raspberry Pi:
https://www.xda-developers.com/real-life-winamp-player-raspberry-pi

https://hackaday.io/project/196407-linamp/details
Linamp has the following features:
  • Play music files from the file system (mp3, m4a, FLAC, etc.), including from SMB network mounts.
  • Playlist management for file playback
  • Display a real time bar spectrum analyzer
  • Display track information, including bitrate and sample rate
  • Control the output volume and balance
  • CD Playback (when connecting an external CD drive), including getting the track information from MusicBrainz
  • Bluetooth and Spotify playback (This is a Work in Progress)
------------------------------------------------------------------
Winamp is going open source (on September 24th, 2024), and it feels like the early 2000s again. - Remember Winamp? Turns out, it never went away, and it's now about to get a lot better:
https://www.xda-developers.com/winamp-open-source/
https://about.winamp.com/press/article/winamp-open-source-code

Saturday, June 8, 2024

32 Common Windows Mistakes to Avoid

https://www.pctips.com/common-windows-mistakes/

For writers: Profanity in science fiction

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

FN's Reflex 9mm Pistol: Micro Size, Big Features. And More.

".. the Reflex is not a striker-fired pistol but rather an internal hammer-fired single action only. The lighter single-action pull is less likely to result in inadvertent movement when firing, which could send your round askew."
" The Reflex doesn't have a grip or thumb safety ... For a concealed-carry pistol, there's much to be said for "point and shoot" simplicity."
" With an overall length of just over six inches and a height just over four inches with a flush-fit magazine, and just an inch thick, the Reflex's slim profile makes it easy to conceal. The pistol boasts a capacity of 11+1 with the flush-fit magazine or 15+1 with the extended magazine. At just 18.4 ounces, the Reflex won't weigh you down." (Approximately the same dimensions as the Glock 26, but a little lighter.)
------------------------------------------------------------------------------------------------------------------------
Top 8 Best Single Stack Sub-Compact 9mms Of 2023 Review:

Best Sub-Compact Single-Stack 9mm for CCW:

8 Best Micro 9mm Handguns of 2024:

Thursday, June 6, 2024

How to Fix the Atikmpag.sys driver

Atikmpag.sys BSoD: What It Is & How To Fix It?

Actual runs from examples in article:
------------------------------------------------------------------------------------------------------------------------
Microsoft Windows [Version 10.0.22621.3593]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.22621.2792

Image Version: 10.0.22621.3593

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
------------------------------------------------------------------------------------------------------------------------
C:\Windows\System32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files and successfully repaired them.
For online repairs, details are included in the CBS log file located at
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag. ------------------------------------------------------------------------------------------------------------------------

How to disable Windows(11) Recall


"The feature works by taking snapshots of your screen every few seconds and storing them locally on your hard drive. The Windows Recall app consists of a search bar and timeline, which lets you scroll back through all the saved snapshots and can show you what was on your screen at any point."


Monday, June 3, 2024

Linux May Be the Best Way to Avoid the AI Nightmare - and it's easier to use than ever

"As they add more features, we have less and less control over our computers. Dropbox, iCloud, Copilot, and all of Apple's Continuity features rely on the cloud, sending data back and forth. AI is already firmly embedded into our computers, powering text autocorrect, recognizing our friends and family in the pictures we add to our photo libraries, and so on.
These features are amazing and so convenient. But they have a price.  ... your computer never really sleeps anymore. And, of course, there are the privacy concerns of having your computer in constant contact with the platform owner—Microsoft, Google, and Apple"

How to Automatically Restart iOS Daily

Regularly rebooting a phone helps it run faster …
https://medium.com/@bjammin/how-to-automatically-restart-ios-every-day-4b3bfdba7a90