[#383997] CORE - Alternative Variable Substitution — Ilias Lazaridis <ilias@...>
ruby 1.9
On 1 撫, 12:12, Peter Hickman <peterhickman...@googlemail.com>
On 1 撫, 16:22, Robert Klemme <shortcut...@googlemail.com> wrote:
On Thu, 2 Jun 2011 13:25:25 +0900, Ilias Lazaridis wrote:
[#384020] instance variable in pseudo-global scope — Chad Perrin <code@...>
As I understand things:
On Wed, Jun 1, 2011 at 6:01 PM, Chad Perrin <code@apotheon.net> wrote:
[#384029] minitest 2.2.2 Released — Ryan Davis <ryand-ruby@...>
minitest version 2.2.2 has been released!
[#384051] CORE - Replace "if __FILE__ == $0" with "executed?" — Ilias Lazaridis <ilias@...>
The construct to detect execution of the file (in order to launch main
On Thu, 2 Jun 2011 22:30:27 +0900, Ilias Lazaridis wrote:
On Thu, Jun 02, 2011 at 10:51:46PM +0900, Peter Zotov wrote:
[#384072] Behaviour of different Proc types — Josh Cheek <josh.cheek@...>
I realized that I just can't ever remember the different proc types
[#384085] Best way to replace hash keys — Alex Allmont <Alex.Allmont@...>
What is the most optimal and neatest way to replace keys in a hash given a particular condition?
[#384104] CORE - Altering Behaviour of "each do" (default param "item") — Ilias Lazaridis <ilias@...>
1.9
On 8 Ιούν, 08:06, David Masover <ni...@slaphack.com> wrote:
On Wed, Jun 8, 2011 at 11:50 AM, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Probably not without changing Ruby itself.
Actually it would be possible, although very ugly.
On Sat, Jun 4, 2011 at 6:50 AM, Ilias Lazaridis <ilias@lazaridis.com> wrote:
On Sat, Jun 04, 2011 at 11:50:00PM +0900, James Gray wrote:
On 5 ホ厥ソマ歳ス, 17:19, Matthias Wテ、chter <matth...@waechter.wiz.at> wrote:
Hi,
On 6 撫, 01:11, Yukihiro Matsumoto <m...@ruby-lang.org> wrote:
Hi,
On 6 Ιούν, 12:24, Yukihiro Matsumoto <m...@ruby-lang.org> wrote:
Ilias Lazaridis wrote:
2011/6/7 J旦rg W Mittag <JoergWMittag+Ruby@googlemail.com>
On 6 撫, 01:11, Yukihiro Matsumoto <m...@ruby-lang.org> wrote:
On Monday, June 06, 2011 03:35:30 AM Ilias Lazaridis wrote:
On 06.06.2011 16:57, David Masover wrote:
[#384219] how to repackage a ruby gem. — William Liu <william.weih@...>
Hi All,
[#384228] a little challenge - reproduce this error — Intransition <transfire@...>
Want to see a really amazing error I got this week? Okay... but to
throw NameError.new("uninitialized constant X::Foo::X")
This is a pretty trivial error to generate. Just reference the
On Wed, Jun 8, 2011 at 6:43 AM, Intransition <transfire@gmail.com> wrote:
On Jun 8, 2011, at 10:56 AM, Christopher Dicely wrote:
On Jun 8, 10:56m, Christopher Dicely <cmdic...@gmail.com> wrote:
On Wed, Jun 8, 2011 at 8:27 AM, Intransition <transfire@gmail.com> wrote:
> I realize now maybe how I should have phrased this as a challenge
On Jun 9, 1:22m, John Feminella <jo...@bitsbuilder.com> wrote:
On Fri, Jun 10, 2011 at 12:08 PM, Intransition <transfire@gmail.com> wrote:
[#384262] Where is the #hash method defined? — Iñaki Baz Castillo <ibc@...>
Hi, any object in Ruby has the method #hash which returns an integer
> I cannot find which class or module #hash method belongs to. I
[#384273] Anyone compiled VIM 7.3 with 1.9.2 support? — Ned <rails.nerd@...>
Hi
[#384279] CORE - Literal Instantiation breaks Object Model — Ilias Lazaridis <ilias@...>
class String
[#384280] BARRIER - require "rubygems" — Ilias Lazaridis <ilias@...>
ruby 1.9.2p180 Windows 7
On 11 撫, 20:30, Phillip Gawlowski <cmdjackr...@googlemail.com>
[#384283] Classic Computer Science Books — Stu <stu@...>
I wanted to start a thread discussion on classic computer science
On Thu, Jun 9, 2011 at 5:18 PM, Stu <stu@rubyprogrammer.net> wrote:
On Fri, Jun 10, 2011 at 09:22:58AM +0900, Josh Cheek wrote:
Thank you for the responses. I look forward to reading others.
> queue to read Meyers C++ books and Crockford's Javascript: The Good
Hello Anurag
Hey Stu,
Wow, those are a lot of books, as a beginner programmer, I don't have
There is a classic series online called "How to Think Like a Computer Scientist"
On Thu, Jun 16, 2011 at 10:26 PM, Stu <stu@rubyprogrammer.net> wrote:
On 10.06.2011 00:18, Stu wrote:
The Design and Construction of Compilers, Robin Hunter, John Wiley &
[#384322] PSA: Ilias is Crazy — Ryan Davis <ryand-ruby@...>
I guess I have to post this periodically since our population is growing and changing so much.
On 6/10/2011 12:41 PM, Ryan Davis wrote:
Since this has escalated to giving the guy a thread with his name in
[#384335] strange ruby error — Junkone <junkone1@...>
i get strange error test.rb.rb:14: syntax error, unexpected '}'
[#384363] RFC - One word alias for require_relative — Ilias Lazaridis <ilias@...>
This is a simple Request for Comments.
On Sat, Jun 11, 2011 at 9:12 PM, Intransition <transfire@gmail.com> wrote:
On Sat, Jun 11, 2011 at 11:08 PM, Intransition <transfire@gmail.com> wrote:
Back in the blissful days before I understood the `$LOAD_PATH` or the
On 16 撫, 17:29, Matt Harrison <iwasinnamuk...@genestate.com> wrote:
On 16/06/2011 16:10, Ilias Lazaridis wrote:
On 16 撫, 20:26, Matt Harrison <iwasinnamuk...@genestate.com> wrote:
On 16 Ιούν, 21:24, Jason Roelofs <jameskil...@gmail.com> wrote:
On 11 撫, 20:35, Ilias Lazaridis <il...@lazaridis.com> wrote:
On 11 撫, 20:35, Ilias Lazaridis <il...@lazaridis.com> wrote:
Hi,
On 18 撫, 02:30, Yukihiro Matsumoto <m...@ruby-lang.org> wrote:
On 19 Ιούν, 19:44, David Masover <ni...@slaphack.com> wrote:
On Sunday, June 19, 2011 12:20:28 PM Ilias Lazaridis wrote:
On 21 ホ厥ソマ歳ス, 21:55, Iテアaki Baz Castillo <i...@aliax.net> wrote:
On 16 撫, 19:45, "Matthew K. Williams" <m...@harpstar.com> wrote:
On 15 撫, 22:26, Florian Gilcher <f...@andersground.net> wrote:
On 15 撫, 22:58, Michael Edgar <ad...@carboni.ca> wrote:
On 15 撫, 23:22, Michael Edgar <ad...@carboni.ca> wrote:
On 11 撫, 20:35, Ilias Lazaridis <il...@lazaridis.com> wrote:
involve
On 16 Ιούν, 23:45, Adam Prescott <a...@aprescott.com> wrote:
On 17 撫, 21:17, Gary Wright <gwtm...@mac.com> wrote:
2011/6/17 Ilias Lazaridis <ilias@lazaridis.com>:
On Mon, Jun 20, 2011 at 2:54 PM, Christopher Dicely <cmdicely@gmail.com> wrote:
On Monday, June 20, 2011 09:17:51 AM Adam Prescott wrote:
On 17 撫, 23:15, Phillip Gawlowski <cmdjackr...@googlemail.com>
2011/6/17 Ilias Lazaridis <ilias@lazaridis.com>
2011/6/17 Salk Pugh-Pitt <salk.pughpitt@gmail.com>
On Fri, Jun 17, 2011 at 4:32 PM, A. Stroh Turph <astroh.turph@gmail.com>wrote:
On Fri, Jun 17, 2011 at 4:37 PM, Salk Pugh-Pitt <salk.pughpitt@gmail.com>wrote:
[#384375] sequel question: Where's SQLite? — Chad Perrin <code@...>
So . . . I need to get the Sequel gem working with SQLite on a Debian
On Sat, Jun 11, 2011 at 2:30 PM, Chad Perrin <code@apotheon.net> wrote:
On Sat, Jun 11, 2011 at 2:55 PM, Mike Moore <blowmage@gmail.com> wrote:
On Sun, Jun 12, 2011 at 05:57:42AM +0900, Mike Moore wrote:
[#384432] commit message conventions — Intransition <transfire@...>
When I write commit messages I add a "team" prefix to the message,
I greatly dislike that style, to be frank. My commit messages usually
On Mon, Jun 13, 2011 at 7:58 AM, John Feminella <johnf@bitsbuilder.com> wrote:
On Jun 13, 9:13濛m, brab...@gmail.com wrote:
On Jun 13, 2011, at 9:55 AM, Intransition <transfire@gmail.com> wrote:
Agreed. Reference the ticket, which can hold all the data about what
[#384444] Hi rubies — medarkness arkness <rotakinrof@...>
[#384453] Regexp.match(line) question — m b <snert@...>
[#384467] A way to find out when a constant gets defined? — Josh Cheek <josh.cheek@...>
Hi, I'd like to be able to find out when a constant gets defined. I think I
Okay, I think I found the ultimate source of the problem was that RVM said
On Tue, Jun 14, 2011 at 2:11 PM, Josh Cheek <josh.cheek@gmail.com> wrote:
> but the Bundler team
[#384473] ruby-oci8 2.0.6 — Kubo Takehiro <kubo@...>
Ruby-oci8 2.0.6 is released. This is the Oracle module using OCI8 API.
[#384490] Messages to Ruby List/Forum/etc. not arriving equally? — Markus Fischer <markus@...>
Hi,
On Wed, Jun 15, 2011 at 2:20 AM, Markus Fischer <markus@fischer.name> wrote:
Hi,
On Wed, Jun 15, 2011 at 4:28 AM, Markus Fischer <markus@fischer.name> wrote:
http://www.ruby-forum.com/topic/2440238#1018634 arrived in the mailing list
[#384494] Plugin best practices — Intransition <transfire@...>
If your making a plugin/extension for another project, do you create a
[#384500] CORE - Inconsistent Handling of Uninitialized Variables — Ilias Lazaridis <ilias@...>
puts "\n== Testin in MAIN Context =="
On 15 撫, 21:05, Michael Edgar <ad...@carboni.ca> wrote:
On Jun 19, 2011, at 6:01 PM, Gary Wright wrote:
[#384521] queues? inotify? anything else? — Matt Harrison <iwasinnamuknow@...>
I don't even really know how to describe this problem. I know what I
[#384532] Kernel#autoload vs require_relative — Piotr Szotkowski <chastell@...>
I understand that for require to work relative to the given __FILE__’s
Ryan Davis:
On Thursday, June 16, 2011 11:50:57 AM Piotr Szotkowski wrote:
[#384579] win32-service gem — Daniel Stephens <danny.a.stephens@...>
Hey all, has anyone been able to use win32-service-0.7.0.gem. when I try to
[#384617] get execution name of program — Chad Perrin <code@...>
Either $0 or __FILE__ will return a filename to give context for how a
On Jun 17, 2011, at 1:49 PM, Chad Perrin wrote:
On Sat, Jun 18, 2011 at 03:03:50AM +0900, Michael Edgar wrote:
On Jun 17, 2011, at 2:16 PM, Chad Perrin wrote:
On Fri, Jun 17, 2011 at 11:16 AM, Chad Perrin <code@apotheon.net> wrote:
[#384634] default config file location — Chad Perrin <code@...>
Is there a "better" way to specify a default config file location than
Chad Perrin:
On Sat, 18 Jun 2011, Chad Perrin wrote:
On 6/17/2011 14:45, Matthew K. Williams wrote:
[#384648] celluloid 0.0.3: a concurrent object framework for Ruby — Tony Arcieri <tony.arcieri@...>
Celluloid is a concurrent object framework for Ruby inspired by Erlang
On Friday, June 17, 2011 03:21:48 PM Tony Arcieri wrote:
On Fri, Jun 17, 2011 at 4:25 PM, David Masover <ninja@slaphack.com> wrote:
On Friday, June 17, 2011 05:54:35 PM Tony Arcieri wrote:
On Fri, Jun 17, 2011 at 6:25 PM, David Masover <ninja@slaphack.com> wrote:
[#384650] Threadsafing a mixin module without using self.new or initialize. — Mike Bethany <mikbe.tk@...>
Threadsafing a mixin module without using self.new or initialize.
[#384687] how would you set dynamically determined dependencies with or without bundler? — Jarmo Pertman <jarmo.p@...>
Hi!
[#384697] test scope issue — Chad Perrin <code@...>
My tests are broken. I generally suck at writing tests, so please bear
[#384742] What about Object#to_ruby ? — Bernard Lambeau <blambeau@...>
Hi!
I believe pry has this kind of thing: https://github.com/banister/pry
On Mon, Jun 20, 2011 at 7:40 AM, Bernard Lambeau <blambeau@gmail.com> wrote:
[#384763] MIDASWAD - Matz is Dumb and so We are Dumb — Ilias Lazaridis <ilias@...>
(public draft)
Before anyone engages this nonsense . . .
On 20 Jun 2011 20:32, "Chad Perrin" <code@apotheon.net> wrote:
Five posts in on this thread, and four of them are the self appointed
On Mon, Jun 20, 2011 at 11:08 PM, Sam Duncan <sduncan@wetafx.co.nz> wrote:
On Mon, Jun 20, 2011 at 23:08, Sam Duncan <sduncan@wetafx.co.nz> wrote:
A quick, lazy response, because I shouldn't feed trolls anyway, and I simply
On Mon, Jun 20, 2011 at 23:52, David Masover <ninja@slaphack.com> wrote:
On Tue, Jun 21, 2011 at 11:06 AM, Nikolai Weibull <now@bitwi.se> wrote:
On Tue, Jun 21, 2011 at 13:37, Adam Prescott <adam@aprescott.com> wrote:
On Tue, Jun 21, 2011 at 1:39 PM, Nikolai Weibull <now@bitwi.se> wrote:
On Tue, Jun 21, 2011 at 14:51, Adam Prescott <adam@aprescott.com> wrote:
[#384784] REWORK - Task: Unify behaviour of by-literal-instantiated Objects — Ilias Lazaridis <ilias@...>
(Note: This task is part of the RUBY REWORK, which has (among other
[#384800] How to order a hash based on its keys? — Iñaki Baz Castillo <ibc@...>
Hi, I want to order a hash using itds keys:
On Tue, Jun 21, 2011 at 4:34 PM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/21 Robert Klemme <shortcutter@googlemail.com>:
2011/6/21 Iñaki Baz Castillo <ibc@aliax.net>:
On Tue, Jun 21, 2011 at 6:34 PM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/22 Robert Klemme <shortcutter@googlemail.com>:
On Wed, Jun 22, 2011 at 11:50 AM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/22 Robert Klemme <shortcutter@googlemail.com>:
On Wed, Jun 22, 2011 at 3:47 PM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/22 Robert Klemme <shortcutter@googlemail.com>:
On Wed, Jun 22, 2011 at 4:19 PM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/22 Robert Klemme <shortcutter@googlemail.com>:
On Thu, Jun 23, 2011 at 12:11 AM, Iki Baz Castillo <ibc@aliax.net> wrote:
2011/6/23 Robert Klemme <shortcutter@googlemail.com>:
On Thu, Jun 23, 2011 at 6:42 PM, Iki Baz Castillo <ibc@aliax.net> wrote:
On Wed, Jun 22, 2011 at 11:50 AM, Iki Baz Castillo <ibc@aliax.net> wrote:
[#384801] Once click, one (OO) life... — DavCori80 <davcori80@...>
Hi everyone,
[#384819] Gateway Shutting Down — James Gray <james@...>
Rubyists:
On Wed, Jun 22, 2011 at 1:47 AM, James Gray <james@graysoftinc.com> wrote:
On Wed, Jun 22, 2011 at 12:18 AM, Martin DeMello
[#384863] vlad 2.2.1 Released — Ryan Davis <ryand-ruby@...>
vlad version 2.2.1 has been released!
[#384864] Ruby embed called from a pthread — Luiz Angelo Daros de Luca <luizluca@...>
Hello guys,
[#384873] Explicitly setting compiler to C++ in extconf.rb... — "Darryl L. Pierce" <mcpierce@...>
I'm trying to setup a Ruby gem that bundles the Swig-generated bindings
Darryl L. Pierce escreveu isso a躡
On Jun 23, 2011, at 7:30 PM, Antonio Terceiro wrote:
On 06/23/2011 07:39 PM, Michael Edgar wrote:
[#384891] Honoring #to_ary and such — Intransition <transfire@...>
Well, for about the first time I am writing a library that has to be
On Fri, Jun 24, 2011 at 3:38 PM, Intransition <transfire@gmail.com> wrote:
[#384901] Symbol#=== — Intransition <transfire@...>
As:
On Sat, Jun 25, 2011 at 7:57 AM, Intransition <transfire@gmail.com> wrote:
On Sat, Jun 25, 2011 at 9:15 PM, Intransition <transfire@gmail.com> wrote:
[#384907] SPDX (and the glazing of ones eyes) — Intransition <transfire@...>
Never ceases to amaze me how complicated "enterprisey" peoples can
On Sat, Jun 25, 2011 at 10:00 AM, Intransition <transfire@gmail.com> wrote:
On Jun 25, 11:11m, Josh Cheek <josh.ch...@gmail.com> wrote:
On Sat, Jun 25, 2011 at 5:00 PM, Intransition <transfire@gmail.com> wrote:
On Jun 25, 11:54m, Phillip Gawlowski <cmdjackr...@googlemail.com>
On Sat, Jun 25, 2011 at 9:36 PM, Intransition <transfire@gmail.com> wrote:
[#384927] Single Responsibility Question — Mike Bethany <mikbe.tk@...>
I'm trying to figure out who's responsible for a resource.
On Sun, Jun 26, 2011 at 2:22 AM, Mike Bethany <mikbe.tk@gmail.com> wrote:
Thanks Robert, you always have excellent feedback.
[#384931] Rubicle, the unofficial Ruby mascot, released — info@...
Hello! We are rubicle.net administrators. We have released Rubicle, the UNOFFICIAL
So this is Ruby-tan? (ala http://en.wikipedia.org/wiki/OS-tan)
On Sun, Jun 26, 2011 at 2:26 PM, Tony Arcieri <tony.arcieri@gmail.com>wrote:
[#384945] unicorn 4.0.0 - Rack HTTP server for fast clients and Unix — Eric Wong <normalperson@...>
Unicorn is an HTTP server for Rack applications designed to only serve
[#384950] Understanding Threading... — "Darryl L. Pierce" <mcpierce@...>
I'm working on a use case where I need to spawn a thread that handles a
[#384976] clock-scheduled operations — Chad Perrin <code@...>
Obviously, scheduling something to happen every foo seconds is easy.
[#384982] here docs: WTF am i doing wrong??? — serialhex <serialhex@...>
ok, so i'm trying to create a here doc for a little program i'm writing and
[#384996] A movie Renamer — Mayank Kohaley <mayank.kohaley@...>
Hello Guys,
Please don't steal movies.
On Thu, Jun 30, 2011 at 06:17:55AM +0900, Sam Duncan wrote:
*sigh*
Really didn't want to get into this, especially since it seems like everyone
[#385002] Specifying non-standard include/lib directories on gem install... — "Darryl L. Pierce" <mcpierce@...>
Is it possible to specific non-standard directories when installing a
[#385019] A File Renamer — Mayank Kohaley <mayank.kohaley@...>
I guess this thread has spawned another issue. Let me close this and say I
On Thu, Jun 30, 2011 at 1:48 AM, Mayank Kohaley
> Is there a pattern to the file names you are working with? The key is
On Thu, Jun 30, 2011 at 10:55 AM, Johnny Morrice <spoon@killersmurf.com>wrote:
You should be aware that meta data can't be trusted. Not only do people not
On Thu, Jun 30, 2011 at 3:37 PM, Mike Bethany <mikbe.tk@gmail.com> wrote:
Re: RFC - One word alias for require_relative
On Mon, Jun 20, 2011 at 7:39 PM, David Masover <ninja@slaphack.com> wrote:
> On Monday, June 20, 2011 09:17:51 AM Adam Prescott wrote:
>> require_relative is completely fine. There is almost no sensible
>> discussion here, and certainly not one worth 100+ posts, complete with
>> people letting Ilias rile them up so that he can truncate text in his
>> reply, call it babbling and declare the thread closed and "dismiss"
>> people, like he owns the place, which just further aggravates people.
>
> This is true. The actual, interesting discussion has been:
>
> - Is require_relative a good name? Most people think yes, but there have been
> some good arguments to the contrary.
> - Is there some inherent security risk in any require? There used to be by
> having '.' in the load path, but not anymore.
> - Can we use require_relative with autoload? Not directly related, but I
> wonder if it would've come up without this thread first?
> - Just what _is_ the policy on bang methods?
>
> That's just on this thread. His questions are profoundly stupid, but they can
> also be a catalyst for real discussion, partly because of how they often deal
> with such obscure and fundamental properties of the language.
>
I agree the discussions that have spun off have been (very)
informative, but as responses to the original question they're
evidence of good trolling. I would much rather have the informative
discussion without "dismissed!" but.. that's obvious. Who wouldn't?
>
> I know I learn things just trying to wrap my head around (and explain) just
> how wrong Ilias is about, say, initialize and constructors. It's fair to say
> that I'd forgotten, or never learned, a really solid concept of what
> constructors actually are in Ruby, and why initialize isn't a constructor (but
> is, in fact, a good pattern to adopt in Java code) -- and I learned this by
> watching someone else explain to Ilias how wrong he is.
>
>> (Hint: it's intentional. He's being a dick. On purpose.)
>
> Don't get me wrong, I'd rather not have him here at all, but despite his best
> efforts to troll us, he does occasionally raise some good points. Probably the
> most productive use we could make of him is to read his initial post, respond
> to that, and then ignore him and only respond to sane people for the rest of
> the thread.
>
> Of course, this is why he's so dangerous as a troll. He's not just some asshat
> posting Goatse or Lemonparty. He's dangerous because he can give an appearance
> of actually having interesting questions, opinions, or observations, and then
> being a dick at absolutely every opportunity after raising the initial
> concern.
>
>> If anyone else had posted his original "scenario", I'd bet it would
>> have been largely ignored.
>
> Unlikely. If you look at the people responding to him, it doesn't seem like
> most of them are people who (like me) should know better by now. If it was
> anyone else posting that, I might've been kinder, and given them more of the
> benefit of the doubt, but the response would still be effectively the same:
> "Why would you ever want that? What are you actually trying to do?"
>
The discussion that came off it might have been the same, in the end,
but I don't think the actual original point raised by Ilias would have
had quite the same set of reactions, because they wouldn't have come
from Ilias.
>> Can we stop being trolled now?
>
> I suppose.
>
> I'll probably continue to respond when it seems like there's a genuine
> misunderstanding, mostly because if a newbie happens on one of his misguided
> posts ("require_relative" is more dangerous than "require"? Really?), I'd like
> an actual answer to be there.
>
> Plus, every time he responds to an actual, legitimate, informative answer by
> "dismissing" me or "closing the thread," I win.
>
> But I guess this makes me part of the problem. I'm not sure what a good
> solution is, though. I hate to leave his crap unchallenged. Either responding
> or not responding still gives the impression that he's running the list, and
> gives him some amount of perceived credibility.
>
Perhaps being terse and linking to existing solutions? If the desire
is to actually respond to incorrect/uninformed statements, for the
sake of having proper answers in the thread (which I also agree is
worthwhile), I can't see a simpler approach. The more "babbling" there
is (how _dare_ you!), the greater the reaction he's got out of people.