This past week was spent primarily solving Rosalind problems and getting more familiar with R. I’ve found that I need to do some reviewing of Math/Statistics. I’m feeling a bit rusty in that regard, and it’s holding me back on some of these problems. Some notes I figured it would be good to also note some common patterns/code that I’ve been using to solve these problems.…
This week I felt more of a re-energized focus. I took a break from going through books and started solving problems. Typically, when I start learning a new programming language, I solve some problems on a site like Project Euler to get a feel for basic syntax and language features. I ended up finding another site in a similar vein called Rosalind , which has a focus on Bioinformatics. I’ve…
To be honest, I had zero motivation to do much data science-related stuff this past week. In part, it was due to travel and seeing family. I almost didn’t want to post something this week, but I feel like I should be consistent with this, and the consistency will hopefully bring more discipline along with it. Why keep doing this? This question popped up a bit. If I’m not having any…
This past week felt like a bit of a false start. I made the last post ready and raring to go, but wound up getting sick and being busy… Despite all of that, I was able to make some progress! I continued on with r4ds , reviewing what I previously went through and looking at what was new in the second edition. I started back in with Chapter 9 and which deals with the foundations of the…
Over the years, I’ve come across numerous challenges using the format X days of {insert technology here} , where the goal is to learn a subject by doing exercises each day and posting about it to stay accountable. Inspired by this, I’m attempting to provide myself with some structure for learning concepts of Data Science and Statistics. Each week, I will tackle new (to me) concepts and…
I started learning German almost a year ago. Mostly out of curiosity, because outside of taking Spanish in high school, I never attempted to learn another language. Why German? My wife took German in high school, we’ve both been to Germany and love the country in general. The language is also just fun to speak. This is going to be a sort of living document of all the resources that I’m currently…
While learning German, I’ve found the need to take some notes. There are a few letters in the German alphabet that aren’t available on an English keyboard layout, and I would find myself copying and pasting them in. I found that tedious, so I started looking into ALT codes on Windows and the shortcuts on Mac. Characters, codes, and shortcuts To start out with, here’s a table of the special…
I’ve been wanting to get into the habit of writing a yearly retrospective for a while now, but 2022 was a bit on the terrible side. Nothing major, but we took a few blows. It was stressful, and rather than working through all that again to write a blog post, I figured I’d write down some of the habits and goals I want to focus on for this year. Relationships This summer Amanda and I will be…
The other day I had a situation where I needed to hide some form fields a WooCommerce plugin was adding to a product. Unfortunately there wasn’t a way to remove them in the plugin settings, so I needed to hide them with CSS. The only way to target the specific fields was using the element’s ID. The IDs ended up being unique, looking something like: < p id = 'message[1546]' class = 'form-row' > ……
When I’m working in Vim, I normally quit to create any directories or files. Turns out it’s straightforward to create a file or directory while inside the editor. The easiest way would to be to shell out to the command line using the bang ! operator. For example, to create a new directory: :! mkdir app/Models To create a new file: :! touch app/Http/Controllers/UserController.php References…
Typically when I need to add a shadow to something with CSS, I reach for the box-shadow CSS property . Though, this doesn’t have the desired effect when applying it to an image with a transparent background. For example: 1 2 3 # modinfinity-logo { box-shadow : 0 20 px 25 px -5 px rgba ( 0 , 0 , 0 , 0.1 ), 0 10 px 10 px -5 px rgba ( 0 , 0 , 0 , 0.04 ); } Will result in an image that looks like…
Recently I was having issues in a repository where files that were not supposed to be ignored, were being ignored. I stumbled upon Git’s check-ignore command, which will output the pattern in the .gitignore file a specific file matches. Example Usage For this example, I’m running the command in a basic Laravel application. git check-ignore .env Which will result in this output: .env If you want to…
In WordPress, the basic taxonomies, categories and tags, are only set up to be used on the default post type. If you want to add them to a custom post type you’ve created, you can do so by adding category and/or post_tag to the taxonomies array element in the post type’s argument array. Full Example 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36…
Creating an ecosystem of yeast and bacteria from a couple of ingredients, only to let it die due to negligence, has been a fun hobby of mine for the past couple of years. While I haven’t made any bread with it, and have burned through a few bags of flour learning the process, I have found the process to be relaxing. This is going to be my third attem-. Or, is it my fourth? Fifth? Who’s counting?…
I switch between editors every once in a while, and recently found myself back in VIM . The last time I used VIM, I configured CoC for intellisense and autocompletion. I had forgotten what extensions I installed. After looking in the wiki , the command to list them all is :CocList extensions . That will pull up a list of all the extensions along with the current installed version, their status,…