Coder Social home page Coder Social logo

silicium's People

Contributors

asp1208 avatar dmitry-drozdov avatar dobrzhanskij avatar dr0bash avatar dr3amy avatar drkazeev avatar efedra avatar eternalforgotten avatar immoraly avatar ivolnoboi avatar lereena avatar lovedud avatar luckynatrium avatar mihaxxx avatar monluxfer avatar mrgelatine avatar ms-ana avatar murih avatar nechushkingit avatar nsilantev91 avatar olader09 avatar outrociaocul avatar robertovna avatar stas1f1 avatar tetrergeru avatar ursasm avatar vaimon avatar vl-tershch avatar vovacolt avatar wolwer1ne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

silicium's Issues

Making Algebra Great (Again)

@DdiavaLL @NechushkinGit @Dobrzhanskij
Please, tag other team members.

I closed your PR to master since we are working on refactoring branch now. I also made PR and resolved conflicts (probably, not so well, so check master at @NechushkinGit repo), so currently we have all your code at refactoring branch.
Keep making PRs to this branch

What we need now is good test coverage. For example, coef_to_str has no tests on it.
I've split tests into two files - Look at test/algebra_diff_test.rb

Add Gauss–Seidel method

In numerical linear algebra, the Gauss–Seidel method, also known as the Liebmann method or the method of successive displacement, is an iterative method used to solve a system of linear equations.
Collaboration of Amir Kapkaev and Daria Kitsenko @dkicenko

Add more geometry functions

A few ideas what should be added to Geometry

  • Check if point is on a segment or plane
  • Check if lines or planes are parallel or intersecting or perpendicular
  • Distance between parallel lines or planes
  • Distance from point or line to plane
  • Check if points from array are on the same line or plane

plotter.set_scale doesn't affect resulting image

I'm not entirely sure how it is supposed to work, but currently plotter.set_scale appears to do nothing

Code sample to reproduce:

def test_set_scale
  image_params = {width: 100, height: 200}

  draw_rectangle = -> (image_params, scale) {
    plotter = Image.new(image_params[:width], image_params[:height])
    plotter.set_scale(scale)
    plotter.rectangle(Point.new(20, 30), 50, 60, color('black @ 0.5'))
    temp_name = self.get_temp_name
    plotter.export(temp_name)
    temp_name
  }

  refute FileUtils.compare_file(
    draw_rectangle.call(image_params, 1),
    draw_rectangle.call(image_params, 10))
end

It's probably somehow related to following warnings:

silicium/lib/plotter.rb:251: warning: assigned but unused variable - mul
silicium/lib/plotter.rb:155: warning: assigned but unused variable - mul

Useless command for travis

Скриптом в travis для ruby является rake, а для rake у нас

task :default => :test

Т.е. скрипт прогонит тесты. При этом
before_deploy: bundle exec rake test

Перед деплоем тесты прогонятся ещё раз. Хотя если тесты прошли, то смысла их запускать снова нет, а если не прошли, то деплой не запустится.

The deploy steps are skipped if the build is broken.

Т.е. смысла в прогоне тестов снова перед деплоем не вижу. Или я что-то проморгал?

Add Karatsuba algorithm

The Karatsuba algorithm is a fast multiplication algorithm. It reduces the multiplication of two n-digit numbers to at most n^(1.58) single-digit multiplications in general. It is therefore faster than the traditional algorithm, which requires n^(2) single-digit products.

Can't make a pull request

Ruby 2D Installation Errors

Couldn't find packages needed by Ruby 2D.
Install the following packages using apt and try again:
libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev

See ruby2d.com for additional help.

how to install this packages ?

Topological sort

Topological sort or topological ordering of a directed graph is a linear ordering of its vertices such that for every directed edge uv from vertex u to vertex v, u comes before v in the ordering.

In collaboration with @Aelina29

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.