Skip to main content

Home/ InnoDev/ Group items tagged ruby

Rss Feed Group items tagged

Juraj Visnovsky

Support for Ruby 1.9.3 has ended - 1 views

  •  
    As of today, all support for Ruby 1.9.3 has ended. Bug and security fixes from more recent Ruby versions will no longer be backported to 1.9.3.
  •  
    necakane skoro :| som zvedavy, pri ktorej verzii zakotvia nase projekty. Ruby v2.1 ma nejake problemy s GC http://stackoverflow.com/questions/27102565/memory-usage-increase-with-ruby-2-1-versus-ruby-2-0-or-1-9 a webafis uz podporuje Ruby 2.0+ ?
Jozef Fulop

Does the GIL Make Your Ruby Code Thread-Safe? - 1 views

  •  
    out of 5 dentists agree that multi-threaded programming is hard to get right. At the end of the day, all that the GIL guarantees is that MRI's native C implementations of Ruby methods will be executed atomically (but even this has caveats). ... So the GIL doesn't 'solve' thread-safety issues. ... One way that we work with hard problems is with good abstractions. ... We're seeing more and more abstractions around threads. An approach that's catching on in the Ruby community is the Actor model of concurrency, with the most popular implementation being Celluloid. Celluloid provides a great abstraction that marries concurrency primitives to Ruby's object model. Celluloid can't guarantee that your code will be thread-safe or free from race conditions, but it wraps up best practices. I encourage you give Celluloid a try.
Peter Vojtek

Do Not Upgrade Your Rails Project to Ruby 2 Before You Read This - 0 views

  •  
    if you don't pass a header, by default Ruby will pass the header that will tell the external service that your app is ok with a Gzipped response (which is obviously wrong)
Michal Holub

Non-Alphanumeric Ruby for Fun and Not Much Else - 0 views

  •  
    programovanie v Ruby bez pismen :)
Stano Bocinec

Ruby Security Have You Not! - Hakiri - 0 views

  •  
    The first metric I was wondering about is the distribution of gems in Gemfiles. How many gems does a common Ruby developer use in their projects? The numbers are somewhat expected: the average number of gems per Gemfile is 113.08 with the standard deviation of 52.19.... The next question I had was how many of those gems contain at least one vulnerability? The numbers are staggering! 1,333 Gemfiles, or 66% of the total, are affected! I definitely didn't expect that two thirds of all projects would contain at least one publicly known vulnerability.
Stano Bocinec

How Ruby Uses Memory - 0 views

  •  
    I've never met a developer who complained about code getting faster or taking up less RAM. In Ruby, memory is especially important, yet few developers know the ins-and-outs of why their memory use goes up or down as their code executes.
Juraj Visnovsky

Ruby 3.0, by Yukihiro Matsumoto - 0 views

  •  
    Matz is experimenting with three concepts that may or may not be included in Ruby 3.0. 1. Man-machine collaboration through a static analyzer (e.g. rubocop or ruby-lint) that uses soft typing (i.e. inferred typing) to determine if a program will crash or not. 2. Performance enhancements through JIT compilation, but preliminary implementations have shown to increase memory consumption as a side effect. 3. Concurrency improvements through better abstractions like streams and pipelines. When used, the running program would place itself inside an event loop, disable the GIL, and force objects to be immutable. Matz calls it Rube Goldberg Programming.
Juraj Visnovsky

Idioms that lead to faster running Ruby code - 0 views

  •  
    Pomocka pri pisani rychlejsieho Ruby kodu. V ramci moznosti... :o)
Peter Vojtek

The Ruby C API - 0 views

  •  
    The official Ruby interpreter is written in C. That means that everything you can do in Ruby, you can also do using function calls to Ruby's C API.
Peter Vojtek

Sdogruyol/awesome-ruby - 1 views

  •  
    A curated list of awesome Ruby frameworks, libraries and resources. Inspired by awesome-php & awesome-python.
Stano Bocinec

Zaujimave security linky #1 - 2 views

http://sakurity.com/blog/2015/02/28/openuri.html - "Ruby: Using open-uri? Check your code - you're playing with fire! " http://blog.honeybadger.io/ruby-security-tutorial-and-rails-security-guide/ "...

security ssh programming linux android

started by Stano Bocinec on 04 Mar 15 no follow-up yet
Peter Vojtek

Reading the Ruby Source to Understand Rails Idiosyncrasies - 2 views

  •  
    vysvetluje preco je toto zly pristup: (10.days.ago..2.days.ago).include? Date.today
Jozef Fulop

NathanMLong.com - Using state_machine with Authority - 1 views

  •  
    The state_machine gem is a great tool for putting business rules into your Ruby applications. But sometimes rules have exceptions. In this post, I'll show you how my team has used state_machine together with Authority to allow certain people to make exceptions to the rules.
Jozef Fulop

Common Messaging Patterns Using Stomp - Part 1 | R.I.Pienaar - 1 views

  •  
    5-dielny clanok o Message Oriented Middleware (MOM), o messaging patternoch a moznostiach, ktore ponuka ActiveMQ + Stomp (ruby client)
Michal Holub

The 15 best gems for ruby on rails web applications - 0 views

  •  
    pekny zoznam uzitocnych gemov aj so strucnym popisom - vela veci urobil uz niekto pred nami, a tak netreba znovu vynachadzat koleso
Peter Vojtek

How Airbnb Improved Response Time by 17% By Moving Objects From Memory To Disk - 2 views

  •  
    the translated strings are stored on the heap, where the garbage collector must scan over the objects on every run (at least in the case of Ruby MRI). For a mature process with all the translations loaded, this is almost 1 million objects! Second, each process has its own copy of the strings.
Peter Vojtek

Crystal programming language - 0 views

shared by Peter Vojtek on 07 Sep 13 - No Cached
  •  
    syntax ako ruby, ale jazyk je kompilovany, lahka praca s C kodom
Michal Holub

Hakiri Facets - 0 views

  •  
    How secure are your Ruby projects? Scan Gemfile.lock for vulnerabilities, take action, and ship secure apps!
Peter Vojtek

Artoo - Ruby on Robots - 0 views

shared by Peter Vojtek on 17 Sep 13 - No Cached
  •  
    Artoo makes robotics Simple and Extensible.
1 - 20 of 49 Next › Last »
Showing 20 items per page