Ronnie Diaz
-
Comparing Text Similarity between two sentences using Python: Part 1
This is Part 1 in a series covering NLP (Natural Language Processing) which progresses through a real-world problem that I recently encountered. I thought this would be a good topic to write since it is relatable to many online businesses… Continue reading
-
Java DS & Algo Quick Reference
This reference is not comprehensive of the entire language by any means and is intended as a quick refresher primarily on DS & Algos which you already know the fundamentals for. The topics within this guide are commonly vetted during… Continue reading
-
Python Interviewing Quick Reference Guide (a.k.a. “cheat sheet”)
PEP8 style guide: https://peps.python.org/pep-0008/. Top 3 style guidance – use 4 space indents, lower camel case functions and variables, 79 char width (72 for docstrings). I use double quotes for strings so I don’t have to reprogram my brain when… Continue reading
-
Run Local LLMs with ollama on Windows
Quickstart Instructions for doze: Manual/GGUF Approach: 4. Create using the model file, run: ollama create dolphin-llama3 -f dolphin.llama3.ModelInfo and you should see “transferring model data” then some hashes and manifest data and a final “success” 5. then to send text… Continue reading
-
The Mountains We Climb
First Published Jan 21, 2024. Reflecting back on 2023, it was a year of exploration. For me, I can bucketize my years into growth or exploration, recovery, execution or stability. You might be thinking this a reductionist view on life,… Continue reading
-
SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position truncated \UXXXXXXXX escape
This is a common error in python when you are reading from a file and have specified a file path String. You can usually fix this by placing an ‘r’ in the front of your string to change it to… Continue reading
-
Focus
For over 6 years, the title of this site was – “Fraction of the Blogosphere”. It was fitting when I first created it and for years that followed.. One thought I had is to transform this site to accommodate… Continue reading
-
heroku cheat sheet quick start
#note requires java 8. add the ppa repo for oracle and install this if you dont have it already. check your local with: java -version #create auth token for subsequent commands heroku login #from within a local git cloned app… Continue reading
-
javac invalid target release maven ant intellij netbeans eclipse
You may see the following error when running maven or ant command or from intellij: javac: invalid target release: 1.8 This occurs because you are running a build target for a version of java that you do not have set… Continue reading
-
solarized color theme
Parent site: http://ethanschoonover.com/solarized Vim (standalone or with pathogen): https://github.com/altercation/vim-colors-solarized Visual Studio (also in main repo): https://github.com/leddt/visualstudio-colors-solarized IntelliJ (also in main repo): https://github.com/jkaving/intellij-colors-solarized Putty: Install the .reg files to use with new sessions or edit previous sessions following the provided instructions.… Continue reading




