RFC - One word alias for require_relative

On 17 Ιούν, 09:19, David M. [email protected] wrote:

On Monday, May 23, 2011 05:35:26 AM Ilias L. wrote:

You may want to research for “Defamation” / “Defamation of Character”.

Your English skills aren’t a problem; after all, Matz has good but not
flawless English also. Your conduct is… well, I suppose we can now add
“hypocritical” to the list.

I am responding to “collaborative trolling attacks”.

No defamation at all.

It is now within the archives:

You and the others, are… trolling within my threads.

You are the real trolls, by definition.

Simple as that.

.

“require_relative(_to_this_file)” in a single word, ideally with 7
chars

This is the topic.

Is it really so difficult for you people to solve a given problem,
even if you personally don’t agree that it is a problem?

No, it’s easy. Here are some 7 letter words:

1000.times.collect { 7.times.inject("") { |w,c| w <<
(97+rand*26).to_i.chr } }

Choose one that suits you and use it with the alias method

–klaus

I can’t believe I’m adding to this conversation…

Ruby already has an idiom for naming two related methods so how about:

require “a/b” # the usual
require! “a/b” # require relative to FILE

On Sat, Jun 18, 2011 at 03:17:50AM +0900, Gary W. wrote:

I can’t believe I’m adding to this conversation…

Ruby already has an idiom for naming two related methods so how about:

require “a/b” # the usual
require! “a/b” # require relative to FILE

I had no idea about “require!”. Thanks for mentioning it.

On 17 Ιούν, 09:19, David M. [email protected] wrote:

On Wednesday, June 15, 2011 04:51:19 PM Ilias L. wrote:

On 16 Éïýí, 00:36, David M. [email protected] wrote:
[…]

I’ve read everything, but I’ll not comment.

Do me a favour, please.
[…]
Can you please try to find one word (ideally with 7 chars),
independent of you think about the need.

Just as an exercise.
[…]

Clearly kind of off-topic/off-context obsessed.

Dismissed!

.

http://lazaridis.com

On Jun 17, 2011, at 2:21 PM, Chad P. wrote:

On Sat, Jun 18, 2011 at 03:17:50AM +0900, Gary W. wrote:

I can’t believe I’m adding to this conversation…

Ruby already has an idiom for naming two related methods so how about:

require “a/b” # the usual
require! “a/b” # require relative to FILE

I had no idea about “require!”. Thanks for mentioning it.

It doesn’t exist, I was just suggesting it as a possibility…

Gary W.

On Sat, Jun 18, 2011 at 03:24:48AM +0900, Gary W. wrote:

I had no idea about “require!”. Thanks for mentioning it.

It doesn’t exist, I was just suggesting it as a possibility…

Damn. Okay, never mind.

Of course, I’ll just be happy with require_relative, anyway. It seems
quite descriptive of its functionality, and succinct enough for my
purposes.

On Jun 17, 2011, at 07:30 , Ilias L. wrote:

[…the actually interesting bits…]
The only troll you feed is yourself.

  • 10 years - Digital Electronic Design

  • 05 years - Public System Analysis (Open Source Domain)
  • (not that I believe Ilias)

    $ CopyAndPaste -shttp://lazaridis.com/244.html

    25 years - IT Business, Solving Technical Problems Abstractly
    15 years - Software Developement
    10 years - Digital Electronic Design & Product Management
    05 years - Public System Analysis (Open Source Domain)

    One problem ilias… that’s not a resume (resumes actually mention
    companies) and nobody here believes a word of it. You couldn’t code
    yourself out of a wet paper bag if your life depended on it (in any
    language).

    On Sat, 18 Jun 2011, Chad P. wrote:

    I had no idea about “require!”. Thanks for mentioning it.

    It doesn’t exist, I was just suggesting it as a possibility…

    Damn. Okay, never mind.

    Of course, I’ll just be happy with require_relative, anyway. It seems
    quite descriptive of its functionality, and succinct enough for my
    purposes.

    Exactly. While I’m an old unix hack, I really like the descriptiveness
    of
    this method. I know exactly what it’s doing, without having to learn
    some new obscure word.

    Matt

    On 17 , 21:17, Gary W. [email protected] wrote:

    I can’t believe I’m adding to this conversation…

    Ruby already has an idiom for naming two related methods so how about:

    require “a/b” # the usual
    require! “a/b” # require relative to FILE

    This could become my new favourite.

    “!” is used as a convention, to clarify that a method “modifies the
    object”

    “!” could be used for stand-alone functions (e.g. the “flat” Kernel
    functions which do not operate strictly on an object) to clarify (by
    convention) “you should know what you do, possible risks” or simply
    “alternate implementation”.

    And with an additional space, headers look clean, too:

    require! “lib/baselib”
    require “sinatra”

    Yes, this could be the “winner”.

    .

    On 17 Ιούν, 22:12, Ryan D. [email protected] wrote:
    […]

    $ CopyAndPaste -shttp://lazaridis.com/244.html

    25 years - IT Business, Solving Technical Problems Abstractly
    15 years - Software Developement
    10 years - Digital Electronic Design & Product Management
    05 years - Public System Analysis (Open Source Domain)

    One problem ilias… that’s not a resume (resumes actually mention companies)

    Is this so? I’ve seen many which mention the employers/customers
    anonymous, with an “references on request”.

    and nobody here believes a word of it.

    I don’t care what the masses think and believe, especially those of
    your kind.

    You couldn’t code yourself out of a wet paper bag if your life depended on it
    (in any language).

    You’re getting ordinary.

    You can do better.

    (but the thread is now closed, possibly in the next one)

    .

    and nobody here believes a word of it.

    I don’t care what the masses think and believe, especially those of
    your kind.

    Yes, EVERYONE in this list already knows this, Ilias. But it makes one
    wonder, if you don’t care about what people like us think and believe,
    why are you even here in the first place?

    If only you were capable of ever listing to yourself, much less anyone
    else, the world would have been saved your inane trolling. But alas,
    this is simply entertainment now. The question now is: How far can Ilias
    go in self-affirming his own uselessness?

    Of course for myself the definition of insanity comes to mind. No-one
    can show Ilias who he really is, so I shall stop trying.

    Jason

    On Fri, Jun 17, 2011 at 9:50 PM, Ilias L. [email protected]
    wrote:

    Is this so? I’ve seen many which mention the employers/customers
    anonymous, with an “references on request”.

    You worked only on NDA’d projects for 20 years, and you can’t even
    mention past clients? Yeah, right.

    You couldn’t code yourself out of a wet paper bag if your life depended on it
    (in any language).

    You’re getting ordinary.

    Well, let’s get a little less ordinary: Why did you leave Siemens a
    year after finishing your training as electrician? Provide the
    Arbeitszeugnis[0] of your time at Siemens.

    What happened to your first attempt at self-employment? Provide the
    name and (expired by now, alas) registration of the business, or the
    district court where the business was registered.

    What’s your further education after you made it to journeyman
    electrician?

    Why didn’t you decide to visit a Fachhochschule[1] to gain academic
    credentials?

    What are your certifications in programming, program management, and
    design?

    Until proven otherwise, we are free to assume that:

    A) Siemens fired you (an extraordinary event back in the late 1980s,
    since Siemens was like Japanese car makers in that time: If you were
    good, you were set for life).
    B) You don’t have any credentials in software development.
    C) You aren’t qualified to be admitted to a Fachhochschule.
    D) You never worked since you were fired by Siemens, living off of
    unemployment grants.

    Explanations for non-Germans:

    [0] An Arbeitszeugnis is a diploma of sorts which details how well–or
    not–an employee behaved and worked during their time at an employer.
    It’s by no means confidential (though private, and Ilias can’t be
    compelled to provide the Arbeitszeugnis).

    [1] A Fachhochschule is roughly equivalent to a technical college in
    the US, and allows those without the necessary credentials in second
    level education (called “Fachhochschulreife”, which is usually not
    attained if you visited a lower rung,
    not-very-intellectually-demanding school called “Hauptschule”, or if
    one wasn’t good enough to visit the 10th year of schooling at a
    “Realschule”) to attain a degree in a field related to their trained
    job after some time spent working in their learned field. Usually,
    expertise can be provided in a less formal manner, for example
    references to clients that one worked for, if one wants to study in a
    field that one didn’t train in.


    Phillip G.

    A method of solution is perfect if we can forsee from the start,
    and even prove, that following that method we shall attain our aim.
    – Leibnitz

    On 17 , 23:15, Phillip G. [email protected]

    2011/6/17 Ilias L. [email protected]

    05 years - Public System Analysis (Open Source Domain)

    That’s quite the euphemism for “trolling mailing lists”. I’d say the
    fact
    you put it on your resume makes you a professional troll, but
    professionals
    get paid.

    On 17 , 23:15, Phillip G. [email protected]
    wrote:
    […]

    What about this:

    I’m a 13year old kid, which likes to play with the regulars on the
    language forums.

    Now, the thread has reached 100 posts, its really time to close it.

    Have fun, confused soul!

    .

    On 11 , 20:35, Ilias L. [email protected] wrote:

    Which name would you select and for what reasons?

    Requirements
    must:

    • one word

    optional:

    • ideally a 7 letter word

    Solutions:

    require! ‘lib/alter’ # 2011-06-17 by Gary W.
    involve ‘lib/alter’ # 2011-06-16 by Sam D.
    locally ‘lib/alter’ # 2011-06-11 by Rob B.
    uniload ‘lib/alter’ # my
    request ‘lib/alter’ # my
    include ‘lib/alter’ # my
    relative ‘lib/alter’ # my

    #old

    require_relative ‘lib/baselib’
    require ‘sinatra"’

    #new

    require! ‘lib/baselib"’
    require ‘sinatra’

    Applying the change:

    module Kernel
    alias require! require_relative
    end

    I like the word “involve” more, but as “require!” reminds clearly the
    original “require”, it’s the first choice.

    .

    On Jun 17, 2011, at 14:15 , Ilias L. wrote:

    On 17 Ιούν, 23:15, Phillip G. [email protected]
    wrote:
    […]

    What about this:

    I’m a 13year old kid, which likes to play with the regulars on the
    language forums.

    If you weren’t well documented as doing this for the last 8 years, I’d
    be very inclined to believe this. You’re a troll, nothing more, and this
    explanation fits occam’s razor the best.

    Much more like you’re an approximately 45 year old living with (and off)
    his mother who has never worked an honest day in his life (certainly not
    in tech). Instead of working towards real goals and actually shipping
    stuff, you pretend to be an analyst “in the abstract”… which means
    absolutely nothing.

    That is, of course, if your “resume” has even a shred of truth to it.

    Is this so? I’ve seen many [resumes] which mention the employers/customers
    anonymous, with an “references on request”.

    If you ever had a real job you’d know what this means.

    Luckily, the thread is now closed… so you can’t reply. See? we can do
    it too (and it means nothing).

    On Friday, June 17, 2011 02:50:27 PM Ilias L. wrote:

    On 17 Ιούν, 22:12, Ryan D. [email protected] wrote:

    and nobody here believes a word of it.

    I don’t care what the masses think and believe, especially those of
    your kind.

    You mean the kind who have jobs, and program for a living? I suppose if
    self-
    employment works out for you, then you have nothing to worry about. But
    if you
    actually want to get a job in Ruby, many of the people who have been
    replying
    either do have jobs and help out in technical interviews, or are held in
    high
    esteem by those who do.

    But I’m not sure I believe this, either. It’s not that you don’t care
    what we
    think – I think you’d love for us to see you the way you see yourself,
    as a
    brilliant programmer, a visionary, the sort of person who builds the
    tools
    we’ll all be using tomorrow. I think you also realize how damaging our
    opinions could be to your career – why else would you threaten us with
    legal
    action? It’s just that when it comes down to it, when we ask you for
    evidence,
    you’ve got nothing to back it up.

    It’s not that you don’t care what we think, it’s that you don’t see any
    way to
    change our minds.

    That’s not entirely true, however. Coming clean and apologizing would go
    a
    long way. I don’t see you doing that sincerely anytime soon (and sarcasm
    is
    the opposite of sincerity), but feel free to surprise everyone.

    (but the thread is now closed, possibly in the next one)

    I have to wonder if this is a bizarre attempt at gaining control of an
    actually-uncontrolled forum, or an actual delusion that you are the
    arbiter of
    when a thread is closed or not, or what the appropriate topic is.

    Ilias: I’ve got to say, you have my respect. Rather than being ignored,
    you’ve actually provoked responses from many people, including the
    person who suggested that no-one should respond to you. I like that. You
    are still mad though, of course.