W.A.R. app at https://play.google.com/store/apps/details?id=org.warmixare2
Ukraine
49,881 Russo-Ukrainian War
Palestine
22,386 Israel-Palestine War
Myanmar
13,049 Civil War
Sudan
9,201 Civil War
Ethiopia
7,846 Civil War
Nigeria
7,096 Terrorist Insurgency
Burkina Faso
6,241 Terrorist Insurgency
Mexico
6,145 Drug War
Syria
4,244 Civil War
Mali
3,180 Terrorist Insurgency
DR Congo
3,053 Terrorist Insurgency
Russia
2,775 Russo-Ukrainian War
Pakistan
1,871 Afghanistan-Pakistan Border Conflict
Yemen
1,775 Civil War
Cameroon
1,561 Terrorist Insurgency
Niger
1,469 Terrorist Insurgency
Colombia
1,189 Civil War/Drug War
Haiti
1,089 Civil War/Gang War
Afghanistan
888 Civil War/Terrorist Insurgency
South Sudan
858 Ethnic violence
Iraq
737 Terrorist Insurgency/Political Unrest
Central African Republic
536 Civil War
Mozambique
341 Civil War
Chad
210 Terrorist Insurgency
Bangladesh
166 Civil War
Benin
142 Terrorist Insurgency
Libya
111 Terrorist Insurgency
Uganda
82 Terrorist Insurgency
Togo
58 Terrorist Insurgency
Ecuador
54 Civil War
Israel
53 Israel-Palestine War
Ghana
50 Terrorist Insurgency
Algeria
29 Terrorist Insurgency
Morocco
23 Terrorist Insurgency
Tanzania
8 Terrorist Insurgency
Ivory Coast
4 Terrorist Insurgency
Mauritania
3 Terrorist Insurgency
Tunisia
2 Terrorist Insurgency
Source: https://globaltension.com/
com.s33me If You Want Some
Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Sunday, July 13, 2025
Friday, May 30, 2025
Random Notes on Comparing Files (Linux)
diff <(sort File1.csv) <(sort File2.csv) | grep '^>' | cut -c3-
comm -13 <(sort file1.txt) <(sort file2.txt)
comm -23 <(sort file1.csv) <(sort file2.csv) > file3.csv
grep -v -f file2.csv file1.csv > file3.csv
For whole lines that are present in file1.csv but not in file2.csv you probably want
grep -xvFf file2.csv file1.csv
https://www.tutorialspoint.com/How-to-find-difference-between-2-files-in-Python
FIRST FILE IS MORE RECENT WITH ADDITIONS
python AI
def get_difference(file1_path, file2_path):
"""
Calculates the difference between two files containing numbers.
Args:
file1_path (str): The path to the first file.
file2_path (str): The path to the second file.
Returns:
tuple: A tuple containing two lists:
- Numbers present only in the first file.
- Numbers present only in the second file.
"""
try:
with open(file1_path, 'r') as file1, open(file2_path, 'r') as file2:
numbers1 = set(int(line.strip()) for line in file1)
numbers2 = set(int(line.strip()) for line in file2)
only_in_file1 = list(numbers1 - numbers2)
only_in_file2 = list(numbers2 - numbers1)
return only_in_file1, only_in_file2
except FileNotFoundError:
return "Error: One or both files not found.", "Error: One or both files not found."
except ValueError:
return "Error: Files must contain only numbers.", "Error: Files must contain only numbers."
# Example usage:
file1_path = 'file1.txt'
file2_path = 'file2.txt'
# Create sample files (optional - for testing)
with open(file1_path, 'w') as f:
f.write("1\n2\n3\n")
with open(file2_path, 'w') as f:
f.write("2\n3\n4\n")
diff1, diff2 = get_difference(file1_path, file2_path)
if "Error" not in diff1 and "Error" not in diff2:
print("Numbers only in", file1_path, ":", diff1)
print("Numbers only in", file2_path, ":", diff2)
else:
print(diff1)
https://www.geeksforgeeks.org/compare-two-files-line-by-line-in-python/
comm -13 <(sort file1.txt) <(sort file2.txt)
comm -23 <(sort file1.csv) <(sort file2.csv) > file3.csv
grep -v -f file2.csv file1.csv > file3.csv
For whole lines that are present in file1.csv but not in file2.csv you probably want
grep -xvFf file2.csv file1.csv
https://www.tutorialspoint.com/How-to-find-difference-between-2-files-in-Python
FIRST FILE IS MORE RECENT WITH ADDITIONS
python AI
def get_difference(file1_path, file2_path):
"""
Calculates the difference between two files containing numbers.
Args:
file1_path (str): The path to the first file.
file2_path (str): The path to the second file.
Returns:
tuple: A tuple containing two lists:
- Numbers present only in the first file.
- Numbers present only in the second file.
"""
try:
with open(file1_path, 'r') as file1, open(file2_path, 'r') as file2:
numbers1 = set(int(line.strip()) for line in file1)
numbers2 = set(int(line.strip()) for line in file2)
only_in_file1 = list(numbers1 - numbers2)
only_in_file2 = list(numbers2 - numbers1)
return only_in_file1, only_in_file2
except FileNotFoundError:
return "Error: One or both files not found.", "Error: One or both files not found."
except ValueError:
return "Error: Files must contain only numbers.", "Error: Files must contain only numbers."
# Example usage:
file1_path = 'file1.txt'
file2_path = 'file2.txt'
# Create sample files (optional - for testing)
with open(file1_path, 'w') as f:
f.write("1\n2\n3\n")
with open(file2_path, 'w') as f:
f.write("2\n3\n4\n")
diff1, diff2 = get_difference(file1_path, file2_path)
if "Error" not in diff1 and "Error" not in diff2:
print("Numbers only in", file1_path, ":", diff1)
print("Numbers only in", file2_path, ":", diff2)
else:
print(diff1)
https://www.geeksforgeeks.org/compare-two-files-line-by-line-in-python/
Friday, May 16, 2025
XAMPP on Linux
Commands from Terminal Window:
sudo /opt/lampp/lampp panel
sudo /opt/lampp/lampp start
Chrome: http://localhost/dashboard/
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart
sudo /opt/lampp/lampp startmysql
sudo /opt/lampp/uninstall
sudo /opt/lampp/lampp panel
sudo /opt/lampp/lampp start
Chrome: http://localhost/dashboard/
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart
sudo /opt/lampp/lampp startmysql
sudo /opt/lampp/uninstall
Saturday, March 8, 2025
Thinking about asking ChatGPT to write a story about this...
He finds himself chasing a grasshopper across the lawn not knowing that it's the shadow of the bird in the tree above him, jumping from branch to branch.
Sunday, February 23, 2025
Willow Quantum Project Shutdown?
I suspect that after the December announcement. somebody on Google's Board of Directors said "So what..?" And thus Willow goes the way of most IT projects and is discontinued in its current state. Embarrassingly simple.
Or it could be due to scary stuff, but highly unlikely.
Or it could be due to scary stuff, but highly unlikely.
Saturday, February 22, 2025
Monday, February 17, 2025
Subscribe to:
Posts (Atom)