Bob Polacheck

SOFTWARE ENGINEER


My aim is to solve problems and make beautiful things with code.

Code Snippets


Temperature Conversion

This ruby program will prompt the user for a temperature in degrees Celcius and let the user know what the corresponding temperature is in Fahrenheit.

puts "Please enter degrees in Celcius:"
celcius = gets.chomp.to_f
	def convert(celcius)
  		return celcius * 9/5 + 32
	end

puts "Enter a number:"
number = gets.chomp.to_i
def convert(number)
   return number % 10 
end
def convert100(number)
  return number % 100
end
if convert(number) == 1 && convert100(number) 
!= 11 && convert100(number) != 12 && 
convert100(number) != 13
  puts "That's the #{number}st item!"
elsif convert(number) == 2 && 
convert100(number) != 11 
&& convert100(number) != 12 && 
convert100(number) != 13
  puts"That's the #{number}nd item!"
elsif convert(number) == 3 && 
convert100(number) != 11 
&& convert100(number) != 12 && 
convert100(number) != 13
  puts "That's the #{number}rd item!"
else
  puts "That's the #{number}th item!"
end

Ordinal Challenge

This ruby program will convert a plain number to the ordinal of the number. So for example, if the user enters 2, it will display 2nd, if the user enters 3, it will display 3rd, etc.


Foobar

This ruby program is an adaptation of a classic technical interview problem which displays sequences of the Foobar pattern.

puts "How many digits would you like to see?"
digits = Array.new(gets.chomp.to_i){|index| index +1}
def foo(number)
  return number % 3
end
def bar(number)
  return number % 5
end
digits.each do |number|
   if foo(number) == 0 && bar(number) == 0
    puts "Foobar"
  elsif foo(number) == 0
   puts "Foo"
  elsif bar(number) == 0
    puts "Bar"
  else
    puts "#{number}"
   end
 end

Web Apps


Quote Generator

A database-powered quote generator with a mobile-first design, using the Ruby on Rails framework, HTML, and CSS. Uses Git and Github for version control, and launched on Heroku.

Yelp Clone

A Yelp clone that integrates with the Google Maps API and includes features like user comments, star ratings, image uploading, and user authentication.


Two-Sided Market Place

A two-sided, video-streaming marketplace platform that features credit card payment capabilities, user role management, complex user interfaces, and advanced database relationships.

Test Driven Development

An Instagram clone that was built using industry-standard, test-driven development following numerous red/green/refactor cycles.


Single Page Todo Application

This single-page to-do application features a fluid user interface that– by using JavaScript– allows users to rapidly add dynamic content.

Agile Team Project

Worked on an Agile software development team building a chess application. Under the guidance of a senior software engineer, we had weekly Agile team meetings for code reviews, sprint planning, and feature assignments.


Skills & Tools


I have developed proficiency and expertise in the following programming languages and comfort with the following tools.


Contact


Currently entertaining new opportunities. Please get in touch via email:

rpolacheck@gmail.com