Giter Site home page Giter Site logo

Derek's Projects

fruitfull_function icon fruitfull_function

For the following program I was tasked with writing code that would utilize a fruitful function. First and foremost, a fruitful function is defined as "A function that yields a return value". In order to emphasize the changing output of fruitful functions, I decided to express it visually using the turtle module. The turtle module is a drawing module that can be imported into the code and manipulated using command codes. The code I wrote is based on the recurrences of circles and allows the user to manipulate the size and the complexity of the picture. The choices are decided by giving the user set options that are controlled in if and elif statements and stored. The answers given such as "moderate" or "intense" correspond to set numeric values that allow for the function to continue. These stored decisions are then later used to give values to variables assigned in functions that I had built and defined, allowing them to run.

grover icon grover

Code for Defending Against Neural Fake News, https://rowanzellers.com/grover/

grpc icon grpc

The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

ispalindrome icon ispalindrome

This program was created to see if it was possible using python to check if a word is a palindrome without using a function to reverse a string. It was accomplished by first setting the variable of palindrome equal to false. By setting the variable to false, we are able to create a condition in which it is true with a for loop. Using a for loop, we are able to set the variable of palindrome equal to true on the condition that the first letter is equal to the last letter of the word, while any other condition allows the variable to still be equal to false. This distinction between true and false allows for an if statement to be made in regards to printing a response to the user. Proving that one can create a program to check if a word is a palindrome without a function predetermined to flipping a string.

jellybeans icon jellybeans

Looking at a random photo of jelly beans, is it possible to determine what percent of the picture is made up of yellow beans? The short answer is yes, it is possible using the PIL module in python. The PIL module is the package that is responsible for the majority of image processing within python as it is a diverse package with multiple functions. In this code specifically, I first had to import the image, and set variables that would go through every pixel available in the photo. By setting the variables, width and height, and initializing a value to zero, I would be able to go through each individual pixel, evaluate the colour, and add it to its individual colour counter. Using RGB values, and defining the colour spectrum that yellow falls under, I was able to use a nested for loop to sort through pixels. Once I determined the total number of yellow pixels, I divided it by the resolution of the image (width times height) and multiply it by 100 to determine that around 17% of the photo is comprised of yellow jelly beans.

languagetutrorials icon languagetutrorials

These are a set of tutorials I am doing to further my knowledge in languages I have not touched for a while, or that I wish to know a little better. Projects will be simple code and walk throughs of languages like Javascript, Angular, React, C, C++, Java, PHP, SQL, and mayinclude more.

metator icon metator

Metagenomic binning based on Hi-C data

obttg icon obttg

Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and JavaScript

orchard-javascript.net icon orchard-javascript.net

An Orchard module only containing the Javascript.NET (http://javascriptdotnet.codeplex.com/) binaries for easy usage inside the Orchard CMS.

pta-django icon pta-django

[CITi | PTA | 2018.2] Repositório para o treinamento de Django

pymc3 icon pymc3

Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano

speakingpacepractice icon speakingpacepractice

This is an app I am working on that allows you to load a pdf and break it into 150 word chunks to practice speaking at 150 wpm

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.