-
I have the blacklist search of the database working, and doing the whitelist and single weapon selection should be very easy to implement. I’ve formatted the page so that those functionalities will be in a tabbed interface, and it should be set up so that the tabs will appear side-by-side with the images on desktop
-
A lot of my bandwidth has been taken up by things in my personal life the past couple of months, but two weeks ago I found the time to start working on a web app to randomly generate a weapon from Splatoon. This isn’t any kind of new thing, there are plenty of them out
-
This was my last three-class semester for my WCC degree. Working full-time, the classwork balance is a little funny, where two classes are just a little too little work and three classes is just a little too much. I had to put lots of side projects (like this website) and even some day to day
-
189: Rotate Array Given an array and an int k, rotate the array k number of steps to the right. The especial challenge of this problem is to find at least three solutions to it. Fortunately, we’re not required to do it in-place. 1. Rotate the array one step k times. This is the solution
-
88. Merge Sorted Array. I think the humbling part is that And then when I get to the solution page, it gives a performance review that like, “Your solution is better than 35% of other solutions, and it’s memory usage is better than 9% of users.” Oof. I guess it’s just a case of keep
-
I already knew that switch statements were faster (and already knew that if its like three items the performance difference isn’t worth sweating it), but I hadn’t seen what is going on behind the scenes that makes them faster. To be clear, switch statements and if-else are not the same thing. Switch statements are forward-looking
-
Today’s Codewars kata was Is a Number Prime?, which was a basic test to determine if a given int was a prime number. // ignoring 0, 1, and 2for (int i = 5; i <= num/2; i++) if (num % i == 0) return false;return true; But it cautioned against brute forcing the answer by building
-
Testing.