[1] Sandhills: https://en.m.wikipedia.org/wiki/Sandhills_(Nebraska)
[2] Ogallala Aquifer: https://en.m.wikipedia.org/wiki/Ogallala_Aquifer
238 karma · joined June 5, 2020
[1] Sandhills: https://en.m.wikipedia.org/wiki/Sandhills_(Nebraska)
[2] Ogallala Aquifer: https://en.m.wikipedia.org/wiki/Ogallala_Aquifer
This is for anyone out there suffering some acute trauma like losing a loved one, or a chronic trauma like abuse over many years. I have experienced both, and it took me over 15 years to realize what had happened and to recover. I originally chose escapism. I didn't realize it at the time, but that's what it was. I was always into something, eventually even substance abuse. Ironically, escapism is how I ended learning to code, which was an escape for me. However, I also ended up being around even worse things and witnessing more death, while living broke and stressed out. This dragged me into even more suffering to the point of wanting suicide every day, but I just couldn't do it. This was a combination of escapism, and being around people with the same negativity as me.
Fortunately in time, I found myself, and realized everything that had happened, and how life can just be like that. But also how beautiful and exciting life can be as well. This would not have happened had I not met certain people that showed me what it means to love, and to be mentally strong. Also, by reading and learning you can find inspiration and love from someone that you will never meet in real life. Regardless, we need support of strong and positive people around us. We are a social species after all. When dealing with death/loss, remember the good times, be thankful for the time we had, and leave it at that - easier said than done.
The sun will rise tomorrow, and you will too. Take care, friend.
All though even then, it may be cheaper to just enroll in some local or online classes at a community college in your state for a couple hundred dollars.
[1] https://support.edx.org/hc/en-us/articles/206501438-Can-I-re...
[2] https://www.edx.org/masters/micromasters/purduex-nano-scienc...
> Write me a python function that accepts a list of filenames and uses threads and queues to load them in parallel with the pickle library
…
> Also, please output the results to a queue as well
Final result
import pickle
import threading
import queue
def load_files_in_parallel(filenames, results_queue):
"""Loads a list of files in parallel with the pickle library and outputs the results to a queue.
Args:
filenames: A list of filenames to load.
results_queue: A queue to hold the results of the file loads.
Returns:
None.
"""
# Create a queue to hold the file handles.
file_handles = queue.Queue()
# Create a thread pool to load the files.
threads = []
for _ in range(len(filenames)):
thread = threading.Thread(target=load_file, args=(file_handles, filenames.pop(), results_queue))
threads.append(thread)
thread.start()
# Wait for all threads to finish.
for thread in threads:
thread.join()
# Return the list of objects loaded from the files.
# No need to return anything since the results are already in the queue.
def load_file(file_handles, filename, results_queue):
"""Loads a file and adds it to the results queue.
Args:
file_handles: A queue to hold the file handles.
filename: The name of the file to load.
results_queue: A queue to hold the results of the file loads.
Returns:
None.
"""
# Open the file.
with open(filename, 'rb') as f:
obj = pickle.load(f)
# Add the object to the results queue.
results_queue.put(obj)[1] https://www.census.gov/programs-surveys/geography/guidance/g...
[2] https://www2.census.gov/geo/docs/reference/ua/State_Urban_Ru...
- then don’t let them? Why do you need to make it illegal for everyone else?
Iowa is mostly a rural state, and growing up on a farm you learn to operate power tools when you’re 10, and there are plenty of 16 year olds in Iowa that are more than capable of running a power saw and working on roofs and are proud to do it. Better than sitting around and playing video games, getting in trouble, or even sports for that matter. IMO more likely to get injured in sports like football than operating a power saw.
A Mathematical Framework for Transformer Circuits: https://www.anthropic.com/index/a-mathematical-framework-for...
This video covers it well: https://youtu.be/h7apO7q16V0
Also, chapter 30 of CLRS: https://elec3004.uqcloud.net/ebooks/CLRS%20(2nd%20Ed)%20-%20...
Regarding “professional” type stuff for coding, it’s really no different than building something to last and be reliable on the farm, and you get comfortable with it over time. For example instead of duct taping or hastily wiring something up, sometimes you really need to take some time and measure properly, cut, weld ect.
Since you’re still a student, one option you might consider is looking for an internship (remote), you’ll still get paid and the expectation is that you don’t have experience to all the stuff they don’t teach you in school (logging ect).
Another thing you can consider is maybe see how you can build some tech for the farm and even try to sell it or let some other farmers use it for free. You can get creative like use sensors/actuators, arduino/pi, data from your equipment, data from your vendors, satellite or drone imagery, robotics, integrate with a database or mobile app or your existing equipment. Then as you encounter problems and fix them, you’ll start getting interested in all those things like logging and unit testing, CI/CD, ect to make your system more reliable. Especially if you or others begin to actually depend on it. It will become one of those things you are building to last. That will give you something to boost your confidence and discuss during interviews, even if you make no money or little actual value from it. There is also the chance it can be a nice little side hustle or even bigger opportunity, you never know.
Good luck
[1] Trauma: The Invisible Epidemic: How Trauma Works and How We Can Heal From It https://www.amazon.com/Trauma-Invisible-Epidemic-Works-Heal/...