GithubHelp home page GithubHelp logo

Hi 👋, I'm Kevin Bell

I'm a student!

  • 🤝 I’m looking to collaborate on almost anything open-source.
  • 🔨 I’m working on my machine learning home cloud server using Ubuntu Server, Nextcloud, Tailscale VPN, & TensorFlow.js

🛠️ My favorite tools

👨‍💻 Programming and markup languages

C++ CSS HTML Java JavaScript Scratch SQL

🧰 Frameworks and libraries

GitHub Actions JUnit TensorFlow Wordpress

🗄️ Databases and cloud hosting

GitHub Pages MySQL

💻 Software and tools

Android Brave Discord Git GitHub Desktop Google Sheets Stack Overflow Visual Studio Code

I love free/libre open-source software! Most JavaScript running on most websites (including GitHub.com) is NOT open-source software.

Kevin Bell's Projects

-battle-ships-sunk-damaged-or-not-touched- icon -battle-ships-sunk-damaged-or-not-touched-

Battle ships: Sunk damaged or not touched?. 6 kyu. Your task in the kata is to determine how many boats are sunk damaged and untouched from a set amount of attacks. You will need to create a function that takes two arguments, the playing board and the attacks.

101dalmatianssquashthebugsnotthedogs icon 101dalmatianssquashthebugsnotthedogs

CodeWars. Kata. Solution. 8 kyu. Your friend has been out shopping for puppies (what a time to be alive!)... He arrives back with multiple dogs, and you simply do not know how to respond! By repairing the function provided, you will find out exactly how you should respond, depending on the number of dogs he has. The number of dogs will always be a number and there will always be at least 1 dog. Good luck!

2images icon 2images

Display local asset image via prop & image from internet

3d-dental icon 3d-dental

An open source project for 3D reconstruction, segmentation and slicing for dental applications

aircraft-notify icon aircraft-notify

Notify If a selected plane has taken off or landed using OpenSky or ADS-B Exchange data. Compares older data to newer data to determine if a landing or takeoff has occurred. As well as nav modes, emergency squawk and resolution advisory notifications. Can output to Twitter, Discord, and Pushbullet

analytics icon analytics

The official analytics package for Instructure's Canvas LMS.

android icon android

GitHub上最火的Android开源项目,所有开源项目都有详细资料和配套视频

apollo-kotlin icon apollo-kotlin

:robot:  A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.

areaorperimeter icon areaorperimeter

area Or Perimeter. codeWars.com 8 kyu Java solution. You are given the length and width of a 4-sided polygon. The polygon can either be a rectangle or a square. If it is a square, return its area. If it is a rectangle, return its perimeter.

baca-quran.id icon baca-quran.id

📖 Read Qur'an from Your Web Browser. No Ads, No Analytics, It's Totally Free.

baseballparksales icon baseballparksales

Simulate sales by the vendors in the stands at a baseball park. They walk around selling hot dogs, bottles of soda, team-logo ball caps, and balloons, in this simulation. These items are 2 categories of inventory -- food and souvenirs. Food items have a 10% tax. Souvenir items have a 5% tax. Also, it is possible to get volume discounts on souvenir items. There are 2 discounts available -- if you buy more than 15 items, the discount rate is 15%; if you buy more than 8 items, the discount rate is 5%. Notice these discounts are to the sale of each item, before any sales tax is applied. When the sale qualifies for a discount, print a message with the discount rate

becomeamillionaire icon becomeamillionaire

The bank has an account for those who want to become a millionaire – you deposit a sum of money once, select a guaranteed interest rate for growth, then you can’t touch the money until it grows to a million dollars. You know the starting value, the ending value ($1 million), and the rate of growth, but you don’t know how long it will take to reach that value. The money grows in cycles using compound interest. The account balance will grow using compound interest – the amount of growth is added to the balance, and that new balance will be used to calculate the next amount of growth. That is, if the account balance is $25, and the interest rate is 10%, then the account will add 10% of $25 ($2.50) to the balance (25 + 2.50 = $27.50). In the next iteration through the loop, that new balance of $27.50 will grow by 10%. A cycle can be a year, a month, a day – that detail isn’t important here, just that the account grows by compound interest in each cycle. Create a project that asks the user how much money they will deposit and what interest rate they choose. In the program, use a loop to calculate the growth in the account balance, and keep track of the number of iterations. When the balance is at least $1,000,000, end the loop and print out how many cycles it took to reach that sum. Include a message about how many cycles it takes to reach the sum of $100,000 as well. This message should only print once, not every time the account balance is greater than $100,000. (Hint: use a Boolean variable to determine if you are still searching for that balance or have already found it and printed the message.)

bonusrates icon bonusrates

The Awesome Sales Company plans to award bonuses to its staff. There are two categories for bonuses: longevity and sales. The longevity bonus gives those employees who have been with the company for more than 10 years a bonus of 2% of their salary, and gives those employees who have been with the company for more than 5 years a bonus of 1% of their salary. The sales bonus gives those employees who have a sales total of more than $250,000 a bonus of 2% of their salary, and gives those employees who have a sales total of more than $125,000 a bonus of 1% of their salary. All others get a bonus of $100. An employee may receive only one bonus. For example, if the employee has been with the company for more than 10 years (so eligible for the longevity bonus of 2%) and their sales total is more than $125,000 (so eligible for the sales bonus of 1%), that employee gets the 2% bonus. Note that there are 2 options for a 2% bonus, and 2 options for a 1% bonus, otherwise the bonus is $100. Your code MUST use logical operators (AND, OR) to test for the different bonus rates in a SINGLE IF-ElseIF-Else structure. If (something is true) then the bonus rate is 2%, else if (something else is true) then the bonus rate is 1%, else the bonus is $100. You can use only one IF structure to determine the bonus. Write a project that asks the user for an employee’s years of service and sales total, then calculates the percentage rate for the bonus. Run the program as many times as necessary to test every possibility, to make sure every path through the code works correctly. Consider each different element and the outcome. For example, longevity is one test; if years of service > 10, bonus rate = 2%. So run a test with years of service > 10 (for example, 12, as in the sample session), and sales total = 0 (so you are testing only the longevity). The other test is sales total; if sales total > $250,000, bonus rate = 2%. So run a test with sales total > $125,000 (for example, $150,00), and years of service = 1. Make sure that when you enter longevity of 1 year and sales total of $150,000, you get the correct answer of 1% bonus rate.

bowlingscores icon bowlingscores

In the book on pp. 158 – 159 (Introduction to Programming with Java A Problem Solving Approach Second Edition by John Dean and Raymond Dean), there is code for a Bowling Scores program that works. Copy this code to a project and follow the instructions in the book to improve it. Modify the program so the calculation for the average does not perform a division by zero. The calculation and printing of the average must remain outside of the loop for collecting the input. If the user entered no valid numbers, or typed -1 as the first entry, there were no scores, so do not calculate any average. If there was no average, don't print the line that begins "Average score is". You don’t need an error message or other action, just don’t perform the calculation or print the phrase. Initialize a Boolean variable named “more” with “true”, and use it as the While loop condition. Eliminate the prompt and input before the loop (the priming input), and move the prompt and input inside the loop to the top of the loop. Use an “If-Else” structure in the loop to set “more” to “false” and skip the normal calculation if the input is negative. Add a line of output that prints the title of the project and your name first, then ask the user for bowling scores. This is the sample session with valid numbers: Ch 4 Bowling Notice that the user enters input to the right of the query, on the same line. Don’t worry if the average has lots of decimal places like this – you’ll learn how to handle that in another chapter. This is a sample with -1 as the first entry -- no valid scores were entered: Ch 4 Bowling invalid Take a screenshot of the running program matching the sample session. Run the program again and enter a different number of scores with different values, and take a screenshot of the results. Run the program again and enter -1 to quit – that will mean there are no scores so the calculation for the average will not execute and the output line for the average score will not print. Take a screenshot of the result. Pay careful attention to the rubric for this assignment. Even if not specifically mentioned in the assignment, you are responsible for the following: Use descriptive names for all variables Add comments describing the use or meaning of variables Do NOT include literal values in any calculations, always use variables Always include a header in the output with a descriptive title and your name If asking for input, make sure the user types on the same line as the question Where sample sessions are provided, output from your project must match it Note that you must use correct formatting in the code -- appropriate indentation is most important. You can use Shift-Alt-F to have NetBeans automatically format the code correctly. If the formatting is incorrect, it will be returned to you for changes with a grade of zero. Submission: the specified screenshots and the root folder for the project Note: You need to submit the whole project for these assignments. In File Explorer, go to the location where you created the project. There will be a folder with the name of your project -- that is the root folder of the project. If you submit the root folder of the project, the instructor can run it on a different machine to grade it. If you don't submit the proper folder, it won't run on another machine, and the assignment will be marked with a zero.

box icon box

Previously, you wrote a project for rectangles. This one is similar but can create a 3D object (box) as well as a 2D one (paper). Create a class named Box, with instance variables for length, width, and height. Create a constructor with no parameters that sets the instance variables to 1. Create an overloaded constructor that needs 2 integer parameters for a 2D object, which sets the length and width, and stores 0 for the height. Create an overloaded constructor that needs 3 integer parameters for a 3D object, which sets the length, width, and height of the object. You do NOT need to create “set” and “get” methods for the 3 instance variables, you’ll be using the constructors only and direct access to the instance variables. Create 3 different methods to calculate the area of a 2D object, the perimeter of a 2D object, and the volume of a 3D object. You don’t have to test the kind of object, just do the calculations and return the answer. Create a Boolean method that checks if the object is a cube – if all 3 measurements are the same, it is a cube. Create a Boolean method that checks if the object is a box – if all 3 measurements are greater than 0, it is a box. If it is not a box, it is a flat object, only 2D – one of the measurements is 0. Create a Boolean method that checks if the flat object is a square – length and width are the same. Create a display method that prints out information about the object. Use an IF-Else IF structure to determine the kind of object – cube, box, square, rectangle. Check first if it is a cube – if yes, also print out the volume. If it’s not a cube, next check if the object is a box – if yes, print out its measurements and volume. If it’s not a cube or box, check if the object is a flat square – if yes, print out its measurements, perimeter and area. If not a cube, box, or square, check if the object is a rectangle – if yes, print out the measurements, perimeter, and area. Note that each object will only display one of these results. If the object is a cube, print those results and exit the If-Else If structure. That’s why you are using an If-Else If structure, so there is only one block of code executed for each call to this method. Write a driver class that instantiates or creates 4 Box objects – a cube, a box, a flat square, and a flat rectangle. Print out the name you gave to an object, then display its information. Repeat for all of the objects. Notice how short it becomes when you use constructors instead of using a set method for every dimension of the objects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.