Displaying 20 results from an estimated 24 matches for "yarv".
Did you mean:
yara
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2006 Jul 31
17
Ruby on Snails
I''ve been reading, hearing, and looking at blogs that state Ruby on
Rails is rather slow. Coming from a VB 6 world (thank you Microsoft for
killing VB because VB.NET is NOT VB) I was always told that VB was a toy
or too slow. Now, I''ll easily tell you that yes VB was not a great
language. It had it''s share of warts, like a lot of other languages I
might add, but
2007 Dec 25
30
Review of Code for 1.9
...ed exceptions as #kill, like JRuby does, so the
worker threads will not finish serving the client and _then_ exiting,
but will be kill''ed in the middle of the request.
(at the bottom of mongrel.rb):
http://mongrel.rubyforge.org/svn/trunk/lib/mongrel.rb
According to some docs of Jruby and YARV, we should rely on ''thread
safety'' of these methods (including #critical and #kill).
Thoughts?
btw, merry christmas to everybody! :-D
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something completely foolproof is to underestimate
t...
2005 Jun 18
9
lighthttpd mod_scgi
I see that lighttpd 1.3.14 supports SCGI.
lighttpd 1.3.14 - 2005-06-15 18:10
Changes
-------
* added SCGI support via mod_scgi
* added hash-based and round-robin load balancing to mod_proxy
* fixed range requests larger than 2Gb
* fixed compilation on Solaris
* fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy
* fixed handling of URIs for ''+'' and
2006 Jun 06
4
Comet/Continuations/Armeggedon
Hello all-
Forgive me if this has been discussed before- I searched the archives
and didn''t see anything. Anyway, here it goes-
There is a lot of talk lately about Comet-based applications- that
is, web apps that hold connections to the server open for a very long
time, to effectively achieve realtime data push from the server to
the browser. Currently, there are a few web
2007 Dec 11
54
1.9
Hey so,
People are asking about Mongrel Ruby 1.9 compatibility. Isn''t the
point of 1.9 for library developers to have time to get ready for 2.0?
It''s not like 1.9 is a production release.
Evan
--
Evan Weaver
Cloudburst, LLC
2005 Aug 03
0
Apache::RailsDispatcher for mod_ruby
...s every time.
* In the production environment, the same anonymous module is used
for the same application. So required_dependency loads libraries only at
once.
* Rails configurations such as ActiveRecord::Base.colorize_logging
are reset on each request.
This hack is just a workaround until YARV supports multiple VM
instances. We can get it in the near future, I hope.
Shugo
2009 May 01
0
Lone Star Ruby Conference 2009 Talk Submission Deadline
...expect
speaking time to be 35-minutes with 10-minutes of Q&A.)
Here are a few topics to give you some ideas:
- Design and coding techniques
- Testing tools and techniques
- Developer productivity tips and tools
- Patterns and best practices for developing Ruby code
- MRI, Rubinius, JRuby, YARV
- Rails, Rail3, Merb, Sinatra, Ramaze, Waves, etc
- Ruby in the Enterprise
- Ruby in Small Business
- Ruby internals, meta programming
- Data filtering, reporting, parsing
You name it. If it is Ruby related, we want to hear from you.
Please submit your proposal at:
http://spreadsheets.goo...
2007 Dec 15
0
CFP : First Ruby and Rails devroom at Fosdem 2008
...abstract for a presentation
in the Ruby and Rails devroom. Topics include, but are not limited to:
* Ruby
o Tutorials (installation, basic Ruby, advanced Ruby,
metaprogramming, DSLs, testing, design patterns, Rubygems,
C-extensions, ...)
o New developments (Ruby 1.9, Ruby 2.0, YARV, JRuby,
Rubinius, IronRuby, ...)
o Important/interesting libraries (your own, other''s,
HOWTOs, demos, ...)
o Technical showcases (interesting applications of Ruby,
challenges, solutions, ...)
o ...
* Rails
o Tutorials (installation, basic/advanced web...
2008 Feb 15
2
[LLVMdev] Some blogged LLVM experience.
On Fri, 2008-02-15 at 09:06 +0100, Duncan Sands wrote:
> Does ruby compile ruby code to native instructions and execute them?
No. Ruby is an interpreted language. The latest version has a VM that
it targets -- YARV -- but it still does not compile to native like, say,
a JIT would.
> Otherwise it probably means that llvm-gcc miscompiled something.
This is what I'm guessing at this stage. It is, however, only a guess.
And given that GCC raw -- the "native" compilation platform for Ruby -...
2008 Feb 15
0
[LLVMdev] Some blogged LLVM experience.
Hi Michael, thanks for trying out LLVM!
"The bad news comes with the make test-all results. Less than two minutes
into the comprehensive test suite the LLVM-GCC version of Ruby 1.9 dies with
the following message: "Illegal instruction (core dumped)". Later it tells me
the test failed with "error 132". This is, as you can see, not a very useful
message since it's not
2007 Feb 21
2
how much performance penalty does this incur, scalar as a vector of one element?
I have been comparing R with other languages and systems. One peculiar feature of R is there is no scalar. Instead, it is just a vector of length one. I wondered how much performance penalty this deign cause, particular in situations with many scalars in a program. Thanks.
Jason Liao, http://www.geocities.com/jg_liao
Associate Professor of Biostatistics
Drexel University School of Public
2006 Mar 28
2
Rails and Mongrel
Hi
I have some questions regarding threads in Mongrel and Rails.
According to the FAQ:
"Ruby on Rails is not thread safe so there is a synchronized block
around the calls to Dispatcher.dispatch. This means that everything
is threaded right before and right after Rails runs. While Rails is
running there is only one controller in operation at a time."
Isn''t this going
2008 Feb 15
3
[LLVMdev] Some blogged LLVM experience.
http://snakeratpig.blogspot.com/2008/02/alternative-compiler-suites.html
Executive summary: LLVM-GCC was consistently faster and its output
consistently faster than plain old GCC when compiling and using Ruby
1.9. Both compilers failed spectacularly on the full regression suite,
but GCC lasted longer and did more tests before exploding.
If I could find a comprehensive Erlang testing suite,
2007 Feb 26
9
libevent
Francis,
I read in the list archives back that a future EventMachine release
will support epoll on Linux (i.e., it''s in the trunk).
Better still, is there a possibility that EM will rely on libevent so
that it will be architecture independent (i.e. epoll on Linux, kqueue
on FreeBSD/Mac OS X, /dev/poll on Solaris)? This is how memcached is
implemented, and it would be helpful to be able
2006 Aug 25
9
Multi apps in one Mongrel instance
Hi,
It would be nice if Mongrel would do multiapps in one Mongrel instance.
For the moment, I have one Mongrel for each app of my server, each on a
different port.
For example:
http://server:8080/app1
http://server:8080/app2
instead of:
http://server:8080/
http://server:8081/
Is that planned?
Thanks.
-jec
--
JeSC - Software et Consulting
Jean-Eric Cuendet
Ing?nieur HES en
2006 Jan 30
15
i18n when?
Hi all,
Just wondering... Are there any plans to include i18n support in Rails
anytime soon?
I guess this is about the only feature I''m realy missing in Rails.
Any thoughts?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html
2006 Feb 21
29
script/console
The agile book says "You can inspect variables, set values, add other
breakpoints, and generally have a good time".
This is very sweet and totally useless. For example, I want to see the session variable,
the cookies variable and so on. These names are unknown. I think I guess that the things
that are available depend on where you put the breakpoint() call. I''ve tried a
2006 Jan 05
40
RoR sucks, and heres why...
Well now that I got your attention....
Why RoR sucks:
1. It''s smarter than me. Just when I think I''ll have to do some mundane
thing (like I use to in PHP or ASP), I find out RoR does it already for
me.
2. It takes about half or less code to put my stuff together in RoR than
it did in PHP, ASP, ASP.NET, etc. It seems so unnatural that I can have
a method with only 4 lines
2009 Aug 11
13
I've decided to use Rails... (I hope I made the right decision).
I''ve read a ton of comparisons that compare one framework to another,
and one language to another. There''s so much conflicting advice out
there that it''s hard to know what is best. Did I make the right
choice choosing Rails for my first web project? I guess we''ll see.
The only reason why I''m hesitant is that a lot of the big name sites
use php